docs.go 1.2 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071
  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. "type": "integer",
  1220. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1221. "name": "menutype",
  1222. "in": "query"
  1223. }
  1224. ],
  1225. "responses": {
  1226. "200": {
  1227. "description": "OK",
  1228. "schema": {
  1229. "type": "array",
  1230. "items": {
  1231. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1232. }
  1233. }
  1234. },
  1235. "500": {
  1236. "description": "Internal Server Error",
  1237. "schema": {
  1238. "$ref": "#/definitions/app.Response"
  1239. }
  1240. }
  1241. }
  1242. }
  1243. },
  1244. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1245. "get": {
  1246. "security": [
  1247. {
  1248. "ApiKeyAuth": []
  1249. }
  1250. ],
  1251. "produces": [
  1252. "application/json"
  1253. ],
  1254. "tags": [
  1255. "企业风险管理(app)"
  1256. ],
  1257. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1258. "parameters": [
  1259. {
  1260. "type": "integer",
  1261. "description": "用户ID",
  1262. "name": "userid",
  1263. "in": "query",
  1264. "required": true
  1265. },
  1266. {
  1267. "type": "integer",
  1268. "description": "账号id",
  1269. "name": "accountid",
  1270. "in": "query"
  1271. }
  1272. ],
  1273. "responses": {
  1274. "200": {
  1275. "description": "OK",
  1276. "schema": {
  1277. "type": "array",
  1278. "items": {
  1279. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1280. }
  1281. }
  1282. },
  1283. "500": {
  1284. "description": "Internal Server Error",
  1285. "schema": {
  1286. "$ref": "#/definitions/app.Response"
  1287. }
  1288. }
  1289. }
  1290. }
  1291. },
  1292. "/Ermcp/QueryAccMgrTaaccount": {
  1293. "get": {
  1294. "security": [
  1295. {
  1296. "ApiKeyAuth": []
  1297. }
  1298. ],
  1299. "produces": [
  1300. "application/json"
  1301. ],
  1302. "tags": [
  1303. "企业风险管理(app)"
  1304. ],
  1305. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1306. "parameters": [
  1307. {
  1308. "type": "integer",
  1309. "description": "用户ID",
  1310. "name": "userid",
  1311. "in": "query",
  1312. "required": true
  1313. }
  1314. ],
  1315. "responses": {
  1316. "200": {
  1317. "description": "OK",
  1318. "schema": {
  1319. "type": "array",
  1320. "items": {
  1321. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1322. }
  1323. }
  1324. },
  1325. "500": {
  1326. "description": "Internal Server Error",
  1327. "schema": {
  1328. "$ref": "#/definitions/app.Response"
  1329. }
  1330. }
  1331. }
  1332. }
  1333. },
  1334. "/Ermcp/QueryAvaildGoodsGroup": {
  1335. "get": {
  1336. "security": [
  1337. {
  1338. "ApiKeyAuth": []
  1339. }
  1340. ],
  1341. "produces": [
  1342. "application/json"
  1343. ],
  1344. "tags": [
  1345. "企业风险管理(app)"
  1346. ],
  1347. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1348. "parameters": [
  1349. {
  1350. "type": "integer",
  1351. "description": "所属机构ID",
  1352. "name": "userid",
  1353. "in": "query",
  1354. "required": true
  1355. }
  1356. ],
  1357. "responses": {
  1358. "200": {
  1359. "description": "OK",
  1360. "schema": {
  1361. "type": "array",
  1362. "items": {
  1363. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1364. }
  1365. }
  1366. },
  1367. "500": {
  1368. "description": "Internal Server Error",
  1369. "schema": {
  1370. "$ref": "#/definitions/app.Response"
  1371. }
  1372. }
  1373. }
  1374. }
  1375. },
  1376. "/Ermcp/QueryBusinessDj": {
  1377. "get": {
  1378. "security": [
  1379. {
  1380. "ApiKeyAuth": []
  1381. }
  1382. ],
  1383. "produces": [
  1384. "application/json"
  1385. ],
  1386. "tags": [
  1387. "企业风险管理(app)"
  1388. ],
  1389. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1390. "parameters": [
  1391. {
  1392. "type": "integer",
  1393. "description": "用户ID",
  1394. "name": "UserId",
  1395. "in": "query",
  1396. "required": true
  1397. },
  1398. {
  1399. "type": "integer",
  1400. "description": "用户类型 2-机构 7-企业成员",
  1401. "name": "usertype",
  1402. "in": "query"
  1403. },
  1404. {
  1405. "type": "string",
  1406. "description": "现货合同ID, 不填则查所有",
  1407. "name": "relatedid",
  1408. "in": "query"
  1409. },
  1410. {
  1411. "type": "string",
  1412. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1413. "name": "applystatus",
  1414. "in": "query"
  1415. }
  1416. ],
  1417. "responses": {
  1418. "200": {
  1419. "description": "OK",
  1420. "schema": {
  1421. "type": "array",
  1422. "items": {
  1423. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1424. }
  1425. }
  1426. },
  1427. "500": {
  1428. "description": "Internal Server Error",
  1429. "schema": {
  1430. "$ref": "#/definitions/app.Response"
  1431. }
  1432. }
  1433. }
  1434. }
  1435. },
  1436. "/Ermcp/QueryBusinessFp": {
  1437. "get": {
  1438. "security": [
  1439. {
  1440. "ApiKeyAuth": []
  1441. }
  1442. ],
  1443. "produces": [
  1444. "application/json"
  1445. ],
  1446. "tags": [
  1447. "企业风险管理(app)"
  1448. ],
  1449. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1450. "parameters": [
  1451. {
  1452. "type": "integer",
  1453. "description": "用户ID",
  1454. "name": "UserId",
  1455. "in": "query",
  1456. "required": true
  1457. },
  1458. {
  1459. "type": "integer",
  1460. "description": "用户类型 2-机构 7-企业成员",
  1461. "name": "usertype",
  1462. "in": "query"
  1463. },
  1464. {
  1465. "type": "string",
  1466. "description": "现货合同ID, 不填则查所有",
  1467. "name": "relatedid",
  1468. "in": "query"
  1469. },
  1470. {
  1471. "type": "string",
  1472. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1473. "name": "applystatus",
  1474. "in": "query"
  1475. }
  1476. ],
  1477. "responses": {
  1478. "200": {
  1479. "description": "OK",
  1480. "schema": {
  1481. "type": "array",
  1482. "items": {
  1483. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1484. }
  1485. }
  1486. },
  1487. "500": {
  1488. "description": "Internal Server Error",
  1489. "schema": {
  1490. "$ref": "#/definitions/app.Response"
  1491. }
  1492. }
  1493. }
  1494. }
  1495. },
  1496. "/Ermcp/QueryBusinessJs": {
  1497. "get": {
  1498. "security": [
  1499. {
  1500. "ApiKeyAuth": []
  1501. }
  1502. ],
  1503. "produces": [
  1504. "application/json"
  1505. ],
  1506. "tags": [
  1507. "企业风险管理(app)"
  1508. ],
  1509. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1510. "parameters": [
  1511. {
  1512. "type": "integer",
  1513. "description": "用户ID",
  1514. "name": "UserId",
  1515. "in": "query",
  1516. "required": true
  1517. },
  1518. {
  1519. "type": "integer",
  1520. "description": "用户类型 2-机构 7-企业成员",
  1521. "name": "usertype",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "现货合同ID, 不填则查所有",
  1527. "name": "relatedid",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "操作申请id",
  1533. "name": "operateapplyid",
  1534. "in": "query"
  1535. },
  1536. {
  1537. "type": "string",
  1538. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1539. "name": "applystatus",
  1540. "in": "query"
  1541. }
  1542. ],
  1543. "responses": {
  1544. "200": {
  1545. "description": "OK",
  1546. "schema": {
  1547. "type": "array",
  1548. "items": {
  1549. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1550. }
  1551. }
  1552. },
  1553. "500": {
  1554. "description": "Internal Server Error",
  1555. "schema": {
  1556. "$ref": "#/definitions/app.Response"
  1557. }
  1558. }
  1559. }
  1560. }
  1561. },
  1562. "/Ermcp/QueryBusinessJsEx": {
  1563. "get": {
  1564. "security": [
  1565. {
  1566. "ApiKeyAuth": []
  1567. }
  1568. ],
  1569. "produces": [
  1570. "application/json"
  1571. ],
  1572. "tags": [
  1573. "企业风险管理(app)"
  1574. ],
  1575. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1576. "parameters": [
  1577. {
  1578. "type": "integer",
  1579. "description": "用户ID",
  1580. "name": "UserId",
  1581. "in": "query",
  1582. "required": true
  1583. },
  1584. {
  1585. "type": "integer",
  1586. "description": "用户类型 2-机构 7-企业成员",
  1587. "name": "usertype",
  1588. "in": "query"
  1589. },
  1590. {
  1591. "type": "string",
  1592. "description": "现货合同ID, 不填则查所有",
  1593. "name": "relatedid",
  1594. "in": "query"
  1595. },
  1596. {
  1597. "type": "string",
  1598. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1599. "name": "applystatus",
  1600. "in": "query"
  1601. }
  1602. ],
  1603. "responses": {
  1604. "200": {
  1605. "description": "OK",
  1606. "schema": {
  1607. "type": "array",
  1608. "items": {
  1609. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1610. }
  1611. }
  1612. },
  1613. "500": {
  1614. "description": "Internal Server Error",
  1615. "schema": {
  1616. "$ref": "#/definitions/app.Response"
  1617. }
  1618. }
  1619. }
  1620. }
  1621. },
  1622. "/Ermcp/QueryBusinessKx": {
  1623. "get": {
  1624. "security": [
  1625. {
  1626. "ApiKeyAuth": []
  1627. }
  1628. ],
  1629. "produces": [
  1630. "application/json"
  1631. ],
  1632. "tags": [
  1633. "企业风险管理(app)"
  1634. ],
  1635. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1636. "parameters": [
  1637. {
  1638. "type": "integer",
  1639. "description": "用户ID",
  1640. "name": "UserId",
  1641. "in": "query",
  1642. "required": true
  1643. },
  1644. {
  1645. "type": "integer",
  1646. "description": "用户类型 2-机构 7-企业成员",
  1647. "name": "usertype",
  1648. "in": "query"
  1649. },
  1650. {
  1651. "type": "string",
  1652. "description": "现货合同ID, 不填则查所有",
  1653. "name": "relatedid",
  1654. "in": "query"
  1655. },
  1656. {
  1657. "type": "string",
  1658. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1659. "name": "applystatus",
  1660. "in": "query"
  1661. }
  1662. ],
  1663. "responses": {
  1664. "200": {
  1665. "description": "OK",
  1666. "schema": {
  1667. "type": "array",
  1668. "items": {
  1669. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1670. }
  1671. }
  1672. },
  1673. "500": {
  1674. "description": "Internal Server Error",
  1675. "schema": {
  1676. "$ref": "#/definitions/app.Response"
  1677. }
  1678. }
  1679. }
  1680. }
  1681. },
  1682. "/Ermcp/QueryChangeLog": {
  1683. "get": {
  1684. "security": [
  1685. {
  1686. "ApiKeyAuth": []
  1687. }
  1688. ],
  1689. "produces": [
  1690. "application/json"
  1691. ],
  1692. "tags": [
  1693. "企业风险管理(app)"
  1694. ],
  1695. "summary": "查询变更记录",
  1696. "parameters": [
  1697. {
  1698. "type": "string",
  1699. "description": "合同ID",
  1700. "name": "RelatedId",
  1701. "in": "query",
  1702. "required": true
  1703. }
  1704. ],
  1705. "responses": {
  1706. "200": {
  1707. "description": "OK",
  1708. "schema": {
  1709. "type": "array",
  1710. "items": {
  1711. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1712. }
  1713. }
  1714. },
  1715. "500": {
  1716. "description": "Internal Server Error",
  1717. "schema": {
  1718. "$ref": "#/definitions/app.Response"
  1719. }
  1720. }
  1721. }
  1722. }
  1723. },
  1724. "/Ermcp/QueryErmcpHisOrderDetails": {
  1725. "get": {
  1726. "security": [
  1727. {
  1728. "ApiKeyAuth": []
  1729. }
  1730. ],
  1731. "produces": [
  1732. "application/json"
  1733. ],
  1734. "tags": [
  1735. "企业风险管理(app)"
  1736. ],
  1737. "summary": "获取企业风管期货历史委托单信息",
  1738. "parameters": [
  1739. {
  1740. "type": "integer",
  1741. "description": "资金账户ID",
  1742. "name": "accountID",
  1743. "in": "query",
  1744. "required": true
  1745. },
  1746. {
  1747. "type": "string",
  1748. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1749. "name": "startDate",
  1750. "in": "query"
  1751. },
  1752. {
  1753. "type": "string",
  1754. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1755. "name": "endDate",
  1756. "in": "query"
  1757. }
  1758. ],
  1759. "responses": {
  1760. "200": {
  1761. "description": "OK",
  1762. "schema": {
  1763. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1764. }
  1765. },
  1766. "500": {
  1767. "description": "Internal Server Error",
  1768. "schema": {
  1769. "$ref": "#/definitions/app.Response"
  1770. }
  1771. }
  1772. }
  1773. }
  1774. },
  1775. "/Ermcp/QueryErmcpHisTradeDetails": {
  1776. "get": {
  1777. "security": [
  1778. {
  1779. "ApiKeyAuth": []
  1780. }
  1781. ],
  1782. "produces": [
  1783. "application/json"
  1784. ],
  1785. "tags": [
  1786. "企业风险管理(app)"
  1787. ],
  1788. "summary": "获取企业风管期货历史成交单信息",
  1789. "parameters": [
  1790. {
  1791. "type": "integer",
  1792. "description": "资金账户ID",
  1793. "name": "accountID",
  1794. "in": "query",
  1795. "required": true
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "商品ID",
  1800. "name": "goodsID",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "买卖方向,0:买 1:卖",
  1806. "name": "buyOrSell",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "integer",
  1811. "description": "关联委托单号",
  1812. "name": "orderID",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "string",
  1817. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1818. "name": "startDate",
  1819. "in": "query"
  1820. },
  1821. {
  1822. "type": "string",
  1823. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1824. "name": "endDate",
  1825. "in": "query"
  1826. }
  1827. ],
  1828. "responses": {
  1829. "200": {
  1830. "description": "OK",
  1831. "schema": {
  1832. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1833. }
  1834. },
  1835. "500": {
  1836. "description": "Internal Server Error",
  1837. "schema": {
  1838. "$ref": "#/definitions/app.Response"
  1839. }
  1840. }
  1841. }
  1842. }
  1843. },
  1844. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1845. "get": {
  1846. "security": [
  1847. {
  1848. "ApiKeyAuth": []
  1849. }
  1850. ],
  1851. "produces": [
  1852. "application/json"
  1853. ],
  1854. "tags": [
  1855. "企业风险管理(app)"
  1856. ],
  1857. "summary": "获取企业风管期货内部持仓单信息",
  1858. "parameters": [
  1859. {
  1860. "type": "integer",
  1861. "description": "资金账户ID",
  1862. "name": "accountID",
  1863. "in": "query",
  1864. "required": true
  1865. },
  1866. {
  1867. "type": "integer",
  1868. "description": "商品ID",
  1869. "name": "goodsID",
  1870. "in": "query"
  1871. },
  1872. {
  1873. "type": "integer",
  1874. "description": "买卖方向,0:买 1:卖",
  1875. "name": "buyOrSell",
  1876. "in": "query"
  1877. }
  1878. ],
  1879. "responses": {
  1880. "200": {
  1881. "description": "OK",
  1882. "schema": {
  1883. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1884. }
  1885. },
  1886. "500": {
  1887. "description": "Internal Server Error",
  1888. "schema": {
  1889. "$ref": "#/definitions/app.Response"
  1890. }
  1891. }
  1892. }
  1893. }
  1894. },
  1895. "/Ermcp/QueryErmcpOrderDetails": {
  1896. "get": {
  1897. "security": [
  1898. {
  1899. "ApiKeyAuth": []
  1900. }
  1901. ],
  1902. "produces": [
  1903. "application/json"
  1904. ],
  1905. "tags": [
  1906. "企业风险管理(app)"
  1907. ],
  1908. "summary": "获取企业风管期货委托单信息",
  1909. "parameters": [
  1910. {
  1911. "type": "integer",
  1912. "description": "资金账户ID",
  1913. "name": "accountID",
  1914. "in": "query",
  1915. "required": true
  1916. }
  1917. ],
  1918. "responses": {
  1919. "200": {
  1920. "description": "OK",
  1921. "schema": {
  1922. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1923. }
  1924. },
  1925. "500": {
  1926. "description": "Internal Server Error",
  1927. "schema": {
  1928. "$ref": "#/definitions/app.Response"
  1929. }
  1930. }
  1931. }
  1932. }
  1933. },
  1934. "/Ermcp/QueryErmcpTradeDetails": {
  1935. "get": {
  1936. "security": [
  1937. {
  1938. "ApiKeyAuth": []
  1939. }
  1940. ],
  1941. "produces": [
  1942. "application/json"
  1943. ],
  1944. "tags": [
  1945. "企业风险管理(app)"
  1946. ],
  1947. "summary": "获取企业风管期货成交单信息",
  1948. "parameters": [
  1949. {
  1950. "type": "integer",
  1951. "description": "资金账户ID",
  1952. "name": "accountID",
  1953. "in": "query",
  1954. "required": true
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "商品ID",
  1959. "name": "goodsID",
  1960. "in": "query"
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "买卖方向,0:买 1:卖",
  1965. "name": "buyOrSell",
  1966. "in": "query"
  1967. },
  1968. {
  1969. "type": "integer",
  1970. "description": "关联委托单号",
  1971. "name": "orderID",
  1972. "in": "query"
  1973. }
  1974. ],
  1975. "responses": {
  1976. "200": {
  1977. "description": "OK",
  1978. "schema": {
  1979. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1980. }
  1981. },
  1982. "500": {
  1983. "description": "Internal Server Error",
  1984. "schema": {
  1985. "$ref": "#/definitions/app.Response"
  1986. }
  1987. }
  1988. }
  1989. }
  1990. },
  1991. "/Ermcp/QueryErmcpTradePosition": {
  1992. "get": {
  1993. "security": [
  1994. {
  1995. "ApiKeyAuth": []
  1996. }
  1997. ],
  1998. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1999. "produces": [
  2000. "application/json"
  2001. ],
  2002. "tags": [
  2003. "企业风险管理(app)"
  2004. ],
  2005. "summary": "获取企业风管期货持仓头寸信息",
  2006. "parameters": [
  2007. {
  2008. "type": "integer",
  2009. "description": "资金账户ID",
  2010. "name": "accountID",
  2011. "in": "query",
  2012. "required": true
  2013. },
  2014. {
  2015. "type": "integer",
  2016. "description": "所属市场ID",
  2017. "name": "marketID",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2026. }
  2027. },
  2028. "500": {
  2029. "description": "Internal Server Error",
  2030. "schema": {
  2031. "$ref": "#/definitions/app.Response"
  2032. }
  2033. }
  2034. }
  2035. }
  2036. },
  2037. "/Ermcp/QueryExposureDetail": {
  2038. "get": {
  2039. "security": [
  2040. {
  2041. "ApiKeyAuth": []
  2042. }
  2043. ],
  2044. "produces": [
  2045. "application/json"
  2046. ],
  2047. "tags": [
  2048. "企业风险管理(app)"
  2049. ],
  2050. "summary": "查询敞口现货明细",
  2051. "parameters": [
  2052. {
  2053. "type": "integer",
  2054. "description": "所属机构ID",
  2055. "name": "areaUserId",
  2056. "in": "query",
  2057. "required": true
  2058. },
  2059. {
  2060. "type": "integer",
  2061. "description": "套保商品",
  2062. "name": "middleGoodsId",
  2063. "in": "query",
  2064. "required": true
  2065. }
  2066. ],
  2067. "responses": {
  2068. "200": {
  2069. "description": "OK",
  2070. "schema": {
  2071. "type": "array",
  2072. "items": {
  2073. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2074. }
  2075. }
  2076. },
  2077. "500": {
  2078. "description": "Internal Server Error",
  2079. "schema": {
  2080. "$ref": "#/definitions/app.Response"
  2081. }
  2082. }
  2083. }
  2084. }
  2085. },
  2086. "/Ermcp/QueryExposureGoods": {
  2087. "get": {
  2088. "security": [
  2089. {
  2090. "ApiKeyAuth": []
  2091. }
  2092. ],
  2093. "produces": [
  2094. "application/json"
  2095. ],
  2096. "tags": [
  2097. "企业风险管理(app)"
  2098. ],
  2099. "summary": "查询敞口主力合约",
  2100. "parameters": [
  2101. {
  2102. "type": "integer",
  2103. "description": "套保商品id",
  2104. "name": "middlegoodsid",
  2105. "in": "query",
  2106. "required": true
  2107. }
  2108. ],
  2109. "responses": {
  2110. "200": {
  2111. "description": "OK",
  2112. "schema": {
  2113. "type": "array",
  2114. "items": {
  2115. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2116. }
  2117. }
  2118. },
  2119. "500": {
  2120. "description": "Internal Server Error",
  2121. "schema": {
  2122. "$ref": "#/definitions/app.Response"
  2123. }
  2124. }
  2125. }
  2126. }
  2127. },
  2128. "/Ermcp/QueryExposureHedgePosition": {
  2129. "get": {
  2130. "security": [
  2131. {
  2132. "ApiKeyAuth": []
  2133. }
  2134. ],
  2135. "produces": [
  2136. "application/json"
  2137. ],
  2138. "tags": [
  2139. "企业风险管理(app)"
  2140. ],
  2141. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2142. "parameters": [
  2143. {
  2144. "type": "integer",
  2145. "description": "用户id",
  2146. "name": "userid",
  2147. "in": "query",
  2148. "required": true
  2149. }
  2150. ],
  2151. "responses": {
  2152. "200": {
  2153. "description": "OK",
  2154. "schema": {
  2155. "type": "array",
  2156. "items": {
  2157. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2158. }
  2159. }
  2160. },
  2161. "500": {
  2162. "description": "Internal Server Error",
  2163. "schema": {
  2164. "$ref": "#/definitions/app.Response"
  2165. }
  2166. }
  2167. }
  2168. }
  2169. },
  2170. "/Ermcp/QueryExposureHedgePositionDetail": {
  2171. "get": {
  2172. "security": [
  2173. {
  2174. "ApiKeyAuth": []
  2175. }
  2176. ],
  2177. "produces": [
  2178. "application/json"
  2179. ],
  2180. "tags": [
  2181. "企业风险管理(app)"
  2182. ],
  2183. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2184. "parameters": [
  2185. {
  2186. "type": "integer",
  2187. "description": "所属机构ID",
  2188. "name": "userid",
  2189. "in": "query",
  2190. "required": true
  2191. },
  2192. {
  2193. "type": "integer",
  2194. "description": "商品id",
  2195. "name": "goodsId",
  2196. "in": "query",
  2197. "required": true
  2198. }
  2199. ],
  2200. "responses": {
  2201. "200": {
  2202. "description": "OK",
  2203. "schema": {
  2204. "type": "array",
  2205. "items": {
  2206. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2207. }
  2208. }
  2209. },
  2210. "500": {
  2211. "description": "Internal Server Error",
  2212. "schema": {
  2213. "$ref": "#/definitions/app.Response"
  2214. }
  2215. }
  2216. }
  2217. }
  2218. },
  2219. "/Ermcp/QueryExposureSpot": {
  2220. "get": {
  2221. "security": [
  2222. {
  2223. "ApiKeyAuth": []
  2224. }
  2225. ],
  2226. "produces": [
  2227. "application/json"
  2228. ],
  2229. "tags": [
  2230. "企业风险管理(app)"
  2231. ],
  2232. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2233. "parameters": [
  2234. {
  2235. "type": "integer",
  2236. "description": "所属机构ID",
  2237. "name": "areaUserId",
  2238. "in": "query",
  2239. "required": true
  2240. }
  2241. ],
  2242. "responses": {
  2243. "200": {
  2244. "description": "OK",
  2245. "schema": {
  2246. "type": "array",
  2247. "items": {
  2248. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2249. }
  2250. }
  2251. },
  2252. "500": {
  2253. "description": "Internal Server Error",
  2254. "schema": {
  2255. "$ref": "#/definitions/app.Response"
  2256. }
  2257. }
  2258. }
  2259. }
  2260. },
  2261. "/Ermcp/QueryExposureSpotDetail": {
  2262. "get": {
  2263. "security": [
  2264. {
  2265. "ApiKeyAuth": []
  2266. }
  2267. ],
  2268. "produces": [
  2269. "application/json"
  2270. ],
  2271. "tags": [
  2272. "企业风险管理(app)"
  2273. ],
  2274. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2275. "parameters": [
  2276. {
  2277. "type": "integer",
  2278. "description": "所属机构ID",
  2279. "name": "areaUserId",
  2280. "in": "query",
  2281. "required": true
  2282. },
  2283. {
  2284. "type": "integer",
  2285. "description": "现货品种ID",
  2286. "name": "wrstandardId",
  2287. "in": "query",
  2288. "required": true
  2289. }
  2290. ],
  2291. "responses": {
  2292. "200": {
  2293. "description": "OK",
  2294. "schema": {
  2295. "type": "array",
  2296. "items": {
  2297. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2298. }
  2299. }
  2300. },
  2301. "500": {
  2302. "description": "Internal Server Error",
  2303. "schema": {
  2304. "$ref": "#/definitions/app.Response"
  2305. }
  2306. }
  2307. }
  2308. }
  2309. },
  2310. "/Ermcp/QueryFuturesCompany": {
  2311. "get": {
  2312. "security": [
  2313. {
  2314. "ApiKeyAuth": []
  2315. }
  2316. ],
  2317. "produces": [
  2318. "application/json"
  2319. ],
  2320. "tags": [
  2321. "企业风险管理(app)"
  2322. ],
  2323. "summary": "查询期货公司",
  2324. "responses": {
  2325. "200": {
  2326. "description": "OK",
  2327. "schema": {
  2328. "type": "array",
  2329. "items": {
  2330. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2331. }
  2332. }
  2333. },
  2334. "500": {
  2335. "description": "Internal Server Error",
  2336. "schema": {
  2337. "$ref": "#/definitions/app.Response"
  2338. }
  2339. }
  2340. }
  2341. }
  2342. },
  2343. "/Ermcp/QueryGGConvertConfig": {
  2344. "get": {
  2345. "security": [
  2346. {
  2347. "ApiKeyAuth": []
  2348. }
  2349. ],
  2350. "produces": [
  2351. "application/json"
  2352. ],
  2353. "tags": [
  2354. "企业风险管理(app)"
  2355. ],
  2356. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2357. "parameters": [
  2358. {
  2359. "type": "integer",
  2360. "description": "品种id(不填则查所有)",
  2361. "name": "goodsgroupid",
  2362. "in": "query"
  2363. }
  2364. ],
  2365. "responses": {
  2366. "200": {
  2367. "description": "OK",
  2368. "schema": {
  2369. "type": "array",
  2370. "items": {
  2371. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2372. }
  2373. }
  2374. },
  2375. "500": {
  2376. "description": "Internal Server Error",
  2377. "schema": {
  2378. "$ref": "#/definitions/app.Response"
  2379. }
  2380. }
  2381. }
  2382. }
  2383. },
  2384. "/Ermcp/QueryGoodsBrand": {
  2385. "get": {
  2386. "security": [
  2387. {
  2388. "ApiKeyAuth": []
  2389. }
  2390. ],
  2391. "produces": [
  2392. "application/json"
  2393. ],
  2394. "tags": [
  2395. "企业风险管理(app)"
  2396. ],
  2397. "summary": "查询商品品牌",
  2398. "parameters": [
  2399. {
  2400. "type": "integer",
  2401. "description": "用户ID",
  2402. "name": "userid",
  2403. "in": "query",
  2404. "required": true
  2405. },
  2406. {
  2407. "type": "integer",
  2408. "description": "现货商品ID",
  2409. "name": "wrstandardid",
  2410. "in": "query"
  2411. }
  2412. ],
  2413. "responses": {
  2414. "200": {
  2415. "description": "OK",
  2416. "schema": {
  2417. "type": "array",
  2418. "items": {
  2419. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2420. }
  2421. }
  2422. },
  2423. "500": {
  2424. "description": "Internal Server Error",
  2425. "schema": {
  2426. "$ref": "#/definitions/app.Response"
  2427. }
  2428. }
  2429. }
  2430. }
  2431. },
  2432. "/Ermcp/QueryGoodsModel": {
  2433. "get": {
  2434. "security": [
  2435. {
  2436. "ApiKeyAuth": []
  2437. }
  2438. ],
  2439. "produces": [
  2440. "application/json"
  2441. ],
  2442. "tags": [
  2443. "企业风险管理(app)"
  2444. ],
  2445. "summary": "查询商品型号",
  2446. "parameters": [
  2447. {
  2448. "type": "integer",
  2449. "description": "用户ID",
  2450. "name": "userid",
  2451. "in": "query",
  2452. "required": true
  2453. }
  2454. ],
  2455. "responses": {
  2456. "200": {
  2457. "description": "OK",
  2458. "schema": {
  2459. "type": "array",
  2460. "items": {
  2461. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2462. }
  2463. }
  2464. },
  2465. "500": {
  2466. "description": "Internal Server Error",
  2467. "schema": {
  2468. "$ref": "#/definitions/app.Response"
  2469. }
  2470. }
  2471. }
  2472. }
  2473. },
  2474. "/Ermcp/QueryHisExposure": {
  2475. "get": {
  2476. "security": [
  2477. {
  2478. "ApiKeyAuth": []
  2479. }
  2480. ],
  2481. "produces": [
  2482. "application/json"
  2483. ],
  2484. "tags": [
  2485. "企业风险管理(app)"
  2486. ],
  2487. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2488. "parameters": [
  2489. {
  2490. "type": "integer",
  2491. "description": "用户id",
  2492. "name": "userid",
  2493. "in": "query",
  2494. "required": true
  2495. },
  2496. {
  2497. "type": "integer",
  2498. "description": "每个品种记录数",
  2499. "name": "lastNum",
  2500. "in": "query",
  2501. "required": true
  2502. }
  2503. ],
  2504. "responses": {
  2505. "200": {
  2506. "description": "OK",
  2507. "schema": {
  2508. "type": "array",
  2509. "items": {
  2510. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2511. }
  2512. }
  2513. },
  2514. "500": {
  2515. "description": "Internal Server Error",
  2516. "schema": {
  2517. "$ref": "#/definitions/app.Response"
  2518. }
  2519. }
  2520. }
  2521. }
  2522. },
  2523. "/Ermcp/QueryMiddleGoods": {
  2524. "get": {
  2525. "security": [
  2526. {
  2527. "ApiKeyAuth": []
  2528. }
  2529. ],
  2530. "produces": [
  2531. "application/json"
  2532. ],
  2533. "tags": [
  2534. "企业风险管理(app)"
  2535. ],
  2536. "summary": "查询套保品种(菜单:套保品种)",
  2537. "parameters": [
  2538. {
  2539. "type": "integer",
  2540. "description": "所属机构ID",
  2541. "name": "userid",
  2542. "in": "query",
  2543. "required": true
  2544. },
  2545. {
  2546. "type": "integer",
  2547. "description": "状态 0-停用 1-正常",
  2548. "name": "status",
  2549. "in": "query",
  2550. "required": true
  2551. }
  2552. ],
  2553. "responses": {
  2554. "200": {
  2555. "description": "OK",
  2556. "schema": {
  2557. "type": "array",
  2558. "items": {
  2559. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2560. }
  2561. }
  2562. },
  2563. "500": {
  2564. "description": "Internal Server Error",
  2565. "schema": {
  2566. "$ref": "#/definitions/app.Response"
  2567. }
  2568. }
  2569. }
  2570. }
  2571. },
  2572. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2573. "get": {
  2574. "security": [
  2575. {
  2576. "ApiKeyAuth": []
  2577. }
  2578. ],
  2579. "produces": [
  2580. "application/json"
  2581. ],
  2582. "tags": [
  2583. "企业风险管理(app)"
  2584. ],
  2585. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2586. "parameters": [
  2587. {
  2588. "type": "integer",
  2589. "description": "所属机构ID",
  2590. "name": "userid",
  2591. "in": "query",
  2592. "required": true
  2593. },
  2594. {
  2595. "type": "integer",
  2596. "description": "套保品种id",
  2597. "name": "middlegoodsid",
  2598. "in": "query",
  2599. "required": true
  2600. }
  2601. ],
  2602. "responses": {
  2603. "200": {
  2604. "description": "OK",
  2605. "schema": {
  2606. "type": "array",
  2607. "items": {
  2608. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2609. }
  2610. }
  2611. },
  2612. "500": {
  2613. "description": "Internal Server Error",
  2614. "schema": {
  2615. "$ref": "#/definitions/app.Response"
  2616. }
  2617. }
  2618. }
  2619. }
  2620. },
  2621. "/Ermcp/QueryMiddleGoodsDetail": {
  2622. "get": {
  2623. "security": [
  2624. {
  2625. "ApiKeyAuth": []
  2626. }
  2627. ],
  2628. "produces": [
  2629. "application/json"
  2630. ],
  2631. "tags": [
  2632. "企业风险管理(app)"
  2633. ],
  2634. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2635. "parameters": [
  2636. {
  2637. "type": "integer",
  2638. "description": "所属机构ID",
  2639. "name": "userid",
  2640. "in": "query",
  2641. "required": true
  2642. },
  2643. {
  2644. "type": "integer",
  2645. "description": "套保品种id",
  2646. "name": "middlegoodsid",
  2647. "in": "query"
  2648. }
  2649. ],
  2650. "responses": {
  2651. "200": {
  2652. "description": "OK",
  2653. "schema": {
  2654. "type": "array",
  2655. "items": {
  2656. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2657. }
  2658. }
  2659. },
  2660. "500": {
  2661. "description": "Internal Server Error",
  2662. "schema": {
  2663. "$ref": "#/definitions/app.Response"
  2664. }
  2665. }
  2666. }
  2667. }
  2668. },
  2669. "/Ermcp/QueryPendingAuditInfo": {
  2670. "get": {
  2671. "security": [
  2672. {
  2673. "ApiKeyAuth": []
  2674. }
  2675. ],
  2676. "produces": [
  2677. "application/json"
  2678. ],
  2679. "tags": [
  2680. "企业风险管理(app)"
  2681. ],
  2682. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2683. "parameters": [
  2684. {
  2685. "type": "integer",
  2686. "description": "用户ID",
  2687. "name": "UserId",
  2688. "in": "query",
  2689. "required": true
  2690. }
  2691. ],
  2692. "responses": {
  2693. "200": {
  2694. "description": "OK",
  2695. "schema": {
  2696. "type": "array",
  2697. "items": {
  2698. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2699. }
  2700. }
  2701. },
  2702. "500": {
  2703. "description": "Internal Server Error",
  2704. "schema": {
  2705. "$ref": "#/definitions/app.Response"
  2706. }
  2707. }
  2708. }
  2709. }
  2710. },
  2711. "/Ermcp/QueryRealtimeExposure": {
  2712. "get": {
  2713. "security": [
  2714. {
  2715. "ApiKeyAuth": []
  2716. }
  2717. ],
  2718. "produces": [
  2719. "application/json"
  2720. ],
  2721. "tags": [
  2722. "企业风险管理(app)"
  2723. ],
  2724. "summary": "查询实时敞口",
  2725. "parameters": [
  2726. {
  2727. "type": "integer",
  2728. "description": "所属机构ID",
  2729. "name": "userid",
  2730. "in": "query",
  2731. "required": true
  2732. }
  2733. ],
  2734. "responses": {
  2735. "200": {
  2736. "description": "OK",
  2737. "schema": {
  2738. "type": "array",
  2739. "items": {
  2740. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2741. }
  2742. }
  2743. },
  2744. "500": {
  2745. "description": "Internal Server Error",
  2746. "schema": {
  2747. "$ref": "#/definitions/app.Response"
  2748. }
  2749. }
  2750. }
  2751. }
  2752. },
  2753. "/Ermcp/QueryRealtimeExposurePosition": {
  2754. "get": {
  2755. "security": [
  2756. {
  2757. "ApiKeyAuth": []
  2758. }
  2759. ],
  2760. "produces": [
  2761. "application/json"
  2762. ],
  2763. "tags": [
  2764. "企业风险管理(app)"
  2765. ],
  2766. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2767. "parameters": [
  2768. {
  2769. "type": "integer",
  2770. "description": "用户id",
  2771. "name": "userid",
  2772. "in": "query",
  2773. "required": true
  2774. },
  2775. {
  2776. "type": "integer",
  2777. "description": "套保商品ID",
  2778. "name": "middleGoodsId",
  2779. "in": "query",
  2780. "required": true
  2781. }
  2782. ],
  2783. "responses": {
  2784. "200": {
  2785. "description": "OK",
  2786. "schema": {
  2787. "type": "array",
  2788. "items": {
  2789. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2790. }
  2791. }
  2792. },
  2793. "500": {
  2794. "description": "Internal Server Error",
  2795. "schema": {
  2796. "$ref": "#/definitions/app.Response"
  2797. }
  2798. }
  2799. }
  2800. }
  2801. },
  2802. "/Ermcp/QueryRoleMenu": {
  2803. "get": {
  2804. "security": [
  2805. {
  2806. "ApiKeyAuth": []
  2807. }
  2808. ],
  2809. "produces": [
  2810. "application/json"
  2811. ],
  2812. "tags": [
  2813. "企业风险管理(app)"
  2814. ],
  2815. "summary": "查询角色菜单和权限",
  2816. "parameters": [
  2817. {
  2818. "type": "integer",
  2819. "description": "登录ID",
  2820. "name": "loginid",
  2821. "in": "query",
  2822. "required": true
  2823. },
  2824. {
  2825. "type": "integer",
  2826. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2827. "name": "menutype",
  2828. "in": "query"
  2829. }
  2830. ],
  2831. "responses": {
  2832. "200": {
  2833. "description": "OK",
  2834. "schema": {
  2835. "type": "array",
  2836. "items": {
  2837. "$ref": "#/definitions/models.RoleMenu"
  2838. }
  2839. }
  2840. },
  2841. "500": {
  2842. "description": "Internal Server Error",
  2843. "schema": {
  2844. "$ref": "#/definitions/app.Response"
  2845. }
  2846. }
  2847. }
  2848. }
  2849. },
  2850. "/Ermcp/QueryTradeConfigTMP": {
  2851. "get": {
  2852. "security": [
  2853. {
  2854. "ApiKeyAuth": []
  2855. }
  2856. ],
  2857. "produces": [
  2858. "application/json"
  2859. ],
  2860. "tags": [
  2861. "企业风险管理(app)"
  2862. ],
  2863. "summary": "查询交易模板配置",
  2864. "parameters": [
  2865. {
  2866. "type": "integer",
  2867. "description": "所属机构id",
  2868. "name": "areauserid",
  2869. "in": "query"
  2870. }
  2871. ],
  2872. "responses": {
  2873. "200": {
  2874. "description": "OK",
  2875. "schema": {
  2876. "type": "array",
  2877. "items": {
  2878. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2879. }
  2880. }
  2881. },
  2882. "500": {
  2883. "description": "Internal Server Error",
  2884. "schema": {
  2885. "$ref": "#/definitions/app.Response"
  2886. }
  2887. }
  2888. }
  2889. }
  2890. },
  2891. "/Ermcp/QueryUserInfo": {
  2892. "get": {
  2893. "security": [
  2894. {
  2895. "ApiKeyAuth": []
  2896. }
  2897. ],
  2898. "produces": [
  2899. "application/json"
  2900. ],
  2901. "tags": [
  2902. "企业风险管理(app)"
  2903. ],
  2904. "summary": "查询客户资料",
  2905. "parameters": [
  2906. {
  2907. "type": "integer",
  2908. "description": "所属机构用户ID",
  2909. "name": "MemberUserID",
  2910. "in": "query",
  2911. "required": true
  2912. },
  2913. {
  2914. "type": "integer",
  2915. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2916. "name": "queryType",
  2917. "in": "query",
  2918. "required": true
  2919. }
  2920. ],
  2921. "responses": {
  2922. "200": {
  2923. "description": "OK",
  2924. "schema": {
  2925. "type": "array",
  2926. "items": {
  2927. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2928. }
  2929. }
  2930. },
  2931. "500": {
  2932. "description": "Internal Server Error",
  2933. "schema": {
  2934. "$ref": "#/definitions/app.Response"
  2935. }
  2936. }
  2937. }
  2938. }
  2939. },
  2940. "/Ermcp/QueryWarehouseInfo": {
  2941. "get": {
  2942. "security": [
  2943. {
  2944. "ApiKeyAuth": []
  2945. }
  2946. ],
  2947. "produces": [
  2948. "application/json"
  2949. ],
  2950. "tags": [
  2951. "企业风险管理(app)"
  2952. ],
  2953. "summary": "查询仓库信息",
  2954. "parameters": [
  2955. {
  2956. "type": "integer",
  2957. "description": "用户ID",
  2958. "name": "userid",
  2959. "in": "query",
  2960. "required": true
  2961. },
  2962. {
  2963. "type": "string",
  2964. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2965. "name": "status",
  2966. "in": "query"
  2967. }
  2968. ],
  2969. "responses": {
  2970. "200": {
  2971. "description": "OK",
  2972. "schema": {
  2973. "type": "array",
  2974. "items": {
  2975. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2976. }
  2977. }
  2978. },
  2979. "500": {
  2980. "description": "Internal Server Error",
  2981. "schema": {
  2982. "$ref": "#/definitions/app.Response"
  2983. }
  2984. }
  2985. }
  2986. }
  2987. },
  2988. "/Ermcp3/QryAreaExpourseContractDetail": {
  2989. "get": {
  2990. "security": [
  2991. {
  2992. "ApiKeyAuth": []
  2993. }
  2994. ],
  2995. "produces": [
  2996. "application/json"
  2997. ],
  2998. "tags": [
  2999. "企业风险管理v3(app)"
  3000. ],
  3001. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3002. "parameters": [
  3003. {
  3004. "type": "integer",
  3005. "description": "用户ID",
  3006. "name": "userid",
  3007. "in": "query",
  3008. "required": true
  3009. },
  3010. {
  3011. "type": "integer",
  3012. "description": "套保商品id",
  3013. "name": "middlegoodsid",
  3014. "in": "query",
  3015. "required": true
  3016. },
  3017. {
  3018. "type": "integer",
  3019. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3020. "name": "cycletype",
  3021. "in": "query",
  3022. "required": true
  3023. },
  3024. {
  3025. "type": "string",
  3026. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3027. "name": "cycletime",
  3028. "in": "query",
  3029. "required": true
  3030. }
  3031. ],
  3032. "responses": {
  3033. "200": {
  3034. "description": "OK",
  3035. "schema": {
  3036. "type": "array",
  3037. "items": {
  3038. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3039. }
  3040. }
  3041. },
  3042. "500": {
  3043. "description": "Internal Server Error",
  3044. "schema": {
  3045. "$ref": "#/definitions/app.Response"
  3046. }
  3047. }
  3048. }
  3049. }
  3050. },
  3051. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3052. "get": {
  3053. "security": [
  3054. {
  3055. "ApiKeyAuth": []
  3056. }
  3057. ],
  3058. "produces": [
  3059. "application/json"
  3060. ],
  3061. "tags": [
  3062. "企业风险管理v3(app)"
  3063. ],
  3064. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3065. "parameters": [
  3066. {
  3067. "type": "integer",
  3068. "description": "用户ID",
  3069. "name": "userid",
  3070. "in": "query",
  3071. "required": true
  3072. },
  3073. {
  3074. "type": "integer",
  3075. "description": "套保商品id",
  3076. "name": "middlegoodsid",
  3077. "in": "query",
  3078. "required": true
  3079. },
  3080. {
  3081. "type": "integer",
  3082. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3083. "name": "cycletype",
  3084. "in": "query",
  3085. "required": true
  3086. },
  3087. {
  3088. "type": "string",
  3089. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3090. "name": "cycletime",
  3091. "in": "query",
  3092. "required": true
  3093. }
  3094. ],
  3095. "responses": {
  3096. "200": {
  3097. "description": "OK",
  3098. "schema": {
  3099. "type": "array",
  3100. "items": {
  3101. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3102. }
  3103. }
  3104. },
  3105. "500": {
  3106. "description": "Internal Server Error",
  3107. "schema": {
  3108. "$ref": "#/definitions/app.Response"
  3109. }
  3110. }
  3111. }
  3112. }
  3113. },
  3114. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3115. "get": {
  3116. "security": [
  3117. {
  3118. "ApiKeyAuth": []
  3119. }
  3120. ],
  3121. "produces": [
  3122. "application/json"
  3123. ],
  3124. "tags": [
  3125. "企业风险管理v3(app)"
  3126. ],
  3127. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3128. "parameters": [
  3129. {
  3130. "type": "integer",
  3131. "description": "用户ID",
  3132. "name": "userid",
  3133. "in": "query",
  3134. "required": true
  3135. },
  3136. {
  3137. "type": "integer",
  3138. "description": "套保商品id",
  3139. "name": "middlegoodsid",
  3140. "in": "query",
  3141. "required": true
  3142. },
  3143. {
  3144. "type": "integer",
  3145. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3146. "name": "cycletype",
  3147. "in": "query",
  3148. "required": true
  3149. },
  3150. {
  3151. "type": "string",
  3152. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3153. "name": "cycletime",
  3154. "in": "query",
  3155. "required": true
  3156. }
  3157. ],
  3158. "responses": {
  3159. "200": {
  3160. "description": "OK",
  3161. "schema": {
  3162. "type": "array",
  3163. "items": {
  3164. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3165. }
  3166. }
  3167. },
  3168. "500": {
  3169. "description": "Internal Server Error",
  3170. "schema": {
  3171. "$ref": "#/definitions/app.Response"
  3172. }
  3173. }
  3174. }
  3175. }
  3176. },
  3177. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3178. "get": {
  3179. "security": [
  3180. {
  3181. "ApiKeyAuth": []
  3182. }
  3183. ],
  3184. "produces": [
  3185. "application/json"
  3186. ],
  3187. "tags": [
  3188. "企业风险管理v3(app)"
  3189. ],
  3190. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3191. "parameters": [
  3192. {
  3193. "type": "integer",
  3194. "description": "用户ID",
  3195. "name": "userid",
  3196. "in": "query",
  3197. "required": true
  3198. },
  3199. {
  3200. "type": "integer",
  3201. "description": "套保商品id",
  3202. "name": "middlegoodsid",
  3203. "in": "query",
  3204. "required": true
  3205. },
  3206. {
  3207. "type": "integer",
  3208. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3209. "name": "cycletype",
  3210. "in": "query",
  3211. "required": true
  3212. },
  3213. {
  3214. "type": "string",
  3215. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3216. "name": "cycletime",
  3217. "in": "query",
  3218. "required": true
  3219. }
  3220. ],
  3221. "responses": {
  3222. "200": {
  3223. "description": "OK",
  3224. "schema": {
  3225. "type": "array",
  3226. "items": {
  3227. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3228. }
  3229. }
  3230. },
  3231. "500": {
  3232. "description": "Internal Server Error",
  3233. "schema": {
  3234. "$ref": "#/definitions/app.Response"
  3235. }
  3236. }
  3237. }
  3238. }
  3239. },
  3240. "/Ermcp3/QryAreaExpourseReport": {
  3241. "get": {
  3242. "security": [
  3243. {
  3244. "ApiKeyAuth": []
  3245. }
  3246. ],
  3247. "produces": [
  3248. "application/json"
  3249. ],
  3250. "tags": [
  3251. "企业风险管理v3(app)"
  3252. ],
  3253. "summary": "查询敞口报表",
  3254. "parameters": [
  3255. {
  3256. "type": "integer",
  3257. "description": "用户ID",
  3258. "name": "userid",
  3259. "in": "query",
  3260. "required": true
  3261. },
  3262. {
  3263. "type": "integer",
  3264. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3265. "name": "querytype",
  3266. "in": "query",
  3267. "required": true
  3268. },
  3269. {
  3270. "type": "integer",
  3271. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3272. "name": "cycletype",
  3273. "in": "query",
  3274. "required": true
  3275. },
  3276. {
  3277. "type": "string",
  3278. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3279. "name": "cycletime",
  3280. "in": "query",
  3281. "required": true
  3282. }
  3283. ],
  3284. "responses": {
  3285. "200": {
  3286. "description": "OK",
  3287. "schema": {
  3288. "type": "array",
  3289. "items": {
  3290. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3291. }
  3292. }
  3293. },
  3294. "500": {
  3295. "description": "Internal Server Error",
  3296. "schema": {
  3297. "$ref": "#/definitions/app.Response"
  3298. }
  3299. }
  3300. }
  3301. }
  3302. },
  3303. "/Ermcp3/QryAreaSpotplReport": {
  3304. "get": {
  3305. "security": [
  3306. {
  3307. "ApiKeyAuth": []
  3308. }
  3309. ],
  3310. "produces": [
  3311. "application/json"
  3312. ],
  3313. "tags": [
  3314. "企业风险管理v3(app)"
  3315. ],
  3316. "summary": "查询现货报表",
  3317. "parameters": [
  3318. {
  3319. "type": "integer",
  3320. "description": "用户ID",
  3321. "name": "userid",
  3322. "in": "query",
  3323. "required": true
  3324. },
  3325. {
  3326. "type": "integer",
  3327. "description": "查询类型 1-报表 2-报表明细",
  3328. "name": "querytype",
  3329. "in": "query",
  3330. "required": true
  3331. },
  3332. {
  3333. "type": "integer",
  3334. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3335. "name": "cycletype",
  3336. "in": "query",
  3337. "required": true
  3338. },
  3339. {
  3340. "type": "string",
  3341. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3342. "name": "cycletime",
  3343. "in": "query",
  3344. "required": true
  3345. },
  3346. {
  3347. "type": "integer",
  3348. "description": "现货品种id(明细必填)",
  3349. "name": "deliverygoodsid",
  3350. "in": "query"
  3351. },
  3352. {
  3353. "type": "integer",
  3354. "description": "币种id(明细必填)",
  3355. "name": "currencyid",
  3356. "in": "query"
  3357. }
  3358. ],
  3359. "responses": {
  3360. "200": {
  3361. "description": "OK",
  3362. "schema": {
  3363. "type": "array",
  3364. "items": {
  3365. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3366. }
  3367. }
  3368. },
  3369. "500": {
  3370. "description": "Internal Server Error",
  3371. "schema": {
  3372. "$ref": "#/definitions/app.Response"
  3373. }
  3374. }
  3375. }
  3376. }
  3377. },
  3378. "/Ermcp3/QryAreaStockReport": {
  3379. "get": {
  3380. "security": [
  3381. {
  3382. "ApiKeyAuth": []
  3383. }
  3384. ],
  3385. "produces": [
  3386. "application/json"
  3387. ],
  3388. "tags": [
  3389. "企业风险管理v3(app)"
  3390. ],
  3391. "summary": "查询库存报表",
  3392. "parameters": [
  3393. {
  3394. "type": "integer",
  3395. "description": "用户ID",
  3396. "name": "userid",
  3397. "in": "query",
  3398. "required": true
  3399. },
  3400. {
  3401. "type": "integer",
  3402. "description": "查询类型 1-报表 2-报表明细",
  3403. "name": "querytype",
  3404. "in": "query",
  3405. "required": true
  3406. },
  3407. {
  3408. "type": "integer",
  3409. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3410. "name": "cycletype",
  3411. "in": "query",
  3412. "required": true
  3413. },
  3414. {
  3415. "type": "string",
  3416. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3417. "name": "cycletime",
  3418. "in": "query",
  3419. "required": true
  3420. },
  3421. {
  3422. "type": "string",
  3423. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3424. "name": "sumfields",
  3425. "in": "query"
  3426. },
  3427. {
  3428. "type": "integer",
  3429. "description": "品种ID",
  3430. "name": "deliverygoodsid",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "品类ID",
  3436. "name": "wrstandardid",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "品牌ID",
  3442. "name": "spotgoodsbrandid",
  3443. "in": "query"
  3444. },
  3445. {
  3446. "type": "integer",
  3447. "description": "仓库ID",
  3448. "name": "warehouseinfoid",
  3449. "in": "query"
  3450. }
  3451. ],
  3452. "responses": {
  3453. "200": {
  3454. "description": "OK",
  3455. "schema": {
  3456. "type": "array",
  3457. "items": {
  3458. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3459. }
  3460. }
  3461. },
  3462. "500": {
  3463. "description": "Internal Server Error",
  3464. "schema": {
  3465. "$ref": "#/definitions/app.Response"
  3466. }
  3467. }
  3468. }
  3469. }
  3470. },
  3471. "/Ermcp3/QryAreaSumPL": {
  3472. "get": {
  3473. "security": [
  3474. {
  3475. "ApiKeyAuth": []
  3476. }
  3477. ],
  3478. "produces": [
  3479. "application/json"
  3480. ],
  3481. "tags": [
  3482. "企业风险管理v3(app)"
  3483. ],
  3484. "summary": "查询汇总损益表",
  3485. "parameters": [
  3486. {
  3487. "type": "integer",
  3488. "description": "用户ID",
  3489. "name": "userid",
  3490. "in": "query",
  3491. "required": true
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "查询类型 1-报表 2-报表明细",
  3496. "name": "querytype",
  3497. "in": "query",
  3498. "required": true
  3499. },
  3500. {
  3501. "type": "integer",
  3502. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3503. "name": "cycletype",
  3504. "in": "query",
  3505. "required": true
  3506. },
  3507. {
  3508. "type": "string",
  3509. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3510. "name": "cycletime",
  3511. "in": "query",
  3512. "required": true
  3513. },
  3514. {
  3515. "type": "integer",
  3516. "description": "币种id(明细必填)",
  3517. "name": "currencyid",
  3518. "in": "query"
  3519. }
  3520. ],
  3521. "responses": {
  3522. "200": {
  3523. "description": "OK",
  3524. "schema": {
  3525. "type": "array",
  3526. "items": {
  3527. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3528. }
  3529. }
  3530. },
  3531. "500": {
  3532. "description": "Internal Server Error",
  3533. "schema": {
  3534. "$ref": "#/definitions/app.Response"
  3535. }
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "/Ermcp3/QryFinanceReport": {
  3541. "get": {
  3542. "security": [
  3543. {
  3544. "ApiKeyAuth": []
  3545. }
  3546. ],
  3547. "produces": [
  3548. "application/json"
  3549. ],
  3550. "tags": [
  3551. "企业风险管理v3(app)"
  3552. ],
  3553. "summary": "查询财务报表",
  3554. "parameters": [
  3555. {
  3556. "type": "integer",
  3557. "description": "用户ID",
  3558. "name": "userid",
  3559. "in": "query",
  3560. "required": true
  3561. },
  3562. {
  3563. "type": "integer",
  3564. "description": "查询类型 1-报表 2-报表明细",
  3565. "name": "querytype",
  3566. "in": "query",
  3567. "required": true
  3568. },
  3569. {
  3570. "type": "integer",
  3571. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3572. "name": "cycletype",
  3573. "in": "query",
  3574. "required": true
  3575. },
  3576. {
  3577. "type": "string",
  3578. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3579. "name": "cycletime",
  3580. "in": "query",
  3581. "required": true
  3582. },
  3583. {
  3584. "type": "integer",
  3585. "description": "币种id(报表明细必填)",
  3586. "name": "currencyid",
  3587. "in": "query"
  3588. },
  3589. {
  3590. "type": "string",
  3591. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3592. "name": "sumfields",
  3593. "in": "query"
  3594. }
  3595. ],
  3596. "responses": {
  3597. "200": {
  3598. "description": "OK",
  3599. "schema": {
  3600. "type": "array",
  3601. "items": {
  3602. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3603. }
  3604. }
  3605. },
  3606. "500": {
  3607. "description": "Internal Server Error",
  3608. "schema": {
  3609. "$ref": "#/definitions/app.Response"
  3610. }
  3611. }
  3612. }
  3613. }
  3614. },
  3615. "/Ermcp3/QryTaFutureDataReport": {
  3616. "get": {
  3617. "security": [
  3618. {
  3619. "ApiKeyAuth": []
  3620. }
  3621. ],
  3622. "produces": [
  3623. "application/json"
  3624. ],
  3625. "tags": [
  3626. "企业风险管理v3(app)"
  3627. ],
  3628. "summary": "查询期货报表",
  3629. "parameters": [
  3630. {
  3631. "type": "integer",
  3632. "description": "用户ID",
  3633. "name": "userid",
  3634. "in": "query",
  3635. "required": true
  3636. },
  3637. {
  3638. "type": "integer",
  3639. "description": "查询类型 1-报表 2-报表明细",
  3640. "name": "querytype",
  3641. "in": "query",
  3642. "required": true
  3643. },
  3644. {
  3645. "type": "integer",
  3646. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3647. "name": "cycletype",
  3648. "in": "query",
  3649. "required": true
  3650. },
  3651. {
  3652. "type": "string",
  3653. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3654. "name": "cycletime",
  3655. "in": "query",
  3656. "required": true
  3657. },
  3658. {
  3659. "type": "integer",
  3660. "description": "币种id(查明细必填)",
  3661. "name": "currencyid",
  3662. "in": "query"
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "品种id(查明细必填)",
  3667. "name": "goodsgroupid",
  3668. "in": "query"
  3669. },
  3670. {
  3671. "type": "integer",
  3672. "description": "商品id(查明细必填)",
  3673. "name": "goodsid",
  3674. "in": "query"
  3675. },
  3676. {
  3677. "type": "integer",
  3678. "description": "买卖方向(查明细必填)",
  3679. "name": "buyorsell",
  3680. "in": "query"
  3681. }
  3682. ],
  3683. "responses": {
  3684. "200": {
  3685. "description": "OK",
  3686. "schema": {
  3687. "type": "array",
  3688. "items": {
  3689. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3690. }
  3691. }
  3692. },
  3693. "500": {
  3694. "description": "Internal Server Error",
  3695. "schema": {
  3696. "$ref": "#/definitions/app.Response"
  3697. }
  3698. }
  3699. }
  3700. }
  3701. },
  3702. "/Ermcp3/QueryAreaStock": {
  3703. "get": {
  3704. "security": [
  3705. {
  3706. "ApiKeyAuth": []
  3707. }
  3708. ],
  3709. "produces": [
  3710. "application/json"
  3711. ],
  3712. "tags": [
  3713. "企业风险管理v3(app)"
  3714. ],
  3715. "summary": "查询机构库存(库存管理/当前库存)",
  3716. "parameters": [
  3717. {
  3718. "type": "integer",
  3719. "description": "用户ID",
  3720. "name": "userid",
  3721. "in": "query",
  3722. "required": true
  3723. }
  3724. ],
  3725. "responses": {
  3726. "200": {
  3727. "description": "OK",
  3728. "schema": {
  3729. "type": "array",
  3730. "items": {
  3731. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3732. }
  3733. }
  3734. },
  3735. "500": {
  3736. "description": "Internal Server Error",
  3737. "schema": {
  3738. "$ref": "#/definitions/app.Response"
  3739. }
  3740. }
  3741. }
  3742. }
  3743. },
  3744. "/Ermcp3/QueryAreaStockApply": {
  3745. "get": {
  3746. "security": [
  3747. {
  3748. "ApiKeyAuth": []
  3749. }
  3750. ],
  3751. "produces": [
  3752. "application/json"
  3753. ],
  3754. "tags": [
  3755. "企业风险管理v3(app)"
  3756. ],
  3757. "summary": "查询库存申请(出入库记录|库存审核)",
  3758. "parameters": [
  3759. {
  3760. "type": "integer",
  3761. "description": "用户ID",
  3762. "name": "userid",
  3763. "in": "query",
  3764. "required": true
  3765. },
  3766. {
  3767. "type": "integer",
  3768. "description": "用户类型 2-机构 7-企业成员",
  3769. "name": "usertype",
  3770. "in": "query"
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "现货商品ID",
  3775. "name": "deliverygoodsid",
  3776. "in": "query"
  3777. },
  3778. {
  3779. "type": "string",
  3780. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3781. "name": "inouttype",
  3782. "in": "query"
  3783. },
  3784. {
  3785. "type": "integer",
  3786. "description": "合同ID",
  3787. "name": "spotcontractid",
  3788. "in": "query"
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "品类ID",
  3793. "name": "wrstandardid",
  3794. "in": "query"
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "品牌ID",
  3799. "name": "spotgoodsbrandid",
  3800. "in": "query"
  3801. },
  3802. {
  3803. "type": "integer",
  3804. "description": "仓库ID",
  3805. "name": "warehouseinfoid",
  3806. "in": "query"
  3807. },
  3808. {
  3809. "type": "string",
  3810. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3811. "name": "applystatus",
  3812. "in": "query"
  3813. }
  3814. ],
  3815. "responses": {
  3816. "200": {
  3817. "description": "OK",
  3818. "schema": {
  3819. "type": "array",
  3820. "items": {
  3821. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3822. }
  3823. }
  3824. },
  3825. "500": {
  3826. "description": "Internal Server Error",
  3827. "schema": {
  3828. "$ref": "#/definitions/app.Response"
  3829. }
  3830. }
  3831. }
  3832. }
  3833. },
  3834. "/Ermcp3/QueryAreaStockApplySum": {
  3835. "get": {
  3836. "security": [
  3837. {
  3838. "ApiKeyAuth": []
  3839. }
  3840. ],
  3841. "produces": [
  3842. "application/json"
  3843. ],
  3844. "tags": [
  3845. "企业风险管理v3(app)"
  3846. ],
  3847. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3848. "parameters": [
  3849. {
  3850. "type": "integer",
  3851. "description": "合同ID",
  3852. "name": "spotcontractid",
  3853. "in": "query",
  3854. "required": true
  3855. }
  3856. ],
  3857. "responses": {
  3858. "200": {
  3859. "description": "OK",
  3860. "schema": {
  3861. "type": "array",
  3862. "items": {
  3863. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3864. }
  3865. }
  3866. },
  3867. "500": {
  3868. "description": "Internal Server Error",
  3869. "schema": {
  3870. "$ref": "#/definitions/app.Response"
  3871. }
  3872. }
  3873. }
  3874. }
  3875. },
  3876. "/Ermcp3/QueryDGFactoryItem": {
  3877. "get": {
  3878. "security": [
  3879. {
  3880. "ApiKeyAuth": []
  3881. }
  3882. ],
  3883. "produces": [
  3884. "application/json"
  3885. ],
  3886. "tags": [
  3887. "企业风险管理v3(app)"
  3888. ],
  3889. "summary": "查询品种要素定义项",
  3890. "parameters": [
  3891. {
  3892. "type": "integer",
  3893. "description": "用户id",
  3894. "name": "userid",
  3895. "in": "query"
  3896. },
  3897. {
  3898. "type": "integer",
  3899. "description": "用户类型 2-机构 7-企业成员",
  3900. "name": "usertype",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3906. "name": "dgfactoryitemid",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "现货品种ID",
  3912. "name": "deliverygoodsid",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "要素项类型",
  3918. "name": "dgfactoryitemtypeid",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "顺序",
  3924. "name": "orderindex",
  3925. "in": "query"
  3926. }
  3927. ],
  3928. "responses": {
  3929. "200": {
  3930. "description": "OK",
  3931. "schema": {
  3932. "type": "array",
  3933. "items": {
  3934. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3935. }
  3936. }
  3937. },
  3938. "500": {
  3939. "description": "Internal Server Error",
  3940. "schema": {
  3941. "$ref": "#/definitions/app.Response"
  3942. }
  3943. }
  3944. }
  3945. }
  3946. },
  3947. "/Ermcp3/QueryDeliveryGoods": {
  3948. "get": {
  3949. "security": [
  3950. {
  3951. "ApiKeyAuth": []
  3952. }
  3953. ],
  3954. "produces": [
  3955. "application/json"
  3956. ],
  3957. "tags": [
  3958. "企业风险管理v3(app)"
  3959. ],
  3960. "summary": "查询现货商品",
  3961. "parameters": [
  3962. {
  3963. "type": "integer",
  3964. "description": "用户id",
  3965. "name": "userid",
  3966. "in": "query",
  3967. "required": true
  3968. },
  3969. {
  3970. "type": "integer",
  3971. "description": "用户类型 2-机构 7-企业成员",
  3972. "name": "usertype",
  3973. "in": "query"
  3974. },
  3975. {
  3976. "type": "integer",
  3977. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3978. "name": "excludecfg",
  3979. "in": "query"
  3980. }
  3981. ],
  3982. "responses": {
  3983. "200": {
  3984. "description": "OK",
  3985. "schema": {
  3986. "type": "array",
  3987. "items": {
  3988. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3989. }
  3990. }
  3991. },
  3992. "500": {
  3993. "description": "Internal Server Error",
  3994. "schema": {
  3995. "$ref": "#/definitions/app.Response"
  3996. }
  3997. }
  3998. }
  3999. }
  4000. },
  4001. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4002. "get": {
  4003. "security": [
  4004. {
  4005. "ApiKeyAuth": []
  4006. }
  4007. ],
  4008. "produces": [
  4009. "application/json"
  4010. ],
  4011. "tags": [
  4012. "企业风险管理v3(app)"
  4013. ],
  4014. "summary": "查询现货商品详情",
  4015. "parameters": [
  4016. {
  4017. "type": "integer",
  4018. "description": "用户id",
  4019. "name": "userid",
  4020. "in": "query",
  4021. "required": true
  4022. },
  4023. {
  4024. "type": "integer",
  4025. "description": "用户类型 2-机构 7-企业成员",
  4026. "name": "usertype",
  4027. "in": "query"
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "现货商品id",
  4032. "name": "deliverygoodsid",
  4033. "in": "query"
  4034. }
  4035. ],
  4036. "responses": {
  4037. "200": {
  4038. "description": "OK",
  4039. "schema": {
  4040. "type": "array",
  4041. "items": {
  4042. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  4043. }
  4044. }
  4045. },
  4046. "500": {
  4047. "description": "Internal Server Error",
  4048. "schema": {
  4049. "$ref": "#/definitions/app.Response"
  4050. }
  4051. }
  4052. }
  4053. }
  4054. },
  4055. "/Ermcp3/QueryExposureDetail": {
  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. "type": "integer",
  4085. "description": "套保商品",
  4086. "name": "middlegoodsid",
  4087. "in": "query",
  4088. "required": true
  4089. }
  4090. ],
  4091. "responses": {
  4092. "200": {
  4093. "description": "OK",
  4094. "schema": {
  4095. "type": "array",
  4096. "items": {
  4097. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4098. }
  4099. }
  4100. },
  4101. "500": {
  4102. "description": "Internal Server Error",
  4103. "schema": {
  4104. "$ref": "#/definitions/app.Response"
  4105. }
  4106. }
  4107. }
  4108. }
  4109. },
  4110. "/Ermcp3/QueryExposureSpot": {
  4111. "get": {
  4112. "security": [
  4113. {
  4114. "ApiKeyAuth": []
  4115. }
  4116. ],
  4117. "produces": [
  4118. "application/json"
  4119. ],
  4120. "tags": [
  4121. "企业风险管理v3(app)"
  4122. ],
  4123. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4124. "parameters": [
  4125. {
  4126. "type": "integer",
  4127. "description": "用户id",
  4128. "name": "userid",
  4129. "in": "query",
  4130. "required": true
  4131. },
  4132. {
  4133. "type": "integer",
  4134. "description": "用户类型 2-机构 7-企业成员",
  4135. "name": "usertype",
  4136. "in": "query"
  4137. }
  4138. ],
  4139. "responses": {
  4140. "200": {
  4141. "description": "OK",
  4142. "schema": {
  4143. "type": "array",
  4144. "items": {
  4145. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4146. }
  4147. }
  4148. },
  4149. "500": {
  4150. "description": "Internal Server Error",
  4151. "schema": {
  4152. "$ref": "#/definitions/app.Response"
  4153. }
  4154. }
  4155. }
  4156. }
  4157. },
  4158. "/Ermcp3/QueryExposureSpotDetail": {
  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": "现货品种ID",
  4189. "name": "deliverygoodsid",
  4190. "in": "query",
  4191. "required": true
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "type": "array",
  4199. "items": {
  4200. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4201. }
  4202. }
  4203. },
  4204. "500": {
  4205. "description": "Internal Server Error",
  4206. "schema": {
  4207. "$ref": "#/definitions/app.Response"
  4208. }
  4209. }
  4210. }
  4211. }
  4212. },
  4213. "/Ermcp3/QueryGoodsGroup": {
  4214. "get": {
  4215. "security": [
  4216. {
  4217. "ApiKeyAuth": []
  4218. }
  4219. ],
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "企业风险管理v3(app)"
  4225. ],
  4226. "summary": "查询期货商品组",
  4227. "parameters": [
  4228. {
  4229. "type": "integer",
  4230. "description": "用户id",
  4231. "name": "userid",
  4232. "in": "query",
  4233. "required": true
  4234. },
  4235. {
  4236. "type": "integer",
  4237. "description": "用户类型 2-机构 7-企业成员",
  4238. "name": "usertype",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "排除套保品中已关联的商品组 1-排除",
  4244. "name": "excludecfg",
  4245. "in": "query"
  4246. }
  4247. ],
  4248. "responses": {
  4249. "200": {
  4250. "description": "OK",
  4251. "schema": {
  4252. "type": "array",
  4253. "items": {
  4254. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4255. }
  4256. }
  4257. },
  4258. "500": {
  4259. "description": "Internal Server Error",
  4260. "schema": {
  4261. "$ref": "#/definitions/app.Response"
  4262. }
  4263. }
  4264. }
  4265. }
  4266. },
  4267. "/Ermcp3/QueryGoodsWrstandard": {
  4268. "get": {
  4269. "security": [
  4270. {
  4271. "ApiKeyAuth": []
  4272. }
  4273. ],
  4274. "produces": [
  4275. "application/json"
  4276. ],
  4277. "tags": [
  4278. "企业风险管理v3(app)"
  4279. ],
  4280. "summary": "查询商品品类",
  4281. "parameters": [
  4282. {
  4283. "type": "integer",
  4284. "description": "用户id",
  4285. "name": "userid",
  4286. "in": "query",
  4287. "required": true
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "用户类型 2-机构 7-企业成员",
  4292. "name": "usertype",
  4293. "in": "query"
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "现货商品id",
  4298. "name": "deliverygoodsid",
  4299. "in": "query"
  4300. }
  4301. ],
  4302. "responses": {
  4303. "200": {
  4304. "description": "OK",
  4305. "schema": {
  4306. "type": "array",
  4307. "items": {
  4308. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4309. }
  4310. }
  4311. },
  4312. "500": {
  4313. "description": "Internal Server Error",
  4314. "schema": {
  4315. "$ref": "#/definitions/app.Response"
  4316. }
  4317. }
  4318. }
  4319. }
  4320. },
  4321. "/Ermcp3/QueryGoodsbrand": {
  4322. "get": {
  4323. "security": [
  4324. {
  4325. "ApiKeyAuth": []
  4326. }
  4327. ],
  4328. "produces": [
  4329. "application/json"
  4330. ],
  4331. "tags": [
  4332. "企业风险管理v3(app)"
  4333. ],
  4334. "summary": "查询商品品牌",
  4335. "parameters": [
  4336. {
  4337. "type": "integer",
  4338. "description": "用户id",
  4339. "name": "userid",
  4340. "in": "query",
  4341. "required": true
  4342. },
  4343. {
  4344. "type": "integer",
  4345. "description": "用户类型 2-机构 7-企业成员",
  4346. "name": "usertype",
  4347. "in": "query"
  4348. }
  4349. ],
  4350. "responses": {
  4351. "200": {
  4352. "description": "OK",
  4353. "schema": {
  4354. "type": "array",
  4355. "items": {
  4356. "$ref": "#/definitions/models.Ermcp3Brand"
  4357. }
  4358. }
  4359. },
  4360. "500": {
  4361. "description": "Internal Server Error",
  4362. "schema": {
  4363. "$ref": "#/definitions/app.Response"
  4364. }
  4365. }
  4366. }
  4367. }
  4368. },
  4369. "/Ermcp3/QueryHedgePlan": {
  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": "string",
  4399. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4400. "name": "hedgeplanstatus",
  4401. "in": "query",
  4402. "required": true
  4403. }
  4404. ],
  4405. "responses": {
  4406. "200": {
  4407. "description": "OK",
  4408. "schema": {
  4409. "type": "array",
  4410. "items": {
  4411. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4412. }
  4413. }
  4414. },
  4415. "500": {
  4416. "description": "Internal Server Error",
  4417. "schema": {
  4418. "$ref": "#/definitions/app.Response"
  4419. }
  4420. }
  4421. }
  4422. }
  4423. },
  4424. "/Ermcp3/QueryMiddleGoodsDetail": {
  4425. "get": {
  4426. "security": [
  4427. {
  4428. "ApiKeyAuth": []
  4429. }
  4430. ],
  4431. "produces": [
  4432. "application/json"
  4433. ],
  4434. "tags": [
  4435. "企业风险管理v3(app)"
  4436. ],
  4437. "summary": "查询套保品种详情(套保品种/商品详情)",
  4438. "parameters": [
  4439. {
  4440. "type": "integer",
  4441. "description": "用户id",
  4442. "name": "userid",
  4443. "in": "query",
  4444. "required": true
  4445. },
  4446. {
  4447. "type": "integer",
  4448. "description": "用户类型 2-机构 7-企业成员",
  4449. "name": "usertype",
  4450. "in": "query"
  4451. },
  4452. {
  4453. "type": "integer",
  4454. "description": "套保品种id",
  4455. "name": "middlegoodsid",
  4456. "in": "query"
  4457. }
  4458. ],
  4459. "responses": {
  4460. "200": {
  4461. "description": "OK",
  4462. "schema": {
  4463. "type": "array",
  4464. "items": {
  4465. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4466. }
  4467. }
  4468. },
  4469. "500": {
  4470. "description": "Internal Server Error",
  4471. "schema": {
  4472. "$ref": "#/definitions/app.Response"
  4473. }
  4474. }
  4475. }
  4476. }
  4477. },
  4478. "/Ermcp3/QueryRootUserAccount": {
  4479. "get": {
  4480. "security": [
  4481. {
  4482. "ApiKeyAuth": []
  4483. }
  4484. ],
  4485. "produces": [
  4486. "application/json"
  4487. ],
  4488. "tags": [
  4489. "企业风险管理v3(app)"
  4490. ],
  4491. "summary": "查询顶级用户信息",
  4492. "parameters": [
  4493. {
  4494. "type": "integer",
  4495. "description": "用户ID",
  4496. "name": "userid",
  4497. "in": "query",
  4498. "required": true
  4499. }
  4500. ],
  4501. "responses": {
  4502. "200": {
  4503. "description": "OK",
  4504. "schema": {
  4505. "type": "array",
  4506. "items": {
  4507. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4508. }
  4509. }
  4510. },
  4511. "500": {
  4512. "description": "Internal Server Error",
  4513. "schema": {
  4514. "$ref": "#/definitions/app.Response"
  4515. }
  4516. }
  4517. }
  4518. }
  4519. },
  4520. "/Ermcp3/QuerySpotContract": {
  4521. "get": {
  4522. "security": [
  4523. {
  4524. "ApiKeyAuth": []
  4525. }
  4526. ],
  4527. "produces": [
  4528. "application/json"
  4529. ],
  4530. "tags": [
  4531. "企业风险管理v3(app)"
  4532. ],
  4533. "summary": "查询现货合同",
  4534. "parameters": [
  4535. {
  4536. "type": "integer",
  4537. "description": "用户id",
  4538. "name": "userid",
  4539. "in": "query",
  4540. "required": true
  4541. },
  4542. {
  4543. "type": "integer",
  4544. "description": "用户类型 2-机构 7-企业成员",
  4545. "name": "usertype",
  4546. "in": "query"
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4551. "name": "querytype",
  4552. "in": "query",
  4553. "required": true
  4554. },
  4555. {
  4556. "type": "string",
  4557. "description": "合同ID(SpotContractId)",
  4558. "name": "contractid",
  4559. "in": "query"
  4560. }
  4561. ],
  4562. "responses": {
  4563. "200": {
  4564. "description": "OK",
  4565. "schema": {
  4566. "type": "array",
  4567. "items": {
  4568. "$ref": "#/definitions/models.Ermcp3Contract"
  4569. }
  4570. }
  4571. },
  4572. "500": {
  4573. "description": "Internal Server Error",
  4574. "schema": {
  4575. "$ref": "#/definitions/app.Response"
  4576. }
  4577. }
  4578. }
  4579. }
  4580. },
  4581. "/Ermcp3/QuerySpotContractBS": {
  4582. "get": {
  4583. "security": [
  4584. {
  4585. "ApiKeyAuth": []
  4586. }
  4587. ],
  4588. "produces": [
  4589. "application/json"
  4590. ],
  4591. "tags": [
  4592. "企业风险管理v3(app)"
  4593. ],
  4594. "summary": "查询合同(采购/销售)",
  4595. "parameters": [
  4596. {
  4597. "type": "integer",
  4598. "description": "用户id",
  4599. "name": "userid",
  4600. "in": "query",
  4601. "required": true
  4602. },
  4603. {
  4604. "type": "integer",
  4605. "description": "用户类型 2-机构 7-企业成员",
  4606. "name": "usertype",
  4607. "in": "query"
  4608. },
  4609. {
  4610. "type": "integer",
  4611. "description": "合同类型 1-采购, -1-销售",
  4612. "name": "contracttype",
  4613. "in": "query",
  4614. "required": true
  4615. },
  4616. {
  4617. "type": "integer",
  4618. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4619. "name": "querytype",
  4620. "in": "query",
  4621. "required": true
  4622. },
  4623. {
  4624. "type": "string",
  4625. "description": "合同ID(SpotContractId)",
  4626. "name": "contractid",
  4627. "in": "query"
  4628. }
  4629. ],
  4630. "responses": {
  4631. "200": {
  4632. "description": "OK",
  4633. "schema": {
  4634. "type": "array",
  4635. "items": {
  4636. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4637. }
  4638. }
  4639. },
  4640. "500": {
  4641. "description": "Internal Server Error",
  4642. "schema": {
  4643. "$ref": "#/definitions/app.Response"
  4644. }
  4645. }
  4646. }
  4647. }
  4648. },
  4649. "/Ermcp3/QuerySpotGoodsPrice": {
  4650. "get": {
  4651. "security": [
  4652. {
  4653. "ApiKeyAuth": []
  4654. }
  4655. ],
  4656. "produces": [
  4657. "application/json"
  4658. ],
  4659. "tags": [
  4660. "企业风险管理v3(app)"
  4661. ],
  4662. "summary": "查询现货市价(现货市价)",
  4663. "parameters": [
  4664. {
  4665. "type": "integer",
  4666. "description": "用户ID",
  4667. "name": "userid",
  4668. "in": "query",
  4669. "required": true
  4670. }
  4671. ],
  4672. "responses": {
  4673. "200": {
  4674. "description": "OK",
  4675. "schema": {
  4676. "type": "array",
  4677. "items": {
  4678. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4679. }
  4680. }
  4681. },
  4682. "500": {
  4683. "description": "Internal Server Error",
  4684. "schema": {
  4685. "$ref": "#/definitions/app.Response"
  4686. }
  4687. }
  4688. }
  4689. }
  4690. },
  4691. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4692. "get": {
  4693. "security": [
  4694. {
  4695. "ApiKeyAuth": []
  4696. }
  4697. ],
  4698. "produces": [
  4699. "application/json"
  4700. ],
  4701. "tags": [
  4702. "企业风险管理v3(app)"
  4703. ],
  4704. "summary": "查询现货市价详情(现货市价/详情)",
  4705. "parameters": [
  4706. {
  4707. "type": "integer",
  4708. "description": "用户ID",
  4709. "name": "userid",
  4710. "in": "query",
  4711. "required": true
  4712. },
  4713. {
  4714. "type": "integer",
  4715. "description": "现货商品ID",
  4716. "name": "deliverygoodsid",
  4717. "in": "query",
  4718. "required": true
  4719. },
  4720. {
  4721. "type": "integer",
  4722. "description": "品牌ID",
  4723. "name": "brandid",
  4724. "in": "query"
  4725. },
  4726. {
  4727. "type": "integer",
  4728. "description": "品类ID",
  4729. "name": "wrstandardid",
  4730. "in": "query"
  4731. }
  4732. ],
  4733. "responses": {
  4734. "200": {
  4735. "description": "OK",
  4736. "schema": {
  4737. "type": "array",
  4738. "items": {
  4739. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4740. }
  4741. }
  4742. },
  4743. "500": {
  4744. "description": "Internal Server Error",
  4745. "schema": {
  4746. "$ref": "#/definitions/app.Response"
  4747. }
  4748. }
  4749. }
  4750. }
  4751. },
  4752. "/Erms2/QueryArbitrageStrategy": {
  4753. "get": {
  4754. "security": [
  4755. {
  4756. "ApiKeyAuth": []
  4757. }
  4758. ],
  4759. "produces": [
  4760. "application/json"
  4761. ],
  4762. "tags": [
  4763. "风险管理"
  4764. ],
  4765. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4766. "parameters": [
  4767. {
  4768. "type": "integer",
  4769. "description": "账户ID",
  4770. "name": "userid",
  4771. "in": "query",
  4772. "required": true
  4773. },
  4774. {
  4775. "type": "string",
  4776. "description": "商品组ID(品种ID)",
  4777. "name": "goodsgroupid",
  4778. "in": "query"
  4779. }
  4780. ],
  4781. "responses": {
  4782. "200": {
  4783. "description": "OK",
  4784. "schema": {
  4785. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4786. }
  4787. },
  4788. "500": {
  4789. "description": "Internal Server Error",
  4790. "schema": {
  4791. "$ref": "#/definitions/app.Response"
  4792. }
  4793. }
  4794. }
  4795. }
  4796. },
  4797. "/Erms2/QueryInnerTradeDetail": {
  4798. "get": {
  4799. "security": [
  4800. {
  4801. "ApiKeyAuth": []
  4802. }
  4803. ],
  4804. "produces": [
  4805. "application/json"
  4806. ],
  4807. "tags": [
  4808. "风险管理"
  4809. ],
  4810. "summary": "查询内部成交单信息",
  4811. "parameters": [
  4812. {
  4813. "type": "integer",
  4814. "description": "资金账户",
  4815. "name": "accountid",
  4816. "in": "query",
  4817. "required": true
  4818. }
  4819. ],
  4820. "responses": {
  4821. "200": {
  4822. "description": "OK",
  4823. "schema": {
  4824. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4825. }
  4826. },
  4827. "500": {
  4828. "description": "Internal Server Error",
  4829. "schema": {
  4830. "$ref": "#/definitions/app.Response"
  4831. }
  4832. }
  4833. }
  4834. }
  4835. },
  4836. "/Erms2/QuerySpotContract": {
  4837. "get": {
  4838. "security": [
  4839. {
  4840. "ApiKeyAuth": []
  4841. }
  4842. ],
  4843. "produces": [
  4844. "application/json"
  4845. ],
  4846. "tags": [
  4847. "风险管理"
  4848. ],
  4849. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4850. "parameters": [
  4851. {
  4852. "type": "integer",
  4853. "description": "策略申请ID",
  4854. "name": "asapplyid",
  4855. "in": "query",
  4856. "required": true
  4857. },
  4858. {
  4859. "type": "integer",
  4860. "description": "现货合同ID",
  4861. "name": "spotcontractid",
  4862. "in": "query"
  4863. }
  4864. ],
  4865. "responses": {
  4866. "200": {
  4867. "description": "OK",
  4868. "schema": {
  4869. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4870. }
  4871. },
  4872. "500": {
  4873. "description": "Internal Server Error",
  4874. "schema": {
  4875. "$ref": "#/definitions/app.Response"
  4876. }
  4877. }
  4878. }
  4879. }
  4880. },
  4881. "/Erms3/AddErms2ASApply": {
  4882. "post": {
  4883. "security": [
  4884. {
  4885. "ApiKeyAuth": []
  4886. }
  4887. ],
  4888. "produces": [
  4889. "application/json"
  4890. ],
  4891. "tags": [
  4892. "风险管理v3"
  4893. ],
  4894. "summary": "新增期现套利业务申请",
  4895. "parameters": [
  4896. {
  4897. "description": "申请参数",
  4898. "name": "jsonBody",
  4899. "in": "body",
  4900. "required": true,
  4901. "schema": {
  4902. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4903. }
  4904. }
  4905. ],
  4906. "responses": {
  4907. "200": {
  4908. "description": "OK",
  4909. "schema": {
  4910. "$ref": "#/definitions/app.Response"
  4911. }
  4912. },
  4913. "500": {
  4914. "description": "Internal Server Error",
  4915. "schema": {
  4916. "$ref": "#/definitions/app.Response"
  4917. }
  4918. }
  4919. }
  4920. }
  4921. },
  4922. "/Erms3/AddErms2SpotTradeApply": {
  4923. "post": {
  4924. "security": [
  4925. {
  4926. "ApiKeyAuth": []
  4927. }
  4928. ],
  4929. "produces": [
  4930. "application/json"
  4931. ],
  4932. "tags": [
  4933. "风险管理v3"
  4934. ],
  4935. "summary": "新增现货贸易业务申请",
  4936. "parameters": [
  4937. {
  4938. "description": "申请参数",
  4939. "name": "jsonBody",
  4940. "in": "body",
  4941. "required": true,
  4942. "schema": {
  4943. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4944. }
  4945. }
  4946. ],
  4947. "responses": {
  4948. "200": {
  4949. "description": "OK",
  4950. "schema": {
  4951. "$ref": "#/definitions/app.Response"
  4952. }
  4953. },
  4954. "500": {
  4955. "description": "Internal Server Error",
  4956. "schema": {
  4957. "$ref": "#/definitions/app.Response"
  4958. }
  4959. }
  4960. }
  4961. }
  4962. },
  4963. "/Erms3/AddSpotContractApply": {
  4964. "post": {
  4965. "security": [
  4966. {
  4967. "ApiKeyAuth": []
  4968. }
  4969. ],
  4970. "produces": [
  4971. "application/json"
  4972. ],
  4973. "tags": [
  4974. "风险管理v3"
  4975. ],
  4976. "summary": "新增现货合同申请",
  4977. "parameters": [
  4978. {
  4979. "description": "申请参数",
  4980. "name": "jsonBody",
  4981. "in": "body",
  4982. "required": true,
  4983. "schema": {
  4984. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4985. }
  4986. }
  4987. ],
  4988. "responses": {
  4989. "200": {
  4990. "description": "OK",
  4991. "schema": {
  4992. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4993. }
  4994. },
  4995. "500": {
  4996. "description": "Internal Server Error",
  4997. "schema": {
  4998. "$ref": "#/definitions/app.Response"
  4999. }
  5000. }
  5001. }
  5002. }
  5003. },
  5004. "/Erms3/AddUserInfoApply": {
  5005. "post": {
  5006. "security": [
  5007. {
  5008. "ApiKeyAuth": []
  5009. }
  5010. ],
  5011. "produces": [
  5012. "application/json"
  5013. ],
  5014. "tags": [
  5015. "风险管理v3"
  5016. ],
  5017. "summary": "新增客户申请",
  5018. "parameters": [
  5019. {
  5020. "description": "用户信息",
  5021. "name": "jsonBody",
  5022. "in": "body",
  5023. "required": true,
  5024. "schema": {
  5025. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5026. }
  5027. }
  5028. ],
  5029. "responses": {
  5030. "200": {
  5031. "description": "OK",
  5032. "schema": {
  5033. "$ref": "#/definitions/app.Response"
  5034. }
  5035. },
  5036. "500": {
  5037. "description": "Internal Server Error",
  5038. "schema": {
  5039. "$ref": "#/definitions/app.Response"
  5040. }
  5041. }
  5042. }
  5043. }
  5044. },
  5045. "/Erms3/DeleteUserInfoApply": {
  5046. "get": {
  5047. "security": [
  5048. {
  5049. "ApiKeyAuth": []
  5050. }
  5051. ],
  5052. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5053. "produces": [
  5054. "application/json"
  5055. ],
  5056. "tags": [
  5057. "风险管理v3"
  5058. ],
  5059. "summary": "删除客户申请",
  5060. "parameters": [
  5061. {
  5062. "type": "integer",
  5063. "description": "用户ID",
  5064. "name": "userID",
  5065. "in": "query",
  5066. "required": true
  5067. }
  5068. ],
  5069. "responses": {
  5070. "200": {
  5071. "description": "OK",
  5072. "schema": {
  5073. "$ref": "#/definitions/app.Response"
  5074. }
  5075. },
  5076. "500": {
  5077. "description": "Internal Server Error",
  5078. "schema": {
  5079. "$ref": "#/definitions/app.Response"
  5080. }
  5081. }
  5082. }
  5083. }
  5084. },
  5085. "/Erms3/ModifyUserInfoApply": {
  5086. "post": {
  5087. "security": [
  5088. {
  5089. "ApiKeyAuth": []
  5090. }
  5091. ],
  5092. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5093. "produces": [
  5094. "application/json"
  5095. ],
  5096. "tags": [
  5097. "风险管理v3"
  5098. ],
  5099. "summary": "修改客户申请",
  5100. "parameters": [
  5101. {
  5102. "description": "用户信息",
  5103. "name": "jsonBody",
  5104. "in": "body",
  5105. "required": true,
  5106. "schema": {
  5107. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5108. }
  5109. }
  5110. ],
  5111. "responses": {
  5112. "200": {
  5113. "description": "OK",
  5114. "schema": {
  5115. "$ref": "#/definitions/app.Response"
  5116. }
  5117. },
  5118. "500": {
  5119. "description": "Internal Server Error",
  5120. "schema": {
  5121. "$ref": "#/definitions/app.Response"
  5122. }
  5123. }
  5124. }
  5125. }
  5126. },
  5127. "/Erms3/QueryBusinessInfo": {
  5128. "get": {
  5129. "security": [
  5130. {
  5131. "ApiKeyAuth": []
  5132. }
  5133. ],
  5134. "produces": [
  5135. "application/json"
  5136. ],
  5137. "tags": [
  5138. "风险管理v3"
  5139. ],
  5140. "summary": "查询业务表单数据",
  5141. "parameters": [
  5142. {
  5143. "type": "string",
  5144. "description": "资金账号ID列表,用逗号分隔",
  5145. "name": "accountids",
  5146. "in": "query",
  5147. "required": true
  5148. },
  5149. {
  5150. "type": "integer",
  5151. "description": "状态,0为未结束 1为已结束",
  5152. "name": "status",
  5153. "in": "query",
  5154. "required": true
  5155. }
  5156. ],
  5157. "responses": {
  5158. "200": {
  5159. "description": "OK",
  5160. "schema": {
  5161. "type": "array",
  5162. "items": {
  5163. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5164. }
  5165. }
  5166. },
  5167. "500": {
  5168. "description": "Internal Server Error",
  5169. "schema": {
  5170. "$ref": "#/definitions/app.Response"
  5171. }
  5172. }
  5173. }
  5174. }
  5175. },
  5176. "/Erms3/QueryPendingAuditContract": {
  5177. "get": {
  5178. "security": [
  5179. {
  5180. "ApiKeyAuth": []
  5181. }
  5182. ],
  5183. "produces": [
  5184. "application/json"
  5185. ],
  5186. "tags": [
  5187. "风险管理v3"
  5188. ],
  5189. "summary": "查询待审核合同",
  5190. "parameters": [
  5191. {
  5192. "type": "string",
  5193. "description": "资金账号ID列表,逗号隔开",
  5194. "name": "accountids",
  5195. "in": "query",
  5196. "required": true
  5197. },
  5198. {
  5199. "type": "integer",
  5200. "description": "合同类型 1-采购 -1-销售",
  5201. "name": "contracttype",
  5202. "in": "query",
  5203. "required": true
  5204. },
  5205. {
  5206. "type": "integer",
  5207. "description": "合同模式 1-普通 2-回购",
  5208. "name": "contractmode",
  5209. "in": "query",
  5210. "required": true
  5211. }
  5212. ],
  5213. "responses": {
  5214. "200": {
  5215. "description": "OK",
  5216. "schema": {
  5217. "type": "array",
  5218. "items": {
  5219. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5220. }
  5221. }
  5222. },
  5223. "500": {
  5224. "description": "Internal Server Error",
  5225. "schema": {
  5226. "$ref": "#/definitions/app.Response"
  5227. }
  5228. }
  5229. }
  5230. }
  5231. },
  5232. "/Erms3/QueryPendingBusiness": {
  5233. "get": {
  5234. "security": [
  5235. {
  5236. "ApiKeyAuth": []
  5237. }
  5238. ],
  5239. "produces": [
  5240. "application/json"
  5241. ],
  5242. "tags": [
  5243. "风险管理v3"
  5244. ],
  5245. "summary": "查询待审核基差贸易业务",
  5246. "parameters": [
  5247. {
  5248. "type": "string",
  5249. "description": "资金账号ID列表,逗号隔开",
  5250. "name": "accountids",
  5251. "in": "query",
  5252. "required": true
  5253. }
  5254. ],
  5255. "responses": {
  5256. "200": {
  5257. "description": "OK",
  5258. "schema": {
  5259. "type": "array",
  5260. "items": {
  5261. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5262. }
  5263. }
  5264. },
  5265. "500": {
  5266. "description": "Internal Server Error",
  5267. "schema": {
  5268. "$ref": "#/definitions/app.Response"
  5269. }
  5270. }
  5271. }
  5272. }
  5273. },
  5274. "/Erms3/QuerySpotContractAppleForm": {
  5275. "get": {
  5276. "security": [
  5277. {
  5278. "ApiKeyAuth": []
  5279. }
  5280. ],
  5281. "produces": [
  5282. "application/json"
  5283. ],
  5284. "tags": [
  5285. "风险管理v3"
  5286. ],
  5287. "summary": "查询合同申请表单数据",
  5288. "parameters": [
  5289. {
  5290. "type": "integer",
  5291. "description": "登录账号",
  5292. "name": "loginID",
  5293. "in": "query",
  5294. "required": true
  5295. }
  5296. ],
  5297. "responses": {
  5298. "200": {
  5299. "description": "OK",
  5300. "schema": {
  5301. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5302. }
  5303. },
  5304. "500": {
  5305. "description": "Internal Server Error",
  5306. "schema": {
  5307. "$ref": "#/definitions/app.Response"
  5308. }
  5309. }
  5310. }
  5311. }
  5312. },
  5313. "/Erms3/QuerySpotContractDetail": {
  5314. "get": {
  5315. "security": [
  5316. {
  5317. "ApiKeyAuth": []
  5318. }
  5319. ],
  5320. "produces": [
  5321. "application/json"
  5322. ],
  5323. "tags": [
  5324. "风险管理v3"
  5325. ],
  5326. "summary": "查询合同详细信息",
  5327. "parameters": [
  5328. {
  5329. "type": "string",
  5330. "description": "资金账号ID列表,用逗号分隔",
  5331. "name": "accountids",
  5332. "in": "query",
  5333. "required": true
  5334. },
  5335. {
  5336. "type": "integer",
  5337. "description": "合同类型,1为采购合同 -1为销售合同",
  5338. "name": "contracttype",
  5339. "in": "query",
  5340. "required": true
  5341. },
  5342. {
  5343. "type": "integer",
  5344. "description": "合同模式,1为普通合同 2为回购销售合同",
  5345. "name": "contractmode",
  5346. "in": "query",
  5347. "required": true
  5348. },
  5349. {
  5350. "type": "integer",
  5351. "description": "状态,0为履约中 1为已完成",
  5352. "name": "status",
  5353. "in": "query",
  5354. "required": true
  5355. }
  5356. ],
  5357. "responses": {
  5358. "200": {
  5359. "description": "OK",
  5360. "schema": {
  5361. "type": "array",
  5362. "items": {
  5363. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5364. }
  5365. }
  5366. },
  5367. "500": {
  5368. "description": "Internal Server Error",
  5369. "schema": {
  5370. "$ref": "#/definitions/app.Response"
  5371. }
  5372. }
  5373. }
  5374. }
  5375. },
  5376. "/Erms3/QueryUserInfoApplies": {
  5377. "get": {
  5378. "security": [
  5379. {
  5380. "ApiKeyAuth": []
  5381. }
  5382. ],
  5383. "produces": [
  5384. "application/json"
  5385. ],
  5386. "tags": [
  5387. "风险管理v3"
  5388. ],
  5389. "summary": "客户申请信息查询",
  5390. "parameters": [
  5391. {
  5392. "type": "integer",
  5393. "description": "页码",
  5394. "name": "page",
  5395. "in": "query"
  5396. },
  5397. {
  5398. "type": "integer",
  5399. "description": "每页条数",
  5400. "name": "pagesize",
  5401. "in": "query"
  5402. },
  5403. {
  5404. "type": "string",
  5405. "description": "客户名称,支持模糊查询",
  5406. "name": "userName",
  5407. "in": "query"
  5408. }
  5409. ],
  5410. "responses": {
  5411. "200": {
  5412. "description": "OK",
  5413. "schema": {
  5414. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5415. }
  5416. },
  5417. "500": {
  5418. "description": "Internal Server Error",
  5419. "schema": {
  5420. "$ref": "#/definitions/app.Response"
  5421. }
  5422. }
  5423. }
  5424. }
  5425. },
  5426. "/Erms3/QueryUserInfos": {
  5427. "get": {
  5428. "security": [
  5429. {
  5430. "ApiKeyAuth": []
  5431. }
  5432. ],
  5433. "produces": [
  5434. "application/json"
  5435. ],
  5436. "tags": [
  5437. "风险管理v3"
  5438. ],
  5439. "summary": "客户信息查询",
  5440. "parameters": [
  5441. {
  5442. "type": "integer",
  5443. "description": "页码",
  5444. "name": "page",
  5445. "in": "query"
  5446. },
  5447. {
  5448. "type": "integer",
  5449. "description": "每页条数",
  5450. "name": "pagesize",
  5451. "in": "query"
  5452. },
  5453. {
  5454. "type": "string",
  5455. "description": "客户名称,支持模糊查询",
  5456. "name": "userName",
  5457. "in": "query"
  5458. }
  5459. ],
  5460. "responses": {
  5461. "200": {
  5462. "description": "OK",
  5463. "schema": {
  5464. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5465. }
  5466. },
  5467. "500": {
  5468. "description": "Internal Server Error",
  5469. "schema": {
  5470. "$ref": "#/definitions/app.Response"
  5471. }
  5472. }
  5473. }
  5474. }
  5475. },
  5476. "/HSBY/GetHsbyMyCount": {
  5477. "get": {
  5478. "security": [
  5479. {
  5480. "ApiKeyAuth": []
  5481. }
  5482. ],
  5483. "description": "说明: 不包括已完成的数量。",
  5484. "produces": [
  5485. "application/json"
  5486. ],
  5487. "tags": [
  5488. "定制【海商报业】"
  5489. ],
  5490. "summary": "获取我的订单与包裹数量",
  5491. "parameters": [
  5492. {
  5493. "type": "string",
  5494. "description": "资金账户列表,格式:1,2,3",
  5495. "name": "accountIDs",
  5496. "in": "query",
  5497. "required": true
  5498. }
  5499. ],
  5500. "responses": {
  5501. "200": {
  5502. "description": "OK",
  5503. "schema": {
  5504. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5505. }
  5506. },
  5507. "500": {
  5508. "description": "Internal Server Error",
  5509. "schema": {
  5510. "$ref": "#/definitions/app.Response"
  5511. }
  5512. }
  5513. }
  5514. }
  5515. },
  5516. "/HSBY/QueryClientFixedADConfigs": {
  5517. "get": {
  5518. "security": [
  5519. {
  5520. "ApiKeyAuth": []
  5521. }
  5522. ],
  5523. "produces": [
  5524. "application/json"
  5525. ],
  5526. "tags": [
  5527. "定制【海商报业】"
  5528. ],
  5529. "summary": "获取终端固定广告配置",
  5530. "responses": {
  5531. "200": {
  5532. "description": "OK",
  5533. "schema": {
  5534. "$ref": "#/definitions/models.Clientfixedadconfig"
  5535. }
  5536. },
  5537. "500": {
  5538. "description": "Internal Server Error",
  5539. "schema": {
  5540. "$ref": "#/definitions/app.Response"
  5541. }
  5542. }
  5543. }
  5544. }
  5545. },
  5546. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5547. "get": {
  5548. "security": [
  5549. {
  5550. "ApiKeyAuth": []
  5551. }
  5552. ],
  5553. "produces": [
  5554. "application/json"
  5555. ],
  5556. "tags": [
  5557. "定制【海商报业】"
  5558. ],
  5559. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5560. "parameters": [
  5561. {
  5562. "type": "integer",
  5563. "description": "页码",
  5564. "name": "page",
  5565. "in": "query"
  5566. },
  5567. {
  5568. "type": "integer",
  5569. "description": "每页条数",
  5570. "name": "pagesize",
  5571. "in": "query"
  5572. },
  5573. {
  5574. "type": "string",
  5575. "description": "资金账户列表,格式:1,2,3",
  5576. "name": "accountIDs",
  5577. "in": "query",
  5578. "required": true
  5579. }
  5580. ],
  5581. "responses": {
  5582. "200": {
  5583. "description": "OK",
  5584. "schema": {
  5585. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5586. }
  5587. },
  5588. "500": {
  5589. "description": "Internal Server Error",
  5590. "schema": {
  5591. "$ref": "#/definitions/app.Response"
  5592. }
  5593. }
  5594. }
  5595. }
  5596. },
  5597. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5598. "get": {
  5599. "security": [
  5600. {
  5601. "ApiKeyAuth": []
  5602. }
  5603. ],
  5604. "description": "说明:查询结果已按委托价格和委托时间排序",
  5605. "produces": [
  5606. "application/json"
  5607. ],
  5608. "tags": [
  5609. "定制【海商报业】"
  5610. ],
  5611. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5612. "parameters": [
  5613. {
  5614. "type": "integer",
  5615. "description": "商品ID",
  5616. "name": "goodsID",
  5617. "in": "query",
  5618. "required": true
  5619. },
  5620. {
  5621. "type": "string",
  5622. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5623. "name": "accountIDs",
  5624. "in": "query"
  5625. },
  5626. {
  5627. "type": "integer",
  5628. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5629. "name": "buyOrSell",
  5630. "in": "query"
  5631. },
  5632. {
  5633. "type": "number",
  5634. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5635. "name": "price",
  5636. "in": "query"
  5637. },
  5638. {
  5639. "type": "integer",
  5640. "description": "档位,不传则默认为3档",
  5641. "name": "speed",
  5642. "in": "query"
  5643. }
  5644. ],
  5645. "responses": {
  5646. "200": {
  5647. "description": "OK",
  5648. "schema": {
  5649. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5650. }
  5651. },
  5652. "500": {
  5653. "description": "Internal Server Error",
  5654. "schema": {
  5655. "$ref": "#/definitions/app.Response"
  5656. }
  5657. }
  5658. }
  5659. }
  5660. },
  5661. "/HSBY/QueryHsbyListingGoodsDetail": {
  5662. "get": {
  5663. "security": [
  5664. {
  5665. "ApiKeyAuth": []
  5666. }
  5667. ],
  5668. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5669. "produces": [
  5670. "application/json"
  5671. ],
  5672. "tags": [
  5673. "定制【海商报业】"
  5674. ],
  5675. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5676. "parameters": [
  5677. {
  5678. "type": "integer",
  5679. "description": "商品ID",
  5680. "name": "goodsID",
  5681. "in": "query",
  5682. "required": true
  5683. },
  5684. {
  5685. "type": "integer",
  5686. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5687. "name": "accountID",
  5688. "in": "query"
  5689. }
  5690. ],
  5691. "responses": {
  5692. "200": {
  5693. "description": "OK",
  5694. "schema": {
  5695. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5696. }
  5697. },
  5698. "500": {
  5699. "description": "Internal Server Error",
  5700. "schema": {
  5701. "$ref": "#/definitions/app.Response"
  5702. }
  5703. }
  5704. }
  5705. }
  5706. },
  5707. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5708. "get": {
  5709. "security": [
  5710. {
  5711. "ApiKeyAuth": []
  5712. }
  5713. ],
  5714. "produces": [
  5715. "application/json"
  5716. ],
  5717. "tags": [
  5718. "定制【海商报业】"
  5719. ],
  5720. "summary": "查询三级市场(商城)商品信息详情",
  5721. "parameters": [
  5722. {
  5723. "type": "integer",
  5724. "description": "委托单号",
  5725. "name": "orderID",
  5726. "in": "query",
  5727. "required": true
  5728. },
  5729. {
  5730. "type": "integer",
  5731. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5732. "name": "accountID",
  5733. "in": "query"
  5734. }
  5735. ],
  5736. "responses": {
  5737. "200": {
  5738. "description": "OK",
  5739. "schema": {
  5740. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5741. }
  5742. },
  5743. "500": {
  5744. "description": "Internal Server Error",
  5745. "schema": {
  5746. "$ref": "#/definitions/app.Response"
  5747. }
  5748. }
  5749. }
  5750. }
  5751. },
  5752. "/HSBY/QueryHsbyMarketGoodses": {
  5753. "get": {
  5754. "security": [
  5755. {
  5756. "ApiKeyAuth": []
  5757. }
  5758. ],
  5759. "produces": [
  5760. "application/json"
  5761. ],
  5762. "tags": [
  5763. "定制【海商报业】"
  5764. ],
  5765. "summary": "查询特卖商品列表(三级商城)",
  5766. "parameters": [
  5767. {
  5768. "type": "integer",
  5769. "description": "页码",
  5770. "name": "page",
  5771. "in": "query"
  5772. },
  5773. {
  5774. "type": "integer",
  5775. "description": "每页条数",
  5776. "name": "pagesize",
  5777. "in": "query"
  5778. },
  5779. {
  5780. "type": "string",
  5781. "description": "市场ID列表,格式:1,2,3",
  5782. "name": "marketIDs",
  5783. "in": "query",
  5784. "required": true
  5785. },
  5786. {
  5787. "type": "integer",
  5788. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5789. "name": "accountID",
  5790. "in": "query",
  5791. "required": true
  5792. },
  5793. {
  5794. "type": "integer",
  5795. "description": "类别ID",
  5796. "name": "categoryID",
  5797. "in": "query"
  5798. },
  5799. {
  5800. "type": "string",
  5801. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5802. "name": "goodsIDs",
  5803. "in": "query"
  5804. },
  5805. {
  5806. "type": "integer",
  5807. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5808. "name": "couponTypeID",
  5809. "in": "query"
  5810. }
  5811. ],
  5812. "responses": {
  5813. "200": {
  5814. "description": "OK",
  5815. "schema": {
  5816. "$ref": "#/definitions/models.HsbyMarketGoods"
  5817. }
  5818. },
  5819. "500": {
  5820. "description": "Internal Server Error",
  5821. "schema": {
  5822. "$ref": "#/definitions/app.Response"
  5823. }
  5824. }
  5825. }
  5826. }
  5827. },
  5828. "/HSBY/QueryHsbyMarkets": {
  5829. "get": {
  5830. "security": [
  5831. {
  5832. "ApiKeyAuth": []
  5833. }
  5834. ],
  5835. "produces": [
  5836. "application/json"
  5837. ],
  5838. "tags": [
  5839. "定制【海商报业】"
  5840. ],
  5841. "summary": "查询海商报业相关市场信息",
  5842. "responses": {
  5843. "200": {
  5844. "description": "OK",
  5845. "schema": {
  5846. "$ref": "#/definitions/models.HsbyMarketInfo"
  5847. }
  5848. },
  5849. "500": {
  5850. "description": "Internal Server Error",
  5851. "schema": {
  5852. "$ref": "#/definitions/app.Response"
  5853. }
  5854. }
  5855. }
  5856. }
  5857. },
  5858. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5859. "get": {
  5860. "security": [
  5861. {
  5862. "ApiKeyAuth": []
  5863. }
  5864. ],
  5865. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5866. "produces": [
  5867. "application/json"
  5868. ],
  5869. "tags": [
  5870. "定制【海商报业】"
  5871. ],
  5872. "summary": "查询“我的订单”信息",
  5873. "parameters": [
  5874. {
  5875. "type": "string",
  5876. "description": "资金账户列表,格式:1,2,3",
  5877. "name": "accountIDs",
  5878. "in": "query",
  5879. "required": true
  5880. }
  5881. ],
  5882. "responses": {
  5883. "200": {
  5884. "description": "OK",
  5885. "schema": {
  5886. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5887. }
  5888. },
  5889. "500": {
  5890. "description": "Internal Server Error",
  5891. "schema": {
  5892. "$ref": "#/definitions/app.Response"
  5893. }
  5894. }
  5895. }
  5896. }
  5897. },
  5898. "/HSBY/QueryHsbyMyGoods": {
  5899. "get": {
  5900. "security": [
  5901. {
  5902. "ApiKeyAuth": []
  5903. }
  5904. ],
  5905. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5906. "produces": [
  5907. "application/json"
  5908. ],
  5909. "tags": [
  5910. "定制【海商报业】"
  5911. ],
  5912. "summary": "查询“我的商品”信息",
  5913. "parameters": [
  5914. {
  5915. "type": "string",
  5916. "description": "资金账户列表,格式:1,2,3",
  5917. "name": "accountIDs",
  5918. "in": "query",
  5919. "required": true
  5920. }
  5921. ],
  5922. "responses": {
  5923. "200": {
  5924. "description": "OK",
  5925. "schema": {
  5926. "$ref": "#/definitions/models.HsbyMyGoods"
  5927. }
  5928. },
  5929. "500": {
  5930. "description": "Internal Server Error",
  5931. "schema": {
  5932. "$ref": "#/definitions/app.Response"
  5933. }
  5934. }
  5935. }
  5936. }
  5937. },
  5938. "/HSBY/QueryHsbyMyPackages": {
  5939. "get": {
  5940. "security": [
  5941. {
  5942. "ApiKeyAuth": []
  5943. }
  5944. ],
  5945. "produces": [
  5946. "application/json"
  5947. ],
  5948. "tags": [
  5949. "定制【海商报业】"
  5950. ],
  5951. "summary": "查询我的包裹信息",
  5952. "parameters": [
  5953. {
  5954. "type": "string",
  5955. "description": "资金账户列表,格式:1,2,3",
  5956. "name": "accountIDs",
  5957. "in": "query",
  5958. "required": true
  5959. },
  5960. {
  5961. "type": "integer",
  5962. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5963. "name": "takeOrderStatus",
  5964. "in": "query"
  5965. }
  5966. ],
  5967. "responses": {
  5968. "200": {
  5969. "description": "OK",
  5970. "schema": {
  5971. "$ref": "#/definitions/models.HsbyMyPackage"
  5972. }
  5973. },
  5974. "500": {
  5975. "description": "Internal Server Error",
  5976. "schema": {
  5977. "$ref": "#/definitions/app.Response"
  5978. }
  5979. }
  5980. }
  5981. }
  5982. },
  5983. "/HSBY/QueryHsbyPreGoodsDetail": {
  5984. "get": {
  5985. "security": [
  5986. {
  5987. "ApiKeyAuth": []
  5988. }
  5989. ],
  5990. "produces": [
  5991. "application/json"
  5992. ],
  5993. "tags": [
  5994. "定制【海商报业】"
  5995. ],
  5996. "summary": "查询一级市场(预售)商品信息详情",
  5997. "parameters": [
  5998. {
  5999. "type": "integer",
  6000. "description": "商品ID",
  6001. "name": "goodsID",
  6002. "in": "query",
  6003. "required": true
  6004. },
  6005. {
  6006. "type": "integer",
  6007. "description": "资金账户,主要用于获取预售商品购买上限",
  6008. "name": "accountID",
  6009. "in": "query"
  6010. }
  6011. ],
  6012. "responses": {
  6013. "200": {
  6014. "description": "OK",
  6015. "schema": {
  6016. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6017. }
  6018. },
  6019. "500": {
  6020. "description": "Internal Server Error",
  6021. "schema": {
  6022. "$ref": "#/definitions/app.Response"
  6023. }
  6024. }
  6025. }
  6026. }
  6027. },
  6028. "/HSBY/QueryHsbyPreGoodses": {
  6029. "get": {
  6030. "security": [
  6031. {
  6032. "ApiKeyAuth": []
  6033. }
  6034. ],
  6035. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6036. "produces": [
  6037. "application/json"
  6038. ],
  6039. "tags": [
  6040. "定制【海商报业】"
  6041. ],
  6042. "summary": "查询新品上市商品列表(一级市场预售)",
  6043. "parameters": [
  6044. {
  6045. "type": "integer",
  6046. "description": "页码",
  6047. "name": "page",
  6048. "in": "query"
  6049. },
  6050. {
  6051. "type": "integer",
  6052. "description": "每页条数",
  6053. "name": "pagesize",
  6054. "in": "query"
  6055. },
  6056. {
  6057. "type": "string",
  6058. "description": "市场ID列表,格式:1,2,3",
  6059. "name": "marketIDs",
  6060. "in": "query",
  6061. "required": true
  6062. },
  6063. {
  6064. "type": "integer",
  6065. "description": "目的地(省)ID",
  6066. "name": "descProvinceID",
  6067. "in": "query"
  6068. },
  6069. {
  6070. "type": "integer",
  6071. "description": "目的地(市)ID",
  6072. "name": "descCityID",
  6073. "in": "query"
  6074. }
  6075. ],
  6076. "responses": {
  6077. "200": {
  6078. "description": "OK",
  6079. "schema": {
  6080. "$ref": "#/definitions/models.HsbyPreGoods"
  6081. }
  6082. },
  6083. "500": {
  6084. "description": "Internal Server Error",
  6085. "schema": {
  6086. "$ref": "#/definitions/app.Response"
  6087. }
  6088. }
  6089. }
  6090. }
  6091. },
  6092. "/HSBY/QueryHsbySellMyDetails": {
  6093. "get": {
  6094. "security": [
  6095. {
  6096. "ApiKeyAuth": []
  6097. }
  6098. ],
  6099. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6100. "produces": [
  6101. "application/json"
  6102. ],
  6103. "tags": [
  6104. "定制【海商报业】"
  6105. ],
  6106. "summary": "查询\"我的闲置\"单据信息",
  6107. "parameters": [
  6108. {
  6109. "type": "integer",
  6110. "description": "页码",
  6111. "name": "page",
  6112. "in": "query"
  6113. },
  6114. {
  6115. "type": "integer",
  6116. "description": "每页条数",
  6117. "name": "pagesize",
  6118. "in": "query"
  6119. },
  6120. {
  6121. "type": "string",
  6122. "description": "资金账户列表,格式:1,2,3",
  6123. "name": "accountIDs",
  6124. "in": "query",
  6125. "required": true
  6126. },
  6127. {
  6128. "type": "integer",
  6129. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6130. "name": "orderType",
  6131. "in": "query"
  6132. }
  6133. ],
  6134. "responses": {
  6135. "200": {
  6136. "description": "OK",
  6137. "schema": {
  6138. "$ref": "#/definitions/models.HsbySellMyDetail"
  6139. }
  6140. },
  6141. "500": {
  6142. "description": "Internal Server Error",
  6143. "schema": {
  6144. "$ref": "#/definitions/app.Response"
  6145. }
  6146. }
  6147. }
  6148. }
  6149. },
  6150. "/HSBY/QueryHsbyTopGoodses": {
  6151. "get": {
  6152. "security": [
  6153. {
  6154. "ApiKeyAuth": []
  6155. }
  6156. ],
  6157. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6158. "produces": [
  6159. "application/json"
  6160. ],
  6161. "tags": [
  6162. "定制【海商报业】"
  6163. ],
  6164. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6165. "parameters": [
  6166. {
  6167. "type": "integer",
  6168. "description": "页码",
  6169. "name": "page",
  6170. "in": "query"
  6171. },
  6172. {
  6173. "type": "integer",
  6174. "description": "每页条数",
  6175. "name": "pagesize",
  6176. "in": "query"
  6177. },
  6178. {
  6179. "type": "string",
  6180. "description": "市场ID列表,格式:1,2,3",
  6181. "name": "marketIDs",
  6182. "in": "query",
  6183. "required": true
  6184. },
  6185. {
  6186. "type": "integer",
  6187. "description": "目的地(省)ID",
  6188. "name": "descProvinceID",
  6189. "in": "query"
  6190. },
  6191. {
  6192. "type": "integer",
  6193. "description": "目的地(市)ID",
  6194. "name": "descCityID",
  6195. "in": "query"
  6196. }
  6197. ],
  6198. "responses": {
  6199. "200": {
  6200. "description": "OK",
  6201. "schema": {
  6202. "$ref": "#/definitions/models.HsbyTopGoods"
  6203. }
  6204. },
  6205. "500": {
  6206. "description": "Internal Server Error",
  6207. "schema": {
  6208. "$ref": "#/definitions/app.Response"
  6209. }
  6210. }
  6211. }
  6212. }
  6213. },
  6214. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6215. "get": {
  6216. "security": [
  6217. {
  6218. "ApiKeyAuth": []
  6219. }
  6220. ],
  6221. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6222. "produces": [
  6223. "application/json"
  6224. ],
  6225. "tags": [
  6226. "定制【海商报业】"
  6227. ],
  6228. "summary": "查询游客三级市场(商城)商品信息详情",
  6229. "parameters": [
  6230. {
  6231. "type": "integer",
  6232. "description": "商品ID",
  6233. "name": "goodsID",
  6234. "in": "query",
  6235. "required": true
  6236. }
  6237. ],
  6238. "responses": {
  6239. "200": {
  6240. "description": "OK",
  6241. "schema": {
  6242. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6243. }
  6244. },
  6245. "500": {
  6246. "description": "Internal Server Error",
  6247. "schema": {
  6248. "$ref": "#/definitions/app.Response"
  6249. }
  6250. }
  6251. }
  6252. }
  6253. },
  6254. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6255. "get": {
  6256. "security": [
  6257. {
  6258. "ApiKeyAuth": []
  6259. }
  6260. ],
  6261. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6262. "produces": [
  6263. "application/json"
  6264. ],
  6265. "tags": [
  6266. "定制【海商报业】"
  6267. ],
  6268. "summary": "查询游客特卖商品列表(三级商城)",
  6269. "parameters": [
  6270. {
  6271. "type": "integer",
  6272. "description": "页码",
  6273. "name": "page",
  6274. "in": "query"
  6275. },
  6276. {
  6277. "type": "integer",
  6278. "description": "每页条数",
  6279. "name": "pagesize",
  6280. "in": "query"
  6281. },
  6282. {
  6283. "type": "string",
  6284. "description": "市场ID列表,格式:1,2,3",
  6285. "name": "marketIDs",
  6286. "in": "query",
  6287. "required": true
  6288. },
  6289. {
  6290. "type": "integer",
  6291. "description": "类别ID",
  6292. "name": "categoryID",
  6293. "in": "query"
  6294. },
  6295. {
  6296. "type": "string",
  6297. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6298. "name": "goodsIDs",
  6299. "in": "query"
  6300. }
  6301. ],
  6302. "responses": {
  6303. "200": {
  6304. "description": "OK",
  6305. "schema": {
  6306. "$ref": "#/definitions/models.HsbyMarketGoods"
  6307. }
  6308. },
  6309. "500": {
  6310. "description": "Internal Server Error",
  6311. "schema": {
  6312. "$ref": "#/definitions/app.Response"
  6313. }
  6314. }
  6315. }
  6316. }
  6317. },
  6318. "/HSBY/QueryMyCollectionOrders": {
  6319. "get": {
  6320. "security": [
  6321. {
  6322. "ApiKeyAuth": []
  6323. }
  6324. ],
  6325. "produces": [
  6326. "application/json"
  6327. ],
  6328. "tags": [
  6329. "定制【海商报业】"
  6330. ],
  6331. "summary": "我的闲置中收款信息查询",
  6332. "parameters": [
  6333. {
  6334. "type": "integer",
  6335. "description": "页码",
  6336. "name": "page",
  6337. "in": "query"
  6338. },
  6339. {
  6340. "type": "integer",
  6341. "description": "每页条数",
  6342. "name": "pagesize",
  6343. "in": "query"
  6344. },
  6345. {
  6346. "type": "string",
  6347. "description": "资金账户,格式:1,2,3",
  6348. "name": "accountIDs",
  6349. "in": "query",
  6350. "required": true
  6351. }
  6352. ],
  6353. "responses": {
  6354. "200": {
  6355. "description": "OK",
  6356. "schema": {
  6357. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6358. }
  6359. },
  6360. "500": {
  6361. "description": "Internal Server Error",
  6362. "schema": {
  6363. "$ref": "#/definitions/app.Response"
  6364. }
  6365. }
  6366. }
  6367. }
  6368. },
  6369. "/HSBY/QueryMyCouponHolds": {
  6370. "get": {
  6371. "security": [
  6372. {
  6373. "ApiKeyAuth": []
  6374. }
  6375. ],
  6376. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6377. "produces": [
  6378. "application/json"
  6379. ],
  6380. "tags": [
  6381. "定制【海商报业】"
  6382. ],
  6383. "summary": "我的优惠卷持仓查询",
  6384. "parameters": [
  6385. {
  6386. "type": "string",
  6387. "description": "资金账户列表,格式:1,2,3",
  6388. "name": "accountIDs",
  6389. "in": "query",
  6390. "required": true
  6391. },
  6392. {
  6393. "type": "string",
  6394. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6395. "name": "holdStatus",
  6396. "in": "query"
  6397. }
  6398. ],
  6399. "responses": {
  6400. "200": {
  6401. "description": "OK",
  6402. "schema": {
  6403. "$ref": "#/definitions/models.MyCouponHold"
  6404. }
  6405. },
  6406. "500": {
  6407. "description": "Internal Server Error",
  6408. "schema": {
  6409. "$ref": "#/definitions/app.Response"
  6410. }
  6411. }
  6412. }
  6413. }
  6414. },
  6415. "/HSBY/QueryMyCoupons": {
  6416. "get": {
  6417. "security": [
  6418. {
  6419. "ApiKeyAuth": []
  6420. }
  6421. ],
  6422. "produces": [
  6423. "application/json"
  6424. ],
  6425. "tags": [
  6426. "定制【海商报业】"
  6427. ],
  6428. "summary": "我的优惠卷查询",
  6429. "parameters": [
  6430. {
  6431. "type": "string",
  6432. "description": "资金账户列表,格式:1,2,3",
  6433. "name": "accountIDs",
  6434. "in": "query",
  6435. "required": true
  6436. },
  6437. {
  6438. "type": "integer",
  6439. "description": "商品ID, 一般与sellUserID配套传入",
  6440. "name": "goodsID",
  6441. "in": "query"
  6442. },
  6443. {
  6444. "type": "integer",
  6445. "description": "卖方UserID",
  6446. "name": "sellUserID",
  6447. "in": "query"
  6448. }
  6449. ],
  6450. "responses": {
  6451. "200": {
  6452. "description": "OK",
  6453. "schema": {
  6454. "$ref": "#/definitions/models.MyCoupon"
  6455. }
  6456. },
  6457. "500": {
  6458. "description": "Internal Server Error",
  6459. "schema": {
  6460. "$ref": "#/definitions/app.Response"
  6461. }
  6462. }
  6463. }
  6464. }
  6465. },
  6466. "/HSBY/QueryMyPayOrders": {
  6467. "get": {
  6468. "security": [
  6469. {
  6470. "ApiKeyAuth": []
  6471. }
  6472. ],
  6473. "produces": [
  6474. "application/json"
  6475. ],
  6476. "tags": [
  6477. "定制【海商报业】"
  6478. ],
  6479. "summary": "获取我的订单中待付款信息",
  6480. "parameters": [
  6481. {
  6482. "type": "integer",
  6483. "description": "页码",
  6484. "name": "page",
  6485. "in": "query"
  6486. },
  6487. {
  6488. "type": "integer",
  6489. "description": "每页条数",
  6490. "name": "pagesize",
  6491. "in": "query"
  6492. },
  6493. {
  6494. "type": "string",
  6495. "description": "资金账户列表,格式:1,2,3",
  6496. "name": "accountIDs",
  6497. "in": "query",
  6498. "required": true
  6499. },
  6500. {
  6501. "type": "integer",
  6502. "description": "买方委托单号",
  6503. "name": "buyOrderID",
  6504. "in": "query"
  6505. },
  6506. {
  6507. "type": "integer",
  6508. "description": "卖方委托单号",
  6509. "name": "sellOrderID",
  6510. "in": "query"
  6511. }
  6512. ],
  6513. "responses": {
  6514. "200": {
  6515. "description": "OK",
  6516. "schema": {
  6517. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6518. }
  6519. },
  6520. "500": {
  6521. "description": "Internal Server Error",
  6522. "schema": {
  6523. "$ref": "#/definitions/app.Response"
  6524. }
  6525. }
  6526. }
  6527. }
  6528. },
  6529. "/HSBY/QueryMyUsedCoupon": {
  6530. "get": {
  6531. "security": [
  6532. {
  6533. "ApiKeyAuth": []
  6534. }
  6535. ],
  6536. "produces": [
  6537. "application/json"
  6538. ],
  6539. "tags": [
  6540. "定制【海商报业】"
  6541. ],
  6542. "summary": "已使用优惠卷查询",
  6543. "parameters": [
  6544. {
  6545. "type": "string",
  6546. "description": "资金账户列表,格式:1,2,3",
  6547. "name": "accountIDs",
  6548. "in": "query",
  6549. "required": true
  6550. }
  6551. ],
  6552. "responses": {
  6553. "200": {
  6554. "description": "OK",
  6555. "schema": {
  6556. "$ref": "#/definitions/models.MyUsedCoupon"
  6557. }
  6558. },
  6559. "500": {
  6560. "description": "Internal Server Error",
  6561. "schema": {
  6562. "$ref": "#/definitions/app.Response"
  6563. }
  6564. }
  6565. }
  6566. }
  6567. },
  6568. "/HSBY/QueryProvincesAndCities": {
  6569. "get": {
  6570. "security": [
  6571. {
  6572. "ApiKeyAuth": []
  6573. }
  6574. ],
  6575. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6576. "produces": [
  6577. "application/json"
  6578. ],
  6579. "tags": [
  6580. "定制【海商报业】"
  6581. ],
  6582. "summary": "查询省市信息(不包括区)",
  6583. "parameters": [
  6584. {
  6585. "type": "integer",
  6586. "description": "省ID",
  6587. "name": "provinceID",
  6588. "in": "query"
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6596. }
  6597. },
  6598. "500": {
  6599. "description": "Internal Server Error",
  6600. "schema": {
  6601. "$ref": "#/definitions/app.Response"
  6602. }
  6603. }
  6604. }
  6605. }
  6606. },
  6607. "/HSBY/SetHsbyMyPackagesStatus": {
  6608. "post": {
  6609. "security": [
  6610. {
  6611. "ApiKeyAuth": []
  6612. }
  6613. ],
  6614. "produces": [
  6615. "application/json"
  6616. ],
  6617. "tags": [
  6618. "定制【海商报业】"
  6619. ],
  6620. "summary": "设置我的包裹已收货状态",
  6621. "parameters": [
  6622. {
  6623. "type": "string",
  6624. "description": "提货单号",
  6625. "name": "takeOrderID",
  6626. "in": "query",
  6627. "required": true
  6628. },
  6629. {
  6630. "type": "integer",
  6631. "description": "资金账号",
  6632. "name": "accountID",
  6633. "in": "query",
  6634. "required": true
  6635. }
  6636. ],
  6637. "responses": {
  6638. "200": {
  6639. "description": "OK",
  6640. "schema": {
  6641. "$ref": "#/definitions/app.Response"
  6642. }
  6643. },
  6644. "500": {
  6645. "description": "Internal Server Error",
  6646. "schema": {
  6647. "$ref": "#/definitions/app.Response"
  6648. }
  6649. }
  6650. }
  6651. }
  6652. },
  6653. "/Market/GetAllExExchanges": {
  6654. "get": {
  6655. "security": [
  6656. {
  6657. "ApiKeyAuth": []
  6658. }
  6659. ],
  6660. "produces": [
  6661. "application/json"
  6662. ],
  6663. "tags": [
  6664. "通用市场"
  6665. ],
  6666. "summary": "获取所有外部交易所信息",
  6667. "responses": {
  6668. "200": {
  6669. "description": "OK",
  6670. "schema": {
  6671. "$ref": "#/definitions/models.Goods"
  6672. }
  6673. },
  6674. "500": {
  6675. "description": "Internal Server Error",
  6676. "schema": {
  6677. "$ref": "#/definitions/app.Response"
  6678. }
  6679. }
  6680. }
  6681. }
  6682. },
  6683. "/Market/QueryGoodsesByLoginID": {
  6684. "get": {
  6685. "security": [
  6686. {
  6687. "ApiKeyAuth": []
  6688. }
  6689. ],
  6690. "produces": [
  6691. "application/json"
  6692. ],
  6693. "tags": [
  6694. "通用市场"
  6695. ],
  6696. "summary": "获取登录账号有权限的商品信息",
  6697. "parameters": [
  6698. {
  6699. "type": "integer",
  6700. "description": "登录账号",
  6701. "name": "loginID",
  6702. "in": "query",
  6703. "required": true
  6704. },
  6705. {
  6706. "type": "string",
  6707. "description": "市场ID列表,格式:1,2,3",
  6708. "name": "marketIDs",
  6709. "in": "query"
  6710. }
  6711. ],
  6712. "responses": {
  6713. "200": {
  6714. "description": "OK",
  6715. "schema": {
  6716. "$ref": "#/definitions/models.Goods"
  6717. }
  6718. },
  6719. "500": {
  6720. "description": "Internal Server Error",
  6721. "schema": {
  6722. "$ref": "#/definitions/app.Response"
  6723. }
  6724. }
  6725. }
  6726. }
  6727. },
  6728. "/Market/QueryMarketRun": {
  6729. "get": {
  6730. "security": [
  6731. {
  6732. "ApiKeyAuth": []
  6733. }
  6734. ],
  6735. "produces": [
  6736. "application/json"
  6737. ],
  6738. "tags": [
  6739. "通用市场"
  6740. ],
  6741. "summary": "查询市场运行信息",
  6742. "parameters": [
  6743. {
  6744. "type": "integer",
  6745. "description": "市场ID,不传返回所有",
  6746. "name": "marketID",
  6747. "in": "query"
  6748. }
  6749. ],
  6750. "responses": {
  6751. "200": {
  6752. "description": "OK",
  6753. "schema": {
  6754. "$ref": "#/definitions/models.Marketrun"
  6755. }
  6756. },
  6757. "500": {
  6758. "description": "Internal Server Error",
  6759. "schema": {
  6760. "$ref": "#/definitions/app.Response"
  6761. }
  6762. }
  6763. }
  6764. }
  6765. },
  6766. "/Market/QueryMarketsByLoginID": {
  6767. "get": {
  6768. "security": [
  6769. {
  6770. "ApiKeyAuth": []
  6771. }
  6772. ],
  6773. "produces": [
  6774. "application/json"
  6775. ],
  6776. "tags": [
  6777. "通用市场"
  6778. ],
  6779. "summary": "获取登录账号有权限的市场信息",
  6780. "parameters": [
  6781. {
  6782. "type": "integer",
  6783. "description": "登录账号",
  6784. "name": "loginID",
  6785. "in": "query",
  6786. "required": true
  6787. }
  6788. ],
  6789. "responses": {
  6790. "200": {
  6791. "description": "OK",
  6792. "schema": {
  6793. "$ref": "#/definitions/models.Market"
  6794. }
  6795. },
  6796. "500": {
  6797. "description": "Internal Server Error",
  6798. "schema": {
  6799. "$ref": "#/definitions/app.Response"
  6800. }
  6801. }
  6802. }
  6803. }
  6804. },
  6805. "/Order/QueryHisTradeDetail": {
  6806. "get": {
  6807. "security": [
  6808. {
  6809. "ApiKeyAuth": []
  6810. }
  6811. ],
  6812. "produces": [
  6813. "application/json"
  6814. ],
  6815. "tags": [
  6816. "通用单据"
  6817. ],
  6818. "summary": "历史成交单查询(合约市场)",
  6819. "parameters": [
  6820. {
  6821. "type": "string",
  6822. "description": "资金账户 - 格式:1,2,3",
  6823. "name": "accountID",
  6824. "in": "query",
  6825. "required": true
  6826. },
  6827. {
  6828. "type": "integer",
  6829. "description": "成交单号",
  6830. "name": "tradeID",
  6831. "in": "query"
  6832. },
  6833. {
  6834. "type": "integer",
  6835. "description": "委托单号",
  6836. "name": "orderID",
  6837. "in": "query"
  6838. },
  6839. {
  6840. "type": "integer",
  6841. "description": "商品ID",
  6842. "name": "goodsID",
  6843. "in": "query"
  6844. },
  6845. {
  6846. "type": "string",
  6847. "description": "交易模式 - 格式:1,2,3",
  6848. "name": "tradeMode",
  6849. "in": "query"
  6850. },
  6851. {
  6852. "type": "integer",
  6853. "description": "委托单据类型",
  6854. "name": "buildType",
  6855. "in": "query"
  6856. },
  6857. {
  6858. "type": "string",
  6859. "description": "成交类别 - 格式:1,2,3",
  6860. "name": "tradeType",
  6861. "in": "query"
  6862. },
  6863. {
  6864. "type": "string",
  6865. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6866. "name": "startDate",
  6867. "in": "query"
  6868. },
  6869. {
  6870. "type": "string",
  6871. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6872. "name": "endDate",
  6873. "in": "query"
  6874. }
  6875. ],
  6876. "responses": {
  6877. "200": {
  6878. "description": "OK",
  6879. "schema": {
  6880. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6881. }
  6882. },
  6883. "500": {
  6884. "description": "Internal Server Error",
  6885. "schema": {
  6886. "$ref": "#/definitions/app.Response"
  6887. }
  6888. }
  6889. }
  6890. }
  6891. },
  6892. "/Order/QueryHisTradeOrderDetail": {
  6893. "get": {
  6894. "security": [
  6895. {
  6896. "ApiKeyAuth": []
  6897. }
  6898. ],
  6899. "produces": [
  6900. "application/json"
  6901. ],
  6902. "tags": [
  6903. "通用单据"
  6904. ],
  6905. "summary": "历史委托单查询请求(合约市场)",
  6906. "parameters": [
  6907. {
  6908. "type": "string",
  6909. "description": "资金账户 - 格式:1,2,3",
  6910. "name": "accountID",
  6911. "in": "query",
  6912. "required": true
  6913. },
  6914. {
  6915. "type": "string",
  6916. "description": "交易模式 - 格式:1,2,3",
  6917. "name": "tradeMode",
  6918. "in": "query"
  6919. },
  6920. {
  6921. "type": "string",
  6922. "description": "委托状态 - 格式:1,2,3",
  6923. "name": "orderStatus",
  6924. "in": "query"
  6925. },
  6926. {
  6927. "type": "integer",
  6928. "description": "委托单号",
  6929. "name": "orderID",
  6930. "in": "query"
  6931. },
  6932. {
  6933. "type": "string",
  6934. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6935. "name": "startDate",
  6936. "in": "query"
  6937. },
  6938. {
  6939. "type": "string",
  6940. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6941. "name": "endDate",
  6942. "in": "query"
  6943. }
  6944. ],
  6945. "responses": {
  6946. "200": {
  6947. "description": "OK",
  6948. "schema": {
  6949. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6950. }
  6951. },
  6952. "500": {
  6953. "description": "Internal Server Error",
  6954. "schema": {
  6955. "$ref": "#/definitions/app.Response"
  6956. }
  6957. }
  6958. }
  6959. }
  6960. },
  6961. "/Order/QueryTradeDetail": {
  6962. "get": {
  6963. "security": [
  6964. {
  6965. "ApiKeyAuth": []
  6966. }
  6967. ],
  6968. "produces": [
  6969. "application/json"
  6970. ],
  6971. "tags": [
  6972. "通用单据"
  6973. ],
  6974. "summary": "成交单查询(合约市场)",
  6975. "parameters": [
  6976. {
  6977. "type": "string",
  6978. "description": "资金账户 - 格式:1,2,3",
  6979. "name": "accountID",
  6980. "in": "query",
  6981. "required": true
  6982. },
  6983. {
  6984. "type": "integer",
  6985. "description": "成交单号",
  6986. "name": "tradeID",
  6987. "in": "query"
  6988. },
  6989. {
  6990. "type": "integer",
  6991. "description": "委托单号",
  6992. "name": "orderID",
  6993. "in": "query"
  6994. },
  6995. {
  6996. "type": "string",
  6997. "description": "交易模式 - 格式:1,2,3",
  6998. "name": "tradeMode",
  6999. "in": "query"
  7000. },
  7001. {
  7002. "type": "integer",
  7003. "description": "委托单据类型",
  7004. "name": "buildType",
  7005. "in": "query"
  7006. },
  7007. {
  7008. "type": "string",
  7009. "description": "成交类别 - 格式:1,2,3",
  7010. "name": "tradeType",
  7011. "in": "query"
  7012. },
  7013. {
  7014. "type": "integer",
  7015. "description": "商品ID",
  7016. "name": "goodsID",
  7017. "in": "query"
  7018. }
  7019. ],
  7020. "responses": {
  7021. "200": {
  7022. "description": "OK",
  7023. "schema": {
  7024. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7025. }
  7026. },
  7027. "500": {
  7028. "description": "Internal Server Error",
  7029. "schema": {
  7030. "$ref": "#/definitions/app.Response"
  7031. }
  7032. }
  7033. }
  7034. }
  7035. },
  7036. "/Order/QueryTradeOrderDetail": {
  7037. "get": {
  7038. "security": [
  7039. {
  7040. "ApiKeyAuth": []
  7041. }
  7042. ],
  7043. "produces": [
  7044. "application/json"
  7045. ],
  7046. "tags": [
  7047. "通用单据"
  7048. ],
  7049. "summary": "委托单查询请求(合约市场)",
  7050. "parameters": [
  7051. {
  7052. "type": "string",
  7053. "description": "资金账户 - 格式:1,2,3",
  7054. "name": "accountID",
  7055. "in": "query",
  7056. "required": true
  7057. },
  7058. {
  7059. "type": "string",
  7060. "description": "交易模式 - 格式:1,2,3",
  7061. "name": "tradeMode",
  7062. "in": "query"
  7063. },
  7064. {
  7065. "type": "string",
  7066. "description": "委托状态 - 格式:1,2,3",
  7067. "name": "orderStatus",
  7068. "in": "query"
  7069. },
  7070. {
  7071. "type": "integer",
  7072. "description": "委托单号",
  7073. "name": "orderID",
  7074. "in": "query"
  7075. }
  7076. ],
  7077. "responses": {
  7078. "200": {
  7079. "description": "OK",
  7080. "schema": {
  7081. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7082. }
  7083. },
  7084. "500": {
  7085. "description": "Internal Server Error",
  7086. "schema": {
  7087. "$ref": "#/definitions/app.Response"
  7088. }
  7089. }
  7090. }
  7091. }
  7092. },
  7093. "/Order/QueryTradePosition": {
  7094. "get": {
  7095. "security": [
  7096. {
  7097. "ApiKeyAuth": []
  7098. }
  7099. ],
  7100. "produces": [
  7101. "application/json"
  7102. ],
  7103. "tags": [
  7104. "通用单据"
  7105. ],
  7106. "summary": "持仓汇总查询(合约市场)",
  7107. "parameters": [
  7108. {
  7109. "type": "string",
  7110. "description": "资金账户 - 格式:1,2,3",
  7111. "name": "accountID",
  7112. "in": "query",
  7113. "required": true
  7114. },
  7115. {
  7116. "type": "string",
  7117. "description": "交易模式 - 格式:1,2,3",
  7118. "name": "tradeMode",
  7119. "in": "query"
  7120. }
  7121. ],
  7122. "responses": {
  7123. "200": {
  7124. "description": "OK",
  7125. "schema": {
  7126. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7127. }
  7128. },
  7129. "500": {
  7130. "description": "Internal Server Error",
  7131. "schema": {
  7132. "$ref": "#/definitions/app.Response"
  7133. }
  7134. }
  7135. }
  7136. }
  7137. },
  7138. "/Qhj/QueryAccountInOutApply": {
  7139. "get": {
  7140. "security": [
  7141. {
  7142. "ApiKeyAuth": []
  7143. }
  7144. ],
  7145. "produces": [
  7146. "application/json"
  7147. ],
  7148. "tags": [
  7149. "大连千海金"
  7150. ],
  7151. "summary": "查询充值提现",
  7152. "parameters": [
  7153. {
  7154. "type": "integer",
  7155. "description": "用户ID",
  7156. "name": "userid",
  7157. "in": "query",
  7158. "required": true
  7159. },
  7160. {
  7161. "type": "string",
  7162. "description": "申请起始日期(格式yyyymmdd)",
  7163. "name": "begindate",
  7164. "in": "query"
  7165. },
  7166. {
  7167. "type": "string",
  7168. "description": "申请截止日期(格式yyyymmdd)",
  7169. "name": "enddate",
  7170. "in": "query"
  7171. },
  7172. {
  7173. "type": "string",
  7174. "description": "模糊搜索名称",
  7175. "name": "likename",
  7176. "in": "query"
  7177. }
  7178. ],
  7179. "responses": {
  7180. "200": {
  7181. "description": "OK",
  7182. "schema": {
  7183. "type": "array",
  7184. "items": {
  7185. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7186. }
  7187. }
  7188. },
  7189. "500": {
  7190. "description": "Internal Server Error",
  7191. "schema": {
  7192. "$ref": "#/definitions/app.Response"
  7193. }
  7194. }
  7195. }
  7196. }
  7197. },
  7198. "/Qhj/QueryAreaFinanceConfig": {
  7199. "get": {
  7200. "security": [
  7201. {
  7202. "ApiKeyAuth": []
  7203. }
  7204. ],
  7205. "produces": [
  7206. "application/json"
  7207. ],
  7208. "tags": [
  7209. "大连千海金"
  7210. ],
  7211. "summary": "查询企业配置表",
  7212. "parameters": [
  7213. {
  7214. "type": "integer",
  7215. "description": "机构用户ID 其他做市关系,都设置为 1",
  7216. "name": "userid",
  7217. "in": "query"
  7218. }
  7219. ],
  7220. "responses": {
  7221. "200": {
  7222. "description": "OK",
  7223. "schema": {
  7224. "type": "array",
  7225. "items": {
  7226. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7227. }
  7228. }
  7229. },
  7230. "500": {
  7231. "description": "Internal Server Error",
  7232. "schema": {
  7233. "$ref": "#/definitions/app.Response"
  7234. }
  7235. }
  7236. }
  7237. }
  7238. },
  7239. "/Qhj/QueryBankAccountSign": {
  7240. "get": {
  7241. "security": [
  7242. {
  7243. "ApiKeyAuth": []
  7244. }
  7245. ],
  7246. "produces": [
  7247. "application/json"
  7248. ],
  7249. "tags": [
  7250. "大连千海金"
  7251. ],
  7252. "summary": "查询签约银行信息(提现账户管理)",
  7253. "parameters": [
  7254. {
  7255. "type": "integer",
  7256. "description": "用户ID",
  7257. "name": "userid",
  7258. "in": "query",
  7259. "required": true
  7260. }
  7261. ],
  7262. "responses": {
  7263. "200": {
  7264. "description": "OK",
  7265. "schema": {
  7266. "type": "array",
  7267. "items": {
  7268. "$ref": "#/definitions/models.QhjBankAccountSign"
  7269. }
  7270. }
  7271. },
  7272. "500": {
  7273. "description": "Internal Server Error",
  7274. "schema": {
  7275. "$ref": "#/definitions/app.Response"
  7276. }
  7277. }
  7278. }
  7279. }
  7280. },
  7281. "/Qhj/QueryBankInfo": {
  7282. "get": {
  7283. "security": [
  7284. {
  7285. "ApiKeyAuth": []
  7286. }
  7287. ],
  7288. "produces": [
  7289. "application/json"
  7290. ],
  7291. "tags": [
  7292. "大连千海金"
  7293. ],
  7294. "summary": "查询开户行",
  7295. "responses": {
  7296. "200": {
  7297. "description": "OK",
  7298. "schema": {
  7299. "type": "array",
  7300. "items": {
  7301. "$ref": "#/definitions/models.QhjBankInfo"
  7302. }
  7303. }
  7304. },
  7305. "500": {
  7306. "description": "Internal Server Error",
  7307. "schema": {
  7308. "$ref": "#/definitions/app.Response"
  7309. }
  7310. }
  7311. }
  7312. }
  7313. },
  7314. "/Qhj/QueryBrokerApply": {
  7315. "get": {
  7316. "security": [
  7317. {
  7318. "ApiKeyAuth": []
  7319. }
  7320. ],
  7321. "produces": [
  7322. "application/json"
  7323. ],
  7324. "tags": [
  7325. "大连千海金"
  7326. ],
  7327. "summary": "查询经纪人申请",
  7328. "parameters": [
  7329. {
  7330. "type": "integer",
  7331. "description": "所属机构ID",
  7332. "name": "userid",
  7333. "in": "query"
  7334. },
  7335. {
  7336. "type": "string",
  7337. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7338. "name": "filterstatus",
  7339. "in": "query"
  7340. }
  7341. ],
  7342. "responses": {
  7343. "200": {
  7344. "description": "OK",
  7345. "schema": {
  7346. "type": "array",
  7347. "items": {
  7348. "$ref": "#/definitions/models.QhjBrokerApply"
  7349. }
  7350. }
  7351. },
  7352. "500": {
  7353. "description": "Internal Server Error",
  7354. "schema": {
  7355. "$ref": "#/definitions/app.Response"
  7356. }
  7357. }
  7358. }
  7359. }
  7360. },
  7361. "/Qhj/QueryBrokerApplyEx": {
  7362. "get": {
  7363. "security": [
  7364. {
  7365. "ApiKeyAuth": []
  7366. }
  7367. ],
  7368. "produces": [
  7369. "application/json"
  7370. ],
  7371. "tags": [
  7372. "大连千海金"
  7373. ],
  7374. "summary": "查询经纪人信息和申请记录",
  7375. "parameters": [
  7376. {
  7377. "type": "integer",
  7378. "description": "所属机构ID",
  7379. "name": "userid",
  7380. "in": "query"
  7381. }
  7382. ],
  7383. "responses": {
  7384. "200": {
  7385. "description": "OK",
  7386. "schema": {
  7387. "type": "array",
  7388. "items": {
  7389. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7390. }
  7391. }
  7392. },
  7393. "500": {
  7394. "description": "Internal Server Error",
  7395. "schema": {
  7396. "$ref": "#/definitions/app.Response"
  7397. }
  7398. }
  7399. }
  7400. }
  7401. },
  7402. "/Qhj/QueryBrokerRewardLog": {
  7403. "get": {
  7404. "security": [
  7405. {
  7406. "ApiKeyAuth": []
  7407. }
  7408. ],
  7409. "produces": [
  7410. "application/json"
  7411. ],
  7412. "tags": [
  7413. "大连千海金"
  7414. ],
  7415. "summary": "查询奖励流水(我的奖励)",
  7416. "parameters": [
  7417. {
  7418. "type": "integer",
  7419. "description": "用户ID",
  7420. "name": "userid",
  7421. "in": "query",
  7422. "required": true
  7423. },
  7424. {
  7425. "type": "string",
  7426. "description": "开始交易日(yyyymmdd)",
  7427. "name": "begindate",
  7428. "in": "query"
  7429. },
  7430. {
  7431. "type": "string",
  7432. "description": "结束交易日(yyyymmdd)",
  7433. "name": "enddate",
  7434. "in": "query"
  7435. }
  7436. ],
  7437. "responses": {
  7438. "200": {
  7439. "description": "OK",
  7440. "schema": {
  7441. "type": "array",
  7442. "items": {
  7443. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7444. }
  7445. }
  7446. },
  7447. "500": {
  7448. "description": "Internal Server Error",
  7449. "schema": {
  7450. "$ref": "#/definitions/app.Response"
  7451. }
  7452. }
  7453. }
  7454. }
  7455. },
  7456. "/Qhj/QueryContract": {
  7457. "get": {
  7458. "security": [
  7459. {
  7460. "ApiKeyAuth": []
  7461. }
  7462. ],
  7463. "produces": [
  7464. "application/json"
  7465. ],
  7466. "tags": [
  7467. "大连千海金"
  7468. ],
  7469. "summary": "查询融资明细(合同)",
  7470. "parameters": [
  7471. {
  7472. "type": "integer",
  7473. "description": "用户ID",
  7474. "name": "userid",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "integer",
  7479. "description": "scf合同id",
  7480. "name": "scfcontractid",
  7481. "in": "query"
  7482. }
  7483. ],
  7484. "responses": {
  7485. "200": {
  7486. "description": "OK",
  7487. "schema": {
  7488. "type": "array",
  7489. "items": {
  7490. "$ref": "#/definitions/models.QhjContract"
  7491. }
  7492. }
  7493. },
  7494. "500": {
  7495. "description": "Internal Server Error",
  7496. "schema": {
  7497. "$ref": "#/definitions/app.Response"
  7498. }
  7499. }
  7500. }
  7501. }
  7502. },
  7503. "/Qhj/QueryContractLog": {
  7504. "get": {
  7505. "security": [
  7506. {
  7507. "ApiKeyAuth": []
  7508. }
  7509. ],
  7510. "produces": [
  7511. "application/json"
  7512. ],
  7513. "tags": [
  7514. "大连千海金"
  7515. ],
  7516. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7517. "parameters": [
  7518. {
  7519. "type": "integer",
  7520. "description": "scf合同id",
  7521. "name": "scfcontractid",
  7522. "in": "query",
  7523. "required": true
  7524. },
  7525. {
  7526. "type": "string",
  7527. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7528. "name": "amounttype",
  7529. "in": "query"
  7530. }
  7531. ],
  7532. "responses": {
  7533. "200": {
  7534. "description": "OK",
  7535. "schema": {
  7536. "type": "array",
  7537. "items": {
  7538. "$ref": "#/definitions/models.QhjContractLog"
  7539. }
  7540. }
  7541. },
  7542. "500": {
  7543. "description": "Internal Server Error",
  7544. "schema": {
  7545. "$ref": "#/definitions/app.Response"
  7546. }
  7547. }
  7548. }
  7549. }
  7550. },
  7551. "/Qhj/QueryCusBankSignBank": {
  7552. "get": {
  7553. "security": [
  7554. {
  7555. "ApiKeyAuth": []
  7556. }
  7557. ],
  7558. "produces": [
  7559. "application/json"
  7560. ],
  7561. "tags": [
  7562. "大连千海金"
  7563. ],
  7564. "summary": "查询托管银行",
  7565. "responses": {
  7566. "200": {
  7567. "description": "OK",
  7568. "schema": {
  7569. "type": "array",
  7570. "items": {
  7571. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7572. }
  7573. }
  7574. },
  7575. "500": {
  7576. "description": "Internal Server Error",
  7577. "schema": {
  7578. "$ref": "#/definitions/app.Response"
  7579. }
  7580. }
  7581. }
  7582. }
  7583. },
  7584. "/Qhj/QueryCustomerInfo": {
  7585. "get": {
  7586. "security": [
  7587. {
  7588. "ApiKeyAuth": []
  7589. }
  7590. ],
  7591. "produces": [
  7592. "application/json"
  7593. ],
  7594. "tags": [
  7595. "大连千海金"
  7596. ],
  7597. "summary": "查询客户资料",
  7598. "parameters": [
  7599. {
  7600. "type": "integer",
  7601. "description": "用户ID",
  7602. "name": "userid",
  7603. "in": "query",
  7604. "required": true
  7605. },
  7606. {
  7607. "type": "integer",
  7608. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7609. "name": "querytype",
  7610. "in": "query",
  7611. "required": true
  7612. },
  7613. {
  7614. "type": "integer",
  7615. "description": "客户类型 1-个人 2-企业",
  7616. "name": "userinfotype",
  7617. "in": "query"
  7618. },
  7619. {
  7620. "type": "string",
  7621. "description": "客户名称(模糊匹配)",
  7622. "name": "customername",
  7623. "in": "query"
  7624. },
  7625. {
  7626. "type": "string",
  7627. "description": "昵称(模糊匹配)",
  7628. "name": "nickname",
  7629. "in": "query"
  7630. },
  7631. {
  7632. "type": "integer",
  7633. "description": "是否包含子级 1-包含",
  7634. "name": "includesub",
  7635. "in": "query"
  7636. }
  7637. ],
  7638. "responses": {
  7639. "200": {
  7640. "description": "OK",
  7641. "schema": {
  7642. "type": "array",
  7643. "items": {
  7644. "$ref": "#/definitions/models.QhjCustomer"
  7645. }
  7646. }
  7647. },
  7648. "500": {
  7649. "description": "Internal Server Error",
  7650. "schema": {
  7651. "$ref": "#/definitions/app.Response"
  7652. }
  7653. }
  7654. }
  7655. }
  7656. },
  7657. "/Qhj/QueryGoodsEx": {
  7658. "get": {
  7659. "security": [
  7660. {
  7661. "ApiKeyAuth": []
  7662. }
  7663. ],
  7664. "produces": [
  7665. "application/json"
  7666. ],
  7667. "tags": [
  7668. "大连千海金"
  7669. ],
  7670. "summary": "交易商品扩展表",
  7671. "parameters": [
  7672. {
  7673. "type": "integer",
  7674. "description": "商品id",
  7675. "name": "goodsid",
  7676. "in": "query"
  7677. }
  7678. ],
  7679. "responses": {
  7680. "200": {
  7681. "description": "OK",
  7682. "schema": {
  7683. "type": "array",
  7684. "items": {
  7685. "$ref": "#/definitions/models.Qhjgoodsex"
  7686. }
  7687. }
  7688. },
  7689. "500": {
  7690. "description": "Internal Server Error",
  7691. "schema": {
  7692. "$ref": "#/definitions/app.Response"
  7693. }
  7694. }
  7695. }
  7696. }
  7697. },
  7698. "/Qhj/QueryMyTeam": {
  7699. "get": {
  7700. "security": [
  7701. {
  7702. "ApiKeyAuth": []
  7703. }
  7704. ],
  7705. "produces": [
  7706. "application/json"
  7707. ],
  7708. "tags": [
  7709. "大连千海金"
  7710. ],
  7711. "summary": "查询我的团队",
  7712. "parameters": [
  7713. {
  7714. "type": "integer",
  7715. "description": "用户ID",
  7716. "name": "userid",
  7717. "in": "query",
  7718. "required": true
  7719. }
  7720. ],
  7721. "responses": {
  7722. "200": {
  7723. "description": "OK",
  7724. "schema": {
  7725. "type": "array",
  7726. "items": {
  7727. "$ref": "#/definitions/models.QhjMyTeamEx"
  7728. }
  7729. }
  7730. },
  7731. "500": {
  7732. "description": "Internal Server Error",
  7733. "schema": {
  7734. "$ref": "#/definitions/app.Response"
  7735. }
  7736. }
  7737. }
  7738. }
  7739. },
  7740. "/Qhj/QueryMyTeamOrder": {
  7741. "get": {
  7742. "security": [
  7743. {
  7744. "ApiKeyAuth": []
  7745. }
  7746. ],
  7747. "produces": [
  7748. "application/json"
  7749. ],
  7750. "tags": [
  7751. "大连千海金"
  7752. ],
  7753. "summary": "查询团队订单(我的团队/团队订单)",
  7754. "parameters": [
  7755. {
  7756. "type": "integer",
  7757. "description": "页码",
  7758. "name": "page",
  7759. "in": "query"
  7760. },
  7761. {
  7762. "type": "integer",
  7763. "description": "每页条数",
  7764. "name": "pagesize",
  7765. "in": "query"
  7766. },
  7767. {
  7768. "type": "integer",
  7769. "description": "用户ID",
  7770. "name": "userid",
  7771. "in": "query",
  7772. "required": true
  7773. },
  7774. {
  7775. "type": "integer",
  7776. "description": "交易模式",
  7777. "name": "trademode",
  7778. "in": "query"
  7779. },
  7780. {
  7781. "type": "string",
  7782. "description": "名称(模糊搜索账户)",
  7783. "name": "filtername",
  7784. "in": "query"
  7785. }
  7786. ],
  7787. "responses": {
  7788. "200": {
  7789. "description": "OK",
  7790. "schema": {
  7791. "type": "array",
  7792. "items": {
  7793. "$ref": "#/definitions/models.QhjTeamOrder"
  7794. }
  7795. }
  7796. },
  7797. "500": {
  7798. "description": "Internal Server Error",
  7799. "schema": {
  7800. "$ref": "#/definitions/app.Response"
  7801. }
  7802. }
  7803. }
  7804. }
  7805. },
  7806. "/Qhj/QueryParentAreaList": {
  7807. "get": {
  7808. "security": [
  7809. {
  7810. "ApiKeyAuth": []
  7811. }
  7812. ],
  7813. "produces": [
  7814. "application/json"
  7815. ],
  7816. "tags": [
  7817. "大连千海金"
  7818. ],
  7819. "summary": "查询所属机构列表",
  7820. "parameters": [
  7821. {
  7822. "type": "integer",
  7823. "description": "用户ID",
  7824. "name": "userid",
  7825. "in": "query",
  7826. "required": true
  7827. }
  7828. ],
  7829. "responses": {
  7830. "200": {
  7831. "description": "OK",
  7832. "schema": {
  7833. "type": "array",
  7834. "items": {
  7835. "$ref": "#/definitions/models.QhjParentAreaList"
  7836. }
  7837. }
  7838. },
  7839. "500": {
  7840. "description": "Internal Server Error",
  7841. "schema": {
  7842. "$ref": "#/definitions/app.Response"
  7843. }
  7844. }
  7845. }
  7846. }
  7847. },
  7848. "/Qhj/QueryPayOrder": {
  7849. "get": {
  7850. "security": [
  7851. {
  7852. "ApiKeyAuth": []
  7853. }
  7854. ],
  7855. "produces": [
  7856. "application/json"
  7857. ],
  7858. "tags": [
  7859. "大连千海金"
  7860. ],
  7861. "summary": "查询待付款单据",
  7862. "parameters": [
  7863. {
  7864. "type": "integer",
  7865. "description": "资金账号id",
  7866. "name": "accountid",
  7867. "in": "query",
  7868. "required": true
  7869. },
  7870. {
  7871. "type": "integer",
  7872. "description": "成交单号",
  7873. "name": "tradeid",
  7874. "in": "query"
  7875. },
  7876. {
  7877. "type": "string",
  7878. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7879. "name": "payflag",
  7880. "in": "query"
  7881. }
  7882. ],
  7883. "responses": {
  7884. "200": {
  7885. "description": "OK",
  7886. "schema": {
  7887. "type": "array",
  7888. "items": {
  7889. "$ref": "#/definitions/models.QhjPayOrder"
  7890. }
  7891. }
  7892. },
  7893. "500": {
  7894. "description": "Internal Server Error",
  7895. "schema": {
  7896. "$ref": "#/definitions/app.Response"
  7897. }
  7898. }
  7899. }
  7900. }
  7901. },
  7902. "/Qhj/QueryPickArea": {
  7903. "get": {
  7904. "security": [
  7905. {
  7906. "ApiKeyAuth": []
  7907. }
  7908. ],
  7909. "produces": [
  7910. "application/json"
  7911. ],
  7912. "tags": [
  7913. "大连千海金"
  7914. ],
  7915. "summary": "查询提货门店",
  7916. "parameters": [
  7917. {
  7918. "type": "integer",
  7919. "description": "用户ID",
  7920. "name": "userid",
  7921. "in": "query"
  7922. }
  7923. ],
  7924. "responses": {
  7925. "200": {
  7926. "description": "OK",
  7927. "schema": {
  7928. "type": "array",
  7929. "items": {
  7930. "$ref": "#/definitions/models.QhjPickArea"
  7931. }
  7932. }
  7933. },
  7934. "500": {
  7935. "description": "Internal Server Error",
  7936. "schema": {
  7937. "$ref": "#/definitions/app.Response"
  7938. }
  7939. }
  7940. }
  7941. }
  7942. },
  7943. "/Qhj/QueryPickGoods": {
  7944. "get": {
  7945. "security": [
  7946. {
  7947. "ApiKeyAuth": []
  7948. }
  7949. ],
  7950. "produces": [
  7951. "application/json"
  7952. ],
  7953. "tags": [
  7954. "大连千海金"
  7955. ],
  7956. "summary": "查询提货商品",
  7957. "parameters": [
  7958. {
  7959. "type": "integer",
  7960. "description": "交易商品id",
  7961. "name": "goodsid",
  7962. "in": "query",
  7963. "required": true
  7964. },
  7965. {
  7966. "type": "string",
  7967. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7968. "name": "status",
  7969. "in": "query"
  7970. }
  7971. ],
  7972. "responses": {
  7973. "200": {
  7974. "description": "OK",
  7975. "schema": {
  7976. "type": "array",
  7977. "items": {
  7978. "$ref": "#/definitions/models.QhjPickGoods"
  7979. }
  7980. }
  7981. },
  7982. "500": {
  7983. "description": "Internal Server Error",
  7984. "schema": {
  7985. "$ref": "#/definitions/app.Response"
  7986. }
  7987. }
  7988. }
  7989. }
  7990. },
  7991. "/Qhj/QueryRSTriggerLog": {
  7992. "get": {
  7993. "security": [
  7994. {
  7995. "ApiKeyAuth": []
  7996. }
  7997. ],
  7998. "produces": [
  7999. "application/json"
  8000. ],
  8001. "tags": [
  8002. "大连千海金"
  8003. ],
  8004. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8005. "parameters": [
  8006. {
  8007. "type": "integer",
  8008. "description": "用户ID",
  8009. "name": "userid",
  8010. "in": "query"
  8011. },
  8012. {
  8013. "type": "integer",
  8014. "description": "定投策略id",
  8015. "name": "regularlystrategyid",
  8016. "in": "query"
  8017. },
  8018. {
  8019. "type": "integer",
  8020. "description": "商品id",
  8021. "name": "goodsid",
  8022. "in": "query"
  8023. },
  8024. {
  8025. "type": "string",
  8026. "description": "开始交易日(yyyymmdd)",
  8027. "name": "begindate",
  8028. "in": "query"
  8029. },
  8030. {
  8031. "type": "string",
  8032. "description": "结束交易日(yyyymmdd)",
  8033. "name": "enddate",
  8034. "in": "query"
  8035. },
  8036. {
  8037. "type": "string",
  8038. "description": "名称(模糊搜索账户)",
  8039. "name": "filtername",
  8040. "in": "query"
  8041. }
  8042. ],
  8043. "responses": {
  8044. "200": {
  8045. "description": "OK",
  8046. "schema": {
  8047. "type": "array",
  8048. "items": {
  8049. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8050. }
  8051. }
  8052. },
  8053. "500": {
  8054. "description": "Internal Server Error",
  8055. "schema": {
  8056. "$ref": "#/definitions/app.Response"
  8057. }
  8058. }
  8059. }
  8060. }
  8061. },
  8062. "/Qhj/QueryRStrategy": {
  8063. "get": {
  8064. "security": [
  8065. {
  8066. "ApiKeyAuth": []
  8067. }
  8068. ],
  8069. "produces": [
  8070. "application/json"
  8071. ],
  8072. "tags": [
  8073. "大连千海金"
  8074. ],
  8075. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8076. "parameters": [
  8077. {
  8078. "type": "integer",
  8079. "description": "用户ID",
  8080. "name": "userid",
  8081. "in": "query"
  8082. },
  8083. {
  8084. "type": "integer",
  8085. "description": "商品id",
  8086. "name": "goodsid",
  8087. "in": "query"
  8088. },
  8089. {
  8090. "type": "string",
  8091. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8092. "name": "status",
  8093. "in": "query"
  8094. },
  8095. {
  8096. "type": "string",
  8097. "description": "名称(模糊搜索账户)",
  8098. "name": "filtername",
  8099. "in": "query"
  8100. }
  8101. ],
  8102. "responses": {
  8103. "200": {
  8104. "description": "OK",
  8105. "schema": {
  8106. "type": "array",
  8107. "items": {
  8108. "$ref": "#/definitions/models.QhjRStrategy"
  8109. }
  8110. }
  8111. },
  8112. "500": {
  8113. "description": "Internal Server Error",
  8114. "schema": {
  8115. "$ref": "#/definitions/app.Response"
  8116. }
  8117. }
  8118. }
  8119. }
  8120. },
  8121. "/Qhj/QueryReckonPriceLog": {
  8122. "get": {
  8123. "security": [
  8124. {
  8125. "ApiKeyAuth": []
  8126. }
  8127. ],
  8128. "produces": [
  8129. "application/json"
  8130. ],
  8131. "tags": [
  8132. "大连千海金"
  8133. ],
  8134. "summary": "查询定投价(结算价)",
  8135. "parameters": [
  8136. {
  8137. "type": "integer",
  8138. "description": "商品ID",
  8139. "name": "goodsid",
  8140. "in": "query"
  8141. },
  8142. {
  8143. "type": "string",
  8144. "description": "交易日 格式(yyyymmdd)",
  8145. "name": "tradedate",
  8146. "in": "query"
  8147. }
  8148. ],
  8149. "responses": {
  8150. "200": {
  8151. "description": "OK",
  8152. "schema": {
  8153. "type": "array",
  8154. "items": {
  8155. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8156. }
  8157. }
  8158. },
  8159. "500": {
  8160. "description": "Internal Server Error",
  8161. "schema": {
  8162. "$ref": "#/definitions/app.Response"
  8163. }
  8164. }
  8165. }
  8166. }
  8167. },
  8168. "/Qhj/QueryScoreLog": {
  8169. "get": {
  8170. "security": [
  8171. {
  8172. "ApiKeyAuth": []
  8173. }
  8174. ],
  8175. "produces": [
  8176. "application/json"
  8177. ],
  8178. "tags": [
  8179. "大连千海金"
  8180. ],
  8181. "summary": "查询积分流水(我的积分)",
  8182. "parameters": [
  8183. {
  8184. "type": "integer",
  8185. "description": "用户ID",
  8186. "name": "userid",
  8187. "in": "query",
  8188. "required": true
  8189. },
  8190. {
  8191. "type": "string",
  8192. "description": "开始交易日(yyyymmdd)",
  8193. "name": "begindate",
  8194. "in": "query"
  8195. },
  8196. {
  8197. "type": "string",
  8198. "description": "结束交易日(yyyymmdd)",
  8199. "name": "enddate",
  8200. "in": "query"
  8201. },
  8202. {
  8203. "type": "integer",
  8204. "description": "最近多少条",
  8205. "name": "lastnum",
  8206. "in": "query"
  8207. }
  8208. ],
  8209. "responses": {
  8210. "200": {
  8211. "description": "OK",
  8212. "schema": {
  8213. "type": "array",
  8214. "items": {
  8215. "$ref": "#/definitions/models.QhjScoreLog"
  8216. }
  8217. }
  8218. },
  8219. "500": {
  8220. "description": "Internal Server Error",
  8221. "schema": {
  8222. "$ref": "#/definitions/app.Response"
  8223. }
  8224. }
  8225. }
  8226. }
  8227. },
  8228. "/Qhj/QuerySiteColumnDetail": {
  8229. "get": {
  8230. "security": [
  8231. {
  8232. "ApiKeyAuth": []
  8233. }
  8234. ],
  8235. "produces": [
  8236. "application/json"
  8237. ],
  8238. "tags": [
  8239. "大连千海金"
  8240. ],
  8241. "summary": "查询资讯",
  8242. "parameters": [
  8243. {
  8244. "type": "integer",
  8245. "description": "用户ID",
  8246. "name": "userid",
  8247. "in": "query",
  8248. "required": true
  8249. }
  8250. ],
  8251. "responses": {
  8252. "200": {
  8253. "description": "OK",
  8254. "schema": {
  8255. "type": "array",
  8256. "items": {
  8257. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8258. }
  8259. }
  8260. },
  8261. "500": {
  8262. "description": "Internal Server Error",
  8263. "schema": {
  8264. "$ref": "#/definitions/app.Response"
  8265. }
  8266. }
  8267. }
  8268. }
  8269. },
  8270. "/Qhj/QueryTradeGoodsPickup": {
  8271. "get": {
  8272. "security": [
  8273. {
  8274. "ApiKeyAuth": []
  8275. }
  8276. ],
  8277. "produces": [
  8278. "application/json"
  8279. ],
  8280. "tags": [
  8281. "大连千海金"
  8282. ],
  8283. "summary": "查询提货",
  8284. "parameters": [
  8285. {
  8286. "type": "integer",
  8287. "description": "用户ID",
  8288. "name": "userid",
  8289. "in": "query",
  8290. "required": true
  8291. },
  8292. {
  8293. "type": "integer",
  8294. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8295. "name": "takeorderstatus",
  8296. "in": "query"
  8297. }
  8298. ],
  8299. "responses": {
  8300. "200": {
  8301. "description": "OK",
  8302. "schema": {
  8303. "type": "array",
  8304. "items": {
  8305. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8306. }
  8307. }
  8308. },
  8309. "500": {
  8310. "description": "Internal Server Error",
  8311. "schema": {
  8312. "$ref": "#/definitions/app.Response"
  8313. }
  8314. }
  8315. }
  8316. }
  8317. },
  8318. "/Qhj/QueryUserCollectConfig": {
  8319. "get": {
  8320. "security": [
  8321. {
  8322. "ApiKeyAuth": []
  8323. }
  8324. ],
  8325. "produces": [
  8326. "application/json"
  8327. ],
  8328. "tags": [
  8329. "大连千海金"
  8330. ],
  8331. "summary": "查询提现账户设置",
  8332. "parameters": [
  8333. {
  8334. "type": "integer",
  8335. "description": "用户ID",
  8336. "name": "userid",
  8337. "in": "query",
  8338. "required": true
  8339. }
  8340. ],
  8341. "responses": {
  8342. "200": {
  8343. "description": "OK",
  8344. "schema": {
  8345. "type": "array",
  8346. "items": {
  8347. "$ref": "#/definitions/models.UserCollectConfig"
  8348. }
  8349. }
  8350. },
  8351. "500": {
  8352. "description": "Internal Server Error",
  8353. "schema": {
  8354. "$ref": "#/definitions/app.Response"
  8355. }
  8356. }
  8357. }
  8358. }
  8359. },
  8360. "/Qhj/QueryUserReceiveInfo": {
  8361. "get": {
  8362. "security": [
  8363. {
  8364. "ApiKeyAuth": []
  8365. }
  8366. ],
  8367. "produces": [
  8368. "application/json"
  8369. ],
  8370. "tags": [
  8371. "大连千海金"
  8372. ],
  8373. "summary": "查询收货地址信息",
  8374. "parameters": [
  8375. {
  8376. "type": "integer",
  8377. "description": "用户ID",
  8378. "name": "userid",
  8379. "in": "query",
  8380. "required": true
  8381. }
  8382. ],
  8383. "responses": {
  8384. "200": {
  8385. "description": "OK",
  8386. "schema": {
  8387. "type": "array",
  8388. "items": {
  8389. "$ref": "#/definitions/models.UserReceiveInfo"
  8390. }
  8391. }
  8392. },
  8393. "500": {
  8394. "description": "Internal Server Error",
  8395. "schema": {
  8396. "$ref": "#/definitions/app.Response"
  8397. }
  8398. }
  8399. }
  8400. }
  8401. },
  8402. "/QhjMgr/QueryAccountInOutApply": {
  8403. "get": {
  8404. "security": [
  8405. {
  8406. "ApiKeyAuth": []
  8407. }
  8408. ],
  8409. "produces": [
  8410. "application/json"
  8411. ],
  8412. "tags": [
  8413. "大连千海金(PCWeb)"
  8414. ],
  8415. "summary": "查询充值提现",
  8416. "parameters": [
  8417. {
  8418. "type": "integer",
  8419. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8420. "name": "querytype",
  8421. "in": "query",
  8422. "required": true
  8423. },
  8424. {
  8425. "type": "integer",
  8426. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8427. "name": "applystatus",
  8428. "in": "query"
  8429. },
  8430. {
  8431. "type": "string",
  8432. "description": "申请起始日期(格式yyyymmdd)",
  8433. "name": "begindate",
  8434. "in": "query"
  8435. },
  8436. {
  8437. "type": "string",
  8438. "description": "申请截止日期(格式yyyymmdd)",
  8439. "name": "enddate",
  8440. "in": "query"
  8441. },
  8442. {
  8443. "type": "string",
  8444. "description": "模糊搜索名称",
  8445. "name": "likename",
  8446. "in": "query"
  8447. }
  8448. ],
  8449. "responses": {
  8450. "200": {
  8451. "description": "OK",
  8452. "schema": {
  8453. "type": "array",
  8454. "items": {
  8455. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8456. }
  8457. }
  8458. },
  8459. "500": {
  8460. "description": "Internal Server Error",
  8461. "schema": {
  8462. "$ref": "#/definitions/app.Response"
  8463. }
  8464. }
  8465. }
  8466. }
  8467. },
  8468. "/QhjMgr/QueryBrokerApply": {
  8469. "get": {
  8470. "security": [
  8471. {
  8472. "ApiKeyAuth": []
  8473. }
  8474. ],
  8475. "produces": [
  8476. "application/json"
  8477. ],
  8478. "tags": [
  8479. "大连千海金(PCWeb)"
  8480. ],
  8481. "summary": "查询经纪人申请",
  8482. "parameters": [
  8483. {
  8484. "type": "integer",
  8485. "description": "所属机构ID",
  8486. "name": "userid",
  8487. "in": "query"
  8488. },
  8489. {
  8490. "type": "string",
  8491. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8492. "name": "filterstatus",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "string",
  8497. "description": "名称(模糊匹配)",
  8498. "name": "filtername",
  8499. "in": "query"
  8500. },
  8501. {
  8502. "type": "integer",
  8503. "description": "是否包含子级 1-包含",
  8504. "name": "includesub",
  8505. "in": "query"
  8506. }
  8507. ],
  8508. "responses": {
  8509. "200": {
  8510. "description": "OK",
  8511. "schema": {
  8512. "type": "array",
  8513. "items": {
  8514. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8515. }
  8516. }
  8517. },
  8518. "500": {
  8519. "description": "Internal Server Error",
  8520. "schema": {
  8521. "$ref": "#/definitions/app.Response"
  8522. }
  8523. }
  8524. }
  8525. }
  8526. },
  8527. "/QhjMgr/QueryBrokerRewardReport": {
  8528. "get": {
  8529. "security": [
  8530. {
  8531. "ApiKeyAuth": []
  8532. }
  8533. ],
  8534. "produces": [
  8535. "application/json"
  8536. ],
  8537. "tags": [
  8538. "大连千海金(PCWeb)"
  8539. ],
  8540. "summary": "查询经纪人奖励报表(废弃)",
  8541. "parameters": [
  8542. {
  8543. "type": "integer",
  8544. "description": "所属机构ID",
  8545. "name": "userid",
  8546. "in": "query",
  8547. "required": true
  8548. },
  8549. {
  8550. "type": "integer",
  8551. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8552. "name": "cycletype",
  8553. "in": "query",
  8554. "required": true
  8555. },
  8556. {
  8557. "type": "string",
  8558. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8559. "name": "cycletime",
  8560. "in": "query",
  8561. "required": true
  8562. },
  8563. {
  8564. "type": "string",
  8565. "description": "名称(模糊匹配)",
  8566. "name": "filtername",
  8567. "in": "query"
  8568. },
  8569. {
  8570. "type": "integer",
  8571. "description": "是否包含子级 1-包含",
  8572. "name": "includesub",
  8573. "in": "query"
  8574. }
  8575. ],
  8576. "responses": {
  8577. "200": {
  8578. "description": "OK",
  8579. "schema": {
  8580. "type": "array",
  8581. "items": {
  8582. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8583. }
  8584. }
  8585. },
  8586. "500": {
  8587. "description": "Internal Server Error",
  8588. "schema": {
  8589. "$ref": "#/definitions/app.Response"
  8590. }
  8591. }
  8592. }
  8593. }
  8594. },
  8595. "/QhjMgr/QueryContract": {
  8596. "get": {
  8597. "security": [
  8598. {
  8599. "ApiKeyAuth": []
  8600. }
  8601. ],
  8602. "produces": [
  8603. "application/json"
  8604. ],
  8605. "tags": [
  8606. "大连千海金(PCWeb)"
  8607. ],
  8608. "summary": "查询融资信息(合同)",
  8609. "parameters": [
  8610. {
  8611. "type": "integer",
  8612. "description": "用户ID",
  8613. "name": "userid",
  8614. "in": "query"
  8615. },
  8616. {
  8617. "type": "integer",
  8618. "description": "商品id",
  8619. "name": "goodsid",
  8620. "in": "query"
  8621. },
  8622. {
  8623. "type": "string",
  8624. "description": "名称(模糊搜索账户)",
  8625. "name": "filtername",
  8626. "in": "query"
  8627. },
  8628. {
  8629. "type": "string",
  8630. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8631. "name": "risklevel",
  8632. "in": "query"
  8633. },
  8634. {
  8635. "type": "string",
  8636. "description": "开始交易日(yyyymmdd)",
  8637. "name": "begindate",
  8638. "in": "query"
  8639. },
  8640. {
  8641. "type": "string",
  8642. "description": "结束交易日(yyyymmdd)",
  8643. "name": "enddate",
  8644. "in": "query"
  8645. }
  8646. ],
  8647. "responses": {
  8648. "200": {
  8649. "description": "OK",
  8650. "schema": {
  8651. "type": "array",
  8652. "items": {
  8653. "$ref": "#/definitions/models.QhjMgrContract"
  8654. }
  8655. }
  8656. },
  8657. "500": {
  8658. "description": "Internal Server Error",
  8659. "schema": {
  8660. "$ref": "#/definitions/app.Response"
  8661. }
  8662. }
  8663. }
  8664. }
  8665. },
  8666. "/QhjMgr/QueryCustomerInfo": {
  8667. "get": {
  8668. "security": [
  8669. {
  8670. "ApiKeyAuth": []
  8671. }
  8672. ],
  8673. "produces": [
  8674. "application/json"
  8675. ],
  8676. "tags": [
  8677. "大连千海金(PCWeb)"
  8678. ],
  8679. "summary": "查询客户资料",
  8680. "parameters": [
  8681. {
  8682. "type": "integer",
  8683. "description": "用户ID",
  8684. "name": "userid",
  8685. "in": "query",
  8686. "required": true
  8687. },
  8688. {
  8689. "type": "integer",
  8690. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8691. "name": "querytype",
  8692. "in": "query",
  8693. "required": true
  8694. },
  8695. {
  8696. "type": "integer",
  8697. "description": "客户类型 1-个人 2-企业",
  8698. "name": "userinfotype",
  8699. "in": "query"
  8700. },
  8701. {
  8702. "type": "string",
  8703. "description": "客户名称(模糊匹配)",
  8704. "name": "customername",
  8705. "in": "query"
  8706. },
  8707. {
  8708. "type": "string",
  8709. "description": "昵称(模糊匹配)",
  8710. "name": "nickname",
  8711. "in": "query"
  8712. },
  8713. {
  8714. "type": "integer",
  8715. "description": "是否包含子级 1-包含",
  8716. "name": "includesub",
  8717. "in": "query"
  8718. }
  8719. ],
  8720. "responses": {
  8721. "200": {
  8722. "description": "OK",
  8723. "schema": {
  8724. "type": "array",
  8725. "items": {
  8726. "$ref": "#/definitions/models.QhjMgrCustomer"
  8727. }
  8728. }
  8729. },
  8730. "500": {
  8731. "description": "Internal Server Error",
  8732. "schema": {
  8733. "$ref": "#/definitions/app.Response"
  8734. }
  8735. }
  8736. }
  8737. }
  8738. },
  8739. "/QhjMgr/QueryPickGoods": {
  8740. "get": {
  8741. "security": [
  8742. {
  8743. "ApiKeyAuth": []
  8744. }
  8745. ],
  8746. "produces": [
  8747. "application/json"
  8748. ],
  8749. "tags": [
  8750. "大连千海金(PCWeb)"
  8751. ],
  8752. "summary": "查询提货商品",
  8753. "parameters": [
  8754. {
  8755. "type": "string",
  8756. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8757. "name": "status",
  8758. "in": "query"
  8759. }
  8760. ],
  8761. "responses": {
  8762. "200": {
  8763. "description": "OK",
  8764. "schema": {
  8765. "type": "array",
  8766. "items": {
  8767. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8768. }
  8769. }
  8770. },
  8771. "500": {
  8772. "description": "Internal Server Error",
  8773. "schema": {
  8774. "$ref": "#/definitions/app.Response"
  8775. }
  8776. }
  8777. }
  8778. }
  8779. },
  8780. "/QhjMgr/QuerySubArea": {
  8781. "get": {
  8782. "security": [
  8783. {
  8784. "ApiKeyAuth": []
  8785. }
  8786. ],
  8787. "produces": [
  8788. "application/json"
  8789. ],
  8790. "tags": [
  8791. "大连千海金(PCWeb)"
  8792. ],
  8793. "summary": "查询子机构列表",
  8794. "parameters": [
  8795. {
  8796. "type": "integer",
  8797. "description": "用户ID",
  8798. "name": "userid",
  8799. "in": "query",
  8800. "required": true
  8801. }
  8802. ],
  8803. "responses": {
  8804. "200": {
  8805. "description": "OK",
  8806. "schema": {
  8807. "type": "array",
  8808. "items": {
  8809. "$ref": "#/definitions/models.QhjMgrSubArea"
  8810. }
  8811. }
  8812. },
  8813. "500": {
  8814. "description": "Internal Server Error",
  8815. "schema": {
  8816. "$ref": "#/definitions/app.Response"
  8817. }
  8818. }
  8819. }
  8820. }
  8821. },
  8822. "/QhjMgr/QueryTradeDetail": {
  8823. "get": {
  8824. "security": [
  8825. {
  8826. "ApiKeyAuth": []
  8827. }
  8828. ],
  8829. "produces": [
  8830. "application/json"
  8831. ],
  8832. "tags": [
  8833. "大连千海金(PCWeb)"
  8834. ],
  8835. "summary": "查询成交明细",
  8836. "parameters": [
  8837. {
  8838. "type": "integer",
  8839. "description": "用户ID",
  8840. "name": "userid",
  8841. "in": "query",
  8842. "required": true
  8843. },
  8844. {
  8845. "type": "integer",
  8846. "description": "用户类型 1-个人 2-企业",
  8847. "name": "userinfotype",
  8848. "in": "query"
  8849. },
  8850. {
  8851. "type": "integer",
  8852. "description": "交易模式",
  8853. "name": "trademode",
  8854. "in": "query"
  8855. },
  8856. {
  8857. "type": "integer",
  8858. "description": "商品id",
  8859. "name": "goodsid",
  8860. "in": "query"
  8861. },
  8862. {
  8863. "type": "string",
  8864. "description": "名称(模糊搜索账户)",
  8865. "name": "filtername",
  8866. "in": "query"
  8867. },
  8868. {
  8869. "type": "string",
  8870. "description": "开始交易日(yyyymmdd)",
  8871. "name": "begindate",
  8872. "in": "query"
  8873. },
  8874. {
  8875. "type": "string",
  8876. "description": "结束交易日(yyyymmdd)",
  8877. "name": "enddate",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "integer",
  8882. "description": "是否包含子级 1-包含",
  8883. "name": "includesub",
  8884. "in": "query"
  8885. }
  8886. ],
  8887. "responses": {
  8888. "200": {
  8889. "description": "OK",
  8890. "schema": {
  8891. "type": "array",
  8892. "items": {
  8893. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8894. }
  8895. }
  8896. },
  8897. "500": {
  8898. "description": "Internal Server Error",
  8899. "schema": {
  8900. "$ref": "#/definitions/app.Response"
  8901. }
  8902. }
  8903. }
  8904. }
  8905. },
  8906. "/QhjMgr/QueryTradeOrderDetail": {
  8907. "get": {
  8908. "security": [
  8909. {
  8910. "ApiKeyAuth": []
  8911. }
  8912. ],
  8913. "produces": [
  8914. "application/json"
  8915. ],
  8916. "tags": [
  8917. "大连千海金(PCWeb)"
  8918. ],
  8919. "summary": "查询委托明细",
  8920. "parameters": [
  8921. {
  8922. "type": "integer",
  8923. "description": "用户ID",
  8924. "name": "userid",
  8925. "in": "query",
  8926. "required": true
  8927. },
  8928. {
  8929. "type": "integer",
  8930. "description": "用户类型 1-个人 2-企业",
  8931. "name": "userinfotype",
  8932. "in": "query"
  8933. },
  8934. {
  8935. "type": "integer",
  8936. "description": "交易模式",
  8937. "name": "trademode",
  8938. "in": "query"
  8939. },
  8940. {
  8941. "type": "integer",
  8942. "description": "商品id",
  8943. "name": "goodsid",
  8944. "in": "query"
  8945. },
  8946. {
  8947. "type": "string",
  8948. "description": "名称(模糊搜索账户)",
  8949. "name": "filtername",
  8950. "in": "query"
  8951. },
  8952. {
  8953. "type": "string",
  8954. "description": "开始交易日(yyyymmdd)",
  8955. "name": "begindate",
  8956. "in": "query"
  8957. },
  8958. {
  8959. "type": "string",
  8960. "description": "结束交易日(yyyymmdd)",
  8961. "name": "enddate",
  8962. "in": "query"
  8963. },
  8964. {
  8965. "type": "integer",
  8966. "description": "是否包含子级 1-包含",
  8967. "name": "includesub",
  8968. "in": "query"
  8969. }
  8970. ],
  8971. "responses": {
  8972. "200": {
  8973. "description": "OK",
  8974. "schema": {
  8975. "type": "array",
  8976. "items": {
  8977. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8978. }
  8979. }
  8980. },
  8981. "500": {
  8982. "description": "Internal Server Error",
  8983. "schema": {
  8984. "$ref": "#/definitions/app.Response"
  8985. }
  8986. }
  8987. }
  8988. }
  8989. },
  8990. "/QhjMgr/QueryTradePayOrder": {
  8991. "get": {
  8992. "security": [
  8993. {
  8994. "ApiKeyAuth": []
  8995. }
  8996. ],
  8997. "produces": [
  8998. "application/json"
  8999. ],
  9000. "tags": [
  9001. "大连千海金(PCWeb)"
  9002. ],
  9003. "summary": "查询待付款单",
  9004. "parameters": [
  9005. {
  9006. "type": "integer",
  9007. "description": "用户ID",
  9008. "name": "userid",
  9009. "in": "query",
  9010. "required": true
  9011. },
  9012. {
  9013. "type": "string",
  9014. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9015. "name": "payflag",
  9016. "in": "query"
  9017. },
  9018. {
  9019. "type": "integer",
  9020. "description": "用户类型 1-个人 2-企业",
  9021. "name": "userinfotype",
  9022. "in": "query"
  9023. },
  9024. {
  9025. "type": "integer",
  9026. "description": "交易模式",
  9027. "name": "trademode",
  9028. "in": "query"
  9029. },
  9030. {
  9031. "type": "integer",
  9032. "description": "商品id",
  9033. "name": "goodsid",
  9034. "in": "query"
  9035. },
  9036. {
  9037. "type": "string",
  9038. "description": "名称(模糊搜索账户)",
  9039. "name": "filtername",
  9040. "in": "query"
  9041. },
  9042. {
  9043. "type": "string",
  9044. "description": "开始交易日(yyyymmdd)",
  9045. "name": "begindate",
  9046. "in": "query"
  9047. },
  9048. {
  9049. "type": "string",
  9050. "description": "结束交易日(yyyymmdd)",
  9051. "name": "enddate",
  9052. "in": "query"
  9053. },
  9054. {
  9055. "type": "integer",
  9056. "description": "是否包含子级 1-包含",
  9057. "name": "includesub",
  9058. "in": "query"
  9059. }
  9060. ],
  9061. "responses": {
  9062. "200": {
  9063. "description": "OK",
  9064. "schema": {
  9065. "type": "array",
  9066. "items": {
  9067. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9068. }
  9069. }
  9070. },
  9071. "500": {
  9072. "description": "Internal Server Error",
  9073. "schema": {
  9074. "$ref": "#/definitions/app.Response"
  9075. }
  9076. }
  9077. }
  9078. }
  9079. },
  9080. "/QhjMgr/QueryTradePosition": {
  9081. "get": {
  9082. "security": [
  9083. {
  9084. "ApiKeyAuth": []
  9085. }
  9086. ],
  9087. "produces": [
  9088. "application/json"
  9089. ],
  9090. "tags": [
  9091. "大连千海金(PCWeb)"
  9092. ],
  9093. "summary": "查询持仓汇总",
  9094. "parameters": [
  9095. {
  9096. "type": "integer",
  9097. "description": "用户ID",
  9098. "name": "userid",
  9099. "in": "query",
  9100. "required": true
  9101. },
  9102. {
  9103. "type": "integer",
  9104. "description": "用户类型 1-个人 2-企业",
  9105. "name": "userinfotype",
  9106. "in": "query"
  9107. },
  9108. {
  9109. "type": "integer",
  9110. "description": "交易模式",
  9111. "name": "trademode",
  9112. "in": "query"
  9113. },
  9114. {
  9115. "type": "integer",
  9116. "description": "商品id",
  9117. "name": "goodsid",
  9118. "in": "query"
  9119. },
  9120. {
  9121. "type": "string",
  9122. "description": "名称(模糊搜索账户)",
  9123. "name": "filtername",
  9124. "in": "query"
  9125. },
  9126. {
  9127. "type": "integer",
  9128. "description": "是否包含子级 1-包含",
  9129. "name": "includesub",
  9130. "in": "query"
  9131. }
  9132. ],
  9133. "responses": {
  9134. "200": {
  9135. "description": "OK",
  9136. "schema": {
  9137. "type": "array",
  9138. "items": {
  9139. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9140. }
  9141. }
  9142. },
  9143. "500": {
  9144. "description": "Internal Server Error",
  9145. "schema": {
  9146. "$ref": "#/definitions/app.Response"
  9147. }
  9148. }
  9149. }
  9150. }
  9151. },
  9152. "/QhjSys/QueryAgreementChangeLog": {
  9153. "get": {
  9154. "security": [
  9155. {
  9156. "ApiKeyAuth": []
  9157. }
  9158. ],
  9159. "produces": [
  9160. "application/json"
  9161. ],
  9162. "tags": [
  9163. "大连千海金(协议和签约信息)"
  9164. ],
  9165. "summary": "查询协议配置变更流水",
  9166. "parameters": [
  9167. {
  9168. "type": "integer",
  9169. "description": "协议ID",
  9170. "name": "agreementid",
  9171. "in": "query"
  9172. },
  9173. {
  9174. "type": "integer",
  9175. "description": "协议版本号",
  9176. "name": "agreementversion",
  9177. "in": "query"
  9178. },
  9179. {
  9180. "type": "integer",
  9181. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9182. "name": "agreementtype",
  9183. "in": "query"
  9184. },
  9185. {
  9186. "type": "string",
  9187. "description": "协议编号(模糊匹配)",
  9188. "name": "agreementno",
  9189. "in": "query"
  9190. },
  9191. {
  9192. "type": "string",
  9193. "description": "协议名称(模糊匹配)",
  9194. "name": "agreementname",
  9195. "in": "query"
  9196. }
  9197. ],
  9198. "responses": {
  9199. "200": {
  9200. "description": "OK",
  9201. "schema": {
  9202. "type": "array",
  9203. "items": {
  9204. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9205. }
  9206. }
  9207. },
  9208. "500": {
  9209. "description": "Internal Server Error",
  9210. "schema": {
  9211. "$ref": "#/definitions/app.Response"
  9212. }
  9213. }
  9214. }
  9215. }
  9216. },
  9217. "/QhjSys/QueryAgreementConfig": {
  9218. "get": {
  9219. "security": [
  9220. {
  9221. "ApiKeyAuth": []
  9222. }
  9223. ],
  9224. "produces": [
  9225. "application/json"
  9226. ],
  9227. "tags": [
  9228. "大连千海金(协议和签约信息)"
  9229. ],
  9230. "summary": "查询协议配置",
  9231. "parameters": [
  9232. {
  9233. "type": "integer",
  9234. "description": "协议ID",
  9235. "name": "agreementid",
  9236. "in": "query"
  9237. },
  9238. {
  9239. "type": "integer",
  9240. "description": "协议版本号",
  9241. "name": "agreementversion",
  9242. "in": "query"
  9243. },
  9244. {
  9245. "type": "integer",
  9246. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9247. "name": "agreementtype",
  9248. "in": "query"
  9249. },
  9250. {
  9251. "type": "integer",
  9252. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9253. "name": "isvalid",
  9254. "in": "query"
  9255. },
  9256. {
  9257. "type": "string",
  9258. "description": "协议编号(模糊匹配)",
  9259. "name": "agreementno",
  9260. "in": "query"
  9261. },
  9262. {
  9263. "type": "string",
  9264. "description": "协议名称(模糊匹配)",
  9265. "name": "agreementname",
  9266. "in": "query"
  9267. }
  9268. ],
  9269. "responses": {
  9270. "200": {
  9271. "description": "OK",
  9272. "schema": {
  9273. "type": "array",
  9274. "items": {
  9275. "$ref": "#/definitions/models.QhjAgreementConfig"
  9276. }
  9277. }
  9278. },
  9279. "500": {
  9280. "description": "Internal Server Error",
  9281. "schema": {
  9282. "$ref": "#/definitions/app.Response"
  9283. }
  9284. }
  9285. }
  9286. }
  9287. },
  9288. "/QhjSys/QueryCustomerSignStatus": {
  9289. "get": {
  9290. "security": [
  9291. {
  9292. "ApiKeyAuth": []
  9293. }
  9294. ],
  9295. "produces": [
  9296. "application/json"
  9297. ],
  9298. "tags": [
  9299. "大连千海金(协议和签约信息)"
  9300. ],
  9301. "summary": "查询客户协议签约状态",
  9302. "parameters": [
  9303. {
  9304. "type": "integer",
  9305. "description": "客户ID",
  9306. "name": "userid",
  9307. "in": "query"
  9308. },
  9309. {
  9310. "type": "integer",
  9311. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9312. "name": "nodetype",
  9313. "in": "query"
  9314. },
  9315. {
  9316. "type": "integer",
  9317. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9318. "name": "goodsid",
  9319. "in": "query"
  9320. },
  9321. {
  9322. "type": "string",
  9323. "description": "创建交易日(yyyyMMdd)",
  9324. "name": "tradedate",
  9325. "in": "query"
  9326. },
  9327. {
  9328. "type": "string",
  9329. "description": "用户名称(模糊匹配)",
  9330. "name": "username",
  9331. "in": "query"
  9332. }
  9333. ],
  9334. "responses": {
  9335. "200": {
  9336. "description": "OK",
  9337. "schema": {
  9338. "type": "array",
  9339. "items": {
  9340. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9341. }
  9342. }
  9343. },
  9344. "500": {
  9345. "description": "Internal Server Error",
  9346. "schema": {
  9347. "$ref": "#/definitions/app.Response"
  9348. }
  9349. }
  9350. }
  9351. }
  9352. },
  9353. "/QhjSys/QueryNodeAgreementConfig": {
  9354. "get": {
  9355. "security": [
  9356. {
  9357. "ApiKeyAuth": []
  9358. }
  9359. ],
  9360. "produces": [
  9361. "application/json"
  9362. ],
  9363. "tags": [
  9364. "大连千海金(协议和签约信息)"
  9365. ],
  9366. "summary": "查询协议节点配置",
  9367. "parameters": [
  9368. {
  9369. "type": "integer",
  9370. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9371. "name": "configid",
  9372. "in": "query"
  9373. },
  9374. {
  9375. "type": "integer",
  9376. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9377. "name": "nodetype",
  9378. "in": "query"
  9379. },
  9380. {
  9381. "type": "integer",
  9382. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9383. "name": "goodsid",
  9384. "in": "query"
  9385. },
  9386. {
  9387. "type": "integer",
  9388. "description": "协议ID",
  9389. "name": "agreementid",
  9390. "in": "query"
  9391. },
  9392. {
  9393. "type": "integer",
  9394. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9395. "name": "agreementtype",
  9396. "in": "query"
  9397. },
  9398. {
  9399. "type": "integer",
  9400. "description": "协议版本号",
  9401. "name": "agreementversion",
  9402. "in": "query"
  9403. },
  9404. {
  9405. "type": "string",
  9406. "description": "协议编号(模糊匹配)",
  9407. "name": "agreementno",
  9408. "in": "query"
  9409. },
  9410. {
  9411. "type": "string",
  9412. "description": "协议名称(模糊匹配)",
  9413. "name": "agreementname",
  9414. "in": "query"
  9415. }
  9416. ],
  9417. "responses": {
  9418. "200": {
  9419. "description": "OK",
  9420. "schema": {
  9421. "type": "array",
  9422. "items": {
  9423. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9424. }
  9425. }
  9426. },
  9427. "500": {
  9428. "description": "Internal Server Error",
  9429. "schema": {
  9430. "$ref": "#/definitions/app.Response"
  9431. }
  9432. }
  9433. }
  9434. }
  9435. },
  9436. "/QhjSys/QueryQhjCustomerSignLog": {
  9437. "get": {
  9438. "security": [
  9439. {
  9440. "ApiKeyAuth": []
  9441. }
  9442. ],
  9443. "produces": [
  9444. "application/json"
  9445. ],
  9446. "tags": [
  9447. "大连千海金(协议和签约信息)"
  9448. ],
  9449. "summary": "查询客户协议签约流水",
  9450. "parameters": [
  9451. {
  9452. "type": "integer",
  9453. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9454. "name": "logid",
  9455. "in": "query"
  9456. },
  9457. {
  9458. "type": "integer",
  9459. "description": "客户ID",
  9460. "name": "userid",
  9461. "in": "query"
  9462. },
  9463. {
  9464. "type": "integer",
  9465. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9466. "name": "nodetype",
  9467. "in": "query"
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9472. "name": "goodsid",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "integer",
  9477. "description": "协议ID",
  9478. "name": "agreementid",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "string",
  9483. "description": "用户名称(模糊匹配)",
  9484. "name": "username",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "协议编号(模糊匹配)",
  9490. "name": "agreementno",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "协议名称(模糊匹配)",
  9496. "name": "agreementname",
  9497. "in": "query"
  9498. }
  9499. ],
  9500. "responses": {
  9501. "200": {
  9502. "description": "OK",
  9503. "schema": {
  9504. "type": "array",
  9505. "items": {
  9506. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9507. }
  9508. }
  9509. },
  9510. "500": {
  9511. "description": "Internal Server Error",
  9512. "schema": {
  9513. "$ref": "#/definitions/app.Response"
  9514. }
  9515. }
  9516. }
  9517. }
  9518. },
  9519. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9520. "get": {
  9521. "security": [
  9522. {
  9523. "ApiKeyAuth": []
  9524. }
  9525. ],
  9526. "produces": [
  9527. "application/json"
  9528. ],
  9529. "tags": [
  9530. "大连千海金(协议和签约信息)"
  9531. ],
  9532. "summary": "查询用户协议节点配置和状态",
  9533. "parameters": [
  9534. {
  9535. "type": "integer",
  9536. "description": "客户ID",
  9537. "name": "userid",
  9538. "in": "query"
  9539. },
  9540. {
  9541. "type": "integer",
  9542. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9543. "name": "configid",
  9544. "in": "query"
  9545. },
  9546. {
  9547. "type": "string",
  9548. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9549. "name": "nodetype",
  9550. "in": "query"
  9551. },
  9552. {
  9553. "type": "integer",
  9554. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9555. "name": "goodsid",
  9556. "in": "query"
  9557. },
  9558. {
  9559. "type": "integer",
  9560. "description": "协议ID",
  9561. "name": "agreementid",
  9562. "in": "query"
  9563. },
  9564. {
  9565. "type": "integer",
  9566. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9567. "name": "agreementtype",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "integer",
  9572. "description": "协议版本号",
  9573. "name": "agreementversion",
  9574. "in": "query"
  9575. },
  9576. {
  9577. "type": "string",
  9578. "description": "协议编号(模糊匹配)",
  9579. "name": "agreementno",
  9580. "in": "query"
  9581. },
  9582. {
  9583. "type": "string",
  9584. "description": "协议名称(模糊匹配)",
  9585. "name": "agreementname",
  9586. "in": "query"
  9587. }
  9588. ],
  9589. "responses": {
  9590. "200": {
  9591. "description": "OK",
  9592. "schema": {
  9593. "type": "array",
  9594. "items": {
  9595. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9596. }
  9597. }
  9598. },
  9599. "500": {
  9600. "description": "Internal Server Error",
  9601. "schema": {
  9602. "$ref": "#/definitions/app.Response"
  9603. }
  9604. }
  9605. }
  9606. }
  9607. },
  9608. "/Quote/QueryHistoryDatas": {
  9609. "get": {
  9610. "security": [
  9611. {
  9612. "ApiKeyAuth": []
  9613. }
  9614. ],
  9615. "produces": [
  9616. "application/json"
  9617. ],
  9618. "tags": [
  9619. "行情服务"
  9620. ],
  9621. "summary": "查询行情历史数据",
  9622. "parameters": [
  9623. {
  9624. "type": "integer",
  9625. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9626. "name": "cycleType",
  9627. "in": "query",
  9628. "required": true
  9629. },
  9630. {
  9631. "type": "string",
  9632. "description": "商品代码",
  9633. "name": "goodsCode",
  9634. "in": "query",
  9635. "required": true
  9636. },
  9637. {
  9638. "type": "string",
  9639. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9640. "name": "startTime",
  9641. "in": "query"
  9642. },
  9643. {
  9644. "type": "string",
  9645. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9646. "name": "endTime",
  9647. "in": "query"
  9648. },
  9649. {
  9650. "type": "integer",
  9651. "description": "条数",
  9652. "name": "count",
  9653. "in": "query"
  9654. },
  9655. {
  9656. "type": "boolean",
  9657. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9658. "name": "isAsc",
  9659. "in": "query"
  9660. }
  9661. ],
  9662. "responses": {
  9663. "200": {
  9664. "description": "OK",
  9665. "schema": {
  9666. "$ref": "#/definitions/quote.HistoryData"
  9667. }
  9668. },
  9669. "500": {
  9670. "description": "Internal Server Error",
  9671. "schema": {
  9672. "$ref": "#/definitions/app.Response"
  9673. }
  9674. }
  9675. }
  9676. }
  9677. },
  9678. "/Quote/QueryHistoryTikDatas": {
  9679. "get": {
  9680. "security": [
  9681. {
  9682. "ApiKeyAuth": []
  9683. }
  9684. ],
  9685. "produces": [
  9686. "application/json"
  9687. ],
  9688. "tags": [
  9689. "行情服务"
  9690. ],
  9691. "summary": "查询行情Tik数据",
  9692. "parameters": [
  9693. {
  9694. "type": "string",
  9695. "description": "商品代码",
  9696. "name": "goodsCode",
  9697. "in": "query",
  9698. "required": true
  9699. },
  9700. {
  9701. "type": "string",
  9702. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9703. "name": "startTime",
  9704. "in": "query"
  9705. },
  9706. {
  9707. "type": "string",
  9708. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9709. "name": "endTime",
  9710. "in": "query"
  9711. },
  9712. {
  9713. "type": "integer",
  9714. "description": "条数",
  9715. "name": "count",
  9716. "in": "query"
  9717. },
  9718. {
  9719. "type": "boolean",
  9720. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9721. "name": "isAsc",
  9722. "in": "query"
  9723. }
  9724. ],
  9725. "responses": {
  9726. "200": {
  9727. "description": "OK",
  9728. "schema": {
  9729. "$ref": "#/definitions/quote.HistoryTikData"
  9730. }
  9731. },
  9732. "500": {
  9733. "description": "Internal Server Error",
  9734. "schema": {
  9735. "$ref": "#/definitions/app.Response"
  9736. }
  9737. }
  9738. }
  9739. }
  9740. },
  9741. "/Quote/QueryQuoteDay": {
  9742. "get": {
  9743. "security": [
  9744. {
  9745. "ApiKeyAuth": []
  9746. }
  9747. ],
  9748. "produces": [
  9749. "application/json"
  9750. ],
  9751. "tags": [
  9752. "行情服务"
  9753. ],
  9754. "summary": "获取商品盘面信息",
  9755. "parameters": [
  9756. {
  9757. "type": "string",
  9758. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9759. "name": "goodsCodes",
  9760. "in": "query",
  9761. "required": true
  9762. }
  9763. ],
  9764. "responses": {
  9765. "200": {
  9766. "description": "OK",
  9767. "schema": {
  9768. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9769. }
  9770. },
  9771. "500": {
  9772. "description": "Internal Server Error",
  9773. "schema": {
  9774. "$ref": "#/definitions/app.Response"
  9775. }
  9776. }
  9777. }
  9778. }
  9779. },
  9780. "/Quote/QueryTSData": {
  9781. "get": {
  9782. "security": [
  9783. {
  9784. "ApiKeyAuth": []
  9785. }
  9786. ],
  9787. "produces": [
  9788. "application/json"
  9789. ],
  9790. "tags": [
  9791. "行情服务"
  9792. ],
  9793. "summary": "分时图数据查询",
  9794. "parameters": [
  9795. {
  9796. "type": "string",
  9797. "description": "商品代码",
  9798. "name": "goodsCode",
  9799. "in": "query",
  9800. "required": true
  9801. }
  9802. ],
  9803. "responses": {
  9804. "200": {
  9805. "description": "OK",
  9806. "schema": {
  9807. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9808. }
  9809. },
  9810. "500": {
  9811. "description": "Internal Server Error",
  9812. "schema": {
  9813. "$ref": "#/definitions/app.Response"
  9814. }
  9815. }
  9816. }
  9817. }
  9818. },
  9819. "/SZDZ/QueryConvertConfig": {
  9820. "get": {
  9821. "security": [
  9822. {
  9823. "ApiKeyAuth": []
  9824. }
  9825. ],
  9826. "produces": [
  9827. "application/json"
  9828. ],
  9829. "tags": [
  9830. "定制【尚志大宗】"
  9831. ],
  9832. "summary": "查询交易系统转换设置",
  9833. "parameters": [
  9834. {
  9835. "type": "integer",
  9836. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9837. "name": "convertType",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "string",
  9842. "description": "外部商品代码[JD\\PD]",
  9843. "name": "outerGoodsCode",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "string",
  9848. "description": "内部商品ID列表[交易],格式:1,2,3",
  9849. "name": "innerGoodsIDs",
  9850. "in": "query"
  9851. }
  9852. ],
  9853. "responses": {
  9854. "200": {
  9855. "description": "OK",
  9856. "schema": {
  9857. "$ref": "#/definitions/models.Szdz3convertconfig"
  9858. }
  9859. },
  9860. "500": {
  9861. "description": "Internal Server Error",
  9862. "schema": {
  9863. "$ref": "#/definitions/app.Response"
  9864. }
  9865. }
  9866. }
  9867. }
  9868. },
  9869. "/SZDZ/QueryConvertLog": {
  9870. "get": {
  9871. "security": [
  9872. {
  9873. "ApiKeyAuth": []
  9874. }
  9875. ],
  9876. "produces": [
  9877. "application/json"
  9878. ],
  9879. "tags": [
  9880. "定制【尚志大宗】"
  9881. ],
  9882. "summary": "交易系统转换流水查询",
  9883. "parameters": [
  9884. {
  9885. "type": "string",
  9886. "description": "资金账户 - 格式:1,2,3",
  9887. "name": "accountID",
  9888. "in": "query",
  9889. "required": true
  9890. },
  9891. {
  9892. "type": "string",
  9893. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9894. "name": "startDate",
  9895. "in": "query"
  9896. },
  9897. {
  9898. "type": "string",
  9899. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9900. "name": "endDate",
  9901. "in": "query"
  9902. }
  9903. ],
  9904. "responses": {
  9905. "200": {
  9906. "description": "OK",
  9907. "schema": {
  9908. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9909. }
  9910. },
  9911. "500": {
  9912. "description": "Internal Server Error",
  9913. "schema": {
  9914. "$ref": "#/definitions/app.Response"
  9915. }
  9916. }
  9917. }
  9918. }
  9919. },
  9920. "/SZDZ/QueryGoodsPickup": {
  9921. "get": {
  9922. "security": [
  9923. {
  9924. "ApiKeyAuth": []
  9925. }
  9926. ],
  9927. "produces": [
  9928. "application/json"
  9929. ],
  9930. "tags": [
  9931. "定制【尚志大宗】"
  9932. ],
  9933. "summary": "商品提货单查询",
  9934. "parameters": [
  9935. {
  9936. "type": "string",
  9937. "description": "资金账户 - 格式:1,2,3",
  9938. "name": "accountID",
  9939. "in": "query",
  9940. "required": true
  9941. },
  9942. {
  9943. "type": "integer",
  9944. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9945. "name": "takeOrderStatus",
  9946. "in": "query"
  9947. }
  9948. ],
  9949. "responses": {
  9950. "200": {
  9951. "description": "OK",
  9952. "schema": {
  9953. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9954. }
  9955. },
  9956. "500": {
  9957. "description": "Internal Server Error",
  9958. "schema": {
  9959. "$ref": "#/definitions/app.Response"
  9960. }
  9961. }
  9962. }
  9963. }
  9964. },
  9965. "/SZDZ/QueryRecieptOrder": {
  9966. "get": {
  9967. "security": [
  9968. {
  9969. "ApiKeyAuth": []
  9970. }
  9971. ],
  9972. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9973. "produces": [
  9974. "application/json"
  9975. ],
  9976. "tags": [
  9977. "定制【尚志大宗】"
  9978. ],
  9979. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9980. "parameters": [
  9981. {
  9982. "type": "integer",
  9983. "description": "页码",
  9984. "name": "page",
  9985. "in": "query"
  9986. },
  9987. {
  9988. "type": "integer",
  9989. "description": "每页条数",
  9990. "name": "pagesize",
  9991. "in": "query"
  9992. },
  9993. {
  9994. "type": "integer",
  9995. "description": "商品ID",
  9996. "name": "goodsID",
  9997. "in": "query",
  9998. "required": true
  9999. },
  10000. {
  10001. "type": "string",
  10002. "description": "所属账户名称",
  10003. "name": "accountName",
  10004. "in": "query"
  10005. },
  10006. {
  10007. "type": "integer",
  10008. "description": "市场ID",
  10009. "name": "marketID",
  10010. "in": "query"
  10011. },
  10012. {
  10013. "type": "integer",
  10014. "description": "方向 - 0:买 1:卖",
  10015. "name": "buyorsell",
  10016. "in": "query",
  10017. "required": true
  10018. }
  10019. ],
  10020. "responses": {
  10021. "200": {
  10022. "description": "OK",
  10023. "schema": {
  10024. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10025. }
  10026. },
  10027. "500": {
  10028. "description": "Internal Server Error",
  10029. "schema": {
  10030. "$ref": "#/definitions/app.Response"
  10031. }
  10032. }
  10033. }
  10034. }
  10035. },
  10036. "/SZDZ/QuerySZDZTradePosition": {
  10037. "get": {
  10038. "security": [
  10039. {
  10040. "ApiKeyAuth": []
  10041. }
  10042. ],
  10043. "produces": [
  10044. "application/json"
  10045. ],
  10046. "tags": [
  10047. "定制【尚志大宗】"
  10048. ],
  10049. "summary": "持仓汇总查询(尚志大宗)",
  10050. "parameters": [
  10051. {
  10052. "type": "integer",
  10053. "description": "资金账户",
  10054. "name": "accountID",
  10055. "in": "query",
  10056. "required": true
  10057. }
  10058. ],
  10059. "responses": {
  10060. "200": {
  10061. "description": "OK",
  10062. "schema": {
  10063. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10064. }
  10065. },
  10066. "500": {
  10067. "description": "Internal Server Error",
  10068. "schema": {
  10069. "$ref": "#/definitions/app.Response"
  10070. }
  10071. }
  10072. }
  10073. }
  10074. },
  10075. "/SZDZ/SearchWhite": {
  10076. "get": {
  10077. "security": [
  10078. {
  10079. "ApiKeyAuth": []
  10080. }
  10081. ],
  10082. "produces": [
  10083. "application/json"
  10084. ],
  10085. "tags": [
  10086. "定制【尚志大宗】"
  10087. ],
  10088. "summary": "搜索白名单",
  10089. "parameters": [
  10090. {
  10091. "type": "integer",
  10092. "description": "用户ID",
  10093. "name": "userID",
  10094. "in": "query",
  10095. "required": true
  10096. }
  10097. ],
  10098. "responses": {
  10099. "200": {
  10100. "description": "OK",
  10101. "schema": {
  10102. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10103. }
  10104. },
  10105. "500": {
  10106. "description": "Internal Server Error",
  10107. "schema": {
  10108. "$ref": "#/definitions/app.Response"
  10109. }
  10110. }
  10111. }
  10112. }
  10113. },
  10114. "/Search/SearchGoodses": {
  10115. "get": {
  10116. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10117. "produces": [
  10118. "application/json"
  10119. ],
  10120. "tags": [
  10121. "检索服务"
  10122. ],
  10123. "summary": "检索商品信息",
  10124. "parameters": [
  10125. {
  10126. "type": "string",
  10127. "description": "检索内容",
  10128. "name": "content",
  10129. "in": "query",
  10130. "required": true
  10131. },
  10132. {
  10133. "type": "string",
  10134. "description": "交易模式,格式:1,2,3",
  10135. "name": "tradeModes",
  10136. "in": "query"
  10137. }
  10138. ],
  10139. "responses": {
  10140. "200": {
  10141. "description": "OK",
  10142. "schema": {
  10143. "$ref": "#/definitions/models.SearchGoods"
  10144. }
  10145. },
  10146. "500": {
  10147. "description": "Internal Server Error",
  10148. "schema": {
  10149. "$ref": "#/definitions/app.Response"
  10150. }
  10151. }
  10152. }
  10153. }
  10154. },
  10155. "/TaAccount/GetTaAccounts": {
  10156. "get": {
  10157. "security": [
  10158. {
  10159. "ApiKeyAuth": []
  10160. }
  10161. ],
  10162. "produces": [
  10163. "application/json"
  10164. ],
  10165. "tags": [
  10166. "资金账户"
  10167. ],
  10168. "summary": "获取资金账户信息",
  10169. "parameters": [
  10170. {
  10171. "type": "integer",
  10172. "description": "登录账户",
  10173. "name": "loginID",
  10174. "in": "query",
  10175. "required": true
  10176. },
  10177. {
  10178. "type": "integer",
  10179. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10180. "name": "taAccountType",
  10181. "in": "query"
  10182. }
  10183. ],
  10184. "responses": {
  10185. "200": {
  10186. "description": "OK",
  10187. "schema": {
  10188. "$ref": "#/definitions/models.Taaccount"
  10189. }
  10190. },
  10191. "500": {
  10192. "description": "Internal Server Error",
  10193. "schema": {
  10194. "$ref": "#/definitions/app.Response"
  10195. }
  10196. }
  10197. }
  10198. }
  10199. },
  10200. "/TaAccount/QueryAmountLog": {
  10201. "get": {
  10202. "security": [
  10203. {
  10204. "ApiKeyAuth": []
  10205. }
  10206. ],
  10207. "produces": [
  10208. "application/json"
  10209. ],
  10210. "tags": [
  10211. "资金账户"
  10212. ],
  10213. "summary": "资金流水查询(当前)",
  10214. "parameters": [
  10215. {
  10216. "type": "integer",
  10217. "description": "页码",
  10218. "name": "page",
  10219. "in": "query"
  10220. },
  10221. {
  10222. "type": "integer",
  10223. "description": "每页条数",
  10224. "name": "pagesize",
  10225. "in": "query"
  10226. },
  10227. {
  10228. "type": "string",
  10229. "description": "资金账户 - 格式:1,2,3",
  10230. "name": "accountID",
  10231. "in": "query",
  10232. "required": true
  10233. },
  10234. {
  10235. "type": "string",
  10236. "description": "资金操作类型 - 格式:1,2,3",
  10237. "name": "OperateType",
  10238. "in": "query"
  10239. }
  10240. ],
  10241. "responses": {
  10242. "200": {
  10243. "description": "OK",
  10244. "schema": {
  10245. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10246. }
  10247. },
  10248. "500": {
  10249. "description": "Internal Server Error",
  10250. "schema": {
  10251. "$ref": "#/definitions/app.Response"
  10252. }
  10253. }
  10254. }
  10255. }
  10256. },
  10257. "/TaAccount/QueryHisAmountLog": {
  10258. "get": {
  10259. "security": [
  10260. {
  10261. "ApiKeyAuth": []
  10262. }
  10263. ],
  10264. "produces": [
  10265. "application/json"
  10266. ],
  10267. "tags": [
  10268. "资金账户"
  10269. ],
  10270. "summary": "资金流水查询(历史)",
  10271. "parameters": [
  10272. {
  10273. "type": "integer",
  10274. "description": "页码",
  10275. "name": "page",
  10276. "in": "query"
  10277. },
  10278. {
  10279. "type": "integer",
  10280. "description": "每页条数",
  10281. "name": "pagesize",
  10282. "in": "query"
  10283. },
  10284. {
  10285. "type": "string",
  10286. "description": "资金账户 - 格式:1,2,3",
  10287. "name": "accountID",
  10288. "in": "query",
  10289. "required": true
  10290. },
  10291. {
  10292. "type": "string",
  10293. "description": "资金操作类型 - 格式:1,2,3",
  10294. "name": "OperateType",
  10295. "in": "query"
  10296. },
  10297. {
  10298. "type": "string",
  10299. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10300. "name": "startDate",
  10301. "in": "query"
  10302. },
  10303. {
  10304. "type": "string",
  10305. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10306. "name": "endDate",
  10307. "in": "query"
  10308. }
  10309. ],
  10310. "responses": {
  10311. "200": {
  10312. "description": "OK",
  10313. "schema": {
  10314. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10315. }
  10316. },
  10317. "500": {
  10318. "description": "Internal Server Error",
  10319. "schema": {
  10320. "$ref": "#/definitions/app.Response"
  10321. }
  10322. }
  10323. }
  10324. }
  10325. },
  10326. "/Trade/QueryRecieptOrder": {
  10327. "get": {
  10328. "security": [
  10329. {
  10330. "ApiKeyAuth": []
  10331. }
  10332. ],
  10333. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10334. "produces": [
  10335. "application/json"
  10336. ],
  10337. "tags": [
  10338. "通用交易"
  10339. ],
  10340. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10341. "parameters": [
  10342. {
  10343. "type": "integer",
  10344. "description": "页码",
  10345. "name": "page",
  10346. "in": "query"
  10347. },
  10348. {
  10349. "type": "integer",
  10350. "description": "每页条数",
  10351. "name": "pagesize",
  10352. "in": "query"
  10353. },
  10354. {
  10355. "type": "integer",
  10356. "description": "商品ID",
  10357. "name": "goodsID",
  10358. "in": "query",
  10359. "required": true
  10360. },
  10361. {
  10362. "type": "string",
  10363. "description": "所属账户名称",
  10364. "name": "accountName",
  10365. "in": "query"
  10366. },
  10367. {
  10368. "type": "integer",
  10369. "description": "市场ID",
  10370. "name": "marketID",
  10371. "in": "query"
  10372. },
  10373. {
  10374. "type": "integer",
  10375. "description": "方向 - 0:买 1:卖",
  10376. "name": "buyorsell",
  10377. "in": "query",
  10378. "required": true
  10379. }
  10380. ],
  10381. "responses": {
  10382. "200": {
  10383. "description": "OK",
  10384. "schema": {
  10385. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10386. }
  10387. },
  10388. "500": {
  10389. "description": "Internal Server Error",
  10390. "schema": {
  10391. "$ref": "#/definitions/app.Response"
  10392. }
  10393. }
  10394. }
  10395. }
  10396. },
  10397. "/User/AddMessageBoard": {
  10398. "post": {
  10399. "security": [
  10400. {
  10401. "ApiKeyAuth": []
  10402. }
  10403. ],
  10404. "produces": [
  10405. "application/json"
  10406. ],
  10407. "tags": [
  10408. "用户信息"
  10409. ],
  10410. "summary": "添加用户留言板信息",
  10411. "parameters": [
  10412. {
  10413. "type": "integer",
  10414. "description": "用户ID",
  10415. "name": "userID",
  10416. "in": "query",
  10417. "required": true
  10418. },
  10419. {
  10420. "type": "string",
  10421. "description": "留言信息",
  10422. "name": "message",
  10423. "in": "query",
  10424. "required": true
  10425. },
  10426. {
  10427. "type": "string",
  10428. "description": "联系电话",
  10429. "name": "contactNum",
  10430. "in": "query",
  10431. "required": true
  10432. }
  10433. ],
  10434. "responses": {
  10435. "200": {
  10436. "description": "OK",
  10437. "schema": {
  10438. "$ref": "#/definitions/app.Response"
  10439. }
  10440. },
  10441. "500": {
  10442. "description": "Internal Server Error",
  10443. "schema": {
  10444. "$ref": "#/definitions/app.Response"
  10445. }
  10446. }
  10447. }
  10448. }
  10449. },
  10450. "/User/AddUserFavoriteGoods": {
  10451. "post": {
  10452. "security": [
  10453. {
  10454. "ApiKeyAuth": []
  10455. }
  10456. ],
  10457. "produces": [
  10458. "application/json"
  10459. ],
  10460. "tags": [
  10461. "用户信息"
  10462. ],
  10463. "summary": "添加用户商品收藏信息",
  10464. "parameters": [
  10465. {
  10466. "type": "integer",
  10467. "description": "用户ID",
  10468. "name": "userID",
  10469. "in": "query",
  10470. "required": true
  10471. },
  10472. {
  10473. "type": "integer",
  10474. "description": "商品ID",
  10475. "name": "goodsID",
  10476. "in": "query",
  10477. "required": true
  10478. }
  10479. ],
  10480. "responses": {
  10481. "200": {
  10482. "description": "OK",
  10483. "schema": {
  10484. "$ref": "#/definitions/app.Response"
  10485. }
  10486. },
  10487. "500": {
  10488. "description": "Internal Server Error",
  10489. "schema": {
  10490. "$ref": "#/definitions/app.Response"
  10491. }
  10492. }
  10493. }
  10494. }
  10495. },
  10496. "/User/GetLoginID": {
  10497. "get": {
  10498. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10499. "produces": [
  10500. "application/json"
  10501. ],
  10502. "tags": [
  10503. "用户信息"
  10504. ],
  10505. "summary": "获取登录ID",
  10506. "parameters": [
  10507. {
  10508. "type": "string",
  10509. "description": "登录代码",
  10510. "name": "username",
  10511. "in": "query",
  10512. "required": true
  10513. }
  10514. ],
  10515. "responses": {
  10516. "200": {
  10517. "description": "OK",
  10518. "schema": {
  10519. "$ref": "#/definitions/app.Response"
  10520. }
  10521. },
  10522. "500": {
  10523. "description": "Internal Server Error",
  10524. "schema": {
  10525. "$ref": "#/definitions/app.Response"
  10526. }
  10527. }
  10528. }
  10529. }
  10530. },
  10531. "/User/GetUserAccount": {
  10532. "get": {
  10533. "security": [
  10534. {
  10535. "ApiKeyAuth": []
  10536. }
  10537. ],
  10538. "produces": [
  10539. "application/json"
  10540. ],
  10541. "tags": [
  10542. "用户信息"
  10543. ],
  10544. "summary": "获取用户账号信息",
  10545. "parameters": [
  10546. {
  10547. "type": "integer",
  10548. "description": "用户ID",
  10549. "name": "userID",
  10550. "in": "query",
  10551. "required": true
  10552. }
  10553. ],
  10554. "responses": {
  10555. "200": {
  10556. "description": "OK",
  10557. "schema": {
  10558. "$ref": "#/definitions/models.Useraccount"
  10559. }
  10560. },
  10561. "500": {
  10562. "description": "Internal Server Error",
  10563. "schema": {
  10564. "$ref": "#/definitions/app.Response"
  10565. }
  10566. }
  10567. }
  10568. }
  10569. },
  10570. "/User/GetUserAuthStatus": {
  10571. "get": {
  10572. "security": [
  10573. {
  10574. "ApiKeyAuth": []
  10575. }
  10576. ],
  10577. "produces": [
  10578. "application/json"
  10579. ],
  10580. "tags": [
  10581. "用户信息"
  10582. ],
  10583. "summary": "获取用户实名认证状态",
  10584. "parameters": [
  10585. {
  10586. "type": "integer",
  10587. "description": "用户ID",
  10588. "name": "userID",
  10589. "in": "query",
  10590. "required": true
  10591. }
  10592. ],
  10593. "responses": {
  10594. "200": {
  10595. "description": "OK",
  10596. "schema": {
  10597. "$ref": "#/definitions/app.Response"
  10598. }
  10599. },
  10600. "500": {
  10601. "description": "Internal Server Error",
  10602. "schema": {
  10603. "$ref": "#/definitions/app.Response"
  10604. }
  10605. }
  10606. }
  10607. }
  10608. },
  10609. "/User/LoginQuery": {
  10610. "get": {
  10611. "security": [
  10612. {
  10613. "ApiKeyAuth": []
  10614. }
  10615. ],
  10616. "produces": [
  10617. "application/json"
  10618. ],
  10619. "tags": [
  10620. "用户信息"
  10621. ],
  10622. "summary": "账户登录后信息查询",
  10623. "parameters": [
  10624. {
  10625. "type": "integer",
  10626. "description": "登录账号",
  10627. "name": "loginID",
  10628. "in": "query",
  10629. "required": true
  10630. }
  10631. ],
  10632. "responses": {
  10633. "200": {
  10634. "description": "OK",
  10635. "schema": {
  10636. "$ref": "#/definitions/user.LoginQueryRsp"
  10637. }
  10638. },
  10639. "500": {
  10640. "description": "Internal Server Error",
  10641. "schema": {
  10642. "$ref": "#/definitions/app.Response"
  10643. }
  10644. }
  10645. }
  10646. }
  10647. },
  10648. "/User/QueryMessageBoard": {
  10649. "get": {
  10650. "security": [
  10651. {
  10652. "ApiKeyAuth": []
  10653. }
  10654. ],
  10655. "produces": [
  10656. "application/json"
  10657. ],
  10658. "tags": [
  10659. "用户信息"
  10660. ],
  10661. "summary": "获取用户留言板信息",
  10662. "parameters": [
  10663. {
  10664. "type": "integer",
  10665. "description": "用户ID",
  10666. "name": "userID",
  10667. "in": "query",
  10668. "required": true
  10669. }
  10670. ],
  10671. "responses": {
  10672. "200": {
  10673. "description": "OK",
  10674. "schema": {
  10675. "$ref": "#/definitions/models.Messageboard"
  10676. }
  10677. },
  10678. "500": {
  10679. "description": "Internal Server Error",
  10680. "schema": {
  10681. "$ref": "#/definitions/app.Response"
  10682. }
  10683. }
  10684. }
  10685. }
  10686. },
  10687. "/User/QueryUserFavoriteGoodses": {
  10688. "get": {
  10689. "security": [
  10690. {
  10691. "ApiKeyAuth": []
  10692. }
  10693. ],
  10694. "produces": [
  10695. "application/json"
  10696. ],
  10697. "tags": [
  10698. "用户信息"
  10699. ],
  10700. "summary": "获取用户商品收藏信息",
  10701. "parameters": [
  10702. {
  10703. "type": "integer",
  10704. "description": "用户ID",
  10705. "name": "userID",
  10706. "in": "query",
  10707. "required": true
  10708. }
  10709. ],
  10710. "responses": {
  10711. "200": {
  10712. "description": "OK",
  10713. "schema": {
  10714. "$ref": "#/definitions/models.Userfavoritegoods"
  10715. }
  10716. },
  10717. "500": {
  10718. "description": "Internal Server Error",
  10719. "schema": {
  10720. "$ref": "#/definitions/app.Response"
  10721. }
  10722. }
  10723. }
  10724. }
  10725. },
  10726. "/User/QueryUserInfo": {
  10727. "get": {
  10728. "security": [
  10729. {
  10730. "ApiKeyAuth": []
  10731. }
  10732. ],
  10733. "produces": [
  10734. "application/json"
  10735. ],
  10736. "tags": [
  10737. "用户信息"
  10738. ],
  10739. "summary": "获取用户信息",
  10740. "parameters": [
  10741. {
  10742. "type": "integer",
  10743. "description": "用户ID",
  10744. "name": "userID",
  10745. "in": "query",
  10746. "required": true
  10747. },
  10748. {
  10749. "type": "boolean",
  10750. "description": "是否解密",
  10751. "name": "isDecrypt",
  10752. "in": "query"
  10753. }
  10754. ],
  10755. "responses": {
  10756. "200": {
  10757. "description": "OK",
  10758. "schema": {
  10759. "$ref": "#/definitions/models.Userinfo"
  10760. }
  10761. },
  10762. "500": {
  10763. "description": "Internal Server Error",
  10764. "schema": {
  10765. "$ref": "#/definitions/app.Response"
  10766. }
  10767. }
  10768. }
  10769. }
  10770. },
  10771. "/User/QueryUserReferNum": {
  10772. "get": {
  10773. "produces": [
  10774. "application/json"
  10775. ],
  10776. "tags": [
  10777. "用户信息"
  10778. ],
  10779. "summary": "获取用户邀请码",
  10780. "parameters": [
  10781. {
  10782. "type": "integer",
  10783. "description": "用户ID",
  10784. "name": "userID",
  10785. "in": "query",
  10786. "required": true
  10787. }
  10788. ],
  10789. "responses": {
  10790. "200": {
  10791. "description": "OK",
  10792. "schema": {
  10793. "$ref": "#/definitions/app.Response"
  10794. }
  10795. },
  10796. "500": {
  10797. "description": "Internal Server Error",
  10798. "schema": {
  10799. "$ref": "#/definitions/app.Response"
  10800. }
  10801. }
  10802. }
  10803. }
  10804. },
  10805. "/User/RemoveUserFavoriteGoods": {
  10806. "post": {
  10807. "security": [
  10808. {
  10809. "ApiKeyAuth": []
  10810. }
  10811. ],
  10812. "produces": [
  10813. "application/json"
  10814. ],
  10815. "tags": [
  10816. "用户信息"
  10817. ],
  10818. "summary": "移除用户商品收藏信息",
  10819. "parameters": [
  10820. {
  10821. "type": "integer",
  10822. "description": "用户ID",
  10823. "name": "userID",
  10824. "in": "query",
  10825. "required": true
  10826. },
  10827. {
  10828. "type": "integer",
  10829. "description": "商品ID",
  10830. "name": "goodsID",
  10831. "in": "query",
  10832. "required": true
  10833. }
  10834. ],
  10835. "responses": {
  10836. "200": {
  10837. "description": "OK",
  10838. "schema": {
  10839. "$ref": "#/definitions/app.Response"
  10840. }
  10841. },
  10842. "500": {
  10843. "description": "Internal Server Error",
  10844. "schema": {
  10845. "$ref": "#/definitions/app.Response"
  10846. }
  10847. }
  10848. }
  10849. }
  10850. },
  10851. "/User/UpdateUserAccountStatus": {
  10852. "post": {
  10853. "security": [
  10854. {
  10855. "ApiKeyAuth": []
  10856. }
  10857. ],
  10858. "produces": [
  10859. "application/json"
  10860. ],
  10861. "tags": [
  10862. "用户信息"
  10863. ],
  10864. "summary": "更新用户状态",
  10865. "parameters": [
  10866. {
  10867. "type": "integer",
  10868. "description": "用户ID",
  10869. "name": "userID",
  10870. "in": "query",
  10871. "required": true
  10872. },
  10873. {
  10874. "type": "integer",
  10875. "description": "账户状态 - 4:正常 6:注销(停用)",
  10876. "name": "accountStatus",
  10877. "in": "query",
  10878. "required": true
  10879. }
  10880. ],
  10881. "responses": {
  10882. "200": {
  10883. "description": "OK",
  10884. "schema": {
  10885. "$ref": "#/definitions/app.Response"
  10886. }
  10887. },
  10888. "500": {
  10889. "description": "Internal Server Error",
  10890. "schema": {
  10891. "$ref": "#/definitions/app.Response"
  10892. }
  10893. }
  10894. }
  10895. }
  10896. },
  10897. "/WRTrade/GetAllDeliveryGoods": {
  10898. "get": {
  10899. "security": [
  10900. {
  10901. "ApiKeyAuth": []
  10902. },
  10903. {
  10904. "ApiKeyAuth": []
  10905. }
  10906. ],
  10907. "produces": [
  10908. "application/json",
  10909. "application/json"
  10910. ],
  10911. "tags": [
  10912. "仓单贸易",
  10913. "仓单贸易"
  10914. ],
  10915. "summary": "获取带仓单分类的种类信息",
  10916. "responses": {
  10917. "200": {
  10918. "description": "OK",
  10919. "schema": {
  10920. "$ref": "#/definitions/app.Response"
  10921. }
  10922. },
  10923. "500": {
  10924. "description": "Internal Server Error",
  10925. "schema": {
  10926. "$ref": "#/definitions/app.Response"
  10927. }
  10928. }
  10929. }
  10930. }
  10931. },
  10932. "/WrTrade2/QueryFilterItem": {
  10933. "get": {
  10934. "security": [
  10935. {
  10936. "ApiKeyAuth": []
  10937. }
  10938. ],
  10939. "produces": [
  10940. "application/json"
  10941. ],
  10942. "tags": [
  10943. "仓单贸易v2"
  10944. ],
  10945. "summary": "查询筛选框列表",
  10946. "parameters": [
  10947. {
  10948. "type": "string",
  10949. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  10950. "name": "itype",
  10951. "in": "query",
  10952. "required": true
  10953. }
  10954. ],
  10955. "responses": {
  10956. "200": {
  10957. "description": "OK",
  10958. "schema": {
  10959. "type": "array",
  10960. "items": {
  10961. "$ref": "#/definitions/models.WrFilterItem"
  10962. }
  10963. }
  10964. },
  10965. "500": {
  10966. "description": "Internal Server Error",
  10967. "schema": {
  10968. "$ref": "#/definitions/app.Response"
  10969. }
  10970. }
  10971. }
  10972. }
  10973. },
  10974. "/WrTrade2/QueryHoldLB": {
  10975. "get": {
  10976. "security": [
  10977. {
  10978. "ApiKeyAuth": []
  10979. }
  10980. ],
  10981. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  10982. "produces": [
  10983. "application/json"
  10984. ],
  10985. "tags": [
  10986. "仓单贸易v2"
  10987. ],
  10988. "summary": "查询仓单持有记录",
  10989. "parameters": [
  10990. {
  10991. "type": "integer",
  10992. "description": "资金账号",
  10993. "name": "accountid",
  10994. "in": "query",
  10995. "required": true
  10996. }
  10997. ],
  10998. "responses": {
  10999. "200": {
  11000. "description": "OK",
  11001. "schema": {
  11002. "type": "array",
  11003. "items": {
  11004. "$ref": "#/definitions/models.WrHoldLB"
  11005. }
  11006. }
  11007. },
  11008. "500": {
  11009. "description": "Internal Server Error",
  11010. "schema": {
  11011. "$ref": "#/definitions/app.Response"
  11012. }
  11013. }
  11014. }
  11015. }
  11016. },
  11017. "/WrTrade2/QueryOrderQuote": {
  11018. "get": {
  11019. "security": [
  11020. {
  11021. "ApiKeyAuth": []
  11022. }
  11023. ],
  11024. "produces": [
  11025. "application/json"
  11026. ],
  11027. "tags": [
  11028. "仓单贸易v2"
  11029. ],
  11030. "summary": "查询大厅行情列表",
  11031. "parameters": [
  11032. {
  11033. "type": "integer",
  11034. "description": "页码",
  11035. "name": "page",
  11036. "in": "query"
  11037. },
  11038. {
  11039. "type": "integer",
  11040. "description": "每页条数",
  11041. "name": "pagesize",
  11042. "in": "query"
  11043. },
  11044. {
  11045. "type": "integer",
  11046. "description": "仓单贸易市场id",
  11047. "name": "marketid",
  11048. "in": "query"
  11049. },
  11050. {
  11051. "type": "integer",
  11052. "description": "价格方式 - 1:固定价 2-浮动价",
  11053. "name": "wrpricetype",
  11054. "in": "query",
  11055. "required": true
  11056. },
  11057. {
  11058. "type": "integer",
  11059. "description": "0:仓单预售 1:仓单贸易",
  11060. "name": "haswr",
  11061. "in": "query",
  11062. "required": true
  11063. },
  11064. {
  11065. "type": "string",
  11066. "description": "商品名称(筛选条件)",
  11067. "name": "wrstandardname",
  11068. "in": "query"
  11069. },
  11070. {
  11071. "type": "string",
  11072. "description": "品牌名称(筛选条件)",
  11073. "name": "brandname",
  11074. "in": "query"
  11075. },
  11076. {
  11077. "type": "integer",
  11078. "description": "仓库id(筛选条件)",
  11079. "name": "warehouseid",
  11080. "in": "query"
  11081. },
  11082. {
  11083. "type": "integer",
  11084. "description": "品种id",
  11085. "name": "deliverygoodsid",
  11086. "in": "query"
  11087. }
  11088. ],
  11089. "responses": {
  11090. "200": {
  11091. "description": "OK",
  11092. "schema": {
  11093. "type": "array",
  11094. "items": {
  11095. "$ref": "#/definitions/models.WrOrderQuote"
  11096. }
  11097. }
  11098. },
  11099. "500": {
  11100. "description": "Internal Server Error",
  11101. "schema": {
  11102. "$ref": "#/definitions/app.Response"
  11103. }
  11104. }
  11105. }
  11106. }
  11107. },
  11108. "/WrTrade2/QueryOrderQuoteDetail": {
  11109. "get": {
  11110. "security": [
  11111. {
  11112. "ApiKeyAuth": []
  11113. }
  11114. ],
  11115. "produces": [
  11116. "application/json"
  11117. ],
  11118. "tags": [
  11119. "仓单贸易v2"
  11120. ],
  11121. "summary": "查询买卖大厅",
  11122. "parameters": [
  11123. {
  11124. "type": "integer",
  11125. "description": "页码",
  11126. "name": "page",
  11127. "in": "query"
  11128. },
  11129. {
  11130. "type": "integer",
  11131. "description": "每页条数",
  11132. "name": "pagesize",
  11133. "in": "query"
  11134. },
  11135. {
  11136. "type": "integer",
  11137. "description": "仓单贸易市场id",
  11138. "name": "marketid",
  11139. "in": "query"
  11140. },
  11141. {
  11142. "type": "integer",
  11143. "description": "价格方式 - 1:固定价 2-浮动价",
  11144. "name": "wrpricetype",
  11145. "in": "query",
  11146. "required": true
  11147. },
  11148. {
  11149. "type": "integer",
  11150. "description": "0:仓单预售 1:仓单贸易",
  11151. "name": "haswr",
  11152. "in": "query",
  11153. "required": true
  11154. },
  11155. {
  11156. "type": "integer",
  11157. "description": "仓单要素id",
  11158. "name": "wrfactortypeid",
  11159. "in": "query",
  11160. "required": true
  11161. },
  11162. {
  11163. "type": "integer",
  11164. "description": "期货商品id",
  11165. "name": "goodsid",
  11166. "in": "query",
  11167. "required": true
  11168. },
  11169. {
  11170. "type": "integer",
  11171. "description": "买卖方向 0-买 1-卖",
  11172. "name": "buyorsell",
  11173. "in": "query",
  11174. "required": true
  11175. }
  11176. ],
  11177. "responses": {
  11178. "200": {
  11179. "description": "OK",
  11180. "schema": {
  11181. "type": "array",
  11182. "items": {
  11183. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11184. }
  11185. }
  11186. },
  11187. "500": {
  11188. "description": "Internal Server Error",
  11189. "schema": {
  11190. "$ref": "#/definitions/app.Response"
  11191. }
  11192. }
  11193. }
  11194. }
  11195. },
  11196. "/WrTrade2/QueryPerformancePlan": {
  11197. "get": {
  11198. "security": [
  11199. {
  11200. "ApiKeyAuth": []
  11201. }
  11202. ],
  11203. "produces": [
  11204. "application/json"
  11205. ],
  11206. "tags": [
  11207. "仓单贸易v2"
  11208. ],
  11209. "summary": "查询履约信息",
  11210. "parameters": [
  11211. {
  11212. "type": "integer",
  11213. "description": "用户id",
  11214. "name": "userid",
  11215. "in": "query",
  11216. "required": true
  11217. },
  11218. {
  11219. "type": "integer",
  11220. "description": "买卖方向 0-买 1-卖",
  11221. "name": "buyorsell",
  11222. "in": "query",
  11223. "required": true
  11224. }
  11225. ],
  11226. "responses": {
  11227. "200": {
  11228. "description": "OK",
  11229. "schema": {
  11230. "type": "array",
  11231. "items": {
  11232. "$ref": "#/definitions/models.WrPerformancePlan"
  11233. }
  11234. }
  11235. },
  11236. "500": {
  11237. "description": "Internal Server Error",
  11238. "schema": {
  11239. "$ref": "#/definitions/app.Response"
  11240. }
  11241. }
  11242. }
  11243. }
  11244. },
  11245. "/WrTrade2/QueryWrGoodsInfo": {
  11246. "get": {
  11247. "security": [
  11248. {
  11249. "ApiKeyAuth": []
  11250. }
  11251. ],
  11252. "produces": [
  11253. "application/json"
  11254. ],
  11255. "tags": [
  11256. "仓单贸易v2"
  11257. ],
  11258. "summary": "查询仓单商品信息",
  11259. "parameters": [
  11260. {
  11261. "type": "integer",
  11262. "description": "仓单贸易市场id",
  11263. "name": "marketid",
  11264. "in": "query"
  11265. },
  11266. {
  11267. "type": "integer",
  11268. "description": "0:仓单预售 1:仓单贸易",
  11269. "name": "haswr",
  11270. "in": "query",
  11271. "required": true
  11272. },
  11273. {
  11274. "type": "integer",
  11275. "description": "仓单要素id",
  11276. "name": "wrfactortypeid",
  11277. "in": "query",
  11278. "required": true
  11279. }
  11280. ],
  11281. "responses": {
  11282. "200": {
  11283. "description": "OK",
  11284. "schema": {
  11285. "type": "array",
  11286. "items": {
  11287. "$ref": "#/definitions/models.WrGoodsInfo"
  11288. }
  11289. }
  11290. },
  11291. "500": {
  11292. "description": "Internal Server Error",
  11293. "schema": {
  11294. "$ref": "#/definitions/app.Response"
  11295. }
  11296. }
  11297. }
  11298. }
  11299. },
  11300. "/WrTrade2/QueryWrOrderDetail": {
  11301. "get": {
  11302. "security": [
  11303. {
  11304. "ApiKeyAuth": []
  11305. }
  11306. ],
  11307. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  11308. "produces": [
  11309. "application/json"
  11310. ],
  11311. "tags": [
  11312. "仓单贸易v2"
  11313. ],
  11314. "summary": "查询仓单委托单(挂单)",
  11315. "parameters": [
  11316. {
  11317. "type": "integer",
  11318. "description": "页码",
  11319. "name": "page",
  11320. "in": "query"
  11321. },
  11322. {
  11323. "type": "integer",
  11324. "description": "每页条数",
  11325. "name": "pagesize",
  11326. "in": "query"
  11327. },
  11328. {
  11329. "type": "integer",
  11330. "description": "用户id",
  11331. "name": "userid",
  11332. "in": "query",
  11333. "required": true
  11334. },
  11335. {
  11336. "type": "integer",
  11337. "description": "仓单贸易市场id",
  11338. "name": "marketid",
  11339. "in": "query"
  11340. },
  11341. {
  11342. "type": "integer",
  11343. "description": "0:仓单预售 1:仓单贸易",
  11344. "name": "haswr",
  11345. "in": "query",
  11346. "required": true
  11347. }
  11348. ],
  11349. "responses": {
  11350. "200": {
  11351. "description": "OK",
  11352. "schema": {
  11353. "type": "array",
  11354. "items": {
  11355. "$ref": "#/definitions/models.WrOrderDetail"
  11356. }
  11357. }
  11358. },
  11359. "500": {
  11360. "description": "Internal Server Error",
  11361. "schema": {
  11362. "$ref": "#/definitions/app.Response"
  11363. }
  11364. }
  11365. }
  11366. }
  11367. },
  11368. "/WrTrade2/QueryWrPosition": {
  11369. "get": {
  11370. "security": [
  11371. {
  11372. "ApiKeyAuth": []
  11373. }
  11374. ],
  11375. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  11376. "produces": [
  11377. "application/json"
  11378. ],
  11379. "tags": [
  11380. "仓单贸易v2"
  11381. ],
  11382. "summary": "查询现货(预售)仓单持仓",
  11383. "parameters": [
  11384. {
  11385. "type": "integer",
  11386. "description": "用户id",
  11387. "name": "userid",
  11388. "in": "query",
  11389. "required": true
  11390. },
  11391. {
  11392. "type": "integer",
  11393. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  11394. "name": "querytype",
  11395. "in": "query",
  11396. "required": true
  11397. }
  11398. ],
  11399. "responses": {
  11400. "200": {
  11401. "description": "OK",
  11402. "schema": {
  11403. "type": "array",
  11404. "items": {
  11405. "$ref": "#/definitions/models.WrPosition"
  11406. }
  11407. }
  11408. },
  11409. "500": {
  11410. "description": "Internal Server Error",
  11411. "schema": {
  11412. "$ref": "#/definitions/app.Response"
  11413. }
  11414. }
  11415. }
  11416. }
  11417. },
  11418. "/WrTrade2/QueryWrSpecialMatchOrder": {
  11419. "get": {
  11420. "security": [
  11421. {
  11422. "ApiKeyAuth": []
  11423. }
  11424. ],
  11425. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  11426. "produces": [
  11427. "application/json"
  11428. ],
  11429. "tags": [
  11430. "仓单贸易v2"
  11431. ],
  11432. "summary": "查询指定成交",
  11433. "parameters": [
  11434. {
  11435. "type": "integer",
  11436. "description": "页码",
  11437. "name": "page",
  11438. "in": "query"
  11439. },
  11440. {
  11441. "type": "integer",
  11442. "description": "每页条数",
  11443. "name": "pagesize",
  11444. "in": "query"
  11445. },
  11446. {
  11447. "type": "integer",
  11448. "description": "用户id",
  11449. "name": "userid",
  11450. "in": "query",
  11451. "required": true
  11452. },
  11453. {
  11454. "type": "integer",
  11455. "description": "仓单贸易市场id",
  11456. "name": "marketid",
  11457. "in": "query"
  11458. },
  11459. {
  11460. "type": "integer",
  11461. "description": "0:仓单预售 1:仓单贸易",
  11462. "name": "haswr",
  11463. "in": "query",
  11464. "required": true
  11465. }
  11466. ],
  11467. "responses": {
  11468. "200": {
  11469. "description": "OK",
  11470. "schema": {
  11471. "type": "array",
  11472. "items": {
  11473. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  11474. }
  11475. }
  11476. },
  11477. "500": {
  11478. "description": "Internal Server Error",
  11479. "schema": {
  11480. "$ref": "#/definitions/app.Response"
  11481. }
  11482. }
  11483. }
  11484. }
  11485. },
  11486. "/WrTrade2/QueryWrTradeDetail": {
  11487. "get": {
  11488. "security": [
  11489. {
  11490. "ApiKeyAuth": []
  11491. }
  11492. ],
  11493. "produces": [
  11494. "application/json"
  11495. ],
  11496. "tags": [
  11497. "仓单贸易v2"
  11498. ],
  11499. "summary": "查询仓单成交明细",
  11500. "parameters": [
  11501. {
  11502. "type": "integer",
  11503. "description": "页码",
  11504. "name": "page",
  11505. "in": "query"
  11506. },
  11507. {
  11508. "type": "integer",
  11509. "description": "每页条数",
  11510. "name": "pagesize",
  11511. "in": "query"
  11512. },
  11513. {
  11514. "type": "integer",
  11515. "description": "用户id",
  11516. "name": "userid",
  11517. "in": "query",
  11518. "required": true
  11519. },
  11520. {
  11521. "type": "integer",
  11522. "description": "仓单贸易市场id",
  11523. "name": "marketid",
  11524. "in": "query"
  11525. },
  11526. {
  11527. "type": "integer",
  11528. "description": "0:仓单预售 1:仓单贸易",
  11529. "name": "haswr",
  11530. "in": "query",
  11531. "required": true
  11532. }
  11533. ],
  11534. "responses": {
  11535. "200": {
  11536. "description": "OK",
  11537. "schema": {
  11538. "type": "array",
  11539. "items": {
  11540. "$ref": "#/definitions/models.WrTradeDetail"
  11541. }
  11542. }
  11543. },
  11544. "500": {
  11545. "description": "Internal Server Error",
  11546. "schema": {
  11547. "$ref": "#/definitions/app.Response"
  11548. }
  11549. }
  11550. }
  11551. }
  11552. }
  11553. },
  11554. "definitions": {
  11555. "app.Response": {
  11556. "type": "object",
  11557. "properties": {
  11558. "code": {
  11559. "type": "integer"
  11560. },
  11561. "data": {
  11562. "type": "object"
  11563. },
  11564. "msg": {
  11565. "type": "string"
  11566. },
  11567. "page": {
  11568. "description": "页码",
  11569. "type": "integer"
  11570. },
  11571. "pagesize": {
  11572. "description": "每页条数",
  11573. "type": "integer"
  11574. },
  11575. "total": {
  11576. "description": "总条数",
  11577. "type": "integer"
  11578. }
  11579. }
  11580. },
  11581. "common.ClientMenu": {
  11582. "type": "object",
  11583. "properties": {
  11584. "children": {
  11585. "description": "子菜单列表",
  11586. "type": "array",
  11587. "items": {
  11588. "$ref": "#/definitions/common.ClientMenu"
  11589. }
  11590. },
  11591. "code": {
  11592. "description": "ID",
  11593. "type": "string"
  11594. },
  11595. "isshow": {
  11596. "description": "是否显示",
  11597. "type": "boolean"
  11598. },
  11599. "remark": {
  11600. "description": "备注",
  11601. "type": "string"
  11602. },
  11603. "rulekey": {
  11604. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  11605. "type": "string"
  11606. },
  11607. "sort": {
  11608. "description": "排序",
  11609. "type": "integer"
  11610. },
  11611. "title": {
  11612. "description": "标题",
  11613. "type": "string"
  11614. },
  11615. "type": {
  11616. "description": "类型,1:菜单 2:按钮",
  11617. "type": "integer"
  11618. },
  11619. "url": {
  11620. "description": "URL",
  11621. "type": "string"
  11622. }
  11623. }
  11624. },
  11625. "common.QueryImageConfigsRsp": {
  11626. "type": "object",
  11627. "required": [
  11628. "configid"
  11629. ],
  11630. "properties": {
  11631. "areauserid": {
  11632. "description": "所属机构ID",
  11633. "type": "integer"
  11634. },
  11635. "configid": {
  11636. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  11637. "type": "integer"
  11638. },
  11639. "createdate": {
  11640. "description": "创建时间",
  11641. "type": "string"
  11642. },
  11643. "creatorid": {
  11644. "description": "创建人",
  11645. "type": "integer"
  11646. },
  11647. "imagepath": {
  11648. "description": "图片",
  11649. "type": "string"
  11650. },
  11651. "imagetype": {
  11652. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  11653. "type": "integer"
  11654. },
  11655. "isshow": {
  11656. "description": "是否展示 - 0:不展示 1:展示",
  11657. "type": "integer"
  11658. },
  11659. "marketid": {
  11660. "description": "市场ID",
  11661. "type": "integer"
  11662. },
  11663. "modifierid": {
  11664. "description": "操作人",
  11665. "type": "integer"
  11666. },
  11667. "sort": {
  11668. "description": "排序",
  11669. "type": "integer"
  11670. },
  11671. "title": {
  11672. "description": "标题",
  11673. "type": "string"
  11674. },
  11675. "trademode": {
  11676. "description": "交易模式",
  11677. "type": "integer"
  11678. },
  11679. "updatedate": {
  11680. "description": "修改时间",
  11681. "type": "string"
  11682. },
  11683. "url": {
  11684. "description": "链接(地址或商品ID)",
  11685. "type": "string"
  11686. },
  11687. "urltype": {
  11688. "description": "链接类型 - 1:直接地址 2:商品ID",
  11689. "type": "integer"
  11690. }
  11691. }
  11692. },
  11693. "common.QueryNoticeRsp": {
  11694. "type": "object",
  11695. "required": [
  11696. "autoid"
  11697. ],
  11698. "properties": {
  11699. "auditoruserid": {
  11700. "description": "审核人",
  11701. "type": "integer"
  11702. },
  11703. "auditremark": {
  11704. "description": "审核备注",
  11705. "type": "string"
  11706. },
  11707. "audittime": {
  11708. "description": "审核日期",
  11709. "type": "string"
  11710. },
  11711. "autoid": {
  11712. "description": "自增ID",
  11713. "type": "integer"
  11714. },
  11715. "content": {
  11716. "description": "内容",
  11717. "type": "string"
  11718. },
  11719. "createtime": {
  11720. "description": "创建时间",
  11721. "type": "string"
  11722. },
  11723. "creatorid": {
  11724. "description": "建仓人",
  11725. "type": "integer"
  11726. },
  11727. "endtime": {
  11728. "description": "结束时间",
  11729. "type": "string"
  11730. },
  11731. "istop": {
  11732. "description": "是否置顶 - 0:不置顶 1:置顶",
  11733. "type": "integer"
  11734. },
  11735. "msgiconurl": {
  11736. "description": "消息图标Url",
  11737. "type": "string"
  11738. },
  11739. "msgtype": {
  11740. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  11741. "type": "integer"
  11742. },
  11743. "publisher": {
  11744. "description": "消息发布者",
  11745. "type": "string"
  11746. },
  11747. "readed": {
  11748. "description": "是否已读",
  11749. "type": "boolean"
  11750. },
  11751. "scheduletime": {
  11752. "description": "计划发送时间",
  11753. "type": "string"
  11754. },
  11755. "sendtype": {
  11756. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  11757. "type": "integer"
  11758. },
  11759. "sentstatus": {
  11760. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  11761. "type": "integer"
  11762. },
  11763. "title": {
  11764. "description": "标题",
  11765. "type": "string"
  11766. },
  11767. "userid": {
  11768. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  11769. "type": "integer"
  11770. }
  11771. }
  11772. },
  11773. "common.QueryProvincesAndCitiesRsp": {
  11774. "type": "object",
  11775. "properties": {
  11776. "cities": {
  11777. "description": "市",
  11778. "type": "array",
  11779. "items": {
  11780. "$ref": "#/definitions/models.Division"
  11781. }
  11782. },
  11783. "province": {
  11784. "description": "省",
  11785. "type": "object",
  11786. "$ref": "#/definitions/models.Division"
  11787. }
  11788. }
  11789. },
  11790. "common.QueryTableDefineRsp": {
  11791. "type": "object",
  11792. "required": [
  11793. "tablekey"
  11794. ],
  11795. "properties": {
  11796. "columns": {
  11797. "description": "列头信息数组",
  11798. "type": "array",
  11799. "items": {
  11800. "$ref": "#/definitions/models.Tablecolumnconfig"
  11801. }
  11802. },
  11803. "remark": {
  11804. "description": "Remark",
  11805. "type": "string"
  11806. },
  11807. "tabelmenu": {
  11808. "description": "列表菜单",
  11809. "type": "string"
  11810. },
  11811. "tablekey": {
  11812. "description": "列表Key",
  11813. "type": "string"
  11814. },
  11815. "tablename": {
  11816. "description": "列表名称",
  11817. "type": "string"
  11818. },
  11819. "tabletype": {
  11820. "description": "列表类型 - 1:管理端 2:终端",
  11821. "type": "integer"
  11822. }
  11823. }
  11824. },
  11825. "common.QueryTraderMenuRsp": {
  11826. "type": "object",
  11827. "properties": {
  11828. "OperationMenu": {
  11829. "description": "功能菜单",
  11830. "type": "array",
  11831. "items": {
  11832. "$ref": "#/definitions/models.OperationPrimaryMenu"
  11833. }
  11834. },
  11835. "QuoteMenu": {
  11836. "description": "报价牌分类菜单",
  11837. "type": "array",
  11838. "items": {
  11839. "$ref": "#/definitions/models.QuotePrimaryMenu"
  11840. }
  11841. }
  11842. }
  11843. },
  11844. "cptrade.Cptradepositioncancel": {
  11845. "type": "object",
  11846. "required": [
  11847. "cancelid"
  11848. ],
  11849. "properties": {
  11850. "accountid": {
  11851. "description": "申请人账户ID",
  11852. "type": "integer"
  11853. },
  11854. "applystatus": {
  11855. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11856. "type": "integer"
  11857. },
  11858. "applytime": {
  11859. "description": "申请时间",
  11860. "type": "string"
  11861. },
  11862. "cancelid": {
  11863. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  11864. "type": "integer"
  11865. },
  11866. "cancelqty": {
  11867. "description": "注销数量",
  11868. "type": "integer"
  11869. },
  11870. "createtime": {
  11871. "description": "创建时间",
  11872. "type": "string"
  11873. },
  11874. "creatorid": {
  11875. "description": "创建人ID",
  11876. "type": "integer"
  11877. },
  11878. "creatorname": {
  11879. "description": "创建人",
  11880. "type": "string"
  11881. },
  11882. "goodscode": {
  11883. "description": "订单商品代码",
  11884. "type": "string"
  11885. },
  11886. "goodsid": {
  11887. "description": "商品ID",
  11888. "type": "integer"
  11889. },
  11890. "goodsname": {
  11891. "description": "订单商品名称",
  11892. "type": "string"
  11893. },
  11894. "goodunit": {
  11895. "description": "报价单位",
  11896. "type": "string"
  11897. },
  11898. "handlestatus": {
  11899. "description": "处理状态",
  11900. "type": "integer"
  11901. },
  11902. "marketid": {
  11903. "description": "市场ID",
  11904. "type": "integer"
  11905. },
  11906. "marketname": {
  11907. "description": "市场名称",
  11908. "type": "string"
  11909. },
  11910. "tradedate": {
  11911. "description": "交易日(yyyyMMdd)",
  11912. "type": "string"
  11913. },
  11914. "userid": {
  11915. "description": "申请人ID",
  11916. "type": "integer"
  11917. }
  11918. }
  11919. },
  11920. "cptrade.Cptradepresaleapply": {
  11921. "type": "object",
  11922. "required": [
  11923. "applyid"
  11924. ],
  11925. "properties": {
  11926. "accountid": {
  11927. "description": "申请人账户ID",
  11928. "type": "integer"
  11929. },
  11930. "applyid": {
  11931. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  11932. "type": "integer"
  11933. },
  11934. "applyremark": {
  11935. "description": "申请备注",
  11936. "type": "string"
  11937. },
  11938. "applystatus": {
  11939. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11940. "type": "integer"
  11941. },
  11942. "applytime": {
  11943. "description": "申请时间",
  11944. "type": "string"
  11945. },
  11946. "attachmenturl": {
  11947. "description": "附件地址",
  11948. "type": "string"
  11949. },
  11950. "endtime": {
  11951. "description": "预售结束时间",
  11952. "type": "string"
  11953. },
  11954. "goodscode": {
  11955. "description": "商品代码",
  11956. "type": "string"
  11957. },
  11958. "goodsid": {
  11959. "description": "商品ID",
  11960. "type": "integer"
  11961. },
  11962. "goodsname": {
  11963. "description": "商品名称",
  11964. "type": "string"
  11965. },
  11966. "goodunit": {
  11967. "description": "报价单位",
  11968. "type": "string"
  11969. },
  11970. "handlestatus": {
  11971. "description": "处理状态",
  11972. "type": "integer"
  11973. },
  11974. "marketid": {
  11975. "description": "预售市场ID",
  11976. "type": "integer"
  11977. },
  11978. "marketname": {
  11979. "description": "预售市场名称",
  11980. "type": "string"
  11981. },
  11982. "presaleqty": {
  11983. "description": "预售数量",
  11984. "type": "integer"
  11985. },
  11986. "relatedgoodscode": {
  11987. "description": "关联交易合约代码",
  11988. "type": "string"
  11989. },
  11990. "relatedgoodsid": {
  11991. "description": "关联交易合约ID",
  11992. "type": "integer"
  11993. },
  11994. "relatedgoodsname": {
  11995. "description": "关联交易合约名称",
  11996. "type": "string"
  11997. },
  11998. "starttime": {
  11999. "description": "预售开始时间",
  12000. "type": "string"
  12001. },
  12002. "tradedate": {
  12003. "description": "交易日(yyyyMMdd)",
  12004. "type": "string"
  12005. },
  12006. "trademode": {
  12007. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  12008. "type": "integer"
  12009. },
  12010. "userid": {
  12011. "description": "申请人ID",
  12012. "type": "integer"
  12013. }
  12014. }
  12015. },
  12016. "cptrade.Cptradeusergoodsdata": {
  12017. "type": "object",
  12018. "required": [
  12019. "accountid",
  12020. "goodsid"
  12021. ],
  12022. "properties": {
  12023. "EnabledQty": {
  12024. "description": "可用量",
  12025. "type": "integer"
  12026. },
  12027. "GoodsCode": {
  12028. "description": "订单商品代码",
  12029. "type": "string"
  12030. },
  12031. "GoodsName": {
  12032. "description": "订单商品名称",
  12033. "type": "string"
  12034. },
  12035. "WRStandardCode": {
  12036. "description": "仓单标准代码",
  12037. "type": "string"
  12038. },
  12039. "WRStandardName": {
  12040. "description": "仓单标准名称",
  12041. "type": "string"
  12042. },
  12043. "accountid": {
  12044. "description": "账户ID",
  12045. "type": "integer"
  12046. },
  12047. "cancelqty": {
  12048. "description": "注销量",
  12049. "type": "integer"
  12050. },
  12051. "curpresaleqty": {
  12052. "description": "当前预售量",
  12053. "type": "integer"
  12054. },
  12055. "deliveryqty": {
  12056. "description": "交割量",
  12057. "type": "integer"
  12058. },
  12059. "freezeamount": {
  12060. "description": "冻结金额",
  12061. "type": "number"
  12062. },
  12063. "goodsid": {
  12064. "description": "商品ID",
  12065. "type": "integer"
  12066. },
  12067. "goodunit": {
  12068. "description": "报价单位",
  12069. "type": "string"
  12070. },
  12071. "hasspotfreeze": {
  12072. "description": "是否有现货冻结 - 0:否 1:有",
  12073. "type": "integer"
  12074. },
  12075. "inqty": {
  12076. "description": "转入量(总数量)",
  12077. "type": "integer"
  12078. },
  12079. "marketid": {
  12080. "description": "市场ID",
  12081. "type": "integer"
  12082. },
  12083. "presaledamount": {
  12084. "description": "已预售总金额",
  12085. "type": "integer"
  12086. },
  12087. "presaledqty": {
  12088. "description": "已预售量",
  12089. "type": "integer"
  12090. },
  12091. "userid": {
  12092. "description": "用户ID",
  12093. "type": "integer"
  12094. },
  12095. "wrstandardid": {
  12096. "description": "仓单标准ID",
  12097. "type": "integer"
  12098. }
  12099. }
  12100. },
  12101. "cptrade.QueryCPTradeMyBidRsp": {
  12102. "type": "object",
  12103. "required": [
  12104. "accountid",
  12105. "goodsid",
  12106. "marketid",
  12107. "orderid",
  12108. "orderqty",
  12109. "ordertime",
  12110. "tradeprice",
  12111. "tradeqty"
  12112. ],
  12113. "properties": {
  12114. "accountid": {
  12115. "description": "账户ID[报价币种]",
  12116. "type": "integer"
  12117. },
  12118. "goodsid": {
  12119. "description": "商品ID",
  12120. "type": "integer"
  12121. },
  12122. "goodunit": {
  12123. "description": "报价单位",
  12124. "type": "string"
  12125. },
  12126. "marketid": {
  12127. "description": "市场ID",
  12128. "type": "integer"
  12129. },
  12130. "orderid": {
  12131. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12132. "type": "integer"
  12133. },
  12134. "orderprice": {
  12135. "description": "委托价格",
  12136. "type": "number"
  12137. },
  12138. "orderqty": {
  12139. "description": "委托数量",
  12140. "type": "integer"
  12141. },
  12142. "ordertime": {
  12143. "description": "委托时间",
  12144. "type": "string"
  12145. },
  12146. "ordertotalprice": {
  12147. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  12148. "type": "number"
  12149. },
  12150. "ordertotalweight": {
  12151. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  12152. "type": "integer"
  12153. },
  12154. "totaltotalprice": {
  12155. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  12156. "type": "number"
  12157. },
  12158. "tradeprice": {
  12159. "description": "成交价格",
  12160. "type": "number"
  12161. },
  12162. "tradeqty": {
  12163. "description": "成交数量",
  12164. "type": "integer"
  12165. }
  12166. }
  12167. },
  12168. "cptrade.QueryCPTradeOrderDetailRsq": {
  12169. "type": "object",
  12170. "required": [
  12171. "accountid",
  12172. "buildtype",
  12173. "buyorsell",
  12174. "goodsid",
  12175. "marketid",
  12176. "memberuserid",
  12177. "operatetype",
  12178. "orderqty",
  12179. "ordertime",
  12180. "pricemode",
  12181. "strorderid",
  12182. "tradedate",
  12183. "validtype"
  12184. ],
  12185. "properties": {
  12186. "accountid": {
  12187. "description": "账户ID[报价币种]",
  12188. "type": "integer"
  12189. },
  12190. "buildtype": {
  12191. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12192. "type": "integer"
  12193. },
  12194. "buyorsell": {
  12195. "description": "买卖 - 0:买 1:卖",
  12196. "type": "integer"
  12197. },
  12198. "cancelorderid": {
  12199. "description": "撤单单号(撤单时填写)",
  12200. "type": "integer"
  12201. },
  12202. "cancelqty": {
  12203. "description": "撤单数量",
  12204. "type": "integer"
  12205. },
  12206. "clientordertime": {
  12207. "description": "客户端委托时间",
  12208. "type": "string"
  12209. },
  12210. "clientticket": {
  12211. "description": "客户端流水号",
  12212. "type": "string"
  12213. },
  12214. "clienttype": {
  12215. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12216. "type": "integer"
  12217. },
  12218. "closeexchagechargevalue": {
  12219. "description": "平仓交易所手续费设置值",
  12220. "type": "number"
  12221. },
  12222. "closefeealgorithm": {
  12223. "description": "平仓手续费收取方式 1:比率 2:固定",
  12224. "type": "integer"
  12225. },
  12226. "closefreezecharge": {
  12227. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12228. "type": "number"
  12229. },
  12230. "closememberchargevalue": {
  12231. "description": "平仓会员手续费设置值",
  12232. "type": "number"
  12233. },
  12234. "closeqty": {
  12235. "description": "平仓数量(先建后平操作 需要记录)",
  12236. "type": "integer"
  12237. },
  12238. "closetradeqty": {
  12239. "description": "平仓成交数量(先建后平操作,需要记录)",
  12240. "type": "integer"
  12241. },
  12242. "closeunfreezecharge": {
  12243. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12244. "type": "number"
  12245. },
  12246. "delistingtype": {
  12247. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12248. "type": "integer"
  12249. },
  12250. "freezecharge": {
  12251. "description": "冻结手续费",
  12252. "type": "number"
  12253. },
  12254. "freezemargin": {
  12255. "description": "冻结保证金(冻结交易金额)",
  12256. "type": "number"
  12257. },
  12258. "gcaccountid": {
  12259. "description": "账户ID[合约币种]",
  12260. "type": "integer"
  12261. },
  12262. "goodsid": {
  12263. "description": "商品ID",
  12264. "type": "integer"
  12265. },
  12266. "isconfirmexercise": {
  12267. "description": "是否确认行权- 0:否 1:是",
  12268. "type": "integer"
  12269. },
  12270. "ispreexercise": {
  12271. "description": "是否预申报- 0:否 1:是",
  12272. "type": "integer"
  12273. },
  12274. "listingselecttype": {
  12275. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12276. "type": "integer"
  12277. },
  12278. "marginalgorithm": {
  12279. "description": "保证金收取方式 1:比率 2:固定",
  12280. "type": "integer"
  12281. },
  12282. "marginvalue": {
  12283. "description": "即市保证金设置值",
  12284. "type": "number"
  12285. },
  12286. "marketid": {
  12287. "description": "市场ID",
  12288. "type": "integer"
  12289. },
  12290. "marketmaxsub": {
  12291. "description": "市价最大偏移范围",
  12292. "type": "number"
  12293. },
  12294. "memberuserid": {
  12295. "description": "所属会员UserID",
  12296. "type": "integer"
  12297. },
  12298. "openexchagechargevalue": {
  12299. "description": "建仓交易所手续费设置值",
  12300. "type": "number"
  12301. },
  12302. "openfeealgorithm": {
  12303. "description": "建仓手续费收取方式 1:比率 2:固定",
  12304. "type": "integer"
  12305. },
  12306. "openfreezecharge": {
  12307. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12308. "type": "number"
  12309. },
  12310. "openmemberchargevalue": {
  12311. "description": "建仓会员手续费设置值",
  12312. "type": "number"
  12313. },
  12314. "openqty": {
  12315. "description": "开仓数量(先建后平操作,需要记录)",
  12316. "type": "integer"
  12317. },
  12318. "opentradeqty": {
  12319. "description": "开仓成交数量(先建后平操作,需要记录)",
  12320. "type": "integer"
  12321. },
  12322. "openunfreezecharge": {
  12323. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12324. "type": "number"
  12325. },
  12326. "operatetype": {
  12327. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12328. "type": "integer"
  12329. },
  12330. "operatorid": {
  12331. "description": "登录账号(LoginID)",
  12332. "type": "integer"
  12333. },
  12334. "optiontype": {
  12335. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12336. "type": "integer"
  12337. },
  12338. "orderprice": {
  12339. "description": "委托价格",
  12340. "type": "number"
  12341. },
  12342. "orderqty": {
  12343. "description": "委托数量",
  12344. "type": "integer"
  12345. },
  12346. "ordersrc": {
  12347. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12348. "type": "integer"
  12349. },
  12350. "orderstatus": {
  12351. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12352. "type": "integer"
  12353. },
  12354. "ordertime": {
  12355. "description": "委托时间",
  12356. "type": "string"
  12357. },
  12358. "preexerciseprice": {
  12359. "description": "预申报价格",
  12360. "type": "number"
  12361. },
  12362. "premium": {
  12363. "description": "权利金",
  12364. "type": "number"
  12365. },
  12366. "preorderid": {
  12367. "description": "关联预埋单号(止盈止损单时填写)",
  12368. "type": "integer"
  12369. },
  12370. "pricemode": {
  12371. "description": "取价方式 - 1:市价 2: 限价",
  12372. "type": "integer"
  12373. },
  12374. "quoteid": {
  12375. "description": "报价单ID",
  12376. "type": "integer"
  12377. },
  12378. "relatedid": {
  12379. "description": "关联单号(交割单)",
  12380. "type": "integer"
  12381. },
  12382. "retcode": {
  12383. "description": "错误代码",
  12384. "type": "integer"
  12385. },
  12386. "sessionid": {
  12387. "description": "会话ID",
  12388. "type": "integer"
  12389. },
  12390. "strorderid": {
  12391. "description": "委托单号",
  12392. "type": "string"
  12393. },
  12394. "tradedate": {
  12395. "description": "交易日(yyyyMMdd)",
  12396. "type": "string"
  12397. },
  12398. "tradeproperty": {
  12399. "description": "交易属性",
  12400. "type": "integer"
  12401. },
  12402. "tradeqty": {
  12403. "description": "成交数量",
  12404. "type": "integer"
  12405. },
  12406. "unfreezecharge": {
  12407. "description": "解冻手续费",
  12408. "type": "number"
  12409. },
  12410. "unfreezemargin": {
  12411. "description": "解冻保证金",
  12412. "type": "number"
  12413. },
  12414. "updatetime": {
  12415. "description": "更新时间",
  12416. "type": "string"
  12417. },
  12418. "uuid": {
  12419. "description": "发起端唯一id",
  12420. "type": "string"
  12421. },
  12422. "validtime": {
  12423. "description": "有效期限",
  12424. "type": "string"
  12425. },
  12426. "validtype": {
  12427. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12428. "type": "integer"
  12429. },
  12430. "volumetype": {
  12431. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12432. "type": "integer"
  12433. }
  12434. }
  12435. },
  12436. "cptrade.QueryMyCPTradeGoodsRsp": {
  12437. "type": "object",
  12438. "required": [
  12439. "goodscode",
  12440. "goodsid",
  12441. "goodsname",
  12442. "marketid",
  12443. "relatedgoodscode",
  12444. "relatedgoodsname"
  12445. ],
  12446. "properties": {
  12447. "accountid": {
  12448. "description": "卖方账户ID",
  12449. "type": "integer"
  12450. },
  12451. "agreeunit": {
  12452. "description": "合约单位",
  12453. "type": "number"
  12454. },
  12455. "applyid": {
  12456. "description": "关联申请ID",
  12457. "type": "integer"
  12458. },
  12459. "attachmenturl": {
  12460. "description": "附件地址",
  12461. "type": "string"
  12462. },
  12463. "createtime": {
  12464. "description": "创建时间",
  12465. "type": "string"
  12466. },
  12467. "currencyid": {
  12468. "description": "报价货币ID",
  12469. "type": "integer"
  12470. },
  12471. "decimalplace": {
  12472. "description": "报价小数位",
  12473. "type": "integer"
  12474. },
  12475. "endtime": {
  12476. "description": "预售结束时间",
  12477. "type": "string"
  12478. },
  12479. "floorprice": {
  12480. "description": "底价[大宗式竞拍]",
  12481. "type": "number"
  12482. },
  12483. "goodscode": {
  12484. "description": "商品代码(预售)",
  12485. "type": "string"
  12486. },
  12487. "goodsdetail": {
  12488. "description": "详情[大宗]",
  12489. "type": "string"
  12490. },
  12491. "goodsid": {
  12492. "description": "商品ID(自增ID SEQ_GOODS)",
  12493. "type": "integer"
  12494. },
  12495. "goodsname": {
  12496. "description": "商品名称(预售)",
  12497. "type": "string"
  12498. },
  12499. "goodunit": {
  12500. "description": "报价单位",
  12501. "type": "string"
  12502. },
  12503. "goodunitid": {
  12504. "description": "报价单位ID",
  12505. "type": "integer"
  12506. },
  12507. "marketid": {
  12508. "description": "所属市场ID",
  12509. "type": "integer"
  12510. },
  12511. "marketname": {
  12512. "description": "预售市场名称",
  12513. "type": "string"
  12514. },
  12515. "presaledamount": {
  12516. "description": "已预售总金额(预售结束时更新)",
  12517. "type": "number"
  12518. },
  12519. "presaledqty": {
  12520. "description": "已预售量(预售结束时更新)",
  12521. "type": "integer"
  12522. },
  12523. "presalemode": {
  12524. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12525. "type": "integer"
  12526. },
  12527. "presaleqty": {
  12528. "description": "预售数量",
  12529. "type": "integer"
  12530. },
  12531. "refprice": {
  12532. "description": "参考价格[一口价]",
  12533. "type": "number"
  12534. },
  12535. "relatedgoodscode": {
  12536. "description": "商品代码(订单)",
  12537. "type": "string"
  12538. },
  12539. "relatedgoodsid": {
  12540. "description": "关联交易合约ID",
  12541. "type": "integer"
  12542. },
  12543. "relatedgoodsname": {
  12544. "description": "商品名称(订单)",
  12545. "type": "string"
  12546. },
  12547. "relatedmarketid": {
  12548. "description": "关联交易合约市场ID",
  12549. "type": "integer"
  12550. },
  12551. "sellstatus": {
  12552. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12553. "type": "integer"
  12554. },
  12555. "startprice": {
  12556. "description": "起拍价[大宗式竞拍]",
  12557. "type": "number"
  12558. },
  12559. "starttime": {
  12560. "description": "预售开始时间",
  12561. "type": "string"
  12562. },
  12563. "tradedate": {
  12564. "description": "交易日(yyyyMMdd)",
  12565. "type": "string"
  12566. },
  12567. "tradeprice": {
  12568. "description": "成交价[大宗]",
  12569. "type": "number"
  12570. },
  12571. "userid": {
  12572. "description": "卖方用户ID",
  12573. "type": "integer"
  12574. }
  12575. }
  12576. },
  12577. "cptrade.QueryPresaleGoodsExRsp": {
  12578. "type": "object",
  12579. "required": [
  12580. "goodsid"
  12581. ],
  12582. "properties": {
  12583. "attachmenturl": {
  12584. "description": "附件地址",
  12585. "type": "string"
  12586. },
  12587. "createtime": {
  12588. "description": "创建时间",
  12589. "type": "string"
  12590. },
  12591. "endtime": {
  12592. "description": "预售结束时间",
  12593. "type": "string"
  12594. },
  12595. "floorprice": {
  12596. "description": "底价[大宗式竞拍]",
  12597. "type": "number"
  12598. },
  12599. "goodsdetail": {
  12600. "description": "详情[大宗]",
  12601. "type": "string"
  12602. },
  12603. "goodsid": {
  12604. "description": "商品ID(预售)",
  12605. "type": "integer"
  12606. },
  12607. "goodunit": {
  12608. "description": "报价单位",
  12609. "type": "string"
  12610. },
  12611. "marketid": {
  12612. "description": "预售市场ID - 根据预售模式选择市场",
  12613. "type": "integer"
  12614. },
  12615. "presaledamount": {
  12616. "description": "已预售总金额(预售结束时更新)",
  12617. "type": "number"
  12618. },
  12619. "presaledqty": {
  12620. "description": "已预售量(预售结束时更新)",
  12621. "type": "integer"
  12622. },
  12623. "presalemode": {
  12624. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12625. "type": "integer"
  12626. },
  12627. "presaleqty": {
  12628. "description": "预售数量",
  12629. "type": "integer"
  12630. },
  12631. "refprice": {
  12632. "description": "参考价格[一口价]",
  12633. "type": "number"
  12634. },
  12635. "relatedgoodsid": {
  12636. "description": "关联交易合约ID",
  12637. "type": "integer"
  12638. },
  12639. "relatedmarketid": {
  12640. "description": "关联交易合约市场ID",
  12641. "type": "integer"
  12642. },
  12643. "sellstatus": {
  12644. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12645. "type": "integer"
  12646. },
  12647. "startprice": {
  12648. "description": "起拍价[大宗式竞拍]",
  12649. "type": "number"
  12650. },
  12651. "starttime": {
  12652. "description": "预售开始时间",
  12653. "type": "string"
  12654. },
  12655. "tradedate": {
  12656. "description": "交易日(yyyyMMdd)",
  12657. "type": "string"
  12658. },
  12659. "tradeprice": {
  12660. "description": "成交价[大宗]",
  12661. "type": "number"
  12662. }
  12663. }
  12664. },
  12665. "delivery.QueryDeliveryRelationRsp": {
  12666. "type": "object",
  12667. "required": [
  12668. "begindate",
  12669. "enddate",
  12670. "goodsid",
  12671. "mindeliveryqty",
  12672. "xdeliveryratio"
  12673. ],
  12674. "properties": {
  12675. "begindate": {
  12676. "description": "起始日期(yyyyMMdd)",
  12677. "type": "string"
  12678. },
  12679. "buytemplateid": {
  12680. "description": "买履约计划模板ID",
  12681. "type": "integer"
  12682. },
  12683. "deliverygoodscode": {
  12684. "description": "品种代码",
  12685. "type": "string"
  12686. },
  12687. "deliverygoodsid": {
  12688. "description": "交割商品",
  12689. "type": "integer"
  12690. },
  12691. "deliverygoodsname": {
  12692. "description": "品种名称",
  12693. "type": "string"
  12694. },
  12695. "deliverymode": {
  12696. "description": "交割方式 - 1:点选式 2:申报式",
  12697. "type": "integer"
  12698. },
  12699. "deliverypricerule": {
  12700. "description": "交割价规则- 1:行情价 2:建仓价",
  12701. "type": "integer"
  12702. },
  12703. "deliverytype": {
  12704. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  12705. "type": "integer"
  12706. },
  12707. "enddate": {
  12708. "description": "结束日期(yyyyMMdd)",
  12709. "type": "string"
  12710. },
  12711. "goodscode": {
  12712. "description": "商品代码",
  12713. "type": "string"
  12714. },
  12715. "goodsid": {
  12716. "description": "交易合约ID",
  12717. "type": "integer"
  12718. },
  12719. "goodsname": {
  12720. "description": "商品名称",
  12721. "type": "string"
  12722. },
  12723. "marketid": {
  12724. "description": "市场ID",
  12725. "type": "integer"
  12726. },
  12727. "mindeliveryqty": {
  12728. "description": "最小交割系数(K)",
  12729. "type": "integer"
  12730. },
  12731. "p2deliveryprice": {
  12732. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  12733. "type": "number"
  12734. },
  12735. "p2deliveryratio": {
  12736. "description": "P2合约系数(p)",
  12737. "type": "integer"
  12738. },
  12739. "p2goodsid": {
  12740. "description": "P2合约ID",
  12741. "type": "integer"
  12742. },
  12743. "p2pricemode": {
  12744. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  12745. "type": "integer"
  12746. },
  12747. "pdeliveryprice": {
  12748. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  12749. "type": "number"
  12750. },
  12751. "pdeliveryratio": {
  12752. "description": "P合约系数(n)",
  12753. "type": "integer"
  12754. },
  12755. "pgoodsid": {
  12756. "description": "P合约ID",
  12757. "type": "integer"
  12758. },
  12759. "ppricemode": {
  12760. "description": "P合约价格方式 - 1:商品价 2:固定值",
  12761. "type": "integer"
  12762. },
  12763. "rratio": {
  12764. "description": "兑换系数(R)",
  12765. "type": "integer"
  12766. },
  12767. "rratio1": {
  12768. "description": "兑换系数(交易合约)(R1)",
  12769. "type": "integer"
  12770. },
  12771. "rratio2": {
  12772. "description": "兑换系数(仓单标准)(R2)",
  12773. "type": "integer"
  12774. },
  12775. "selltemplateid": {
  12776. "description": "卖履约计划模板ID",
  12777. "type": "integer"
  12778. },
  12779. "wrstandardid": {
  12780. "description": "仓单标准ID",
  12781. "type": "integer"
  12782. },
  12783. "xdeliveryratio": {
  12784. "description": "交易合约系数(m)",
  12785. "type": "integer"
  12786. }
  12787. }
  12788. },
  12789. "ermcp.ExposureDetailRsp": {
  12790. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  12791. },
  12792. "ermcp.ExposureHedgePosDetailRsp": {
  12793. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  12794. },
  12795. "ermcp.ExposureHedgePositionRsp": {
  12796. "$ref": "#/definitions/models.ErmcpHedgePosition"
  12797. },
  12798. "ermcp.ExposureSpotDetailRsp": {
  12799. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  12800. },
  12801. "ermcp.ExposureSpotRsp": {
  12802. "$ref": "#/definitions/models.AreaSpotModel"
  12803. },
  12804. "ermcp.HisExposureRsp": {
  12805. "$ref": "#/definitions/models.ErmcpHisExposureS"
  12806. },
  12807. "ermcp.PendingAuditCntRsp": {
  12808. "$ref": "#/definitions/models.ErmcpPendingAudit"
  12809. },
  12810. "ermcp.QryAvalidGPRsp": {
  12811. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  12812. },
  12813. "ermcp.QryBusinessDjRsp": {
  12814. "type": "object",
  12815. "properties": {
  12816. "amount": {
  12817. "description": "点价金额=(点价价格+升贴水)*点价数量",
  12818. "type": "number"
  12819. },
  12820. "applyid": {
  12821. "description": "申请人",
  12822. "type": "string"
  12823. },
  12824. "applyname": {
  12825. "description": "申请人名称",
  12826. "type": "string"
  12827. },
  12828. "applystatus": {
  12829. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12830. "type": "integer"
  12831. },
  12832. "applytime": {
  12833. "description": "申请时间",
  12834. "type": "string"
  12835. },
  12836. "attachurl": {
  12837. "description": "附件",
  12838. "type": "string"
  12839. },
  12840. "auditid": {
  12841. "description": "审核人ID",
  12842. "type": "string"
  12843. },
  12844. "auditname": {
  12845. "description": "审核人名称",
  12846. "type": "string"
  12847. },
  12848. "audittime": {
  12849. "description": "审核时间",
  12850. "type": "string"
  12851. },
  12852. "buyusername": {
  12853. "description": "采购方名称",
  12854. "type": "string"
  12855. },
  12856. "contractno": {
  12857. "description": "合同编号",
  12858. "type": "string"
  12859. },
  12860. "contractstatus": {
  12861. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12862. "type": "integer"
  12863. },
  12864. "contracttype": {
  12865. "description": "现货合同类型 - 1:采购 -1:销售",
  12866. "type": "integer"
  12867. },
  12868. "deliverygoodscode": {
  12869. "description": "现货品种代码",
  12870. "type": "string"
  12871. },
  12872. "deliverygoodsid": {
  12873. "description": "现货商品ID",
  12874. "type": "integer"
  12875. },
  12876. "deliverygoodsname": {
  12877. "description": "现货品种名称",
  12878. "type": "string"
  12879. },
  12880. "enumdicname": {
  12881. "description": "单位名称",
  12882. "type": "string"
  12883. },
  12884. "goodscode": {
  12885. "description": "点价合约",
  12886. "type": "string"
  12887. },
  12888. "goodsname": {
  12889. "description": "商品名称",
  12890. "type": "string"
  12891. },
  12892. "operateapplyid": {
  12893. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12894. "type": "string"
  12895. },
  12896. "operateapplytype": {
  12897. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12898. "type": "integer"
  12899. },
  12900. "pricedPrice": {
  12901. "description": "点价价格(非必填)",
  12902. "type": "number"
  12903. },
  12904. "pricedQty": {
  12905. "description": "点价数量(非必填)",
  12906. "type": "number"
  12907. },
  12908. "pricemove": {
  12909. "description": "升贴水",
  12910. "type": "number"
  12911. },
  12912. "pricetype": {
  12913. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12914. "type": "integer"
  12915. },
  12916. "relatedid": {
  12917. "description": "现货合同ID",
  12918. "type": "string"
  12919. },
  12920. "sellusername": {
  12921. "description": "销售方名字",
  12922. "type": "string"
  12923. },
  12924. "userid": {
  12925. "description": "用户ID",
  12926. "type": "integer"
  12927. },
  12928. "wrstandardcode": {
  12929. "description": "品类代码",
  12930. "type": "string"
  12931. },
  12932. "wrstandardid": {
  12933. "description": "品类id",
  12934. "type": "integer"
  12935. },
  12936. "wrstandardname": {
  12937. "description": "品类名称",
  12938. "type": "string"
  12939. }
  12940. }
  12941. },
  12942. "ermcp.QryBussinessFpRsp": {
  12943. "type": "object",
  12944. "properties": {
  12945. "applyid": {
  12946. "description": "申请人",
  12947. "type": "string"
  12948. },
  12949. "applyname": {
  12950. "description": "申请人名称",
  12951. "type": "string"
  12952. },
  12953. "applystatus": {
  12954. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12955. "type": "integer"
  12956. },
  12957. "applytime": {
  12958. "description": "申请时间",
  12959. "type": "string"
  12960. },
  12961. "attachurl": {
  12962. "description": "附件",
  12963. "type": "string"
  12964. },
  12965. "auditid": {
  12966. "description": "审核人ID",
  12967. "type": "string"
  12968. },
  12969. "auditname": {
  12970. "description": "审核人名称",
  12971. "type": "string"
  12972. },
  12973. "audittime": {
  12974. "description": "审核时间",
  12975. "type": "string"
  12976. },
  12977. "buyusername": {
  12978. "description": "采购方名称",
  12979. "type": "string"
  12980. },
  12981. "contractno": {
  12982. "description": "合同编号",
  12983. "type": "string"
  12984. },
  12985. "contractstatus": {
  12986. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12987. "type": "integer"
  12988. },
  12989. "contracttype": {
  12990. "description": "现货合同类型 - 1:采购 -1:销售",
  12991. "type": "integer"
  12992. },
  12993. "deliverygoodscode": {
  12994. "description": "现货品种代码",
  12995. "type": "string"
  12996. },
  12997. "deliverygoodsid": {
  12998. "description": "现货商品ID",
  12999. "type": "integer"
  13000. },
  13001. "deliverygoodsname": {
  13002. "description": "现货品种名称",
  13003. "type": "string"
  13004. },
  13005. "enumdicname": {
  13006. "description": "单位名称",
  13007. "type": "string"
  13008. },
  13009. "goodscode": {
  13010. "description": "点价合约",
  13011. "type": "string"
  13012. },
  13013. "goodsname": {
  13014. "description": "商品名称",
  13015. "type": "string"
  13016. },
  13017. "invoiceAmount": {
  13018. "description": "已开收票金额(销售为开票,采购为收票)",
  13019. "type": "number"
  13020. },
  13021. "operateapplyid": {
  13022. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13023. "type": "string"
  13024. },
  13025. "operateapplytype": {
  13026. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13027. "type": "integer"
  13028. },
  13029. "pricemove": {
  13030. "description": "升贴水",
  13031. "type": "number"
  13032. },
  13033. "pricetype": {
  13034. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13035. "type": "integer"
  13036. },
  13037. "relatedid": {
  13038. "description": "现货合同ID",
  13039. "type": "string"
  13040. },
  13041. "sellusername": {
  13042. "description": "销售方名字",
  13043. "type": "string"
  13044. },
  13045. "userid": {
  13046. "description": "用户ID",
  13047. "type": "integer"
  13048. },
  13049. "wrstandardcode": {
  13050. "description": "品类代码",
  13051. "type": "string"
  13052. },
  13053. "wrstandardid": {
  13054. "description": "品类id",
  13055. "type": "integer"
  13056. },
  13057. "wrstandardname": {
  13058. "description": "品类名称",
  13059. "type": "string"
  13060. }
  13061. }
  13062. },
  13063. "ermcp.QryBussinessJsExRsp": {
  13064. "type": "object",
  13065. "properties": {
  13066. "applyid": {
  13067. "description": "申请人",
  13068. "type": "string"
  13069. },
  13070. "applyname": {
  13071. "description": "申请人名称",
  13072. "type": "string"
  13073. },
  13074. "applystatus": {
  13075. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13076. "type": "integer"
  13077. },
  13078. "applytime": {
  13079. "description": "申请时间",
  13080. "type": "string"
  13081. },
  13082. "attachurl": {
  13083. "description": "附件",
  13084. "type": "string"
  13085. },
  13086. "auditid": {
  13087. "description": "审核人ID",
  13088. "type": "string"
  13089. },
  13090. "auditname": {
  13091. "description": "审核人名称",
  13092. "type": "string"
  13093. },
  13094. "audittime": {
  13095. "description": "审核时间",
  13096. "type": "string"
  13097. },
  13098. "buyusername": {
  13099. "description": "采购方名称",
  13100. "type": "string"
  13101. },
  13102. "contractno": {
  13103. "description": "合同编号",
  13104. "type": "string"
  13105. },
  13106. "contractstatus": {
  13107. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13108. "type": "integer"
  13109. },
  13110. "contracttype": {
  13111. "description": "现货合同类型 - 1:采购 -1:销售",
  13112. "type": "integer"
  13113. },
  13114. "deliverygoodscode": {
  13115. "description": "现货品种代码",
  13116. "type": "string"
  13117. },
  13118. "deliverygoodsid": {
  13119. "description": "现货商品ID",
  13120. "type": "integer"
  13121. },
  13122. "deliverygoodsname": {
  13123. "description": "现货品种名称",
  13124. "type": "string"
  13125. },
  13126. "enumdicname": {
  13127. "description": "单位名称",
  13128. "type": "string"
  13129. },
  13130. "goodscode": {
  13131. "description": "点价合约",
  13132. "type": "string"
  13133. },
  13134. "goodsname": {
  13135. "description": "商品名称",
  13136. "type": "string"
  13137. },
  13138. "operateapplyid": {
  13139. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13140. "type": "string"
  13141. },
  13142. "operateapplytype": {
  13143. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13144. "type": "integer"
  13145. },
  13146. "pricemove": {
  13147. "description": "升贴水",
  13148. "type": "number"
  13149. },
  13150. "pricetype": {
  13151. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13152. "type": "integer"
  13153. },
  13154. "reckontype": {
  13155. "description": "结算类型",
  13156. "type": "string"
  13157. },
  13158. "reckonvalue": {
  13159. "description": "值",
  13160. "type": "number"
  13161. },
  13162. "relatedid": {
  13163. "description": "现货合同ID",
  13164. "type": "string"
  13165. },
  13166. "sellusername": {
  13167. "description": "销售方名字",
  13168. "type": "string"
  13169. },
  13170. "userid": {
  13171. "description": "用户ID",
  13172. "type": "integer"
  13173. },
  13174. "wrstandardcode": {
  13175. "description": "品类代码",
  13176. "type": "string"
  13177. },
  13178. "wrstandardid": {
  13179. "description": "品类id",
  13180. "type": "integer"
  13181. },
  13182. "wrstandardname": {
  13183. "description": "品类名称",
  13184. "type": "string"
  13185. }
  13186. }
  13187. },
  13188. "ermcp.QryBussinessJsRsp": {
  13189. "type": "object",
  13190. "properties": {
  13191. "addmargin": {
  13192. "description": "追加保证金(非必填)",
  13193. "type": "number"
  13194. },
  13195. "applyid": {
  13196. "description": "申请人",
  13197. "type": "string"
  13198. },
  13199. "applyname": {
  13200. "description": "申请人名称",
  13201. "type": "string"
  13202. },
  13203. "applystatus": {
  13204. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13205. "type": "integer"
  13206. },
  13207. "applytime": {
  13208. "description": "申请时间",
  13209. "type": "string"
  13210. },
  13211. "attachurl": {
  13212. "description": "附件",
  13213. "type": "string"
  13214. },
  13215. "auditid": {
  13216. "description": "审核人ID",
  13217. "type": "string"
  13218. },
  13219. "auditname": {
  13220. "description": "审核人名称",
  13221. "type": "string"
  13222. },
  13223. "audittime": {
  13224. "description": "审核时间",
  13225. "type": "string"
  13226. },
  13227. "buyusername": {
  13228. "description": "采购方名称",
  13229. "type": "string"
  13230. },
  13231. "contractno": {
  13232. "description": "合同编号",
  13233. "type": "string"
  13234. },
  13235. "contractstatus": {
  13236. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13237. "type": "integer"
  13238. },
  13239. "contracttype": {
  13240. "description": "现货合同类型 - 1:采购 -1:销售",
  13241. "type": "integer"
  13242. },
  13243. "decmargin": {
  13244. "description": "减少保证金(非必填)",
  13245. "type": "number"
  13246. },
  13247. "deliverygoodscode": {
  13248. "description": "现货品种代码",
  13249. "type": "string"
  13250. },
  13251. "deliverygoodsid": {
  13252. "description": "现货商品ID",
  13253. "type": "integer"
  13254. },
  13255. "deliverygoodsname": {
  13256. "description": "现货品种名称",
  13257. "type": "string"
  13258. },
  13259. "enumdicname": {
  13260. "description": "单位名称",
  13261. "type": "string"
  13262. },
  13263. "goodscode": {
  13264. "description": "点价合约",
  13265. "type": "string"
  13266. },
  13267. "goodsname": {
  13268. "description": "商品名称",
  13269. "type": "string"
  13270. },
  13271. "operateapplyid": {
  13272. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13273. "type": "string"
  13274. },
  13275. "operateapplytype": {
  13276. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13277. "type": "integer"
  13278. },
  13279. "pricemove": {
  13280. "description": "升贴水",
  13281. "type": "number"
  13282. },
  13283. "pricetype": {
  13284. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13285. "type": "integer"
  13286. },
  13287. "reckonadjustamount": {
  13288. "description": "结算调整金额(非必填)",
  13289. "type": "number"
  13290. },
  13291. "reckonosamount": {
  13292. "description": "结算溢短金额(非必填)",
  13293. "type": "number"
  13294. },
  13295. "reckonotheramount": {
  13296. "description": "结算其他费用(非必填)",
  13297. "type": "number"
  13298. },
  13299. "reckonrealqty": {
  13300. "description": "结算实际数量(非必填)",
  13301. "type": "number"
  13302. },
  13303. "relatedid": {
  13304. "description": "现货合同ID",
  13305. "type": "string"
  13306. },
  13307. "sellusername": {
  13308. "description": "销售方名字",
  13309. "type": "string"
  13310. },
  13311. "userid": {
  13312. "description": "用户ID",
  13313. "type": "integer"
  13314. },
  13315. "wrstandardcode": {
  13316. "description": "品类代码",
  13317. "type": "string"
  13318. },
  13319. "wrstandardid": {
  13320. "description": "品类id",
  13321. "type": "integer"
  13322. },
  13323. "wrstandardname": {
  13324. "description": "品类名称",
  13325. "type": "string"
  13326. }
  13327. }
  13328. },
  13329. "ermcp.QryBussinessKxRsp": {
  13330. "type": "object",
  13331. "properties": {
  13332. "applyid": {
  13333. "description": "申请人",
  13334. "type": "string"
  13335. },
  13336. "applyname": {
  13337. "description": "申请人名称",
  13338. "type": "string"
  13339. },
  13340. "applystatus": {
  13341. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13342. "type": "integer"
  13343. },
  13344. "applytime": {
  13345. "description": "申请时间",
  13346. "type": "string"
  13347. },
  13348. "attachurl": {
  13349. "description": "附件",
  13350. "type": "string"
  13351. },
  13352. "auditid": {
  13353. "description": "审核人ID",
  13354. "type": "string"
  13355. },
  13356. "auditname": {
  13357. "description": "审核人名称",
  13358. "type": "string"
  13359. },
  13360. "audittime": {
  13361. "description": "审核时间",
  13362. "type": "string"
  13363. },
  13364. "buyusername": {
  13365. "description": "采购方名称",
  13366. "type": "string"
  13367. },
  13368. "contractno": {
  13369. "description": "合同编号",
  13370. "type": "string"
  13371. },
  13372. "contractstatus": {
  13373. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13374. "type": "integer"
  13375. },
  13376. "contracttype": {
  13377. "description": "现货合同类型 - 1:采购 -1:销售",
  13378. "type": "integer"
  13379. },
  13380. "deductamount": {
  13381. "description": "退款(非必填)",
  13382. "type": "number"
  13383. },
  13384. "deliverygoodscode": {
  13385. "description": "现货品种代码",
  13386. "type": "string"
  13387. },
  13388. "deliverygoodsid": {
  13389. "description": "现货商品ID",
  13390. "type": "integer"
  13391. },
  13392. "deliverygoodsname": {
  13393. "description": "现货品种名称",
  13394. "type": "string"
  13395. },
  13396. "enumdicname": {
  13397. "description": "单位名称",
  13398. "type": "string"
  13399. },
  13400. "goodscode": {
  13401. "description": "点价合约",
  13402. "type": "string"
  13403. },
  13404. "goodsname": {
  13405. "description": "商品名称",
  13406. "type": "string"
  13407. },
  13408. "kxtype": {
  13409. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  13410. "type": "integer"
  13411. },
  13412. "operateapplyid": {
  13413. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13414. "type": "string"
  13415. },
  13416. "operateapplytype": {
  13417. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13418. "type": "integer"
  13419. },
  13420. "payamount": {
  13421. "description": "收付款(非必填)",
  13422. "type": "number"
  13423. },
  13424. "pricemove": {
  13425. "description": "升贴水",
  13426. "type": "number"
  13427. },
  13428. "pricetype": {
  13429. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13430. "type": "integer"
  13431. },
  13432. "relatedid": {
  13433. "description": "现货合同ID",
  13434. "type": "string"
  13435. },
  13436. "sellusername": {
  13437. "description": "销售方名字",
  13438. "type": "string"
  13439. },
  13440. "userid": {
  13441. "description": "用户ID",
  13442. "type": "integer"
  13443. },
  13444. "wrstandardcode": {
  13445. "description": "品类代码",
  13446. "type": "string"
  13447. },
  13448. "wrstandardid": {
  13449. "description": "品类id",
  13450. "type": "integer"
  13451. },
  13452. "wrstandardname": {
  13453. "description": "品类名称",
  13454. "type": "string"
  13455. }
  13456. }
  13457. },
  13458. "ermcp.QryGGCovertCfgRsp": {
  13459. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  13460. },
  13461. "ermcp.QryMGChangeLogRsp": {
  13462. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  13463. },
  13464. "ermcp.QryMiddleGoodsDetailRsp": {
  13465. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  13466. },
  13467. "ermcp.QryMiddleGoodsRsp": {
  13468. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13469. },
  13470. "ermcp.QryOPLogRsp": {
  13471. "$ref": "#/definitions/models.ErmcpOPLogModel"
  13472. },
  13473. "ermcp.QryUserInfoRsp": {
  13474. "$ref": "#/definitions/models.ErmcpUserModel"
  13475. },
  13476. "ermcp.QryWarehouseRsp": {
  13477. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  13478. },
  13479. "ermcp.QueryErmcpTradePositionRsp": {
  13480. "type": "object",
  13481. "properties": {
  13482. "agreeunit": {
  13483. "description": "合约单位",
  13484. "type": "number"
  13485. },
  13486. "buyorsell": {
  13487. "description": "方向 - 0:买 1:卖",
  13488. "type": "integer"
  13489. },
  13490. "curpositionqty": {
  13491. "description": "持仓(总仓数量, 期末头寸)",
  13492. "type": "integer"
  13493. },
  13494. "curtdposition": {
  13495. "description": "今仓数量(期末今日头寸)",
  13496. "type": "integer"
  13497. },
  13498. "curtdpositionenabled": {
  13499. "description": "今仓可用",
  13500. "type": "integer"
  13501. },
  13502. "decimalplace": {
  13503. "description": "报价小数位",
  13504. "type": "integer"
  13505. },
  13506. "enableqty": {
  13507. "description": "可用(总仓可用)",
  13508. "type": "integer"
  13509. },
  13510. "exexchangename": {
  13511. "description": "外部交易所名称",
  13512. "type": "string"
  13513. },
  13514. "goodscode": {
  13515. "description": "商品代码(内部)",
  13516. "type": "string"
  13517. },
  13518. "goodsid": {
  13519. "description": "商品ID(自增ID SEQ_GOODS)",
  13520. "type": "integer"
  13521. },
  13522. "goodsname": {
  13523. "description": "商品名称",
  13524. "type": "string"
  13525. },
  13526. "last": {
  13527. "description": "现价",
  13528. "type": "number"
  13529. },
  13530. "marketid": {
  13531. "description": "所属市场ID",
  13532. "type": "integer"
  13533. },
  13534. "openaverageprice": {
  13535. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  13536. "type": "number"
  13537. },
  13538. "opencost": {
  13539. "description": "开仓成本",
  13540. "type": "number"
  13541. },
  13542. "openpl": {
  13543. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13544. "type": "number"
  13545. },
  13546. "outgoodscode": {
  13547. "description": "商品代码(外部)",
  13548. "type": "string"
  13549. },
  13550. "positionaverageprice": {
  13551. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  13552. "type": "number"
  13553. },
  13554. "positioncost": {
  13555. "description": "持仓成本",
  13556. "type": "number"
  13557. },
  13558. "positionpl": {
  13559. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13560. "type": "number"
  13561. },
  13562. "positionplrate": {
  13563. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  13564. "type": "number"
  13565. },
  13566. "usedmargin": {
  13567. "description": "占用保证金",
  13568. "type": "number"
  13569. }
  13570. }
  13571. },
  13572. "ermcp.RealtimeExposurePositionRsp": {
  13573. "$ref": "#/definitions/models.ErmcpExposurePostion"
  13574. },
  13575. "ermcp.RealtimeExposureRsp": {
  13576. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  13577. },
  13578. "erms2.QueryArbitrageStrategyRsp": {
  13579. "type": "object",
  13580. "required": [
  13581. "asapplyid"
  13582. ],
  13583. "properties": {
  13584. "applybasis": {
  13585. "description": "申请基差",
  13586. "type": "number"
  13587. },
  13588. "asapplyid": {
  13589. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  13590. "type": "string"
  13591. },
  13592. "asname": {
  13593. "description": "策略名称",
  13594. "type": "string"
  13595. },
  13596. "asno": {
  13597. "description": "策略编号",
  13598. "type": "string"
  13599. },
  13600. "basischangepl": {
  13601. "description": "基差变动损益[结算更新]",
  13602. "type": "number"
  13603. },
  13604. "biztype": {
  13605. "description": "业务类型 - 1:正向套利 -1:反向套利",
  13606. "type": "integer"
  13607. },
  13608. "closetradedate": {
  13609. "description": "完结交易日(yyyyMMdd)",
  13610. "type": "string"
  13611. },
  13612. "curbasis": {
  13613. "description": "当前基差[结算更新]",
  13614. "type": "number"
  13615. },
  13616. "deliverygoodsid": {
  13617. "description": "现货品种ID",
  13618. "type": "integer"
  13619. },
  13620. "futureavgprice": {
  13621. "description": "期货建仓均价",
  13622. "type": "number"
  13623. },
  13624. "futurecloseamount": {
  13625. "description": "期货平仓金额",
  13626. "type": "number"
  13627. },
  13628. "futurecloseqty": {
  13629. "description": "期货平仓数量",
  13630. "type": "number"
  13631. },
  13632. "futureopenamount": {
  13633. "description": "期货开仓金额",
  13634. "type": "number"
  13635. },
  13636. "futureopenqty": {
  13637. "description": "期货开仓数量",
  13638. "type": "number"
  13639. },
  13640. "futurepl": {
  13641. "description": "期货总盈亏[结算更新]",
  13642. "type": "number"
  13643. },
  13644. "futureqty": {
  13645. "description": "期货持仓数量",
  13646. "type": "number"
  13647. },
  13648. "futurequote": {
  13649. "description": "期货额度",
  13650. "type": "number"
  13651. },
  13652. "goodsgroupid": {
  13653. "description": "期货品种ID",
  13654. "type": "integer"
  13655. },
  13656. "marketid": {
  13657. "description": "市场ID",
  13658. "type": "integer"
  13659. },
  13660. "netexposure": {
  13661. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  13662. "type": "number"
  13663. },
  13664. "netexposurepl": {
  13665. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  13666. "type": "number"
  13667. },
  13668. "netexposurerate": {
  13669. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  13670. "type": "number"
  13671. },
  13672. "openbasis": {
  13673. "description": "建仓基差",
  13674. "type": "number"
  13675. },
  13676. "pricedspotqty": {
  13677. "description": "已定价现货数量",
  13678. "type": "number"
  13679. },
  13680. "pricedspotqtynotax": {
  13681. "description": "已定价现货不含税数量",
  13682. "type": "number"
  13683. },
  13684. "remark": {
  13685. "description": "备注",
  13686. "type": "string"
  13687. },
  13688. "spotavgprice": {
  13689. "description": "现货均价",
  13690. "type": "number"
  13691. },
  13692. "spotbuyamount": {
  13693. "description": "现货采购金额",
  13694. "type": "number"
  13695. },
  13696. "spotbuyqty": {
  13697. "description": "现货采购数量",
  13698. "type": "number"
  13699. },
  13700. "spotpl": {
  13701. "description": "现货总盈亏[结算更新]",
  13702. "type": "number"
  13703. },
  13704. "spotquota": {
  13705. "description": "现货额度",
  13706. "type": "number"
  13707. },
  13708. "spotsellamount": {
  13709. "description": "现货销售金额",
  13710. "type": "number"
  13711. },
  13712. "spotsellqty": {
  13713. "description": "现货销售数量",
  13714. "type": "number"
  13715. },
  13716. "spotusedquota": {
  13717. "description": "现货占用资金",
  13718. "type": "number"
  13719. },
  13720. "strategystatus": {
  13721. "description": "策略状态 - 0:未结束 1:已结束",
  13722. "type": "integer"
  13723. },
  13724. "totalpl": {
  13725. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  13726. "type": "number"
  13727. },
  13728. "tradedate": {
  13729. "description": "交易日(yyyyMMdd)",
  13730. "type": "string"
  13731. },
  13732. "updatetime": {
  13733. "description": "更新时间",
  13734. "type": "string"
  13735. },
  13736. "usedquota": {
  13737. "description": "已占用资金",
  13738. "type": "number"
  13739. },
  13740. "userid": {
  13741. "description": "所属机构",
  13742. "type": "integer"
  13743. }
  13744. }
  13745. },
  13746. "erms2.QueryInnerTradeDetailRsp": {
  13747. "type": "object",
  13748. "required": [
  13749. "asapplyid",
  13750. "buyorsell",
  13751. "goodscode",
  13752. "goodsgroupid",
  13753. "goodsgroupname",
  13754. "goodsname",
  13755. "tradeid"
  13756. ],
  13757. "properties": {
  13758. "accountid": {
  13759. "description": "账号ID",
  13760. "type": "integer"
  13761. },
  13762. "agreeunit": {
  13763. "description": "合约单位",
  13764. "type": "number"
  13765. },
  13766. "asapplyid": {
  13767. "description": "策略申请ID",
  13768. "type": "integer"
  13769. },
  13770. "asname": {
  13771. "description": "策略名称",
  13772. "type": "string"
  13773. },
  13774. "asno": {
  13775. "description": "策略编号",
  13776. "type": "string"
  13777. },
  13778. "buyorsell": {
  13779. "description": "方向 - 0:买 1:卖",
  13780. "type": "integer"
  13781. },
  13782. "channelbuildtype": {
  13783. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  13784. "type": "integer"
  13785. },
  13786. "closetype": {
  13787. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  13788. "type": "integer"
  13789. },
  13790. "decimalplace": {
  13791. "description": "报价小数位",
  13792. "type": "integer"
  13793. },
  13794. "detailtype": {
  13795. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  13796. "type": "integer"
  13797. },
  13798. "exexchangecode": {
  13799. "description": "外部交易所代码",
  13800. "type": "string"
  13801. },
  13802. "exexchangename": {
  13803. "description": "外部交易所名称",
  13804. "type": "string"
  13805. },
  13806. "goodscode": {
  13807. "description": "商品代码(合约)",
  13808. "type": "string"
  13809. },
  13810. "goodsgroupid": {
  13811. "description": "商品组ID(品种ID)",
  13812. "type": "integer"
  13813. },
  13814. "goodsgroupname": {
  13815. "description": "商品组名称(品种)",
  13816. "type": "string"
  13817. },
  13818. "goodsid": {
  13819. "description": "商品ID",
  13820. "type": "integer"
  13821. },
  13822. "goodsname": {
  13823. "description": "商品名称(合约)",
  13824. "type": "string"
  13825. },
  13826. "goodunit": {
  13827. "description": "报价单位",
  13828. "type": "string"
  13829. },
  13830. "marketid": {
  13831. "description": "市场ID",
  13832. "type": "integer"
  13833. },
  13834. "orderid": {
  13835. "description": "委托单号",
  13836. "type": "string"
  13837. },
  13838. "outgoodscode": {
  13839. "description": "商品代码(外部)",
  13840. "type": "string"
  13841. },
  13842. "relatedouttradeid": {
  13843. "description": "关联外部成交单ID",
  13844. "type": "string"
  13845. },
  13846. "remark": {
  13847. "description": "备注",
  13848. "type": "string"
  13849. },
  13850. "spotcontractid": {
  13851. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  13852. "type": "integer"
  13853. },
  13854. "spotcontractno": {
  13855. "description": "现货合同编号",
  13856. "type": "string"
  13857. },
  13858. "tradeid": {
  13859. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13860. "type": "string"
  13861. },
  13862. "tradeprice": {
  13863. "description": "成交价格",
  13864. "type": "number"
  13865. },
  13866. "tradeqty": {
  13867. "description": "成交数量",
  13868. "type": "integer"
  13869. },
  13870. "tradetime": {
  13871. "description": "成交时间",
  13872. "type": "string"
  13873. },
  13874. "updatetime": {
  13875. "description": "更新时间",
  13876. "type": "string"
  13877. }
  13878. }
  13879. },
  13880. "erms2.QuerySpotContractRsp": {
  13881. "type": "object",
  13882. "required": [
  13883. "spotcontractid"
  13884. ],
  13885. "properties": {
  13886. "accountid": {
  13887. "description": "资金账户ID",
  13888. "type": "integer"
  13889. },
  13890. "areauserid": {
  13891. "description": "所属机构",
  13892. "type": "integer"
  13893. },
  13894. "closedate": {
  13895. "description": "终止日期",
  13896. "type": "string"
  13897. },
  13898. "closeremark": {
  13899. "description": "结束备注",
  13900. "type": "string"
  13901. },
  13902. "closetradedate": {
  13903. "description": "完结交易日(yyyyMMdd)",
  13904. "type": "string"
  13905. },
  13906. "closetype": {
  13907. "description": "终止类型 - 1:违约 2:提前终止",
  13908. "type": "integer"
  13909. },
  13910. "contractamount": {
  13911. "description": "合同金额",
  13912. "type": "number"
  13913. },
  13914. "contractattachment": {
  13915. "description": "合同附件",
  13916. "type": "string"
  13917. },
  13918. "contractno": {
  13919. "description": "现货合同编号",
  13920. "type": "string"
  13921. },
  13922. "contractqty": {
  13923. "description": "合同数量(数值) (用于计算)",
  13924. "type": "number"
  13925. },
  13926. "contractqtychar": {
  13927. "description": "合同数量\\已订价数量 (用于显示)",
  13928. "type": "string"
  13929. },
  13930. "contractstatus": {
  13931. "description": "合同状态 - 0:未结束 1:已结束",
  13932. "type": "integer"
  13933. },
  13934. "contracttype": {
  13935. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  13936. "type": "integer"
  13937. },
  13938. "customeraccountid": {
  13939. "description": "客户资金账户ID",
  13940. "type": "integer"
  13941. },
  13942. "customeruserid": {
  13943. "description": "客户ID",
  13944. "type": "integer"
  13945. },
  13946. "deliverygoodsdesc": {
  13947. "description": "品种说明",
  13948. "type": "string"
  13949. },
  13950. "deliverygoodsid": {
  13951. "description": "现货品种ID",
  13952. "type": "integer"
  13953. },
  13954. "handlestatus": {
  13955. "description": "处理状态",
  13956. "type": "integer"
  13957. },
  13958. "invoiceatt": {
  13959. "description": "发票附件",
  13960. "type": "string"
  13961. },
  13962. "invoicedatetime": {
  13963. "description": "开收票更新时间",
  13964. "type": "string"
  13965. },
  13966. "invoiceopentime": {
  13967. "description": "开票时间",
  13968. "type": "string"
  13969. },
  13970. "invoiceremark": {
  13971. "description": "发票备注",
  13972. "type": "string"
  13973. },
  13974. "invoicestatus": {
  13975. "description": "开收票状态 - 0:未开票 1:已开票",
  13976. "type": "integer"
  13977. },
  13978. "lastdate": {
  13979. "description": "交货时间",
  13980. "type": "string"
  13981. },
  13982. "marketid": {
  13983. "description": "市场ID",
  13984. "type": "integer"
  13985. },
  13986. "paydatetime": {
  13987. "description": "收付款更新时间",
  13988. "type": "string"
  13989. },
  13990. "payremark": {
  13991. "description": "收付款备注",
  13992. "type": "string"
  13993. },
  13994. "paystatus": {
  13995. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  13996. "type": "integer"
  13997. },
  13998. "positionqty": {
  13999. "description": "头寸数量 - 合同数量去小数部分",
  14000. "type": "integer"
  14001. },
  14002. "producttype": {
  14003. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14004. "type": "integer"
  14005. },
  14006. "relatedqty": {
  14007. "description": "已关联数量",
  14008. "type": "number"
  14009. },
  14010. "relatedstatus": {
  14011. "description": "关联完结状态 - 0:未结束 1:已结束",
  14012. "type": "integer"
  14013. },
  14014. "remark": {
  14015. "description": "备注",
  14016. "type": "string"
  14017. },
  14018. "signdate": {
  14019. "description": "签订日期",
  14020. "type": "string"
  14021. },
  14022. "spotcontractid": {
  14023. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  14024. "type": "string"
  14025. },
  14026. "spotdatetime": {
  14027. "description": "收发货更新时间",
  14028. "type": "string"
  14029. },
  14030. "spotprice": {
  14031. "description": "价格",
  14032. "type": "number"
  14033. },
  14034. "spotremark": {
  14035. "description": "收发货备注",
  14036. "type": "string"
  14037. },
  14038. "spotstatus": {
  14039. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  14040. "type": "integer"
  14041. },
  14042. "tradedate": {
  14043. "description": "交易日(yyyyMMdd)",
  14044. "type": "string"
  14045. },
  14046. "userid": {
  14047. "description": "业务员用户ID",
  14048. "type": "integer"
  14049. },
  14050. "warehouseid": {
  14051. "description": "仓库ID",
  14052. "type": "integer"
  14053. },
  14054. "wrfactortypeid": {
  14055. "description": "仓单要素类型ID",
  14056. "type": "integer"
  14057. },
  14058. "wrstandardid": {
  14059. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  14060. "type": "integer"
  14061. }
  14062. }
  14063. },
  14064. "erms3.AddErms2ASApplyReq": {
  14065. "type": "object",
  14066. "required": [
  14067. "asapplyid"
  14068. ],
  14069. "properties": {
  14070. "applybasis": {
  14071. "description": "申请基差",
  14072. "type": "number"
  14073. },
  14074. "applystatus": {
  14075. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14076. "type": "integer"
  14077. },
  14078. "asapplyid": {
  14079. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  14080. "type": "integer"
  14081. },
  14082. "asname": {
  14083. "description": "策略名称",
  14084. "type": "string"
  14085. },
  14086. "asno": {
  14087. "description": "策略编号",
  14088. "type": "string"
  14089. },
  14090. "auditid": {
  14091. "description": "审核人",
  14092. "type": "integer"
  14093. },
  14094. "auditremark": {
  14095. "description": "审核备注",
  14096. "type": "string"
  14097. },
  14098. "audittime": {
  14099. "description": "审核时间",
  14100. "type": "string"
  14101. },
  14102. "biztype": {
  14103. "description": "业务类型 - 1:正向套利 2:反向套利",
  14104. "type": "integer"
  14105. },
  14106. "createtime": {
  14107. "description": "创建时间",
  14108. "type": "string"
  14109. },
  14110. "creatorid": {
  14111. "description": "创建人",
  14112. "type": "integer"
  14113. },
  14114. "deliverygoodsid": {
  14115. "description": "现货品种ID",
  14116. "type": "integer"
  14117. },
  14118. "futurequote": {
  14119. "description": "期货额度",
  14120. "type": "number"
  14121. },
  14122. "goodsgroupid": {
  14123. "description": "期货品种ID",
  14124. "type": "integer"
  14125. },
  14126. "marketid": {
  14127. "description": "市场ID",
  14128. "type": "integer"
  14129. },
  14130. "remark": {
  14131. "description": "备注",
  14132. "type": "string"
  14133. },
  14134. "spotquota": {
  14135. "description": "现货额度",
  14136. "type": "number"
  14137. },
  14138. "tradedate": {
  14139. "description": "交易日(yyyyMMdd)",
  14140. "type": "string"
  14141. },
  14142. "userid": {
  14143. "description": "所属机构",
  14144. "type": "integer"
  14145. }
  14146. }
  14147. },
  14148. "erms3.AddErms2SpotTradeApplyReq": {
  14149. "type": "object",
  14150. "required": [
  14151. "spottradeid"
  14152. ],
  14153. "properties": {
  14154. "applyjsondetail": {
  14155. "description": "申请明细(JSON)",
  14156. "type": "string"
  14157. },
  14158. "applystatus": {
  14159. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14160. "type": "integer"
  14161. },
  14162. "areauserid": {
  14163. "description": "所属机构",
  14164. "type": "integer"
  14165. },
  14166. "auditid": {
  14167. "description": "审核人",
  14168. "type": "integer"
  14169. },
  14170. "auditremark": {
  14171. "description": "审核备注",
  14172. "type": "string"
  14173. },
  14174. "audittime": {
  14175. "description": "审核时间",
  14176. "type": "string"
  14177. },
  14178. "createtime": {
  14179. "description": "创建时间",
  14180. "type": "string"
  14181. },
  14182. "creatorid": {
  14183. "description": "创建人",
  14184. "type": "integer"
  14185. },
  14186. "deliverygoodsid": {
  14187. "description": "现货品种ID",
  14188. "type": "integer"
  14189. },
  14190. "futureaccountid": {
  14191. "description": "期货资金账户",
  14192. "type": "integer"
  14193. },
  14194. "goodsgroupid": {
  14195. "description": "期货品种",
  14196. "type": "integer"
  14197. },
  14198. "marketid": {
  14199. "description": "市场ID",
  14200. "type": "integer"
  14201. },
  14202. "remark": {
  14203. "description": "备注",
  14204. "type": "string"
  14205. },
  14206. "spotaccountid": {
  14207. "description": "现货资金账户",
  14208. "type": "integer"
  14209. },
  14210. "spottradeid": {
  14211. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  14212. "type": "integer"
  14213. },
  14214. "spottradename": {
  14215. "description": "业务名称",
  14216. "type": "string"
  14217. },
  14218. "spottradeno": {
  14219. "description": "业务编号",
  14220. "type": "string"
  14221. },
  14222. "tradedate": {
  14223. "description": "交易日(yyyyMMdd)",
  14224. "type": "string"
  14225. },
  14226. "wrstandardid": {
  14227. "description": "仓单标准ID",
  14228. "type": "integer"
  14229. }
  14230. }
  14231. },
  14232. "erms3.AddSpotContractApplyReq": {
  14233. "type": "object",
  14234. "required": [
  14235. "accountid",
  14236. "areauserid",
  14237. "contractno",
  14238. "contracttype",
  14239. "customeraccountid",
  14240. "customeruserid",
  14241. "details",
  14242. "orimargin",
  14243. "signdate"
  14244. ],
  14245. "properties": {
  14246. "accountid": {
  14247. "description": "资金账户ID",
  14248. "type": "integer"
  14249. },
  14250. "areauserid": {
  14251. "description": "所属机构",
  14252. "type": "integer"
  14253. },
  14254. "contractattachment": {
  14255. "description": "合同附件",
  14256. "type": "string"
  14257. },
  14258. "contractno": {
  14259. "description": "现货合同编号",
  14260. "type": "string"
  14261. },
  14262. "contracttype": {
  14263. "description": "现货合同类型 - 1:采购 -1:销售",
  14264. "type": "integer"
  14265. },
  14266. "creatorid": {
  14267. "description": "申请人",
  14268. "type": "integer"
  14269. },
  14270. "customeraccountid": {
  14271. "description": "客户资金账户ID",
  14272. "type": "integer"
  14273. },
  14274. "customeruserid": {
  14275. "description": "客户ID",
  14276. "type": "integer"
  14277. },
  14278. "details": {
  14279. "description": "明细",
  14280. "type": "array",
  14281. "items": {
  14282. "$ref": "#/definitions/erms3.SoptContractDetail"
  14283. }
  14284. },
  14285. "orimargin": {
  14286. "description": "初始保证金",
  14287. "type": "number"
  14288. },
  14289. "remark": {
  14290. "description": "备注",
  14291. "type": "string"
  14292. },
  14293. "signdate": {
  14294. "description": "签订日期",
  14295. "type": "string"
  14296. }
  14297. }
  14298. },
  14299. "erms3.AddSpotContractApplyRsp": {
  14300. "type": "object",
  14301. "required": [
  14302. "contractno"
  14303. ],
  14304. "properties": {
  14305. "contractno": {
  14306. "description": "现货合同编号",
  14307. "type": "string"
  14308. },
  14309. "spotcontractid": {
  14310. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  14311. "type": "integer"
  14312. }
  14313. }
  14314. },
  14315. "erms3.AddUserInfoApplyReq": {
  14316. "type": "object",
  14317. "required": [
  14318. "userid"
  14319. ],
  14320. "properties": {
  14321. "accountid": {
  14322. "description": "交易系统帐号Id (加密存储)",
  14323. "type": "integer"
  14324. },
  14325. "areacode": {
  14326. "description": "机构代码",
  14327. "type": "string"
  14328. },
  14329. "areaid": {
  14330. "description": "机构Id",
  14331. "type": "integer"
  14332. },
  14333. "attachment1": {
  14334. "description": "附件1",
  14335. "type": "string"
  14336. },
  14337. "attachment2": {
  14338. "description": "附件2",
  14339. "type": "string"
  14340. },
  14341. "attachment3": {
  14342. "description": "附件3",
  14343. "type": "string"
  14344. },
  14345. "attachment4": {
  14346. "description": "附件4",
  14347. "type": "string"
  14348. },
  14349. "attachment5": {
  14350. "description": "附件5",
  14351. "type": "string"
  14352. },
  14353. "auditedby": {
  14354. "description": "审核人",
  14355. "type": "string"
  14356. },
  14357. "auditime": {
  14358. "description": "审核时间",
  14359. "type": "string"
  14360. },
  14361. "auditsrc": {
  14362. "description": "审核来源 - 1:管理端 2:终端",
  14363. "type": "integer"
  14364. },
  14365. "bankaccount": {
  14366. "description": "银行帐号 (加密存储)",
  14367. "type": "string"
  14368. },
  14369. "bankaccountname": {
  14370. "description": "收款人名称",
  14371. "type": "string"
  14372. },
  14373. "bankcardbackphotourl": {
  14374. "description": "银行卡背面照地址",
  14375. "type": "string"
  14376. },
  14377. "bankcardfrontphotourl": {
  14378. "description": "银行卡正面照地址",
  14379. "type": "string"
  14380. },
  14381. "bankid": {
  14382. "description": "银行编码",
  14383. "type": "string"
  14384. },
  14385. "bankname": {
  14386. "description": "银行名称",
  14387. "type": "string"
  14388. },
  14389. "bankpictureurl": {
  14390. "description": "银行卡正面地址",
  14391. "type": "string"
  14392. },
  14393. "biznature": {
  14394. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14395. "type": "integer"
  14396. },
  14397. "bizscope": {
  14398. "description": "企业经营范围(企业)",
  14399. "type": "string"
  14400. },
  14401. "biztype": {
  14402. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14403. "type": "integer"
  14404. },
  14405. "brokerid": {
  14406. "description": "经纪人ID(加密存储)",
  14407. "type": "string"
  14408. },
  14409. "cardaddress": {
  14410. "description": "证件地址 (加密存储)",
  14411. "type": "string"
  14412. },
  14413. "cardbackphotourl": {
  14414. "description": "背面证件照地址",
  14415. "type": "string"
  14416. },
  14417. "cardfrontphotourl": {
  14418. "description": "正面证件照地址",
  14419. "type": "string"
  14420. },
  14421. "cardnum": {
  14422. "description": "证件号码 (加密存储)",
  14423. "type": "string"
  14424. },
  14425. "cardtype": {
  14426. "description": "证件类型",
  14427. "type": "integer"
  14428. },
  14429. "cityid": {
  14430. "description": "市",
  14431. "type": "integer"
  14432. },
  14433. "company": {
  14434. "description": "公司(个人)",
  14435. "type": "string"
  14436. },
  14437. "contactcardbackphotourl": {
  14438. "description": "联系人证件背面图片地址",
  14439. "type": "string"
  14440. },
  14441. "contactcardfrontphotourl": {
  14442. "description": "联系人证件正面图片地址",
  14443. "type": "string"
  14444. },
  14445. "contactname": {
  14446. "description": "联系人",
  14447. "type": "string"
  14448. },
  14449. "countryid": {
  14450. "description": "国家",
  14451. "type": "integer"
  14452. },
  14453. "createtime": {
  14454. "description": "开户申请时间",
  14455. "type": "string"
  14456. },
  14457. "cusbankid": {
  14458. "description": "签约类型",
  14459. "type": "string"
  14460. },
  14461. "cusbankname": {
  14462. "description": "签约类型名称",
  14463. "type": "string"
  14464. },
  14465. "customername": {
  14466. "description": "客户名称(企业名称)",
  14467. "type": "string"
  14468. },
  14469. "districtid": {
  14470. "description": "地区",
  14471. "type": "integer"
  14472. },
  14473. "email": {
  14474. "description": "Email地址(加密存储)",
  14475. "type": "string"
  14476. },
  14477. "halfbodyphotourl": {
  14478. "description": "半身照地址",
  14479. "type": "string"
  14480. },
  14481. "headurl": {
  14482. "description": "头像地址",
  14483. "type": "string"
  14484. },
  14485. "ipaddress": {
  14486. "description": "IP地址",
  14487. "type": "string"
  14488. },
  14489. "isvalidate": {
  14490. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14491. "type": "string"
  14492. },
  14493. "legalcardbackphotourl": {
  14494. "description": "法人身份证背面照地址",
  14495. "type": "string"
  14496. },
  14497. "legalcardfrontphotourl": {
  14498. "description": "法人身份证正面照地址",
  14499. "type": "string"
  14500. },
  14501. "legalpersonname": {
  14502. "description": "法人姓名(企业)",
  14503. "type": "string"
  14504. },
  14505. "logincode": {
  14506. "description": "登录帐号 (加密存储)",
  14507. "type": "string"
  14508. },
  14509. "memberareaid": {
  14510. "description": "所属会员ID",
  14511. "type": "integer"
  14512. },
  14513. "mobile2": {
  14514. "description": "手机号码[明文-尚志]",
  14515. "type": "string"
  14516. },
  14517. "mobilephone": {
  14518. "description": "手机号码 (加密存储)",
  14519. "type": "string"
  14520. },
  14521. "modifiedby": {
  14522. "description": "修改人帐号",
  14523. "type": "integer"
  14524. },
  14525. "modifiedtime": {
  14526. "description": "修改时间",
  14527. "type": "string"
  14528. },
  14529. "nickname": {
  14530. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14531. "type": "string"
  14532. },
  14533. "openmode": {
  14534. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14535. "type": "integer"
  14536. },
  14537. "otherurl": {
  14538. "description": "其它图片地址[使用分号分隔]",
  14539. "type": "string"
  14540. },
  14541. "postalcode": {
  14542. "description": "邮政编码",
  14543. "type": "string"
  14544. },
  14545. "provinceid": {
  14546. "description": "省",
  14547. "type": "integer"
  14548. },
  14549. "proxystatementurl": {
  14550. "description": "授权委托书",
  14551. "type": "string"
  14552. },
  14553. "qq": {
  14554. "description": "QQ(加密存储",
  14555. "type": "string"
  14556. },
  14557. "referral": {
  14558. "description": "推荐人编码",
  14559. "type": "string"
  14560. },
  14561. "remark": {
  14562. "description": "备注",
  14563. "type": "string"
  14564. },
  14565. "removebeforestatus": {
  14566. "description": "REMOVEBEFORESTATUS",
  14567. "type": "integer"
  14568. },
  14569. "sex": {
  14570. "description": "性别 - 0:女 1:男",
  14571. "type": "integer"
  14572. },
  14573. "signedstatus": {
  14574. "description": "账户一号签签约状态",
  14575. "type": "integer"
  14576. },
  14577. "signpdfurl": {
  14578. "description": "签约pdf文件",
  14579. "type": "string"
  14580. },
  14581. "subbranch": {
  14582. "description": "开户支行",
  14583. "type": "string"
  14584. },
  14585. "taxpayernum": {
  14586. "description": "纳税人识别号",
  14587. "type": "string"
  14588. },
  14589. "telphone": {
  14590. "description": "联系电话(加密存储)",
  14591. "type": "string"
  14592. },
  14593. "userid": {
  14594. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14595. "type": "integer"
  14596. },
  14597. "userinfotype": {
  14598. "description": "用户信息类型 - 1:个人 2:企业",
  14599. "type": "integer"
  14600. },
  14601. "username": {
  14602. "description": "用户姓名",
  14603. "type": "string"
  14604. },
  14605. "userstate": {
  14606. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14607. "type": "integer"
  14608. },
  14609. "usertype": {
  14610. "description": "用户类型 - 1:投资者 2:机构",
  14611. "type": "integer"
  14612. },
  14613. "videourl": {
  14614. "description": "视频地址",
  14615. "type": "string"
  14616. },
  14617. "wechat": {
  14618. "description": "微信号 (加密存储)",
  14619. "type": "string"
  14620. }
  14621. }
  14622. },
  14623. "erms3.CustomerInfo": {
  14624. "type": "object",
  14625. "required": [
  14626. "userid"
  14627. ],
  14628. "properties": {
  14629. "accountids": {
  14630. "description": "资金账户ID列表",
  14631. "type": "array",
  14632. "items": {
  14633. "type": "integer"
  14634. }
  14635. },
  14636. "customername": {
  14637. "description": "名称(企业名称)",
  14638. "type": "string"
  14639. },
  14640. "mobile": {
  14641. "description": "手机号码",
  14642. "type": "string"
  14643. },
  14644. "userid": {
  14645. "description": "用户ID",
  14646. "type": "integer"
  14647. }
  14648. }
  14649. },
  14650. "erms3.ModifyUserInfoApplyReq": {
  14651. "type": "object",
  14652. "required": [
  14653. "userid"
  14654. ],
  14655. "properties": {
  14656. "accountid": {
  14657. "description": "交易系统帐号Id (加密存储)",
  14658. "type": "integer"
  14659. },
  14660. "areacode": {
  14661. "description": "机构代码",
  14662. "type": "string"
  14663. },
  14664. "areaid": {
  14665. "description": "机构Id",
  14666. "type": "integer"
  14667. },
  14668. "attachment1": {
  14669. "description": "附件1",
  14670. "type": "string"
  14671. },
  14672. "attachment2": {
  14673. "description": "附件2",
  14674. "type": "string"
  14675. },
  14676. "attachment3": {
  14677. "description": "附件3",
  14678. "type": "string"
  14679. },
  14680. "attachment4": {
  14681. "description": "附件4",
  14682. "type": "string"
  14683. },
  14684. "attachment5": {
  14685. "description": "附件5",
  14686. "type": "string"
  14687. },
  14688. "auditedby": {
  14689. "description": "审核人",
  14690. "type": "string"
  14691. },
  14692. "auditime": {
  14693. "description": "审核时间",
  14694. "type": "string"
  14695. },
  14696. "auditsrc": {
  14697. "description": "审核来源 - 1:管理端 2:终端",
  14698. "type": "integer"
  14699. },
  14700. "bankaccount": {
  14701. "description": "银行帐号 (加密存储)",
  14702. "type": "string"
  14703. },
  14704. "bankaccountname": {
  14705. "description": "收款人名称",
  14706. "type": "string"
  14707. },
  14708. "bankcardbackphotourl": {
  14709. "description": "银行卡背面照地址",
  14710. "type": "string"
  14711. },
  14712. "bankcardfrontphotourl": {
  14713. "description": "银行卡正面照地址",
  14714. "type": "string"
  14715. },
  14716. "bankid": {
  14717. "description": "银行编码",
  14718. "type": "string"
  14719. },
  14720. "bankname": {
  14721. "description": "银行名称",
  14722. "type": "string"
  14723. },
  14724. "bankpictureurl": {
  14725. "description": "银行卡正面地址",
  14726. "type": "string"
  14727. },
  14728. "biznature": {
  14729. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14730. "type": "integer"
  14731. },
  14732. "bizscope": {
  14733. "description": "企业经营范围(企业)",
  14734. "type": "string"
  14735. },
  14736. "biztype": {
  14737. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14738. "type": "integer"
  14739. },
  14740. "brokerid": {
  14741. "description": "经纪人ID(加密存储)",
  14742. "type": "string"
  14743. },
  14744. "cardaddress": {
  14745. "description": "证件地址 (加密存储)",
  14746. "type": "string"
  14747. },
  14748. "cardbackphotourl": {
  14749. "description": "背面证件照地址",
  14750. "type": "string"
  14751. },
  14752. "cardfrontphotourl": {
  14753. "description": "正面证件照地址",
  14754. "type": "string"
  14755. },
  14756. "cardnum": {
  14757. "description": "证件号码 (加密存储)",
  14758. "type": "string"
  14759. },
  14760. "cardtype": {
  14761. "description": "证件类型",
  14762. "type": "integer"
  14763. },
  14764. "cityid": {
  14765. "description": "市",
  14766. "type": "integer"
  14767. },
  14768. "company": {
  14769. "description": "公司(个人)",
  14770. "type": "string"
  14771. },
  14772. "contactcardbackphotourl": {
  14773. "description": "联系人证件背面图片地址",
  14774. "type": "string"
  14775. },
  14776. "contactcardfrontphotourl": {
  14777. "description": "联系人证件正面图片地址",
  14778. "type": "string"
  14779. },
  14780. "contactname": {
  14781. "description": "联系人",
  14782. "type": "string"
  14783. },
  14784. "countryid": {
  14785. "description": "国家",
  14786. "type": "integer"
  14787. },
  14788. "createtime": {
  14789. "description": "开户申请时间",
  14790. "type": "string"
  14791. },
  14792. "cusbankid": {
  14793. "description": "签约类型",
  14794. "type": "string"
  14795. },
  14796. "cusbankname": {
  14797. "description": "签约类型名称",
  14798. "type": "string"
  14799. },
  14800. "customername": {
  14801. "description": "客户名称(企业名称)",
  14802. "type": "string"
  14803. },
  14804. "districtid": {
  14805. "description": "地区",
  14806. "type": "integer"
  14807. },
  14808. "email": {
  14809. "description": "Email地址(加密存储)",
  14810. "type": "string"
  14811. },
  14812. "halfbodyphotourl": {
  14813. "description": "半身照地址",
  14814. "type": "string"
  14815. },
  14816. "headurl": {
  14817. "description": "头像地址",
  14818. "type": "string"
  14819. },
  14820. "ipaddress": {
  14821. "description": "IP地址",
  14822. "type": "string"
  14823. },
  14824. "isvalidate": {
  14825. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14826. "type": "string"
  14827. },
  14828. "legalcardbackphotourl": {
  14829. "description": "法人身份证背面照地址",
  14830. "type": "string"
  14831. },
  14832. "legalcardfrontphotourl": {
  14833. "description": "法人身份证正面照地址",
  14834. "type": "string"
  14835. },
  14836. "legalpersonname": {
  14837. "description": "法人姓名(企业)",
  14838. "type": "string"
  14839. },
  14840. "logincode": {
  14841. "description": "登录帐号 (加密存储)",
  14842. "type": "string"
  14843. },
  14844. "memberareaid": {
  14845. "description": "所属会员ID",
  14846. "type": "integer"
  14847. },
  14848. "mobile2": {
  14849. "description": "手机号码[明文-尚志]",
  14850. "type": "string"
  14851. },
  14852. "mobilephone": {
  14853. "description": "手机号码 (加密存储)",
  14854. "type": "string"
  14855. },
  14856. "modifiedby": {
  14857. "description": "修改人帐号",
  14858. "type": "integer"
  14859. },
  14860. "modifiedtime": {
  14861. "description": "修改时间",
  14862. "type": "string"
  14863. },
  14864. "nickname": {
  14865. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14866. "type": "string"
  14867. },
  14868. "openmode": {
  14869. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14870. "type": "integer"
  14871. },
  14872. "otherurl": {
  14873. "description": "其它图片地址[使用分号分隔]",
  14874. "type": "string"
  14875. },
  14876. "postalcode": {
  14877. "description": "邮政编码",
  14878. "type": "string"
  14879. },
  14880. "provinceid": {
  14881. "description": "省",
  14882. "type": "integer"
  14883. },
  14884. "proxystatementurl": {
  14885. "description": "授权委托书",
  14886. "type": "string"
  14887. },
  14888. "qq": {
  14889. "description": "QQ(加密存储",
  14890. "type": "string"
  14891. },
  14892. "referral": {
  14893. "description": "推荐人编码",
  14894. "type": "string"
  14895. },
  14896. "remark": {
  14897. "description": "备注",
  14898. "type": "string"
  14899. },
  14900. "removebeforestatus": {
  14901. "description": "REMOVEBEFORESTATUS",
  14902. "type": "integer"
  14903. },
  14904. "sex": {
  14905. "description": "性别 - 0:女 1:男",
  14906. "type": "integer"
  14907. },
  14908. "signedstatus": {
  14909. "description": "账户一号签签约状态",
  14910. "type": "integer"
  14911. },
  14912. "signpdfurl": {
  14913. "description": "签约pdf文件",
  14914. "type": "string"
  14915. },
  14916. "subbranch": {
  14917. "description": "开户支行",
  14918. "type": "string"
  14919. },
  14920. "taxpayernum": {
  14921. "description": "纳税人识别号",
  14922. "type": "string"
  14923. },
  14924. "telphone": {
  14925. "description": "联系电话(加密存储)",
  14926. "type": "string"
  14927. },
  14928. "userid": {
  14929. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14930. "type": "integer"
  14931. },
  14932. "userinfotype": {
  14933. "description": "用户信息类型 - 1:个人 2:企业",
  14934. "type": "integer"
  14935. },
  14936. "username": {
  14937. "description": "用户姓名",
  14938. "type": "string"
  14939. },
  14940. "userstate": {
  14941. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14942. "type": "integer"
  14943. },
  14944. "usertype": {
  14945. "description": "用户类型 - 1:投资者 2:机构",
  14946. "type": "integer"
  14947. },
  14948. "videourl": {
  14949. "description": "视频地址",
  14950. "type": "string"
  14951. },
  14952. "wechat": {
  14953. "description": "微信号 (加密存储)",
  14954. "type": "string"
  14955. }
  14956. }
  14957. },
  14958. "erms3.QryAuditContractRsp": {
  14959. "type": "object",
  14960. "required": [
  14961. "matchcustomername",
  14962. "spotcontractid"
  14963. ],
  14964. "properties": {
  14965. "accountid": {
  14966. "description": "交易员ID",
  14967. "type": "string"
  14968. },
  14969. "applystatus": {
  14970. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14971. "type": "integer"
  14972. },
  14973. "curdeliveryqty": {
  14974. "description": "未交收量",
  14975. "type": "integer"
  14976. },
  14977. "customername": {
  14978. "description": "采购方ID",
  14979. "type": "string"
  14980. },
  14981. "deliverygoodsid": {
  14982. "description": "品种ID",
  14983. "type": "string"
  14984. },
  14985. "deliveryqty": {
  14986. "description": "交收量",
  14987. "type": "integer"
  14988. },
  14989. "enumdicname": {
  14990. "description": "单位名称",
  14991. "type": "string"
  14992. },
  14993. "matchaccountid": {
  14994. "description": "业务员ID",
  14995. "type": "string"
  14996. },
  14997. "matchcustomername": {
  14998. "description": "销售方ID",
  14999. "type": "string"
  15000. },
  15001. "pricedqty": {
  15002. "description": "定价量",
  15003. "type": "number"
  15004. },
  15005. "signdate": {
  15006. "description": "签订日期",
  15007. "type": "string"
  15008. },
  15009. "spotcontractid": {
  15010. "description": "合同ID",
  15011. "type": "string"
  15012. },
  15013. "totaldqty": {
  15014. "description": "合同量",
  15015. "type": "number"
  15016. },
  15017. "unpricedqty": {
  15018. "description": "未定价量",
  15019. "type": "number"
  15020. },
  15021. "wrstandardname": {
  15022. "description": "商品名称",
  15023. "type": "string"
  15024. }
  15025. }
  15026. },
  15027. "erms3.QryPendingBizRsp": {
  15028. "$ref": "#/definitions/models.PendingAuditBizModel"
  15029. },
  15030. "erms3.QueryBusinessInfoRsp": {
  15031. "type": "object",
  15032. "properties": {
  15033. "businessid": {
  15034. "description": "业务ID.",
  15035. "type": "integer"
  15036. },
  15037. "buyamount": {
  15038. "description": "采购额.",
  15039. "type": "number"
  15040. },
  15041. "buyqty": {
  15042. "description": "采购量.",
  15043. "type": "string"
  15044. },
  15045. "futurepl": {
  15046. "description": "期货盈亏.",
  15047. "type": "number"
  15048. },
  15049. "futureqty": {
  15050. "description": "期货敞口.",
  15051. "type": "string"
  15052. },
  15053. "goodsid": {
  15054. "description": "商品名称/商品代码.",
  15055. "type": "string"
  15056. },
  15057. "hedgingqty": {
  15058. "description": "套保量.",
  15059. "type": "string"
  15060. },
  15061. "sellamount": {
  15062. "description": "销售额.",
  15063. "type": "number"
  15064. },
  15065. "sellqty": {
  15066. "description": "销售量.",
  15067. "type": "string"
  15068. },
  15069. "spotmarketvalue": {
  15070. "description": "现货市值.",
  15071. "type": "number"
  15072. },
  15073. "spotpl": {
  15074. "description": "浮动权益.",
  15075. "type": "number"
  15076. },
  15077. "spotqty": {
  15078. "description": "现货量.",
  15079. "type": "string"
  15080. },
  15081. "statu": {
  15082. "description": "状态,0-未结束 1-已结束.",
  15083. "type": "integer"
  15084. },
  15085. "totalpl": {
  15086. "description": "总盈亏.",
  15087. "type": "number"
  15088. },
  15089. "totalqty": {
  15090. "description": "总敞口.",
  15091. "type": "string"
  15092. },
  15093. "type": {
  15094. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  15095. "type": "integer"
  15096. }
  15097. }
  15098. },
  15099. "erms3.QuerySpotContractAppleFormRsp": {
  15100. "type": "object",
  15101. "properties": {
  15102. "goodses": {
  15103. "description": "合约列表",
  15104. "type": "array",
  15105. "items": {
  15106. "$ref": "#/definitions/models.GoodsIDAndName"
  15107. }
  15108. },
  15109. "oppositeusers": {
  15110. "description": "对方账号列表",
  15111. "type": "array",
  15112. "items": {
  15113. "$ref": "#/definitions/erms3.CustomerInfo"
  15114. }
  15115. },
  15116. "ouruser": {
  15117. "description": "我方账号",
  15118. "type": "object",
  15119. "$ref": "#/definitions/erms3.CustomerInfo"
  15120. },
  15121. "warehouseinfos": {
  15122. "description": "仓库信息列表",
  15123. "type": "array",
  15124. "items": {
  15125. "$ref": "#/definitions/models.Warehouseinfo"
  15126. }
  15127. },
  15128. "wrstandards": {
  15129. "description": "仓单标准列表",
  15130. "type": "array",
  15131. "items": {
  15132. "$ref": "#/definitions/models.WRStandardInfo"
  15133. }
  15134. }
  15135. }
  15136. },
  15137. "erms3.QuerySpotContractInfoRsp": {
  15138. "type": "object",
  15139. "properties": {
  15140. "accountid": {
  15141. "description": "表示交易员ID.",
  15142. "type": "integer"
  15143. },
  15144. "curdeliveryqty": {
  15145. "description": "表示未交收量.",
  15146. "type": "number"
  15147. },
  15148. "customername": {
  15149. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  15150. "type": "string"
  15151. },
  15152. "deliverygoodsid": {
  15153. "description": "表示品种ID.",
  15154. "type": "string"
  15155. },
  15156. "deliveryqty": {
  15157. "description": "表示交收量.",
  15158. "type": "number"
  15159. },
  15160. "matchaccountid": {
  15161. "description": "表示业务员ID.",
  15162. "type": "integer"
  15163. },
  15164. "matchcustomername": {
  15165. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  15166. "type": "string"
  15167. },
  15168. "priceqty": {
  15169. "description": "表示定价量.",
  15170. "type": "number"
  15171. },
  15172. "relatedbizid": {
  15173. "description": "表示业务ID.",
  15174. "type": "string"
  15175. },
  15176. "signdate": {
  15177. "description": "表示签订日期.",
  15178. "type": "string"
  15179. },
  15180. "spotcontractid": {
  15181. "description": "合同ID",
  15182. "type": "string"
  15183. },
  15184. "status": {
  15185. "description": "表示状态,0-履约中 1-已完成.",
  15186. "type": "integer"
  15187. },
  15188. "totalqty": {
  15189. "description": "表示合同量.",
  15190. "type": "number"
  15191. },
  15192. "unpricedqty": {
  15193. "description": "表示未定价量.",
  15194. "type": "number"
  15195. },
  15196. "wrstandardname": {
  15197. "description": "表示商品ID.",
  15198. "type": "string"
  15199. }
  15200. }
  15201. },
  15202. "erms3.QueryUserInfoAppliesRsp": {
  15203. "type": "object",
  15204. "required": [
  15205. "userid"
  15206. ],
  15207. "properties": {
  15208. "biznature": {
  15209. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15210. "type": "integer"
  15211. },
  15212. "contactname": {
  15213. "description": "联系人",
  15214. "type": "string"
  15215. },
  15216. "createtime": {
  15217. "description": "开户申请时间",
  15218. "type": "string"
  15219. },
  15220. "userid": {
  15221. "description": "用户ID(自增ID)",
  15222. "type": "integer"
  15223. },
  15224. "userinfotype": {
  15225. "description": "用户信息类型 - 1:个人 2:企业",
  15226. "type": "integer"
  15227. },
  15228. "username": {
  15229. "description": "用户姓名",
  15230. "type": "string"
  15231. },
  15232. "userstate": {
  15233. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15234. "type": "integer"
  15235. }
  15236. }
  15237. },
  15238. "erms3.QueryUserInfosRsp": {
  15239. "type": "object",
  15240. "required": [
  15241. "userid"
  15242. ],
  15243. "properties": {
  15244. "biznature": {
  15245. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15246. "type": "integer"
  15247. },
  15248. "contactname": {
  15249. "description": "联系人",
  15250. "type": "string"
  15251. },
  15252. "customername": {
  15253. "description": "客户名称(企业名称)",
  15254. "type": "string"
  15255. },
  15256. "userid": {
  15257. "description": "用户ID",
  15258. "type": "integer"
  15259. },
  15260. "userinfotype": {
  15261. "description": "用户信息类型 - 1:个人 2:企业",
  15262. "type": "integer"
  15263. },
  15264. "userstatus": {
  15265. "description": "用户状态 - 1:正常 2:注销",
  15266. "type": "integer"
  15267. }
  15268. }
  15269. },
  15270. "erms3.SoptContractDetail": {
  15271. "type": "object",
  15272. "required": [
  15273. "deliverygoodsid",
  15274. "producttype",
  15275. "unitname",
  15276. "warehouseid",
  15277. "wrstandardid",
  15278. "wrstandardname"
  15279. ],
  15280. "properties": {
  15281. "deliverygoodsdesc": {
  15282. "description": "现货品种说明",
  15283. "type": "string"
  15284. },
  15285. "deliverygoodsid": {
  15286. "description": "现货品种ID",
  15287. "type": "integer"
  15288. },
  15289. "deliverygoodsname": {
  15290. "description": "现货品种名称",
  15291. "type": "string"
  15292. },
  15293. "pointdesc": {
  15294. "description": "点价描述",
  15295. "type": "string"
  15296. },
  15297. "producttype": {
  15298. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  15299. "type": "integer"
  15300. },
  15301. "producttypename": {
  15302. "description": "产品类型名称",
  15303. "type": "string"
  15304. },
  15305. "spotPointOrderVoList": {
  15306. "description": "点价列表",
  15307. "type": "array",
  15308. "items": {
  15309. "$ref": "#/definitions/erms3.SpotPointOrder"
  15310. }
  15311. },
  15312. "spotPriceOrderList": {
  15313. "description": "定价列表",
  15314. "type": "array",
  15315. "items": {
  15316. "$ref": "#/definitions/erms3.SpotPriceOrder"
  15317. }
  15318. },
  15319. "unitname": {
  15320. "description": "单位名称",
  15321. "type": "string"
  15322. },
  15323. "warehouseid": {
  15324. "description": "仓库ID",
  15325. "type": "integer"
  15326. },
  15327. "warehousename": {
  15328. "description": "仓库名称",
  15329. "type": "string"
  15330. },
  15331. "wrstandardid": {
  15332. "description": "交易标的ID",
  15333. "type": "integer"
  15334. },
  15335. "wrstandardname": {
  15336. "description": "交易标的名称",
  15337. "type": "string"
  15338. }
  15339. }
  15340. },
  15341. "erms3.SpotPointOrder": {
  15342. "type": "object",
  15343. "required": [
  15344. "basic",
  15345. "goodsid",
  15346. "qty"
  15347. ],
  15348. "properties": {
  15349. "basic": {
  15350. "description": "基差",
  15351. "type": "number"
  15352. },
  15353. "deliveryenddate": {
  15354. "description": "交收结束日期",
  15355. "type": "string"
  15356. },
  15357. "deliverystartdate": {
  15358. "description": "交收开始日期",
  15359. "type": "string"
  15360. },
  15361. "enddate": {
  15362. "description": "点价结束日期",
  15363. "type": "string"
  15364. },
  15365. "goodsid": {
  15366. "description": "商品ID",
  15367. "type": "integer"
  15368. },
  15369. "goodsname": {
  15370. "description": "商品名称",
  15371. "type": "string"
  15372. },
  15373. "qty": {
  15374. "description": "数量",
  15375. "type": "number"
  15376. },
  15377. "startdate": {
  15378. "description": "点价开始日期",
  15379. "type": "string"
  15380. }
  15381. }
  15382. },
  15383. "erms3.SpotPriceOrder": {
  15384. "type": "object",
  15385. "required": [
  15386. "amount",
  15387. "price",
  15388. "qty"
  15389. ],
  15390. "properties": {
  15391. "amount": {
  15392. "description": "金额",
  15393. "type": "number"
  15394. },
  15395. "deliveryenddate": {
  15396. "description": "交收结束日期",
  15397. "type": "string"
  15398. },
  15399. "deliverystartdate": {
  15400. "description": "交收开始日期",
  15401. "type": "string"
  15402. },
  15403. "price": {
  15404. "description": "价格",
  15405. "type": "number"
  15406. },
  15407. "qty": {
  15408. "description": "数量",
  15409. "type": "number"
  15410. }
  15411. }
  15412. },
  15413. "hsby.GetHsbyMyCountRsp": {
  15414. "type": "object",
  15415. "properties": {
  15416. "myCouponCount": {
  15417. "description": "我的优惠卷数量",
  15418. "type": "integer"
  15419. },
  15420. "myOrderDetailListingCount": {
  15421. "description": "我的订单求购中数量",
  15422. "type": "integer"
  15423. },
  15424. "myOrderDetailPreCount": {
  15425. "description": "我的订单抢购中数量",
  15426. "type": "integer"
  15427. },
  15428. "myPackageUnReceiveCount": {
  15429. "description": "我的包裹待收货数量",
  15430. "type": "integer"
  15431. },
  15432. "myPackageUnSendCount": {
  15433. "description": "我的包裹待发货数量",
  15434. "type": "integer"
  15435. },
  15436. "myPayOrderCount": {
  15437. "description": "我的订单待付款数量",
  15438. "type": "integer"
  15439. }
  15440. }
  15441. },
  15442. "hsby.QueryProvincesAndCitiesRsp": {
  15443. "type": "object",
  15444. "properties": {
  15445. "cities": {
  15446. "description": "市",
  15447. "type": "array",
  15448. "items": {
  15449. "$ref": "#/definitions/models.Division"
  15450. }
  15451. },
  15452. "province": {
  15453. "description": "省",
  15454. "type": "object",
  15455. "$ref": "#/definitions/models.Division"
  15456. }
  15457. }
  15458. },
  15459. "models.AreaSpotModel": {
  15460. "type": "object",
  15461. "properties": {
  15462. "areauserid": {
  15463. "description": "所属机构",
  15464. "type": "integer"
  15465. },
  15466. "decreaseqty": {
  15467. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15468. "type": "number"
  15469. },
  15470. "increaseqty": {
  15471. "description": "增加数量=销售计划数量+采购已定价数量",
  15472. "type": "number"
  15473. },
  15474. "oritoalspotqty": {
  15475. "description": "昨日数量",
  15476. "type": "number"
  15477. },
  15478. "totalspotqty": {
  15479. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15480. "type": "number"
  15481. },
  15482. "updatetime": {
  15483. "description": "更新时间",
  15484. "type": "string"
  15485. },
  15486. "wrstandardcode": {
  15487. "description": "现货品种代码",
  15488. "type": "string"
  15489. },
  15490. "wrstandardid": {
  15491. "description": "现货商品ID",
  15492. "type": "integer"
  15493. },
  15494. "wrstandardname": {
  15495. "description": "现货品种",
  15496. "type": "string"
  15497. }
  15498. }
  15499. },
  15500. "models.Arearole": {
  15501. "type": "object",
  15502. "required": [
  15503. "roletype",
  15504. "userid"
  15505. ],
  15506. "properties": {
  15507. "createtime": {
  15508. "description": "创建时间",
  15509. "type": "string"
  15510. },
  15511. "creatorid": {
  15512. "description": "创建人ID",
  15513. "type": "integer"
  15514. },
  15515. "fromuserid": {
  15516. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  15517. "type": "integer"
  15518. },
  15519. "isreturnscore": {
  15520. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  15521. "type": "integer"
  15522. },
  15523. "modifierid": {
  15524. "description": "修改人ID",
  15525. "type": "integer"
  15526. },
  15527. "modifytime": {
  15528. "description": "修改时间",
  15529. "type": "string"
  15530. },
  15531. "orgtype": {
  15532. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  15533. "type": "integer"
  15534. },
  15535. "outuserid": {
  15536. "description": "外部账户[场外期权做市商]",
  15537. "type": "string"
  15538. },
  15539. "parentuserid": {
  15540. "description": "上级组织机构(组织机构)",
  15541. "type": "integer"
  15542. },
  15543. "roletype": {
  15544. "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:门店",
  15545. "type": "integer"
  15546. },
  15547. "rootuserid": {
  15548. "description": "顶级组织机构用户ID(组织机构)",
  15549. "type": "integer"
  15550. },
  15551. "shoppassword": {
  15552. "description": "商城店铺登陆密码(商城店铺角色使用)",
  15553. "type": "string"
  15554. },
  15555. "sublevelpath": {
  15556. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  15557. "type": "string"
  15558. },
  15559. "suborgtype": {
  15560. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  15561. "type": "integer"
  15562. },
  15563. "tradeaccountid": {
  15564. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  15565. "type": "integer"
  15566. },
  15567. "transurl": {
  15568. "description": "物流地址(物流机构)",
  15569. "type": "string"
  15570. },
  15571. "userid": {
  15572. "description": "机构用户ID其他做市关系,都设置为 1",
  15573. "type": "integer"
  15574. }
  15575. }
  15576. },
  15577. "models.Clientfixedadconfig": {
  15578. "type": "object",
  15579. "required": [
  15580. "adsort",
  15581. "adtype"
  15582. ],
  15583. "properties": {
  15584. "adsort": {
  15585. "description": "排序",
  15586. "type": "integer"
  15587. },
  15588. "adtype": {
  15589. "description": "广告位类型 - 1:新品抢购(HSBY)",
  15590. "type": "integer"
  15591. },
  15592. "areauserid": {
  15593. "description": "所属机构ID",
  15594. "type": "integer"
  15595. },
  15596. "createdate": {
  15597. "description": "创建时间",
  15598. "type": "string"
  15599. },
  15600. "creatorid": {
  15601. "description": "创建人",
  15602. "type": "integer"
  15603. },
  15604. "imagepath": {
  15605. "description": "图片",
  15606. "type": "string"
  15607. },
  15608. "isshow": {
  15609. "description": "是否展示 - 0:不展示 1:展示",
  15610. "type": "integer"
  15611. },
  15612. "modifierid": {
  15613. "description": "操作人",
  15614. "type": "integer"
  15615. },
  15616. "recsize": {
  15617. "description": "推荐尺寸",
  15618. "type": "string"
  15619. },
  15620. "title": {
  15621. "description": "标题",
  15622. "type": "string"
  15623. },
  15624. "updatedate": {
  15625. "description": "更新时间",
  15626. "type": "string"
  15627. },
  15628. "urlcontent": {
  15629. "description": "链接(地址或商品ID)",
  15630. "type": "string"
  15631. },
  15632. "urltype": {
  15633. "description": "链接类型 - 1:直接地址 2:商品ID",
  15634. "type": "integer"
  15635. }
  15636. }
  15637. },
  15638. "models.Division": {
  15639. "type": "object",
  15640. "required": [
  15641. "autoid",
  15642. "divisioncode"
  15643. ],
  15644. "properties": {
  15645. "autoid": {
  15646. "description": "自增ID",
  15647. "type": "integer"
  15648. },
  15649. "divisioncode": {
  15650. "description": "行政代码",
  15651. "type": "string"
  15652. },
  15653. "divisionlevel": {
  15654. "description": "行政级别",
  15655. "type": "string"
  15656. },
  15657. "divisionname": {
  15658. "description": "行政名称",
  15659. "type": "string"
  15660. },
  15661. "modifierid": {
  15662. "description": "修改人",
  15663. "type": "integer"
  15664. },
  15665. "modifytime": {
  15666. "description": "修改时间",
  15667. "type": "string"
  15668. },
  15669. "parentcode": {
  15670. "description": "上级行政代码",
  15671. "type": "string"
  15672. },
  15673. "pathname": {
  15674. "description": "路径名称",
  15675. "type": "string"
  15676. },
  15677. "postcode": {
  15678. "description": "邮政编码",
  15679. "type": "string"
  15680. },
  15681. "separablename": {
  15682. "description": "可拆分的全称",
  15683. "type": "string"
  15684. },
  15685. "shortcode": {
  15686. "description": "地区简码",
  15687. "type": "string"
  15688. }
  15689. }
  15690. },
  15691. "models.Enumdicitem": {
  15692. "type": "object",
  15693. "required": [
  15694. "autoid",
  15695. "enumdiccode",
  15696. "enumdicid",
  15697. "enumitemname"
  15698. ],
  15699. "properties": {
  15700. "autoid": {
  15701. "description": "自增ID",
  15702. "type": "integer"
  15703. },
  15704. "bankmappedvalue": {
  15705. "description": "银行服务对应值",
  15706. "type": "string"
  15707. },
  15708. "enumdiccode": {
  15709. "description": "所属枚举代码",
  15710. "type": "string"
  15711. },
  15712. "enumdicid": {
  15713. "description": "所属枚举ID",
  15714. "type": "integer"
  15715. },
  15716. "enumdicname": {
  15717. "description": "枚举项名称",
  15718. "type": "string"
  15719. },
  15720. "enumitemname": {
  15721. "description": "枚举项值",
  15722. "type": "integer"
  15723. },
  15724. "enumitemstatus": {
  15725. "description": "枚举项状态 - 1.启用 2.不启用",
  15726. "type": "integer"
  15727. },
  15728. "enumitemvalue": {
  15729. "description": "通用值 - [币种通用简写]",
  15730. "type": "string"
  15731. },
  15732. "param1": {
  15733. "description": "参数1[币种:币种小数位]",
  15734. "type": "string"
  15735. },
  15736. "param2": {
  15737. "description": "参数1[币种:币种显示单位]",
  15738. "type": "string"
  15739. },
  15740. "remark": {
  15741. "description": "备注",
  15742. "type": "string"
  15743. }
  15744. }
  15745. },
  15746. "models.Ermcp3AreaSpot": {
  15747. "type": "object",
  15748. "properties": {
  15749. "areauserid": {
  15750. "description": "所属机构",
  15751. "type": "integer"
  15752. },
  15753. "decreaseqty": {
  15754. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15755. "type": "number"
  15756. },
  15757. "deliverygoodscode": {
  15758. "description": "现货品种代码",
  15759. "type": "string"
  15760. },
  15761. "deliverygoodsid": {
  15762. "description": "现货品种id",
  15763. "type": "integer"
  15764. },
  15765. "deliverygoodsname": {
  15766. "description": "现货品种名称",
  15767. "type": "string"
  15768. },
  15769. "enumdicname": {
  15770. "description": "单位名称",
  15771. "type": "string"
  15772. },
  15773. "goodsunitid": {
  15774. "description": "现货品种单位id",
  15775. "type": "integer"
  15776. },
  15777. "increaseqty": {
  15778. "description": "增加数量=销售计划数量+采购已定价数量",
  15779. "type": "number"
  15780. },
  15781. "oritoalspotqty": {
  15782. "description": "昨日数量",
  15783. "type": "number"
  15784. },
  15785. "totalspotqty": {
  15786. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15787. "type": "number"
  15788. },
  15789. "updatetime": {
  15790. "description": "更新时间",
  15791. "type": "string"
  15792. }
  15793. }
  15794. },
  15795. "models.Ermcp3AreaSpotDetail": {
  15796. "type": "object",
  15797. "properties": {
  15798. "contracttype": {
  15799. "description": "合同类型 1-采购 -1-销售",
  15800. "type": "integer"
  15801. },
  15802. "createtime": {
  15803. "description": "创建时间",
  15804. "type": "string"
  15805. },
  15806. "deliverygoodscode": {
  15807. "description": "现货品种代码",
  15808. "type": "string"
  15809. },
  15810. "deliverygoodsid": {
  15811. "description": "现货品种id",
  15812. "type": "integer"
  15813. },
  15814. "deliverygoodsname": {
  15815. "description": "现货品种名称",
  15816. "type": "string"
  15817. },
  15818. "enumdicname": {
  15819. "description": "现货商品单位名称",
  15820. "type": "string"
  15821. },
  15822. "logtype": {
  15823. "description": "记录类型 1-套保 2-现货合同",
  15824. "type": "integer"
  15825. },
  15826. "qty": {
  15827. "description": "数量",
  15828. "type": "number"
  15829. },
  15830. "recordname": {
  15831. "description": "类型名称",
  15832. "type": "string"
  15833. },
  15834. "relatedid": {
  15835. "description": "套保计划ID/现货合同ID",
  15836. "type": "string"
  15837. },
  15838. "relatedno": {
  15839. "description": "编号",
  15840. "type": "string"
  15841. },
  15842. "strtime": {
  15843. "description": "时间",
  15844. "type": "string"
  15845. }
  15846. }
  15847. },
  15848. "models.Ermcp3AreaSpotPLReport": {
  15849. "type": "object",
  15850. "properties": {
  15851. "accountid": {
  15852. "description": "期货账户ID (作废, 默认为0)",
  15853. "type": "integer"
  15854. },
  15855. "accountname": {
  15856. "description": "机构名称",
  15857. "type": "string"
  15858. },
  15859. "actualpl": {
  15860. "description": "现货损益",
  15861. "type": "number"
  15862. },
  15863. "areauserid": {
  15864. "description": "所属机构\\交易用户ID",
  15865. "type": "integer"
  15866. },
  15867. "begindate": {
  15868. "description": "开始交易日",
  15869. "type": "string"
  15870. },
  15871. "biztype": {
  15872. "description": "业务类型 - 1:套保 2:套利",
  15873. "type": "integer"
  15874. },
  15875. "brandname": {
  15876. "description": "品牌名称",
  15877. "type": "string"
  15878. },
  15879. "curamount": {
  15880. "description": "期末额",
  15881. "type": "number"
  15882. },
  15883. "curaverageprice": {
  15884. "description": "期末均价",
  15885. "type": "number"
  15886. },
  15887. "curbuyamount": {
  15888. "description": "期末采购总额",
  15889. "type": "number"
  15890. },
  15891. "curbuyqty": {
  15892. "description": "期末采购总量",
  15893. "type": "number"
  15894. },
  15895. "curmarketvalue": {
  15896. "description": "参考市值(期末市值)",
  15897. "type": "number"
  15898. },
  15899. "curqty": {
  15900. "description": "期末量",
  15901. "type": "number"
  15902. },
  15903. "currencyid": {
  15904. "description": "结算币种ID【原值】",
  15905. "type": "integer"
  15906. },
  15907. "currencyname": {
  15908. "description": "币种名称",
  15909. "type": "string"
  15910. },
  15911. "cursellamount": {
  15912. "description": "期末销售总额",
  15913. "type": "number"
  15914. },
  15915. "cursellqty": {
  15916. "description": "期末销售总量",
  15917. "type": "number"
  15918. },
  15919. "curspotprice": {
  15920. "description": "参考市价(最新价)",
  15921. "type": "number"
  15922. },
  15923. "cycletime": {
  15924. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15925. "type": "string"
  15926. },
  15927. "cycletype": {
  15928. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15929. "type": "integer"
  15930. },
  15931. "deliverygoodscode": {
  15932. "description": "现货商品代码",
  15933. "type": "string"
  15934. },
  15935. "deliverygoodsid": {
  15936. "description": "现货品种ID",
  15937. "type": "integer"
  15938. },
  15939. "deliverygoodsname": {
  15940. "description": "现货商品名称",
  15941. "type": "string"
  15942. },
  15943. "enddate": {
  15944. "description": "结束交易日",
  15945. "type": "string"
  15946. },
  15947. "enumdicname": {
  15948. "description": "现货商品单位名称",
  15949. "type": "string"
  15950. },
  15951. "floatpl": {
  15952. "description": "浮动损益",
  15953. "type": "number"
  15954. },
  15955. "goodsunitid": {
  15956. "description": "现货商品单位id",
  15957. "type": "integer"
  15958. },
  15959. "oriamount": {
  15960. "description": "期初额",
  15961. "type": "number"
  15962. },
  15963. "oriaverageprice": {
  15964. "description": "期初均价",
  15965. "type": "number"
  15966. },
  15967. "oribuyamount": {
  15968. "description": "期初采购总额",
  15969. "type": "number"
  15970. },
  15971. "oribuyqty": {
  15972. "description": "期初采购总量",
  15973. "type": "number"
  15974. },
  15975. "oriqty": {
  15976. "description": "期初量",
  15977. "type": "number"
  15978. },
  15979. "orisellamount": {
  15980. "description": "期初销售总额",
  15981. "type": "number"
  15982. },
  15983. "orisellqty": {
  15984. "description": "期初销售总量",
  15985. "type": "number"
  15986. },
  15987. "reckondate": {
  15988. "description": "日照时期(yyyyMMdd)",
  15989. "type": "string"
  15990. },
  15991. "spotgoodsbrandid": {
  15992. "description": "现货品牌ID",
  15993. "type": "integer"
  15994. },
  15995. "todaybuyamount": {
  15996. "description": "今日采购额(今采购额)",
  15997. "type": "number"
  15998. },
  15999. "todaybuyaverageprice": {
  16000. "description": "今日采购均价",
  16001. "type": "number"
  16002. },
  16003. "todaybuyqty": {
  16004. "description": "今日采购量(今采购量)",
  16005. "type": "number"
  16006. },
  16007. "todayinqty": {
  16008. "description": "今日入库量(今入库量)",
  16009. "type": "number"
  16010. },
  16011. "todayoutqty": {
  16012. "description": "今日出库量(今出库量)",
  16013. "type": "number"
  16014. },
  16015. "todaysellamount": {
  16016. "description": "今日销售额(今销售额)",
  16017. "type": "number"
  16018. },
  16019. "todaysellaverageprice": {
  16020. "description": "今日销售均价",
  16021. "type": "number"
  16022. },
  16023. "todaysellqty": {
  16024. "description": "今日销售量(今销售量)",
  16025. "type": "number"
  16026. },
  16027. "unitid": {
  16028. "description": "品类单位id",
  16029. "type": "integer"
  16030. },
  16031. "unitidname": {
  16032. "description": "品类单位名称",
  16033. "type": "string"
  16034. },
  16035. "updatetime": {
  16036. "description": "更新时间",
  16037. "type": "string"
  16038. },
  16039. "wrfactortypeid": {
  16040. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16041. "type": "integer"
  16042. },
  16043. "wrstandardcode": {
  16044. "description": "品类代码",
  16045. "type": "string"
  16046. },
  16047. "wrstandardid": {
  16048. "description": "现货品类ID",
  16049. "type": "integer"
  16050. },
  16051. "wrstandardname": {
  16052. "description": "品类名称",
  16053. "type": "string"
  16054. }
  16055. }
  16056. },
  16057. "models.Ermcp3AreaStock": {
  16058. "type": "object",
  16059. "required": [
  16060. "userid"
  16061. ],
  16062. "properties": {
  16063. "brandname": {
  16064. "description": "品牌名称",
  16065. "type": "string"
  16066. },
  16067. "curstock": {
  16068. "description": "期末库存量(今日量)",
  16069. "type": "number"
  16070. },
  16071. "deliverygoodscode": {
  16072. "description": "现货品种代码",
  16073. "type": "string"
  16074. },
  16075. "deliverygoodsid": {
  16076. "description": "现货品种id",
  16077. "type": "integer"
  16078. },
  16079. "deliverygoodsname": {
  16080. "description": "现货品种名称",
  16081. "type": "string"
  16082. },
  16083. "enumdicname": {
  16084. "description": "单位名称",
  16085. "type": "string"
  16086. },
  16087. "goodsunitid": {
  16088. "description": "现货商品单位id",
  16089. "type": "integer"
  16090. },
  16091. "oristock": {
  16092. "description": "期初库存量(昨日量)",
  16093. "type": "number"
  16094. },
  16095. "spotgoodsbrandid": {
  16096. "description": "现货品牌ID",
  16097. "type": "integer"
  16098. },
  16099. "todaybuyinqty": {
  16100. "description": "今日采购入库量",
  16101. "type": "number"
  16102. },
  16103. "todayproduceinqty": {
  16104. "description": "今日生产入库量",
  16105. "type": "number"
  16106. },
  16107. "todayproduceoutqty": {
  16108. "description": "今日生产出库量",
  16109. "type": "number"
  16110. },
  16111. "todayselloutqty": {
  16112. "description": "今日销售出库量",
  16113. "type": "number"
  16114. },
  16115. "unitid": {
  16116. "description": "单位id",
  16117. "type": "integer"
  16118. },
  16119. "updatetime": {
  16120. "description": "更新时间",
  16121. "type": "string"
  16122. },
  16123. "userid": {
  16124. "description": "机构ID",
  16125. "type": "integer"
  16126. },
  16127. "username": {
  16128. "description": "机构名称",
  16129. "type": "string"
  16130. },
  16131. "warehousecode": {
  16132. "description": "仓库代码",
  16133. "type": "string"
  16134. },
  16135. "warehouseinfoid": {
  16136. "description": "仓库ID",
  16137. "type": "string"
  16138. },
  16139. "warehousename": {
  16140. "description": "仓库名称",
  16141. "type": "string"
  16142. },
  16143. "warehousetype": {
  16144. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16145. "type": "integer"
  16146. },
  16147. "wrstandardcode": {
  16148. "description": "品类代码",
  16149. "type": "string"
  16150. },
  16151. "wrstandardid": {
  16152. "description": "品类ID",
  16153. "type": "string"
  16154. },
  16155. "wrstandardname": {
  16156. "description": "品类名称",
  16157. "type": "string"
  16158. }
  16159. }
  16160. },
  16161. "models.Ermcp3AreaStockApply": {
  16162. "type": "object",
  16163. "properties": {
  16164. "applyid": {
  16165. "description": "申请人",
  16166. "type": "integer"
  16167. },
  16168. "applyname": {
  16169. "description": "申请人名称",
  16170. "type": "string"
  16171. },
  16172. "applyremark": {
  16173. "description": "申请备注",
  16174. "type": "string"
  16175. },
  16176. "applysrc": {
  16177. "description": "申请来源 - 1:管理端 2:终端",
  16178. "type": "integer"
  16179. },
  16180. "applystatus": {
  16181. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16182. "type": "integer"
  16183. },
  16184. "applytime": {
  16185. "description": "申请时间",
  16186. "type": "string"
  16187. },
  16188. "auditid": {
  16189. "description": "审核人",
  16190. "type": "integer"
  16191. },
  16192. "auditname": {
  16193. "description": "审核人名称",
  16194. "type": "string"
  16195. },
  16196. "auditremark": {
  16197. "description": "审核备注",
  16198. "type": "string"
  16199. },
  16200. "auditsrc": {
  16201. "description": "审核来源 - 1:管理端 2:终端",
  16202. "type": "integer"
  16203. },
  16204. "audittime": {
  16205. "description": "审核时间",
  16206. "type": "string"
  16207. },
  16208. "audittradedate": {
  16209. "description": "审核交易日(yyyyMMdd)",
  16210. "type": "string"
  16211. },
  16212. "brandname": {
  16213. "description": "品牌名称",
  16214. "type": "string"
  16215. },
  16216. "buynickname": {
  16217. "description": "采购方昵称",
  16218. "type": "string"
  16219. },
  16220. "buyuserid": {
  16221. "description": "采购方userid",
  16222. "type": "integer"
  16223. },
  16224. "buyusername": {
  16225. "description": "采购方名称",
  16226. "type": "string"
  16227. },
  16228. "contractno": {
  16229. "description": "合同编号",
  16230. "type": "string"
  16231. },
  16232. "contractqty": {
  16233. "description": "合同量",
  16234. "type": "number"
  16235. },
  16236. "contracttype": {
  16237. "description": "现货合同类型 - 1:采购 -1:销售",
  16238. "type": "integer"
  16239. },
  16240. "deliverygoodscode": {
  16241. "description": "现货品种代码",
  16242. "type": "string"
  16243. },
  16244. "deliverygoodsid": {
  16245. "description": "现货品种id",
  16246. "type": "integer"
  16247. },
  16248. "deliverygoodsname": {
  16249. "description": "现货品种名称",
  16250. "type": "string"
  16251. },
  16252. "detailjson": {
  16253. "description": "明细数据",
  16254. "type": "string"
  16255. },
  16256. "enumdicname": {
  16257. "description": "现货商品单位名称",
  16258. "type": "string"
  16259. },
  16260. "inoutapplyid": {
  16261. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  16262. "type": "string"
  16263. },
  16264. "inouttype": {
  16265. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16266. "type": "integer"
  16267. },
  16268. "pricetype": {
  16269. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16270. "type": "integer"
  16271. },
  16272. "qty": {
  16273. "description": "数量",
  16274. "type": "number"
  16275. },
  16276. "sellnickname": {
  16277. "description": "销售方昵称",
  16278. "type": "string"
  16279. },
  16280. "selluserid": {
  16281. "description": "销售方userid",
  16282. "type": "integer"
  16283. },
  16284. "sellusername": {
  16285. "description": "销售方名称",
  16286. "type": "string"
  16287. },
  16288. "spotcontractid": {
  16289. "description": "关联现货合同ID",
  16290. "type": "string"
  16291. },
  16292. "spotgoodsbrandid": {
  16293. "description": "现货品牌ID",
  16294. "type": "integer"
  16295. },
  16296. "unitid": {
  16297. "description": "单位id",
  16298. "type": "integer"
  16299. },
  16300. "userid": {
  16301. "description": "机构ID",
  16302. "type": "integer"
  16303. },
  16304. "warehousecode": {
  16305. "description": "仓库代码",
  16306. "type": "string"
  16307. },
  16308. "warehouseinfoid": {
  16309. "description": "现货仓库ID",
  16310. "type": "string"
  16311. },
  16312. "warehousename": {
  16313. "description": "仓库名称",
  16314. "type": "string"
  16315. },
  16316. "warehousetype": {
  16317. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16318. "type": "integer"
  16319. },
  16320. "wrstandardcode": {
  16321. "description": "品类代码",
  16322. "type": "string"
  16323. },
  16324. "wrstandardid": {
  16325. "description": "品类ID",
  16326. "type": "integer"
  16327. },
  16328. "wrstandardname": {
  16329. "description": "品类名称",
  16330. "type": "string"
  16331. }
  16332. }
  16333. },
  16334. "models.Ermcp3AreaStockApplySum": {
  16335. "type": "object",
  16336. "properties": {
  16337. "brandname": {
  16338. "description": "品牌名称",
  16339. "type": "string"
  16340. },
  16341. "inouttype": {
  16342. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16343. "type": "integer"
  16344. },
  16345. "spotcontractid": {
  16346. "description": "关联现货合同ID",
  16347. "type": "string"
  16348. },
  16349. "spotgoodsbrandid": {
  16350. "description": "品牌id",
  16351. "type": "integer"
  16352. },
  16353. "totalqty": {
  16354. "description": "总数量",
  16355. "type": "number"
  16356. },
  16357. "wrstandardid": {
  16358. "description": "品类id",
  16359. "type": "integer"
  16360. },
  16361. "wrstandardname": {
  16362. "description": "品类名称",
  16363. "type": "string"
  16364. }
  16365. }
  16366. },
  16367. "models.Ermcp3AreaStockReportEx": {
  16368. "type": "object",
  16369. "properties": {
  16370. "begindate": {
  16371. "description": "开始交易日",
  16372. "type": "string"
  16373. },
  16374. "brandname": {
  16375. "description": "品牌名称",
  16376. "type": "string"
  16377. },
  16378. "curstock": {
  16379. "description": "期末库存量",
  16380. "type": "number"
  16381. },
  16382. "cycletime": {
  16383. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16384. "type": "string"
  16385. },
  16386. "cycletype": {
  16387. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16388. "type": "integer"
  16389. },
  16390. "deliverygoodscode": {
  16391. "description": "现货品种代码",
  16392. "type": "string"
  16393. },
  16394. "deliverygoodsid": {
  16395. "description": "现货品种id",
  16396. "type": "integer"
  16397. },
  16398. "deliverygoodsname": {
  16399. "description": "现货品种名称",
  16400. "type": "string"
  16401. },
  16402. "diffqty": {
  16403. "description": "库存变化量 = 期末 - 期初",
  16404. "type": "number"
  16405. },
  16406. "enddate": {
  16407. "description": "结束交易日",
  16408. "type": "string"
  16409. },
  16410. "enumdicname": {
  16411. "description": "单位名称",
  16412. "type": "string"
  16413. },
  16414. "goodsunitid": {
  16415. "description": "现货单位id",
  16416. "type": "integer"
  16417. },
  16418. "oristock": {
  16419. "description": "期初库存量",
  16420. "type": "number"
  16421. },
  16422. "reckondate": {
  16423. "description": "日照时期(yyyyMMdd)",
  16424. "type": "string"
  16425. },
  16426. "spotgoodsbrandid": {
  16427. "description": "现货品牌ID",
  16428. "type": "integer"
  16429. },
  16430. "todaybuyinqty": {
  16431. "description": "今采购入库量",
  16432. "type": "number"
  16433. },
  16434. "todayproduceinqty": {
  16435. "description": "今内部入库量",
  16436. "type": "number"
  16437. },
  16438. "todayproduceoutqty": {
  16439. "description": "今内部出库量",
  16440. "type": "number"
  16441. },
  16442. "todayselloutqty": {
  16443. "description": "今销售出库量",
  16444. "type": "number"
  16445. },
  16446. "unbuyinqty": {
  16447. "description": "采购未入库量(数据库未找到相关字段?)",
  16448. "type": "number"
  16449. },
  16450. "unitid": {
  16451. "description": "品类单位id",
  16452. "type": "integer"
  16453. },
  16454. "unselloutqty": {
  16455. "description": "销售未出库量(数据库未找到相关字段?)",
  16456. "type": "number"
  16457. },
  16458. "updatetime": {
  16459. "description": "更新时间",
  16460. "type": "string"
  16461. },
  16462. "userid": {
  16463. "description": "机构ID",
  16464. "type": "integer"
  16465. },
  16466. "username": {
  16467. "description": "机构名称",
  16468. "type": "string"
  16469. },
  16470. "warehousecode": {
  16471. "description": "仓库代码",
  16472. "type": "string"
  16473. },
  16474. "warehouseinfoid": {
  16475. "description": "仓库ID",
  16476. "type": "string"
  16477. },
  16478. "warehousename": {
  16479. "description": "仓库名称",
  16480. "type": "string"
  16481. },
  16482. "warehousetype": {
  16483. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16484. "type": "integer"
  16485. },
  16486. "wrstandardcode": {
  16487. "description": "品类代码",
  16488. "type": "string"
  16489. },
  16490. "wrstandardid": {
  16491. "description": "品类ID",
  16492. "type": "integer"
  16493. },
  16494. "wrstandardname": {
  16495. "description": "品类名称",
  16496. "type": "string"
  16497. }
  16498. }
  16499. },
  16500. "models.Ermcp3ArealSumPL": {
  16501. "type": "object",
  16502. "properties": {
  16503. "accountname": {
  16504. "description": "机构名称",
  16505. "type": "string"
  16506. },
  16507. "areauserid": {
  16508. "description": "所属机构\\交易用户ID",
  16509. "type": "integer"
  16510. },
  16511. "begindate": {
  16512. "description": "开始交易日",
  16513. "type": "string"
  16514. },
  16515. "currencyid": {
  16516. "description": "结算币种ID",
  16517. "type": "integer"
  16518. },
  16519. "currencyname": {
  16520. "description": "币种名称",
  16521. "type": "string"
  16522. },
  16523. "cycletime": {
  16524. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16525. "type": "string"
  16526. },
  16527. "cycletype": {
  16528. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16529. "type": "integer"
  16530. },
  16531. "enddate": {
  16532. "description": "结束交易日",
  16533. "type": "string"
  16534. },
  16535. "enumdicname": {
  16536. "description": "单位名称(套保品种)",
  16537. "type": "string"
  16538. },
  16539. "futureactualpl": {
  16540. "description": "期货损益",
  16541. "type": "number"
  16542. },
  16543. "futurefloatpl": {
  16544. "description": "期货浮动损益",
  16545. "type": "number"
  16546. },
  16547. "goodsunitid": {
  16548. "description": "套保品种单位id",
  16549. "type": "integer"
  16550. },
  16551. "middlegoodscode": {
  16552. "description": "套保品种代码",
  16553. "type": "string"
  16554. },
  16555. "middlegoodsid": {
  16556. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16557. "type": "integer"
  16558. },
  16559. "middlegoodsname": {
  16560. "description": "套保品种名称",
  16561. "type": "string"
  16562. },
  16563. "reckondate": {
  16564. "description": "日照时期(yyyyMMdd)",
  16565. "type": "string"
  16566. },
  16567. "spotactualpl": {
  16568. "description": "现货损益",
  16569. "type": "number"
  16570. },
  16571. "spotfloatpl": {
  16572. "description": "现货浮动损益",
  16573. "type": "number"
  16574. },
  16575. "sumactualpl": {
  16576. "description": "实际损益 = (ActualPL + FutureActualPL)",
  16577. "type": "number"
  16578. },
  16579. "sumpl": {
  16580. "description": "汇总损益",
  16581. "type": "number"
  16582. },
  16583. "updatetime": {
  16584. "description": "更新时间",
  16585. "type": "string"
  16586. }
  16587. }
  16588. },
  16589. "models.Ermcp3Brand": {
  16590. "type": "object",
  16591. "properties": {
  16592. "areauserid": {
  16593. "description": "用户id",
  16594. "type": "integer"
  16595. },
  16596. "brandid": {
  16597. "description": "品牌id",
  16598. "type": "integer"
  16599. },
  16600. "brandname": {
  16601. "description": "品牌名称",
  16602. "type": "string"
  16603. },
  16604. "deliverygoodsid": {
  16605. "description": "品种ID",
  16606. "type": "integer"
  16607. }
  16608. }
  16609. },
  16610. "models.Ermcp3Contract": {
  16611. "type": "object",
  16612. "properties": {
  16613. "accountid": {
  16614. "description": "期货账户id",
  16615. "type": "string"
  16616. },
  16617. "amount": {
  16618. "description": "金额 [1:一口价、3:暂定价]",
  16619. "type": "number"
  16620. },
  16621. "attachment": {
  16622. "description": "附件",
  16623. "type": "string"
  16624. },
  16625. "auditremark": {
  16626. "description": "审核意见",
  16627. "type": "string"
  16628. },
  16629. "audittime": {
  16630. "description": "审核时间",
  16631. "type": "string"
  16632. },
  16633. "biztype": {
  16634. "description": "业务类型 1-套保 2-套利",
  16635. "type": "integer"
  16636. },
  16637. "brandname": {
  16638. "description": "品牌名称",
  16639. "type": "string"
  16640. },
  16641. "buynickname": {
  16642. "description": "销售方昵称",
  16643. "type": "string"
  16644. },
  16645. "buyuserid": {
  16646. "description": "采购方ID",
  16647. "type": "integer"
  16648. },
  16649. "buyusername": {
  16650. "description": "采购方名称",
  16651. "type": "string"
  16652. },
  16653. "contracctstatus": {
  16654. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16655. "type": "integer"
  16656. },
  16657. "contractmargin": {
  16658. "description": "合同保证金",
  16659. "type": "number"
  16660. },
  16661. "contractno": {
  16662. "description": "现货合同编号",
  16663. "type": "string"
  16664. },
  16665. "contracttype": {
  16666. "description": "现货合同类型 - 1:采购 -1:销售",
  16667. "type": "integer"
  16668. },
  16669. "convertfactor": {
  16670. "description": "标仓系数(品类)",
  16671. "type": "number"
  16672. },
  16673. "createtime": {
  16674. "description": "创建时间",
  16675. "type": "string"
  16676. },
  16677. "currencyid": {
  16678. "description": "币种id",
  16679. "type": "integer"
  16680. },
  16681. "currencyname": {
  16682. "description": "币种名称",
  16683. "type": "string"
  16684. },
  16685. "deliveryenddate": {
  16686. "description": "交收期(结束)",
  16687. "type": "string"
  16688. },
  16689. "deliverygoodscode": {
  16690. "description": "现货品种代码",
  16691. "type": "string"
  16692. },
  16693. "deliverygoodsid": {
  16694. "description": "现货品种ID",
  16695. "type": "integer"
  16696. },
  16697. "deliverygoodsname": {
  16698. "description": "现货品种名称",
  16699. "type": "string"
  16700. },
  16701. "deliverystartdate": {
  16702. "description": "交收期(开始)",
  16703. "type": "string"
  16704. },
  16705. "enddate": {
  16706. "description": "点价结束日期 [2:点价 3:暂定价]",
  16707. "type": "string"
  16708. },
  16709. "enumdicname": {
  16710. "description": "单位名称",
  16711. "type": "string"
  16712. },
  16713. "goodscode": {
  16714. "description": "点价合约代码",
  16715. "type": "string"
  16716. },
  16717. "goodsid": {
  16718. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  16719. "type": "integer"
  16720. },
  16721. "goodsname": {
  16722. "description": "点价商品名称",
  16723. "type": "string"
  16724. },
  16725. "margin": {
  16726. "description": "当前保证金",
  16727. "type": "number"
  16728. },
  16729. "meruserid": {
  16730. "description": "跟单员id",
  16731. "type": "integer"
  16732. },
  16733. "meruserlogincode": {
  16734. "description": "跟单员登录代码",
  16735. "type": "string"
  16736. },
  16737. "merusername": {
  16738. "description": "跟单员名称",
  16739. "type": "string"
  16740. },
  16741. "price": {
  16742. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  16743. "type": "number"
  16744. },
  16745. "pricemove": {
  16746. "description": "升贴水 [2:点价 3:暂定价]",
  16747. "type": "number"
  16748. },
  16749. "pricetype": {
  16750. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16751. "type": "integer"
  16752. },
  16753. "producttype": {
  16754. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16755. "type": "integer"
  16756. },
  16757. "qty": {
  16758. "description": "数量",
  16759. "type": "number"
  16760. },
  16761. "remark": {
  16762. "description": "备注",
  16763. "type": "string"
  16764. },
  16765. "saleuserid": {
  16766. "description": "业务员id",
  16767. "type": "integer"
  16768. },
  16769. "saleuserlogincode": {
  16770. "description": "业务员登录代码",
  16771. "type": "string"
  16772. },
  16773. "saleusername": {
  16774. "description": "业务员名称",
  16775. "type": "string"
  16776. },
  16777. "sellnickname": {
  16778. "description": "采购方昵称",
  16779. "type": "string"
  16780. },
  16781. "selluserid": {
  16782. "description": "销售方ID",
  16783. "type": "integer"
  16784. },
  16785. "sellusername": {
  16786. "description": "销售方名称",
  16787. "type": "string"
  16788. },
  16789. "spotcontractid": {
  16790. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  16791. "type": "string"
  16792. },
  16793. "spotgoodsbrandid": {
  16794. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16795. "type": "integer"
  16796. },
  16797. "spotgoodsdesc": {
  16798. "description": "商品型号",
  16799. "type": "string"
  16800. },
  16801. "startdate": {
  16802. "description": "点价开始日期 [2:点价 3:暂定价]",
  16803. "type": "string"
  16804. },
  16805. "tradeuserid": {
  16806. "description": "交易员id",
  16807. "type": "integer"
  16808. },
  16809. "tradeuserlogincode": {
  16810. "description": "交易员登录代码",
  16811. "type": "string"
  16812. },
  16813. "tradeusername": {
  16814. "description": "交易员名称",
  16815. "type": "string"
  16816. },
  16817. "unitid": {
  16818. "description": "单位id(取品类上的单位id)",
  16819. "type": "integer"
  16820. },
  16821. "updatetime": {
  16822. "description": "更新时间",
  16823. "type": "string"
  16824. },
  16825. "userid": {
  16826. "description": "所属机构ID",
  16827. "type": "integer"
  16828. },
  16829. "wrstandardcode": {
  16830. "description": "品类代码",
  16831. "type": "string"
  16832. },
  16833. "wrstandardid": {
  16834. "description": "品类ID",
  16835. "type": "integer"
  16836. },
  16837. "wrstandardname": {
  16838. "description": "品类名称",
  16839. "type": "string"
  16840. }
  16841. }
  16842. },
  16843. "models.Ermcp3ExposureContractDetail": {
  16844. "type": "object",
  16845. "properties": {
  16846. "biztype": {
  16847. "description": "业务类型 1-套保 2-套利",
  16848. "type": "integer"
  16849. },
  16850. "brandname": {
  16851. "description": "品牌名称",
  16852. "type": "string"
  16853. },
  16854. "buyuserid": {
  16855. "description": "采购方id",
  16856. "type": "integer"
  16857. },
  16858. "buyusername": {
  16859. "description": "采购方名称",
  16860. "type": "string"
  16861. },
  16862. "contractno": {
  16863. "description": "合同编号",
  16864. "type": "string"
  16865. },
  16866. "contracttype": {
  16867. "description": "现货合同类型 - 1:采购 -1:销售",
  16868. "type": "integer"
  16869. },
  16870. "convertfactor": {
  16871. "description": "标仓系数",
  16872. "type": "number"
  16873. },
  16874. "convertratio": {
  16875. "description": "折算系数(套保品种)",
  16876. "type": "number"
  16877. },
  16878. "curqty": {
  16879. "description": "今定价量",
  16880. "type": "number"
  16881. },
  16882. "deliverygoodscode": {
  16883. "description": "现货商品代码",
  16884. "type": "string"
  16885. },
  16886. "deliverygoodsid": {
  16887. "description": "现货商品id",
  16888. "type": "integer"
  16889. },
  16890. "deliverygoodsname": {
  16891. "description": "现货商品名称",
  16892. "type": "string"
  16893. },
  16894. "diffhedgeqty": {
  16895. "description": "套保变动量",
  16896. "type": "number"
  16897. },
  16898. "diffneedhedgeqty": {
  16899. "description": "应套保变动量",
  16900. "type": "number"
  16901. },
  16902. "diffqty": {
  16903. "description": "套保品种今变动量",
  16904. "type": "number"
  16905. },
  16906. "enumdicname": {
  16907. "description": "单位名称",
  16908. "type": "string"
  16909. },
  16910. "middlegoodscode": {
  16911. "description": "套保品种代码",
  16912. "type": "string"
  16913. },
  16914. "middlegoodsid": {
  16915. "description": "套保品种id",
  16916. "type": "integer"
  16917. },
  16918. "middlegoodsname": {
  16919. "description": "套保品种名称",
  16920. "type": "string"
  16921. },
  16922. "needarbitrageratio": {
  16923. "description": "应套利比例",
  16924. "type": "number"
  16925. },
  16926. "needhedgeratio": {
  16927. "description": "应套保比例",
  16928. "type": "number"
  16929. },
  16930. "pricedqty": {
  16931. "description": "已定价量",
  16932. "type": "number"
  16933. },
  16934. "qty": {
  16935. "description": "合同量",
  16936. "type": "number"
  16937. },
  16938. "selluserid": {
  16939. "description": "销售方id",
  16940. "type": "integer"
  16941. },
  16942. "sellusername": {
  16943. "description": "销售方名称",
  16944. "type": "string"
  16945. },
  16946. "spotcontractid": {
  16947. "description": "合同id",
  16948. "type": "string"
  16949. },
  16950. "todaypricedqty": {
  16951. "description": "今定价量",
  16952. "type": "number"
  16953. },
  16954. "tradedate": {
  16955. "description": "交易日",
  16956. "type": "string"
  16957. },
  16958. "unitid": {
  16959. "description": "品类单位id",
  16960. "type": "integer"
  16961. },
  16962. "userid": {
  16963. "description": "机构id",
  16964. "type": "integer"
  16965. },
  16966. "wrstandardcode": {
  16967. "description": "品类代码",
  16968. "type": "string"
  16969. },
  16970. "wrstandardid": {
  16971. "description": "品类id",
  16972. "type": "integer"
  16973. },
  16974. "wrstandardname": {
  16975. "description": "品类名称",
  16976. "type": "string"
  16977. }
  16978. }
  16979. },
  16980. "models.Ermcp3ExposureDetail": {
  16981. "type": "object",
  16982. "properties": {
  16983. "areauserid": {
  16984. "description": "机构ID",
  16985. "type": "integer"
  16986. },
  16987. "changeQty": {
  16988. "description": "套保变动量",
  16989. "type": "number"
  16990. },
  16991. "contracttype": {
  16992. "description": "现货合同类型 - 1:采购 -1:销售",
  16993. "type": "integer"
  16994. },
  16995. "convertfactor": {
  16996. "description": "标仓系数",
  16997. "type": "number"
  16998. },
  16999. "convertratio": {
  17000. "description": "套保系数",
  17001. "type": "number"
  17002. },
  17003. "createtime": {
  17004. "description": "时间",
  17005. "type": "string"
  17006. },
  17007. "deliverygoodscode": {
  17008. "description": "现货品种代码",
  17009. "type": "string"
  17010. },
  17011. "deliverygoodsid": {
  17012. "description": "现货品种id",
  17013. "type": "integer"
  17014. },
  17015. "deliverygoodsname": {
  17016. "description": "现货品种名称",
  17017. "type": "string"
  17018. },
  17019. "enumdicname": {
  17020. "description": "现货商品单位名称",
  17021. "type": "string"
  17022. },
  17023. "logtype": {
  17024. "description": "类型 - 1:套保计划 2:现货合同",
  17025. "type": "integer"
  17026. },
  17027. "mgunitid": {
  17028. "description": "套保品种单位id",
  17029. "type": "integer"
  17030. },
  17031. "mgunitidname": {
  17032. "description": "套保品种单位名称",
  17033. "type": "string"
  17034. },
  17035. "middlegoodsId": {
  17036. "description": "套保商品id",
  17037. "type": "integer"
  17038. },
  17039. "middlegoodscode": {
  17040. "description": "套保商品代码",
  17041. "type": "string"
  17042. },
  17043. "middlegoodsname": {
  17044. "description": "套保商品名称",
  17045. "type": "string"
  17046. },
  17047. "qty": {
  17048. "description": "数量",
  17049. "type": "number"
  17050. },
  17051. "relateNo": {
  17052. "description": "现货合同/套保计划编号",
  17053. "type": "string"
  17054. }
  17055. }
  17056. },
  17057. "models.Ermcp3ExposureFutuDetail": {
  17058. "type": "object",
  17059. "properties": {
  17060. "accountid": {
  17061. "description": "交易账户id",
  17062. "type": "integer"
  17063. },
  17064. "accountname": {
  17065. "description": "交易账户",
  17066. "type": "string"
  17067. },
  17068. "begindate": {
  17069. "description": "开始交易日",
  17070. "type": "string"
  17071. },
  17072. "buyorsell": {
  17073. "description": "方向 0-买 1-卖",
  17074. "type": "integer"
  17075. },
  17076. "diffmgqty": {
  17077. "description": "套保品种今变化量",
  17078. "type": "number"
  17079. },
  17080. "diffneedqty": {
  17081. "description": "应套保总量变化量",
  17082. "type": "number"
  17083. },
  17084. "difftradeqty": {
  17085. "description": "交易品种今变化量",
  17086. "type": "number"
  17087. },
  17088. "enddate": {
  17089. "description": "结束交易日",
  17090. "type": "string"
  17091. },
  17092. "enumdicname": {
  17093. "description": "单位名称",
  17094. "type": "string"
  17095. },
  17096. "goodscode": {
  17097. "description": "商品代码",
  17098. "type": "string"
  17099. },
  17100. "goodsid": {
  17101. "description": "商品id",
  17102. "type": "integer"
  17103. },
  17104. "goodsname": {
  17105. "description": "商品名称",
  17106. "type": "string"
  17107. },
  17108. "holdqty": {
  17109. "description": "期末持仓量",
  17110. "type": "number"
  17111. },
  17112. "middlegoodscode": {
  17113. "description": "套保商品代码",
  17114. "type": "string"
  17115. },
  17116. "middlegoodsid": {
  17117. "description": "套保商品id",
  17118. "type": "integer"
  17119. },
  17120. "middlegoodsname": {
  17121. "description": "套保商品名称",
  17122. "type": "string"
  17123. },
  17124. "oriholdqty": {
  17125. "description": "期初持仓量",
  17126. "type": "number"
  17127. },
  17128. "todaycloseqty": {
  17129. "description": "今平仓量",
  17130. "type": "number"
  17131. },
  17132. "todayopenqty": {
  17133. "description": "今开仓量",
  17134. "type": "number"
  17135. },
  17136. "tradedate": {
  17137. "description": "交易日",
  17138. "type": "string"
  17139. }
  17140. }
  17141. },
  17142. "models.Ermcp3ExposureHedgeplanDetail": {
  17143. "type": "object",
  17144. "properties": {
  17145. "biztype": {
  17146. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  17147. "type": "integer"
  17148. },
  17149. "changqty": {
  17150. "description": "应套保总量变化量",
  17151. "type": "number"
  17152. },
  17153. "contracttype": {
  17154. "description": "计划类型 - 1:采购 -1:销售",
  17155. "type": "integer"
  17156. },
  17157. "convertratio": {
  17158. "description": "折算系数(套保品种)",
  17159. "type": "number"
  17160. },
  17161. "deliverygoodscode": {
  17162. "description": "现货商品代码",
  17163. "type": "string"
  17164. },
  17165. "deliverygoodsid": {
  17166. "description": "现货商品id",
  17167. "type": "integer"
  17168. },
  17169. "deliverygoodsname": {
  17170. "description": "现货商吕名称",
  17171. "type": "string"
  17172. },
  17173. "dgunitid": {
  17174. "description": "现货商品单位id",
  17175. "type": "integer"
  17176. },
  17177. "dgunitidname": {
  17178. "description": "单位名称(现货商品)",
  17179. "type": "string"
  17180. },
  17181. "diffqty": {
  17182. "description": "套保品种今变动量",
  17183. "type": "number"
  17184. },
  17185. "enumdicname": {
  17186. "description": "单位名称(品类)",
  17187. "type": "string"
  17188. },
  17189. "hedgeplanid": {
  17190. "description": "套保计划id",
  17191. "type": "string"
  17192. },
  17193. "hedgeplanno": {
  17194. "description": "套保计划名称",
  17195. "type": "string"
  17196. },
  17197. "hedgeplanstatus": {
  17198. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17199. "type": "integer"
  17200. },
  17201. "mgunitidname": {
  17202. "description": "单位名称(套保商品)",
  17203. "type": "string"
  17204. },
  17205. "middlegoodscode": {
  17206. "description": "套保品种代码",
  17207. "type": "string"
  17208. },
  17209. "middlegoodsid": {
  17210. "description": "套保品种id",
  17211. "type": "integer"
  17212. },
  17213. "middlegoodsname": {
  17214. "description": "套保品种名称",
  17215. "type": "string"
  17216. },
  17217. "needarbitrageratio": {
  17218. "description": "应套利比例",
  17219. "type": "number"
  17220. },
  17221. "needhedgeratio": {
  17222. "description": "应套保比例",
  17223. "type": "number"
  17224. },
  17225. "pricedqty": {
  17226. "description": "已定价量",
  17227. "type": "number"
  17228. },
  17229. "qty": {
  17230. "description": "合同量",
  17231. "type": "number"
  17232. },
  17233. "tradedate": {
  17234. "description": "交易日(登记日)",
  17235. "type": "string"
  17236. },
  17237. "unitid": {
  17238. "description": "品类单位id",
  17239. "type": "integer"
  17240. },
  17241. "userid": {
  17242. "description": "机构id",
  17243. "type": "integer"
  17244. },
  17245. "wrstandardcode": {
  17246. "description": "品类代码",
  17247. "type": "string"
  17248. },
  17249. "wrstandardid": {
  17250. "description": "品类id",
  17251. "type": "integer"
  17252. },
  17253. "wrstandardname": {
  17254. "description": "品类名称",
  17255. "type": "string"
  17256. }
  17257. }
  17258. },
  17259. "models.Ermcp3ExposureParamChLog": {
  17260. "type": "object",
  17261. "properties": {
  17262. "accountid": {
  17263. "description": "期货账户ID (作废, 默认为0)",
  17264. "type": "integer"
  17265. },
  17266. "aftervalue": {
  17267. "description": "应套保\\套利量变更后(调整后应套保总量)",
  17268. "type": "number"
  17269. },
  17270. "areauserid": {
  17271. "description": "所属机构\\交易用户ID",
  17272. "type": "integer"
  17273. },
  17274. "beforevalue": {
  17275. "description": "应套保\\套利量变更前(调整前应套保总量)",
  17276. "type": "number"
  17277. },
  17278. "begindate": {
  17279. "description": "开始交易日",
  17280. "type": "string"
  17281. },
  17282. "changelogtype": {
  17283. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  17284. "type": "integer"
  17285. },
  17286. "curvalue": {
  17287. "description": "当前套保\\套利量(套保总量|套利总量)",
  17288. "type": "number"
  17289. },
  17290. "diffvalue": {
  17291. "description": "应套保总量变化量",
  17292. "type": "number"
  17293. },
  17294. "enddate": {
  17295. "description": "结束交易日",
  17296. "type": "string"
  17297. },
  17298. "logdatetime": {
  17299. "description": "流水日期",
  17300. "type": "string"
  17301. },
  17302. "logid": {
  17303. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  17304. "type": "string"
  17305. },
  17306. "middlegoodscode": {
  17307. "description": "套保品种代码",
  17308. "type": "string"
  17309. },
  17310. "middlegoodsid": {
  17311. "description": "套保品种",
  17312. "type": "integer"
  17313. },
  17314. "middlegoodsname": {
  17315. "description": "套保品种名称",
  17316. "type": "string"
  17317. },
  17318. "paramaftervalue": {
  17319. "description": "参数变更后(调整后参数值)",
  17320. "type": "number"
  17321. },
  17322. "parambeforevalue": {
  17323. "description": "参数变更前(调整前参数值)",
  17324. "type": "number"
  17325. },
  17326. "tradedate": {
  17327. "description": "交易日(yyyyMMdd)",
  17328. "type": "string"
  17329. }
  17330. }
  17331. },
  17332. "models.Ermcp3ExpourseReport": {
  17333. "type": "object",
  17334. "properties": {
  17335. "accountid": {
  17336. "description": "期货账户ID (作废, 默认为0)",
  17337. "type": "integer"
  17338. },
  17339. "accountname": {
  17340. "description": "机构名称",
  17341. "type": "string"
  17342. },
  17343. "arbitrageqty": {
  17344. "description": "套利量",
  17345. "type": "number"
  17346. },
  17347. "areauserid": {
  17348. "description": "所属机构\\交易用户ID",
  17349. "type": "integer"
  17350. },
  17351. "begindate": {
  17352. "description": "开始交易日",
  17353. "type": "string"
  17354. },
  17355. "buyfutureqty": {
  17356. "description": "买入期货数量",
  17357. "type": "number"
  17358. },
  17359. "buyplanqty": {
  17360. "description": "采购计划数量",
  17361. "type": "number"
  17362. },
  17363. "buypricedqty": {
  17364. "description": "采购合同已定价数量",
  17365. "type": "number"
  17366. },
  17367. "cycletime": {
  17368. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17369. "type": "string"
  17370. },
  17371. "cycletype": {
  17372. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17373. "type": "integer"
  17374. },
  17375. "diffexposure": {
  17376. "description": "变动量(套保敞口)",
  17377. "type": "number"
  17378. },
  17379. "difffutuqty": {
  17380. "description": "变动量(期货)",
  17381. "type": "number"
  17382. },
  17383. "diffhedgeqty": {
  17384. "description": "变动量(现货应套保总量)",
  17385. "type": "number"
  17386. },
  17387. "diffmgqtya": {
  17388. "description": "套保变动量",
  17389. "type": "number"
  17390. },
  17391. "diffmgqtyb": {
  17392. "description": "套利变动量",
  17393. "type": "number"
  17394. },
  17395. "diffqty": {
  17396. "description": "变动量(总敞口)",
  17397. "type": "number"
  17398. },
  17399. "diffspotqty": {
  17400. "description": "变动量(现货)",
  17401. "type": "number"
  17402. },
  17403. "enddate": {
  17404. "description": "结束交易日",
  17405. "type": "string"
  17406. },
  17407. "enumdicname": {
  17408. "description": "单位名称",
  17409. "type": "string"
  17410. },
  17411. "hedgeqty": {
  17412. "description": "套保量",
  17413. "type": "number"
  17414. },
  17415. "mgneedhedgeratio": {
  17416. "description": "套保比例(套保品的)",
  17417. "type": "number"
  17418. },
  17419. "middlegoodsid": {
  17420. "description": "套保品种ID",
  17421. "type": "integer"
  17422. },
  17423. "middlegoodsname": {
  17424. "description": "套保商品名称",
  17425. "type": "string"
  17426. },
  17427. "middlgoodscode": {
  17428. "description": "套保商品代码",
  17429. "type": "string"
  17430. },
  17431. "needarbitrageqty": {
  17432. "description": "应套利量",
  17433. "type": "number"
  17434. },
  17435. "needarbitrageratio": {
  17436. "description": "套利比例(套保品的)",
  17437. "type": "number"
  17438. },
  17439. "needhedgeexposoure": {
  17440. "description": "应套保敞口(套保敞口)",
  17441. "type": "number"
  17442. },
  17443. "needhedgeqty": {
  17444. "description": "应套保量",
  17445. "type": "number"
  17446. },
  17447. "needhedgeratio": {
  17448. "description": "应套保敞口比例",
  17449. "type": "number"
  17450. },
  17451. "oriarbitrageqty": {
  17452. "description": "期初套利量",
  17453. "type": "number"
  17454. },
  17455. "oribuyfutureqty": {
  17456. "description": "期初买入期货数量",
  17457. "type": "number"
  17458. },
  17459. "oribuyplanqty": {
  17460. "description": "期初采购计划数量",
  17461. "type": "number"
  17462. },
  17463. "oribuypricedqty": {
  17464. "description": "期初采购合同已定价数量",
  17465. "type": "number"
  17466. },
  17467. "orihedgeqty": {
  17468. "description": "期初套保量",
  17469. "type": "number"
  17470. },
  17471. "orineedarbitrageqty": {
  17472. "description": "期初应套利量",
  17473. "type": "number"
  17474. },
  17475. "orineedhedgeexposoure": {
  17476. "description": "期初应套保敞口",
  17477. "type": "number"
  17478. },
  17479. "orineedhedgeqty": {
  17480. "description": "期初应套保量",
  17481. "type": "number"
  17482. },
  17483. "orisellfutureqty": {
  17484. "description": "期初卖出期货数量",
  17485. "type": "number"
  17486. },
  17487. "orisellplanqty": {
  17488. "description": "期初销售计划数量",
  17489. "type": "number"
  17490. },
  17491. "orisellpricedqty": {
  17492. "description": "期初销售合同已定价数量",
  17493. "type": "number"
  17494. },
  17495. "oritotalexposure": {
  17496. "description": "期初实时总敞口",
  17497. "type": "number"
  17498. },
  17499. "oritotalfutureqty": {
  17500. "description": "期初期货头寸总量",
  17501. "type": "number"
  17502. },
  17503. "oritotalneedhedgeqty": {
  17504. "description": "期初应套保总量",
  17505. "type": "number"
  17506. },
  17507. "oritotalspotqty": {
  17508. "description": "期初现货头寸总量",
  17509. "type": "number"
  17510. },
  17511. "reckondate": {
  17512. "description": "日照时期(yyyyMMdd)",
  17513. "type": "string"
  17514. },
  17515. "sellfutureqty": {
  17516. "description": "卖出期货数量",
  17517. "type": "number"
  17518. },
  17519. "sellplanqty": {
  17520. "description": "销售计划数量",
  17521. "type": "number"
  17522. },
  17523. "sellpricedqty": {
  17524. "description": "销售合同已定价数量",
  17525. "type": "number"
  17526. },
  17527. "totalexposure": {
  17528. "description": "实时总敞口(总敞口)",
  17529. "type": "number"
  17530. },
  17531. "totalfutureqty": {
  17532. "description": "期货头寸总量(期货总量)",
  17533. "type": "number"
  17534. },
  17535. "totalhedgeratio": {
  17536. "description": "敞口比例",
  17537. "type": "number"
  17538. },
  17539. "totalneedhedgeqty": {
  17540. "description": "应套保总量(现货应套保总量)",
  17541. "type": "number"
  17542. },
  17543. "totalspotqty": {
  17544. "description": "现货头寸总量",
  17545. "type": "number"
  17546. },
  17547. "unitid": {
  17548. "description": "单位id",
  17549. "type": "integer"
  17550. },
  17551. "updatetime": {
  17552. "description": "更新时间",
  17553. "type": "string"
  17554. }
  17555. }
  17556. },
  17557. "models.Ermcp3FinanceReport": {
  17558. "type": "object",
  17559. "properties": {
  17560. "accountname": {
  17561. "description": "机构名称",
  17562. "type": "string"
  17563. },
  17564. "areauserid": {
  17565. "description": "所属机构\\交易用户ID",
  17566. "type": "integer"
  17567. },
  17568. "begindate": {
  17569. "description": "开始交易日",
  17570. "type": "string"
  17571. },
  17572. "biztype": {
  17573. "description": "业务类型 - 1:套保 2:套利",
  17574. "type": "integer"
  17575. },
  17576. "brandname": {
  17577. "description": "品牌名称",
  17578. "type": "string"
  17579. },
  17580. "buypreinvoicedamount": {
  17581. "description": "采购预收票额(预收票额)",
  17582. "type": "number"
  17583. },
  17584. "buyprepaidamount": {
  17585. "description": "采购预付款额(预付货款额)",
  17586. "type": "number"
  17587. },
  17588. "buytodayinvoiceamount": {
  17589. "description": "采购今收票额(今收票额)",
  17590. "type": "number"
  17591. },
  17592. "buytodayrefundamount": {
  17593. "description": "采购今收退款额(今收退款额)",
  17594. "type": "number"
  17595. },
  17596. "buytodaysettleamount": {
  17597. "description": "采购今付款额(今付货款额)",
  17598. "type": "number"
  17599. },
  17600. "buyuninvoicedamount": {
  17601. "description": "采购应收票额(应收票额)",
  17602. "type": "number"
  17603. },
  17604. "buyunpaidamount": {
  17605. "description": "采购应付款额(应付货款额)",
  17606. "type": "number"
  17607. },
  17608. "currencyid": {
  17609. "description": "结算币种ID",
  17610. "type": "integer"
  17611. },
  17612. "currencyname": {
  17613. "description": "币种名称",
  17614. "type": "string"
  17615. },
  17616. "cycletime": {
  17617. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17618. "type": "string"
  17619. },
  17620. "cycletype": {
  17621. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17622. "type": "integer"
  17623. },
  17624. "deliverygoodscode": {
  17625. "description": "现货品种代码",
  17626. "type": "string"
  17627. },
  17628. "deliverygoodsid": {
  17629. "description": "现货品种ID",
  17630. "type": "integer"
  17631. },
  17632. "deliverygoodsname": {
  17633. "description": "现货品种名称",
  17634. "type": "string"
  17635. },
  17636. "enddate": {
  17637. "description": "结束交易日",
  17638. "type": "string"
  17639. },
  17640. "reckondate": {
  17641. "description": "日照时期(yyyyMMdd)",
  17642. "type": "string"
  17643. },
  17644. "sellpreinvoicedamount": {
  17645. "description": "销售预开票额(预开票额)",
  17646. "type": "number"
  17647. },
  17648. "sellprepaidamount": {
  17649. "description": "销售预收款额(预收货款额)",
  17650. "type": "number"
  17651. },
  17652. "selltodayinvoiceamount": {
  17653. "description": "销售今开票额(今开票额)",
  17654. "type": "number"
  17655. },
  17656. "selltodayrefundamount": {
  17657. "description": "销售今付退款额(今付退款额)",
  17658. "type": "number"
  17659. },
  17660. "selltodaysettleamount": {
  17661. "description": "销售今收款额(今收货款额)",
  17662. "type": "number"
  17663. },
  17664. "selluninvoicedamount": {
  17665. "description": "销售应开票额(应开票额)",
  17666. "type": "number"
  17667. },
  17668. "sellunpaidamount": {
  17669. "description": "销售应收款额(应收货款额)",
  17670. "type": "number"
  17671. },
  17672. "spotgoodsbrandid": {
  17673. "description": "现货品牌ID",
  17674. "type": "integer"
  17675. },
  17676. "todaypaysum": {
  17677. "description": "今付款合计",
  17678. "type": "number"
  17679. },
  17680. "todayreceivesum": {
  17681. "description": "今收款合计",
  17682. "type": "number"
  17683. },
  17684. "updatetime": {
  17685. "description": "更新时间",
  17686. "type": "string"
  17687. },
  17688. "wrfactortypeid": {
  17689. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17690. "type": "integer"
  17691. },
  17692. "wrstandardcode": {
  17693. "description": "品类代码",
  17694. "type": "string"
  17695. },
  17696. "wrstandardid": {
  17697. "description": "现货商品ID",
  17698. "type": "integer"
  17699. },
  17700. "wrstandardname": {
  17701. "description": "品类名称",
  17702. "type": "string"
  17703. }
  17704. }
  17705. },
  17706. "models.Ermcp3Goods": {
  17707. "type": "object",
  17708. "properties": {
  17709. "agreeunit": {
  17710. "description": "合约单位(合约乘数)",
  17711. "type": "number"
  17712. },
  17713. "enumdicname": {
  17714. "description": "单位名称",
  17715. "type": "string"
  17716. },
  17717. "exexchangecode": {
  17718. "description": "交易所代码",
  17719. "type": "string"
  17720. },
  17721. "goodscode": {
  17722. "description": "期货商品代码",
  17723. "type": "string"
  17724. },
  17725. "goodsid": {
  17726. "description": "期货商品id",
  17727. "type": "integer"
  17728. },
  17729. "goodsname": {
  17730. "description": "期货商品名称",
  17731. "type": "string"
  17732. }
  17733. }
  17734. },
  17735. "models.Ermcp3GoodsGroup": {
  17736. "type": "object",
  17737. "required": [
  17738. "areauserid"
  17739. ],
  17740. "properties": {
  17741. "agreeunit": {
  17742. "description": "合约单位",
  17743. "type": "number"
  17744. },
  17745. "areauserid": {
  17746. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  17747. "type": "integer"
  17748. },
  17749. "canshort": {
  17750. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17751. "type": "integer"
  17752. },
  17753. "closepricemode": {
  17754. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17755. "type": "integer"
  17756. },
  17757. "createtime": {
  17758. "description": "创建时间",
  17759. "type": "string"
  17760. },
  17761. "creatorid": {
  17762. "description": "创建人",
  17763. "type": "integer"
  17764. },
  17765. "currencyid": {
  17766. "description": "报价货币ID",
  17767. "type": "integer"
  17768. },
  17769. "decimalplace": {
  17770. "description": "报价小数位",
  17771. "type": "integer"
  17772. },
  17773. "enumdicname": {
  17774. "description": "单位名称",
  17775. "type": "string"
  17776. },
  17777. "exchangefullname": {
  17778. "description": "交易所全称",
  17779. "type": "string"
  17780. },
  17781. "excludecfg": {
  17782. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  17783. "type": "integer"
  17784. },
  17785. "exexchangecode": {
  17786. "description": "交易所代码",
  17787. "type": "string"
  17788. },
  17789. "exexchangeid": {
  17790. "description": "外部交易所ID[通道交易]",
  17791. "type": "integer"
  17792. },
  17793. "exexchangename": {
  17794. "description": "交易所名称",
  17795. "type": "string"
  17796. },
  17797. "goodsgroupid": {
  17798. "description": "商品组ID(自增ID)",
  17799. "type": "integer"
  17800. },
  17801. "goodsgroupname": {
  17802. "description": "商品组名称",
  17803. "type": "string"
  17804. },
  17805. "goodsgroupstatus": {
  17806. "description": "商品组状态 - 1:正常 2:注销",
  17807. "type": "integer"
  17808. },
  17809. "goodunitid": {
  17810. "description": "报价单位ID",
  17811. "type": "integer"
  17812. },
  17813. "groupcategroyid": {
  17814. "description": "品种分类ID",
  17815. "type": "integer"
  17816. },
  17817. "innerdealmode": {
  17818. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17819. "type": "integer"
  17820. },
  17821. "marketid": {
  17822. "description": "所属市场ID",
  17823. "type": "integer"
  17824. },
  17825. "modifierid": {
  17826. "description": "修改人",
  17827. "type": "integer"
  17828. },
  17829. "modifytime": {
  17830. "description": "修改时间",
  17831. "type": "string"
  17832. },
  17833. "outerdealmode": {
  17834. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17835. "type": "integer"
  17836. },
  17837. "outergroupcode": {
  17838. "description": "外部商品组代码[通道交易]",
  17839. "type": "string"
  17840. },
  17841. "quoteminunit": {
  17842. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17843. "type": "integer"
  17844. },
  17845. "quotesourcegroupid": {
  17846. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17847. "type": "integer"
  17848. },
  17849. "syncgoodsqty": {
  17850. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17851. "type": "integer"
  17852. }
  17853. }
  17854. },
  17855. "models.Ermcp3GoodsGroupEx": {
  17856. "type": "object",
  17857. "properties": {
  17858. "convertratio": {
  17859. "description": "折算系数(品种系数)",
  17860. "type": "number"
  17861. },
  17862. "enumdicname": {
  17863. "description": "单位名称",
  17864. "type": "string"
  17865. },
  17866. "exexchangecode": {
  17867. "description": "交易所代码",
  17868. "type": "string"
  17869. },
  17870. "glist": {
  17871. "description": "合约列表",
  17872. "type": "array",
  17873. "items": {
  17874. "$ref": "#/definitions/models.Ermcp3Goods"
  17875. }
  17876. },
  17877. "goodsgroupid": {
  17878. "description": "商品组id",
  17879. "type": "integer"
  17880. },
  17881. "goodsgroupname": {
  17882. "description": "商品组名称",
  17883. "type": "string"
  17884. },
  17885. "goodsunitid": {
  17886. "description": "单位id",
  17887. "type": "integer"
  17888. },
  17889. "middlegoodsid": {
  17890. "description": "套保商品id",
  17891. "type": "integer"
  17892. }
  17893. }
  17894. },
  17895. "models.Ermcp3HedgePlan": {
  17896. "type": "object",
  17897. "properties": {
  17898. "accountid": {
  17899. "description": "资金账号",
  17900. "type": "integer"
  17901. },
  17902. "areauserid": {
  17903. "description": "用户ID",
  17904. "type": "integer"
  17905. },
  17906. "auditid": {
  17907. "description": "审核id",
  17908. "type": "integer"
  17909. },
  17910. "auditname": {
  17911. "description": "审核人名称",
  17912. "type": "string"
  17913. },
  17914. "auditremark": {
  17915. "description": "审核备注",
  17916. "type": "string"
  17917. },
  17918. "auditsrc": {
  17919. "description": "审核来源 1-管理端 2-终端",
  17920. "type": "integer"
  17921. },
  17922. "audittime": {
  17923. "description": "审核时间",
  17924. "type": "string"
  17925. },
  17926. "contracttype": {
  17927. "description": "计划类型 - 1:采购 -1:销售",
  17928. "type": "integer"
  17929. },
  17930. "convertfactor": {
  17931. "description": "标仓系数",
  17932. "type": "number"
  17933. },
  17934. "createtime": {
  17935. "description": "创建时间",
  17936. "type": "string"
  17937. },
  17938. "currencyid": {
  17939. "description": "币种id",
  17940. "type": "integer"
  17941. },
  17942. "currencyname": {
  17943. "description": "币种名称",
  17944. "type": "string"
  17945. },
  17946. "deliverygoodscode": {
  17947. "description": "现货品种代码",
  17948. "type": "string"
  17949. },
  17950. "deliverygoodsid": {
  17951. "description": "现货品种ID",
  17952. "type": "integer"
  17953. },
  17954. "deliverygoodsname": {
  17955. "description": "现货品种名称",
  17956. "type": "string"
  17957. },
  17958. "enumdicname": {
  17959. "description": "单位名称(现货商品)",
  17960. "type": "string"
  17961. },
  17962. "hedgeplanid": {
  17963. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  17964. "type": "string"
  17965. },
  17966. "hedgeplanno": {
  17967. "description": "套保计划编号(名称)",
  17968. "type": "string"
  17969. },
  17970. "hedgeplanstatus": {
  17971. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17972. "type": "integer"
  17973. },
  17974. "planqty": {
  17975. "description": "计划数量",
  17976. "type": "number"
  17977. },
  17978. "plantime": {
  17979. "description": "计划时间",
  17980. "type": "string"
  17981. },
  17982. "producttype": {
  17983. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17984. "type": "integer"
  17985. },
  17986. "remark": {
  17987. "description": "备注",
  17988. "type": "string"
  17989. },
  17990. "spotgoodsdesc": {
  17991. "description": "商品型号",
  17992. "type": "string"
  17993. },
  17994. "taaccountname": {
  17995. "description": "资金账号名称",
  17996. "type": "string"
  17997. },
  17998. "tradeuserid": {
  17999. "description": "交易用户id",
  18000. "type": "integer"
  18001. },
  18002. "tradeusername": {
  18003. "description": "交易用户名称",
  18004. "type": "string"
  18005. },
  18006. "unitid": {
  18007. "description": "单位id(现货商品)",
  18008. "type": "integer"
  18009. },
  18010. "updatetime": {
  18011. "description": "更新时间",
  18012. "type": "string"
  18013. },
  18014. "wrstandardcode": {
  18015. "description": "品类代码",
  18016. "type": "string"
  18017. },
  18018. "wrstandardid": {
  18019. "description": "品类id",
  18020. "type": "integer"
  18021. },
  18022. "wrstandardname": {
  18023. "description": "品类名称",
  18024. "type": "string"
  18025. },
  18026. "wrunitid": {
  18027. "description": "品类单位id",
  18028. "type": "integer"
  18029. },
  18030. "wrunitidame": {
  18031. "description": "品类单位名称",
  18032. "type": "string"
  18033. }
  18034. }
  18035. },
  18036. "models.Ermcp3MiddleGoodsDetail2": {
  18037. "type": "object",
  18038. "properties": {
  18039. "convertratio": {
  18040. "description": "套保系数(折算系数)",
  18041. "type": "number"
  18042. },
  18043. "gplist": {
  18044. "description": "关联商品组列表",
  18045. "type": "array",
  18046. "items": {
  18047. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18048. }
  18049. },
  18050. "mg": {
  18051. "description": "套保商品信息",
  18052. "type": "object",
  18053. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18054. }
  18055. }
  18056. },
  18057. "models.Ermcp3MiddleGoodsDetailEx": {
  18058. "type": "object",
  18059. "properties": {
  18060. "dglist": {
  18061. "description": "关联的现货品种列表",
  18062. "type": "array",
  18063. "items": {
  18064. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  18065. }
  18066. },
  18067. "gplist": {
  18068. "description": "关联商品组列表",
  18069. "type": "array",
  18070. "items": {
  18071. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18072. }
  18073. },
  18074. "mg": {
  18075. "description": "套保商品信息",
  18076. "type": "object",
  18077. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18078. }
  18079. }
  18080. },
  18081. "models.Ermcp3RootUserAccount": {
  18082. "type": "object",
  18083. "properties": {
  18084. "accountname": {
  18085. "description": "账户名称(机构名称)",
  18086. "type": "string"
  18087. },
  18088. "accountstatus": {
  18089. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18090. "type": "integer"
  18091. },
  18092. "applysrc": {
  18093. "description": "申请来源 - 1:管理端 2:终端",
  18094. "type": "integer"
  18095. },
  18096. "auditremark": {
  18097. "description": "审核备注",
  18098. "type": "string"
  18099. },
  18100. "auditsrc": {
  18101. "description": "审核来源 - 1:管理端 2:终端",
  18102. "type": "integer"
  18103. },
  18104. "audittime": {
  18105. "description": "审核时间",
  18106. "type": "string"
  18107. },
  18108. "audituserid": {
  18109. "description": "审核人",
  18110. "type": "integer"
  18111. },
  18112. "broker": {
  18113. "description": "所属经纪人ID",
  18114. "type": "integer"
  18115. },
  18116. "canceltime": {
  18117. "description": "销户时间",
  18118. "type": "string"
  18119. },
  18120. "canceluserid": {
  18121. "description": "销户人",
  18122. "type": "integer"
  18123. },
  18124. "canrecommend": {
  18125. "description": "是否可推荐 - 0:不可 1;可",
  18126. "type": "integer"
  18127. },
  18128. "createtime": {
  18129. "description": "创建时间",
  18130. "type": "string"
  18131. },
  18132. "creatorid": {
  18133. "description": "创建人",
  18134. "type": "integer"
  18135. },
  18136. "hasauth": {
  18137. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  18138. "type": "integer"
  18139. },
  18140. "isanonymous": {
  18141. "description": "是否匿名下单 - 0:否 1:是",
  18142. "type": "integer"
  18143. },
  18144. "maxinvestornum": {
  18145. "description": "最大用户数(经纪会员下投资者个数)",
  18146. "type": "integer"
  18147. },
  18148. "memberuserid": {
  18149. "description": "所属会员ID",
  18150. "type": "integer"
  18151. },
  18152. "modifierid": {
  18153. "description": "修改人",
  18154. "type": "integer"
  18155. },
  18156. "modifyremark": {
  18157. "description": "变更备注",
  18158. "type": "string"
  18159. },
  18160. "modifystatus": {
  18161. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  18162. "type": "integer"
  18163. },
  18164. "modifytime": {
  18165. "description": "修改时间",
  18166. "type": "string"
  18167. },
  18168. "parenttopuser": {
  18169. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  18170. "type": "string"
  18171. },
  18172. "parentuserid": {
  18173. "description": "所属机构ID",
  18174. "type": "integer"
  18175. },
  18176. "reckonaccountid": {
  18177. "description": "默认结算资金账号ID(机构分润使用) 作废",
  18178. "type": "integer"
  18179. },
  18180. "refercount": {
  18181. "description": "推荐总人数",
  18182. "type": "integer"
  18183. },
  18184. "refereeuserid": {
  18185. "description": "推荐人ID",
  18186. "type": "integer"
  18187. },
  18188. "refernum": {
  18189. "description": "推荐码",
  18190. "type": "string"
  18191. },
  18192. "rootuserid": {
  18193. "description": "根用户ID",
  18194. "type": "integer"
  18195. },
  18196. "subaccountlevel": {
  18197. "description": "子账户层数",
  18198. "type": "integer"
  18199. },
  18200. "subarealevelpath": {
  18201. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  18202. "type": "string"
  18203. },
  18204. "userid": {
  18205. "description": "用户ID",
  18206. "type": "integer"
  18207. },
  18208. "usertype": {
  18209. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18210. "type": "integer"
  18211. }
  18212. }
  18213. },
  18214. "models.Ermcp3SellBuyContract": {
  18215. "type": "object",
  18216. "properties": {
  18217. "accountid": {
  18218. "description": "期货账户id",
  18219. "type": "string"
  18220. },
  18221. "accountname": {
  18222. "description": "账户名称",
  18223. "type": "string"
  18224. },
  18225. "attachment": {
  18226. "description": "附件",
  18227. "type": "string"
  18228. },
  18229. "audittime": {
  18230. "description": "审核时间",
  18231. "type": "string"
  18232. },
  18233. "biztype": {
  18234. "description": "业务类型 1-套保 2-套利",
  18235. "type": "integer"
  18236. },
  18237. "brandname": {
  18238. "description": "品牌名称",
  18239. "type": "string"
  18240. },
  18241. "contracctstatus": {
  18242. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18243. "type": "integer"
  18244. },
  18245. "contractmargin": {
  18246. "description": "合同保证金",
  18247. "type": "number"
  18248. },
  18249. "contractno": {
  18250. "description": "合同编号",
  18251. "type": "string"
  18252. },
  18253. "contracttype": {
  18254. "description": "合同类型 1-采购, -1-销售",
  18255. "type": "integer"
  18256. },
  18257. "convertfactor": {
  18258. "description": "标仓系数(品类)",
  18259. "type": "number"
  18260. },
  18261. "createtime": {
  18262. "description": "创建时间",
  18263. "type": "string"
  18264. },
  18265. "currencyid": {
  18266. "description": "币种id",
  18267. "type": "integer"
  18268. },
  18269. "currencyname": {
  18270. "description": "币种名称",
  18271. "type": "string"
  18272. },
  18273. "daikaiamount": {
  18274. "description": "应收(开)票额",
  18275. "type": "number"
  18276. },
  18277. "deliveryenddate": {
  18278. "description": "交割结束日",
  18279. "type": "string"
  18280. },
  18281. "deliverygoodscode": {
  18282. "description": "现货品种代码",
  18283. "type": "string"
  18284. },
  18285. "deliverygoodsid": {
  18286. "description": "现货商品ID",
  18287. "type": "integer"
  18288. },
  18289. "deliverygoodsname": {
  18290. "description": "现货品种名称",
  18291. "type": "string"
  18292. },
  18293. "deliverystartdate": {
  18294. "description": "交割开始日",
  18295. "type": "string"
  18296. },
  18297. "enddate": {
  18298. "description": "点价结束日",
  18299. "type": "string"
  18300. },
  18301. "enumdicname": {
  18302. "description": "单位名称",
  18303. "type": "string"
  18304. },
  18305. "goodscode": {
  18306. "description": "点价商品代码",
  18307. "type": "string"
  18308. },
  18309. "goodsid": {
  18310. "description": "点价商品ID",
  18311. "type": "integer"
  18312. },
  18313. "goodsname": {
  18314. "description": "点价商品名称",
  18315. "type": "string"
  18316. },
  18317. "invoiceamount": {
  18318. "description": "已开票额",
  18319. "type": "number"
  18320. },
  18321. "loanamount": {
  18322. "description": "贷款总额=已定价额+调整金额",
  18323. "type": "number"
  18324. },
  18325. "margin": {
  18326. "description": "保证金",
  18327. "type": "number"
  18328. },
  18329. "meruserid": {
  18330. "description": "跟单员id",
  18331. "type": "integer"
  18332. },
  18333. "meruserlogincode": {
  18334. "description": "跟单员登录代码",
  18335. "type": "string"
  18336. },
  18337. "merusername": {
  18338. "description": "跟单员名称",
  18339. "type": "string"
  18340. },
  18341. "nickname": {
  18342. "description": "账户昵称",
  18343. "type": "string"
  18344. },
  18345. "payamount": {
  18346. "description": "已收付额(收款或付款)",
  18347. "type": "number"
  18348. },
  18349. "preinvoiceamount": {
  18350. "description": "预收(开)票额",
  18351. "type": "number"
  18352. },
  18353. "prepayamount": {
  18354. "description": "预收付额",
  18355. "type": "number"
  18356. },
  18357. "price": {
  18358. "description": "价格",
  18359. "type": "number"
  18360. },
  18361. "pricedamount": {
  18362. "description": "已定价额",
  18363. "type": "number"
  18364. },
  18365. "pricedavg": {
  18366. "description": "已点均价",
  18367. "type": "number"
  18368. },
  18369. "pricedqty": {
  18370. "description": "已定价量",
  18371. "type": "number"
  18372. },
  18373. "pricemove": {
  18374. "description": "升贴水",
  18375. "type": "number"
  18376. },
  18377. "pricetype": {
  18378. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18379. "type": "integer"
  18380. },
  18381. "producttype": {
  18382. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18383. "type": "integer"
  18384. },
  18385. "qty": {
  18386. "description": "合同量",
  18387. "type": "number"
  18388. },
  18389. "reckonadjustamount": {
  18390. "description": "调整金额",
  18391. "type": "number"
  18392. },
  18393. "reckonedamount": {
  18394. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  18395. "type": "number"
  18396. },
  18397. "reckonotheramount": {
  18398. "description": "其它费用",
  18399. "type": "number"
  18400. },
  18401. "reckonrealqty": {
  18402. "description": "已确定量",
  18403. "type": "number"
  18404. },
  18405. "remark": {
  18406. "description": "备注",
  18407. "type": "string"
  18408. },
  18409. "saleuserid": {
  18410. "description": "业务员id",
  18411. "type": "integer"
  18412. },
  18413. "saleuserlogincode": {
  18414. "description": "业务员登录代码",
  18415. "type": "string"
  18416. },
  18417. "saleusername": {
  18418. "description": "业务员名称",
  18419. "type": "string"
  18420. },
  18421. "spotcontractid": {
  18422. "description": "合同ID",
  18423. "type": "string"
  18424. },
  18425. "spotgoodsbrandid": {
  18426. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18427. "type": "integer"
  18428. },
  18429. "spotgoodsdesc": {
  18430. "description": "商品型号(商品规格)",
  18431. "type": "string"
  18432. },
  18433. "startdate": {
  18434. "description": "点价开始日",
  18435. "type": "string"
  18436. },
  18437. "totalamount": {
  18438. "description": "合计总额",
  18439. "type": "number"
  18440. },
  18441. "tradeuserid": {
  18442. "description": "交易员id",
  18443. "type": "integer"
  18444. },
  18445. "tradeuserlogincode": {
  18446. "description": "交易员登录代码",
  18447. "type": "string"
  18448. },
  18449. "tradeusername": {
  18450. "description": "交易员名称",
  18451. "type": "string"
  18452. },
  18453. "unpayamount": {
  18454. "description": "应收付款额(应支付或应收款)",
  18455. "type": "number"
  18456. },
  18457. "unpricedqty": {
  18458. "description": "未定价量",
  18459. "type": "number"
  18460. },
  18461. "unsureqty": {
  18462. "description": "未确定量",
  18463. "type": "number"
  18464. },
  18465. "userid": {
  18466. "description": "机构ID",
  18467. "type": "integer"
  18468. },
  18469. "wrstandardcode": {
  18470. "description": "品类代码",
  18471. "type": "string"
  18472. },
  18473. "wrstandardid": {
  18474. "description": "品类ID",
  18475. "type": "integer"
  18476. },
  18477. "wrstandardname": {
  18478. "description": "品类名称",
  18479. "type": "string"
  18480. }
  18481. }
  18482. },
  18483. "models.Ermcp3SpotGoodsPrice": {
  18484. "type": "object",
  18485. "properties": {
  18486. "areauserid": {
  18487. "description": "所属机构id",
  18488. "type": "integer"
  18489. },
  18490. "brandname": {
  18491. "description": "品牌名称",
  18492. "type": "string"
  18493. },
  18494. "currencyid": {
  18495. "description": "报价货币ID",
  18496. "type": "integer"
  18497. },
  18498. "currencyname": {
  18499. "description": "币种名称",
  18500. "type": "string"
  18501. },
  18502. "deliverygoodscode": {
  18503. "description": "现货商品代码",
  18504. "type": "string"
  18505. },
  18506. "deliverygoodsid": {
  18507. "description": "现货商品id",
  18508. "type": "integer"
  18509. },
  18510. "deliverygoodsname": {
  18511. "description": "现货商品名称",
  18512. "type": "string"
  18513. },
  18514. "enumdicname": {
  18515. "description": "现货商品单位名称",
  18516. "type": "string"
  18517. },
  18518. "gbenumdicname": {
  18519. "description": "品类单位名称",
  18520. "type": "string"
  18521. },
  18522. "gmunitid": {
  18523. "description": "品类单位id",
  18524. "type": "integer"
  18525. },
  18526. "isvalid": {
  18527. "description": "是否有效 - 0:无效 1:有效",
  18528. "type": "integer"
  18529. },
  18530. "operateid": {
  18531. "description": "最后操作人",
  18532. "type": "integer"
  18533. },
  18534. "operatesrc": {
  18535. "description": "最后操作来源 - 1:管理端 2:终端",
  18536. "type": "integer"
  18537. },
  18538. "operatetime": {
  18539. "description": "最后操作时间",
  18540. "type": "string"
  18541. },
  18542. "operatorname": {
  18543. "description": "操作人名称",
  18544. "type": "string"
  18545. },
  18546. "spotgoodsbrandid": {
  18547. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18548. "type": "integer"
  18549. },
  18550. "spotgoodsprice": {
  18551. "description": "现货价格",
  18552. "type": "number"
  18553. },
  18554. "tradedate": {
  18555. "description": "交易日(yyyyMMdd)",
  18556. "type": "string"
  18557. },
  18558. "unitid": {
  18559. "description": "现货商品单位id",
  18560. "type": "integer"
  18561. },
  18562. "wrstandardcode": {
  18563. "description": "品类代码",
  18564. "type": "string"
  18565. },
  18566. "wrstandardid": {
  18567. "description": "现货品类ID(通用则为0)",
  18568. "type": "integer"
  18569. },
  18570. "wrstandardname": {
  18571. "description": "品类名称",
  18572. "type": "string"
  18573. }
  18574. }
  18575. },
  18576. "models.Ermcp3SpotGoodsPriceLog": {
  18577. "type": "object",
  18578. "properties": {
  18579. "areauserid": {
  18580. "description": "所属机构id",
  18581. "type": "integer"
  18582. },
  18583. "brandname": {
  18584. "description": "品牌名称",
  18585. "type": "string"
  18586. },
  18587. "currencyid": {
  18588. "description": "报价货币ID",
  18589. "type": "integer"
  18590. },
  18591. "deliverygoodscode": {
  18592. "description": "现货商品代码",
  18593. "type": "string"
  18594. },
  18595. "deliverygoodsid": {
  18596. "description": "现货商品id",
  18597. "type": "integer"
  18598. },
  18599. "deliverygoodsname": {
  18600. "description": "现货商品名称",
  18601. "type": "string"
  18602. },
  18603. "enumdicname": {
  18604. "description": "现货商品单位名称",
  18605. "type": "string"
  18606. },
  18607. "gbenumdicname": {
  18608. "description": "品类单位名称",
  18609. "type": "string"
  18610. },
  18611. "gmunitid": {
  18612. "description": "品类单位id",
  18613. "type": "integer"
  18614. },
  18615. "logid": {
  18616. "description": "日志id",
  18617. "type": "integer"
  18618. },
  18619. "operateid": {
  18620. "description": "最后操作人",
  18621. "type": "integer"
  18622. },
  18623. "operatesrc": {
  18624. "description": "最后操作来源 - 1:管理端 2:终端",
  18625. "type": "integer"
  18626. },
  18627. "operatetime": {
  18628. "description": "最后操作时间",
  18629. "type": "string"
  18630. },
  18631. "operatorname": {
  18632. "description": "操作人名称",
  18633. "type": "string"
  18634. },
  18635. "spotgoodsbrandid": {
  18636. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18637. "type": "integer"
  18638. },
  18639. "spotgoodsprice": {
  18640. "description": "现货价格",
  18641. "type": "number"
  18642. },
  18643. "tradedate": {
  18644. "description": "交易日(yyyyMMdd)",
  18645. "type": "string"
  18646. },
  18647. "unitid": {
  18648. "description": "现货商品单位id",
  18649. "type": "integer"
  18650. },
  18651. "wrstandardcode": {
  18652. "description": "品类代码",
  18653. "type": "string"
  18654. },
  18655. "wrstandardid": {
  18656. "description": "现货品类ID(通用则为0)",
  18657. "type": "integer"
  18658. },
  18659. "wrstandardname": {
  18660. "description": "品类名称",
  18661. "type": "string"
  18662. }
  18663. }
  18664. },
  18665. "models.Ermcp3TaFutuReDataReport": {
  18666. "type": "object",
  18667. "properties": {
  18668. "accountid": {
  18669. "description": "交易账户",
  18670. "type": "integer"
  18671. },
  18672. "accountname": {
  18673. "description": "交易账号名称",
  18674. "type": "string"
  18675. },
  18676. "begindate": {
  18677. "description": "开始交易日",
  18678. "type": "string"
  18679. },
  18680. "buyorsell": {
  18681. "description": "持仓方向",
  18682. "type": "integer"
  18683. },
  18684. "charge": {
  18685. "description": "手续费",
  18686. "type": "number"
  18687. },
  18688. "closeavgprice": {
  18689. "description": "平仓均价",
  18690. "type": "number"
  18691. },
  18692. "closepl": {
  18693. "description": "平仓损益",
  18694. "type": "number"
  18695. },
  18696. "currencyid": {
  18697. "description": "结算币种ID",
  18698. "type": "integer"
  18699. },
  18700. "currencyname": {
  18701. "description": "币种名称",
  18702. "type": "string"
  18703. },
  18704. "cycletime": {
  18705. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18706. "type": "string"
  18707. },
  18708. "cycletype": {
  18709. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18710. "type": "integer"
  18711. },
  18712. "enddate": {
  18713. "description": "结束交易日",
  18714. "type": "string"
  18715. },
  18716. "enumdicname": {
  18717. "description": "单位名称",
  18718. "type": "string"
  18719. },
  18720. "floatpl": {
  18721. "description": "浮动损益",
  18722. "type": "number"
  18723. },
  18724. "goodscode": {
  18725. "description": "交易合约代码",
  18726. "type": "string"
  18727. },
  18728. "goodsgroupid": {
  18729. "description": "交易品种",
  18730. "type": "integer"
  18731. },
  18732. "goodsgroupname": {
  18733. "description": "交易品种名称",
  18734. "type": "string"
  18735. },
  18736. "goodsgroupspotqty": {
  18737. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  18738. "type": "number"
  18739. },
  18740. "goodsid": {
  18741. "description": "交易合约",
  18742. "type": "integer"
  18743. },
  18744. "goodsname": {
  18745. "description": "交易合约名称",
  18746. "type": "string"
  18747. },
  18748. "goodunitid": {
  18749. "description": "交易合约单位id",
  18750. "type": "integer"
  18751. },
  18752. "holdamount": {
  18753. "description": "期末持仓额",
  18754. "type": "number"
  18755. },
  18756. "holdqty": {
  18757. "description": "期末持仓量",
  18758. "type": "number"
  18759. },
  18760. "lastholdamount": {
  18761. "description": "当前持仓额",
  18762. "type": "number"
  18763. },
  18764. "lastprice": {
  18765. "description": "最新价",
  18766. "type": "number"
  18767. },
  18768. "middlegoodsqty": {
  18769. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  18770. "type": "number"
  18771. },
  18772. "openamount": {
  18773. "description": "期末开仓额",
  18774. "type": "number"
  18775. },
  18776. "openavgprice": {
  18777. "description": "开仓均价",
  18778. "type": "number"
  18779. },
  18780. "oriholdamount": {
  18781. "description": "期初持仓额",
  18782. "type": "number"
  18783. },
  18784. "oriholdqty": {
  18785. "description": "期初持仓量",
  18786. "type": "number"
  18787. },
  18788. "oriopenamount": {
  18789. "description": "期初开仓额",
  18790. "type": "number"
  18791. },
  18792. "outergroupcode": {
  18793. "description": "交易品种代码",
  18794. "type": "string"
  18795. },
  18796. "reckondate": {
  18797. "description": "日照时期(yyyyMMdd)",
  18798. "type": "string"
  18799. },
  18800. "reckonholdamount": {
  18801. "description": "结算持仓额",
  18802. "type": "number"
  18803. },
  18804. "reckonpl": {
  18805. "description": "结算损益",
  18806. "type": "number"
  18807. },
  18808. "reckonpl2": {
  18809. "description": "结算逐笔盈亏",
  18810. "type": "number"
  18811. },
  18812. "reckonprice": {
  18813. "description": "结算价",
  18814. "type": "number"
  18815. },
  18816. "relateduserid": {
  18817. "description": "账户关联用户ID",
  18818. "type": "integer"
  18819. },
  18820. "todaycloseamount": {
  18821. "description": "今平仓额",
  18822. "type": "number"
  18823. },
  18824. "todaycloseqty": {
  18825. "description": "今平仓量",
  18826. "type": "number"
  18827. },
  18828. "todaygoodsgroupspotqty": {
  18829. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  18830. "type": "number"
  18831. },
  18832. "todaymiddlegoodsqty": {
  18833. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  18834. "type": "number"
  18835. },
  18836. "todayopenamount": {
  18837. "description": "今开仓额",
  18838. "type": "number"
  18839. },
  18840. "todayopenqty": {
  18841. "description": "今开仓量",
  18842. "type": "number"
  18843. },
  18844. "userid": {
  18845. "description": "账户所属用户ID",
  18846. "type": "integer"
  18847. }
  18848. }
  18849. },
  18850. "models.Ermcp3Wrstandard": {
  18851. "type": "object",
  18852. "properties": {
  18853. "areauserid": {
  18854. "description": "所属机构",
  18855. "type": "integer"
  18856. },
  18857. "convertfactor": {
  18858. "description": "标仓系数",
  18859. "type": "number"
  18860. },
  18861. "createtime": {
  18862. "description": "创建时间",
  18863. "type": "string"
  18864. },
  18865. "creatorid": {
  18866. "description": "创建人",
  18867. "type": "integer"
  18868. },
  18869. "deliverygoodsid": {
  18870. "description": "现货品种ID",
  18871. "type": "integer"
  18872. },
  18873. "enumdicname": {
  18874. "description": "品类单位名称",
  18875. "type": "string"
  18876. },
  18877. "isvalid": {
  18878. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  18879. "type": "integer"
  18880. },
  18881. "minivalue": {
  18882. "description": "最小变动值",
  18883. "type": "integer"
  18884. },
  18885. "minivaluedp": {
  18886. "description": "最小变动值小数位",
  18887. "type": "integer"
  18888. },
  18889. "realminivalue": {
  18890. "description": "实际最小变动值",
  18891. "type": "integer"
  18892. },
  18893. "realminivaluedp": {
  18894. "description": "实际最小变动值小数位",
  18895. "type": "integer"
  18896. },
  18897. "remark": {
  18898. "description": "备注",
  18899. "type": "string"
  18900. },
  18901. "unitid": {
  18902. "description": "品类单位ID",
  18903. "type": "integer"
  18904. },
  18905. "updatetime": {
  18906. "description": "更新时间",
  18907. "type": "string"
  18908. },
  18909. "wrstandardcode": {
  18910. "description": "品类代码",
  18911. "type": "string"
  18912. },
  18913. "wrstandardid": {
  18914. "description": "品类ID(SEQ_WRSTANDARD)",
  18915. "type": "integer"
  18916. },
  18917. "wrstandardname": {
  18918. "description": "品类名称",
  18919. "type": "string"
  18920. }
  18921. }
  18922. },
  18923. "models.ErmcpAreaSpotDetailModel": {
  18924. "type": "object",
  18925. "properties": {
  18926. "contracttype": {
  18927. "description": "合同类型 1-采购 -1-销售",
  18928. "type": "integer"
  18929. },
  18930. "createtime": {
  18931. "description": "创建时间",
  18932. "type": "string"
  18933. },
  18934. "enumdicname": {
  18935. "description": "现货商品单位名称",
  18936. "type": "string"
  18937. },
  18938. "logtype": {
  18939. "description": "记录类型 1-套保 2-现货合同",
  18940. "type": "integer"
  18941. },
  18942. "qty": {
  18943. "description": "数量",
  18944. "type": "number"
  18945. },
  18946. "recordname": {
  18947. "description": "类型名称",
  18948. "type": "string"
  18949. },
  18950. "relatedid": {
  18951. "description": "套保计划ID/现货合同ID",
  18952. "type": "string"
  18953. },
  18954. "relatedno": {
  18955. "description": "编号",
  18956. "type": "string"
  18957. },
  18958. "strtime": {
  18959. "description": "时间",
  18960. "type": "string"
  18961. },
  18962. "wrstandardcode": {
  18963. "description": "现货商品代码",
  18964. "type": "string"
  18965. },
  18966. "wrstandardname": {
  18967. "description": "现货商品名称",
  18968. "type": "string"
  18969. }
  18970. }
  18971. },
  18972. "models.ErmcpAvalidGoodsGroupModel": {
  18973. "type": "object",
  18974. "properties": {
  18975. "goodsgroupid": {
  18976. "description": "期货品种id",
  18977. "type": "integer"
  18978. },
  18979. "goodsgroupname": {
  18980. "description": "期货品种名称",
  18981. "type": "string"
  18982. },
  18983. "goodunitid": {
  18984. "description": "品种单位id",
  18985. "type": "integer"
  18986. },
  18987. "goodunitname": {
  18988. "description": "品种单位名称",
  18989. "type": "string"
  18990. },
  18991. "outergroupcode": {
  18992. "description": "期货品种代码",
  18993. "type": "string"
  18994. }
  18995. }
  18996. },
  18997. "models.ErmcpBizGroupEx": {
  18998. "type": "object",
  18999. "properties": {
  19000. "acclist": {
  19001. "description": "账号列表",
  19002. "type": "array",
  19003. "items": {
  19004. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  19005. }
  19006. },
  19007. "bizgroupid": {
  19008. "description": "业务分组id",
  19009. "type": "integer"
  19010. },
  19011. "biztype": {
  19012. "description": "业务类型 1-套保 2-套利",
  19013. "type": "integer"
  19014. },
  19015. "wrlist": {
  19016. "description": "现货商品表",
  19017. "type": "array",
  19018. "items": {
  19019. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  19020. }
  19021. }
  19022. }
  19023. },
  19024. "models.ErmcpBizGroupSpotGoods": {
  19025. "type": "object",
  19026. "properties": {
  19027. "areauserid": {
  19028. "description": "所属机构id",
  19029. "type": "integer"
  19030. },
  19031. "bizgroupid": {
  19032. "description": "分组id",
  19033. "type": "integer"
  19034. },
  19035. "biztype": {
  19036. "description": "业务类型 1-套保 2-套利",
  19037. "type": "integer"
  19038. },
  19039. "deliverygoodscode": {
  19040. "description": "现货商品代码",
  19041. "type": "string"
  19042. },
  19043. "deliverygoodsid": {
  19044. "description": "现货商品id",
  19045. "type": "integer"
  19046. },
  19047. "deliverygoodsname": {
  19048. "description": "现货商品名称",
  19049. "type": "string"
  19050. },
  19051. "unitid": {
  19052. "description": "现货商品单位id",
  19053. "type": "integer"
  19054. }
  19055. }
  19056. },
  19057. "models.ErmcpBizGroupTaAccount": {
  19058. "type": "object",
  19059. "properties": {
  19060. "accountid": {
  19061. "description": "账号id",
  19062. "type": "integer"
  19063. },
  19064. "accountname": {
  19065. "description": "账号名称",
  19066. "type": "string"
  19067. },
  19068. "areauserid": {
  19069. "description": "所属机构id",
  19070. "type": "integer"
  19071. },
  19072. "bizgroupid": {
  19073. "description": "业务分组id",
  19074. "type": "integer"
  19075. },
  19076. "ismain": {
  19077. "description": "是否主账号 1-是 0-否",
  19078. "type": "integer"
  19079. }
  19080. }
  19081. },
  19082. "models.ErmcpDGFactoryItem": {
  19083. "type": "object",
  19084. "properties": {
  19085. "areauserid": {
  19086. "description": "用户id",
  19087. "type": "integer"
  19088. },
  19089. "deliverygoodsid": {
  19090. "description": "现货品种ID",
  19091. "type": "integer"
  19092. },
  19093. "dgfactoryitemid": {
  19094. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19095. "type": "integer"
  19096. },
  19097. "dgfactoryitemtypeid": {
  19098. "description": "要素项类型",
  19099. "type": "integer"
  19100. },
  19101. "dgfactoryitemvalue": {
  19102. "description": "要素项值(类型为仓库时填写仓库名称)",
  19103. "type": "string"
  19104. },
  19105. "isvalid": {
  19106. "description": "是否有效 - 0:无效 1:有效",
  19107. "type": "integer"
  19108. },
  19109. "orderindex": {
  19110. "description": "顺序",
  19111. "type": "integer"
  19112. },
  19113. "warehouseid": {
  19114. "description": "仓库ID(类型为仓库时填写)",
  19115. "type": "integer"
  19116. }
  19117. }
  19118. },
  19119. "models.ErmcpDeliveryGoods": {
  19120. "type": "object",
  19121. "properties": {
  19122. "agreeunit": {
  19123. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  19124. "type": "integer"
  19125. },
  19126. "areauserid": {
  19127. "description": "所属机构",
  19128. "type": "integer"
  19129. },
  19130. "auditflag": {
  19131. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  19132. "type": "integer"
  19133. },
  19134. "categoryid": {
  19135. "description": "类别ID(SEQ_WRCATEGORY)",
  19136. "type": "integer"
  19137. },
  19138. "deliverygoodscode": {
  19139. "description": "现货品种代码",
  19140. "type": "string"
  19141. },
  19142. "deliverygoodsid": {
  19143. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  19144. "type": "integer"
  19145. },
  19146. "deliverygoodsname": {
  19147. "description": "现货品种名称",
  19148. "type": "string"
  19149. },
  19150. "deliverygoodstype": {
  19151. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  19152. "type": "integer"
  19153. },
  19154. "dgstatus": {
  19155. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  19156. "type": "integer"
  19157. },
  19158. "enumdicname": {
  19159. "description": "现货品种单位名称",
  19160. "type": "string"
  19161. },
  19162. "goodsunitid": {
  19163. "description": "现货品种单位ID",
  19164. "type": "integer"
  19165. },
  19166. "isvalid": {
  19167. "description": "是否有效 - 0:无效 1:有效",
  19168. "type": "integer"
  19169. },
  19170. "qtydecimalplace": {
  19171. "description": "成交量小数位",
  19172. "type": "integer"
  19173. },
  19174. "remark": {
  19175. "description": "备注",
  19176. "type": "string"
  19177. },
  19178. "standardqty": {
  19179. "description": "标准数量(库位数量) [标准品特有]",
  19180. "type": "integer"
  19181. },
  19182. "standardqtyrange": {
  19183. "description": "标准数量偏差范围 [标准品特有]",
  19184. "type": "integer"
  19185. }
  19186. }
  19187. },
  19188. "models.ErmcpDeliveryGoodsDetail2": {
  19189. "type": "object",
  19190. "properties": {
  19191. "convertratio": {
  19192. "description": "套保系数(折算系数)",
  19193. "type": "number"
  19194. },
  19195. "data": {
  19196. "description": "现货商品基本信息(交割品种)",
  19197. "type": "object",
  19198. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19199. },
  19200. "gblist": {
  19201. "description": "品牌列表",
  19202. "type": "array",
  19203. "items": {
  19204. "$ref": "#/definitions/models.Ermcp3Brand"
  19205. }
  19206. },
  19207. "gmlist": {
  19208. "description": "品类列表(仓单标准)",
  19209. "type": "array",
  19210. "items": {
  19211. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19212. }
  19213. }
  19214. }
  19215. },
  19216. "models.ErmcpDeliveryGoodsDetailEx": {
  19217. "type": "object",
  19218. "properties": {
  19219. "data": {
  19220. "description": "现货商品基本信息(交割品种)",
  19221. "type": "object",
  19222. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19223. },
  19224. "gblist": {
  19225. "description": "品牌列表",
  19226. "type": "array",
  19227. "items": {
  19228. "$ref": "#/definitions/models.Ermcp3Brand"
  19229. }
  19230. },
  19231. "gmlist": {
  19232. "description": "品类列表(仓单标准)",
  19233. "type": "array",
  19234. "items": {
  19235. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19236. }
  19237. },
  19238. "mgList": {
  19239. "description": "套保列表",
  19240. "type": "array",
  19241. "items": {
  19242. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  19243. }
  19244. }
  19245. }
  19246. },
  19247. "models.ErmcpExposureDetailModel": {
  19248. "type": "object",
  19249. "properties": {
  19250. "areauserid": {
  19251. "description": "机构ID",
  19252. "type": "integer"
  19253. },
  19254. "changeQty": {
  19255. "description": "套保变动量",
  19256. "type": "number"
  19257. },
  19258. "contracttype": {
  19259. "description": "现货合同类型 - 1:采购 -1:销售",
  19260. "type": "integer"
  19261. },
  19262. "convertfactor": {
  19263. "description": "标仓系数",
  19264. "type": "number"
  19265. },
  19266. "convertratio": {
  19267. "description": "套保系数",
  19268. "type": "number"
  19269. },
  19270. "createtime": {
  19271. "description": "时间",
  19272. "type": "string"
  19273. },
  19274. "enumdicname": {
  19275. "description": "现货商品单位名称",
  19276. "type": "string"
  19277. },
  19278. "logtype": {
  19279. "description": "类型 - 1:套保计划 2:现货合同",
  19280. "type": "integer"
  19281. },
  19282. "middlegoodsId": {
  19283. "description": "套保商品id",
  19284. "type": "integer"
  19285. },
  19286. "middlegoodscode": {
  19287. "description": "套保商品代码",
  19288. "type": "string"
  19289. },
  19290. "middlegoodsname": {
  19291. "description": "套保商品名称",
  19292. "type": "string"
  19293. },
  19294. "qty": {
  19295. "description": "数量",
  19296. "type": "number"
  19297. },
  19298. "relateNo": {
  19299. "description": "现货合同/套保计划编号",
  19300. "type": "string"
  19301. },
  19302. "wrstandardcode": {
  19303. "description": "现货商品代码",
  19304. "type": "string"
  19305. },
  19306. "wrstandardid": {
  19307. "description": "现货商品ID",
  19308. "type": "integer"
  19309. },
  19310. "wrstandardname": {
  19311. "description": "现货商品名称",
  19312. "type": "string"
  19313. }
  19314. }
  19315. },
  19316. "models.ErmcpExposurePostion": {
  19317. "type": "object",
  19318. "properties": {
  19319. "agreeunit": {
  19320. "description": "合约单位",
  19321. "type": "string"
  19322. },
  19323. "areauserid": {
  19324. "description": "所属机构id",
  19325. "type": "integer"
  19326. },
  19327. "convertratio": {
  19328. "description": "期货品种系数(折算系数)",
  19329. "type": "number"
  19330. },
  19331. "curqty": {
  19332. "description": "当前持仓",
  19333. "type": "integer"
  19334. },
  19335. "diffhedgeqty": {
  19336. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19337. "type": "number"
  19338. },
  19339. "diffqty": {
  19340. "description": "持仓变动量=当前持仓-昨日持仓",
  19341. "type": "integer"
  19342. },
  19343. "goodscode": {
  19344. "description": "商品代码",
  19345. "type": "string"
  19346. },
  19347. "goodsid": {
  19348. "description": "商品id",
  19349. "type": "integer"
  19350. },
  19351. "goodsname": {
  19352. "description": "商品名称",
  19353. "type": "string"
  19354. },
  19355. "middlegoodsid": {
  19356. "description": "套保商品id",
  19357. "type": "integer"
  19358. },
  19359. "ydqty": {
  19360. "description": "昨日持仓",
  19361. "type": "integer"
  19362. }
  19363. }
  19364. },
  19365. "models.ErmcpFuturesCompany": {
  19366. "type": "object",
  19367. "properties": {
  19368. "brokerid": {
  19369. "description": "经纪公司代码",
  19370. "type": "string"
  19371. },
  19372. "channeladdress": {
  19373. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  19374. "type": "string"
  19375. },
  19376. "channelid": {
  19377. "description": "对冲渠道ID",
  19378. "type": "string"
  19379. },
  19380. "createtime": {
  19381. "description": "创建时间",
  19382. "type": "string"
  19383. },
  19384. "creatorid": {
  19385. "description": "创建人",
  19386. "type": "string"
  19387. },
  19388. "fcid": {
  19389. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  19390. "type": "integer"
  19391. },
  19392. "fcname": {
  19393. "description": "期货公司名称",
  19394. "type": "string"
  19395. },
  19396. "isvalid": {
  19397. "description": "是否有效 - 0:无效 1:有效",
  19398. "type": "integer"
  19399. },
  19400. "mhpaddress": {
  19401. "description": "MHP服务地址(IP:Port)",
  19402. "type": "string"
  19403. },
  19404. "riskrulegroupid": {
  19405. "description": "风控规则组ID",
  19406. "type": "string"
  19407. },
  19408. "tradefeetmpid": {
  19409. "description": "手续费模板ID[TradeConfigTmpType为2]",
  19410. "type": "string"
  19411. },
  19412. "trademargintmpid": {
  19413. "description": "保证金模板ID [TradeConfigTmpType为1]",
  19414. "type": "string"
  19415. },
  19416. "traderatetmpid": {
  19417. "description": "汇率模板ID[TradeConfigTmpType为3]",
  19418. "type": "string"
  19419. },
  19420. "updatetime": {
  19421. "description": "更新时间",
  19422. "type": "string"
  19423. },
  19424. "updatorid": {
  19425. "description": "更新人",
  19426. "type": "string"
  19427. }
  19428. }
  19429. },
  19430. "models.ErmcpGGConvertCfg": {
  19431. "type": "object",
  19432. "properties": {
  19433. "convertratio": {
  19434. "description": "折算系数",
  19435. "type": "number"
  19436. },
  19437. "destgoodsgroupid": {
  19438. "description": "目标品种ID",
  19439. "type": "integer"
  19440. },
  19441. "dstcode": {
  19442. "description": "目录品种代码",
  19443. "type": "string"
  19444. },
  19445. "dstexchangecode": {
  19446. "description": "目标期货交易所",
  19447. "type": "string"
  19448. },
  19449. "dstname": {
  19450. "description": "目标品种名称",
  19451. "type": "string"
  19452. },
  19453. "dstunitid": {
  19454. "description": "目标品种单位ID",
  19455. "type": "integer"
  19456. },
  19457. "dstunitidname": {
  19458. "description": "目标品种单位名称",
  19459. "type": "string"
  19460. },
  19461. "modifytime": {
  19462. "description": "修改时间",
  19463. "type": "string"
  19464. },
  19465. "srccode": {
  19466. "description": "源品种代码",
  19467. "type": "string"
  19468. },
  19469. "srcexchangecode": {
  19470. "description": "源期货交易所",
  19471. "type": "string"
  19472. },
  19473. "srcgoodsgroupid": {
  19474. "description": "源品种ID",
  19475. "type": "integer"
  19476. },
  19477. "srcname": {
  19478. "description": "源品种名称",
  19479. "type": "string"
  19480. },
  19481. "srcunitid": {
  19482. "description": "源品种单位ID",
  19483. "type": "integer"
  19484. },
  19485. "srcunitidname": {
  19486. "description": "源品种单位名称",
  19487. "type": "string"
  19488. }
  19489. }
  19490. },
  19491. "models.ErmcpGoods": {
  19492. "type": "object",
  19493. "required": [
  19494. "goodscode",
  19495. "goodsid",
  19496. "goodsname",
  19497. "marketid"
  19498. ],
  19499. "properties": {
  19500. "agreeunit": {
  19501. "description": "合约单位",
  19502. "type": "number"
  19503. },
  19504. "areauserid": {
  19505. "description": "所属机构",
  19506. "type": "integer"
  19507. },
  19508. "auditaccountid": {
  19509. "description": "审核操作员账号",
  19510. "type": "integer"
  19511. },
  19512. "audittime": {
  19513. "description": "审核时间",
  19514. "type": "string"
  19515. },
  19516. "cancelaccountid": {
  19517. "description": "注销操作员账号",
  19518. "type": "integer"
  19519. },
  19520. "canceltime": {
  19521. "description": "注销时间",
  19522. "type": "string"
  19523. },
  19524. "closepricemode": {
  19525. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19526. "type": "integer"
  19527. },
  19528. "closepriceparam": {
  19529. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19530. "type": "number"
  19531. },
  19532. "createtime": {
  19533. "description": "创建时间",
  19534. "type": "string"
  19535. },
  19536. "creatorid": {
  19537. "description": "创建人",
  19538. "type": "integer"
  19539. },
  19540. "currencyid": {
  19541. "description": "报价货币ID",
  19542. "type": "integer"
  19543. },
  19544. "cutmode": {
  19545. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19546. "type": "integer"
  19547. },
  19548. "decimalplace": {
  19549. "description": "报价小数位",
  19550. "type": "integer"
  19551. },
  19552. "delistingdate": {
  19553. "description": "商品退市时间(状态:退市) -- 已作废",
  19554. "type": "string"
  19555. },
  19556. "delistingmode": {
  19557. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19558. "type": "integer"
  19559. },
  19560. "deliveryflag": {
  19561. "description": "交割标志 - 0:不可交割 1:可交割",
  19562. "type": "integer"
  19563. },
  19564. "enumdicname": {
  19565. "description": "单位名称",
  19566. "type": "string"
  19567. },
  19568. "forceclosemode": {
  19569. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19570. "type": "integer"
  19571. },
  19572. "forceclosevalue": {
  19573. "description": "定期强平参数 [收益权]",
  19574. "type": "integer"
  19575. },
  19576. "goodscode": {
  19577. "description": "商品代码(内部)",
  19578. "type": "string"
  19579. },
  19580. "goodscurrencyid": {
  19581. "description": "合约货币ID",
  19582. "type": "integer"
  19583. },
  19584. "goodsgroupid": {
  19585. "description": "所属商品组ID",
  19586. "type": "integer"
  19587. },
  19588. "goodsid": {
  19589. "description": "商品ID(自增ID SEQ_GOODS)",
  19590. "type": "integer"
  19591. },
  19592. "goodsname": {
  19593. "description": "商品名称",
  19594. "type": "string"
  19595. },
  19596. "goodsquotetype": {
  19597. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19598. "type": "integer"
  19599. },
  19600. "goodsstatus": {
  19601. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19602. "type": "integer"
  19603. },
  19604. "goodstradetype": {
  19605. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19606. "type": "integer"
  19607. },
  19608. "goodunitid": {
  19609. "description": "报价单位ID",
  19610. "type": "integer"
  19611. },
  19612. "hasquoter": {
  19613. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19614. "type": "integer"
  19615. },
  19616. "hqprotecttime": {
  19617. "description": "行情保护时间(秒)",
  19618. "type": "integer"
  19619. },
  19620. "innerdealmode": {
  19621. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19622. "type": "integer"
  19623. },
  19624. "isbuylimited": {
  19625. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19626. "type": "integer"
  19627. },
  19628. "isvisible": {
  19629. "description": "游客是否可见 - 0:不可见 1:可见",
  19630. "type": "integer"
  19631. },
  19632. "lasttradedate": {
  19633. "description": "最后交易日期(状态:待退市)",
  19634. "type": "string"
  19635. },
  19636. "listingdate": {
  19637. "description": "交易开始日期",
  19638. "type": "string"
  19639. },
  19640. "marketid": {
  19641. "description": "所属市场ID",
  19642. "type": "integer"
  19643. },
  19644. "modifierid": {
  19645. "description": "修改人",
  19646. "type": "integer"
  19647. },
  19648. "modifystatus": {
  19649. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19650. "type": "integer"
  19651. },
  19652. "modifytime": {
  19653. "description": "修改时间",
  19654. "type": "string"
  19655. },
  19656. "outerdealmode": {
  19657. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19658. "type": "integer"
  19659. },
  19660. "outgoodscode": {
  19661. "description": "商品代码(外部)",
  19662. "type": "string"
  19663. },
  19664. "pictureurl": {
  19665. "description": "商品图片",
  19666. "type": "string"
  19667. },
  19668. "qtydecimalplace": {
  19669. "description": "成交量小数位",
  19670. "type": "integer"
  19671. },
  19672. "quotegear": {
  19673. "description": "行情档位(1-10)",
  19674. "type": "integer"
  19675. },
  19676. "quoteminunit": {
  19677. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19678. "type": "integer"
  19679. },
  19680. "quoteshowtype": {
  19681. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19682. "type": "integer"
  19683. },
  19684. "quoteshowtypeinterval": {
  19685. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19686. "type": "integer"
  19687. },
  19688. "relatedgoodsid": {
  19689. "description": "关联参考商品ID",
  19690. "type": "integer"
  19691. },
  19692. "remark": {
  19693. "description": "备注",
  19694. "type": "string"
  19695. },
  19696. "trademode": {
  19697. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19698. "type": "integer"
  19699. }
  19700. }
  19701. },
  19702. "models.ErmcpGoodsBrand": {
  19703. "type": "object",
  19704. "properties": {
  19705. "areauserid": {
  19706. "description": "所属机构",
  19707. "type": "integer"
  19708. },
  19709. "brandid": {
  19710. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  19711. "type": "integer"
  19712. },
  19713. "brandname": {
  19714. "description": "品牌名称",
  19715. "type": "string"
  19716. },
  19717. "createtime": {
  19718. "description": "创建时间",
  19719. "type": "string"
  19720. },
  19721. "creatorid": {
  19722. "description": "创建人",
  19723. "type": "integer"
  19724. },
  19725. "creatorsrc": {
  19726. "description": "创建人来源 - 1:管理端 2:终端",
  19727. "type": "integer"
  19728. },
  19729. "deliverygoodsid": {
  19730. "description": "现货品种ID",
  19731. "type": "integer"
  19732. },
  19733. "isvalid": {
  19734. "description": "是否有效 - 0:无效 1:有效",
  19735. "type": "integer"
  19736. },
  19737. "updatetime": {
  19738. "description": "更新时间",
  19739. "type": "string"
  19740. },
  19741. "updatorid": {
  19742. "description": "更新人",
  19743. "type": "integer"
  19744. },
  19745. "updatorsrc": {
  19746. "description": "更新人来源 - 1:管理端 2:终端",
  19747. "type": "integer"
  19748. },
  19749. "wrstandardid": {
  19750. "description": "现货商品ID",
  19751. "type": "integer"
  19752. }
  19753. }
  19754. },
  19755. "models.ErmcpGoodsModel": {
  19756. "type": "object",
  19757. "properties": {
  19758. "areauserid": {
  19759. "description": "所属机构",
  19760. "type": "integer"
  19761. },
  19762. "convertfactor": {
  19763. "description": "标仓系数",
  19764. "type": "number"
  19765. },
  19766. "createtime": {
  19767. "description": "创建时间",
  19768. "type": "string"
  19769. },
  19770. "creatorid": {
  19771. "description": "创建人",
  19772. "type": "integer"
  19773. },
  19774. "creatorsrc": {
  19775. "description": "创建人来源 - 1:管理端 2:终端",
  19776. "type": "integer"
  19777. },
  19778. "deliverygoodsid": {
  19779. "description": "现货品种ID",
  19780. "type": "integer"
  19781. },
  19782. "isvalid": {
  19783. "description": "是否有效 - 0:无效 1:有效",
  19784. "type": "integer"
  19785. },
  19786. "modelid": {
  19787. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  19788. "type": "integer"
  19789. },
  19790. "modelname": {
  19791. "description": "型号名称",
  19792. "type": "string"
  19793. },
  19794. "updatetime": {
  19795. "description": "更新时间",
  19796. "type": "string"
  19797. },
  19798. "updatorid": {
  19799. "description": "更新人",
  19800. "type": "integer"
  19801. },
  19802. "updatorsrc": {
  19803. "description": "更新人来源 - 1:管理端 2:终端",
  19804. "type": "integer"
  19805. },
  19806. "wrstandardid": {
  19807. "description": "现货商品ID",
  19808. "type": "integer"
  19809. }
  19810. }
  19811. },
  19812. "models.ErmcpHedgePosition": {
  19813. "type": "object",
  19814. "properties": {
  19815. "accountid": {
  19816. "description": "资金账号[外部母账户]",
  19817. "type": "integer"
  19818. },
  19819. "curbuyposition": {
  19820. "description": "期末买头寸",
  19821. "type": "integer"
  19822. },
  19823. "cursellposition": {
  19824. "description": "期末卖头寸",
  19825. "type": "integer"
  19826. },
  19827. "curtdbuyposition": {
  19828. "description": "期末今日买头寸",
  19829. "type": "integer"
  19830. },
  19831. "curtdsellposition": {
  19832. "description": "期末今日卖头寸",
  19833. "type": "integer"
  19834. },
  19835. "curydbuyposition": {
  19836. "description": "期末上日买头寸",
  19837. "type": "integer"
  19838. },
  19839. "curydsellposition": {
  19840. "description": "期末上日卖头寸",
  19841. "type": "integer"
  19842. },
  19843. "decreaseqty": {
  19844. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  19845. "type": "integer"
  19846. },
  19847. "fretdbuyposition": {
  19848. "description": "冻结今日买头寸",
  19849. "type": "integer"
  19850. },
  19851. "fretdsellposition": {
  19852. "description": "冻结今日卖头寸",
  19853. "type": "integer"
  19854. },
  19855. "freydbuyposition": {
  19856. "description": "冻结上日买头寸",
  19857. "type": "integer"
  19858. },
  19859. "freydsellposition": {
  19860. "description": "冻结上日卖头寸",
  19861. "type": "integer"
  19862. },
  19863. "goodscode": {
  19864. "description": "商品代码",
  19865. "type": "string"
  19866. },
  19867. "goodsid": {
  19868. "description": "商品id",
  19869. "type": "integer"
  19870. },
  19871. "goodsname": {
  19872. "description": "商品名称",
  19873. "type": "string"
  19874. },
  19875. "hedgeaccountcode": {
  19876. "description": "对冲账号",
  19877. "type": "string"
  19878. },
  19879. "hedgegoodsid": {
  19880. "description": "对冲合约ID",
  19881. "type": "integer"
  19882. },
  19883. "increaseqty": {
  19884. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  19885. "type": "integer"
  19886. },
  19887. "marketid": {
  19888. "description": "市场ID",
  19889. "type": "integer"
  19890. },
  19891. "relateduserid": {
  19892. "description": "关联用户id",
  19893. "type": "integer"
  19894. },
  19895. "totalcurqty": {
  19896. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  19897. "type": "integer"
  19898. },
  19899. "totalydqty": {
  19900. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  19901. "type": "integer"
  19902. },
  19903. "tradedate": {
  19904. "description": "交易日(yyyyMMdd)",
  19905. "type": "string"
  19906. },
  19907. "ydbuyposition": {
  19908. "description": "期初买头寸",
  19909. "type": "integer"
  19910. },
  19911. "ydsellposition": {
  19912. "description": "期初卖头寸",
  19913. "type": "integer"
  19914. }
  19915. }
  19916. },
  19917. "models.ErmcpHedgePositionDetail": {
  19918. "type": "object",
  19919. "properties": {
  19920. "buyorsell": {
  19921. "description": "买卖方向 0-买 1-卖",
  19922. "type": "integer"
  19923. },
  19924. "channelbuildtype": {
  19925. "description": "开平方向 1-建仓 2-平仓",
  19926. "type": "integer"
  19927. },
  19928. "goodscode": {
  19929. "description": "商品代码",
  19930. "type": "string"
  19931. },
  19932. "goodsname": {
  19933. "description": "商品名称",
  19934. "type": "string"
  19935. },
  19936. "hedgegoodsid": {
  19937. "description": "商品id",
  19938. "type": "integer"
  19939. },
  19940. "tradeqty": {
  19941. "description": "数量(成交数量)",
  19942. "type": "integer"
  19943. },
  19944. "tradetime": {
  19945. "description": "时间(成交时间)",
  19946. "type": "string"
  19947. }
  19948. }
  19949. },
  19950. "models.ErmcpHisExposure": {
  19951. "type": "object",
  19952. "properties": {
  19953. "needhedgeexposoure": {
  19954. "description": "应套保敞口",
  19955. "type": "number"
  19956. },
  19957. "reckondate": {
  19958. "description": "日照时期(yyyyMMdd)",
  19959. "type": "string"
  19960. },
  19961. "totalexposure": {
  19962. "description": "总敞口",
  19963. "type": "number"
  19964. }
  19965. }
  19966. },
  19967. "models.ErmcpHisExposureS": {
  19968. "type": "object",
  19969. "properties": {
  19970. "data": {
  19971. "description": "历史敞口",
  19972. "type": "array",
  19973. "items": {
  19974. "$ref": "#/definitions/models.ErmcpHisExposure"
  19975. }
  19976. },
  19977. "enumdicname": {
  19978. "description": "单位名称",
  19979. "type": "string"
  19980. },
  19981. "middlegoodscode": {
  19982. "description": "套保品种代码",
  19983. "type": "string"
  19984. },
  19985. "middlegoodsid": {
  19986. "description": "套保品种ID",
  19987. "type": "integer"
  19988. },
  19989. "middlegoodsname": {
  19990. "description": "套保品种名称",
  19991. "type": "string"
  19992. }
  19993. }
  19994. },
  19995. "models.ErmcpLoginTaAccount": {
  19996. "type": "object",
  19997. "properties": {
  19998. "accountid": {
  19999. "description": "账号id",
  20000. "type": "integer"
  20001. },
  20002. "accountname": {
  20003. "description": "账号名称",
  20004. "type": "string"
  20005. }
  20006. }
  20007. },
  20008. "models.ErmcpLoginUser": {
  20009. "type": "object",
  20010. "properties": {
  20011. "acclist": {
  20012. "description": "关联资金账号",
  20013. "type": "array",
  20014. "items": {
  20015. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  20016. }
  20017. },
  20018. "accountname": {
  20019. "description": "用户名称",
  20020. "type": "string"
  20021. },
  20022. "clientroleid": {
  20023. "description": "角色id(usertype=2)",
  20024. "type": "integer"
  20025. },
  20026. "createtime": {
  20027. "description": "创建时间",
  20028. "type": "string"
  20029. },
  20030. "logincode": {
  20031. "description": "登录代码",
  20032. "type": "string"
  20033. },
  20034. "loginid": {
  20035. "description": "登录id(LOGINID)",
  20036. "type": "integer"
  20037. },
  20038. "loginname": {
  20039. "description": "登录名称(loginaccount表中的accountname字段)",
  20040. "type": "string"
  20041. },
  20042. "loginstatus": {
  20043. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  20044. "type": "integer"
  20045. },
  20046. "memberuserid": {
  20047. "description": "所属会员id",
  20048. "type": "integer"
  20049. },
  20050. "mobile": {
  20051. "description": "手机号",
  20052. "type": "string"
  20053. },
  20054. "modifytime": {
  20055. "description": "修改时间",
  20056. "type": "string"
  20057. },
  20058. "password": {
  20059. "description": "密码(不可解密)",
  20060. "type": "string"
  20061. },
  20062. "rolename": {
  20063. "description": "角色名称",
  20064. "type": "string"
  20065. },
  20066. "rolestatus": {
  20067. "description": "角色状态 1-启用 2-停用",
  20068. "type": "integer"
  20069. },
  20070. "roletype": {
  20071. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  20072. "type": "string"
  20073. },
  20074. "userid": {
  20075. "description": "用户id",
  20076. "type": "integer"
  20077. },
  20078. "usertype": {
  20079. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  20080. "type": "integer"
  20081. }
  20082. }
  20083. },
  20084. "models.ErmcpLoginUserEx": {
  20085. "type": "object",
  20086. "properties": {
  20087. "accountstatus": {
  20088. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  20089. "type": "integer"
  20090. },
  20091. "mobile": {
  20092. "description": "手机号",
  20093. "type": "string"
  20094. },
  20095. "querytype": {
  20096. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  20097. "type": "integer"
  20098. },
  20099. "roleid": {
  20100. "description": "角色id(交易账户-\u003e用户id)",
  20101. "type": "integer"
  20102. },
  20103. "rolename": {
  20104. "description": "角色名称(交易账户-\u003e用户名称)",
  20105. "type": "string"
  20106. },
  20107. "userlist": {
  20108. "description": "用户列表",
  20109. "type": "array",
  20110. "items": {
  20111. "$ref": "#/definitions/models.ErmcpLoginUser"
  20112. }
  20113. },
  20114. "usertype": {
  20115. "description": "用户类型 2-机构 7-企业成员(云平台)",
  20116. "type": "integer"
  20117. }
  20118. }
  20119. },
  20120. "models.ErmcpMiddleGoodsChangeLog": {
  20121. "type": "object",
  20122. "properties": {
  20123. "aftervalue": {
  20124. "description": "变更后",
  20125. "type": "number"
  20126. },
  20127. "applyid": {
  20128. "description": "操作人",
  20129. "type": "integer"
  20130. },
  20131. "applyname": {
  20132. "description": "操作人名称",
  20133. "type": "string"
  20134. },
  20135. "applysrc": {
  20136. "description": "操作来源 - 1:管理端 2:终端",
  20137. "type": "integer"
  20138. },
  20139. "beforevalue": {
  20140. "description": "变更前",
  20141. "type": "number"
  20142. },
  20143. "changelogtype": {
  20144. "description": "变更流水类型 - 1:套保比率变更",
  20145. "type": "integer"
  20146. },
  20147. "handlestatus": {
  20148. "description": "处理状态",
  20149. "type": "integer"
  20150. },
  20151. "logdatetime": {
  20152. "description": "流水日期",
  20153. "type": "string"
  20154. },
  20155. "logid": {
  20156. "description": "流水ID",
  20157. "type": "integer"
  20158. },
  20159. "logremark": {
  20160. "description": "流水备注",
  20161. "type": "string"
  20162. },
  20163. "middlegoodsid": {
  20164. "description": "套保品种ID",
  20165. "type": "integer"
  20166. },
  20167. "tradedate": {
  20168. "description": "交易日(yyyyMMdd)",
  20169. "type": "string"
  20170. },
  20171. "updatetime": {
  20172. "description": "更新时间",
  20173. "type": "string"
  20174. }
  20175. }
  20176. },
  20177. "models.ErmcpMiddleGoodsDetail": {
  20178. "type": "object",
  20179. "properties": {
  20180. "cvList": {
  20181. "description": "期货品种折算列表",
  20182. "type": "array",
  20183. "items": {
  20184. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  20185. }
  20186. },
  20187. "mg": {
  20188. "description": "套保品种基本信息",
  20189. "type": "object",
  20190. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  20191. },
  20192. "wrcList": {
  20193. "description": "现货品种列表(现货商品折算配置)",
  20194. "type": "array",
  20195. "items": {
  20196. "$ref": "#/definitions/models.WRSConverTDetail"
  20197. }
  20198. }
  20199. }
  20200. },
  20201. "models.ErmcpMiddleGoodsModel": {
  20202. "type": "object",
  20203. "properties": {
  20204. "areauserid": {
  20205. "description": "机构用户ID",
  20206. "type": "integer"
  20207. },
  20208. "createtime": {
  20209. "description": "修改时间",
  20210. "type": "string"
  20211. },
  20212. "enumdicname": {
  20213. "description": "单位名称",
  20214. "type": "string"
  20215. },
  20216. "evaluateratio": {
  20217. "description": "估价系数",
  20218. "type": "number"
  20219. },
  20220. "goodsgroupid": {
  20221. "description": "关联期货品种ID",
  20222. "type": "integer"
  20223. },
  20224. "goodsunitid": {
  20225. "description": "单位ID",
  20226. "type": "integer"
  20227. },
  20228. "isvalid": {
  20229. "description": "状态 0-无效(停用) 1-有效(正常)",
  20230. "type": "integer"
  20231. },
  20232. "middlegoodscode": {
  20233. "description": "套保品种代码",
  20234. "type": "string"
  20235. },
  20236. "middlegoodsid": {
  20237. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20238. "type": "integer"
  20239. },
  20240. "middlegoodsname": {
  20241. "description": "套保品种名称",
  20242. "type": "string"
  20243. },
  20244. "modifytime": {
  20245. "description": "修改时间",
  20246. "type": "string"
  20247. },
  20248. "needarbitrageratio": {
  20249. "description": "套利比例",
  20250. "type": "number"
  20251. },
  20252. "needhedgeratio": {
  20253. "description": "套保比率",
  20254. "type": "number"
  20255. },
  20256. "qtydecimalplace": {
  20257. "description": "数量小数位",
  20258. "type": "integer"
  20259. },
  20260. "relatedgoodsid": {
  20261. "description": "关联交易商品ID",
  20262. "type": "integer"
  20263. },
  20264. "relatedgoodstype": {
  20265. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  20266. "type": "integer"
  20267. },
  20268. "remark": {
  20269. "description": "备注",
  20270. "type": "string"
  20271. }
  20272. }
  20273. },
  20274. "models.ErmcpMiddlegoodsRelateGoods": {
  20275. "type": "object",
  20276. "properties": {
  20277. "agreeunit": {
  20278. "description": "合约乘数",
  20279. "type": "number"
  20280. },
  20281. "convertratio": {
  20282. "description": "折算系数",
  20283. "type": "number"
  20284. },
  20285. "enumdicname": {
  20286. "description": "单位名称(交易商品)",
  20287. "type": "string"
  20288. },
  20289. "goodscode": {
  20290. "description": "交易商品代码",
  20291. "type": "string"
  20292. },
  20293. "goodsgroupid": {
  20294. "description": "交易品种id",
  20295. "type": "integer"
  20296. },
  20297. "goodsid": {
  20298. "description": "商品Id",
  20299. "type": "integer"
  20300. },
  20301. "goodsname": {
  20302. "description": "交易商品名称",
  20303. "type": "string"
  20304. },
  20305. "goodunitid": {
  20306. "description": "交易商品单位id",
  20307. "type": "integer"
  20308. },
  20309. "middlegoodsid": {
  20310. "description": "套保商品id",
  20311. "type": "integer"
  20312. },
  20313. "middlegoodsname": {
  20314. "description": "套保商品名称",
  20315. "type": "string"
  20316. },
  20317. "middlegoodsswcode": {
  20318. "description": "套保商品代码",
  20319. "type": "string"
  20320. },
  20321. "needarbitrageratio": {
  20322. "description": "应套利比例",
  20323. "type": "number"
  20324. },
  20325. "needhedgeratio": {
  20326. "description": "应套保比例",
  20327. "type": "number"
  20328. }
  20329. }
  20330. },
  20331. "models.ErmcpOPLogModel": {
  20332. "type": "object",
  20333. "properties": {
  20334. "aftervalue": {
  20335. "description": "变更后",
  20336. "type": "number"
  20337. },
  20338. "applyid": {
  20339. "description": "操作人ID",
  20340. "type": "string"
  20341. },
  20342. "applyname": {
  20343. "description": "操作人名称",
  20344. "type": "string"
  20345. },
  20346. "beforevalue": {
  20347. "description": "变更前",
  20348. "type": "number"
  20349. },
  20350. "biztype": {
  20351. "description": "业务类型 - 1:套保计划 2:现货合同",
  20352. "type": "integer"
  20353. },
  20354. "contracttype": {
  20355. "description": "现货合同类型 - 1:采购 -1:销售",
  20356. "type": "integer"
  20357. },
  20358. "logvalue": {
  20359. "description": "数值",
  20360. "type": "number"
  20361. },
  20362. "operatelogtype": {
  20363. "description": "操作流水类型",
  20364. "type": "integer"
  20365. },
  20366. "operatelogtypedesc": {
  20367. "description": "操作流水类型名称",
  20368. "type": "string"
  20369. },
  20370. "relatedid": {
  20371. "description": "现货合同ID\\套保计划",
  20372. "type": "string"
  20373. },
  20374. "updatetime": {
  20375. "description": "更新时间",
  20376. "type": "string"
  20377. }
  20378. }
  20379. },
  20380. "models.ErmcpPendingAudit": {
  20381. "type": "object",
  20382. "properties": {
  20383. "areastockqty": {
  20384. "description": "待审核数量: 库存申请",
  20385. "type": "integer"
  20386. },
  20387. "businessdjqty": {
  20388. "description": "待审核数量: 点价",
  20389. "type": "integer"
  20390. },
  20391. "businessfpqty": {
  20392. "description": "待审核数量: 发票",
  20393. "type": "integer"
  20394. },
  20395. "businessjsqty": {
  20396. "description": "待审核数量: 结算",
  20397. "type": "integer"
  20398. },
  20399. "businesskxqty": {
  20400. "description": "待审核数量: 款项",
  20401. "type": "integer"
  20402. },
  20403. "hedgeplanqty": {
  20404. "description": "待审核数量: 套保计划",
  20405. "type": "integer"
  20406. },
  20407. "spotcontractqty": {
  20408. "description": "待审核数量: 现货合同",
  20409. "type": "integer"
  20410. },
  20411. "userqty": {
  20412. "description": "待审核数量: 用户",
  20413. "type": "integer"
  20414. }
  20415. }
  20416. },
  20417. "models.ErmcpRealExposureModel": {
  20418. "type": "object",
  20419. "properties": {
  20420. "AreaUserID": {
  20421. "description": "所属机构",
  20422. "type": "integer"
  20423. },
  20424. "BuyFutureQty": {
  20425. "description": "买入期货数量",
  20426. "type": "number"
  20427. },
  20428. "BuyPlanQty": {
  20429. "description": "采购计划数量",
  20430. "type": "number"
  20431. },
  20432. "BuyPricedQty": {
  20433. "description": "采购合同已定价数量",
  20434. "type": "number"
  20435. },
  20436. "MiddleGoodsCode": {
  20437. "description": "套保品种代码",
  20438. "type": "string"
  20439. },
  20440. "MiddleGoodsHedgeRatio": {
  20441. "description": "套保比例",
  20442. "type": "number"
  20443. },
  20444. "MiddleGoodsID": {
  20445. "description": "套保品种",
  20446. "type": "integer"
  20447. },
  20448. "MiddleGoodsName": {
  20449. "description": "套保品种名称",
  20450. "type": "string"
  20451. },
  20452. "NeedHedgeExposoure": {
  20453. "description": "应套保敞口(套保敞口)",
  20454. "type": "number"
  20455. },
  20456. "NeedHedgeRatio": {
  20457. "description": "应套保敞口比例",
  20458. "type": "number"
  20459. },
  20460. "OriBuyFutureQty": {
  20461. "description": "期初买入期货数量",
  20462. "type": "number"
  20463. },
  20464. "OriBuyPlanQty": {
  20465. "description": "期初采购计划数量",
  20466. "type": "number"
  20467. },
  20468. "OriBuyPricedQty": {
  20469. "description": "期初采购合同已定价数量",
  20470. "type": "number"
  20471. },
  20472. "OriSellFutureQty": {
  20473. "description": "期初卖出期货数量",
  20474. "type": "number"
  20475. },
  20476. "OriSellPlanQty": {
  20477. "description": "期初销售计划数量",
  20478. "type": "number"
  20479. },
  20480. "OriSellPricedQty": {
  20481. "description": "期初销售合同已定价数量",
  20482. "type": "number"
  20483. },
  20484. "SellFutureQty": {
  20485. "description": "卖出期货数量",
  20486. "type": "number"
  20487. },
  20488. "SellPlanQty": {
  20489. "description": "销售计划数量",
  20490. "type": "number"
  20491. },
  20492. "SellPricedQty": {
  20493. "description": "销售合同已定价数量",
  20494. "type": "number"
  20495. },
  20496. "TotalExposure": {
  20497. "description": "总敞口",
  20498. "type": "number"
  20499. },
  20500. "TotalFutureQty": {
  20501. "description": "期货总量",
  20502. "type": "number"
  20503. },
  20504. "TotalHedgeRatio": {
  20505. "description": "敞口比例",
  20506. "type": "number"
  20507. },
  20508. "TotalNeedHedgeQty": {
  20509. "description": "应套保总量(现货应套保总量)",
  20510. "type": "number"
  20511. },
  20512. "TotalSpotQty": {
  20513. "description": "现货总量",
  20514. "type": "number"
  20515. },
  20516. "arbitrageqty": {
  20517. "description": "套利量",
  20518. "type": "number"
  20519. },
  20520. "diffArbitrageQty": {
  20521. "description": "套利变动量",
  20522. "type": "number"
  20523. },
  20524. "diffExposoureQty": {
  20525. "description": "变动量(套保敞口)",
  20526. "type": "number"
  20527. },
  20528. "diffFutuQty": {
  20529. "description": "变动量(期货总量)",
  20530. "type": "number"
  20531. },
  20532. "diffHedgeQty": {
  20533. "description": "套保变动量",
  20534. "type": "number"
  20535. },
  20536. "diffQty": {
  20537. "description": "变动量(总敞口)",
  20538. "type": "number"
  20539. },
  20540. "diffSpotHedgeQty": {
  20541. "description": "变动量(现货应套保总量)",
  20542. "type": "number"
  20543. },
  20544. "diffSpotQty": {
  20545. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  20546. "type": "number"
  20547. },
  20548. "enumdicname": {
  20549. "description": "单位名称",
  20550. "type": "string"
  20551. },
  20552. "hedgeqty": {
  20553. "description": "套保量",
  20554. "type": "number"
  20555. },
  20556. "needarbitrageqty": {
  20557. "description": "应套利量",
  20558. "type": "number"
  20559. },
  20560. "needarbitrageratio": {
  20561. "description": "套利比例",
  20562. "type": "number"
  20563. },
  20564. "needhedgeqty": {
  20565. "description": "应套保量",
  20566. "type": "number"
  20567. },
  20568. "oriTotalFutuQty": {
  20569. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  20570. "type": "number"
  20571. },
  20572. "oriTotalSpotQty": {
  20573. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  20574. "type": "number"
  20575. },
  20576. "oriarbitrageqty": {
  20577. "description": "期初套利量",
  20578. "type": "number"
  20579. },
  20580. "orihedgeqty": {
  20581. "description": "期初套保量",
  20582. "type": "number"
  20583. },
  20584. "orineedhedgeexposoure": {
  20585. "description": "期初套保敞口",
  20586. "type": "number"
  20587. },
  20588. "oritotalexposure": {
  20589. "description": "期初总敞口",
  20590. "type": "number"
  20591. },
  20592. "oritotalfutureqty": {
  20593. "description": "期初期货总量",
  20594. "type": "number"
  20595. },
  20596. "oritotalneedhedgeqty": {
  20597. "description": "期初现货应套保量",
  20598. "type": "number"
  20599. }
  20600. }
  20601. },
  20602. "models.ErmcpRole": {
  20603. "type": "object",
  20604. "properties": {
  20605. "areauserid": {
  20606. "description": "所属机构",
  20607. "type": "integer"
  20608. },
  20609. "autoid": {
  20610. "description": "角色ID(自增ID)",
  20611. "type": "integer"
  20612. },
  20613. "modifierid": {
  20614. "description": "修改人(创建人)",
  20615. "type": "integer"
  20616. },
  20617. "modifiername": {
  20618. "description": "修改人名称",
  20619. "type": "string"
  20620. },
  20621. "modifytime": {
  20622. "description": "修改时间(创建时间)",
  20623. "type": "string"
  20624. },
  20625. "rolename": {
  20626. "description": "角色名称",
  20627. "type": "string"
  20628. },
  20629. "rolestatus": {
  20630. "description": "角色状态 - 1:启用 2:停用",
  20631. "type": "integer"
  20632. },
  20633. "roletype": {
  20634. "description": "角色类型 - 1- 管理端 2- 交易端",
  20635. "type": "integer"
  20636. }
  20637. }
  20638. },
  20639. "models.ErmcpRoleMenu": {
  20640. "type": "object",
  20641. "properties": {
  20642. "iconame": {
  20643. "description": "菜单图标",
  20644. "type": "string"
  20645. },
  20646. "ishadrole": {
  20647. "description": "是否有权限",
  20648. "type": "boolean"
  20649. },
  20650. "menutype": {
  20651. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  20652. "type": "integer"
  20653. },
  20654. "parentcode": {
  20655. "description": "上级资源代码",
  20656. "type": "string"
  20657. },
  20658. "remark": {
  20659. "description": "菜单备注",
  20660. "type": "string"
  20661. },
  20662. "resourcecode": {
  20663. "description": "菜单代码",
  20664. "type": "string"
  20665. },
  20666. "resourcelevel": {
  20667. "description": "级别",
  20668. "type": "integer"
  20669. },
  20670. "resourcename": {
  20671. "description": "菜单名称",
  20672. "type": "string"
  20673. },
  20674. "roleid": {
  20675. "description": "角色id",
  20676. "type": "integer"
  20677. },
  20678. "sort": {
  20679. "description": "排序",
  20680. "type": "integer"
  20681. },
  20682. "url": {
  20683. "description": "URL",
  20684. "type": "string"
  20685. },
  20686. "userid": {
  20687. "description": "用户id",
  20688. "type": "integer"
  20689. }
  20690. }
  20691. },
  20692. "models.ErmcpRoleMenuEx": {
  20693. "type": "object",
  20694. "properties": {
  20695. "menu": {
  20696. "description": "父级菜单",
  20697. "type": "object",
  20698. "$ref": "#/definitions/models.ErmcpRoleMenu"
  20699. },
  20700. "subMenu": {
  20701. "description": "子级菜单",
  20702. "type": "array",
  20703. "items": {
  20704. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  20705. }
  20706. }
  20707. }
  20708. },
  20709. "models.ErmcpTaAccount": {
  20710. "type": "object",
  20711. "properties": {
  20712. "accountid": {
  20713. "description": "账户id",
  20714. "type": "integer"
  20715. },
  20716. "accountname": {
  20717. "description": "账户名称",
  20718. "type": "string"
  20719. },
  20720. "currencyid": {
  20721. "description": "币种id",
  20722. "type": "integer"
  20723. },
  20724. "hedgeaccountcode": {
  20725. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20726. "type": "string"
  20727. },
  20728. "ismain": {
  20729. "description": "是否主账户 0-否 1-是",
  20730. "type": "integer"
  20731. },
  20732. "parentaccountid": {
  20733. "description": "父账户id",
  20734. "type": "integer"
  20735. },
  20736. "relateduserid": {
  20737. "description": "关联userid",
  20738. "type": "integer"
  20739. },
  20740. "tradefeetmpid": {
  20741. "description": "手续费模板id",
  20742. "type": "integer"
  20743. },
  20744. "tradefeetmpname": {
  20745. "description": "手续费模板名称",
  20746. "type": "string"
  20747. },
  20748. "trademargintmpid": {
  20749. "description": "保证金模板id",
  20750. "type": "integer"
  20751. },
  20752. "trademargintmpname": {
  20753. "description": "保证金模板名称",
  20754. "type": "string"
  20755. },
  20756. "traderatetmpid": {
  20757. "description": "汇率模板id",
  20758. "type": "integer"
  20759. },
  20760. "traderatetmpname": {
  20761. "description": "汇率模板名称",
  20762. "type": "string"
  20763. },
  20764. "tradestatus": {
  20765. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20766. "type": "integer"
  20767. },
  20768. "userid": {
  20769. "description": "用户id",
  20770. "type": "integer"
  20771. }
  20772. }
  20773. },
  20774. "models.ErmcpTaAccountEx": {
  20775. "type": "object",
  20776. "properties": {
  20777. "mainAcc": {
  20778. "description": "主账号",
  20779. "type": "object",
  20780. "$ref": "#/definitions/models.ErmcpTaAccountM"
  20781. },
  20782. "subacclist": {
  20783. "description": "子账号列表",
  20784. "type": "array",
  20785. "items": {
  20786. "$ref": "#/definitions/models.ErmcpTaAccount"
  20787. }
  20788. }
  20789. }
  20790. },
  20791. "models.ErmcpTaAccountInfo": {
  20792. "type": "object",
  20793. "properties": {
  20794. "accountid": {
  20795. "description": "资金账户ID",
  20796. "type": "integer"
  20797. },
  20798. "accountname": {
  20799. "description": "账户名称",
  20800. "type": "string"
  20801. },
  20802. "balance": {
  20803. "description": "期初余额",
  20804. "type": "number"
  20805. },
  20806. "capitalbalance": {
  20807. "description": "本金余额[外部子账户实际出入金余额]",
  20808. "type": "number"
  20809. },
  20810. "closepl": {
  20811. "description": "今日平仓盈亏",
  20812. "type": "number"
  20813. },
  20814. "creditdecrease": {
  20815. "description": "今日授信减少",
  20816. "type": "number"
  20817. },
  20818. "creditincrease": {
  20819. "description": "今日授信增加",
  20820. "type": "number"
  20821. },
  20822. "curdebt": {
  20823. "description": "期末欠款",
  20824. "type": "number"
  20825. },
  20826. "currencyid": {
  20827. "description": "货币ID",
  20828. "type": "integer"
  20829. },
  20830. "currentbalance": {
  20831. "description": "期末余额",
  20832. "type": "number"
  20833. },
  20834. "freezecharge": {
  20835. "description": "手续费冻结",
  20836. "type": "number"
  20837. },
  20838. "freezemargin": {
  20839. "description": "冻结保证金",
  20840. "type": "number"
  20841. },
  20842. "fromaccountid": {
  20843. "description": "所属上级账户",
  20844. "type": "integer"
  20845. },
  20846. "inamount": {
  20847. "description": "今日入金金额(包括三方入金)",
  20848. "type": "number"
  20849. },
  20850. "ismain": {
  20851. "description": "是否母账号 0:不是母账户 1:是母账户",
  20852. "type": "integer"
  20853. },
  20854. "mortgagecredit": {
  20855. "description": "授信金额",
  20856. "type": "number"
  20857. },
  20858. "oridebt": {
  20859. "description": "期初欠款",
  20860. "type": "number"
  20861. },
  20862. "orifreezecharge": {
  20863. "description": "期初手续费冻结",
  20864. "type": "number"
  20865. },
  20866. "orifreezemargin": {
  20867. "description": "期初冻结保证金",
  20868. "type": "number"
  20869. },
  20870. "orimortgagecredit": {
  20871. "description": "期初授信金额",
  20872. "type": "number"
  20873. },
  20874. "oriothercredit": {
  20875. "description": "期初其它授信金额",
  20876. "type": "number"
  20877. },
  20878. "oriotherfreezemargin": {
  20879. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20880. "type": "number"
  20881. },
  20882. "orioutamountfreeze": {
  20883. "description": "期初出金冻结",
  20884. "type": "number"
  20885. },
  20886. "oriusedmargin": {
  20887. "description": "期初占用保证金",
  20888. "type": "number"
  20889. },
  20890. "othercredit": {
  20891. "description": "其它授信金额",
  20892. "type": "number"
  20893. },
  20894. "othercreditdecrease": {
  20895. "description": "今日其它授信减少",
  20896. "type": "number"
  20897. },
  20898. "othercreditincrease": {
  20899. "description": "今日其它授信增加",
  20900. "type": "number"
  20901. },
  20902. "otherfreezemargin": {
  20903. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  20904. "type": "number"
  20905. },
  20906. "outamount": {
  20907. "description": "今日出金金额(包括三方出金)",
  20908. "type": "number"
  20909. },
  20910. "outamountfreeze": {
  20911. "description": "出金冻结",
  20912. "type": "number"
  20913. },
  20914. "outthreshold": {
  20915. "description": "出金阈值",
  20916. "type": "number"
  20917. },
  20918. "parentaccountid": {
  20919. "description": "所属根账号",
  20920. "type": "integer"
  20921. },
  20922. "paycharge": {
  20923. "description": "今日手续费支出",
  20924. "type": "number"
  20925. },
  20926. "relateduserid": {
  20927. "description": "关联用户",
  20928. "type": "integer"
  20929. },
  20930. "signstatus": {
  20931. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  20932. "type": "integer"
  20933. },
  20934. "sublevelpath": {
  20935. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  20936. "type": "string"
  20937. },
  20938. "taaccounttype": {
  20939. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  20940. "type": "integer"
  20941. },
  20942. "thirdinamount": {
  20943. "description": "今日三方入金",
  20944. "type": "number"
  20945. },
  20946. "thirdoutamount": {
  20947. "description": "今日三方出金",
  20948. "type": "number"
  20949. },
  20950. "tradestatus": {
  20951. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20952. "type": "integer"
  20953. },
  20954. "transferamount": {
  20955. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  20956. "type": "number"
  20957. },
  20958. "usedmargin": {
  20959. "description": "占用保证金",
  20960. "type": "number"
  20961. },
  20962. "userid": {
  20963. "description": "用户ID",
  20964. "type": "integer"
  20965. }
  20966. }
  20967. },
  20968. "models.ErmcpTaAccountM": {
  20969. "type": "object",
  20970. "properties": {
  20971. "accountid": {
  20972. "description": "账户id",
  20973. "type": "integer"
  20974. },
  20975. "accountname": {
  20976. "description": "账户名称",
  20977. "type": "string"
  20978. },
  20979. "currencyid": {
  20980. "description": "币种id",
  20981. "type": "integer"
  20982. },
  20983. "fcid": {
  20984. "description": "期货公司id",
  20985. "type": "integer"
  20986. },
  20987. "fcname": {
  20988. "description": "期货公司代码",
  20989. "type": "string"
  20990. },
  20991. "hedgeaccountcode": {
  20992. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20993. "type": "string"
  20994. },
  20995. "ismain": {
  20996. "description": "是否主账户 0-否 1-是",
  20997. "type": "integer"
  20998. },
  20999. "parentaccountid": {
  21000. "description": "父账户id",
  21001. "type": "integer"
  21002. },
  21003. "relateduserid": {
  21004. "description": "关联userid",
  21005. "type": "integer"
  21006. },
  21007. "tradefeetmpid": {
  21008. "description": "手续费模板id",
  21009. "type": "integer"
  21010. },
  21011. "tradefeetmpname": {
  21012. "description": "手续费模板名称",
  21013. "type": "string"
  21014. },
  21015. "trademargintmpid": {
  21016. "description": "保证金模板id",
  21017. "type": "integer"
  21018. },
  21019. "trademargintmpname": {
  21020. "description": "保证金模板名称",
  21021. "type": "string"
  21022. },
  21023. "traderatetmpid": {
  21024. "description": "汇率模板id",
  21025. "type": "integer"
  21026. },
  21027. "traderatetmpname": {
  21028. "description": "汇率模板名称",
  21029. "type": "string"
  21030. },
  21031. "tradestatus": {
  21032. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21033. "type": "integer"
  21034. },
  21035. "userid": {
  21036. "description": "用户id",
  21037. "type": "integer"
  21038. }
  21039. }
  21040. },
  21041. "models.ErmcpTradeConfigTMP": {
  21042. "type": "object",
  21043. "properties": {
  21044. "areauserid": {
  21045. "description": "所属机构",
  21046. "type": "integer"
  21047. },
  21048. "basiccurrencyid": {
  21049. "description": "基本币种ID[汇率] - 目标币种",
  21050. "type": "integer"
  21051. },
  21052. "mainaccountid": {
  21053. "description": "主账户ID",
  21054. "type": "integer"
  21055. },
  21056. "modifierid": {
  21057. "description": "修改人",
  21058. "type": "integer"
  21059. },
  21060. "remark": {
  21061. "description": "备注",
  21062. "type": "string"
  21063. },
  21064. "tradeconfigtmpid": {
  21065. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  21066. "type": "integer"
  21067. },
  21068. "tradeconfigtmpname": {
  21069. "description": "交易配置模板名称",
  21070. "type": "string"
  21071. },
  21072. "tradeconfigtmptype": {
  21073. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  21074. "type": "integer"
  21075. },
  21076. "updatetime": {
  21077. "description": "更新时间",
  21078. "type": "string"
  21079. }
  21080. }
  21081. },
  21082. "models.ErmcpUserModel": {
  21083. "type": "object",
  21084. "properties": {
  21085. "address": {
  21086. "description": "通讯地址",
  21087. "type": "string"
  21088. },
  21089. "attachment1": {
  21090. "description": "附件1",
  21091. "type": "string"
  21092. },
  21093. "audittime": {
  21094. "description": "审核时间",
  21095. "type": "string"
  21096. },
  21097. "cardbackphotourl": {
  21098. "description": "证件反面图片地址",
  21099. "type": "string"
  21100. },
  21101. "cardfrontphotourl": {
  21102. "description": "证件正面图片地址",
  21103. "type": "string"
  21104. },
  21105. "cardnum": {
  21106. "description": "证件号码",
  21107. "type": "string"
  21108. },
  21109. "cardtype": {
  21110. "description": "证件类型",
  21111. "type": "integer"
  21112. },
  21113. "cardtypename": {
  21114. "description": "证件类型名称",
  21115. "type": "string"
  21116. },
  21117. "cityid": {
  21118. "description": "市",
  21119. "type": "integer"
  21120. },
  21121. "contactname": {
  21122. "description": "联系人",
  21123. "type": "string"
  21124. },
  21125. "countryid": {
  21126. "description": "国家",
  21127. "type": "integer"
  21128. },
  21129. "createtime": {
  21130. "description": "创建时间",
  21131. "type": "string"
  21132. },
  21133. "customername": {
  21134. "description": "企业名称",
  21135. "type": "string"
  21136. },
  21137. "districtid": {
  21138. "description": "区域",
  21139. "type": "integer"
  21140. },
  21141. "email": {
  21142. "description": "邮件",
  21143. "type": "string"
  21144. },
  21145. "legalpersonname": {
  21146. "description": "法人姓名(企业)",
  21147. "type": "string"
  21148. },
  21149. "memberuserid": {
  21150. "description": "所属机构ID",
  21151. "type": "integer"
  21152. },
  21153. "mobile": {
  21154. "description": "手机号码",
  21155. "type": "string"
  21156. },
  21157. "modifytime": {
  21158. "description": "修改时间",
  21159. "type": "string"
  21160. },
  21161. "nickname": {
  21162. "description": "昵称",
  21163. "type": "string"
  21164. },
  21165. "provinceid": {
  21166. "description": "省",
  21167. "type": "integer"
  21168. },
  21169. "remark": {
  21170. "description": "备注",
  21171. "type": "string"
  21172. },
  21173. "status": {
  21174. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21175. "type": "integer"
  21176. },
  21177. "statusdesc": {
  21178. "description": "账户状态中文描述",
  21179. "type": "string"
  21180. },
  21181. "taxpayernum": {
  21182. "description": "纳税人识别号",
  21183. "type": "string"
  21184. },
  21185. "telphone": {
  21186. "description": "联系电话",
  21187. "type": "string"
  21188. },
  21189. "userid": {
  21190. "description": "用户ID",
  21191. "type": "integer"
  21192. },
  21193. "userinfotype": {
  21194. "description": "客户类型",
  21195. "type": "string"
  21196. }
  21197. }
  21198. },
  21199. "models.ErmcpWareHouseInfo": {
  21200. "type": "object",
  21201. "properties": {
  21202. "address": {
  21203. "description": "详细地址",
  21204. "type": "string"
  21205. },
  21206. "areauserid": {
  21207. "description": "所属机构",
  21208. "type": "integer"
  21209. },
  21210. "autoid": {
  21211. "description": "自增ID(仓库ID)",
  21212. "type": "integer"
  21213. },
  21214. "cityid": {
  21215. "description": "市",
  21216. "type": "integer"
  21217. },
  21218. "contactname": {
  21219. "description": "联系人",
  21220. "type": "string"
  21221. },
  21222. "contactnum": {
  21223. "description": "联系电话",
  21224. "type": "string"
  21225. },
  21226. "countryid": {
  21227. "description": "国家",
  21228. "type": "integer"
  21229. },
  21230. "createtime": {
  21231. "description": "创建时间",
  21232. "type": "string"
  21233. },
  21234. "districtid": {
  21235. "description": "区",
  21236. "type": "integer"
  21237. },
  21238. "hasvideo": {
  21239. "description": "是否有视频 - 0:无 1:有",
  21240. "type": "integer"
  21241. },
  21242. "provinceid": {
  21243. "description": "省",
  21244. "type": "integer"
  21245. },
  21246. "remark": {
  21247. "description": "审核备注",
  21248. "type": "string"
  21249. },
  21250. "videourl": {
  21251. "description": "视频地址",
  21252. "type": "string"
  21253. },
  21254. "warehousecode": {
  21255. "description": "仓库代码",
  21256. "type": "string"
  21257. },
  21258. "warehousename": {
  21259. "description": "仓库名称",
  21260. "type": "string"
  21261. },
  21262. "warehousestatus": {
  21263. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21264. "type": "integer"
  21265. },
  21266. "warehousetype": {
  21267. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21268. "type": "integer"
  21269. }
  21270. }
  21271. },
  21272. "models.Externalexchange": {
  21273. "type": "object",
  21274. "required": [
  21275. "autoid"
  21276. ],
  21277. "properties": {
  21278. "autoid": {
  21279. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  21280. "type": "integer"
  21281. },
  21282. "exchangefullname": {
  21283. "description": "外部交易所全称",
  21284. "type": "string"
  21285. },
  21286. "exexchangecode": {
  21287. "description": "外部交易所代码",
  21288. "type": "string"
  21289. },
  21290. "exexchangename": {
  21291. "description": "外部交易所名称(简称)",
  21292. "type": "string"
  21293. },
  21294. "ismarketprice": {
  21295. "description": "是否支持市价 - 0:不支持 1:支持",
  21296. "type": "integer"
  21297. },
  21298. "quotegear": {
  21299. "description": "行情档位(1-10)",
  21300. "type": "integer"
  21301. },
  21302. "showbrokerflag": {
  21303. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  21304. "type": "integer"
  21305. },
  21306. "updatetime": {
  21307. "description": "更新时间",
  21308. "type": "string"
  21309. }
  21310. }
  21311. },
  21312. "models.Funcmenulist": {
  21313. "type": "object",
  21314. "required": [
  21315. "resourcecode"
  21316. ],
  21317. "properties": {
  21318. "iconame": {
  21319. "description": "菜单图标",
  21320. "type": "string"
  21321. },
  21322. "menutype": {
  21323. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  21324. "type": "integer"
  21325. },
  21326. "parentcode": {
  21327. "description": "上级资源代码",
  21328. "type": "string"
  21329. },
  21330. "remark": {
  21331. "description": "备注",
  21332. "type": "string"
  21333. },
  21334. "resourcecode": {
  21335. "description": "资源代码",
  21336. "type": "string"
  21337. },
  21338. "resourcelevel": {
  21339. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  21340. "type": "integer"
  21341. },
  21342. "resourcename": {
  21343. "description": "资源名",
  21344. "type": "string"
  21345. },
  21346. "sort": {
  21347. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  21348. "type": "integer"
  21349. },
  21350. "url": {
  21351. "description": "URL",
  21352. "type": "string"
  21353. }
  21354. }
  21355. },
  21356. "models.Goods": {
  21357. "type": "object",
  21358. "required": [
  21359. "goodscode",
  21360. "goodsid",
  21361. "goodsname",
  21362. "marketid"
  21363. ],
  21364. "properties": {
  21365. "agreeunit": {
  21366. "description": "合约单位",
  21367. "type": "number"
  21368. },
  21369. "areauserid": {
  21370. "description": "所属机构",
  21371. "type": "integer"
  21372. },
  21373. "auditaccountid": {
  21374. "description": "审核操作员账号",
  21375. "type": "integer"
  21376. },
  21377. "audittime": {
  21378. "description": "审核时间",
  21379. "type": "string"
  21380. },
  21381. "cancelaccountid": {
  21382. "description": "注销操作员账号",
  21383. "type": "integer"
  21384. },
  21385. "canceltime": {
  21386. "description": "注销时间",
  21387. "type": "string"
  21388. },
  21389. "closepricemode": {
  21390. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21391. "type": "integer"
  21392. },
  21393. "closepriceparam": {
  21394. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21395. "type": "number"
  21396. },
  21397. "createtime": {
  21398. "description": "创建时间",
  21399. "type": "string"
  21400. },
  21401. "creatorid": {
  21402. "description": "创建人",
  21403. "type": "integer"
  21404. },
  21405. "currencyid": {
  21406. "description": "报价货币ID",
  21407. "type": "integer"
  21408. },
  21409. "cutmode": {
  21410. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21411. "type": "integer"
  21412. },
  21413. "decimalplace": {
  21414. "description": "报价小数位",
  21415. "type": "integer"
  21416. },
  21417. "delistingdate": {
  21418. "description": "商品退市时间(状态:退市) -- 已作废",
  21419. "type": "string"
  21420. },
  21421. "delistingmode": {
  21422. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21423. "type": "integer"
  21424. },
  21425. "deliveryflag": {
  21426. "description": "交割标志 - 0:不可交割 1:可交割",
  21427. "type": "integer"
  21428. },
  21429. "forceclosemode": {
  21430. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21431. "type": "integer"
  21432. },
  21433. "forceclosevalue": {
  21434. "description": "定期强平参数 [收益权]",
  21435. "type": "integer"
  21436. },
  21437. "goodscode": {
  21438. "description": "商品代码(内部)",
  21439. "type": "string"
  21440. },
  21441. "goodscurrencyid": {
  21442. "description": "合约货币ID",
  21443. "type": "integer"
  21444. },
  21445. "goodsgroupid": {
  21446. "description": "所属商品组ID",
  21447. "type": "integer"
  21448. },
  21449. "goodsid": {
  21450. "description": "商品ID(自增ID SEQ_GOODS)",
  21451. "type": "integer"
  21452. },
  21453. "goodsname": {
  21454. "description": "商品名称",
  21455. "type": "string"
  21456. },
  21457. "goodsquotetype": {
  21458. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21459. "type": "integer"
  21460. },
  21461. "goodsstatus": {
  21462. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21463. "type": "integer"
  21464. },
  21465. "goodstradetype": {
  21466. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21467. "type": "integer"
  21468. },
  21469. "goodunitid": {
  21470. "description": "报价单位ID",
  21471. "type": "integer"
  21472. },
  21473. "hasquoter": {
  21474. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21475. "type": "integer"
  21476. },
  21477. "hqprotecttime": {
  21478. "description": "行情保护时间(秒)",
  21479. "type": "integer"
  21480. },
  21481. "innerdealmode": {
  21482. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21483. "type": "integer"
  21484. },
  21485. "isbuylimited": {
  21486. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21487. "type": "integer"
  21488. },
  21489. "isvisible": {
  21490. "description": "游客是否可见 - 0:不可见 1:可见",
  21491. "type": "integer"
  21492. },
  21493. "lasttradedate": {
  21494. "description": "最后交易日期(状态:待退市)",
  21495. "type": "string"
  21496. },
  21497. "listingdate": {
  21498. "description": "交易开始日期",
  21499. "type": "string"
  21500. },
  21501. "marketid": {
  21502. "description": "所属市场ID",
  21503. "type": "integer"
  21504. },
  21505. "modifierid": {
  21506. "description": "修改人",
  21507. "type": "integer"
  21508. },
  21509. "modifystatus": {
  21510. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21511. "type": "integer"
  21512. },
  21513. "modifytime": {
  21514. "description": "修改时间",
  21515. "type": "string"
  21516. },
  21517. "outerdealmode": {
  21518. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21519. "type": "integer"
  21520. },
  21521. "outgoodscode": {
  21522. "description": "商品代码(外部)",
  21523. "type": "string"
  21524. },
  21525. "pictureurl": {
  21526. "description": "商品图片",
  21527. "type": "string"
  21528. },
  21529. "qtydecimalplace": {
  21530. "description": "成交量小数位",
  21531. "type": "integer"
  21532. },
  21533. "quotegear": {
  21534. "description": "行情档位(1-10)",
  21535. "type": "integer"
  21536. },
  21537. "quoteminunit": {
  21538. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21539. "type": "integer"
  21540. },
  21541. "quoteshowtype": {
  21542. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21543. "type": "integer"
  21544. },
  21545. "quoteshowtypeinterval": {
  21546. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21547. "type": "integer"
  21548. },
  21549. "remark": {
  21550. "description": "备注",
  21551. "type": "string"
  21552. }
  21553. }
  21554. },
  21555. "models.GoodsIDAndName": {
  21556. "type": "object",
  21557. "required": [
  21558. "goodscode",
  21559. "goodsid",
  21560. "goodsname",
  21561. "marketid"
  21562. ],
  21563. "properties": {
  21564. "goodscode": {
  21565. "description": "商品代码(内部)",
  21566. "type": "string"
  21567. },
  21568. "goodsid": {
  21569. "description": "商品ID(自增ID SEQ_GOODS)",
  21570. "type": "integer"
  21571. },
  21572. "goodsname": {
  21573. "description": "商品名称",
  21574. "type": "string"
  21575. },
  21576. "marketid": {
  21577. "description": "所属市场ID",
  21578. "type": "integer"
  21579. }
  21580. }
  21581. },
  21582. "models.Goodsgroup": {
  21583. "type": "object",
  21584. "required": [
  21585. "goodsgroupid",
  21586. "goodsgroupname",
  21587. "goodsgroupstatus",
  21588. "marketid"
  21589. ],
  21590. "properties": {
  21591. "agreeunit": {
  21592. "description": "合约单位",
  21593. "type": "number"
  21594. },
  21595. "canshort": {
  21596. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21597. "type": "integer"
  21598. },
  21599. "closepricemode": {
  21600. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21601. "type": "integer"
  21602. },
  21603. "closepriceparam": {
  21604. "description": "强平最新价浮动比例 - 方式为2时使用",
  21605. "type": "number"
  21606. },
  21607. "createtime": {
  21608. "description": "创建时间",
  21609. "type": "string"
  21610. },
  21611. "creatorid": {
  21612. "description": "创建人",
  21613. "type": "integer"
  21614. },
  21615. "currencyid": {
  21616. "description": "报价货币ID",
  21617. "type": "integer"
  21618. },
  21619. "decimalplace": {
  21620. "description": "报价小数位",
  21621. "type": "integer"
  21622. },
  21623. "exercisetype": {
  21624. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  21625. "type": "integer"
  21626. },
  21627. "exexchangeid": {
  21628. "description": "外部交易所ID[通道交易]",
  21629. "type": "integer"
  21630. },
  21631. "goodsgroupid": {
  21632. "description": "商品组ID(自增ID)",
  21633. "type": "integer"
  21634. },
  21635. "goodsgroupname": {
  21636. "description": "商品组名称",
  21637. "type": "string"
  21638. },
  21639. "goodsgroupstatus": {
  21640. "description": "商品组状态 - 1:正常 2:注销",
  21641. "type": "integer"
  21642. },
  21643. "goodunitid": {
  21644. "description": "报价单位ID",
  21645. "type": "integer"
  21646. },
  21647. "innerdealmode": {
  21648. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21649. "type": "integer"
  21650. },
  21651. "isbuylimited": {
  21652. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21653. "type": "integer"
  21654. },
  21655. "marketid": {
  21656. "description": "所属市场ID",
  21657. "type": "integer"
  21658. },
  21659. "modifierid": {
  21660. "description": "修改人",
  21661. "type": "integer"
  21662. },
  21663. "modifytime": {
  21664. "description": "修改时间",
  21665. "type": "string"
  21666. },
  21667. "outerdealmode": {
  21668. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21669. "type": "integer"
  21670. },
  21671. "outergroupcode": {
  21672. "description": "外部商品组代码[通道交易]",
  21673. "type": "string"
  21674. },
  21675. "premiumdecimalplace": {
  21676. "description": "权利金小数位[场外期权]",
  21677. "type": "integer"
  21678. },
  21679. "premiumspreadalgorithm": {
  21680. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  21681. "type": "integer"
  21682. },
  21683. "premiumspreadvalue": {
  21684. "description": "权利金点差值[场外期权]",
  21685. "type": "number"
  21686. },
  21687. "qtydecimalplace": {
  21688. "description": "成交量小数位",
  21689. "type": "integer"
  21690. },
  21691. "quotegear": {
  21692. "description": "行情档位(1-10)",
  21693. "type": "integer"
  21694. },
  21695. "quoteminunit": {
  21696. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21697. "type": "integer"
  21698. },
  21699. "quoterid": {
  21700. "description": "报价商ID[场外期权]",
  21701. "type": "integer"
  21702. },
  21703. "quotesourcegroupid": {
  21704. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21705. "type": "integer"
  21706. },
  21707. "syncgoodsqty": {
  21708. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21709. "type": "integer"
  21710. }
  21711. }
  21712. },
  21713. "models.Goodssortbypreposition": {
  21714. "type": "object",
  21715. "required": [
  21716. "goodscode",
  21717. "tradedate"
  21718. ],
  21719. "properties": {
  21720. "goodscode": {
  21721. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  21722. "type": "string"
  21723. },
  21724. "goodsgroupcode": {
  21725. "description": "品种代码",
  21726. "type": "string"
  21727. },
  21728. "prepositionqty": {
  21729. "description": "昨持仓量",
  21730. "type": "integer"
  21731. },
  21732. "sortindex": {
  21733. "description": "排序",
  21734. "type": "integer"
  21735. },
  21736. "tradedate": {
  21737. "description": "交易日",
  21738. "type": "string"
  21739. },
  21740. "updatetime": {
  21741. "description": "更新时间",
  21742. "type": "string"
  21743. }
  21744. }
  21745. },
  21746. "models.Hedgeinnerholderdetail": {
  21747. "type": "object",
  21748. "required": [
  21749. "buyorsell",
  21750. "tradeid"
  21751. ],
  21752. "properties": {
  21753. "accountid": {
  21754. "description": "账号ID",
  21755. "type": "integer"
  21756. },
  21757. "buyorsell": {
  21758. "description": "方向 - 0:买 1:卖",
  21759. "type": "integer"
  21760. },
  21761. "freezeqty": {
  21762. "description": "冻结数量 - 按单平使用",
  21763. "type": "integer"
  21764. },
  21765. "goodsid": {
  21766. "description": "商品ID",
  21767. "type": "integer"
  21768. },
  21769. "holderamount": {
  21770. "description": "持仓金额 [商品币种]",
  21771. "type": "number"
  21772. },
  21773. "holderdays": {
  21774. "description": "剩余冻结天数",
  21775. "type": "integer"
  21776. },
  21777. "holderprice": {
  21778. "description": "持仓价格",
  21779. "type": "number"
  21780. },
  21781. "holderqty": {
  21782. "description": "持仓数量",
  21783. "type": "integer"
  21784. },
  21785. "marketid": {
  21786. "description": "市场ID",
  21787. "type": "integer"
  21788. },
  21789. "openprice": {
  21790. "description": "建仓价格",
  21791. "type": "number"
  21792. },
  21793. "openqty": {
  21794. "description": "建仓数量",
  21795. "type": "integer"
  21796. },
  21797. "parentaccountid": {
  21798. "description": "所属母账户",
  21799. "type": "integer"
  21800. },
  21801. "releaseamount": {
  21802. "description": "释放持仓金额[商品币种]",
  21803. "type": "number"
  21804. },
  21805. "tradeamount": {
  21806. "description": "成交金额[账户]",
  21807. "type": "number"
  21808. },
  21809. "tradedate": {
  21810. "description": "交易日(yyyyMMdd)",
  21811. "type": "string"
  21812. },
  21813. "tradeid": {
  21814. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21815. "type": "string"
  21816. },
  21817. "tradetime": {
  21818. "description": "交易时间",
  21819. "type": "string"
  21820. }
  21821. }
  21822. },
  21823. "models.Hedgemarketopenlog": {
  21824. "type": "object",
  21825. "required": [
  21826. "accountid"
  21827. ],
  21828. "properties": {
  21829. "accountid": {
  21830. "description": "资金账号[外部母账户]",
  21831. "type": "integer"
  21832. },
  21833. "fcname": {
  21834. "description": "期货公司名称",
  21835. "type": "string"
  21836. },
  21837. "handlestatus": {
  21838. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  21839. "type": "integer"
  21840. },
  21841. "marketid": {
  21842. "description": "市场ID",
  21843. "type": "integer"
  21844. },
  21845. "status": {
  21846. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  21847. "type": "integer"
  21848. },
  21849. "tradedate": {
  21850. "description": "交易日(yyyyMMdd)",
  21851. "type": "string"
  21852. },
  21853. "updatetime": {
  21854. "description": "更新时间",
  21855. "type": "string"
  21856. }
  21857. }
  21858. },
  21859. "models.HsbyBuyMyPayOrder": {
  21860. "type": "object",
  21861. "required": [
  21862. "goodscode",
  21863. "goodsname",
  21864. "tradeid",
  21865. "trademode"
  21866. ],
  21867. "properties": {
  21868. "agreeunit": {
  21869. "description": "合约单位",
  21870. "type": "number"
  21871. },
  21872. "buyaccountid": {
  21873. "description": "买方账号ID[报价币种]",
  21874. "type": "integer"
  21875. },
  21876. "buyorderid": {
  21877. "description": "买方委托单号",
  21878. "type": "string"
  21879. },
  21880. "createtime": {
  21881. "description": "创建时间",
  21882. "type": "string"
  21883. },
  21884. "currencysign": {
  21885. "description": "货币符号",
  21886. "type": "string"
  21887. },
  21888. "decimalplace": {
  21889. "description": "报价小数位",
  21890. "type": "integer"
  21891. },
  21892. "goodscode": {
  21893. "description": "商品代码(内部)",
  21894. "type": "string"
  21895. },
  21896. "goodsid": {
  21897. "description": "商品ID",
  21898. "type": "integer"
  21899. },
  21900. "goodsname": {
  21901. "description": "商品名称",
  21902. "type": "string"
  21903. },
  21904. "marketid": {
  21905. "description": "市场ID",
  21906. "type": "integer"
  21907. },
  21908. "offamount": {
  21909. "description": "优惠金额",
  21910. "type": "number"
  21911. },
  21912. "originalamount": {
  21913. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  21914. "type": "number"
  21915. },
  21916. "payamount": {
  21917. "description": "支付金额 = TradeAmount + TradeCharge",
  21918. "type": "number"
  21919. },
  21920. "payflag": {
  21921. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21922. "type": "integer"
  21923. },
  21924. "paylimitedtime": {
  21925. "description": "支付期限",
  21926. "type": "string"
  21927. },
  21928. "paytime": {
  21929. "description": "付款时间",
  21930. "type": "string"
  21931. },
  21932. "picurls1": {
  21933. "description": "预售商品介绍图片[多张用逗号分隔]",
  21934. "type": "string"
  21935. },
  21936. "picurls2": {
  21937. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21938. "type": "string"
  21939. },
  21940. "sellaccountid": {
  21941. "description": "卖方账号ID[报价币种]",
  21942. "type": "integer"
  21943. },
  21944. "sellorderid": {
  21945. "description": "卖方委托单号",
  21946. "type": "string"
  21947. },
  21948. "tradeamount": {
  21949. "description": "成交金额",
  21950. "type": "number"
  21951. },
  21952. "tradecharge": {
  21953. "description": "成交手续费(买方)",
  21954. "type": "number"
  21955. },
  21956. "tradedate": {
  21957. "description": "交易日(yyyyMMdd)",
  21958. "type": "string"
  21959. },
  21960. "tradeid": {
  21961. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21962. "type": "string"
  21963. },
  21964. "trademode": {
  21965. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21966. "type": "integer"
  21967. },
  21968. "tradeprice": {
  21969. "description": "成交价格",
  21970. "type": "number"
  21971. },
  21972. "tradeqty": {
  21973. "description": "成交数量",
  21974. "type": "integer"
  21975. },
  21976. "vendorname1": {
  21977. "description": "预售商品供应商名称",
  21978. "type": "string"
  21979. },
  21980. "vendorname2": {
  21981. "description": "挂牌商品供应商名称",
  21982. "type": "string"
  21983. }
  21984. }
  21985. },
  21986. "models.HsbyBuyMyTradeDetail": {
  21987. "type": "object",
  21988. "required": [
  21989. "accountid",
  21990. "buyorsell",
  21991. "goodscode",
  21992. "goodsid",
  21993. "goodsname",
  21994. "marketid",
  21995. "orderid",
  21996. "qty",
  21997. "time",
  21998. "trademode"
  21999. ],
  22000. "properties": {
  22001. "accountid": {
  22002. "description": "账户ID[报价币种]",
  22003. "type": "integer"
  22004. },
  22005. "agreeunit": {
  22006. "description": "合约单位",
  22007. "type": "number"
  22008. },
  22009. "amount": {
  22010. "description": "金额 = 价格 * 数量 * 合约单位",
  22011. "type": "number"
  22012. },
  22013. "buyorsell": {
  22014. "description": "买卖 - 0:买 1:卖",
  22015. "type": "integer"
  22016. },
  22017. "currencysign": {
  22018. "description": "货币符号",
  22019. "type": "string"
  22020. },
  22021. "decimalplace": {
  22022. "description": "报价小数位",
  22023. "type": "integer"
  22024. },
  22025. "goodscode": {
  22026. "description": "商品代码(内部)",
  22027. "type": "string"
  22028. },
  22029. "goodsid": {
  22030. "description": "商品ID",
  22031. "type": "integer"
  22032. },
  22033. "goodsname": {
  22034. "description": "商品名称",
  22035. "type": "string"
  22036. },
  22037. "marketid": {
  22038. "description": "市场ID",
  22039. "type": "integer"
  22040. },
  22041. "orderamount": {
  22042. "description": "委托金额",
  22043. "type": "number"
  22044. },
  22045. "orderid": {
  22046. "description": "单号(成交单号)",
  22047. "type": "string"
  22048. },
  22049. "picurls1": {
  22050. "description": "预售商品介绍图片[多张用逗号分隔]",
  22051. "type": "string"
  22052. },
  22053. "picurls2": {
  22054. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22055. "type": "string"
  22056. },
  22057. "price": {
  22058. "description": "价格",
  22059. "type": "number"
  22060. },
  22061. "qty": {
  22062. "description": "数量",
  22063. "type": "integer"
  22064. },
  22065. "time": {
  22066. "description": "时间",
  22067. "type": "string"
  22068. },
  22069. "trademode": {
  22070. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22071. "type": "integer"
  22072. },
  22073. "vendorname1": {
  22074. "description": "预售商品供应商名称",
  22075. "type": "string"
  22076. },
  22077. "vendorname2": {
  22078. "description": "挂牌商品供应商名称",
  22079. "type": "string"
  22080. }
  22081. }
  22082. },
  22083. "models.HsbyGoodsOrderDetail": {
  22084. "type": "object",
  22085. "required": [
  22086. "buyorsell",
  22087. "orderid",
  22088. "ordertime"
  22089. ],
  22090. "properties": {
  22091. "buyorsell": {
  22092. "description": "买卖 - 0:买 1:卖",
  22093. "type": "integer"
  22094. },
  22095. "currencysign": {
  22096. "description": "货币符号",
  22097. "type": "string"
  22098. },
  22099. "customername": {
  22100. "description": "客户名称(企业名称),已脱敏",
  22101. "type": "string"
  22102. },
  22103. "enableqty": {
  22104. "description": "可用数量",
  22105. "type": "integer"
  22106. },
  22107. "goodunit": {
  22108. "description": "报价单位",
  22109. "type": "string"
  22110. },
  22111. "orderid": {
  22112. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22113. "type": "string"
  22114. },
  22115. "orderprice": {
  22116. "description": "委托价格",
  22117. "type": "number"
  22118. },
  22119. "ordertime": {
  22120. "description": "委托时间",
  22121. "type": "string"
  22122. }
  22123. }
  22124. },
  22125. "models.HsbyListingGoodsDetail": {
  22126. "type": "object",
  22127. "required": [
  22128. "goodscode",
  22129. "goodsid",
  22130. "goodsname",
  22131. "marketid",
  22132. "trademode"
  22133. ],
  22134. "properties": {
  22135. "agreeunit": {
  22136. "description": "合约单位",
  22137. "type": "number"
  22138. },
  22139. "buymaxqty": {
  22140. "description": "购买上限 [71] - 0为不限",
  22141. "type": "integer"
  22142. },
  22143. "currency": {
  22144. "description": "货币",
  22145. "type": "string"
  22146. },
  22147. "currencysign": {
  22148. "description": "货币符号",
  22149. "type": "string"
  22150. },
  22151. "decimalplace": {
  22152. "description": "报价小数位",
  22153. "type": "integer"
  22154. },
  22155. "desccityid": {
  22156. "description": "目的地(市)ID",
  22157. "type": "integer"
  22158. },
  22159. "descprovinceid": {
  22160. "description": "目的地(省)ID",
  22161. "type": "integer"
  22162. },
  22163. "goodscode": {
  22164. "description": "商品代码(内部)",
  22165. "type": "string"
  22166. },
  22167. "goodsdesc": {
  22168. "description": "商品详情",
  22169. "type": "string"
  22170. },
  22171. "goodsid": {
  22172. "description": "商品ID(自增ID SEQ_GOODS)",
  22173. "type": "integer"
  22174. },
  22175. "goodsname": {
  22176. "description": "商品名称",
  22177. "type": "string"
  22178. },
  22179. "goodsprice": {
  22180. "description": "商品价格",
  22181. "type": "number"
  22182. },
  22183. "hotindex": {
  22184. "description": "景点热度",
  22185. "type": "integer"
  22186. },
  22187. "last": {
  22188. "description": "现价",
  22189. "type": "number"
  22190. },
  22191. "limitdown": {
  22192. "description": "跌停价",
  22193. "type": "number"
  22194. },
  22195. "limitup": {
  22196. "description": "涨停价",
  22197. "type": "number"
  22198. },
  22199. "lotsize": {
  22200. "description": "手数最小变动单位",
  22201. "type": "integer"
  22202. },
  22203. "marketid": {
  22204. "description": "所属市场ID",
  22205. "type": "integer"
  22206. },
  22207. "picurls": {
  22208. "description": "介绍图片[多张用逗号分隔]",
  22209. "type": "string"
  22210. },
  22211. "quoteminunit": {
  22212. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22213. "type": "integer"
  22214. },
  22215. "stepvalue": {
  22216. "description": "价格最小变动单位",
  22217. "type": "number"
  22218. },
  22219. "trademode": {
  22220. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22221. "type": "integer"
  22222. },
  22223. "vendorattr": {
  22224. "description": "供应商附件(多张,逗号分隔)",
  22225. "type": "string"
  22226. },
  22227. "vendorname": {
  22228. "description": "供应商名称",
  22229. "type": "string"
  22230. },
  22231. "vendorphone": {
  22232. "description": "供应商客服电话",
  22233. "type": "string"
  22234. },
  22235. "videourls": {
  22236. "description": "介绍视频[多张用逗号分隔]",
  22237. "type": "string"
  22238. }
  22239. }
  22240. },
  22241. "models.HsbyMarketGoods": {
  22242. "type": "object",
  22243. "required": [
  22244. "accountid",
  22245. "buyorsell",
  22246. "goodscode",
  22247. "goodsid",
  22248. "goodsname",
  22249. "marketid",
  22250. "orderid",
  22251. "trademode"
  22252. ],
  22253. "properties": {
  22254. "accountid": {
  22255. "description": "账户ID[报价币种]",
  22256. "type": "integer"
  22257. },
  22258. "agreeunit": {
  22259. "description": "合约单位",
  22260. "type": "number"
  22261. },
  22262. "buyorsell": {
  22263. "description": "买卖 - 0:买 1:卖",
  22264. "type": "integer"
  22265. },
  22266. "categoryid": {
  22267. "description": "类别ID(WRCATEGORY)",
  22268. "type": "integer"
  22269. },
  22270. "currency": {
  22271. "description": "货币",
  22272. "type": "string"
  22273. },
  22274. "currencysign": {
  22275. "description": "货币符号",
  22276. "type": "string"
  22277. },
  22278. "customername": {
  22279. "description": "卖家名称",
  22280. "type": "string"
  22281. },
  22282. "decimalplace": {
  22283. "description": "报价小数位",
  22284. "type": "integer"
  22285. },
  22286. "goodscode": {
  22287. "description": "商品代码(内部)",
  22288. "type": "string"
  22289. },
  22290. "goodsid": {
  22291. "description": "商品ID",
  22292. "type": "integer"
  22293. },
  22294. "goodsname": {
  22295. "description": "商品名称",
  22296. "type": "string"
  22297. },
  22298. "goodsprice": {
  22299. "description": "商品价格",
  22300. "type": "number"
  22301. },
  22302. "hascoupon": {
  22303. "description": "是否可用优惠卷",
  22304. "type": "boolean"
  22305. },
  22306. "hotindex": {
  22307. "description": "景点热度",
  22308. "type": "integer"
  22309. },
  22310. "marketid": {
  22311. "description": "市场ID",
  22312. "type": "integer"
  22313. },
  22314. "orderid": {
  22315. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22316. "type": "string"
  22317. },
  22318. "orderprice": {
  22319. "description": "委托价格",
  22320. "type": "number"
  22321. },
  22322. "orderstatus": {
  22323. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22324. "type": "integer"
  22325. },
  22326. "picurls": {
  22327. "description": "介绍图片[多张用逗号分隔]",
  22328. "type": "string"
  22329. },
  22330. "quoteminunit": {
  22331. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22332. "type": "integer"
  22333. },
  22334. "sellUserID": {
  22335. "description": "卖方UserID",
  22336. "type": "integer"
  22337. },
  22338. "trademode": {
  22339. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22340. "type": "integer"
  22341. },
  22342. "videourls": {
  22343. "description": "介绍视频[多张用逗号分隔]",
  22344. "type": "string"
  22345. }
  22346. }
  22347. },
  22348. "models.HsbyMarketGoodsDetail": {
  22349. "type": "object",
  22350. "required": [
  22351. "accountid",
  22352. "buyorsell",
  22353. "goodscode",
  22354. "goodsid",
  22355. "goodsname",
  22356. "marketid",
  22357. "orderid",
  22358. "orderqty",
  22359. "trademode"
  22360. ],
  22361. "properties": {
  22362. "accountid": {
  22363. "description": "账户ID[报价币种]",
  22364. "type": "integer"
  22365. },
  22366. "agreeunit": {
  22367. "description": "合约单位",
  22368. "type": "number"
  22369. },
  22370. "buymaxqty": {
  22371. "description": "购买上限 [71] - 0为不限",
  22372. "type": "integer"
  22373. },
  22374. "buyorsell": {
  22375. "description": "买卖 - 0:买 1:卖",
  22376. "type": "integer"
  22377. },
  22378. "cancelqty": {
  22379. "description": "撤单数量",
  22380. "type": "integer"
  22381. },
  22382. "categoryid": {
  22383. "description": "类别ID(WRCATEGORY)",
  22384. "type": "integer"
  22385. },
  22386. "currency": {
  22387. "description": "货币",
  22388. "type": "string"
  22389. },
  22390. "currencysign": {
  22391. "description": "货币符号",
  22392. "type": "string"
  22393. },
  22394. "customername": {
  22395. "description": "卖家名称",
  22396. "type": "string"
  22397. },
  22398. "decimalplace": {
  22399. "description": "报价小数位",
  22400. "type": "integer"
  22401. },
  22402. "goodscode": {
  22403. "description": "商品代码(内部)",
  22404. "type": "string"
  22405. },
  22406. "goodsdesc": {
  22407. "description": "商品详情",
  22408. "type": "string"
  22409. },
  22410. "goodsid": {
  22411. "description": "商品ID",
  22412. "type": "integer"
  22413. },
  22414. "goodsname": {
  22415. "description": "商品名称",
  22416. "type": "string"
  22417. },
  22418. "goodsprice": {
  22419. "description": "商品价格",
  22420. "type": "number"
  22421. },
  22422. "hotindex": {
  22423. "description": "景点热度",
  22424. "type": "integer"
  22425. },
  22426. "lotsize": {
  22427. "description": "手数最小变动单位",
  22428. "type": "integer"
  22429. },
  22430. "marketid": {
  22431. "description": "市场ID",
  22432. "type": "integer"
  22433. },
  22434. "orderid": {
  22435. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22436. "type": "string"
  22437. },
  22438. "orderprice": {
  22439. "description": "委托价格",
  22440. "type": "number"
  22441. },
  22442. "orderqty": {
  22443. "description": "委托数量",
  22444. "type": "integer"
  22445. },
  22446. "orderstatus": {
  22447. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22448. "type": "integer"
  22449. },
  22450. "picurls": {
  22451. "description": "介绍图片[多张用逗号分隔]",
  22452. "type": "string"
  22453. },
  22454. "quoteminunit": {
  22455. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22456. "type": "integer"
  22457. },
  22458. "sellUserID": {
  22459. "description": "卖方UserID",
  22460. "type": "integer"
  22461. },
  22462. "trademode": {
  22463. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22464. "type": "integer"
  22465. },
  22466. "tradeqty": {
  22467. "description": "成交数量",
  22468. "type": "integer"
  22469. },
  22470. "vendorattr": {
  22471. "description": "供应商附件(多张,逗号分隔)",
  22472. "type": "string"
  22473. },
  22474. "vendorname": {
  22475. "description": "供应商名称",
  22476. "type": "string"
  22477. },
  22478. "vendorphone": {
  22479. "description": "供应商客服电话",
  22480. "type": "string"
  22481. },
  22482. "videourls": {
  22483. "description": "介绍视频[多张用逗号分隔]",
  22484. "type": "string"
  22485. }
  22486. }
  22487. },
  22488. "models.HsbyMarketInfo": {
  22489. "type": "object",
  22490. "required": [
  22491. "marketid",
  22492. "marketstatus",
  22493. "trademode"
  22494. ],
  22495. "properties": {
  22496. "marketid": {
  22497. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22498. "type": "integer"
  22499. },
  22500. "marketname": {
  22501. "description": "市场名称",
  22502. "type": "string"
  22503. },
  22504. "marketstatus": {
  22505. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22506. "type": "integer"
  22507. },
  22508. "trademode": {
  22509. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22510. "type": "integer"
  22511. }
  22512. }
  22513. },
  22514. "models.HsbyMyGoods": {
  22515. "type": "object",
  22516. "required": [
  22517. "accountid",
  22518. "goodscode",
  22519. "goodsid",
  22520. "goodsname",
  22521. "marketid",
  22522. "trademode"
  22523. ],
  22524. "properties": {
  22525. "accountid": {
  22526. "description": "账号Id",
  22527. "type": "integer"
  22528. },
  22529. "agreeunit": {
  22530. "description": "合约单位",
  22531. "type": "number"
  22532. },
  22533. "buyaverageprice": {
  22534. "description": "持仓均价",
  22535. "type": "number"
  22536. },
  22537. "buycurholderamount": {
  22538. "description": "买当前持仓总金额[商品币种]",
  22539. "type": "number"
  22540. },
  22541. "buycurpositionqty": {
  22542. "description": "买当前持仓总数量",
  22543. "type": "integer"
  22544. },
  22545. "buymaxqty": {
  22546. "description": "购买上限 [71] - 0为不限",
  22547. "type": "integer"
  22548. },
  22549. "currencysign": {
  22550. "description": "货币符号",
  22551. "type": "string"
  22552. },
  22553. "decimalplace": {
  22554. "description": "报价小数位",
  22555. "type": "integer"
  22556. },
  22557. "enableqty": {
  22558. "description": "可用数量",
  22559. "type": "integer"
  22560. },
  22561. "goodscode": {
  22562. "description": "商品代码(内部)",
  22563. "type": "string"
  22564. },
  22565. "goodsid": {
  22566. "description": "商品Id",
  22567. "type": "integer"
  22568. },
  22569. "goodsname": {
  22570. "description": "商品名称",
  22571. "type": "string"
  22572. },
  22573. "goodsprice": {
  22574. "description": "商品价格",
  22575. "type": "number"
  22576. },
  22577. "goodsstatus": {
  22578. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22579. "type": "integer"
  22580. },
  22581. "last": {
  22582. "description": "现价(仅使用于挂牌点选)",
  22583. "type": "number"
  22584. },
  22585. "limitdown": {
  22586. "description": "跌停价(仅使用于挂牌点选)",
  22587. "type": "number"
  22588. },
  22589. "limitup": {
  22590. "description": "涨停价(仅使用于挂牌点选)",
  22591. "type": "number"
  22592. },
  22593. "lotsize": {
  22594. "description": "手数最小变动单位",
  22595. "type": "integer"
  22596. },
  22597. "marketid": {
  22598. "description": "所属市场ID",
  22599. "type": "integer"
  22600. },
  22601. "picurls": {
  22602. "description": "介绍图片[多张用逗号分隔]",
  22603. "type": "string"
  22604. },
  22605. "quoteminunit": {
  22606. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22607. "type": "integer"
  22608. },
  22609. "stepvalue": {
  22610. "description": "价格最小变动单位",
  22611. "type": "number"
  22612. },
  22613. "trademode": {
  22614. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22615. "type": "integer"
  22616. }
  22617. }
  22618. },
  22619. "models.HsbyMyPackage": {
  22620. "type": "object",
  22621. "required": [
  22622. "goodscode",
  22623. "goodsname",
  22624. "takeorderid",
  22625. "trademode"
  22626. ],
  22627. "properties": {
  22628. "accountid": {
  22629. "description": "账户ID",
  22630. "type": "integer"
  22631. },
  22632. "address": {
  22633. "description": "提货人详细地址",
  22634. "type": "string"
  22635. },
  22636. "agreeunit": {
  22637. "description": "合约单位",
  22638. "type": "number"
  22639. },
  22640. "amount": {
  22641. "description": "提货金额",
  22642. "type": "number"
  22643. },
  22644. "auditer": {
  22645. "description": "审核人",
  22646. "type": "integer"
  22647. },
  22648. "audittime": {
  22649. "description": "审核时间",
  22650. "type": "string"
  22651. },
  22652. "averageprice": {
  22653. "description": "均价",
  22654. "type": "number"
  22655. },
  22656. "cardnum": {
  22657. "description": "提货人证件号码",
  22658. "type": "string"
  22659. },
  22660. "cardtypeid": {
  22661. "description": "提货人证件类型",
  22662. "type": "integer"
  22663. },
  22664. "checkremark": {
  22665. "description": "审核备注",
  22666. "type": "string"
  22667. },
  22668. "currencysign": {
  22669. "description": "货币符号",
  22670. "type": "string"
  22671. },
  22672. "decimalplace": {
  22673. "description": "报价小数位",
  22674. "type": "integer"
  22675. },
  22676. "goodscode": {
  22677. "description": "商品代码(内部)",
  22678. "type": "string"
  22679. },
  22680. "goodsid": {
  22681. "description": "商品ID",
  22682. "type": "integer"
  22683. },
  22684. "goodsname": {
  22685. "description": "商品名称",
  22686. "type": "string"
  22687. },
  22688. "handlestatus": {
  22689. "description": "处理状态",
  22690. "type": "integer"
  22691. },
  22692. "marketid": {
  22693. "description": "市场ID",
  22694. "type": "integer"
  22695. },
  22696. "phonenum": {
  22697. "description": "提货人联系方式",
  22698. "type": "string"
  22699. },
  22700. "picurls": {
  22701. "description": "介绍图片[多张用逗号分隔]",
  22702. "type": "string"
  22703. },
  22704. "qty": {
  22705. "description": "提货数量",
  22706. "type": "number"
  22707. },
  22708. "recivername": {
  22709. "description": "提货人姓名",
  22710. "type": "string"
  22711. },
  22712. "reqtime": {
  22713. "description": "更新时间",
  22714. "type": "string"
  22715. },
  22716. "takemode": {
  22717. "description": "提货方式 - 2:自提 3:配送",
  22718. "type": "integer"
  22719. },
  22720. "takeorderid": {
  22721. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22722. "type": "string"
  22723. },
  22724. "takeorderstatus": {
  22725. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  22726. "type": "integer"
  22727. },
  22728. "takeremark": {
  22729. "description": "提货备注",
  22730. "type": "string"
  22731. },
  22732. "tradedate": {
  22733. "description": "交易日(yyyyMMdd)",
  22734. "type": "string"
  22735. },
  22736. "trademode": {
  22737. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22738. "type": "integer"
  22739. },
  22740. "userid": {
  22741. "description": "用户ID",
  22742. "type": "integer"
  22743. },
  22744. "vendorname": {
  22745. "description": "供应商名称",
  22746. "type": "string"
  22747. }
  22748. }
  22749. },
  22750. "models.HsbyPreGoods": {
  22751. "type": "object",
  22752. "required": [
  22753. "goodscode",
  22754. "goodsid",
  22755. "goodsname",
  22756. "marketid",
  22757. "trademode"
  22758. ],
  22759. "properties": {
  22760. "agreeunit": {
  22761. "description": "合约单位",
  22762. "type": "number"
  22763. },
  22764. "currency": {
  22765. "description": "货币",
  22766. "type": "string"
  22767. },
  22768. "currencysign": {
  22769. "description": "货币符号",
  22770. "type": "string"
  22771. },
  22772. "decimalplace": {
  22773. "description": "报价小数位",
  22774. "type": "integer"
  22775. },
  22776. "desccityid": {
  22777. "description": "目的地(市)",
  22778. "type": "integer"
  22779. },
  22780. "descprovinceid": {
  22781. "description": "目的地(省)",
  22782. "type": "integer"
  22783. },
  22784. "enableqty": {
  22785. "description": "剩余数量",
  22786. "type": "integer"
  22787. },
  22788. "goodscode": {
  22789. "description": "商品代码(内部)",
  22790. "type": "string"
  22791. },
  22792. "goodsid": {
  22793. "description": "商品ID(自增ID SEQ_GOODS)",
  22794. "type": "integer"
  22795. },
  22796. "goodsname": {
  22797. "description": "商品名称",
  22798. "type": "string"
  22799. },
  22800. "goodsstatus": {
  22801. "description": "商品状态- 2:未上市 3:上市",
  22802. "type": "integer"
  22803. },
  22804. "lasttradedate": {
  22805. "description": "最后交易日期(状态:待退市)",
  22806. "type": "string"
  22807. },
  22808. "listingdate": {
  22809. "description": "交易开始日期",
  22810. "type": "string"
  22811. },
  22812. "marketid": {
  22813. "description": "所属市场ID",
  22814. "type": "integer"
  22815. },
  22816. "picurls": {
  22817. "description": "介绍图片[多张用逗号分隔]",
  22818. "type": "string"
  22819. },
  22820. "presaledqty": {
  22821. "description": "已预售量(预售结束时更新)",
  22822. "type": "integer"
  22823. },
  22824. "presaleqty": {
  22825. "description": "预售数量",
  22826. "type": "integer"
  22827. },
  22828. "quoteminunit": {
  22829. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22830. "type": "integer"
  22831. },
  22832. "refprice": {
  22833. "description": "参考价格[一口价]",
  22834. "type": "number"
  22835. },
  22836. "relatedgoodsid": {
  22837. "description": "关联交易合约ID",
  22838. "type": "integer"
  22839. },
  22840. "trademode": {
  22841. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22842. "type": "integer"
  22843. },
  22844. "videourls": {
  22845. "description": "介绍视频[多张用逗号分隔]",
  22846. "type": "string"
  22847. }
  22848. }
  22849. },
  22850. "models.HsbyPreGoodsDetail": {
  22851. "type": "object",
  22852. "required": [
  22853. "goodscode",
  22854. "goodsid",
  22855. "goodsname",
  22856. "marketid",
  22857. "trademode"
  22858. ],
  22859. "properties": {
  22860. "agreeunit": {
  22861. "description": "合约单位",
  22862. "type": "number"
  22863. },
  22864. "buymaxqty": {
  22865. "description": "购买上限 [71] - 0为不限",
  22866. "type": "integer"
  22867. },
  22868. "currency": {
  22869. "description": "货币",
  22870. "type": "string"
  22871. },
  22872. "currencysign": {
  22873. "description": "货币符号",
  22874. "type": "string"
  22875. },
  22876. "customername": {
  22877. "description": "发行单位",
  22878. "type": "string"
  22879. },
  22880. "decimalplace": {
  22881. "description": "报价小数位",
  22882. "type": "integer"
  22883. },
  22884. "desccityid": {
  22885. "description": "目的地(市)ID",
  22886. "type": "integer"
  22887. },
  22888. "descprovinceid": {
  22889. "description": "目的地(省)ID",
  22890. "type": "integer"
  22891. },
  22892. "enableqty": {
  22893. "description": "剩余数量",
  22894. "type": "integer"
  22895. },
  22896. "goodscode": {
  22897. "description": "商品代码(内部)",
  22898. "type": "string"
  22899. },
  22900. "goodsdesc": {
  22901. "description": "商品详情",
  22902. "type": "string"
  22903. },
  22904. "goodsid": {
  22905. "description": "商品ID(自增ID SEQ_GOODS)",
  22906. "type": "integer"
  22907. },
  22908. "goodsname": {
  22909. "description": "商品名称",
  22910. "type": "string"
  22911. },
  22912. "goodsstatus": {
  22913. "description": "商品状态- 2:未上市 3:上市",
  22914. "type": "integer"
  22915. },
  22916. "goodunit": {
  22917. "description": "报价单位",
  22918. "type": "string"
  22919. },
  22920. "lasttradedate": {
  22921. "description": "最后交易日期(状态:待退市)",
  22922. "type": "string"
  22923. },
  22924. "listingdate": {
  22925. "description": "交易开始日期",
  22926. "type": "string"
  22927. },
  22928. "lotsize": {
  22929. "description": "手数最小变动单位",
  22930. "type": "integer"
  22931. },
  22932. "marketid": {
  22933. "description": "所属市场ID",
  22934. "type": "integer"
  22935. },
  22936. "picurls": {
  22937. "description": "介绍图片[多张用逗号分隔]",
  22938. "type": "string"
  22939. },
  22940. "presaledqty": {
  22941. "description": "已预售量(预售结束时更新)",
  22942. "type": "integer"
  22943. },
  22944. "presaleqty": {
  22945. "description": "预售数量",
  22946. "type": "integer"
  22947. },
  22948. "quoteminunit": {
  22949. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22950. "type": "integer"
  22951. },
  22952. "refprice": {
  22953. "description": "参考价格[一口价]",
  22954. "type": "number"
  22955. },
  22956. "relatedgoodsid": {
  22957. "description": "关联交易合约ID",
  22958. "type": "integer"
  22959. },
  22960. "stepvalue": {
  22961. "description": "价格最小变动单位",
  22962. "type": "number"
  22963. },
  22964. "trademode": {
  22965. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22966. "type": "integer"
  22967. },
  22968. "vendorattr": {
  22969. "description": "供应商附件(多张,逗号分隔)",
  22970. "type": "string"
  22971. },
  22972. "vendorname": {
  22973. "description": "供应商名称",
  22974. "type": "string"
  22975. },
  22976. "vendorphone": {
  22977. "description": "供应商客服电话",
  22978. "type": "string"
  22979. },
  22980. "videourls": {
  22981. "description": "介绍视频[多张用逗号分隔]",
  22982. "type": "string"
  22983. }
  22984. }
  22985. },
  22986. "models.HsbySellCollectionOrder": {
  22987. "type": "object",
  22988. "required": [
  22989. "goodscode",
  22990. "goodsname",
  22991. "tradeid",
  22992. "trademode"
  22993. ],
  22994. "properties": {
  22995. "agreeunit": {
  22996. "description": "合约单位",
  22997. "type": "number"
  22998. },
  22999. "buyaccountid": {
  23000. "description": "买方账号ID[报价币种]",
  23001. "type": "integer"
  23002. },
  23003. "buyorderid": {
  23004. "description": "买方委托单号",
  23005. "type": "string"
  23006. },
  23007. "createtime": {
  23008. "description": "创建时间",
  23009. "type": "string"
  23010. },
  23011. "currencysign": {
  23012. "description": "货币符号",
  23013. "type": "string"
  23014. },
  23015. "decimalplace": {
  23016. "description": "报价小数位",
  23017. "type": "integer"
  23018. },
  23019. "goodscode": {
  23020. "description": "商品代码(内部)",
  23021. "type": "string"
  23022. },
  23023. "goodsid": {
  23024. "description": "商品ID",
  23025. "type": "integer"
  23026. },
  23027. "goodsname": {
  23028. "description": "商品名称",
  23029. "type": "string"
  23030. },
  23031. "marketid": {
  23032. "description": "市场ID",
  23033. "type": "integer"
  23034. },
  23035. "offamount": {
  23036. "description": "优惠金额",
  23037. "type": "number"
  23038. },
  23039. "payamount": {
  23040. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  23041. "type": "number"
  23042. },
  23043. "payflag": {
  23044. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23045. "type": "integer"
  23046. },
  23047. "paylimitedtime": {
  23048. "description": "支付期限",
  23049. "type": "string"
  23050. },
  23051. "paytime": {
  23052. "description": "付款时间",
  23053. "type": "string"
  23054. },
  23055. "picurls": {
  23056. "description": "商品介绍图片[多张用逗号分隔]",
  23057. "type": "string"
  23058. },
  23059. "sellaccountid": {
  23060. "description": "卖方账号ID[报价币种]",
  23061. "type": "integer"
  23062. },
  23063. "sellorderid": {
  23064. "description": "卖方委托单号",
  23065. "type": "string"
  23066. },
  23067. "tradeamount": {
  23068. "description": "成交金额",
  23069. "type": "number"
  23070. },
  23071. "tradecharge": {
  23072. "description": "成交手续费(买方)",
  23073. "type": "number"
  23074. },
  23075. "tradedate": {
  23076. "description": "交易日(yyyyMMdd)",
  23077. "type": "string"
  23078. },
  23079. "tradeid": {
  23080. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23081. "type": "string"
  23082. },
  23083. "trademode": {
  23084. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23085. "type": "integer"
  23086. },
  23087. "tradeprice": {
  23088. "description": "成交价格",
  23089. "type": "number"
  23090. },
  23091. "tradeqty": {
  23092. "description": "成交数量",
  23093. "type": "integer"
  23094. }
  23095. }
  23096. },
  23097. "models.HsbySellMyDetail": {
  23098. "type": "object",
  23099. "required": [
  23100. "accountid",
  23101. "buyorsell",
  23102. "goodscode",
  23103. "goodsid",
  23104. "goodsname",
  23105. "marketid",
  23106. "orderid",
  23107. "time",
  23108. "trademode"
  23109. ],
  23110. "properties": {
  23111. "accountid": {
  23112. "description": "账户ID[报价币种]",
  23113. "type": "integer"
  23114. },
  23115. "agreeunit": {
  23116. "description": "合约单位",
  23117. "type": "number"
  23118. },
  23119. "buyorsell": {
  23120. "description": "买卖 - 0:买 1:卖",
  23121. "type": "integer"
  23122. },
  23123. "currencysign": {
  23124. "description": "货币符号",
  23125. "type": "string"
  23126. },
  23127. "decimalplace": {
  23128. "description": "报价小数位",
  23129. "type": "integer"
  23130. },
  23131. "goodscode": {
  23132. "description": "商品代码(内部)",
  23133. "type": "string"
  23134. },
  23135. "goodsid": {
  23136. "description": "商品ID",
  23137. "type": "integer"
  23138. },
  23139. "goodsname": {
  23140. "description": "商品名称",
  23141. "type": "string"
  23142. },
  23143. "marketid": {
  23144. "description": "市场ID",
  23145. "type": "integer"
  23146. },
  23147. "orderid": {
  23148. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  23149. "type": "string"
  23150. },
  23151. "ordertype": {
  23152. "description": "单据类型:0 - 发布中, 1 - 已完成",
  23153. "type": "integer"
  23154. },
  23155. "picurls": {
  23156. "description": "介绍图片[多张用逗号分隔]",
  23157. "type": "string"
  23158. },
  23159. "price": {
  23160. "description": "价格",
  23161. "type": "number"
  23162. },
  23163. "qty": {
  23164. "description": "数量",
  23165. "type": "integer"
  23166. },
  23167. "time": {
  23168. "description": "时间",
  23169. "type": "string"
  23170. },
  23171. "trademode": {
  23172. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23173. "type": "integer"
  23174. },
  23175. "vendorname": {
  23176. "description": "供应商名称",
  23177. "type": "string"
  23178. }
  23179. }
  23180. },
  23181. "models.HsbyTopGoods": {
  23182. "type": "object",
  23183. "required": [
  23184. "goodscode",
  23185. "goodsid",
  23186. "goodsname",
  23187. "marketid",
  23188. "trademode"
  23189. ],
  23190. "properties": {
  23191. "agreeunit": {
  23192. "description": "合约单位",
  23193. "type": "number"
  23194. },
  23195. "currency": {
  23196. "description": "货币",
  23197. "type": "string"
  23198. },
  23199. "currencysign": {
  23200. "description": "货币符号",
  23201. "type": "string"
  23202. },
  23203. "decimalplace": {
  23204. "description": "报价小数位",
  23205. "type": "integer"
  23206. },
  23207. "desccityid": {
  23208. "description": "目的地(市)",
  23209. "type": "integer"
  23210. },
  23211. "descprovinceid": {
  23212. "description": "目的地(省)",
  23213. "type": "integer"
  23214. },
  23215. "goodscode": {
  23216. "description": "商品代码(内部)",
  23217. "type": "string"
  23218. },
  23219. "goodsid": {
  23220. "description": "商品ID(自增ID SEQ_GOODS)",
  23221. "type": "integer"
  23222. },
  23223. "goodsname": {
  23224. "description": "商品名称",
  23225. "type": "string"
  23226. },
  23227. "hotindex": {
  23228. "description": "景点热度",
  23229. "type": "integer"
  23230. },
  23231. "last": {
  23232. "description": "现价",
  23233. "type": "number"
  23234. },
  23235. "marketid": {
  23236. "description": "所属市场ID",
  23237. "type": "integer"
  23238. },
  23239. "picurls": {
  23240. "description": "介绍图片[多张用逗号分隔]",
  23241. "type": "string"
  23242. },
  23243. "quoteminunit": {
  23244. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23245. "type": "integer"
  23246. },
  23247. "trademode": {
  23248. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23249. "type": "integer"
  23250. },
  23251. "videourls": {
  23252. "description": "介绍视频[多张用逗号分隔]",
  23253. "type": "string"
  23254. }
  23255. }
  23256. },
  23257. "models.HybsMyBuyOrderDetail": {
  23258. "type": "object",
  23259. "required": [
  23260. "accountid",
  23261. "buyorsell",
  23262. "goodscode",
  23263. "goodsid",
  23264. "goodsname",
  23265. "marketid",
  23266. "orderid",
  23267. "orderqty",
  23268. "ordertime",
  23269. "trademode"
  23270. ],
  23271. "properties": {
  23272. "accountid": {
  23273. "description": "账户ID[报价币种]",
  23274. "type": "integer"
  23275. },
  23276. "agreeunit": {
  23277. "description": "合约单位",
  23278. "type": "number"
  23279. },
  23280. "buyorsell": {
  23281. "description": "买卖 - 0:买 1:卖",
  23282. "type": "integer"
  23283. },
  23284. "cancelqty": {
  23285. "description": "撤单数量",
  23286. "type": "integer"
  23287. },
  23288. "currencysign": {
  23289. "description": "货币符号",
  23290. "type": "string"
  23291. },
  23292. "decimalplace": {
  23293. "description": "报价小数位",
  23294. "type": "integer"
  23295. },
  23296. "goodscode": {
  23297. "description": "商品代码(内部)",
  23298. "type": "string"
  23299. },
  23300. "goodsid": {
  23301. "description": "商品ID",
  23302. "type": "integer"
  23303. },
  23304. "goodsname": {
  23305. "description": "商品名称",
  23306. "type": "string"
  23307. },
  23308. "listingselecttype": {
  23309. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23310. "type": "integer"
  23311. },
  23312. "marketid": {
  23313. "description": "市场ID",
  23314. "type": "integer"
  23315. },
  23316. "mybuystatus": {
  23317. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  23318. "type": "integer"
  23319. },
  23320. "orderamount": {
  23321. "description": "委托金额",
  23322. "type": "number"
  23323. },
  23324. "orderid": {
  23325. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23326. "type": "string"
  23327. },
  23328. "orderprice": {
  23329. "description": "委托价格",
  23330. "type": "number"
  23331. },
  23332. "orderqty": {
  23333. "description": "委托数量",
  23334. "type": "integer"
  23335. },
  23336. "orderstatus": {
  23337. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23338. "type": "integer"
  23339. },
  23340. "ordertime": {
  23341. "description": "委托时间",
  23342. "type": "string"
  23343. },
  23344. "picurls1": {
  23345. "description": "预售商品介绍图片[多张用逗号分隔]",
  23346. "type": "string"
  23347. },
  23348. "picurls2": {
  23349. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23350. "type": "string"
  23351. },
  23352. "trademode": {
  23353. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23354. "type": "integer"
  23355. },
  23356. "tradeqty": {
  23357. "description": "成交数量",
  23358. "type": "integer"
  23359. },
  23360. "vendorname1": {
  23361. "description": "预售商品供应商名称",
  23362. "type": "string"
  23363. },
  23364. "vendorname2": {
  23365. "description": "挂牌商品供应商名称",
  23366. "type": "string"
  23367. }
  23368. }
  23369. },
  23370. "models.Loginaccount": {
  23371. "type": "object",
  23372. "required": [
  23373. "loginid"
  23374. ],
  23375. "properties": {
  23376. "accountname": {
  23377. "description": "账户名称",
  23378. "type": "string"
  23379. },
  23380. "canoutin": {
  23381. "description": "是否可出入金 - 0:不可 1:可",
  23382. "type": "integer"
  23383. },
  23384. "clientroleid": {
  23385. "description": "终端角色ID",
  23386. "type": "integer"
  23387. },
  23388. "haslogined": {
  23389. "description": "是否已登录 - 0:未登录 1:已登录",
  23390. "type": "integer"
  23391. },
  23392. "hasupdatedpwd": {
  23393. "description": "是否已更改密码 - 0:未修改 1:已修改",
  23394. "type": "integer"
  23395. },
  23396. "lastloginip": {
  23397. "description": "最新登录地址",
  23398. "type": "string"
  23399. },
  23400. "lastloginmode": {
  23401. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23402. "type": "integer"
  23403. },
  23404. "lastloginremark": {
  23405. "description": "最新登录描述",
  23406. "type": "string"
  23407. },
  23408. "lastlogintime": {
  23409. "description": "最新登录时间",
  23410. "type": "string"
  23411. },
  23412. "logincode": {
  23413. "description": "登录代码",
  23414. "type": "string"
  23415. },
  23416. "loginfailnum": {
  23417. "description": "连续登录失败次数(登录成功时清零)",
  23418. "type": "integer"
  23419. },
  23420. "loginid": {
  23421. "description": "登陆账号",
  23422. "type": "integer"
  23423. },
  23424. "loginport": {
  23425. "description": "最新登录端口",
  23426. "type": "integer"
  23427. },
  23428. "loginstatus": {
  23429. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  23430. "type": "integer"
  23431. },
  23432. "loginusertype": {
  23433. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  23434. "type": "integer"
  23435. },
  23436. "mobile": {
  23437. "description": "手机号码(加密存储)",
  23438. "type": "string"
  23439. },
  23440. "modifierid": {
  23441. "description": "修改人",
  23442. "type": "integer"
  23443. },
  23444. "modifysrc": {
  23445. "description": "审核来源 - 1:管理端 2:终端",
  23446. "type": "integer"
  23447. },
  23448. "modifytime": {
  23449. "description": "修改时间",
  23450. "type": "string"
  23451. },
  23452. "password": {
  23453. "description": "登陆密码",
  23454. "type": "string"
  23455. },
  23456. "pwdwrongcount": {
  23457. "description": "密码错误次数",
  23458. "type": "integer"
  23459. },
  23460. "relateduserid": {
  23461. "description": "关联用户ID(机构)",
  23462. "type": "integer"
  23463. },
  23464. "taaccountrighttype": {
  23465. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  23466. "type": "integer"
  23467. },
  23468. "unfreezetime": {
  23469. "description": "账户解冻时间",
  23470. "type": "string"
  23471. },
  23472. "userid": {
  23473. "description": "用户ID",
  23474. "type": "integer"
  23475. }
  23476. }
  23477. },
  23478. "models.MainAccountInfo": {
  23479. "type": "object",
  23480. "properties": {
  23481. "accountid": {
  23482. "description": "账号id",
  23483. "type": "integer"
  23484. },
  23485. "accountname": {
  23486. "description": "账号名称(taaccount表中的名称)",
  23487. "type": "string"
  23488. },
  23489. "appid": {
  23490. "description": "AppID",
  23491. "type": "string"
  23492. },
  23493. "authcode": {
  23494. "description": "授权码",
  23495. "type": "string"
  23496. },
  23497. "brokerid": {
  23498. "description": "经纪商id",
  23499. "type": "string"
  23500. },
  23501. "fcid": {
  23502. "description": "期货公司id",
  23503. "type": "integer"
  23504. },
  23505. "fcname": {
  23506. "description": "期货公司代码",
  23507. "type": "string"
  23508. },
  23509. "hedgeaccountcode": {
  23510. "description": "外部账号代码(主账号登录代码)",
  23511. "type": "string"
  23512. },
  23513. "hedgeaccountpwd": {
  23514. "description": "密码",
  23515. "type": "string"
  23516. },
  23517. "ismain": {
  23518. "description": "是否主账号",
  23519. "type": "integer"
  23520. },
  23521. "relateduserid": {
  23522. "description": "关联用户id",
  23523. "type": "integer"
  23524. },
  23525. "userid": {
  23526. "description": "关联用户id",
  23527. "type": "integer"
  23528. }
  23529. }
  23530. },
  23531. "models.Market": {
  23532. "type": "object",
  23533. "required": [
  23534. "marketid",
  23535. "marketstatus",
  23536. "openmethod",
  23537. "reckonpricealgorithm",
  23538. "trademode",
  23539. "tradeproperty"
  23540. ],
  23541. "properties": {
  23542. "auctionwrtype": {
  23543. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  23544. "type": "integer"
  23545. },
  23546. "canacceptquote": {
  23547. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  23548. "type": "integer"
  23549. },
  23550. "cangoodsexercise": {
  23551. "description": "[期权]是否可现货行权- 0:否 1:是",
  23552. "type": "integer"
  23553. },
  23554. "cangoodsexercisetype": {
  23555. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  23556. "type": "integer"
  23557. },
  23558. "canmanualquotestrike": {
  23559. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  23560. "type": "integer"
  23561. },
  23562. "canmutistage": {
  23563. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  23564. "type": "integer"
  23565. },
  23566. "canpreexercise": {
  23567. "description": "[期权]是否可预申报- 0:否 1:是",
  23568. "type": "integer"
  23569. },
  23570. "clearinterval": {
  23571. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  23572. "type": "integer"
  23573. },
  23574. "contracttmp": {
  23575. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  23576. "type": "string"
  23577. },
  23578. "exchareaid": {
  23579. "description": "所属交易所,可以没有",
  23580. "type": "integer"
  23581. },
  23582. "goodstype": {
  23583. "description": "商品类型 - 1:交易商品 2:仓单商品",
  23584. "type": "integer"
  23585. },
  23586. "hasrebate": {
  23587. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  23588. "type": "integer"
  23589. },
  23590. "hastradecredit": {
  23591. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  23592. "type": "integer"
  23593. },
  23594. "haswr": {
  23595. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  23596. "type": "integer"
  23597. },
  23598. "isdeductmargin": {
  23599. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  23600. "type": "integer"
  23601. },
  23602. "isrecordsource": {
  23603. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  23604. "type": "integer"
  23605. },
  23606. "isreleasemargin": {
  23607. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  23608. "type": "integer"
  23609. },
  23610. "marginformula": {
  23611. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23612. "type": "integer"
  23613. },
  23614. "marginformula2": {
  23615. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23616. "type": "integer"
  23617. },
  23618. "marketid": {
  23619. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23620. "type": "integer"
  23621. },
  23622. "marketname": {
  23623. "description": "市场名称",
  23624. "type": "string"
  23625. },
  23626. "marketserviceid": {
  23627. "description": "市场服务ID",
  23628. "type": "integer"
  23629. },
  23630. "marketstatus": {
  23631. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23632. "type": "integer"
  23633. },
  23634. "markettype": {
  23635. "description": "市场类型- 1:非交易服务 2:交易服务",
  23636. "type": "integer"
  23637. },
  23638. "matchermode": {
  23639. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  23640. "type": "integer"
  23641. },
  23642. "openmethod": {
  23643. "description": "开盘模式 - 0 自动 1手动",
  23644. "type": "integer"
  23645. },
  23646. "otcuserid": {
  23647. "description": "场外期权做市商[场外期权]",
  23648. "type": "integer"
  23649. },
  23650. "outersynctime": {
  23651. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  23652. "type": "string"
  23653. },
  23654. "pendingflag": {
  23655. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  23656. "type": "integer"
  23657. },
  23658. "pendingtime": {
  23659. "description": "待开市时间[通道交易-对冲](HH:mm)",
  23660. "type": "string"
  23661. },
  23662. "performancetempid": {
  23663. "description": "履约计划模板ID - 作废",
  23664. "type": "integer"
  23665. },
  23666. "premiumquotemode": {
  23667. "description": "权利金报价方式 - 1:自动 2:手动",
  23668. "type": "integer"
  23669. },
  23670. "rebateratio": {
  23671. "description": "返利比率[竞价式]",
  23672. "type": "number"
  23673. },
  23674. "reckonorder": {
  23675. "description": "结算顺序",
  23676. "type": "integer"
  23677. },
  23678. "reckonpricealgorithm": {
  23679. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  23680. "type": "integer"
  23681. },
  23682. "reckonpriceparam": {
  23683. "description": "结算价参数",
  23684. "type": "integer"
  23685. },
  23686. "reckontime": {
  23687. "description": "结算时间[通道交易-对冲](HH:mm)",
  23688. "type": "string"
  23689. },
  23690. "roleprioritytype": {
  23691. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  23692. "type": "integer"
  23693. },
  23694. "selllistingauditflag": {
  23695. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  23696. "type": "integer"
  23697. },
  23698. "trademarkettype": {
  23699. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  23700. "type": "integer"
  23701. },
  23702. "trademode": {
  23703. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23704. "type": "integer"
  23705. },
  23706. "tradeproperty": {
  23707. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  23708. "type": "integer"
  23709. },
  23710. "tradetype": {
  23711. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  23712. "type": "integer"
  23713. }
  23714. }
  23715. },
  23716. "models.Marketrun": {
  23717. "type": "object",
  23718. "required": [
  23719. "marketid",
  23720. "nexttradedate",
  23721. "reckonflag",
  23722. "runstatus",
  23723. "tradedate",
  23724. "tradedate2"
  23725. ],
  23726. "properties": {
  23727. "afternexttradedate": {
  23728. "description": "下下交易日",
  23729. "type": "string"
  23730. },
  23731. "clearquoteflag": {
  23732. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  23733. "type": "integer"
  23734. },
  23735. "lastreckondate": {
  23736. "description": "最新交易日(结算成功)",
  23737. "type": "string"
  23738. },
  23739. "machinedate": {
  23740. "description": "机器时间",
  23741. "type": "string"
  23742. },
  23743. "manualflag": {
  23744. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  23745. "type": "integer"
  23746. },
  23747. "marketid": {
  23748. "description": "市场ID",
  23749. "type": "integer"
  23750. },
  23751. "nexttradedate": {
  23752. "description": "下一交易日",
  23753. "type": "string"
  23754. },
  23755. "pretradedate": {
  23756. "description": "上一交易日",
  23757. "type": "string"
  23758. },
  23759. "reckonflag": {
  23760. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  23761. "type": "integer"
  23762. },
  23763. "runstatus": {
  23764. "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.今日免清算",
  23765. "type": "integer"
  23766. },
  23767. "sectionid": {
  23768. "description": "时间段号[多时段时用]",
  23769. "type": "integer"
  23770. },
  23771. "tradedate": {
  23772. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  23773. "type": "string"
  23774. },
  23775. "tradedate2": {
  23776. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  23777. "type": "string"
  23778. },
  23779. "updatetime": {
  23780. "description": "更新时间",
  23781. "type": "string"
  23782. }
  23783. }
  23784. },
  23785. "models.Messageboard": {
  23786. "type": "object",
  23787. "required": [
  23788. "messageboardid"
  23789. ],
  23790. "properties": {
  23791. "contactnum": {
  23792. "description": "联系电话",
  23793. "type": "string"
  23794. },
  23795. "createtime": {
  23796. "description": "创建时间",
  23797. "type": "string"
  23798. },
  23799. "message": {
  23800. "description": "留言信息",
  23801. "type": "string"
  23802. },
  23803. "messageboardid": {
  23804. "description": "留言簿ID(SEQ_MessageBoard)",
  23805. "type": "integer"
  23806. },
  23807. "userid": {
  23808. "description": "用户ID",
  23809. "type": "integer"
  23810. }
  23811. }
  23812. },
  23813. "models.MyCoupon": {
  23814. "type": "object",
  23815. "required": [
  23816. "accountid",
  23817. "coupontypeid"
  23818. ],
  23819. "properties": {
  23820. "accountid": {
  23821. "description": "资金账户ID",
  23822. "type": "integer"
  23823. },
  23824. "areauserid": {
  23825. "description": "所属机构",
  23826. "type": "integer"
  23827. },
  23828. "conditionvalue": {
  23829. "description": "条件阈值(可为0)",
  23830. "type": "number"
  23831. },
  23832. "couponcategroy": {
  23833. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  23834. "type": "integer"
  23835. },
  23836. "couponname": {
  23837. "description": "优惠券名称",
  23838. "type": "string"
  23839. },
  23840. "coupontypeid": {
  23841. "description": "优惠券类型ID",
  23842. "type": "string"
  23843. },
  23844. "couponvalue": {
  23845. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23846. "type": "number"
  23847. },
  23848. "curfreezeqty": {
  23849. "description": "期末冻结数量",
  23850. "type": "integer"
  23851. },
  23852. "curqty": {
  23853. "description": "期末数量",
  23854. "type": "integer"
  23855. },
  23856. "isgeneral": {
  23857. "description": "是否通用券 - 0:否 1:是",
  23858. "type": "integer"
  23859. },
  23860. "isunusable": {
  23861. "description": "是否不可用",
  23862. "type": "boolean"
  23863. },
  23864. "limitedflag": {
  23865. "description": "是否指定商品 - 0:不限 1:限制",
  23866. "type": "integer"
  23867. },
  23868. "limitedgoodsids": {
  23869. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  23870. "type": "string"
  23871. },
  23872. "orifreezeqty": {
  23873. "description": "期初冻结数量",
  23874. "type": "integer"
  23875. },
  23876. "oriqty": {
  23877. "description": "期初数量",
  23878. "type": "integer"
  23879. },
  23880. "reasontype": {
  23881. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  23882. "type": "integer"
  23883. },
  23884. "todaydecrease": {
  23885. "description": "今日减少",
  23886. "type": "integer"
  23887. },
  23888. "todayincrease": {
  23889. "description": "今日增加",
  23890. "type": "integer"
  23891. },
  23892. "userid": {
  23893. "description": "用户ID",
  23894. "type": "integer"
  23895. },
  23896. "userscope": {
  23897. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  23898. "type": "string"
  23899. }
  23900. }
  23901. },
  23902. "models.MyCouponHold": {
  23903. "type": "object",
  23904. "required": [
  23905. "couponholdid"
  23906. ],
  23907. "properties": {
  23908. "accountid": {
  23909. "description": "资金账户ID",
  23910. "type": "integer"
  23911. },
  23912. "conditionvalue": {
  23913. "description": "条件阈值(可为0)",
  23914. "type": "number"
  23915. },
  23916. "couponcategroy": {
  23917. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  23918. "type": "integer"
  23919. },
  23920. "couponholdid": {
  23921. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  23922. "type": "string"
  23923. },
  23924. "couponname": {
  23925. "description": "优惠券名称",
  23926. "type": "string"
  23927. },
  23928. "coupontypeid": {
  23929. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  23930. "type": "string"
  23931. },
  23932. "couponvalue": {
  23933. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23934. "type": "number"
  23935. },
  23936. "createtime": {
  23937. "description": "创建时间",
  23938. "type": "string"
  23939. },
  23940. "enddate": {
  23941. "description": "结束日期",
  23942. "type": "string"
  23943. },
  23944. "giveapplyid": {
  23945. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  23946. "type": "integer"
  23947. },
  23948. "holdstatus": {
  23949. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  23950. "type": "integer"
  23951. },
  23952. "isgeneral": {
  23953. "description": "是否通用券 - 0:否 1:是",
  23954. "type": "integer"
  23955. },
  23956. "limitedflag": {
  23957. "description": "是否指定商品 - 0:不限 1:限制",
  23958. "type": "integer"
  23959. },
  23960. "limitedgoodsids": {
  23961. "description": "指定商品IDs[逗号分隔]",
  23962. "type": "string"
  23963. },
  23964. "qty": {
  23965. "description": "数量(按1平铺)",
  23966. "type": "integer"
  23967. },
  23968. "startdate": {
  23969. "description": "开始日期",
  23970. "type": "string"
  23971. },
  23972. "userid": {
  23973. "description": "用户ID",
  23974. "type": "integer"
  23975. },
  23976. "userscope": {
  23977. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  23978. "type": "string"
  23979. }
  23980. }
  23981. },
  23982. "models.MyUsedCoupon": {
  23983. "type": "object",
  23984. "required": [
  23985. "coupontypeid",
  23986. "orderid"
  23987. ],
  23988. "properties": {
  23989. "accountid": {
  23990. "description": "资金账户ID(买方)",
  23991. "type": "integer"
  23992. },
  23993. "conditionvalue": {
  23994. "description": "条件阈值(可为0)",
  23995. "type": "number"
  23996. },
  23997. "couponcategroy": {
  23998. "description": "种类 - 1:现金券 2:折扣券",
  23999. "type": "integer"
  24000. },
  24001. "couponname": {
  24002. "description": "优惠券名称",
  24003. "type": "string"
  24004. },
  24005. "coupontypeid": {
  24006. "description": "优惠券类型ID(买方)",
  24007. "type": "string"
  24008. },
  24009. "couponvalue": {
  24010. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  24011. "type": "number"
  24012. },
  24013. "createtime": {
  24014. "description": "创建时间",
  24015. "type": "string"
  24016. },
  24017. "goodsid": {
  24018. "description": "商品ID",
  24019. "type": "integer"
  24020. },
  24021. "handlestatus": {
  24022. "description": "处理状态",
  24023. "type": "integer"
  24024. },
  24025. "marketid": {
  24026. "description": "市场ID",
  24027. "type": "integer"
  24028. },
  24029. "offamount": {
  24030. "description": "优惠金额",
  24031. "type": "number"
  24032. },
  24033. "orderid": {
  24034. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24035. "type": "string"
  24036. },
  24037. "sellaccountid": {
  24038. "description": "资金账户ID(卖方)",
  24039. "type": "integer"
  24040. },
  24041. "tradeamount": {
  24042. "description": "成交金额",
  24043. "type": "number"
  24044. },
  24045. "tradeid": {
  24046. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24047. "type": "string"
  24048. },
  24049. "usedqty": {
  24050. "description": "使用数量",
  24051. "type": "integer"
  24052. }
  24053. }
  24054. },
  24055. "models.OperationPrimaryMenu": {
  24056. "type": "object",
  24057. "properties": {
  24058. "Children": {
  24059. "description": "二级功能菜单",
  24060. "type": "array",
  24061. "items": {
  24062. "$ref": "#/definitions/models.OperationSecondaryMenu"
  24063. }
  24064. },
  24065. "Key": {
  24066. "description": "菜单KEY",
  24067. "type": "string"
  24068. },
  24069. "Label": {
  24070. "description": "菜单标题",
  24071. "type": "string"
  24072. }
  24073. }
  24074. },
  24075. "models.OperationSecondaryMenu": {
  24076. "type": "object",
  24077. "properties": {
  24078. "Key": {
  24079. "description": "菜单KEY",
  24080. "type": "string"
  24081. },
  24082. "Label": {
  24083. "description": "菜单标题",
  24084. "type": "string"
  24085. },
  24086. "TabList": {
  24087. "description": "三级功能菜单",
  24088. "type": "array",
  24089. "items": {
  24090. "$ref": "#/definitions/models.OperationTabMenu"
  24091. }
  24092. }
  24093. }
  24094. },
  24095. "models.OperationTabMenu": {
  24096. "type": "object",
  24097. "properties": {
  24098. "Key": {
  24099. "description": "菜单KEY",
  24100. "type": "string"
  24101. },
  24102. "Label": {
  24103. "description": "菜单标题",
  24104. "type": "string"
  24105. }
  24106. }
  24107. },
  24108. "models.PendingAuditBizModel": {
  24109. "type": "object",
  24110. "properties": {
  24111. "accountid": {
  24112. "description": "现货账户",
  24113. "type": "string"
  24114. },
  24115. "areaname": {
  24116. "description": "所属部门",
  24117. "type": "string"
  24118. },
  24119. "bizid": {
  24120. "description": "业务ID",
  24121. "type": "string"
  24122. },
  24123. "bizname": {
  24124. "description": "业务名称",
  24125. "type": "string"
  24126. },
  24127. "status": {
  24128. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  24129. "type": "integer"
  24130. },
  24131. "type": {
  24132. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  24133. "type": "integer"
  24134. }
  24135. }
  24136. },
  24137. "models.QhjAccountOutInApply": {
  24138. "type": "object",
  24139. "properties": {
  24140. "accountcode": {
  24141. "description": "资金账号",
  24142. "type": "string"
  24143. },
  24144. "accountname": {
  24145. "description": "用户名称(名称)",
  24146. "type": "string"
  24147. },
  24148. "accountpwd": {
  24149. "description": "资金密码",
  24150. "type": "string"
  24151. },
  24152. "accountticket": {
  24153. "description": "最新账户服务流水号",
  24154. "type": "string"
  24155. },
  24156. "amount": {
  24157. "description": "金额",
  24158. "type": "number"
  24159. },
  24160. "applyremark": {
  24161. "description": "申请备注",
  24162. "type": "string"
  24163. },
  24164. "applystatus": {
  24165. "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: 复审通过,账户冻结金额检查中;",
  24166. "type": "integer"
  24167. },
  24168. "auditid": {
  24169. "description": "审核人",
  24170. "type": "integer"
  24171. },
  24172. "audittime": {
  24173. "description": "审核时间",
  24174. "type": "string"
  24175. },
  24176. "bank_apply_ticket": {
  24177. "description": "银行申请流水",
  24178. "type": "string"
  24179. },
  24180. "bankaccountname": {
  24181. "description": "银行账户名",
  24182. "type": "string"
  24183. },
  24184. "bankaccountno": {
  24185. "description": "银行卡号",
  24186. "type": "string"
  24187. },
  24188. "bankid": {
  24189. "description": "银行编号",
  24190. "type": "string"
  24191. },
  24192. "bankticket": {
  24193. "description": "银行流水",
  24194. "type": "string"
  24195. },
  24196. "branchbankid": {
  24197. "description": "银行支行号",
  24198. "type": "string"
  24199. },
  24200. "branchbankname": {
  24201. "description": "银行支行名称",
  24202. "type": "string"
  24203. },
  24204. "capamountout": {
  24205. "description": "出金(劣后本金) - 外部子账户",
  24206. "type": "number"
  24207. },
  24208. "certificatephotourl": {
  24209. "description": "凭证地址",
  24210. "type": "string"
  24211. },
  24212. "charge": {
  24213. "description": "手续费",
  24214. "type": "number"
  24215. },
  24216. "checkerrorflag": {
  24217. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24218. "type": "integer"
  24219. },
  24220. "currency": {
  24221. "description": "币种",
  24222. "type": "string"
  24223. },
  24224. "cusbankid": {
  24225. "description": "托管银行编号",
  24226. "type": "string"
  24227. },
  24228. "exchticket": {
  24229. "description": "银行服务流水号",
  24230. "type": "string"
  24231. },
  24232. "executetype": {
  24233. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24234. "type": "integer"
  24235. },
  24236. "extendinfo": {
  24237. "description": "扩展信息",
  24238. "type": "string"
  24239. },
  24240. "extoperateid": {
  24241. "description": "交易服务流水号",
  24242. "type": "integer"
  24243. },
  24244. "infamount": {
  24245. "description": "劣后金额(自有)",
  24246. "type": "number"
  24247. },
  24248. "logincode": {
  24249. "description": "登录账号(账号)",
  24250. "type": "string"
  24251. },
  24252. "netaddr": {
  24253. "description": "调转网址",
  24254. "type": "string"
  24255. },
  24256. "priamount": {
  24257. "description": "优先金额(授信)",
  24258. "type": "number"
  24259. },
  24260. "reauditid": {
  24261. "description": "复审人",
  24262. "type": "integer"
  24263. },
  24264. "reauditremark": {
  24265. "description": "复审备注",
  24266. "type": "string"
  24267. },
  24268. "reaudittime": {
  24269. "description": "复审时间",
  24270. "type": "string"
  24271. },
  24272. "relatedorderid": {
  24273. "description": "三方关联ID",
  24274. "type": "string"
  24275. },
  24276. "remark": {
  24277. "description": "备注",
  24278. "type": "string"
  24279. },
  24280. "remark2": {
  24281. "description": "备注(失败原因)",
  24282. "type": "string"
  24283. },
  24284. "soucreamount": {
  24285. "description": "原始出入金金额",
  24286. "type": "number"
  24287. },
  24288. "soucrecurrencyid": {
  24289. "description": "原始出入金币种",
  24290. "type": "integer"
  24291. },
  24292. "tradedate": {
  24293. "description": "交易日(yyyyMMdd)",
  24294. "type": "string"
  24295. },
  24296. "updatetime": {
  24297. "description": "更新时间(申请时间)",
  24298. "type": "string"
  24299. },
  24300. "userid": {
  24301. "description": "用户id",
  24302. "type": "integer"
  24303. },
  24304. "userinfotype": {
  24305. "description": "账户类型 1-个人 2-企业",
  24306. "type": "integer"
  24307. }
  24308. }
  24309. },
  24310. "models.QhjAgreementChangeLog": {
  24311. "type": "object",
  24312. "properties": {
  24313. "agreementcontent": {
  24314. "description": "协议内容",
  24315. "type": "string"
  24316. },
  24317. "agreementfrequency": {
  24318. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24319. "type": "integer"
  24320. },
  24321. "agreementid": {
  24322. "description": "协议ID",
  24323. "type": "integer"
  24324. },
  24325. "agreementname": {
  24326. "description": "协议名称",
  24327. "type": "string"
  24328. },
  24329. "agreementno": {
  24330. "description": "协议编号",
  24331. "type": "string"
  24332. },
  24333. "agreementtype": {
  24334. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24335. "type": "integer"
  24336. },
  24337. "agreementversion": {
  24338. "description": "协议版本号",
  24339. "type": "integer"
  24340. },
  24341. "logid": {
  24342. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  24343. "type": "integer"
  24344. },
  24345. "reviserid": {
  24346. "description": "修改人",
  24347. "type": "integer"
  24348. },
  24349. "revisersrc": {
  24350. "description": "修改来源 - 1:管理端 2:终端",
  24351. "type": "integer"
  24352. },
  24353. "updatetime": {
  24354. "description": "更新时间",
  24355. "type": "string"
  24356. }
  24357. }
  24358. },
  24359. "models.QhjAgreementConfig": {
  24360. "type": "object",
  24361. "properties": {
  24362. "agreementcontent": {
  24363. "description": "协议内容",
  24364. "type": "string"
  24365. },
  24366. "agreementfrequency": {
  24367. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24368. "type": "integer"
  24369. },
  24370. "agreementid": {
  24371. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  24372. "type": "integer"
  24373. },
  24374. "agreementname": {
  24375. "description": "协议名称",
  24376. "type": "string"
  24377. },
  24378. "agreementno": {
  24379. "description": "协议编号",
  24380. "type": "string"
  24381. },
  24382. "agreementtype": {
  24383. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24384. "type": "integer"
  24385. },
  24386. "agreementversion": {
  24387. "description": "协议版本号(从1开始每次修改加1)",
  24388. "type": "integer"
  24389. },
  24390. "createtime": {
  24391. "description": "创建时间",
  24392. "type": "string"
  24393. },
  24394. "creatorid": {
  24395. "description": "创建人",
  24396. "type": "integer"
  24397. },
  24398. "creatorsrc": {
  24399. "description": "创建来源 - 1:管理端 2:终端",
  24400. "type": "integer"
  24401. },
  24402. "isvalid": {
  24403. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  24404. "type": "integer"
  24405. },
  24406. "reviserid": {
  24407. "description": "修改人",
  24408. "type": "integer"
  24409. },
  24410. "revisersrc": {
  24411. "description": "修改来源 - 1:管理端 2:终端",
  24412. "type": "integer"
  24413. },
  24414. "updatetime": {
  24415. "description": "更新时间",
  24416. "type": "string"
  24417. }
  24418. }
  24419. },
  24420. "models.QhjAreaFinanceConfig": {
  24421. "type": "object",
  24422. "properties": {
  24423. "additionalratio": {
  24424. "description": "追加款比例",
  24425. "type": "number"
  24426. },
  24427. "advanceratio": {
  24428. "description": "预付款比例",
  24429. "type": "number"
  24430. },
  24431. "alarmratio": {
  24432. "description": "告警比例",
  24433. "type": "number"
  24434. },
  24435. "consumptiondirectreward": {
  24436. "description": "消费直推奖励值",
  24437. "type": "number"
  24438. },
  24439. "consumptionenabled": {
  24440. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  24441. "type": "integer"
  24442. },
  24443. "consumptionindirectreward": {
  24444. "description": "消费间推奖励值",
  24445. "type": "number"
  24446. },
  24447. "consumptionmodel": {
  24448. "description": "消费奖励方式 - 1:比率 2:固定",
  24449. "type": "integer"
  24450. },
  24451. "customerservicenum": {
  24452. "description": "客服电话",
  24453. "type": "string"
  24454. },
  24455. "dayinterestrate": {
  24456. "description": "日利率",
  24457. "type": "number"
  24458. },
  24459. "disableconsumptiontips": {
  24460. "description": "关闭消费奖励提示",
  24461. "type": "string"
  24462. },
  24463. "modifierid": {
  24464. "description": "修改人ID",
  24465. "type": "integer"
  24466. },
  24467. "modifysrc": {
  24468. "description": "审核来源 - 1:管理端 2:终端",
  24469. "type": "integer"
  24470. },
  24471. "modifytime": {
  24472. "description": "修改时间",
  24473. "type": "string"
  24474. },
  24475. "promotionvalue": {
  24476. "description": "推广奖励值(固定)",
  24477. "type": "number"
  24478. },
  24479. "scoreconfigvalue1": {
  24480. "description": "提货积分配置1",
  24481. "type": "integer"
  24482. },
  24483. "scoreconfigvalue2": {
  24484. "description": "提货积分配置2",
  24485. "type": "integer"
  24486. },
  24487. "userid": {
  24488. "description": "机构用户ID其他做市关系,都设置为 1",
  24489. "type": "integer"
  24490. },
  24491. "username": {
  24492. "description": "用户名称",
  24493. "type": "string"
  24494. }
  24495. }
  24496. },
  24497. "models.QhjBankAccountSign": {
  24498. "type": "object",
  24499. "properties": {
  24500. "accountcode": {
  24501. "description": "资金账号",
  24502. "type": "string"
  24503. },
  24504. "accountname": {
  24505. "description": "资金账号对应的账号名(UserName)",
  24506. "type": "string"
  24507. },
  24508. "accountname2": {
  24509. "description": "资金账号对应的账号名(UserName) - 密文",
  24510. "type": "string"
  24511. },
  24512. "accounttype": {
  24513. "description": "账户类型(UserType)",
  24514. "type": "integer"
  24515. },
  24516. "applicationtime": {
  24517. "description": "最后一次更新的时间",
  24518. "type": "string"
  24519. },
  24520. "applyexchticket": {
  24521. "description": "申请流水",
  24522. "type": "string"
  24523. },
  24524. "auditid": {
  24525. "description": "审核人",
  24526. "type": "integer"
  24527. },
  24528. "audittime": {
  24529. "description": "审核时间",
  24530. "type": "string"
  24531. },
  24532. "bankaccountname": {
  24533. "description": "签约银行卡账号名",
  24534. "type": "string"
  24535. },
  24536. "bankaccountname2": {
  24537. "description": "签约银行卡账号名 - 密文",
  24538. "type": "string"
  24539. },
  24540. "bankaccountno": {
  24541. "description": "银行卡号",
  24542. "type": "string"
  24543. },
  24544. "bankaccountno2": {
  24545. "description": "银行卡号 - 密文",
  24546. "type": "string"
  24547. },
  24548. "bankaccounttype": {
  24549. "description": "银行账户类型 - 1-对私; 2-对公",
  24550. "type": "integer"
  24551. },
  24552. "bankcardtype": {
  24553. "description": "银行卡类型",
  24554. "type": "integer"
  24555. },
  24556. "bankchildaccount": {
  24557. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  24558. "type": "string"
  24559. },
  24560. "bankcity": {
  24561. "description": "开户行城市",
  24562. "type": "string"
  24563. },
  24564. "bankid": {
  24565. "description": "签约银行ID",
  24566. "type": "string"
  24567. },
  24568. "bankname": {
  24569. "description": "签约银行名称",
  24570. "type": "string"
  24571. },
  24572. "bankprovince": {
  24573. "description": "开户行省份",
  24574. "type": "string"
  24575. },
  24576. "branchbankid": {
  24577. "description": "签约银行支行号",
  24578. "type": "string"
  24579. },
  24580. "branchbankname": {
  24581. "description": "签约银行支行名称",
  24582. "type": "string"
  24583. },
  24584. "cardno": {
  24585. "description": "证件号码",
  24586. "type": "string"
  24587. },
  24588. "cardno2": {
  24589. "description": "证件号码 - 密文",
  24590. "type": "string"
  24591. },
  24592. "cardtype": {
  24593. "description": "证件类型",
  24594. "type": "string"
  24595. },
  24596. "currency": {
  24597. "description": "币种",
  24598. "type": "string"
  24599. },
  24600. "cusbankid": {
  24601. "description": "托管银行编号",
  24602. "type": "string"
  24603. },
  24604. "direct": {
  24605. "description": "方向(可以判断那方先发起的签约)",
  24606. "type": "integer"
  24607. },
  24608. "exchticket": {
  24609. "description": "最后一次签约成功的流水号",
  24610. "type": "string"
  24611. },
  24612. "extendinfo": {
  24613. "description": "扩展信息(JSON字符串)",
  24614. "type": "string"
  24615. },
  24616. "mobilephone": {
  24617. "description": "手机号",
  24618. "type": "string"
  24619. },
  24620. "mobilephone2": {
  24621. "description": "手机号 - 密文",
  24622. "type": "string"
  24623. },
  24624. "netaddr": {
  24625. "description": "调转网址",
  24626. "type": "string"
  24627. },
  24628. "relateduserid": {
  24629. "description": "关联使用者userid",
  24630. "type": "integer"
  24631. },
  24632. "signstatus": {
  24633. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  24634. "type": "integer"
  24635. },
  24636. "updatetime": {
  24637. "description": "更新时间(签解约更新时间)",
  24638. "type": "string"
  24639. }
  24640. }
  24641. },
  24642. "models.QhjBankInfo": {
  24643. "type": "object",
  24644. "properties": {
  24645. "bankid": {
  24646. "description": "银行ID",
  24647. "type": "string"
  24648. },
  24649. "bankname": {
  24650. "description": "银行名称",
  24651. "type": "string"
  24652. },
  24653. "clearbankno": {
  24654. "description": "清算系统银行编号",
  24655. "type": "string"
  24656. },
  24657. "orderindex": {
  24658. "description": "排序顺序",
  24659. "type": "integer"
  24660. },
  24661. "status": {
  24662. "description": "状态 - 0:正常 1:注销",
  24663. "type": "integer"
  24664. }
  24665. }
  24666. },
  24667. "models.QhjBrokerApply": {
  24668. "type": "object",
  24669. "properties": {
  24670. "applicantid": {
  24671. "description": "申请人",
  24672. "type": "integer"
  24673. },
  24674. "applysrc": {
  24675. "description": "申请来源 - 1:管理端 2:终端",
  24676. "type": "integer"
  24677. },
  24678. "applystatus": {
  24679. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24680. "type": "integer"
  24681. },
  24682. "applytime": {
  24683. "description": "申请时间",
  24684. "type": "string"
  24685. },
  24686. "auditorid": {
  24687. "description": "审核人",
  24688. "type": "integer"
  24689. },
  24690. "auditremark": {
  24691. "description": "审核备注",
  24692. "type": "string"
  24693. },
  24694. "auditsrc": {
  24695. "description": "审核来源 - 1:管理端 2:终端",
  24696. "type": "integer"
  24697. },
  24698. "audittime": {
  24699. "description": "审核时间",
  24700. "type": "string"
  24701. },
  24702. "audittradedate": {
  24703. "description": "审核交易日(yyyyMMdd)",
  24704. "type": "string"
  24705. },
  24706. "brokerapplyid": {
  24707. "description": "申请ID(SEQ_BROKERAPPLY)",
  24708. "type": "integer"
  24709. },
  24710. "cardbackphotourl": {
  24711. "description": "证件背面图片地址",
  24712. "type": "string"
  24713. },
  24714. "cardfrontphotourl": {
  24715. "description": "证件正面图片地址",
  24716. "type": "string"
  24717. },
  24718. "cardnum": {
  24719. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  24720. "type": "string"
  24721. },
  24722. "customername": {
  24723. "description": "姓名",
  24724. "type": "string"
  24725. },
  24726. "logincode": {
  24727. "description": "登录代码",
  24728. "type": "string"
  24729. },
  24730. "mobile": {
  24731. "description": "手机号码",
  24732. "type": "string"
  24733. },
  24734. "parentuserid": {
  24735. "description": "所属机构id",
  24736. "type": "integer"
  24737. },
  24738. "parentusername": {
  24739. "description": "所属机构名称",
  24740. "type": "string"
  24741. },
  24742. "refereeuserid": {
  24743. "description": "推荐人id(经纪人)",
  24744. "type": "integer"
  24745. },
  24746. "refernum": {
  24747. "description": "推荐码",
  24748. "type": "string"
  24749. },
  24750. "remark": {
  24751. "description": "备注",
  24752. "type": "string"
  24753. },
  24754. "subarealevelpath": {
  24755. "description": "层级路径",
  24756. "type": "string"
  24757. },
  24758. "tradedate": {
  24759. "description": "交易日(yyyyMMdd)",
  24760. "type": "string"
  24761. },
  24762. "userid": {
  24763. "description": "申请人用户ID",
  24764. "type": "integer"
  24765. },
  24766. "userinfotype": {
  24767. "description": "用户类型 1-个人 2-企业",
  24768. "type": "integer"
  24769. },
  24770. "username": {
  24771. "description": "用户名称",
  24772. "type": "string"
  24773. }
  24774. }
  24775. },
  24776. "models.QhjBrokerApplyEx": {
  24777. "type": "object",
  24778. "properties": {
  24779. "applylist": {
  24780. "description": "经纪人申请记录(只返回最新一条)",
  24781. "type": "array",
  24782. "items": {
  24783. "$ref": "#/definitions/models.QhjBrokerApply"
  24784. }
  24785. },
  24786. "canrecommend": {
  24787. "description": "是否经纪人 0-不是 1-是",
  24788. "type": "integer"
  24789. },
  24790. "refernum": {
  24791. "description": "推荐码",
  24792. "type": "string"
  24793. },
  24794. "userid": {
  24795. "description": "用户id",
  24796. "type": "integer"
  24797. },
  24798. "userinfotype": {
  24799. "description": "用户类型 1-个人 2-企业",
  24800. "type": "integer"
  24801. }
  24802. }
  24803. },
  24804. "models.QhjBrokerRewardLog": {
  24805. "type": "object",
  24806. "properties": {
  24807. "accountid": {
  24808. "description": "资金账号ID",
  24809. "type": "integer"
  24810. },
  24811. "createtime": {
  24812. "description": "创建时间(时间)",
  24813. "type": "string"
  24814. },
  24815. "handlestatus": {
  24816. "description": "处理状态",
  24817. "type": "integer"
  24818. },
  24819. "logid": {
  24820. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24821. "type": "string"
  24822. },
  24823. "marketid": {
  24824. "description": "市场ID",
  24825. "type": "integer"
  24826. },
  24827. "mmaccountid": {
  24828. "description": "做市商资金账号ID",
  24829. "type": "string"
  24830. },
  24831. "mmuserid": {
  24832. "description": "做市商用户ID",
  24833. "type": "string"
  24834. },
  24835. "rewardamount": {
  24836. "description": "奖励金额",
  24837. "type": "number"
  24838. },
  24839. "rewardmodel": {
  24840. "description": "消费奖励方式 - 1:比率 2:固定",
  24841. "type": "integer"
  24842. },
  24843. "rewardtype": {
  24844. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  24845. "type": "integer"
  24846. },
  24847. "rewardvalue": {
  24848. "description": "配置奖励值",
  24849. "type": "number"
  24850. },
  24851. "srcamount": {
  24852. "description": "成交金额 [消费奖励] (金额)",
  24853. "type": "number"
  24854. },
  24855. "srcgoodsid": {
  24856. "description": "来源商品ID [消费奖励]",
  24857. "type": "string"
  24858. },
  24859. "srctime": {
  24860. "description": "来源时间 (成交时间) [消费奖励]",
  24861. "type": "string"
  24862. },
  24863. "srctradeid": {
  24864. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  24865. "type": "string"
  24866. },
  24867. "srcuserid": {
  24868. "description": "来源用户ID(推广账户)",
  24869. "type": "string"
  24870. },
  24871. "srcusername": {
  24872. "description": "推广账户名称",
  24873. "type": "string"
  24874. },
  24875. "tradedate": {
  24876. "description": "交易日(yyyyMMdd)",
  24877. "type": "string"
  24878. },
  24879. "userid": {
  24880. "description": "经纪人用户ID",
  24881. "type": "integer"
  24882. }
  24883. }
  24884. },
  24885. "models.QhjContract": {
  24886. "type": "object",
  24887. "properties": {
  24888. "contractconfirmtime": {
  24889. "description": "合同确认时间(时间)",
  24890. "type": "string"
  24891. },
  24892. "currisklevel": {
  24893. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  24894. "type": "integer"
  24895. },
  24896. "decimalplace": {
  24897. "description": "商品报价小数位",
  24898. "type": "integer"
  24899. },
  24900. "enumdicname": {
  24901. "description": "单位名称",
  24902. "type": "string"
  24903. },
  24904. "goodscode": {
  24905. "description": "商品代码",
  24906. "type": "string"
  24907. },
  24908. "goodsid": {
  24909. "description": "商品ID [5:融资单]",
  24910. "type": "integer"
  24911. },
  24912. "goodsname": {
  24913. "description": "商品名称",
  24914. "type": "string"
  24915. },
  24916. "goodunitid": {
  24917. "description": "商品单位id",
  24918. "type": "integer"
  24919. },
  24920. "initmargin": {
  24921. "description": "初始保证金(首付款)",
  24922. "type": "number"
  24923. },
  24924. "lenderamount": {
  24925. "description": "贷款金额(总额|订单总额)",
  24926. "type": "number"
  24927. },
  24928. "marginratio": {
  24929. "description": "保证金比率(首付比例)",
  24930. "type": "number"
  24931. },
  24932. "payamount": {
  24933. "description": "已付(已付货款)",
  24934. "type": "number"
  24935. },
  24936. "reckonrecovermargin": {
  24937. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  24938. "type": "number"
  24939. },
  24940. "recoveredmargin": {
  24941. "description": "已追缴保证金",
  24942. "type": "number"
  24943. },
  24944. "remainamount": {
  24945. "description": "合同剩余金额(融资额)",
  24946. "type": "number"
  24947. },
  24948. "scfcontractid": {
  24949. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24950. "type": "string"
  24951. },
  24952. "scfcontractstatus": {
  24953. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  24954. "type": "integer"
  24955. },
  24956. "scfcontracttype": {
  24957. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  24958. "type": "integer"
  24959. },
  24960. "totalinterest": {
  24961. "description": "已计总利息(利息)",
  24962. "type": "number"
  24963. },
  24964. "tradeprice": {
  24965. "description": "成交价格(成本价格)",
  24966. "type": "number"
  24967. },
  24968. "userid": {
  24969. "description": "用户ID",
  24970. "type": "integer"
  24971. },
  24972. "username": {
  24973. "description": "用户名称",
  24974. "type": "string"
  24975. },
  24976. "wrqty": {
  24977. "description": "仓单数量(数量)",
  24978. "type": "number"
  24979. }
  24980. }
  24981. },
  24982. "models.QhjContractLog": {
  24983. "type": "object",
  24984. "properties": {
  24985. "amount": {
  24986. "description": "支付金额",
  24987. "type": "number"
  24988. },
  24989. "amounttype": {
  24990. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  24991. "type": "integer"
  24992. },
  24993. "logid": {
  24994. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24995. "type": "string"
  24996. },
  24997. "remainamount": {
  24998. "description": "剩余货款",
  24999. "type": "number"
  25000. },
  25001. "scfcontractid": {
  25002. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25003. "type": "integer"
  25004. },
  25005. "updatetime": {
  25006. "description": "更新时间",
  25007. "type": "string"
  25008. }
  25009. }
  25010. },
  25011. "models.QhjCusBankSignBankEx": {
  25012. "type": "object",
  25013. "properties": {
  25014. "banklst": {
  25015. "description": "银行列表",
  25016. "type": "array",
  25017. "items": {
  25018. "$ref": "#/definitions/models.QhjBankInfo"
  25019. }
  25020. },
  25021. "canallot": {
  25022. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  25023. "type": "integer"
  25024. },
  25025. "canallotquery": {
  25026. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  25027. "type": "integer"
  25028. },
  25029. "canbindcard": {
  25030. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  25031. "type": "integer"
  25032. },
  25033. "caninamount": {
  25034. "description": "是否可入金 - 0:不可 1:可以",
  25035. "type": "integer"
  25036. },
  25037. "caninamount2": {
  25038. "description": "是否可入金(网银端) - 0:不可 1:可以",
  25039. "type": "integer"
  25040. },
  25041. "canmodifybankcard": {
  25042. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  25043. "type": "integer"
  25044. },
  25045. "canmodifyphone": {
  25046. "description": "是否可修改手机号 - 0:不可 1:可以",
  25047. "type": "integer"
  25048. },
  25049. "canmodifysigninfo": {
  25050. "description": "是否可修改签约信息 - 0:不可 1:可以",
  25051. "type": "integer"
  25052. },
  25053. "canoutamount": {
  25054. "description": "是否可出金 - 0:不可 1:可以",
  25055. "type": "integer"
  25056. },
  25057. "canoutamount2": {
  25058. "description": "是否可出金(网银端) - 0:不可 1:可以",
  25059. "type": "integer"
  25060. },
  25061. "canrelease": {
  25062. "description": "是否可解约 - 0:不可 1:可以",
  25063. "type": "integer"
  25064. },
  25065. "canrelease2": {
  25066. "description": "是否可解约(网银端) - 0:不可 1:可以",
  25067. "type": "integer"
  25068. },
  25069. "cansign": {
  25070. "description": "是否可签约 - 0:不可 1:可以",
  25071. "type": "integer"
  25072. },
  25073. "cansign2": {
  25074. "description": "是否可签约(网银端) - 0:不可 1:可以",
  25075. "type": "integer"
  25076. },
  25077. "currency": {
  25078. "description": "币种",
  25079. "type": "string"
  25080. },
  25081. "cusbankid": {
  25082. "description": "托管银行编号(对应清算中心TRAN_NO)",
  25083. "type": "string"
  25084. },
  25085. "cusbankname": {
  25086. "description": "银行业务名称",
  25087. "type": "string"
  25088. },
  25089. "cusbankshortname": {
  25090. "description": "银行业务简称",
  25091. "type": "string"
  25092. },
  25093. "exchbankid": {
  25094. "description": "交易所开户银行ID",
  25095. "type": "string"
  25096. },
  25097. "exchpaybankaccname": {
  25098. "description": "交易所支出结算账户户名",
  25099. "type": "string"
  25100. },
  25101. "exchpaybankaccno": {
  25102. "description": "交易所支出结算账户",
  25103. "type": "string"
  25104. },
  25105. "isneedcheck": {
  25106. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  25107. "type": "integer"
  25108. },
  25109. "isneedclear": {
  25110. "description": "是否需要清算 - 0:不需要 1:需要",
  25111. "type": "integer"
  25112. },
  25113. "lastcheckstatus": {
  25114. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  25115. "type": "integer"
  25116. },
  25117. "lastchecktime": {
  25118. "description": "最后对账时间",
  25119. "type": "string"
  25120. },
  25121. "lastclearstatus": {
  25122. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  25123. "type": "integer"
  25124. },
  25125. "lastcleartime": {
  25126. "description": "最后清算时间",
  25127. "type": "string"
  25128. },
  25129. "lastsignintime": {
  25130. "description": "最后签到时间",
  25131. "type": "string"
  25132. },
  25133. "lastsignouttime": {
  25134. "description": "最后签退时间",
  25135. "type": "string"
  25136. },
  25137. "riskinfo": {
  25138. "description": "签约风险提示书",
  25139. "type": "string"
  25140. },
  25141. "signstatus": {
  25142. "description": "当前签到/签退状态 - 1:签到 2:签退",
  25143. "type": "integer"
  25144. },
  25145. "tradedate": {
  25146. "description": "交易日(yyyyMMdd)",
  25147. "type": "string"
  25148. },
  25149. "updatetime": {
  25150. "description": "当前签到/签退更新时间",
  25151. "type": "string"
  25152. }
  25153. }
  25154. },
  25155. "models.QhjCustomer": {
  25156. "type": "object",
  25157. "properties": {
  25158. "address": {
  25159. "description": "通讯地址",
  25160. "type": "string"
  25161. },
  25162. "attachment1": {
  25163. "description": "附件1",
  25164. "type": "string"
  25165. },
  25166. "audittime": {
  25167. "description": "审核时间",
  25168. "type": "string"
  25169. },
  25170. "cardbackphotourl": {
  25171. "description": "证件反面图片地址",
  25172. "type": "string"
  25173. },
  25174. "cardfrontphotourl": {
  25175. "description": "证件正面图片地址",
  25176. "type": "string"
  25177. },
  25178. "cardnum": {
  25179. "description": "证件号码",
  25180. "type": "string"
  25181. },
  25182. "cardtype": {
  25183. "description": "证件类型",
  25184. "type": "integer"
  25185. },
  25186. "cardtypename": {
  25187. "description": "证件类型名称",
  25188. "type": "string"
  25189. },
  25190. "cityid": {
  25191. "description": "市",
  25192. "type": "integer"
  25193. },
  25194. "cityname": {
  25195. "description": "城市名称",
  25196. "type": "string"
  25197. },
  25198. "contactname": {
  25199. "description": "联系人",
  25200. "type": "string"
  25201. },
  25202. "countryid": {
  25203. "description": "国家",
  25204. "type": "integer"
  25205. },
  25206. "countryname": {
  25207. "description": "国家名称",
  25208. "type": "string"
  25209. },
  25210. "createtime": {
  25211. "description": "创建时间",
  25212. "type": "string"
  25213. },
  25214. "customername": {
  25215. "description": "客户名称",
  25216. "type": "string"
  25217. },
  25218. "districtid": {
  25219. "description": "区域",
  25220. "type": "integer"
  25221. },
  25222. "districtname": {
  25223. "description": "地区名称",
  25224. "type": "string"
  25225. },
  25226. "email": {
  25227. "description": "邮件",
  25228. "type": "string"
  25229. },
  25230. "legalpersonname": {
  25231. "description": "法人姓名(企业)",
  25232. "type": "string"
  25233. },
  25234. "logincode": {
  25235. "description": "登录账号(代码)",
  25236. "type": "string"
  25237. },
  25238. "memberuserid": {
  25239. "description": "所属机构ID(所属会员)",
  25240. "type": "integer"
  25241. },
  25242. "memberusername": {
  25243. "description": "所属会员名称",
  25244. "type": "string"
  25245. },
  25246. "mobile": {
  25247. "description": "手机号码",
  25248. "type": "string"
  25249. },
  25250. "modifytime": {
  25251. "description": "修改时间",
  25252. "type": "string"
  25253. },
  25254. "nickname": {
  25255. "description": "昵称",
  25256. "type": "string"
  25257. },
  25258. "parentuserid": {
  25259. "description": "上级机构(所属机构)",
  25260. "type": "integer"
  25261. },
  25262. "parentusername": {
  25263. "description": "所属机构名称",
  25264. "type": "string"
  25265. },
  25266. "provinceid": {
  25267. "description": "省",
  25268. "type": "integer"
  25269. },
  25270. "provincename": {
  25271. "description": "省名称",
  25272. "type": "string"
  25273. },
  25274. "proxystatementurl": {
  25275. "description": "授权委托书",
  25276. "type": "string"
  25277. },
  25278. "remark": {
  25279. "description": "备注",
  25280. "type": "string"
  25281. },
  25282. "status": {
  25283. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  25284. "type": "integer"
  25285. },
  25286. "statusdesc": {
  25287. "description": "账户状态中文描述",
  25288. "type": "string"
  25289. },
  25290. "taxpayernum": {
  25291. "description": "纳税人识别号",
  25292. "type": "string"
  25293. },
  25294. "telphone": {
  25295. "description": "联系电话",
  25296. "type": "string"
  25297. },
  25298. "userid": {
  25299. "description": "用户ID",
  25300. "type": "integer"
  25301. },
  25302. "userinfotype": {
  25303. "description": "客户类型 1-个人 2-企业",
  25304. "type": "integer"
  25305. },
  25306. "username": {
  25307. "description": "用户名称",
  25308. "type": "string"
  25309. }
  25310. }
  25311. },
  25312. "models.QhjCustomerSignLog": {
  25313. "type": "object",
  25314. "properties": {
  25315. "agreementcontent": {
  25316. "description": "协议内容",
  25317. "type": "string"
  25318. },
  25319. "agreementid": {
  25320. "description": "协议ID",
  25321. "type": "integer"
  25322. },
  25323. "agreementname": {
  25324. "description": "协议名称",
  25325. "type": "string"
  25326. },
  25327. "agreementno": {
  25328. "description": "协议编号",
  25329. "type": "string"
  25330. },
  25331. "agreementtype": {
  25332. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25333. "type": "integer"
  25334. },
  25335. "agreementversion": {
  25336. "description": "协议版本号",
  25337. "type": "integer"
  25338. },
  25339. "createtime": {
  25340. "description": "创建时间",
  25341. "type": "string"
  25342. },
  25343. "goodscode": {
  25344. "description": "商品代码",
  25345. "type": "string"
  25346. },
  25347. "goodsid": {
  25348. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25349. "type": "integer"
  25350. },
  25351. "goodsname": {
  25352. "description": "商品名称",
  25353. "type": "string"
  25354. },
  25355. "logid": {
  25356. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  25357. "type": "integer"
  25358. },
  25359. "nodetype": {
  25360. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25361. "type": "integer"
  25362. },
  25363. "signadressurl": {
  25364. "description": "签约文件地址",
  25365. "type": "string"
  25366. },
  25367. "signtimestamp": {
  25368. "description": "签约状态时间戳",
  25369. "type": "string"
  25370. },
  25371. "userid": {
  25372. "description": "客户ID",
  25373. "type": "integer"
  25374. },
  25375. "username": {
  25376. "description": "客户名称",
  25377. "type": "string"
  25378. }
  25379. }
  25380. },
  25381. "models.QhjCustomerSignStatus": {
  25382. "type": "object",
  25383. "properties": {
  25384. "createtime": {
  25385. "description": "创建时间",
  25386. "type": "string"
  25387. },
  25388. "goodscode": {
  25389. "description": "商品代码",
  25390. "type": "string"
  25391. },
  25392. "goodsid": {
  25393. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25394. "type": "integer"
  25395. },
  25396. "goodsname": {
  25397. "description": "商品名称",
  25398. "type": "string"
  25399. },
  25400. "nodetype": {
  25401. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  25402. "type": "integer"
  25403. },
  25404. "signtimestamp": {
  25405. "description": "签约状态时间戳",
  25406. "type": "string"
  25407. },
  25408. "tradedate": {
  25409. "description": "创建交易日(yyyyMMdd)",
  25410. "type": "string"
  25411. },
  25412. "updatetime": {
  25413. "description": "更新时间",
  25414. "type": "string"
  25415. },
  25416. "userid": {
  25417. "description": "客户ID",
  25418. "type": "integer"
  25419. },
  25420. "username": {
  25421. "description": "客户名称",
  25422. "type": "string"
  25423. }
  25424. }
  25425. },
  25426. "models.QhjMgrAccountOutInApply": {
  25427. "type": "object",
  25428. "properties": {
  25429. "accountcode": {
  25430. "description": "资金账号",
  25431. "type": "string"
  25432. },
  25433. "accountname": {
  25434. "description": "用户名称(名称)",
  25435. "type": "string"
  25436. },
  25437. "accountpwd": {
  25438. "description": "资金密码",
  25439. "type": "string"
  25440. },
  25441. "accountticket": {
  25442. "description": "最新账户服务流水号",
  25443. "type": "string"
  25444. },
  25445. "amount": {
  25446. "description": "金额",
  25447. "type": "number"
  25448. },
  25449. "applyremark": {
  25450. "description": "申请备注",
  25451. "type": "string"
  25452. },
  25453. "applystatus": {
  25454. "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: 复审通过,账户冻结金额检查中;",
  25455. "type": "integer"
  25456. },
  25457. "auditid": {
  25458. "description": "审核人",
  25459. "type": "integer"
  25460. },
  25461. "audittime": {
  25462. "description": "审核时间",
  25463. "type": "string"
  25464. },
  25465. "bank_apply_ticket": {
  25466. "description": "银行申请流水",
  25467. "type": "string"
  25468. },
  25469. "bankaccountname": {
  25470. "description": "银行账户名",
  25471. "type": "string"
  25472. },
  25473. "bankaccountno": {
  25474. "description": "银行卡号",
  25475. "type": "string"
  25476. },
  25477. "bankid": {
  25478. "description": "银行编号",
  25479. "type": "string"
  25480. },
  25481. "bankname": {
  25482. "description": "银行名称",
  25483. "type": "string"
  25484. },
  25485. "bankticket": {
  25486. "description": "银行流水",
  25487. "type": "string"
  25488. },
  25489. "branchbankid": {
  25490. "description": "银行支行号",
  25491. "type": "string"
  25492. },
  25493. "branchbankname": {
  25494. "description": "银行支行名称",
  25495. "type": "string"
  25496. },
  25497. "capamountout": {
  25498. "description": "出金(劣后本金) - 外部子账户",
  25499. "type": "number"
  25500. },
  25501. "certificatephotourl": {
  25502. "description": "凭证地址",
  25503. "type": "string"
  25504. },
  25505. "charge": {
  25506. "description": "手续费",
  25507. "type": "number"
  25508. },
  25509. "checkerrorflag": {
  25510. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25511. "type": "integer"
  25512. },
  25513. "currency": {
  25514. "description": "币种",
  25515. "type": "string"
  25516. },
  25517. "cusbankid": {
  25518. "description": "托管银行编号",
  25519. "type": "string"
  25520. },
  25521. "exchticket": {
  25522. "description": "银行服务流水号",
  25523. "type": "string"
  25524. },
  25525. "executetype": {
  25526. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25527. "type": "integer"
  25528. },
  25529. "extendinfo": {
  25530. "description": "扩展信息",
  25531. "type": "string"
  25532. },
  25533. "extoperateid": {
  25534. "description": "交易服务流水号",
  25535. "type": "integer"
  25536. },
  25537. "infamount": {
  25538. "description": "劣后金额(自有)",
  25539. "type": "number"
  25540. },
  25541. "logincode": {
  25542. "description": "登录账号(账号)",
  25543. "type": "string"
  25544. },
  25545. "netaddr": {
  25546. "description": "调转网址",
  25547. "type": "string"
  25548. },
  25549. "priamount": {
  25550. "description": "优先金额(授信)",
  25551. "type": "number"
  25552. },
  25553. "reauditid": {
  25554. "description": "复审人",
  25555. "type": "integer"
  25556. },
  25557. "reauditremark": {
  25558. "description": "复审备注",
  25559. "type": "string"
  25560. },
  25561. "reaudittime": {
  25562. "description": "复审时间",
  25563. "type": "string"
  25564. },
  25565. "relatedorderid": {
  25566. "description": "三方关联ID",
  25567. "type": "string"
  25568. },
  25569. "remark": {
  25570. "description": "备注",
  25571. "type": "string"
  25572. },
  25573. "remark2": {
  25574. "description": "备注(失败原因)",
  25575. "type": "string"
  25576. },
  25577. "soucreamount": {
  25578. "description": "原始出入金金额",
  25579. "type": "number"
  25580. },
  25581. "soucrecurrencyid": {
  25582. "description": "原始出入金币种",
  25583. "type": "integer"
  25584. },
  25585. "tradedate": {
  25586. "description": "交易日(yyyyMMdd)",
  25587. "type": "string"
  25588. },
  25589. "updatetime": {
  25590. "description": "更新时间(申请时间)",
  25591. "type": "string"
  25592. },
  25593. "userid": {
  25594. "description": "用户id",
  25595. "type": "integer"
  25596. },
  25597. "userinfotype": {
  25598. "description": "账户类型 1-个人 2-企业",
  25599. "type": "integer"
  25600. }
  25601. }
  25602. },
  25603. "models.QhjMgrBrokerApply": {
  25604. "type": "object",
  25605. "properties": {
  25606. "applicantid": {
  25607. "description": "申请人",
  25608. "type": "integer"
  25609. },
  25610. "applysrc": {
  25611. "description": "申请来源 - 1:管理端 2:终端",
  25612. "type": "integer"
  25613. },
  25614. "applystatus": {
  25615. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25616. "type": "integer"
  25617. },
  25618. "applytime": {
  25619. "description": "申请时间",
  25620. "type": "string"
  25621. },
  25622. "auditorid": {
  25623. "description": "审核人",
  25624. "type": "integer"
  25625. },
  25626. "auditremark": {
  25627. "description": "审核备注",
  25628. "type": "string"
  25629. },
  25630. "auditsrc": {
  25631. "description": "审核来源 - 1:管理端 2:终端",
  25632. "type": "integer"
  25633. },
  25634. "audittime": {
  25635. "description": "审核时间",
  25636. "type": "string"
  25637. },
  25638. "audittradedate": {
  25639. "description": "审核交易日(yyyyMMdd)",
  25640. "type": "string"
  25641. },
  25642. "brokerapplyid": {
  25643. "description": "申请ID(SEQ_BROKERAPPLY)",
  25644. "type": "integer"
  25645. },
  25646. "cardbackphotourl": {
  25647. "description": "证件背面图片地址",
  25648. "type": "string"
  25649. },
  25650. "cardfrontphotourl": {
  25651. "description": "证件正面图片地址",
  25652. "type": "string"
  25653. },
  25654. "cardnum": {
  25655. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25656. "type": "string"
  25657. },
  25658. "customername": {
  25659. "description": "姓名",
  25660. "type": "string"
  25661. },
  25662. "filterstatus": {
  25663. "description": "筛选条件",
  25664. "type": "string"
  25665. },
  25666. "logincode": {
  25667. "description": "登录代码",
  25668. "type": "string"
  25669. },
  25670. "mobile": {
  25671. "description": "手机号码",
  25672. "type": "string"
  25673. },
  25674. "parentuserid": {
  25675. "description": "所属机构id",
  25676. "type": "integer"
  25677. },
  25678. "parentusername": {
  25679. "description": "所属机构名称",
  25680. "type": "string"
  25681. },
  25682. "refereeuserid": {
  25683. "description": "推荐人id(经纪人)",
  25684. "type": "integer"
  25685. },
  25686. "refernum": {
  25687. "description": "推荐码",
  25688. "type": "string"
  25689. },
  25690. "remark": {
  25691. "description": "备注",
  25692. "type": "string"
  25693. },
  25694. "subarealevelpath": {
  25695. "description": "层级路径",
  25696. "type": "string"
  25697. },
  25698. "tradedate": {
  25699. "description": "交易日(yyyyMMdd)",
  25700. "type": "string"
  25701. },
  25702. "userid": {
  25703. "description": "申请人用户ID",
  25704. "type": "integer"
  25705. },
  25706. "userinfotype": {
  25707. "description": "用户类型 1-个人 2-企业",
  25708. "type": "integer"
  25709. },
  25710. "username": {
  25711. "description": "用户名称",
  25712. "type": "string"
  25713. }
  25714. }
  25715. },
  25716. "models.QhjMgrBrokerRewardReport": {
  25717. "type": "object",
  25718. "properties": {
  25719. "createtime": {
  25720. "description": "创建时间(注册时间)",
  25721. "type": "string"
  25722. },
  25723. "cycletime": {
  25724. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  25725. "type": "string"
  25726. },
  25727. "cycletype": {
  25728. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25729. "type": "integer"
  25730. },
  25731. "directtotalnum": {
  25732. "description": "直推总人数【期末】",
  25733. "type": "integer"
  25734. },
  25735. "indirecttotalnum": {
  25736. "description": "间推总人数【期末】",
  25737. "type": "integer"
  25738. },
  25739. "mobile": {
  25740. "description": "电话号码",
  25741. "type": "string"
  25742. },
  25743. "refereeuserid": {
  25744. "description": "推荐人id(经纪人id)",
  25745. "type": "integer"
  25746. },
  25747. "refereeusername": {
  25748. "description": "推荐人名称(经纪人) 上级经纪人名称",
  25749. "type": "string"
  25750. },
  25751. "refernum": {
  25752. "description": "推荐码",
  25753. "type": "string"
  25754. },
  25755. "subarealevelpath": {
  25756. "description": "用户层级路径",
  25757. "type": "string"
  25758. },
  25759. "todayrewardamount": {
  25760. "description": "奖励总金额【汇总】",
  25761. "type": "number"
  25762. },
  25763. "updatetime": {
  25764. "description": "更新时间",
  25765. "type": "string"
  25766. },
  25767. "userid": {
  25768. "description": "经纪人用户ID",
  25769. "type": "integer"
  25770. },
  25771. "userinfotype": {
  25772. "description": "用户类型 1-个人 2-企业",
  25773. "type": "integer"
  25774. },
  25775. "username": {
  25776. "description": "用户名称",
  25777. "type": "string"
  25778. }
  25779. }
  25780. },
  25781. "models.QhjMgrContract": {
  25782. "type": "object",
  25783. "properties": {
  25784. "contractconfirmtime": {
  25785. "description": "合同确认时间(时间)",
  25786. "type": "string"
  25787. },
  25788. "currisklevel": {
  25789. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25790. "type": "integer"
  25791. },
  25792. "decimalplace": {
  25793. "description": "商品报价小数位",
  25794. "type": "integer"
  25795. },
  25796. "enumdicname": {
  25797. "description": "单位名称",
  25798. "type": "string"
  25799. },
  25800. "goodscode": {
  25801. "description": "商品代码",
  25802. "type": "string"
  25803. },
  25804. "goodsid": {
  25805. "description": "商品ID [5:融资单]",
  25806. "type": "integer"
  25807. },
  25808. "goodsname": {
  25809. "description": "商品名称",
  25810. "type": "string"
  25811. },
  25812. "goodunitid": {
  25813. "description": "商品单位id",
  25814. "type": "integer"
  25815. },
  25816. "initmargin": {
  25817. "description": "初始保证金(首付款)",
  25818. "type": "number"
  25819. },
  25820. "lenderamount": {
  25821. "description": "贷款金额(总额|订单总额)",
  25822. "type": "number"
  25823. },
  25824. "logincode": {
  25825. "description": "账号(登录代码)",
  25826. "type": "string"
  25827. },
  25828. "marginratio": {
  25829. "description": "保证金比率(首付比例)",
  25830. "type": "number"
  25831. },
  25832. "mobile": {
  25833. "description": "电话号码(用户资料里的电话)",
  25834. "type": "string"
  25835. },
  25836. "payamount": {
  25837. "description": "已付(已付货款)",
  25838. "type": "number"
  25839. },
  25840. "reckonrecovermargin": {
  25841. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25842. "type": "number"
  25843. },
  25844. "recoveredmargin": {
  25845. "description": "已追缴保证金",
  25846. "type": "number"
  25847. },
  25848. "remainamount": {
  25849. "description": "合同剩余金额(融资额)",
  25850. "type": "number"
  25851. },
  25852. "scfcontractid": {
  25853. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25854. "type": "string"
  25855. },
  25856. "scfcontractstatus": {
  25857. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25858. "type": "integer"
  25859. },
  25860. "scfcontracttype": {
  25861. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25862. "type": "integer"
  25863. },
  25864. "totalinterest": {
  25865. "description": "已计总利息(利息)",
  25866. "type": "number"
  25867. },
  25868. "tradedate": {
  25869. "description": "交易日",
  25870. "type": "string"
  25871. },
  25872. "tradeprice": {
  25873. "description": "成交价格(成本价格)",
  25874. "type": "number"
  25875. },
  25876. "userid": {
  25877. "description": "用户ID",
  25878. "type": "integer"
  25879. },
  25880. "userinfotype": {
  25881. "description": "用户类型 1-个人 2-企业",
  25882. "type": "integer"
  25883. },
  25884. "username": {
  25885. "description": "用户名称",
  25886. "type": "string"
  25887. },
  25888. "wrqty": {
  25889. "description": "仓单数量(数量)",
  25890. "type": "number"
  25891. }
  25892. }
  25893. },
  25894. "models.QhjMgrCustomer": {
  25895. "type": "object",
  25896. "properties": {
  25897. "address": {
  25898. "description": "通讯地址",
  25899. "type": "string"
  25900. },
  25901. "attachment1": {
  25902. "description": "附件1",
  25903. "type": "string"
  25904. },
  25905. "audittime": {
  25906. "description": "审核时间",
  25907. "type": "string"
  25908. },
  25909. "cardbackphotourl": {
  25910. "description": "证件反面图片地址",
  25911. "type": "string"
  25912. },
  25913. "cardfrontphotourl": {
  25914. "description": "证件正面图片地址",
  25915. "type": "string"
  25916. },
  25917. "cardnum": {
  25918. "description": "证件号码",
  25919. "type": "string"
  25920. },
  25921. "cardtype": {
  25922. "description": "证件类型",
  25923. "type": "integer"
  25924. },
  25925. "cardtypename": {
  25926. "description": "证件类型名称",
  25927. "type": "string"
  25928. },
  25929. "cityid": {
  25930. "description": "市",
  25931. "type": "integer"
  25932. },
  25933. "cityname": {
  25934. "description": "城市名称",
  25935. "type": "string"
  25936. },
  25937. "contactname": {
  25938. "description": "联系人",
  25939. "type": "string"
  25940. },
  25941. "countryid": {
  25942. "description": "国家",
  25943. "type": "integer"
  25944. },
  25945. "countryname": {
  25946. "description": "国家名称",
  25947. "type": "string"
  25948. },
  25949. "createtime": {
  25950. "description": "创建时间",
  25951. "type": "string"
  25952. },
  25953. "customername": {
  25954. "description": "客户名称",
  25955. "type": "string"
  25956. },
  25957. "districtid": {
  25958. "description": "区域",
  25959. "type": "integer"
  25960. },
  25961. "districtname": {
  25962. "description": "地区名称",
  25963. "type": "string"
  25964. },
  25965. "email": {
  25966. "description": "邮件",
  25967. "type": "string"
  25968. },
  25969. "legalpersonname": {
  25970. "description": "法人姓名(企业)",
  25971. "type": "string"
  25972. },
  25973. "logincode": {
  25974. "description": "登录账号(代码)",
  25975. "type": "string"
  25976. },
  25977. "memberuserid": {
  25978. "description": "所属机构ID(所属会员)",
  25979. "type": "integer"
  25980. },
  25981. "memberusername": {
  25982. "description": "所属会员名称",
  25983. "type": "string"
  25984. },
  25985. "mobile": {
  25986. "description": "手机号码",
  25987. "type": "string"
  25988. },
  25989. "modifytime": {
  25990. "description": "修改时间",
  25991. "type": "string"
  25992. },
  25993. "nickname": {
  25994. "description": "昵称",
  25995. "type": "string"
  25996. },
  25997. "parentuserid": {
  25998. "description": "上级机构(所属机构)",
  25999. "type": "integer"
  26000. },
  26001. "parentusername": {
  26002. "description": "所属机构名称",
  26003. "type": "string"
  26004. },
  26005. "provinceid": {
  26006. "description": "省",
  26007. "type": "integer"
  26008. },
  26009. "provincename": {
  26010. "description": "省名称",
  26011. "type": "string"
  26012. },
  26013. "proxystatementurl": {
  26014. "description": "授权委托书",
  26015. "type": "string"
  26016. },
  26017. "querytype": {
  26018. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  26019. "type": "integer"
  26020. },
  26021. "remark": {
  26022. "description": "备注",
  26023. "type": "string"
  26024. },
  26025. "status": {
  26026. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26027. "type": "integer"
  26028. },
  26029. "statusdesc": {
  26030. "description": "账户状态中文描述",
  26031. "type": "string"
  26032. },
  26033. "taxpayernum": {
  26034. "description": "纳税人识别号",
  26035. "type": "string"
  26036. },
  26037. "telphone": {
  26038. "description": "联系电话",
  26039. "type": "string"
  26040. },
  26041. "userid": {
  26042. "description": "用户ID",
  26043. "type": "integer"
  26044. },
  26045. "userinfotype": {
  26046. "description": "客户类型 1-个人 2-企业",
  26047. "type": "integer"
  26048. },
  26049. "username": {
  26050. "description": "用户名称",
  26051. "type": "string"
  26052. }
  26053. }
  26054. },
  26055. "models.QhjMgrPickGoods": {
  26056. "type": "object",
  26057. "properties": {
  26058. "enumdicname": {
  26059. "description": "单位名称(提货商品)",
  26060. "type": "string"
  26061. },
  26062. "goodsid": {
  26063. "description": "商品id",
  26064. "type": "integer"
  26065. },
  26066. "imageaddress": {
  26067. "description": "图片",
  26068. "type": "string"
  26069. },
  26070. "modifierid": {
  26071. "description": "修改人",
  26072. "type": "integer"
  26073. },
  26074. "modifiername": {
  26075. "description": "修改人名称",
  26076. "type": "string"
  26077. },
  26078. "modifysrc": {
  26079. "description": "修改来源 - 1:管理端 2:终端",
  26080. "type": "integer"
  26081. },
  26082. "pickupgoodsagreeunit": {
  26083. "description": "合约乘数",
  26084. "type": "number"
  26085. },
  26086. "pickupgoodsdesc": {
  26087. "description": "描述",
  26088. "type": "string"
  26089. },
  26090. "pickupgoodsid": {
  26091. "description": "提货商品ID",
  26092. "type": "string"
  26093. },
  26094. "pickupgoodsname": {
  26095. "description": "提货商品名称",
  26096. "type": "string"
  26097. },
  26098. "pickupgoodsstatus": {
  26099. "description": "状态 - 1:正常 2:停用 3:注销",
  26100. "type": "integer"
  26101. },
  26102. "pickupgoodsunitid": {
  26103. "description": "单位ID",
  26104. "type": "integer"
  26105. },
  26106. "pickupratio": {
  26107. "description": "提货系数",
  26108. "type": "number"
  26109. },
  26110. "preparedays": {
  26111. "description": "备货期(天)",
  26112. "type": "integer"
  26113. },
  26114. "remark": {
  26115. "description": "备注",
  26116. "type": "string"
  26117. },
  26118. "updatetime": {
  26119. "description": "更新时间",
  26120. "type": "string"
  26121. }
  26122. }
  26123. },
  26124. "models.QhjMgrPositionRsp": {
  26125. "type": "object",
  26126. "properties": {
  26127. "accountid": {
  26128. "description": "账号Id",
  26129. "type": "integer"
  26130. },
  26131. "accountname": {
  26132. "description": "用户名称",
  26133. "type": "string"
  26134. },
  26135. "agreeunit": {
  26136. "description": "合约乘数",
  26137. "type": "number"
  26138. },
  26139. "averageprice": {
  26140. "description": "均价",
  26141. "type": "number"
  26142. },
  26143. "avialqty": {
  26144. "description": "可用数量",
  26145. "type": "number"
  26146. },
  26147. "decimalplace": {
  26148. "description": "报价小数位",
  26149. "type": "integer"
  26150. },
  26151. "enumdicname": {
  26152. "description": "单位名称(商品)",
  26153. "type": "string"
  26154. },
  26155. "frozenqty": {
  26156. "description": "冻结数量",
  26157. "type": "number"
  26158. },
  26159. "goodscode": {
  26160. "description": "商品代码(内部)",
  26161. "type": "string"
  26162. },
  26163. "goodsid": {
  26164. "description": "商品Id",
  26165. "type": "integer"
  26166. },
  26167. "goodsname": {
  26168. "description": "商品名称",
  26169. "type": "string"
  26170. },
  26171. "goodunitid": {
  26172. "description": "报价单位ID",
  26173. "type": "integer"
  26174. },
  26175. "holderamount": {
  26176. "description": "金额",
  26177. "type": "number"
  26178. },
  26179. "holderqty": {
  26180. "description": "持有数量",
  26181. "type": "number"
  26182. },
  26183. "holdertype": {
  26184. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  26185. "type": "integer"
  26186. },
  26187. "logincode": {
  26188. "description": "登录代码(账户)",
  26189. "type": "string"
  26190. },
  26191. "marketid": {
  26192. "description": "市场id",
  26193. "type": "integer"
  26194. },
  26195. "qtydecimalplace": {
  26196. "description": "成交量小数位",
  26197. "type": "integer"
  26198. },
  26199. "trademode": {
  26200. "description": "交易模式",
  26201. "type": "integer"
  26202. },
  26203. "userid": {
  26204. "description": "用户id",
  26205. "type": "integer"
  26206. },
  26207. "userinfotype": {
  26208. "description": "账户类型 1-个人 2-企业",
  26209. "type": "integer"
  26210. }
  26211. }
  26212. },
  26213. "models.QhjMgrSubArea": {
  26214. "type": "object",
  26215. "properties": {
  26216. "accountname": {
  26217. "description": "账户名称(机构名称)",
  26218. "type": "string"
  26219. },
  26220. "memberuserid": {
  26221. "description": "所属会员ID",
  26222. "type": "integer"
  26223. },
  26224. "parenttopuser": {
  26225. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26226. "type": "string"
  26227. },
  26228. "parentuserid": {
  26229. "description": "所属机构ID",
  26230. "type": "integer"
  26231. },
  26232. "rootuserid": {
  26233. "description": "根用户ID",
  26234. "type": "string"
  26235. },
  26236. "subaccountlevel": {
  26237. "description": "子账户层数",
  26238. "type": "integer"
  26239. },
  26240. "subarealevelpath": {
  26241. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26242. "type": "string"
  26243. },
  26244. "userid": {
  26245. "description": "用户ID",
  26246. "type": "integer"
  26247. },
  26248. "usertype": {
  26249. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26250. "type": "integer"
  26251. }
  26252. }
  26253. },
  26254. "models.QhjMgrTradeDetailRsp": {
  26255. "type": "object",
  26256. "properties": {
  26257. "accountid": {
  26258. "description": "资金账号",
  26259. "type": "integer"
  26260. },
  26261. "accountname": {
  26262. "description": "用户名称",
  26263. "type": "string"
  26264. },
  26265. "agreeunit": {
  26266. "description": "合约乘数",
  26267. "type": "number"
  26268. },
  26269. "buyorsell": {
  26270. "description": "成交类型(方向) 0:买 1:卖",
  26271. "type": "integer"
  26272. },
  26273. "decimalplace": {
  26274. "description": "报价小数位",
  26275. "type": "integer"
  26276. },
  26277. "enumdicname": {
  26278. "description": "单位名称(商品)",
  26279. "type": "string"
  26280. },
  26281. "goodscode": {
  26282. "description": "商品代码(内部)",
  26283. "type": "string"
  26284. },
  26285. "goodsid": {
  26286. "description": "商品id",
  26287. "type": "integer"
  26288. },
  26289. "goodsname": {
  26290. "description": "商品名称",
  26291. "type": "string"
  26292. },
  26293. "goodunitid": {
  26294. "description": "报价单位ID",
  26295. "type": "integer"
  26296. },
  26297. "logincode": {
  26298. "description": "登录代码(账户)",
  26299. "type": "string"
  26300. },
  26301. "marketid": {
  26302. "description": "市场id",
  26303. "type": "integer"
  26304. },
  26305. "orderid": {
  26306. "description": "关联委托单号",
  26307. "type": "string"
  26308. },
  26309. "qtydecimalplace": {
  26310. "description": "成交量小数位",
  26311. "type": "integer"
  26312. },
  26313. "tradeamount": {
  26314. "description": "金额",
  26315. "type": "number"
  26316. },
  26317. "tradedate": {
  26318. "description": "交易日",
  26319. "type": "string"
  26320. },
  26321. "tradeid": {
  26322. "description": "成交单号",
  26323. "type": "string"
  26324. },
  26325. "trademode": {
  26326. "description": "交易模式",
  26327. "type": "integer"
  26328. },
  26329. "tradeprice": {
  26330. "description": "价格",
  26331. "type": "number"
  26332. },
  26333. "tradeqty": {
  26334. "description": "数量",
  26335. "type": "number"
  26336. },
  26337. "tradetime": {
  26338. "description": "成交时间",
  26339. "type": "string"
  26340. },
  26341. "userid": {
  26342. "description": "用户id",
  26343. "type": "integer"
  26344. },
  26345. "userinfotype": {
  26346. "description": "账户类型 1-个人 2-企业",
  26347. "type": "integer"
  26348. }
  26349. }
  26350. },
  26351. "models.QhjMgrTradeOrderDetailRsp": {
  26352. "type": "object",
  26353. "properties": {
  26354. "accountid": {
  26355. "description": "资金账号",
  26356. "type": "integer"
  26357. },
  26358. "accountname": {
  26359. "description": "用户名称",
  26360. "type": "string"
  26361. },
  26362. "agreeunit": {
  26363. "description": "合约乘数",
  26364. "type": "number"
  26365. },
  26366. "amount": {
  26367. "description": "金额",
  26368. "type": "number"
  26369. },
  26370. "decimalplace": {
  26371. "description": "报价小数位",
  26372. "type": "integer"
  26373. },
  26374. "enumdicname": {
  26375. "description": "单位名称(商品)",
  26376. "type": "string"
  26377. },
  26378. "goodscode": {
  26379. "description": "商品代码(内部)",
  26380. "type": "string"
  26381. },
  26382. "goodsid": {
  26383. "description": "商品id",
  26384. "type": "integer"
  26385. },
  26386. "goodsname": {
  26387. "description": "商品名称",
  26388. "type": "string"
  26389. },
  26390. "goodunitid": {
  26391. "description": "报价单位ID",
  26392. "type": "integer"
  26393. },
  26394. "logincode": {
  26395. "description": "登录代码(账户)",
  26396. "type": "string"
  26397. },
  26398. "marketid": {
  26399. "description": "市场id",
  26400. "type": "integer"
  26401. },
  26402. "orderid": {
  26403. "description": "关联委托单号",
  26404. "type": "string"
  26405. },
  26406. "orderprice": {
  26407. "description": "价格",
  26408. "type": "number"
  26409. },
  26410. "orderqty": {
  26411. "description": "数量",
  26412. "type": "number"
  26413. },
  26414. "orderstatus": {
  26415. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26416. "type": "integer"
  26417. },
  26418. "ordertime": {
  26419. "description": "委托时间",
  26420. "type": "string"
  26421. },
  26422. "qtydecimalplace": {
  26423. "description": "成交量小数位",
  26424. "type": "integer"
  26425. },
  26426. "tradedate": {
  26427. "description": "交易日",
  26428. "type": "string"
  26429. },
  26430. "trademode": {
  26431. "description": "交易模式",
  26432. "type": "integer"
  26433. },
  26434. "userid": {
  26435. "description": "用户id",
  26436. "type": "integer"
  26437. },
  26438. "userinfotype": {
  26439. "description": "账户类型 1-个人 2-企业",
  26440. "type": "integer"
  26441. }
  26442. }
  26443. },
  26444. "models.QhjMgrTradePayOrder": {
  26445. "type": "object",
  26446. "properties": {
  26447. "accountname": {
  26448. "description": "用户名称",
  26449. "type": "string"
  26450. },
  26451. "advanceratio": {
  26452. "description": "首付比率",
  26453. "type": "number"
  26454. },
  26455. "agreeunit": {
  26456. "description": "合约乘数",
  26457. "type": "number"
  26458. },
  26459. "buyaccountid": {
  26460. "description": "买方账号ID[报价币种]",
  26461. "type": "integer"
  26462. },
  26463. "buyorderid": {
  26464. "description": "买方委托单号(关联单号)",
  26465. "type": "string"
  26466. },
  26467. "createtime": {
  26468. "description": "创建时间",
  26469. "type": "string"
  26470. },
  26471. "decimalplace": {
  26472. "description": "报价小数位",
  26473. "type": "integer"
  26474. },
  26475. "enumdicname": {
  26476. "description": "单位名称(商品)",
  26477. "type": "string"
  26478. },
  26479. "goodscode": {
  26480. "description": "商品代码(内部)",
  26481. "type": "string"
  26482. },
  26483. "goodsid": {
  26484. "description": "商品ID",
  26485. "type": "integer"
  26486. },
  26487. "goodsname": {
  26488. "description": "商品名称",
  26489. "type": "string"
  26490. },
  26491. "goodunitid": {
  26492. "description": "报价单位ID",
  26493. "type": "integer"
  26494. },
  26495. "logincode": {
  26496. "description": "登录代码(账户)",
  26497. "type": "string"
  26498. },
  26499. "marketid": {
  26500. "description": "市场id",
  26501. "type": "integer"
  26502. },
  26503. "offamount": {
  26504. "description": "优惠金额",
  26505. "type": "number"
  26506. },
  26507. "operatetype": {
  26508. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26509. "type": "integer"
  26510. },
  26511. "payamount": {
  26512. "description": "支付金额(金额)",
  26513. "type": "number"
  26514. },
  26515. "payflag": {
  26516. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26517. "type": "integer"
  26518. },
  26519. "paylimitedtime": {
  26520. "description": "支付期限",
  26521. "type": "string"
  26522. },
  26523. "paytime": {
  26524. "description": "付款时间",
  26525. "type": "string"
  26526. },
  26527. "qtydecimalplace": {
  26528. "description": "成交量小数位",
  26529. "type": "integer"
  26530. },
  26531. "sellaccountid": {
  26532. "description": "卖方账号ID[报价币种]",
  26533. "type": "integer"
  26534. },
  26535. "sellorderid": {
  26536. "description": "卖方委托单号",
  26537. "type": "string"
  26538. },
  26539. "tradeamount": {
  26540. "description": "成交金额(优惠后金额)",
  26541. "type": "number"
  26542. },
  26543. "tradecharge": {
  26544. "description": "成交手续费(买方)",
  26545. "type": "number"
  26546. },
  26547. "tradedate": {
  26548. "description": "交易日(yyyyMMdd)",
  26549. "type": "string"
  26550. },
  26551. "tradeid": {
  26552. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26553. "type": "string"
  26554. },
  26555. "trademode": {
  26556. "description": "交易模式",
  26557. "type": "integer"
  26558. },
  26559. "tradeprice": {
  26560. "description": "成交价格(价格)",
  26561. "type": "number"
  26562. },
  26563. "tradeqty": {
  26564. "description": "成交数量(数量)",
  26565. "type": "number"
  26566. },
  26567. "tradetime": {
  26568. "description": "成交时间",
  26569. "type": "string"
  26570. },
  26571. "userid": {
  26572. "description": "用户id",
  26573. "type": "integer"
  26574. },
  26575. "userinfotype": {
  26576. "description": "账户类型 1-个人 2-企业",
  26577. "type": "integer"
  26578. }
  26579. }
  26580. },
  26581. "models.QhjMyTeamEx": {
  26582. "type": "object",
  26583. "properties": {
  26584. "accountname": {
  26585. "description": "用户名称",
  26586. "type": "string"
  26587. },
  26588. "accountstatus": {
  26589. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26590. "type": "integer"
  26591. },
  26592. "createtime": {
  26593. "description": "创建时间",
  26594. "type": "string"
  26595. },
  26596. "mobile": {
  26597. "description": "手机号码",
  26598. "type": "string"
  26599. },
  26600. "refereeuserid": {
  26601. "description": "推荐人id",
  26602. "type": "integer"
  26603. },
  26604. "refernum": {
  26605. "description": "推荐码",
  26606. "type": "string"
  26607. },
  26608. "subList": {
  26609. "type": "array",
  26610. "items": {
  26611. "$ref": "#/definitions/models.QhjMyTeamEx"
  26612. }
  26613. },
  26614. "userid": {
  26615. "description": "用户id",
  26616. "type": "integer"
  26617. },
  26618. "userinfotype": {
  26619. "description": "用户类型 1-个人 2-企业",
  26620. "type": "integer"
  26621. }
  26622. }
  26623. },
  26624. "models.QhjNodeAgreementConfig": {
  26625. "type": "object",
  26626. "properties": {
  26627. "agreementcontent": {
  26628. "description": "协议内容",
  26629. "type": "string"
  26630. },
  26631. "agreementid": {
  26632. "description": "协议ID",
  26633. "type": "integer"
  26634. },
  26635. "agreementname": {
  26636. "description": "协议名称",
  26637. "type": "string"
  26638. },
  26639. "agreementno": {
  26640. "description": "协议编号",
  26641. "type": "string"
  26642. },
  26643. "agreementtype": {
  26644. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26645. "type": "integer"
  26646. },
  26647. "agreementversion": {
  26648. "description": "协议版本号",
  26649. "type": "integer"
  26650. },
  26651. "configid": {
  26652. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  26653. "type": "integer"
  26654. },
  26655. "createtime": {
  26656. "description": "创建时间",
  26657. "type": "string"
  26658. },
  26659. "goodsid": {
  26660. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26661. "type": "integer"
  26662. },
  26663. "nodetype": {
  26664. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26665. "type": "integer"
  26666. }
  26667. }
  26668. },
  26669. "models.QhjParentAreaList": {
  26670. "type": "object",
  26671. "properties": {
  26672. "accountname": {
  26673. "description": "账户名称(机构名称)",
  26674. "type": "string"
  26675. },
  26676. "userid": {
  26677. "description": "用户ID",
  26678. "type": "integer"
  26679. },
  26680. "usertype": {
  26681. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26682. "type": "integer"
  26683. }
  26684. }
  26685. },
  26686. "models.QhjPayOrder": {
  26687. "type": "object",
  26688. "properties": {
  26689. "advanceratio": {
  26690. "description": "首付比率",
  26691. "type": "number"
  26692. },
  26693. "buyaccountid": {
  26694. "description": "买方账号ID[报价币种]",
  26695. "type": "integer"
  26696. },
  26697. "buyorderid": {
  26698. "description": "买方委托单号",
  26699. "type": "string"
  26700. },
  26701. "createtime": {
  26702. "description": "创建时间",
  26703. "type": "string"
  26704. },
  26705. "decimalplace": {
  26706. "description": "商品报价小数位",
  26707. "type": "integer"
  26708. },
  26709. "enumdicname": {
  26710. "description": "单位名称",
  26711. "type": "string"
  26712. },
  26713. "goodscode": {
  26714. "description": "商品代码",
  26715. "type": "string"
  26716. },
  26717. "goodsid": {
  26718. "description": "商品ID",
  26719. "type": "integer"
  26720. },
  26721. "goodsname": {
  26722. "description": "商品名称",
  26723. "type": "string"
  26724. },
  26725. "goodunitid": {
  26726. "description": "商品单位id",
  26727. "type": "integer"
  26728. },
  26729. "marketid": {
  26730. "description": "市场ID",
  26731. "type": "integer"
  26732. },
  26733. "offamount": {
  26734. "description": "优惠金额",
  26735. "type": "number"
  26736. },
  26737. "operatetype": {
  26738. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26739. "type": "integer"
  26740. },
  26741. "payamount": {
  26742. "description": "支付金额",
  26743. "type": "number"
  26744. },
  26745. "payflag": {
  26746. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26747. "type": "integer"
  26748. },
  26749. "paylimitedtime": {
  26750. "description": "支付期限",
  26751. "type": "string"
  26752. },
  26753. "paytime": {
  26754. "description": "付款时间",
  26755. "type": "string"
  26756. },
  26757. "qtydecimalplace": {
  26758. "description": "成交量小数位",
  26759. "type": "integer"
  26760. },
  26761. "sellaccountid": {
  26762. "description": "卖方账号ID[报价币种]",
  26763. "type": "integer"
  26764. },
  26765. "sellorderid": {
  26766. "description": "卖方委托单号",
  26767. "type": "string"
  26768. },
  26769. "tradeamount": {
  26770. "description": "成交金额(优惠后金额)",
  26771. "type": "number"
  26772. },
  26773. "tradecharge": {
  26774. "description": "成交手续费(买方)",
  26775. "type": "number"
  26776. },
  26777. "tradedate": {
  26778. "description": "交易日(yyyyMMdd)",
  26779. "type": "string"
  26780. },
  26781. "tradeid": {
  26782. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26783. "type": "string"
  26784. },
  26785. "tradeprice": {
  26786. "description": "成交价格",
  26787. "type": "number"
  26788. },
  26789. "tradeqty": {
  26790. "description": "成交数量",
  26791. "type": "number"
  26792. }
  26793. }
  26794. },
  26795. "models.QhjPickArea": {
  26796. "type": "object",
  26797. "properties": {
  26798. "address": {
  26799. "description": "详细地址",
  26800. "type": "string"
  26801. },
  26802. "cityid": {
  26803. "description": "市",
  26804. "type": "integer"
  26805. },
  26806. "cityname": {
  26807. "description": "城市名称",
  26808. "type": "string"
  26809. },
  26810. "countryid": {
  26811. "description": "国家",
  26812. "type": "integer"
  26813. },
  26814. "countryname": {
  26815. "description": "国家名称",
  26816. "type": "string"
  26817. },
  26818. "districtid": {
  26819. "description": "地区",
  26820. "type": "integer"
  26821. },
  26822. "districtname": {
  26823. "description": "地区名称",
  26824. "type": "string"
  26825. },
  26826. "fromuserid": {
  26827. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  26828. "type": "integer"
  26829. },
  26830. "fromusername": {
  26831. "description": "所属机构名称",
  26832. "type": "string"
  26833. },
  26834. "provinceid": {
  26835. "description": "省",
  26836. "type": "integer"
  26837. },
  26838. "provincename": {
  26839. "description": "省名称",
  26840. "type": "string"
  26841. },
  26842. "suborgtype": {
  26843. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  26844. "type": "integer"
  26845. },
  26846. "userid": {
  26847. "description": "机构用户ID 其他做市关系,都设置为 1",
  26848. "type": "integer"
  26849. },
  26850. "username": {
  26851. "description": "机构用户名称(门店门称)",
  26852. "type": "string"
  26853. }
  26854. }
  26855. },
  26856. "models.QhjPickGoods": {
  26857. "type": "object",
  26858. "properties": {
  26859. "enumdicname": {
  26860. "description": "单位名称(提货商品)",
  26861. "type": "string"
  26862. },
  26863. "goodsid": {
  26864. "description": "商品id",
  26865. "type": "integer"
  26866. },
  26867. "imageaddress": {
  26868. "description": "图片",
  26869. "type": "string"
  26870. },
  26871. "modifierid": {
  26872. "description": "修改人",
  26873. "type": "integer"
  26874. },
  26875. "modifiername": {
  26876. "description": "修改人名称",
  26877. "type": "string"
  26878. },
  26879. "modifysrc": {
  26880. "description": "修改来源 - 1:管理端 2:终端",
  26881. "type": "integer"
  26882. },
  26883. "pickupgoodsagreeunit": {
  26884. "description": "合约乘数",
  26885. "type": "number"
  26886. },
  26887. "pickupgoodsdesc": {
  26888. "description": "描述",
  26889. "type": "string"
  26890. },
  26891. "pickupgoodsid": {
  26892. "description": "提货商品ID",
  26893. "type": "string"
  26894. },
  26895. "pickupgoodsname": {
  26896. "description": "提货商品名称",
  26897. "type": "string"
  26898. },
  26899. "pickupgoodsstatus": {
  26900. "description": "状态 - 1:正常 2:停用 3:注销",
  26901. "type": "integer"
  26902. },
  26903. "pickupgoodsunitid": {
  26904. "description": "单位ID",
  26905. "type": "integer"
  26906. },
  26907. "pickupratio": {
  26908. "description": "提货系数",
  26909. "type": "number"
  26910. },
  26911. "preparedays": {
  26912. "description": "备货期(天)",
  26913. "type": "integer"
  26914. },
  26915. "remark": {
  26916. "description": "备注",
  26917. "type": "string"
  26918. },
  26919. "updatetime": {
  26920. "description": "更新时间",
  26921. "type": "string"
  26922. }
  26923. }
  26924. },
  26925. "models.QhjRSTriggerLog": {
  26926. "type": "object",
  26927. "properties": {
  26928. "accountid": {
  26929. "description": "用户资金账户",
  26930. "type": "integer"
  26931. },
  26932. "accountname": {
  26933. "description": "账号名称(ACCOUNTID对应的名称)",
  26934. "type": "string"
  26935. },
  26936. "currencyid": {
  26937. "description": "币种id",
  26938. "type": "integer"
  26939. },
  26940. "currencyname": {
  26941. "description": "币种名称",
  26942. "type": "string"
  26943. },
  26944. "decimalplace": {
  26945. "description": "商品报价小数位",
  26946. "type": "integer"
  26947. },
  26948. "enumdicname": {
  26949. "description": "单位名称",
  26950. "type": "string"
  26951. },
  26952. "goodscode": {
  26953. "description": "定投商品代码",
  26954. "type": "string"
  26955. },
  26956. "goodsid": {
  26957. "description": "定投商品ID",
  26958. "type": "integer"
  26959. },
  26960. "goodsname": {
  26961. "description": "定投商品名称",
  26962. "type": "string"
  26963. },
  26964. "goodunitid": {
  26965. "description": "定投商品单位id",
  26966. "type": "integer"
  26967. },
  26968. "logid": {
  26969. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  26970. "type": "string"
  26971. },
  26972. "logincode": {
  26973. "description": "账号(登录代码)",
  26974. "type": "string"
  26975. },
  26976. "qtydecimalplace": {
  26977. "description": "成交量小数位",
  26978. "type": "integer"
  26979. },
  26980. "regularlycycle": {
  26981. "description": "定投频率 - 1:每周 2:每月",
  26982. "type": "integer"
  26983. },
  26984. "regularlycyclevalue": {
  26985. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  26986. "type": "string"
  26987. },
  26988. "regularlymode": {
  26989. "description": "定投方式 - 1:按数量 2:按金额",
  26990. "type": "integer"
  26991. },
  26992. "regularlymodevalue": {
  26993. "description": "定投方式值 - 数量或金额",
  26994. "type": "number"
  26995. },
  26996. "regularlystrategyid": {
  26997. "description": "定投策略ID",
  26998. "type": "integer"
  26999. },
  27000. "retcode": {
  27001. "description": "错误码",
  27002. "type": "string"
  27003. },
  27004. "tradeid": {
  27005. "description": "成交单ID",
  27006. "type": "string"
  27007. },
  27008. "triggeramount": {
  27009. "description": "触发金额",
  27010. "type": "number"
  27011. },
  27012. "triggerqty": {
  27013. "description": "触发数量",
  27014. "type": "number"
  27015. },
  27016. "triggerstatus": {
  27017. "description": "触发状态 - 1:成功 2:失败",
  27018. "type": "integer"
  27019. },
  27020. "triggertime": {
  27021. "description": "触发时间",
  27022. "type": "string"
  27023. },
  27024. "triggertradedate": {
  27025. "description": "触发交易日",
  27026. "type": "string"
  27027. },
  27028. "userid": {
  27029. "description": "所属用户ID",
  27030. "type": "integer"
  27031. },
  27032. "userinfotype": {
  27033. "description": "用户类型 1-个人 2-企业",
  27034. "type": "integer"
  27035. },
  27036. "username": {
  27037. "description": "用户名称(userid对应的名称)",
  27038. "type": "string"
  27039. }
  27040. }
  27041. },
  27042. "models.QhjRStrategy": {
  27043. "type": "object",
  27044. "properties": {
  27045. "accountid": {
  27046. "description": "用户资金账户",
  27047. "type": "integer"
  27048. },
  27049. "accountname": {
  27050. "description": "账号名称(ACCOUNTID对应的名称)",
  27051. "type": "string"
  27052. },
  27053. "currencyid": {
  27054. "description": "币种id",
  27055. "type": "integer"
  27056. },
  27057. "currencyname": {
  27058. "description": "币种名称",
  27059. "type": "string"
  27060. },
  27061. "decimalplace": {
  27062. "description": "商品报价小数位",
  27063. "type": "integer"
  27064. },
  27065. "enumdicname": {
  27066. "description": "单位名称",
  27067. "type": "string"
  27068. },
  27069. "goodscode": {
  27070. "description": "定投商品代码",
  27071. "type": "string"
  27072. },
  27073. "goodsid": {
  27074. "description": "定投商品ID",
  27075. "type": "integer"
  27076. },
  27077. "goodsname": {
  27078. "description": "定投商品名称",
  27079. "type": "string"
  27080. },
  27081. "goodunitid": {
  27082. "description": "定投商品单位id",
  27083. "type": "integer"
  27084. },
  27085. "lasteffecttradedate": {
  27086. "description": "最新生效交易日",
  27087. "type": "string"
  27088. },
  27089. "laststoptradedate": {
  27090. "description": "最新暂停交易日",
  27091. "type": "string"
  27092. },
  27093. "lasttriggertradedate": {
  27094. "description": "最新触发交易日",
  27095. "type": "string"
  27096. },
  27097. "logincode": {
  27098. "description": "账号(登录代码)",
  27099. "type": "string"
  27100. },
  27101. "nexttriggeramount": {
  27102. "description": "下次触发金额",
  27103. "type": "number"
  27104. },
  27105. "nexttriggerdate": {
  27106. "description": "下次触发日期",
  27107. "type": "string"
  27108. },
  27109. "nexttriggerqty": {
  27110. "description": "下次触发数量 [按小数位放大值]",
  27111. "type": "number"
  27112. },
  27113. "qtydecimalplace": {
  27114. "description": "成交量小数位",
  27115. "type": "integer"
  27116. },
  27117. "regularlycycle": {
  27118. "description": "定投频率 - 1:每周 2:每月",
  27119. "type": "integer"
  27120. },
  27121. "regularlycyclevalue": {
  27122. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27123. "type": "string"
  27124. },
  27125. "regularlymode": {
  27126. "description": "定投方式 - 1:按数量 2:按金额",
  27127. "type": "integer"
  27128. },
  27129. "regularlymodevalue": {
  27130. "description": "定投方式值 - 数量或金额",
  27131. "type": "number"
  27132. },
  27133. "regularlystrategyid": {
  27134. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  27135. "type": "integer"
  27136. },
  27137. "regularlystrategystatus": {
  27138. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  27139. "type": "integer"
  27140. },
  27141. "remark": {
  27142. "description": "备注",
  27143. "type": "string"
  27144. },
  27145. "triggersuccesstimes": {
  27146. "description": "累计定投成功次数",
  27147. "type": "string"
  27148. },
  27149. "triggertotalamount": {
  27150. "description": "累计定投金额(成功)",
  27151. "type": "number"
  27152. },
  27153. "triggertotalqty": {
  27154. "description": "累计定投数量(成功) [按小数位放大值]",
  27155. "type": "number"
  27156. },
  27157. "triggertotaltimes": {
  27158. "description": "累计定投总次数",
  27159. "type": "string"
  27160. },
  27161. "updatesrc": {
  27162. "description": "更新来源 - 1:管理端 2:终端",
  27163. "type": "integer"
  27164. },
  27165. "updatetime": {
  27166. "description": "更新时间",
  27167. "type": "string"
  27168. },
  27169. "updatorid": {
  27170. "description": "更新人",
  27171. "type": "string"
  27172. },
  27173. "userid": {
  27174. "description": "所属用户ID",
  27175. "type": "integer"
  27176. },
  27177. "userinfotype": {
  27178. "description": "用户类型 1-个人 2-企业",
  27179. "type": "integer"
  27180. },
  27181. "username": {
  27182. "description": "用户名称(userid对应的名称)",
  27183. "type": "string"
  27184. }
  27185. }
  27186. },
  27187. "models.QhjReckonPriceLog": {
  27188. "type": "object",
  27189. "properties": {
  27190. "decimalplace": {
  27191. "description": "商品报价小数位",
  27192. "type": "integer"
  27193. },
  27194. "goodscode": {
  27195. "description": "商品代码",
  27196. "type": "string"
  27197. },
  27198. "goodsid": {
  27199. "description": "商品ID",
  27200. "type": "integer"
  27201. },
  27202. "goodsname": {
  27203. "description": "商品名称",
  27204. "type": "string"
  27205. },
  27206. "lastreckonprice": {
  27207. "description": "上日结算价",
  27208. "type": "number"
  27209. },
  27210. "nextdnlimitprice": {
  27211. "description": "下个交易日跌停价",
  27212. "type": "number"
  27213. },
  27214. "nexttrade": {
  27215. "description": "下个交易日",
  27216. "type": "string"
  27217. },
  27218. "nextuplimitprice": {
  27219. "description": "下个交易日涨停价",
  27220. "type": "number"
  27221. },
  27222. "reckonprice": {
  27223. "description": "今日结算价(定投价)",
  27224. "type": "number"
  27225. },
  27226. "reckontime": {
  27227. "description": "结算时间",
  27228. "type": "string"
  27229. },
  27230. "totalholderqty": {
  27231. "description": "总持仓数",
  27232. "type": "integer"
  27233. },
  27234. "totalstock": {
  27235. "description": "总库存",
  27236. "type": "integer"
  27237. },
  27238. "tradedate": {
  27239. "description": "交易日",
  27240. "type": "string"
  27241. },
  27242. "updowncount": {
  27243. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  27244. "type": "integer"
  27245. },
  27246. "updownflag": {
  27247. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  27248. "type": "integer"
  27249. },
  27250. "updownrate": {
  27251. "description": "今日涨跌幅",
  27252. "type": "number"
  27253. },
  27254. "updownrate_2d": {
  27255. "description": "连续两日涨跌幅",
  27256. "type": "number"
  27257. },
  27258. "updownrate_3d": {
  27259. "description": "连续三日涨跌幅",
  27260. "type": "number"
  27261. }
  27262. }
  27263. },
  27264. "models.QhjScoreLog": {
  27265. "type": "object",
  27266. "properties": {
  27267. "accountid": {
  27268. "description": "账户ID",
  27269. "type": "integer"
  27270. },
  27271. "createtime": {
  27272. "description": "创建时间(时间)",
  27273. "type": "string"
  27274. },
  27275. "goodsid": {
  27276. "description": "商品ID",
  27277. "type": "integer"
  27278. },
  27279. "hasuploaded": {
  27280. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  27281. "type": "integer"
  27282. },
  27283. "logid": {
  27284. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27285. "type": "string"
  27286. },
  27287. "marketid": {
  27288. "description": "市场ID",
  27289. "type": "integer"
  27290. },
  27291. "relatedamount": {
  27292. "description": "关联金额",
  27293. "type": "number"
  27294. },
  27295. "relatedorderid": {
  27296. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  27297. "type": "string"
  27298. },
  27299. "scoreconfigvalue1": {
  27300. "description": "积分配置1",
  27301. "type": "integer"
  27302. },
  27303. "scoreconfigvalue2": {
  27304. "description": "积分配置1",
  27305. "type": "integer"
  27306. },
  27307. "scoretype": {
  27308. "description": "积分类型 - 1:提货积分",
  27309. "type": "integer"
  27310. },
  27311. "scorevalue": {
  27312. "description": "积分",
  27313. "type": "number"
  27314. },
  27315. "tradedate": {
  27316. "description": "交易日(yyyyMMdd)",
  27317. "type": "string"
  27318. },
  27319. "uploadedtime": {
  27320. "description": "同步时间",
  27321. "type": "string"
  27322. },
  27323. "userid": {
  27324. "description": "用户ID",
  27325. "type": "integer"
  27326. }
  27327. }
  27328. },
  27329. "models.QhjSiteColumnDetail": {
  27330. "type": "object",
  27331. "properties": {
  27332. "author": {
  27333. "description": "作者",
  27334. "type": "string"
  27335. },
  27336. "brief": {
  27337. "description": "简介",
  27338. "type": "string"
  27339. },
  27340. "columnid": {
  27341. "description": "所属栏目",
  27342. "type": "integer"
  27343. },
  27344. "context": {
  27345. "description": "内容",
  27346. "type": "string"
  27347. },
  27348. "coverimage": {
  27349. "description": "封面图片",
  27350. "type": "string"
  27351. },
  27352. "creaedate": {
  27353. "description": "创建时间",
  27354. "type": "string"
  27355. },
  27356. "creatorid": {
  27357. "description": "创建人",
  27358. "type": "integer"
  27359. },
  27360. "hits": {
  27361. "description": "点击数",
  27362. "type": "integer"
  27363. },
  27364. "id": {
  27365. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  27366. "type": "integer"
  27367. },
  27368. "isshow": {
  27369. "description": "是否展示 - 0:不展示 1:展示",
  27370. "type": "integer"
  27371. },
  27372. "istop": {
  27373. "description": "是否置顶 - 0:不置 1:置顶",
  27374. "type": "integer"
  27375. },
  27376. "modifierid": {
  27377. "description": "操作人",
  27378. "type": "integer"
  27379. },
  27380. "publishdate": {
  27381. "description": "发布日期",
  27382. "type": "string"
  27383. },
  27384. "status": {
  27385. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  27386. "type": "integer"
  27387. },
  27388. "title": {
  27389. "description": "标题",
  27390. "type": "string"
  27391. },
  27392. "updatedate": {
  27393. "description": "修改时间",
  27394. "type": "string"
  27395. },
  27396. "userid": {
  27397. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  27398. "type": "integer"
  27399. },
  27400. "username": {
  27401. "description": "用户名称",
  27402. "type": "string"
  27403. }
  27404. }
  27405. },
  27406. "models.QhjTeamOrder": {
  27407. "type": "object",
  27408. "properties": {
  27409. "accountid": {
  27410. "description": "账户ID[报价币种]",
  27411. "type": "integer"
  27412. },
  27413. "accountname": {
  27414. "description": "账户名称",
  27415. "type": "string"
  27416. },
  27417. "agreeunit": {
  27418. "description": "合约乘数",
  27419. "type": "number"
  27420. },
  27421. "buyorsell": {
  27422. "description": "方向 - 0:买 1:卖",
  27423. "type": "integer"
  27424. },
  27425. "decimalplace": {
  27426. "description": "报价小数位",
  27427. "type": "integer"
  27428. },
  27429. "enumdicname": {
  27430. "description": "单位名称",
  27431. "type": "string"
  27432. },
  27433. "goodscode": {
  27434. "description": "商品代码(内部)",
  27435. "type": "string"
  27436. },
  27437. "goodsid": {
  27438. "description": "商品ID",
  27439. "type": "integer"
  27440. },
  27441. "goodsname": {
  27442. "description": "商品名称",
  27443. "type": "string"
  27444. },
  27445. "goodunitid": {
  27446. "description": "报价单位ID",
  27447. "type": "integer"
  27448. },
  27449. "marketid": {
  27450. "description": "市场ID",
  27451. "type": "integer"
  27452. },
  27453. "marketname": {
  27454. "description": "市场名称",
  27455. "type": "string"
  27456. },
  27457. "qtydecimalplace": {
  27458. "description": "成交量小数位",
  27459. "type": "integer"
  27460. },
  27461. "refereeuserid": {
  27462. "description": "推荐人ID",
  27463. "type": "integer"
  27464. },
  27465. "tradeamount": {
  27466. "description": "成交金额[账户币种,用于所有权]",
  27467. "type": "number"
  27468. },
  27469. "tradedate": {
  27470. "description": "交易日(yyyyMMdd)",
  27471. "type": "string"
  27472. },
  27473. "trademode": {
  27474. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27475. "type": "integer"
  27476. },
  27477. "tradeprice": {
  27478. "description": "成交价格",
  27479. "type": "number"
  27480. },
  27481. "tradeqty": {
  27482. "description": "成交数量",
  27483. "type": "number"
  27484. },
  27485. "tradetime": {
  27486. "description": "成交时间",
  27487. "type": "string"
  27488. },
  27489. "userid": {
  27490. "description": "用户ID",
  27491. "type": "integer"
  27492. }
  27493. }
  27494. },
  27495. "models.QhjTradeGoodsPickup": {
  27496. "type": "object",
  27497. "properties": {
  27498. "accountid": {
  27499. "description": "账户ID",
  27500. "type": "integer"
  27501. },
  27502. "address": {
  27503. "description": "提货人详细地址",
  27504. "type": "string"
  27505. },
  27506. "amount": {
  27507. "description": "提货金额",
  27508. "type": "number"
  27509. },
  27510. "artradedate": {
  27511. "description": "自动收货交易日(yyyyMMdd)",
  27512. "type": "string"
  27513. },
  27514. "auditer": {
  27515. "description": "审核人",
  27516. "type": "integer"
  27517. },
  27518. "auditsrc": {
  27519. "description": "更新来源 - 1:管理端 2:终端",
  27520. "type": "integer"
  27521. },
  27522. "audittime": {
  27523. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  27524. "type": "string"
  27525. },
  27526. "audittradedate": {
  27527. "description": "审核交易日(yyyyMMdd)",
  27528. "type": "string"
  27529. },
  27530. "cardnum": {
  27531. "description": "提货人证件号码",
  27532. "type": "string"
  27533. },
  27534. "cardtypeid": {
  27535. "description": "提货人证件类型",
  27536. "type": "integer"
  27537. },
  27538. "checkremark": {
  27539. "description": "审核备注",
  27540. "type": "string"
  27541. },
  27542. "cityid": {
  27543. "description": "市",
  27544. "type": "integer"
  27545. },
  27546. "cityname": {
  27547. "description": "城市名称",
  27548. "type": "string"
  27549. },
  27550. "confirmtime": {
  27551. "description": "取货时间 或 收货时间",
  27552. "type": "string"
  27553. },
  27554. "countryid": {
  27555. "description": "国家",
  27556. "type": "integer"
  27557. },
  27558. "countryname": {
  27559. "description": "国家名称",
  27560. "type": "string"
  27561. },
  27562. "decimalplace": {
  27563. "description": "商品报价小数位",
  27564. "type": "integer"
  27565. },
  27566. "districtid": {
  27567. "description": "地区",
  27568. "type": "integer"
  27569. },
  27570. "districtname": {
  27571. "description": "地区名称",
  27572. "type": "string"
  27573. },
  27574. "enumdicname": {
  27575. "description": "单位名称(提货商品)",
  27576. "type": "string"
  27577. },
  27578. "expresscompany": {
  27579. "description": "物流公司",
  27580. "type": "string"
  27581. },
  27582. "expressnum": {
  27583. "description": "物流单号",
  27584. "type": "string"
  27585. },
  27586. "goodsagreeunit": {
  27587. "description": "交易商品乘数",
  27588. "type": "number"
  27589. },
  27590. "goodscode": {
  27591. "description": "商品代码",
  27592. "type": "string"
  27593. },
  27594. "goodsid": {
  27595. "description": "商品ID",
  27596. "type": "integer"
  27597. },
  27598. "goodsname": {
  27599. "description": "商品名称",
  27600. "type": "string"
  27601. },
  27602. "goodsqty": {
  27603. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  27604. "type": "number"
  27605. },
  27606. "handlestatus": {
  27607. "description": "处理状态",
  27608. "type": "integer"
  27609. },
  27610. "logincode": {
  27611. "description": "账号(登录代码, 有可能为空)",
  27612. "type": "string"
  27613. },
  27614. "marketid": {
  27615. "description": "市场ID",
  27616. "type": "integer"
  27617. },
  27618. "phonenum": {
  27619. "description": "提货人联系方式",
  27620. "type": "string"
  27621. },
  27622. "pickupgoodsagreeunit": {
  27623. "description": "提货商品合约乘数",
  27624. "type": "number"
  27625. },
  27626. "pickupgoodsid": {
  27627. "description": "提货商品ID",
  27628. "type": "string"
  27629. },
  27630. "pickupgoodsname": {
  27631. "description": "提货商品名称",
  27632. "type": "string"
  27633. },
  27634. "pickupgoodsqty": {
  27635. "description": "提货商品手数(数量)",
  27636. "type": "number"
  27637. },
  27638. "pickupgoodsunitid": {
  27639. "description": "单位ID(提货商品)",
  27640. "type": "integer"
  27641. },
  27642. "pickupratio": {
  27643. "description": "提货系数",
  27644. "type": "number"
  27645. },
  27646. "preparedays": {
  27647. "description": "备货期(天)-提货单明细表",
  27648. "type": "integer"
  27649. },
  27650. "provinceid": {
  27651. "description": "省",
  27652. "type": "integer"
  27653. },
  27654. "provincename": {
  27655. "description": "省名称",
  27656. "type": "string"
  27657. },
  27658. "qty": {
  27659. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  27660. "type": "number"
  27661. },
  27662. "qtydecimalplace": {
  27663. "description": "商品数量小数位",
  27664. "type": "integer"
  27665. },
  27666. "recivername": {
  27667. "description": "提货人姓名",
  27668. "type": "string"
  27669. },
  27670. "reqtime": {
  27671. "description": "提货申请时间",
  27672. "type": "string"
  27673. },
  27674. "storeuserid": {
  27675. "description": "门店用户ID (千海金)",
  27676. "type": "integer"
  27677. },
  27678. "storeusername": {
  27679. "description": "门店用户名称",
  27680. "type": "string"
  27681. },
  27682. "takemode": {
  27683. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  27684. "type": "integer"
  27685. },
  27686. "takeorderid": {
  27687. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27688. "type": "string"
  27689. },
  27690. "takeorderstatus": {
  27691. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  27692. "type": "integer"
  27693. },
  27694. "takeremark": {
  27695. "description": "提货备注",
  27696. "type": "string"
  27697. },
  27698. "tradedate": {
  27699. "description": "交易日(yyyyMMdd)",
  27700. "type": "string"
  27701. },
  27702. "updatetime": {
  27703. "description": "更新时间",
  27704. "type": "string"
  27705. },
  27706. "userid": {
  27707. "description": "用户ID",
  27708. "type": "integer"
  27709. },
  27710. "userinfotype": {
  27711. "description": "客户类型 1-个人 2-企业",
  27712. "type": "integer"
  27713. },
  27714. "username": {
  27715. "description": "用户名称",
  27716. "type": "string"
  27717. }
  27718. }
  27719. },
  27720. "models.QhjUserNodeCfgAndStatus": {
  27721. "type": "object",
  27722. "properties": {
  27723. "agreementcontent": {
  27724. "description": "协议内容",
  27725. "type": "string"
  27726. },
  27727. "agreementid": {
  27728. "description": "协议ID",
  27729. "type": "integer"
  27730. },
  27731. "agreementname": {
  27732. "description": "协议名称",
  27733. "type": "string"
  27734. },
  27735. "agreementno": {
  27736. "description": "协议编号",
  27737. "type": "string"
  27738. },
  27739. "agreementtype": {
  27740. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27741. "type": "integer"
  27742. },
  27743. "agreementversion": {
  27744. "description": "协议版本号",
  27745. "type": "integer"
  27746. },
  27747. "configid": {
  27748. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27749. "type": "integer"
  27750. },
  27751. "createtime": {
  27752. "description": "创建时间",
  27753. "type": "string"
  27754. },
  27755. "goodsid": {
  27756. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27757. "type": "integer"
  27758. },
  27759. "nodetype": {
  27760. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27761. "type": "integer"
  27762. },
  27763. "signtimestamp": {
  27764. "description": "签约状态时间戳(最近一次)",
  27765. "type": "string"
  27766. },
  27767. "tradedate": {
  27768. "description": "签约交易日(yyyyMMdd)",
  27769. "type": "string"
  27770. },
  27771. "userid": {
  27772. "description": "客户ID",
  27773. "type": "integer"
  27774. }
  27775. }
  27776. },
  27777. "models.Qhjgoodsex": {
  27778. "type": "object",
  27779. "properties": {
  27780. "canfinance": {
  27781. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  27782. "type": "integer"
  27783. },
  27784. "canregularlybuy": {
  27785. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  27786. "type": "integer"
  27787. },
  27788. "defaulttradeuserid": {
  27789. "description": "默认交易用户ID",
  27790. "type": "integer"
  27791. },
  27792. "deliverygoodsid": {
  27793. "description": "现货品种ID",
  27794. "type": "integer"
  27795. },
  27796. "goodsid": {
  27797. "description": "商品ID(自增ID SEQ_GOODS)",
  27798. "type": "integer"
  27799. },
  27800. "minamount": {
  27801. "description": "最小购买金额",
  27802. "type": "number"
  27803. },
  27804. "regularlybuyminamount": {
  27805. "description": "定投最小金额",
  27806. "type": "number"
  27807. },
  27808. "regularlybuyminqty": {
  27809. "description": "定投最小数量",
  27810. "type": "number"
  27811. },
  27812. "spotgoodsbrandid": {
  27813. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  27814. "type": "integer"
  27815. },
  27816. "visibilityforenterprise": {
  27817. "description": "企业客户是否可见 - 0:不可见 1:可见",
  27818. "type": "integer"
  27819. },
  27820. "visibilityforpersonal": {
  27821. "description": "个人客户是否可见 - 0:不可见 1:可见",
  27822. "type": "integer"
  27823. },
  27824. "wrstandardid": {
  27825. "description": "现货商品ID",
  27826. "type": "integer"
  27827. }
  27828. }
  27829. },
  27830. "models.QueryErrorInfosRsp": {
  27831. "type": "object",
  27832. "required": [
  27833. "errorid"
  27834. ],
  27835. "properties": {
  27836. "description": {
  27837. "description": "异常描述",
  27838. "type": "string"
  27839. },
  27840. "errorcode": {
  27841. "description": "异常代码",
  27842. "type": "string"
  27843. },
  27844. "errorid": {
  27845. "description": "异常ID",
  27846. "type": "integer"
  27847. },
  27848. "modulecode": {
  27849. "description": "所属模块",
  27850. "type": "string"
  27851. },
  27852. "operatecode": {
  27853. "description": "所属操作",
  27854. "type": "string"
  27855. },
  27856. "rownumber": {
  27857. "description": "行号",
  27858. "type": "string"
  27859. }
  27860. }
  27861. },
  27862. "models.QueryHedgeOrderDetailRsp": {
  27863. "type": "object",
  27864. "properties": {
  27865. "accountid": {
  27866. "description": "账户ID",
  27867. "type": "integer"
  27868. },
  27869. "buyorsell": {
  27870. "description": "买卖 - 0:买 1:卖",
  27871. "type": "integer"
  27872. },
  27873. "cancellogincode": {
  27874. "description": "撤单人",
  27875. "type": "string"
  27876. },
  27877. "channelbuildtype": {
  27878. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  27879. "type": "integer"
  27880. },
  27881. "channelinnerorderstatus": {
  27882. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  27883. "type": "integer"
  27884. },
  27885. "channeloperatetype": {
  27886. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  27887. "type": "integer"
  27888. },
  27889. "closetype": {
  27890. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  27891. "type": "integer"
  27892. },
  27893. "curexchangerate": {
  27894. "description": "当前汇率",
  27895. "type": "number"
  27896. },
  27897. "exchangefullname": {
  27898. "description": "外部交易所全称",
  27899. "type": "string"
  27900. },
  27901. "goodscode": {
  27902. "description": "商品代码(内部)",
  27903. "type": "string"
  27904. },
  27905. "goodsid": {
  27906. "description": "商品ID",
  27907. "type": "integer"
  27908. },
  27909. "goodsname": {
  27910. "description": "商品名称",
  27911. "type": "string"
  27912. },
  27913. "marketid": {
  27914. "description": "市场ID",
  27915. "type": "integer"
  27916. },
  27917. "openfreezemargin": {
  27918. "description": "冻结保证金(冻结交易金额)",
  27919. "type": "number"
  27920. },
  27921. "orderid": {
  27922. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27923. "type": "string"
  27924. },
  27925. "orderlogincode": {
  27926. "description": "委托人",
  27927. "type": "string"
  27928. },
  27929. "orderprice": {
  27930. "description": "委托价格(账户)",
  27931. "type": "number"
  27932. },
  27933. "orderqty": {
  27934. "description": "委托数量",
  27935. "type": "integer"
  27936. },
  27937. "ordertime": {
  27938. "description": "委托时间",
  27939. "type": "string"
  27940. },
  27941. "pricemode": {
  27942. "description": "取价方式 - 1:市价 2: 限价",
  27943. "type": "integer"
  27944. },
  27945. "tradedate": {
  27946. "description": "交易日(yyyyMMdd)",
  27947. "type": "string"
  27948. },
  27949. "tradeqty": {
  27950. "description": "成交数量",
  27951. "type": "integer"
  27952. }
  27953. }
  27954. },
  27955. "models.QueryHedgeTradeDetailRsp": {
  27956. "type": "object",
  27957. "properties": {
  27958. "accountid": {
  27959. "description": "账号ID",
  27960. "type": "integer"
  27961. },
  27962. "buyorsell": {
  27963. "description": "方向 - 0:买 1:卖",
  27964. "type": "integer"
  27965. },
  27966. "channelbuildtype": {
  27967. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27968. "type": "integer"
  27969. },
  27970. "closecharge": {
  27971. "description": "平仓手续费(账户)",
  27972. "type": "number"
  27973. },
  27974. "closecharge2": {
  27975. "description": "平仓手续费(商品)",
  27976. "type": "number"
  27977. },
  27978. "closepl": {
  27979. "description": "平仓盈亏(账户)",
  27980. "type": "number"
  27981. },
  27982. "closepl2": {
  27983. "description": "平仓盈亏(商品)",
  27984. "type": "number"
  27985. },
  27986. "closepl3": {
  27987. "description": "平仓盈亏(账户)(逐笔)",
  27988. "type": "number"
  27989. },
  27990. "closepl4": {
  27991. "description": "平仓盈亏(商品)(逐笔)",
  27992. "type": "number"
  27993. },
  27994. "closetype": {
  27995. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  27996. "type": "integer"
  27997. },
  27998. "curexchangerate": {
  27999. "description": "当前汇率",
  28000. "type": "number"
  28001. },
  28002. "exchangefullname": {
  28003. "description": "外部交易所全称",
  28004. "type": "string"
  28005. },
  28006. "goodscode": {
  28007. "description": "商品代码(内部)",
  28008. "type": "string"
  28009. },
  28010. "goodsid": {
  28011. "description": "商品ID",
  28012. "type": "integer"
  28013. },
  28014. "goodsname": {
  28015. "description": "商品名称",
  28016. "type": "string"
  28017. },
  28018. "marketid": {
  28019. "description": "市场ID",
  28020. "type": "integer"
  28021. },
  28022. "opencharge": {
  28023. "description": "建仓手续费(账户)",
  28024. "type": "number"
  28025. },
  28026. "opencharge2": {
  28027. "description": "建仓手续费(商品)",
  28028. "type": "number"
  28029. },
  28030. "orderid": {
  28031. "description": "委托单号",
  28032. "type": "string"
  28033. },
  28034. "orderlogincode": {
  28035. "description": "委托人",
  28036. "type": "string"
  28037. },
  28038. "tradeamount": {
  28039. "description": "成交金额(账户)",
  28040. "type": "number"
  28041. },
  28042. "tradedate": {
  28043. "description": "交易日(yyyyMMdd)",
  28044. "type": "string"
  28045. },
  28046. "tradeid": {
  28047. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28048. "type": "string"
  28049. },
  28050. "tradeprice": {
  28051. "description": "成交价格",
  28052. "type": "number"
  28053. },
  28054. "tradeqty": {
  28055. "description": "成交数量",
  28056. "type": "integer"
  28057. },
  28058. "tradetime": {
  28059. "description": "成交时间",
  28060. "type": "string"
  28061. },
  28062. "tradetype": {
  28063. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  28064. "type": "integer"
  28065. }
  28066. }
  28067. },
  28068. "models.QuotePrimaryMenu": {
  28069. "type": "object",
  28070. "properties": {
  28071. "Index": {
  28072. "description": "序号",
  28073. "type": "integer"
  28074. },
  28075. "Key": {
  28076. "description": "键名",
  28077. "type": "string"
  28078. },
  28079. "Name": {
  28080. "description": "菜单名称",
  28081. "type": "string"
  28082. },
  28083. "SubMenus": {
  28084. "description": "子菜单",
  28085. "type": "array",
  28086. "items": {
  28087. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  28088. }
  28089. },
  28090. "SubTitleType": {
  28091. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  28092. "type": "integer"
  28093. },
  28094. "TradeModes": {
  28095. "description": "包含市场交易类型",
  28096. "type": "string"
  28097. }
  28098. }
  28099. },
  28100. "models.QuoteSecondaryMenu": {
  28101. "type": "object",
  28102. "properties": {
  28103. "ExExchangeCode": {
  28104. "description": "外部交易所代码",
  28105. "type": "string"
  28106. },
  28107. "ExExchangeID": {
  28108. "description": "外部交易所ID",
  28109. "type": "integer"
  28110. },
  28111. "GoodsGroupIDs": {
  28112. "description": "商品组ID列表",
  28113. "type": "array",
  28114. "items": {
  28115. "type": "integer"
  28116. }
  28117. },
  28118. "Index": {
  28119. "description": "序号",
  28120. "type": "integer"
  28121. },
  28122. "MarketID": {
  28123. "description": "市场ID",
  28124. "type": "integer"
  28125. },
  28126. "MenuTitle": {
  28127. "description": "菜单标题(市场名称或外部交易所名称)",
  28128. "type": "string"
  28129. },
  28130. "TradeMode": {
  28131. "description": "交易模式",
  28132. "type": "integer"
  28133. }
  28134. }
  28135. },
  28136. "models.RoleMenu": {
  28137. "type": "object",
  28138. "properties": {
  28139. "hasright": {
  28140. "description": "是否有权限 0-没有权限 1-有权限",
  28141. "type": "integer"
  28142. },
  28143. "iconame": {
  28144. "description": "菜单图标",
  28145. "type": "string"
  28146. },
  28147. "menutype": {
  28148. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  28149. "type": "integer"
  28150. },
  28151. "parentcode": {
  28152. "description": "上级资源代码",
  28153. "type": "string"
  28154. },
  28155. "remark": {
  28156. "description": "菜单备注",
  28157. "type": "string"
  28158. },
  28159. "resourcecode": {
  28160. "description": "菜单代码",
  28161. "type": "string"
  28162. },
  28163. "resourcelevel": {
  28164. "description": "级别",
  28165. "type": "integer"
  28166. },
  28167. "resourcename": {
  28168. "description": "菜单名称",
  28169. "type": "string"
  28170. },
  28171. "roleid": {
  28172. "description": "角色id",
  28173. "type": "integer"
  28174. },
  28175. "sort": {
  28176. "description": "排序",
  28177. "type": "integer"
  28178. },
  28179. "subMenu": {
  28180. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  28181. "type": "array",
  28182. "items": {
  28183. "$ref": "#/definitions/models.RoleMenu"
  28184. }
  28185. },
  28186. "url": {
  28187. "description": "URL",
  28188. "type": "string"
  28189. },
  28190. "userid": {
  28191. "description": "用户id",
  28192. "type": "integer"
  28193. }
  28194. }
  28195. },
  28196. "models.SearchGoods": {
  28197. "type": "object",
  28198. "required": [
  28199. "goodscode",
  28200. "goodsid",
  28201. "goodsname",
  28202. "marketid",
  28203. "trademode"
  28204. ],
  28205. "properties": {
  28206. "goodscode": {
  28207. "description": "商品代码(内部)",
  28208. "type": "string"
  28209. },
  28210. "goodsid": {
  28211. "description": "商品ID(自增ID SEQ_GOODS)",
  28212. "type": "integer"
  28213. },
  28214. "goodsname": {
  28215. "description": "商品名称",
  28216. "type": "string"
  28217. },
  28218. "marketid": {
  28219. "description": "所属市场ID",
  28220. "type": "integer"
  28221. },
  28222. "marketname": {
  28223. "description": "市场名称",
  28224. "type": "string"
  28225. },
  28226. "trademode": {
  28227. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28228. "type": "integer"
  28229. }
  28230. }
  28231. },
  28232. "models.Systemparam": {
  28233. "type": "object",
  28234. "required": [
  28235. "paramcode"
  28236. ],
  28237. "properties": {
  28238. "loginid": {
  28239. "description": "更新用户账号,登录账号",
  28240. "type": "string"
  28241. },
  28242. "modifyflag": {
  28243. "description": "修改标志0 不允许修改 1 允许修改",
  28244. "type": "integer"
  28245. },
  28246. "paramcode": {
  28247. "description": "参数代码",
  28248. "type": "string"
  28249. },
  28250. "paramname": {
  28251. "description": "参数名",
  28252. "type": "string"
  28253. },
  28254. "paramtype": {
  28255. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  28256. "type": "integer"
  28257. },
  28258. "paramvalue": {
  28259. "description": "参数值",
  28260. "type": "string"
  28261. },
  28262. "paramvalue2": {
  28263. "description": "参数值(CLOB)",
  28264. "type": "string"
  28265. },
  28266. "regexpress": {
  28267. "description": "正则表达式",
  28268. "type": "string"
  28269. },
  28270. "remark": {
  28271. "description": "备注",
  28272. "type": "string"
  28273. },
  28274. "serverip": {
  28275. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  28276. "type": "string"
  28277. },
  28278. "showflag": {
  28279. "description": "是否显示0 不显示 1 显示",
  28280. "type": "integer"
  28281. },
  28282. "updatetime": {
  28283. "description": "更新时间",
  28284. "type": "string"
  28285. },
  28286. "userid": {
  28287. "description": "更新用户ID",
  28288. "type": "integer"
  28289. }
  28290. }
  28291. },
  28292. "models.Szdz3convertconfig": {
  28293. "type": "object",
  28294. "required": [
  28295. "converttype",
  28296. "innergoodsid",
  28297. "outergoodscode"
  28298. ],
  28299. "properties": {
  28300. "canin": {
  28301. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  28302. "type": "integer"
  28303. },
  28304. "canout": {
  28305. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  28306. "type": "integer"
  28307. },
  28308. "converttype": {
  28309. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  28310. "type": "integer"
  28311. },
  28312. "createtime": {
  28313. "description": "创建时间",
  28314. "type": "string"
  28315. },
  28316. "creatorid": {
  28317. "description": "创建人",
  28318. "type": "integer"
  28319. },
  28320. "daymaxvalue": {
  28321. "description": "当日最大转入限制",
  28322. "type": "number"
  28323. },
  28324. "freezedays": {
  28325. "description": "冻结天数 [5:花生米转交易]",
  28326. "type": "integer"
  28327. },
  28328. "innergoodsid": {
  28329. "description": "内部商品ID[交易]",
  28330. "type": "integer"
  28331. },
  28332. "inratio": {
  28333. "description": "目标值",
  28334. "type": "integer"
  28335. },
  28336. "modifierid": {
  28337. "description": "修改人",
  28338. "type": "integer"
  28339. },
  28340. "modifytime": {
  28341. "description": "修改时间",
  28342. "type": "string"
  28343. },
  28344. "outergoodscode": {
  28345. "description": "外部商品代码[JD\\PD]",
  28346. "type": "string"
  28347. },
  28348. "outratio": {
  28349. "description": "源值",
  28350. "type": "integer"
  28351. },
  28352. "pddecimalplace": {
  28353. "description": "PD小数位",
  28354. "type": "integer"
  28355. },
  28356. "timemaxvalue": {
  28357. "description": "单次最大转入限制",
  28358. "type": "number"
  28359. },
  28360. "timeminvalue": {
  28361. "description": "单次最小转入限制",
  28362. "type": "number"
  28363. }
  28364. }
  28365. },
  28366. "models.Szdz3searchwhitelist": {
  28367. "type": "object",
  28368. "required": [
  28369. "userid"
  28370. ],
  28371. "properties": {
  28372. "createtime": {
  28373. "description": "创建时间",
  28374. "type": "string"
  28375. },
  28376. "creatorid": {
  28377. "description": "创建人",
  28378. "type": "integer"
  28379. },
  28380. "modifierid": {
  28381. "description": "修改人",
  28382. "type": "integer"
  28383. },
  28384. "modifytime": {
  28385. "description": "修改时间",
  28386. "type": "string"
  28387. },
  28388. "userid": {
  28389. "description": "用户ID",
  28390. "type": "integer"
  28391. }
  28392. }
  28393. },
  28394. "models.Taaccount": {
  28395. "type": "object",
  28396. "required": [
  28397. "accountid",
  28398. "userid"
  28399. ],
  28400. "properties": {
  28401. "accountflag": {
  28402. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  28403. "type": "integer"
  28404. },
  28405. "accountid": {
  28406. "description": "资金账户ID",
  28407. "type": "integer"
  28408. },
  28409. "accountname": {
  28410. "description": "账户名称",
  28411. "type": "string"
  28412. },
  28413. "balance": {
  28414. "description": "期初余额",
  28415. "type": "number"
  28416. },
  28417. "capitalbalance": {
  28418. "description": "本金余额[外部子账户实际出入金余额]",
  28419. "type": "number"
  28420. },
  28421. "changeflag": {
  28422. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  28423. "type": "integer"
  28424. },
  28425. "changetime": {
  28426. "description": "账户状态变更时间",
  28427. "type": "string"
  28428. },
  28429. "closepl": {
  28430. "description": "今日平仓盈亏",
  28431. "type": "number"
  28432. },
  28433. "creditdecrease": {
  28434. "description": "今日授信减少",
  28435. "type": "number"
  28436. },
  28437. "creditincrease": {
  28438. "description": "今日授信增加",
  28439. "type": "number"
  28440. },
  28441. "curamount": {
  28442. "description": "总市值(从持仓中统计)",
  28443. "type": "number"
  28444. },
  28445. "currencyid": {
  28446. "description": "货币ID",
  28447. "type": "integer"
  28448. },
  28449. "currentbalance": {
  28450. "description": "期末余额",
  28451. "type": "number"
  28452. },
  28453. "freezecharge": {
  28454. "description": "手续费冻结",
  28455. "type": "number"
  28456. },
  28457. "freezemargin": {
  28458. "description": "冻结保证金",
  28459. "type": "number"
  28460. },
  28461. "fromaccountid": {
  28462. "description": "所属上级账户",
  28463. "type": "integer"
  28464. },
  28465. "inamount": {
  28466. "description": "今日入金金额(包括三方入金)",
  28467. "type": "number"
  28468. },
  28469. "ismain": {
  28470. "description": "是否母账号 0:不是母账户 1:是母账户",
  28471. "type": "integer"
  28472. },
  28473. "ismarketaccount": {
  28474. "description": "是否机构接单账号 0:不是 1:是",
  28475. "type": "integer"
  28476. },
  28477. "isreckonaccount": {
  28478. "description": "是否机构分润账号 0:不是 1:是",
  28479. "type": "integer"
  28480. },
  28481. "mortgagecredit": {
  28482. "description": "授信金额",
  28483. "type": "number"
  28484. },
  28485. "orifreezecharge": {
  28486. "description": "期初手续费冻结",
  28487. "type": "number"
  28488. },
  28489. "orifreezemargin": {
  28490. "description": "期初冻结保证金",
  28491. "type": "number"
  28492. },
  28493. "orimortgagecredit": {
  28494. "description": "期初授信金额",
  28495. "type": "number"
  28496. },
  28497. "oriothercredit": {
  28498. "description": "期初其它授信金额",
  28499. "type": "number"
  28500. },
  28501. "oriotherfreezemargin": {
  28502. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28503. "type": "number"
  28504. },
  28505. "orioutamountfreeze": {
  28506. "description": "期初出金冻结",
  28507. "type": "number"
  28508. },
  28509. "oriusedmargin": {
  28510. "description": "期初占用保证金",
  28511. "type": "number"
  28512. },
  28513. "othercredit": {
  28514. "description": "其它授信金额",
  28515. "type": "number"
  28516. },
  28517. "othercreditdecrease": {
  28518. "description": "今日其它授信减少",
  28519. "type": "number"
  28520. },
  28521. "othercreditincrease": {
  28522. "description": "今日其它授信增加",
  28523. "type": "number"
  28524. },
  28525. "otherfreezemargin": {
  28526. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28527. "type": "number"
  28528. },
  28529. "otherincome": {
  28530. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  28531. "type": "number"
  28532. },
  28533. "otherpay": {
  28534. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  28535. "type": "number"
  28536. },
  28537. "outamount": {
  28538. "description": "今日出金金额(包括三方出金)",
  28539. "type": "number"
  28540. },
  28541. "outamountfreeze": {
  28542. "description": "出金冻结",
  28543. "type": "number"
  28544. },
  28545. "outthreshold": {
  28546. "description": "出金阈值",
  28547. "type": "number"
  28548. },
  28549. "parentaccountid": {
  28550. "description": "所属根账号",
  28551. "type": "integer"
  28552. },
  28553. "paycharge": {
  28554. "description": "今日手续费支出",
  28555. "type": "number"
  28556. },
  28557. "relatedaccountstatus": {
  28558. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  28559. "type": "integer"
  28560. },
  28561. "relateduserid": {
  28562. "description": "关联用户",
  28563. "type": "integer"
  28564. },
  28565. "remainamount": {
  28566. "description": "融资额(从融资合同中统计)",
  28567. "type": "number"
  28568. },
  28569. "serivcegroup": {
  28570. "description": "服务分组",
  28571. "type": "integer"
  28572. },
  28573. "signstatus": {
  28574. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28575. "type": "integer"
  28576. },
  28577. "sublevelpath": {
  28578. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28579. "type": "string"
  28580. },
  28581. "taaccounttype": {
  28582. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28583. "type": "integer"
  28584. },
  28585. "thirdinamount": {
  28586. "description": "今日三方入金",
  28587. "type": "number"
  28588. },
  28589. "thirdoutamount": {
  28590. "description": "今日三方出金",
  28591. "type": "number"
  28592. },
  28593. "tradestatus": {
  28594. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28595. "type": "integer"
  28596. },
  28597. "tradestatuschangetime": {
  28598. "description": "激活时间",
  28599. "type": "string"
  28600. },
  28601. "transferamount": {
  28602. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28603. "type": "number"
  28604. },
  28605. "usedmargin": {
  28606. "description": "占用保证金",
  28607. "type": "number"
  28608. },
  28609. "userid": {
  28610. "description": "用户ID",
  28611. "type": "integer"
  28612. }
  28613. }
  28614. },
  28615. "models.Tablecolumnconfig": {
  28616. "type": "object",
  28617. "required": [
  28618. "autoid"
  28619. ],
  28620. "properties": {
  28621. "aligntype": {
  28622. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  28623. "type": "integer"
  28624. },
  28625. "autoid": {
  28626. "description": "AutoID",
  28627. "type": "integer"
  28628. },
  28629. "columnfield": {
  28630. "description": "列字段",
  28631. "type": "string"
  28632. },
  28633. "columntitle": {
  28634. "description": "列Title",
  28635. "type": "string"
  28636. },
  28637. "columnwidth": {
  28638. "description": "列宽",
  28639. "type": "string"
  28640. },
  28641. "formatterstring": {
  28642. "description": "格式化字符",
  28643. "type": "string"
  28644. },
  28645. "formattertype": {
  28646. "description": "格式化类型",
  28647. "type": "string"
  28648. },
  28649. "groupname": {
  28650. "description": "表头分组名称",
  28651. "type": "string"
  28652. },
  28653. "isshow": {
  28654. "description": "是否显示 - 0:不显示 1:显示",
  28655. "type": "integer"
  28656. },
  28657. "needsummary": {
  28658. "description": "是否需要汇总 - 0:不需要 1:需要",
  28659. "type": "integer"
  28660. },
  28661. "orderindex": {
  28662. "description": "顺序",
  28663. "type": "integer"
  28664. },
  28665. "remark": {
  28666. "description": "备注",
  28667. "type": "string"
  28668. },
  28669. "summarytype": {
  28670. "description": "汇总类型 - 1:加总 2:最后一个",
  28671. "type": "integer"
  28672. },
  28673. "tablekey": {
  28674. "description": "列表Key",
  28675. "type": "string"
  28676. }
  28677. }
  28678. },
  28679. "models.UserCollectConfig": {
  28680. "type": "object",
  28681. "properties": {
  28682. "accountstatus": {
  28683. "description": "账户状态 - 1:正常 2:停用 3:注销",
  28684. "type": "integer"
  28685. },
  28686. "collectaccountname": {
  28687. "description": "收款人账户名称",
  28688. "type": "string"
  28689. },
  28690. "collectaccountno": {
  28691. "description": "收款人账户",
  28692. "type": "string"
  28693. },
  28694. "collectbankname": {
  28695. "description": "收款人开户行",
  28696. "type": "string"
  28697. },
  28698. "collectbranchbankname": {
  28699. "description": "收款人开户支行",
  28700. "type": "string"
  28701. },
  28702. "collectconfigid": {
  28703. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  28704. "type": "string"
  28705. },
  28706. "remark": {
  28707. "description": "备注",
  28708. "type": "string"
  28709. },
  28710. "userid": {
  28711. "description": "收款人用户ID",
  28712. "type": "integer"
  28713. }
  28714. }
  28715. },
  28716. "models.UserReceiveInfo": {
  28717. "type": "object",
  28718. "properties": {
  28719. "address": {
  28720. "description": "提货人详细地址",
  28721. "type": "string"
  28722. },
  28723. "autoid": {
  28724. "description": "AutoID",
  28725. "type": "integer"
  28726. },
  28727. "cardnum": {
  28728. "description": "证件号码(加密存储)",
  28729. "type": "string"
  28730. },
  28731. "cardtypeid": {
  28732. "description": "证件类型",
  28733. "type": "integer"
  28734. },
  28735. "cityid": {
  28736. "description": "市",
  28737. "type": "integer"
  28738. },
  28739. "cityname": {
  28740. "description": "城市名称",
  28741. "type": "string"
  28742. },
  28743. "countryid": {
  28744. "description": "国家",
  28745. "type": "integer"
  28746. },
  28747. "countryname": {
  28748. "description": "国家名称",
  28749. "type": "string"
  28750. },
  28751. "districtid": {
  28752. "description": "地区",
  28753. "type": "integer"
  28754. },
  28755. "districtname": {
  28756. "description": "地区名称",
  28757. "type": "string"
  28758. },
  28759. "hasencrypt": {
  28760. "description": "数据是否已加密 - 0:未加密 1:已加密",
  28761. "type": "integer"
  28762. },
  28763. "isdefault": {
  28764. "description": "是否默认地址 - 0:否 1:是",
  28765. "type": "integer"
  28766. },
  28767. "phonenum": {
  28768. "description": "提货人联系方式(加密存储)",
  28769. "type": "string"
  28770. },
  28771. "provinceid": {
  28772. "description": "省",
  28773. "type": "integer"
  28774. },
  28775. "provincename": {
  28776. "description": "省名称",
  28777. "type": "string"
  28778. },
  28779. "receivername": {
  28780. "description": "提货人姓名",
  28781. "type": "string"
  28782. },
  28783. "takeremark": {
  28784. "description": "提货备注",
  28785. "type": "string"
  28786. },
  28787. "userid": {
  28788. "description": "用户ID",
  28789. "type": "integer"
  28790. }
  28791. }
  28792. },
  28793. "models.Useraccount": {
  28794. "type": "object",
  28795. "required": [
  28796. "userid"
  28797. ],
  28798. "properties": {
  28799. "accountname": {
  28800. "description": "账户名称(机构名称)",
  28801. "type": "string"
  28802. },
  28803. "accountstatus": {
  28804. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28805. "type": "integer"
  28806. },
  28807. "applysrc": {
  28808. "description": "申请来源 - 1:管理端 2:终端",
  28809. "type": "integer"
  28810. },
  28811. "auditremark": {
  28812. "description": "审核备注",
  28813. "type": "string"
  28814. },
  28815. "auditsrc": {
  28816. "description": "审核来源 - 1:管理端 2:终端",
  28817. "type": "integer"
  28818. },
  28819. "audittime": {
  28820. "description": "审核时间",
  28821. "type": "string"
  28822. },
  28823. "audituserid": {
  28824. "description": "审核人",
  28825. "type": "integer"
  28826. },
  28827. "broker": {
  28828. "description": "所属经纪人ID",
  28829. "type": "integer"
  28830. },
  28831. "canceltime": {
  28832. "description": "销户时间",
  28833. "type": "string"
  28834. },
  28835. "canceluserid": {
  28836. "description": "销户人",
  28837. "type": "integer"
  28838. },
  28839. "canrecommend": {
  28840. "description": "是否可推荐 - 0:不可 1;可",
  28841. "type": "integer"
  28842. },
  28843. "createtime": {
  28844. "description": "创建时间",
  28845. "type": "string"
  28846. },
  28847. "creatorid": {
  28848. "description": "创建人",
  28849. "type": "integer"
  28850. },
  28851. "hasauth": {
  28852. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  28853. "type": "integer"
  28854. },
  28855. "isanonymous": {
  28856. "description": "是否匿名下单 - 0:否 1:是",
  28857. "type": "integer"
  28858. },
  28859. "maxinvestornum": {
  28860. "description": "最大用户数(经纪会员下投资者个数)",
  28861. "type": "integer"
  28862. },
  28863. "memberuserid": {
  28864. "description": "所属会员ID",
  28865. "type": "integer"
  28866. },
  28867. "modifierid": {
  28868. "description": "修改人",
  28869. "type": "integer"
  28870. },
  28871. "modifyremark": {
  28872. "description": "变更备注",
  28873. "type": "string"
  28874. },
  28875. "modifystatus": {
  28876. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  28877. "type": "integer"
  28878. },
  28879. "modifytime": {
  28880. "description": "修改时间",
  28881. "type": "string"
  28882. },
  28883. "parenttopuser": {
  28884. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  28885. "type": "string"
  28886. },
  28887. "parentuserid": {
  28888. "description": "所属机构ID",
  28889. "type": "integer"
  28890. },
  28891. "reckonaccountid": {
  28892. "description": "默认结算资金账号ID(机构分润使用) 作废",
  28893. "type": "integer"
  28894. },
  28895. "refercount": {
  28896. "description": "推荐总人数",
  28897. "type": "integer"
  28898. },
  28899. "refereeuserid": {
  28900. "description": "推荐人ID",
  28901. "type": "integer"
  28902. },
  28903. "refernum": {
  28904. "description": "推荐码",
  28905. "type": "string"
  28906. },
  28907. "rootuserid": {
  28908. "description": "根用户ID",
  28909. "type": "integer"
  28910. },
  28911. "subaccountlevel": {
  28912. "description": "子账户层数",
  28913. "type": "integer"
  28914. },
  28915. "subarealevelpath": {
  28916. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  28917. "type": "string"
  28918. },
  28919. "userid": {
  28920. "description": "用户ID",
  28921. "type": "integer"
  28922. },
  28923. "usertype": {
  28924. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28925. "type": "integer"
  28926. }
  28927. }
  28928. },
  28929. "models.Userfavoritegoods": {
  28930. "type": "object",
  28931. "required": [
  28932. "goodsid"
  28933. ],
  28934. "properties": {
  28935. "goodsid": {
  28936. "description": "商品ID",
  28937. "type": "integer"
  28938. }
  28939. }
  28940. },
  28941. "models.Userinfo": {
  28942. "type": "object",
  28943. "required": [
  28944. "userid"
  28945. ],
  28946. "properties": {
  28947. "address": {
  28948. "description": "地址",
  28949. "type": "string"
  28950. },
  28951. "attachment1": {
  28952. "description": "附件1",
  28953. "type": "string"
  28954. },
  28955. "attachment2": {
  28956. "description": "附件2",
  28957. "type": "string"
  28958. },
  28959. "bankaccount": {
  28960. "description": "银行帐号 (加密存储)",
  28961. "type": "string"
  28962. },
  28963. "bankaccountname": {
  28964. "description": "收款人名称",
  28965. "type": "string"
  28966. },
  28967. "bankcardfrontphotourl": {
  28968. "description": "银行卡正面照地址",
  28969. "type": "string"
  28970. },
  28971. "bankid": {
  28972. "description": "银行编码",
  28973. "type": "string"
  28974. },
  28975. "bankname": {
  28976. "description": "银行名称",
  28977. "type": "string"
  28978. },
  28979. "biznature": {
  28980. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  28981. "type": "integer"
  28982. },
  28983. "bizscope": {
  28984. "description": "企业经营范围(企业)",
  28985. "type": "string"
  28986. },
  28987. "cardbackphotourl": {
  28988. "description": "证件背面图片地址",
  28989. "type": "string"
  28990. },
  28991. "cardfrontphotourl": {
  28992. "description": "证件正面图片地址",
  28993. "type": "string"
  28994. },
  28995. "cardnum": {
  28996. "description": "证件号码(加密存储)",
  28997. "type": "string"
  28998. },
  28999. "cardtypeid": {
  29000. "description": "证件类型ID",
  29001. "type": "integer"
  29002. },
  29003. "cityid": {
  29004. "description": "市",
  29005. "type": "integer"
  29006. },
  29007. "company": {
  29008. "description": "公司(个人)",
  29009. "type": "string"
  29010. },
  29011. "contactname": {
  29012. "description": "联系人",
  29013. "type": "string"
  29014. },
  29015. "countryid": {
  29016. "description": "国家",
  29017. "type": "integer"
  29018. },
  29019. "createtime": {
  29020. "description": "创建时间",
  29021. "type": "string"
  29022. },
  29023. "creatorid": {
  29024. "description": "创建人",
  29025. "type": "integer"
  29026. },
  29027. "customername": {
  29028. "description": "客户名称(企业名称)",
  29029. "type": "string"
  29030. },
  29031. "districtid": {
  29032. "description": "地区",
  29033. "type": "integer"
  29034. },
  29035. "email": {
  29036. "description": "邮件(加密存储)",
  29037. "type": "string"
  29038. },
  29039. "fax": {
  29040. "description": "传真(加密存储)",
  29041. "type": "string"
  29042. },
  29043. "halfbodyphotourl": {
  29044. "description": "半身照地址",
  29045. "type": "string"
  29046. },
  29047. "hasencrypt": {
  29048. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29049. "type": "integer"
  29050. },
  29051. "headurl": {
  29052. "description": "头像地址",
  29053. "type": "string"
  29054. },
  29055. "legalcardbackphotourl": {
  29056. "description": "法人身份证背面照地址",
  29057. "type": "string"
  29058. },
  29059. "legalcardfrontphotourl": {
  29060. "description": "法人身份证正面照地址",
  29061. "type": "string"
  29062. },
  29063. "legalpersonname": {
  29064. "description": "法人姓名(企业)",
  29065. "type": "string"
  29066. },
  29067. "mobile": {
  29068. "description": "手机号码(加密存储)",
  29069. "type": "string"
  29070. },
  29071. "mobile2": {
  29072. "description": "手机号码[明文-尚志]",
  29073. "type": "string"
  29074. },
  29075. "modifierid": {
  29076. "description": "修改人",
  29077. "type": "integer"
  29078. },
  29079. "modifiertime": {
  29080. "description": "修改时间",
  29081. "type": "string"
  29082. },
  29083. "needinvoice": {
  29084. "description": "是否需要发票 - 0:不需要 1:需要",
  29085. "type": "integer"
  29086. },
  29087. "nickname": {
  29088. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  29089. "type": "string"
  29090. },
  29091. "openmode": {
  29092. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  29093. "type": "integer"
  29094. },
  29095. "otherurl": {
  29096. "description": "其它图片地址[使用分号分隔]",
  29097. "type": "string"
  29098. },
  29099. "postalcode": {
  29100. "description": "邮政编码",
  29101. "type": "string"
  29102. },
  29103. "provinceid": {
  29104. "description": "省",
  29105. "type": "integer"
  29106. },
  29107. "qq": {
  29108. "description": "QQ(加密存储",
  29109. "type": "string"
  29110. },
  29111. "remark": {
  29112. "description": "备注",
  29113. "type": "string"
  29114. },
  29115. "sex": {
  29116. "description": "用户性别 0: 女 1: 男",
  29117. "type": "integer"
  29118. },
  29119. "signpdfurl": {
  29120. "description": "签约pdf文件",
  29121. "type": "string"
  29122. },
  29123. "telphone": {
  29124. "description": "联系电话(加密存储)",
  29125. "type": "string"
  29126. },
  29127. "userid": {
  29128. "description": "用户ID",
  29129. "type": "integer"
  29130. },
  29131. "userinfotype": {
  29132. "description": "用户信息类型 - 1:个人 2:企业",
  29133. "type": "integer"
  29134. },
  29135. "userstatus": {
  29136. "description": "用户状态 - 1:正常 2:注销",
  29137. "type": "integer"
  29138. },
  29139. "usertype": {
  29140. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  29141. "type": "integer"
  29142. },
  29143. "wechat": {
  29144. "description": "微信(加密存储)",
  29145. "type": "string"
  29146. },
  29147. "wskhinfo": {
  29148. "description": "开户申请信息(JSON)",
  29149. "type": "string"
  29150. }
  29151. }
  29152. },
  29153. "models.WRSConverTDetail": {
  29154. "type": "object",
  29155. "properties": {
  29156. "convertratio": {
  29157. "description": "套保系数",
  29158. "type": "number"
  29159. },
  29160. "deliverygoodscode": {
  29161. "description": "现货商品代码",
  29162. "type": "string"
  29163. },
  29164. "deliverygoodsid": {
  29165. "description": "现货品种ID",
  29166. "type": "integer"
  29167. },
  29168. "deliverygoodsname": {
  29169. "description": "现货商品名称",
  29170. "type": "string"
  29171. },
  29172. "enumdicname": {
  29173. "description": "单位名称",
  29174. "type": "string"
  29175. },
  29176. "goodsunitid": {
  29177. "description": "套保品种单位id",
  29178. "type": "integer"
  29179. },
  29180. "middlegoodscode": {
  29181. "description": "套保品种代码",
  29182. "type": "string"
  29183. },
  29184. "middlegoodsid": {
  29185. "description": "套保品种ID",
  29186. "type": "integer"
  29187. },
  29188. "middlegoodsname": {
  29189. "description": "套保品种名称",
  29190. "type": "string"
  29191. },
  29192. "modifytime": {
  29193. "description": "修改时间",
  29194. "type": "string"
  29195. },
  29196. "wrstandardid": {
  29197. "description": "品类ID",
  29198. "type": "integer"
  29199. }
  29200. }
  29201. },
  29202. "models.WRStandardInfo": {
  29203. "type": "object",
  29204. "required": [
  29205. "wrstandardid"
  29206. ],
  29207. "properties": {
  29208. "areauserid": {
  29209. "description": "所属机构",
  29210. "type": "integer"
  29211. },
  29212. "convertfactor": {
  29213. "description": "标仓系数",
  29214. "type": "number"
  29215. },
  29216. "createtime": {
  29217. "description": "创建时间",
  29218. "type": "string"
  29219. },
  29220. "creatorid": {
  29221. "description": "创建人",
  29222. "type": "integer"
  29223. },
  29224. "deliverygoodsid": {
  29225. "description": "品种ID",
  29226. "type": "integer"
  29227. },
  29228. "deliverygoodsname": {
  29229. "description": "交割商品名称",
  29230. "type": "string"
  29231. },
  29232. "factoryitemjson": {
  29233. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  29234. "type": "string"
  29235. },
  29236. "isvalid": {
  29237. "description": "是否有效 - 0:无效 1:有效",
  29238. "type": "integer"
  29239. },
  29240. "minivalue": {
  29241. "description": "最小变动值",
  29242. "type": "integer"
  29243. },
  29244. "minivaluedp": {
  29245. "description": "最小变动值小数位",
  29246. "type": "integer"
  29247. },
  29248. "realminivalue": {
  29249. "description": "实际最小变动值",
  29250. "type": "integer"
  29251. },
  29252. "realminivaluedp": {
  29253. "description": "实际最小变动值小数位",
  29254. "type": "integer"
  29255. },
  29256. "remark": {
  29257. "description": "备注",
  29258. "type": "string"
  29259. },
  29260. "unitid": {
  29261. "description": "单位ID",
  29262. "type": "integer"
  29263. },
  29264. "unitname": {
  29265. "description": "单位",
  29266. "type": "string"
  29267. },
  29268. "updatetime": {
  29269. "description": "更新时间",
  29270. "type": "string"
  29271. },
  29272. "updatorid": {
  29273. "description": "更新人",
  29274. "type": "integer"
  29275. },
  29276. "wrsstatus": {
  29277. "description": "状态 - 作废 - 0:未激活 1:正常",
  29278. "type": "integer"
  29279. },
  29280. "wrstandardcode": {
  29281. "description": "现货品类代码",
  29282. "type": "string"
  29283. },
  29284. "wrstandardid": {
  29285. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29286. "type": "integer"
  29287. },
  29288. "wrstandardname": {
  29289. "description": "现货品类名称",
  29290. "type": "string"
  29291. }
  29292. }
  29293. },
  29294. "models.Warehouseinfo": {
  29295. "type": "object",
  29296. "required": [
  29297. "autoid",
  29298. "warehousecode"
  29299. ],
  29300. "properties": {
  29301. "address": {
  29302. "description": "详细地址",
  29303. "type": "string"
  29304. },
  29305. "areauserid": {
  29306. "description": "所属机构",
  29307. "type": "integer"
  29308. },
  29309. "autoid": {
  29310. "description": "自增ID",
  29311. "type": "integer"
  29312. },
  29313. "cityid": {
  29314. "description": "市",
  29315. "type": "integer"
  29316. },
  29317. "contactname": {
  29318. "description": "联系人",
  29319. "type": "string"
  29320. },
  29321. "contactnum": {
  29322. "description": "联系电话",
  29323. "type": "string"
  29324. },
  29325. "countryid": {
  29326. "description": "国家",
  29327. "type": "integer"
  29328. },
  29329. "createtime": {
  29330. "description": "创建时间",
  29331. "type": "string"
  29332. },
  29333. "districtid": {
  29334. "description": "区",
  29335. "type": "integer"
  29336. },
  29337. "hasvideo": {
  29338. "description": "是否有视频 - 0:无 1:有",
  29339. "type": "integer"
  29340. },
  29341. "provinceid": {
  29342. "description": "省",
  29343. "type": "integer"
  29344. },
  29345. "remark": {
  29346. "description": "审核备注",
  29347. "type": "string"
  29348. },
  29349. "videourl": {
  29350. "description": "视频地址",
  29351. "type": "string"
  29352. },
  29353. "warehousecode": {
  29354. "description": "仓库代码",
  29355. "type": "string"
  29356. },
  29357. "warehousename": {
  29358. "description": "仓库名称",
  29359. "type": "string"
  29360. },
  29361. "warehousestatus": {
  29362. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29363. "type": "integer"
  29364. },
  29365. "warehousetype": {
  29366. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29367. "type": "integer"
  29368. }
  29369. }
  29370. },
  29371. "models.WrFilterItem": {
  29372. "type": "object",
  29373. "properties": {
  29374. "itemcode": {
  29375. "description": "代码",
  29376. "type": "string"
  29377. },
  29378. "itemid": {
  29379. "description": "项id",
  29380. "type": "integer"
  29381. },
  29382. "itemname": {
  29383. "description": "名称",
  29384. "type": "string"
  29385. },
  29386. "itemtype": {
  29387. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  29388. "type": "integer"
  29389. }
  29390. }
  29391. },
  29392. "models.WrGoodsInfo": {
  29393. "type": "object",
  29394. "properties": {
  29395. "haswr": {
  29396. "description": "0:仓单预售 1:仓单贸易",
  29397. "type": "integer"
  29398. },
  29399. "lstitem": {
  29400. "description": "商品信息项",
  29401. "type": "array",
  29402. "items": {
  29403. "$ref": "#/definitions/models.WrTypeItem"
  29404. }
  29405. },
  29406. "lststep": {
  29407. "description": "履约规则",
  29408. "type": "array",
  29409. "items": {
  29410. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  29411. }
  29412. },
  29413. "marketid": {
  29414. "description": "市场id",
  29415. "type": "integer"
  29416. }
  29417. }
  29418. },
  29419. "models.WrGoodsPerformanceStep": {
  29420. "type": "object",
  29421. "properties": {
  29422. "autoid": {
  29423. "description": "AutoID",
  29424. "type": "integer"
  29425. },
  29426. "isauto": {
  29427. "description": "是否自动 - 0:不自动 1:自动",
  29428. "type": "integer"
  29429. },
  29430. "remark": {
  29431. "description": "备注",
  29432. "type": "string"
  29433. },
  29434. "stepdate": {
  29435. "description": "天数信息(T+N)",
  29436. "type": "string"
  29437. },
  29438. "stepdays": {
  29439. "description": "距离上一步天数",
  29440. "type": "integer"
  29441. },
  29442. "stepindex": {
  29443. "description": "步骤序号",
  29444. "type": "integer"
  29445. },
  29446. "stepinfo": {
  29447. "description": "步骤信息(步骤名称+步骤值)",
  29448. "type": "string"
  29449. },
  29450. "steptypeid": {
  29451. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  29452. "type": "integer"
  29453. },
  29454. "steptypename": {
  29455. "description": "步骤名称",
  29456. "type": "string"
  29457. },
  29458. "stepvalue": {
  29459. "description": "步骤值",
  29460. "type": "number"
  29461. },
  29462. "templateid": {
  29463. "description": "履约计划模板ID",
  29464. "type": "integer"
  29465. }
  29466. }
  29467. },
  29468. "models.WrHoldLB": {
  29469. "type": "object",
  29470. "properties": {
  29471. "accountid": {
  29472. "description": "持有人帐户ID",
  29473. "type": "integer"
  29474. },
  29475. "createtime": {
  29476. "description": "创建时间(过户时间)",
  29477. "type": "string"
  29478. },
  29479. "deliverygoodscode": {
  29480. "description": "品种代码",
  29481. "type": "string"
  29482. },
  29483. "deliverygoodsid": {
  29484. "description": "品种ID",
  29485. "type": "integer"
  29486. },
  29487. "deliverygoodsname": {
  29488. "description": "品种名称",
  29489. "type": "string"
  29490. },
  29491. "enableqty": {
  29492. "description": "可用数量",
  29493. "type": "number"
  29494. },
  29495. "enumdicname": {
  29496. "description": "单位名称",
  29497. "type": "string"
  29498. },
  29499. "freezerqty": {
  29500. "description": "冻结数量",
  29501. "type": "number"
  29502. },
  29503. "ladingbillid": {
  29504. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  29505. "type": "integer"
  29506. },
  29507. "optioncompare": {
  29508. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29509. "type": "string"
  29510. },
  29511. "parentsubnum": {
  29512. "description": "拆分父子单号",
  29513. "type": "integer"
  29514. },
  29515. "pledgeqty": {
  29516. "description": "质押数量",
  29517. "type": "number"
  29518. },
  29519. "qty": {
  29520. "description": "数量",
  29521. "type": "number"
  29522. },
  29523. "subnum": {
  29524. "description": "提单子单号",
  29525. "type": "integer"
  29526. },
  29527. "tradedate": {
  29528. "description": "交易日(yyyyMMdd)",
  29529. "type": "string"
  29530. },
  29531. "userid": {
  29532. "description": "持有人ID",
  29533. "type": "integer"
  29534. },
  29535. "warehouseid": {
  29536. "description": "仓库ID",
  29537. "type": "integer"
  29538. },
  29539. "warehousename": {
  29540. "description": "仓库名称",
  29541. "type": "string"
  29542. },
  29543. "wrfactortypeid": {
  29544. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  29545. "type": "integer"
  29546. },
  29547. "wrfactortypename": {
  29548. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29549. "type": "string"
  29550. },
  29551. "wrholdeno": {
  29552. "description": "仓单编号",
  29553. "type": "string"
  29554. },
  29555. "wrid": {
  29556. "description": "仓单变更ID",
  29557. "type": "integer"
  29558. },
  29559. "wrstandardcode": {
  29560. "description": "现货商品代码",
  29561. "type": "string"
  29562. },
  29563. "wrstandardid": {
  29564. "description": "现货商品ID",
  29565. "type": "integer"
  29566. },
  29567. "wrstandardname": {
  29568. "description": "商品名称",
  29569. "type": "string"
  29570. },
  29571. "wrtypename": {
  29572. "description": "商品",
  29573. "type": "string"
  29574. }
  29575. }
  29576. },
  29577. "models.WrOrderDetail": {
  29578. "type": "object",
  29579. "properties": {
  29580. "buyorsell": {
  29581. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  29582. "type": "integer"
  29583. },
  29584. "cancelqty": {
  29585. "description": "撤销数量",
  29586. "type": "number"
  29587. },
  29588. "deliverygoodscode": {
  29589. "description": "品种代码",
  29590. "type": "string"
  29591. },
  29592. "deliverygoodsid": {
  29593. "description": "品种ID",
  29594. "type": "integer"
  29595. },
  29596. "deliverygoodsname": {
  29597. "description": "品种名称",
  29598. "type": "string"
  29599. },
  29600. "deliverymonth": {
  29601. "description": "交收月",
  29602. "type": "string"
  29603. },
  29604. "enumdicname": {
  29605. "description": "单位名称",
  29606. "type": "string"
  29607. },
  29608. "fixedprice": {
  29609. "description": "固定价格 - [挂牌]",
  29610. "type": "number"
  29611. },
  29612. "futupricemove": {
  29613. "description": "期货升贴水",
  29614. "type": "number"
  29615. },
  29616. "futushow": {
  29617. "description": "期货合约/升贴水",
  29618. "type": "string"
  29619. },
  29620. "goodscode": {
  29621. "description": "期货合约",
  29622. "type": "string"
  29623. },
  29624. "goodsid": {
  29625. "description": "期货商品id",
  29626. "type": "integer"
  29627. },
  29628. "haswr": {
  29629. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  29630. "type": "integer"
  29631. },
  29632. "marketid": {
  29633. "description": "市场ID",
  29634. "type": "integer"
  29635. },
  29636. "optioncompare": {
  29637. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29638. "type": "string"
  29639. },
  29640. "orderqty": {
  29641. "description": "委托数量",
  29642. "type": "number"
  29643. },
  29644. "ordertime": {
  29645. "description": "委托时间(挂牌时间)",
  29646. "type": "string"
  29647. },
  29648. "pricemove": {
  29649. "description": "升贴水(浮动价时填写) - [挂牌]",
  29650. "type": "number"
  29651. },
  29652. "tradedate": {
  29653. "description": "交易日(yyyyMMdd)",
  29654. "type": "string"
  29655. },
  29656. "tradeprice": {
  29657. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  29658. "type": "number"
  29659. },
  29660. "tradeqty": {
  29661. "description": "成交数量",
  29662. "type": "number"
  29663. },
  29664. "userid": {
  29665. "description": "用户ID",
  29666. "type": "integer"
  29667. },
  29668. "warehouseid": {
  29669. "description": "仓库ID",
  29670. "type": "integer"
  29671. },
  29672. "warehousename": {
  29673. "description": "仓库名称",
  29674. "type": "string"
  29675. },
  29676. "wrfactortypeid": {
  29677. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  29678. "type": "integer"
  29679. },
  29680. "wrfactortypename": {
  29681. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29682. "type": "string"
  29683. },
  29684. "wrpricetype": {
  29685. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  29686. "type": "integer"
  29687. },
  29688. "wrstandardcode": {
  29689. "description": "现货商品代码",
  29690. "type": "string"
  29691. },
  29692. "wrstandardid": {
  29693. "description": "现货商品ID",
  29694. "type": "integer"
  29695. },
  29696. "wrstandardname": {
  29697. "description": "商品名称",
  29698. "type": "string"
  29699. },
  29700. "wrtradeorderid": {
  29701. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29702. "type": "string"
  29703. },
  29704. "wrtradeorderstatus": {
  29705. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  29706. "type": "integer"
  29707. },
  29708. "wrtradetype": {
  29709. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  29710. "type": "integer"
  29711. },
  29712. "wrtypename": {
  29713. "description": "商品",
  29714. "type": "string"
  29715. }
  29716. }
  29717. },
  29718. "models.WrOrderQuote": {
  29719. "type": "object",
  29720. "properties": {
  29721. "buyprice": {
  29722. "description": "买价",
  29723. "type": "number"
  29724. },
  29725. "buypricemove": {
  29726. "description": "买升贴水(基差)",
  29727. "type": "number"
  29728. },
  29729. "buyqty": {
  29730. "description": "买量",
  29731. "type": "number"
  29732. },
  29733. "deliverygoodscode": {
  29734. "description": "品种代码",
  29735. "type": "string"
  29736. },
  29737. "deliverygoodsid": {
  29738. "description": "品种id",
  29739. "type": "integer"
  29740. },
  29741. "deliverygoodsname": {
  29742. "description": "品种名称",
  29743. "type": "string"
  29744. },
  29745. "deliverymonth": {
  29746. "description": "交收月",
  29747. "type": "string"
  29748. },
  29749. "goodscode": {
  29750. "description": "商品合约(浮动价列表才有)",
  29751. "type": "string"
  29752. },
  29753. "goodsid": {
  29754. "description": "商品id(浮动价列表才有)",
  29755. "type": "integer"
  29756. },
  29757. "sellprice": {
  29758. "description": "卖价",
  29759. "type": "number"
  29760. },
  29761. "sellpricemove": {
  29762. "description": "卖升贴水(基差)",
  29763. "type": "number"
  29764. },
  29765. "sellqty": {
  29766. "description": "卖量",
  29767. "type": "number"
  29768. },
  29769. "warehousecode": {
  29770. "description": "仓库代码",
  29771. "type": "string"
  29772. },
  29773. "warehouseid": {
  29774. "description": "仓库id",
  29775. "type": "integer"
  29776. },
  29777. "warehousename": {
  29778. "description": "仓库名称",
  29779. "type": "string"
  29780. },
  29781. "wrfactortypeid": {
  29782. "description": "仓单要素id",
  29783. "type": "integer"
  29784. },
  29785. "wrfactortypename": {
  29786. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29787. "type": "string"
  29788. },
  29789. "wrgoodsname": {
  29790. "description": "商品(商品名称+仓库要素名称 拼接)",
  29791. "type": "string"
  29792. },
  29793. "wrstandardcode": {
  29794. "description": "商品代码",
  29795. "type": "string"
  29796. },
  29797. "wrstandardid": {
  29798. "description": "商品id",
  29799. "type": "integer"
  29800. },
  29801. "wrstandardname": {
  29802. "description": "商品名称",
  29803. "type": "string"
  29804. }
  29805. }
  29806. },
  29807. "models.WrOrderQuoteDetail": {
  29808. "type": "object",
  29809. "properties": {
  29810. "buyorsell": {
  29811. "description": "买卖 - 0:买 1:卖",
  29812. "type": "integer"
  29813. },
  29814. "fixedprice": {
  29815. "description": "买(卖)价",
  29816. "type": "number"
  29817. },
  29818. "orderqty": {
  29819. "description": "买(卖)量(=委托量-成交量)",
  29820. "type": "number"
  29821. },
  29822. "pricemove": {
  29823. "description": "买(卖)升贴水- 基差",
  29824. "type": "number"
  29825. },
  29826. "userid": {
  29827. "description": "购买方(销售方)用户ID",
  29828. "type": "integer"
  29829. },
  29830. "username": {
  29831. "description": "购买方(销售方)",
  29832. "type": "string"
  29833. },
  29834. "wrtradeorderid": {
  29835. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29836. "type": "string"
  29837. }
  29838. }
  29839. },
  29840. "models.WrPerformancePlan": {
  29841. "type": "object",
  29842. "required": [
  29843. "userid"
  29844. ],
  29845. "properties": {
  29846. "amount": {
  29847. "description": "履约金额(总金额)",
  29848. "type": "number"
  29849. },
  29850. "buyaccountid": {
  29851. "description": "买方账号",
  29852. "type": "integer"
  29853. },
  29854. "buyerfreezeamount": {
  29855. "description": "履约冻结(买履约)",
  29856. "type": "number"
  29857. },
  29858. "buyerfreezeamountremain": {
  29859. "description": "履约冻结剩余(买履约)",
  29860. "type": "number"
  29861. },
  29862. "buyorsell": {
  29863. "description": "买卖方向 0-买 1-卖",
  29864. "type": "integer"
  29865. },
  29866. "buypaidamount": {
  29867. "description": "买方已冻/已扣金额 (已付金额)",
  29868. "type": "number"
  29869. },
  29870. "buyusername": {
  29871. "description": "买方名字",
  29872. "type": "string"
  29873. },
  29874. "contractid": {
  29875. "description": "合同ID",
  29876. "type": "integer"
  29877. },
  29878. "createtime": {
  29879. "description": "创建时间(开始时间)",
  29880. "type": "string"
  29881. },
  29882. "creatorid": {
  29883. "description": "创建人",
  29884. "type": "integer"
  29885. },
  29886. "curstepdeadline": {
  29887. "description": "当前步骤到期时间",
  29888. "type": "string"
  29889. },
  29890. "curstepid": {
  29891. "description": "当前步骤ID",
  29892. "type": "integer"
  29893. },
  29894. "curstepname": {
  29895. "description": "当前步骤名称",
  29896. "type": "string"
  29897. },
  29898. "deliverygoodscode": {
  29899. "description": "品种代码",
  29900. "type": "string"
  29901. },
  29902. "deliverygoodsid": {
  29903. "description": "品种ID",
  29904. "type": "integer"
  29905. },
  29906. "deliverygoodsname": {
  29907. "description": "品种名称",
  29908. "type": "string"
  29909. },
  29910. "enumdicname": {
  29911. "description": "单位名称",
  29912. "type": "string"
  29913. },
  29914. "expressfee": {
  29915. "description": "运费",
  29916. "type": "number"
  29917. },
  29918. "expressfeeconfirmed": {
  29919. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  29920. "type": "integer"
  29921. },
  29922. "hasovershort": {
  29923. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  29924. "type": "integer"
  29925. },
  29926. "haswr": {
  29927. "description": "类型 0-仓单预售 1-仓单贸易",
  29928. "type": "integer"
  29929. },
  29930. "marketid": {
  29931. "description": "市场ID",
  29932. "type": "integer"
  29933. },
  29934. "middleaccountid": {
  29935. "description": "中间商资金账号ID",
  29936. "type": "integer"
  29937. },
  29938. "middleuserid": {
  29939. "description": "中间商用户ID",
  29940. "type": "integer"
  29941. },
  29942. "optioncompare": {
  29943. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29944. "type": "string"
  29945. },
  29946. "overshortamount": {
  29947. "description": "溢短金额",
  29948. "type": "number"
  29949. },
  29950. "overshortqty": {
  29951. "description": "溢短数量",
  29952. "type": "number"
  29953. },
  29954. "paymenttype": {
  29955. "description": "付款方式 - 1:冻结 2:扣款",
  29956. "type": "integer"
  29957. },
  29958. "performanceplanid": {
  29959. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  29960. "type": "integer"
  29961. },
  29962. "performancestatus": {
  29963. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  29964. "type": "integer"
  29965. },
  29966. "performancetype": {
  29967. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  29968. "type": "integer"
  29969. },
  29970. "qty": {
  29971. "description": "履约数量",
  29972. "type": "number"
  29973. },
  29974. "relatedorderid": {
  29975. "description": "关联单号(履约类型的关联单号)",
  29976. "type": "string"
  29977. },
  29978. "remark": {
  29979. "description": "备注",
  29980. "type": "string"
  29981. },
  29982. "sellaccountid": {
  29983. "description": "卖方账号",
  29984. "type": "integer"
  29985. },
  29986. "sellerfreezeamount": {
  29987. "description": "履约冻结(卖履约)",
  29988. "type": "number"
  29989. },
  29990. "sellerfreezeamountremain": {
  29991. "description": "履约冻结剩余(卖履约)",
  29992. "type": "number"
  29993. },
  29994. "sellreceivedamount": {
  29995. "description": "卖方已收金额",
  29996. "type": "number"
  29997. },
  29998. "sellusername": {
  29999. "description": "卖方名字",
  30000. "type": "string"
  30001. },
  30002. "shipremark": {
  30003. "description": "发货备注[物流单号]",
  30004. "type": "string"
  30005. },
  30006. "userid": {
  30007. "description": "用户id",
  30008. "type": "integer"
  30009. },
  30010. "warehouseid": {
  30011. "description": "仓库ID",
  30012. "type": "integer"
  30013. },
  30014. "warehousename": {
  30015. "description": "仓库名称",
  30016. "type": "string"
  30017. },
  30018. "wrfactortypeid": {
  30019. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30020. "type": "integer"
  30021. },
  30022. "wrfactortypename": {
  30023. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30024. "type": "string"
  30025. },
  30026. "wrstandardcode": {
  30027. "description": "现货商品代码",
  30028. "type": "string"
  30029. },
  30030. "wrstandardid": {
  30031. "description": "现货商品ID",
  30032. "type": "integer"
  30033. },
  30034. "wrstandardname": {
  30035. "description": "商品名称",
  30036. "type": "string"
  30037. },
  30038. "wrtransferuserid": {
  30039. "description": "仓单受让用户",
  30040. "type": "integer"
  30041. },
  30042. "wrtypename": {
  30043. "description": "商品",
  30044. "type": "string"
  30045. }
  30046. }
  30047. },
  30048. "models.WrPosition": {
  30049. "type": "object",
  30050. "properties": {
  30051. "accountid": {
  30052. "description": "帐户ID",
  30053. "type": "integer"
  30054. },
  30055. "buyexcuteqty": {
  30056. "description": "采购履约中数量",
  30057. "type": "number"
  30058. },
  30059. "creditcurqty": {
  30060. "description": "授信当前数量(预售仓单:预售当前量)",
  30061. "type": "number"
  30062. },
  30063. "creditenableqty": {
  30064. "description": "授信可用数量(预售仓单: 可用数量)",
  30065. "type": "number"
  30066. },
  30067. "creditfreezeqty": {
  30068. "description": "授信冻结数量(预售仓单: 当前数量)",
  30069. "type": "number"
  30070. },
  30071. "credittotalqty": {
  30072. "description": "授信总数量(预售仓单:预售总量)",
  30073. "type": "number"
  30074. },
  30075. "credittradeqty": {
  30076. "description": "授信成交数量(预售仓单:成交总量)",
  30077. "type": "number"
  30078. },
  30079. "deliverygoodscode": {
  30080. "description": "品种代码",
  30081. "type": "string"
  30082. },
  30083. "deliverygoodsid": {
  30084. "description": "品种ID",
  30085. "type": "integer"
  30086. },
  30087. "deliverygoodsname": {
  30088. "description": "品种名称",
  30089. "type": "string"
  30090. },
  30091. "enalbeqty": {
  30092. "description": "可用数量",
  30093. "type": "number"
  30094. },
  30095. "enumdicname": {
  30096. "description": "单位名称",
  30097. "type": "string"
  30098. },
  30099. "freezeqty": {
  30100. "description": "总冻结数量",
  30101. "type": "number"
  30102. },
  30103. "modifytime": {
  30104. "description": "修改时间(过户时间)",
  30105. "type": "string"
  30106. },
  30107. "optioncompare": {
  30108. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30109. "type": "string"
  30110. },
  30111. "pledgeqty": {
  30112. "description": "质押数量",
  30113. "type": "number"
  30114. },
  30115. "querytype": {
  30116. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总) 3-现货明细",
  30117. "type": "integer"
  30118. },
  30119. "sellexcuteqty": {
  30120. "description": "销售履约中数量",
  30121. "type": "number"
  30122. },
  30123. "totalqty": {
  30124. "description": "总数量(库存数量)",
  30125. "type": "number"
  30126. },
  30127. "warehouseid": {
  30128. "description": "仓库ID",
  30129. "type": "integer"
  30130. },
  30131. "warehousename": {
  30132. "description": "仓库名称",
  30133. "type": "string"
  30134. },
  30135. "wrfactortypeid": {
  30136. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30137. "type": "integer"
  30138. },
  30139. "wrfactortypename": {
  30140. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30141. "type": "string"
  30142. },
  30143. "wrpositionid": {
  30144. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  30145. "type": "integer"
  30146. },
  30147. "wrpositionno": {
  30148. "description": "仓单编号",
  30149. "type": "string"
  30150. },
  30151. "wrstandardcode": {
  30152. "description": "现货商品代码",
  30153. "type": "string"
  30154. },
  30155. "wrstandardid": {
  30156. "description": "现货商品ID",
  30157. "type": "integer"
  30158. },
  30159. "wrstandardname": {
  30160. "description": "商品名称",
  30161. "type": "string"
  30162. },
  30163. "wrtypename": {
  30164. "description": "商品",
  30165. "type": "string"
  30166. },
  30167. "wruserid": {
  30168. "description": "持有人ID",
  30169. "type": "integer"
  30170. }
  30171. }
  30172. },
  30173. "models.WrSpecialMatchOrder": {
  30174. "type": "object",
  30175. "properties": {
  30176. "amount": {
  30177. "description": "金额 = 数量 * 价格",
  30178. "type": "number"
  30179. },
  30180. "buyorsell": {
  30181. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  30182. "type": "integer"
  30183. },
  30184. "cancelqty": {
  30185. "description": "撤销数量",
  30186. "type": "number"
  30187. },
  30188. "deliverygoodscode": {
  30189. "description": "品种代码",
  30190. "type": "string"
  30191. },
  30192. "deliverygoodsid": {
  30193. "description": "品种ID",
  30194. "type": "integer"
  30195. },
  30196. "deliverygoodsname": {
  30197. "description": "品种名称",
  30198. "type": "string"
  30199. },
  30200. "enumdicname": {
  30201. "description": "单位名称",
  30202. "type": "string"
  30203. },
  30204. "fixedprice": {
  30205. "description": "固定价格(价格)",
  30206. "type": "number"
  30207. },
  30208. "haswr": {
  30209. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30210. "type": "integer"
  30211. },
  30212. "marketid": {
  30213. "description": "市场ID",
  30214. "type": "integer"
  30215. },
  30216. "matchuserid": {
  30217. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  30218. "type": "integer"
  30219. },
  30220. "matchusername": {
  30221. "description": "指定方",
  30222. "type": "string"
  30223. },
  30224. "optioncompare": {
  30225. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30226. "type": "string"
  30227. },
  30228. "orderqty": {
  30229. "description": "委托数量",
  30230. "type": "number"
  30231. },
  30232. "ordertime": {
  30233. "description": "委托时间",
  30234. "type": "string"
  30235. },
  30236. "pricemove": {
  30237. "description": "升贴水(浮动价时填写) - [挂牌]",
  30238. "type": "number"
  30239. },
  30240. "tradedate": {
  30241. "description": "交易日(yyyyMMdd)",
  30242. "type": "string"
  30243. },
  30244. "tradeprice": {
  30245. "description": "成交价格",
  30246. "type": "number"
  30247. },
  30248. "tradeqty": {
  30249. "description": "成交数量",
  30250. "type": "number"
  30251. },
  30252. "userid": {
  30253. "description": "用户ID",
  30254. "type": "integer"
  30255. },
  30256. "username": {
  30257. "description": "发起方",
  30258. "type": "string"
  30259. },
  30260. "warehouseid": {
  30261. "description": "仓库ID",
  30262. "type": "integer"
  30263. },
  30264. "warehousename": {
  30265. "description": "仓库名称",
  30266. "type": "string"
  30267. },
  30268. "wrfactortypeid": {
  30269. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30270. "type": "integer"
  30271. },
  30272. "wrfactortypename": {
  30273. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30274. "type": "string"
  30275. },
  30276. "wrpricetype": {
  30277. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  30278. "type": "integer"
  30279. },
  30280. "wrstandardcode": {
  30281. "description": "现货商品代码",
  30282. "type": "string"
  30283. },
  30284. "wrstandardid": {
  30285. "description": "现货商品ID",
  30286. "type": "integer"
  30287. },
  30288. "wrstandardname": {
  30289. "description": "商品名称",
  30290. "type": "string"
  30291. },
  30292. "wrtradeorderid": {
  30293. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30294. "type": "string"
  30295. },
  30296. "wrtradeorderstatus": {
  30297. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  30298. "type": "integer"
  30299. },
  30300. "wrtradetype": {
  30301. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  30302. "type": "integer"
  30303. },
  30304. "wrtypename": {
  30305. "description": "商品",
  30306. "type": "string"
  30307. }
  30308. }
  30309. },
  30310. "models.WrTradeDetail": {
  30311. "type": "object",
  30312. "properties": {
  30313. "accountid": {
  30314. "description": "资金账号",
  30315. "type": "integer"
  30316. },
  30317. "buyorsell": {
  30318. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  30319. "type": "integer"
  30320. },
  30321. "deliverygoodscode": {
  30322. "description": "品种代码",
  30323. "type": "string"
  30324. },
  30325. "deliverygoodsid": {
  30326. "description": "品种ID",
  30327. "type": "integer"
  30328. },
  30329. "deliverygoodsname": {
  30330. "description": "品种名称",
  30331. "type": "string"
  30332. },
  30333. "deliverymonth": {
  30334. "description": "交收月",
  30335. "type": "string"
  30336. },
  30337. "enumdicname": {
  30338. "description": "单位名称",
  30339. "type": "string"
  30340. },
  30341. "haswr": {
  30342. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30343. "type": "integer"
  30344. },
  30345. "marketid": {
  30346. "description": "市场ID",
  30347. "type": "integer"
  30348. },
  30349. "matchaccountid": {
  30350. "description": "对手账号",
  30351. "type": "integer"
  30352. },
  30353. "matchusername": {
  30354. "description": "对手方",
  30355. "type": "string"
  30356. },
  30357. "optioncompare": {
  30358. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30359. "type": "string"
  30360. },
  30361. "tradedate": {
  30362. "description": "交易日(yyyyMMdd)",
  30363. "type": "string"
  30364. },
  30365. "tradeprice": {
  30366. "description": "成交价格",
  30367. "type": "number"
  30368. },
  30369. "tradeqty": {
  30370. "description": "成交数量",
  30371. "type": "number"
  30372. },
  30373. "tradetime": {
  30374. "description": "成交时间",
  30375. "type": "string"
  30376. },
  30377. "userid": {
  30378. "description": "用户ID",
  30379. "type": "integer"
  30380. },
  30381. "warehouseid": {
  30382. "description": "仓库ID",
  30383. "type": "integer"
  30384. },
  30385. "warehousename": {
  30386. "description": "仓库名称",
  30387. "type": "string"
  30388. },
  30389. "wrfactortypeid": {
  30390. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30391. "type": "integer"
  30392. },
  30393. "wrfactortypename": {
  30394. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30395. "type": "string"
  30396. },
  30397. "wrstandardcode": {
  30398. "description": "现货商品代码",
  30399. "type": "string"
  30400. },
  30401. "wrstandardid": {
  30402. "description": "现货商品ID",
  30403. "type": "integer"
  30404. },
  30405. "wrstandardname": {
  30406. "description": "商品名称",
  30407. "type": "string"
  30408. },
  30409. "wrtradedetailid": {
  30410. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  30411. "type": "string"
  30412. },
  30413. "wrtradetype": {
  30414. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  30415. "type": "integer"
  30416. },
  30417. "wrtypename": {
  30418. "description": "商品",
  30419. "type": "string"
  30420. }
  30421. }
  30422. },
  30423. "models.WrTypeItem": {
  30424. "type": "object",
  30425. "properties": {
  30426. "name": {
  30427. "description": "名称",
  30428. "type": "string"
  30429. },
  30430. "value": {
  30431. "description": "值",
  30432. "type": "string"
  30433. }
  30434. }
  30435. },
  30436. "order.QueryHisTradeDetailRsp": {
  30437. "type": "object",
  30438. "required": [
  30439. "accountid",
  30440. "buyorsell",
  30441. "goodsid",
  30442. "histradedate",
  30443. "marketid",
  30444. "memberuserid",
  30445. "orderid",
  30446. "tradeamount",
  30447. "tradedate",
  30448. "tradeid",
  30449. "tradeprice",
  30450. "tradeqty",
  30451. "tradetime"
  30452. ],
  30453. "properties": {
  30454. "accountid": {
  30455. "description": "账户ID[报价币种]",
  30456. "type": "integer"
  30457. },
  30458. "advanceratio": {
  30459. "description": "首付比率",
  30460. "type": "number"
  30461. },
  30462. "buildtype": {
  30463. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  30464. "type": "integer"
  30465. },
  30466. "buyorsell": {
  30467. "description": "方向 - 0:买 1:卖",
  30468. "type": "integer"
  30469. },
  30470. "charge": {
  30471. "description": "手续费",
  30472. "type": "number"
  30473. },
  30474. "closecharge": {
  30475. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  30476. "type": "number"
  30477. },
  30478. "closeexchagechargevalue": {
  30479. "description": "平仓交易所手续费设置值",
  30480. "type": "number"
  30481. },
  30482. "closefeealgorithm": {
  30483. "description": "平仓手续费收取方式 1:比率 2:固定",
  30484. "type": "integer"
  30485. },
  30486. "closememberchargevalue": {
  30487. "description": "平仓会员手续费设置值",
  30488. "type": "number"
  30489. },
  30490. "closepl": {
  30491. "description": "平仓盈亏",
  30492. "type": "number"
  30493. },
  30494. "closepl2": {
  30495. "description": "平仓盈亏[逐笔]",
  30496. "type": "number"
  30497. },
  30498. "closeqty": {
  30499. "description": "平仓数量(先建后平操作 需要记录)",
  30500. "type": "number"
  30501. },
  30502. "creditamount": {
  30503. "description": "授信金额",
  30504. "type": "number"
  30505. },
  30506. "decimalplace": {
  30507. "description": "商品报价小数位",
  30508. "type": "integer"
  30509. },
  30510. "enumdicname": {
  30511. "description": "单位名称",
  30512. "type": "string"
  30513. },
  30514. "gcaccountid": {
  30515. "description": "账户ID[合约币种]",
  30516. "type": "integer"
  30517. },
  30518. "goodscode": {
  30519. "description": "商品代码",
  30520. "type": "string"
  30521. },
  30522. "goodsid": {
  30523. "description": "商品ID",
  30524. "type": "integer"
  30525. },
  30526. "goodsname": {
  30527. "description": "商品名称",
  30528. "type": "string"
  30529. },
  30530. "goodunitid": {
  30531. "description": "商品单位id",
  30532. "type": "integer"
  30533. },
  30534. "histradedate": {
  30535. "description": "历史交易日",
  30536. "type": "string"
  30537. },
  30538. "intclosepl": {
  30539. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  30540. "type": "integer"
  30541. },
  30542. "isconfirmexercise": {
  30543. "description": "是否确认行权- 0:否 1:是",
  30544. "type": "integer"
  30545. },
  30546. "ismain": {
  30547. "description": "是否主单 - 0:不是 1:是",
  30548. "type": "integer"
  30549. },
  30550. "ispreexercise": {
  30551. "description": "是否预申报- 0:否 1:是",
  30552. "type": "integer"
  30553. },
  30554. "isreckoned": {
  30555. "description": "是否结算 - 0:未结算 1:已结算",
  30556. "type": "integer"
  30557. },
  30558. "isvaliddata": {
  30559. "description": "是否有效 - 0:无效 1:有效",
  30560. "type": "integer"
  30561. },
  30562. "listingselecttype": {
  30563. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30564. "type": "integer"
  30565. },
  30566. "marketid": {
  30567. "description": "市场ID",
  30568. "type": "integer"
  30569. },
  30570. "marketname": {
  30571. "description": "市场名称",
  30572. "type": "string"
  30573. },
  30574. "matchaccountid": {
  30575. "description": "对手账号id",
  30576. "type": "integer"
  30577. },
  30578. "memberuserid": {
  30579. "description": "会员id 个人投资者 需要填写",
  30580. "type": "integer"
  30581. },
  30582. "opencharge": {
  30583. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  30584. "type": "number"
  30585. },
  30586. "openexchagechargevalue": {
  30587. "description": "建仓交易所手续费设置值",
  30588. "type": "number"
  30589. },
  30590. "openfeealgorithm": {
  30591. "description": "建仓手续费收取方式 1:比率 2:固定",
  30592. "type": "integer"
  30593. },
  30594. "openmemberchargevalue": {
  30595. "description": "建仓会员手续费设置值",
  30596. "type": "number"
  30597. },
  30598. "openqty": {
  30599. "description": "开仓数量(先建后平操作 需要记录)",
  30600. "type": "number"
  30601. },
  30602. "optiontype": {
  30603. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30604. "type": "integer"
  30605. },
  30606. "orderid": {
  30607. "description": "委托单号",
  30608. "type": "string"
  30609. },
  30610. "payamount": {
  30611. "description": "支付金额(付款金额)",
  30612. "type": "number"
  30613. },
  30614. "performanceplanid": {
  30615. "description": "履约计划ID[期权]",
  30616. "type": "integer"
  30617. },
  30618. "performancestatus": {
  30619. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  30620. "type": "integer"
  30621. },
  30622. "preexerciseprice": {
  30623. "description": "预申报价格",
  30624. "type": "number"
  30625. },
  30626. "premium": {
  30627. "description": "权利金 - [持仓单的权利金]",
  30628. "type": "number"
  30629. },
  30630. "qtydecimalplace": {
  30631. "description": "商品报价小数位",
  30632. "type": "integer"
  30633. },
  30634. "recvamount": {
  30635. "description": "到账金额 = 成交金额 - 手续费",
  30636. "type": "number"
  30637. },
  30638. "relatedouttradeid": {
  30639. "description": "关联外部成交单ID",
  30640. "type": "integer"
  30641. },
  30642. "status": {
  30643. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  30644. "type": "integer"
  30645. },
  30646. "totalamount": {
  30647. "description": "订单总额 = 成交金额 + 手续费",
  30648. "type": "number"
  30649. },
  30650. "tradeamount": {
  30651. "description": "成交金额[账户币种,用于所有权]",
  30652. "type": "number"
  30653. },
  30654. "tradedate": {
  30655. "description": "交易日(yyyyMMdd)",
  30656. "type": "string"
  30657. },
  30658. "tradeid": {
  30659. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30660. "type": "string"
  30661. },
  30662. "trademode": {
  30663. "description": "交易模式",
  30664. "type": "integer"
  30665. },
  30666. "tradeprice": {
  30667. "description": "成交价格",
  30668. "type": "number"
  30669. },
  30670. "tradeproperty": {
  30671. "description": "交易属性",
  30672. "type": "integer"
  30673. },
  30674. "tradeqty": {
  30675. "description": "成交数量",
  30676. "type": "number"
  30677. },
  30678. "tradetime": {
  30679. "description": "成交时间",
  30680. "type": "string"
  30681. },
  30682. "tradetype": {
  30683. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  30684. "type": "integer"
  30685. }
  30686. }
  30687. },
  30688. "order.QueryHisTradeOrderDetailRsp": {
  30689. "type": "object",
  30690. "required": [
  30691. "accountid",
  30692. "buildtype",
  30693. "buyorsell",
  30694. "goodsid",
  30695. "histradedate",
  30696. "marketid",
  30697. "memberuserid",
  30698. "operatetype",
  30699. "orderid",
  30700. "orderqty",
  30701. "ordertime",
  30702. "pricemode",
  30703. "tradedate",
  30704. "validtype"
  30705. ],
  30706. "properties": {
  30707. "accountid": {
  30708. "description": "账户ID[报价币种]",
  30709. "type": "integer"
  30710. },
  30711. "buildtype": {
  30712. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  30713. "type": "integer"
  30714. },
  30715. "buyorsell": {
  30716. "description": "买卖 - 0:买 1:卖",
  30717. "type": "integer"
  30718. },
  30719. "cancelorderid": {
  30720. "description": "撤单单号(撤单时填写)",
  30721. "type": "string"
  30722. },
  30723. "cancelqty": {
  30724. "description": "撤单数量",
  30725. "type": "number"
  30726. },
  30727. "clientordertime": {
  30728. "description": "客户端委托时间",
  30729. "type": "string"
  30730. },
  30731. "clientticket": {
  30732. "description": "客户端流水号",
  30733. "type": "string"
  30734. },
  30735. "clienttype": {
  30736. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30737. "type": "integer"
  30738. },
  30739. "closeexchagechargevalue": {
  30740. "description": "平仓交易所手续费设置值",
  30741. "type": "number"
  30742. },
  30743. "closefeealgorithm": {
  30744. "description": "平仓手续费收取方式 1:比率 2:固定",
  30745. "type": "integer"
  30746. },
  30747. "closefreezecharge": {
  30748. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  30749. "type": "number"
  30750. },
  30751. "closememberchargevalue": {
  30752. "description": "平仓会员手续费设置值",
  30753. "type": "number"
  30754. },
  30755. "closeqty": {
  30756. "description": "平仓数量(先建后平操作 需要记录)",
  30757. "type": "number"
  30758. },
  30759. "closetradeqty": {
  30760. "description": "平仓成交数量(先建后平操作,需要记录)",
  30761. "type": "number"
  30762. },
  30763. "closeunfreezecharge": {
  30764. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  30765. "type": "number"
  30766. },
  30767. "decimalplace": {
  30768. "description": "商品报价小数位",
  30769. "type": "integer"
  30770. },
  30771. "delistingtype": {
  30772. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  30773. "type": "integer"
  30774. },
  30775. "enumdicname": {
  30776. "description": "单位名称",
  30777. "type": "string"
  30778. },
  30779. "freezecharge": {
  30780. "description": "冻结手续费",
  30781. "type": "number"
  30782. },
  30783. "freezemargin": {
  30784. "description": "冻结保证金(冻结交易金额)",
  30785. "type": "number"
  30786. },
  30787. "gcaccountid": {
  30788. "description": "账户ID[合约币种]",
  30789. "type": "integer"
  30790. },
  30791. "goodscode": {
  30792. "description": "商品代码",
  30793. "type": "string"
  30794. },
  30795. "goodsid": {
  30796. "description": "商品ID",
  30797. "type": "integer"
  30798. },
  30799. "goodsname": {
  30800. "description": "商品名称",
  30801. "type": "string"
  30802. },
  30803. "goodunitid": {
  30804. "description": "商品单位id",
  30805. "type": "integer"
  30806. },
  30807. "histradedate": {
  30808. "description": "历史交易日",
  30809. "type": "string"
  30810. },
  30811. "isconfirmexercise": {
  30812. "description": "是否确认行权- 0:否 1:是",
  30813. "type": "integer"
  30814. },
  30815. "ispreexercise": {
  30816. "description": "是否预申报- 0:否 1:是",
  30817. "type": "integer"
  30818. },
  30819. "isvaliddata": {
  30820. "description": "是否有效 - 0:无效 1:有效",
  30821. "type": "integer"
  30822. },
  30823. "listingselecttype": {
  30824. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30825. "type": "integer"
  30826. },
  30827. "marginalgorithm": {
  30828. "description": "保证金收取方式 1:比率 2:固定",
  30829. "type": "integer"
  30830. },
  30831. "marginvalue": {
  30832. "description": "即市保证金设置值",
  30833. "type": "number"
  30834. },
  30835. "marketid": {
  30836. "description": "市场ID",
  30837. "type": "integer"
  30838. },
  30839. "marketmaxsub": {
  30840. "description": "市价最大偏移范围",
  30841. "type": "number"
  30842. },
  30843. "marketname": {
  30844. "description": "市场名称",
  30845. "type": "string"
  30846. },
  30847. "memberuserid": {
  30848. "description": "所属会员UserID",
  30849. "type": "integer"
  30850. },
  30851. "openexchagechargevalue": {
  30852. "description": "建仓交易所手续费设置值",
  30853. "type": "number"
  30854. },
  30855. "openfeealgorithm": {
  30856. "description": "建仓手续费收取方式 1:比率 2:固定",
  30857. "type": "integer"
  30858. },
  30859. "openfreezecharge": {
  30860. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  30861. "type": "number"
  30862. },
  30863. "openmemberchargevalue": {
  30864. "description": "建仓会员手续费设置值",
  30865. "type": "number"
  30866. },
  30867. "openqty": {
  30868. "description": "开仓数量(先建后平操作,需要记录)",
  30869. "type": "number"
  30870. },
  30871. "opentradeqty": {
  30872. "description": "开仓成交数量(先建后平操作,需要记录)",
  30873. "type": "number"
  30874. },
  30875. "openunfreezecharge": {
  30876. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  30877. "type": "number"
  30878. },
  30879. "operatetype": {
  30880. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  30881. "type": "integer"
  30882. },
  30883. "operatorid": {
  30884. "description": "登录账号(LoginID)",
  30885. "type": "integer"
  30886. },
  30887. "optiontype": {
  30888. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30889. "type": "integer"
  30890. },
  30891. "orderid": {
  30892. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30893. "type": "string"
  30894. },
  30895. "orderprice": {
  30896. "description": "委托价格",
  30897. "type": "number"
  30898. },
  30899. "orderqty": {
  30900. "description": "委托数量",
  30901. "type": "number"
  30902. },
  30903. "ordersrc": {
  30904. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  30905. "type": "integer"
  30906. },
  30907. "orderstatus": {
  30908. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30909. "type": "integer"
  30910. },
  30911. "ordertime": {
  30912. "description": "委托时间",
  30913. "type": "string"
  30914. },
  30915. "preexerciseprice": {
  30916. "description": "预申报价格",
  30917. "type": "number"
  30918. },
  30919. "premium": {
  30920. "description": "权利金",
  30921. "type": "number"
  30922. },
  30923. "preorderid": {
  30924. "description": "关联预埋单号(止盈止损单时填写)",
  30925. "type": "string"
  30926. },
  30927. "pricemode": {
  30928. "description": "取价方式 - 1:市价 2: 限价",
  30929. "type": "integer"
  30930. },
  30931. "qtydecimalplace": {
  30932. "description": "成交量小数位",
  30933. "type": "integer"
  30934. },
  30935. "quoteid": {
  30936. "description": "报价单ID",
  30937. "type": "integer"
  30938. },
  30939. "relatedid": {
  30940. "description": "关联单号(交割单)",
  30941. "type": "string"
  30942. },
  30943. "retcode": {
  30944. "description": "错误代码",
  30945. "type": "integer"
  30946. },
  30947. "sessionid": {
  30948. "description": "会话ID",
  30949. "type": "integer"
  30950. },
  30951. "tradedate": {
  30952. "description": "交易日(yyyyMMdd)",
  30953. "type": "string"
  30954. },
  30955. "trademode": {
  30956. "description": "交易模式",
  30957. "type": "integer"
  30958. },
  30959. "tradeproperty": {
  30960. "description": "交易属性",
  30961. "type": "integer"
  30962. },
  30963. "tradeqty": {
  30964. "description": "成交数量",
  30965. "type": "number"
  30966. },
  30967. "unfreezecharge": {
  30968. "description": "解冻手续费",
  30969. "type": "number"
  30970. },
  30971. "unfreezemargin": {
  30972. "description": "解冻保证金",
  30973. "type": "number"
  30974. },
  30975. "updatetime": {
  30976. "description": "更新时间",
  30977. "type": "string"
  30978. },
  30979. "uuid": {
  30980. "description": "发起端唯一id",
  30981. "type": "string"
  30982. },
  30983. "validtime": {
  30984. "description": "有效期限",
  30985. "type": "string"
  30986. },
  30987. "validtype": {
  30988. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  30989. "type": "integer"
  30990. },
  30991. "volumetype": {
  30992. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  30993. "type": "integer"
  30994. }
  30995. }
  30996. },
  30997. "order.QueryTradeDetailRsp": {
  30998. "type": "object",
  30999. "required": [
  31000. "accountid",
  31001. "buyorsell",
  31002. "goodsid",
  31003. "marketid",
  31004. "memberuserid",
  31005. "orderid",
  31006. "tradeamount",
  31007. "tradedate",
  31008. "tradeid",
  31009. "tradeprice",
  31010. "tradeqty",
  31011. "tradetime"
  31012. ],
  31013. "properties": {
  31014. "accountid": {
  31015. "description": "账户ID[报价币种]",
  31016. "type": "integer"
  31017. },
  31018. "advanceratio": {
  31019. "description": "首付比率",
  31020. "type": "number"
  31021. },
  31022. "buildtype": {
  31023. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  31024. "type": "integer"
  31025. },
  31026. "buyorsell": {
  31027. "description": "方向 - 0:买 1:卖",
  31028. "type": "integer"
  31029. },
  31030. "charge": {
  31031. "description": "手续费",
  31032. "type": "number"
  31033. },
  31034. "closecharge": {
  31035. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31036. "type": "number"
  31037. },
  31038. "closeexchagechargevalue": {
  31039. "description": "平仓交易所手续费设置值",
  31040. "type": "number"
  31041. },
  31042. "closefeealgorithm": {
  31043. "description": "平仓手续费收取方式 1:比率 2:固定",
  31044. "type": "integer"
  31045. },
  31046. "closememberchargevalue": {
  31047. "description": "平仓会员手续费设置值",
  31048. "type": "number"
  31049. },
  31050. "closepl": {
  31051. "description": "平仓盈亏",
  31052. "type": "number"
  31053. },
  31054. "closepl2": {
  31055. "description": "平仓盈亏[逐笔]",
  31056. "type": "number"
  31057. },
  31058. "closeqty": {
  31059. "description": "平仓数量(先建后平操作 需要记录)",
  31060. "type": "number"
  31061. },
  31062. "creditamount": {
  31063. "description": "授信金额",
  31064. "type": "number"
  31065. },
  31066. "decimalplace": {
  31067. "description": "商品报价小数位",
  31068. "type": "integer"
  31069. },
  31070. "enumdicname": {
  31071. "description": "单位名称",
  31072. "type": "string"
  31073. },
  31074. "gcaccountid": {
  31075. "description": "账户ID[合约币种]",
  31076. "type": "integer"
  31077. },
  31078. "goodscode": {
  31079. "description": "商品代码",
  31080. "type": "string"
  31081. },
  31082. "goodsid": {
  31083. "description": "商品ID",
  31084. "type": "integer"
  31085. },
  31086. "goodsname": {
  31087. "description": "商品名称",
  31088. "type": "string"
  31089. },
  31090. "goodunitid": {
  31091. "description": "商品单位id",
  31092. "type": "integer"
  31093. },
  31094. "intclosepl": {
  31095. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  31096. "type": "integer"
  31097. },
  31098. "isconfirmexercise": {
  31099. "description": "是否确认行权- 0:否 1:是",
  31100. "type": "integer"
  31101. },
  31102. "ismain": {
  31103. "description": "是否主单 - 0:不是 1:是",
  31104. "type": "integer"
  31105. },
  31106. "ispreexercise": {
  31107. "description": "是否预申报- 0:否 1:是",
  31108. "type": "integer"
  31109. },
  31110. "isreckoned": {
  31111. "description": "是否结算 - 0:未结算 1:已结算",
  31112. "type": "integer"
  31113. },
  31114. "listingselecttype": {
  31115. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31116. "type": "integer"
  31117. },
  31118. "marketid": {
  31119. "description": "市场ID",
  31120. "type": "integer"
  31121. },
  31122. "marketname": {
  31123. "description": "市场名称",
  31124. "type": "string"
  31125. },
  31126. "matchaccountid": {
  31127. "description": "对手账号id",
  31128. "type": "integer"
  31129. },
  31130. "memberuserid": {
  31131. "description": "会员id 个人投资者 需要填写",
  31132. "type": "integer"
  31133. },
  31134. "opencharge": {
  31135. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31136. "type": "number"
  31137. },
  31138. "openexchagechargevalue": {
  31139. "description": "建仓交易所手续费设置值",
  31140. "type": "number"
  31141. },
  31142. "openfeealgorithm": {
  31143. "description": "建仓手续费收取方式 1:比率 2:固定",
  31144. "type": "integer"
  31145. },
  31146. "openmemberchargevalue": {
  31147. "description": "建仓会员手续费设置值",
  31148. "type": "number"
  31149. },
  31150. "openqty": {
  31151. "description": "开仓数量(先建后平操作 需要记录)",
  31152. "type": "number"
  31153. },
  31154. "optiontype": {
  31155. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  31156. "type": "integer"
  31157. },
  31158. "orderid": {
  31159. "description": "委托单号",
  31160. "type": "string"
  31161. },
  31162. "payamount": {
  31163. "description": "支付金额(付款金额)",
  31164. "type": "number"
  31165. },
  31166. "performanceplanid": {
  31167. "description": "履约计划ID[期权]",
  31168. "type": "integer"
  31169. },
  31170. "performancestatus": {
  31171. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  31172. "type": "integer"
  31173. },
  31174. "preexerciseprice": {
  31175. "description": "预申报价格",
  31176. "type": "number"
  31177. },
  31178. "premium": {
  31179. "description": "权利金 - [持仓单的权利金]",
  31180. "type": "number"
  31181. },
  31182. "qtydecimalplace": {
  31183. "description": "商品报价小数位",
  31184. "type": "integer"
  31185. },
  31186. "recvamount": {
  31187. "description": "到账金额 = 成交金额 - 手续费",
  31188. "type": "number"
  31189. },
  31190. "relatedouttradeid": {
  31191. "description": "关联外部成交单ID",
  31192. "type": "integer"
  31193. },
  31194. "status": {
  31195. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  31196. "type": "integer"
  31197. },
  31198. "totalamount": {
  31199. "description": "订单总额 = 成交金额 + 手续费",
  31200. "type": "number"
  31201. },
  31202. "tradeamount": {
  31203. "description": "成交金额[账户币种,用于所有权]",
  31204. "type": "number"
  31205. },
  31206. "tradedate": {
  31207. "description": "交易日(yyyyMMdd)",
  31208. "type": "string"
  31209. },
  31210. "tradeid": {
  31211. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31212. "type": "string"
  31213. },
  31214. "trademode": {
  31215. "description": "交易模式",
  31216. "type": "integer"
  31217. },
  31218. "tradeprice": {
  31219. "description": "成交价格",
  31220. "type": "number"
  31221. },
  31222. "tradeproperty": {
  31223. "description": "交易属性",
  31224. "type": "integer"
  31225. },
  31226. "tradeqty": {
  31227. "description": "成交数量",
  31228. "type": "number"
  31229. },
  31230. "tradetime": {
  31231. "description": "成交时间",
  31232. "type": "string"
  31233. },
  31234. "tradetype": {
  31235. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  31236. "type": "integer"
  31237. }
  31238. }
  31239. },
  31240. "order.QueryTradeOrderDetailRsp": {
  31241. "type": "object",
  31242. "required": [
  31243. "accountid",
  31244. "buildtype",
  31245. "buyorsell",
  31246. "goodsid",
  31247. "marketid",
  31248. "operatetype",
  31249. "orderqty",
  31250. "ordertime",
  31251. "pricemode",
  31252. "tradedate",
  31253. "validtype"
  31254. ],
  31255. "properties": {
  31256. "accountid": {
  31257. "description": "账户ID[报价币种]",
  31258. "type": "integer"
  31259. },
  31260. "buildtype": {
  31261. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  31262. "type": "integer"
  31263. },
  31264. "buyorsell": {
  31265. "description": "买卖 - 0:买 1:卖",
  31266. "type": "integer"
  31267. },
  31268. "cancelorderid": {
  31269. "description": "撤单单号(撤单时填写)",
  31270. "type": "string"
  31271. },
  31272. "cancelqty": {
  31273. "description": "撤单数量",
  31274. "type": "number"
  31275. },
  31276. "clienttype": {
  31277. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31278. "type": "integer"
  31279. },
  31280. "closefreezecharge": {
  31281. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  31282. "type": "number"
  31283. },
  31284. "closeqty": {
  31285. "description": "平仓数量(先建后平操作 需要记录)",
  31286. "type": "number"
  31287. },
  31288. "closetradeqty": {
  31289. "description": "平仓成交数量(先建后平操作,需要记录)",
  31290. "type": "number"
  31291. },
  31292. "closeunfreezecharge": {
  31293. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  31294. "type": "number"
  31295. },
  31296. "decimalplace": {
  31297. "description": "商品报价小数位",
  31298. "type": "integer"
  31299. },
  31300. "delistingtype": {
  31301. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  31302. "type": "integer"
  31303. },
  31304. "enableqty": {
  31305. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  31306. "type": "number"
  31307. },
  31308. "enumdicname": {
  31309. "description": "单位名称",
  31310. "type": "string"
  31311. },
  31312. "freezecharge": {
  31313. "description": "冻结手续费",
  31314. "type": "number"
  31315. },
  31316. "freezemargin": {
  31317. "description": "冻结保证金(冻结交易金额)",
  31318. "type": "number"
  31319. },
  31320. "goodscode": {
  31321. "description": "商品代码",
  31322. "type": "string"
  31323. },
  31324. "goodsid": {
  31325. "description": "商品ID",
  31326. "type": "integer"
  31327. },
  31328. "goodsname": {
  31329. "description": "商品名称",
  31330. "type": "string"
  31331. },
  31332. "goodunitid": {
  31333. "description": "商品单位id",
  31334. "type": "integer"
  31335. },
  31336. "listingselecttype": {
  31337. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31338. "type": "integer"
  31339. },
  31340. "marketid": {
  31341. "description": "市场ID",
  31342. "type": "integer"
  31343. },
  31344. "marketname": {
  31345. "description": "市场名称",
  31346. "type": "string"
  31347. },
  31348. "openfreezecharge": {
  31349. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  31350. "type": "number"
  31351. },
  31352. "openqty": {
  31353. "description": "开仓数量(先建后平操作,需要记录)",
  31354. "type": "number"
  31355. },
  31356. "opentradeqty": {
  31357. "description": "开仓成交数量(先建后平操作,需要记录)",
  31358. "type": "number"
  31359. },
  31360. "openunfreezecharge": {
  31361. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  31362. "type": "number"
  31363. },
  31364. "operatetype": {
  31365. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  31366. "type": "integer"
  31367. },
  31368. "operatorid": {
  31369. "description": "登录账号(LoginID)",
  31370. "type": "integer"
  31371. },
  31372. "orderid": {
  31373. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31374. "type": "string"
  31375. },
  31376. "orderprice": {
  31377. "description": "委托价格",
  31378. "type": "number"
  31379. },
  31380. "orderqty": {
  31381. "description": "委托数量",
  31382. "type": "number"
  31383. },
  31384. "ordersrc": {
  31385. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  31386. "type": "integer"
  31387. },
  31388. "orderstatus": {
  31389. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  31390. "type": "integer"
  31391. },
  31392. "ordertime": {
  31393. "description": "委托时间",
  31394. "type": "string"
  31395. },
  31396. "preorderid": {
  31397. "description": "关联预埋单号(止盈止损单时填写)",
  31398. "type": "string"
  31399. },
  31400. "pricemode": {
  31401. "description": "取价方式 - 1:市价 2: 限价",
  31402. "type": "integer"
  31403. },
  31404. "qtydecimalplace": {
  31405. "description": "商品报价小数位",
  31406. "type": "integer"
  31407. },
  31408. "relatedid": {
  31409. "description": "关联单号(交割单)",
  31410. "type": "string"
  31411. },
  31412. "tradedate": {
  31413. "description": "交易日(yyyyMMdd)",
  31414. "type": "string"
  31415. },
  31416. "trademode": {
  31417. "description": "交易模式",
  31418. "type": "integer"
  31419. },
  31420. "tradeqty": {
  31421. "description": "成交数量",
  31422. "type": "number"
  31423. },
  31424. "unfreezecharge": {
  31425. "description": "解冻手续费",
  31426. "type": "number"
  31427. },
  31428. "unfreezemargin": {
  31429. "description": "解冻保证金",
  31430. "type": "number"
  31431. },
  31432. "validtime": {
  31433. "description": "有效期限",
  31434. "type": "string"
  31435. },
  31436. "validtype": {
  31437. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  31438. "type": "integer"
  31439. },
  31440. "volumetype": {
  31441. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  31442. "type": "integer"
  31443. }
  31444. }
  31445. },
  31446. "order.QueryTradePositionRsp": {
  31447. "type": "object",
  31448. "required": [
  31449. "goodsid"
  31450. ],
  31451. "properties": {
  31452. "accountid": {
  31453. "description": "资金账户",
  31454. "type": "integer"
  31455. },
  31456. "agreeunit": {
  31457. "description": "合约单位",
  31458. "type": "number"
  31459. },
  31460. "averageprice": {
  31461. "description": "持仓均价",
  31462. "type": "number"
  31463. },
  31464. "buyorsell": {
  31465. "description": "方向 - 0:买 1:卖",
  31466. "type": "integer"
  31467. },
  31468. "closetotalqty": {
  31469. "description": "平仓总数量",
  31470. "type": "number"
  31471. },
  31472. "curholderamount": {
  31473. "description": "当前持仓总金额[商品币种]",
  31474. "type": "number"
  31475. },
  31476. "curpositionqty": {
  31477. "description": "当前持仓总数量",
  31478. "type": "number"
  31479. },
  31480. "currencyid": {
  31481. "description": "报价货币ID",
  31482. "type": "integer"
  31483. },
  31484. "curtdposition": {
  31485. "description": "期末今日头寸",
  31486. "type": "number"
  31487. },
  31488. "decimalplace": {
  31489. "description": "报价小数位",
  31490. "type": "integer"
  31491. },
  31492. "enableqty": {
  31493. "description": "可用量",
  31494. "type": "number"
  31495. },
  31496. "fretdposition": {
  31497. "description": "冻结今日头寸",
  31498. "type": "number"
  31499. },
  31500. "frozenqty": {
  31501. "description": "持仓冻结数量",
  31502. "type": "number"
  31503. },
  31504. "goodscode": {
  31505. "description": "商品代码",
  31506. "type": "string"
  31507. },
  31508. "goodsid": {
  31509. "description": "商品Id",
  31510. "type": "integer"
  31511. },
  31512. "goodsname": {
  31513. "description": "商品名称",
  31514. "type": "string"
  31515. },
  31516. "goodunit": {
  31517. "description": "报价单位",
  31518. "type": "string"
  31519. },
  31520. "goodunitid": {
  31521. "description": "报价单位ID",
  31522. "type": "integer"
  31523. },
  31524. "holderamount": {
  31525. "description": "期初持仓总金额[商品币种]",
  31526. "type": "number"
  31527. },
  31528. "lastprice": {
  31529. "description": "最新价",
  31530. "type": "number"
  31531. },
  31532. "marketamount": {
  31533. "description": "市值",
  31534. "type": "number"
  31535. },
  31536. "marketid": {
  31537. "description": "所属市场ID",
  31538. "type": "integer"
  31539. },
  31540. "openreqqty": {
  31541. "description": "开仓申请数量(用于比较最大持仓数量)",
  31542. "type": "number"
  31543. },
  31544. "opentotalqty": {
  31545. "description": "开仓总数量",
  31546. "type": "number"
  31547. },
  31548. "otherfrozenqty": {
  31549. "description": "持仓其他冻结数量(交割冻结)",
  31550. "type": "number"
  31551. },
  31552. "positionpl": {
  31553. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  31554. "type": "number"
  31555. },
  31556. "positionplrate": {
  31557. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  31558. "type": "number"
  31559. },
  31560. "positionqty": {
  31561. "description": "期初持仓数量",
  31562. "type": "number"
  31563. },
  31564. "qtydecimalplace": {
  31565. "description": "成交量小数位",
  31566. "type": "integer"
  31567. },
  31568. "tnqty": {
  31569. "description": "T+N冻结总量",
  31570. "type": "number"
  31571. },
  31572. "tnusedqty": {
  31573. "description": "T+N使用量(可以使用T+N的冻结数量)",
  31574. "type": "number"
  31575. },
  31576. "trademode": {
  31577. "description": "交易模式",
  31578. "type": "integer"
  31579. },
  31580. "usedmargin": {
  31581. "description": "占用保证金[商品币种]",
  31582. "type": "number"
  31583. }
  31584. }
  31585. },
  31586. "quote.HistoryData": {
  31587. "type": "object",
  31588. "properties": {
  31589. "c": {
  31590. "description": "收盘价",
  31591. "type": "number"
  31592. },
  31593. "f": {
  31594. "description": "是否补充数据",
  31595. "type": "boolean"
  31596. },
  31597. "h": {
  31598. "description": "最高价",
  31599. "type": "number"
  31600. },
  31601. "hv": {
  31602. "description": "持仓量",
  31603. "type": "integer"
  31604. },
  31605. "l": {
  31606. "description": "最低价",
  31607. "type": "number"
  31608. },
  31609. "o": {
  31610. "description": "开盘价",
  31611. "type": "number"
  31612. },
  31613. "s": {
  31614. "description": "结算价,日线周期(包括)以上才有",
  31615. "type": "number"
  31616. },
  31617. "ts": {
  31618. "description": "时间",
  31619. "type": "string"
  31620. },
  31621. "tt": {
  31622. "description": "总金额",
  31623. "type": "number"
  31624. },
  31625. "tv": {
  31626. "description": "总量",
  31627. "type": "integer"
  31628. }
  31629. }
  31630. },
  31631. "quote.HistoryTikData": {
  31632. "type": "object",
  31633. "properties": {
  31634. "AV": {
  31635. "description": "卖量",
  31636. "type": "integer"
  31637. },
  31638. "Ask": {
  31639. "description": "卖价",
  31640. "type": "number"
  31641. },
  31642. "BV": {
  31643. "description": "买量",
  31644. "type": "integer"
  31645. },
  31646. "Bid": {
  31647. "description": "买价",
  31648. "type": "number"
  31649. },
  31650. "HI": {
  31651. "description": "单笔持仓",
  31652. "type": "integer"
  31653. },
  31654. "HV": {
  31655. "description": "持仓量",
  31656. "type": "integer"
  31657. },
  31658. "PE": {
  31659. "description": "现价",
  31660. "type": "number"
  31661. },
  31662. "TDR": {
  31663. "description": "交易方向,0:买 1:卖",
  31664. "type": "integer"
  31665. },
  31666. "TK": {
  31667. "description": "交易类型",
  31668. "type": "integer"
  31669. },
  31670. "TS": {
  31671. "description": "行情时间文本",
  31672. "type": "string"
  31673. },
  31674. "TT": {
  31675. "description": "现金额",
  31676. "type": "number"
  31677. },
  31678. "Vol": {
  31679. "description": "现量",
  31680. "type": "integer"
  31681. }
  31682. }
  31683. },
  31684. "quote.QueryQuoteDayRsp": {
  31685. "type": "object",
  31686. "properties": {
  31687. "ask": {
  31688. "description": "卖1",
  31689. "type": "number"
  31690. },
  31691. "ask10": {
  31692. "description": "卖10",
  31693. "type": "number"
  31694. },
  31695. "ask2": {
  31696. "description": "卖2",
  31697. "type": "number"
  31698. },
  31699. "ask3": {
  31700. "description": "卖3",
  31701. "type": "number"
  31702. },
  31703. "ask4": {
  31704. "description": "卖4",
  31705. "type": "number"
  31706. },
  31707. "ask5": {
  31708. "description": "卖5",
  31709. "type": "number"
  31710. },
  31711. "ask6": {
  31712. "description": "卖6",
  31713. "type": "number"
  31714. },
  31715. "ask7": {
  31716. "description": "卖7",
  31717. "type": "number"
  31718. },
  31719. "ask8": {
  31720. "description": "卖8",
  31721. "type": "number"
  31722. },
  31723. "ask9": {
  31724. "description": "卖9",
  31725. "type": "number"
  31726. },
  31727. "askorderid": {
  31728. "description": "卖单号1",
  31729. "type": "integer"
  31730. },
  31731. "askorderid2": {
  31732. "description": "卖单号2",
  31733. "type": "integer"
  31734. },
  31735. "askorderid3": {
  31736. "description": "卖单号3",
  31737. "type": "integer"
  31738. },
  31739. "askorderid4": {
  31740. "description": "卖单号4",
  31741. "type": "integer"
  31742. },
  31743. "askorderid5": {
  31744. "description": "卖单号5",
  31745. "type": "integer"
  31746. },
  31747. "askordervolume": {
  31748. "description": "卖单量1",
  31749. "type": "integer"
  31750. },
  31751. "askordervolume10": {
  31752. "description": "卖单量10",
  31753. "type": "integer"
  31754. },
  31755. "askordervolume2": {
  31756. "description": "卖单量2",
  31757. "type": "integer"
  31758. },
  31759. "askordervolume3": {
  31760. "description": "卖单量3",
  31761. "type": "integer"
  31762. },
  31763. "askordervolume4": {
  31764. "description": "卖单量4",
  31765. "type": "integer"
  31766. },
  31767. "askordervolume5": {
  31768. "description": "卖单量5",
  31769. "type": "integer"
  31770. },
  31771. "askordervolume6": {
  31772. "description": "卖单量6",
  31773. "type": "integer"
  31774. },
  31775. "askordervolume7": {
  31776. "description": "卖单量7",
  31777. "type": "integer"
  31778. },
  31779. "askordervolume8": {
  31780. "description": "卖单量8",
  31781. "type": "integer"
  31782. },
  31783. "askordervolume9": {
  31784. "description": "卖单量9",
  31785. "type": "integer"
  31786. },
  31787. "askqueueinfo": {
  31788. "description": "大利市卖港股用",
  31789. "type": "string"
  31790. },
  31791. "askvolume": {
  31792. "description": "卖量1",
  31793. "type": "integer"
  31794. },
  31795. "askvolume10": {
  31796. "description": "卖量10",
  31797. "type": "integer"
  31798. },
  31799. "askvolume2": {
  31800. "description": "卖量2",
  31801. "type": "integer"
  31802. },
  31803. "askvolume3": {
  31804. "description": "卖量3",
  31805. "type": "integer"
  31806. },
  31807. "askvolume4": {
  31808. "description": "卖量4",
  31809. "type": "integer"
  31810. },
  31811. "askvolume5": {
  31812. "description": "卖量5",
  31813. "type": "integer"
  31814. },
  31815. "askvolume6": {
  31816. "description": "卖量6",
  31817. "type": "integer"
  31818. },
  31819. "askvolume7": {
  31820. "description": "卖量7",
  31821. "type": "integer"
  31822. },
  31823. "askvolume8": {
  31824. "description": "卖量8",
  31825. "type": "integer"
  31826. },
  31827. "askvolume9": {
  31828. "description": "卖量9",
  31829. "type": "integer"
  31830. },
  31831. "averageprice": {
  31832. "description": "均价",
  31833. "type": "number"
  31834. },
  31835. "bid": {
  31836. "description": "买1",
  31837. "type": "number"
  31838. },
  31839. "bid10": {
  31840. "description": "买10",
  31841. "type": "number"
  31842. },
  31843. "bid2": {
  31844. "description": "买2",
  31845. "type": "number"
  31846. },
  31847. "bid3": {
  31848. "description": "买3",
  31849. "type": "number"
  31850. },
  31851. "bid4": {
  31852. "description": "买4",
  31853. "type": "number"
  31854. },
  31855. "bid5": {
  31856. "description": "买5",
  31857. "type": "number"
  31858. },
  31859. "bid6": {
  31860. "description": "买6",
  31861. "type": "number"
  31862. },
  31863. "bid7": {
  31864. "description": "买7",
  31865. "type": "number"
  31866. },
  31867. "bid8": {
  31868. "description": "买8",
  31869. "type": "number"
  31870. },
  31871. "bid9": {
  31872. "description": "买9",
  31873. "type": "number"
  31874. },
  31875. "bidorderid": {
  31876. "description": "买单号1",
  31877. "type": "integer"
  31878. },
  31879. "bidorderid2": {
  31880. "description": "买单号2",
  31881. "type": "integer"
  31882. },
  31883. "bidorderid3": {
  31884. "description": "买单号3",
  31885. "type": "integer"
  31886. },
  31887. "bidorderid4": {
  31888. "description": "买单号4",
  31889. "type": "integer"
  31890. },
  31891. "bidorderid5": {
  31892. "description": "买单号5",
  31893. "type": "integer"
  31894. },
  31895. "bidordervolume": {
  31896. "description": "买单量1",
  31897. "type": "integer"
  31898. },
  31899. "bidordervolume10": {
  31900. "description": "买单量10",
  31901. "type": "integer"
  31902. },
  31903. "bidordervolume2": {
  31904. "description": "买单量2",
  31905. "type": "integer"
  31906. },
  31907. "bidordervolume3": {
  31908. "description": "买单量3",
  31909. "type": "integer"
  31910. },
  31911. "bidordervolume4": {
  31912. "description": "买单量4",
  31913. "type": "integer"
  31914. },
  31915. "bidordervolume5": {
  31916. "description": "买单量5",
  31917. "type": "integer"
  31918. },
  31919. "bidordervolume6": {
  31920. "description": "买单量6",
  31921. "type": "integer"
  31922. },
  31923. "bidordervolume7": {
  31924. "description": "买单量7",
  31925. "type": "integer"
  31926. },
  31927. "bidordervolume8": {
  31928. "description": "买单量8",
  31929. "type": "integer"
  31930. },
  31931. "bidordervolume9": {
  31932. "description": "买单量9",
  31933. "type": "integer"
  31934. },
  31935. "bidqueueinfo": {
  31936. "description": "大利市买港股用",
  31937. "type": "string"
  31938. },
  31939. "bidvolume": {
  31940. "description": "买量1",
  31941. "type": "integer"
  31942. },
  31943. "bidvolume10": {
  31944. "description": "买量10",
  31945. "type": "integer"
  31946. },
  31947. "bidvolume2": {
  31948. "description": "买量2",
  31949. "type": "integer"
  31950. },
  31951. "bidvolume3": {
  31952. "description": "买量3",
  31953. "type": "integer"
  31954. },
  31955. "bidvolume4": {
  31956. "description": "买量4",
  31957. "type": "integer"
  31958. },
  31959. "bidvolume5": {
  31960. "description": "买量5",
  31961. "type": "integer"
  31962. },
  31963. "bidvolume6": {
  31964. "description": "买量6",
  31965. "type": "integer"
  31966. },
  31967. "bidvolume7": {
  31968. "description": "买量7",
  31969. "type": "integer"
  31970. },
  31971. "bidvolume8": {
  31972. "description": "买量8",
  31973. "type": "integer"
  31974. },
  31975. "bidvolume9": {
  31976. "description": "买量9",
  31977. "type": "integer"
  31978. },
  31979. "calloptionpremiums": {
  31980. "description": "认购期权1",
  31981. "type": "integer"
  31982. },
  31983. "calloptionpremiums2": {
  31984. "description": "认购期权2",
  31985. "type": "integer"
  31986. },
  31987. "calloptionpremiums3": {
  31988. "description": "认购期权3",
  31989. "type": "integer"
  31990. },
  31991. "calloptionpremiums4": {
  31992. "description": "认购期权4",
  31993. "type": "integer"
  31994. },
  31995. "calloptionpremiums5": {
  31996. "description": "认购期权5",
  31997. "type": "integer"
  31998. },
  31999. "cleartime": {
  32000. "description": "清盘时间",
  32001. "type": "integer"
  32002. },
  32003. "exchangecode": {
  32004. "description": "交易所代码",
  32005. "type": "integer"
  32006. },
  32007. "exchangedate": {
  32008. "description": "交易日",
  32009. "type": "integer"
  32010. },
  32011. "goodscode": {
  32012. "description": "商品代码",
  32013. "type": "string"
  32014. },
  32015. "grepmarketprice": {
  32016. "description": "暗盘价 港股专用",
  32017. "type": "number"
  32018. },
  32019. "highest": {
  32020. "description": "最高价",
  32021. "type": "number"
  32022. },
  32023. "holdincrement": {
  32024. "description": "单笔持仓",
  32025. "type": "integer"
  32026. },
  32027. "holdvolume": {
  32028. "description": "持仓",
  32029. "type": "integer"
  32030. },
  32031. "iep": {
  32032. "description": "平衡价 港股专用",
  32033. "type": "number"
  32034. },
  32035. "iev": {
  32036. "description": "平衡量 港股专用",
  32037. "type": "number"
  32038. },
  32039. "inventory": {
  32040. "description": "库存",
  32041. "type": "integer"
  32042. },
  32043. "iscleared": {
  32044. "description": "是否清盘标志",
  32045. "type": "integer"
  32046. },
  32047. "issettled": {
  32048. "description": "是否结算标志",
  32049. "type": "integer"
  32050. },
  32051. "last": {
  32052. "description": "最新价",
  32053. "type": "number"
  32054. },
  32055. "lastlot": {
  32056. "description": "最新成交手数",
  32057. "type": "integer"
  32058. },
  32059. "lasttime": {
  32060. "description": "行情时间(只有现价变化行情时间才变化)",
  32061. "type": "string"
  32062. },
  32063. "lastturnover": {
  32064. "description": "最新成交金额",
  32065. "type": "number"
  32066. },
  32067. "lastvolume": {
  32068. "description": "最新成交量",
  32069. "type": "integer"
  32070. },
  32071. "limitdown": {
  32072. "description": "跌停价",
  32073. "type": "number"
  32074. },
  32075. "limitup": {
  32076. "description": "涨停价",
  32077. "type": "number"
  32078. },
  32079. "lowest": {
  32080. "description": "最低价",
  32081. "type": "number"
  32082. },
  32083. "nontotalholdervolume": {
  32084. "description": "非交易持仓量",
  32085. "type": "integer"
  32086. },
  32087. "nontotallot": {
  32088. "description": "非交易总手数",
  32089. "type": "integer"
  32090. },
  32091. "nontotalturnover": {
  32092. "description": "非交易总金额",
  32093. "type": "integer"
  32094. },
  32095. "nontotalvolume": {
  32096. "description": "非交易总量",
  32097. "type": "integer"
  32098. },
  32099. "opened": {
  32100. "description": "开盘价",
  32101. "type": "number"
  32102. },
  32103. "opentime": {
  32104. "description": "开盘时间",
  32105. "type": "string"
  32106. },
  32107. "orderid": {
  32108. "description": "序号",
  32109. "type": "integer"
  32110. },
  32111. "preclose": {
  32112. "description": "昨收",
  32113. "type": "number"
  32114. },
  32115. "preholdvolume": {
  32116. "description": "昨持仓",
  32117. "type": "integer"
  32118. },
  32119. "presettle": {
  32120. "description": "昨结价",
  32121. "type": "number"
  32122. },
  32123. "publictradetype": {
  32124. "description": "公共交易标志类型 港股专用",
  32125. "type": "string"
  32126. },
  32127. "putoptionpremiums": {
  32128. "description": "认沽期权1",
  32129. "type": "integer"
  32130. },
  32131. "putoptionpremiums2": {
  32132. "description": "认沽期权2",
  32133. "type": "integer"
  32134. },
  32135. "putoptionpremiums3": {
  32136. "description": "认沽期权3",
  32137. "type": "integer"
  32138. },
  32139. "putoptionpremiums4": {
  32140. "description": "认沽期权4",
  32141. "type": "integer"
  32142. },
  32143. "putoptionpremiums5": {
  32144. "description": "认沽期权5",
  32145. "type": "integer"
  32146. },
  32147. "settle": {
  32148. "description": "结算价",
  32149. "type": "number"
  32150. },
  32151. "strikeprice": {
  32152. "description": "发行价",
  32153. "type": "number"
  32154. },
  32155. "totalaskvolume": {
  32156. "description": "内盘",
  32157. "type": "integer"
  32158. },
  32159. "totalbidvolume": {
  32160. "description": "外盘",
  32161. "type": "integer"
  32162. },
  32163. "totallot": {
  32164. "description": "总手数",
  32165. "type": "integer"
  32166. },
  32167. "totalturnover": {
  32168. "description": "总金额",
  32169. "type": "number"
  32170. },
  32171. "totalvolume": {
  32172. "description": "总量",
  32173. "type": "integer"
  32174. },
  32175. "utclasttime": {
  32176. "description": "utc的行情时间",
  32177. "type": "string"
  32178. }
  32179. }
  32180. },
  32181. "quote.QueryTSDataRsp": {
  32182. "type": "object",
  32183. "properties": {
  32184. "Count": {
  32185. "description": "交易日应有数据个数",
  32186. "type": "integer"
  32187. },
  32188. "decimalPlace": {
  32189. "description": "小数位",
  32190. "type": "integer"
  32191. },
  32192. "endTime": {
  32193. "description": "结束时间",
  32194. "type": "string"
  32195. },
  32196. "goodsCode": {
  32197. "description": "商品代码",
  32198. "type": "string"
  32199. },
  32200. "historyDatas": {
  32201. "description": "历史数据",
  32202. "type": "array",
  32203. "items": {
  32204. "$ref": "#/definitions/quote.HistoryData"
  32205. }
  32206. },
  32207. "outGoodsCode": {
  32208. "description": "外部商品代码",
  32209. "type": "string"
  32210. },
  32211. "preSettle": {
  32212. "description": "昨结价",
  32213. "type": "number"
  32214. },
  32215. "runSteps": {
  32216. "description": "交易日开休市计划",
  32217. "type": "array",
  32218. "items": {
  32219. "$ref": "#/definitions/quote.TSDataRunStep"
  32220. }
  32221. },
  32222. "startTime": {
  32223. "description": "开始时间",
  32224. "type": "string"
  32225. },
  32226. "tradeDate": {
  32227. "description": "交易日",
  32228. "type": "string"
  32229. }
  32230. }
  32231. },
  32232. "quote.TSDataRunStep": {
  32233. "type": "object",
  32234. "properties": {
  32235. "end": {
  32236. "description": "真实结束时间",
  32237. "type": "string"
  32238. },
  32239. "endflag": {
  32240. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  32241. "type": "integer"
  32242. },
  32243. "endtime": {
  32244. "description": "结束时间(HH:mm)",
  32245. "type": "string"
  32246. },
  32247. "endweekday": {
  32248. "description": "结束周几",
  32249. "type": "integer"
  32250. },
  32251. "groupid": {
  32252. "description": "分组ID",
  32253. "type": "integer"
  32254. },
  32255. "runstep": {
  32256. "description": "运行阶段 - 2:连续交易",
  32257. "type": "integer"
  32258. },
  32259. "sectionid": {
  32260. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  32261. "type": "integer"
  32262. },
  32263. "start": {
  32264. "description": "真实开始时间",
  32265. "type": "string"
  32266. },
  32267. "startflag": {
  32268. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  32269. "type": "integer"
  32270. },
  32271. "starttime": {
  32272. "description": "起始时间(HH:mm)",
  32273. "type": "string"
  32274. },
  32275. "startweekday": {
  32276. "description": "起始周几",
  32277. "type": "integer"
  32278. },
  32279. "tradeweekday": {
  32280. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  32281. "type": "integer"
  32282. }
  32283. }
  32284. },
  32285. "szdz.QueryConvertLogRsp": {
  32286. "type": "object",
  32287. "required": [
  32288. "logid"
  32289. ],
  32290. "properties": {
  32291. "accountid": {
  32292. "description": "资金账户ID",
  32293. "type": "integer"
  32294. },
  32295. "clientticket": {
  32296. "description": "客户端流水号",
  32297. "type": "string"
  32298. },
  32299. "converttype": {
  32300. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  32301. "type": "integer"
  32302. },
  32303. "createtime": {
  32304. "description": "记账时间",
  32305. "type": "string"
  32306. },
  32307. "daymaxvalue": {
  32308. "description": "配置当日最大转入限制",
  32309. "type": "number"
  32310. },
  32311. "daymaxvalue2": {
  32312. "description": "配置当日最大转入限制(转入)",
  32313. "type": "number"
  32314. },
  32315. "goodscode": {
  32316. "description": "商品代码",
  32317. "type": "string"
  32318. },
  32319. "goodsname": {
  32320. "description": "商品名称",
  32321. "type": "string"
  32322. },
  32323. "handlestatus": {
  32324. "description": "处理状态",
  32325. "type": "integer"
  32326. },
  32327. "innergoodsid": {
  32328. "description": "内部商品ID",
  32329. "type": "integer"
  32330. },
  32331. "inratio": {
  32332. "description": "配置转入比值",
  32333. "type": "integer"
  32334. },
  32335. "invalue": {
  32336. "description": "目标值",
  32337. "type": "number"
  32338. },
  32339. "logid": {
  32340. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32341. "type": "integer"
  32342. },
  32343. "mobile": {
  32344. "description": "手机号码(加密存储)",
  32345. "type": "string"
  32346. },
  32347. "outergoodscode": {
  32348. "description": "外部商品代码[JD\\PD]",
  32349. "type": "string"
  32350. },
  32351. "outratio": {
  32352. "description": "配置转出比值",
  32353. "type": "integer"
  32354. },
  32355. "outvalue": {
  32356. "description": "源值",
  32357. "type": "number"
  32358. },
  32359. "pddecimalplace": {
  32360. "description": "PD小数位",
  32361. "type": "integer"
  32362. },
  32363. "qty": {
  32364. "description": "数量",
  32365. "type": "string"
  32366. },
  32367. "remark": {
  32368. "description": "备注",
  32369. "type": "string"
  32370. },
  32371. "sessionid": {
  32372. "description": "会话ID",
  32373. "type": "integer"
  32374. },
  32375. "timemaxvalue": {
  32376. "description": "配置单次最大转入限制",
  32377. "type": "number"
  32378. },
  32379. "timemaxvalue2": {
  32380. "description": "配置单次最大转入限制(转入)",
  32381. "type": "number"
  32382. },
  32383. "timeminvalue": {
  32384. "description": "配置单次最小数量限制",
  32385. "type": "number"
  32386. },
  32387. "timeminvalue2": {
  32388. "description": "配置单次最小数量限制(转入)",
  32389. "type": "number"
  32390. },
  32391. "tradedate": {
  32392. "description": "交易日(yyyyMMdd)",
  32393. "type": "string"
  32394. },
  32395. "userid": {
  32396. "description": "用户ID",
  32397. "type": "integer"
  32398. }
  32399. }
  32400. },
  32401. "szdz.QueryGoodsPickupRsp": {
  32402. "type": "object",
  32403. "required": [
  32404. "takeorderid"
  32405. ],
  32406. "properties": {
  32407. "accountid": {
  32408. "description": "账户ID",
  32409. "type": "integer"
  32410. },
  32411. "address": {
  32412. "description": "提货人详细地址",
  32413. "type": "string"
  32414. },
  32415. "auditer": {
  32416. "description": "审核人",
  32417. "type": "integer"
  32418. },
  32419. "audittime": {
  32420. "description": "审核时间",
  32421. "type": "string"
  32422. },
  32423. "cardnum": {
  32424. "description": "提货人证件号码",
  32425. "type": "string"
  32426. },
  32427. "cardtypeid": {
  32428. "description": "提货人证件类型",
  32429. "type": "integer"
  32430. },
  32431. "checkremark": {
  32432. "description": "审核备注",
  32433. "type": "string"
  32434. },
  32435. "goodscode": {
  32436. "description": "商品代码",
  32437. "type": "string"
  32438. },
  32439. "goodsid": {
  32440. "description": "商品ID",
  32441. "type": "integer"
  32442. },
  32443. "goodsname": {
  32444. "description": "商品名称",
  32445. "type": "string"
  32446. },
  32447. "handlestatus": {
  32448. "description": "处理状态",
  32449. "type": "integer"
  32450. },
  32451. "marketid": {
  32452. "description": "市场ID",
  32453. "type": "integer"
  32454. },
  32455. "phonenum": {
  32456. "description": "提货人联系方式",
  32457. "type": "string"
  32458. },
  32459. "qty": {
  32460. "description": "提货数量",
  32461. "type": "number"
  32462. },
  32463. "recivername": {
  32464. "description": "提货人姓名",
  32465. "type": "string"
  32466. },
  32467. "reqtime": {
  32468. "description": "更新时间",
  32469. "type": "string"
  32470. },
  32471. "takemode": {
  32472. "description": "提货方式 - 2:自提 3:配送",
  32473. "type": "integer"
  32474. },
  32475. "takeorderid": {
  32476. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  32477. "type": "string"
  32478. },
  32479. "takeorderstatus": {
  32480. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  32481. "type": "integer"
  32482. },
  32483. "takeremark": {
  32484. "description": "提货备注",
  32485. "type": "string"
  32486. },
  32487. "tradedate": {
  32488. "description": "交易日(yyyyMMdd)",
  32489. "type": "string"
  32490. },
  32491. "userid": {
  32492. "description": "用户ID",
  32493. "type": "integer"
  32494. }
  32495. }
  32496. },
  32497. "szdz.QueryRecieptOrderRsp": {
  32498. "type": "object",
  32499. "required": [
  32500. "ordertime"
  32501. ],
  32502. "properties": {
  32503. "accountName": {
  32504. "description": "所属账号名称(已脱敏)",
  32505. "type": "string"
  32506. },
  32507. "accountid": {
  32508. "description": "资金账号",
  32509. "type": "integer"
  32510. },
  32511. "buyorsell": {
  32512. "description": "方向 - 0:买 1:卖",
  32513. "type": "integer"
  32514. },
  32515. "enableqty": {
  32516. "description": "可摘数量",
  32517. "type": "integer"
  32518. },
  32519. "goodscode": {
  32520. "description": "商品代码",
  32521. "type": "string"
  32522. },
  32523. "goodsid": {
  32524. "description": "商品ID",
  32525. "type": "integer"
  32526. },
  32527. "goodsname": {
  32528. "description": "商品名称",
  32529. "type": "string"
  32530. },
  32531. "orderid": {
  32532. "description": "委托单号",
  32533. "type": "string"
  32534. },
  32535. "orderprice": {
  32536. "description": "委托价格",
  32537. "type": "number"
  32538. },
  32539. "ordertime": {
  32540. "description": "委托时间",
  32541. "type": "string"
  32542. },
  32543. "tradedate": {
  32544. "description": "交易日(yyyyMMdd)",
  32545. "type": "string"
  32546. }
  32547. }
  32548. },
  32549. "szdz.QuerySZDZTradePositionRsp": {
  32550. "type": "object",
  32551. "properties": {
  32552. "accountid": {
  32553. "description": "账号Id",
  32554. "type": "integer"
  32555. },
  32556. "agreeunit": {
  32557. "description": "合约单位",
  32558. "type": "number"
  32559. },
  32560. "averageprice": {
  32561. "description": "持仓均价",
  32562. "type": "number"
  32563. },
  32564. "buyorsell": {
  32565. "description": "方向 - 0:买 1:卖",
  32566. "type": "integer"
  32567. },
  32568. "closetotalqty": {
  32569. "description": "平仓总数量",
  32570. "type": "integer"
  32571. },
  32572. "curholderamount": {
  32573. "description": "当前持仓总金额",
  32574. "type": "number"
  32575. },
  32576. "curpositionqty": {
  32577. "description": "当前持仓总数量",
  32578. "type": "integer"
  32579. },
  32580. "currencyid": {
  32581. "description": "报价货币ID",
  32582. "type": "integer"
  32583. },
  32584. "curtdposition": {
  32585. "description": "期末今日头寸",
  32586. "type": "integer"
  32587. },
  32588. "decimalplace": {
  32589. "description": "报价小数位",
  32590. "type": "integer"
  32591. },
  32592. "enableqty": {
  32593. "description": "可用量",
  32594. "type": "integer"
  32595. },
  32596. "fretdposition": {
  32597. "description": "冻结今日头寸",
  32598. "type": "integer"
  32599. },
  32600. "frozenqty": {
  32601. "description": "持仓冻结数量",
  32602. "type": "integer"
  32603. },
  32604. "goodscode": {
  32605. "description": "商品代码(内部)",
  32606. "type": "string"
  32607. },
  32608. "goodsid": {
  32609. "description": "商品Id",
  32610. "type": "integer"
  32611. },
  32612. "goodsname": {
  32613. "description": "商品名称",
  32614. "type": "string"
  32615. },
  32616. "goodunit": {
  32617. "description": "报价单位",
  32618. "type": "string"
  32619. },
  32620. "goodunitid": {
  32621. "description": "报价单位ID",
  32622. "type": "integer"
  32623. },
  32624. "holderamount": {
  32625. "description": "期初持仓总金额",
  32626. "type": "number"
  32627. },
  32628. "marketid": {
  32629. "description": "市场ID",
  32630. "type": "integer"
  32631. },
  32632. "openreqqty": {
  32633. "description": "开仓申请数量",
  32634. "type": "integer"
  32635. },
  32636. "opentotalqty": {
  32637. "description": "开仓总数量",
  32638. "type": "integer"
  32639. },
  32640. "otherfrozenqty": {
  32641. "description": "持仓其他冻结数量(交割冻结)",
  32642. "type": "integer"
  32643. },
  32644. "positionqty": {
  32645. "description": "期初持仓数量",
  32646. "type": "integer"
  32647. },
  32648. "szdz3freezqty": {
  32649. "description": "尚志大宗转换冻结总数量",
  32650. "type": "integer"
  32651. },
  32652. "tnqty": {
  32653. "description": "T+N冻结总量",
  32654. "type": "integer"
  32655. },
  32656. "tnusedqty": {
  32657. "description": "T+N使用量",
  32658. "type": "integer"
  32659. },
  32660. "trademode": {
  32661. "description": "交易模式",
  32662. "type": "integer"
  32663. },
  32664. "usedmargin": {
  32665. "description": "占用保证金",
  32666. "type": "number"
  32667. }
  32668. }
  32669. },
  32670. "taaccount.QueryAmountLogRsp": {
  32671. "type": "object",
  32672. "required": [
  32673. "accountid",
  32674. "amount",
  32675. "amountadjusttype",
  32676. "autoid",
  32677. "balance",
  32678. "createtime",
  32679. "currentbalance",
  32680. "operatetype"
  32681. ],
  32682. "properties": {
  32683. "OPERATETYPENAME": {
  32684. "description": "资金操作类型名称",
  32685. "type": "string"
  32686. },
  32687. "accountid": {
  32688. "description": "资金账户ID",
  32689. "type": "integer"
  32690. },
  32691. "agoodscode": {
  32692. "description": "竞拍商品代码",
  32693. "type": "string"
  32694. },
  32695. "agoodsname": {
  32696. "description": "竞拍商品名称",
  32697. "type": "string"
  32698. },
  32699. "amount": {
  32700. "description": "资金金额",
  32701. "type": "number"
  32702. },
  32703. "amountadjusttype": {
  32704. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  32705. "type": "integer"
  32706. },
  32707. "autoid": {
  32708. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  32709. "type": "integer"
  32710. },
  32711. "balance": {
  32712. "description": "期初余额",
  32713. "type": "number"
  32714. },
  32715. "businesscode": {
  32716. "description": "业务编号",
  32717. "type": "integer"
  32718. },
  32719. "createtime": {
  32720. "description": "发生时间",
  32721. "type": "string"
  32722. },
  32723. "currencyid": {
  32724. "description": "币种ID",
  32725. "type": "integer"
  32726. },
  32727. "currentbalance": {
  32728. "description": "期末余额(变动后金额)",
  32729. "type": "number"
  32730. },
  32731. "dgoodscode": {
  32732. "description": "交割商品代码",
  32733. "type": "string"
  32734. },
  32735. "dgoodsname": {
  32736. "description": "交割商品名称",
  32737. "type": "string"
  32738. },
  32739. "goodscode": {
  32740. "description": "商品代码",
  32741. "type": "string"
  32742. },
  32743. "goodsid": {
  32744. "description": "商品ID",
  32745. "type": "integer"
  32746. },
  32747. "goodsname": {
  32748. "description": "商品名称",
  32749. "type": "string"
  32750. },
  32751. "marketid": {
  32752. "description": "市场ID",
  32753. "type": "integer"
  32754. },
  32755. "marketname": {
  32756. "description": "市场名称",
  32757. "type": "string"
  32758. },
  32759. "moneyticket": {
  32760. "description": "资金流水号:银行端流水号",
  32761. "type": "integer"
  32762. },
  32763. "operatetype": {
  32764. "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:营销收款",
  32765. "type": "integer"
  32766. },
  32767. "relationorderid": {
  32768. "description": "关联单号",
  32769. "type": "string"
  32770. },
  32771. "remark": {
  32772. "description": "备注",
  32773. "type": "string"
  32774. },
  32775. "trademode": {
  32776. "description": "交易模式",
  32777. "type": "integer"
  32778. }
  32779. }
  32780. },
  32781. "taaccount.QueryHisAmountLogRsp": {
  32782. "type": "object",
  32783. "required": [
  32784. "accountid",
  32785. "amount",
  32786. "amountadjusttype",
  32787. "autoid",
  32788. "balance",
  32789. "createtime",
  32790. "currentbalance",
  32791. "histradedate",
  32792. "operatetype"
  32793. ],
  32794. "properties": {
  32795. "OPERATETYPENAME": {
  32796. "description": "资金操作类型名称",
  32797. "type": "string"
  32798. },
  32799. "accountid": {
  32800. "description": "资金账户ID",
  32801. "type": "integer"
  32802. },
  32803. "agoodscode": {
  32804. "description": "竞拍商品代码",
  32805. "type": "string"
  32806. },
  32807. "agoodsname": {
  32808. "description": "竞拍商品名称",
  32809. "type": "string"
  32810. },
  32811. "amount": {
  32812. "description": "资金金额",
  32813. "type": "number"
  32814. },
  32815. "amountadjusttype": {
  32816. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  32817. "type": "integer"
  32818. },
  32819. "autoid": {
  32820. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  32821. "type": "integer"
  32822. },
  32823. "balance": {
  32824. "description": "期初余额",
  32825. "type": "number"
  32826. },
  32827. "businesscode": {
  32828. "description": "业务编号",
  32829. "type": "integer"
  32830. },
  32831. "createtime": {
  32832. "description": "发生时间",
  32833. "type": "string"
  32834. },
  32835. "currencyid": {
  32836. "description": "币种ID",
  32837. "type": "integer"
  32838. },
  32839. "currentbalance": {
  32840. "description": "期末余额(变动后金额)",
  32841. "type": "number"
  32842. },
  32843. "dgoodscode": {
  32844. "description": "交割商品代码",
  32845. "type": "string"
  32846. },
  32847. "dgoodsname": {
  32848. "description": "交割商品名称",
  32849. "type": "string"
  32850. },
  32851. "goodscode": {
  32852. "description": "商品代码",
  32853. "type": "string"
  32854. },
  32855. "goodsid": {
  32856. "description": "商品ID",
  32857. "type": "integer"
  32858. },
  32859. "goodsname": {
  32860. "description": "商品名称",
  32861. "type": "string"
  32862. },
  32863. "histradedate": {
  32864. "description": "历史交易日",
  32865. "type": "string"
  32866. },
  32867. "isvaliddata": {
  32868. "description": "是否有效 - 0:无效 1:有效",
  32869. "type": "integer"
  32870. },
  32871. "marketid": {
  32872. "description": "市场ID",
  32873. "type": "integer"
  32874. },
  32875. "marketname": {
  32876. "description": "市场名称",
  32877. "type": "string"
  32878. },
  32879. "moneyticket": {
  32880. "description": "资金流水号:银行端流水号",
  32881. "type": "integer"
  32882. },
  32883. "operatetype": {
  32884. "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:营销收款",
  32885. "type": "integer"
  32886. },
  32887. "relationorderid": {
  32888. "description": "关联单号",
  32889. "type": "string"
  32890. },
  32891. "remark": {
  32892. "description": "备注",
  32893. "type": "string"
  32894. },
  32895. "trademode": {
  32896. "description": "交易模式",
  32897. "type": "integer"
  32898. }
  32899. }
  32900. },
  32901. "trade.QueryRecieptOrderRsp": {
  32902. "type": "object",
  32903. "required": [
  32904. "ordertime"
  32905. ],
  32906. "properties": {
  32907. "accountName": {
  32908. "description": "所属账号名称(已脱敏)",
  32909. "type": "string"
  32910. },
  32911. "accountid": {
  32912. "description": "资金账号",
  32913. "type": "integer"
  32914. },
  32915. "buyorsell": {
  32916. "description": "方向 - 0:买 1:卖",
  32917. "type": "integer"
  32918. },
  32919. "enableqty": {
  32920. "description": "可摘数量",
  32921. "type": "integer"
  32922. },
  32923. "goodscode": {
  32924. "description": "商品代码",
  32925. "type": "string"
  32926. },
  32927. "goodsid": {
  32928. "description": "商品ID",
  32929. "type": "integer"
  32930. },
  32931. "goodsname": {
  32932. "description": "商品名称",
  32933. "type": "string"
  32934. },
  32935. "orderid": {
  32936. "description": "委托单号",
  32937. "type": "string"
  32938. },
  32939. "orderprice": {
  32940. "description": "委托价格",
  32941. "type": "number"
  32942. },
  32943. "ordertime": {
  32944. "description": "委托时间",
  32945. "type": "string"
  32946. },
  32947. "tradedate": {
  32948. "description": "交易日(yyyyMMdd)",
  32949. "type": "string"
  32950. }
  32951. }
  32952. },
  32953. "user.LoginQueryRsp": {
  32954. "type": "object",
  32955. "properties": {
  32956. "areaRoles": {
  32957. "description": "所属角色信息",
  32958. "type": "array",
  32959. "items": {
  32960. "$ref": "#/definitions/models.Arearole"
  32961. }
  32962. },
  32963. "externalExchanges": {
  32964. "description": "外部交易所",
  32965. "type": "array",
  32966. "items": {
  32967. "$ref": "#/definitions/models.Externalexchange"
  32968. }
  32969. },
  32970. "goodsgroups": {
  32971. "description": "商品组",
  32972. "type": "array",
  32973. "items": {
  32974. "$ref": "#/definitions/models.Goodsgroup"
  32975. }
  32976. },
  32977. "loginAccount": {
  32978. "description": "登录账号",
  32979. "type": "object",
  32980. "$ref": "#/definitions/models.Loginaccount"
  32981. },
  32982. "markets": {
  32983. "description": "市场",
  32984. "type": "array",
  32985. "items": {
  32986. "$ref": "#/definitions/models.Market"
  32987. }
  32988. },
  32989. "systemParams": {
  32990. "description": "系统参数",
  32991. "type": "array",
  32992. "items": {
  32993. "$ref": "#/definitions/models.Systemparam"
  32994. }
  32995. },
  32996. "userAccount": {
  32997. "description": "用户账号",
  32998. "type": "object",
  32999. "$ref": "#/definitions/models.Useraccount"
  33000. },
  33001. "userInfo": {
  33002. "description": "用户信息",
  33003. "type": "object",
  33004. "$ref": "#/definitions/models.Userinfo"
  33005. },
  33006. "username": {
  33007. "description": "用户姓名",
  33008. "type": "string"
  33009. }
  33010. }
  33011. }
  33012. },
  33013. "securityDefinitions": {
  33014. "ApiKeyAuth": {
  33015. "type": "apiKey",
  33016. "name": "Authorization",
  33017. "in": "header"
  33018. }
  33019. }
  33020. }`
  33021. type swaggerInfo struct {
  33022. Version string
  33023. Host string
  33024. BasePath string
  33025. Schemes []string
  33026. Title string
  33027. Description string
  33028. }
  33029. // SwaggerInfo holds exported Swagger Info so clients can modify it
  33030. var SwaggerInfo = swaggerInfo{
  33031. Version: "1.0",
  33032. Host: "",
  33033. BasePath: "/api",
  33034. Schemes: []string{},
  33035. Title: "MTP2.0 查询服务 API",
  33036. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  33037. }
  33038. type s struct{}
  33039. func (s *s) ReadDoc() string {
  33040. sInfo := SwaggerInfo
  33041. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  33042. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  33043. "marshal": func(v interface{}) string {
  33044. a, _ := json.Marshal(v)
  33045. return string(a)
  33046. },
  33047. }).Parse(doc)
  33048. if err != nil {
  33049. return doc
  33050. }
  33051. var tpl bytes.Buffer
  33052. if err := t.Execute(&tpl, sInfo); err != nil {
  33053. return doc
  33054. }
  33055. return tpl.String()
  33056. }
  33057. func init() {
  33058. swag.Register(swag.Name, &s{})
  33059. }