docs.go 1.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315
  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/QueryFaProductDetail": {
  10933. "get": {
  10934. "security": [
  10935. {
  10936. "ApiKeyAuth": []
  10937. }
  10938. ],
  10939. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  10940. "produces": [
  10941. "application/json"
  10942. ],
  10943. "tags": [
  10944. "仓单贸易v2"
  10945. ],
  10946. "summary": "查询融资产品列表",
  10947. "parameters": [
  10948. {
  10949. "type": "integer",
  10950. "description": "仓单要素id",
  10951. "name": "wrfactortypeid",
  10952. "in": "query",
  10953. "required": true
  10954. }
  10955. ],
  10956. "responses": {
  10957. "200": {
  10958. "description": "OK",
  10959. "schema": {
  10960. "type": "array",
  10961. "items": {
  10962. "$ref": "#/definitions/models.WrFAProductDetail"
  10963. }
  10964. }
  10965. },
  10966. "500": {
  10967. "description": "Internal Server Error",
  10968. "schema": {
  10969. "$ref": "#/definitions/app.Response"
  10970. }
  10971. }
  10972. }
  10973. }
  10974. },
  10975. "/WrTrade2/QueryFilterItem": {
  10976. "get": {
  10977. "security": [
  10978. {
  10979. "ApiKeyAuth": []
  10980. }
  10981. ],
  10982. "produces": [
  10983. "application/json"
  10984. ],
  10985. "tags": [
  10986. "仓单贸易v2"
  10987. ],
  10988. "summary": "查询筛选框列表",
  10989. "parameters": [
  10990. {
  10991. "type": "string",
  10992. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  10993. "name": "itype",
  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.WrFilterItem"
  11005. }
  11006. }
  11007. },
  11008. "500": {
  11009. "description": "Internal Server Error",
  11010. "schema": {
  11011. "$ref": "#/definitions/app.Response"
  11012. }
  11013. }
  11014. }
  11015. }
  11016. },
  11017. "/WrTrade2/QueryHoldLB": {
  11018. "get": {
  11019. "security": [
  11020. {
  11021. "ApiKeyAuth": []
  11022. }
  11023. ],
  11024. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11025. "produces": [
  11026. "application/json"
  11027. ],
  11028. "tags": [
  11029. "仓单贸易v2"
  11030. ],
  11031. "summary": "查询仓单持有记录",
  11032. "parameters": [
  11033. {
  11034. "type": "integer",
  11035. "description": "资金账号",
  11036. "name": "accountid",
  11037. "in": "query",
  11038. "required": true
  11039. },
  11040. {
  11041. "type": "integer",
  11042. "description": "仓库id",
  11043. "name": "warehouseid",
  11044. "in": "query"
  11045. },
  11046. {
  11047. "type": "integer",
  11048. "description": "品种id",
  11049. "name": "deliverygoodsid",
  11050. "in": "query"
  11051. },
  11052. {
  11053. "type": "integer",
  11054. "description": "品类id",
  11055. "name": "wrstandardid",
  11056. "in": "query"
  11057. }
  11058. ],
  11059. "responses": {
  11060. "200": {
  11061. "description": "OK",
  11062. "schema": {
  11063. "type": "array",
  11064. "items": {
  11065. "$ref": "#/definitions/models.WrHoldLB"
  11066. }
  11067. }
  11068. },
  11069. "500": {
  11070. "description": "Internal Server Error",
  11071. "schema": {
  11072. "$ref": "#/definitions/app.Response"
  11073. }
  11074. }
  11075. }
  11076. }
  11077. },
  11078. "/WrTrade2/QueryOrderQuote": {
  11079. "get": {
  11080. "security": [
  11081. {
  11082. "ApiKeyAuth": []
  11083. }
  11084. ],
  11085. "produces": [
  11086. "application/json"
  11087. ],
  11088. "tags": [
  11089. "仓单贸易v2"
  11090. ],
  11091. "summary": "查询大厅行情列表",
  11092. "parameters": [
  11093. {
  11094. "type": "integer",
  11095. "description": "页码",
  11096. "name": "page",
  11097. "in": "query"
  11098. },
  11099. {
  11100. "type": "integer",
  11101. "description": "每页条数",
  11102. "name": "pagesize",
  11103. "in": "query"
  11104. },
  11105. {
  11106. "type": "integer",
  11107. "description": "仓单贸易市场id",
  11108. "name": "marketid",
  11109. "in": "query"
  11110. },
  11111. {
  11112. "type": "integer",
  11113. "description": "价格方式 - 1:固定价 2-浮动价",
  11114. "name": "wrpricetype",
  11115. "in": "query",
  11116. "required": true
  11117. },
  11118. {
  11119. "type": "integer",
  11120. "description": "0:仓单预售 1:仓单贸易",
  11121. "name": "haswr",
  11122. "in": "query",
  11123. "required": true
  11124. },
  11125. {
  11126. "type": "string",
  11127. "description": "商品名称(筛选条件)",
  11128. "name": "wrstandardname",
  11129. "in": "query"
  11130. },
  11131. {
  11132. "type": "string",
  11133. "description": "品牌名称(筛选条件)",
  11134. "name": "brandname",
  11135. "in": "query"
  11136. },
  11137. {
  11138. "type": "integer",
  11139. "description": "仓库id(筛选条件)",
  11140. "name": "warehouseid",
  11141. "in": "query"
  11142. },
  11143. {
  11144. "type": "integer",
  11145. "description": "品种id",
  11146. "name": "deliverygoodsid",
  11147. "in": "query"
  11148. }
  11149. ],
  11150. "responses": {
  11151. "200": {
  11152. "description": "OK",
  11153. "schema": {
  11154. "type": "array",
  11155. "items": {
  11156. "$ref": "#/definitions/models.WrOrderQuote"
  11157. }
  11158. }
  11159. },
  11160. "500": {
  11161. "description": "Internal Server Error",
  11162. "schema": {
  11163. "$ref": "#/definitions/app.Response"
  11164. }
  11165. }
  11166. }
  11167. }
  11168. },
  11169. "/WrTrade2/QueryOrderQuoteDetail": {
  11170. "get": {
  11171. "security": [
  11172. {
  11173. "ApiKeyAuth": []
  11174. }
  11175. ],
  11176. "produces": [
  11177. "application/json"
  11178. ],
  11179. "tags": [
  11180. "仓单贸易v2"
  11181. ],
  11182. "summary": "查询买卖大厅",
  11183. "parameters": [
  11184. {
  11185. "type": "integer",
  11186. "description": "页码",
  11187. "name": "page",
  11188. "in": "query"
  11189. },
  11190. {
  11191. "type": "integer",
  11192. "description": "每页条数",
  11193. "name": "pagesize",
  11194. "in": "query"
  11195. },
  11196. {
  11197. "type": "integer",
  11198. "description": "仓单贸易市场id",
  11199. "name": "marketid",
  11200. "in": "query"
  11201. },
  11202. {
  11203. "type": "integer",
  11204. "description": "价格方式 - 1:固定价 2-浮动价",
  11205. "name": "wrpricetype",
  11206. "in": "query",
  11207. "required": true
  11208. },
  11209. {
  11210. "type": "integer",
  11211. "description": "0:仓单预售 1:仓单贸易",
  11212. "name": "haswr",
  11213. "in": "query",
  11214. "required": true
  11215. },
  11216. {
  11217. "type": "integer",
  11218. "description": "仓单要素id",
  11219. "name": "wrfactortypeid",
  11220. "in": "query",
  11221. "required": true
  11222. },
  11223. {
  11224. "type": "integer",
  11225. "description": "期货商品id(浮动价方式时填)",
  11226. "name": "goodsid",
  11227. "in": "query"
  11228. },
  11229. {
  11230. "type": "integer",
  11231. "description": "买卖方向 0-买 1-卖",
  11232. "name": "buyorsell",
  11233. "in": "query",
  11234. "required": true
  11235. }
  11236. ],
  11237. "responses": {
  11238. "200": {
  11239. "description": "OK",
  11240. "schema": {
  11241. "type": "array",
  11242. "items": {
  11243. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11244. }
  11245. }
  11246. },
  11247. "500": {
  11248. "description": "Internal Server Error",
  11249. "schema": {
  11250. "$ref": "#/definitions/app.Response"
  11251. }
  11252. }
  11253. }
  11254. }
  11255. },
  11256. "/WrTrade2/QueryPerformancePlan": {
  11257. "get": {
  11258. "security": [
  11259. {
  11260. "ApiKeyAuth": []
  11261. }
  11262. ],
  11263. "produces": [
  11264. "application/json"
  11265. ],
  11266. "tags": [
  11267. "仓单贸易v2"
  11268. ],
  11269. "summary": "查询履约信息",
  11270. "parameters": [
  11271. {
  11272. "type": "integer",
  11273. "description": "用户id",
  11274. "name": "userid",
  11275. "in": "query",
  11276. "required": true
  11277. },
  11278. {
  11279. "type": "integer",
  11280. "description": "买卖方向 0-买 1-卖",
  11281. "name": "buyorsell",
  11282. "in": "query",
  11283. "required": true
  11284. }
  11285. ],
  11286. "responses": {
  11287. "200": {
  11288. "description": "OK",
  11289. "schema": {
  11290. "type": "array",
  11291. "items": {
  11292. "$ref": "#/definitions/models.WrPerformancePlan"
  11293. }
  11294. }
  11295. },
  11296. "500": {
  11297. "description": "Internal Server Error",
  11298. "schema": {
  11299. "$ref": "#/definitions/app.Response"
  11300. }
  11301. }
  11302. }
  11303. }
  11304. },
  11305. "/WrTrade2/QueryWrFactorTypeInfo": {
  11306. "get": {
  11307. "security": [
  11308. {
  11309. "ApiKeyAuth": []
  11310. }
  11311. ],
  11312. "produces": [
  11313. "application/json"
  11314. ],
  11315. "tags": [
  11316. "仓单贸易v2"
  11317. ],
  11318. "summary": "查询仓单要素详细信息",
  11319. "parameters": [
  11320. {
  11321. "type": "integer",
  11322. "description": "仓单要素id",
  11323. "name": "wrfactortypeid",
  11324. "in": "query",
  11325. "required": true
  11326. }
  11327. ],
  11328. "responses": {
  11329. "200": {
  11330. "description": "OK",
  11331. "schema": {
  11332. "type": "array",
  11333. "items": {
  11334. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11335. }
  11336. }
  11337. },
  11338. "500": {
  11339. "description": "Internal Server Error",
  11340. "schema": {
  11341. "$ref": "#/definitions/app.Response"
  11342. }
  11343. }
  11344. }
  11345. }
  11346. },
  11347. "/WrTrade2/QueryWrGoodsInfo": {
  11348. "get": {
  11349. "security": [
  11350. {
  11351. "ApiKeyAuth": []
  11352. }
  11353. ],
  11354. "produces": [
  11355. "application/json"
  11356. ],
  11357. "tags": [
  11358. "仓单贸易v2"
  11359. ],
  11360. "summary": "查询仓单商品信息",
  11361. "parameters": [
  11362. {
  11363. "type": "integer",
  11364. "description": "仓单贸易市场id",
  11365. "name": "marketid",
  11366. "in": "query"
  11367. },
  11368. {
  11369. "type": "integer",
  11370. "description": "0:仓单预售 1:仓单贸易",
  11371. "name": "haswr",
  11372. "in": "query",
  11373. "required": true
  11374. },
  11375. {
  11376. "type": "integer",
  11377. "description": "仓单要素id",
  11378. "name": "wrfactortypeid",
  11379. "in": "query",
  11380. "required": true
  11381. }
  11382. ],
  11383. "responses": {
  11384. "200": {
  11385. "description": "OK",
  11386. "schema": {
  11387. "type": "array",
  11388. "items": {
  11389. "$ref": "#/definitions/models.WrGoodsInfo"
  11390. }
  11391. }
  11392. },
  11393. "500": {
  11394. "description": "Internal Server Error",
  11395. "schema": {
  11396. "$ref": "#/definitions/app.Response"
  11397. }
  11398. }
  11399. }
  11400. }
  11401. },
  11402. "/WrTrade2/QueryWrOrderDetail": {
  11403. "get": {
  11404. "security": [
  11405. {
  11406. "ApiKeyAuth": []
  11407. }
  11408. ],
  11409. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  11410. "produces": [
  11411. "application/json"
  11412. ],
  11413. "tags": [
  11414. "仓单贸易v2"
  11415. ],
  11416. "summary": "查询仓单委托单(挂单)",
  11417. "parameters": [
  11418. {
  11419. "type": "integer",
  11420. "description": "页码",
  11421. "name": "page",
  11422. "in": "query"
  11423. },
  11424. {
  11425. "type": "integer",
  11426. "description": "每页条数",
  11427. "name": "pagesize",
  11428. "in": "query"
  11429. },
  11430. {
  11431. "type": "integer",
  11432. "description": "用户id",
  11433. "name": "userid",
  11434. "in": "query",
  11435. "required": true
  11436. },
  11437. {
  11438. "type": "integer",
  11439. "description": "仓单贸易市场id",
  11440. "name": "marketid",
  11441. "in": "query"
  11442. },
  11443. {
  11444. "type": "integer",
  11445. "description": "0:仓单预售 1:仓单贸易",
  11446. "name": "haswr",
  11447. "in": "query",
  11448. "required": true
  11449. }
  11450. ],
  11451. "responses": {
  11452. "200": {
  11453. "description": "OK",
  11454. "schema": {
  11455. "type": "array",
  11456. "items": {
  11457. "$ref": "#/definitions/models.WrOrderDetail"
  11458. }
  11459. }
  11460. },
  11461. "500": {
  11462. "description": "Internal Server Error",
  11463. "schema": {
  11464. "$ref": "#/definitions/app.Response"
  11465. }
  11466. }
  11467. }
  11468. }
  11469. },
  11470. "/WrTrade2/QueryWrPosition": {
  11471. "get": {
  11472. "security": [
  11473. {
  11474. "ApiKeyAuth": []
  11475. }
  11476. ],
  11477. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  11478. "produces": [
  11479. "application/json"
  11480. ],
  11481. "tags": [
  11482. "仓单贸易v2"
  11483. ],
  11484. "summary": "查询现货(预售)仓单持仓",
  11485. "parameters": [
  11486. {
  11487. "type": "integer",
  11488. "description": "用户id",
  11489. "name": "userid",
  11490. "in": "query",
  11491. "required": true
  11492. },
  11493. {
  11494. "type": "integer",
  11495. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  11496. "name": "querytype",
  11497. "in": "query",
  11498. "required": true
  11499. }
  11500. ],
  11501. "responses": {
  11502. "200": {
  11503. "description": "OK",
  11504. "schema": {
  11505. "type": "array",
  11506. "items": {
  11507. "$ref": "#/definitions/models.WrPosition"
  11508. }
  11509. }
  11510. },
  11511. "500": {
  11512. "description": "Internal Server Error",
  11513. "schema": {
  11514. "$ref": "#/definitions/app.Response"
  11515. }
  11516. }
  11517. }
  11518. }
  11519. },
  11520. "/WrTrade2/QueryWrSpecialMatchOrder": {
  11521. "get": {
  11522. "security": [
  11523. {
  11524. "ApiKeyAuth": []
  11525. }
  11526. ],
  11527. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  11528. "produces": [
  11529. "application/json"
  11530. ],
  11531. "tags": [
  11532. "仓单贸易v2"
  11533. ],
  11534. "summary": "查询指定成交",
  11535. "parameters": [
  11536. {
  11537. "type": "integer",
  11538. "description": "页码",
  11539. "name": "page",
  11540. "in": "query"
  11541. },
  11542. {
  11543. "type": "integer",
  11544. "description": "每页条数",
  11545. "name": "pagesize",
  11546. "in": "query"
  11547. },
  11548. {
  11549. "type": "integer",
  11550. "description": "用户id",
  11551. "name": "userid",
  11552. "in": "query",
  11553. "required": true
  11554. },
  11555. {
  11556. "type": "integer",
  11557. "description": "仓单贸易市场id",
  11558. "name": "marketid",
  11559. "in": "query"
  11560. },
  11561. {
  11562. "type": "integer",
  11563. "description": "0:仓单预售 1:仓单贸易",
  11564. "name": "haswr",
  11565. "in": "query",
  11566. "required": true
  11567. }
  11568. ],
  11569. "responses": {
  11570. "200": {
  11571. "description": "OK",
  11572. "schema": {
  11573. "type": "array",
  11574. "items": {
  11575. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  11576. }
  11577. }
  11578. },
  11579. "500": {
  11580. "description": "Internal Server Error",
  11581. "schema": {
  11582. "$ref": "#/definitions/app.Response"
  11583. }
  11584. }
  11585. }
  11586. }
  11587. },
  11588. "/WrTrade2/QueryWrTradeDetail": {
  11589. "get": {
  11590. "security": [
  11591. {
  11592. "ApiKeyAuth": []
  11593. }
  11594. ],
  11595. "produces": [
  11596. "application/json"
  11597. ],
  11598. "tags": [
  11599. "仓单贸易v2"
  11600. ],
  11601. "summary": "查询仓单成交明细",
  11602. "parameters": [
  11603. {
  11604. "type": "integer",
  11605. "description": "页码",
  11606. "name": "page",
  11607. "in": "query"
  11608. },
  11609. {
  11610. "type": "integer",
  11611. "description": "每页条数",
  11612. "name": "pagesize",
  11613. "in": "query"
  11614. },
  11615. {
  11616. "type": "integer",
  11617. "description": "用户id",
  11618. "name": "userid",
  11619. "in": "query",
  11620. "required": true
  11621. },
  11622. {
  11623. "type": "integer",
  11624. "description": "仓单贸易市场id",
  11625. "name": "marketid",
  11626. "in": "query"
  11627. },
  11628. {
  11629. "type": "integer",
  11630. "description": "0:仓单预售 1:仓单贸易",
  11631. "name": "haswr",
  11632. "in": "query",
  11633. "required": true
  11634. }
  11635. ],
  11636. "responses": {
  11637. "200": {
  11638. "description": "OK",
  11639. "schema": {
  11640. "type": "array",
  11641. "items": {
  11642. "$ref": "#/definitions/models.WrTradeDetail"
  11643. }
  11644. }
  11645. },
  11646. "500": {
  11647. "description": "Internal Server Error",
  11648. "schema": {
  11649. "$ref": "#/definitions/app.Response"
  11650. }
  11651. }
  11652. }
  11653. }
  11654. }
  11655. },
  11656. "definitions": {
  11657. "app.Response": {
  11658. "type": "object",
  11659. "properties": {
  11660. "code": {
  11661. "type": "integer"
  11662. },
  11663. "data": {
  11664. "type": "object"
  11665. },
  11666. "msg": {
  11667. "type": "string"
  11668. },
  11669. "page": {
  11670. "description": "页码",
  11671. "type": "integer"
  11672. },
  11673. "pagesize": {
  11674. "description": "每页条数",
  11675. "type": "integer"
  11676. },
  11677. "total": {
  11678. "description": "总条数",
  11679. "type": "integer"
  11680. }
  11681. }
  11682. },
  11683. "common.ClientMenu": {
  11684. "type": "object",
  11685. "properties": {
  11686. "children": {
  11687. "description": "子菜单列表",
  11688. "type": "array",
  11689. "items": {
  11690. "$ref": "#/definitions/common.ClientMenu"
  11691. }
  11692. },
  11693. "code": {
  11694. "description": "ID",
  11695. "type": "string"
  11696. },
  11697. "isshow": {
  11698. "description": "是否显示",
  11699. "type": "boolean"
  11700. },
  11701. "remark": {
  11702. "description": "备注",
  11703. "type": "string"
  11704. },
  11705. "rulekey": {
  11706. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  11707. "type": "string"
  11708. },
  11709. "sort": {
  11710. "description": "排序",
  11711. "type": "integer"
  11712. },
  11713. "title": {
  11714. "description": "标题",
  11715. "type": "string"
  11716. },
  11717. "type": {
  11718. "description": "类型,1:菜单 2:按钮",
  11719. "type": "integer"
  11720. },
  11721. "url": {
  11722. "description": "URL",
  11723. "type": "string"
  11724. }
  11725. }
  11726. },
  11727. "common.QueryImageConfigsRsp": {
  11728. "type": "object",
  11729. "required": [
  11730. "configid"
  11731. ],
  11732. "properties": {
  11733. "areauserid": {
  11734. "description": "所属机构ID",
  11735. "type": "integer"
  11736. },
  11737. "configid": {
  11738. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  11739. "type": "integer"
  11740. },
  11741. "createdate": {
  11742. "description": "创建时间",
  11743. "type": "string"
  11744. },
  11745. "creatorid": {
  11746. "description": "创建人",
  11747. "type": "integer"
  11748. },
  11749. "imagepath": {
  11750. "description": "图片",
  11751. "type": "string"
  11752. },
  11753. "imagetype": {
  11754. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  11755. "type": "integer"
  11756. },
  11757. "isshow": {
  11758. "description": "是否展示 - 0:不展示 1:展示",
  11759. "type": "integer"
  11760. },
  11761. "marketid": {
  11762. "description": "市场ID",
  11763. "type": "integer"
  11764. },
  11765. "modifierid": {
  11766. "description": "操作人",
  11767. "type": "integer"
  11768. },
  11769. "sort": {
  11770. "description": "排序",
  11771. "type": "integer"
  11772. },
  11773. "title": {
  11774. "description": "标题",
  11775. "type": "string"
  11776. },
  11777. "trademode": {
  11778. "description": "交易模式",
  11779. "type": "integer"
  11780. },
  11781. "updatedate": {
  11782. "description": "修改时间",
  11783. "type": "string"
  11784. },
  11785. "url": {
  11786. "description": "链接(地址或商品ID)",
  11787. "type": "string"
  11788. },
  11789. "urltype": {
  11790. "description": "链接类型 - 1:直接地址 2:商品ID",
  11791. "type": "integer"
  11792. }
  11793. }
  11794. },
  11795. "common.QueryNoticeRsp": {
  11796. "type": "object",
  11797. "required": [
  11798. "autoid"
  11799. ],
  11800. "properties": {
  11801. "auditoruserid": {
  11802. "description": "审核人",
  11803. "type": "integer"
  11804. },
  11805. "auditremark": {
  11806. "description": "审核备注",
  11807. "type": "string"
  11808. },
  11809. "audittime": {
  11810. "description": "审核日期",
  11811. "type": "string"
  11812. },
  11813. "autoid": {
  11814. "description": "自增ID",
  11815. "type": "integer"
  11816. },
  11817. "content": {
  11818. "description": "内容",
  11819. "type": "string"
  11820. },
  11821. "createtime": {
  11822. "description": "创建时间",
  11823. "type": "string"
  11824. },
  11825. "creatorid": {
  11826. "description": "建仓人",
  11827. "type": "integer"
  11828. },
  11829. "endtime": {
  11830. "description": "结束时间",
  11831. "type": "string"
  11832. },
  11833. "istop": {
  11834. "description": "是否置顶 - 0:不置顶 1:置顶",
  11835. "type": "integer"
  11836. },
  11837. "msgiconurl": {
  11838. "description": "消息图标Url",
  11839. "type": "string"
  11840. },
  11841. "msgtype": {
  11842. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  11843. "type": "integer"
  11844. },
  11845. "publisher": {
  11846. "description": "消息发布者",
  11847. "type": "string"
  11848. },
  11849. "readed": {
  11850. "description": "是否已读",
  11851. "type": "boolean"
  11852. },
  11853. "scheduletime": {
  11854. "description": "计划发送时间",
  11855. "type": "string"
  11856. },
  11857. "sendtype": {
  11858. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  11859. "type": "integer"
  11860. },
  11861. "sentstatus": {
  11862. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  11863. "type": "integer"
  11864. },
  11865. "title": {
  11866. "description": "标题",
  11867. "type": "string"
  11868. },
  11869. "userid": {
  11870. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  11871. "type": "integer"
  11872. }
  11873. }
  11874. },
  11875. "common.QueryProvincesAndCitiesRsp": {
  11876. "type": "object",
  11877. "properties": {
  11878. "cities": {
  11879. "description": "市",
  11880. "type": "array",
  11881. "items": {
  11882. "$ref": "#/definitions/models.Division"
  11883. }
  11884. },
  11885. "province": {
  11886. "description": "省",
  11887. "type": "object",
  11888. "$ref": "#/definitions/models.Division"
  11889. }
  11890. }
  11891. },
  11892. "common.QueryTableDefineRsp": {
  11893. "type": "object",
  11894. "required": [
  11895. "tablekey"
  11896. ],
  11897. "properties": {
  11898. "columns": {
  11899. "description": "列头信息数组",
  11900. "type": "array",
  11901. "items": {
  11902. "$ref": "#/definitions/models.Tablecolumnconfig"
  11903. }
  11904. },
  11905. "remark": {
  11906. "description": "Remark",
  11907. "type": "string"
  11908. },
  11909. "tabelmenu": {
  11910. "description": "列表菜单",
  11911. "type": "string"
  11912. },
  11913. "tablekey": {
  11914. "description": "列表Key",
  11915. "type": "string"
  11916. },
  11917. "tablename": {
  11918. "description": "列表名称",
  11919. "type": "string"
  11920. },
  11921. "tabletype": {
  11922. "description": "列表类型 - 1:管理端 2:终端",
  11923. "type": "integer"
  11924. }
  11925. }
  11926. },
  11927. "common.QueryTraderMenuRsp": {
  11928. "type": "object",
  11929. "properties": {
  11930. "OperationMenu": {
  11931. "description": "功能菜单",
  11932. "type": "array",
  11933. "items": {
  11934. "$ref": "#/definitions/models.OperationPrimaryMenu"
  11935. }
  11936. },
  11937. "QuoteMenu": {
  11938. "description": "报价牌分类菜单",
  11939. "type": "array",
  11940. "items": {
  11941. "$ref": "#/definitions/models.QuotePrimaryMenu"
  11942. }
  11943. }
  11944. }
  11945. },
  11946. "cptrade.Cptradepositioncancel": {
  11947. "type": "object",
  11948. "required": [
  11949. "cancelid"
  11950. ],
  11951. "properties": {
  11952. "accountid": {
  11953. "description": "申请人账户ID",
  11954. "type": "integer"
  11955. },
  11956. "applystatus": {
  11957. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11958. "type": "integer"
  11959. },
  11960. "applytime": {
  11961. "description": "申请时间",
  11962. "type": "string"
  11963. },
  11964. "cancelid": {
  11965. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  11966. "type": "integer"
  11967. },
  11968. "cancelqty": {
  11969. "description": "注销数量",
  11970. "type": "integer"
  11971. },
  11972. "createtime": {
  11973. "description": "创建时间",
  11974. "type": "string"
  11975. },
  11976. "creatorid": {
  11977. "description": "创建人ID",
  11978. "type": "integer"
  11979. },
  11980. "creatorname": {
  11981. "description": "创建人",
  11982. "type": "string"
  11983. },
  11984. "goodscode": {
  11985. "description": "订单商品代码",
  11986. "type": "string"
  11987. },
  11988. "goodsid": {
  11989. "description": "商品ID",
  11990. "type": "integer"
  11991. },
  11992. "goodsname": {
  11993. "description": "订单商品名称",
  11994. "type": "string"
  11995. },
  11996. "goodunit": {
  11997. "description": "报价单位",
  11998. "type": "string"
  11999. },
  12000. "handlestatus": {
  12001. "description": "处理状态",
  12002. "type": "integer"
  12003. },
  12004. "marketid": {
  12005. "description": "市场ID",
  12006. "type": "integer"
  12007. },
  12008. "marketname": {
  12009. "description": "市场名称",
  12010. "type": "string"
  12011. },
  12012. "tradedate": {
  12013. "description": "交易日(yyyyMMdd)",
  12014. "type": "string"
  12015. },
  12016. "userid": {
  12017. "description": "申请人ID",
  12018. "type": "integer"
  12019. }
  12020. }
  12021. },
  12022. "cptrade.Cptradepresaleapply": {
  12023. "type": "object",
  12024. "required": [
  12025. "applyid"
  12026. ],
  12027. "properties": {
  12028. "accountid": {
  12029. "description": "申请人账户ID",
  12030. "type": "integer"
  12031. },
  12032. "applyid": {
  12033. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  12034. "type": "integer"
  12035. },
  12036. "applyremark": {
  12037. "description": "申请备注",
  12038. "type": "string"
  12039. },
  12040. "applystatus": {
  12041. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12042. "type": "integer"
  12043. },
  12044. "applytime": {
  12045. "description": "申请时间",
  12046. "type": "string"
  12047. },
  12048. "attachmenturl": {
  12049. "description": "附件地址",
  12050. "type": "string"
  12051. },
  12052. "endtime": {
  12053. "description": "预售结束时间",
  12054. "type": "string"
  12055. },
  12056. "goodscode": {
  12057. "description": "商品代码",
  12058. "type": "string"
  12059. },
  12060. "goodsid": {
  12061. "description": "商品ID",
  12062. "type": "integer"
  12063. },
  12064. "goodsname": {
  12065. "description": "商品名称",
  12066. "type": "string"
  12067. },
  12068. "goodunit": {
  12069. "description": "报价单位",
  12070. "type": "string"
  12071. },
  12072. "handlestatus": {
  12073. "description": "处理状态",
  12074. "type": "integer"
  12075. },
  12076. "marketid": {
  12077. "description": "预售市场ID",
  12078. "type": "integer"
  12079. },
  12080. "marketname": {
  12081. "description": "预售市场名称",
  12082. "type": "string"
  12083. },
  12084. "presaleqty": {
  12085. "description": "预售数量",
  12086. "type": "integer"
  12087. },
  12088. "relatedgoodscode": {
  12089. "description": "关联交易合约代码",
  12090. "type": "string"
  12091. },
  12092. "relatedgoodsid": {
  12093. "description": "关联交易合约ID",
  12094. "type": "integer"
  12095. },
  12096. "relatedgoodsname": {
  12097. "description": "关联交易合约名称",
  12098. "type": "string"
  12099. },
  12100. "starttime": {
  12101. "description": "预售开始时间",
  12102. "type": "string"
  12103. },
  12104. "tradedate": {
  12105. "description": "交易日(yyyyMMdd)",
  12106. "type": "string"
  12107. },
  12108. "trademode": {
  12109. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  12110. "type": "integer"
  12111. },
  12112. "userid": {
  12113. "description": "申请人ID",
  12114. "type": "integer"
  12115. }
  12116. }
  12117. },
  12118. "cptrade.Cptradeusergoodsdata": {
  12119. "type": "object",
  12120. "required": [
  12121. "accountid",
  12122. "goodsid"
  12123. ],
  12124. "properties": {
  12125. "EnabledQty": {
  12126. "description": "可用量",
  12127. "type": "integer"
  12128. },
  12129. "GoodsCode": {
  12130. "description": "订单商品代码",
  12131. "type": "string"
  12132. },
  12133. "GoodsName": {
  12134. "description": "订单商品名称",
  12135. "type": "string"
  12136. },
  12137. "WRStandardCode": {
  12138. "description": "仓单标准代码",
  12139. "type": "string"
  12140. },
  12141. "WRStandardName": {
  12142. "description": "仓单标准名称",
  12143. "type": "string"
  12144. },
  12145. "accountid": {
  12146. "description": "账户ID",
  12147. "type": "integer"
  12148. },
  12149. "cancelqty": {
  12150. "description": "注销量",
  12151. "type": "integer"
  12152. },
  12153. "curpresaleqty": {
  12154. "description": "当前预售量",
  12155. "type": "integer"
  12156. },
  12157. "deliveryqty": {
  12158. "description": "交割量",
  12159. "type": "integer"
  12160. },
  12161. "freezeamount": {
  12162. "description": "冻结金额",
  12163. "type": "number"
  12164. },
  12165. "goodsid": {
  12166. "description": "商品ID",
  12167. "type": "integer"
  12168. },
  12169. "goodunit": {
  12170. "description": "报价单位",
  12171. "type": "string"
  12172. },
  12173. "hasspotfreeze": {
  12174. "description": "是否有现货冻结 - 0:否 1:有",
  12175. "type": "integer"
  12176. },
  12177. "inqty": {
  12178. "description": "转入量(总数量)",
  12179. "type": "integer"
  12180. },
  12181. "marketid": {
  12182. "description": "市场ID",
  12183. "type": "integer"
  12184. },
  12185. "presaledamount": {
  12186. "description": "已预售总金额",
  12187. "type": "integer"
  12188. },
  12189. "presaledqty": {
  12190. "description": "已预售量",
  12191. "type": "integer"
  12192. },
  12193. "userid": {
  12194. "description": "用户ID",
  12195. "type": "integer"
  12196. },
  12197. "wrstandardid": {
  12198. "description": "仓单标准ID",
  12199. "type": "integer"
  12200. }
  12201. }
  12202. },
  12203. "cptrade.QueryCPTradeMyBidRsp": {
  12204. "type": "object",
  12205. "required": [
  12206. "accountid",
  12207. "goodsid",
  12208. "marketid",
  12209. "orderid",
  12210. "orderqty",
  12211. "ordertime",
  12212. "tradeprice",
  12213. "tradeqty"
  12214. ],
  12215. "properties": {
  12216. "accountid": {
  12217. "description": "账户ID[报价币种]",
  12218. "type": "integer"
  12219. },
  12220. "goodsid": {
  12221. "description": "商品ID",
  12222. "type": "integer"
  12223. },
  12224. "goodunit": {
  12225. "description": "报价单位",
  12226. "type": "string"
  12227. },
  12228. "marketid": {
  12229. "description": "市场ID",
  12230. "type": "integer"
  12231. },
  12232. "orderid": {
  12233. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12234. "type": "integer"
  12235. },
  12236. "orderprice": {
  12237. "description": "委托价格",
  12238. "type": "number"
  12239. },
  12240. "orderqty": {
  12241. "description": "委托数量",
  12242. "type": "integer"
  12243. },
  12244. "ordertime": {
  12245. "description": "委托时间",
  12246. "type": "string"
  12247. },
  12248. "ordertotalprice": {
  12249. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  12250. "type": "number"
  12251. },
  12252. "ordertotalweight": {
  12253. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  12254. "type": "integer"
  12255. },
  12256. "totaltotalprice": {
  12257. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  12258. "type": "number"
  12259. },
  12260. "tradeprice": {
  12261. "description": "成交价格",
  12262. "type": "number"
  12263. },
  12264. "tradeqty": {
  12265. "description": "成交数量",
  12266. "type": "integer"
  12267. }
  12268. }
  12269. },
  12270. "cptrade.QueryCPTradeOrderDetailRsq": {
  12271. "type": "object",
  12272. "required": [
  12273. "accountid",
  12274. "buildtype",
  12275. "buyorsell",
  12276. "goodsid",
  12277. "marketid",
  12278. "memberuserid",
  12279. "operatetype",
  12280. "orderqty",
  12281. "ordertime",
  12282. "pricemode",
  12283. "strorderid",
  12284. "tradedate",
  12285. "validtype"
  12286. ],
  12287. "properties": {
  12288. "accountid": {
  12289. "description": "账户ID[报价币种]",
  12290. "type": "integer"
  12291. },
  12292. "buildtype": {
  12293. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12294. "type": "integer"
  12295. },
  12296. "buyorsell": {
  12297. "description": "买卖 - 0:买 1:卖",
  12298. "type": "integer"
  12299. },
  12300. "cancelorderid": {
  12301. "description": "撤单单号(撤单时填写)",
  12302. "type": "integer"
  12303. },
  12304. "cancelqty": {
  12305. "description": "撤单数量",
  12306. "type": "integer"
  12307. },
  12308. "clientordertime": {
  12309. "description": "客户端委托时间",
  12310. "type": "string"
  12311. },
  12312. "clientticket": {
  12313. "description": "客户端流水号",
  12314. "type": "string"
  12315. },
  12316. "clienttype": {
  12317. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12318. "type": "integer"
  12319. },
  12320. "closeexchagechargevalue": {
  12321. "description": "平仓交易所手续费设置值",
  12322. "type": "number"
  12323. },
  12324. "closefeealgorithm": {
  12325. "description": "平仓手续费收取方式 1:比率 2:固定",
  12326. "type": "integer"
  12327. },
  12328. "closefreezecharge": {
  12329. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12330. "type": "number"
  12331. },
  12332. "closememberchargevalue": {
  12333. "description": "平仓会员手续费设置值",
  12334. "type": "number"
  12335. },
  12336. "closeqty": {
  12337. "description": "平仓数量(先建后平操作 需要记录)",
  12338. "type": "integer"
  12339. },
  12340. "closetradeqty": {
  12341. "description": "平仓成交数量(先建后平操作,需要记录)",
  12342. "type": "integer"
  12343. },
  12344. "closeunfreezecharge": {
  12345. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12346. "type": "number"
  12347. },
  12348. "delistingtype": {
  12349. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12350. "type": "integer"
  12351. },
  12352. "freezecharge": {
  12353. "description": "冻结手续费",
  12354. "type": "number"
  12355. },
  12356. "freezemargin": {
  12357. "description": "冻结保证金(冻结交易金额)",
  12358. "type": "number"
  12359. },
  12360. "gcaccountid": {
  12361. "description": "账户ID[合约币种]",
  12362. "type": "integer"
  12363. },
  12364. "goodsid": {
  12365. "description": "商品ID",
  12366. "type": "integer"
  12367. },
  12368. "isconfirmexercise": {
  12369. "description": "是否确认行权- 0:否 1:是",
  12370. "type": "integer"
  12371. },
  12372. "ispreexercise": {
  12373. "description": "是否预申报- 0:否 1:是",
  12374. "type": "integer"
  12375. },
  12376. "listingselecttype": {
  12377. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12378. "type": "integer"
  12379. },
  12380. "marginalgorithm": {
  12381. "description": "保证金收取方式 1:比率 2:固定",
  12382. "type": "integer"
  12383. },
  12384. "marginvalue": {
  12385. "description": "即市保证金设置值",
  12386. "type": "number"
  12387. },
  12388. "marketid": {
  12389. "description": "市场ID",
  12390. "type": "integer"
  12391. },
  12392. "marketmaxsub": {
  12393. "description": "市价最大偏移范围",
  12394. "type": "number"
  12395. },
  12396. "memberuserid": {
  12397. "description": "所属会员UserID",
  12398. "type": "integer"
  12399. },
  12400. "openexchagechargevalue": {
  12401. "description": "建仓交易所手续费设置值",
  12402. "type": "number"
  12403. },
  12404. "openfeealgorithm": {
  12405. "description": "建仓手续费收取方式 1:比率 2:固定",
  12406. "type": "integer"
  12407. },
  12408. "openfreezecharge": {
  12409. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12410. "type": "number"
  12411. },
  12412. "openmemberchargevalue": {
  12413. "description": "建仓会员手续费设置值",
  12414. "type": "number"
  12415. },
  12416. "openqty": {
  12417. "description": "开仓数量(先建后平操作,需要记录)",
  12418. "type": "integer"
  12419. },
  12420. "opentradeqty": {
  12421. "description": "开仓成交数量(先建后平操作,需要记录)",
  12422. "type": "integer"
  12423. },
  12424. "openunfreezecharge": {
  12425. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12426. "type": "number"
  12427. },
  12428. "operatetype": {
  12429. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12430. "type": "integer"
  12431. },
  12432. "operatorid": {
  12433. "description": "登录账号(LoginID)",
  12434. "type": "integer"
  12435. },
  12436. "optiontype": {
  12437. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12438. "type": "integer"
  12439. },
  12440. "orderprice": {
  12441. "description": "委托价格",
  12442. "type": "number"
  12443. },
  12444. "orderqty": {
  12445. "description": "委托数量",
  12446. "type": "integer"
  12447. },
  12448. "ordersrc": {
  12449. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12450. "type": "integer"
  12451. },
  12452. "orderstatus": {
  12453. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12454. "type": "integer"
  12455. },
  12456. "ordertime": {
  12457. "description": "委托时间",
  12458. "type": "string"
  12459. },
  12460. "preexerciseprice": {
  12461. "description": "预申报价格",
  12462. "type": "number"
  12463. },
  12464. "premium": {
  12465. "description": "权利金",
  12466. "type": "number"
  12467. },
  12468. "preorderid": {
  12469. "description": "关联预埋单号(止盈止损单时填写)",
  12470. "type": "integer"
  12471. },
  12472. "pricemode": {
  12473. "description": "取价方式 - 1:市价 2: 限价",
  12474. "type": "integer"
  12475. },
  12476. "quoteid": {
  12477. "description": "报价单ID",
  12478. "type": "integer"
  12479. },
  12480. "relatedid": {
  12481. "description": "关联单号(交割单)",
  12482. "type": "integer"
  12483. },
  12484. "retcode": {
  12485. "description": "错误代码",
  12486. "type": "integer"
  12487. },
  12488. "sessionid": {
  12489. "description": "会话ID",
  12490. "type": "integer"
  12491. },
  12492. "strorderid": {
  12493. "description": "委托单号",
  12494. "type": "string"
  12495. },
  12496. "tradedate": {
  12497. "description": "交易日(yyyyMMdd)",
  12498. "type": "string"
  12499. },
  12500. "tradeproperty": {
  12501. "description": "交易属性",
  12502. "type": "integer"
  12503. },
  12504. "tradeqty": {
  12505. "description": "成交数量",
  12506. "type": "integer"
  12507. },
  12508. "unfreezecharge": {
  12509. "description": "解冻手续费",
  12510. "type": "number"
  12511. },
  12512. "unfreezemargin": {
  12513. "description": "解冻保证金",
  12514. "type": "number"
  12515. },
  12516. "updatetime": {
  12517. "description": "更新时间",
  12518. "type": "string"
  12519. },
  12520. "uuid": {
  12521. "description": "发起端唯一id",
  12522. "type": "string"
  12523. },
  12524. "validtime": {
  12525. "description": "有效期限",
  12526. "type": "string"
  12527. },
  12528. "validtype": {
  12529. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12530. "type": "integer"
  12531. },
  12532. "volumetype": {
  12533. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12534. "type": "integer"
  12535. }
  12536. }
  12537. },
  12538. "cptrade.QueryMyCPTradeGoodsRsp": {
  12539. "type": "object",
  12540. "required": [
  12541. "goodscode",
  12542. "goodsid",
  12543. "goodsname",
  12544. "marketid",
  12545. "relatedgoodscode",
  12546. "relatedgoodsname"
  12547. ],
  12548. "properties": {
  12549. "accountid": {
  12550. "description": "卖方账户ID",
  12551. "type": "integer"
  12552. },
  12553. "agreeunit": {
  12554. "description": "合约单位",
  12555. "type": "number"
  12556. },
  12557. "applyid": {
  12558. "description": "关联申请ID",
  12559. "type": "integer"
  12560. },
  12561. "attachmenturl": {
  12562. "description": "附件地址",
  12563. "type": "string"
  12564. },
  12565. "createtime": {
  12566. "description": "创建时间",
  12567. "type": "string"
  12568. },
  12569. "currencyid": {
  12570. "description": "报价货币ID",
  12571. "type": "integer"
  12572. },
  12573. "decimalplace": {
  12574. "description": "报价小数位",
  12575. "type": "integer"
  12576. },
  12577. "endtime": {
  12578. "description": "预售结束时间",
  12579. "type": "string"
  12580. },
  12581. "floorprice": {
  12582. "description": "底价[大宗式竞拍]",
  12583. "type": "number"
  12584. },
  12585. "goodscode": {
  12586. "description": "商品代码(预售)",
  12587. "type": "string"
  12588. },
  12589. "goodsdetail": {
  12590. "description": "详情[大宗]",
  12591. "type": "string"
  12592. },
  12593. "goodsid": {
  12594. "description": "商品ID(自增ID SEQ_GOODS)",
  12595. "type": "integer"
  12596. },
  12597. "goodsname": {
  12598. "description": "商品名称(预售)",
  12599. "type": "string"
  12600. },
  12601. "goodunit": {
  12602. "description": "报价单位",
  12603. "type": "string"
  12604. },
  12605. "goodunitid": {
  12606. "description": "报价单位ID",
  12607. "type": "integer"
  12608. },
  12609. "marketid": {
  12610. "description": "所属市场ID",
  12611. "type": "integer"
  12612. },
  12613. "marketname": {
  12614. "description": "预售市场名称",
  12615. "type": "string"
  12616. },
  12617. "presaledamount": {
  12618. "description": "已预售总金额(预售结束时更新)",
  12619. "type": "number"
  12620. },
  12621. "presaledqty": {
  12622. "description": "已预售量(预售结束时更新)",
  12623. "type": "integer"
  12624. },
  12625. "presalemode": {
  12626. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12627. "type": "integer"
  12628. },
  12629. "presaleqty": {
  12630. "description": "预售数量",
  12631. "type": "integer"
  12632. },
  12633. "refprice": {
  12634. "description": "参考价格[一口价]",
  12635. "type": "number"
  12636. },
  12637. "relatedgoodscode": {
  12638. "description": "商品代码(订单)",
  12639. "type": "string"
  12640. },
  12641. "relatedgoodsid": {
  12642. "description": "关联交易合约ID",
  12643. "type": "integer"
  12644. },
  12645. "relatedgoodsname": {
  12646. "description": "商品名称(订单)",
  12647. "type": "string"
  12648. },
  12649. "relatedmarketid": {
  12650. "description": "关联交易合约市场ID",
  12651. "type": "integer"
  12652. },
  12653. "sellstatus": {
  12654. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12655. "type": "integer"
  12656. },
  12657. "startprice": {
  12658. "description": "起拍价[大宗式竞拍]",
  12659. "type": "number"
  12660. },
  12661. "starttime": {
  12662. "description": "预售开始时间",
  12663. "type": "string"
  12664. },
  12665. "tradedate": {
  12666. "description": "交易日(yyyyMMdd)",
  12667. "type": "string"
  12668. },
  12669. "tradeprice": {
  12670. "description": "成交价[大宗]",
  12671. "type": "number"
  12672. },
  12673. "userid": {
  12674. "description": "卖方用户ID",
  12675. "type": "integer"
  12676. }
  12677. }
  12678. },
  12679. "cptrade.QueryPresaleGoodsExRsp": {
  12680. "type": "object",
  12681. "required": [
  12682. "goodsid"
  12683. ],
  12684. "properties": {
  12685. "attachmenturl": {
  12686. "description": "附件地址",
  12687. "type": "string"
  12688. },
  12689. "createtime": {
  12690. "description": "创建时间",
  12691. "type": "string"
  12692. },
  12693. "endtime": {
  12694. "description": "预售结束时间",
  12695. "type": "string"
  12696. },
  12697. "floorprice": {
  12698. "description": "底价[大宗式竞拍]",
  12699. "type": "number"
  12700. },
  12701. "goodsdetail": {
  12702. "description": "详情[大宗]",
  12703. "type": "string"
  12704. },
  12705. "goodsid": {
  12706. "description": "商品ID(预售)",
  12707. "type": "integer"
  12708. },
  12709. "goodunit": {
  12710. "description": "报价单位",
  12711. "type": "string"
  12712. },
  12713. "marketid": {
  12714. "description": "预售市场ID - 根据预售模式选择市场",
  12715. "type": "integer"
  12716. },
  12717. "presaledamount": {
  12718. "description": "已预售总金额(预售结束时更新)",
  12719. "type": "number"
  12720. },
  12721. "presaledqty": {
  12722. "description": "已预售量(预售结束时更新)",
  12723. "type": "integer"
  12724. },
  12725. "presalemode": {
  12726. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12727. "type": "integer"
  12728. },
  12729. "presaleqty": {
  12730. "description": "预售数量",
  12731. "type": "integer"
  12732. },
  12733. "refprice": {
  12734. "description": "参考价格[一口价]",
  12735. "type": "number"
  12736. },
  12737. "relatedgoodsid": {
  12738. "description": "关联交易合约ID",
  12739. "type": "integer"
  12740. },
  12741. "relatedmarketid": {
  12742. "description": "关联交易合约市场ID",
  12743. "type": "integer"
  12744. },
  12745. "sellstatus": {
  12746. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12747. "type": "integer"
  12748. },
  12749. "startprice": {
  12750. "description": "起拍价[大宗式竞拍]",
  12751. "type": "number"
  12752. },
  12753. "starttime": {
  12754. "description": "预售开始时间",
  12755. "type": "string"
  12756. },
  12757. "tradedate": {
  12758. "description": "交易日(yyyyMMdd)",
  12759. "type": "string"
  12760. },
  12761. "tradeprice": {
  12762. "description": "成交价[大宗]",
  12763. "type": "number"
  12764. }
  12765. }
  12766. },
  12767. "delivery.QueryDeliveryRelationRsp": {
  12768. "type": "object",
  12769. "required": [
  12770. "begindate",
  12771. "enddate",
  12772. "goodsid",
  12773. "mindeliveryqty",
  12774. "xdeliveryratio"
  12775. ],
  12776. "properties": {
  12777. "begindate": {
  12778. "description": "起始日期(yyyyMMdd)",
  12779. "type": "string"
  12780. },
  12781. "buytemplateid": {
  12782. "description": "买履约计划模板ID",
  12783. "type": "integer"
  12784. },
  12785. "deliverygoodscode": {
  12786. "description": "品种代码",
  12787. "type": "string"
  12788. },
  12789. "deliverygoodsid": {
  12790. "description": "交割商品",
  12791. "type": "integer"
  12792. },
  12793. "deliverygoodsname": {
  12794. "description": "品种名称",
  12795. "type": "string"
  12796. },
  12797. "deliverymode": {
  12798. "description": "交割方式 - 1:点选式 2:申报式",
  12799. "type": "integer"
  12800. },
  12801. "deliverypricerule": {
  12802. "description": "交割价规则- 1:行情价 2:建仓价",
  12803. "type": "integer"
  12804. },
  12805. "deliverytype": {
  12806. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  12807. "type": "integer"
  12808. },
  12809. "enddate": {
  12810. "description": "结束日期(yyyyMMdd)",
  12811. "type": "string"
  12812. },
  12813. "goodscode": {
  12814. "description": "商品代码",
  12815. "type": "string"
  12816. },
  12817. "goodsid": {
  12818. "description": "交易合约ID",
  12819. "type": "integer"
  12820. },
  12821. "goodsname": {
  12822. "description": "商品名称",
  12823. "type": "string"
  12824. },
  12825. "marketid": {
  12826. "description": "市场ID",
  12827. "type": "integer"
  12828. },
  12829. "mindeliveryqty": {
  12830. "description": "最小交割系数(K)",
  12831. "type": "integer"
  12832. },
  12833. "p2deliveryprice": {
  12834. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  12835. "type": "number"
  12836. },
  12837. "p2deliveryratio": {
  12838. "description": "P2合约系数(p)",
  12839. "type": "integer"
  12840. },
  12841. "p2goodsid": {
  12842. "description": "P2合约ID",
  12843. "type": "integer"
  12844. },
  12845. "p2pricemode": {
  12846. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  12847. "type": "integer"
  12848. },
  12849. "pdeliveryprice": {
  12850. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  12851. "type": "number"
  12852. },
  12853. "pdeliveryratio": {
  12854. "description": "P合约系数(n)",
  12855. "type": "integer"
  12856. },
  12857. "pgoodsid": {
  12858. "description": "P合约ID",
  12859. "type": "integer"
  12860. },
  12861. "ppricemode": {
  12862. "description": "P合约价格方式 - 1:商品价 2:固定值",
  12863. "type": "integer"
  12864. },
  12865. "rratio": {
  12866. "description": "兑换系数(R)",
  12867. "type": "integer"
  12868. },
  12869. "rratio1": {
  12870. "description": "兑换系数(交易合约)(R1)",
  12871. "type": "integer"
  12872. },
  12873. "rratio2": {
  12874. "description": "兑换系数(仓单标准)(R2)",
  12875. "type": "integer"
  12876. },
  12877. "selltemplateid": {
  12878. "description": "卖履约计划模板ID",
  12879. "type": "integer"
  12880. },
  12881. "wrstandardid": {
  12882. "description": "仓单标准ID",
  12883. "type": "integer"
  12884. },
  12885. "xdeliveryratio": {
  12886. "description": "交易合约系数(m)",
  12887. "type": "integer"
  12888. }
  12889. }
  12890. },
  12891. "ermcp.ExposureDetailRsp": {
  12892. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  12893. },
  12894. "ermcp.ExposureHedgePosDetailRsp": {
  12895. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  12896. },
  12897. "ermcp.ExposureHedgePositionRsp": {
  12898. "$ref": "#/definitions/models.ErmcpHedgePosition"
  12899. },
  12900. "ermcp.ExposureSpotDetailRsp": {
  12901. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  12902. },
  12903. "ermcp.ExposureSpotRsp": {
  12904. "$ref": "#/definitions/models.AreaSpotModel"
  12905. },
  12906. "ermcp.HisExposureRsp": {
  12907. "$ref": "#/definitions/models.ErmcpHisExposureS"
  12908. },
  12909. "ermcp.PendingAuditCntRsp": {
  12910. "$ref": "#/definitions/models.ErmcpPendingAudit"
  12911. },
  12912. "ermcp.QryAvalidGPRsp": {
  12913. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  12914. },
  12915. "ermcp.QryBusinessDjRsp": {
  12916. "type": "object",
  12917. "properties": {
  12918. "amount": {
  12919. "description": "点价金额=(点价价格+升贴水)*点价数量",
  12920. "type": "number"
  12921. },
  12922. "applyid": {
  12923. "description": "申请人",
  12924. "type": "string"
  12925. },
  12926. "applyname": {
  12927. "description": "申请人名称",
  12928. "type": "string"
  12929. },
  12930. "applystatus": {
  12931. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12932. "type": "integer"
  12933. },
  12934. "applytime": {
  12935. "description": "申请时间",
  12936. "type": "string"
  12937. },
  12938. "attachurl": {
  12939. "description": "附件",
  12940. "type": "string"
  12941. },
  12942. "auditid": {
  12943. "description": "审核人ID",
  12944. "type": "string"
  12945. },
  12946. "auditname": {
  12947. "description": "审核人名称",
  12948. "type": "string"
  12949. },
  12950. "audittime": {
  12951. "description": "审核时间",
  12952. "type": "string"
  12953. },
  12954. "buyusername": {
  12955. "description": "采购方名称",
  12956. "type": "string"
  12957. },
  12958. "contractno": {
  12959. "description": "合同编号",
  12960. "type": "string"
  12961. },
  12962. "contractstatus": {
  12963. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12964. "type": "integer"
  12965. },
  12966. "contracttype": {
  12967. "description": "现货合同类型 - 1:采购 -1:销售",
  12968. "type": "integer"
  12969. },
  12970. "deliverygoodscode": {
  12971. "description": "现货品种代码",
  12972. "type": "string"
  12973. },
  12974. "deliverygoodsid": {
  12975. "description": "现货商品ID",
  12976. "type": "integer"
  12977. },
  12978. "deliverygoodsname": {
  12979. "description": "现货品种名称",
  12980. "type": "string"
  12981. },
  12982. "enumdicname": {
  12983. "description": "单位名称",
  12984. "type": "string"
  12985. },
  12986. "goodscode": {
  12987. "description": "点价合约",
  12988. "type": "string"
  12989. },
  12990. "goodsname": {
  12991. "description": "商品名称",
  12992. "type": "string"
  12993. },
  12994. "operateapplyid": {
  12995. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12996. "type": "string"
  12997. },
  12998. "operateapplytype": {
  12999. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13000. "type": "integer"
  13001. },
  13002. "pricedPrice": {
  13003. "description": "点价价格(非必填)",
  13004. "type": "number"
  13005. },
  13006. "pricedQty": {
  13007. "description": "点价数量(非必填)",
  13008. "type": "number"
  13009. },
  13010. "pricemove": {
  13011. "description": "升贴水",
  13012. "type": "number"
  13013. },
  13014. "pricetype": {
  13015. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13016. "type": "integer"
  13017. },
  13018. "relatedid": {
  13019. "description": "现货合同ID",
  13020. "type": "string"
  13021. },
  13022. "sellusername": {
  13023. "description": "销售方名字",
  13024. "type": "string"
  13025. },
  13026. "userid": {
  13027. "description": "用户ID",
  13028. "type": "integer"
  13029. },
  13030. "wrstandardcode": {
  13031. "description": "品类代码",
  13032. "type": "string"
  13033. },
  13034. "wrstandardid": {
  13035. "description": "品类id",
  13036. "type": "integer"
  13037. },
  13038. "wrstandardname": {
  13039. "description": "品类名称",
  13040. "type": "string"
  13041. }
  13042. }
  13043. },
  13044. "ermcp.QryBussinessFpRsp": {
  13045. "type": "object",
  13046. "properties": {
  13047. "applyid": {
  13048. "description": "申请人",
  13049. "type": "string"
  13050. },
  13051. "applyname": {
  13052. "description": "申请人名称",
  13053. "type": "string"
  13054. },
  13055. "applystatus": {
  13056. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13057. "type": "integer"
  13058. },
  13059. "applytime": {
  13060. "description": "申请时间",
  13061. "type": "string"
  13062. },
  13063. "attachurl": {
  13064. "description": "附件",
  13065. "type": "string"
  13066. },
  13067. "auditid": {
  13068. "description": "审核人ID",
  13069. "type": "string"
  13070. },
  13071. "auditname": {
  13072. "description": "审核人名称",
  13073. "type": "string"
  13074. },
  13075. "audittime": {
  13076. "description": "审核时间",
  13077. "type": "string"
  13078. },
  13079. "buyusername": {
  13080. "description": "采购方名称",
  13081. "type": "string"
  13082. },
  13083. "contractno": {
  13084. "description": "合同编号",
  13085. "type": "string"
  13086. },
  13087. "contractstatus": {
  13088. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13089. "type": "integer"
  13090. },
  13091. "contracttype": {
  13092. "description": "现货合同类型 - 1:采购 -1:销售",
  13093. "type": "integer"
  13094. },
  13095. "deliverygoodscode": {
  13096. "description": "现货品种代码",
  13097. "type": "string"
  13098. },
  13099. "deliverygoodsid": {
  13100. "description": "现货商品ID",
  13101. "type": "integer"
  13102. },
  13103. "deliverygoodsname": {
  13104. "description": "现货品种名称",
  13105. "type": "string"
  13106. },
  13107. "enumdicname": {
  13108. "description": "单位名称",
  13109. "type": "string"
  13110. },
  13111. "goodscode": {
  13112. "description": "点价合约",
  13113. "type": "string"
  13114. },
  13115. "goodsname": {
  13116. "description": "商品名称",
  13117. "type": "string"
  13118. },
  13119. "invoiceAmount": {
  13120. "description": "已开收票金额(销售为开票,采购为收票)",
  13121. "type": "number"
  13122. },
  13123. "operateapplyid": {
  13124. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13125. "type": "string"
  13126. },
  13127. "operateapplytype": {
  13128. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13129. "type": "integer"
  13130. },
  13131. "pricemove": {
  13132. "description": "升贴水",
  13133. "type": "number"
  13134. },
  13135. "pricetype": {
  13136. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13137. "type": "integer"
  13138. },
  13139. "relatedid": {
  13140. "description": "现货合同ID",
  13141. "type": "string"
  13142. },
  13143. "sellusername": {
  13144. "description": "销售方名字",
  13145. "type": "string"
  13146. },
  13147. "userid": {
  13148. "description": "用户ID",
  13149. "type": "integer"
  13150. },
  13151. "wrstandardcode": {
  13152. "description": "品类代码",
  13153. "type": "string"
  13154. },
  13155. "wrstandardid": {
  13156. "description": "品类id",
  13157. "type": "integer"
  13158. },
  13159. "wrstandardname": {
  13160. "description": "品类名称",
  13161. "type": "string"
  13162. }
  13163. }
  13164. },
  13165. "ermcp.QryBussinessJsExRsp": {
  13166. "type": "object",
  13167. "properties": {
  13168. "applyid": {
  13169. "description": "申请人",
  13170. "type": "string"
  13171. },
  13172. "applyname": {
  13173. "description": "申请人名称",
  13174. "type": "string"
  13175. },
  13176. "applystatus": {
  13177. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13178. "type": "integer"
  13179. },
  13180. "applytime": {
  13181. "description": "申请时间",
  13182. "type": "string"
  13183. },
  13184. "attachurl": {
  13185. "description": "附件",
  13186. "type": "string"
  13187. },
  13188. "auditid": {
  13189. "description": "审核人ID",
  13190. "type": "string"
  13191. },
  13192. "auditname": {
  13193. "description": "审核人名称",
  13194. "type": "string"
  13195. },
  13196. "audittime": {
  13197. "description": "审核时间",
  13198. "type": "string"
  13199. },
  13200. "buyusername": {
  13201. "description": "采购方名称",
  13202. "type": "string"
  13203. },
  13204. "contractno": {
  13205. "description": "合同编号",
  13206. "type": "string"
  13207. },
  13208. "contractstatus": {
  13209. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13210. "type": "integer"
  13211. },
  13212. "contracttype": {
  13213. "description": "现货合同类型 - 1:采购 -1:销售",
  13214. "type": "integer"
  13215. },
  13216. "deliverygoodscode": {
  13217. "description": "现货品种代码",
  13218. "type": "string"
  13219. },
  13220. "deliverygoodsid": {
  13221. "description": "现货商品ID",
  13222. "type": "integer"
  13223. },
  13224. "deliverygoodsname": {
  13225. "description": "现货品种名称",
  13226. "type": "string"
  13227. },
  13228. "enumdicname": {
  13229. "description": "单位名称",
  13230. "type": "string"
  13231. },
  13232. "goodscode": {
  13233. "description": "点价合约",
  13234. "type": "string"
  13235. },
  13236. "goodsname": {
  13237. "description": "商品名称",
  13238. "type": "string"
  13239. },
  13240. "operateapplyid": {
  13241. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13242. "type": "string"
  13243. },
  13244. "operateapplytype": {
  13245. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13246. "type": "integer"
  13247. },
  13248. "pricemove": {
  13249. "description": "升贴水",
  13250. "type": "number"
  13251. },
  13252. "pricetype": {
  13253. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13254. "type": "integer"
  13255. },
  13256. "reckontype": {
  13257. "description": "结算类型",
  13258. "type": "string"
  13259. },
  13260. "reckonvalue": {
  13261. "description": "值",
  13262. "type": "number"
  13263. },
  13264. "relatedid": {
  13265. "description": "现货合同ID",
  13266. "type": "string"
  13267. },
  13268. "sellusername": {
  13269. "description": "销售方名字",
  13270. "type": "string"
  13271. },
  13272. "userid": {
  13273. "description": "用户ID",
  13274. "type": "integer"
  13275. },
  13276. "wrstandardcode": {
  13277. "description": "品类代码",
  13278. "type": "string"
  13279. },
  13280. "wrstandardid": {
  13281. "description": "品类id",
  13282. "type": "integer"
  13283. },
  13284. "wrstandardname": {
  13285. "description": "品类名称",
  13286. "type": "string"
  13287. }
  13288. }
  13289. },
  13290. "ermcp.QryBussinessJsRsp": {
  13291. "type": "object",
  13292. "properties": {
  13293. "addmargin": {
  13294. "description": "追加保证金(非必填)",
  13295. "type": "number"
  13296. },
  13297. "applyid": {
  13298. "description": "申请人",
  13299. "type": "string"
  13300. },
  13301. "applyname": {
  13302. "description": "申请人名称",
  13303. "type": "string"
  13304. },
  13305. "applystatus": {
  13306. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13307. "type": "integer"
  13308. },
  13309. "applytime": {
  13310. "description": "申请时间",
  13311. "type": "string"
  13312. },
  13313. "attachurl": {
  13314. "description": "附件",
  13315. "type": "string"
  13316. },
  13317. "auditid": {
  13318. "description": "审核人ID",
  13319. "type": "string"
  13320. },
  13321. "auditname": {
  13322. "description": "审核人名称",
  13323. "type": "string"
  13324. },
  13325. "audittime": {
  13326. "description": "审核时间",
  13327. "type": "string"
  13328. },
  13329. "buyusername": {
  13330. "description": "采购方名称",
  13331. "type": "string"
  13332. },
  13333. "contractno": {
  13334. "description": "合同编号",
  13335. "type": "string"
  13336. },
  13337. "contractstatus": {
  13338. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13339. "type": "integer"
  13340. },
  13341. "contracttype": {
  13342. "description": "现货合同类型 - 1:采购 -1:销售",
  13343. "type": "integer"
  13344. },
  13345. "decmargin": {
  13346. "description": "减少保证金(非必填)",
  13347. "type": "number"
  13348. },
  13349. "deliverygoodscode": {
  13350. "description": "现货品种代码",
  13351. "type": "string"
  13352. },
  13353. "deliverygoodsid": {
  13354. "description": "现货商品ID",
  13355. "type": "integer"
  13356. },
  13357. "deliverygoodsname": {
  13358. "description": "现货品种名称",
  13359. "type": "string"
  13360. },
  13361. "enumdicname": {
  13362. "description": "单位名称",
  13363. "type": "string"
  13364. },
  13365. "goodscode": {
  13366. "description": "点价合约",
  13367. "type": "string"
  13368. },
  13369. "goodsname": {
  13370. "description": "商品名称",
  13371. "type": "string"
  13372. },
  13373. "operateapplyid": {
  13374. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13375. "type": "string"
  13376. },
  13377. "operateapplytype": {
  13378. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13379. "type": "integer"
  13380. },
  13381. "pricemove": {
  13382. "description": "升贴水",
  13383. "type": "number"
  13384. },
  13385. "pricetype": {
  13386. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13387. "type": "integer"
  13388. },
  13389. "reckonadjustamount": {
  13390. "description": "结算调整金额(非必填)",
  13391. "type": "number"
  13392. },
  13393. "reckonosamount": {
  13394. "description": "结算溢短金额(非必填)",
  13395. "type": "number"
  13396. },
  13397. "reckonotheramount": {
  13398. "description": "结算其他费用(非必填)",
  13399. "type": "number"
  13400. },
  13401. "reckonrealqty": {
  13402. "description": "结算实际数量(非必填)",
  13403. "type": "number"
  13404. },
  13405. "relatedid": {
  13406. "description": "现货合同ID",
  13407. "type": "string"
  13408. },
  13409. "sellusername": {
  13410. "description": "销售方名字",
  13411. "type": "string"
  13412. },
  13413. "userid": {
  13414. "description": "用户ID",
  13415. "type": "integer"
  13416. },
  13417. "wrstandardcode": {
  13418. "description": "品类代码",
  13419. "type": "string"
  13420. },
  13421. "wrstandardid": {
  13422. "description": "品类id",
  13423. "type": "integer"
  13424. },
  13425. "wrstandardname": {
  13426. "description": "品类名称",
  13427. "type": "string"
  13428. }
  13429. }
  13430. },
  13431. "ermcp.QryBussinessKxRsp": {
  13432. "type": "object",
  13433. "properties": {
  13434. "applyid": {
  13435. "description": "申请人",
  13436. "type": "string"
  13437. },
  13438. "applyname": {
  13439. "description": "申请人名称",
  13440. "type": "string"
  13441. },
  13442. "applystatus": {
  13443. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13444. "type": "integer"
  13445. },
  13446. "applytime": {
  13447. "description": "申请时间",
  13448. "type": "string"
  13449. },
  13450. "attachurl": {
  13451. "description": "附件",
  13452. "type": "string"
  13453. },
  13454. "auditid": {
  13455. "description": "审核人ID",
  13456. "type": "string"
  13457. },
  13458. "auditname": {
  13459. "description": "审核人名称",
  13460. "type": "string"
  13461. },
  13462. "audittime": {
  13463. "description": "审核时间",
  13464. "type": "string"
  13465. },
  13466. "buyusername": {
  13467. "description": "采购方名称",
  13468. "type": "string"
  13469. },
  13470. "contractno": {
  13471. "description": "合同编号",
  13472. "type": "string"
  13473. },
  13474. "contractstatus": {
  13475. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13476. "type": "integer"
  13477. },
  13478. "contracttype": {
  13479. "description": "现货合同类型 - 1:采购 -1:销售",
  13480. "type": "integer"
  13481. },
  13482. "deductamount": {
  13483. "description": "退款(非必填)",
  13484. "type": "number"
  13485. },
  13486. "deliverygoodscode": {
  13487. "description": "现货品种代码",
  13488. "type": "string"
  13489. },
  13490. "deliverygoodsid": {
  13491. "description": "现货商品ID",
  13492. "type": "integer"
  13493. },
  13494. "deliverygoodsname": {
  13495. "description": "现货品种名称",
  13496. "type": "string"
  13497. },
  13498. "enumdicname": {
  13499. "description": "单位名称",
  13500. "type": "string"
  13501. },
  13502. "goodscode": {
  13503. "description": "点价合约",
  13504. "type": "string"
  13505. },
  13506. "goodsname": {
  13507. "description": "商品名称",
  13508. "type": "string"
  13509. },
  13510. "kxtype": {
  13511. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  13512. "type": "integer"
  13513. },
  13514. "operateapplyid": {
  13515. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13516. "type": "string"
  13517. },
  13518. "operateapplytype": {
  13519. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13520. "type": "integer"
  13521. },
  13522. "payamount": {
  13523. "description": "收付款(非必填)",
  13524. "type": "number"
  13525. },
  13526. "pricemove": {
  13527. "description": "升贴水",
  13528. "type": "number"
  13529. },
  13530. "pricetype": {
  13531. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13532. "type": "integer"
  13533. },
  13534. "relatedid": {
  13535. "description": "现货合同ID",
  13536. "type": "string"
  13537. },
  13538. "sellusername": {
  13539. "description": "销售方名字",
  13540. "type": "string"
  13541. },
  13542. "userid": {
  13543. "description": "用户ID",
  13544. "type": "integer"
  13545. },
  13546. "wrstandardcode": {
  13547. "description": "品类代码",
  13548. "type": "string"
  13549. },
  13550. "wrstandardid": {
  13551. "description": "品类id",
  13552. "type": "integer"
  13553. },
  13554. "wrstandardname": {
  13555. "description": "品类名称",
  13556. "type": "string"
  13557. }
  13558. }
  13559. },
  13560. "ermcp.QryGGCovertCfgRsp": {
  13561. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  13562. },
  13563. "ermcp.QryMGChangeLogRsp": {
  13564. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  13565. },
  13566. "ermcp.QryMiddleGoodsDetailRsp": {
  13567. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  13568. },
  13569. "ermcp.QryMiddleGoodsRsp": {
  13570. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13571. },
  13572. "ermcp.QryOPLogRsp": {
  13573. "$ref": "#/definitions/models.ErmcpOPLogModel"
  13574. },
  13575. "ermcp.QryUserInfoRsp": {
  13576. "$ref": "#/definitions/models.ErmcpUserModel"
  13577. },
  13578. "ermcp.QryWarehouseRsp": {
  13579. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  13580. },
  13581. "ermcp.QueryErmcpTradePositionRsp": {
  13582. "type": "object",
  13583. "properties": {
  13584. "agreeunit": {
  13585. "description": "合约单位",
  13586. "type": "number"
  13587. },
  13588. "buyorsell": {
  13589. "description": "方向 - 0:买 1:卖",
  13590. "type": "integer"
  13591. },
  13592. "curpositionqty": {
  13593. "description": "持仓(总仓数量, 期末头寸)",
  13594. "type": "integer"
  13595. },
  13596. "curtdposition": {
  13597. "description": "今仓数量(期末今日头寸)",
  13598. "type": "integer"
  13599. },
  13600. "curtdpositionenabled": {
  13601. "description": "今仓可用",
  13602. "type": "integer"
  13603. },
  13604. "decimalplace": {
  13605. "description": "报价小数位",
  13606. "type": "integer"
  13607. },
  13608. "enableqty": {
  13609. "description": "可用(总仓可用)",
  13610. "type": "integer"
  13611. },
  13612. "exexchangename": {
  13613. "description": "外部交易所名称",
  13614. "type": "string"
  13615. },
  13616. "goodscode": {
  13617. "description": "商品代码(内部)",
  13618. "type": "string"
  13619. },
  13620. "goodsid": {
  13621. "description": "商品ID(自增ID SEQ_GOODS)",
  13622. "type": "integer"
  13623. },
  13624. "goodsname": {
  13625. "description": "商品名称",
  13626. "type": "string"
  13627. },
  13628. "last": {
  13629. "description": "现价",
  13630. "type": "number"
  13631. },
  13632. "marketid": {
  13633. "description": "所属市场ID",
  13634. "type": "integer"
  13635. },
  13636. "openaverageprice": {
  13637. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  13638. "type": "number"
  13639. },
  13640. "opencost": {
  13641. "description": "开仓成本",
  13642. "type": "number"
  13643. },
  13644. "openpl": {
  13645. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13646. "type": "number"
  13647. },
  13648. "outgoodscode": {
  13649. "description": "商品代码(外部)",
  13650. "type": "string"
  13651. },
  13652. "positionaverageprice": {
  13653. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  13654. "type": "number"
  13655. },
  13656. "positioncost": {
  13657. "description": "持仓成本",
  13658. "type": "number"
  13659. },
  13660. "positionpl": {
  13661. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13662. "type": "number"
  13663. },
  13664. "positionplrate": {
  13665. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  13666. "type": "number"
  13667. },
  13668. "usedmargin": {
  13669. "description": "占用保证金",
  13670. "type": "number"
  13671. }
  13672. }
  13673. },
  13674. "ermcp.RealtimeExposurePositionRsp": {
  13675. "$ref": "#/definitions/models.ErmcpExposurePostion"
  13676. },
  13677. "ermcp.RealtimeExposureRsp": {
  13678. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  13679. },
  13680. "erms2.QueryArbitrageStrategyRsp": {
  13681. "type": "object",
  13682. "required": [
  13683. "asapplyid"
  13684. ],
  13685. "properties": {
  13686. "applybasis": {
  13687. "description": "申请基差",
  13688. "type": "number"
  13689. },
  13690. "asapplyid": {
  13691. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  13692. "type": "string"
  13693. },
  13694. "asname": {
  13695. "description": "策略名称",
  13696. "type": "string"
  13697. },
  13698. "asno": {
  13699. "description": "策略编号",
  13700. "type": "string"
  13701. },
  13702. "basischangepl": {
  13703. "description": "基差变动损益[结算更新]",
  13704. "type": "number"
  13705. },
  13706. "biztype": {
  13707. "description": "业务类型 - 1:正向套利 -1:反向套利",
  13708. "type": "integer"
  13709. },
  13710. "closetradedate": {
  13711. "description": "完结交易日(yyyyMMdd)",
  13712. "type": "string"
  13713. },
  13714. "curbasis": {
  13715. "description": "当前基差[结算更新]",
  13716. "type": "number"
  13717. },
  13718. "deliverygoodsid": {
  13719. "description": "现货品种ID",
  13720. "type": "integer"
  13721. },
  13722. "futureavgprice": {
  13723. "description": "期货建仓均价",
  13724. "type": "number"
  13725. },
  13726. "futurecloseamount": {
  13727. "description": "期货平仓金额",
  13728. "type": "number"
  13729. },
  13730. "futurecloseqty": {
  13731. "description": "期货平仓数量",
  13732. "type": "number"
  13733. },
  13734. "futureopenamount": {
  13735. "description": "期货开仓金额",
  13736. "type": "number"
  13737. },
  13738. "futureopenqty": {
  13739. "description": "期货开仓数量",
  13740. "type": "number"
  13741. },
  13742. "futurepl": {
  13743. "description": "期货总盈亏[结算更新]",
  13744. "type": "number"
  13745. },
  13746. "futureqty": {
  13747. "description": "期货持仓数量",
  13748. "type": "number"
  13749. },
  13750. "futurequote": {
  13751. "description": "期货额度",
  13752. "type": "number"
  13753. },
  13754. "goodsgroupid": {
  13755. "description": "期货品种ID",
  13756. "type": "integer"
  13757. },
  13758. "marketid": {
  13759. "description": "市场ID",
  13760. "type": "integer"
  13761. },
  13762. "netexposure": {
  13763. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  13764. "type": "number"
  13765. },
  13766. "netexposurepl": {
  13767. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  13768. "type": "number"
  13769. },
  13770. "netexposurerate": {
  13771. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  13772. "type": "number"
  13773. },
  13774. "openbasis": {
  13775. "description": "建仓基差",
  13776. "type": "number"
  13777. },
  13778. "pricedspotqty": {
  13779. "description": "已定价现货数量",
  13780. "type": "number"
  13781. },
  13782. "pricedspotqtynotax": {
  13783. "description": "已定价现货不含税数量",
  13784. "type": "number"
  13785. },
  13786. "remark": {
  13787. "description": "备注",
  13788. "type": "string"
  13789. },
  13790. "spotavgprice": {
  13791. "description": "现货均价",
  13792. "type": "number"
  13793. },
  13794. "spotbuyamount": {
  13795. "description": "现货采购金额",
  13796. "type": "number"
  13797. },
  13798. "spotbuyqty": {
  13799. "description": "现货采购数量",
  13800. "type": "number"
  13801. },
  13802. "spotpl": {
  13803. "description": "现货总盈亏[结算更新]",
  13804. "type": "number"
  13805. },
  13806. "spotquota": {
  13807. "description": "现货额度",
  13808. "type": "number"
  13809. },
  13810. "spotsellamount": {
  13811. "description": "现货销售金额",
  13812. "type": "number"
  13813. },
  13814. "spotsellqty": {
  13815. "description": "现货销售数量",
  13816. "type": "number"
  13817. },
  13818. "spotusedquota": {
  13819. "description": "现货占用资金",
  13820. "type": "number"
  13821. },
  13822. "strategystatus": {
  13823. "description": "策略状态 - 0:未结束 1:已结束",
  13824. "type": "integer"
  13825. },
  13826. "totalpl": {
  13827. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  13828. "type": "number"
  13829. },
  13830. "tradedate": {
  13831. "description": "交易日(yyyyMMdd)",
  13832. "type": "string"
  13833. },
  13834. "updatetime": {
  13835. "description": "更新时间",
  13836. "type": "string"
  13837. },
  13838. "usedquota": {
  13839. "description": "已占用资金",
  13840. "type": "number"
  13841. },
  13842. "userid": {
  13843. "description": "所属机构",
  13844. "type": "integer"
  13845. }
  13846. }
  13847. },
  13848. "erms2.QueryInnerTradeDetailRsp": {
  13849. "type": "object",
  13850. "required": [
  13851. "asapplyid",
  13852. "buyorsell",
  13853. "goodscode",
  13854. "goodsgroupid",
  13855. "goodsgroupname",
  13856. "goodsname",
  13857. "tradeid"
  13858. ],
  13859. "properties": {
  13860. "accountid": {
  13861. "description": "账号ID",
  13862. "type": "integer"
  13863. },
  13864. "agreeunit": {
  13865. "description": "合约单位",
  13866. "type": "number"
  13867. },
  13868. "asapplyid": {
  13869. "description": "策略申请ID",
  13870. "type": "integer"
  13871. },
  13872. "asname": {
  13873. "description": "策略名称",
  13874. "type": "string"
  13875. },
  13876. "asno": {
  13877. "description": "策略编号",
  13878. "type": "string"
  13879. },
  13880. "buyorsell": {
  13881. "description": "方向 - 0:买 1:卖",
  13882. "type": "integer"
  13883. },
  13884. "channelbuildtype": {
  13885. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  13886. "type": "integer"
  13887. },
  13888. "closetype": {
  13889. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  13890. "type": "integer"
  13891. },
  13892. "decimalplace": {
  13893. "description": "报价小数位",
  13894. "type": "integer"
  13895. },
  13896. "detailtype": {
  13897. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  13898. "type": "integer"
  13899. },
  13900. "exexchangecode": {
  13901. "description": "外部交易所代码",
  13902. "type": "string"
  13903. },
  13904. "exexchangename": {
  13905. "description": "外部交易所名称",
  13906. "type": "string"
  13907. },
  13908. "goodscode": {
  13909. "description": "商品代码(合约)",
  13910. "type": "string"
  13911. },
  13912. "goodsgroupid": {
  13913. "description": "商品组ID(品种ID)",
  13914. "type": "integer"
  13915. },
  13916. "goodsgroupname": {
  13917. "description": "商品组名称(品种)",
  13918. "type": "string"
  13919. },
  13920. "goodsid": {
  13921. "description": "商品ID",
  13922. "type": "integer"
  13923. },
  13924. "goodsname": {
  13925. "description": "商品名称(合约)",
  13926. "type": "string"
  13927. },
  13928. "goodunit": {
  13929. "description": "报价单位",
  13930. "type": "string"
  13931. },
  13932. "marketid": {
  13933. "description": "市场ID",
  13934. "type": "integer"
  13935. },
  13936. "orderid": {
  13937. "description": "委托单号",
  13938. "type": "string"
  13939. },
  13940. "outgoodscode": {
  13941. "description": "商品代码(外部)",
  13942. "type": "string"
  13943. },
  13944. "relatedouttradeid": {
  13945. "description": "关联外部成交单ID",
  13946. "type": "string"
  13947. },
  13948. "remark": {
  13949. "description": "备注",
  13950. "type": "string"
  13951. },
  13952. "spotcontractid": {
  13953. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  13954. "type": "integer"
  13955. },
  13956. "spotcontractno": {
  13957. "description": "现货合同编号",
  13958. "type": "string"
  13959. },
  13960. "tradeid": {
  13961. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13962. "type": "string"
  13963. },
  13964. "tradeprice": {
  13965. "description": "成交价格",
  13966. "type": "number"
  13967. },
  13968. "tradeqty": {
  13969. "description": "成交数量",
  13970. "type": "integer"
  13971. },
  13972. "tradetime": {
  13973. "description": "成交时间",
  13974. "type": "string"
  13975. },
  13976. "updatetime": {
  13977. "description": "更新时间",
  13978. "type": "string"
  13979. }
  13980. }
  13981. },
  13982. "erms2.QuerySpotContractRsp": {
  13983. "type": "object",
  13984. "required": [
  13985. "spotcontractid"
  13986. ],
  13987. "properties": {
  13988. "accountid": {
  13989. "description": "资金账户ID",
  13990. "type": "integer"
  13991. },
  13992. "areauserid": {
  13993. "description": "所属机构",
  13994. "type": "integer"
  13995. },
  13996. "closedate": {
  13997. "description": "终止日期",
  13998. "type": "string"
  13999. },
  14000. "closeremark": {
  14001. "description": "结束备注",
  14002. "type": "string"
  14003. },
  14004. "closetradedate": {
  14005. "description": "完结交易日(yyyyMMdd)",
  14006. "type": "string"
  14007. },
  14008. "closetype": {
  14009. "description": "终止类型 - 1:违约 2:提前终止",
  14010. "type": "integer"
  14011. },
  14012. "contractamount": {
  14013. "description": "合同金额",
  14014. "type": "number"
  14015. },
  14016. "contractattachment": {
  14017. "description": "合同附件",
  14018. "type": "string"
  14019. },
  14020. "contractno": {
  14021. "description": "现货合同编号",
  14022. "type": "string"
  14023. },
  14024. "contractqty": {
  14025. "description": "合同数量(数值) (用于计算)",
  14026. "type": "number"
  14027. },
  14028. "contractqtychar": {
  14029. "description": "合同数量\\已订价数量 (用于显示)",
  14030. "type": "string"
  14031. },
  14032. "contractstatus": {
  14033. "description": "合同状态 - 0:未结束 1:已结束",
  14034. "type": "integer"
  14035. },
  14036. "contracttype": {
  14037. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  14038. "type": "integer"
  14039. },
  14040. "customeraccountid": {
  14041. "description": "客户资金账户ID",
  14042. "type": "integer"
  14043. },
  14044. "customeruserid": {
  14045. "description": "客户ID",
  14046. "type": "integer"
  14047. },
  14048. "deliverygoodsdesc": {
  14049. "description": "品种说明",
  14050. "type": "string"
  14051. },
  14052. "deliverygoodsid": {
  14053. "description": "现货品种ID",
  14054. "type": "integer"
  14055. },
  14056. "handlestatus": {
  14057. "description": "处理状态",
  14058. "type": "integer"
  14059. },
  14060. "invoiceatt": {
  14061. "description": "发票附件",
  14062. "type": "string"
  14063. },
  14064. "invoicedatetime": {
  14065. "description": "开收票更新时间",
  14066. "type": "string"
  14067. },
  14068. "invoiceopentime": {
  14069. "description": "开票时间",
  14070. "type": "string"
  14071. },
  14072. "invoiceremark": {
  14073. "description": "发票备注",
  14074. "type": "string"
  14075. },
  14076. "invoicestatus": {
  14077. "description": "开收票状态 - 0:未开票 1:已开票",
  14078. "type": "integer"
  14079. },
  14080. "lastdate": {
  14081. "description": "交货时间",
  14082. "type": "string"
  14083. },
  14084. "marketid": {
  14085. "description": "市场ID",
  14086. "type": "integer"
  14087. },
  14088. "paydatetime": {
  14089. "description": "收付款更新时间",
  14090. "type": "string"
  14091. },
  14092. "payremark": {
  14093. "description": "收付款备注",
  14094. "type": "string"
  14095. },
  14096. "paystatus": {
  14097. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  14098. "type": "integer"
  14099. },
  14100. "positionqty": {
  14101. "description": "头寸数量 - 合同数量去小数部分",
  14102. "type": "integer"
  14103. },
  14104. "producttype": {
  14105. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14106. "type": "integer"
  14107. },
  14108. "relatedqty": {
  14109. "description": "已关联数量",
  14110. "type": "number"
  14111. },
  14112. "relatedstatus": {
  14113. "description": "关联完结状态 - 0:未结束 1:已结束",
  14114. "type": "integer"
  14115. },
  14116. "remark": {
  14117. "description": "备注",
  14118. "type": "string"
  14119. },
  14120. "signdate": {
  14121. "description": "签订日期",
  14122. "type": "string"
  14123. },
  14124. "spotcontractid": {
  14125. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  14126. "type": "string"
  14127. },
  14128. "spotdatetime": {
  14129. "description": "收发货更新时间",
  14130. "type": "string"
  14131. },
  14132. "spotprice": {
  14133. "description": "价格",
  14134. "type": "number"
  14135. },
  14136. "spotremark": {
  14137. "description": "收发货备注",
  14138. "type": "string"
  14139. },
  14140. "spotstatus": {
  14141. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  14142. "type": "integer"
  14143. },
  14144. "tradedate": {
  14145. "description": "交易日(yyyyMMdd)",
  14146. "type": "string"
  14147. },
  14148. "userid": {
  14149. "description": "业务员用户ID",
  14150. "type": "integer"
  14151. },
  14152. "warehouseid": {
  14153. "description": "仓库ID",
  14154. "type": "integer"
  14155. },
  14156. "wrfactortypeid": {
  14157. "description": "仓单要素类型ID",
  14158. "type": "integer"
  14159. },
  14160. "wrstandardid": {
  14161. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  14162. "type": "integer"
  14163. }
  14164. }
  14165. },
  14166. "erms3.AddErms2ASApplyReq": {
  14167. "type": "object",
  14168. "required": [
  14169. "asapplyid"
  14170. ],
  14171. "properties": {
  14172. "applybasis": {
  14173. "description": "申请基差",
  14174. "type": "number"
  14175. },
  14176. "applystatus": {
  14177. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14178. "type": "integer"
  14179. },
  14180. "asapplyid": {
  14181. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  14182. "type": "integer"
  14183. },
  14184. "asname": {
  14185. "description": "策略名称",
  14186. "type": "string"
  14187. },
  14188. "asno": {
  14189. "description": "策略编号",
  14190. "type": "string"
  14191. },
  14192. "auditid": {
  14193. "description": "审核人",
  14194. "type": "integer"
  14195. },
  14196. "auditremark": {
  14197. "description": "审核备注",
  14198. "type": "string"
  14199. },
  14200. "audittime": {
  14201. "description": "审核时间",
  14202. "type": "string"
  14203. },
  14204. "biztype": {
  14205. "description": "业务类型 - 1:正向套利 2:反向套利",
  14206. "type": "integer"
  14207. },
  14208. "createtime": {
  14209. "description": "创建时间",
  14210. "type": "string"
  14211. },
  14212. "creatorid": {
  14213. "description": "创建人",
  14214. "type": "integer"
  14215. },
  14216. "deliverygoodsid": {
  14217. "description": "现货品种ID",
  14218. "type": "integer"
  14219. },
  14220. "futurequote": {
  14221. "description": "期货额度",
  14222. "type": "number"
  14223. },
  14224. "goodsgroupid": {
  14225. "description": "期货品种ID",
  14226. "type": "integer"
  14227. },
  14228. "marketid": {
  14229. "description": "市场ID",
  14230. "type": "integer"
  14231. },
  14232. "remark": {
  14233. "description": "备注",
  14234. "type": "string"
  14235. },
  14236. "spotquota": {
  14237. "description": "现货额度",
  14238. "type": "number"
  14239. },
  14240. "tradedate": {
  14241. "description": "交易日(yyyyMMdd)",
  14242. "type": "string"
  14243. },
  14244. "userid": {
  14245. "description": "所属机构",
  14246. "type": "integer"
  14247. }
  14248. }
  14249. },
  14250. "erms3.AddErms2SpotTradeApplyReq": {
  14251. "type": "object",
  14252. "required": [
  14253. "spottradeid"
  14254. ],
  14255. "properties": {
  14256. "applyjsondetail": {
  14257. "description": "申请明细(JSON)",
  14258. "type": "string"
  14259. },
  14260. "applystatus": {
  14261. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14262. "type": "integer"
  14263. },
  14264. "areauserid": {
  14265. "description": "所属机构",
  14266. "type": "integer"
  14267. },
  14268. "auditid": {
  14269. "description": "审核人",
  14270. "type": "integer"
  14271. },
  14272. "auditremark": {
  14273. "description": "审核备注",
  14274. "type": "string"
  14275. },
  14276. "audittime": {
  14277. "description": "审核时间",
  14278. "type": "string"
  14279. },
  14280. "createtime": {
  14281. "description": "创建时间",
  14282. "type": "string"
  14283. },
  14284. "creatorid": {
  14285. "description": "创建人",
  14286. "type": "integer"
  14287. },
  14288. "deliverygoodsid": {
  14289. "description": "现货品种ID",
  14290. "type": "integer"
  14291. },
  14292. "futureaccountid": {
  14293. "description": "期货资金账户",
  14294. "type": "integer"
  14295. },
  14296. "goodsgroupid": {
  14297. "description": "期货品种",
  14298. "type": "integer"
  14299. },
  14300. "marketid": {
  14301. "description": "市场ID",
  14302. "type": "integer"
  14303. },
  14304. "remark": {
  14305. "description": "备注",
  14306. "type": "string"
  14307. },
  14308. "spotaccountid": {
  14309. "description": "现货资金账户",
  14310. "type": "integer"
  14311. },
  14312. "spottradeid": {
  14313. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  14314. "type": "integer"
  14315. },
  14316. "spottradename": {
  14317. "description": "业务名称",
  14318. "type": "string"
  14319. },
  14320. "spottradeno": {
  14321. "description": "业务编号",
  14322. "type": "string"
  14323. },
  14324. "tradedate": {
  14325. "description": "交易日(yyyyMMdd)",
  14326. "type": "string"
  14327. },
  14328. "wrstandardid": {
  14329. "description": "仓单标准ID",
  14330. "type": "integer"
  14331. }
  14332. }
  14333. },
  14334. "erms3.AddSpotContractApplyReq": {
  14335. "type": "object",
  14336. "required": [
  14337. "accountid",
  14338. "areauserid",
  14339. "contractno",
  14340. "contracttype",
  14341. "customeraccountid",
  14342. "customeruserid",
  14343. "details",
  14344. "orimargin",
  14345. "signdate"
  14346. ],
  14347. "properties": {
  14348. "accountid": {
  14349. "description": "资金账户ID",
  14350. "type": "integer"
  14351. },
  14352. "areauserid": {
  14353. "description": "所属机构",
  14354. "type": "integer"
  14355. },
  14356. "contractattachment": {
  14357. "description": "合同附件",
  14358. "type": "string"
  14359. },
  14360. "contractno": {
  14361. "description": "现货合同编号",
  14362. "type": "string"
  14363. },
  14364. "contracttype": {
  14365. "description": "现货合同类型 - 1:采购 -1:销售",
  14366. "type": "integer"
  14367. },
  14368. "creatorid": {
  14369. "description": "申请人",
  14370. "type": "integer"
  14371. },
  14372. "customeraccountid": {
  14373. "description": "客户资金账户ID",
  14374. "type": "integer"
  14375. },
  14376. "customeruserid": {
  14377. "description": "客户ID",
  14378. "type": "integer"
  14379. },
  14380. "details": {
  14381. "description": "明细",
  14382. "type": "array",
  14383. "items": {
  14384. "$ref": "#/definitions/erms3.SoptContractDetail"
  14385. }
  14386. },
  14387. "orimargin": {
  14388. "description": "初始保证金",
  14389. "type": "number"
  14390. },
  14391. "remark": {
  14392. "description": "备注",
  14393. "type": "string"
  14394. },
  14395. "signdate": {
  14396. "description": "签订日期",
  14397. "type": "string"
  14398. }
  14399. }
  14400. },
  14401. "erms3.AddSpotContractApplyRsp": {
  14402. "type": "object",
  14403. "required": [
  14404. "contractno"
  14405. ],
  14406. "properties": {
  14407. "contractno": {
  14408. "description": "现货合同编号",
  14409. "type": "string"
  14410. },
  14411. "spotcontractid": {
  14412. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  14413. "type": "integer"
  14414. }
  14415. }
  14416. },
  14417. "erms3.AddUserInfoApplyReq": {
  14418. "type": "object",
  14419. "required": [
  14420. "userid"
  14421. ],
  14422. "properties": {
  14423. "accountid": {
  14424. "description": "交易系统帐号Id (加密存储)",
  14425. "type": "integer"
  14426. },
  14427. "areacode": {
  14428. "description": "机构代码",
  14429. "type": "string"
  14430. },
  14431. "areaid": {
  14432. "description": "机构Id",
  14433. "type": "integer"
  14434. },
  14435. "attachment1": {
  14436. "description": "附件1",
  14437. "type": "string"
  14438. },
  14439. "attachment2": {
  14440. "description": "附件2",
  14441. "type": "string"
  14442. },
  14443. "attachment3": {
  14444. "description": "附件3",
  14445. "type": "string"
  14446. },
  14447. "attachment4": {
  14448. "description": "附件4",
  14449. "type": "string"
  14450. },
  14451. "attachment5": {
  14452. "description": "附件5",
  14453. "type": "string"
  14454. },
  14455. "auditedby": {
  14456. "description": "审核人",
  14457. "type": "string"
  14458. },
  14459. "auditime": {
  14460. "description": "审核时间",
  14461. "type": "string"
  14462. },
  14463. "auditsrc": {
  14464. "description": "审核来源 - 1:管理端 2:终端",
  14465. "type": "integer"
  14466. },
  14467. "bankaccount": {
  14468. "description": "银行帐号 (加密存储)",
  14469. "type": "string"
  14470. },
  14471. "bankaccountname": {
  14472. "description": "收款人名称",
  14473. "type": "string"
  14474. },
  14475. "bankcardbackphotourl": {
  14476. "description": "银行卡背面照地址",
  14477. "type": "string"
  14478. },
  14479. "bankcardfrontphotourl": {
  14480. "description": "银行卡正面照地址",
  14481. "type": "string"
  14482. },
  14483. "bankid": {
  14484. "description": "银行编码",
  14485. "type": "string"
  14486. },
  14487. "bankname": {
  14488. "description": "银行名称",
  14489. "type": "string"
  14490. },
  14491. "bankpictureurl": {
  14492. "description": "银行卡正面地址",
  14493. "type": "string"
  14494. },
  14495. "biznature": {
  14496. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14497. "type": "integer"
  14498. },
  14499. "bizscope": {
  14500. "description": "企业经营范围(企业)",
  14501. "type": "string"
  14502. },
  14503. "biztype": {
  14504. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14505. "type": "integer"
  14506. },
  14507. "brokerid": {
  14508. "description": "经纪人ID(加密存储)",
  14509. "type": "string"
  14510. },
  14511. "cardaddress": {
  14512. "description": "证件地址 (加密存储)",
  14513. "type": "string"
  14514. },
  14515. "cardbackphotourl": {
  14516. "description": "背面证件照地址",
  14517. "type": "string"
  14518. },
  14519. "cardfrontphotourl": {
  14520. "description": "正面证件照地址",
  14521. "type": "string"
  14522. },
  14523. "cardnum": {
  14524. "description": "证件号码 (加密存储)",
  14525. "type": "string"
  14526. },
  14527. "cardtype": {
  14528. "description": "证件类型",
  14529. "type": "integer"
  14530. },
  14531. "cityid": {
  14532. "description": "市",
  14533. "type": "integer"
  14534. },
  14535. "company": {
  14536. "description": "公司(个人)",
  14537. "type": "string"
  14538. },
  14539. "contactcardbackphotourl": {
  14540. "description": "联系人证件背面图片地址",
  14541. "type": "string"
  14542. },
  14543. "contactcardfrontphotourl": {
  14544. "description": "联系人证件正面图片地址",
  14545. "type": "string"
  14546. },
  14547. "contactname": {
  14548. "description": "联系人",
  14549. "type": "string"
  14550. },
  14551. "countryid": {
  14552. "description": "国家",
  14553. "type": "integer"
  14554. },
  14555. "createtime": {
  14556. "description": "开户申请时间",
  14557. "type": "string"
  14558. },
  14559. "cusbankid": {
  14560. "description": "签约类型",
  14561. "type": "string"
  14562. },
  14563. "cusbankname": {
  14564. "description": "签约类型名称",
  14565. "type": "string"
  14566. },
  14567. "customername": {
  14568. "description": "客户名称(企业名称)",
  14569. "type": "string"
  14570. },
  14571. "districtid": {
  14572. "description": "地区",
  14573. "type": "integer"
  14574. },
  14575. "email": {
  14576. "description": "Email地址(加密存储)",
  14577. "type": "string"
  14578. },
  14579. "halfbodyphotourl": {
  14580. "description": "半身照地址",
  14581. "type": "string"
  14582. },
  14583. "headurl": {
  14584. "description": "头像地址",
  14585. "type": "string"
  14586. },
  14587. "ipaddress": {
  14588. "description": "IP地址",
  14589. "type": "string"
  14590. },
  14591. "isvalidate": {
  14592. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14593. "type": "string"
  14594. },
  14595. "legalcardbackphotourl": {
  14596. "description": "法人身份证背面照地址",
  14597. "type": "string"
  14598. },
  14599. "legalcardfrontphotourl": {
  14600. "description": "法人身份证正面照地址",
  14601. "type": "string"
  14602. },
  14603. "legalpersonname": {
  14604. "description": "法人姓名(企业)",
  14605. "type": "string"
  14606. },
  14607. "logincode": {
  14608. "description": "登录帐号 (加密存储)",
  14609. "type": "string"
  14610. },
  14611. "memberareaid": {
  14612. "description": "所属会员ID",
  14613. "type": "integer"
  14614. },
  14615. "mobile2": {
  14616. "description": "手机号码[明文-尚志]",
  14617. "type": "string"
  14618. },
  14619. "mobilephone": {
  14620. "description": "手机号码 (加密存储)",
  14621. "type": "string"
  14622. },
  14623. "modifiedby": {
  14624. "description": "修改人帐号",
  14625. "type": "integer"
  14626. },
  14627. "modifiedtime": {
  14628. "description": "修改时间",
  14629. "type": "string"
  14630. },
  14631. "nickname": {
  14632. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14633. "type": "string"
  14634. },
  14635. "openmode": {
  14636. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14637. "type": "integer"
  14638. },
  14639. "otherurl": {
  14640. "description": "其它图片地址[使用分号分隔]",
  14641. "type": "string"
  14642. },
  14643. "postalcode": {
  14644. "description": "邮政编码",
  14645. "type": "string"
  14646. },
  14647. "provinceid": {
  14648. "description": "省",
  14649. "type": "integer"
  14650. },
  14651. "proxystatementurl": {
  14652. "description": "授权委托书",
  14653. "type": "string"
  14654. },
  14655. "qq": {
  14656. "description": "QQ(加密存储",
  14657. "type": "string"
  14658. },
  14659. "referral": {
  14660. "description": "推荐人编码",
  14661. "type": "string"
  14662. },
  14663. "remark": {
  14664. "description": "备注",
  14665. "type": "string"
  14666. },
  14667. "removebeforestatus": {
  14668. "description": "REMOVEBEFORESTATUS",
  14669. "type": "integer"
  14670. },
  14671. "sex": {
  14672. "description": "性别 - 0:女 1:男",
  14673. "type": "integer"
  14674. },
  14675. "signedstatus": {
  14676. "description": "账户一号签签约状态",
  14677. "type": "integer"
  14678. },
  14679. "signpdfurl": {
  14680. "description": "签约pdf文件",
  14681. "type": "string"
  14682. },
  14683. "subbranch": {
  14684. "description": "开户支行",
  14685. "type": "string"
  14686. },
  14687. "taxpayernum": {
  14688. "description": "纳税人识别号",
  14689. "type": "string"
  14690. },
  14691. "telphone": {
  14692. "description": "联系电话(加密存储)",
  14693. "type": "string"
  14694. },
  14695. "userid": {
  14696. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14697. "type": "integer"
  14698. },
  14699. "userinfotype": {
  14700. "description": "用户信息类型 - 1:个人 2:企业",
  14701. "type": "integer"
  14702. },
  14703. "username": {
  14704. "description": "用户姓名",
  14705. "type": "string"
  14706. },
  14707. "userstate": {
  14708. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14709. "type": "integer"
  14710. },
  14711. "usertype": {
  14712. "description": "用户类型 - 1:投资者 2:机构",
  14713. "type": "integer"
  14714. },
  14715. "videourl": {
  14716. "description": "视频地址",
  14717. "type": "string"
  14718. },
  14719. "wechat": {
  14720. "description": "微信号 (加密存储)",
  14721. "type": "string"
  14722. }
  14723. }
  14724. },
  14725. "erms3.CustomerInfo": {
  14726. "type": "object",
  14727. "required": [
  14728. "userid"
  14729. ],
  14730. "properties": {
  14731. "accountids": {
  14732. "description": "资金账户ID列表",
  14733. "type": "array",
  14734. "items": {
  14735. "type": "integer"
  14736. }
  14737. },
  14738. "customername": {
  14739. "description": "名称(企业名称)",
  14740. "type": "string"
  14741. },
  14742. "mobile": {
  14743. "description": "手机号码",
  14744. "type": "string"
  14745. },
  14746. "userid": {
  14747. "description": "用户ID",
  14748. "type": "integer"
  14749. }
  14750. }
  14751. },
  14752. "erms3.ModifyUserInfoApplyReq": {
  14753. "type": "object",
  14754. "required": [
  14755. "userid"
  14756. ],
  14757. "properties": {
  14758. "accountid": {
  14759. "description": "交易系统帐号Id (加密存储)",
  14760. "type": "integer"
  14761. },
  14762. "areacode": {
  14763. "description": "机构代码",
  14764. "type": "string"
  14765. },
  14766. "areaid": {
  14767. "description": "机构Id",
  14768. "type": "integer"
  14769. },
  14770. "attachment1": {
  14771. "description": "附件1",
  14772. "type": "string"
  14773. },
  14774. "attachment2": {
  14775. "description": "附件2",
  14776. "type": "string"
  14777. },
  14778. "attachment3": {
  14779. "description": "附件3",
  14780. "type": "string"
  14781. },
  14782. "attachment4": {
  14783. "description": "附件4",
  14784. "type": "string"
  14785. },
  14786. "attachment5": {
  14787. "description": "附件5",
  14788. "type": "string"
  14789. },
  14790. "auditedby": {
  14791. "description": "审核人",
  14792. "type": "string"
  14793. },
  14794. "auditime": {
  14795. "description": "审核时间",
  14796. "type": "string"
  14797. },
  14798. "auditsrc": {
  14799. "description": "审核来源 - 1:管理端 2:终端",
  14800. "type": "integer"
  14801. },
  14802. "bankaccount": {
  14803. "description": "银行帐号 (加密存储)",
  14804. "type": "string"
  14805. },
  14806. "bankaccountname": {
  14807. "description": "收款人名称",
  14808. "type": "string"
  14809. },
  14810. "bankcardbackphotourl": {
  14811. "description": "银行卡背面照地址",
  14812. "type": "string"
  14813. },
  14814. "bankcardfrontphotourl": {
  14815. "description": "银行卡正面照地址",
  14816. "type": "string"
  14817. },
  14818. "bankid": {
  14819. "description": "银行编码",
  14820. "type": "string"
  14821. },
  14822. "bankname": {
  14823. "description": "银行名称",
  14824. "type": "string"
  14825. },
  14826. "bankpictureurl": {
  14827. "description": "银行卡正面地址",
  14828. "type": "string"
  14829. },
  14830. "biznature": {
  14831. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14832. "type": "integer"
  14833. },
  14834. "bizscope": {
  14835. "description": "企业经营范围(企业)",
  14836. "type": "string"
  14837. },
  14838. "biztype": {
  14839. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14840. "type": "integer"
  14841. },
  14842. "brokerid": {
  14843. "description": "经纪人ID(加密存储)",
  14844. "type": "string"
  14845. },
  14846. "cardaddress": {
  14847. "description": "证件地址 (加密存储)",
  14848. "type": "string"
  14849. },
  14850. "cardbackphotourl": {
  14851. "description": "背面证件照地址",
  14852. "type": "string"
  14853. },
  14854. "cardfrontphotourl": {
  14855. "description": "正面证件照地址",
  14856. "type": "string"
  14857. },
  14858. "cardnum": {
  14859. "description": "证件号码 (加密存储)",
  14860. "type": "string"
  14861. },
  14862. "cardtype": {
  14863. "description": "证件类型",
  14864. "type": "integer"
  14865. },
  14866. "cityid": {
  14867. "description": "市",
  14868. "type": "integer"
  14869. },
  14870. "company": {
  14871. "description": "公司(个人)",
  14872. "type": "string"
  14873. },
  14874. "contactcardbackphotourl": {
  14875. "description": "联系人证件背面图片地址",
  14876. "type": "string"
  14877. },
  14878. "contactcardfrontphotourl": {
  14879. "description": "联系人证件正面图片地址",
  14880. "type": "string"
  14881. },
  14882. "contactname": {
  14883. "description": "联系人",
  14884. "type": "string"
  14885. },
  14886. "countryid": {
  14887. "description": "国家",
  14888. "type": "integer"
  14889. },
  14890. "createtime": {
  14891. "description": "开户申请时间",
  14892. "type": "string"
  14893. },
  14894. "cusbankid": {
  14895. "description": "签约类型",
  14896. "type": "string"
  14897. },
  14898. "cusbankname": {
  14899. "description": "签约类型名称",
  14900. "type": "string"
  14901. },
  14902. "customername": {
  14903. "description": "客户名称(企业名称)",
  14904. "type": "string"
  14905. },
  14906. "districtid": {
  14907. "description": "地区",
  14908. "type": "integer"
  14909. },
  14910. "email": {
  14911. "description": "Email地址(加密存储)",
  14912. "type": "string"
  14913. },
  14914. "halfbodyphotourl": {
  14915. "description": "半身照地址",
  14916. "type": "string"
  14917. },
  14918. "headurl": {
  14919. "description": "头像地址",
  14920. "type": "string"
  14921. },
  14922. "ipaddress": {
  14923. "description": "IP地址",
  14924. "type": "string"
  14925. },
  14926. "isvalidate": {
  14927. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14928. "type": "string"
  14929. },
  14930. "legalcardbackphotourl": {
  14931. "description": "法人身份证背面照地址",
  14932. "type": "string"
  14933. },
  14934. "legalcardfrontphotourl": {
  14935. "description": "法人身份证正面照地址",
  14936. "type": "string"
  14937. },
  14938. "legalpersonname": {
  14939. "description": "法人姓名(企业)",
  14940. "type": "string"
  14941. },
  14942. "logincode": {
  14943. "description": "登录帐号 (加密存储)",
  14944. "type": "string"
  14945. },
  14946. "memberareaid": {
  14947. "description": "所属会员ID",
  14948. "type": "integer"
  14949. },
  14950. "mobile2": {
  14951. "description": "手机号码[明文-尚志]",
  14952. "type": "string"
  14953. },
  14954. "mobilephone": {
  14955. "description": "手机号码 (加密存储)",
  14956. "type": "string"
  14957. },
  14958. "modifiedby": {
  14959. "description": "修改人帐号",
  14960. "type": "integer"
  14961. },
  14962. "modifiedtime": {
  14963. "description": "修改时间",
  14964. "type": "string"
  14965. },
  14966. "nickname": {
  14967. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14968. "type": "string"
  14969. },
  14970. "openmode": {
  14971. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14972. "type": "integer"
  14973. },
  14974. "otherurl": {
  14975. "description": "其它图片地址[使用分号分隔]",
  14976. "type": "string"
  14977. },
  14978. "postalcode": {
  14979. "description": "邮政编码",
  14980. "type": "string"
  14981. },
  14982. "provinceid": {
  14983. "description": "省",
  14984. "type": "integer"
  14985. },
  14986. "proxystatementurl": {
  14987. "description": "授权委托书",
  14988. "type": "string"
  14989. },
  14990. "qq": {
  14991. "description": "QQ(加密存储",
  14992. "type": "string"
  14993. },
  14994. "referral": {
  14995. "description": "推荐人编码",
  14996. "type": "string"
  14997. },
  14998. "remark": {
  14999. "description": "备注",
  15000. "type": "string"
  15001. },
  15002. "removebeforestatus": {
  15003. "description": "REMOVEBEFORESTATUS",
  15004. "type": "integer"
  15005. },
  15006. "sex": {
  15007. "description": "性别 - 0:女 1:男",
  15008. "type": "integer"
  15009. },
  15010. "signedstatus": {
  15011. "description": "账户一号签签约状态",
  15012. "type": "integer"
  15013. },
  15014. "signpdfurl": {
  15015. "description": "签约pdf文件",
  15016. "type": "string"
  15017. },
  15018. "subbranch": {
  15019. "description": "开户支行",
  15020. "type": "string"
  15021. },
  15022. "taxpayernum": {
  15023. "description": "纳税人识别号",
  15024. "type": "string"
  15025. },
  15026. "telphone": {
  15027. "description": "联系电话(加密存储)",
  15028. "type": "string"
  15029. },
  15030. "userid": {
  15031. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15032. "type": "integer"
  15033. },
  15034. "userinfotype": {
  15035. "description": "用户信息类型 - 1:个人 2:企业",
  15036. "type": "integer"
  15037. },
  15038. "username": {
  15039. "description": "用户姓名",
  15040. "type": "string"
  15041. },
  15042. "userstate": {
  15043. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15044. "type": "integer"
  15045. },
  15046. "usertype": {
  15047. "description": "用户类型 - 1:投资者 2:机构",
  15048. "type": "integer"
  15049. },
  15050. "videourl": {
  15051. "description": "视频地址",
  15052. "type": "string"
  15053. },
  15054. "wechat": {
  15055. "description": "微信号 (加密存储)",
  15056. "type": "string"
  15057. }
  15058. }
  15059. },
  15060. "erms3.QryAuditContractRsp": {
  15061. "type": "object",
  15062. "required": [
  15063. "matchcustomername",
  15064. "spotcontractid"
  15065. ],
  15066. "properties": {
  15067. "accountid": {
  15068. "description": "交易员ID",
  15069. "type": "string"
  15070. },
  15071. "applystatus": {
  15072. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15073. "type": "integer"
  15074. },
  15075. "curdeliveryqty": {
  15076. "description": "未交收量",
  15077. "type": "integer"
  15078. },
  15079. "customername": {
  15080. "description": "采购方ID",
  15081. "type": "string"
  15082. },
  15083. "deliverygoodsid": {
  15084. "description": "品种ID",
  15085. "type": "string"
  15086. },
  15087. "deliveryqty": {
  15088. "description": "交收量",
  15089. "type": "integer"
  15090. },
  15091. "enumdicname": {
  15092. "description": "单位名称",
  15093. "type": "string"
  15094. },
  15095. "matchaccountid": {
  15096. "description": "业务员ID",
  15097. "type": "string"
  15098. },
  15099. "matchcustomername": {
  15100. "description": "销售方ID",
  15101. "type": "string"
  15102. },
  15103. "pricedqty": {
  15104. "description": "定价量",
  15105. "type": "number"
  15106. },
  15107. "signdate": {
  15108. "description": "签订日期",
  15109. "type": "string"
  15110. },
  15111. "spotcontractid": {
  15112. "description": "合同ID",
  15113. "type": "string"
  15114. },
  15115. "totaldqty": {
  15116. "description": "合同量",
  15117. "type": "number"
  15118. },
  15119. "unpricedqty": {
  15120. "description": "未定价量",
  15121. "type": "number"
  15122. },
  15123. "wrstandardname": {
  15124. "description": "商品名称",
  15125. "type": "string"
  15126. }
  15127. }
  15128. },
  15129. "erms3.QryPendingBizRsp": {
  15130. "$ref": "#/definitions/models.PendingAuditBizModel"
  15131. },
  15132. "erms3.QueryBusinessInfoRsp": {
  15133. "type": "object",
  15134. "properties": {
  15135. "businessid": {
  15136. "description": "业务ID.",
  15137. "type": "integer"
  15138. },
  15139. "buyamount": {
  15140. "description": "采购额.",
  15141. "type": "number"
  15142. },
  15143. "buyqty": {
  15144. "description": "采购量.",
  15145. "type": "string"
  15146. },
  15147. "futurepl": {
  15148. "description": "期货盈亏.",
  15149. "type": "number"
  15150. },
  15151. "futureqty": {
  15152. "description": "期货敞口.",
  15153. "type": "string"
  15154. },
  15155. "goodsid": {
  15156. "description": "商品名称/商品代码.",
  15157. "type": "string"
  15158. },
  15159. "hedgingqty": {
  15160. "description": "套保量.",
  15161. "type": "string"
  15162. },
  15163. "sellamount": {
  15164. "description": "销售额.",
  15165. "type": "number"
  15166. },
  15167. "sellqty": {
  15168. "description": "销售量.",
  15169. "type": "string"
  15170. },
  15171. "spotmarketvalue": {
  15172. "description": "现货市值.",
  15173. "type": "number"
  15174. },
  15175. "spotpl": {
  15176. "description": "浮动权益.",
  15177. "type": "number"
  15178. },
  15179. "spotqty": {
  15180. "description": "现货量.",
  15181. "type": "string"
  15182. },
  15183. "statu": {
  15184. "description": "状态,0-未结束 1-已结束.",
  15185. "type": "integer"
  15186. },
  15187. "totalpl": {
  15188. "description": "总盈亏.",
  15189. "type": "number"
  15190. },
  15191. "totalqty": {
  15192. "description": "总敞口.",
  15193. "type": "string"
  15194. },
  15195. "type": {
  15196. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  15197. "type": "integer"
  15198. }
  15199. }
  15200. },
  15201. "erms3.QuerySpotContractAppleFormRsp": {
  15202. "type": "object",
  15203. "properties": {
  15204. "goodses": {
  15205. "description": "合约列表",
  15206. "type": "array",
  15207. "items": {
  15208. "$ref": "#/definitions/models.GoodsIDAndName"
  15209. }
  15210. },
  15211. "oppositeusers": {
  15212. "description": "对方账号列表",
  15213. "type": "array",
  15214. "items": {
  15215. "$ref": "#/definitions/erms3.CustomerInfo"
  15216. }
  15217. },
  15218. "ouruser": {
  15219. "description": "我方账号",
  15220. "type": "object",
  15221. "$ref": "#/definitions/erms3.CustomerInfo"
  15222. },
  15223. "warehouseinfos": {
  15224. "description": "仓库信息列表",
  15225. "type": "array",
  15226. "items": {
  15227. "$ref": "#/definitions/models.Warehouseinfo"
  15228. }
  15229. },
  15230. "wrstandards": {
  15231. "description": "仓单标准列表",
  15232. "type": "array",
  15233. "items": {
  15234. "$ref": "#/definitions/models.WRStandardInfo"
  15235. }
  15236. }
  15237. }
  15238. },
  15239. "erms3.QuerySpotContractInfoRsp": {
  15240. "type": "object",
  15241. "properties": {
  15242. "accountid": {
  15243. "description": "表示交易员ID.",
  15244. "type": "integer"
  15245. },
  15246. "curdeliveryqty": {
  15247. "description": "表示未交收量.",
  15248. "type": "number"
  15249. },
  15250. "customername": {
  15251. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  15252. "type": "string"
  15253. },
  15254. "deliverygoodsid": {
  15255. "description": "表示品种ID.",
  15256. "type": "string"
  15257. },
  15258. "deliveryqty": {
  15259. "description": "表示交收量.",
  15260. "type": "number"
  15261. },
  15262. "matchaccountid": {
  15263. "description": "表示业务员ID.",
  15264. "type": "integer"
  15265. },
  15266. "matchcustomername": {
  15267. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  15268. "type": "string"
  15269. },
  15270. "priceqty": {
  15271. "description": "表示定价量.",
  15272. "type": "number"
  15273. },
  15274. "relatedbizid": {
  15275. "description": "表示业务ID.",
  15276. "type": "string"
  15277. },
  15278. "signdate": {
  15279. "description": "表示签订日期.",
  15280. "type": "string"
  15281. },
  15282. "spotcontractid": {
  15283. "description": "合同ID",
  15284. "type": "string"
  15285. },
  15286. "status": {
  15287. "description": "表示状态,0-履约中 1-已完成.",
  15288. "type": "integer"
  15289. },
  15290. "totalqty": {
  15291. "description": "表示合同量.",
  15292. "type": "number"
  15293. },
  15294. "unpricedqty": {
  15295. "description": "表示未定价量.",
  15296. "type": "number"
  15297. },
  15298. "wrstandardname": {
  15299. "description": "表示商品ID.",
  15300. "type": "string"
  15301. }
  15302. }
  15303. },
  15304. "erms3.QueryUserInfoAppliesRsp": {
  15305. "type": "object",
  15306. "required": [
  15307. "userid"
  15308. ],
  15309. "properties": {
  15310. "biznature": {
  15311. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15312. "type": "integer"
  15313. },
  15314. "contactname": {
  15315. "description": "联系人",
  15316. "type": "string"
  15317. },
  15318. "createtime": {
  15319. "description": "开户申请时间",
  15320. "type": "string"
  15321. },
  15322. "userid": {
  15323. "description": "用户ID(自增ID)",
  15324. "type": "integer"
  15325. },
  15326. "userinfotype": {
  15327. "description": "用户信息类型 - 1:个人 2:企业",
  15328. "type": "integer"
  15329. },
  15330. "username": {
  15331. "description": "用户姓名",
  15332. "type": "string"
  15333. },
  15334. "userstate": {
  15335. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15336. "type": "integer"
  15337. }
  15338. }
  15339. },
  15340. "erms3.QueryUserInfosRsp": {
  15341. "type": "object",
  15342. "required": [
  15343. "userid"
  15344. ],
  15345. "properties": {
  15346. "biznature": {
  15347. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15348. "type": "integer"
  15349. },
  15350. "contactname": {
  15351. "description": "联系人",
  15352. "type": "string"
  15353. },
  15354. "customername": {
  15355. "description": "客户名称(企业名称)",
  15356. "type": "string"
  15357. },
  15358. "userid": {
  15359. "description": "用户ID",
  15360. "type": "integer"
  15361. },
  15362. "userinfotype": {
  15363. "description": "用户信息类型 - 1:个人 2:企业",
  15364. "type": "integer"
  15365. },
  15366. "userstatus": {
  15367. "description": "用户状态 - 1:正常 2:注销",
  15368. "type": "integer"
  15369. }
  15370. }
  15371. },
  15372. "erms3.SoptContractDetail": {
  15373. "type": "object",
  15374. "required": [
  15375. "deliverygoodsid",
  15376. "producttype",
  15377. "unitname",
  15378. "warehouseid",
  15379. "wrstandardid",
  15380. "wrstandardname"
  15381. ],
  15382. "properties": {
  15383. "deliverygoodsdesc": {
  15384. "description": "现货品种说明",
  15385. "type": "string"
  15386. },
  15387. "deliverygoodsid": {
  15388. "description": "现货品种ID",
  15389. "type": "integer"
  15390. },
  15391. "deliverygoodsname": {
  15392. "description": "现货品种名称",
  15393. "type": "string"
  15394. },
  15395. "pointdesc": {
  15396. "description": "点价描述",
  15397. "type": "string"
  15398. },
  15399. "producttype": {
  15400. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  15401. "type": "integer"
  15402. },
  15403. "producttypename": {
  15404. "description": "产品类型名称",
  15405. "type": "string"
  15406. },
  15407. "spotPointOrderVoList": {
  15408. "description": "点价列表",
  15409. "type": "array",
  15410. "items": {
  15411. "$ref": "#/definitions/erms3.SpotPointOrder"
  15412. }
  15413. },
  15414. "spotPriceOrderList": {
  15415. "description": "定价列表",
  15416. "type": "array",
  15417. "items": {
  15418. "$ref": "#/definitions/erms3.SpotPriceOrder"
  15419. }
  15420. },
  15421. "unitname": {
  15422. "description": "单位名称",
  15423. "type": "string"
  15424. },
  15425. "warehouseid": {
  15426. "description": "仓库ID",
  15427. "type": "integer"
  15428. },
  15429. "warehousename": {
  15430. "description": "仓库名称",
  15431. "type": "string"
  15432. },
  15433. "wrstandardid": {
  15434. "description": "交易标的ID",
  15435. "type": "integer"
  15436. },
  15437. "wrstandardname": {
  15438. "description": "交易标的名称",
  15439. "type": "string"
  15440. }
  15441. }
  15442. },
  15443. "erms3.SpotPointOrder": {
  15444. "type": "object",
  15445. "required": [
  15446. "basic",
  15447. "goodsid",
  15448. "qty"
  15449. ],
  15450. "properties": {
  15451. "basic": {
  15452. "description": "基差",
  15453. "type": "number"
  15454. },
  15455. "deliveryenddate": {
  15456. "description": "交收结束日期",
  15457. "type": "string"
  15458. },
  15459. "deliverystartdate": {
  15460. "description": "交收开始日期",
  15461. "type": "string"
  15462. },
  15463. "enddate": {
  15464. "description": "点价结束日期",
  15465. "type": "string"
  15466. },
  15467. "goodsid": {
  15468. "description": "商品ID",
  15469. "type": "integer"
  15470. },
  15471. "goodsname": {
  15472. "description": "商品名称",
  15473. "type": "string"
  15474. },
  15475. "qty": {
  15476. "description": "数量",
  15477. "type": "number"
  15478. },
  15479. "startdate": {
  15480. "description": "点价开始日期",
  15481. "type": "string"
  15482. }
  15483. }
  15484. },
  15485. "erms3.SpotPriceOrder": {
  15486. "type": "object",
  15487. "required": [
  15488. "amount",
  15489. "price",
  15490. "qty"
  15491. ],
  15492. "properties": {
  15493. "amount": {
  15494. "description": "金额",
  15495. "type": "number"
  15496. },
  15497. "deliveryenddate": {
  15498. "description": "交收结束日期",
  15499. "type": "string"
  15500. },
  15501. "deliverystartdate": {
  15502. "description": "交收开始日期",
  15503. "type": "string"
  15504. },
  15505. "price": {
  15506. "description": "价格",
  15507. "type": "number"
  15508. },
  15509. "qty": {
  15510. "description": "数量",
  15511. "type": "number"
  15512. }
  15513. }
  15514. },
  15515. "hsby.GetHsbyMyCountRsp": {
  15516. "type": "object",
  15517. "properties": {
  15518. "myCouponCount": {
  15519. "description": "我的优惠卷数量",
  15520. "type": "integer"
  15521. },
  15522. "myOrderDetailListingCount": {
  15523. "description": "我的订单求购中数量",
  15524. "type": "integer"
  15525. },
  15526. "myOrderDetailPreCount": {
  15527. "description": "我的订单抢购中数量",
  15528. "type": "integer"
  15529. },
  15530. "myPackageUnReceiveCount": {
  15531. "description": "我的包裹待收货数量",
  15532. "type": "integer"
  15533. },
  15534. "myPackageUnSendCount": {
  15535. "description": "我的包裹待发货数量",
  15536. "type": "integer"
  15537. },
  15538. "myPayOrderCount": {
  15539. "description": "我的订单待付款数量",
  15540. "type": "integer"
  15541. }
  15542. }
  15543. },
  15544. "hsby.QueryProvincesAndCitiesRsp": {
  15545. "type": "object",
  15546. "properties": {
  15547. "cities": {
  15548. "description": "市",
  15549. "type": "array",
  15550. "items": {
  15551. "$ref": "#/definitions/models.Division"
  15552. }
  15553. },
  15554. "province": {
  15555. "description": "省",
  15556. "type": "object",
  15557. "$ref": "#/definitions/models.Division"
  15558. }
  15559. }
  15560. },
  15561. "models.AreaSpotModel": {
  15562. "type": "object",
  15563. "properties": {
  15564. "areauserid": {
  15565. "description": "所属机构",
  15566. "type": "integer"
  15567. },
  15568. "decreaseqty": {
  15569. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15570. "type": "number"
  15571. },
  15572. "increaseqty": {
  15573. "description": "增加数量=销售计划数量+采购已定价数量",
  15574. "type": "number"
  15575. },
  15576. "oritoalspotqty": {
  15577. "description": "昨日数量",
  15578. "type": "number"
  15579. },
  15580. "totalspotqty": {
  15581. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15582. "type": "number"
  15583. },
  15584. "updatetime": {
  15585. "description": "更新时间",
  15586. "type": "string"
  15587. },
  15588. "wrstandardcode": {
  15589. "description": "现货品种代码",
  15590. "type": "string"
  15591. },
  15592. "wrstandardid": {
  15593. "description": "现货商品ID",
  15594. "type": "integer"
  15595. },
  15596. "wrstandardname": {
  15597. "description": "现货品种",
  15598. "type": "string"
  15599. }
  15600. }
  15601. },
  15602. "models.Arearole": {
  15603. "type": "object",
  15604. "required": [
  15605. "roletype",
  15606. "userid"
  15607. ],
  15608. "properties": {
  15609. "createtime": {
  15610. "description": "创建时间",
  15611. "type": "string"
  15612. },
  15613. "creatorid": {
  15614. "description": "创建人ID",
  15615. "type": "integer"
  15616. },
  15617. "fromuserid": {
  15618. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  15619. "type": "integer"
  15620. },
  15621. "isreturnscore": {
  15622. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  15623. "type": "integer"
  15624. },
  15625. "modifierid": {
  15626. "description": "修改人ID",
  15627. "type": "integer"
  15628. },
  15629. "modifytime": {
  15630. "description": "修改时间",
  15631. "type": "string"
  15632. },
  15633. "orgtype": {
  15634. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  15635. "type": "integer"
  15636. },
  15637. "outuserid": {
  15638. "description": "外部账户[场外期权做市商]",
  15639. "type": "string"
  15640. },
  15641. "parentuserid": {
  15642. "description": "上级组织机构(组织机构)",
  15643. "type": "integer"
  15644. },
  15645. "roletype": {
  15646. "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:门店",
  15647. "type": "integer"
  15648. },
  15649. "rootuserid": {
  15650. "description": "顶级组织机构用户ID(组织机构)",
  15651. "type": "integer"
  15652. },
  15653. "shoppassword": {
  15654. "description": "商城店铺登陆密码(商城店铺角色使用)",
  15655. "type": "string"
  15656. },
  15657. "sublevelpath": {
  15658. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  15659. "type": "string"
  15660. },
  15661. "suborgtype": {
  15662. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  15663. "type": "integer"
  15664. },
  15665. "tradeaccountid": {
  15666. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  15667. "type": "integer"
  15668. },
  15669. "transurl": {
  15670. "description": "物流地址(物流机构)",
  15671. "type": "string"
  15672. },
  15673. "userid": {
  15674. "description": "机构用户ID其他做市关系,都设置为 1",
  15675. "type": "integer"
  15676. }
  15677. }
  15678. },
  15679. "models.Clientfixedadconfig": {
  15680. "type": "object",
  15681. "required": [
  15682. "adsort",
  15683. "adtype"
  15684. ],
  15685. "properties": {
  15686. "adsort": {
  15687. "description": "排序",
  15688. "type": "integer"
  15689. },
  15690. "adtype": {
  15691. "description": "广告位类型 - 1:新品抢购(HSBY)",
  15692. "type": "integer"
  15693. },
  15694. "areauserid": {
  15695. "description": "所属机构ID",
  15696. "type": "integer"
  15697. },
  15698. "createdate": {
  15699. "description": "创建时间",
  15700. "type": "string"
  15701. },
  15702. "creatorid": {
  15703. "description": "创建人",
  15704. "type": "integer"
  15705. },
  15706. "imagepath": {
  15707. "description": "图片",
  15708. "type": "string"
  15709. },
  15710. "isshow": {
  15711. "description": "是否展示 - 0:不展示 1:展示",
  15712. "type": "integer"
  15713. },
  15714. "modifierid": {
  15715. "description": "操作人",
  15716. "type": "integer"
  15717. },
  15718. "recsize": {
  15719. "description": "推荐尺寸",
  15720. "type": "string"
  15721. },
  15722. "title": {
  15723. "description": "标题",
  15724. "type": "string"
  15725. },
  15726. "updatedate": {
  15727. "description": "更新时间",
  15728. "type": "string"
  15729. },
  15730. "urlcontent": {
  15731. "description": "链接(地址或商品ID)",
  15732. "type": "string"
  15733. },
  15734. "urltype": {
  15735. "description": "链接类型 - 1:直接地址 2:商品ID",
  15736. "type": "integer"
  15737. }
  15738. }
  15739. },
  15740. "models.Division": {
  15741. "type": "object",
  15742. "required": [
  15743. "autoid",
  15744. "divisioncode"
  15745. ],
  15746. "properties": {
  15747. "autoid": {
  15748. "description": "自增ID",
  15749. "type": "integer"
  15750. },
  15751. "divisioncode": {
  15752. "description": "行政代码",
  15753. "type": "string"
  15754. },
  15755. "divisionlevel": {
  15756. "description": "行政级别",
  15757. "type": "string"
  15758. },
  15759. "divisionname": {
  15760. "description": "行政名称",
  15761. "type": "string"
  15762. },
  15763. "modifierid": {
  15764. "description": "修改人",
  15765. "type": "integer"
  15766. },
  15767. "modifytime": {
  15768. "description": "修改时间",
  15769. "type": "string"
  15770. },
  15771. "parentcode": {
  15772. "description": "上级行政代码",
  15773. "type": "string"
  15774. },
  15775. "pathname": {
  15776. "description": "路径名称",
  15777. "type": "string"
  15778. },
  15779. "postcode": {
  15780. "description": "邮政编码",
  15781. "type": "string"
  15782. },
  15783. "separablename": {
  15784. "description": "可拆分的全称",
  15785. "type": "string"
  15786. },
  15787. "shortcode": {
  15788. "description": "地区简码",
  15789. "type": "string"
  15790. }
  15791. }
  15792. },
  15793. "models.Enumdicitem": {
  15794. "type": "object",
  15795. "required": [
  15796. "autoid",
  15797. "enumdiccode",
  15798. "enumdicid",
  15799. "enumitemname"
  15800. ],
  15801. "properties": {
  15802. "autoid": {
  15803. "description": "自增ID",
  15804. "type": "integer"
  15805. },
  15806. "bankmappedvalue": {
  15807. "description": "银行服务对应值",
  15808. "type": "string"
  15809. },
  15810. "enumdiccode": {
  15811. "description": "所属枚举代码",
  15812. "type": "string"
  15813. },
  15814. "enumdicid": {
  15815. "description": "所属枚举ID",
  15816. "type": "integer"
  15817. },
  15818. "enumdicname": {
  15819. "description": "枚举项名称",
  15820. "type": "string"
  15821. },
  15822. "enumitemname": {
  15823. "description": "枚举项值",
  15824. "type": "integer"
  15825. },
  15826. "enumitemstatus": {
  15827. "description": "枚举项状态 - 1.启用 2.不启用",
  15828. "type": "integer"
  15829. },
  15830. "enumitemvalue": {
  15831. "description": "通用值 - [币种通用简写]",
  15832. "type": "string"
  15833. },
  15834. "param1": {
  15835. "description": "参数1[币种:币种小数位]",
  15836. "type": "string"
  15837. },
  15838. "param2": {
  15839. "description": "参数1[币种:币种显示单位]",
  15840. "type": "string"
  15841. },
  15842. "remark": {
  15843. "description": "备注",
  15844. "type": "string"
  15845. }
  15846. }
  15847. },
  15848. "models.Ermcp3AreaSpot": {
  15849. "type": "object",
  15850. "properties": {
  15851. "areauserid": {
  15852. "description": "所属机构",
  15853. "type": "integer"
  15854. },
  15855. "decreaseqty": {
  15856. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15857. "type": "number"
  15858. },
  15859. "deliverygoodscode": {
  15860. "description": "现货品种代码",
  15861. "type": "string"
  15862. },
  15863. "deliverygoodsid": {
  15864. "description": "现货品种id",
  15865. "type": "integer"
  15866. },
  15867. "deliverygoodsname": {
  15868. "description": "现货品种名称",
  15869. "type": "string"
  15870. },
  15871. "enumdicname": {
  15872. "description": "单位名称",
  15873. "type": "string"
  15874. },
  15875. "goodsunitid": {
  15876. "description": "现货品种单位id",
  15877. "type": "integer"
  15878. },
  15879. "increaseqty": {
  15880. "description": "增加数量=销售计划数量+采购已定价数量",
  15881. "type": "number"
  15882. },
  15883. "oritoalspotqty": {
  15884. "description": "昨日数量",
  15885. "type": "number"
  15886. },
  15887. "totalspotqty": {
  15888. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15889. "type": "number"
  15890. },
  15891. "updatetime": {
  15892. "description": "更新时间",
  15893. "type": "string"
  15894. }
  15895. }
  15896. },
  15897. "models.Ermcp3AreaSpotDetail": {
  15898. "type": "object",
  15899. "properties": {
  15900. "contracttype": {
  15901. "description": "合同类型 1-采购 -1-销售",
  15902. "type": "integer"
  15903. },
  15904. "createtime": {
  15905. "description": "创建时间",
  15906. "type": "string"
  15907. },
  15908. "deliverygoodscode": {
  15909. "description": "现货品种代码",
  15910. "type": "string"
  15911. },
  15912. "deliverygoodsid": {
  15913. "description": "现货品种id",
  15914. "type": "integer"
  15915. },
  15916. "deliverygoodsname": {
  15917. "description": "现货品种名称",
  15918. "type": "string"
  15919. },
  15920. "enumdicname": {
  15921. "description": "现货商品单位名称",
  15922. "type": "string"
  15923. },
  15924. "logtype": {
  15925. "description": "记录类型 1-套保 2-现货合同",
  15926. "type": "integer"
  15927. },
  15928. "qty": {
  15929. "description": "数量",
  15930. "type": "number"
  15931. },
  15932. "recordname": {
  15933. "description": "类型名称",
  15934. "type": "string"
  15935. },
  15936. "relatedid": {
  15937. "description": "套保计划ID/现货合同ID",
  15938. "type": "string"
  15939. },
  15940. "relatedno": {
  15941. "description": "编号",
  15942. "type": "string"
  15943. },
  15944. "strtime": {
  15945. "description": "时间",
  15946. "type": "string"
  15947. }
  15948. }
  15949. },
  15950. "models.Ermcp3AreaSpotPLReport": {
  15951. "type": "object",
  15952. "properties": {
  15953. "accountid": {
  15954. "description": "期货账户ID (作废, 默认为0)",
  15955. "type": "integer"
  15956. },
  15957. "accountname": {
  15958. "description": "机构名称",
  15959. "type": "string"
  15960. },
  15961. "actualpl": {
  15962. "description": "现货损益",
  15963. "type": "number"
  15964. },
  15965. "areauserid": {
  15966. "description": "所属机构\\交易用户ID",
  15967. "type": "integer"
  15968. },
  15969. "begindate": {
  15970. "description": "开始交易日",
  15971. "type": "string"
  15972. },
  15973. "biztype": {
  15974. "description": "业务类型 - 1:套保 2:套利",
  15975. "type": "integer"
  15976. },
  15977. "brandname": {
  15978. "description": "品牌名称",
  15979. "type": "string"
  15980. },
  15981. "curamount": {
  15982. "description": "期末额",
  15983. "type": "number"
  15984. },
  15985. "curaverageprice": {
  15986. "description": "期末均价",
  15987. "type": "number"
  15988. },
  15989. "curbuyamount": {
  15990. "description": "期末采购总额",
  15991. "type": "number"
  15992. },
  15993. "curbuyqty": {
  15994. "description": "期末采购总量",
  15995. "type": "number"
  15996. },
  15997. "curmarketvalue": {
  15998. "description": "参考市值(期末市值)",
  15999. "type": "number"
  16000. },
  16001. "curqty": {
  16002. "description": "期末量",
  16003. "type": "number"
  16004. },
  16005. "currencyid": {
  16006. "description": "结算币种ID【原值】",
  16007. "type": "integer"
  16008. },
  16009. "currencyname": {
  16010. "description": "币种名称",
  16011. "type": "string"
  16012. },
  16013. "cursellamount": {
  16014. "description": "期末销售总额",
  16015. "type": "number"
  16016. },
  16017. "cursellqty": {
  16018. "description": "期末销售总量",
  16019. "type": "number"
  16020. },
  16021. "curspotprice": {
  16022. "description": "参考市价(最新价)",
  16023. "type": "number"
  16024. },
  16025. "cycletime": {
  16026. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16027. "type": "string"
  16028. },
  16029. "cycletype": {
  16030. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16031. "type": "integer"
  16032. },
  16033. "deliverygoodscode": {
  16034. "description": "现货商品代码",
  16035. "type": "string"
  16036. },
  16037. "deliverygoodsid": {
  16038. "description": "现货品种ID",
  16039. "type": "integer"
  16040. },
  16041. "deliverygoodsname": {
  16042. "description": "现货商品名称",
  16043. "type": "string"
  16044. },
  16045. "enddate": {
  16046. "description": "结束交易日",
  16047. "type": "string"
  16048. },
  16049. "enumdicname": {
  16050. "description": "现货商品单位名称",
  16051. "type": "string"
  16052. },
  16053. "floatpl": {
  16054. "description": "浮动损益",
  16055. "type": "number"
  16056. },
  16057. "goodsunitid": {
  16058. "description": "现货商品单位id",
  16059. "type": "integer"
  16060. },
  16061. "oriamount": {
  16062. "description": "期初额",
  16063. "type": "number"
  16064. },
  16065. "oriaverageprice": {
  16066. "description": "期初均价",
  16067. "type": "number"
  16068. },
  16069. "oribuyamount": {
  16070. "description": "期初采购总额",
  16071. "type": "number"
  16072. },
  16073. "oribuyqty": {
  16074. "description": "期初采购总量",
  16075. "type": "number"
  16076. },
  16077. "oriqty": {
  16078. "description": "期初量",
  16079. "type": "number"
  16080. },
  16081. "orisellamount": {
  16082. "description": "期初销售总额",
  16083. "type": "number"
  16084. },
  16085. "orisellqty": {
  16086. "description": "期初销售总量",
  16087. "type": "number"
  16088. },
  16089. "reckondate": {
  16090. "description": "日照时期(yyyyMMdd)",
  16091. "type": "string"
  16092. },
  16093. "spotgoodsbrandid": {
  16094. "description": "现货品牌ID",
  16095. "type": "integer"
  16096. },
  16097. "todaybuyamount": {
  16098. "description": "今日采购额(今采购额)",
  16099. "type": "number"
  16100. },
  16101. "todaybuyaverageprice": {
  16102. "description": "今日采购均价",
  16103. "type": "number"
  16104. },
  16105. "todaybuyqty": {
  16106. "description": "今日采购量(今采购量)",
  16107. "type": "number"
  16108. },
  16109. "todayinqty": {
  16110. "description": "今日入库量(今入库量)",
  16111. "type": "number"
  16112. },
  16113. "todayoutqty": {
  16114. "description": "今日出库量(今出库量)",
  16115. "type": "number"
  16116. },
  16117. "todaysellamount": {
  16118. "description": "今日销售额(今销售额)",
  16119. "type": "number"
  16120. },
  16121. "todaysellaverageprice": {
  16122. "description": "今日销售均价",
  16123. "type": "number"
  16124. },
  16125. "todaysellqty": {
  16126. "description": "今日销售量(今销售量)",
  16127. "type": "number"
  16128. },
  16129. "unitid": {
  16130. "description": "品类单位id",
  16131. "type": "integer"
  16132. },
  16133. "unitidname": {
  16134. "description": "品类单位名称",
  16135. "type": "string"
  16136. },
  16137. "updatetime": {
  16138. "description": "更新时间",
  16139. "type": "string"
  16140. },
  16141. "wrfactortypeid": {
  16142. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16143. "type": "integer"
  16144. },
  16145. "wrstandardcode": {
  16146. "description": "品类代码",
  16147. "type": "string"
  16148. },
  16149. "wrstandardid": {
  16150. "description": "现货品类ID",
  16151. "type": "integer"
  16152. },
  16153. "wrstandardname": {
  16154. "description": "品类名称",
  16155. "type": "string"
  16156. }
  16157. }
  16158. },
  16159. "models.Ermcp3AreaStock": {
  16160. "type": "object",
  16161. "required": [
  16162. "userid"
  16163. ],
  16164. "properties": {
  16165. "brandname": {
  16166. "description": "品牌名称",
  16167. "type": "string"
  16168. },
  16169. "curstock": {
  16170. "description": "期末库存量(今日量)",
  16171. "type": "number"
  16172. },
  16173. "deliverygoodscode": {
  16174. "description": "现货品种代码",
  16175. "type": "string"
  16176. },
  16177. "deliverygoodsid": {
  16178. "description": "现货品种id",
  16179. "type": "integer"
  16180. },
  16181. "deliverygoodsname": {
  16182. "description": "现货品种名称",
  16183. "type": "string"
  16184. },
  16185. "enumdicname": {
  16186. "description": "单位名称",
  16187. "type": "string"
  16188. },
  16189. "goodsunitid": {
  16190. "description": "现货商品单位id",
  16191. "type": "integer"
  16192. },
  16193. "oristock": {
  16194. "description": "期初库存量(昨日量)",
  16195. "type": "number"
  16196. },
  16197. "spotgoodsbrandid": {
  16198. "description": "现货品牌ID",
  16199. "type": "integer"
  16200. },
  16201. "todaybuyinqty": {
  16202. "description": "今日采购入库量",
  16203. "type": "number"
  16204. },
  16205. "todayproduceinqty": {
  16206. "description": "今日生产入库量",
  16207. "type": "number"
  16208. },
  16209. "todayproduceoutqty": {
  16210. "description": "今日生产出库量",
  16211. "type": "number"
  16212. },
  16213. "todayselloutqty": {
  16214. "description": "今日销售出库量",
  16215. "type": "number"
  16216. },
  16217. "unitid": {
  16218. "description": "单位id",
  16219. "type": "integer"
  16220. },
  16221. "updatetime": {
  16222. "description": "更新时间",
  16223. "type": "string"
  16224. },
  16225. "userid": {
  16226. "description": "机构ID",
  16227. "type": "integer"
  16228. },
  16229. "username": {
  16230. "description": "机构名称",
  16231. "type": "string"
  16232. },
  16233. "warehousecode": {
  16234. "description": "仓库代码",
  16235. "type": "string"
  16236. },
  16237. "warehouseinfoid": {
  16238. "description": "仓库ID",
  16239. "type": "string"
  16240. },
  16241. "warehousename": {
  16242. "description": "仓库名称",
  16243. "type": "string"
  16244. },
  16245. "warehousetype": {
  16246. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16247. "type": "integer"
  16248. },
  16249. "wrstandardcode": {
  16250. "description": "品类代码",
  16251. "type": "string"
  16252. },
  16253. "wrstandardid": {
  16254. "description": "品类ID",
  16255. "type": "string"
  16256. },
  16257. "wrstandardname": {
  16258. "description": "品类名称",
  16259. "type": "string"
  16260. }
  16261. }
  16262. },
  16263. "models.Ermcp3AreaStockApply": {
  16264. "type": "object",
  16265. "properties": {
  16266. "applyid": {
  16267. "description": "申请人",
  16268. "type": "integer"
  16269. },
  16270. "applyname": {
  16271. "description": "申请人名称",
  16272. "type": "string"
  16273. },
  16274. "applyremark": {
  16275. "description": "申请备注",
  16276. "type": "string"
  16277. },
  16278. "applysrc": {
  16279. "description": "申请来源 - 1:管理端 2:终端",
  16280. "type": "integer"
  16281. },
  16282. "applystatus": {
  16283. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16284. "type": "integer"
  16285. },
  16286. "applytime": {
  16287. "description": "申请时间",
  16288. "type": "string"
  16289. },
  16290. "auditid": {
  16291. "description": "审核人",
  16292. "type": "integer"
  16293. },
  16294. "auditname": {
  16295. "description": "审核人名称",
  16296. "type": "string"
  16297. },
  16298. "auditremark": {
  16299. "description": "审核备注",
  16300. "type": "string"
  16301. },
  16302. "auditsrc": {
  16303. "description": "审核来源 - 1:管理端 2:终端",
  16304. "type": "integer"
  16305. },
  16306. "audittime": {
  16307. "description": "审核时间",
  16308. "type": "string"
  16309. },
  16310. "audittradedate": {
  16311. "description": "审核交易日(yyyyMMdd)",
  16312. "type": "string"
  16313. },
  16314. "brandname": {
  16315. "description": "品牌名称",
  16316. "type": "string"
  16317. },
  16318. "buynickname": {
  16319. "description": "采购方昵称",
  16320. "type": "string"
  16321. },
  16322. "buyuserid": {
  16323. "description": "采购方userid",
  16324. "type": "integer"
  16325. },
  16326. "buyusername": {
  16327. "description": "采购方名称",
  16328. "type": "string"
  16329. },
  16330. "contractno": {
  16331. "description": "合同编号",
  16332. "type": "string"
  16333. },
  16334. "contractqty": {
  16335. "description": "合同量",
  16336. "type": "number"
  16337. },
  16338. "contracttype": {
  16339. "description": "现货合同类型 - 1:采购 -1:销售",
  16340. "type": "integer"
  16341. },
  16342. "deliverygoodscode": {
  16343. "description": "现货品种代码",
  16344. "type": "string"
  16345. },
  16346. "deliverygoodsid": {
  16347. "description": "现货品种id",
  16348. "type": "integer"
  16349. },
  16350. "deliverygoodsname": {
  16351. "description": "现货品种名称",
  16352. "type": "string"
  16353. },
  16354. "detailjson": {
  16355. "description": "明细数据",
  16356. "type": "string"
  16357. },
  16358. "enumdicname": {
  16359. "description": "现货商品单位名称",
  16360. "type": "string"
  16361. },
  16362. "inoutapplyid": {
  16363. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  16364. "type": "string"
  16365. },
  16366. "inouttype": {
  16367. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16368. "type": "integer"
  16369. },
  16370. "pricetype": {
  16371. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16372. "type": "integer"
  16373. },
  16374. "qty": {
  16375. "description": "数量",
  16376. "type": "number"
  16377. },
  16378. "sellnickname": {
  16379. "description": "销售方昵称",
  16380. "type": "string"
  16381. },
  16382. "selluserid": {
  16383. "description": "销售方userid",
  16384. "type": "integer"
  16385. },
  16386. "sellusername": {
  16387. "description": "销售方名称",
  16388. "type": "string"
  16389. },
  16390. "spotcontractid": {
  16391. "description": "关联现货合同ID",
  16392. "type": "string"
  16393. },
  16394. "spotgoodsbrandid": {
  16395. "description": "现货品牌ID",
  16396. "type": "integer"
  16397. },
  16398. "unitid": {
  16399. "description": "单位id",
  16400. "type": "integer"
  16401. },
  16402. "userid": {
  16403. "description": "机构ID",
  16404. "type": "integer"
  16405. },
  16406. "warehousecode": {
  16407. "description": "仓库代码",
  16408. "type": "string"
  16409. },
  16410. "warehouseinfoid": {
  16411. "description": "现货仓库ID",
  16412. "type": "string"
  16413. },
  16414. "warehousename": {
  16415. "description": "仓库名称",
  16416. "type": "string"
  16417. },
  16418. "warehousetype": {
  16419. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16420. "type": "integer"
  16421. },
  16422. "wrstandardcode": {
  16423. "description": "品类代码",
  16424. "type": "string"
  16425. },
  16426. "wrstandardid": {
  16427. "description": "品类ID",
  16428. "type": "integer"
  16429. },
  16430. "wrstandardname": {
  16431. "description": "品类名称",
  16432. "type": "string"
  16433. }
  16434. }
  16435. },
  16436. "models.Ermcp3AreaStockApplySum": {
  16437. "type": "object",
  16438. "properties": {
  16439. "brandname": {
  16440. "description": "品牌名称",
  16441. "type": "string"
  16442. },
  16443. "inouttype": {
  16444. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16445. "type": "integer"
  16446. },
  16447. "spotcontractid": {
  16448. "description": "关联现货合同ID",
  16449. "type": "string"
  16450. },
  16451. "spotgoodsbrandid": {
  16452. "description": "品牌id",
  16453. "type": "integer"
  16454. },
  16455. "totalqty": {
  16456. "description": "总数量",
  16457. "type": "number"
  16458. },
  16459. "wrstandardid": {
  16460. "description": "品类id",
  16461. "type": "integer"
  16462. },
  16463. "wrstandardname": {
  16464. "description": "品类名称",
  16465. "type": "string"
  16466. }
  16467. }
  16468. },
  16469. "models.Ermcp3AreaStockReportEx": {
  16470. "type": "object",
  16471. "properties": {
  16472. "begindate": {
  16473. "description": "开始交易日",
  16474. "type": "string"
  16475. },
  16476. "brandname": {
  16477. "description": "品牌名称",
  16478. "type": "string"
  16479. },
  16480. "curstock": {
  16481. "description": "期末库存量",
  16482. "type": "number"
  16483. },
  16484. "cycletime": {
  16485. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16486. "type": "string"
  16487. },
  16488. "cycletype": {
  16489. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16490. "type": "integer"
  16491. },
  16492. "deliverygoodscode": {
  16493. "description": "现货品种代码",
  16494. "type": "string"
  16495. },
  16496. "deliverygoodsid": {
  16497. "description": "现货品种id",
  16498. "type": "integer"
  16499. },
  16500. "deliverygoodsname": {
  16501. "description": "现货品种名称",
  16502. "type": "string"
  16503. },
  16504. "diffqty": {
  16505. "description": "库存变化量 = 期末 - 期初",
  16506. "type": "number"
  16507. },
  16508. "enddate": {
  16509. "description": "结束交易日",
  16510. "type": "string"
  16511. },
  16512. "enumdicname": {
  16513. "description": "单位名称",
  16514. "type": "string"
  16515. },
  16516. "goodsunitid": {
  16517. "description": "现货单位id",
  16518. "type": "integer"
  16519. },
  16520. "oristock": {
  16521. "description": "期初库存量",
  16522. "type": "number"
  16523. },
  16524. "reckondate": {
  16525. "description": "日照时期(yyyyMMdd)",
  16526. "type": "string"
  16527. },
  16528. "spotgoodsbrandid": {
  16529. "description": "现货品牌ID",
  16530. "type": "integer"
  16531. },
  16532. "todaybuyinqty": {
  16533. "description": "今采购入库量",
  16534. "type": "number"
  16535. },
  16536. "todayproduceinqty": {
  16537. "description": "今内部入库量",
  16538. "type": "number"
  16539. },
  16540. "todayproduceoutqty": {
  16541. "description": "今内部出库量",
  16542. "type": "number"
  16543. },
  16544. "todayselloutqty": {
  16545. "description": "今销售出库量",
  16546. "type": "number"
  16547. },
  16548. "unbuyinqty": {
  16549. "description": "采购未入库量(数据库未找到相关字段?)",
  16550. "type": "number"
  16551. },
  16552. "unitid": {
  16553. "description": "品类单位id",
  16554. "type": "integer"
  16555. },
  16556. "unselloutqty": {
  16557. "description": "销售未出库量(数据库未找到相关字段?)",
  16558. "type": "number"
  16559. },
  16560. "updatetime": {
  16561. "description": "更新时间",
  16562. "type": "string"
  16563. },
  16564. "userid": {
  16565. "description": "机构ID",
  16566. "type": "integer"
  16567. },
  16568. "username": {
  16569. "description": "机构名称",
  16570. "type": "string"
  16571. },
  16572. "warehousecode": {
  16573. "description": "仓库代码",
  16574. "type": "string"
  16575. },
  16576. "warehouseinfoid": {
  16577. "description": "仓库ID",
  16578. "type": "string"
  16579. },
  16580. "warehousename": {
  16581. "description": "仓库名称",
  16582. "type": "string"
  16583. },
  16584. "warehousetype": {
  16585. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16586. "type": "integer"
  16587. },
  16588. "wrstandardcode": {
  16589. "description": "品类代码",
  16590. "type": "string"
  16591. },
  16592. "wrstandardid": {
  16593. "description": "品类ID",
  16594. "type": "integer"
  16595. },
  16596. "wrstandardname": {
  16597. "description": "品类名称",
  16598. "type": "string"
  16599. }
  16600. }
  16601. },
  16602. "models.Ermcp3ArealSumPL": {
  16603. "type": "object",
  16604. "properties": {
  16605. "accountname": {
  16606. "description": "机构名称",
  16607. "type": "string"
  16608. },
  16609. "areauserid": {
  16610. "description": "所属机构\\交易用户ID",
  16611. "type": "integer"
  16612. },
  16613. "begindate": {
  16614. "description": "开始交易日",
  16615. "type": "string"
  16616. },
  16617. "currencyid": {
  16618. "description": "结算币种ID",
  16619. "type": "integer"
  16620. },
  16621. "currencyname": {
  16622. "description": "币种名称",
  16623. "type": "string"
  16624. },
  16625. "cycletime": {
  16626. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16627. "type": "string"
  16628. },
  16629. "cycletype": {
  16630. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16631. "type": "integer"
  16632. },
  16633. "enddate": {
  16634. "description": "结束交易日",
  16635. "type": "string"
  16636. },
  16637. "enumdicname": {
  16638. "description": "单位名称(套保品种)",
  16639. "type": "string"
  16640. },
  16641. "futureactualpl": {
  16642. "description": "期货损益",
  16643. "type": "number"
  16644. },
  16645. "futurefloatpl": {
  16646. "description": "期货浮动损益",
  16647. "type": "number"
  16648. },
  16649. "goodsunitid": {
  16650. "description": "套保品种单位id",
  16651. "type": "integer"
  16652. },
  16653. "middlegoodscode": {
  16654. "description": "套保品种代码",
  16655. "type": "string"
  16656. },
  16657. "middlegoodsid": {
  16658. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16659. "type": "integer"
  16660. },
  16661. "middlegoodsname": {
  16662. "description": "套保品种名称",
  16663. "type": "string"
  16664. },
  16665. "reckondate": {
  16666. "description": "日照时期(yyyyMMdd)",
  16667. "type": "string"
  16668. },
  16669. "spotactualpl": {
  16670. "description": "现货损益",
  16671. "type": "number"
  16672. },
  16673. "spotfloatpl": {
  16674. "description": "现货浮动损益",
  16675. "type": "number"
  16676. },
  16677. "sumactualpl": {
  16678. "description": "实际损益 = (ActualPL + FutureActualPL)",
  16679. "type": "number"
  16680. },
  16681. "sumpl": {
  16682. "description": "汇总损益",
  16683. "type": "number"
  16684. },
  16685. "updatetime": {
  16686. "description": "更新时间",
  16687. "type": "string"
  16688. }
  16689. }
  16690. },
  16691. "models.Ermcp3Brand": {
  16692. "type": "object",
  16693. "properties": {
  16694. "areauserid": {
  16695. "description": "用户id",
  16696. "type": "integer"
  16697. },
  16698. "brandid": {
  16699. "description": "品牌id",
  16700. "type": "integer"
  16701. },
  16702. "brandname": {
  16703. "description": "品牌名称",
  16704. "type": "string"
  16705. },
  16706. "deliverygoodsid": {
  16707. "description": "品种ID",
  16708. "type": "integer"
  16709. }
  16710. }
  16711. },
  16712. "models.Ermcp3Contract": {
  16713. "type": "object",
  16714. "properties": {
  16715. "accountid": {
  16716. "description": "期货账户id",
  16717. "type": "string"
  16718. },
  16719. "amount": {
  16720. "description": "金额 [1:一口价、3:暂定价]",
  16721. "type": "number"
  16722. },
  16723. "attachment": {
  16724. "description": "附件",
  16725. "type": "string"
  16726. },
  16727. "auditremark": {
  16728. "description": "审核意见",
  16729. "type": "string"
  16730. },
  16731. "audittime": {
  16732. "description": "审核时间",
  16733. "type": "string"
  16734. },
  16735. "biztype": {
  16736. "description": "业务类型 1-套保 2-套利",
  16737. "type": "integer"
  16738. },
  16739. "brandname": {
  16740. "description": "品牌名称",
  16741. "type": "string"
  16742. },
  16743. "buynickname": {
  16744. "description": "销售方昵称",
  16745. "type": "string"
  16746. },
  16747. "buyuserid": {
  16748. "description": "采购方ID",
  16749. "type": "integer"
  16750. },
  16751. "buyusername": {
  16752. "description": "采购方名称",
  16753. "type": "string"
  16754. },
  16755. "contracctstatus": {
  16756. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16757. "type": "integer"
  16758. },
  16759. "contractmargin": {
  16760. "description": "合同保证金",
  16761. "type": "number"
  16762. },
  16763. "contractno": {
  16764. "description": "现货合同编号",
  16765. "type": "string"
  16766. },
  16767. "contracttype": {
  16768. "description": "现货合同类型 - 1:采购 -1:销售",
  16769. "type": "integer"
  16770. },
  16771. "convertfactor": {
  16772. "description": "标仓系数(品类)",
  16773. "type": "number"
  16774. },
  16775. "createtime": {
  16776. "description": "创建时间",
  16777. "type": "string"
  16778. },
  16779. "currencyid": {
  16780. "description": "币种id",
  16781. "type": "integer"
  16782. },
  16783. "currencyname": {
  16784. "description": "币种名称",
  16785. "type": "string"
  16786. },
  16787. "deliveryenddate": {
  16788. "description": "交收期(结束)",
  16789. "type": "string"
  16790. },
  16791. "deliverygoodscode": {
  16792. "description": "现货品种代码",
  16793. "type": "string"
  16794. },
  16795. "deliverygoodsid": {
  16796. "description": "现货品种ID",
  16797. "type": "integer"
  16798. },
  16799. "deliverygoodsname": {
  16800. "description": "现货品种名称",
  16801. "type": "string"
  16802. },
  16803. "deliverystartdate": {
  16804. "description": "交收期(开始)",
  16805. "type": "string"
  16806. },
  16807. "enddate": {
  16808. "description": "点价结束日期 [2:点价 3:暂定价]",
  16809. "type": "string"
  16810. },
  16811. "enumdicname": {
  16812. "description": "单位名称",
  16813. "type": "string"
  16814. },
  16815. "goodscode": {
  16816. "description": "点价合约代码",
  16817. "type": "string"
  16818. },
  16819. "goodsid": {
  16820. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  16821. "type": "integer"
  16822. },
  16823. "goodsname": {
  16824. "description": "点价商品名称",
  16825. "type": "string"
  16826. },
  16827. "margin": {
  16828. "description": "当前保证金",
  16829. "type": "number"
  16830. },
  16831. "meruserid": {
  16832. "description": "跟单员id",
  16833. "type": "integer"
  16834. },
  16835. "meruserlogincode": {
  16836. "description": "跟单员登录代码",
  16837. "type": "string"
  16838. },
  16839. "merusername": {
  16840. "description": "跟单员名称",
  16841. "type": "string"
  16842. },
  16843. "price": {
  16844. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  16845. "type": "number"
  16846. },
  16847. "pricemove": {
  16848. "description": "升贴水 [2:点价 3:暂定价]",
  16849. "type": "number"
  16850. },
  16851. "pricetype": {
  16852. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16853. "type": "integer"
  16854. },
  16855. "producttype": {
  16856. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16857. "type": "integer"
  16858. },
  16859. "qty": {
  16860. "description": "数量",
  16861. "type": "number"
  16862. },
  16863. "remark": {
  16864. "description": "备注",
  16865. "type": "string"
  16866. },
  16867. "saleuserid": {
  16868. "description": "业务员id",
  16869. "type": "integer"
  16870. },
  16871. "saleuserlogincode": {
  16872. "description": "业务员登录代码",
  16873. "type": "string"
  16874. },
  16875. "saleusername": {
  16876. "description": "业务员名称",
  16877. "type": "string"
  16878. },
  16879. "sellnickname": {
  16880. "description": "采购方昵称",
  16881. "type": "string"
  16882. },
  16883. "selluserid": {
  16884. "description": "销售方ID",
  16885. "type": "integer"
  16886. },
  16887. "sellusername": {
  16888. "description": "销售方名称",
  16889. "type": "string"
  16890. },
  16891. "spotcontractid": {
  16892. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  16893. "type": "string"
  16894. },
  16895. "spotgoodsbrandid": {
  16896. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16897. "type": "integer"
  16898. },
  16899. "spotgoodsdesc": {
  16900. "description": "商品型号",
  16901. "type": "string"
  16902. },
  16903. "startdate": {
  16904. "description": "点价开始日期 [2:点价 3:暂定价]",
  16905. "type": "string"
  16906. },
  16907. "tradeuserid": {
  16908. "description": "交易员id",
  16909. "type": "integer"
  16910. },
  16911. "tradeuserlogincode": {
  16912. "description": "交易员登录代码",
  16913. "type": "string"
  16914. },
  16915. "tradeusername": {
  16916. "description": "交易员名称",
  16917. "type": "string"
  16918. },
  16919. "unitid": {
  16920. "description": "单位id(取品类上的单位id)",
  16921. "type": "integer"
  16922. },
  16923. "updatetime": {
  16924. "description": "更新时间",
  16925. "type": "string"
  16926. },
  16927. "userid": {
  16928. "description": "所属机构ID",
  16929. "type": "integer"
  16930. },
  16931. "wrstandardcode": {
  16932. "description": "品类代码",
  16933. "type": "string"
  16934. },
  16935. "wrstandardid": {
  16936. "description": "品类ID",
  16937. "type": "integer"
  16938. },
  16939. "wrstandardname": {
  16940. "description": "品类名称",
  16941. "type": "string"
  16942. }
  16943. }
  16944. },
  16945. "models.Ermcp3ExposureContractDetail": {
  16946. "type": "object",
  16947. "properties": {
  16948. "biztype": {
  16949. "description": "业务类型 1-套保 2-套利",
  16950. "type": "integer"
  16951. },
  16952. "brandname": {
  16953. "description": "品牌名称",
  16954. "type": "string"
  16955. },
  16956. "buyuserid": {
  16957. "description": "采购方id",
  16958. "type": "integer"
  16959. },
  16960. "buyusername": {
  16961. "description": "采购方名称",
  16962. "type": "string"
  16963. },
  16964. "contractno": {
  16965. "description": "合同编号",
  16966. "type": "string"
  16967. },
  16968. "contracttype": {
  16969. "description": "现货合同类型 - 1:采购 -1:销售",
  16970. "type": "integer"
  16971. },
  16972. "convertfactor": {
  16973. "description": "标仓系数",
  16974. "type": "number"
  16975. },
  16976. "convertratio": {
  16977. "description": "折算系数(套保品种)",
  16978. "type": "number"
  16979. },
  16980. "curqty": {
  16981. "description": "今定价量",
  16982. "type": "number"
  16983. },
  16984. "deliverygoodscode": {
  16985. "description": "现货商品代码",
  16986. "type": "string"
  16987. },
  16988. "deliverygoodsid": {
  16989. "description": "现货商品id",
  16990. "type": "integer"
  16991. },
  16992. "deliverygoodsname": {
  16993. "description": "现货商品名称",
  16994. "type": "string"
  16995. },
  16996. "diffhedgeqty": {
  16997. "description": "套保变动量",
  16998. "type": "number"
  16999. },
  17000. "diffneedhedgeqty": {
  17001. "description": "应套保变动量",
  17002. "type": "number"
  17003. },
  17004. "diffqty": {
  17005. "description": "套保品种今变动量",
  17006. "type": "number"
  17007. },
  17008. "enumdicname": {
  17009. "description": "单位名称",
  17010. "type": "string"
  17011. },
  17012. "middlegoodscode": {
  17013. "description": "套保品种代码",
  17014. "type": "string"
  17015. },
  17016. "middlegoodsid": {
  17017. "description": "套保品种id",
  17018. "type": "integer"
  17019. },
  17020. "middlegoodsname": {
  17021. "description": "套保品种名称",
  17022. "type": "string"
  17023. },
  17024. "needarbitrageratio": {
  17025. "description": "应套利比例",
  17026. "type": "number"
  17027. },
  17028. "needhedgeratio": {
  17029. "description": "应套保比例",
  17030. "type": "number"
  17031. },
  17032. "pricedqty": {
  17033. "description": "已定价量",
  17034. "type": "number"
  17035. },
  17036. "qty": {
  17037. "description": "合同量",
  17038. "type": "number"
  17039. },
  17040. "selluserid": {
  17041. "description": "销售方id",
  17042. "type": "integer"
  17043. },
  17044. "sellusername": {
  17045. "description": "销售方名称",
  17046. "type": "string"
  17047. },
  17048. "spotcontractid": {
  17049. "description": "合同id",
  17050. "type": "string"
  17051. },
  17052. "todaypricedqty": {
  17053. "description": "今定价量",
  17054. "type": "number"
  17055. },
  17056. "tradedate": {
  17057. "description": "交易日",
  17058. "type": "string"
  17059. },
  17060. "unitid": {
  17061. "description": "品类单位id",
  17062. "type": "integer"
  17063. },
  17064. "userid": {
  17065. "description": "机构id",
  17066. "type": "integer"
  17067. },
  17068. "wrstandardcode": {
  17069. "description": "品类代码",
  17070. "type": "string"
  17071. },
  17072. "wrstandardid": {
  17073. "description": "品类id",
  17074. "type": "integer"
  17075. },
  17076. "wrstandardname": {
  17077. "description": "品类名称",
  17078. "type": "string"
  17079. }
  17080. }
  17081. },
  17082. "models.Ermcp3ExposureDetail": {
  17083. "type": "object",
  17084. "properties": {
  17085. "areauserid": {
  17086. "description": "机构ID",
  17087. "type": "integer"
  17088. },
  17089. "changeQty": {
  17090. "description": "套保变动量",
  17091. "type": "number"
  17092. },
  17093. "contracttype": {
  17094. "description": "现货合同类型 - 1:采购 -1:销售",
  17095. "type": "integer"
  17096. },
  17097. "convertfactor": {
  17098. "description": "标仓系数",
  17099. "type": "number"
  17100. },
  17101. "convertratio": {
  17102. "description": "套保系数",
  17103. "type": "number"
  17104. },
  17105. "createtime": {
  17106. "description": "时间",
  17107. "type": "string"
  17108. },
  17109. "deliverygoodscode": {
  17110. "description": "现货品种代码",
  17111. "type": "string"
  17112. },
  17113. "deliverygoodsid": {
  17114. "description": "现货品种id",
  17115. "type": "integer"
  17116. },
  17117. "deliverygoodsname": {
  17118. "description": "现货品种名称",
  17119. "type": "string"
  17120. },
  17121. "enumdicname": {
  17122. "description": "现货商品单位名称",
  17123. "type": "string"
  17124. },
  17125. "logtype": {
  17126. "description": "类型 - 1:套保计划 2:现货合同",
  17127. "type": "integer"
  17128. },
  17129. "mgunitid": {
  17130. "description": "套保品种单位id",
  17131. "type": "integer"
  17132. },
  17133. "mgunitidname": {
  17134. "description": "套保品种单位名称",
  17135. "type": "string"
  17136. },
  17137. "middlegoodsId": {
  17138. "description": "套保商品id",
  17139. "type": "integer"
  17140. },
  17141. "middlegoodscode": {
  17142. "description": "套保商品代码",
  17143. "type": "string"
  17144. },
  17145. "middlegoodsname": {
  17146. "description": "套保商品名称",
  17147. "type": "string"
  17148. },
  17149. "qty": {
  17150. "description": "数量",
  17151. "type": "number"
  17152. },
  17153. "relateNo": {
  17154. "description": "现货合同/套保计划编号",
  17155. "type": "string"
  17156. }
  17157. }
  17158. },
  17159. "models.Ermcp3ExposureFutuDetail": {
  17160. "type": "object",
  17161. "properties": {
  17162. "accountid": {
  17163. "description": "交易账户id",
  17164. "type": "integer"
  17165. },
  17166. "accountname": {
  17167. "description": "交易账户",
  17168. "type": "string"
  17169. },
  17170. "begindate": {
  17171. "description": "开始交易日",
  17172. "type": "string"
  17173. },
  17174. "buyorsell": {
  17175. "description": "方向 0-买 1-卖",
  17176. "type": "integer"
  17177. },
  17178. "diffmgqty": {
  17179. "description": "套保品种今变化量",
  17180. "type": "number"
  17181. },
  17182. "diffneedqty": {
  17183. "description": "应套保总量变化量",
  17184. "type": "number"
  17185. },
  17186. "difftradeqty": {
  17187. "description": "交易品种今变化量",
  17188. "type": "number"
  17189. },
  17190. "enddate": {
  17191. "description": "结束交易日",
  17192. "type": "string"
  17193. },
  17194. "enumdicname": {
  17195. "description": "单位名称",
  17196. "type": "string"
  17197. },
  17198. "goodscode": {
  17199. "description": "商品代码",
  17200. "type": "string"
  17201. },
  17202. "goodsid": {
  17203. "description": "商品id",
  17204. "type": "integer"
  17205. },
  17206. "goodsname": {
  17207. "description": "商品名称",
  17208. "type": "string"
  17209. },
  17210. "holdqty": {
  17211. "description": "期末持仓量",
  17212. "type": "number"
  17213. },
  17214. "middlegoodscode": {
  17215. "description": "套保商品代码",
  17216. "type": "string"
  17217. },
  17218. "middlegoodsid": {
  17219. "description": "套保商品id",
  17220. "type": "integer"
  17221. },
  17222. "middlegoodsname": {
  17223. "description": "套保商品名称",
  17224. "type": "string"
  17225. },
  17226. "oriholdqty": {
  17227. "description": "期初持仓量",
  17228. "type": "number"
  17229. },
  17230. "todaycloseqty": {
  17231. "description": "今平仓量",
  17232. "type": "number"
  17233. },
  17234. "todayopenqty": {
  17235. "description": "今开仓量",
  17236. "type": "number"
  17237. },
  17238. "tradedate": {
  17239. "description": "交易日",
  17240. "type": "string"
  17241. }
  17242. }
  17243. },
  17244. "models.Ermcp3ExposureHedgeplanDetail": {
  17245. "type": "object",
  17246. "properties": {
  17247. "biztype": {
  17248. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  17249. "type": "integer"
  17250. },
  17251. "changqty": {
  17252. "description": "应套保总量变化量",
  17253. "type": "number"
  17254. },
  17255. "contracttype": {
  17256. "description": "计划类型 - 1:采购 -1:销售",
  17257. "type": "integer"
  17258. },
  17259. "convertratio": {
  17260. "description": "折算系数(套保品种)",
  17261. "type": "number"
  17262. },
  17263. "deliverygoodscode": {
  17264. "description": "现货商品代码",
  17265. "type": "string"
  17266. },
  17267. "deliverygoodsid": {
  17268. "description": "现货商品id",
  17269. "type": "integer"
  17270. },
  17271. "deliverygoodsname": {
  17272. "description": "现货商吕名称",
  17273. "type": "string"
  17274. },
  17275. "dgunitid": {
  17276. "description": "现货商品单位id",
  17277. "type": "integer"
  17278. },
  17279. "dgunitidname": {
  17280. "description": "单位名称(现货商品)",
  17281. "type": "string"
  17282. },
  17283. "diffqty": {
  17284. "description": "套保品种今变动量",
  17285. "type": "number"
  17286. },
  17287. "enumdicname": {
  17288. "description": "单位名称(品类)",
  17289. "type": "string"
  17290. },
  17291. "hedgeplanid": {
  17292. "description": "套保计划id",
  17293. "type": "string"
  17294. },
  17295. "hedgeplanno": {
  17296. "description": "套保计划名称",
  17297. "type": "string"
  17298. },
  17299. "hedgeplanstatus": {
  17300. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17301. "type": "integer"
  17302. },
  17303. "mgunitidname": {
  17304. "description": "单位名称(套保商品)",
  17305. "type": "string"
  17306. },
  17307. "middlegoodscode": {
  17308. "description": "套保品种代码",
  17309. "type": "string"
  17310. },
  17311. "middlegoodsid": {
  17312. "description": "套保品种id",
  17313. "type": "integer"
  17314. },
  17315. "middlegoodsname": {
  17316. "description": "套保品种名称",
  17317. "type": "string"
  17318. },
  17319. "needarbitrageratio": {
  17320. "description": "应套利比例",
  17321. "type": "number"
  17322. },
  17323. "needhedgeratio": {
  17324. "description": "应套保比例",
  17325. "type": "number"
  17326. },
  17327. "pricedqty": {
  17328. "description": "已定价量",
  17329. "type": "number"
  17330. },
  17331. "qty": {
  17332. "description": "合同量",
  17333. "type": "number"
  17334. },
  17335. "tradedate": {
  17336. "description": "交易日(登记日)",
  17337. "type": "string"
  17338. },
  17339. "unitid": {
  17340. "description": "品类单位id",
  17341. "type": "integer"
  17342. },
  17343. "userid": {
  17344. "description": "机构id",
  17345. "type": "integer"
  17346. },
  17347. "wrstandardcode": {
  17348. "description": "品类代码",
  17349. "type": "string"
  17350. },
  17351. "wrstandardid": {
  17352. "description": "品类id",
  17353. "type": "integer"
  17354. },
  17355. "wrstandardname": {
  17356. "description": "品类名称",
  17357. "type": "string"
  17358. }
  17359. }
  17360. },
  17361. "models.Ermcp3ExposureParamChLog": {
  17362. "type": "object",
  17363. "properties": {
  17364. "accountid": {
  17365. "description": "期货账户ID (作废, 默认为0)",
  17366. "type": "integer"
  17367. },
  17368. "aftervalue": {
  17369. "description": "应套保\\套利量变更后(调整后应套保总量)",
  17370. "type": "number"
  17371. },
  17372. "areauserid": {
  17373. "description": "所属机构\\交易用户ID",
  17374. "type": "integer"
  17375. },
  17376. "beforevalue": {
  17377. "description": "应套保\\套利量变更前(调整前应套保总量)",
  17378. "type": "number"
  17379. },
  17380. "begindate": {
  17381. "description": "开始交易日",
  17382. "type": "string"
  17383. },
  17384. "changelogtype": {
  17385. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  17386. "type": "integer"
  17387. },
  17388. "curvalue": {
  17389. "description": "当前套保\\套利量(套保总量|套利总量)",
  17390. "type": "number"
  17391. },
  17392. "diffvalue": {
  17393. "description": "应套保总量变化量",
  17394. "type": "number"
  17395. },
  17396. "enddate": {
  17397. "description": "结束交易日",
  17398. "type": "string"
  17399. },
  17400. "logdatetime": {
  17401. "description": "流水日期",
  17402. "type": "string"
  17403. },
  17404. "logid": {
  17405. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  17406. "type": "string"
  17407. },
  17408. "middlegoodscode": {
  17409. "description": "套保品种代码",
  17410. "type": "string"
  17411. },
  17412. "middlegoodsid": {
  17413. "description": "套保品种",
  17414. "type": "integer"
  17415. },
  17416. "middlegoodsname": {
  17417. "description": "套保品种名称",
  17418. "type": "string"
  17419. },
  17420. "paramaftervalue": {
  17421. "description": "参数变更后(调整后参数值)",
  17422. "type": "number"
  17423. },
  17424. "parambeforevalue": {
  17425. "description": "参数变更前(调整前参数值)",
  17426. "type": "number"
  17427. },
  17428. "tradedate": {
  17429. "description": "交易日(yyyyMMdd)",
  17430. "type": "string"
  17431. }
  17432. }
  17433. },
  17434. "models.Ermcp3ExpourseReport": {
  17435. "type": "object",
  17436. "properties": {
  17437. "accountid": {
  17438. "description": "期货账户ID (作废, 默认为0)",
  17439. "type": "integer"
  17440. },
  17441. "accountname": {
  17442. "description": "机构名称",
  17443. "type": "string"
  17444. },
  17445. "arbitrageqty": {
  17446. "description": "套利量",
  17447. "type": "number"
  17448. },
  17449. "areauserid": {
  17450. "description": "所属机构\\交易用户ID",
  17451. "type": "integer"
  17452. },
  17453. "begindate": {
  17454. "description": "开始交易日",
  17455. "type": "string"
  17456. },
  17457. "buyfutureqty": {
  17458. "description": "买入期货数量",
  17459. "type": "number"
  17460. },
  17461. "buyplanqty": {
  17462. "description": "采购计划数量",
  17463. "type": "number"
  17464. },
  17465. "buypricedqty": {
  17466. "description": "采购合同已定价数量",
  17467. "type": "number"
  17468. },
  17469. "cycletime": {
  17470. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17471. "type": "string"
  17472. },
  17473. "cycletype": {
  17474. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17475. "type": "integer"
  17476. },
  17477. "diffexposure": {
  17478. "description": "变动量(套保敞口)",
  17479. "type": "number"
  17480. },
  17481. "difffutuqty": {
  17482. "description": "变动量(期货)",
  17483. "type": "number"
  17484. },
  17485. "diffhedgeqty": {
  17486. "description": "变动量(现货应套保总量)",
  17487. "type": "number"
  17488. },
  17489. "diffmgqtya": {
  17490. "description": "套保变动量",
  17491. "type": "number"
  17492. },
  17493. "diffmgqtyb": {
  17494. "description": "套利变动量",
  17495. "type": "number"
  17496. },
  17497. "diffqty": {
  17498. "description": "变动量(总敞口)",
  17499. "type": "number"
  17500. },
  17501. "diffspotqty": {
  17502. "description": "变动量(现货)",
  17503. "type": "number"
  17504. },
  17505. "enddate": {
  17506. "description": "结束交易日",
  17507. "type": "string"
  17508. },
  17509. "enumdicname": {
  17510. "description": "单位名称",
  17511. "type": "string"
  17512. },
  17513. "hedgeqty": {
  17514. "description": "套保量",
  17515. "type": "number"
  17516. },
  17517. "mgneedhedgeratio": {
  17518. "description": "套保比例(套保品的)",
  17519. "type": "number"
  17520. },
  17521. "middlegoodsid": {
  17522. "description": "套保品种ID",
  17523. "type": "integer"
  17524. },
  17525. "middlegoodsname": {
  17526. "description": "套保商品名称",
  17527. "type": "string"
  17528. },
  17529. "middlgoodscode": {
  17530. "description": "套保商品代码",
  17531. "type": "string"
  17532. },
  17533. "needarbitrageqty": {
  17534. "description": "应套利量",
  17535. "type": "number"
  17536. },
  17537. "needarbitrageratio": {
  17538. "description": "套利比例(套保品的)",
  17539. "type": "number"
  17540. },
  17541. "needhedgeexposoure": {
  17542. "description": "应套保敞口(套保敞口)",
  17543. "type": "number"
  17544. },
  17545. "needhedgeqty": {
  17546. "description": "应套保量",
  17547. "type": "number"
  17548. },
  17549. "needhedgeratio": {
  17550. "description": "应套保敞口比例",
  17551. "type": "number"
  17552. },
  17553. "oriarbitrageqty": {
  17554. "description": "期初套利量",
  17555. "type": "number"
  17556. },
  17557. "oribuyfutureqty": {
  17558. "description": "期初买入期货数量",
  17559. "type": "number"
  17560. },
  17561. "oribuyplanqty": {
  17562. "description": "期初采购计划数量",
  17563. "type": "number"
  17564. },
  17565. "oribuypricedqty": {
  17566. "description": "期初采购合同已定价数量",
  17567. "type": "number"
  17568. },
  17569. "orihedgeqty": {
  17570. "description": "期初套保量",
  17571. "type": "number"
  17572. },
  17573. "orineedarbitrageqty": {
  17574. "description": "期初应套利量",
  17575. "type": "number"
  17576. },
  17577. "orineedhedgeexposoure": {
  17578. "description": "期初应套保敞口",
  17579. "type": "number"
  17580. },
  17581. "orineedhedgeqty": {
  17582. "description": "期初应套保量",
  17583. "type": "number"
  17584. },
  17585. "orisellfutureqty": {
  17586. "description": "期初卖出期货数量",
  17587. "type": "number"
  17588. },
  17589. "orisellplanqty": {
  17590. "description": "期初销售计划数量",
  17591. "type": "number"
  17592. },
  17593. "orisellpricedqty": {
  17594. "description": "期初销售合同已定价数量",
  17595. "type": "number"
  17596. },
  17597. "oritotalexposure": {
  17598. "description": "期初实时总敞口",
  17599. "type": "number"
  17600. },
  17601. "oritotalfutureqty": {
  17602. "description": "期初期货头寸总量",
  17603. "type": "number"
  17604. },
  17605. "oritotalneedhedgeqty": {
  17606. "description": "期初应套保总量",
  17607. "type": "number"
  17608. },
  17609. "oritotalspotqty": {
  17610. "description": "期初现货头寸总量",
  17611. "type": "number"
  17612. },
  17613. "reckondate": {
  17614. "description": "日照时期(yyyyMMdd)",
  17615. "type": "string"
  17616. },
  17617. "sellfutureqty": {
  17618. "description": "卖出期货数量",
  17619. "type": "number"
  17620. },
  17621. "sellplanqty": {
  17622. "description": "销售计划数量",
  17623. "type": "number"
  17624. },
  17625. "sellpricedqty": {
  17626. "description": "销售合同已定价数量",
  17627. "type": "number"
  17628. },
  17629. "totalexposure": {
  17630. "description": "实时总敞口(总敞口)",
  17631. "type": "number"
  17632. },
  17633. "totalfutureqty": {
  17634. "description": "期货头寸总量(期货总量)",
  17635. "type": "number"
  17636. },
  17637. "totalhedgeratio": {
  17638. "description": "敞口比例",
  17639. "type": "number"
  17640. },
  17641. "totalneedhedgeqty": {
  17642. "description": "应套保总量(现货应套保总量)",
  17643. "type": "number"
  17644. },
  17645. "totalspotqty": {
  17646. "description": "现货头寸总量",
  17647. "type": "number"
  17648. },
  17649. "unitid": {
  17650. "description": "单位id",
  17651. "type": "integer"
  17652. },
  17653. "updatetime": {
  17654. "description": "更新时间",
  17655. "type": "string"
  17656. }
  17657. }
  17658. },
  17659. "models.Ermcp3FinanceReport": {
  17660. "type": "object",
  17661. "properties": {
  17662. "accountname": {
  17663. "description": "机构名称",
  17664. "type": "string"
  17665. },
  17666. "areauserid": {
  17667. "description": "所属机构\\交易用户ID",
  17668. "type": "integer"
  17669. },
  17670. "begindate": {
  17671. "description": "开始交易日",
  17672. "type": "string"
  17673. },
  17674. "biztype": {
  17675. "description": "业务类型 - 1:套保 2:套利",
  17676. "type": "integer"
  17677. },
  17678. "brandname": {
  17679. "description": "品牌名称",
  17680. "type": "string"
  17681. },
  17682. "buypreinvoicedamount": {
  17683. "description": "采购预收票额(预收票额)",
  17684. "type": "number"
  17685. },
  17686. "buyprepaidamount": {
  17687. "description": "采购预付款额(预付货款额)",
  17688. "type": "number"
  17689. },
  17690. "buytodayinvoiceamount": {
  17691. "description": "采购今收票额(今收票额)",
  17692. "type": "number"
  17693. },
  17694. "buytodayrefundamount": {
  17695. "description": "采购今收退款额(今收退款额)",
  17696. "type": "number"
  17697. },
  17698. "buytodaysettleamount": {
  17699. "description": "采购今付款额(今付货款额)",
  17700. "type": "number"
  17701. },
  17702. "buyuninvoicedamount": {
  17703. "description": "采购应收票额(应收票额)",
  17704. "type": "number"
  17705. },
  17706. "buyunpaidamount": {
  17707. "description": "采购应付款额(应付货款额)",
  17708. "type": "number"
  17709. },
  17710. "currencyid": {
  17711. "description": "结算币种ID",
  17712. "type": "integer"
  17713. },
  17714. "currencyname": {
  17715. "description": "币种名称",
  17716. "type": "string"
  17717. },
  17718. "cycletime": {
  17719. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17720. "type": "string"
  17721. },
  17722. "cycletype": {
  17723. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17724. "type": "integer"
  17725. },
  17726. "deliverygoodscode": {
  17727. "description": "现货品种代码",
  17728. "type": "string"
  17729. },
  17730. "deliverygoodsid": {
  17731. "description": "现货品种ID",
  17732. "type": "integer"
  17733. },
  17734. "deliverygoodsname": {
  17735. "description": "现货品种名称",
  17736. "type": "string"
  17737. },
  17738. "enddate": {
  17739. "description": "结束交易日",
  17740. "type": "string"
  17741. },
  17742. "reckondate": {
  17743. "description": "日照时期(yyyyMMdd)",
  17744. "type": "string"
  17745. },
  17746. "sellpreinvoicedamount": {
  17747. "description": "销售预开票额(预开票额)",
  17748. "type": "number"
  17749. },
  17750. "sellprepaidamount": {
  17751. "description": "销售预收款额(预收货款额)",
  17752. "type": "number"
  17753. },
  17754. "selltodayinvoiceamount": {
  17755. "description": "销售今开票额(今开票额)",
  17756. "type": "number"
  17757. },
  17758. "selltodayrefundamount": {
  17759. "description": "销售今付退款额(今付退款额)",
  17760. "type": "number"
  17761. },
  17762. "selltodaysettleamount": {
  17763. "description": "销售今收款额(今收货款额)",
  17764. "type": "number"
  17765. },
  17766. "selluninvoicedamount": {
  17767. "description": "销售应开票额(应开票额)",
  17768. "type": "number"
  17769. },
  17770. "sellunpaidamount": {
  17771. "description": "销售应收款额(应收货款额)",
  17772. "type": "number"
  17773. },
  17774. "spotgoodsbrandid": {
  17775. "description": "现货品牌ID",
  17776. "type": "integer"
  17777. },
  17778. "todaypaysum": {
  17779. "description": "今付款合计",
  17780. "type": "number"
  17781. },
  17782. "todayreceivesum": {
  17783. "description": "今收款合计",
  17784. "type": "number"
  17785. },
  17786. "updatetime": {
  17787. "description": "更新时间",
  17788. "type": "string"
  17789. },
  17790. "wrfactortypeid": {
  17791. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17792. "type": "integer"
  17793. },
  17794. "wrstandardcode": {
  17795. "description": "品类代码",
  17796. "type": "string"
  17797. },
  17798. "wrstandardid": {
  17799. "description": "现货商品ID",
  17800. "type": "integer"
  17801. },
  17802. "wrstandardname": {
  17803. "description": "品类名称",
  17804. "type": "string"
  17805. }
  17806. }
  17807. },
  17808. "models.Ermcp3Goods": {
  17809. "type": "object",
  17810. "properties": {
  17811. "agreeunit": {
  17812. "description": "合约单位(合约乘数)",
  17813. "type": "number"
  17814. },
  17815. "enumdicname": {
  17816. "description": "单位名称",
  17817. "type": "string"
  17818. },
  17819. "exexchangecode": {
  17820. "description": "交易所代码",
  17821. "type": "string"
  17822. },
  17823. "goodscode": {
  17824. "description": "期货商品代码",
  17825. "type": "string"
  17826. },
  17827. "goodsid": {
  17828. "description": "期货商品id",
  17829. "type": "integer"
  17830. },
  17831. "goodsname": {
  17832. "description": "期货商品名称",
  17833. "type": "string"
  17834. }
  17835. }
  17836. },
  17837. "models.Ermcp3GoodsGroup": {
  17838. "type": "object",
  17839. "required": [
  17840. "areauserid"
  17841. ],
  17842. "properties": {
  17843. "agreeunit": {
  17844. "description": "合约单位",
  17845. "type": "number"
  17846. },
  17847. "areauserid": {
  17848. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  17849. "type": "integer"
  17850. },
  17851. "canshort": {
  17852. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17853. "type": "integer"
  17854. },
  17855. "closepricemode": {
  17856. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17857. "type": "integer"
  17858. },
  17859. "createtime": {
  17860. "description": "创建时间",
  17861. "type": "string"
  17862. },
  17863. "creatorid": {
  17864. "description": "创建人",
  17865. "type": "integer"
  17866. },
  17867. "currencyid": {
  17868. "description": "报价货币ID",
  17869. "type": "integer"
  17870. },
  17871. "decimalplace": {
  17872. "description": "报价小数位",
  17873. "type": "integer"
  17874. },
  17875. "enumdicname": {
  17876. "description": "单位名称",
  17877. "type": "string"
  17878. },
  17879. "exchangefullname": {
  17880. "description": "交易所全称",
  17881. "type": "string"
  17882. },
  17883. "excludecfg": {
  17884. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  17885. "type": "integer"
  17886. },
  17887. "exexchangecode": {
  17888. "description": "交易所代码",
  17889. "type": "string"
  17890. },
  17891. "exexchangeid": {
  17892. "description": "外部交易所ID[通道交易]",
  17893. "type": "integer"
  17894. },
  17895. "exexchangename": {
  17896. "description": "交易所名称",
  17897. "type": "string"
  17898. },
  17899. "goodsgroupid": {
  17900. "description": "商品组ID(自增ID)",
  17901. "type": "integer"
  17902. },
  17903. "goodsgroupname": {
  17904. "description": "商品组名称",
  17905. "type": "string"
  17906. },
  17907. "goodsgroupstatus": {
  17908. "description": "商品组状态 - 1:正常 2:注销",
  17909. "type": "integer"
  17910. },
  17911. "goodunitid": {
  17912. "description": "报价单位ID",
  17913. "type": "integer"
  17914. },
  17915. "groupcategroyid": {
  17916. "description": "品种分类ID",
  17917. "type": "integer"
  17918. },
  17919. "innerdealmode": {
  17920. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17921. "type": "integer"
  17922. },
  17923. "marketid": {
  17924. "description": "所属市场ID",
  17925. "type": "integer"
  17926. },
  17927. "modifierid": {
  17928. "description": "修改人",
  17929. "type": "integer"
  17930. },
  17931. "modifytime": {
  17932. "description": "修改时间",
  17933. "type": "string"
  17934. },
  17935. "outerdealmode": {
  17936. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17937. "type": "integer"
  17938. },
  17939. "outergroupcode": {
  17940. "description": "外部商品组代码[通道交易]",
  17941. "type": "string"
  17942. },
  17943. "quoteminunit": {
  17944. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17945. "type": "integer"
  17946. },
  17947. "quotesourcegroupid": {
  17948. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17949. "type": "integer"
  17950. },
  17951. "syncgoodsqty": {
  17952. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17953. "type": "integer"
  17954. }
  17955. }
  17956. },
  17957. "models.Ermcp3GoodsGroupEx": {
  17958. "type": "object",
  17959. "properties": {
  17960. "convertratio": {
  17961. "description": "折算系数(品种系数)",
  17962. "type": "number"
  17963. },
  17964. "enumdicname": {
  17965. "description": "单位名称",
  17966. "type": "string"
  17967. },
  17968. "exexchangecode": {
  17969. "description": "交易所代码",
  17970. "type": "string"
  17971. },
  17972. "glist": {
  17973. "description": "合约列表",
  17974. "type": "array",
  17975. "items": {
  17976. "$ref": "#/definitions/models.Ermcp3Goods"
  17977. }
  17978. },
  17979. "goodsgroupid": {
  17980. "description": "商品组id",
  17981. "type": "integer"
  17982. },
  17983. "goodsgroupname": {
  17984. "description": "商品组名称",
  17985. "type": "string"
  17986. },
  17987. "goodsunitid": {
  17988. "description": "单位id",
  17989. "type": "integer"
  17990. },
  17991. "middlegoodsid": {
  17992. "description": "套保商品id",
  17993. "type": "integer"
  17994. }
  17995. }
  17996. },
  17997. "models.Ermcp3HedgePlan": {
  17998. "type": "object",
  17999. "properties": {
  18000. "accountid": {
  18001. "description": "资金账号",
  18002. "type": "integer"
  18003. },
  18004. "areauserid": {
  18005. "description": "用户ID",
  18006. "type": "integer"
  18007. },
  18008. "auditid": {
  18009. "description": "审核id",
  18010. "type": "integer"
  18011. },
  18012. "auditname": {
  18013. "description": "审核人名称",
  18014. "type": "string"
  18015. },
  18016. "auditremark": {
  18017. "description": "审核备注",
  18018. "type": "string"
  18019. },
  18020. "auditsrc": {
  18021. "description": "审核来源 1-管理端 2-终端",
  18022. "type": "integer"
  18023. },
  18024. "audittime": {
  18025. "description": "审核时间",
  18026. "type": "string"
  18027. },
  18028. "contracttype": {
  18029. "description": "计划类型 - 1:采购 -1:销售",
  18030. "type": "integer"
  18031. },
  18032. "convertfactor": {
  18033. "description": "标仓系数",
  18034. "type": "number"
  18035. },
  18036. "createtime": {
  18037. "description": "创建时间",
  18038. "type": "string"
  18039. },
  18040. "currencyid": {
  18041. "description": "币种id",
  18042. "type": "integer"
  18043. },
  18044. "currencyname": {
  18045. "description": "币种名称",
  18046. "type": "string"
  18047. },
  18048. "deliverygoodscode": {
  18049. "description": "现货品种代码",
  18050. "type": "string"
  18051. },
  18052. "deliverygoodsid": {
  18053. "description": "现货品种ID",
  18054. "type": "integer"
  18055. },
  18056. "deliverygoodsname": {
  18057. "description": "现货品种名称",
  18058. "type": "string"
  18059. },
  18060. "enumdicname": {
  18061. "description": "单位名称(现货商品)",
  18062. "type": "string"
  18063. },
  18064. "hedgeplanid": {
  18065. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  18066. "type": "string"
  18067. },
  18068. "hedgeplanno": {
  18069. "description": "套保计划编号(名称)",
  18070. "type": "string"
  18071. },
  18072. "hedgeplanstatus": {
  18073. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18074. "type": "integer"
  18075. },
  18076. "planqty": {
  18077. "description": "计划数量",
  18078. "type": "number"
  18079. },
  18080. "plantime": {
  18081. "description": "计划时间",
  18082. "type": "string"
  18083. },
  18084. "producttype": {
  18085. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18086. "type": "integer"
  18087. },
  18088. "remark": {
  18089. "description": "备注",
  18090. "type": "string"
  18091. },
  18092. "spotgoodsdesc": {
  18093. "description": "商品型号",
  18094. "type": "string"
  18095. },
  18096. "taaccountname": {
  18097. "description": "资金账号名称",
  18098. "type": "string"
  18099. },
  18100. "tradeuserid": {
  18101. "description": "交易用户id",
  18102. "type": "integer"
  18103. },
  18104. "tradeusername": {
  18105. "description": "交易用户名称",
  18106. "type": "string"
  18107. },
  18108. "unitid": {
  18109. "description": "单位id(现货商品)",
  18110. "type": "integer"
  18111. },
  18112. "updatetime": {
  18113. "description": "更新时间",
  18114. "type": "string"
  18115. },
  18116. "wrstandardcode": {
  18117. "description": "品类代码",
  18118. "type": "string"
  18119. },
  18120. "wrstandardid": {
  18121. "description": "品类id",
  18122. "type": "integer"
  18123. },
  18124. "wrstandardname": {
  18125. "description": "品类名称",
  18126. "type": "string"
  18127. },
  18128. "wrunitid": {
  18129. "description": "品类单位id",
  18130. "type": "integer"
  18131. },
  18132. "wrunitidame": {
  18133. "description": "品类单位名称",
  18134. "type": "string"
  18135. }
  18136. }
  18137. },
  18138. "models.Ermcp3MiddleGoodsDetail2": {
  18139. "type": "object",
  18140. "properties": {
  18141. "convertratio": {
  18142. "description": "套保系数(折算系数)",
  18143. "type": "number"
  18144. },
  18145. "gplist": {
  18146. "description": "关联商品组列表",
  18147. "type": "array",
  18148. "items": {
  18149. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18150. }
  18151. },
  18152. "mg": {
  18153. "description": "套保商品信息",
  18154. "type": "object",
  18155. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18156. }
  18157. }
  18158. },
  18159. "models.Ermcp3MiddleGoodsDetailEx": {
  18160. "type": "object",
  18161. "properties": {
  18162. "dglist": {
  18163. "description": "关联的现货品种列表",
  18164. "type": "array",
  18165. "items": {
  18166. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  18167. }
  18168. },
  18169. "gplist": {
  18170. "description": "关联商品组列表",
  18171. "type": "array",
  18172. "items": {
  18173. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18174. }
  18175. },
  18176. "mg": {
  18177. "description": "套保商品信息",
  18178. "type": "object",
  18179. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18180. }
  18181. }
  18182. },
  18183. "models.Ermcp3RootUserAccount": {
  18184. "type": "object",
  18185. "properties": {
  18186. "accountname": {
  18187. "description": "账户名称(机构名称)",
  18188. "type": "string"
  18189. },
  18190. "accountstatus": {
  18191. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18192. "type": "integer"
  18193. },
  18194. "applysrc": {
  18195. "description": "申请来源 - 1:管理端 2:终端",
  18196. "type": "integer"
  18197. },
  18198. "auditremark": {
  18199. "description": "审核备注",
  18200. "type": "string"
  18201. },
  18202. "auditsrc": {
  18203. "description": "审核来源 - 1:管理端 2:终端",
  18204. "type": "integer"
  18205. },
  18206. "audittime": {
  18207. "description": "审核时间",
  18208. "type": "string"
  18209. },
  18210. "audituserid": {
  18211. "description": "审核人",
  18212. "type": "integer"
  18213. },
  18214. "broker": {
  18215. "description": "所属经纪人ID",
  18216. "type": "integer"
  18217. },
  18218. "canceltime": {
  18219. "description": "销户时间",
  18220. "type": "string"
  18221. },
  18222. "canceluserid": {
  18223. "description": "销户人",
  18224. "type": "integer"
  18225. },
  18226. "canrecommend": {
  18227. "description": "是否可推荐 - 0:不可 1;可",
  18228. "type": "integer"
  18229. },
  18230. "createtime": {
  18231. "description": "创建时间",
  18232. "type": "string"
  18233. },
  18234. "creatorid": {
  18235. "description": "创建人",
  18236. "type": "integer"
  18237. },
  18238. "hasauth": {
  18239. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  18240. "type": "integer"
  18241. },
  18242. "isanonymous": {
  18243. "description": "是否匿名下单 - 0:否 1:是",
  18244. "type": "integer"
  18245. },
  18246. "maxinvestornum": {
  18247. "description": "最大用户数(经纪会员下投资者个数)",
  18248. "type": "integer"
  18249. },
  18250. "memberuserid": {
  18251. "description": "所属会员ID",
  18252. "type": "integer"
  18253. },
  18254. "modifierid": {
  18255. "description": "修改人",
  18256. "type": "integer"
  18257. },
  18258. "modifyremark": {
  18259. "description": "变更备注",
  18260. "type": "string"
  18261. },
  18262. "modifystatus": {
  18263. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  18264. "type": "integer"
  18265. },
  18266. "modifytime": {
  18267. "description": "修改时间",
  18268. "type": "string"
  18269. },
  18270. "parenttopuser": {
  18271. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  18272. "type": "string"
  18273. },
  18274. "parentuserid": {
  18275. "description": "所属机构ID",
  18276. "type": "integer"
  18277. },
  18278. "reckonaccountid": {
  18279. "description": "默认结算资金账号ID(机构分润使用) 作废",
  18280. "type": "integer"
  18281. },
  18282. "refercount": {
  18283. "description": "推荐总人数",
  18284. "type": "integer"
  18285. },
  18286. "refereeuserid": {
  18287. "description": "推荐人ID",
  18288. "type": "integer"
  18289. },
  18290. "refernum": {
  18291. "description": "推荐码",
  18292. "type": "string"
  18293. },
  18294. "rootuserid": {
  18295. "description": "根用户ID",
  18296. "type": "integer"
  18297. },
  18298. "subaccountlevel": {
  18299. "description": "子账户层数",
  18300. "type": "integer"
  18301. },
  18302. "subarealevelpath": {
  18303. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  18304. "type": "string"
  18305. },
  18306. "userid": {
  18307. "description": "用户ID",
  18308. "type": "integer"
  18309. },
  18310. "usertype": {
  18311. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18312. "type": "integer"
  18313. }
  18314. }
  18315. },
  18316. "models.Ermcp3SellBuyContract": {
  18317. "type": "object",
  18318. "properties": {
  18319. "accountid": {
  18320. "description": "期货账户id",
  18321. "type": "string"
  18322. },
  18323. "accountname": {
  18324. "description": "账户名称",
  18325. "type": "string"
  18326. },
  18327. "attachment": {
  18328. "description": "附件",
  18329. "type": "string"
  18330. },
  18331. "audittime": {
  18332. "description": "审核时间",
  18333. "type": "string"
  18334. },
  18335. "biztype": {
  18336. "description": "业务类型 1-套保 2-套利",
  18337. "type": "integer"
  18338. },
  18339. "brandname": {
  18340. "description": "品牌名称",
  18341. "type": "string"
  18342. },
  18343. "contracctstatus": {
  18344. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18345. "type": "integer"
  18346. },
  18347. "contractmargin": {
  18348. "description": "合同保证金",
  18349. "type": "number"
  18350. },
  18351. "contractno": {
  18352. "description": "合同编号",
  18353. "type": "string"
  18354. },
  18355. "contracttype": {
  18356. "description": "合同类型 1-采购, -1-销售",
  18357. "type": "integer"
  18358. },
  18359. "convertfactor": {
  18360. "description": "标仓系数(品类)",
  18361. "type": "number"
  18362. },
  18363. "createtime": {
  18364. "description": "创建时间",
  18365. "type": "string"
  18366. },
  18367. "currencyid": {
  18368. "description": "币种id",
  18369. "type": "integer"
  18370. },
  18371. "currencyname": {
  18372. "description": "币种名称",
  18373. "type": "string"
  18374. },
  18375. "daikaiamount": {
  18376. "description": "应收(开)票额",
  18377. "type": "number"
  18378. },
  18379. "deliveryenddate": {
  18380. "description": "交割结束日",
  18381. "type": "string"
  18382. },
  18383. "deliverygoodscode": {
  18384. "description": "现货品种代码",
  18385. "type": "string"
  18386. },
  18387. "deliverygoodsid": {
  18388. "description": "现货商品ID",
  18389. "type": "integer"
  18390. },
  18391. "deliverygoodsname": {
  18392. "description": "现货品种名称",
  18393. "type": "string"
  18394. },
  18395. "deliverystartdate": {
  18396. "description": "交割开始日",
  18397. "type": "string"
  18398. },
  18399. "enddate": {
  18400. "description": "点价结束日",
  18401. "type": "string"
  18402. },
  18403. "enumdicname": {
  18404. "description": "单位名称",
  18405. "type": "string"
  18406. },
  18407. "goodscode": {
  18408. "description": "点价商品代码",
  18409. "type": "string"
  18410. },
  18411. "goodsid": {
  18412. "description": "点价商品ID",
  18413. "type": "integer"
  18414. },
  18415. "goodsname": {
  18416. "description": "点价商品名称",
  18417. "type": "string"
  18418. },
  18419. "invoiceamount": {
  18420. "description": "已开票额",
  18421. "type": "number"
  18422. },
  18423. "loanamount": {
  18424. "description": "贷款总额=已定价额+调整金额",
  18425. "type": "number"
  18426. },
  18427. "margin": {
  18428. "description": "保证金",
  18429. "type": "number"
  18430. },
  18431. "meruserid": {
  18432. "description": "跟单员id",
  18433. "type": "integer"
  18434. },
  18435. "meruserlogincode": {
  18436. "description": "跟单员登录代码",
  18437. "type": "string"
  18438. },
  18439. "merusername": {
  18440. "description": "跟单员名称",
  18441. "type": "string"
  18442. },
  18443. "nickname": {
  18444. "description": "账户昵称",
  18445. "type": "string"
  18446. },
  18447. "payamount": {
  18448. "description": "已收付额(收款或付款)",
  18449. "type": "number"
  18450. },
  18451. "preinvoiceamount": {
  18452. "description": "预收(开)票额",
  18453. "type": "number"
  18454. },
  18455. "prepayamount": {
  18456. "description": "预收付额",
  18457. "type": "number"
  18458. },
  18459. "price": {
  18460. "description": "价格",
  18461. "type": "number"
  18462. },
  18463. "pricedamount": {
  18464. "description": "已定价额",
  18465. "type": "number"
  18466. },
  18467. "pricedavg": {
  18468. "description": "已点均价",
  18469. "type": "number"
  18470. },
  18471. "pricedqty": {
  18472. "description": "已定价量",
  18473. "type": "number"
  18474. },
  18475. "pricemove": {
  18476. "description": "升贴水",
  18477. "type": "number"
  18478. },
  18479. "pricetype": {
  18480. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18481. "type": "integer"
  18482. },
  18483. "producttype": {
  18484. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18485. "type": "integer"
  18486. },
  18487. "qty": {
  18488. "description": "合同量",
  18489. "type": "number"
  18490. },
  18491. "reckonadjustamount": {
  18492. "description": "调整金额",
  18493. "type": "number"
  18494. },
  18495. "reckonedamount": {
  18496. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  18497. "type": "number"
  18498. },
  18499. "reckonotheramount": {
  18500. "description": "其它费用",
  18501. "type": "number"
  18502. },
  18503. "reckonrealqty": {
  18504. "description": "已确定量",
  18505. "type": "number"
  18506. },
  18507. "remark": {
  18508. "description": "备注",
  18509. "type": "string"
  18510. },
  18511. "saleuserid": {
  18512. "description": "业务员id",
  18513. "type": "integer"
  18514. },
  18515. "saleuserlogincode": {
  18516. "description": "业务员登录代码",
  18517. "type": "string"
  18518. },
  18519. "saleusername": {
  18520. "description": "业务员名称",
  18521. "type": "string"
  18522. },
  18523. "spotcontractid": {
  18524. "description": "合同ID",
  18525. "type": "string"
  18526. },
  18527. "spotgoodsbrandid": {
  18528. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18529. "type": "integer"
  18530. },
  18531. "spotgoodsdesc": {
  18532. "description": "商品型号(商品规格)",
  18533. "type": "string"
  18534. },
  18535. "startdate": {
  18536. "description": "点价开始日",
  18537. "type": "string"
  18538. },
  18539. "totalamount": {
  18540. "description": "合计总额",
  18541. "type": "number"
  18542. },
  18543. "tradeuserid": {
  18544. "description": "交易员id",
  18545. "type": "integer"
  18546. },
  18547. "tradeuserlogincode": {
  18548. "description": "交易员登录代码",
  18549. "type": "string"
  18550. },
  18551. "tradeusername": {
  18552. "description": "交易员名称",
  18553. "type": "string"
  18554. },
  18555. "unpayamount": {
  18556. "description": "应收付款额(应支付或应收款)",
  18557. "type": "number"
  18558. },
  18559. "unpricedqty": {
  18560. "description": "未定价量",
  18561. "type": "number"
  18562. },
  18563. "unsureqty": {
  18564. "description": "未确定量",
  18565. "type": "number"
  18566. },
  18567. "userid": {
  18568. "description": "机构ID",
  18569. "type": "integer"
  18570. },
  18571. "wrstandardcode": {
  18572. "description": "品类代码",
  18573. "type": "string"
  18574. },
  18575. "wrstandardid": {
  18576. "description": "品类ID",
  18577. "type": "integer"
  18578. },
  18579. "wrstandardname": {
  18580. "description": "品类名称",
  18581. "type": "string"
  18582. }
  18583. }
  18584. },
  18585. "models.Ermcp3SpotGoodsPrice": {
  18586. "type": "object",
  18587. "properties": {
  18588. "areauserid": {
  18589. "description": "所属机构id",
  18590. "type": "integer"
  18591. },
  18592. "brandname": {
  18593. "description": "品牌名称",
  18594. "type": "string"
  18595. },
  18596. "currencyid": {
  18597. "description": "报价货币ID",
  18598. "type": "integer"
  18599. },
  18600. "currencyname": {
  18601. "description": "币种名称",
  18602. "type": "string"
  18603. },
  18604. "deliverygoodscode": {
  18605. "description": "现货商品代码",
  18606. "type": "string"
  18607. },
  18608. "deliverygoodsid": {
  18609. "description": "现货商品id",
  18610. "type": "integer"
  18611. },
  18612. "deliverygoodsname": {
  18613. "description": "现货商品名称",
  18614. "type": "string"
  18615. },
  18616. "enumdicname": {
  18617. "description": "现货商品单位名称",
  18618. "type": "string"
  18619. },
  18620. "gbenumdicname": {
  18621. "description": "品类单位名称",
  18622. "type": "string"
  18623. },
  18624. "gmunitid": {
  18625. "description": "品类单位id",
  18626. "type": "integer"
  18627. },
  18628. "isvalid": {
  18629. "description": "是否有效 - 0:无效 1:有效",
  18630. "type": "integer"
  18631. },
  18632. "operateid": {
  18633. "description": "最后操作人",
  18634. "type": "integer"
  18635. },
  18636. "operatesrc": {
  18637. "description": "最后操作来源 - 1:管理端 2:终端",
  18638. "type": "integer"
  18639. },
  18640. "operatetime": {
  18641. "description": "最后操作时间",
  18642. "type": "string"
  18643. },
  18644. "operatorname": {
  18645. "description": "操作人名称",
  18646. "type": "string"
  18647. },
  18648. "spotgoodsbrandid": {
  18649. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18650. "type": "integer"
  18651. },
  18652. "spotgoodsprice": {
  18653. "description": "现货价格",
  18654. "type": "number"
  18655. },
  18656. "tradedate": {
  18657. "description": "交易日(yyyyMMdd)",
  18658. "type": "string"
  18659. },
  18660. "unitid": {
  18661. "description": "现货商品单位id",
  18662. "type": "integer"
  18663. },
  18664. "wrstandardcode": {
  18665. "description": "品类代码",
  18666. "type": "string"
  18667. },
  18668. "wrstandardid": {
  18669. "description": "现货品类ID(通用则为0)",
  18670. "type": "integer"
  18671. },
  18672. "wrstandardname": {
  18673. "description": "品类名称",
  18674. "type": "string"
  18675. }
  18676. }
  18677. },
  18678. "models.Ermcp3SpotGoodsPriceLog": {
  18679. "type": "object",
  18680. "properties": {
  18681. "areauserid": {
  18682. "description": "所属机构id",
  18683. "type": "integer"
  18684. },
  18685. "brandname": {
  18686. "description": "品牌名称",
  18687. "type": "string"
  18688. },
  18689. "currencyid": {
  18690. "description": "报价货币ID",
  18691. "type": "integer"
  18692. },
  18693. "deliverygoodscode": {
  18694. "description": "现货商品代码",
  18695. "type": "string"
  18696. },
  18697. "deliverygoodsid": {
  18698. "description": "现货商品id",
  18699. "type": "integer"
  18700. },
  18701. "deliverygoodsname": {
  18702. "description": "现货商品名称",
  18703. "type": "string"
  18704. },
  18705. "enumdicname": {
  18706. "description": "现货商品单位名称",
  18707. "type": "string"
  18708. },
  18709. "gbenumdicname": {
  18710. "description": "品类单位名称",
  18711. "type": "string"
  18712. },
  18713. "gmunitid": {
  18714. "description": "品类单位id",
  18715. "type": "integer"
  18716. },
  18717. "logid": {
  18718. "description": "日志id",
  18719. "type": "integer"
  18720. },
  18721. "operateid": {
  18722. "description": "最后操作人",
  18723. "type": "integer"
  18724. },
  18725. "operatesrc": {
  18726. "description": "最后操作来源 - 1:管理端 2:终端",
  18727. "type": "integer"
  18728. },
  18729. "operatetime": {
  18730. "description": "最后操作时间",
  18731. "type": "string"
  18732. },
  18733. "operatorname": {
  18734. "description": "操作人名称",
  18735. "type": "string"
  18736. },
  18737. "spotgoodsbrandid": {
  18738. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18739. "type": "integer"
  18740. },
  18741. "spotgoodsprice": {
  18742. "description": "现货价格",
  18743. "type": "number"
  18744. },
  18745. "tradedate": {
  18746. "description": "交易日(yyyyMMdd)",
  18747. "type": "string"
  18748. },
  18749. "unitid": {
  18750. "description": "现货商品单位id",
  18751. "type": "integer"
  18752. },
  18753. "wrstandardcode": {
  18754. "description": "品类代码",
  18755. "type": "string"
  18756. },
  18757. "wrstandardid": {
  18758. "description": "现货品类ID(通用则为0)",
  18759. "type": "integer"
  18760. },
  18761. "wrstandardname": {
  18762. "description": "品类名称",
  18763. "type": "string"
  18764. }
  18765. }
  18766. },
  18767. "models.Ermcp3TaFutuReDataReport": {
  18768. "type": "object",
  18769. "properties": {
  18770. "accountid": {
  18771. "description": "交易账户",
  18772. "type": "integer"
  18773. },
  18774. "accountname": {
  18775. "description": "交易账号名称",
  18776. "type": "string"
  18777. },
  18778. "begindate": {
  18779. "description": "开始交易日",
  18780. "type": "string"
  18781. },
  18782. "buyorsell": {
  18783. "description": "持仓方向",
  18784. "type": "integer"
  18785. },
  18786. "charge": {
  18787. "description": "手续费",
  18788. "type": "number"
  18789. },
  18790. "closeavgprice": {
  18791. "description": "平仓均价",
  18792. "type": "number"
  18793. },
  18794. "closepl": {
  18795. "description": "平仓损益",
  18796. "type": "number"
  18797. },
  18798. "currencyid": {
  18799. "description": "结算币种ID",
  18800. "type": "integer"
  18801. },
  18802. "currencyname": {
  18803. "description": "币种名称",
  18804. "type": "string"
  18805. },
  18806. "cycletime": {
  18807. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18808. "type": "string"
  18809. },
  18810. "cycletype": {
  18811. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18812. "type": "integer"
  18813. },
  18814. "enddate": {
  18815. "description": "结束交易日",
  18816. "type": "string"
  18817. },
  18818. "enumdicname": {
  18819. "description": "单位名称",
  18820. "type": "string"
  18821. },
  18822. "floatpl": {
  18823. "description": "浮动损益",
  18824. "type": "number"
  18825. },
  18826. "goodscode": {
  18827. "description": "交易合约代码",
  18828. "type": "string"
  18829. },
  18830. "goodsgroupid": {
  18831. "description": "交易品种",
  18832. "type": "integer"
  18833. },
  18834. "goodsgroupname": {
  18835. "description": "交易品种名称",
  18836. "type": "string"
  18837. },
  18838. "goodsgroupspotqty": {
  18839. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  18840. "type": "number"
  18841. },
  18842. "goodsid": {
  18843. "description": "交易合约",
  18844. "type": "integer"
  18845. },
  18846. "goodsname": {
  18847. "description": "交易合约名称",
  18848. "type": "string"
  18849. },
  18850. "goodunitid": {
  18851. "description": "交易合约单位id",
  18852. "type": "integer"
  18853. },
  18854. "holdamount": {
  18855. "description": "期末持仓额",
  18856. "type": "number"
  18857. },
  18858. "holdqty": {
  18859. "description": "期末持仓量",
  18860. "type": "number"
  18861. },
  18862. "lastholdamount": {
  18863. "description": "当前持仓额",
  18864. "type": "number"
  18865. },
  18866. "lastprice": {
  18867. "description": "最新价",
  18868. "type": "number"
  18869. },
  18870. "middlegoodsid": {
  18871. "description": "套保品种id",
  18872. "type": "integer"
  18873. },
  18874. "middlegoodsname": {
  18875. "description": "套保商品名称",
  18876. "type": "string"
  18877. },
  18878. "middlegoodsqty": {
  18879. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  18880. "type": "number"
  18881. },
  18882. "middlgoodscode": {
  18883. "description": "套保商品代码",
  18884. "type": "string"
  18885. },
  18886. "openamount": {
  18887. "description": "期末开仓额",
  18888. "type": "number"
  18889. },
  18890. "openavgprice": {
  18891. "description": "开仓均价",
  18892. "type": "number"
  18893. },
  18894. "oriholdamount": {
  18895. "description": "期初持仓额",
  18896. "type": "number"
  18897. },
  18898. "oriholdqty": {
  18899. "description": "期初持仓量",
  18900. "type": "number"
  18901. },
  18902. "oriopenamount": {
  18903. "description": "期初开仓额",
  18904. "type": "number"
  18905. },
  18906. "outergroupcode": {
  18907. "description": "交易品种代码",
  18908. "type": "string"
  18909. },
  18910. "reckondate": {
  18911. "description": "日照时期(yyyyMMdd)",
  18912. "type": "string"
  18913. },
  18914. "reckonholdamount": {
  18915. "description": "结算持仓额",
  18916. "type": "number"
  18917. },
  18918. "reckonpl": {
  18919. "description": "结算损益",
  18920. "type": "number"
  18921. },
  18922. "reckonpl2": {
  18923. "description": "结算逐笔盈亏",
  18924. "type": "number"
  18925. },
  18926. "reckonprice": {
  18927. "description": "结算价",
  18928. "type": "number"
  18929. },
  18930. "relateduserid": {
  18931. "description": "账户关联用户ID",
  18932. "type": "integer"
  18933. },
  18934. "todaycloseamount": {
  18935. "description": "今平仓额",
  18936. "type": "number"
  18937. },
  18938. "todaycloseqty": {
  18939. "description": "今平仓量",
  18940. "type": "number"
  18941. },
  18942. "todaygoodsgroupspotqty": {
  18943. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  18944. "type": "number"
  18945. },
  18946. "todaymiddlegoodsqty": {
  18947. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  18948. "type": "number"
  18949. },
  18950. "todayopenamount": {
  18951. "description": "今开仓额",
  18952. "type": "number"
  18953. },
  18954. "todayopenqty": {
  18955. "description": "今开仓量",
  18956. "type": "number"
  18957. },
  18958. "userid": {
  18959. "description": "账户所属用户ID",
  18960. "type": "integer"
  18961. }
  18962. }
  18963. },
  18964. "models.Ermcp3Wrstandard": {
  18965. "type": "object",
  18966. "properties": {
  18967. "areauserid": {
  18968. "description": "所属机构",
  18969. "type": "integer"
  18970. },
  18971. "convertfactor": {
  18972. "description": "标仓系数",
  18973. "type": "number"
  18974. },
  18975. "createtime": {
  18976. "description": "创建时间",
  18977. "type": "string"
  18978. },
  18979. "creatorid": {
  18980. "description": "创建人",
  18981. "type": "integer"
  18982. },
  18983. "deliverygoodsid": {
  18984. "description": "现货品种ID",
  18985. "type": "integer"
  18986. },
  18987. "enumdicname": {
  18988. "description": "品类单位名称",
  18989. "type": "string"
  18990. },
  18991. "isvalid": {
  18992. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  18993. "type": "integer"
  18994. },
  18995. "minivalue": {
  18996. "description": "最小变动值",
  18997. "type": "integer"
  18998. },
  18999. "minivaluedp": {
  19000. "description": "最小变动值小数位",
  19001. "type": "integer"
  19002. },
  19003. "realminivalue": {
  19004. "description": "实际最小变动值",
  19005. "type": "integer"
  19006. },
  19007. "realminivaluedp": {
  19008. "description": "实际最小变动值小数位",
  19009. "type": "integer"
  19010. },
  19011. "remark": {
  19012. "description": "备注",
  19013. "type": "string"
  19014. },
  19015. "unitid": {
  19016. "description": "品类单位ID",
  19017. "type": "integer"
  19018. },
  19019. "updatetime": {
  19020. "description": "更新时间",
  19021. "type": "string"
  19022. },
  19023. "wrstandardcode": {
  19024. "description": "品类代码",
  19025. "type": "string"
  19026. },
  19027. "wrstandardid": {
  19028. "description": "品类ID(SEQ_WRSTANDARD)",
  19029. "type": "integer"
  19030. },
  19031. "wrstandardname": {
  19032. "description": "品类名称",
  19033. "type": "string"
  19034. }
  19035. }
  19036. },
  19037. "models.ErmcpAreaSpotDetailModel": {
  19038. "type": "object",
  19039. "properties": {
  19040. "contracttype": {
  19041. "description": "合同类型 1-采购 -1-销售",
  19042. "type": "integer"
  19043. },
  19044. "createtime": {
  19045. "description": "创建时间",
  19046. "type": "string"
  19047. },
  19048. "enumdicname": {
  19049. "description": "现货商品单位名称",
  19050. "type": "string"
  19051. },
  19052. "logtype": {
  19053. "description": "记录类型 1-套保 2-现货合同",
  19054. "type": "integer"
  19055. },
  19056. "qty": {
  19057. "description": "数量",
  19058. "type": "number"
  19059. },
  19060. "recordname": {
  19061. "description": "类型名称",
  19062. "type": "string"
  19063. },
  19064. "relatedid": {
  19065. "description": "套保计划ID/现货合同ID",
  19066. "type": "string"
  19067. },
  19068. "relatedno": {
  19069. "description": "编号",
  19070. "type": "string"
  19071. },
  19072. "strtime": {
  19073. "description": "时间",
  19074. "type": "string"
  19075. },
  19076. "wrstandardcode": {
  19077. "description": "现货商品代码",
  19078. "type": "string"
  19079. },
  19080. "wrstandardname": {
  19081. "description": "现货商品名称",
  19082. "type": "string"
  19083. }
  19084. }
  19085. },
  19086. "models.ErmcpAvalidGoodsGroupModel": {
  19087. "type": "object",
  19088. "properties": {
  19089. "goodsgroupid": {
  19090. "description": "期货品种id",
  19091. "type": "integer"
  19092. },
  19093. "goodsgroupname": {
  19094. "description": "期货品种名称",
  19095. "type": "string"
  19096. },
  19097. "goodunitid": {
  19098. "description": "品种单位id",
  19099. "type": "integer"
  19100. },
  19101. "goodunitname": {
  19102. "description": "品种单位名称",
  19103. "type": "string"
  19104. },
  19105. "outergroupcode": {
  19106. "description": "期货品种代码",
  19107. "type": "string"
  19108. }
  19109. }
  19110. },
  19111. "models.ErmcpBizGroupEx": {
  19112. "type": "object",
  19113. "properties": {
  19114. "acclist": {
  19115. "description": "账号列表",
  19116. "type": "array",
  19117. "items": {
  19118. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  19119. }
  19120. },
  19121. "bizgroupid": {
  19122. "description": "业务分组id",
  19123. "type": "integer"
  19124. },
  19125. "biztype": {
  19126. "description": "业务类型 1-套保 2-套利",
  19127. "type": "integer"
  19128. },
  19129. "wrlist": {
  19130. "description": "现货商品表",
  19131. "type": "array",
  19132. "items": {
  19133. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  19134. }
  19135. }
  19136. }
  19137. },
  19138. "models.ErmcpBizGroupSpotGoods": {
  19139. "type": "object",
  19140. "properties": {
  19141. "areauserid": {
  19142. "description": "所属机构id",
  19143. "type": "integer"
  19144. },
  19145. "bizgroupid": {
  19146. "description": "分组id",
  19147. "type": "integer"
  19148. },
  19149. "biztype": {
  19150. "description": "业务类型 1-套保 2-套利",
  19151. "type": "integer"
  19152. },
  19153. "deliverygoodscode": {
  19154. "description": "现货商品代码",
  19155. "type": "string"
  19156. },
  19157. "deliverygoodsid": {
  19158. "description": "现货商品id",
  19159. "type": "integer"
  19160. },
  19161. "deliverygoodsname": {
  19162. "description": "现货商品名称",
  19163. "type": "string"
  19164. },
  19165. "unitid": {
  19166. "description": "现货商品单位id",
  19167. "type": "integer"
  19168. }
  19169. }
  19170. },
  19171. "models.ErmcpBizGroupTaAccount": {
  19172. "type": "object",
  19173. "properties": {
  19174. "accountid": {
  19175. "description": "账号id",
  19176. "type": "integer"
  19177. },
  19178. "accountname": {
  19179. "description": "账号名称",
  19180. "type": "string"
  19181. },
  19182. "areauserid": {
  19183. "description": "所属机构id",
  19184. "type": "integer"
  19185. },
  19186. "bizgroupid": {
  19187. "description": "业务分组id",
  19188. "type": "integer"
  19189. },
  19190. "ismain": {
  19191. "description": "是否主账号 1-是 0-否",
  19192. "type": "integer"
  19193. }
  19194. }
  19195. },
  19196. "models.ErmcpDGFactoryItem": {
  19197. "type": "object",
  19198. "properties": {
  19199. "areauserid": {
  19200. "description": "用户id",
  19201. "type": "integer"
  19202. },
  19203. "deliverygoodsid": {
  19204. "description": "现货品种ID",
  19205. "type": "integer"
  19206. },
  19207. "dgfactoryitemid": {
  19208. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19209. "type": "integer"
  19210. },
  19211. "dgfactoryitemtypeid": {
  19212. "description": "要素项类型",
  19213. "type": "integer"
  19214. },
  19215. "dgfactoryitemvalue": {
  19216. "description": "要素项值(类型为仓库时填写仓库名称)",
  19217. "type": "string"
  19218. },
  19219. "isvalid": {
  19220. "description": "是否有效 - 0:无效 1:有效",
  19221. "type": "integer"
  19222. },
  19223. "orderindex": {
  19224. "description": "顺序",
  19225. "type": "integer"
  19226. },
  19227. "warehouseid": {
  19228. "description": "仓库ID(类型为仓库时填写)",
  19229. "type": "integer"
  19230. }
  19231. }
  19232. },
  19233. "models.ErmcpDeliveryGoods": {
  19234. "type": "object",
  19235. "properties": {
  19236. "agreeunit": {
  19237. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  19238. "type": "integer"
  19239. },
  19240. "areauserid": {
  19241. "description": "所属机构",
  19242. "type": "integer"
  19243. },
  19244. "auditflag": {
  19245. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  19246. "type": "integer"
  19247. },
  19248. "categoryid": {
  19249. "description": "类别ID(SEQ_WRCATEGORY)",
  19250. "type": "integer"
  19251. },
  19252. "deliverygoodscode": {
  19253. "description": "现货品种代码",
  19254. "type": "string"
  19255. },
  19256. "deliverygoodsid": {
  19257. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  19258. "type": "integer"
  19259. },
  19260. "deliverygoodsname": {
  19261. "description": "现货品种名称",
  19262. "type": "string"
  19263. },
  19264. "deliverygoodstype": {
  19265. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  19266. "type": "integer"
  19267. },
  19268. "dgstatus": {
  19269. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  19270. "type": "integer"
  19271. },
  19272. "enumdicname": {
  19273. "description": "现货品种单位名称",
  19274. "type": "string"
  19275. },
  19276. "goodsunitid": {
  19277. "description": "现货品种单位ID",
  19278. "type": "integer"
  19279. },
  19280. "isvalid": {
  19281. "description": "是否有效 - 0:无效 1:有效",
  19282. "type": "integer"
  19283. },
  19284. "qtydecimalplace": {
  19285. "description": "成交量小数位",
  19286. "type": "integer"
  19287. },
  19288. "remark": {
  19289. "description": "备注",
  19290. "type": "string"
  19291. },
  19292. "standardqty": {
  19293. "description": "标准数量(库位数量) [标准品特有]",
  19294. "type": "integer"
  19295. },
  19296. "standardqtyrange": {
  19297. "description": "标准数量偏差范围 [标准品特有]",
  19298. "type": "integer"
  19299. }
  19300. }
  19301. },
  19302. "models.ErmcpDeliveryGoodsDetail2": {
  19303. "type": "object",
  19304. "properties": {
  19305. "convertratio": {
  19306. "description": "套保系数(折算系数)",
  19307. "type": "number"
  19308. },
  19309. "data": {
  19310. "description": "现货商品基本信息(交割品种)",
  19311. "type": "object",
  19312. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19313. },
  19314. "gblist": {
  19315. "description": "品牌列表",
  19316. "type": "array",
  19317. "items": {
  19318. "$ref": "#/definitions/models.Ermcp3Brand"
  19319. }
  19320. },
  19321. "gmlist": {
  19322. "description": "品类列表(仓单标准)",
  19323. "type": "array",
  19324. "items": {
  19325. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19326. }
  19327. }
  19328. }
  19329. },
  19330. "models.ErmcpDeliveryGoodsDetailEx": {
  19331. "type": "object",
  19332. "properties": {
  19333. "data": {
  19334. "description": "现货商品基本信息(交割品种)",
  19335. "type": "object",
  19336. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19337. },
  19338. "gblist": {
  19339. "description": "品牌列表",
  19340. "type": "array",
  19341. "items": {
  19342. "$ref": "#/definitions/models.Ermcp3Brand"
  19343. }
  19344. },
  19345. "gmlist": {
  19346. "description": "品类列表(仓单标准)",
  19347. "type": "array",
  19348. "items": {
  19349. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19350. }
  19351. },
  19352. "mgList": {
  19353. "description": "套保列表",
  19354. "type": "array",
  19355. "items": {
  19356. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  19357. }
  19358. }
  19359. }
  19360. },
  19361. "models.ErmcpExposureDetailModel": {
  19362. "type": "object",
  19363. "properties": {
  19364. "areauserid": {
  19365. "description": "机构ID",
  19366. "type": "integer"
  19367. },
  19368. "changeQty": {
  19369. "description": "套保变动量",
  19370. "type": "number"
  19371. },
  19372. "contracttype": {
  19373. "description": "现货合同类型 - 1:采购 -1:销售",
  19374. "type": "integer"
  19375. },
  19376. "convertfactor": {
  19377. "description": "标仓系数",
  19378. "type": "number"
  19379. },
  19380. "convertratio": {
  19381. "description": "套保系数",
  19382. "type": "number"
  19383. },
  19384. "createtime": {
  19385. "description": "时间",
  19386. "type": "string"
  19387. },
  19388. "enumdicname": {
  19389. "description": "现货商品单位名称",
  19390. "type": "string"
  19391. },
  19392. "logtype": {
  19393. "description": "类型 - 1:套保计划 2:现货合同",
  19394. "type": "integer"
  19395. },
  19396. "middlegoodsId": {
  19397. "description": "套保商品id",
  19398. "type": "integer"
  19399. },
  19400. "middlegoodscode": {
  19401. "description": "套保商品代码",
  19402. "type": "string"
  19403. },
  19404. "middlegoodsname": {
  19405. "description": "套保商品名称",
  19406. "type": "string"
  19407. },
  19408. "qty": {
  19409. "description": "数量",
  19410. "type": "number"
  19411. },
  19412. "relateNo": {
  19413. "description": "现货合同/套保计划编号",
  19414. "type": "string"
  19415. },
  19416. "wrstandardcode": {
  19417. "description": "现货商品代码",
  19418. "type": "string"
  19419. },
  19420. "wrstandardid": {
  19421. "description": "现货商品ID",
  19422. "type": "integer"
  19423. },
  19424. "wrstandardname": {
  19425. "description": "现货商品名称",
  19426. "type": "string"
  19427. }
  19428. }
  19429. },
  19430. "models.ErmcpExposurePostion": {
  19431. "type": "object",
  19432. "properties": {
  19433. "agreeunit": {
  19434. "description": "合约单位",
  19435. "type": "string"
  19436. },
  19437. "areauserid": {
  19438. "description": "所属机构id",
  19439. "type": "integer"
  19440. },
  19441. "convertratio": {
  19442. "description": "期货品种系数(折算系数)",
  19443. "type": "number"
  19444. },
  19445. "curqty": {
  19446. "description": "当前持仓",
  19447. "type": "integer"
  19448. },
  19449. "diffhedgeqty": {
  19450. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19451. "type": "number"
  19452. },
  19453. "diffqty": {
  19454. "description": "持仓变动量=当前持仓-昨日持仓",
  19455. "type": "integer"
  19456. },
  19457. "goodscode": {
  19458. "description": "商品代码",
  19459. "type": "string"
  19460. },
  19461. "goodsid": {
  19462. "description": "商品id",
  19463. "type": "integer"
  19464. },
  19465. "goodsname": {
  19466. "description": "商品名称",
  19467. "type": "string"
  19468. },
  19469. "middlegoodsid": {
  19470. "description": "套保商品id",
  19471. "type": "integer"
  19472. },
  19473. "ydqty": {
  19474. "description": "昨日持仓",
  19475. "type": "integer"
  19476. }
  19477. }
  19478. },
  19479. "models.ErmcpFuturesCompany": {
  19480. "type": "object",
  19481. "properties": {
  19482. "brokerid": {
  19483. "description": "经纪公司代码",
  19484. "type": "string"
  19485. },
  19486. "channeladdress": {
  19487. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  19488. "type": "string"
  19489. },
  19490. "channelid": {
  19491. "description": "对冲渠道ID",
  19492. "type": "string"
  19493. },
  19494. "createtime": {
  19495. "description": "创建时间",
  19496. "type": "string"
  19497. },
  19498. "creatorid": {
  19499. "description": "创建人",
  19500. "type": "string"
  19501. },
  19502. "fcid": {
  19503. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  19504. "type": "integer"
  19505. },
  19506. "fcname": {
  19507. "description": "期货公司名称",
  19508. "type": "string"
  19509. },
  19510. "isvalid": {
  19511. "description": "是否有效 - 0:无效 1:有效",
  19512. "type": "integer"
  19513. },
  19514. "mhpaddress": {
  19515. "description": "MHP服务地址(IP:Port)",
  19516. "type": "string"
  19517. },
  19518. "riskrulegroupid": {
  19519. "description": "风控规则组ID",
  19520. "type": "string"
  19521. },
  19522. "tradefeetmpid": {
  19523. "description": "手续费模板ID[TradeConfigTmpType为2]",
  19524. "type": "string"
  19525. },
  19526. "trademargintmpid": {
  19527. "description": "保证金模板ID [TradeConfigTmpType为1]",
  19528. "type": "string"
  19529. },
  19530. "traderatetmpid": {
  19531. "description": "汇率模板ID[TradeConfigTmpType为3]",
  19532. "type": "string"
  19533. },
  19534. "updatetime": {
  19535. "description": "更新时间",
  19536. "type": "string"
  19537. },
  19538. "updatorid": {
  19539. "description": "更新人",
  19540. "type": "string"
  19541. }
  19542. }
  19543. },
  19544. "models.ErmcpGGConvertCfg": {
  19545. "type": "object",
  19546. "properties": {
  19547. "convertratio": {
  19548. "description": "折算系数",
  19549. "type": "number"
  19550. },
  19551. "destgoodsgroupid": {
  19552. "description": "目标品种ID",
  19553. "type": "integer"
  19554. },
  19555. "dstcode": {
  19556. "description": "目录品种代码",
  19557. "type": "string"
  19558. },
  19559. "dstexchangecode": {
  19560. "description": "目标期货交易所",
  19561. "type": "string"
  19562. },
  19563. "dstname": {
  19564. "description": "目标品种名称",
  19565. "type": "string"
  19566. },
  19567. "dstunitid": {
  19568. "description": "目标品种单位ID",
  19569. "type": "integer"
  19570. },
  19571. "dstunitidname": {
  19572. "description": "目标品种单位名称",
  19573. "type": "string"
  19574. },
  19575. "modifytime": {
  19576. "description": "修改时间",
  19577. "type": "string"
  19578. },
  19579. "srccode": {
  19580. "description": "源品种代码",
  19581. "type": "string"
  19582. },
  19583. "srcexchangecode": {
  19584. "description": "源期货交易所",
  19585. "type": "string"
  19586. },
  19587. "srcgoodsgroupid": {
  19588. "description": "源品种ID",
  19589. "type": "integer"
  19590. },
  19591. "srcname": {
  19592. "description": "源品种名称",
  19593. "type": "string"
  19594. },
  19595. "srcunitid": {
  19596. "description": "源品种单位ID",
  19597. "type": "integer"
  19598. },
  19599. "srcunitidname": {
  19600. "description": "源品种单位名称",
  19601. "type": "string"
  19602. }
  19603. }
  19604. },
  19605. "models.ErmcpGoods": {
  19606. "type": "object",
  19607. "required": [
  19608. "goodscode",
  19609. "goodsid",
  19610. "goodsname",
  19611. "marketid"
  19612. ],
  19613. "properties": {
  19614. "agreeunit": {
  19615. "description": "合约单位",
  19616. "type": "number"
  19617. },
  19618. "areauserid": {
  19619. "description": "所属机构",
  19620. "type": "integer"
  19621. },
  19622. "auditaccountid": {
  19623. "description": "审核操作员账号",
  19624. "type": "integer"
  19625. },
  19626. "audittime": {
  19627. "description": "审核时间",
  19628. "type": "string"
  19629. },
  19630. "cancelaccountid": {
  19631. "description": "注销操作员账号",
  19632. "type": "integer"
  19633. },
  19634. "canceltime": {
  19635. "description": "注销时间",
  19636. "type": "string"
  19637. },
  19638. "closepricemode": {
  19639. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19640. "type": "integer"
  19641. },
  19642. "closepriceparam": {
  19643. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19644. "type": "number"
  19645. },
  19646. "createtime": {
  19647. "description": "创建时间",
  19648. "type": "string"
  19649. },
  19650. "creatorid": {
  19651. "description": "创建人",
  19652. "type": "integer"
  19653. },
  19654. "currencyid": {
  19655. "description": "报价货币ID",
  19656. "type": "integer"
  19657. },
  19658. "cutmode": {
  19659. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19660. "type": "integer"
  19661. },
  19662. "decimalplace": {
  19663. "description": "报价小数位",
  19664. "type": "integer"
  19665. },
  19666. "delistingdate": {
  19667. "description": "商品退市时间(状态:退市) -- 已作废",
  19668. "type": "string"
  19669. },
  19670. "delistingmode": {
  19671. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19672. "type": "integer"
  19673. },
  19674. "deliveryflag": {
  19675. "description": "交割标志 - 0:不可交割 1:可交割",
  19676. "type": "integer"
  19677. },
  19678. "enumdicname": {
  19679. "description": "单位名称",
  19680. "type": "string"
  19681. },
  19682. "forceclosemode": {
  19683. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19684. "type": "integer"
  19685. },
  19686. "forceclosevalue": {
  19687. "description": "定期强平参数 [收益权]",
  19688. "type": "integer"
  19689. },
  19690. "goodscode": {
  19691. "description": "商品代码(内部)",
  19692. "type": "string"
  19693. },
  19694. "goodscurrencyid": {
  19695. "description": "合约货币ID",
  19696. "type": "integer"
  19697. },
  19698. "goodsgroupid": {
  19699. "description": "所属商品组ID",
  19700. "type": "integer"
  19701. },
  19702. "goodsid": {
  19703. "description": "商品ID(自增ID SEQ_GOODS)",
  19704. "type": "integer"
  19705. },
  19706. "goodsname": {
  19707. "description": "商品名称",
  19708. "type": "string"
  19709. },
  19710. "goodsquotetype": {
  19711. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19712. "type": "integer"
  19713. },
  19714. "goodsstatus": {
  19715. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19716. "type": "integer"
  19717. },
  19718. "goodstradetype": {
  19719. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19720. "type": "integer"
  19721. },
  19722. "goodunitid": {
  19723. "description": "报价单位ID",
  19724. "type": "integer"
  19725. },
  19726. "hasquoter": {
  19727. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19728. "type": "integer"
  19729. },
  19730. "hqprotecttime": {
  19731. "description": "行情保护时间(秒)",
  19732. "type": "integer"
  19733. },
  19734. "innerdealmode": {
  19735. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19736. "type": "integer"
  19737. },
  19738. "isbuylimited": {
  19739. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19740. "type": "integer"
  19741. },
  19742. "isvisible": {
  19743. "description": "游客是否可见 - 0:不可见 1:可见",
  19744. "type": "integer"
  19745. },
  19746. "lasttradedate": {
  19747. "description": "最后交易日期(状态:待退市)",
  19748. "type": "string"
  19749. },
  19750. "listingdate": {
  19751. "description": "交易开始日期",
  19752. "type": "string"
  19753. },
  19754. "marketid": {
  19755. "description": "所属市场ID",
  19756. "type": "integer"
  19757. },
  19758. "modifierid": {
  19759. "description": "修改人",
  19760. "type": "integer"
  19761. },
  19762. "modifystatus": {
  19763. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19764. "type": "integer"
  19765. },
  19766. "modifytime": {
  19767. "description": "修改时间",
  19768. "type": "string"
  19769. },
  19770. "outerdealmode": {
  19771. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19772. "type": "integer"
  19773. },
  19774. "outgoodscode": {
  19775. "description": "商品代码(外部)",
  19776. "type": "string"
  19777. },
  19778. "pictureurl": {
  19779. "description": "商品图片",
  19780. "type": "string"
  19781. },
  19782. "qtydecimalplace": {
  19783. "description": "成交量小数位",
  19784. "type": "integer"
  19785. },
  19786. "quotegear": {
  19787. "description": "行情档位(1-10)",
  19788. "type": "integer"
  19789. },
  19790. "quoteminunit": {
  19791. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19792. "type": "integer"
  19793. },
  19794. "quoteshowtype": {
  19795. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19796. "type": "integer"
  19797. },
  19798. "quoteshowtypeinterval": {
  19799. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19800. "type": "integer"
  19801. },
  19802. "relatedgoodsid": {
  19803. "description": "关联参考商品ID",
  19804. "type": "integer"
  19805. },
  19806. "remark": {
  19807. "description": "备注",
  19808. "type": "string"
  19809. },
  19810. "trademode": {
  19811. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19812. "type": "integer"
  19813. }
  19814. }
  19815. },
  19816. "models.ErmcpGoodsBrand": {
  19817. "type": "object",
  19818. "properties": {
  19819. "areauserid": {
  19820. "description": "所属机构",
  19821. "type": "integer"
  19822. },
  19823. "brandid": {
  19824. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  19825. "type": "integer"
  19826. },
  19827. "brandname": {
  19828. "description": "品牌名称",
  19829. "type": "string"
  19830. },
  19831. "createtime": {
  19832. "description": "创建时间",
  19833. "type": "string"
  19834. },
  19835. "creatorid": {
  19836. "description": "创建人",
  19837. "type": "integer"
  19838. },
  19839. "creatorsrc": {
  19840. "description": "创建人来源 - 1:管理端 2:终端",
  19841. "type": "integer"
  19842. },
  19843. "deliverygoodsid": {
  19844. "description": "现货品种ID",
  19845. "type": "integer"
  19846. },
  19847. "isvalid": {
  19848. "description": "是否有效 - 0:无效 1:有效",
  19849. "type": "integer"
  19850. },
  19851. "updatetime": {
  19852. "description": "更新时间",
  19853. "type": "string"
  19854. },
  19855. "updatorid": {
  19856. "description": "更新人",
  19857. "type": "integer"
  19858. },
  19859. "updatorsrc": {
  19860. "description": "更新人来源 - 1:管理端 2:终端",
  19861. "type": "integer"
  19862. },
  19863. "wrstandardid": {
  19864. "description": "现货商品ID",
  19865. "type": "integer"
  19866. }
  19867. }
  19868. },
  19869. "models.ErmcpGoodsModel": {
  19870. "type": "object",
  19871. "properties": {
  19872. "areauserid": {
  19873. "description": "所属机构",
  19874. "type": "integer"
  19875. },
  19876. "convertfactor": {
  19877. "description": "标仓系数",
  19878. "type": "number"
  19879. },
  19880. "createtime": {
  19881. "description": "创建时间",
  19882. "type": "string"
  19883. },
  19884. "creatorid": {
  19885. "description": "创建人",
  19886. "type": "integer"
  19887. },
  19888. "creatorsrc": {
  19889. "description": "创建人来源 - 1:管理端 2:终端",
  19890. "type": "integer"
  19891. },
  19892. "deliverygoodsid": {
  19893. "description": "现货品种ID",
  19894. "type": "integer"
  19895. },
  19896. "isvalid": {
  19897. "description": "是否有效 - 0:无效 1:有效",
  19898. "type": "integer"
  19899. },
  19900. "modelid": {
  19901. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  19902. "type": "integer"
  19903. },
  19904. "modelname": {
  19905. "description": "型号名称",
  19906. "type": "string"
  19907. },
  19908. "updatetime": {
  19909. "description": "更新时间",
  19910. "type": "string"
  19911. },
  19912. "updatorid": {
  19913. "description": "更新人",
  19914. "type": "integer"
  19915. },
  19916. "updatorsrc": {
  19917. "description": "更新人来源 - 1:管理端 2:终端",
  19918. "type": "integer"
  19919. },
  19920. "wrstandardid": {
  19921. "description": "现货商品ID",
  19922. "type": "integer"
  19923. }
  19924. }
  19925. },
  19926. "models.ErmcpHedgePosition": {
  19927. "type": "object",
  19928. "properties": {
  19929. "accountid": {
  19930. "description": "资金账号[外部母账户]",
  19931. "type": "integer"
  19932. },
  19933. "curbuyposition": {
  19934. "description": "期末买头寸",
  19935. "type": "integer"
  19936. },
  19937. "cursellposition": {
  19938. "description": "期末卖头寸",
  19939. "type": "integer"
  19940. },
  19941. "curtdbuyposition": {
  19942. "description": "期末今日买头寸",
  19943. "type": "integer"
  19944. },
  19945. "curtdsellposition": {
  19946. "description": "期末今日卖头寸",
  19947. "type": "integer"
  19948. },
  19949. "curydbuyposition": {
  19950. "description": "期末上日买头寸",
  19951. "type": "integer"
  19952. },
  19953. "curydsellposition": {
  19954. "description": "期末上日卖头寸",
  19955. "type": "integer"
  19956. },
  19957. "decreaseqty": {
  19958. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  19959. "type": "integer"
  19960. },
  19961. "fretdbuyposition": {
  19962. "description": "冻结今日买头寸",
  19963. "type": "integer"
  19964. },
  19965. "fretdsellposition": {
  19966. "description": "冻结今日卖头寸",
  19967. "type": "integer"
  19968. },
  19969. "freydbuyposition": {
  19970. "description": "冻结上日买头寸",
  19971. "type": "integer"
  19972. },
  19973. "freydsellposition": {
  19974. "description": "冻结上日卖头寸",
  19975. "type": "integer"
  19976. },
  19977. "goodscode": {
  19978. "description": "商品代码",
  19979. "type": "string"
  19980. },
  19981. "goodsid": {
  19982. "description": "商品id",
  19983. "type": "integer"
  19984. },
  19985. "goodsname": {
  19986. "description": "商品名称",
  19987. "type": "string"
  19988. },
  19989. "hedgeaccountcode": {
  19990. "description": "对冲账号",
  19991. "type": "string"
  19992. },
  19993. "hedgegoodsid": {
  19994. "description": "对冲合约ID",
  19995. "type": "integer"
  19996. },
  19997. "increaseqty": {
  19998. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  19999. "type": "integer"
  20000. },
  20001. "marketid": {
  20002. "description": "市场ID",
  20003. "type": "integer"
  20004. },
  20005. "relateduserid": {
  20006. "description": "关联用户id",
  20007. "type": "integer"
  20008. },
  20009. "totalcurqty": {
  20010. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  20011. "type": "integer"
  20012. },
  20013. "totalydqty": {
  20014. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  20015. "type": "integer"
  20016. },
  20017. "tradedate": {
  20018. "description": "交易日(yyyyMMdd)",
  20019. "type": "string"
  20020. },
  20021. "ydbuyposition": {
  20022. "description": "期初买头寸",
  20023. "type": "integer"
  20024. },
  20025. "ydsellposition": {
  20026. "description": "期初卖头寸",
  20027. "type": "integer"
  20028. }
  20029. }
  20030. },
  20031. "models.ErmcpHedgePositionDetail": {
  20032. "type": "object",
  20033. "properties": {
  20034. "buyorsell": {
  20035. "description": "买卖方向 0-买 1-卖",
  20036. "type": "integer"
  20037. },
  20038. "channelbuildtype": {
  20039. "description": "开平方向 1-建仓 2-平仓",
  20040. "type": "integer"
  20041. },
  20042. "goodscode": {
  20043. "description": "商品代码",
  20044. "type": "string"
  20045. },
  20046. "goodsname": {
  20047. "description": "商品名称",
  20048. "type": "string"
  20049. },
  20050. "hedgegoodsid": {
  20051. "description": "商品id",
  20052. "type": "integer"
  20053. },
  20054. "tradeqty": {
  20055. "description": "数量(成交数量)",
  20056. "type": "integer"
  20057. },
  20058. "tradetime": {
  20059. "description": "时间(成交时间)",
  20060. "type": "string"
  20061. }
  20062. }
  20063. },
  20064. "models.ErmcpHisExposure": {
  20065. "type": "object",
  20066. "properties": {
  20067. "needhedgeexposoure": {
  20068. "description": "应套保敞口",
  20069. "type": "number"
  20070. },
  20071. "reckondate": {
  20072. "description": "日照时期(yyyyMMdd)",
  20073. "type": "string"
  20074. },
  20075. "totalexposure": {
  20076. "description": "总敞口",
  20077. "type": "number"
  20078. }
  20079. }
  20080. },
  20081. "models.ErmcpHisExposureS": {
  20082. "type": "object",
  20083. "properties": {
  20084. "data": {
  20085. "description": "历史敞口",
  20086. "type": "array",
  20087. "items": {
  20088. "$ref": "#/definitions/models.ErmcpHisExposure"
  20089. }
  20090. },
  20091. "enumdicname": {
  20092. "description": "单位名称",
  20093. "type": "string"
  20094. },
  20095. "middlegoodscode": {
  20096. "description": "套保品种代码",
  20097. "type": "string"
  20098. },
  20099. "middlegoodsid": {
  20100. "description": "套保品种ID",
  20101. "type": "integer"
  20102. },
  20103. "middlegoodsname": {
  20104. "description": "套保品种名称",
  20105. "type": "string"
  20106. }
  20107. }
  20108. },
  20109. "models.ErmcpLoginTaAccount": {
  20110. "type": "object",
  20111. "properties": {
  20112. "accountid": {
  20113. "description": "账号id",
  20114. "type": "integer"
  20115. },
  20116. "accountname": {
  20117. "description": "账号名称",
  20118. "type": "string"
  20119. }
  20120. }
  20121. },
  20122. "models.ErmcpLoginUser": {
  20123. "type": "object",
  20124. "properties": {
  20125. "acclist": {
  20126. "description": "关联资金账号",
  20127. "type": "array",
  20128. "items": {
  20129. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  20130. }
  20131. },
  20132. "accountname": {
  20133. "description": "用户名称",
  20134. "type": "string"
  20135. },
  20136. "clientroleid": {
  20137. "description": "角色id(usertype=2)",
  20138. "type": "integer"
  20139. },
  20140. "createtime": {
  20141. "description": "创建时间",
  20142. "type": "string"
  20143. },
  20144. "logincode": {
  20145. "description": "登录代码",
  20146. "type": "string"
  20147. },
  20148. "loginid": {
  20149. "description": "登录id(LOGINID)",
  20150. "type": "integer"
  20151. },
  20152. "loginname": {
  20153. "description": "登录名称(loginaccount表中的accountname字段)",
  20154. "type": "string"
  20155. },
  20156. "loginstatus": {
  20157. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  20158. "type": "integer"
  20159. },
  20160. "memberuserid": {
  20161. "description": "所属会员id",
  20162. "type": "integer"
  20163. },
  20164. "mobile": {
  20165. "description": "手机号",
  20166. "type": "string"
  20167. },
  20168. "modifytime": {
  20169. "description": "修改时间",
  20170. "type": "string"
  20171. },
  20172. "password": {
  20173. "description": "密码(不可解密)",
  20174. "type": "string"
  20175. },
  20176. "rolename": {
  20177. "description": "角色名称",
  20178. "type": "string"
  20179. },
  20180. "rolestatus": {
  20181. "description": "角色状态 1-启用 2-停用",
  20182. "type": "integer"
  20183. },
  20184. "roletype": {
  20185. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  20186. "type": "string"
  20187. },
  20188. "userid": {
  20189. "description": "用户id",
  20190. "type": "integer"
  20191. },
  20192. "usertype": {
  20193. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  20194. "type": "integer"
  20195. }
  20196. }
  20197. },
  20198. "models.ErmcpLoginUserEx": {
  20199. "type": "object",
  20200. "properties": {
  20201. "accountstatus": {
  20202. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  20203. "type": "integer"
  20204. },
  20205. "mobile": {
  20206. "description": "手机号",
  20207. "type": "string"
  20208. },
  20209. "querytype": {
  20210. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  20211. "type": "integer"
  20212. },
  20213. "roleid": {
  20214. "description": "角色id(交易账户-\u003e用户id)",
  20215. "type": "integer"
  20216. },
  20217. "rolename": {
  20218. "description": "角色名称(交易账户-\u003e用户名称)",
  20219. "type": "string"
  20220. },
  20221. "userlist": {
  20222. "description": "用户列表",
  20223. "type": "array",
  20224. "items": {
  20225. "$ref": "#/definitions/models.ErmcpLoginUser"
  20226. }
  20227. },
  20228. "usertype": {
  20229. "description": "用户类型 2-机构 7-企业成员(云平台)",
  20230. "type": "integer"
  20231. }
  20232. }
  20233. },
  20234. "models.ErmcpMiddleGoodsChangeLog": {
  20235. "type": "object",
  20236. "properties": {
  20237. "aftervalue": {
  20238. "description": "变更后",
  20239. "type": "number"
  20240. },
  20241. "applyid": {
  20242. "description": "操作人",
  20243. "type": "integer"
  20244. },
  20245. "applyname": {
  20246. "description": "操作人名称",
  20247. "type": "string"
  20248. },
  20249. "applysrc": {
  20250. "description": "操作来源 - 1:管理端 2:终端",
  20251. "type": "integer"
  20252. },
  20253. "beforevalue": {
  20254. "description": "变更前",
  20255. "type": "number"
  20256. },
  20257. "changelogtype": {
  20258. "description": "变更流水类型 - 1:套保比率变更",
  20259. "type": "integer"
  20260. },
  20261. "handlestatus": {
  20262. "description": "处理状态",
  20263. "type": "integer"
  20264. },
  20265. "logdatetime": {
  20266. "description": "流水日期",
  20267. "type": "string"
  20268. },
  20269. "logid": {
  20270. "description": "流水ID",
  20271. "type": "integer"
  20272. },
  20273. "logremark": {
  20274. "description": "流水备注",
  20275. "type": "string"
  20276. },
  20277. "middlegoodsid": {
  20278. "description": "套保品种ID",
  20279. "type": "integer"
  20280. },
  20281. "tradedate": {
  20282. "description": "交易日(yyyyMMdd)",
  20283. "type": "string"
  20284. },
  20285. "updatetime": {
  20286. "description": "更新时间",
  20287. "type": "string"
  20288. }
  20289. }
  20290. },
  20291. "models.ErmcpMiddleGoodsDetail": {
  20292. "type": "object",
  20293. "properties": {
  20294. "cvList": {
  20295. "description": "期货品种折算列表",
  20296. "type": "array",
  20297. "items": {
  20298. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  20299. }
  20300. },
  20301. "mg": {
  20302. "description": "套保品种基本信息",
  20303. "type": "object",
  20304. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  20305. },
  20306. "wrcList": {
  20307. "description": "现货品种列表(现货商品折算配置)",
  20308. "type": "array",
  20309. "items": {
  20310. "$ref": "#/definitions/models.WRSConverTDetail"
  20311. }
  20312. }
  20313. }
  20314. },
  20315. "models.ErmcpMiddleGoodsModel": {
  20316. "type": "object",
  20317. "properties": {
  20318. "areauserid": {
  20319. "description": "机构用户ID",
  20320. "type": "integer"
  20321. },
  20322. "createtime": {
  20323. "description": "修改时间",
  20324. "type": "string"
  20325. },
  20326. "enumdicname": {
  20327. "description": "单位名称",
  20328. "type": "string"
  20329. },
  20330. "evaluateratio": {
  20331. "description": "估价系数",
  20332. "type": "number"
  20333. },
  20334. "goodsgroupid": {
  20335. "description": "关联期货品种ID",
  20336. "type": "integer"
  20337. },
  20338. "goodsunitid": {
  20339. "description": "单位ID",
  20340. "type": "integer"
  20341. },
  20342. "isvalid": {
  20343. "description": "状态 0-无效(停用) 1-有效(正常)",
  20344. "type": "integer"
  20345. },
  20346. "middlegoodscode": {
  20347. "description": "套保品种代码",
  20348. "type": "string"
  20349. },
  20350. "middlegoodsid": {
  20351. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20352. "type": "integer"
  20353. },
  20354. "middlegoodsname": {
  20355. "description": "套保品种名称",
  20356. "type": "string"
  20357. },
  20358. "modifytime": {
  20359. "description": "修改时间",
  20360. "type": "string"
  20361. },
  20362. "needarbitrageratio": {
  20363. "description": "套利比例",
  20364. "type": "number"
  20365. },
  20366. "needhedgeratio": {
  20367. "description": "套保比率",
  20368. "type": "number"
  20369. },
  20370. "qtydecimalplace": {
  20371. "description": "数量小数位",
  20372. "type": "integer"
  20373. },
  20374. "relatedgoodsid": {
  20375. "description": "关联交易商品ID",
  20376. "type": "integer"
  20377. },
  20378. "relatedgoodstype": {
  20379. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  20380. "type": "integer"
  20381. },
  20382. "remark": {
  20383. "description": "备注",
  20384. "type": "string"
  20385. }
  20386. }
  20387. },
  20388. "models.ErmcpMiddlegoodsRelateGoods": {
  20389. "type": "object",
  20390. "properties": {
  20391. "agreeunit": {
  20392. "description": "合约乘数",
  20393. "type": "number"
  20394. },
  20395. "convertratio": {
  20396. "description": "折算系数",
  20397. "type": "number"
  20398. },
  20399. "enumdicname": {
  20400. "description": "单位名称(交易商品)",
  20401. "type": "string"
  20402. },
  20403. "goodscode": {
  20404. "description": "交易商品代码",
  20405. "type": "string"
  20406. },
  20407. "goodsgroupid": {
  20408. "description": "交易品种id",
  20409. "type": "integer"
  20410. },
  20411. "goodsid": {
  20412. "description": "商品Id",
  20413. "type": "integer"
  20414. },
  20415. "goodsname": {
  20416. "description": "交易商品名称",
  20417. "type": "string"
  20418. },
  20419. "goodunitid": {
  20420. "description": "交易商品单位id",
  20421. "type": "integer"
  20422. },
  20423. "middlegoodsid": {
  20424. "description": "套保商品id",
  20425. "type": "integer"
  20426. },
  20427. "middlegoodsname": {
  20428. "description": "套保商品名称",
  20429. "type": "string"
  20430. },
  20431. "middlegoodsswcode": {
  20432. "description": "套保商品代码",
  20433. "type": "string"
  20434. },
  20435. "needarbitrageratio": {
  20436. "description": "应套利比例",
  20437. "type": "number"
  20438. },
  20439. "needhedgeratio": {
  20440. "description": "应套保比例",
  20441. "type": "number"
  20442. }
  20443. }
  20444. },
  20445. "models.ErmcpOPLogModel": {
  20446. "type": "object",
  20447. "properties": {
  20448. "aftervalue": {
  20449. "description": "变更后",
  20450. "type": "number"
  20451. },
  20452. "applyid": {
  20453. "description": "操作人ID",
  20454. "type": "string"
  20455. },
  20456. "applyname": {
  20457. "description": "操作人名称",
  20458. "type": "string"
  20459. },
  20460. "beforevalue": {
  20461. "description": "变更前",
  20462. "type": "number"
  20463. },
  20464. "biztype": {
  20465. "description": "业务类型 - 1:套保计划 2:现货合同",
  20466. "type": "integer"
  20467. },
  20468. "contracttype": {
  20469. "description": "现货合同类型 - 1:采购 -1:销售",
  20470. "type": "integer"
  20471. },
  20472. "logvalue": {
  20473. "description": "数值",
  20474. "type": "number"
  20475. },
  20476. "operatelogtype": {
  20477. "description": "操作流水类型",
  20478. "type": "integer"
  20479. },
  20480. "operatelogtypedesc": {
  20481. "description": "操作流水类型名称",
  20482. "type": "string"
  20483. },
  20484. "relatedid": {
  20485. "description": "现货合同ID\\套保计划",
  20486. "type": "string"
  20487. },
  20488. "updatetime": {
  20489. "description": "更新时间",
  20490. "type": "string"
  20491. }
  20492. }
  20493. },
  20494. "models.ErmcpPendingAudit": {
  20495. "type": "object",
  20496. "properties": {
  20497. "areastockqty": {
  20498. "description": "待审核数量: 库存申请",
  20499. "type": "integer"
  20500. },
  20501. "businessdjqty": {
  20502. "description": "待审核数量: 点价",
  20503. "type": "integer"
  20504. },
  20505. "businessfpqty": {
  20506. "description": "待审核数量: 发票",
  20507. "type": "integer"
  20508. },
  20509. "businessjsqty": {
  20510. "description": "待审核数量: 结算",
  20511. "type": "integer"
  20512. },
  20513. "businesskxqty": {
  20514. "description": "待审核数量: 款项",
  20515. "type": "integer"
  20516. },
  20517. "hedgeplanqty": {
  20518. "description": "待审核数量: 套保计划",
  20519. "type": "integer"
  20520. },
  20521. "spotcontractqty": {
  20522. "description": "待审核数量: 现货合同",
  20523. "type": "integer"
  20524. },
  20525. "userqty": {
  20526. "description": "待审核数量: 用户",
  20527. "type": "integer"
  20528. }
  20529. }
  20530. },
  20531. "models.ErmcpRealExposureModel": {
  20532. "type": "object",
  20533. "properties": {
  20534. "AreaUserID": {
  20535. "description": "所属机构",
  20536. "type": "integer"
  20537. },
  20538. "BuyFutureQty": {
  20539. "description": "买入期货数量",
  20540. "type": "number"
  20541. },
  20542. "BuyPlanQty": {
  20543. "description": "采购计划数量",
  20544. "type": "number"
  20545. },
  20546. "BuyPricedQty": {
  20547. "description": "采购合同已定价数量",
  20548. "type": "number"
  20549. },
  20550. "MiddleGoodsCode": {
  20551. "description": "套保品种代码",
  20552. "type": "string"
  20553. },
  20554. "MiddleGoodsHedgeRatio": {
  20555. "description": "套保比例",
  20556. "type": "number"
  20557. },
  20558. "MiddleGoodsID": {
  20559. "description": "套保品种",
  20560. "type": "integer"
  20561. },
  20562. "MiddleGoodsName": {
  20563. "description": "套保品种名称",
  20564. "type": "string"
  20565. },
  20566. "NeedHedgeExposoure": {
  20567. "description": "应套保敞口(套保敞口)",
  20568. "type": "number"
  20569. },
  20570. "NeedHedgeRatio": {
  20571. "description": "应套保敞口比例",
  20572. "type": "number"
  20573. },
  20574. "OriBuyFutureQty": {
  20575. "description": "期初买入期货数量",
  20576. "type": "number"
  20577. },
  20578. "OriBuyPlanQty": {
  20579. "description": "期初采购计划数量",
  20580. "type": "number"
  20581. },
  20582. "OriBuyPricedQty": {
  20583. "description": "期初采购合同已定价数量",
  20584. "type": "number"
  20585. },
  20586. "OriSellFutureQty": {
  20587. "description": "期初卖出期货数量",
  20588. "type": "number"
  20589. },
  20590. "OriSellPlanQty": {
  20591. "description": "期初销售计划数量",
  20592. "type": "number"
  20593. },
  20594. "OriSellPricedQty": {
  20595. "description": "期初销售合同已定价数量",
  20596. "type": "number"
  20597. },
  20598. "SellFutureQty": {
  20599. "description": "卖出期货数量",
  20600. "type": "number"
  20601. },
  20602. "SellPlanQty": {
  20603. "description": "销售计划数量",
  20604. "type": "number"
  20605. },
  20606. "SellPricedQty": {
  20607. "description": "销售合同已定价数量",
  20608. "type": "number"
  20609. },
  20610. "TotalExposure": {
  20611. "description": "总敞口",
  20612. "type": "number"
  20613. },
  20614. "TotalFutureQty": {
  20615. "description": "期货总量",
  20616. "type": "number"
  20617. },
  20618. "TotalHedgeRatio": {
  20619. "description": "敞口比例",
  20620. "type": "number"
  20621. },
  20622. "TotalNeedHedgeQty": {
  20623. "description": "应套保总量(现货应套保总量)",
  20624. "type": "number"
  20625. },
  20626. "TotalSpotQty": {
  20627. "description": "现货总量",
  20628. "type": "number"
  20629. },
  20630. "arbitrageqty": {
  20631. "description": "套利量",
  20632. "type": "number"
  20633. },
  20634. "diffArbitrageQty": {
  20635. "description": "套利变动量",
  20636. "type": "number"
  20637. },
  20638. "diffExposoureQty": {
  20639. "description": "变动量(套保敞口)",
  20640. "type": "number"
  20641. },
  20642. "diffFutuQty": {
  20643. "description": "变动量(期货总量)",
  20644. "type": "number"
  20645. },
  20646. "diffHedgeQty": {
  20647. "description": "套保变动量",
  20648. "type": "number"
  20649. },
  20650. "diffQty": {
  20651. "description": "变动量(总敞口)",
  20652. "type": "number"
  20653. },
  20654. "diffSpotHedgeQty": {
  20655. "description": "变动量(现货应套保总量)",
  20656. "type": "number"
  20657. },
  20658. "diffSpotQty": {
  20659. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  20660. "type": "number"
  20661. },
  20662. "enumdicname": {
  20663. "description": "单位名称",
  20664. "type": "string"
  20665. },
  20666. "hedgeqty": {
  20667. "description": "套保量",
  20668. "type": "number"
  20669. },
  20670. "needarbitrageqty": {
  20671. "description": "应套利量",
  20672. "type": "number"
  20673. },
  20674. "needarbitrageratio": {
  20675. "description": "套利比例",
  20676. "type": "number"
  20677. },
  20678. "needhedgeqty": {
  20679. "description": "应套保量",
  20680. "type": "number"
  20681. },
  20682. "oriTotalFutuQty": {
  20683. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  20684. "type": "number"
  20685. },
  20686. "oriTotalSpotQty": {
  20687. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  20688. "type": "number"
  20689. },
  20690. "oriarbitrageqty": {
  20691. "description": "期初套利量",
  20692. "type": "number"
  20693. },
  20694. "orihedgeqty": {
  20695. "description": "期初套保量",
  20696. "type": "number"
  20697. },
  20698. "orineedhedgeexposoure": {
  20699. "description": "期初套保敞口",
  20700. "type": "number"
  20701. },
  20702. "oritotalexposure": {
  20703. "description": "期初总敞口",
  20704. "type": "number"
  20705. },
  20706. "oritotalfutureqty": {
  20707. "description": "期初期货总量",
  20708. "type": "number"
  20709. },
  20710. "oritotalneedhedgeqty": {
  20711. "description": "期初现货应套保量",
  20712. "type": "number"
  20713. }
  20714. }
  20715. },
  20716. "models.ErmcpRole": {
  20717. "type": "object",
  20718. "properties": {
  20719. "areauserid": {
  20720. "description": "所属机构",
  20721. "type": "integer"
  20722. },
  20723. "autoid": {
  20724. "description": "角色ID(自增ID)",
  20725. "type": "integer"
  20726. },
  20727. "modifierid": {
  20728. "description": "修改人(创建人)",
  20729. "type": "integer"
  20730. },
  20731. "modifiername": {
  20732. "description": "修改人名称",
  20733. "type": "string"
  20734. },
  20735. "modifytime": {
  20736. "description": "修改时间(创建时间)",
  20737. "type": "string"
  20738. },
  20739. "rolename": {
  20740. "description": "角色名称",
  20741. "type": "string"
  20742. },
  20743. "rolestatus": {
  20744. "description": "角色状态 - 1:启用 2:停用",
  20745. "type": "integer"
  20746. },
  20747. "roletype": {
  20748. "description": "角色类型 - 1- 管理端 2- 交易端",
  20749. "type": "integer"
  20750. }
  20751. }
  20752. },
  20753. "models.ErmcpRoleMenu": {
  20754. "type": "object",
  20755. "properties": {
  20756. "iconame": {
  20757. "description": "菜单图标",
  20758. "type": "string"
  20759. },
  20760. "ishadrole": {
  20761. "description": "是否有权限",
  20762. "type": "boolean"
  20763. },
  20764. "menutype": {
  20765. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  20766. "type": "integer"
  20767. },
  20768. "parentcode": {
  20769. "description": "上级资源代码",
  20770. "type": "string"
  20771. },
  20772. "remark": {
  20773. "description": "菜单备注",
  20774. "type": "string"
  20775. },
  20776. "resourcecode": {
  20777. "description": "菜单代码",
  20778. "type": "string"
  20779. },
  20780. "resourcelevel": {
  20781. "description": "级别",
  20782. "type": "integer"
  20783. },
  20784. "resourcename": {
  20785. "description": "菜单名称",
  20786. "type": "string"
  20787. },
  20788. "roleid": {
  20789. "description": "角色id",
  20790. "type": "integer"
  20791. },
  20792. "sort": {
  20793. "description": "排序",
  20794. "type": "integer"
  20795. },
  20796. "url": {
  20797. "description": "URL",
  20798. "type": "string"
  20799. },
  20800. "userid": {
  20801. "description": "用户id",
  20802. "type": "integer"
  20803. }
  20804. }
  20805. },
  20806. "models.ErmcpRoleMenuEx": {
  20807. "type": "object",
  20808. "properties": {
  20809. "menu": {
  20810. "description": "父级菜单",
  20811. "type": "object",
  20812. "$ref": "#/definitions/models.ErmcpRoleMenu"
  20813. },
  20814. "subMenu": {
  20815. "description": "子级菜单",
  20816. "type": "array",
  20817. "items": {
  20818. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  20819. }
  20820. }
  20821. }
  20822. },
  20823. "models.ErmcpTaAccount": {
  20824. "type": "object",
  20825. "properties": {
  20826. "accountid": {
  20827. "description": "账户id",
  20828. "type": "integer"
  20829. },
  20830. "accountname": {
  20831. "description": "账户名称",
  20832. "type": "string"
  20833. },
  20834. "currencyid": {
  20835. "description": "币种id",
  20836. "type": "integer"
  20837. },
  20838. "hedgeaccountcode": {
  20839. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20840. "type": "string"
  20841. },
  20842. "ismain": {
  20843. "description": "是否主账户 0-否 1-是",
  20844. "type": "integer"
  20845. },
  20846. "parentaccountid": {
  20847. "description": "父账户id",
  20848. "type": "integer"
  20849. },
  20850. "relateduserid": {
  20851. "description": "关联userid",
  20852. "type": "integer"
  20853. },
  20854. "tradefeetmpid": {
  20855. "description": "手续费模板id",
  20856. "type": "integer"
  20857. },
  20858. "tradefeetmpname": {
  20859. "description": "手续费模板名称",
  20860. "type": "string"
  20861. },
  20862. "trademargintmpid": {
  20863. "description": "保证金模板id",
  20864. "type": "integer"
  20865. },
  20866. "trademargintmpname": {
  20867. "description": "保证金模板名称",
  20868. "type": "string"
  20869. },
  20870. "traderatetmpid": {
  20871. "description": "汇率模板id",
  20872. "type": "integer"
  20873. },
  20874. "traderatetmpname": {
  20875. "description": "汇率模板名称",
  20876. "type": "string"
  20877. },
  20878. "tradestatus": {
  20879. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20880. "type": "integer"
  20881. },
  20882. "userid": {
  20883. "description": "用户id",
  20884. "type": "integer"
  20885. }
  20886. }
  20887. },
  20888. "models.ErmcpTaAccountEx": {
  20889. "type": "object",
  20890. "properties": {
  20891. "mainAcc": {
  20892. "description": "主账号",
  20893. "type": "object",
  20894. "$ref": "#/definitions/models.ErmcpTaAccountM"
  20895. },
  20896. "subacclist": {
  20897. "description": "子账号列表",
  20898. "type": "array",
  20899. "items": {
  20900. "$ref": "#/definitions/models.ErmcpTaAccount"
  20901. }
  20902. }
  20903. }
  20904. },
  20905. "models.ErmcpTaAccountInfo": {
  20906. "type": "object",
  20907. "properties": {
  20908. "accountid": {
  20909. "description": "资金账户ID",
  20910. "type": "integer"
  20911. },
  20912. "accountname": {
  20913. "description": "账户名称",
  20914. "type": "string"
  20915. },
  20916. "balance": {
  20917. "description": "期初余额",
  20918. "type": "number"
  20919. },
  20920. "capitalbalance": {
  20921. "description": "本金余额[外部子账户实际出入金余额]",
  20922. "type": "number"
  20923. },
  20924. "closepl": {
  20925. "description": "今日平仓盈亏",
  20926. "type": "number"
  20927. },
  20928. "creditdecrease": {
  20929. "description": "今日授信减少",
  20930. "type": "number"
  20931. },
  20932. "creditincrease": {
  20933. "description": "今日授信增加",
  20934. "type": "number"
  20935. },
  20936. "curdebt": {
  20937. "description": "期末欠款",
  20938. "type": "number"
  20939. },
  20940. "currencyid": {
  20941. "description": "货币ID",
  20942. "type": "integer"
  20943. },
  20944. "currentbalance": {
  20945. "description": "期末余额",
  20946. "type": "number"
  20947. },
  20948. "freezecharge": {
  20949. "description": "手续费冻结",
  20950. "type": "number"
  20951. },
  20952. "freezemargin": {
  20953. "description": "冻结保证金",
  20954. "type": "number"
  20955. },
  20956. "fromaccountid": {
  20957. "description": "所属上级账户",
  20958. "type": "integer"
  20959. },
  20960. "inamount": {
  20961. "description": "今日入金金额(包括三方入金)",
  20962. "type": "number"
  20963. },
  20964. "ismain": {
  20965. "description": "是否母账号 0:不是母账户 1:是母账户",
  20966. "type": "integer"
  20967. },
  20968. "mortgagecredit": {
  20969. "description": "授信金额",
  20970. "type": "number"
  20971. },
  20972. "oridebt": {
  20973. "description": "期初欠款",
  20974. "type": "number"
  20975. },
  20976. "orifreezecharge": {
  20977. "description": "期初手续费冻结",
  20978. "type": "number"
  20979. },
  20980. "orifreezemargin": {
  20981. "description": "期初冻结保证金",
  20982. "type": "number"
  20983. },
  20984. "orimortgagecredit": {
  20985. "description": "期初授信金额",
  20986. "type": "number"
  20987. },
  20988. "oriothercredit": {
  20989. "description": "期初其它授信金额",
  20990. "type": "number"
  20991. },
  20992. "oriotherfreezemargin": {
  20993. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20994. "type": "number"
  20995. },
  20996. "orioutamountfreeze": {
  20997. "description": "期初出金冻结",
  20998. "type": "number"
  20999. },
  21000. "oriusedmargin": {
  21001. "description": "期初占用保证金",
  21002. "type": "number"
  21003. },
  21004. "othercredit": {
  21005. "description": "其它授信金额",
  21006. "type": "number"
  21007. },
  21008. "othercreditdecrease": {
  21009. "description": "今日其它授信减少",
  21010. "type": "number"
  21011. },
  21012. "othercreditincrease": {
  21013. "description": "今日其它授信增加",
  21014. "type": "number"
  21015. },
  21016. "otherfreezemargin": {
  21017. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21018. "type": "number"
  21019. },
  21020. "outamount": {
  21021. "description": "今日出金金额(包括三方出金)",
  21022. "type": "number"
  21023. },
  21024. "outamountfreeze": {
  21025. "description": "出金冻结",
  21026. "type": "number"
  21027. },
  21028. "outthreshold": {
  21029. "description": "出金阈值",
  21030. "type": "number"
  21031. },
  21032. "parentaccountid": {
  21033. "description": "所属根账号",
  21034. "type": "integer"
  21035. },
  21036. "paycharge": {
  21037. "description": "今日手续费支出",
  21038. "type": "number"
  21039. },
  21040. "relateduserid": {
  21041. "description": "关联用户",
  21042. "type": "integer"
  21043. },
  21044. "signstatus": {
  21045. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21046. "type": "integer"
  21047. },
  21048. "sublevelpath": {
  21049. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21050. "type": "string"
  21051. },
  21052. "taaccounttype": {
  21053. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21054. "type": "integer"
  21055. },
  21056. "thirdinamount": {
  21057. "description": "今日三方入金",
  21058. "type": "number"
  21059. },
  21060. "thirdoutamount": {
  21061. "description": "今日三方出金",
  21062. "type": "number"
  21063. },
  21064. "tradestatus": {
  21065. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21066. "type": "integer"
  21067. },
  21068. "transferamount": {
  21069. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21070. "type": "number"
  21071. },
  21072. "usedmargin": {
  21073. "description": "占用保证金",
  21074. "type": "number"
  21075. },
  21076. "userid": {
  21077. "description": "用户ID",
  21078. "type": "integer"
  21079. }
  21080. }
  21081. },
  21082. "models.ErmcpTaAccountM": {
  21083. "type": "object",
  21084. "properties": {
  21085. "accountid": {
  21086. "description": "账户id",
  21087. "type": "integer"
  21088. },
  21089. "accountname": {
  21090. "description": "账户名称",
  21091. "type": "string"
  21092. },
  21093. "currencyid": {
  21094. "description": "币种id",
  21095. "type": "integer"
  21096. },
  21097. "fcid": {
  21098. "description": "期货公司id",
  21099. "type": "integer"
  21100. },
  21101. "fcname": {
  21102. "description": "期货公司代码",
  21103. "type": "string"
  21104. },
  21105. "hedgeaccountcode": {
  21106. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21107. "type": "string"
  21108. },
  21109. "ismain": {
  21110. "description": "是否主账户 0-否 1-是",
  21111. "type": "integer"
  21112. },
  21113. "parentaccountid": {
  21114. "description": "父账户id",
  21115. "type": "integer"
  21116. },
  21117. "relateduserid": {
  21118. "description": "关联userid",
  21119. "type": "integer"
  21120. },
  21121. "tradefeetmpid": {
  21122. "description": "手续费模板id",
  21123. "type": "integer"
  21124. },
  21125. "tradefeetmpname": {
  21126. "description": "手续费模板名称",
  21127. "type": "string"
  21128. },
  21129. "trademargintmpid": {
  21130. "description": "保证金模板id",
  21131. "type": "integer"
  21132. },
  21133. "trademargintmpname": {
  21134. "description": "保证金模板名称",
  21135. "type": "string"
  21136. },
  21137. "traderatetmpid": {
  21138. "description": "汇率模板id",
  21139. "type": "integer"
  21140. },
  21141. "traderatetmpname": {
  21142. "description": "汇率模板名称",
  21143. "type": "string"
  21144. },
  21145. "tradestatus": {
  21146. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21147. "type": "integer"
  21148. },
  21149. "userid": {
  21150. "description": "用户id",
  21151. "type": "integer"
  21152. }
  21153. }
  21154. },
  21155. "models.ErmcpTradeConfigTMP": {
  21156. "type": "object",
  21157. "properties": {
  21158. "areauserid": {
  21159. "description": "所属机构",
  21160. "type": "integer"
  21161. },
  21162. "basiccurrencyid": {
  21163. "description": "基本币种ID[汇率] - 目标币种",
  21164. "type": "integer"
  21165. },
  21166. "mainaccountid": {
  21167. "description": "主账户ID",
  21168. "type": "integer"
  21169. },
  21170. "modifierid": {
  21171. "description": "修改人",
  21172. "type": "integer"
  21173. },
  21174. "remark": {
  21175. "description": "备注",
  21176. "type": "string"
  21177. },
  21178. "tradeconfigtmpid": {
  21179. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  21180. "type": "integer"
  21181. },
  21182. "tradeconfigtmpname": {
  21183. "description": "交易配置模板名称",
  21184. "type": "string"
  21185. },
  21186. "tradeconfigtmptype": {
  21187. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  21188. "type": "integer"
  21189. },
  21190. "updatetime": {
  21191. "description": "更新时间",
  21192. "type": "string"
  21193. }
  21194. }
  21195. },
  21196. "models.ErmcpUserModel": {
  21197. "type": "object",
  21198. "properties": {
  21199. "address": {
  21200. "description": "通讯地址",
  21201. "type": "string"
  21202. },
  21203. "attachment1": {
  21204. "description": "附件1",
  21205. "type": "string"
  21206. },
  21207. "audittime": {
  21208. "description": "审核时间",
  21209. "type": "string"
  21210. },
  21211. "cardbackphotourl": {
  21212. "description": "证件反面图片地址",
  21213. "type": "string"
  21214. },
  21215. "cardfrontphotourl": {
  21216. "description": "证件正面图片地址",
  21217. "type": "string"
  21218. },
  21219. "cardnum": {
  21220. "description": "证件号码",
  21221. "type": "string"
  21222. },
  21223. "cardtype": {
  21224. "description": "证件类型",
  21225. "type": "integer"
  21226. },
  21227. "cardtypename": {
  21228. "description": "证件类型名称",
  21229. "type": "string"
  21230. },
  21231. "cityid": {
  21232. "description": "市",
  21233. "type": "integer"
  21234. },
  21235. "contactname": {
  21236. "description": "联系人",
  21237. "type": "string"
  21238. },
  21239. "countryid": {
  21240. "description": "国家",
  21241. "type": "integer"
  21242. },
  21243. "createtime": {
  21244. "description": "创建时间",
  21245. "type": "string"
  21246. },
  21247. "customername": {
  21248. "description": "企业名称",
  21249. "type": "string"
  21250. },
  21251. "districtid": {
  21252. "description": "区域",
  21253. "type": "integer"
  21254. },
  21255. "email": {
  21256. "description": "邮件",
  21257. "type": "string"
  21258. },
  21259. "legalpersonname": {
  21260. "description": "法人姓名(企业)",
  21261. "type": "string"
  21262. },
  21263. "memberuserid": {
  21264. "description": "所属机构ID",
  21265. "type": "integer"
  21266. },
  21267. "mobile": {
  21268. "description": "手机号码",
  21269. "type": "string"
  21270. },
  21271. "modifytime": {
  21272. "description": "修改时间",
  21273. "type": "string"
  21274. },
  21275. "nickname": {
  21276. "description": "昵称",
  21277. "type": "string"
  21278. },
  21279. "provinceid": {
  21280. "description": "省",
  21281. "type": "integer"
  21282. },
  21283. "remark": {
  21284. "description": "备注",
  21285. "type": "string"
  21286. },
  21287. "status": {
  21288. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21289. "type": "integer"
  21290. },
  21291. "statusdesc": {
  21292. "description": "账户状态中文描述",
  21293. "type": "string"
  21294. },
  21295. "taxpayernum": {
  21296. "description": "纳税人识别号",
  21297. "type": "string"
  21298. },
  21299. "telphone": {
  21300. "description": "联系电话",
  21301. "type": "string"
  21302. },
  21303. "userid": {
  21304. "description": "用户ID",
  21305. "type": "integer"
  21306. },
  21307. "userinfotype": {
  21308. "description": "客户类型",
  21309. "type": "string"
  21310. }
  21311. }
  21312. },
  21313. "models.ErmcpWareHouseInfo": {
  21314. "type": "object",
  21315. "properties": {
  21316. "address": {
  21317. "description": "详细地址",
  21318. "type": "string"
  21319. },
  21320. "areauserid": {
  21321. "description": "所属机构",
  21322. "type": "integer"
  21323. },
  21324. "autoid": {
  21325. "description": "自增ID(仓库ID)",
  21326. "type": "integer"
  21327. },
  21328. "cityid": {
  21329. "description": "市",
  21330. "type": "integer"
  21331. },
  21332. "contactname": {
  21333. "description": "联系人",
  21334. "type": "string"
  21335. },
  21336. "contactnum": {
  21337. "description": "联系电话",
  21338. "type": "string"
  21339. },
  21340. "countryid": {
  21341. "description": "国家",
  21342. "type": "integer"
  21343. },
  21344. "createtime": {
  21345. "description": "创建时间",
  21346. "type": "string"
  21347. },
  21348. "districtid": {
  21349. "description": "区",
  21350. "type": "integer"
  21351. },
  21352. "hasvideo": {
  21353. "description": "是否有视频 - 0:无 1:有",
  21354. "type": "integer"
  21355. },
  21356. "provinceid": {
  21357. "description": "省",
  21358. "type": "integer"
  21359. },
  21360. "remark": {
  21361. "description": "审核备注",
  21362. "type": "string"
  21363. },
  21364. "videourl": {
  21365. "description": "视频地址",
  21366. "type": "string"
  21367. },
  21368. "warehousecode": {
  21369. "description": "仓库代码",
  21370. "type": "string"
  21371. },
  21372. "warehousename": {
  21373. "description": "仓库名称",
  21374. "type": "string"
  21375. },
  21376. "warehousestatus": {
  21377. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21378. "type": "integer"
  21379. },
  21380. "warehousetype": {
  21381. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21382. "type": "integer"
  21383. }
  21384. }
  21385. },
  21386. "models.Externalexchange": {
  21387. "type": "object",
  21388. "required": [
  21389. "autoid"
  21390. ],
  21391. "properties": {
  21392. "autoid": {
  21393. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  21394. "type": "integer"
  21395. },
  21396. "exchangefullname": {
  21397. "description": "外部交易所全称",
  21398. "type": "string"
  21399. },
  21400. "exexchangecode": {
  21401. "description": "外部交易所代码",
  21402. "type": "string"
  21403. },
  21404. "exexchangename": {
  21405. "description": "外部交易所名称(简称)",
  21406. "type": "string"
  21407. },
  21408. "ismarketprice": {
  21409. "description": "是否支持市价 - 0:不支持 1:支持",
  21410. "type": "integer"
  21411. },
  21412. "quotegear": {
  21413. "description": "行情档位(1-10)",
  21414. "type": "integer"
  21415. },
  21416. "showbrokerflag": {
  21417. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  21418. "type": "integer"
  21419. },
  21420. "updatetime": {
  21421. "description": "更新时间",
  21422. "type": "string"
  21423. }
  21424. }
  21425. },
  21426. "models.Funcmenulist": {
  21427. "type": "object",
  21428. "required": [
  21429. "resourcecode"
  21430. ],
  21431. "properties": {
  21432. "iconame": {
  21433. "description": "菜单图标",
  21434. "type": "string"
  21435. },
  21436. "menutype": {
  21437. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  21438. "type": "integer"
  21439. },
  21440. "parentcode": {
  21441. "description": "上级资源代码",
  21442. "type": "string"
  21443. },
  21444. "remark": {
  21445. "description": "备注",
  21446. "type": "string"
  21447. },
  21448. "resourcecode": {
  21449. "description": "资源代码",
  21450. "type": "string"
  21451. },
  21452. "resourcelevel": {
  21453. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  21454. "type": "integer"
  21455. },
  21456. "resourcename": {
  21457. "description": "资源名",
  21458. "type": "string"
  21459. },
  21460. "sort": {
  21461. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  21462. "type": "integer"
  21463. },
  21464. "url": {
  21465. "description": "URL",
  21466. "type": "string"
  21467. }
  21468. }
  21469. },
  21470. "models.Goods": {
  21471. "type": "object",
  21472. "required": [
  21473. "goodscode",
  21474. "goodsid",
  21475. "goodsname",
  21476. "marketid"
  21477. ],
  21478. "properties": {
  21479. "agreeunit": {
  21480. "description": "合约单位",
  21481. "type": "number"
  21482. },
  21483. "areauserid": {
  21484. "description": "所属机构",
  21485. "type": "integer"
  21486. },
  21487. "auditaccountid": {
  21488. "description": "审核操作员账号",
  21489. "type": "integer"
  21490. },
  21491. "audittime": {
  21492. "description": "审核时间",
  21493. "type": "string"
  21494. },
  21495. "cancelaccountid": {
  21496. "description": "注销操作员账号",
  21497. "type": "integer"
  21498. },
  21499. "canceltime": {
  21500. "description": "注销时间",
  21501. "type": "string"
  21502. },
  21503. "closepricemode": {
  21504. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21505. "type": "integer"
  21506. },
  21507. "closepriceparam": {
  21508. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21509. "type": "number"
  21510. },
  21511. "createtime": {
  21512. "description": "创建时间",
  21513. "type": "string"
  21514. },
  21515. "creatorid": {
  21516. "description": "创建人",
  21517. "type": "integer"
  21518. },
  21519. "currencyid": {
  21520. "description": "报价货币ID",
  21521. "type": "integer"
  21522. },
  21523. "cutmode": {
  21524. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21525. "type": "integer"
  21526. },
  21527. "decimalplace": {
  21528. "description": "报价小数位",
  21529. "type": "integer"
  21530. },
  21531. "delistingdate": {
  21532. "description": "商品退市时间(状态:退市) -- 已作废",
  21533. "type": "string"
  21534. },
  21535. "delistingmode": {
  21536. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21537. "type": "integer"
  21538. },
  21539. "deliveryflag": {
  21540. "description": "交割标志 - 0:不可交割 1:可交割",
  21541. "type": "integer"
  21542. },
  21543. "forceclosemode": {
  21544. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21545. "type": "integer"
  21546. },
  21547. "forceclosevalue": {
  21548. "description": "定期强平参数 [收益权]",
  21549. "type": "integer"
  21550. },
  21551. "goodscode": {
  21552. "description": "商品代码(内部)",
  21553. "type": "string"
  21554. },
  21555. "goodscurrencyid": {
  21556. "description": "合约货币ID",
  21557. "type": "integer"
  21558. },
  21559. "goodsgroupid": {
  21560. "description": "所属商品组ID",
  21561. "type": "integer"
  21562. },
  21563. "goodsid": {
  21564. "description": "商品ID(自增ID SEQ_GOODS)",
  21565. "type": "integer"
  21566. },
  21567. "goodsname": {
  21568. "description": "商品名称",
  21569. "type": "string"
  21570. },
  21571. "goodsquotetype": {
  21572. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21573. "type": "integer"
  21574. },
  21575. "goodsstatus": {
  21576. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21577. "type": "integer"
  21578. },
  21579. "goodstradetype": {
  21580. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21581. "type": "integer"
  21582. },
  21583. "goodunitid": {
  21584. "description": "报价单位ID",
  21585. "type": "integer"
  21586. },
  21587. "hasquoter": {
  21588. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21589. "type": "integer"
  21590. },
  21591. "hqprotecttime": {
  21592. "description": "行情保护时间(秒)",
  21593. "type": "integer"
  21594. },
  21595. "innerdealmode": {
  21596. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21597. "type": "integer"
  21598. },
  21599. "isbuylimited": {
  21600. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21601. "type": "integer"
  21602. },
  21603. "isvisible": {
  21604. "description": "游客是否可见 - 0:不可见 1:可见",
  21605. "type": "integer"
  21606. },
  21607. "lasttradedate": {
  21608. "description": "最后交易日期(状态:待退市)",
  21609. "type": "string"
  21610. },
  21611. "listingdate": {
  21612. "description": "交易开始日期",
  21613. "type": "string"
  21614. },
  21615. "marketid": {
  21616. "description": "所属市场ID",
  21617. "type": "integer"
  21618. },
  21619. "modifierid": {
  21620. "description": "修改人",
  21621. "type": "integer"
  21622. },
  21623. "modifystatus": {
  21624. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21625. "type": "integer"
  21626. },
  21627. "modifytime": {
  21628. "description": "修改时间",
  21629. "type": "string"
  21630. },
  21631. "outerdealmode": {
  21632. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21633. "type": "integer"
  21634. },
  21635. "outgoodscode": {
  21636. "description": "商品代码(外部)",
  21637. "type": "string"
  21638. },
  21639. "pictureurl": {
  21640. "description": "商品图片",
  21641. "type": "string"
  21642. },
  21643. "qtydecimalplace": {
  21644. "description": "成交量小数位",
  21645. "type": "integer"
  21646. },
  21647. "quotegear": {
  21648. "description": "行情档位(1-10)",
  21649. "type": "integer"
  21650. },
  21651. "quoteminunit": {
  21652. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21653. "type": "integer"
  21654. },
  21655. "quoteshowtype": {
  21656. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21657. "type": "integer"
  21658. },
  21659. "quoteshowtypeinterval": {
  21660. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21661. "type": "integer"
  21662. },
  21663. "remark": {
  21664. "description": "备注",
  21665. "type": "string"
  21666. }
  21667. }
  21668. },
  21669. "models.GoodsIDAndName": {
  21670. "type": "object",
  21671. "required": [
  21672. "goodscode",
  21673. "goodsid",
  21674. "goodsname",
  21675. "marketid"
  21676. ],
  21677. "properties": {
  21678. "goodscode": {
  21679. "description": "商品代码(内部)",
  21680. "type": "string"
  21681. },
  21682. "goodsid": {
  21683. "description": "商品ID(自增ID SEQ_GOODS)",
  21684. "type": "integer"
  21685. },
  21686. "goodsname": {
  21687. "description": "商品名称",
  21688. "type": "string"
  21689. },
  21690. "marketid": {
  21691. "description": "所属市场ID",
  21692. "type": "integer"
  21693. }
  21694. }
  21695. },
  21696. "models.Goodsgroup": {
  21697. "type": "object",
  21698. "required": [
  21699. "goodsgroupid",
  21700. "goodsgroupname",
  21701. "goodsgroupstatus",
  21702. "marketid"
  21703. ],
  21704. "properties": {
  21705. "agreeunit": {
  21706. "description": "合约单位",
  21707. "type": "number"
  21708. },
  21709. "canshort": {
  21710. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21711. "type": "integer"
  21712. },
  21713. "closepricemode": {
  21714. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21715. "type": "integer"
  21716. },
  21717. "closepriceparam": {
  21718. "description": "强平最新价浮动比例 - 方式为2时使用",
  21719. "type": "number"
  21720. },
  21721. "createtime": {
  21722. "description": "创建时间",
  21723. "type": "string"
  21724. },
  21725. "creatorid": {
  21726. "description": "创建人",
  21727. "type": "integer"
  21728. },
  21729. "currencyid": {
  21730. "description": "报价货币ID",
  21731. "type": "integer"
  21732. },
  21733. "decimalplace": {
  21734. "description": "报价小数位",
  21735. "type": "integer"
  21736. },
  21737. "exercisetype": {
  21738. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  21739. "type": "integer"
  21740. },
  21741. "exexchangeid": {
  21742. "description": "外部交易所ID[通道交易]",
  21743. "type": "integer"
  21744. },
  21745. "goodsgroupid": {
  21746. "description": "商品组ID(自增ID)",
  21747. "type": "integer"
  21748. },
  21749. "goodsgroupname": {
  21750. "description": "商品组名称",
  21751. "type": "string"
  21752. },
  21753. "goodsgroupstatus": {
  21754. "description": "商品组状态 - 1:正常 2:注销",
  21755. "type": "integer"
  21756. },
  21757. "goodunitid": {
  21758. "description": "报价单位ID",
  21759. "type": "integer"
  21760. },
  21761. "innerdealmode": {
  21762. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21763. "type": "integer"
  21764. },
  21765. "isbuylimited": {
  21766. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21767. "type": "integer"
  21768. },
  21769. "marketid": {
  21770. "description": "所属市场ID",
  21771. "type": "integer"
  21772. },
  21773. "modifierid": {
  21774. "description": "修改人",
  21775. "type": "integer"
  21776. },
  21777. "modifytime": {
  21778. "description": "修改时间",
  21779. "type": "string"
  21780. },
  21781. "outerdealmode": {
  21782. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21783. "type": "integer"
  21784. },
  21785. "outergroupcode": {
  21786. "description": "外部商品组代码[通道交易]",
  21787. "type": "string"
  21788. },
  21789. "premiumdecimalplace": {
  21790. "description": "权利金小数位[场外期权]",
  21791. "type": "integer"
  21792. },
  21793. "premiumspreadalgorithm": {
  21794. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  21795. "type": "integer"
  21796. },
  21797. "premiumspreadvalue": {
  21798. "description": "权利金点差值[场外期权]",
  21799. "type": "number"
  21800. },
  21801. "qtydecimalplace": {
  21802. "description": "成交量小数位",
  21803. "type": "integer"
  21804. },
  21805. "quotegear": {
  21806. "description": "行情档位(1-10)",
  21807. "type": "integer"
  21808. },
  21809. "quoteminunit": {
  21810. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21811. "type": "integer"
  21812. },
  21813. "quoterid": {
  21814. "description": "报价商ID[场外期权]",
  21815. "type": "integer"
  21816. },
  21817. "quotesourcegroupid": {
  21818. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21819. "type": "integer"
  21820. },
  21821. "syncgoodsqty": {
  21822. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21823. "type": "integer"
  21824. }
  21825. }
  21826. },
  21827. "models.Goodssortbypreposition": {
  21828. "type": "object",
  21829. "required": [
  21830. "goodscode",
  21831. "tradedate"
  21832. ],
  21833. "properties": {
  21834. "goodscode": {
  21835. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  21836. "type": "string"
  21837. },
  21838. "goodsgroupcode": {
  21839. "description": "品种代码",
  21840. "type": "string"
  21841. },
  21842. "prepositionqty": {
  21843. "description": "昨持仓量",
  21844. "type": "integer"
  21845. },
  21846. "sortindex": {
  21847. "description": "排序",
  21848. "type": "integer"
  21849. },
  21850. "tradedate": {
  21851. "description": "交易日",
  21852. "type": "string"
  21853. },
  21854. "updatetime": {
  21855. "description": "更新时间",
  21856. "type": "string"
  21857. }
  21858. }
  21859. },
  21860. "models.Hedgeinnerholderdetail": {
  21861. "type": "object",
  21862. "required": [
  21863. "buyorsell",
  21864. "tradeid"
  21865. ],
  21866. "properties": {
  21867. "accountid": {
  21868. "description": "账号ID",
  21869. "type": "integer"
  21870. },
  21871. "buyorsell": {
  21872. "description": "方向 - 0:买 1:卖",
  21873. "type": "integer"
  21874. },
  21875. "freezeqty": {
  21876. "description": "冻结数量 - 按单平使用",
  21877. "type": "integer"
  21878. },
  21879. "goodsid": {
  21880. "description": "商品ID",
  21881. "type": "integer"
  21882. },
  21883. "holderamount": {
  21884. "description": "持仓金额 [商品币种]",
  21885. "type": "number"
  21886. },
  21887. "holderdays": {
  21888. "description": "剩余冻结天数",
  21889. "type": "integer"
  21890. },
  21891. "holderprice": {
  21892. "description": "持仓价格",
  21893. "type": "number"
  21894. },
  21895. "holderqty": {
  21896. "description": "持仓数量",
  21897. "type": "integer"
  21898. },
  21899. "marketid": {
  21900. "description": "市场ID",
  21901. "type": "integer"
  21902. },
  21903. "openprice": {
  21904. "description": "建仓价格",
  21905. "type": "number"
  21906. },
  21907. "openqty": {
  21908. "description": "建仓数量",
  21909. "type": "integer"
  21910. },
  21911. "parentaccountid": {
  21912. "description": "所属母账户",
  21913. "type": "integer"
  21914. },
  21915. "releaseamount": {
  21916. "description": "释放持仓金额[商品币种]",
  21917. "type": "number"
  21918. },
  21919. "tradeamount": {
  21920. "description": "成交金额[账户]",
  21921. "type": "number"
  21922. },
  21923. "tradedate": {
  21924. "description": "交易日(yyyyMMdd)",
  21925. "type": "string"
  21926. },
  21927. "tradeid": {
  21928. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21929. "type": "string"
  21930. },
  21931. "tradetime": {
  21932. "description": "交易时间",
  21933. "type": "string"
  21934. }
  21935. }
  21936. },
  21937. "models.Hedgemarketopenlog": {
  21938. "type": "object",
  21939. "required": [
  21940. "accountid"
  21941. ],
  21942. "properties": {
  21943. "accountid": {
  21944. "description": "资金账号[外部母账户]",
  21945. "type": "integer"
  21946. },
  21947. "fcname": {
  21948. "description": "期货公司名称",
  21949. "type": "string"
  21950. },
  21951. "handlestatus": {
  21952. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  21953. "type": "integer"
  21954. },
  21955. "marketid": {
  21956. "description": "市场ID",
  21957. "type": "integer"
  21958. },
  21959. "status": {
  21960. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  21961. "type": "integer"
  21962. },
  21963. "tradedate": {
  21964. "description": "交易日(yyyyMMdd)",
  21965. "type": "string"
  21966. },
  21967. "updatetime": {
  21968. "description": "更新时间",
  21969. "type": "string"
  21970. }
  21971. }
  21972. },
  21973. "models.HsbyBuyMyPayOrder": {
  21974. "type": "object",
  21975. "required": [
  21976. "goodscode",
  21977. "goodsname",
  21978. "tradeid",
  21979. "trademode"
  21980. ],
  21981. "properties": {
  21982. "agreeunit": {
  21983. "description": "合约单位",
  21984. "type": "number"
  21985. },
  21986. "buyaccountid": {
  21987. "description": "买方账号ID[报价币种]",
  21988. "type": "integer"
  21989. },
  21990. "buyorderid": {
  21991. "description": "买方委托单号",
  21992. "type": "string"
  21993. },
  21994. "createtime": {
  21995. "description": "创建时间",
  21996. "type": "string"
  21997. },
  21998. "currencysign": {
  21999. "description": "货币符号",
  22000. "type": "string"
  22001. },
  22002. "decimalplace": {
  22003. "description": "报价小数位",
  22004. "type": "integer"
  22005. },
  22006. "goodscode": {
  22007. "description": "商品代码(内部)",
  22008. "type": "string"
  22009. },
  22010. "goodsid": {
  22011. "description": "商品ID",
  22012. "type": "integer"
  22013. },
  22014. "goodsname": {
  22015. "description": "商品名称",
  22016. "type": "string"
  22017. },
  22018. "marketid": {
  22019. "description": "市场ID",
  22020. "type": "integer"
  22021. },
  22022. "offamount": {
  22023. "description": "优惠金额",
  22024. "type": "number"
  22025. },
  22026. "originalamount": {
  22027. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  22028. "type": "number"
  22029. },
  22030. "payamount": {
  22031. "description": "支付金额 = TradeAmount + TradeCharge",
  22032. "type": "number"
  22033. },
  22034. "payflag": {
  22035. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22036. "type": "integer"
  22037. },
  22038. "paylimitedtime": {
  22039. "description": "支付期限",
  22040. "type": "string"
  22041. },
  22042. "paytime": {
  22043. "description": "付款时间",
  22044. "type": "string"
  22045. },
  22046. "picurls1": {
  22047. "description": "预售商品介绍图片[多张用逗号分隔]",
  22048. "type": "string"
  22049. },
  22050. "picurls2": {
  22051. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22052. "type": "string"
  22053. },
  22054. "sellaccountid": {
  22055. "description": "卖方账号ID[报价币种]",
  22056. "type": "integer"
  22057. },
  22058. "sellorderid": {
  22059. "description": "卖方委托单号",
  22060. "type": "string"
  22061. },
  22062. "tradeamount": {
  22063. "description": "成交金额",
  22064. "type": "number"
  22065. },
  22066. "tradecharge": {
  22067. "description": "成交手续费(买方)",
  22068. "type": "number"
  22069. },
  22070. "tradedate": {
  22071. "description": "交易日(yyyyMMdd)",
  22072. "type": "string"
  22073. },
  22074. "tradeid": {
  22075. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22076. "type": "string"
  22077. },
  22078. "trademode": {
  22079. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22080. "type": "integer"
  22081. },
  22082. "tradeprice": {
  22083. "description": "成交价格",
  22084. "type": "number"
  22085. },
  22086. "tradeqty": {
  22087. "description": "成交数量",
  22088. "type": "integer"
  22089. },
  22090. "vendorname1": {
  22091. "description": "预售商品供应商名称",
  22092. "type": "string"
  22093. },
  22094. "vendorname2": {
  22095. "description": "挂牌商品供应商名称",
  22096. "type": "string"
  22097. }
  22098. }
  22099. },
  22100. "models.HsbyBuyMyTradeDetail": {
  22101. "type": "object",
  22102. "required": [
  22103. "accountid",
  22104. "buyorsell",
  22105. "goodscode",
  22106. "goodsid",
  22107. "goodsname",
  22108. "marketid",
  22109. "orderid",
  22110. "qty",
  22111. "time",
  22112. "trademode"
  22113. ],
  22114. "properties": {
  22115. "accountid": {
  22116. "description": "账户ID[报价币种]",
  22117. "type": "integer"
  22118. },
  22119. "agreeunit": {
  22120. "description": "合约单位",
  22121. "type": "number"
  22122. },
  22123. "amount": {
  22124. "description": "金额 = 价格 * 数量 * 合约单位",
  22125. "type": "number"
  22126. },
  22127. "buyorsell": {
  22128. "description": "买卖 - 0:买 1:卖",
  22129. "type": "integer"
  22130. },
  22131. "currencysign": {
  22132. "description": "货币符号",
  22133. "type": "string"
  22134. },
  22135. "decimalplace": {
  22136. "description": "报价小数位",
  22137. "type": "integer"
  22138. },
  22139. "goodscode": {
  22140. "description": "商品代码(内部)",
  22141. "type": "string"
  22142. },
  22143. "goodsid": {
  22144. "description": "商品ID",
  22145. "type": "integer"
  22146. },
  22147. "goodsname": {
  22148. "description": "商品名称",
  22149. "type": "string"
  22150. },
  22151. "marketid": {
  22152. "description": "市场ID",
  22153. "type": "integer"
  22154. },
  22155. "orderamount": {
  22156. "description": "委托金额",
  22157. "type": "number"
  22158. },
  22159. "orderid": {
  22160. "description": "单号(成交单号)",
  22161. "type": "string"
  22162. },
  22163. "picurls1": {
  22164. "description": "预售商品介绍图片[多张用逗号分隔]",
  22165. "type": "string"
  22166. },
  22167. "picurls2": {
  22168. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22169. "type": "string"
  22170. },
  22171. "price": {
  22172. "description": "价格",
  22173. "type": "number"
  22174. },
  22175. "qty": {
  22176. "description": "数量",
  22177. "type": "integer"
  22178. },
  22179. "time": {
  22180. "description": "时间",
  22181. "type": "string"
  22182. },
  22183. "trademode": {
  22184. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22185. "type": "integer"
  22186. },
  22187. "vendorname1": {
  22188. "description": "预售商品供应商名称",
  22189. "type": "string"
  22190. },
  22191. "vendorname2": {
  22192. "description": "挂牌商品供应商名称",
  22193. "type": "string"
  22194. }
  22195. }
  22196. },
  22197. "models.HsbyGoodsOrderDetail": {
  22198. "type": "object",
  22199. "required": [
  22200. "buyorsell",
  22201. "orderid",
  22202. "ordertime"
  22203. ],
  22204. "properties": {
  22205. "buyorsell": {
  22206. "description": "买卖 - 0:买 1:卖",
  22207. "type": "integer"
  22208. },
  22209. "currencysign": {
  22210. "description": "货币符号",
  22211. "type": "string"
  22212. },
  22213. "customername": {
  22214. "description": "客户名称(企业名称),已脱敏",
  22215. "type": "string"
  22216. },
  22217. "enableqty": {
  22218. "description": "可用数量",
  22219. "type": "integer"
  22220. },
  22221. "goodunit": {
  22222. "description": "报价单位",
  22223. "type": "string"
  22224. },
  22225. "orderid": {
  22226. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22227. "type": "string"
  22228. },
  22229. "orderprice": {
  22230. "description": "委托价格",
  22231. "type": "number"
  22232. },
  22233. "ordertime": {
  22234. "description": "委托时间",
  22235. "type": "string"
  22236. }
  22237. }
  22238. },
  22239. "models.HsbyListingGoodsDetail": {
  22240. "type": "object",
  22241. "required": [
  22242. "goodscode",
  22243. "goodsid",
  22244. "goodsname",
  22245. "marketid",
  22246. "trademode"
  22247. ],
  22248. "properties": {
  22249. "agreeunit": {
  22250. "description": "合约单位",
  22251. "type": "number"
  22252. },
  22253. "buymaxqty": {
  22254. "description": "购买上限 [71] - 0为不限",
  22255. "type": "integer"
  22256. },
  22257. "currency": {
  22258. "description": "货币",
  22259. "type": "string"
  22260. },
  22261. "currencysign": {
  22262. "description": "货币符号",
  22263. "type": "string"
  22264. },
  22265. "decimalplace": {
  22266. "description": "报价小数位",
  22267. "type": "integer"
  22268. },
  22269. "desccityid": {
  22270. "description": "目的地(市)ID",
  22271. "type": "integer"
  22272. },
  22273. "descprovinceid": {
  22274. "description": "目的地(省)ID",
  22275. "type": "integer"
  22276. },
  22277. "goodscode": {
  22278. "description": "商品代码(内部)",
  22279. "type": "string"
  22280. },
  22281. "goodsdesc": {
  22282. "description": "商品详情",
  22283. "type": "string"
  22284. },
  22285. "goodsid": {
  22286. "description": "商品ID(自增ID SEQ_GOODS)",
  22287. "type": "integer"
  22288. },
  22289. "goodsname": {
  22290. "description": "商品名称",
  22291. "type": "string"
  22292. },
  22293. "goodsprice": {
  22294. "description": "商品价格",
  22295. "type": "number"
  22296. },
  22297. "hotindex": {
  22298. "description": "景点热度",
  22299. "type": "integer"
  22300. },
  22301. "last": {
  22302. "description": "现价",
  22303. "type": "number"
  22304. },
  22305. "limitdown": {
  22306. "description": "跌停价",
  22307. "type": "number"
  22308. },
  22309. "limitup": {
  22310. "description": "涨停价",
  22311. "type": "number"
  22312. },
  22313. "lotsize": {
  22314. "description": "手数最小变动单位",
  22315. "type": "integer"
  22316. },
  22317. "marketid": {
  22318. "description": "所属市场ID",
  22319. "type": "integer"
  22320. },
  22321. "picurls": {
  22322. "description": "介绍图片[多张用逗号分隔]",
  22323. "type": "string"
  22324. },
  22325. "quoteminunit": {
  22326. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22327. "type": "integer"
  22328. },
  22329. "stepvalue": {
  22330. "description": "价格最小变动单位",
  22331. "type": "number"
  22332. },
  22333. "trademode": {
  22334. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22335. "type": "integer"
  22336. },
  22337. "vendorattr": {
  22338. "description": "供应商附件(多张,逗号分隔)",
  22339. "type": "string"
  22340. },
  22341. "vendorname": {
  22342. "description": "供应商名称",
  22343. "type": "string"
  22344. },
  22345. "vendorphone": {
  22346. "description": "供应商客服电话",
  22347. "type": "string"
  22348. },
  22349. "videourls": {
  22350. "description": "介绍视频[多张用逗号分隔]",
  22351. "type": "string"
  22352. }
  22353. }
  22354. },
  22355. "models.HsbyMarketGoods": {
  22356. "type": "object",
  22357. "required": [
  22358. "accountid",
  22359. "buyorsell",
  22360. "goodscode",
  22361. "goodsid",
  22362. "goodsname",
  22363. "marketid",
  22364. "orderid",
  22365. "trademode"
  22366. ],
  22367. "properties": {
  22368. "accountid": {
  22369. "description": "账户ID[报价币种]",
  22370. "type": "integer"
  22371. },
  22372. "agreeunit": {
  22373. "description": "合约单位",
  22374. "type": "number"
  22375. },
  22376. "buyorsell": {
  22377. "description": "买卖 - 0:买 1:卖",
  22378. "type": "integer"
  22379. },
  22380. "categoryid": {
  22381. "description": "类别ID(WRCATEGORY)",
  22382. "type": "integer"
  22383. },
  22384. "currency": {
  22385. "description": "货币",
  22386. "type": "string"
  22387. },
  22388. "currencysign": {
  22389. "description": "货币符号",
  22390. "type": "string"
  22391. },
  22392. "customername": {
  22393. "description": "卖家名称",
  22394. "type": "string"
  22395. },
  22396. "decimalplace": {
  22397. "description": "报价小数位",
  22398. "type": "integer"
  22399. },
  22400. "goodscode": {
  22401. "description": "商品代码(内部)",
  22402. "type": "string"
  22403. },
  22404. "goodsid": {
  22405. "description": "商品ID",
  22406. "type": "integer"
  22407. },
  22408. "goodsname": {
  22409. "description": "商品名称",
  22410. "type": "string"
  22411. },
  22412. "goodsprice": {
  22413. "description": "商品价格",
  22414. "type": "number"
  22415. },
  22416. "hascoupon": {
  22417. "description": "是否可用优惠卷",
  22418. "type": "boolean"
  22419. },
  22420. "hotindex": {
  22421. "description": "景点热度",
  22422. "type": "integer"
  22423. },
  22424. "marketid": {
  22425. "description": "市场ID",
  22426. "type": "integer"
  22427. },
  22428. "orderid": {
  22429. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22430. "type": "string"
  22431. },
  22432. "orderprice": {
  22433. "description": "委托价格",
  22434. "type": "number"
  22435. },
  22436. "orderstatus": {
  22437. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22438. "type": "integer"
  22439. },
  22440. "picurls": {
  22441. "description": "介绍图片[多张用逗号分隔]",
  22442. "type": "string"
  22443. },
  22444. "quoteminunit": {
  22445. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22446. "type": "integer"
  22447. },
  22448. "sellUserID": {
  22449. "description": "卖方UserID",
  22450. "type": "integer"
  22451. },
  22452. "trademode": {
  22453. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22454. "type": "integer"
  22455. },
  22456. "videourls": {
  22457. "description": "介绍视频[多张用逗号分隔]",
  22458. "type": "string"
  22459. }
  22460. }
  22461. },
  22462. "models.HsbyMarketGoodsDetail": {
  22463. "type": "object",
  22464. "required": [
  22465. "accountid",
  22466. "buyorsell",
  22467. "goodscode",
  22468. "goodsid",
  22469. "goodsname",
  22470. "marketid",
  22471. "orderid",
  22472. "orderqty",
  22473. "trademode"
  22474. ],
  22475. "properties": {
  22476. "accountid": {
  22477. "description": "账户ID[报价币种]",
  22478. "type": "integer"
  22479. },
  22480. "agreeunit": {
  22481. "description": "合约单位",
  22482. "type": "number"
  22483. },
  22484. "buymaxqty": {
  22485. "description": "购买上限 [71] - 0为不限",
  22486. "type": "integer"
  22487. },
  22488. "buyorsell": {
  22489. "description": "买卖 - 0:买 1:卖",
  22490. "type": "integer"
  22491. },
  22492. "cancelqty": {
  22493. "description": "撤单数量",
  22494. "type": "integer"
  22495. },
  22496. "categoryid": {
  22497. "description": "类别ID(WRCATEGORY)",
  22498. "type": "integer"
  22499. },
  22500. "currency": {
  22501. "description": "货币",
  22502. "type": "string"
  22503. },
  22504. "currencysign": {
  22505. "description": "货币符号",
  22506. "type": "string"
  22507. },
  22508. "customername": {
  22509. "description": "卖家名称",
  22510. "type": "string"
  22511. },
  22512. "decimalplace": {
  22513. "description": "报价小数位",
  22514. "type": "integer"
  22515. },
  22516. "goodscode": {
  22517. "description": "商品代码(内部)",
  22518. "type": "string"
  22519. },
  22520. "goodsdesc": {
  22521. "description": "商品详情",
  22522. "type": "string"
  22523. },
  22524. "goodsid": {
  22525. "description": "商品ID",
  22526. "type": "integer"
  22527. },
  22528. "goodsname": {
  22529. "description": "商品名称",
  22530. "type": "string"
  22531. },
  22532. "goodsprice": {
  22533. "description": "商品价格",
  22534. "type": "number"
  22535. },
  22536. "hotindex": {
  22537. "description": "景点热度",
  22538. "type": "integer"
  22539. },
  22540. "lotsize": {
  22541. "description": "手数最小变动单位",
  22542. "type": "integer"
  22543. },
  22544. "marketid": {
  22545. "description": "市场ID",
  22546. "type": "integer"
  22547. },
  22548. "orderid": {
  22549. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22550. "type": "string"
  22551. },
  22552. "orderprice": {
  22553. "description": "委托价格",
  22554. "type": "number"
  22555. },
  22556. "orderqty": {
  22557. "description": "委托数量",
  22558. "type": "integer"
  22559. },
  22560. "orderstatus": {
  22561. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22562. "type": "integer"
  22563. },
  22564. "picurls": {
  22565. "description": "介绍图片[多张用逗号分隔]",
  22566. "type": "string"
  22567. },
  22568. "quoteminunit": {
  22569. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22570. "type": "integer"
  22571. },
  22572. "sellUserID": {
  22573. "description": "卖方UserID",
  22574. "type": "integer"
  22575. },
  22576. "trademode": {
  22577. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22578. "type": "integer"
  22579. },
  22580. "tradeqty": {
  22581. "description": "成交数量",
  22582. "type": "integer"
  22583. },
  22584. "vendorattr": {
  22585. "description": "供应商附件(多张,逗号分隔)",
  22586. "type": "string"
  22587. },
  22588. "vendorname": {
  22589. "description": "供应商名称",
  22590. "type": "string"
  22591. },
  22592. "vendorphone": {
  22593. "description": "供应商客服电话",
  22594. "type": "string"
  22595. },
  22596. "videourls": {
  22597. "description": "介绍视频[多张用逗号分隔]",
  22598. "type": "string"
  22599. }
  22600. }
  22601. },
  22602. "models.HsbyMarketInfo": {
  22603. "type": "object",
  22604. "required": [
  22605. "marketid",
  22606. "marketstatus",
  22607. "trademode"
  22608. ],
  22609. "properties": {
  22610. "marketid": {
  22611. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22612. "type": "integer"
  22613. },
  22614. "marketname": {
  22615. "description": "市场名称",
  22616. "type": "string"
  22617. },
  22618. "marketstatus": {
  22619. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22620. "type": "integer"
  22621. },
  22622. "trademode": {
  22623. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22624. "type": "integer"
  22625. }
  22626. }
  22627. },
  22628. "models.HsbyMyGoods": {
  22629. "type": "object",
  22630. "required": [
  22631. "accountid",
  22632. "goodscode",
  22633. "goodsid",
  22634. "goodsname",
  22635. "marketid",
  22636. "trademode"
  22637. ],
  22638. "properties": {
  22639. "accountid": {
  22640. "description": "账号Id",
  22641. "type": "integer"
  22642. },
  22643. "agreeunit": {
  22644. "description": "合约单位",
  22645. "type": "number"
  22646. },
  22647. "buyaverageprice": {
  22648. "description": "持仓均价",
  22649. "type": "number"
  22650. },
  22651. "buycurholderamount": {
  22652. "description": "买当前持仓总金额[商品币种]",
  22653. "type": "number"
  22654. },
  22655. "buycurpositionqty": {
  22656. "description": "买当前持仓总数量",
  22657. "type": "integer"
  22658. },
  22659. "buymaxqty": {
  22660. "description": "购买上限 [71] - 0为不限",
  22661. "type": "integer"
  22662. },
  22663. "currencysign": {
  22664. "description": "货币符号",
  22665. "type": "string"
  22666. },
  22667. "decimalplace": {
  22668. "description": "报价小数位",
  22669. "type": "integer"
  22670. },
  22671. "enableqty": {
  22672. "description": "可用数量",
  22673. "type": "integer"
  22674. },
  22675. "goodscode": {
  22676. "description": "商品代码(内部)",
  22677. "type": "string"
  22678. },
  22679. "goodsid": {
  22680. "description": "商品Id",
  22681. "type": "integer"
  22682. },
  22683. "goodsname": {
  22684. "description": "商品名称",
  22685. "type": "string"
  22686. },
  22687. "goodsprice": {
  22688. "description": "商品价格",
  22689. "type": "number"
  22690. },
  22691. "goodsstatus": {
  22692. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22693. "type": "integer"
  22694. },
  22695. "last": {
  22696. "description": "现价(仅使用于挂牌点选)",
  22697. "type": "number"
  22698. },
  22699. "limitdown": {
  22700. "description": "跌停价(仅使用于挂牌点选)",
  22701. "type": "number"
  22702. },
  22703. "limitup": {
  22704. "description": "涨停价(仅使用于挂牌点选)",
  22705. "type": "number"
  22706. },
  22707. "lotsize": {
  22708. "description": "手数最小变动单位",
  22709. "type": "integer"
  22710. },
  22711. "marketid": {
  22712. "description": "所属市场ID",
  22713. "type": "integer"
  22714. },
  22715. "picurls": {
  22716. "description": "介绍图片[多张用逗号分隔]",
  22717. "type": "string"
  22718. },
  22719. "quoteminunit": {
  22720. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22721. "type": "integer"
  22722. },
  22723. "stepvalue": {
  22724. "description": "价格最小变动单位",
  22725. "type": "number"
  22726. },
  22727. "trademode": {
  22728. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22729. "type": "integer"
  22730. }
  22731. }
  22732. },
  22733. "models.HsbyMyPackage": {
  22734. "type": "object",
  22735. "required": [
  22736. "goodscode",
  22737. "goodsname",
  22738. "takeorderid",
  22739. "trademode"
  22740. ],
  22741. "properties": {
  22742. "accountid": {
  22743. "description": "账户ID",
  22744. "type": "integer"
  22745. },
  22746. "address": {
  22747. "description": "提货人详细地址",
  22748. "type": "string"
  22749. },
  22750. "agreeunit": {
  22751. "description": "合约单位",
  22752. "type": "number"
  22753. },
  22754. "amount": {
  22755. "description": "提货金额",
  22756. "type": "number"
  22757. },
  22758. "auditer": {
  22759. "description": "审核人",
  22760. "type": "integer"
  22761. },
  22762. "audittime": {
  22763. "description": "审核时间",
  22764. "type": "string"
  22765. },
  22766. "averageprice": {
  22767. "description": "均价",
  22768. "type": "number"
  22769. },
  22770. "cardnum": {
  22771. "description": "提货人证件号码",
  22772. "type": "string"
  22773. },
  22774. "cardtypeid": {
  22775. "description": "提货人证件类型",
  22776. "type": "integer"
  22777. },
  22778. "checkremark": {
  22779. "description": "审核备注",
  22780. "type": "string"
  22781. },
  22782. "currencysign": {
  22783. "description": "货币符号",
  22784. "type": "string"
  22785. },
  22786. "decimalplace": {
  22787. "description": "报价小数位",
  22788. "type": "integer"
  22789. },
  22790. "goodscode": {
  22791. "description": "商品代码(内部)",
  22792. "type": "string"
  22793. },
  22794. "goodsid": {
  22795. "description": "商品ID",
  22796. "type": "integer"
  22797. },
  22798. "goodsname": {
  22799. "description": "商品名称",
  22800. "type": "string"
  22801. },
  22802. "handlestatus": {
  22803. "description": "处理状态",
  22804. "type": "integer"
  22805. },
  22806. "marketid": {
  22807. "description": "市场ID",
  22808. "type": "integer"
  22809. },
  22810. "phonenum": {
  22811. "description": "提货人联系方式",
  22812. "type": "string"
  22813. },
  22814. "picurls": {
  22815. "description": "介绍图片[多张用逗号分隔]",
  22816. "type": "string"
  22817. },
  22818. "qty": {
  22819. "description": "提货数量",
  22820. "type": "number"
  22821. },
  22822. "recivername": {
  22823. "description": "提货人姓名",
  22824. "type": "string"
  22825. },
  22826. "reqtime": {
  22827. "description": "更新时间",
  22828. "type": "string"
  22829. },
  22830. "takemode": {
  22831. "description": "提货方式 - 2:自提 3:配送",
  22832. "type": "integer"
  22833. },
  22834. "takeorderid": {
  22835. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22836. "type": "string"
  22837. },
  22838. "takeorderstatus": {
  22839. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  22840. "type": "integer"
  22841. },
  22842. "takeremark": {
  22843. "description": "提货备注",
  22844. "type": "string"
  22845. },
  22846. "tradedate": {
  22847. "description": "交易日(yyyyMMdd)",
  22848. "type": "string"
  22849. },
  22850. "trademode": {
  22851. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22852. "type": "integer"
  22853. },
  22854. "userid": {
  22855. "description": "用户ID",
  22856. "type": "integer"
  22857. },
  22858. "vendorname": {
  22859. "description": "供应商名称",
  22860. "type": "string"
  22861. }
  22862. }
  22863. },
  22864. "models.HsbyPreGoods": {
  22865. "type": "object",
  22866. "required": [
  22867. "goodscode",
  22868. "goodsid",
  22869. "goodsname",
  22870. "marketid",
  22871. "trademode"
  22872. ],
  22873. "properties": {
  22874. "agreeunit": {
  22875. "description": "合约单位",
  22876. "type": "number"
  22877. },
  22878. "currency": {
  22879. "description": "货币",
  22880. "type": "string"
  22881. },
  22882. "currencysign": {
  22883. "description": "货币符号",
  22884. "type": "string"
  22885. },
  22886. "decimalplace": {
  22887. "description": "报价小数位",
  22888. "type": "integer"
  22889. },
  22890. "desccityid": {
  22891. "description": "目的地(市)",
  22892. "type": "integer"
  22893. },
  22894. "descprovinceid": {
  22895. "description": "目的地(省)",
  22896. "type": "integer"
  22897. },
  22898. "enableqty": {
  22899. "description": "剩余数量",
  22900. "type": "integer"
  22901. },
  22902. "goodscode": {
  22903. "description": "商品代码(内部)",
  22904. "type": "string"
  22905. },
  22906. "goodsid": {
  22907. "description": "商品ID(自增ID SEQ_GOODS)",
  22908. "type": "integer"
  22909. },
  22910. "goodsname": {
  22911. "description": "商品名称",
  22912. "type": "string"
  22913. },
  22914. "goodsstatus": {
  22915. "description": "商品状态- 2:未上市 3:上市",
  22916. "type": "integer"
  22917. },
  22918. "lasttradedate": {
  22919. "description": "最后交易日期(状态:待退市)",
  22920. "type": "string"
  22921. },
  22922. "listingdate": {
  22923. "description": "交易开始日期",
  22924. "type": "string"
  22925. },
  22926. "marketid": {
  22927. "description": "所属市场ID",
  22928. "type": "integer"
  22929. },
  22930. "picurls": {
  22931. "description": "介绍图片[多张用逗号分隔]",
  22932. "type": "string"
  22933. },
  22934. "presaledqty": {
  22935. "description": "已预售量(预售结束时更新)",
  22936. "type": "integer"
  22937. },
  22938. "presaleqty": {
  22939. "description": "预售数量",
  22940. "type": "integer"
  22941. },
  22942. "quoteminunit": {
  22943. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22944. "type": "integer"
  22945. },
  22946. "refprice": {
  22947. "description": "参考价格[一口价]",
  22948. "type": "number"
  22949. },
  22950. "relatedgoodsid": {
  22951. "description": "关联交易合约ID",
  22952. "type": "integer"
  22953. },
  22954. "trademode": {
  22955. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22956. "type": "integer"
  22957. },
  22958. "videourls": {
  22959. "description": "介绍视频[多张用逗号分隔]",
  22960. "type": "string"
  22961. }
  22962. }
  22963. },
  22964. "models.HsbyPreGoodsDetail": {
  22965. "type": "object",
  22966. "required": [
  22967. "goodscode",
  22968. "goodsid",
  22969. "goodsname",
  22970. "marketid",
  22971. "trademode"
  22972. ],
  22973. "properties": {
  22974. "agreeunit": {
  22975. "description": "合约单位",
  22976. "type": "number"
  22977. },
  22978. "buymaxqty": {
  22979. "description": "购买上限 [71] - 0为不限",
  22980. "type": "integer"
  22981. },
  22982. "currency": {
  22983. "description": "货币",
  22984. "type": "string"
  22985. },
  22986. "currencysign": {
  22987. "description": "货币符号",
  22988. "type": "string"
  22989. },
  22990. "customername": {
  22991. "description": "发行单位",
  22992. "type": "string"
  22993. },
  22994. "decimalplace": {
  22995. "description": "报价小数位",
  22996. "type": "integer"
  22997. },
  22998. "desccityid": {
  22999. "description": "目的地(市)ID",
  23000. "type": "integer"
  23001. },
  23002. "descprovinceid": {
  23003. "description": "目的地(省)ID",
  23004. "type": "integer"
  23005. },
  23006. "enableqty": {
  23007. "description": "剩余数量",
  23008. "type": "integer"
  23009. },
  23010. "goodscode": {
  23011. "description": "商品代码(内部)",
  23012. "type": "string"
  23013. },
  23014. "goodsdesc": {
  23015. "description": "商品详情",
  23016. "type": "string"
  23017. },
  23018. "goodsid": {
  23019. "description": "商品ID(自增ID SEQ_GOODS)",
  23020. "type": "integer"
  23021. },
  23022. "goodsname": {
  23023. "description": "商品名称",
  23024. "type": "string"
  23025. },
  23026. "goodsstatus": {
  23027. "description": "商品状态- 2:未上市 3:上市",
  23028. "type": "integer"
  23029. },
  23030. "goodunit": {
  23031. "description": "报价单位",
  23032. "type": "string"
  23033. },
  23034. "lasttradedate": {
  23035. "description": "最后交易日期(状态:待退市)",
  23036. "type": "string"
  23037. },
  23038. "listingdate": {
  23039. "description": "交易开始日期",
  23040. "type": "string"
  23041. },
  23042. "lotsize": {
  23043. "description": "手数最小变动单位",
  23044. "type": "integer"
  23045. },
  23046. "marketid": {
  23047. "description": "所属市场ID",
  23048. "type": "integer"
  23049. },
  23050. "picurls": {
  23051. "description": "介绍图片[多张用逗号分隔]",
  23052. "type": "string"
  23053. },
  23054. "presaledqty": {
  23055. "description": "已预售量(预售结束时更新)",
  23056. "type": "integer"
  23057. },
  23058. "presaleqty": {
  23059. "description": "预售数量",
  23060. "type": "integer"
  23061. },
  23062. "quoteminunit": {
  23063. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23064. "type": "integer"
  23065. },
  23066. "refprice": {
  23067. "description": "参考价格[一口价]",
  23068. "type": "number"
  23069. },
  23070. "relatedgoodsid": {
  23071. "description": "关联交易合约ID",
  23072. "type": "integer"
  23073. },
  23074. "stepvalue": {
  23075. "description": "价格最小变动单位",
  23076. "type": "number"
  23077. },
  23078. "trademode": {
  23079. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23080. "type": "integer"
  23081. },
  23082. "vendorattr": {
  23083. "description": "供应商附件(多张,逗号分隔)",
  23084. "type": "string"
  23085. },
  23086. "vendorname": {
  23087. "description": "供应商名称",
  23088. "type": "string"
  23089. },
  23090. "vendorphone": {
  23091. "description": "供应商客服电话",
  23092. "type": "string"
  23093. },
  23094. "videourls": {
  23095. "description": "介绍视频[多张用逗号分隔]",
  23096. "type": "string"
  23097. }
  23098. }
  23099. },
  23100. "models.HsbySellCollectionOrder": {
  23101. "type": "object",
  23102. "required": [
  23103. "goodscode",
  23104. "goodsname",
  23105. "tradeid",
  23106. "trademode"
  23107. ],
  23108. "properties": {
  23109. "agreeunit": {
  23110. "description": "合约单位",
  23111. "type": "number"
  23112. },
  23113. "buyaccountid": {
  23114. "description": "买方账号ID[报价币种]",
  23115. "type": "integer"
  23116. },
  23117. "buyorderid": {
  23118. "description": "买方委托单号",
  23119. "type": "string"
  23120. },
  23121. "createtime": {
  23122. "description": "创建时间",
  23123. "type": "string"
  23124. },
  23125. "currencysign": {
  23126. "description": "货币符号",
  23127. "type": "string"
  23128. },
  23129. "decimalplace": {
  23130. "description": "报价小数位",
  23131. "type": "integer"
  23132. },
  23133. "goodscode": {
  23134. "description": "商品代码(内部)",
  23135. "type": "string"
  23136. },
  23137. "goodsid": {
  23138. "description": "商品ID",
  23139. "type": "integer"
  23140. },
  23141. "goodsname": {
  23142. "description": "商品名称",
  23143. "type": "string"
  23144. },
  23145. "marketid": {
  23146. "description": "市场ID",
  23147. "type": "integer"
  23148. },
  23149. "offamount": {
  23150. "description": "优惠金额",
  23151. "type": "number"
  23152. },
  23153. "payamount": {
  23154. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  23155. "type": "number"
  23156. },
  23157. "payflag": {
  23158. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23159. "type": "integer"
  23160. },
  23161. "paylimitedtime": {
  23162. "description": "支付期限",
  23163. "type": "string"
  23164. },
  23165. "paytime": {
  23166. "description": "付款时间",
  23167. "type": "string"
  23168. },
  23169. "picurls": {
  23170. "description": "商品介绍图片[多张用逗号分隔]",
  23171. "type": "string"
  23172. },
  23173. "sellaccountid": {
  23174. "description": "卖方账号ID[报价币种]",
  23175. "type": "integer"
  23176. },
  23177. "sellorderid": {
  23178. "description": "卖方委托单号",
  23179. "type": "string"
  23180. },
  23181. "tradeamount": {
  23182. "description": "成交金额",
  23183. "type": "number"
  23184. },
  23185. "tradecharge": {
  23186. "description": "成交手续费(买方)",
  23187. "type": "number"
  23188. },
  23189. "tradedate": {
  23190. "description": "交易日(yyyyMMdd)",
  23191. "type": "string"
  23192. },
  23193. "tradeid": {
  23194. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23195. "type": "string"
  23196. },
  23197. "trademode": {
  23198. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23199. "type": "integer"
  23200. },
  23201. "tradeprice": {
  23202. "description": "成交价格",
  23203. "type": "number"
  23204. },
  23205. "tradeqty": {
  23206. "description": "成交数量",
  23207. "type": "integer"
  23208. }
  23209. }
  23210. },
  23211. "models.HsbySellMyDetail": {
  23212. "type": "object",
  23213. "required": [
  23214. "accountid",
  23215. "buyorsell",
  23216. "goodscode",
  23217. "goodsid",
  23218. "goodsname",
  23219. "marketid",
  23220. "orderid",
  23221. "time",
  23222. "trademode"
  23223. ],
  23224. "properties": {
  23225. "accountid": {
  23226. "description": "账户ID[报价币种]",
  23227. "type": "integer"
  23228. },
  23229. "agreeunit": {
  23230. "description": "合约单位",
  23231. "type": "number"
  23232. },
  23233. "buyorsell": {
  23234. "description": "买卖 - 0:买 1:卖",
  23235. "type": "integer"
  23236. },
  23237. "currencysign": {
  23238. "description": "货币符号",
  23239. "type": "string"
  23240. },
  23241. "decimalplace": {
  23242. "description": "报价小数位",
  23243. "type": "integer"
  23244. },
  23245. "goodscode": {
  23246. "description": "商品代码(内部)",
  23247. "type": "string"
  23248. },
  23249. "goodsid": {
  23250. "description": "商品ID",
  23251. "type": "integer"
  23252. },
  23253. "goodsname": {
  23254. "description": "商品名称",
  23255. "type": "string"
  23256. },
  23257. "marketid": {
  23258. "description": "市场ID",
  23259. "type": "integer"
  23260. },
  23261. "orderid": {
  23262. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  23263. "type": "string"
  23264. },
  23265. "ordertype": {
  23266. "description": "单据类型:0 - 发布中, 1 - 已完成",
  23267. "type": "integer"
  23268. },
  23269. "picurls": {
  23270. "description": "介绍图片[多张用逗号分隔]",
  23271. "type": "string"
  23272. },
  23273. "price": {
  23274. "description": "价格",
  23275. "type": "number"
  23276. },
  23277. "qty": {
  23278. "description": "数量",
  23279. "type": "integer"
  23280. },
  23281. "time": {
  23282. "description": "时间",
  23283. "type": "string"
  23284. },
  23285. "trademode": {
  23286. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23287. "type": "integer"
  23288. },
  23289. "vendorname": {
  23290. "description": "供应商名称",
  23291. "type": "string"
  23292. }
  23293. }
  23294. },
  23295. "models.HsbyTopGoods": {
  23296. "type": "object",
  23297. "required": [
  23298. "goodscode",
  23299. "goodsid",
  23300. "goodsname",
  23301. "marketid",
  23302. "trademode"
  23303. ],
  23304. "properties": {
  23305. "agreeunit": {
  23306. "description": "合约单位",
  23307. "type": "number"
  23308. },
  23309. "currency": {
  23310. "description": "货币",
  23311. "type": "string"
  23312. },
  23313. "currencysign": {
  23314. "description": "货币符号",
  23315. "type": "string"
  23316. },
  23317. "decimalplace": {
  23318. "description": "报价小数位",
  23319. "type": "integer"
  23320. },
  23321. "desccityid": {
  23322. "description": "目的地(市)",
  23323. "type": "integer"
  23324. },
  23325. "descprovinceid": {
  23326. "description": "目的地(省)",
  23327. "type": "integer"
  23328. },
  23329. "goodscode": {
  23330. "description": "商品代码(内部)",
  23331. "type": "string"
  23332. },
  23333. "goodsid": {
  23334. "description": "商品ID(自增ID SEQ_GOODS)",
  23335. "type": "integer"
  23336. },
  23337. "goodsname": {
  23338. "description": "商品名称",
  23339. "type": "string"
  23340. },
  23341. "hotindex": {
  23342. "description": "景点热度",
  23343. "type": "integer"
  23344. },
  23345. "last": {
  23346. "description": "现价",
  23347. "type": "number"
  23348. },
  23349. "marketid": {
  23350. "description": "所属市场ID",
  23351. "type": "integer"
  23352. },
  23353. "picurls": {
  23354. "description": "介绍图片[多张用逗号分隔]",
  23355. "type": "string"
  23356. },
  23357. "quoteminunit": {
  23358. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23359. "type": "integer"
  23360. },
  23361. "trademode": {
  23362. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23363. "type": "integer"
  23364. },
  23365. "videourls": {
  23366. "description": "介绍视频[多张用逗号分隔]",
  23367. "type": "string"
  23368. }
  23369. }
  23370. },
  23371. "models.HybsMyBuyOrderDetail": {
  23372. "type": "object",
  23373. "required": [
  23374. "accountid",
  23375. "buyorsell",
  23376. "goodscode",
  23377. "goodsid",
  23378. "goodsname",
  23379. "marketid",
  23380. "orderid",
  23381. "orderqty",
  23382. "ordertime",
  23383. "trademode"
  23384. ],
  23385. "properties": {
  23386. "accountid": {
  23387. "description": "账户ID[报价币种]",
  23388. "type": "integer"
  23389. },
  23390. "agreeunit": {
  23391. "description": "合约单位",
  23392. "type": "number"
  23393. },
  23394. "buyorsell": {
  23395. "description": "买卖 - 0:买 1:卖",
  23396. "type": "integer"
  23397. },
  23398. "cancelqty": {
  23399. "description": "撤单数量",
  23400. "type": "integer"
  23401. },
  23402. "currencysign": {
  23403. "description": "货币符号",
  23404. "type": "string"
  23405. },
  23406. "decimalplace": {
  23407. "description": "报价小数位",
  23408. "type": "integer"
  23409. },
  23410. "goodscode": {
  23411. "description": "商品代码(内部)",
  23412. "type": "string"
  23413. },
  23414. "goodsid": {
  23415. "description": "商品ID",
  23416. "type": "integer"
  23417. },
  23418. "goodsname": {
  23419. "description": "商品名称",
  23420. "type": "string"
  23421. },
  23422. "listingselecttype": {
  23423. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23424. "type": "integer"
  23425. },
  23426. "marketid": {
  23427. "description": "市场ID",
  23428. "type": "integer"
  23429. },
  23430. "mybuystatus": {
  23431. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  23432. "type": "integer"
  23433. },
  23434. "orderamount": {
  23435. "description": "委托金额",
  23436. "type": "number"
  23437. },
  23438. "orderid": {
  23439. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23440. "type": "string"
  23441. },
  23442. "orderprice": {
  23443. "description": "委托价格",
  23444. "type": "number"
  23445. },
  23446. "orderqty": {
  23447. "description": "委托数量",
  23448. "type": "integer"
  23449. },
  23450. "orderstatus": {
  23451. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23452. "type": "integer"
  23453. },
  23454. "ordertime": {
  23455. "description": "委托时间",
  23456. "type": "string"
  23457. },
  23458. "picurls1": {
  23459. "description": "预售商品介绍图片[多张用逗号分隔]",
  23460. "type": "string"
  23461. },
  23462. "picurls2": {
  23463. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23464. "type": "string"
  23465. },
  23466. "trademode": {
  23467. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23468. "type": "integer"
  23469. },
  23470. "tradeqty": {
  23471. "description": "成交数量",
  23472. "type": "integer"
  23473. },
  23474. "vendorname1": {
  23475. "description": "预售商品供应商名称",
  23476. "type": "string"
  23477. },
  23478. "vendorname2": {
  23479. "description": "挂牌商品供应商名称",
  23480. "type": "string"
  23481. }
  23482. }
  23483. },
  23484. "models.Loginaccount": {
  23485. "type": "object",
  23486. "required": [
  23487. "loginid"
  23488. ],
  23489. "properties": {
  23490. "accountname": {
  23491. "description": "账户名称",
  23492. "type": "string"
  23493. },
  23494. "canoutin": {
  23495. "description": "是否可出入金 - 0:不可 1:可",
  23496. "type": "integer"
  23497. },
  23498. "clientroleid": {
  23499. "description": "终端角色ID",
  23500. "type": "integer"
  23501. },
  23502. "haslogined": {
  23503. "description": "是否已登录 - 0:未登录 1:已登录",
  23504. "type": "integer"
  23505. },
  23506. "hasupdatedpwd": {
  23507. "description": "是否已更改密码 - 0:未修改 1:已修改",
  23508. "type": "integer"
  23509. },
  23510. "lastloginip": {
  23511. "description": "最新登录地址",
  23512. "type": "string"
  23513. },
  23514. "lastloginmode": {
  23515. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23516. "type": "integer"
  23517. },
  23518. "lastloginremark": {
  23519. "description": "最新登录描述",
  23520. "type": "string"
  23521. },
  23522. "lastlogintime": {
  23523. "description": "最新登录时间",
  23524. "type": "string"
  23525. },
  23526. "logincode": {
  23527. "description": "登录代码",
  23528. "type": "string"
  23529. },
  23530. "loginfailnum": {
  23531. "description": "连续登录失败次数(登录成功时清零)",
  23532. "type": "integer"
  23533. },
  23534. "loginid": {
  23535. "description": "登陆账号",
  23536. "type": "integer"
  23537. },
  23538. "loginport": {
  23539. "description": "最新登录端口",
  23540. "type": "integer"
  23541. },
  23542. "loginstatus": {
  23543. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  23544. "type": "integer"
  23545. },
  23546. "loginusertype": {
  23547. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  23548. "type": "integer"
  23549. },
  23550. "mobile": {
  23551. "description": "手机号码(加密存储)",
  23552. "type": "string"
  23553. },
  23554. "modifierid": {
  23555. "description": "修改人",
  23556. "type": "integer"
  23557. },
  23558. "modifysrc": {
  23559. "description": "审核来源 - 1:管理端 2:终端",
  23560. "type": "integer"
  23561. },
  23562. "modifytime": {
  23563. "description": "修改时间",
  23564. "type": "string"
  23565. },
  23566. "password": {
  23567. "description": "登陆密码",
  23568. "type": "string"
  23569. },
  23570. "pwdwrongcount": {
  23571. "description": "密码错误次数",
  23572. "type": "integer"
  23573. },
  23574. "relateduserid": {
  23575. "description": "关联用户ID(机构)",
  23576. "type": "integer"
  23577. },
  23578. "taaccountrighttype": {
  23579. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  23580. "type": "integer"
  23581. },
  23582. "unfreezetime": {
  23583. "description": "账户解冻时间",
  23584. "type": "string"
  23585. },
  23586. "userid": {
  23587. "description": "用户ID",
  23588. "type": "integer"
  23589. }
  23590. }
  23591. },
  23592. "models.MainAccountInfo": {
  23593. "type": "object",
  23594. "properties": {
  23595. "accountid": {
  23596. "description": "账号id",
  23597. "type": "integer"
  23598. },
  23599. "accountname": {
  23600. "description": "账号名称(taaccount表中的名称)",
  23601. "type": "string"
  23602. },
  23603. "appid": {
  23604. "description": "AppID",
  23605. "type": "string"
  23606. },
  23607. "authcode": {
  23608. "description": "授权码",
  23609. "type": "string"
  23610. },
  23611. "brokerid": {
  23612. "description": "经纪商id",
  23613. "type": "string"
  23614. },
  23615. "fcid": {
  23616. "description": "期货公司id",
  23617. "type": "integer"
  23618. },
  23619. "fcname": {
  23620. "description": "期货公司代码",
  23621. "type": "string"
  23622. },
  23623. "hedgeaccountcode": {
  23624. "description": "外部账号代码(主账号登录代码)",
  23625. "type": "string"
  23626. },
  23627. "hedgeaccountpwd": {
  23628. "description": "密码",
  23629. "type": "string"
  23630. },
  23631. "ismain": {
  23632. "description": "是否主账号",
  23633. "type": "integer"
  23634. },
  23635. "relateduserid": {
  23636. "description": "关联用户id",
  23637. "type": "integer"
  23638. },
  23639. "userid": {
  23640. "description": "关联用户id",
  23641. "type": "integer"
  23642. }
  23643. }
  23644. },
  23645. "models.Market": {
  23646. "type": "object",
  23647. "required": [
  23648. "marketid",
  23649. "marketstatus",
  23650. "openmethod",
  23651. "reckonpricealgorithm",
  23652. "trademode",
  23653. "tradeproperty"
  23654. ],
  23655. "properties": {
  23656. "auctionwrtype": {
  23657. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  23658. "type": "integer"
  23659. },
  23660. "canacceptquote": {
  23661. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  23662. "type": "integer"
  23663. },
  23664. "cangoodsexercise": {
  23665. "description": "[期权]是否可现货行权- 0:否 1:是",
  23666. "type": "integer"
  23667. },
  23668. "cangoodsexercisetype": {
  23669. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  23670. "type": "integer"
  23671. },
  23672. "canmanualquotestrike": {
  23673. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  23674. "type": "integer"
  23675. },
  23676. "canmutistage": {
  23677. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  23678. "type": "integer"
  23679. },
  23680. "canpreexercise": {
  23681. "description": "[期权]是否可预申报- 0:否 1:是",
  23682. "type": "integer"
  23683. },
  23684. "clearinterval": {
  23685. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  23686. "type": "integer"
  23687. },
  23688. "contracttmp": {
  23689. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  23690. "type": "string"
  23691. },
  23692. "exchareaid": {
  23693. "description": "所属交易所,可以没有",
  23694. "type": "integer"
  23695. },
  23696. "goodstype": {
  23697. "description": "商品类型 - 1:交易商品 2:仓单商品",
  23698. "type": "integer"
  23699. },
  23700. "hasrebate": {
  23701. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  23702. "type": "integer"
  23703. },
  23704. "hastradecredit": {
  23705. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  23706. "type": "integer"
  23707. },
  23708. "haswr": {
  23709. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  23710. "type": "integer"
  23711. },
  23712. "isdeductmargin": {
  23713. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  23714. "type": "integer"
  23715. },
  23716. "isrecordsource": {
  23717. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  23718. "type": "integer"
  23719. },
  23720. "isreleasemargin": {
  23721. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  23722. "type": "integer"
  23723. },
  23724. "marginformula": {
  23725. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23726. "type": "integer"
  23727. },
  23728. "marginformula2": {
  23729. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23730. "type": "integer"
  23731. },
  23732. "marketid": {
  23733. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23734. "type": "integer"
  23735. },
  23736. "marketname": {
  23737. "description": "市场名称",
  23738. "type": "string"
  23739. },
  23740. "marketserviceid": {
  23741. "description": "市场服务ID",
  23742. "type": "integer"
  23743. },
  23744. "marketstatus": {
  23745. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23746. "type": "integer"
  23747. },
  23748. "markettype": {
  23749. "description": "市场类型- 1:非交易服务 2:交易服务",
  23750. "type": "integer"
  23751. },
  23752. "matchermode": {
  23753. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  23754. "type": "integer"
  23755. },
  23756. "openmethod": {
  23757. "description": "开盘模式 - 0 自动 1手动",
  23758. "type": "integer"
  23759. },
  23760. "otcuserid": {
  23761. "description": "场外期权做市商[场外期权]",
  23762. "type": "integer"
  23763. },
  23764. "outersynctime": {
  23765. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  23766. "type": "string"
  23767. },
  23768. "pendingflag": {
  23769. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  23770. "type": "integer"
  23771. },
  23772. "pendingtime": {
  23773. "description": "待开市时间[通道交易-对冲](HH:mm)",
  23774. "type": "string"
  23775. },
  23776. "performancetempid": {
  23777. "description": "履约计划模板ID - 作废",
  23778. "type": "integer"
  23779. },
  23780. "premiumquotemode": {
  23781. "description": "权利金报价方式 - 1:自动 2:手动",
  23782. "type": "integer"
  23783. },
  23784. "rebateratio": {
  23785. "description": "返利比率[竞价式]",
  23786. "type": "number"
  23787. },
  23788. "reckonorder": {
  23789. "description": "结算顺序",
  23790. "type": "integer"
  23791. },
  23792. "reckonpricealgorithm": {
  23793. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  23794. "type": "integer"
  23795. },
  23796. "reckonpriceparam": {
  23797. "description": "结算价参数",
  23798. "type": "integer"
  23799. },
  23800. "reckontime": {
  23801. "description": "结算时间[通道交易-对冲](HH:mm)",
  23802. "type": "string"
  23803. },
  23804. "roleprioritytype": {
  23805. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  23806. "type": "integer"
  23807. },
  23808. "selllistingauditflag": {
  23809. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  23810. "type": "integer"
  23811. },
  23812. "trademarkettype": {
  23813. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  23814. "type": "integer"
  23815. },
  23816. "trademode": {
  23817. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23818. "type": "integer"
  23819. },
  23820. "tradeproperty": {
  23821. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  23822. "type": "integer"
  23823. },
  23824. "tradetype": {
  23825. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  23826. "type": "integer"
  23827. }
  23828. }
  23829. },
  23830. "models.Marketrun": {
  23831. "type": "object",
  23832. "required": [
  23833. "marketid",
  23834. "nexttradedate",
  23835. "reckonflag",
  23836. "runstatus",
  23837. "tradedate",
  23838. "tradedate2"
  23839. ],
  23840. "properties": {
  23841. "afternexttradedate": {
  23842. "description": "下下交易日",
  23843. "type": "string"
  23844. },
  23845. "clearquoteflag": {
  23846. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  23847. "type": "integer"
  23848. },
  23849. "lastreckondate": {
  23850. "description": "最新交易日(结算成功)",
  23851. "type": "string"
  23852. },
  23853. "machinedate": {
  23854. "description": "机器时间",
  23855. "type": "string"
  23856. },
  23857. "manualflag": {
  23858. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  23859. "type": "integer"
  23860. },
  23861. "marketid": {
  23862. "description": "市场ID",
  23863. "type": "integer"
  23864. },
  23865. "nexttradedate": {
  23866. "description": "下一交易日",
  23867. "type": "string"
  23868. },
  23869. "pretradedate": {
  23870. "description": "上一交易日",
  23871. "type": "string"
  23872. },
  23873. "reckonflag": {
  23874. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  23875. "type": "integer"
  23876. },
  23877. "runstatus": {
  23878. "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.今日免清算",
  23879. "type": "integer"
  23880. },
  23881. "sectionid": {
  23882. "description": "时间段号[多时段时用]",
  23883. "type": "integer"
  23884. },
  23885. "tradedate": {
  23886. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  23887. "type": "string"
  23888. },
  23889. "tradedate2": {
  23890. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  23891. "type": "string"
  23892. },
  23893. "updatetime": {
  23894. "description": "更新时间",
  23895. "type": "string"
  23896. }
  23897. }
  23898. },
  23899. "models.Messageboard": {
  23900. "type": "object",
  23901. "required": [
  23902. "messageboardid"
  23903. ],
  23904. "properties": {
  23905. "contactnum": {
  23906. "description": "联系电话",
  23907. "type": "string"
  23908. },
  23909. "createtime": {
  23910. "description": "创建时间",
  23911. "type": "string"
  23912. },
  23913. "message": {
  23914. "description": "留言信息",
  23915. "type": "string"
  23916. },
  23917. "messageboardid": {
  23918. "description": "留言簿ID(SEQ_MessageBoard)",
  23919. "type": "integer"
  23920. },
  23921. "userid": {
  23922. "description": "用户ID",
  23923. "type": "integer"
  23924. }
  23925. }
  23926. },
  23927. "models.MyCoupon": {
  23928. "type": "object",
  23929. "required": [
  23930. "accountid",
  23931. "coupontypeid"
  23932. ],
  23933. "properties": {
  23934. "accountid": {
  23935. "description": "资金账户ID",
  23936. "type": "integer"
  23937. },
  23938. "areauserid": {
  23939. "description": "所属机构",
  23940. "type": "integer"
  23941. },
  23942. "conditionvalue": {
  23943. "description": "条件阈值(可为0)",
  23944. "type": "number"
  23945. },
  23946. "couponcategroy": {
  23947. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  23948. "type": "integer"
  23949. },
  23950. "couponname": {
  23951. "description": "优惠券名称",
  23952. "type": "string"
  23953. },
  23954. "coupontypeid": {
  23955. "description": "优惠券类型ID",
  23956. "type": "string"
  23957. },
  23958. "couponvalue": {
  23959. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23960. "type": "number"
  23961. },
  23962. "curfreezeqty": {
  23963. "description": "期末冻结数量",
  23964. "type": "integer"
  23965. },
  23966. "curqty": {
  23967. "description": "期末数量",
  23968. "type": "integer"
  23969. },
  23970. "isgeneral": {
  23971. "description": "是否通用券 - 0:否 1:是",
  23972. "type": "integer"
  23973. },
  23974. "isunusable": {
  23975. "description": "是否不可用",
  23976. "type": "boolean"
  23977. },
  23978. "limitedflag": {
  23979. "description": "是否指定商品 - 0:不限 1:限制",
  23980. "type": "integer"
  23981. },
  23982. "limitedgoodsids": {
  23983. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  23984. "type": "string"
  23985. },
  23986. "orifreezeqty": {
  23987. "description": "期初冻结数量",
  23988. "type": "integer"
  23989. },
  23990. "oriqty": {
  23991. "description": "期初数量",
  23992. "type": "integer"
  23993. },
  23994. "reasontype": {
  23995. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  23996. "type": "integer"
  23997. },
  23998. "todaydecrease": {
  23999. "description": "今日减少",
  24000. "type": "integer"
  24001. },
  24002. "todayincrease": {
  24003. "description": "今日增加",
  24004. "type": "integer"
  24005. },
  24006. "userid": {
  24007. "description": "用户ID",
  24008. "type": "integer"
  24009. },
  24010. "userscope": {
  24011. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  24012. "type": "string"
  24013. }
  24014. }
  24015. },
  24016. "models.MyCouponHold": {
  24017. "type": "object",
  24018. "required": [
  24019. "couponholdid"
  24020. ],
  24021. "properties": {
  24022. "accountid": {
  24023. "description": "资金账户ID",
  24024. "type": "integer"
  24025. },
  24026. "conditionvalue": {
  24027. "description": "条件阈值(可为0)",
  24028. "type": "number"
  24029. },
  24030. "couponcategroy": {
  24031. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  24032. "type": "integer"
  24033. },
  24034. "couponholdid": {
  24035. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  24036. "type": "string"
  24037. },
  24038. "couponname": {
  24039. "description": "优惠券名称",
  24040. "type": "string"
  24041. },
  24042. "coupontypeid": {
  24043. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  24044. "type": "string"
  24045. },
  24046. "couponvalue": {
  24047. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24048. "type": "number"
  24049. },
  24050. "createtime": {
  24051. "description": "创建时间",
  24052. "type": "string"
  24053. },
  24054. "enddate": {
  24055. "description": "结束日期",
  24056. "type": "string"
  24057. },
  24058. "giveapplyid": {
  24059. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  24060. "type": "integer"
  24061. },
  24062. "holdstatus": {
  24063. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  24064. "type": "integer"
  24065. },
  24066. "isgeneral": {
  24067. "description": "是否通用券 - 0:否 1:是",
  24068. "type": "integer"
  24069. },
  24070. "limitedflag": {
  24071. "description": "是否指定商品 - 0:不限 1:限制",
  24072. "type": "integer"
  24073. },
  24074. "limitedgoodsids": {
  24075. "description": "指定商品IDs[逗号分隔]",
  24076. "type": "string"
  24077. },
  24078. "qty": {
  24079. "description": "数量(按1平铺)",
  24080. "type": "integer"
  24081. },
  24082. "startdate": {
  24083. "description": "开始日期",
  24084. "type": "string"
  24085. },
  24086. "userid": {
  24087. "description": "用户ID",
  24088. "type": "integer"
  24089. },
  24090. "userscope": {
  24091. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  24092. "type": "string"
  24093. }
  24094. }
  24095. },
  24096. "models.MyUsedCoupon": {
  24097. "type": "object",
  24098. "required": [
  24099. "coupontypeid",
  24100. "orderid"
  24101. ],
  24102. "properties": {
  24103. "accountid": {
  24104. "description": "资金账户ID(买方)",
  24105. "type": "integer"
  24106. },
  24107. "conditionvalue": {
  24108. "description": "条件阈值(可为0)",
  24109. "type": "number"
  24110. },
  24111. "couponcategroy": {
  24112. "description": "种类 - 1:现金券 2:折扣券",
  24113. "type": "integer"
  24114. },
  24115. "couponname": {
  24116. "description": "优惠券名称",
  24117. "type": "string"
  24118. },
  24119. "coupontypeid": {
  24120. "description": "优惠券类型ID(买方)",
  24121. "type": "string"
  24122. },
  24123. "couponvalue": {
  24124. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  24125. "type": "number"
  24126. },
  24127. "createtime": {
  24128. "description": "创建时间",
  24129. "type": "string"
  24130. },
  24131. "goodsid": {
  24132. "description": "商品ID",
  24133. "type": "integer"
  24134. },
  24135. "handlestatus": {
  24136. "description": "处理状态",
  24137. "type": "integer"
  24138. },
  24139. "marketid": {
  24140. "description": "市场ID",
  24141. "type": "integer"
  24142. },
  24143. "offamount": {
  24144. "description": "优惠金额",
  24145. "type": "number"
  24146. },
  24147. "orderid": {
  24148. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24149. "type": "string"
  24150. },
  24151. "sellaccountid": {
  24152. "description": "资金账户ID(卖方)",
  24153. "type": "integer"
  24154. },
  24155. "tradeamount": {
  24156. "description": "成交金额",
  24157. "type": "number"
  24158. },
  24159. "tradeid": {
  24160. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24161. "type": "string"
  24162. },
  24163. "usedqty": {
  24164. "description": "使用数量",
  24165. "type": "integer"
  24166. }
  24167. }
  24168. },
  24169. "models.OperationPrimaryMenu": {
  24170. "type": "object",
  24171. "properties": {
  24172. "Children": {
  24173. "description": "二级功能菜单",
  24174. "type": "array",
  24175. "items": {
  24176. "$ref": "#/definitions/models.OperationSecondaryMenu"
  24177. }
  24178. },
  24179. "Key": {
  24180. "description": "菜单KEY",
  24181. "type": "string"
  24182. },
  24183. "Label": {
  24184. "description": "菜单标题",
  24185. "type": "string"
  24186. }
  24187. }
  24188. },
  24189. "models.OperationSecondaryMenu": {
  24190. "type": "object",
  24191. "properties": {
  24192. "Key": {
  24193. "description": "菜单KEY",
  24194. "type": "string"
  24195. },
  24196. "Label": {
  24197. "description": "菜单标题",
  24198. "type": "string"
  24199. },
  24200. "TabList": {
  24201. "description": "三级功能菜单",
  24202. "type": "array",
  24203. "items": {
  24204. "$ref": "#/definitions/models.OperationTabMenu"
  24205. }
  24206. }
  24207. }
  24208. },
  24209. "models.OperationTabMenu": {
  24210. "type": "object",
  24211. "properties": {
  24212. "Key": {
  24213. "description": "菜单KEY",
  24214. "type": "string"
  24215. },
  24216. "Label": {
  24217. "description": "菜单标题",
  24218. "type": "string"
  24219. }
  24220. }
  24221. },
  24222. "models.PendingAuditBizModel": {
  24223. "type": "object",
  24224. "properties": {
  24225. "accountid": {
  24226. "description": "现货账户",
  24227. "type": "string"
  24228. },
  24229. "areaname": {
  24230. "description": "所属部门",
  24231. "type": "string"
  24232. },
  24233. "bizid": {
  24234. "description": "业务ID",
  24235. "type": "string"
  24236. },
  24237. "bizname": {
  24238. "description": "业务名称",
  24239. "type": "string"
  24240. },
  24241. "status": {
  24242. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  24243. "type": "integer"
  24244. },
  24245. "type": {
  24246. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  24247. "type": "integer"
  24248. }
  24249. }
  24250. },
  24251. "models.QhjAccountOutInApply": {
  24252. "type": "object",
  24253. "properties": {
  24254. "accountcode": {
  24255. "description": "资金账号",
  24256. "type": "string"
  24257. },
  24258. "accountname": {
  24259. "description": "用户名称(名称)",
  24260. "type": "string"
  24261. },
  24262. "accountpwd": {
  24263. "description": "资金密码",
  24264. "type": "string"
  24265. },
  24266. "accountticket": {
  24267. "description": "最新账户服务流水号",
  24268. "type": "string"
  24269. },
  24270. "amount": {
  24271. "description": "金额",
  24272. "type": "number"
  24273. },
  24274. "applyremark": {
  24275. "description": "申请备注",
  24276. "type": "string"
  24277. },
  24278. "applystatus": {
  24279. "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: 复审通过,账户冻结金额检查中;",
  24280. "type": "integer"
  24281. },
  24282. "auditid": {
  24283. "description": "审核人",
  24284. "type": "integer"
  24285. },
  24286. "audittime": {
  24287. "description": "审核时间",
  24288. "type": "string"
  24289. },
  24290. "bank_apply_ticket": {
  24291. "description": "银行申请流水",
  24292. "type": "string"
  24293. },
  24294. "bankaccountname": {
  24295. "description": "银行账户名",
  24296. "type": "string"
  24297. },
  24298. "bankaccountno": {
  24299. "description": "银行卡号",
  24300. "type": "string"
  24301. },
  24302. "bankid": {
  24303. "description": "银行编号",
  24304. "type": "string"
  24305. },
  24306. "bankticket": {
  24307. "description": "银行流水",
  24308. "type": "string"
  24309. },
  24310. "branchbankid": {
  24311. "description": "银行支行号",
  24312. "type": "string"
  24313. },
  24314. "branchbankname": {
  24315. "description": "银行支行名称",
  24316. "type": "string"
  24317. },
  24318. "capamountout": {
  24319. "description": "出金(劣后本金) - 外部子账户",
  24320. "type": "number"
  24321. },
  24322. "certificatephotourl": {
  24323. "description": "凭证地址",
  24324. "type": "string"
  24325. },
  24326. "charge": {
  24327. "description": "手续费",
  24328. "type": "number"
  24329. },
  24330. "checkerrorflag": {
  24331. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24332. "type": "integer"
  24333. },
  24334. "currency": {
  24335. "description": "币种",
  24336. "type": "string"
  24337. },
  24338. "cusbankid": {
  24339. "description": "托管银行编号",
  24340. "type": "string"
  24341. },
  24342. "exchticket": {
  24343. "description": "银行服务流水号",
  24344. "type": "string"
  24345. },
  24346. "executetype": {
  24347. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24348. "type": "integer"
  24349. },
  24350. "extendinfo": {
  24351. "description": "扩展信息",
  24352. "type": "string"
  24353. },
  24354. "extoperateid": {
  24355. "description": "交易服务流水号",
  24356. "type": "integer"
  24357. },
  24358. "infamount": {
  24359. "description": "劣后金额(自有)",
  24360. "type": "number"
  24361. },
  24362. "logincode": {
  24363. "description": "登录账号(账号)",
  24364. "type": "string"
  24365. },
  24366. "netaddr": {
  24367. "description": "调转网址",
  24368. "type": "string"
  24369. },
  24370. "priamount": {
  24371. "description": "优先金额(授信)",
  24372. "type": "number"
  24373. },
  24374. "reauditid": {
  24375. "description": "复审人",
  24376. "type": "integer"
  24377. },
  24378. "reauditremark": {
  24379. "description": "复审备注",
  24380. "type": "string"
  24381. },
  24382. "reaudittime": {
  24383. "description": "复审时间",
  24384. "type": "string"
  24385. },
  24386. "relatedorderid": {
  24387. "description": "三方关联ID",
  24388. "type": "string"
  24389. },
  24390. "remark": {
  24391. "description": "备注",
  24392. "type": "string"
  24393. },
  24394. "remark2": {
  24395. "description": "备注(失败原因)",
  24396. "type": "string"
  24397. },
  24398. "soucreamount": {
  24399. "description": "原始出入金金额",
  24400. "type": "number"
  24401. },
  24402. "soucrecurrencyid": {
  24403. "description": "原始出入金币种",
  24404. "type": "integer"
  24405. },
  24406. "tradedate": {
  24407. "description": "交易日(yyyyMMdd)",
  24408. "type": "string"
  24409. },
  24410. "updatetime": {
  24411. "description": "更新时间(申请时间)",
  24412. "type": "string"
  24413. },
  24414. "userid": {
  24415. "description": "用户id",
  24416. "type": "integer"
  24417. },
  24418. "userinfotype": {
  24419. "description": "账户类型 1-个人 2-企业",
  24420. "type": "integer"
  24421. }
  24422. }
  24423. },
  24424. "models.QhjAgreementChangeLog": {
  24425. "type": "object",
  24426. "properties": {
  24427. "agreementcontent": {
  24428. "description": "协议内容",
  24429. "type": "string"
  24430. },
  24431. "agreementfrequency": {
  24432. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24433. "type": "integer"
  24434. },
  24435. "agreementid": {
  24436. "description": "协议ID",
  24437. "type": "integer"
  24438. },
  24439. "agreementname": {
  24440. "description": "协议名称",
  24441. "type": "string"
  24442. },
  24443. "agreementno": {
  24444. "description": "协议编号",
  24445. "type": "string"
  24446. },
  24447. "agreementtype": {
  24448. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24449. "type": "integer"
  24450. },
  24451. "agreementversion": {
  24452. "description": "协议版本号",
  24453. "type": "integer"
  24454. },
  24455. "logid": {
  24456. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  24457. "type": "integer"
  24458. },
  24459. "reviserid": {
  24460. "description": "修改人",
  24461. "type": "integer"
  24462. },
  24463. "revisersrc": {
  24464. "description": "修改来源 - 1:管理端 2:终端",
  24465. "type": "integer"
  24466. },
  24467. "updatetime": {
  24468. "description": "更新时间",
  24469. "type": "string"
  24470. }
  24471. }
  24472. },
  24473. "models.QhjAgreementConfig": {
  24474. "type": "object",
  24475. "properties": {
  24476. "agreementcontent": {
  24477. "description": "协议内容",
  24478. "type": "string"
  24479. },
  24480. "agreementfrequency": {
  24481. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24482. "type": "integer"
  24483. },
  24484. "agreementid": {
  24485. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  24486. "type": "integer"
  24487. },
  24488. "agreementname": {
  24489. "description": "协议名称",
  24490. "type": "string"
  24491. },
  24492. "agreementno": {
  24493. "description": "协议编号",
  24494. "type": "string"
  24495. },
  24496. "agreementtype": {
  24497. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24498. "type": "integer"
  24499. },
  24500. "agreementversion": {
  24501. "description": "协议版本号(从1开始每次修改加1)",
  24502. "type": "integer"
  24503. },
  24504. "createtime": {
  24505. "description": "创建时间",
  24506. "type": "string"
  24507. },
  24508. "creatorid": {
  24509. "description": "创建人",
  24510. "type": "integer"
  24511. },
  24512. "creatorsrc": {
  24513. "description": "创建来源 - 1:管理端 2:终端",
  24514. "type": "integer"
  24515. },
  24516. "isvalid": {
  24517. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  24518. "type": "integer"
  24519. },
  24520. "reviserid": {
  24521. "description": "修改人",
  24522. "type": "integer"
  24523. },
  24524. "revisersrc": {
  24525. "description": "修改来源 - 1:管理端 2:终端",
  24526. "type": "integer"
  24527. },
  24528. "updatetime": {
  24529. "description": "更新时间",
  24530. "type": "string"
  24531. }
  24532. }
  24533. },
  24534. "models.QhjAreaFinanceConfig": {
  24535. "type": "object",
  24536. "properties": {
  24537. "additionalratio": {
  24538. "description": "追加款比例",
  24539. "type": "number"
  24540. },
  24541. "advanceratio": {
  24542. "description": "预付款比例",
  24543. "type": "number"
  24544. },
  24545. "alarmratio": {
  24546. "description": "告警比例",
  24547. "type": "number"
  24548. },
  24549. "consumptiondirectreward": {
  24550. "description": "消费直推奖励值",
  24551. "type": "number"
  24552. },
  24553. "consumptionenabled": {
  24554. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  24555. "type": "integer"
  24556. },
  24557. "consumptionindirectreward": {
  24558. "description": "消费间推奖励值",
  24559. "type": "number"
  24560. },
  24561. "consumptionmodel": {
  24562. "description": "消费奖励方式 - 1:比率 2:固定",
  24563. "type": "integer"
  24564. },
  24565. "customerservicenum": {
  24566. "description": "客服电话",
  24567. "type": "string"
  24568. },
  24569. "dayinterestrate": {
  24570. "description": "日利率",
  24571. "type": "number"
  24572. },
  24573. "disableconsumptiontips": {
  24574. "description": "关闭消费奖励提示",
  24575. "type": "string"
  24576. },
  24577. "modifierid": {
  24578. "description": "修改人ID",
  24579. "type": "integer"
  24580. },
  24581. "modifysrc": {
  24582. "description": "审核来源 - 1:管理端 2:终端",
  24583. "type": "integer"
  24584. },
  24585. "modifytime": {
  24586. "description": "修改时间",
  24587. "type": "string"
  24588. },
  24589. "promotionvalue": {
  24590. "description": "推广奖励值(固定)",
  24591. "type": "number"
  24592. },
  24593. "scoreconfigvalue1": {
  24594. "description": "提货积分配置1",
  24595. "type": "integer"
  24596. },
  24597. "scoreconfigvalue2": {
  24598. "description": "提货积分配置2",
  24599. "type": "integer"
  24600. },
  24601. "userid": {
  24602. "description": "机构用户ID其他做市关系,都设置为 1",
  24603. "type": "integer"
  24604. },
  24605. "username": {
  24606. "description": "用户名称",
  24607. "type": "string"
  24608. }
  24609. }
  24610. },
  24611. "models.QhjBankAccountSign": {
  24612. "type": "object",
  24613. "properties": {
  24614. "accountcode": {
  24615. "description": "资金账号",
  24616. "type": "string"
  24617. },
  24618. "accountname": {
  24619. "description": "资金账号对应的账号名(UserName)",
  24620. "type": "string"
  24621. },
  24622. "accountname2": {
  24623. "description": "资金账号对应的账号名(UserName) - 密文",
  24624. "type": "string"
  24625. },
  24626. "accounttype": {
  24627. "description": "账户类型(UserType)",
  24628. "type": "integer"
  24629. },
  24630. "applicationtime": {
  24631. "description": "最后一次更新的时间",
  24632. "type": "string"
  24633. },
  24634. "applyexchticket": {
  24635. "description": "申请流水",
  24636. "type": "string"
  24637. },
  24638. "auditid": {
  24639. "description": "审核人",
  24640. "type": "integer"
  24641. },
  24642. "audittime": {
  24643. "description": "审核时间",
  24644. "type": "string"
  24645. },
  24646. "bankaccountname": {
  24647. "description": "签约银行卡账号名",
  24648. "type": "string"
  24649. },
  24650. "bankaccountname2": {
  24651. "description": "签约银行卡账号名 - 密文",
  24652. "type": "string"
  24653. },
  24654. "bankaccountno": {
  24655. "description": "银行卡号",
  24656. "type": "string"
  24657. },
  24658. "bankaccountno2": {
  24659. "description": "银行卡号 - 密文",
  24660. "type": "string"
  24661. },
  24662. "bankaccounttype": {
  24663. "description": "银行账户类型 - 1-对私; 2-对公",
  24664. "type": "integer"
  24665. },
  24666. "bankcardtype": {
  24667. "description": "银行卡类型",
  24668. "type": "integer"
  24669. },
  24670. "bankchildaccount": {
  24671. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  24672. "type": "string"
  24673. },
  24674. "bankcity": {
  24675. "description": "开户行城市",
  24676. "type": "string"
  24677. },
  24678. "bankid": {
  24679. "description": "签约银行ID",
  24680. "type": "string"
  24681. },
  24682. "bankname": {
  24683. "description": "签约银行名称",
  24684. "type": "string"
  24685. },
  24686. "bankprovince": {
  24687. "description": "开户行省份",
  24688. "type": "string"
  24689. },
  24690. "branchbankid": {
  24691. "description": "签约银行支行号",
  24692. "type": "string"
  24693. },
  24694. "branchbankname": {
  24695. "description": "签约银行支行名称",
  24696. "type": "string"
  24697. },
  24698. "cardno": {
  24699. "description": "证件号码",
  24700. "type": "string"
  24701. },
  24702. "cardno2": {
  24703. "description": "证件号码 - 密文",
  24704. "type": "string"
  24705. },
  24706. "cardtype": {
  24707. "description": "证件类型",
  24708. "type": "string"
  24709. },
  24710. "currency": {
  24711. "description": "币种",
  24712. "type": "string"
  24713. },
  24714. "cusbankid": {
  24715. "description": "托管银行编号",
  24716. "type": "string"
  24717. },
  24718. "direct": {
  24719. "description": "方向(可以判断那方先发起的签约)",
  24720. "type": "integer"
  24721. },
  24722. "exchticket": {
  24723. "description": "最后一次签约成功的流水号",
  24724. "type": "string"
  24725. },
  24726. "extendinfo": {
  24727. "description": "扩展信息(JSON字符串)",
  24728. "type": "string"
  24729. },
  24730. "mobilephone": {
  24731. "description": "手机号",
  24732. "type": "string"
  24733. },
  24734. "mobilephone2": {
  24735. "description": "手机号 - 密文",
  24736. "type": "string"
  24737. },
  24738. "netaddr": {
  24739. "description": "调转网址",
  24740. "type": "string"
  24741. },
  24742. "relateduserid": {
  24743. "description": "关联使用者userid",
  24744. "type": "integer"
  24745. },
  24746. "signstatus": {
  24747. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  24748. "type": "integer"
  24749. },
  24750. "updatetime": {
  24751. "description": "更新时间(签解约更新时间)",
  24752. "type": "string"
  24753. }
  24754. }
  24755. },
  24756. "models.QhjBankInfo": {
  24757. "type": "object",
  24758. "properties": {
  24759. "bankid": {
  24760. "description": "银行ID",
  24761. "type": "string"
  24762. },
  24763. "bankname": {
  24764. "description": "银行名称",
  24765. "type": "string"
  24766. },
  24767. "clearbankno": {
  24768. "description": "清算系统银行编号",
  24769. "type": "string"
  24770. },
  24771. "orderindex": {
  24772. "description": "排序顺序",
  24773. "type": "integer"
  24774. },
  24775. "status": {
  24776. "description": "状态 - 0:正常 1:注销",
  24777. "type": "integer"
  24778. }
  24779. }
  24780. },
  24781. "models.QhjBrokerApply": {
  24782. "type": "object",
  24783. "properties": {
  24784. "applicantid": {
  24785. "description": "申请人",
  24786. "type": "integer"
  24787. },
  24788. "applysrc": {
  24789. "description": "申请来源 - 1:管理端 2:终端",
  24790. "type": "integer"
  24791. },
  24792. "applystatus": {
  24793. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24794. "type": "integer"
  24795. },
  24796. "applytime": {
  24797. "description": "申请时间",
  24798. "type": "string"
  24799. },
  24800. "auditorid": {
  24801. "description": "审核人",
  24802. "type": "integer"
  24803. },
  24804. "auditremark": {
  24805. "description": "审核备注",
  24806. "type": "string"
  24807. },
  24808. "auditsrc": {
  24809. "description": "审核来源 - 1:管理端 2:终端",
  24810. "type": "integer"
  24811. },
  24812. "audittime": {
  24813. "description": "审核时间",
  24814. "type": "string"
  24815. },
  24816. "audittradedate": {
  24817. "description": "审核交易日(yyyyMMdd)",
  24818. "type": "string"
  24819. },
  24820. "brokerapplyid": {
  24821. "description": "申请ID(SEQ_BROKERAPPLY)",
  24822. "type": "integer"
  24823. },
  24824. "cardbackphotourl": {
  24825. "description": "证件背面图片地址",
  24826. "type": "string"
  24827. },
  24828. "cardfrontphotourl": {
  24829. "description": "证件正面图片地址",
  24830. "type": "string"
  24831. },
  24832. "cardnum": {
  24833. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  24834. "type": "string"
  24835. },
  24836. "customername": {
  24837. "description": "姓名",
  24838. "type": "string"
  24839. },
  24840. "logincode": {
  24841. "description": "登录代码",
  24842. "type": "string"
  24843. },
  24844. "mobile": {
  24845. "description": "手机号码",
  24846. "type": "string"
  24847. },
  24848. "parentuserid": {
  24849. "description": "所属机构id",
  24850. "type": "integer"
  24851. },
  24852. "parentusername": {
  24853. "description": "所属机构名称",
  24854. "type": "string"
  24855. },
  24856. "refereeuserid": {
  24857. "description": "推荐人id(经纪人)",
  24858. "type": "integer"
  24859. },
  24860. "refernum": {
  24861. "description": "推荐码",
  24862. "type": "string"
  24863. },
  24864. "remark": {
  24865. "description": "备注",
  24866. "type": "string"
  24867. },
  24868. "subarealevelpath": {
  24869. "description": "层级路径",
  24870. "type": "string"
  24871. },
  24872. "tradedate": {
  24873. "description": "交易日(yyyyMMdd)",
  24874. "type": "string"
  24875. },
  24876. "userid": {
  24877. "description": "申请人用户ID",
  24878. "type": "integer"
  24879. },
  24880. "userinfotype": {
  24881. "description": "用户类型 1-个人 2-企业",
  24882. "type": "integer"
  24883. },
  24884. "username": {
  24885. "description": "用户名称",
  24886. "type": "string"
  24887. }
  24888. }
  24889. },
  24890. "models.QhjBrokerApplyEx": {
  24891. "type": "object",
  24892. "properties": {
  24893. "applylist": {
  24894. "description": "经纪人申请记录(只返回最新一条)",
  24895. "type": "array",
  24896. "items": {
  24897. "$ref": "#/definitions/models.QhjBrokerApply"
  24898. }
  24899. },
  24900. "canrecommend": {
  24901. "description": "是否经纪人 0-不是 1-是",
  24902. "type": "integer"
  24903. },
  24904. "refernum": {
  24905. "description": "推荐码",
  24906. "type": "string"
  24907. },
  24908. "userid": {
  24909. "description": "用户id",
  24910. "type": "integer"
  24911. },
  24912. "userinfotype": {
  24913. "description": "用户类型 1-个人 2-企业",
  24914. "type": "integer"
  24915. }
  24916. }
  24917. },
  24918. "models.QhjBrokerRewardLog": {
  24919. "type": "object",
  24920. "properties": {
  24921. "accountid": {
  24922. "description": "资金账号ID",
  24923. "type": "integer"
  24924. },
  24925. "createtime": {
  24926. "description": "创建时间(时间)",
  24927. "type": "string"
  24928. },
  24929. "handlestatus": {
  24930. "description": "处理状态",
  24931. "type": "integer"
  24932. },
  24933. "logid": {
  24934. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24935. "type": "string"
  24936. },
  24937. "marketid": {
  24938. "description": "市场ID",
  24939. "type": "integer"
  24940. },
  24941. "mmaccountid": {
  24942. "description": "做市商资金账号ID",
  24943. "type": "string"
  24944. },
  24945. "mmuserid": {
  24946. "description": "做市商用户ID",
  24947. "type": "string"
  24948. },
  24949. "rewardamount": {
  24950. "description": "奖励金额",
  24951. "type": "number"
  24952. },
  24953. "rewardmodel": {
  24954. "description": "消费奖励方式 - 1:比率 2:固定",
  24955. "type": "integer"
  24956. },
  24957. "rewardtype": {
  24958. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  24959. "type": "integer"
  24960. },
  24961. "rewardvalue": {
  24962. "description": "配置奖励值",
  24963. "type": "number"
  24964. },
  24965. "srcamount": {
  24966. "description": "成交金额 [消费奖励] (金额)",
  24967. "type": "number"
  24968. },
  24969. "srcgoodsid": {
  24970. "description": "来源商品ID [消费奖励]",
  24971. "type": "string"
  24972. },
  24973. "srctime": {
  24974. "description": "来源时间 (成交时间) [消费奖励]",
  24975. "type": "string"
  24976. },
  24977. "srctradeid": {
  24978. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  24979. "type": "string"
  24980. },
  24981. "srcuserid": {
  24982. "description": "来源用户ID(推广账户)",
  24983. "type": "string"
  24984. },
  24985. "srcusername": {
  24986. "description": "推广账户名称",
  24987. "type": "string"
  24988. },
  24989. "tradedate": {
  24990. "description": "交易日(yyyyMMdd)",
  24991. "type": "string"
  24992. },
  24993. "userid": {
  24994. "description": "经纪人用户ID",
  24995. "type": "integer"
  24996. }
  24997. }
  24998. },
  24999. "models.QhjContract": {
  25000. "type": "object",
  25001. "properties": {
  25002. "contractconfirmtime": {
  25003. "description": "合同确认时间(时间)",
  25004. "type": "string"
  25005. },
  25006. "currisklevel": {
  25007. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25008. "type": "integer"
  25009. },
  25010. "decimalplace": {
  25011. "description": "商品报价小数位",
  25012. "type": "integer"
  25013. },
  25014. "enumdicname": {
  25015. "description": "单位名称",
  25016. "type": "string"
  25017. },
  25018. "goodscode": {
  25019. "description": "商品代码",
  25020. "type": "string"
  25021. },
  25022. "goodsid": {
  25023. "description": "商品ID [5:融资单]",
  25024. "type": "integer"
  25025. },
  25026. "goodsname": {
  25027. "description": "商品名称",
  25028. "type": "string"
  25029. },
  25030. "goodunitid": {
  25031. "description": "商品单位id",
  25032. "type": "integer"
  25033. },
  25034. "initmargin": {
  25035. "description": "初始保证金(首付款)",
  25036. "type": "number"
  25037. },
  25038. "lenderamount": {
  25039. "description": "贷款金额(总额|订单总额)",
  25040. "type": "number"
  25041. },
  25042. "marginratio": {
  25043. "description": "保证金比率(首付比例)",
  25044. "type": "number"
  25045. },
  25046. "payamount": {
  25047. "description": "已付(已付货款)",
  25048. "type": "number"
  25049. },
  25050. "reckonrecovermargin": {
  25051. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25052. "type": "number"
  25053. },
  25054. "recoveredmargin": {
  25055. "description": "已追缴保证金",
  25056. "type": "number"
  25057. },
  25058. "remainamount": {
  25059. "description": "合同剩余金额(融资额)",
  25060. "type": "number"
  25061. },
  25062. "scfcontractid": {
  25063. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25064. "type": "string"
  25065. },
  25066. "scfcontractstatus": {
  25067. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25068. "type": "integer"
  25069. },
  25070. "scfcontracttype": {
  25071. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25072. "type": "integer"
  25073. },
  25074. "totalinterest": {
  25075. "description": "已计总利息(利息)",
  25076. "type": "number"
  25077. },
  25078. "tradeprice": {
  25079. "description": "成交价格(成本价格)",
  25080. "type": "number"
  25081. },
  25082. "userid": {
  25083. "description": "用户ID",
  25084. "type": "integer"
  25085. },
  25086. "username": {
  25087. "description": "用户名称",
  25088. "type": "string"
  25089. },
  25090. "wrqty": {
  25091. "description": "仓单数量(数量)",
  25092. "type": "number"
  25093. }
  25094. }
  25095. },
  25096. "models.QhjContractLog": {
  25097. "type": "object",
  25098. "properties": {
  25099. "amount": {
  25100. "description": "支付金额",
  25101. "type": "number"
  25102. },
  25103. "amounttype": {
  25104. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  25105. "type": "integer"
  25106. },
  25107. "logid": {
  25108. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25109. "type": "string"
  25110. },
  25111. "remainamount": {
  25112. "description": "剩余货款",
  25113. "type": "number"
  25114. },
  25115. "scfcontractid": {
  25116. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25117. "type": "integer"
  25118. },
  25119. "updatetime": {
  25120. "description": "更新时间",
  25121. "type": "string"
  25122. }
  25123. }
  25124. },
  25125. "models.QhjCusBankSignBankEx": {
  25126. "type": "object",
  25127. "properties": {
  25128. "banklst": {
  25129. "description": "银行列表",
  25130. "type": "array",
  25131. "items": {
  25132. "$ref": "#/definitions/models.QhjBankInfo"
  25133. }
  25134. },
  25135. "canallot": {
  25136. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  25137. "type": "integer"
  25138. },
  25139. "canallotquery": {
  25140. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  25141. "type": "integer"
  25142. },
  25143. "canbindcard": {
  25144. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  25145. "type": "integer"
  25146. },
  25147. "caninamount": {
  25148. "description": "是否可入金 - 0:不可 1:可以",
  25149. "type": "integer"
  25150. },
  25151. "caninamount2": {
  25152. "description": "是否可入金(网银端) - 0:不可 1:可以",
  25153. "type": "integer"
  25154. },
  25155. "canmodifybankcard": {
  25156. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  25157. "type": "integer"
  25158. },
  25159. "canmodifyphone": {
  25160. "description": "是否可修改手机号 - 0:不可 1:可以",
  25161. "type": "integer"
  25162. },
  25163. "canmodifysigninfo": {
  25164. "description": "是否可修改签约信息 - 0:不可 1:可以",
  25165. "type": "integer"
  25166. },
  25167. "canoutamount": {
  25168. "description": "是否可出金 - 0:不可 1:可以",
  25169. "type": "integer"
  25170. },
  25171. "canoutamount2": {
  25172. "description": "是否可出金(网银端) - 0:不可 1:可以",
  25173. "type": "integer"
  25174. },
  25175. "canrelease": {
  25176. "description": "是否可解约 - 0:不可 1:可以",
  25177. "type": "integer"
  25178. },
  25179. "canrelease2": {
  25180. "description": "是否可解约(网银端) - 0:不可 1:可以",
  25181. "type": "integer"
  25182. },
  25183. "cansign": {
  25184. "description": "是否可签约 - 0:不可 1:可以",
  25185. "type": "integer"
  25186. },
  25187. "cansign2": {
  25188. "description": "是否可签约(网银端) - 0:不可 1:可以",
  25189. "type": "integer"
  25190. },
  25191. "currency": {
  25192. "description": "币种",
  25193. "type": "string"
  25194. },
  25195. "cusbankid": {
  25196. "description": "托管银行编号(对应清算中心TRAN_NO)",
  25197. "type": "string"
  25198. },
  25199. "cusbankname": {
  25200. "description": "银行业务名称",
  25201. "type": "string"
  25202. },
  25203. "cusbankshortname": {
  25204. "description": "银行业务简称",
  25205. "type": "string"
  25206. },
  25207. "exchbankid": {
  25208. "description": "交易所开户银行ID",
  25209. "type": "string"
  25210. },
  25211. "exchpaybankaccname": {
  25212. "description": "交易所支出结算账户户名",
  25213. "type": "string"
  25214. },
  25215. "exchpaybankaccno": {
  25216. "description": "交易所支出结算账户",
  25217. "type": "string"
  25218. },
  25219. "isneedcheck": {
  25220. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  25221. "type": "integer"
  25222. },
  25223. "isneedclear": {
  25224. "description": "是否需要清算 - 0:不需要 1:需要",
  25225. "type": "integer"
  25226. },
  25227. "lastcheckstatus": {
  25228. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  25229. "type": "integer"
  25230. },
  25231. "lastchecktime": {
  25232. "description": "最后对账时间",
  25233. "type": "string"
  25234. },
  25235. "lastclearstatus": {
  25236. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  25237. "type": "integer"
  25238. },
  25239. "lastcleartime": {
  25240. "description": "最后清算时间",
  25241. "type": "string"
  25242. },
  25243. "lastsignintime": {
  25244. "description": "最后签到时间",
  25245. "type": "string"
  25246. },
  25247. "lastsignouttime": {
  25248. "description": "最后签退时间",
  25249. "type": "string"
  25250. },
  25251. "riskinfo": {
  25252. "description": "签约风险提示书",
  25253. "type": "string"
  25254. },
  25255. "signstatus": {
  25256. "description": "当前签到/签退状态 - 1:签到 2:签退",
  25257. "type": "integer"
  25258. },
  25259. "tradedate": {
  25260. "description": "交易日(yyyyMMdd)",
  25261. "type": "string"
  25262. },
  25263. "updatetime": {
  25264. "description": "当前签到/签退更新时间",
  25265. "type": "string"
  25266. }
  25267. }
  25268. },
  25269. "models.QhjCustomer": {
  25270. "type": "object",
  25271. "properties": {
  25272. "address": {
  25273. "description": "通讯地址",
  25274. "type": "string"
  25275. },
  25276. "attachment1": {
  25277. "description": "附件1",
  25278. "type": "string"
  25279. },
  25280. "audittime": {
  25281. "description": "审核时间",
  25282. "type": "string"
  25283. },
  25284. "cardbackphotourl": {
  25285. "description": "证件反面图片地址",
  25286. "type": "string"
  25287. },
  25288. "cardfrontphotourl": {
  25289. "description": "证件正面图片地址",
  25290. "type": "string"
  25291. },
  25292. "cardnum": {
  25293. "description": "证件号码",
  25294. "type": "string"
  25295. },
  25296. "cardtype": {
  25297. "description": "证件类型",
  25298. "type": "integer"
  25299. },
  25300. "cardtypename": {
  25301. "description": "证件类型名称",
  25302. "type": "string"
  25303. },
  25304. "cityid": {
  25305. "description": "市",
  25306. "type": "integer"
  25307. },
  25308. "cityname": {
  25309. "description": "城市名称",
  25310. "type": "string"
  25311. },
  25312. "contactname": {
  25313. "description": "联系人",
  25314. "type": "string"
  25315. },
  25316. "countryid": {
  25317. "description": "国家",
  25318. "type": "integer"
  25319. },
  25320. "countryname": {
  25321. "description": "国家名称",
  25322. "type": "string"
  25323. },
  25324. "createtime": {
  25325. "description": "创建时间",
  25326. "type": "string"
  25327. },
  25328. "customername": {
  25329. "description": "客户名称",
  25330. "type": "string"
  25331. },
  25332. "districtid": {
  25333. "description": "区域",
  25334. "type": "integer"
  25335. },
  25336. "districtname": {
  25337. "description": "地区名称",
  25338. "type": "string"
  25339. },
  25340. "email": {
  25341. "description": "邮件",
  25342. "type": "string"
  25343. },
  25344. "legalpersonname": {
  25345. "description": "法人姓名(企业)",
  25346. "type": "string"
  25347. },
  25348. "logincode": {
  25349. "description": "登录账号(代码)",
  25350. "type": "string"
  25351. },
  25352. "memberuserid": {
  25353. "description": "所属机构ID(所属会员)",
  25354. "type": "integer"
  25355. },
  25356. "memberusername": {
  25357. "description": "所属会员名称",
  25358. "type": "string"
  25359. },
  25360. "mobile": {
  25361. "description": "手机号码",
  25362. "type": "string"
  25363. },
  25364. "modifytime": {
  25365. "description": "修改时间",
  25366. "type": "string"
  25367. },
  25368. "nickname": {
  25369. "description": "昵称",
  25370. "type": "string"
  25371. },
  25372. "parentuserid": {
  25373. "description": "上级机构(所属机构)",
  25374. "type": "integer"
  25375. },
  25376. "parentusername": {
  25377. "description": "所属机构名称",
  25378. "type": "string"
  25379. },
  25380. "provinceid": {
  25381. "description": "省",
  25382. "type": "integer"
  25383. },
  25384. "provincename": {
  25385. "description": "省名称",
  25386. "type": "string"
  25387. },
  25388. "proxystatementurl": {
  25389. "description": "授权委托书",
  25390. "type": "string"
  25391. },
  25392. "remark": {
  25393. "description": "备注",
  25394. "type": "string"
  25395. },
  25396. "status": {
  25397. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  25398. "type": "integer"
  25399. },
  25400. "statusdesc": {
  25401. "description": "账户状态中文描述",
  25402. "type": "string"
  25403. },
  25404. "taxpayernum": {
  25405. "description": "纳税人识别号",
  25406. "type": "string"
  25407. },
  25408. "telphone": {
  25409. "description": "联系电话",
  25410. "type": "string"
  25411. },
  25412. "userid": {
  25413. "description": "用户ID",
  25414. "type": "integer"
  25415. },
  25416. "userinfotype": {
  25417. "description": "客户类型 1-个人 2-企业",
  25418. "type": "integer"
  25419. },
  25420. "username": {
  25421. "description": "用户名称",
  25422. "type": "string"
  25423. }
  25424. }
  25425. },
  25426. "models.QhjCustomerSignLog": {
  25427. "type": "object",
  25428. "properties": {
  25429. "agreementcontent": {
  25430. "description": "协议内容",
  25431. "type": "string"
  25432. },
  25433. "agreementid": {
  25434. "description": "协议ID",
  25435. "type": "integer"
  25436. },
  25437. "agreementname": {
  25438. "description": "协议名称",
  25439. "type": "string"
  25440. },
  25441. "agreementno": {
  25442. "description": "协议编号",
  25443. "type": "string"
  25444. },
  25445. "agreementtype": {
  25446. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25447. "type": "integer"
  25448. },
  25449. "agreementversion": {
  25450. "description": "协议版本号",
  25451. "type": "integer"
  25452. },
  25453. "createtime": {
  25454. "description": "创建时间",
  25455. "type": "string"
  25456. },
  25457. "goodscode": {
  25458. "description": "商品代码",
  25459. "type": "string"
  25460. },
  25461. "goodsid": {
  25462. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25463. "type": "integer"
  25464. },
  25465. "goodsname": {
  25466. "description": "商品名称",
  25467. "type": "string"
  25468. },
  25469. "logid": {
  25470. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  25471. "type": "integer"
  25472. },
  25473. "nodetype": {
  25474. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25475. "type": "integer"
  25476. },
  25477. "signadressurl": {
  25478. "description": "签约文件地址",
  25479. "type": "string"
  25480. },
  25481. "signtimestamp": {
  25482. "description": "签约状态时间戳",
  25483. "type": "string"
  25484. },
  25485. "userid": {
  25486. "description": "客户ID",
  25487. "type": "integer"
  25488. },
  25489. "username": {
  25490. "description": "客户名称",
  25491. "type": "string"
  25492. }
  25493. }
  25494. },
  25495. "models.QhjCustomerSignStatus": {
  25496. "type": "object",
  25497. "properties": {
  25498. "createtime": {
  25499. "description": "创建时间",
  25500. "type": "string"
  25501. },
  25502. "goodscode": {
  25503. "description": "商品代码",
  25504. "type": "string"
  25505. },
  25506. "goodsid": {
  25507. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25508. "type": "integer"
  25509. },
  25510. "goodsname": {
  25511. "description": "商品名称",
  25512. "type": "string"
  25513. },
  25514. "nodetype": {
  25515. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  25516. "type": "integer"
  25517. },
  25518. "signtimestamp": {
  25519. "description": "签约状态时间戳",
  25520. "type": "string"
  25521. },
  25522. "tradedate": {
  25523. "description": "创建交易日(yyyyMMdd)",
  25524. "type": "string"
  25525. },
  25526. "updatetime": {
  25527. "description": "更新时间",
  25528. "type": "string"
  25529. },
  25530. "userid": {
  25531. "description": "客户ID",
  25532. "type": "integer"
  25533. },
  25534. "username": {
  25535. "description": "客户名称",
  25536. "type": "string"
  25537. }
  25538. }
  25539. },
  25540. "models.QhjMgrAccountOutInApply": {
  25541. "type": "object",
  25542. "properties": {
  25543. "accountcode": {
  25544. "description": "资金账号",
  25545. "type": "string"
  25546. },
  25547. "accountname": {
  25548. "description": "用户名称(名称)",
  25549. "type": "string"
  25550. },
  25551. "accountpwd": {
  25552. "description": "资金密码",
  25553. "type": "string"
  25554. },
  25555. "accountticket": {
  25556. "description": "最新账户服务流水号",
  25557. "type": "string"
  25558. },
  25559. "amount": {
  25560. "description": "金额",
  25561. "type": "number"
  25562. },
  25563. "applyremark": {
  25564. "description": "申请备注",
  25565. "type": "string"
  25566. },
  25567. "applystatus": {
  25568. "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: 复审通过,账户冻结金额检查中;",
  25569. "type": "integer"
  25570. },
  25571. "auditid": {
  25572. "description": "审核人",
  25573. "type": "integer"
  25574. },
  25575. "audittime": {
  25576. "description": "审核时间",
  25577. "type": "string"
  25578. },
  25579. "bank_apply_ticket": {
  25580. "description": "银行申请流水",
  25581. "type": "string"
  25582. },
  25583. "bankaccountname": {
  25584. "description": "银行账户名",
  25585. "type": "string"
  25586. },
  25587. "bankaccountno": {
  25588. "description": "银行卡号",
  25589. "type": "string"
  25590. },
  25591. "bankid": {
  25592. "description": "银行编号",
  25593. "type": "string"
  25594. },
  25595. "bankname": {
  25596. "description": "银行名称",
  25597. "type": "string"
  25598. },
  25599. "bankticket": {
  25600. "description": "银行流水",
  25601. "type": "string"
  25602. },
  25603. "branchbankid": {
  25604. "description": "银行支行号",
  25605. "type": "string"
  25606. },
  25607. "branchbankname": {
  25608. "description": "银行支行名称",
  25609. "type": "string"
  25610. },
  25611. "capamountout": {
  25612. "description": "出金(劣后本金) - 外部子账户",
  25613. "type": "number"
  25614. },
  25615. "certificatephotourl": {
  25616. "description": "凭证地址",
  25617. "type": "string"
  25618. },
  25619. "charge": {
  25620. "description": "手续费",
  25621. "type": "number"
  25622. },
  25623. "checkerrorflag": {
  25624. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25625. "type": "integer"
  25626. },
  25627. "currency": {
  25628. "description": "币种",
  25629. "type": "string"
  25630. },
  25631. "cusbankid": {
  25632. "description": "托管银行编号",
  25633. "type": "string"
  25634. },
  25635. "exchticket": {
  25636. "description": "银行服务流水号",
  25637. "type": "string"
  25638. },
  25639. "executetype": {
  25640. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25641. "type": "integer"
  25642. },
  25643. "extendinfo": {
  25644. "description": "扩展信息",
  25645. "type": "string"
  25646. },
  25647. "extoperateid": {
  25648. "description": "交易服务流水号",
  25649. "type": "integer"
  25650. },
  25651. "infamount": {
  25652. "description": "劣后金额(自有)",
  25653. "type": "number"
  25654. },
  25655. "logincode": {
  25656. "description": "登录账号(账号)",
  25657. "type": "string"
  25658. },
  25659. "netaddr": {
  25660. "description": "调转网址",
  25661. "type": "string"
  25662. },
  25663. "priamount": {
  25664. "description": "优先金额(授信)",
  25665. "type": "number"
  25666. },
  25667. "reauditid": {
  25668. "description": "复审人",
  25669. "type": "integer"
  25670. },
  25671. "reauditremark": {
  25672. "description": "复审备注",
  25673. "type": "string"
  25674. },
  25675. "reaudittime": {
  25676. "description": "复审时间",
  25677. "type": "string"
  25678. },
  25679. "relatedorderid": {
  25680. "description": "三方关联ID",
  25681. "type": "string"
  25682. },
  25683. "remark": {
  25684. "description": "备注",
  25685. "type": "string"
  25686. },
  25687. "remark2": {
  25688. "description": "备注(失败原因)",
  25689. "type": "string"
  25690. },
  25691. "soucreamount": {
  25692. "description": "原始出入金金额",
  25693. "type": "number"
  25694. },
  25695. "soucrecurrencyid": {
  25696. "description": "原始出入金币种",
  25697. "type": "integer"
  25698. },
  25699. "tradedate": {
  25700. "description": "交易日(yyyyMMdd)",
  25701. "type": "string"
  25702. },
  25703. "updatetime": {
  25704. "description": "更新时间(申请时间)",
  25705. "type": "string"
  25706. },
  25707. "userid": {
  25708. "description": "用户id",
  25709. "type": "integer"
  25710. },
  25711. "userinfotype": {
  25712. "description": "账户类型 1-个人 2-企业",
  25713. "type": "integer"
  25714. }
  25715. }
  25716. },
  25717. "models.QhjMgrBrokerApply": {
  25718. "type": "object",
  25719. "properties": {
  25720. "applicantid": {
  25721. "description": "申请人",
  25722. "type": "integer"
  25723. },
  25724. "applysrc": {
  25725. "description": "申请来源 - 1:管理端 2:终端",
  25726. "type": "integer"
  25727. },
  25728. "applystatus": {
  25729. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25730. "type": "integer"
  25731. },
  25732. "applytime": {
  25733. "description": "申请时间",
  25734. "type": "string"
  25735. },
  25736. "auditorid": {
  25737. "description": "审核人",
  25738. "type": "integer"
  25739. },
  25740. "auditremark": {
  25741. "description": "审核备注",
  25742. "type": "string"
  25743. },
  25744. "auditsrc": {
  25745. "description": "审核来源 - 1:管理端 2:终端",
  25746. "type": "integer"
  25747. },
  25748. "audittime": {
  25749. "description": "审核时间",
  25750. "type": "string"
  25751. },
  25752. "audittradedate": {
  25753. "description": "审核交易日(yyyyMMdd)",
  25754. "type": "string"
  25755. },
  25756. "brokerapplyid": {
  25757. "description": "申请ID(SEQ_BROKERAPPLY)",
  25758. "type": "integer"
  25759. },
  25760. "cardbackphotourl": {
  25761. "description": "证件背面图片地址",
  25762. "type": "string"
  25763. },
  25764. "cardfrontphotourl": {
  25765. "description": "证件正面图片地址",
  25766. "type": "string"
  25767. },
  25768. "cardnum": {
  25769. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25770. "type": "string"
  25771. },
  25772. "customername": {
  25773. "description": "姓名",
  25774. "type": "string"
  25775. },
  25776. "filterstatus": {
  25777. "description": "筛选条件",
  25778. "type": "string"
  25779. },
  25780. "logincode": {
  25781. "description": "登录代码",
  25782. "type": "string"
  25783. },
  25784. "mobile": {
  25785. "description": "手机号码",
  25786. "type": "string"
  25787. },
  25788. "parentuserid": {
  25789. "description": "所属机构id",
  25790. "type": "integer"
  25791. },
  25792. "parentusername": {
  25793. "description": "所属机构名称",
  25794. "type": "string"
  25795. },
  25796. "refereeuserid": {
  25797. "description": "推荐人id(经纪人)",
  25798. "type": "integer"
  25799. },
  25800. "refernum": {
  25801. "description": "推荐码",
  25802. "type": "string"
  25803. },
  25804. "remark": {
  25805. "description": "备注",
  25806. "type": "string"
  25807. },
  25808. "subarealevelpath": {
  25809. "description": "层级路径",
  25810. "type": "string"
  25811. },
  25812. "tradedate": {
  25813. "description": "交易日(yyyyMMdd)",
  25814. "type": "string"
  25815. },
  25816. "userid": {
  25817. "description": "申请人用户ID",
  25818. "type": "integer"
  25819. },
  25820. "userinfotype": {
  25821. "description": "用户类型 1-个人 2-企业",
  25822. "type": "integer"
  25823. },
  25824. "username": {
  25825. "description": "用户名称",
  25826. "type": "string"
  25827. }
  25828. }
  25829. },
  25830. "models.QhjMgrBrokerRewardReport": {
  25831. "type": "object",
  25832. "properties": {
  25833. "createtime": {
  25834. "description": "创建时间(注册时间)",
  25835. "type": "string"
  25836. },
  25837. "cycletime": {
  25838. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  25839. "type": "string"
  25840. },
  25841. "cycletype": {
  25842. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25843. "type": "integer"
  25844. },
  25845. "directtotalnum": {
  25846. "description": "直推总人数【期末】",
  25847. "type": "integer"
  25848. },
  25849. "indirecttotalnum": {
  25850. "description": "间推总人数【期末】",
  25851. "type": "integer"
  25852. },
  25853. "mobile": {
  25854. "description": "电话号码",
  25855. "type": "string"
  25856. },
  25857. "refereeuserid": {
  25858. "description": "推荐人id(经纪人id)",
  25859. "type": "integer"
  25860. },
  25861. "refereeusername": {
  25862. "description": "推荐人名称(经纪人) 上级经纪人名称",
  25863. "type": "string"
  25864. },
  25865. "refernum": {
  25866. "description": "推荐码",
  25867. "type": "string"
  25868. },
  25869. "subarealevelpath": {
  25870. "description": "用户层级路径",
  25871. "type": "string"
  25872. },
  25873. "todayrewardamount": {
  25874. "description": "奖励总金额【汇总】",
  25875. "type": "number"
  25876. },
  25877. "updatetime": {
  25878. "description": "更新时间",
  25879. "type": "string"
  25880. },
  25881. "userid": {
  25882. "description": "经纪人用户ID",
  25883. "type": "integer"
  25884. },
  25885. "userinfotype": {
  25886. "description": "用户类型 1-个人 2-企业",
  25887. "type": "integer"
  25888. },
  25889. "username": {
  25890. "description": "用户名称",
  25891. "type": "string"
  25892. }
  25893. }
  25894. },
  25895. "models.QhjMgrContract": {
  25896. "type": "object",
  25897. "properties": {
  25898. "contractconfirmtime": {
  25899. "description": "合同确认时间(时间)",
  25900. "type": "string"
  25901. },
  25902. "currisklevel": {
  25903. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25904. "type": "integer"
  25905. },
  25906. "decimalplace": {
  25907. "description": "商品报价小数位",
  25908. "type": "integer"
  25909. },
  25910. "enumdicname": {
  25911. "description": "单位名称",
  25912. "type": "string"
  25913. },
  25914. "goodscode": {
  25915. "description": "商品代码",
  25916. "type": "string"
  25917. },
  25918. "goodsid": {
  25919. "description": "商品ID [5:融资单]",
  25920. "type": "integer"
  25921. },
  25922. "goodsname": {
  25923. "description": "商品名称",
  25924. "type": "string"
  25925. },
  25926. "goodunitid": {
  25927. "description": "商品单位id",
  25928. "type": "integer"
  25929. },
  25930. "initmargin": {
  25931. "description": "初始保证金(首付款)",
  25932. "type": "number"
  25933. },
  25934. "lenderamount": {
  25935. "description": "贷款金额(总额|订单总额)",
  25936. "type": "number"
  25937. },
  25938. "logincode": {
  25939. "description": "账号(登录代码)",
  25940. "type": "string"
  25941. },
  25942. "marginratio": {
  25943. "description": "保证金比率(首付比例)",
  25944. "type": "number"
  25945. },
  25946. "mobile": {
  25947. "description": "电话号码(用户资料里的电话)",
  25948. "type": "string"
  25949. },
  25950. "payamount": {
  25951. "description": "已付(已付货款)",
  25952. "type": "number"
  25953. },
  25954. "reckonrecovermargin": {
  25955. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25956. "type": "number"
  25957. },
  25958. "recoveredmargin": {
  25959. "description": "已追缴保证金",
  25960. "type": "number"
  25961. },
  25962. "remainamount": {
  25963. "description": "合同剩余金额(融资额)",
  25964. "type": "number"
  25965. },
  25966. "scfcontractid": {
  25967. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25968. "type": "string"
  25969. },
  25970. "scfcontractstatus": {
  25971. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25972. "type": "integer"
  25973. },
  25974. "scfcontracttype": {
  25975. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25976. "type": "integer"
  25977. },
  25978. "totalinterest": {
  25979. "description": "已计总利息(利息)",
  25980. "type": "number"
  25981. },
  25982. "tradedate": {
  25983. "description": "交易日",
  25984. "type": "string"
  25985. },
  25986. "tradeprice": {
  25987. "description": "成交价格(成本价格)",
  25988. "type": "number"
  25989. },
  25990. "userid": {
  25991. "description": "用户ID",
  25992. "type": "integer"
  25993. },
  25994. "userinfotype": {
  25995. "description": "用户类型 1-个人 2-企业",
  25996. "type": "integer"
  25997. },
  25998. "username": {
  25999. "description": "用户名称",
  26000. "type": "string"
  26001. },
  26002. "wrqty": {
  26003. "description": "仓单数量(数量)",
  26004. "type": "number"
  26005. }
  26006. }
  26007. },
  26008. "models.QhjMgrCustomer": {
  26009. "type": "object",
  26010. "properties": {
  26011. "address": {
  26012. "description": "通讯地址",
  26013. "type": "string"
  26014. },
  26015. "attachment1": {
  26016. "description": "附件1",
  26017. "type": "string"
  26018. },
  26019. "audittime": {
  26020. "description": "审核时间",
  26021. "type": "string"
  26022. },
  26023. "cardbackphotourl": {
  26024. "description": "证件反面图片地址",
  26025. "type": "string"
  26026. },
  26027. "cardfrontphotourl": {
  26028. "description": "证件正面图片地址",
  26029. "type": "string"
  26030. },
  26031. "cardnum": {
  26032. "description": "证件号码",
  26033. "type": "string"
  26034. },
  26035. "cardtype": {
  26036. "description": "证件类型",
  26037. "type": "integer"
  26038. },
  26039. "cardtypename": {
  26040. "description": "证件类型名称",
  26041. "type": "string"
  26042. },
  26043. "cityid": {
  26044. "description": "市",
  26045. "type": "integer"
  26046. },
  26047. "cityname": {
  26048. "description": "城市名称",
  26049. "type": "string"
  26050. },
  26051. "contactname": {
  26052. "description": "联系人",
  26053. "type": "string"
  26054. },
  26055. "countryid": {
  26056. "description": "国家",
  26057. "type": "integer"
  26058. },
  26059. "countryname": {
  26060. "description": "国家名称",
  26061. "type": "string"
  26062. },
  26063. "createtime": {
  26064. "description": "创建时间",
  26065. "type": "string"
  26066. },
  26067. "customername": {
  26068. "description": "客户名称",
  26069. "type": "string"
  26070. },
  26071. "districtid": {
  26072. "description": "区域",
  26073. "type": "integer"
  26074. },
  26075. "districtname": {
  26076. "description": "地区名称",
  26077. "type": "string"
  26078. },
  26079. "email": {
  26080. "description": "邮件",
  26081. "type": "string"
  26082. },
  26083. "legalpersonname": {
  26084. "description": "法人姓名(企业)",
  26085. "type": "string"
  26086. },
  26087. "logincode": {
  26088. "description": "登录账号(代码)",
  26089. "type": "string"
  26090. },
  26091. "memberuserid": {
  26092. "description": "所属机构ID(所属会员)",
  26093. "type": "integer"
  26094. },
  26095. "memberusername": {
  26096. "description": "所属会员名称",
  26097. "type": "string"
  26098. },
  26099. "mobile": {
  26100. "description": "手机号码",
  26101. "type": "string"
  26102. },
  26103. "modifytime": {
  26104. "description": "修改时间",
  26105. "type": "string"
  26106. },
  26107. "nickname": {
  26108. "description": "昵称",
  26109. "type": "string"
  26110. },
  26111. "parentuserid": {
  26112. "description": "上级机构(所属机构)",
  26113. "type": "integer"
  26114. },
  26115. "parentusername": {
  26116. "description": "所属机构名称",
  26117. "type": "string"
  26118. },
  26119. "provinceid": {
  26120. "description": "省",
  26121. "type": "integer"
  26122. },
  26123. "provincename": {
  26124. "description": "省名称",
  26125. "type": "string"
  26126. },
  26127. "proxystatementurl": {
  26128. "description": "授权委托书",
  26129. "type": "string"
  26130. },
  26131. "querytype": {
  26132. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  26133. "type": "integer"
  26134. },
  26135. "remark": {
  26136. "description": "备注",
  26137. "type": "string"
  26138. },
  26139. "status": {
  26140. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26141. "type": "integer"
  26142. },
  26143. "statusdesc": {
  26144. "description": "账户状态中文描述",
  26145. "type": "string"
  26146. },
  26147. "taxpayernum": {
  26148. "description": "纳税人识别号",
  26149. "type": "string"
  26150. },
  26151. "telphone": {
  26152. "description": "联系电话",
  26153. "type": "string"
  26154. },
  26155. "userid": {
  26156. "description": "用户ID",
  26157. "type": "integer"
  26158. },
  26159. "userinfotype": {
  26160. "description": "客户类型 1-个人 2-企业",
  26161. "type": "integer"
  26162. },
  26163. "username": {
  26164. "description": "用户名称",
  26165. "type": "string"
  26166. }
  26167. }
  26168. },
  26169. "models.QhjMgrPickGoods": {
  26170. "type": "object",
  26171. "properties": {
  26172. "enumdicname": {
  26173. "description": "单位名称(提货商品)",
  26174. "type": "string"
  26175. },
  26176. "goodsid": {
  26177. "description": "商品id",
  26178. "type": "integer"
  26179. },
  26180. "imageaddress": {
  26181. "description": "图片",
  26182. "type": "string"
  26183. },
  26184. "modifierid": {
  26185. "description": "修改人",
  26186. "type": "integer"
  26187. },
  26188. "modifiername": {
  26189. "description": "修改人名称",
  26190. "type": "string"
  26191. },
  26192. "modifysrc": {
  26193. "description": "修改来源 - 1:管理端 2:终端",
  26194. "type": "integer"
  26195. },
  26196. "pickupgoodsagreeunit": {
  26197. "description": "合约乘数",
  26198. "type": "number"
  26199. },
  26200. "pickupgoodsdesc": {
  26201. "description": "描述",
  26202. "type": "string"
  26203. },
  26204. "pickupgoodsid": {
  26205. "description": "提货商品ID",
  26206. "type": "string"
  26207. },
  26208. "pickupgoodsname": {
  26209. "description": "提货商品名称",
  26210. "type": "string"
  26211. },
  26212. "pickupgoodsstatus": {
  26213. "description": "状态 - 1:正常 2:停用 3:注销",
  26214. "type": "integer"
  26215. },
  26216. "pickupgoodsunitid": {
  26217. "description": "单位ID",
  26218. "type": "integer"
  26219. },
  26220. "pickupratio": {
  26221. "description": "提货系数",
  26222. "type": "number"
  26223. },
  26224. "preparedays": {
  26225. "description": "备货期(天)",
  26226. "type": "integer"
  26227. },
  26228. "remark": {
  26229. "description": "备注",
  26230. "type": "string"
  26231. },
  26232. "updatetime": {
  26233. "description": "更新时间",
  26234. "type": "string"
  26235. }
  26236. }
  26237. },
  26238. "models.QhjMgrPositionRsp": {
  26239. "type": "object",
  26240. "properties": {
  26241. "accountid": {
  26242. "description": "账号Id",
  26243. "type": "integer"
  26244. },
  26245. "accountname": {
  26246. "description": "用户名称",
  26247. "type": "string"
  26248. },
  26249. "agreeunit": {
  26250. "description": "合约乘数",
  26251. "type": "number"
  26252. },
  26253. "averageprice": {
  26254. "description": "均价",
  26255. "type": "number"
  26256. },
  26257. "avialqty": {
  26258. "description": "可用数量",
  26259. "type": "number"
  26260. },
  26261. "decimalplace": {
  26262. "description": "报价小数位",
  26263. "type": "integer"
  26264. },
  26265. "enumdicname": {
  26266. "description": "单位名称(商品)",
  26267. "type": "string"
  26268. },
  26269. "frozenqty": {
  26270. "description": "冻结数量",
  26271. "type": "number"
  26272. },
  26273. "goodscode": {
  26274. "description": "商品代码(内部)",
  26275. "type": "string"
  26276. },
  26277. "goodsid": {
  26278. "description": "商品Id",
  26279. "type": "integer"
  26280. },
  26281. "goodsname": {
  26282. "description": "商品名称",
  26283. "type": "string"
  26284. },
  26285. "goodunitid": {
  26286. "description": "报价单位ID",
  26287. "type": "integer"
  26288. },
  26289. "holderamount": {
  26290. "description": "金额",
  26291. "type": "number"
  26292. },
  26293. "holderqty": {
  26294. "description": "持有数量",
  26295. "type": "number"
  26296. },
  26297. "holdertype": {
  26298. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  26299. "type": "integer"
  26300. },
  26301. "logincode": {
  26302. "description": "登录代码(账户)",
  26303. "type": "string"
  26304. },
  26305. "marketid": {
  26306. "description": "市场id",
  26307. "type": "integer"
  26308. },
  26309. "qtydecimalplace": {
  26310. "description": "成交量小数位",
  26311. "type": "integer"
  26312. },
  26313. "trademode": {
  26314. "description": "交易模式",
  26315. "type": "integer"
  26316. },
  26317. "userid": {
  26318. "description": "用户id",
  26319. "type": "integer"
  26320. },
  26321. "userinfotype": {
  26322. "description": "账户类型 1-个人 2-企业",
  26323. "type": "integer"
  26324. }
  26325. }
  26326. },
  26327. "models.QhjMgrSubArea": {
  26328. "type": "object",
  26329. "properties": {
  26330. "accountname": {
  26331. "description": "账户名称(机构名称)",
  26332. "type": "string"
  26333. },
  26334. "memberuserid": {
  26335. "description": "所属会员ID",
  26336. "type": "integer"
  26337. },
  26338. "parenttopuser": {
  26339. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26340. "type": "string"
  26341. },
  26342. "parentuserid": {
  26343. "description": "所属机构ID",
  26344. "type": "integer"
  26345. },
  26346. "rootuserid": {
  26347. "description": "根用户ID",
  26348. "type": "string"
  26349. },
  26350. "subaccountlevel": {
  26351. "description": "子账户层数",
  26352. "type": "integer"
  26353. },
  26354. "subarealevelpath": {
  26355. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26356. "type": "string"
  26357. },
  26358. "userid": {
  26359. "description": "用户ID",
  26360. "type": "integer"
  26361. },
  26362. "usertype": {
  26363. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26364. "type": "integer"
  26365. }
  26366. }
  26367. },
  26368. "models.QhjMgrTradeDetailRsp": {
  26369. "type": "object",
  26370. "properties": {
  26371. "accountid": {
  26372. "description": "资金账号",
  26373. "type": "integer"
  26374. },
  26375. "accountname": {
  26376. "description": "用户名称",
  26377. "type": "string"
  26378. },
  26379. "agreeunit": {
  26380. "description": "合约乘数",
  26381. "type": "number"
  26382. },
  26383. "buyorsell": {
  26384. "description": "成交类型(方向) 0:买 1:卖",
  26385. "type": "integer"
  26386. },
  26387. "decimalplace": {
  26388. "description": "报价小数位",
  26389. "type": "integer"
  26390. },
  26391. "enumdicname": {
  26392. "description": "单位名称(商品)",
  26393. "type": "string"
  26394. },
  26395. "goodscode": {
  26396. "description": "商品代码(内部)",
  26397. "type": "string"
  26398. },
  26399. "goodsid": {
  26400. "description": "商品id",
  26401. "type": "integer"
  26402. },
  26403. "goodsname": {
  26404. "description": "商品名称",
  26405. "type": "string"
  26406. },
  26407. "goodunitid": {
  26408. "description": "报价单位ID",
  26409. "type": "integer"
  26410. },
  26411. "logincode": {
  26412. "description": "登录代码(账户)",
  26413. "type": "string"
  26414. },
  26415. "marketid": {
  26416. "description": "市场id",
  26417. "type": "integer"
  26418. },
  26419. "orderid": {
  26420. "description": "关联委托单号",
  26421. "type": "string"
  26422. },
  26423. "qtydecimalplace": {
  26424. "description": "成交量小数位",
  26425. "type": "integer"
  26426. },
  26427. "tradeamount": {
  26428. "description": "金额",
  26429. "type": "number"
  26430. },
  26431. "tradedate": {
  26432. "description": "交易日",
  26433. "type": "string"
  26434. },
  26435. "tradeid": {
  26436. "description": "成交单号",
  26437. "type": "string"
  26438. },
  26439. "trademode": {
  26440. "description": "交易模式",
  26441. "type": "integer"
  26442. },
  26443. "tradeprice": {
  26444. "description": "价格",
  26445. "type": "number"
  26446. },
  26447. "tradeqty": {
  26448. "description": "数量",
  26449. "type": "number"
  26450. },
  26451. "tradetime": {
  26452. "description": "成交时间",
  26453. "type": "string"
  26454. },
  26455. "userid": {
  26456. "description": "用户id",
  26457. "type": "integer"
  26458. },
  26459. "userinfotype": {
  26460. "description": "账户类型 1-个人 2-企业",
  26461. "type": "integer"
  26462. }
  26463. }
  26464. },
  26465. "models.QhjMgrTradeOrderDetailRsp": {
  26466. "type": "object",
  26467. "properties": {
  26468. "accountid": {
  26469. "description": "资金账号",
  26470. "type": "integer"
  26471. },
  26472. "accountname": {
  26473. "description": "用户名称",
  26474. "type": "string"
  26475. },
  26476. "agreeunit": {
  26477. "description": "合约乘数",
  26478. "type": "number"
  26479. },
  26480. "amount": {
  26481. "description": "金额",
  26482. "type": "number"
  26483. },
  26484. "decimalplace": {
  26485. "description": "报价小数位",
  26486. "type": "integer"
  26487. },
  26488. "enumdicname": {
  26489. "description": "单位名称(商品)",
  26490. "type": "string"
  26491. },
  26492. "goodscode": {
  26493. "description": "商品代码(内部)",
  26494. "type": "string"
  26495. },
  26496. "goodsid": {
  26497. "description": "商品id",
  26498. "type": "integer"
  26499. },
  26500. "goodsname": {
  26501. "description": "商品名称",
  26502. "type": "string"
  26503. },
  26504. "goodunitid": {
  26505. "description": "报价单位ID",
  26506. "type": "integer"
  26507. },
  26508. "logincode": {
  26509. "description": "登录代码(账户)",
  26510. "type": "string"
  26511. },
  26512. "marketid": {
  26513. "description": "市场id",
  26514. "type": "integer"
  26515. },
  26516. "orderid": {
  26517. "description": "关联委托单号",
  26518. "type": "string"
  26519. },
  26520. "orderprice": {
  26521. "description": "价格",
  26522. "type": "number"
  26523. },
  26524. "orderqty": {
  26525. "description": "数量",
  26526. "type": "number"
  26527. },
  26528. "orderstatus": {
  26529. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26530. "type": "integer"
  26531. },
  26532. "ordertime": {
  26533. "description": "委托时间",
  26534. "type": "string"
  26535. },
  26536. "qtydecimalplace": {
  26537. "description": "成交量小数位",
  26538. "type": "integer"
  26539. },
  26540. "tradedate": {
  26541. "description": "交易日",
  26542. "type": "string"
  26543. },
  26544. "trademode": {
  26545. "description": "交易模式",
  26546. "type": "integer"
  26547. },
  26548. "userid": {
  26549. "description": "用户id",
  26550. "type": "integer"
  26551. },
  26552. "userinfotype": {
  26553. "description": "账户类型 1-个人 2-企业",
  26554. "type": "integer"
  26555. }
  26556. }
  26557. },
  26558. "models.QhjMgrTradePayOrder": {
  26559. "type": "object",
  26560. "properties": {
  26561. "accountname": {
  26562. "description": "用户名称",
  26563. "type": "string"
  26564. },
  26565. "advanceratio": {
  26566. "description": "首付比率",
  26567. "type": "number"
  26568. },
  26569. "agreeunit": {
  26570. "description": "合约乘数",
  26571. "type": "number"
  26572. },
  26573. "buyaccountid": {
  26574. "description": "买方账号ID[报价币种]",
  26575. "type": "integer"
  26576. },
  26577. "buyorderid": {
  26578. "description": "买方委托单号(关联单号)",
  26579. "type": "string"
  26580. },
  26581. "createtime": {
  26582. "description": "创建时间",
  26583. "type": "string"
  26584. },
  26585. "decimalplace": {
  26586. "description": "报价小数位",
  26587. "type": "integer"
  26588. },
  26589. "enumdicname": {
  26590. "description": "单位名称(商品)",
  26591. "type": "string"
  26592. },
  26593. "goodscode": {
  26594. "description": "商品代码(内部)",
  26595. "type": "string"
  26596. },
  26597. "goodsid": {
  26598. "description": "商品ID",
  26599. "type": "integer"
  26600. },
  26601. "goodsname": {
  26602. "description": "商品名称",
  26603. "type": "string"
  26604. },
  26605. "goodunitid": {
  26606. "description": "报价单位ID",
  26607. "type": "integer"
  26608. },
  26609. "logincode": {
  26610. "description": "登录代码(账户)",
  26611. "type": "string"
  26612. },
  26613. "marketid": {
  26614. "description": "市场id",
  26615. "type": "integer"
  26616. },
  26617. "offamount": {
  26618. "description": "优惠金额",
  26619. "type": "number"
  26620. },
  26621. "operatetype": {
  26622. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26623. "type": "integer"
  26624. },
  26625. "payamount": {
  26626. "description": "支付金额(金额)",
  26627. "type": "number"
  26628. },
  26629. "payflag": {
  26630. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26631. "type": "integer"
  26632. },
  26633. "paylimitedtime": {
  26634. "description": "支付期限",
  26635. "type": "string"
  26636. },
  26637. "paytime": {
  26638. "description": "付款时间",
  26639. "type": "string"
  26640. },
  26641. "qtydecimalplace": {
  26642. "description": "成交量小数位",
  26643. "type": "integer"
  26644. },
  26645. "sellaccountid": {
  26646. "description": "卖方账号ID[报价币种]",
  26647. "type": "integer"
  26648. },
  26649. "sellorderid": {
  26650. "description": "卖方委托单号",
  26651. "type": "string"
  26652. },
  26653. "tradeamount": {
  26654. "description": "成交金额(优惠后金额)",
  26655. "type": "number"
  26656. },
  26657. "tradecharge": {
  26658. "description": "成交手续费(买方)",
  26659. "type": "number"
  26660. },
  26661. "tradedate": {
  26662. "description": "交易日(yyyyMMdd)",
  26663. "type": "string"
  26664. },
  26665. "tradeid": {
  26666. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26667. "type": "string"
  26668. },
  26669. "trademode": {
  26670. "description": "交易模式",
  26671. "type": "integer"
  26672. },
  26673. "tradeprice": {
  26674. "description": "成交价格(价格)",
  26675. "type": "number"
  26676. },
  26677. "tradeqty": {
  26678. "description": "成交数量(数量)",
  26679. "type": "number"
  26680. },
  26681. "tradetime": {
  26682. "description": "成交时间",
  26683. "type": "string"
  26684. },
  26685. "userid": {
  26686. "description": "用户id",
  26687. "type": "integer"
  26688. },
  26689. "userinfotype": {
  26690. "description": "账户类型 1-个人 2-企业",
  26691. "type": "integer"
  26692. }
  26693. }
  26694. },
  26695. "models.QhjMyTeamEx": {
  26696. "type": "object",
  26697. "properties": {
  26698. "accountname": {
  26699. "description": "用户名称",
  26700. "type": "string"
  26701. },
  26702. "accountstatus": {
  26703. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26704. "type": "integer"
  26705. },
  26706. "createtime": {
  26707. "description": "创建时间",
  26708. "type": "string"
  26709. },
  26710. "mobile": {
  26711. "description": "手机号码",
  26712. "type": "string"
  26713. },
  26714. "refereeuserid": {
  26715. "description": "推荐人id",
  26716. "type": "integer"
  26717. },
  26718. "refernum": {
  26719. "description": "推荐码",
  26720. "type": "string"
  26721. },
  26722. "subList": {
  26723. "type": "array",
  26724. "items": {
  26725. "$ref": "#/definitions/models.QhjMyTeamEx"
  26726. }
  26727. },
  26728. "userid": {
  26729. "description": "用户id",
  26730. "type": "integer"
  26731. },
  26732. "userinfotype": {
  26733. "description": "用户类型 1-个人 2-企业",
  26734. "type": "integer"
  26735. }
  26736. }
  26737. },
  26738. "models.QhjNodeAgreementConfig": {
  26739. "type": "object",
  26740. "properties": {
  26741. "agreementcontent": {
  26742. "description": "协议内容",
  26743. "type": "string"
  26744. },
  26745. "agreementid": {
  26746. "description": "协议ID",
  26747. "type": "integer"
  26748. },
  26749. "agreementname": {
  26750. "description": "协议名称",
  26751. "type": "string"
  26752. },
  26753. "agreementno": {
  26754. "description": "协议编号",
  26755. "type": "string"
  26756. },
  26757. "agreementtype": {
  26758. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26759. "type": "integer"
  26760. },
  26761. "agreementversion": {
  26762. "description": "协议版本号",
  26763. "type": "integer"
  26764. },
  26765. "configid": {
  26766. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  26767. "type": "integer"
  26768. },
  26769. "createtime": {
  26770. "description": "创建时间",
  26771. "type": "string"
  26772. },
  26773. "goodsid": {
  26774. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26775. "type": "integer"
  26776. },
  26777. "nodetype": {
  26778. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26779. "type": "integer"
  26780. }
  26781. }
  26782. },
  26783. "models.QhjParentAreaList": {
  26784. "type": "object",
  26785. "properties": {
  26786. "accountname": {
  26787. "description": "账户名称(机构名称)",
  26788. "type": "string"
  26789. },
  26790. "userid": {
  26791. "description": "用户ID",
  26792. "type": "integer"
  26793. },
  26794. "usertype": {
  26795. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26796. "type": "integer"
  26797. }
  26798. }
  26799. },
  26800. "models.QhjPayOrder": {
  26801. "type": "object",
  26802. "properties": {
  26803. "advanceratio": {
  26804. "description": "首付比率",
  26805. "type": "number"
  26806. },
  26807. "buyaccountid": {
  26808. "description": "买方账号ID[报价币种]",
  26809. "type": "integer"
  26810. },
  26811. "buyorderid": {
  26812. "description": "买方委托单号",
  26813. "type": "string"
  26814. },
  26815. "createtime": {
  26816. "description": "创建时间",
  26817. "type": "string"
  26818. },
  26819. "decimalplace": {
  26820. "description": "商品报价小数位",
  26821. "type": "integer"
  26822. },
  26823. "enumdicname": {
  26824. "description": "单位名称",
  26825. "type": "string"
  26826. },
  26827. "goodscode": {
  26828. "description": "商品代码",
  26829. "type": "string"
  26830. },
  26831. "goodsid": {
  26832. "description": "商品ID",
  26833. "type": "integer"
  26834. },
  26835. "goodsname": {
  26836. "description": "商品名称",
  26837. "type": "string"
  26838. },
  26839. "goodunitid": {
  26840. "description": "商品单位id",
  26841. "type": "integer"
  26842. },
  26843. "marketid": {
  26844. "description": "市场ID",
  26845. "type": "integer"
  26846. },
  26847. "offamount": {
  26848. "description": "优惠金额",
  26849. "type": "number"
  26850. },
  26851. "operatetype": {
  26852. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26853. "type": "integer"
  26854. },
  26855. "payamount": {
  26856. "description": "支付金额",
  26857. "type": "number"
  26858. },
  26859. "payflag": {
  26860. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26861. "type": "integer"
  26862. },
  26863. "paylimitedtime": {
  26864. "description": "支付期限",
  26865. "type": "string"
  26866. },
  26867. "paytime": {
  26868. "description": "付款时间",
  26869. "type": "string"
  26870. },
  26871. "qtydecimalplace": {
  26872. "description": "成交量小数位",
  26873. "type": "integer"
  26874. },
  26875. "sellaccountid": {
  26876. "description": "卖方账号ID[报价币种]",
  26877. "type": "integer"
  26878. },
  26879. "sellorderid": {
  26880. "description": "卖方委托单号",
  26881. "type": "string"
  26882. },
  26883. "tradeamount": {
  26884. "description": "成交金额(优惠后金额)",
  26885. "type": "number"
  26886. },
  26887. "tradecharge": {
  26888. "description": "成交手续费(买方)",
  26889. "type": "number"
  26890. },
  26891. "tradedate": {
  26892. "description": "交易日(yyyyMMdd)",
  26893. "type": "string"
  26894. },
  26895. "tradeid": {
  26896. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26897. "type": "string"
  26898. },
  26899. "tradeprice": {
  26900. "description": "成交价格",
  26901. "type": "number"
  26902. },
  26903. "tradeqty": {
  26904. "description": "成交数量",
  26905. "type": "number"
  26906. }
  26907. }
  26908. },
  26909. "models.QhjPickArea": {
  26910. "type": "object",
  26911. "properties": {
  26912. "address": {
  26913. "description": "详细地址",
  26914. "type": "string"
  26915. },
  26916. "cityid": {
  26917. "description": "市",
  26918. "type": "integer"
  26919. },
  26920. "cityname": {
  26921. "description": "城市名称",
  26922. "type": "string"
  26923. },
  26924. "countryid": {
  26925. "description": "国家",
  26926. "type": "integer"
  26927. },
  26928. "countryname": {
  26929. "description": "国家名称",
  26930. "type": "string"
  26931. },
  26932. "districtid": {
  26933. "description": "地区",
  26934. "type": "integer"
  26935. },
  26936. "districtname": {
  26937. "description": "地区名称",
  26938. "type": "string"
  26939. },
  26940. "fromuserid": {
  26941. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  26942. "type": "integer"
  26943. },
  26944. "fromusername": {
  26945. "description": "所属机构名称",
  26946. "type": "string"
  26947. },
  26948. "provinceid": {
  26949. "description": "省",
  26950. "type": "integer"
  26951. },
  26952. "provincename": {
  26953. "description": "省名称",
  26954. "type": "string"
  26955. },
  26956. "suborgtype": {
  26957. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  26958. "type": "integer"
  26959. },
  26960. "userid": {
  26961. "description": "机构用户ID 其他做市关系,都设置为 1",
  26962. "type": "integer"
  26963. },
  26964. "username": {
  26965. "description": "机构用户名称(门店门称)",
  26966. "type": "string"
  26967. }
  26968. }
  26969. },
  26970. "models.QhjPickGoods": {
  26971. "type": "object",
  26972. "properties": {
  26973. "enumdicname": {
  26974. "description": "单位名称(提货商品)",
  26975. "type": "string"
  26976. },
  26977. "goodsid": {
  26978. "description": "商品id",
  26979. "type": "integer"
  26980. },
  26981. "imageaddress": {
  26982. "description": "图片",
  26983. "type": "string"
  26984. },
  26985. "modifierid": {
  26986. "description": "修改人",
  26987. "type": "integer"
  26988. },
  26989. "modifiername": {
  26990. "description": "修改人名称",
  26991. "type": "string"
  26992. },
  26993. "modifysrc": {
  26994. "description": "修改来源 - 1:管理端 2:终端",
  26995. "type": "integer"
  26996. },
  26997. "pickupgoodsagreeunit": {
  26998. "description": "合约乘数",
  26999. "type": "number"
  27000. },
  27001. "pickupgoodsdesc": {
  27002. "description": "描述",
  27003. "type": "string"
  27004. },
  27005. "pickupgoodsid": {
  27006. "description": "提货商品ID",
  27007. "type": "string"
  27008. },
  27009. "pickupgoodsname": {
  27010. "description": "提货商品名称",
  27011. "type": "string"
  27012. },
  27013. "pickupgoodsstatus": {
  27014. "description": "状态 - 1:正常 2:停用 3:注销",
  27015. "type": "integer"
  27016. },
  27017. "pickupgoodsunitid": {
  27018. "description": "单位ID",
  27019. "type": "integer"
  27020. },
  27021. "pickupratio": {
  27022. "description": "提货系数",
  27023. "type": "number"
  27024. },
  27025. "preparedays": {
  27026. "description": "备货期(天)",
  27027. "type": "integer"
  27028. },
  27029. "remark": {
  27030. "description": "备注",
  27031. "type": "string"
  27032. },
  27033. "updatetime": {
  27034. "description": "更新时间",
  27035. "type": "string"
  27036. }
  27037. }
  27038. },
  27039. "models.QhjRSTriggerLog": {
  27040. "type": "object",
  27041. "properties": {
  27042. "accountid": {
  27043. "description": "用户资金账户",
  27044. "type": "integer"
  27045. },
  27046. "accountname": {
  27047. "description": "账号名称(ACCOUNTID对应的名称)",
  27048. "type": "string"
  27049. },
  27050. "currencyid": {
  27051. "description": "币种id",
  27052. "type": "integer"
  27053. },
  27054. "currencyname": {
  27055. "description": "币种名称",
  27056. "type": "string"
  27057. },
  27058. "decimalplace": {
  27059. "description": "商品报价小数位",
  27060. "type": "integer"
  27061. },
  27062. "enumdicname": {
  27063. "description": "单位名称",
  27064. "type": "string"
  27065. },
  27066. "goodscode": {
  27067. "description": "定投商品代码",
  27068. "type": "string"
  27069. },
  27070. "goodsid": {
  27071. "description": "定投商品ID",
  27072. "type": "integer"
  27073. },
  27074. "goodsname": {
  27075. "description": "定投商品名称",
  27076. "type": "string"
  27077. },
  27078. "goodunitid": {
  27079. "description": "定投商品单位id",
  27080. "type": "integer"
  27081. },
  27082. "logid": {
  27083. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  27084. "type": "string"
  27085. },
  27086. "logincode": {
  27087. "description": "账号(登录代码)",
  27088. "type": "string"
  27089. },
  27090. "qtydecimalplace": {
  27091. "description": "成交量小数位",
  27092. "type": "integer"
  27093. },
  27094. "regularlycycle": {
  27095. "description": "定投频率 - 1:每周 2:每月",
  27096. "type": "integer"
  27097. },
  27098. "regularlycyclevalue": {
  27099. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27100. "type": "string"
  27101. },
  27102. "regularlymode": {
  27103. "description": "定投方式 - 1:按数量 2:按金额",
  27104. "type": "integer"
  27105. },
  27106. "regularlymodevalue": {
  27107. "description": "定投方式值 - 数量或金额",
  27108. "type": "number"
  27109. },
  27110. "regularlystrategyid": {
  27111. "description": "定投策略ID",
  27112. "type": "integer"
  27113. },
  27114. "retcode": {
  27115. "description": "错误码",
  27116. "type": "string"
  27117. },
  27118. "tradeid": {
  27119. "description": "成交单ID",
  27120. "type": "string"
  27121. },
  27122. "triggeramount": {
  27123. "description": "触发金额",
  27124. "type": "number"
  27125. },
  27126. "triggerqty": {
  27127. "description": "触发数量",
  27128. "type": "number"
  27129. },
  27130. "triggerstatus": {
  27131. "description": "触发状态 - 1:成功 2:失败",
  27132. "type": "integer"
  27133. },
  27134. "triggertime": {
  27135. "description": "触发时间",
  27136. "type": "string"
  27137. },
  27138. "triggertradedate": {
  27139. "description": "触发交易日",
  27140. "type": "string"
  27141. },
  27142. "userid": {
  27143. "description": "所属用户ID",
  27144. "type": "integer"
  27145. },
  27146. "userinfotype": {
  27147. "description": "用户类型 1-个人 2-企业",
  27148. "type": "integer"
  27149. },
  27150. "username": {
  27151. "description": "用户名称(userid对应的名称)",
  27152. "type": "string"
  27153. }
  27154. }
  27155. },
  27156. "models.QhjRStrategy": {
  27157. "type": "object",
  27158. "properties": {
  27159. "accountid": {
  27160. "description": "用户资金账户",
  27161. "type": "integer"
  27162. },
  27163. "accountname": {
  27164. "description": "账号名称(ACCOUNTID对应的名称)",
  27165. "type": "string"
  27166. },
  27167. "currencyid": {
  27168. "description": "币种id",
  27169. "type": "integer"
  27170. },
  27171. "currencyname": {
  27172. "description": "币种名称",
  27173. "type": "string"
  27174. },
  27175. "decimalplace": {
  27176. "description": "商品报价小数位",
  27177. "type": "integer"
  27178. },
  27179. "enumdicname": {
  27180. "description": "单位名称",
  27181. "type": "string"
  27182. },
  27183. "goodscode": {
  27184. "description": "定投商品代码",
  27185. "type": "string"
  27186. },
  27187. "goodsid": {
  27188. "description": "定投商品ID",
  27189. "type": "integer"
  27190. },
  27191. "goodsname": {
  27192. "description": "定投商品名称",
  27193. "type": "string"
  27194. },
  27195. "goodunitid": {
  27196. "description": "定投商品单位id",
  27197. "type": "integer"
  27198. },
  27199. "lasteffecttradedate": {
  27200. "description": "最新生效交易日",
  27201. "type": "string"
  27202. },
  27203. "laststoptradedate": {
  27204. "description": "最新暂停交易日",
  27205. "type": "string"
  27206. },
  27207. "lasttriggertradedate": {
  27208. "description": "最新触发交易日",
  27209. "type": "string"
  27210. },
  27211. "logincode": {
  27212. "description": "账号(登录代码)",
  27213. "type": "string"
  27214. },
  27215. "nexttriggeramount": {
  27216. "description": "下次触发金额",
  27217. "type": "number"
  27218. },
  27219. "nexttriggerdate": {
  27220. "description": "下次触发日期",
  27221. "type": "string"
  27222. },
  27223. "nexttriggerqty": {
  27224. "description": "下次触发数量 [按小数位放大值]",
  27225. "type": "number"
  27226. },
  27227. "qtydecimalplace": {
  27228. "description": "成交量小数位",
  27229. "type": "integer"
  27230. },
  27231. "regularlycycle": {
  27232. "description": "定投频率 - 1:每周 2:每月",
  27233. "type": "integer"
  27234. },
  27235. "regularlycyclevalue": {
  27236. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27237. "type": "string"
  27238. },
  27239. "regularlymode": {
  27240. "description": "定投方式 - 1:按数量 2:按金额",
  27241. "type": "integer"
  27242. },
  27243. "regularlymodevalue": {
  27244. "description": "定投方式值 - 数量或金额",
  27245. "type": "number"
  27246. },
  27247. "regularlystrategyid": {
  27248. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  27249. "type": "integer"
  27250. },
  27251. "regularlystrategystatus": {
  27252. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  27253. "type": "integer"
  27254. },
  27255. "remark": {
  27256. "description": "备注",
  27257. "type": "string"
  27258. },
  27259. "triggersuccesstimes": {
  27260. "description": "累计定投成功次数",
  27261. "type": "string"
  27262. },
  27263. "triggertotalamount": {
  27264. "description": "累计定投金额(成功)",
  27265. "type": "number"
  27266. },
  27267. "triggertotalqty": {
  27268. "description": "累计定投数量(成功) [按小数位放大值]",
  27269. "type": "number"
  27270. },
  27271. "triggertotaltimes": {
  27272. "description": "累计定投总次数",
  27273. "type": "string"
  27274. },
  27275. "updatesrc": {
  27276. "description": "更新来源 - 1:管理端 2:终端",
  27277. "type": "integer"
  27278. },
  27279. "updatetime": {
  27280. "description": "更新时间",
  27281. "type": "string"
  27282. },
  27283. "updatorid": {
  27284. "description": "更新人",
  27285. "type": "string"
  27286. },
  27287. "userid": {
  27288. "description": "所属用户ID",
  27289. "type": "integer"
  27290. },
  27291. "userinfotype": {
  27292. "description": "用户类型 1-个人 2-企业",
  27293. "type": "integer"
  27294. },
  27295. "username": {
  27296. "description": "用户名称(userid对应的名称)",
  27297. "type": "string"
  27298. }
  27299. }
  27300. },
  27301. "models.QhjReckonPriceLog": {
  27302. "type": "object",
  27303. "properties": {
  27304. "decimalplace": {
  27305. "description": "商品报价小数位",
  27306. "type": "integer"
  27307. },
  27308. "goodscode": {
  27309. "description": "商品代码",
  27310. "type": "string"
  27311. },
  27312. "goodsid": {
  27313. "description": "商品ID",
  27314. "type": "integer"
  27315. },
  27316. "goodsname": {
  27317. "description": "商品名称",
  27318. "type": "string"
  27319. },
  27320. "lastreckonprice": {
  27321. "description": "上日结算价",
  27322. "type": "number"
  27323. },
  27324. "nextdnlimitprice": {
  27325. "description": "下个交易日跌停价",
  27326. "type": "number"
  27327. },
  27328. "nexttrade": {
  27329. "description": "下个交易日",
  27330. "type": "string"
  27331. },
  27332. "nextuplimitprice": {
  27333. "description": "下个交易日涨停价",
  27334. "type": "number"
  27335. },
  27336. "reckonprice": {
  27337. "description": "今日结算价(定投价)",
  27338. "type": "number"
  27339. },
  27340. "reckontime": {
  27341. "description": "结算时间",
  27342. "type": "string"
  27343. },
  27344. "totalholderqty": {
  27345. "description": "总持仓数",
  27346. "type": "integer"
  27347. },
  27348. "totalstock": {
  27349. "description": "总库存",
  27350. "type": "integer"
  27351. },
  27352. "tradedate": {
  27353. "description": "交易日",
  27354. "type": "string"
  27355. },
  27356. "updowncount": {
  27357. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  27358. "type": "integer"
  27359. },
  27360. "updownflag": {
  27361. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  27362. "type": "integer"
  27363. },
  27364. "updownrate": {
  27365. "description": "今日涨跌幅",
  27366. "type": "number"
  27367. },
  27368. "updownrate_2d": {
  27369. "description": "连续两日涨跌幅",
  27370. "type": "number"
  27371. },
  27372. "updownrate_3d": {
  27373. "description": "连续三日涨跌幅",
  27374. "type": "number"
  27375. }
  27376. }
  27377. },
  27378. "models.QhjScoreLog": {
  27379. "type": "object",
  27380. "properties": {
  27381. "accountid": {
  27382. "description": "账户ID",
  27383. "type": "integer"
  27384. },
  27385. "createtime": {
  27386. "description": "创建时间(时间)",
  27387. "type": "string"
  27388. },
  27389. "goodsid": {
  27390. "description": "商品ID",
  27391. "type": "integer"
  27392. },
  27393. "hasuploaded": {
  27394. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  27395. "type": "integer"
  27396. },
  27397. "logid": {
  27398. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27399. "type": "string"
  27400. },
  27401. "marketid": {
  27402. "description": "市场ID",
  27403. "type": "integer"
  27404. },
  27405. "relatedamount": {
  27406. "description": "关联金额",
  27407. "type": "number"
  27408. },
  27409. "relatedorderid": {
  27410. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  27411. "type": "string"
  27412. },
  27413. "scoreconfigvalue1": {
  27414. "description": "积分配置1",
  27415. "type": "integer"
  27416. },
  27417. "scoreconfigvalue2": {
  27418. "description": "积分配置1",
  27419. "type": "integer"
  27420. },
  27421. "scoretype": {
  27422. "description": "积分类型 - 1:提货积分",
  27423. "type": "integer"
  27424. },
  27425. "scorevalue": {
  27426. "description": "积分",
  27427. "type": "number"
  27428. },
  27429. "tradedate": {
  27430. "description": "交易日(yyyyMMdd)",
  27431. "type": "string"
  27432. },
  27433. "uploadedtime": {
  27434. "description": "同步时间",
  27435. "type": "string"
  27436. },
  27437. "userid": {
  27438. "description": "用户ID",
  27439. "type": "integer"
  27440. }
  27441. }
  27442. },
  27443. "models.QhjSiteColumnDetail": {
  27444. "type": "object",
  27445. "properties": {
  27446. "author": {
  27447. "description": "作者",
  27448. "type": "string"
  27449. },
  27450. "brief": {
  27451. "description": "简介",
  27452. "type": "string"
  27453. },
  27454. "columnid": {
  27455. "description": "所属栏目",
  27456. "type": "integer"
  27457. },
  27458. "context": {
  27459. "description": "内容",
  27460. "type": "string"
  27461. },
  27462. "coverimage": {
  27463. "description": "封面图片",
  27464. "type": "string"
  27465. },
  27466. "creaedate": {
  27467. "description": "创建时间",
  27468. "type": "string"
  27469. },
  27470. "creatorid": {
  27471. "description": "创建人",
  27472. "type": "integer"
  27473. },
  27474. "hits": {
  27475. "description": "点击数",
  27476. "type": "integer"
  27477. },
  27478. "id": {
  27479. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  27480. "type": "integer"
  27481. },
  27482. "isshow": {
  27483. "description": "是否展示 - 0:不展示 1:展示",
  27484. "type": "integer"
  27485. },
  27486. "istop": {
  27487. "description": "是否置顶 - 0:不置 1:置顶",
  27488. "type": "integer"
  27489. },
  27490. "modifierid": {
  27491. "description": "操作人",
  27492. "type": "integer"
  27493. },
  27494. "publishdate": {
  27495. "description": "发布日期",
  27496. "type": "string"
  27497. },
  27498. "status": {
  27499. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  27500. "type": "integer"
  27501. },
  27502. "title": {
  27503. "description": "标题",
  27504. "type": "string"
  27505. },
  27506. "updatedate": {
  27507. "description": "修改时间",
  27508. "type": "string"
  27509. },
  27510. "userid": {
  27511. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  27512. "type": "integer"
  27513. },
  27514. "username": {
  27515. "description": "用户名称",
  27516. "type": "string"
  27517. }
  27518. }
  27519. },
  27520. "models.QhjTeamOrder": {
  27521. "type": "object",
  27522. "properties": {
  27523. "accountid": {
  27524. "description": "账户ID[报价币种]",
  27525. "type": "integer"
  27526. },
  27527. "accountname": {
  27528. "description": "账户名称",
  27529. "type": "string"
  27530. },
  27531. "agreeunit": {
  27532. "description": "合约乘数",
  27533. "type": "number"
  27534. },
  27535. "buyorsell": {
  27536. "description": "方向 - 0:买 1:卖",
  27537. "type": "integer"
  27538. },
  27539. "decimalplace": {
  27540. "description": "报价小数位",
  27541. "type": "integer"
  27542. },
  27543. "enumdicname": {
  27544. "description": "单位名称",
  27545. "type": "string"
  27546. },
  27547. "goodscode": {
  27548. "description": "商品代码(内部)",
  27549. "type": "string"
  27550. },
  27551. "goodsid": {
  27552. "description": "商品ID",
  27553. "type": "integer"
  27554. },
  27555. "goodsname": {
  27556. "description": "商品名称",
  27557. "type": "string"
  27558. },
  27559. "goodunitid": {
  27560. "description": "报价单位ID",
  27561. "type": "integer"
  27562. },
  27563. "marketid": {
  27564. "description": "市场ID",
  27565. "type": "integer"
  27566. },
  27567. "marketname": {
  27568. "description": "市场名称",
  27569. "type": "string"
  27570. },
  27571. "qtydecimalplace": {
  27572. "description": "成交量小数位",
  27573. "type": "integer"
  27574. },
  27575. "refereeuserid": {
  27576. "description": "推荐人ID",
  27577. "type": "integer"
  27578. },
  27579. "tradeamount": {
  27580. "description": "成交金额[账户币种,用于所有权]",
  27581. "type": "number"
  27582. },
  27583. "tradedate": {
  27584. "description": "交易日(yyyyMMdd)",
  27585. "type": "string"
  27586. },
  27587. "trademode": {
  27588. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27589. "type": "integer"
  27590. },
  27591. "tradeprice": {
  27592. "description": "成交价格",
  27593. "type": "number"
  27594. },
  27595. "tradeqty": {
  27596. "description": "成交数量",
  27597. "type": "number"
  27598. },
  27599. "tradetime": {
  27600. "description": "成交时间",
  27601. "type": "string"
  27602. },
  27603. "userid": {
  27604. "description": "用户ID",
  27605. "type": "integer"
  27606. }
  27607. }
  27608. },
  27609. "models.QhjTradeGoodsPickup": {
  27610. "type": "object",
  27611. "properties": {
  27612. "accountid": {
  27613. "description": "账户ID",
  27614. "type": "integer"
  27615. },
  27616. "address": {
  27617. "description": "提货人详细地址",
  27618. "type": "string"
  27619. },
  27620. "amount": {
  27621. "description": "提货金额",
  27622. "type": "number"
  27623. },
  27624. "artradedate": {
  27625. "description": "自动收货交易日(yyyyMMdd)",
  27626. "type": "string"
  27627. },
  27628. "auditer": {
  27629. "description": "审核人",
  27630. "type": "integer"
  27631. },
  27632. "auditsrc": {
  27633. "description": "更新来源 - 1:管理端 2:终端",
  27634. "type": "integer"
  27635. },
  27636. "audittime": {
  27637. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  27638. "type": "string"
  27639. },
  27640. "audittradedate": {
  27641. "description": "审核交易日(yyyyMMdd)",
  27642. "type": "string"
  27643. },
  27644. "cardnum": {
  27645. "description": "提货人证件号码",
  27646. "type": "string"
  27647. },
  27648. "cardtypeid": {
  27649. "description": "提货人证件类型",
  27650. "type": "integer"
  27651. },
  27652. "checkremark": {
  27653. "description": "审核备注",
  27654. "type": "string"
  27655. },
  27656. "cityid": {
  27657. "description": "市",
  27658. "type": "integer"
  27659. },
  27660. "cityname": {
  27661. "description": "城市名称",
  27662. "type": "string"
  27663. },
  27664. "confirmtime": {
  27665. "description": "取货时间 或 收货时间",
  27666. "type": "string"
  27667. },
  27668. "countryid": {
  27669. "description": "国家",
  27670. "type": "integer"
  27671. },
  27672. "countryname": {
  27673. "description": "国家名称",
  27674. "type": "string"
  27675. },
  27676. "decimalplace": {
  27677. "description": "商品报价小数位",
  27678. "type": "integer"
  27679. },
  27680. "districtid": {
  27681. "description": "地区",
  27682. "type": "integer"
  27683. },
  27684. "districtname": {
  27685. "description": "地区名称",
  27686. "type": "string"
  27687. },
  27688. "enumdicname": {
  27689. "description": "单位名称(提货商品)",
  27690. "type": "string"
  27691. },
  27692. "expresscompany": {
  27693. "description": "物流公司",
  27694. "type": "string"
  27695. },
  27696. "expressnum": {
  27697. "description": "物流单号",
  27698. "type": "string"
  27699. },
  27700. "goodsagreeunit": {
  27701. "description": "交易商品乘数",
  27702. "type": "number"
  27703. },
  27704. "goodscode": {
  27705. "description": "商品代码",
  27706. "type": "string"
  27707. },
  27708. "goodsid": {
  27709. "description": "商品ID",
  27710. "type": "integer"
  27711. },
  27712. "goodsname": {
  27713. "description": "商品名称",
  27714. "type": "string"
  27715. },
  27716. "goodsqty": {
  27717. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  27718. "type": "number"
  27719. },
  27720. "handlestatus": {
  27721. "description": "处理状态",
  27722. "type": "integer"
  27723. },
  27724. "logincode": {
  27725. "description": "账号(登录代码, 有可能为空)",
  27726. "type": "string"
  27727. },
  27728. "marketid": {
  27729. "description": "市场ID",
  27730. "type": "integer"
  27731. },
  27732. "phonenum": {
  27733. "description": "提货人联系方式",
  27734. "type": "string"
  27735. },
  27736. "pickupgoodsagreeunit": {
  27737. "description": "提货商品合约乘数",
  27738. "type": "number"
  27739. },
  27740. "pickupgoodsid": {
  27741. "description": "提货商品ID",
  27742. "type": "string"
  27743. },
  27744. "pickupgoodsname": {
  27745. "description": "提货商品名称",
  27746. "type": "string"
  27747. },
  27748. "pickupgoodsqty": {
  27749. "description": "提货商品手数(数量)",
  27750. "type": "number"
  27751. },
  27752. "pickupgoodsunitid": {
  27753. "description": "单位ID(提货商品)",
  27754. "type": "integer"
  27755. },
  27756. "pickupratio": {
  27757. "description": "提货系数",
  27758. "type": "number"
  27759. },
  27760. "preparedays": {
  27761. "description": "备货期(天)-提货单明细表",
  27762. "type": "integer"
  27763. },
  27764. "provinceid": {
  27765. "description": "省",
  27766. "type": "integer"
  27767. },
  27768. "provincename": {
  27769. "description": "省名称",
  27770. "type": "string"
  27771. },
  27772. "qty": {
  27773. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  27774. "type": "number"
  27775. },
  27776. "qtydecimalplace": {
  27777. "description": "商品数量小数位",
  27778. "type": "integer"
  27779. },
  27780. "recivername": {
  27781. "description": "提货人姓名",
  27782. "type": "string"
  27783. },
  27784. "reqtime": {
  27785. "description": "提货申请时间",
  27786. "type": "string"
  27787. },
  27788. "storeuserid": {
  27789. "description": "门店用户ID (千海金)",
  27790. "type": "integer"
  27791. },
  27792. "storeusername": {
  27793. "description": "门店用户名称",
  27794. "type": "string"
  27795. },
  27796. "takemode": {
  27797. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  27798. "type": "integer"
  27799. },
  27800. "takeorderid": {
  27801. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27802. "type": "string"
  27803. },
  27804. "takeorderstatus": {
  27805. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  27806. "type": "integer"
  27807. },
  27808. "takeremark": {
  27809. "description": "提货备注",
  27810. "type": "string"
  27811. },
  27812. "tradedate": {
  27813. "description": "交易日(yyyyMMdd)",
  27814. "type": "string"
  27815. },
  27816. "updatetime": {
  27817. "description": "更新时间",
  27818. "type": "string"
  27819. },
  27820. "userid": {
  27821. "description": "用户ID",
  27822. "type": "integer"
  27823. },
  27824. "userinfotype": {
  27825. "description": "客户类型 1-个人 2-企业",
  27826. "type": "integer"
  27827. },
  27828. "username": {
  27829. "description": "用户名称",
  27830. "type": "string"
  27831. }
  27832. }
  27833. },
  27834. "models.QhjUserNodeCfgAndStatus": {
  27835. "type": "object",
  27836. "properties": {
  27837. "agreementcontent": {
  27838. "description": "协议内容",
  27839. "type": "string"
  27840. },
  27841. "agreementid": {
  27842. "description": "协议ID",
  27843. "type": "integer"
  27844. },
  27845. "agreementname": {
  27846. "description": "协议名称",
  27847. "type": "string"
  27848. },
  27849. "agreementno": {
  27850. "description": "协议编号",
  27851. "type": "string"
  27852. },
  27853. "agreementtype": {
  27854. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27855. "type": "integer"
  27856. },
  27857. "agreementversion": {
  27858. "description": "协议版本号",
  27859. "type": "integer"
  27860. },
  27861. "configid": {
  27862. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27863. "type": "integer"
  27864. },
  27865. "createtime": {
  27866. "description": "创建时间",
  27867. "type": "string"
  27868. },
  27869. "goodsid": {
  27870. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27871. "type": "integer"
  27872. },
  27873. "nodetype": {
  27874. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27875. "type": "integer"
  27876. },
  27877. "signtimestamp": {
  27878. "description": "签约状态时间戳(最近一次)",
  27879. "type": "string"
  27880. },
  27881. "tradedate": {
  27882. "description": "签约交易日(yyyyMMdd)",
  27883. "type": "string"
  27884. },
  27885. "userid": {
  27886. "description": "客户ID",
  27887. "type": "integer"
  27888. }
  27889. }
  27890. },
  27891. "models.Qhjgoodsex": {
  27892. "type": "object",
  27893. "properties": {
  27894. "canfinance": {
  27895. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  27896. "type": "integer"
  27897. },
  27898. "canregularlybuy": {
  27899. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  27900. "type": "integer"
  27901. },
  27902. "defaulttradeuserid": {
  27903. "description": "默认交易用户ID",
  27904. "type": "integer"
  27905. },
  27906. "deliverygoodsid": {
  27907. "description": "现货品种ID",
  27908. "type": "integer"
  27909. },
  27910. "goodsid": {
  27911. "description": "商品ID(自增ID SEQ_GOODS)",
  27912. "type": "integer"
  27913. },
  27914. "minamount": {
  27915. "description": "最小购买金额",
  27916. "type": "number"
  27917. },
  27918. "regularlybuyminamount": {
  27919. "description": "定投最小金额",
  27920. "type": "number"
  27921. },
  27922. "regularlybuyminqty": {
  27923. "description": "定投最小数量",
  27924. "type": "number"
  27925. },
  27926. "spotgoodsbrandid": {
  27927. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  27928. "type": "integer"
  27929. },
  27930. "visibilityforenterprise": {
  27931. "description": "企业客户是否可见 - 0:不可见 1:可见",
  27932. "type": "integer"
  27933. },
  27934. "visibilityforpersonal": {
  27935. "description": "个人客户是否可见 - 0:不可见 1:可见",
  27936. "type": "integer"
  27937. },
  27938. "wrstandardid": {
  27939. "description": "现货商品ID",
  27940. "type": "integer"
  27941. }
  27942. }
  27943. },
  27944. "models.QueryErrorInfosRsp": {
  27945. "type": "object",
  27946. "required": [
  27947. "errorid"
  27948. ],
  27949. "properties": {
  27950. "description": {
  27951. "description": "异常描述",
  27952. "type": "string"
  27953. },
  27954. "errorcode": {
  27955. "description": "异常代码",
  27956. "type": "string"
  27957. },
  27958. "errorid": {
  27959. "description": "异常ID",
  27960. "type": "integer"
  27961. },
  27962. "modulecode": {
  27963. "description": "所属模块",
  27964. "type": "string"
  27965. },
  27966. "operatecode": {
  27967. "description": "所属操作",
  27968. "type": "string"
  27969. },
  27970. "rownumber": {
  27971. "description": "行号",
  27972. "type": "string"
  27973. }
  27974. }
  27975. },
  27976. "models.QueryHedgeOrderDetailRsp": {
  27977. "type": "object",
  27978. "properties": {
  27979. "accountid": {
  27980. "description": "账户ID",
  27981. "type": "integer"
  27982. },
  27983. "buyorsell": {
  27984. "description": "买卖 - 0:买 1:卖",
  27985. "type": "integer"
  27986. },
  27987. "cancellogincode": {
  27988. "description": "撤单人",
  27989. "type": "string"
  27990. },
  27991. "channelbuildtype": {
  27992. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  27993. "type": "integer"
  27994. },
  27995. "channelinnerorderstatus": {
  27996. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  27997. "type": "integer"
  27998. },
  27999. "channeloperatetype": {
  28000. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  28001. "type": "integer"
  28002. },
  28003. "closetype": {
  28004. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28005. "type": "integer"
  28006. },
  28007. "curexchangerate": {
  28008. "description": "当前汇率",
  28009. "type": "number"
  28010. },
  28011. "exchangefullname": {
  28012. "description": "外部交易所全称",
  28013. "type": "string"
  28014. },
  28015. "goodscode": {
  28016. "description": "商品代码(内部)",
  28017. "type": "string"
  28018. },
  28019. "goodsid": {
  28020. "description": "商品ID",
  28021. "type": "integer"
  28022. },
  28023. "goodsname": {
  28024. "description": "商品名称",
  28025. "type": "string"
  28026. },
  28027. "marketid": {
  28028. "description": "市场ID",
  28029. "type": "integer"
  28030. },
  28031. "openfreezemargin": {
  28032. "description": "冻结保证金(冻结交易金额)",
  28033. "type": "number"
  28034. },
  28035. "orderid": {
  28036. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28037. "type": "string"
  28038. },
  28039. "orderlogincode": {
  28040. "description": "委托人",
  28041. "type": "string"
  28042. },
  28043. "orderprice": {
  28044. "description": "委托价格(账户)",
  28045. "type": "number"
  28046. },
  28047. "orderqty": {
  28048. "description": "委托数量",
  28049. "type": "integer"
  28050. },
  28051. "ordertime": {
  28052. "description": "委托时间",
  28053. "type": "string"
  28054. },
  28055. "pricemode": {
  28056. "description": "取价方式 - 1:市价 2: 限价",
  28057. "type": "integer"
  28058. },
  28059. "tradedate": {
  28060. "description": "交易日(yyyyMMdd)",
  28061. "type": "string"
  28062. },
  28063. "tradeqty": {
  28064. "description": "成交数量",
  28065. "type": "integer"
  28066. }
  28067. }
  28068. },
  28069. "models.QueryHedgeTradeDetailRsp": {
  28070. "type": "object",
  28071. "properties": {
  28072. "accountid": {
  28073. "description": "账号ID",
  28074. "type": "integer"
  28075. },
  28076. "buyorsell": {
  28077. "description": "方向 - 0:买 1:卖",
  28078. "type": "integer"
  28079. },
  28080. "channelbuildtype": {
  28081. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28082. "type": "integer"
  28083. },
  28084. "closecharge": {
  28085. "description": "平仓手续费(账户)",
  28086. "type": "number"
  28087. },
  28088. "closecharge2": {
  28089. "description": "平仓手续费(商品)",
  28090. "type": "number"
  28091. },
  28092. "closepl": {
  28093. "description": "平仓盈亏(账户)",
  28094. "type": "number"
  28095. },
  28096. "closepl2": {
  28097. "description": "平仓盈亏(商品)",
  28098. "type": "number"
  28099. },
  28100. "closepl3": {
  28101. "description": "平仓盈亏(账户)(逐笔)",
  28102. "type": "number"
  28103. },
  28104. "closepl4": {
  28105. "description": "平仓盈亏(商品)(逐笔)",
  28106. "type": "number"
  28107. },
  28108. "closetype": {
  28109. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28110. "type": "integer"
  28111. },
  28112. "curexchangerate": {
  28113. "description": "当前汇率",
  28114. "type": "number"
  28115. },
  28116. "exchangefullname": {
  28117. "description": "外部交易所全称",
  28118. "type": "string"
  28119. },
  28120. "goodscode": {
  28121. "description": "商品代码(内部)",
  28122. "type": "string"
  28123. },
  28124. "goodsid": {
  28125. "description": "商品ID",
  28126. "type": "integer"
  28127. },
  28128. "goodsname": {
  28129. "description": "商品名称",
  28130. "type": "string"
  28131. },
  28132. "marketid": {
  28133. "description": "市场ID",
  28134. "type": "integer"
  28135. },
  28136. "opencharge": {
  28137. "description": "建仓手续费(账户)",
  28138. "type": "number"
  28139. },
  28140. "opencharge2": {
  28141. "description": "建仓手续费(商品)",
  28142. "type": "number"
  28143. },
  28144. "orderid": {
  28145. "description": "委托单号",
  28146. "type": "string"
  28147. },
  28148. "orderlogincode": {
  28149. "description": "委托人",
  28150. "type": "string"
  28151. },
  28152. "tradeamount": {
  28153. "description": "成交金额(账户)",
  28154. "type": "number"
  28155. },
  28156. "tradedate": {
  28157. "description": "交易日(yyyyMMdd)",
  28158. "type": "string"
  28159. },
  28160. "tradeid": {
  28161. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28162. "type": "string"
  28163. },
  28164. "tradeprice": {
  28165. "description": "成交价格",
  28166. "type": "number"
  28167. },
  28168. "tradeqty": {
  28169. "description": "成交数量",
  28170. "type": "integer"
  28171. },
  28172. "tradetime": {
  28173. "description": "成交时间",
  28174. "type": "string"
  28175. },
  28176. "tradetype": {
  28177. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  28178. "type": "integer"
  28179. }
  28180. }
  28181. },
  28182. "models.QuotePrimaryMenu": {
  28183. "type": "object",
  28184. "properties": {
  28185. "Index": {
  28186. "description": "序号",
  28187. "type": "integer"
  28188. },
  28189. "Key": {
  28190. "description": "键名",
  28191. "type": "string"
  28192. },
  28193. "Name": {
  28194. "description": "菜单名称",
  28195. "type": "string"
  28196. },
  28197. "SubMenus": {
  28198. "description": "子菜单",
  28199. "type": "array",
  28200. "items": {
  28201. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  28202. }
  28203. },
  28204. "SubTitleType": {
  28205. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  28206. "type": "integer"
  28207. },
  28208. "TradeModes": {
  28209. "description": "包含市场交易类型",
  28210. "type": "string"
  28211. }
  28212. }
  28213. },
  28214. "models.QuoteSecondaryMenu": {
  28215. "type": "object",
  28216. "properties": {
  28217. "ExExchangeCode": {
  28218. "description": "外部交易所代码",
  28219. "type": "string"
  28220. },
  28221. "ExExchangeID": {
  28222. "description": "外部交易所ID",
  28223. "type": "integer"
  28224. },
  28225. "GoodsGroupIDs": {
  28226. "description": "商品组ID列表",
  28227. "type": "array",
  28228. "items": {
  28229. "type": "integer"
  28230. }
  28231. },
  28232. "Index": {
  28233. "description": "序号",
  28234. "type": "integer"
  28235. },
  28236. "MarketID": {
  28237. "description": "市场ID",
  28238. "type": "integer"
  28239. },
  28240. "MenuTitle": {
  28241. "description": "菜单标题(市场名称或外部交易所名称)",
  28242. "type": "string"
  28243. },
  28244. "TradeMode": {
  28245. "description": "交易模式",
  28246. "type": "integer"
  28247. }
  28248. }
  28249. },
  28250. "models.RoleMenu": {
  28251. "type": "object",
  28252. "properties": {
  28253. "hasright": {
  28254. "description": "是否有权限 0-没有权限 1-有权限",
  28255. "type": "integer"
  28256. },
  28257. "iconame": {
  28258. "description": "菜单图标",
  28259. "type": "string"
  28260. },
  28261. "menutype": {
  28262. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  28263. "type": "integer"
  28264. },
  28265. "parentcode": {
  28266. "description": "上级资源代码",
  28267. "type": "string"
  28268. },
  28269. "remark": {
  28270. "description": "菜单备注",
  28271. "type": "string"
  28272. },
  28273. "resourcecode": {
  28274. "description": "菜单代码",
  28275. "type": "string"
  28276. },
  28277. "resourcelevel": {
  28278. "description": "级别",
  28279. "type": "integer"
  28280. },
  28281. "resourcename": {
  28282. "description": "菜单名称",
  28283. "type": "string"
  28284. },
  28285. "roleid": {
  28286. "description": "角色id",
  28287. "type": "integer"
  28288. },
  28289. "sort": {
  28290. "description": "排序",
  28291. "type": "integer"
  28292. },
  28293. "subMenu": {
  28294. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  28295. "type": "array",
  28296. "items": {
  28297. "$ref": "#/definitions/models.RoleMenu"
  28298. }
  28299. },
  28300. "url": {
  28301. "description": "URL",
  28302. "type": "string"
  28303. },
  28304. "userid": {
  28305. "description": "用户id",
  28306. "type": "integer"
  28307. }
  28308. }
  28309. },
  28310. "models.SearchGoods": {
  28311. "type": "object",
  28312. "required": [
  28313. "goodscode",
  28314. "goodsid",
  28315. "goodsname",
  28316. "marketid",
  28317. "trademode"
  28318. ],
  28319. "properties": {
  28320. "goodscode": {
  28321. "description": "商品代码(内部)",
  28322. "type": "string"
  28323. },
  28324. "goodsid": {
  28325. "description": "商品ID(自增ID SEQ_GOODS)",
  28326. "type": "integer"
  28327. },
  28328. "goodsname": {
  28329. "description": "商品名称",
  28330. "type": "string"
  28331. },
  28332. "marketid": {
  28333. "description": "所属市场ID",
  28334. "type": "integer"
  28335. },
  28336. "marketname": {
  28337. "description": "市场名称",
  28338. "type": "string"
  28339. },
  28340. "trademode": {
  28341. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28342. "type": "integer"
  28343. }
  28344. }
  28345. },
  28346. "models.Systemparam": {
  28347. "type": "object",
  28348. "required": [
  28349. "paramcode"
  28350. ],
  28351. "properties": {
  28352. "loginid": {
  28353. "description": "更新用户账号,登录账号",
  28354. "type": "string"
  28355. },
  28356. "modifyflag": {
  28357. "description": "修改标志0 不允许修改 1 允许修改",
  28358. "type": "integer"
  28359. },
  28360. "paramcode": {
  28361. "description": "参数代码",
  28362. "type": "string"
  28363. },
  28364. "paramname": {
  28365. "description": "参数名",
  28366. "type": "string"
  28367. },
  28368. "paramtype": {
  28369. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  28370. "type": "integer"
  28371. },
  28372. "paramvalue": {
  28373. "description": "参数值",
  28374. "type": "string"
  28375. },
  28376. "paramvalue2": {
  28377. "description": "参数值(CLOB)",
  28378. "type": "string"
  28379. },
  28380. "regexpress": {
  28381. "description": "正则表达式",
  28382. "type": "string"
  28383. },
  28384. "remark": {
  28385. "description": "备注",
  28386. "type": "string"
  28387. },
  28388. "serverip": {
  28389. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  28390. "type": "string"
  28391. },
  28392. "showflag": {
  28393. "description": "是否显示0 不显示 1 显示",
  28394. "type": "integer"
  28395. },
  28396. "updatetime": {
  28397. "description": "更新时间",
  28398. "type": "string"
  28399. },
  28400. "userid": {
  28401. "description": "更新用户ID",
  28402. "type": "integer"
  28403. }
  28404. }
  28405. },
  28406. "models.Szdz3convertconfig": {
  28407. "type": "object",
  28408. "required": [
  28409. "converttype",
  28410. "innergoodsid",
  28411. "outergoodscode"
  28412. ],
  28413. "properties": {
  28414. "canin": {
  28415. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  28416. "type": "integer"
  28417. },
  28418. "canout": {
  28419. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  28420. "type": "integer"
  28421. },
  28422. "converttype": {
  28423. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  28424. "type": "integer"
  28425. },
  28426. "createtime": {
  28427. "description": "创建时间",
  28428. "type": "string"
  28429. },
  28430. "creatorid": {
  28431. "description": "创建人",
  28432. "type": "integer"
  28433. },
  28434. "daymaxvalue": {
  28435. "description": "当日最大转入限制",
  28436. "type": "number"
  28437. },
  28438. "freezedays": {
  28439. "description": "冻结天数 [5:花生米转交易]",
  28440. "type": "integer"
  28441. },
  28442. "innergoodsid": {
  28443. "description": "内部商品ID[交易]",
  28444. "type": "integer"
  28445. },
  28446. "inratio": {
  28447. "description": "目标值",
  28448. "type": "integer"
  28449. },
  28450. "modifierid": {
  28451. "description": "修改人",
  28452. "type": "integer"
  28453. },
  28454. "modifytime": {
  28455. "description": "修改时间",
  28456. "type": "string"
  28457. },
  28458. "outergoodscode": {
  28459. "description": "外部商品代码[JD\\PD]",
  28460. "type": "string"
  28461. },
  28462. "outratio": {
  28463. "description": "源值",
  28464. "type": "integer"
  28465. },
  28466. "pddecimalplace": {
  28467. "description": "PD小数位",
  28468. "type": "integer"
  28469. },
  28470. "timemaxvalue": {
  28471. "description": "单次最大转入限制",
  28472. "type": "number"
  28473. },
  28474. "timeminvalue": {
  28475. "description": "单次最小转入限制",
  28476. "type": "number"
  28477. }
  28478. }
  28479. },
  28480. "models.Szdz3searchwhitelist": {
  28481. "type": "object",
  28482. "required": [
  28483. "userid"
  28484. ],
  28485. "properties": {
  28486. "createtime": {
  28487. "description": "创建时间",
  28488. "type": "string"
  28489. },
  28490. "creatorid": {
  28491. "description": "创建人",
  28492. "type": "integer"
  28493. },
  28494. "modifierid": {
  28495. "description": "修改人",
  28496. "type": "integer"
  28497. },
  28498. "modifytime": {
  28499. "description": "修改时间",
  28500. "type": "string"
  28501. },
  28502. "userid": {
  28503. "description": "用户ID",
  28504. "type": "integer"
  28505. }
  28506. }
  28507. },
  28508. "models.Taaccount": {
  28509. "type": "object",
  28510. "required": [
  28511. "accountid",
  28512. "userid"
  28513. ],
  28514. "properties": {
  28515. "accountflag": {
  28516. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  28517. "type": "integer"
  28518. },
  28519. "accountid": {
  28520. "description": "资金账户ID",
  28521. "type": "integer"
  28522. },
  28523. "accountname": {
  28524. "description": "账户名称",
  28525. "type": "string"
  28526. },
  28527. "balance": {
  28528. "description": "期初余额",
  28529. "type": "number"
  28530. },
  28531. "capitalbalance": {
  28532. "description": "本金余额[外部子账户实际出入金余额]",
  28533. "type": "number"
  28534. },
  28535. "changeflag": {
  28536. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  28537. "type": "integer"
  28538. },
  28539. "changetime": {
  28540. "description": "账户状态变更时间",
  28541. "type": "string"
  28542. },
  28543. "closepl": {
  28544. "description": "今日平仓盈亏",
  28545. "type": "number"
  28546. },
  28547. "creditdecrease": {
  28548. "description": "今日授信减少",
  28549. "type": "number"
  28550. },
  28551. "creditincrease": {
  28552. "description": "今日授信增加",
  28553. "type": "number"
  28554. },
  28555. "curamount": {
  28556. "description": "总市值(从持仓中统计)",
  28557. "type": "number"
  28558. },
  28559. "currencyid": {
  28560. "description": "货币ID",
  28561. "type": "integer"
  28562. },
  28563. "currentbalance": {
  28564. "description": "期末余额",
  28565. "type": "number"
  28566. },
  28567. "freezecharge": {
  28568. "description": "手续费冻结",
  28569. "type": "number"
  28570. },
  28571. "freezemargin": {
  28572. "description": "冻结保证金",
  28573. "type": "number"
  28574. },
  28575. "fromaccountid": {
  28576. "description": "所属上级账户",
  28577. "type": "integer"
  28578. },
  28579. "inamount": {
  28580. "description": "今日入金金额(包括三方入金)",
  28581. "type": "number"
  28582. },
  28583. "ismain": {
  28584. "description": "是否母账号 0:不是母账户 1:是母账户",
  28585. "type": "integer"
  28586. },
  28587. "ismarketaccount": {
  28588. "description": "是否机构接单账号 0:不是 1:是",
  28589. "type": "integer"
  28590. },
  28591. "isreckonaccount": {
  28592. "description": "是否机构分润账号 0:不是 1:是",
  28593. "type": "integer"
  28594. },
  28595. "mortgagecredit": {
  28596. "description": "授信金额",
  28597. "type": "number"
  28598. },
  28599. "orifreezecharge": {
  28600. "description": "期初手续费冻结",
  28601. "type": "number"
  28602. },
  28603. "orifreezemargin": {
  28604. "description": "期初冻结保证金",
  28605. "type": "number"
  28606. },
  28607. "orimortgagecredit": {
  28608. "description": "期初授信金额",
  28609. "type": "number"
  28610. },
  28611. "oriothercredit": {
  28612. "description": "期初其它授信金额",
  28613. "type": "number"
  28614. },
  28615. "oriotherfreezemargin": {
  28616. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28617. "type": "number"
  28618. },
  28619. "orioutamountfreeze": {
  28620. "description": "期初出金冻结",
  28621. "type": "number"
  28622. },
  28623. "oriusedmargin": {
  28624. "description": "期初占用保证金",
  28625. "type": "number"
  28626. },
  28627. "othercredit": {
  28628. "description": "其它授信金额",
  28629. "type": "number"
  28630. },
  28631. "othercreditdecrease": {
  28632. "description": "今日其它授信减少",
  28633. "type": "number"
  28634. },
  28635. "othercreditincrease": {
  28636. "description": "今日其它授信增加",
  28637. "type": "number"
  28638. },
  28639. "otherfreezemargin": {
  28640. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28641. "type": "number"
  28642. },
  28643. "otherincome": {
  28644. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  28645. "type": "number"
  28646. },
  28647. "otherpay": {
  28648. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  28649. "type": "number"
  28650. },
  28651. "outamount": {
  28652. "description": "今日出金金额(包括三方出金)",
  28653. "type": "number"
  28654. },
  28655. "outamountfreeze": {
  28656. "description": "出金冻结",
  28657. "type": "number"
  28658. },
  28659. "outthreshold": {
  28660. "description": "出金阈值",
  28661. "type": "number"
  28662. },
  28663. "parentaccountid": {
  28664. "description": "所属根账号",
  28665. "type": "integer"
  28666. },
  28667. "paycharge": {
  28668. "description": "今日手续费支出",
  28669. "type": "number"
  28670. },
  28671. "relatedaccountstatus": {
  28672. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  28673. "type": "integer"
  28674. },
  28675. "relateduserid": {
  28676. "description": "关联用户",
  28677. "type": "integer"
  28678. },
  28679. "remainamount": {
  28680. "description": "融资额(从融资合同中统计)",
  28681. "type": "number"
  28682. },
  28683. "serivcegroup": {
  28684. "description": "服务分组",
  28685. "type": "integer"
  28686. },
  28687. "signstatus": {
  28688. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28689. "type": "integer"
  28690. },
  28691. "sublevelpath": {
  28692. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28693. "type": "string"
  28694. },
  28695. "taaccounttype": {
  28696. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28697. "type": "integer"
  28698. },
  28699. "thirdinamount": {
  28700. "description": "今日三方入金",
  28701. "type": "number"
  28702. },
  28703. "thirdoutamount": {
  28704. "description": "今日三方出金",
  28705. "type": "number"
  28706. },
  28707. "tradestatus": {
  28708. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28709. "type": "integer"
  28710. },
  28711. "tradestatuschangetime": {
  28712. "description": "激活时间",
  28713. "type": "string"
  28714. },
  28715. "transferamount": {
  28716. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28717. "type": "number"
  28718. },
  28719. "usedmargin": {
  28720. "description": "占用保证金",
  28721. "type": "number"
  28722. },
  28723. "userid": {
  28724. "description": "用户ID",
  28725. "type": "integer"
  28726. }
  28727. }
  28728. },
  28729. "models.Tablecolumnconfig": {
  28730. "type": "object",
  28731. "required": [
  28732. "autoid"
  28733. ],
  28734. "properties": {
  28735. "aligntype": {
  28736. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  28737. "type": "integer"
  28738. },
  28739. "autoid": {
  28740. "description": "AutoID",
  28741. "type": "integer"
  28742. },
  28743. "columnfield": {
  28744. "description": "列字段",
  28745. "type": "string"
  28746. },
  28747. "columntitle": {
  28748. "description": "列Title",
  28749. "type": "string"
  28750. },
  28751. "columnwidth": {
  28752. "description": "列宽",
  28753. "type": "string"
  28754. },
  28755. "formatterstring": {
  28756. "description": "格式化字符",
  28757. "type": "string"
  28758. },
  28759. "formattertype": {
  28760. "description": "格式化类型",
  28761. "type": "string"
  28762. },
  28763. "groupname": {
  28764. "description": "表头分组名称",
  28765. "type": "string"
  28766. },
  28767. "isshow": {
  28768. "description": "是否显示 - 0:不显示 1:显示",
  28769. "type": "integer"
  28770. },
  28771. "needsummary": {
  28772. "description": "是否需要汇总 - 0:不需要 1:需要",
  28773. "type": "integer"
  28774. },
  28775. "orderindex": {
  28776. "description": "顺序",
  28777. "type": "integer"
  28778. },
  28779. "remark": {
  28780. "description": "备注",
  28781. "type": "string"
  28782. },
  28783. "summarytype": {
  28784. "description": "汇总类型 - 1:加总 2:最后一个",
  28785. "type": "integer"
  28786. },
  28787. "tablekey": {
  28788. "description": "列表Key",
  28789. "type": "string"
  28790. }
  28791. }
  28792. },
  28793. "models.UserCollectConfig": {
  28794. "type": "object",
  28795. "properties": {
  28796. "accountstatus": {
  28797. "description": "账户状态 - 1:正常 2:停用 3:注销",
  28798. "type": "integer"
  28799. },
  28800. "collectaccountname": {
  28801. "description": "收款人账户名称",
  28802. "type": "string"
  28803. },
  28804. "collectaccountno": {
  28805. "description": "收款人账户",
  28806. "type": "string"
  28807. },
  28808. "collectbankname": {
  28809. "description": "收款人开户行",
  28810. "type": "string"
  28811. },
  28812. "collectbranchbankname": {
  28813. "description": "收款人开户支行",
  28814. "type": "string"
  28815. },
  28816. "collectconfigid": {
  28817. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  28818. "type": "string"
  28819. },
  28820. "remark": {
  28821. "description": "备注",
  28822. "type": "string"
  28823. },
  28824. "userid": {
  28825. "description": "收款人用户ID",
  28826. "type": "integer"
  28827. }
  28828. }
  28829. },
  28830. "models.UserReceiveInfo": {
  28831. "type": "object",
  28832. "properties": {
  28833. "address": {
  28834. "description": "提货人详细地址",
  28835. "type": "string"
  28836. },
  28837. "autoid": {
  28838. "description": "AutoID",
  28839. "type": "integer"
  28840. },
  28841. "cardnum": {
  28842. "description": "证件号码(加密存储)",
  28843. "type": "string"
  28844. },
  28845. "cardtypeid": {
  28846. "description": "证件类型",
  28847. "type": "integer"
  28848. },
  28849. "cityid": {
  28850. "description": "市",
  28851. "type": "integer"
  28852. },
  28853. "cityname": {
  28854. "description": "城市名称",
  28855. "type": "string"
  28856. },
  28857. "countryid": {
  28858. "description": "国家",
  28859. "type": "integer"
  28860. },
  28861. "countryname": {
  28862. "description": "国家名称",
  28863. "type": "string"
  28864. },
  28865. "districtid": {
  28866. "description": "地区",
  28867. "type": "integer"
  28868. },
  28869. "districtname": {
  28870. "description": "地区名称",
  28871. "type": "string"
  28872. },
  28873. "hasencrypt": {
  28874. "description": "数据是否已加密 - 0:未加密 1:已加密",
  28875. "type": "integer"
  28876. },
  28877. "isdefault": {
  28878. "description": "是否默认地址 - 0:否 1:是",
  28879. "type": "integer"
  28880. },
  28881. "phonenum": {
  28882. "description": "提货人联系方式(加密存储)",
  28883. "type": "string"
  28884. },
  28885. "provinceid": {
  28886. "description": "省",
  28887. "type": "integer"
  28888. },
  28889. "provincename": {
  28890. "description": "省名称",
  28891. "type": "string"
  28892. },
  28893. "receivername": {
  28894. "description": "提货人姓名",
  28895. "type": "string"
  28896. },
  28897. "takeremark": {
  28898. "description": "提货备注",
  28899. "type": "string"
  28900. },
  28901. "userid": {
  28902. "description": "用户ID",
  28903. "type": "integer"
  28904. }
  28905. }
  28906. },
  28907. "models.Useraccount": {
  28908. "type": "object",
  28909. "required": [
  28910. "userid"
  28911. ],
  28912. "properties": {
  28913. "accountname": {
  28914. "description": "账户名称(机构名称)",
  28915. "type": "string"
  28916. },
  28917. "accountstatus": {
  28918. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28919. "type": "integer"
  28920. },
  28921. "applysrc": {
  28922. "description": "申请来源 - 1:管理端 2:终端",
  28923. "type": "integer"
  28924. },
  28925. "auditremark": {
  28926. "description": "审核备注",
  28927. "type": "string"
  28928. },
  28929. "auditsrc": {
  28930. "description": "审核来源 - 1:管理端 2:终端",
  28931. "type": "integer"
  28932. },
  28933. "audittime": {
  28934. "description": "审核时间",
  28935. "type": "string"
  28936. },
  28937. "audituserid": {
  28938. "description": "审核人",
  28939. "type": "integer"
  28940. },
  28941. "broker": {
  28942. "description": "所属经纪人ID",
  28943. "type": "integer"
  28944. },
  28945. "canceltime": {
  28946. "description": "销户时间",
  28947. "type": "string"
  28948. },
  28949. "canceluserid": {
  28950. "description": "销户人",
  28951. "type": "integer"
  28952. },
  28953. "canrecommend": {
  28954. "description": "是否可推荐 - 0:不可 1;可",
  28955. "type": "integer"
  28956. },
  28957. "createtime": {
  28958. "description": "创建时间",
  28959. "type": "string"
  28960. },
  28961. "creatorid": {
  28962. "description": "创建人",
  28963. "type": "integer"
  28964. },
  28965. "hasauth": {
  28966. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  28967. "type": "integer"
  28968. },
  28969. "isanonymous": {
  28970. "description": "是否匿名下单 - 0:否 1:是",
  28971. "type": "integer"
  28972. },
  28973. "maxinvestornum": {
  28974. "description": "最大用户数(经纪会员下投资者个数)",
  28975. "type": "integer"
  28976. },
  28977. "memberuserid": {
  28978. "description": "所属会员ID",
  28979. "type": "integer"
  28980. },
  28981. "modifierid": {
  28982. "description": "修改人",
  28983. "type": "integer"
  28984. },
  28985. "modifyremark": {
  28986. "description": "变更备注",
  28987. "type": "string"
  28988. },
  28989. "modifystatus": {
  28990. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  28991. "type": "integer"
  28992. },
  28993. "modifytime": {
  28994. "description": "修改时间",
  28995. "type": "string"
  28996. },
  28997. "parenttopuser": {
  28998. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  28999. "type": "string"
  29000. },
  29001. "parentuserid": {
  29002. "description": "所属机构ID",
  29003. "type": "integer"
  29004. },
  29005. "reckonaccountid": {
  29006. "description": "默认结算资金账号ID(机构分润使用) 作废",
  29007. "type": "integer"
  29008. },
  29009. "refercount": {
  29010. "description": "推荐总人数",
  29011. "type": "integer"
  29012. },
  29013. "refereeuserid": {
  29014. "description": "推荐人ID",
  29015. "type": "integer"
  29016. },
  29017. "refernum": {
  29018. "description": "推荐码",
  29019. "type": "string"
  29020. },
  29021. "rootuserid": {
  29022. "description": "根用户ID",
  29023. "type": "integer"
  29024. },
  29025. "subaccountlevel": {
  29026. "description": "子账户层数",
  29027. "type": "integer"
  29028. },
  29029. "subarealevelpath": {
  29030. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29031. "type": "string"
  29032. },
  29033. "userid": {
  29034. "description": "用户ID",
  29035. "type": "integer"
  29036. },
  29037. "usertype": {
  29038. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29039. "type": "integer"
  29040. }
  29041. }
  29042. },
  29043. "models.Userfavoritegoods": {
  29044. "type": "object",
  29045. "required": [
  29046. "goodsid"
  29047. ],
  29048. "properties": {
  29049. "goodsid": {
  29050. "description": "商品ID",
  29051. "type": "integer"
  29052. }
  29053. }
  29054. },
  29055. "models.Userinfo": {
  29056. "type": "object",
  29057. "required": [
  29058. "userid"
  29059. ],
  29060. "properties": {
  29061. "address": {
  29062. "description": "地址",
  29063. "type": "string"
  29064. },
  29065. "attachment1": {
  29066. "description": "附件1",
  29067. "type": "string"
  29068. },
  29069. "attachment2": {
  29070. "description": "附件2",
  29071. "type": "string"
  29072. },
  29073. "bankaccount": {
  29074. "description": "银行帐号 (加密存储)",
  29075. "type": "string"
  29076. },
  29077. "bankaccountname": {
  29078. "description": "收款人名称",
  29079. "type": "string"
  29080. },
  29081. "bankcardfrontphotourl": {
  29082. "description": "银行卡正面照地址",
  29083. "type": "string"
  29084. },
  29085. "bankid": {
  29086. "description": "银行编码",
  29087. "type": "string"
  29088. },
  29089. "bankname": {
  29090. "description": "银行名称",
  29091. "type": "string"
  29092. },
  29093. "biznature": {
  29094. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  29095. "type": "integer"
  29096. },
  29097. "bizscope": {
  29098. "description": "企业经营范围(企业)",
  29099. "type": "string"
  29100. },
  29101. "cardbackphotourl": {
  29102. "description": "证件背面图片地址",
  29103. "type": "string"
  29104. },
  29105. "cardfrontphotourl": {
  29106. "description": "证件正面图片地址",
  29107. "type": "string"
  29108. },
  29109. "cardnum": {
  29110. "description": "证件号码(加密存储)",
  29111. "type": "string"
  29112. },
  29113. "cardtypeid": {
  29114. "description": "证件类型ID",
  29115. "type": "integer"
  29116. },
  29117. "cityid": {
  29118. "description": "市",
  29119. "type": "integer"
  29120. },
  29121. "company": {
  29122. "description": "公司(个人)",
  29123. "type": "string"
  29124. },
  29125. "contactname": {
  29126. "description": "联系人",
  29127. "type": "string"
  29128. },
  29129. "countryid": {
  29130. "description": "国家",
  29131. "type": "integer"
  29132. },
  29133. "createtime": {
  29134. "description": "创建时间",
  29135. "type": "string"
  29136. },
  29137. "creatorid": {
  29138. "description": "创建人",
  29139. "type": "integer"
  29140. },
  29141. "customername": {
  29142. "description": "客户名称(企业名称)",
  29143. "type": "string"
  29144. },
  29145. "districtid": {
  29146. "description": "地区",
  29147. "type": "integer"
  29148. },
  29149. "email": {
  29150. "description": "邮件(加密存储)",
  29151. "type": "string"
  29152. },
  29153. "fax": {
  29154. "description": "传真(加密存储)",
  29155. "type": "string"
  29156. },
  29157. "halfbodyphotourl": {
  29158. "description": "半身照地址",
  29159. "type": "string"
  29160. },
  29161. "hasencrypt": {
  29162. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29163. "type": "integer"
  29164. },
  29165. "headurl": {
  29166. "description": "头像地址",
  29167. "type": "string"
  29168. },
  29169. "legalcardbackphotourl": {
  29170. "description": "法人身份证背面照地址",
  29171. "type": "string"
  29172. },
  29173. "legalcardfrontphotourl": {
  29174. "description": "法人身份证正面照地址",
  29175. "type": "string"
  29176. },
  29177. "legalpersonname": {
  29178. "description": "法人姓名(企业)",
  29179. "type": "string"
  29180. },
  29181. "mobile": {
  29182. "description": "手机号码(加密存储)",
  29183. "type": "string"
  29184. },
  29185. "mobile2": {
  29186. "description": "手机号码[明文-尚志]",
  29187. "type": "string"
  29188. },
  29189. "modifierid": {
  29190. "description": "修改人",
  29191. "type": "integer"
  29192. },
  29193. "modifiertime": {
  29194. "description": "修改时间",
  29195. "type": "string"
  29196. },
  29197. "needinvoice": {
  29198. "description": "是否需要发票 - 0:不需要 1:需要",
  29199. "type": "integer"
  29200. },
  29201. "nickname": {
  29202. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  29203. "type": "string"
  29204. },
  29205. "openmode": {
  29206. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  29207. "type": "integer"
  29208. },
  29209. "otherurl": {
  29210. "description": "其它图片地址[使用分号分隔]",
  29211. "type": "string"
  29212. },
  29213. "postalcode": {
  29214. "description": "邮政编码",
  29215. "type": "string"
  29216. },
  29217. "provinceid": {
  29218. "description": "省",
  29219. "type": "integer"
  29220. },
  29221. "qq": {
  29222. "description": "QQ(加密存储",
  29223. "type": "string"
  29224. },
  29225. "remark": {
  29226. "description": "备注",
  29227. "type": "string"
  29228. },
  29229. "sex": {
  29230. "description": "用户性别 0: 女 1: 男",
  29231. "type": "integer"
  29232. },
  29233. "signpdfurl": {
  29234. "description": "签约pdf文件",
  29235. "type": "string"
  29236. },
  29237. "telphone": {
  29238. "description": "联系电话(加密存储)",
  29239. "type": "string"
  29240. },
  29241. "userid": {
  29242. "description": "用户ID",
  29243. "type": "integer"
  29244. },
  29245. "userinfotype": {
  29246. "description": "用户信息类型 - 1:个人 2:企业",
  29247. "type": "integer"
  29248. },
  29249. "userstatus": {
  29250. "description": "用户状态 - 1:正常 2:注销",
  29251. "type": "integer"
  29252. },
  29253. "usertype": {
  29254. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  29255. "type": "integer"
  29256. },
  29257. "wechat": {
  29258. "description": "微信(加密存储)",
  29259. "type": "string"
  29260. },
  29261. "wskhinfo": {
  29262. "description": "开户申请信息(JSON)",
  29263. "type": "string"
  29264. }
  29265. }
  29266. },
  29267. "models.WRSConverTDetail": {
  29268. "type": "object",
  29269. "properties": {
  29270. "convertratio": {
  29271. "description": "套保系数",
  29272. "type": "number"
  29273. },
  29274. "deliverygoodscode": {
  29275. "description": "现货商品代码",
  29276. "type": "string"
  29277. },
  29278. "deliverygoodsid": {
  29279. "description": "现货品种ID",
  29280. "type": "integer"
  29281. },
  29282. "deliverygoodsname": {
  29283. "description": "现货商品名称",
  29284. "type": "string"
  29285. },
  29286. "enumdicname": {
  29287. "description": "单位名称",
  29288. "type": "string"
  29289. },
  29290. "goodsunitid": {
  29291. "description": "套保品种单位id",
  29292. "type": "integer"
  29293. },
  29294. "middlegoodscode": {
  29295. "description": "套保品种代码",
  29296. "type": "string"
  29297. },
  29298. "middlegoodsid": {
  29299. "description": "套保品种ID",
  29300. "type": "integer"
  29301. },
  29302. "middlegoodsname": {
  29303. "description": "套保品种名称",
  29304. "type": "string"
  29305. },
  29306. "modifytime": {
  29307. "description": "修改时间",
  29308. "type": "string"
  29309. },
  29310. "wrstandardid": {
  29311. "description": "品类ID",
  29312. "type": "integer"
  29313. }
  29314. }
  29315. },
  29316. "models.WRStandardInfo": {
  29317. "type": "object",
  29318. "required": [
  29319. "wrstandardid"
  29320. ],
  29321. "properties": {
  29322. "areauserid": {
  29323. "description": "所属机构",
  29324. "type": "integer"
  29325. },
  29326. "convertfactor": {
  29327. "description": "标仓系数",
  29328. "type": "number"
  29329. },
  29330. "createtime": {
  29331. "description": "创建时间",
  29332. "type": "string"
  29333. },
  29334. "creatorid": {
  29335. "description": "创建人",
  29336. "type": "integer"
  29337. },
  29338. "deliverygoodsid": {
  29339. "description": "品种ID",
  29340. "type": "integer"
  29341. },
  29342. "deliverygoodsname": {
  29343. "description": "交割商品名称",
  29344. "type": "string"
  29345. },
  29346. "factoryitemjson": {
  29347. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  29348. "type": "string"
  29349. },
  29350. "isvalid": {
  29351. "description": "是否有效 - 0:无效 1:有效",
  29352. "type": "integer"
  29353. },
  29354. "minivalue": {
  29355. "description": "最小变动值",
  29356. "type": "integer"
  29357. },
  29358. "minivaluedp": {
  29359. "description": "最小变动值小数位",
  29360. "type": "integer"
  29361. },
  29362. "realminivalue": {
  29363. "description": "实际最小变动值",
  29364. "type": "integer"
  29365. },
  29366. "realminivaluedp": {
  29367. "description": "实际最小变动值小数位",
  29368. "type": "integer"
  29369. },
  29370. "remark": {
  29371. "description": "备注",
  29372. "type": "string"
  29373. },
  29374. "unitid": {
  29375. "description": "单位ID",
  29376. "type": "integer"
  29377. },
  29378. "unitname": {
  29379. "description": "单位",
  29380. "type": "string"
  29381. },
  29382. "updatetime": {
  29383. "description": "更新时间",
  29384. "type": "string"
  29385. },
  29386. "updatorid": {
  29387. "description": "更新人",
  29388. "type": "integer"
  29389. },
  29390. "wrsstatus": {
  29391. "description": "状态 - 作废 - 0:未激活 1:正常",
  29392. "type": "integer"
  29393. },
  29394. "wrstandardcode": {
  29395. "description": "现货品类代码",
  29396. "type": "string"
  29397. },
  29398. "wrstandardid": {
  29399. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29400. "type": "integer"
  29401. },
  29402. "wrstandardname": {
  29403. "description": "现货品类名称",
  29404. "type": "string"
  29405. }
  29406. }
  29407. },
  29408. "models.Warehouseinfo": {
  29409. "type": "object",
  29410. "required": [
  29411. "autoid",
  29412. "warehousecode"
  29413. ],
  29414. "properties": {
  29415. "address": {
  29416. "description": "详细地址",
  29417. "type": "string"
  29418. },
  29419. "areauserid": {
  29420. "description": "所属机构",
  29421. "type": "integer"
  29422. },
  29423. "autoid": {
  29424. "description": "自增ID",
  29425. "type": "integer"
  29426. },
  29427. "cityid": {
  29428. "description": "市",
  29429. "type": "integer"
  29430. },
  29431. "contactname": {
  29432. "description": "联系人",
  29433. "type": "string"
  29434. },
  29435. "contactnum": {
  29436. "description": "联系电话",
  29437. "type": "string"
  29438. },
  29439. "countryid": {
  29440. "description": "国家",
  29441. "type": "integer"
  29442. },
  29443. "createtime": {
  29444. "description": "创建时间",
  29445. "type": "string"
  29446. },
  29447. "districtid": {
  29448. "description": "区",
  29449. "type": "integer"
  29450. },
  29451. "hasvideo": {
  29452. "description": "是否有视频 - 0:无 1:有",
  29453. "type": "integer"
  29454. },
  29455. "provinceid": {
  29456. "description": "省",
  29457. "type": "integer"
  29458. },
  29459. "remark": {
  29460. "description": "审核备注",
  29461. "type": "string"
  29462. },
  29463. "videourl": {
  29464. "description": "视频地址",
  29465. "type": "string"
  29466. },
  29467. "warehousecode": {
  29468. "description": "仓库代码",
  29469. "type": "string"
  29470. },
  29471. "warehousename": {
  29472. "description": "仓库名称",
  29473. "type": "string"
  29474. },
  29475. "warehousestatus": {
  29476. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29477. "type": "integer"
  29478. },
  29479. "warehousetype": {
  29480. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29481. "type": "integer"
  29482. }
  29483. }
  29484. },
  29485. "models.WrFAProductDetail": {
  29486. "type": "object",
  29487. "properties": {
  29488. "accountid": {
  29489. "description": "资金账号",
  29490. "type": "integer"
  29491. },
  29492. "areauserid": {
  29493. "description": "金融机构ID",
  29494. "type": "integer"
  29495. },
  29496. "financingdays": {
  29497. "description": "天数(天)",
  29498. "type": "integer"
  29499. },
  29500. "interestminlen": {
  29501. "description": "最小起息天数",
  29502. "type": "integer"
  29503. },
  29504. "interestrate": {
  29505. "description": "利率",
  29506. "type": "number"
  29507. },
  29508. "interestratemode": {
  29509. "description": "利率方式 - 1:年利率 2:日利率",
  29510. "type": "integer"
  29511. },
  29512. "interestsettlemode": {
  29513. "description": "结息方式 - 1:按日结息 3:按月结息",
  29514. "type": "integer"
  29515. },
  29516. "interestsettlevalue": {
  29517. "description": "结息方式值",
  29518. "type": "integer"
  29519. },
  29520. "isautoloan": {
  29521. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  29522. "type": "integer"
  29523. },
  29524. "marginratio": {
  29525. "description": "保证金比率质押率 - [仓单质押]",
  29526. "type": "number"
  29527. },
  29528. "productdetailid": {
  29529. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  29530. "type": "integer"
  29531. },
  29532. "productid": {
  29533. "description": "金融产品ID",
  29534. "type": "integer"
  29535. },
  29536. "productname": {
  29537. "description": "产品名称",
  29538. "type": "string"
  29539. },
  29540. "updatetime": {
  29541. "description": "更新时间",
  29542. "type": "string"
  29543. },
  29544. "username": {
  29545. "description": "融出方",
  29546. "type": "string"
  29547. },
  29548. "wrfactortypeid": {
  29549. "description": "仓单要素ID",
  29550. "type": "string"
  29551. }
  29552. }
  29553. },
  29554. "models.WrFactorTypeInfo": {
  29555. "type": "object",
  29556. "properties": {
  29557. "deliverygoodscode": {
  29558. "description": "品种代码",
  29559. "type": "string"
  29560. },
  29561. "deliverygoodsname": {
  29562. "description": "品种名称",
  29563. "type": "string"
  29564. },
  29565. "dgfactoryitemid": {
  29566. "description": "选择项id",
  29567. "type": "integer"
  29568. },
  29569. "dgfactoryitemtypeid": {
  29570. "description": "要素选择项ID (1-仓库 2-品牌)",
  29571. "type": "integer"
  29572. },
  29573. "dgfactoryitemvalue": {
  29574. "description": "要素项值",
  29575. "type": "string"
  29576. },
  29577. "itemtypename": {
  29578. "description": "要素项名称",
  29579. "type": "string"
  29580. },
  29581. "optioncompare": {
  29582. "description": "选择比较串",
  29583. "type": "string"
  29584. },
  29585. "warehouseid": {
  29586. "description": "仓库id",
  29587. "type": "integer"
  29588. },
  29589. "wrfactortypeid": {
  29590. "description": "仓单要素ID",
  29591. "type": "string"
  29592. },
  29593. "wrfactortypename": {
  29594. "description": "要素名称",
  29595. "type": "string"
  29596. },
  29597. "wrfactortypename2": {
  29598. "description": "要素名称(不含仓库)",
  29599. "type": "string"
  29600. },
  29601. "wrstandardcode": {
  29602. "description": "品类代码",
  29603. "type": "string"
  29604. },
  29605. "wrstandardid": {
  29606. "description": "品类id",
  29607. "type": "integer"
  29608. },
  29609. "wrstandardname": {
  29610. "description": "品类名称",
  29611. "type": "string"
  29612. }
  29613. }
  29614. },
  29615. "models.WrFilterItem": {
  29616. "type": "object",
  29617. "properties": {
  29618. "itemcode": {
  29619. "description": "代码",
  29620. "type": "string"
  29621. },
  29622. "itemid": {
  29623. "description": "项id",
  29624. "type": "integer"
  29625. },
  29626. "itemname": {
  29627. "description": "名称",
  29628. "type": "string"
  29629. },
  29630. "itemtype": {
  29631. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  29632. "type": "integer"
  29633. }
  29634. }
  29635. },
  29636. "models.WrGoodsInfo": {
  29637. "type": "object",
  29638. "properties": {
  29639. "haswr": {
  29640. "description": "0:仓单预售 1:仓单贸易",
  29641. "type": "integer"
  29642. },
  29643. "lstitem": {
  29644. "description": "商品信息项",
  29645. "type": "array",
  29646. "items": {
  29647. "$ref": "#/definitions/models.WrTypeItem"
  29648. }
  29649. },
  29650. "lststep": {
  29651. "description": "履约规则",
  29652. "type": "array",
  29653. "items": {
  29654. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  29655. }
  29656. },
  29657. "marketid": {
  29658. "description": "市场id",
  29659. "type": "integer"
  29660. }
  29661. }
  29662. },
  29663. "models.WrGoodsPerformanceStep": {
  29664. "type": "object",
  29665. "properties": {
  29666. "autoid": {
  29667. "description": "AutoID",
  29668. "type": "integer"
  29669. },
  29670. "isauto": {
  29671. "description": "是否自动 - 0:不自动 1:自动",
  29672. "type": "integer"
  29673. },
  29674. "remark": {
  29675. "description": "备注",
  29676. "type": "string"
  29677. },
  29678. "stepdate": {
  29679. "description": "天数信息(T+N)",
  29680. "type": "string"
  29681. },
  29682. "stepdays": {
  29683. "description": "距离上一步天数",
  29684. "type": "integer"
  29685. },
  29686. "stepindex": {
  29687. "description": "步骤序号",
  29688. "type": "integer"
  29689. },
  29690. "stepinfo": {
  29691. "description": "步骤信息(步骤名称+步骤值)",
  29692. "type": "string"
  29693. },
  29694. "steptypeid": {
  29695. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  29696. "type": "integer"
  29697. },
  29698. "steptypename": {
  29699. "description": "步骤名称",
  29700. "type": "string"
  29701. },
  29702. "stepvalue": {
  29703. "description": "步骤值",
  29704. "type": "number"
  29705. },
  29706. "templateid": {
  29707. "description": "履约计划模板ID",
  29708. "type": "integer"
  29709. }
  29710. }
  29711. },
  29712. "models.WrHoldLB": {
  29713. "type": "object",
  29714. "properties": {
  29715. "accountid": {
  29716. "description": "持有人帐户ID",
  29717. "type": "integer"
  29718. },
  29719. "createtime": {
  29720. "description": "创建时间(过户时间)",
  29721. "type": "string"
  29722. },
  29723. "deliverygoodscode": {
  29724. "description": "品种代码",
  29725. "type": "string"
  29726. },
  29727. "deliverygoodsid": {
  29728. "description": "品种ID",
  29729. "type": "integer"
  29730. },
  29731. "deliverygoodsname": {
  29732. "description": "品种名称",
  29733. "type": "string"
  29734. },
  29735. "enableqty": {
  29736. "description": "可用数量",
  29737. "type": "number"
  29738. },
  29739. "enumdicname": {
  29740. "description": "单位名称",
  29741. "type": "string"
  29742. },
  29743. "freezerqty": {
  29744. "description": "冻结数量",
  29745. "type": "number"
  29746. },
  29747. "ladingbillid": {
  29748. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  29749. "type": "string"
  29750. },
  29751. "optioncompare": {
  29752. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29753. "type": "string"
  29754. },
  29755. "parentsubnum": {
  29756. "description": "拆分父子单号",
  29757. "type": "integer"
  29758. },
  29759. "pledgeqty": {
  29760. "description": "质押数量",
  29761. "type": "number"
  29762. },
  29763. "qty": {
  29764. "description": "数量",
  29765. "type": "number"
  29766. },
  29767. "subnum": {
  29768. "description": "提单子单号",
  29769. "type": "integer"
  29770. },
  29771. "tradedate": {
  29772. "description": "交易日(yyyyMMdd)",
  29773. "type": "string"
  29774. },
  29775. "userid": {
  29776. "description": "持有人ID",
  29777. "type": "integer"
  29778. },
  29779. "warehouseid": {
  29780. "description": "仓库ID",
  29781. "type": "integer"
  29782. },
  29783. "warehousename": {
  29784. "description": "仓库名称",
  29785. "type": "string"
  29786. },
  29787. "wrfactortypeid": {
  29788. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  29789. "type": "string"
  29790. },
  29791. "wrfactortypename": {
  29792. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29793. "type": "string"
  29794. },
  29795. "wrholdeno": {
  29796. "description": "仓单编号",
  29797. "type": "string"
  29798. },
  29799. "wrid": {
  29800. "description": "仓单变更ID",
  29801. "type": "string"
  29802. },
  29803. "wrstandardcode": {
  29804. "description": "现货商品代码",
  29805. "type": "string"
  29806. },
  29807. "wrstandardid": {
  29808. "description": "现货商品ID",
  29809. "type": "integer"
  29810. },
  29811. "wrstandardname": {
  29812. "description": "商品名称",
  29813. "type": "string"
  29814. },
  29815. "wrtypename": {
  29816. "description": "商品",
  29817. "type": "string"
  29818. }
  29819. }
  29820. },
  29821. "models.WrOrderDetail": {
  29822. "type": "object",
  29823. "properties": {
  29824. "buyorsell": {
  29825. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  29826. "type": "integer"
  29827. },
  29828. "cancelqty": {
  29829. "description": "撤销数量",
  29830. "type": "number"
  29831. },
  29832. "deliverygoodscode": {
  29833. "description": "品种代码",
  29834. "type": "string"
  29835. },
  29836. "deliverygoodsid": {
  29837. "description": "品种ID",
  29838. "type": "integer"
  29839. },
  29840. "deliverygoodsname": {
  29841. "description": "品种名称",
  29842. "type": "string"
  29843. },
  29844. "deliverymonth": {
  29845. "description": "交收月",
  29846. "type": "string"
  29847. },
  29848. "enumdicname": {
  29849. "description": "单位名称",
  29850. "type": "string"
  29851. },
  29852. "fixedprice": {
  29853. "description": "固定价格 - [挂牌]",
  29854. "type": "number"
  29855. },
  29856. "futupricemove": {
  29857. "description": "期货升贴水",
  29858. "type": "number"
  29859. },
  29860. "futushow": {
  29861. "description": "期货合约/升贴水",
  29862. "type": "string"
  29863. },
  29864. "goodscode": {
  29865. "description": "期货合约",
  29866. "type": "string"
  29867. },
  29868. "goodsid": {
  29869. "description": "期货商品id",
  29870. "type": "integer"
  29871. },
  29872. "haswr": {
  29873. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  29874. "type": "integer"
  29875. },
  29876. "marketid": {
  29877. "description": "市场ID",
  29878. "type": "integer"
  29879. },
  29880. "optioncompare": {
  29881. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29882. "type": "string"
  29883. },
  29884. "orderqty": {
  29885. "description": "委托数量",
  29886. "type": "number"
  29887. },
  29888. "ordertime": {
  29889. "description": "委托时间(挂牌时间)",
  29890. "type": "string"
  29891. },
  29892. "pricemove": {
  29893. "description": "升贴水(浮动价时填写) - [挂牌]",
  29894. "type": "number"
  29895. },
  29896. "tradedate": {
  29897. "description": "交易日(yyyyMMdd)",
  29898. "type": "string"
  29899. },
  29900. "tradeprice": {
  29901. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  29902. "type": "number"
  29903. },
  29904. "tradeqty": {
  29905. "description": "成交数量",
  29906. "type": "number"
  29907. },
  29908. "userid": {
  29909. "description": "用户ID",
  29910. "type": "integer"
  29911. },
  29912. "warehouseid": {
  29913. "description": "仓库ID",
  29914. "type": "integer"
  29915. },
  29916. "warehousename": {
  29917. "description": "仓库名称",
  29918. "type": "string"
  29919. },
  29920. "wrfactortypeid": {
  29921. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  29922. "type": "string"
  29923. },
  29924. "wrfactortypename": {
  29925. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29926. "type": "string"
  29927. },
  29928. "wrpricetype": {
  29929. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  29930. "type": "integer"
  29931. },
  29932. "wrstandardcode": {
  29933. "description": "现货商品代码",
  29934. "type": "string"
  29935. },
  29936. "wrstandardid": {
  29937. "description": "现货商品ID",
  29938. "type": "integer"
  29939. },
  29940. "wrstandardname": {
  29941. "description": "商品名称",
  29942. "type": "string"
  29943. },
  29944. "wrtradeorderid": {
  29945. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29946. "type": "string"
  29947. },
  29948. "wrtradeorderstatus": {
  29949. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  29950. "type": "integer"
  29951. },
  29952. "wrtradetype": {
  29953. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  29954. "type": "integer"
  29955. },
  29956. "wrtypename": {
  29957. "description": "商品",
  29958. "type": "string"
  29959. }
  29960. }
  29961. },
  29962. "models.WrOrderQuote": {
  29963. "type": "object",
  29964. "properties": {
  29965. "buyprice": {
  29966. "description": "买价",
  29967. "type": "number"
  29968. },
  29969. "buypricemove": {
  29970. "description": "买升贴水(基差)",
  29971. "type": "number"
  29972. },
  29973. "buyqty": {
  29974. "description": "买量",
  29975. "type": "number"
  29976. },
  29977. "deliverygoodscode": {
  29978. "description": "品种代码",
  29979. "type": "string"
  29980. },
  29981. "deliverygoodsid": {
  29982. "description": "品种id",
  29983. "type": "integer"
  29984. },
  29985. "deliverygoodsname": {
  29986. "description": "品种名称",
  29987. "type": "string"
  29988. },
  29989. "deliverymonth": {
  29990. "description": "交收月",
  29991. "type": "string"
  29992. },
  29993. "goodscode": {
  29994. "description": "商品合约(浮动价列表才有)",
  29995. "type": "string"
  29996. },
  29997. "goodsid": {
  29998. "description": "商品id(浮动价列表才有)",
  29999. "type": "integer"
  30000. },
  30001. "sellprice": {
  30002. "description": "卖价",
  30003. "type": "number"
  30004. },
  30005. "sellpricemove": {
  30006. "description": "卖升贴水(基差)",
  30007. "type": "number"
  30008. },
  30009. "sellqty": {
  30010. "description": "卖量",
  30011. "type": "number"
  30012. },
  30013. "warehousecode": {
  30014. "description": "仓库代码",
  30015. "type": "string"
  30016. },
  30017. "warehouseid": {
  30018. "description": "仓库id",
  30019. "type": "integer"
  30020. },
  30021. "warehousename": {
  30022. "description": "仓库名称",
  30023. "type": "string"
  30024. },
  30025. "wrfactortypeid": {
  30026. "description": "仓单要素id",
  30027. "type": "string"
  30028. },
  30029. "wrfactortypename": {
  30030. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30031. "type": "string"
  30032. },
  30033. "wrgoodsname": {
  30034. "description": "商品(商品名称+仓库要素名称 拼接)",
  30035. "type": "string"
  30036. },
  30037. "wrstandardcode": {
  30038. "description": "商品代码",
  30039. "type": "string"
  30040. },
  30041. "wrstandardid": {
  30042. "description": "商品id",
  30043. "type": "integer"
  30044. },
  30045. "wrstandardname": {
  30046. "description": "商品名称",
  30047. "type": "string"
  30048. }
  30049. }
  30050. },
  30051. "models.WrOrderQuoteDetail": {
  30052. "type": "object",
  30053. "properties": {
  30054. "buyorsell": {
  30055. "description": "买卖 - 0:买 1:卖",
  30056. "type": "integer"
  30057. },
  30058. "fixedprice": {
  30059. "description": "买(卖)价",
  30060. "type": "number"
  30061. },
  30062. "orderqty": {
  30063. "description": "买(卖)量(=委托量-成交量)",
  30064. "type": "number"
  30065. },
  30066. "pricemove": {
  30067. "description": "买(卖)升贴水- 基差",
  30068. "type": "number"
  30069. },
  30070. "userid": {
  30071. "description": "购买方(销售方)用户ID",
  30072. "type": "integer"
  30073. },
  30074. "username": {
  30075. "description": "购买方(销售方)",
  30076. "type": "string"
  30077. },
  30078. "wrtradeorderid": {
  30079. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30080. "type": "string"
  30081. }
  30082. }
  30083. },
  30084. "models.WrPerformancePlan": {
  30085. "type": "object",
  30086. "required": [
  30087. "userid"
  30088. ],
  30089. "properties": {
  30090. "amount": {
  30091. "description": "履约金额(总金额)",
  30092. "type": "number"
  30093. },
  30094. "buyaccountid": {
  30095. "description": "买方账号",
  30096. "type": "integer"
  30097. },
  30098. "buyerfreezeamount": {
  30099. "description": "履约冻结(买履约)",
  30100. "type": "number"
  30101. },
  30102. "buyerfreezeamountremain": {
  30103. "description": "履约冻结剩余(买履约)",
  30104. "type": "number"
  30105. },
  30106. "buyorsell": {
  30107. "description": "买卖方向 0-买 1-卖",
  30108. "type": "integer"
  30109. },
  30110. "buypaidamount": {
  30111. "description": "买方已冻/已扣金额 (已付金额)",
  30112. "type": "number"
  30113. },
  30114. "buyusername": {
  30115. "description": "买方名字",
  30116. "type": "string"
  30117. },
  30118. "contractid": {
  30119. "description": "合同ID",
  30120. "type": "integer"
  30121. },
  30122. "createtime": {
  30123. "description": "创建时间(开始时间)",
  30124. "type": "string"
  30125. },
  30126. "creatorid": {
  30127. "description": "创建人",
  30128. "type": "integer"
  30129. },
  30130. "curstepdeadline": {
  30131. "description": "当前步骤到期时间",
  30132. "type": "string"
  30133. },
  30134. "curstepid": {
  30135. "description": "当前步骤ID",
  30136. "type": "integer"
  30137. },
  30138. "curstepname": {
  30139. "description": "当前步骤名称",
  30140. "type": "string"
  30141. },
  30142. "deliverygoodscode": {
  30143. "description": "品种代码",
  30144. "type": "string"
  30145. },
  30146. "deliverygoodsid": {
  30147. "description": "品种ID",
  30148. "type": "integer"
  30149. },
  30150. "deliverygoodsname": {
  30151. "description": "品种名称",
  30152. "type": "string"
  30153. },
  30154. "enumdicname": {
  30155. "description": "单位名称",
  30156. "type": "string"
  30157. },
  30158. "expressfee": {
  30159. "description": "运费",
  30160. "type": "number"
  30161. },
  30162. "expressfeeconfirmed": {
  30163. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  30164. "type": "integer"
  30165. },
  30166. "hasovershort": {
  30167. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  30168. "type": "integer"
  30169. },
  30170. "haswr": {
  30171. "description": "类型 0-仓单预售 1-仓单贸易",
  30172. "type": "integer"
  30173. },
  30174. "marketid": {
  30175. "description": "市场ID",
  30176. "type": "integer"
  30177. },
  30178. "middleaccountid": {
  30179. "description": "中间商资金账号ID",
  30180. "type": "integer"
  30181. },
  30182. "middleuserid": {
  30183. "description": "中间商用户ID",
  30184. "type": "integer"
  30185. },
  30186. "optioncompare": {
  30187. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30188. "type": "string"
  30189. },
  30190. "overshortamount": {
  30191. "description": "溢短金额",
  30192. "type": "number"
  30193. },
  30194. "overshortqty": {
  30195. "description": "溢短数量",
  30196. "type": "number"
  30197. },
  30198. "paymenttype": {
  30199. "description": "付款方式 - 1:冻结 2:扣款",
  30200. "type": "integer"
  30201. },
  30202. "performanceplanid": {
  30203. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  30204. "type": "integer"
  30205. },
  30206. "performancestatus": {
  30207. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  30208. "type": "integer"
  30209. },
  30210. "performancetype": {
  30211. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  30212. "type": "integer"
  30213. },
  30214. "qty": {
  30215. "description": "履约数量",
  30216. "type": "number"
  30217. },
  30218. "relatedorderid": {
  30219. "description": "关联单号(履约类型的关联单号)",
  30220. "type": "string"
  30221. },
  30222. "remark": {
  30223. "description": "备注",
  30224. "type": "string"
  30225. },
  30226. "sellaccountid": {
  30227. "description": "卖方账号",
  30228. "type": "integer"
  30229. },
  30230. "sellerfreezeamount": {
  30231. "description": "履约冻结(卖履约)",
  30232. "type": "number"
  30233. },
  30234. "sellerfreezeamountremain": {
  30235. "description": "履约冻结剩余(卖履约)",
  30236. "type": "number"
  30237. },
  30238. "sellreceivedamount": {
  30239. "description": "卖方已收金额",
  30240. "type": "number"
  30241. },
  30242. "sellusername": {
  30243. "description": "卖方名字",
  30244. "type": "string"
  30245. },
  30246. "shipremark": {
  30247. "description": "发货备注[物流单号]",
  30248. "type": "string"
  30249. },
  30250. "userid": {
  30251. "description": "用户id",
  30252. "type": "integer"
  30253. },
  30254. "warehouseid": {
  30255. "description": "仓库ID",
  30256. "type": "integer"
  30257. },
  30258. "warehousename": {
  30259. "description": "仓库名称",
  30260. "type": "string"
  30261. },
  30262. "wrfactortypeid": {
  30263. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30264. "type": "string"
  30265. },
  30266. "wrfactortypename": {
  30267. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30268. "type": "string"
  30269. },
  30270. "wrstandardcode": {
  30271. "description": "现货商品代码",
  30272. "type": "string"
  30273. },
  30274. "wrstandardid": {
  30275. "description": "现货商品ID",
  30276. "type": "integer"
  30277. },
  30278. "wrstandardname": {
  30279. "description": "商品名称",
  30280. "type": "string"
  30281. },
  30282. "wrtransferuserid": {
  30283. "description": "仓单受让用户",
  30284. "type": "integer"
  30285. },
  30286. "wrtypename": {
  30287. "description": "商品",
  30288. "type": "string"
  30289. }
  30290. }
  30291. },
  30292. "models.WrPosition": {
  30293. "type": "object",
  30294. "properties": {
  30295. "accountid": {
  30296. "description": "帐户ID",
  30297. "type": "integer"
  30298. },
  30299. "buyexcuteqty": {
  30300. "description": "采购履约中数量",
  30301. "type": "number"
  30302. },
  30303. "creditcurqty": {
  30304. "description": "授信当前数量(预售仓单:预售当前量)",
  30305. "type": "number"
  30306. },
  30307. "creditenableqty": {
  30308. "description": "授信可用数量(预售仓单: 可用数量)",
  30309. "type": "number"
  30310. },
  30311. "creditfreezeqty": {
  30312. "description": "授信冻结数量(预售仓单: 当前数量)",
  30313. "type": "number"
  30314. },
  30315. "credittotalqty": {
  30316. "description": "授信总数量(预售仓单:预售总量)",
  30317. "type": "number"
  30318. },
  30319. "credittradeqty": {
  30320. "description": "授信成交数量(预售仓单:成交总量)",
  30321. "type": "number"
  30322. },
  30323. "deliverygoodscode": {
  30324. "description": "品种代码",
  30325. "type": "string"
  30326. },
  30327. "deliverygoodsid": {
  30328. "description": "品种ID",
  30329. "type": "integer"
  30330. },
  30331. "deliverygoodsname": {
  30332. "description": "品种名称",
  30333. "type": "string"
  30334. },
  30335. "enalbeqty": {
  30336. "description": "可用数量",
  30337. "type": "number"
  30338. },
  30339. "enumdicname": {
  30340. "description": "单位名称",
  30341. "type": "string"
  30342. },
  30343. "freezeqty": {
  30344. "description": "总冻结数量",
  30345. "type": "number"
  30346. },
  30347. "modifytime": {
  30348. "description": "修改时间(过户时间)",
  30349. "type": "string"
  30350. },
  30351. "optioncompare": {
  30352. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30353. "type": "string"
  30354. },
  30355. "pledgeqty": {
  30356. "description": "质押数量",
  30357. "type": "number"
  30358. },
  30359. "querytype": {
  30360. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  30361. "type": "integer"
  30362. },
  30363. "sellexcuteqty": {
  30364. "description": "销售履约中数量",
  30365. "type": "number"
  30366. },
  30367. "totalqty": {
  30368. "description": "总数量(库存数量)",
  30369. "type": "number"
  30370. },
  30371. "warehouseid": {
  30372. "description": "仓库ID",
  30373. "type": "integer"
  30374. },
  30375. "warehousename": {
  30376. "description": "仓库名称",
  30377. "type": "string"
  30378. },
  30379. "wrfactortypeid": {
  30380. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30381. "type": "string"
  30382. },
  30383. "wrfactortypename": {
  30384. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30385. "type": "string"
  30386. },
  30387. "wrpositionid": {
  30388. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  30389. "type": "string"
  30390. },
  30391. "wrpositionno": {
  30392. "description": "仓单编号",
  30393. "type": "string"
  30394. },
  30395. "wrstandardcode": {
  30396. "description": "现货商品代码",
  30397. "type": "string"
  30398. },
  30399. "wrstandardid": {
  30400. "description": "现货商品ID",
  30401. "type": "integer"
  30402. },
  30403. "wrstandardname": {
  30404. "description": "商品名称",
  30405. "type": "string"
  30406. },
  30407. "wrtypename": {
  30408. "description": "商品",
  30409. "type": "string"
  30410. },
  30411. "wruserid": {
  30412. "description": "持有人ID",
  30413. "type": "integer"
  30414. }
  30415. }
  30416. },
  30417. "models.WrSpecialMatchOrder": {
  30418. "type": "object",
  30419. "properties": {
  30420. "amount": {
  30421. "description": "金额 = 数量 * 价格",
  30422. "type": "number"
  30423. },
  30424. "buyorsell": {
  30425. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  30426. "type": "integer"
  30427. },
  30428. "cancelqty": {
  30429. "description": "撤销数量",
  30430. "type": "number"
  30431. },
  30432. "deliverygoodscode": {
  30433. "description": "品种代码",
  30434. "type": "string"
  30435. },
  30436. "deliverygoodsid": {
  30437. "description": "品种ID",
  30438. "type": "integer"
  30439. },
  30440. "deliverygoodsname": {
  30441. "description": "品种名称",
  30442. "type": "string"
  30443. },
  30444. "enumdicname": {
  30445. "description": "单位名称",
  30446. "type": "string"
  30447. },
  30448. "fixedprice": {
  30449. "description": "固定价格(价格)",
  30450. "type": "number"
  30451. },
  30452. "haswr": {
  30453. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30454. "type": "integer"
  30455. },
  30456. "marketid": {
  30457. "description": "市场ID",
  30458. "type": "integer"
  30459. },
  30460. "matchuserid": {
  30461. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  30462. "type": "integer"
  30463. },
  30464. "matchusername": {
  30465. "description": "指定方",
  30466. "type": "string"
  30467. },
  30468. "optioncompare": {
  30469. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30470. "type": "string"
  30471. },
  30472. "orderqty": {
  30473. "description": "委托数量",
  30474. "type": "number"
  30475. },
  30476. "ordertime": {
  30477. "description": "委托时间",
  30478. "type": "string"
  30479. },
  30480. "pricemove": {
  30481. "description": "升贴水(浮动价时填写) - [挂牌]",
  30482. "type": "number"
  30483. },
  30484. "tradedate": {
  30485. "description": "交易日(yyyyMMdd)",
  30486. "type": "string"
  30487. },
  30488. "tradeprice": {
  30489. "description": "成交价格",
  30490. "type": "number"
  30491. },
  30492. "tradeqty": {
  30493. "description": "成交数量",
  30494. "type": "number"
  30495. },
  30496. "userid": {
  30497. "description": "用户ID",
  30498. "type": "integer"
  30499. },
  30500. "username": {
  30501. "description": "发起方",
  30502. "type": "string"
  30503. },
  30504. "warehouseid": {
  30505. "description": "仓库ID",
  30506. "type": "integer"
  30507. },
  30508. "warehousename": {
  30509. "description": "仓库名称",
  30510. "type": "string"
  30511. },
  30512. "wrfactortypeid": {
  30513. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30514. "type": "string"
  30515. },
  30516. "wrfactortypename": {
  30517. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30518. "type": "string"
  30519. },
  30520. "wrpricetype": {
  30521. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  30522. "type": "integer"
  30523. },
  30524. "wrstandardcode": {
  30525. "description": "现货商品代码",
  30526. "type": "string"
  30527. },
  30528. "wrstandardid": {
  30529. "description": "现货商品ID",
  30530. "type": "integer"
  30531. },
  30532. "wrstandardname": {
  30533. "description": "商品名称",
  30534. "type": "string"
  30535. },
  30536. "wrtradeorderid": {
  30537. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30538. "type": "string"
  30539. },
  30540. "wrtradeorderstatus": {
  30541. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  30542. "type": "integer"
  30543. },
  30544. "wrtradetype": {
  30545. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  30546. "type": "integer"
  30547. },
  30548. "wrtypename": {
  30549. "description": "商品",
  30550. "type": "string"
  30551. }
  30552. }
  30553. },
  30554. "models.WrTradeDetail": {
  30555. "type": "object",
  30556. "properties": {
  30557. "accountid": {
  30558. "description": "资金账号",
  30559. "type": "integer"
  30560. },
  30561. "buyorsell": {
  30562. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  30563. "type": "integer"
  30564. },
  30565. "deliverygoodscode": {
  30566. "description": "品种代码",
  30567. "type": "string"
  30568. },
  30569. "deliverygoodsid": {
  30570. "description": "品种ID",
  30571. "type": "integer"
  30572. },
  30573. "deliverygoodsname": {
  30574. "description": "品种名称",
  30575. "type": "string"
  30576. },
  30577. "deliverymonth": {
  30578. "description": "交收月",
  30579. "type": "string"
  30580. },
  30581. "enumdicname": {
  30582. "description": "单位名称",
  30583. "type": "string"
  30584. },
  30585. "haswr": {
  30586. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30587. "type": "integer"
  30588. },
  30589. "marketid": {
  30590. "description": "市场ID",
  30591. "type": "integer"
  30592. },
  30593. "matchaccountid": {
  30594. "description": "对手账号",
  30595. "type": "integer"
  30596. },
  30597. "matchusername": {
  30598. "description": "对手方",
  30599. "type": "string"
  30600. },
  30601. "optioncompare": {
  30602. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30603. "type": "string"
  30604. },
  30605. "tradedate": {
  30606. "description": "交易日(yyyyMMdd)",
  30607. "type": "string"
  30608. },
  30609. "tradeprice": {
  30610. "description": "成交价格",
  30611. "type": "number"
  30612. },
  30613. "tradeqty": {
  30614. "description": "成交数量",
  30615. "type": "number"
  30616. },
  30617. "tradetime": {
  30618. "description": "成交时间",
  30619. "type": "string"
  30620. },
  30621. "userid": {
  30622. "description": "用户ID",
  30623. "type": "integer"
  30624. },
  30625. "warehouseid": {
  30626. "description": "仓库ID",
  30627. "type": "integer"
  30628. },
  30629. "warehousename": {
  30630. "description": "仓库名称",
  30631. "type": "string"
  30632. },
  30633. "wrfactortypeid": {
  30634. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30635. "type": "string"
  30636. },
  30637. "wrfactortypename": {
  30638. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30639. "type": "string"
  30640. },
  30641. "wrstandardcode": {
  30642. "description": "现货商品代码",
  30643. "type": "string"
  30644. },
  30645. "wrstandardid": {
  30646. "description": "现货商品ID",
  30647. "type": "integer"
  30648. },
  30649. "wrstandardname": {
  30650. "description": "商品名称",
  30651. "type": "string"
  30652. },
  30653. "wrtradedetailid": {
  30654. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  30655. "type": "string"
  30656. },
  30657. "wrtradetype": {
  30658. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  30659. "type": "integer"
  30660. },
  30661. "wrtypename": {
  30662. "description": "商品",
  30663. "type": "string"
  30664. }
  30665. }
  30666. },
  30667. "models.WrTypeItem": {
  30668. "type": "object",
  30669. "properties": {
  30670. "name": {
  30671. "description": "名称",
  30672. "type": "string"
  30673. },
  30674. "value": {
  30675. "description": "值",
  30676. "type": "string"
  30677. }
  30678. }
  30679. },
  30680. "order.QueryHisTradeDetailRsp": {
  30681. "type": "object",
  30682. "required": [
  30683. "accountid",
  30684. "buyorsell",
  30685. "goodsid",
  30686. "histradedate",
  30687. "marketid",
  30688. "memberuserid",
  30689. "orderid",
  30690. "tradeamount",
  30691. "tradedate",
  30692. "tradeid",
  30693. "tradeprice",
  30694. "tradeqty",
  30695. "tradetime"
  30696. ],
  30697. "properties": {
  30698. "accountid": {
  30699. "description": "账户ID[报价币种]",
  30700. "type": "integer"
  30701. },
  30702. "advanceratio": {
  30703. "description": "首付比率",
  30704. "type": "number"
  30705. },
  30706. "buildtype": {
  30707. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  30708. "type": "integer"
  30709. },
  30710. "buyorsell": {
  30711. "description": "方向 - 0:买 1:卖",
  30712. "type": "integer"
  30713. },
  30714. "charge": {
  30715. "description": "手续费",
  30716. "type": "number"
  30717. },
  30718. "closecharge": {
  30719. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  30720. "type": "number"
  30721. },
  30722. "closeexchagechargevalue": {
  30723. "description": "平仓交易所手续费设置值",
  30724. "type": "number"
  30725. },
  30726. "closefeealgorithm": {
  30727. "description": "平仓手续费收取方式 1:比率 2:固定",
  30728. "type": "integer"
  30729. },
  30730. "closememberchargevalue": {
  30731. "description": "平仓会员手续费设置值",
  30732. "type": "number"
  30733. },
  30734. "closepl": {
  30735. "description": "平仓盈亏",
  30736. "type": "number"
  30737. },
  30738. "closepl2": {
  30739. "description": "平仓盈亏[逐笔]",
  30740. "type": "number"
  30741. },
  30742. "closeqty": {
  30743. "description": "平仓数量(先建后平操作 需要记录)",
  30744. "type": "number"
  30745. },
  30746. "creditamount": {
  30747. "description": "授信金额",
  30748. "type": "number"
  30749. },
  30750. "decimalplace": {
  30751. "description": "商品报价小数位",
  30752. "type": "integer"
  30753. },
  30754. "enumdicname": {
  30755. "description": "单位名称",
  30756. "type": "string"
  30757. },
  30758. "gcaccountid": {
  30759. "description": "账户ID[合约币种]",
  30760. "type": "integer"
  30761. },
  30762. "goodscode": {
  30763. "description": "商品代码",
  30764. "type": "string"
  30765. },
  30766. "goodsid": {
  30767. "description": "商品ID",
  30768. "type": "integer"
  30769. },
  30770. "goodsname": {
  30771. "description": "商品名称",
  30772. "type": "string"
  30773. },
  30774. "goodunitid": {
  30775. "description": "商品单位id",
  30776. "type": "integer"
  30777. },
  30778. "histradedate": {
  30779. "description": "历史交易日",
  30780. "type": "string"
  30781. },
  30782. "intclosepl": {
  30783. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  30784. "type": "integer"
  30785. },
  30786. "isconfirmexercise": {
  30787. "description": "是否确认行权- 0:否 1:是",
  30788. "type": "integer"
  30789. },
  30790. "ismain": {
  30791. "description": "是否主单 - 0:不是 1:是",
  30792. "type": "integer"
  30793. },
  30794. "ispreexercise": {
  30795. "description": "是否预申报- 0:否 1:是",
  30796. "type": "integer"
  30797. },
  30798. "isreckoned": {
  30799. "description": "是否结算 - 0:未结算 1:已结算",
  30800. "type": "integer"
  30801. },
  30802. "isvaliddata": {
  30803. "description": "是否有效 - 0:无效 1:有效",
  30804. "type": "integer"
  30805. },
  30806. "listingselecttype": {
  30807. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30808. "type": "integer"
  30809. },
  30810. "marketid": {
  30811. "description": "市场ID",
  30812. "type": "integer"
  30813. },
  30814. "marketname": {
  30815. "description": "市场名称",
  30816. "type": "string"
  30817. },
  30818. "matchaccountid": {
  30819. "description": "对手账号id",
  30820. "type": "integer"
  30821. },
  30822. "memberuserid": {
  30823. "description": "会员id 个人投资者 需要填写",
  30824. "type": "integer"
  30825. },
  30826. "opencharge": {
  30827. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  30828. "type": "number"
  30829. },
  30830. "openexchagechargevalue": {
  30831. "description": "建仓交易所手续费设置值",
  30832. "type": "number"
  30833. },
  30834. "openfeealgorithm": {
  30835. "description": "建仓手续费收取方式 1:比率 2:固定",
  30836. "type": "integer"
  30837. },
  30838. "openmemberchargevalue": {
  30839. "description": "建仓会员手续费设置值",
  30840. "type": "number"
  30841. },
  30842. "openqty": {
  30843. "description": "开仓数量(先建后平操作 需要记录)",
  30844. "type": "number"
  30845. },
  30846. "optiontype": {
  30847. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30848. "type": "integer"
  30849. },
  30850. "orderid": {
  30851. "description": "委托单号",
  30852. "type": "string"
  30853. },
  30854. "payamount": {
  30855. "description": "支付金额(付款金额)",
  30856. "type": "number"
  30857. },
  30858. "performanceplanid": {
  30859. "description": "履约计划ID[期权]",
  30860. "type": "integer"
  30861. },
  30862. "performancestatus": {
  30863. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  30864. "type": "integer"
  30865. },
  30866. "preexerciseprice": {
  30867. "description": "预申报价格",
  30868. "type": "number"
  30869. },
  30870. "premium": {
  30871. "description": "权利金 - [持仓单的权利金]",
  30872. "type": "number"
  30873. },
  30874. "qtydecimalplace": {
  30875. "description": "商品报价小数位",
  30876. "type": "integer"
  30877. },
  30878. "recvamount": {
  30879. "description": "到账金额 = 成交金额 - 手续费",
  30880. "type": "number"
  30881. },
  30882. "relatedouttradeid": {
  30883. "description": "关联外部成交单ID",
  30884. "type": "integer"
  30885. },
  30886. "status": {
  30887. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  30888. "type": "integer"
  30889. },
  30890. "totalamount": {
  30891. "description": "订单总额 = 成交金额 + 手续费",
  30892. "type": "number"
  30893. },
  30894. "tradeamount": {
  30895. "description": "成交金额[账户币种,用于所有权]",
  30896. "type": "number"
  30897. },
  30898. "tradedate": {
  30899. "description": "交易日(yyyyMMdd)",
  30900. "type": "string"
  30901. },
  30902. "tradeid": {
  30903. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30904. "type": "string"
  30905. },
  30906. "trademode": {
  30907. "description": "交易模式",
  30908. "type": "integer"
  30909. },
  30910. "tradeprice": {
  30911. "description": "成交价格",
  30912. "type": "number"
  30913. },
  30914. "tradeproperty": {
  30915. "description": "交易属性",
  30916. "type": "integer"
  30917. },
  30918. "tradeqty": {
  30919. "description": "成交数量",
  30920. "type": "number"
  30921. },
  30922. "tradetime": {
  30923. "description": "成交时间",
  30924. "type": "string"
  30925. },
  30926. "tradetype": {
  30927. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  30928. "type": "integer"
  30929. }
  30930. }
  30931. },
  30932. "order.QueryHisTradeOrderDetailRsp": {
  30933. "type": "object",
  30934. "required": [
  30935. "accountid",
  30936. "buildtype",
  30937. "buyorsell",
  30938. "goodsid",
  30939. "histradedate",
  30940. "marketid",
  30941. "memberuserid",
  30942. "operatetype",
  30943. "orderid",
  30944. "orderqty",
  30945. "ordertime",
  30946. "pricemode",
  30947. "tradedate",
  30948. "validtype"
  30949. ],
  30950. "properties": {
  30951. "accountid": {
  30952. "description": "账户ID[报价币种]",
  30953. "type": "integer"
  30954. },
  30955. "buildtype": {
  30956. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  30957. "type": "integer"
  30958. },
  30959. "buyorsell": {
  30960. "description": "买卖 - 0:买 1:卖",
  30961. "type": "integer"
  30962. },
  30963. "cancelorderid": {
  30964. "description": "撤单单号(撤单时填写)",
  30965. "type": "string"
  30966. },
  30967. "cancelqty": {
  30968. "description": "撤单数量",
  30969. "type": "number"
  30970. },
  30971. "clientordertime": {
  30972. "description": "客户端委托时间",
  30973. "type": "string"
  30974. },
  30975. "clientticket": {
  30976. "description": "客户端流水号",
  30977. "type": "string"
  30978. },
  30979. "clienttype": {
  30980. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30981. "type": "integer"
  30982. },
  30983. "closeexchagechargevalue": {
  30984. "description": "平仓交易所手续费设置值",
  30985. "type": "number"
  30986. },
  30987. "closefeealgorithm": {
  30988. "description": "平仓手续费收取方式 1:比率 2:固定",
  30989. "type": "integer"
  30990. },
  30991. "closefreezecharge": {
  30992. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  30993. "type": "number"
  30994. },
  30995. "closememberchargevalue": {
  30996. "description": "平仓会员手续费设置值",
  30997. "type": "number"
  30998. },
  30999. "closeqty": {
  31000. "description": "平仓数量(先建后平操作 需要记录)",
  31001. "type": "number"
  31002. },
  31003. "closetradeqty": {
  31004. "description": "平仓成交数量(先建后平操作,需要记录)",
  31005. "type": "number"
  31006. },
  31007. "closeunfreezecharge": {
  31008. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  31009. "type": "number"
  31010. },
  31011. "decimalplace": {
  31012. "description": "商品报价小数位",
  31013. "type": "integer"
  31014. },
  31015. "delistingtype": {
  31016. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  31017. "type": "integer"
  31018. },
  31019. "enumdicname": {
  31020. "description": "单位名称",
  31021. "type": "string"
  31022. },
  31023. "freezecharge": {
  31024. "description": "冻结手续费",
  31025. "type": "number"
  31026. },
  31027. "freezemargin": {
  31028. "description": "冻结保证金(冻结交易金额)",
  31029. "type": "number"
  31030. },
  31031. "gcaccountid": {
  31032. "description": "账户ID[合约币种]",
  31033. "type": "integer"
  31034. },
  31035. "goodscode": {
  31036. "description": "商品代码",
  31037. "type": "string"
  31038. },
  31039. "goodsid": {
  31040. "description": "商品ID",
  31041. "type": "integer"
  31042. },
  31043. "goodsname": {
  31044. "description": "商品名称",
  31045. "type": "string"
  31046. },
  31047. "goodunitid": {
  31048. "description": "商品单位id",
  31049. "type": "integer"
  31050. },
  31051. "histradedate": {
  31052. "description": "历史交易日",
  31053. "type": "string"
  31054. },
  31055. "isconfirmexercise": {
  31056. "description": "是否确认行权- 0:否 1:是",
  31057. "type": "integer"
  31058. },
  31059. "ispreexercise": {
  31060. "description": "是否预申报- 0:否 1:是",
  31061. "type": "integer"
  31062. },
  31063. "isvaliddata": {
  31064. "description": "是否有效 - 0:无效 1:有效",
  31065. "type": "integer"
  31066. },
  31067. "listingselecttype": {
  31068. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31069. "type": "integer"
  31070. },
  31071. "marginalgorithm": {
  31072. "description": "保证金收取方式 1:比率 2:固定",
  31073. "type": "integer"
  31074. },
  31075. "marginvalue": {
  31076. "description": "即市保证金设置值",
  31077. "type": "number"
  31078. },
  31079. "marketid": {
  31080. "description": "市场ID",
  31081. "type": "integer"
  31082. },
  31083. "marketmaxsub": {
  31084. "description": "市价最大偏移范围",
  31085. "type": "number"
  31086. },
  31087. "marketname": {
  31088. "description": "市场名称",
  31089. "type": "string"
  31090. },
  31091. "memberuserid": {
  31092. "description": "所属会员UserID",
  31093. "type": "integer"
  31094. },
  31095. "openexchagechargevalue": {
  31096. "description": "建仓交易所手续费设置值",
  31097. "type": "number"
  31098. },
  31099. "openfeealgorithm": {
  31100. "description": "建仓手续费收取方式 1:比率 2:固定",
  31101. "type": "integer"
  31102. },
  31103. "openfreezecharge": {
  31104. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  31105. "type": "number"
  31106. },
  31107. "openmemberchargevalue": {
  31108. "description": "建仓会员手续费设置值",
  31109. "type": "number"
  31110. },
  31111. "openqty": {
  31112. "description": "开仓数量(先建后平操作,需要记录)",
  31113. "type": "number"
  31114. },
  31115. "opentradeqty": {
  31116. "description": "开仓成交数量(先建后平操作,需要记录)",
  31117. "type": "number"
  31118. },
  31119. "openunfreezecharge": {
  31120. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  31121. "type": "number"
  31122. },
  31123. "operatetype": {
  31124. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  31125. "type": "integer"
  31126. },
  31127. "operatorid": {
  31128. "description": "登录账号(LoginID)",
  31129. "type": "integer"
  31130. },
  31131. "optiontype": {
  31132. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  31133. "type": "integer"
  31134. },
  31135. "orderid": {
  31136. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31137. "type": "string"
  31138. },
  31139. "orderprice": {
  31140. "description": "委托价格",
  31141. "type": "number"
  31142. },
  31143. "orderqty": {
  31144. "description": "委托数量",
  31145. "type": "number"
  31146. },
  31147. "ordersrc": {
  31148. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  31149. "type": "integer"
  31150. },
  31151. "orderstatus": {
  31152. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  31153. "type": "integer"
  31154. },
  31155. "ordertime": {
  31156. "description": "委托时间",
  31157. "type": "string"
  31158. },
  31159. "preexerciseprice": {
  31160. "description": "预申报价格",
  31161. "type": "number"
  31162. },
  31163. "premium": {
  31164. "description": "权利金",
  31165. "type": "number"
  31166. },
  31167. "preorderid": {
  31168. "description": "关联预埋单号(止盈止损单时填写)",
  31169. "type": "string"
  31170. },
  31171. "pricemode": {
  31172. "description": "取价方式 - 1:市价 2: 限价",
  31173. "type": "integer"
  31174. },
  31175. "qtydecimalplace": {
  31176. "description": "成交量小数位",
  31177. "type": "integer"
  31178. },
  31179. "quoteid": {
  31180. "description": "报价单ID",
  31181. "type": "integer"
  31182. },
  31183. "relatedid": {
  31184. "description": "关联单号(交割单)",
  31185. "type": "string"
  31186. },
  31187. "retcode": {
  31188. "description": "错误代码",
  31189. "type": "integer"
  31190. },
  31191. "sessionid": {
  31192. "description": "会话ID",
  31193. "type": "integer"
  31194. },
  31195. "tradedate": {
  31196. "description": "交易日(yyyyMMdd)",
  31197. "type": "string"
  31198. },
  31199. "trademode": {
  31200. "description": "交易模式",
  31201. "type": "integer"
  31202. },
  31203. "tradeproperty": {
  31204. "description": "交易属性",
  31205. "type": "integer"
  31206. },
  31207. "tradeqty": {
  31208. "description": "成交数量",
  31209. "type": "number"
  31210. },
  31211. "unfreezecharge": {
  31212. "description": "解冻手续费",
  31213. "type": "number"
  31214. },
  31215. "unfreezemargin": {
  31216. "description": "解冻保证金",
  31217. "type": "number"
  31218. },
  31219. "updatetime": {
  31220. "description": "更新时间",
  31221. "type": "string"
  31222. },
  31223. "uuid": {
  31224. "description": "发起端唯一id",
  31225. "type": "string"
  31226. },
  31227. "validtime": {
  31228. "description": "有效期限",
  31229. "type": "string"
  31230. },
  31231. "validtype": {
  31232. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  31233. "type": "integer"
  31234. },
  31235. "volumetype": {
  31236. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  31237. "type": "integer"
  31238. }
  31239. }
  31240. },
  31241. "order.QueryTradeDetailRsp": {
  31242. "type": "object",
  31243. "required": [
  31244. "accountid",
  31245. "buyorsell",
  31246. "goodsid",
  31247. "marketid",
  31248. "memberuserid",
  31249. "orderid",
  31250. "tradeamount",
  31251. "tradedate",
  31252. "tradeid",
  31253. "tradeprice",
  31254. "tradeqty",
  31255. "tradetime"
  31256. ],
  31257. "properties": {
  31258. "accountid": {
  31259. "description": "账户ID[报价币种]",
  31260. "type": "integer"
  31261. },
  31262. "advanceratio": {
  31263. "description": "首付比率",
  31264. "type": "number"
  31265. },
  31266. "buildtype": {
  31267. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  31268. "type": "integer"
  31269. },
  31270. "buyorsell": {
  31271. "description": "方向 - 0:买 1:卖",
  31272. "type": "integer"
  31273. },
  31274. "charge": {
  31275. "description": "手续费",
  31276. "type": "number"
  31277. },
  31278. "closecharge": {
  31279. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31280. "type": "number"
  31281. },
  31282. "closeexchagechargevalue": {
  31283. "description": "平仓交易所手续费设置值",
  31284. "type": "number"
  31285. },
  31286. "closefeealgorithm": {
  31287. "description": "平仓手续费收取方式 1:比率 2:固定",
  31288. "type": "integer"
  31289. },
  31290. "closememberchargevalue": {
  31291. "description": "平仓会员手续费设置值",
  31292. "type": "number"
  31293. },
  31294. "closepl": {
  31295. "description": "平仓盈亏",
  31296. "type": "number"
  31297. },
  31298. "closepl2": {
  31299. "description": "平仓盈亏[逐笔]",
  31300. "type": "number"
  31301. },
  31302. "closeqty": {
  31303. "description": "平仓数量(先建后平操作 需要记录)",
  31304. "type": "number"
  31305. },
  31306. "creditamount": {
  31307. "description": "授信金额",
  31308. "type": "number"
  31309. },
  31310. "decimalplace": {
  31311. "description": "商品报价小数位",
  31312. "type": "integer"
  31313. },
  31314. "enumdicname": {
  31315. "description": "单位名称",
  31316. "type": "string"
  31317. },
  31318. "gcaccountid": {
  31319. "description": "账户ID[合约币种]",
  31320. "type": "integer"
  31321. },
  31322. "goodscode": {
  31323. "description": "商品代码",
  31324. "type": "string"
  31325. },
  31326. "goodsid": {
  31327. "description": "商品ID",
  31328. "type": "integer"
  31329. },
  31330. "goodsname": {
  31331. "description": "商品名称",
  31332. "type": "string"
  31333. },
  31334. "goodunitid": {
  31335. "description": "商品单位id",
  31336. "type": "integer"
  31337. },
  31338. "intclosepl": {
  31339. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  31340. "type": "integer"
  31341. },
  31342. "isconfirmexercise": {
  31343. "description": "是否确认行权- 0:否 1:是",
  31344. "type": "integer"
  31345. },
  31346. "ismain": {
  31347. "description": "是否主单 - 0:不是 1:是",
  31348. "type": "integer"
  31349. },
  31350. "ispreexercise": {
  31351. "description": "是否预申报- 0:否 1:是",
  31352. "type": "integer"
  31353. },
  31354. "isreckoned": {
  31355. "description": "是否结算 - 0:未结算 1:已结算",
  31356. "type": "integer"
  31357. },
  31358. "listingselecttype": {
  31359. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31360. "type": "integer"
  31361. },
  31362. "marketid": {
  31363. "description": "市场ID",
  31364. "type": "integer"
  31365. },
  31366. "marketname": {
  31367. "description": "市场名称",
  31368. "type": "string"
  31369. },
  31370. "matchaccountid": {
  31371. "description": "对手账号id",
  31372. "type": "integer"
  31373. },
  31374. "memberuserid": {
  31375. "description": "会员id 个人投资者 需要填写",
  31376. "type": "integer"
  31377. },
  31378. "opencharge": {
  31379. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31380. "type": "number"
  31381. },
  31382. "openexchagechargevalue": {
  31383. "description": "建仓交易所手续费设置值",
  31384. "type": "number"
  31385. },
  31386. "openfeealgorithm": {
  31387. "description": "建仓手续费收取方式 1:比率 2:固定",
  31388. "type": "integer"
  31389. },
  31390. "openmemberchargevalue": {
  31391. "description": "建仓会员手续费设置值",
  31392. "type": "number"
  31393. },
  31394. "openqty": {
  31395. "description": "开仓数量(先建后平操作 需要记录)",
  31396. "type": "number"
  31397. },
  31398. "optiontype": {
  31399. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  31400. "type": "integer"
  31401. },
  31402. "orderid": {
  31403. "description": "委托单号",
  31404. "type": "string"
  31405. },
  31406. "payamount": {
  31407. "description": "支付金额(付款金额)",
  31408. "type": "number"
  31409. },
  31410. "performanceplanid": {
  31411. "description": "履约计划ID[期权]",
  31412. "type": "integer"
  31413. },
  31414. "performancestatus": {
  31415. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  31416. "type": "integer"
  31417. },
  31418. "preexerciseprice": {
  31419. "description": "预申报价格",
  31420. "type": "number"
  31421. },
  31422. "premium": {
  31423. "description": "权利金 - [持仓单的权利金]",
  31424. "type": "number"
  31425. },
  31426. "qtydecimalplace": {
  31427. "description": "商品报价小数位",
  31428. "type": "integer"
  31429. },
  31430. "recvamount": {
  31431. "description": "到账金额 = 成交金额 - 手续费",
  31432. "type": "number"
  31433. },
  31434. "relatedouttradeid": {
  31435. "description": "关联外部成交单ID",
  31436. "type": "integer"
  31437. },
  31438. "status": {
  31439. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  31440. "type": "integer"
  31441. },
  31442. "totalamount": {
  31443. "description": "订单总额 = 成交金额 + 手续费",
  31444. "type": "number"
  31445. },
  31446. "tradeamount": {
  31447. "description": "成交金额[账户币种,用于所有权]",
  31448. "type": "number"
  31449. },
  31450. "tradedate": {
  31451. "description": "交易日(yyyyMMdd)",
  31452. "type": "string"
  31453. },
  31454. "tradeid": {
  31455. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31456. "type": "string"
  31457. },
  31458. "trademode": {
  31459. "description": "交易模式",
  31460. "type": "integer"
  31461. },
  31462. "tradeprice": {
  31463. "description": "成交价格",
  31464. "type": "number"
  31465. },
  31466. "tradeproperty": {
  31467. "description": "交易属性",
  31468. "type": "integer"
  31469. },
  31470. "tradeqty": {
  31471. "description": "成交数量",
  31472. "type": "number"
  31473. },
  31474. "tradetime": {
  31475. "description": "成交时间",
  31476. "type": "string"
  31477. },
  31478. "tradetype": {
  31479. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  31480. "type": "integer"
  31481. }
  31482. }
  31483. },
  31484. "order.QueryTradeOrderDetailRsp": {
  31485. "type": "object",
  31486. "required": [
  31487. "accountid",
  31488. "buildtype",
  31489. "buyorsell",
  31490. "goodsid",
  31491. "marketid",
  31492. "operatetype",
  31493. "orderqty",
  31494. "ordertime",
  31495. "pricemode",
  31496. "tradedate",
  31497. "validtype"
  31498. ],
  31499. "properties": {
  31500. "accountid": {
  31501. "description": "账户ID[报价币种]",
  31502. "type": "integer"
  31503. },
  31504. "buildtype": {
  31505. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  31506. "type": "integer"
  31507. },
  31508. "buyorsell": {
  31509. "description": "买卖 - 0:买 1:卖",
  31510. "type": "integer"
  31511. },
  31512. "cancelorderid": {
  31513. "description": "撤单单号(撤单时填写)",
  31514. "type": "string"
  31515. },
  31516. "cancelqty": {
  31517. "description": "撤单数量",
  31518. "type": "number"
  31519. },
  31520. "clienttype": {
  31521. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31522. "type": "integer"
  31523. },
  31524. "closefreezecharge": {
  31525. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  31526. "type": "number"
  31527. },
  31528. "closeqty": {
  31529. "description": "平仓数量(先建后平操作 需要记录)",
  31530. "type": "number"
  31531. },
  31532. "closetradeqty": {
  31533. "description": "平仓成交数量(先建后平操作,需要记录)",
  31534. "type": "number"
  31535. },
  31536. "closeunfreezecharge": {
  31537. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  31538. "type": "number"
  31539. },
  31540. "decimalplace": {
  31541. "description": "商品报价小数位",
  31542. "type": "integer"
  31543. },
  31544. "delistingtype": {
  31545. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  31546. "type": "integer"
  31547. },
  31548. "enableqty": {
  31549. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  31550. "type": "number"
  31551. },
  31552. "enumdicname": {
  31553. "description": "单位名称",
  31554. "type": "string"
  31555. },
  31556. "freezecharge": {
  31557. "description": "冻结手续费",
  31558. "type": "number"
  31559. },
  31560. "freezemargin": {
  31561. "description": "冻结保证金(冻结交易金额)",
  31562. "type": "number"
  31563. },
  31564. "goodscode": {
  31565. "description": "商品代码",
  31566. "type": "string"
  31567. },
  31568. "goodsid": {
  31569. "description": "商品ID",
  31570. "type": "integer"
  31571. },
  31572. "goodsname": {
  31573. "description": "商品名称",
  31574. "type": "string"
  31575. },
  31576. "goodunitid": {
  31577. "description": "商品单位id",
  31578. "type": "integer"
  31579. },
  31580. "listingselecttype": {
  31581. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31582. "type": "integer"
  31583. },
  31584. "marketid": {
  31585. "description": "市场ID",
  31586. "type": "integer"
  31587. },
  31588. "marketname": {
  31589. "description": "市场名称",
  31590. "type": "string"
  31591. },
  31592. "openfreezecharge": {
  31593. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  31594. "type": "number"
  31595. },
  31596. "openqty": {
  31597. "description": "开仓数量(先建后平操作,需要记录)",
  31598. "type": "number"
  31599. },
  31600. "opentradeqty": {
  31601. "description": "开仓成交数量(先建后平操作,需要记录)",
  31602. "type": "number"
  31603. },
  31604. "openunfreezecharge": {
  31605. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  31606. "type": "number"
  31607. },
  31608. "operatetype": {
  31609. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  31610. "type": "integer"
  31611. },
  31612. "operatorid": {
  31613. "description": "登录账号(LoginID)",
  31614. "type": "integer"
  31615. },
  31616. "orderid": {
  31617. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31618. "type": "string"
  31619. },
  31620. "orderprice": {
  31621. "description": "委托价格",
  31622. "type": "number"
  31623. },
  31624. "orderqty": {
  31625. "description": "委托数量",
  31626. "type": "number"
  31627. },
  31628. "ordersrc": {
  31629. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  31630. "type": "integer"
  31631. },
  31632. "orderstatus": {
  31633. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  31634. "type": "integer"
  31635. },
  31636. "ordertime": {
  31637. "description": "委托时间",
  31638. "type": "string"
  31639. },
  31640. "preorderid": {
  31641. "description": "关联预埋单号(止盈止损单时填写)",
  31642. "type": "string"
  31643. },
  31644. "pricemode": {
  31645. "description": "取价方式 - 1:市价 2: 限价",
  31646. "type": "integer"
  31647. },
  31648. "qtydecimalplace": {
  31649. "description": "商品报价小数位",
  31650. "type": "integer"
  31651. },
  31652. "relatedid": {
  31653. "description": "关联单号(交割单)",
  31654. "type": "string"
  31655. },
  31656. "tradedate": {
  31657. "description": "交易日(yyyyMMdd)",
  31658. "type": "string"
  31659. },
  31660. "trademode": {
  31661. "description": "交易模式",
  31662. "type": "integer"
  31663. },
  31664. "tradeqty": {
  31665. "description": "成交数量",
  31666. "type": "number"
  31667. },
  31668. "unfreezecharge": {
  31669. "description": "解冻手续费",
  31670. "type": "number"
  31671. },
  31672. "unfreezemargin": {
  31673. "description": "解冻保证金",
  31674. "type": "number"
  31675. },
  31676. "validtime": {
  31677. "description": "有效期限",
  31678. "type": "string"
  31679. },
  31680. "validtype": {
  31681. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  31682. "type": "integer"
  31683. },
  31684. "volumetype": {
  31685. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  31686. "type": "integer"
  31687. }
  31688. }
  31689. },
  31690. "order.QueryTradePositionRsp": {
  31691. "type": "object",
  31692. "required": [
  31693. "goodsid"
  31694. ],
  31695. "properties": {
  31696. "accountid": {
  31697. "description": "资金账户",
  31698. "type": "integer"
  31699. },
  31700. "agreeunit": {
  31701. "description": "合约单位",
  31702. "type": "number"
  31703. },
  31704. "averageprice": {
  31705. "description": "持仓均价",
  31706. "type": "number"
  31707. },
  31708. "buyorsell": {
  31709. "description": "方向 - 0:买 1:卖",
  31710. "type": "integer"
  31711. },
  31712. "closetotalqty": {
  31713. "description": "平仓总数量",
  31714. "type": "number"
  31715. },
  31716. "curholderamount": {
  31717. "description": "当前持仓总金额[商品币种]",
  31718. "type": "number"
  31719. },
  31720. "curpositionqty": {
  31721. "description": "当前持仓总数量",
  31722. "type": "number"
  31723. },
  31724. "currencyid": {
  31725. "description": "报价货币ID",
  31726. "type": "integer"
  31727. },
  31728. "curtdposition": {
  31729. "description": "期末今日头寸",
  31730. "type": "number"
  31731. },
  31732. "decimalplace": {
  31733. "description": "报价小数位",
  31734. "type": "integer"
  31735. },
  31736. "enableqty": {
  31737. "description": "可用量",
  31738. "type": "number"
  31739. },
  31740. "fretdposition": {
  31741. "description": "冻结今日头寸",
  31742. "type": "number"
  31743. },
  31744. "frozenqty": {
  31745. "description": "持仓冻结数量",
  31746. "type": "number"
  31747. },
  31748. "goodscode": {
  31749. "description": "商品代码",
  31750. "type": "string"
  31751. },
  31752. "goodsid": {
  31753. "description": "商品Id",
  31754. "type": "integer"
  31755. },
  31756. "goodsname": {
  31757. "description": "商品名称",
  31758. "type": "string"
  31759. },
  31760. "goodunit": {
  31761. "description": "报价单位",
  31762. "type": "string"
  31763. },
  31764. "goodunitid": {
  31765. "description": "报价单位ID",
  31766. "type": "integer"
  31767. },
  31768. "holderamount": {
  31769. "description": "期初持仓总金额[商品币种]",
  31770. "type": "number"
  31771. },
  31772. "lastprice": {
  31773. "description": "最新价",
  31774. "type": "number"
  31775. },
  31776. "marketamount": {
  31777. "description": "市值",
  31778. "type": "number"
  31779. },
  31780. "marketid": {
  31781. "description": "所属市场ID",
  31782. "type": "integer"
  31783. },
  31784. "openreqqty": {
  31785. "description": "开仓申请数量(用于比较最大持仓数量)",
  31786. "type": "number"
  31787. },
  31788. "opentotalqty": {
  31789. "description": "开仓总数量",
  31790. "type": "number"
  31791. },
  31792. "otherfrozenqty": {
  31793. "description": "持仓其他冻结数量(交割冻结)",
  31794. "type": "number"
  31795. },
  31796. "positionpl": {
  31797. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  31798. "type": "number"
  31799. },
  31800. "positionplrate": {
  31801. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  31802. "type": "number"
  31803. },
  31804. "positionqty": {
  31805. "description": "期初持仓数量",
  31806. "type": "number"
  31807. },
  31808. "qtydecimalplace": {
  31809. "description": "成交量小数位",
  31810. "type": "integer"
  31811. },
  31812. "tnqty": {
  31813. "description": "T+N冻结总量",
  31814. "type": "number"
  31815. },
  31816. "tnusedqty": {
  31817. "description": "T+N使用量(可以使用T+N的冻结数量)",
  31818. "type": "number"
  31819. },
  31820. "trademode": {
  31821. "description": "交易模式",
  31822. "type": "integer"
  31823. },
  31824. "usedmargin": {
  31825. "description": "占用保证金[商品币种]",
  31826. "type": "number"
  31827. }
  31828. }
  31829. },
  31830. "quote.HistoryData": {
  31831. "type": "object",
  31832. "properties": {
  31833. "c": {
  31834. "description": "收盘价",
  31835. "type": "number"
  31836. },
  31837. "f": {
  31838. "description": "是否补充数据",
  31839. "type": "boolean"
  31840. },
  31841. "h": {
  31842. "description": "最高价",
  31843. "type": "number"
  31844. },
  31845. "hv": {
  31846. "description": "持仓量",
  31847. "type": "integer"
  31848. },
  31849. "l": {
  31850. "description": "最低价",
  31851. "type": "number"
  31852. },
  31853. "o": {
  31854. "description": "开盘价",
  31855. "type": "number"
  31856. },
  31857. "s": {
  31858. "description": "结算价,日线周期(包括)以上才有",
  31859. "type": "number"
  31860. },
  31861. "ts": {
  31862. "description": "时间",
  31863. "type": "string"
  31864. },
  31865. "tt": {
  31866. "description": "总金额",
  31867. "type": "number"
  31868. },
  31869. "tv": {
  31870. "description": "总量",
  31871. "type": "integer"
  31872. }
  31873. }
  31874. },
  31875. "quote.HistoryTikData": {
  31876. "type": "object",
  31877. "properties": {
  31878. "AV": {
  31879. "description": "卖量",
  31880. "type": "integer"
  31881. },
  31882. "Ask": {
  31883. "description": "卖价",
  31884. "type": "number"
  31885. },
  31886. "BV": {
  31887. "description": "买量",
  31888. "type": "integer"
  31889. },
  31890. "Bid": {
  31891. "description": "买价",
  31892. "type": "number"
  31893. },
  31894. "HI": {
  31895. "description": "单笔持仓",
  31896. "type": "integer"
  31897. },
  31898. "HV": {
  31899. "description": "持仓量",
  31900. "type": "integer"
  31901. },
  31902. "PE": {
  31903. "description": "现价",
  31904. "type": "number"
  31905. },
  31906. "TDR": {
  31907. "description": "交易方向,0:买 1:卖",
  31908. "type": "integer"
  31909. },
  31910. "TK": {
  31911. "description": "交易类型",
  31912. "type": "integer"
  31913. },
  31914. "TS": {
  31915. "description": "行情时间文本",
  31916. "type": "string"
  31917. },
  31918. "TT": {
  31919. "description": "现金额",
  31920. "type": "number"
  31921. },
  31922. "Vol": {
  31923. "description": "现量",
  31924. "type": "integer"
  31925. }
  31926. }
  31927. },
  31928. "quote.QueryQuoteDayRsp": {
  31929. "type": "object",
  31930. "properties": {
  31931. "ask": {
  31932. "description": "卖1",
  31933. "type": "number"
  31934. },
  31935. "ask10": {
  31936. "description": "卖10",
  31937. "type": "number"
  31938. },
  31939. "ask2": {
  31940. "description": "卖2",
  31941. "type": "number"
  31942. },
  31943. "ask3": {
  31944. "description": "卖3",
  31945. "type": "number"
  31946. },
  31947. "ask4": {
  31948. "description": "卖4",
  31949. "type": "number"
  31950. },
  31951. "ask5": {
  31952. "description": "卖5",
  31953. "type": "number"
  31954. },
  31955. "ask6": {
  31956. "description": "卖6",
  31957. "type": "number"
  31958. },
  31959. "ask7": {
  31960. "description": "卖7",
  31961. "type": "number"
  31962. },
  31963. "ask8": {
  31964. "description": "卖8",
  31965. "type": "number"
  31966. },
  31967. "ask9": {
  31968. "description": "卖9",
  31969. "type": "number"
  31970. },
  31971. "askorderid": {
  31972. "description": "卖单号1",
  31973. "type": "integer"
  31974. },
  31975. "askorderid2": {
  31976. "description": "卖单号2",
  31977. "type": "integer"
  31978. },
  31979. "askorderid3": {
  31980. "description": "卖单号3",
  31981. "type": "integer"
  31982. },
  31983. "askorderid4": {
  31984. "description": "卖单号4",
  31985. "type": "integer"
  31986. },
  31987. "askorderid5": {
  31988. "description": "卖单号5",
  31989. "type": "integer"
  31990. },
  31991. "askordervolume": {
  31992. "description": "卖单量1",
  31993. "type": "integer"
  31994. },
  31995. "askordervolume10": {
  31996. "description": "卖单量10",
  31997. "type": "integer"
  31998. },
  31999. "askordervolume2": {
  32000. "description": "卖单量2",
  32001. "type": "integer"
  32002. },
  32003. "askordervolume3": {
  32004. "description": "卖单量3",
  32005. "type": "integer"
  32006. },
  32007. "askordervolume4": {
  32008. "description": "卖单量4",
  32009. "type": "integer"
  32010. },
  32011. "askordervolume5": {
  32012. "description": "卖单量5",
  32013. "type": "integer"
  32014. },
  32015. "askordervolume6": {
  32016. "description": "卖单量6",
  32017. "type": "integer"
  32018. },
  32019. "askordervolume7": {
  32020. "description": "卖单量7",
  32021. "type": "integer"
  32022. },
  32023. "askordervolume8": {
  32024. "description": "卖单量8",
  32025. "type": "integer"
  32026. },
  32027. "askordervolume9": {
  32028. "description": "卖单量9",
  32029. "type": "integer"
  32030. },
  32031. "askqueueinfo": {
  32032. "description": "大利市卖港股用",
  32033. "type": "string"
  32034. },
  32035. "askvolume": {
  32036. "description": "卖量1",
  32037. "type": "integer"
  32038. },
  32039. "askvolume10": {
  32040. "description": "卖量10",
  32041. "type": "integer"
  32042. },
  32043. "askvolume2": {
  32044. "description": "卖量2",
  32045. "type": "integer"
  32046. },
  32047. "askvolume3": {
  32048. "description": "卖量3",
  32049. "type": "integer"
  32050. },
  32051. "askvolume4": {
  32052. "description": "卖量4",
  32053. "type": "integer"
  32054. },
  32055. "askvolume5": {
  32056. "description": "卖量5",
  32057. "type": "integer"
  32058. },
  32059. "askvolume6": {
  32060. "description": "卖量6",
  32061. "type": "integer"
  32062. },
  32063. "askvolume7": {
  32064. "description": "卖量7",
  32065. "type": "integer"
  32066. },
  32067. "askvolume8": {
  32068. "description": "卖量8",
  32069. "type": "integer"
  32070. },
  32071. "askvolume9": {
  32072. "description": "卖量9",
  32073. "type": "integer"
  32074. },
  32075. "averageprice": {
  32076. "description": "均价",
  32077. "type": "number"
  32078. },
  32079. "bid": {
  32080. "description": "买1",
  32081. "type": "number"
  32082. },
  32083. "bid10": {
  32084. "description": "买10",
  32085. "type": "number"
  32086. },
  32087. "bid2": {
  32088. "description": "买2",
  32089. "type": "number"
  32090. },
  32091. "bid3": {
  32092. "description": "买3",
  32093. "type": "number"
  32094. },
  32095. "bid4": {
  32096. "description": "买4",
  32097. "type": "number"
  32098. },
  32099. "bid5": {
  32100. "description": "买5",
  32101. "type": "number"
  32102. },
  32103. "bid6": {
  32104. "description": "买6",
  32105. "type": "number"
  32106. },
  32107. "bid7": {
  32108. "description": "买7",
  32109. "type": "number"
  32110. },
  32111. "bid8": {
  32112. "description": "买8",
  32113. "type": "number"
  32114. },
  32115. "bid9": {
  32116. "description": "买9",
  32117. "type": "number"
  32118. },
  32119. "bidorderid": {
  32120. "description": "买单号1",
  32121. "type": "integer"
  32122. },
  32123. "bidorderid2": {
  32124. "description": "买单号2",
  32125. "type": "integer"
  32126. },
  32127. "bidorderid3": {
  32128. "description": "买单号3",
  32129. "type": "integer"
  32130. },
  32131. "bidorderid4": {
  32132. "description": "买单号4",
  32133. "type": "integer"
  32134. },
  32135. "bidorderid5": {
  32136. "description": "买单号5",
  32137. "type": "integer"
  32138. },
  32139. "bidordervolume": {
  32140. "description": "买单量1",
  32141. "type": "integer"
  32142. },
  32143. "bidordervolume10": {
  32144. "description": "买单量10",
  32145. "type": "integer"
  32146. },
  32147. "bidordervolume2": {
  32148. "description": "买单量2",
  32149. "type": "integer"
  32150. },
  32151. "bidordervolume3": {
  32152. "description": "买单量3",
  32153. "type": "integer"
  32154. },
  32155. "bidordervolume4": {
  32156. "description": "买单量4",
  32157. "type": "integer"
  32158. },
  32159. "bidordervolume5": {
  32160. "description": "买单量5",
  32161. "type": "integer"
  32162. },
  32163. "bidordervolume6": {
  32164. "description": "买单量6",
  32165. "type": "integer"
  32166. },
  32167. "bidordervolume7": {
  32168. "description": "买单量7",
  32169. "type": "integer"
  32170. },
  32171. "bidordervolume8": {
  32172. "description": "买单量8",
  32173. "type": "integer"
  32174. },
  32175. "bidordervolume9": {
  32176. "description": "买单量9",
  32177. "type": "integer"
  32178. },
  32179. "bidqueueinfo": {
  32180. "description": "大利市买港股用",
  32181. "type": "string"
  32182. },
  32183. "bidvolume": {
  32184. "description": "买量1",
  32185. "type": "integer"
  32186. },
  32187. "bidvolume10": {
  32188. "description": "买量10",
  32189. "type": "integer"
  32190. },
  32191. "bidvolume2": {
  32192. "description": "买量2",
  32193. "type": "integer"
  32194. },
  32195. "bidvolume3": {
  32196. "description": "买量3",
  32197. "type": "integer"
  32198. },
  32199. "bidvolume4": {
  32200. "description": "买量4",
  32201. "type": "integer"
  32202. },
  32203. "bidvolume5": {
  32204. "description": "买量5",
  32205. "type": "integer"
  32206. },
  32207. "bidvolume6": {
  32208. "description": "买量6",
  32209. "type": "integer"
  32210. },
  32211. "bidvolume7": {
  32212. "description": "买量7",
  32213. "type": "integer"
  32214. },
  32215. "bidvolume8": {
  32216. "description": "买量8",
  32217. "type": "integer"
  32218. },
  32219. "bidvolume9": {
  32220. "description": "买量9",
  32221. "type": "integer"
  32222. },
  32223. "calloptionpremiums": {
  32224. "description": "认购期权1",
  32225. "type": "integer"
  32226. },
  32227. "calloptionpremiums2": {
  32228. "description": "认购期权2",
  32229. "type": "integer"
  32230. },
  32231. "calloptionpremiums3": {
  32232. "description": "认购期权3",
  32233. "type": "integer"
  32234. },
  32235. "calloptionpremiums4": {
  32236. "description": "认购期权4",
  32237. "type": "integer"
  32238. },
  32239. "calloptionpremiums5": {
  32240. "description": "认购期权5",
  32241. "type": "integer"
  32242. },
  32243. "cleartime": {
  32244. "description": "清盘时间",
  32245. "type": "integer"
  32246. },
  32247. "exchangecode": {
  32248. "description": "交易所代码",
  32249. "type": "integer"
  32250. },
  32251. "exchangedate": {
  32252. "description": "交易日",
  32253. "type": "integer"
  32254. },
  32255. "goodscode": {
  32256. "description": "商品代码",
  32257. "type": "string"
  32258. },
  32259. "grepmarketprice": {
  32260. "description": "暗盘价 港股专用",
  32261. "type": "number"
  32262. },
  32263. "highest": {
  32264. "description": "最高价",
  32265. "type": "number"
  32266. },
  32267. "holdincrement": {
  32268. "description": "单笔持仓",
  32269. "type": "integer"
  32270. },
  32271. "holdvolume": {
  32272. "description": "持仓",
  32273. "type": "integer"
  32274. },
  32275. "iep": {
  32276. "description": "平衡价 港股专用",
  32277. "type": "number"
  32278. },
  32279. "iev": {
  32280. "description": "平衡量 港股专用",
  32281. "type": "number"
  32282. },
  32283. "inventory": {
  32284. "description": "库存",
  32285. "type": "integer"
  32286. },
  32287. "iscleared": {
  32288. "description": "是否清盘标志",
  32289. "type": "integer"
  32290. },
  32291. "issettled": {
  32292. "description": "是否结算标志",
  32293. "type": "integer"
  32294. },
  32295. "last": {
  32296. "description": "最新价",
  32297. "type": "number"
  32298. },
  32299. "lastlot": {
  32300. "description": "最新成交手数",
  32301. "type": "integer"
  32302. },
  32303. "lasttime": {
  32304. "description": "行情时间(只有现价变化行情时间才变化)",
  32305. "type": "string"
  32306. },
  32307. "lastturnover": {
  32308. "description": "最新成交金额",
  32309. "type": "number"
  32310. },
  32311. "lastvolume": {
  32312. "description": "最新成交量",
  32313. "type": "integer"
  32314. },
  32315. "limitdown": {
  32316. "description": "跌停价",
  32317. "type": "number"
  32318. },
  32319. "limitup": {
  32320. "description": "涨停价",
  32321. "type": "number"
  32322. },
  32323. "lowest": {
  32324. "description": "最低价",
  32325. "type": "number"
  32326. },
  32327. "nontotalholdervolume": {
  32328. "description": "非交易持仓量",
  32329. "type": "integer"
  32330. },
  32331. "nontotallot": {
  32332. "description": "非交易总手数",
  32333. "type": "integer"
  32334. },
  32335. "nontotalturnover": {
  32336. "description": "非交易总金额",
  32337. "type": "integer"
  32338. },
  32339. "nontotalvolume": {
  32340. "description": "非交易总量",
  32341. "type": "integer"
  32342. },
  32343. "opened": {
  32344. "description": "开盘价",
  32345. "type": "number"
  32346. },
  32347. "opentime": {
  32348. "description": "开盘时间",
  32349. "type": "string"
  32350. },
  32351. "orderid": {
  32352. "description": "序号",
  32353. "type": "integer"
  32354. },
  32355. "preclose": {
  32356. "description": "昨收",
  32357. "type": "number"
  32358. },
  32359. "preholdvolume": {
  32360. "description": "昨持仓",
  32361. "type": "integer"
  32362. },
  32363. "presettle": {
  32364. "description": "昨结价",
  32365. "type": "number"
  32366. },
  32367. "publictradetype": {
  32368. "description": "公共交易标志类型 港股专用",
  32369. "type": "string"
  32370. },
  32371. "putoptionpremiums": {
  32372. "description": "认沽期权1",
  32373. "type": "integer"
  32374. },
  32375. "putoptionpremiums2": {
  32376. "description": "认沽期权2",
  32377. "type": "integer"
  32378. },
  32379. "putoptionpremiums3": {
  32380. "description": "认沽期权3",
  32381. "type": "integer"
  32382. },
  32383. "putoptionpremiums4": {
  32384. "description": "认沽期权4",
  32385. "type": "integer"
  32386. },
  32387. "putoptionpremiums5": {
  32388. "description": "认沽期权5",
  32389. "type": "integer"
  32390. },
  32391. "settle": {
  32392. "description": "结算价",
  32393. "type": "number"
  32394. },
  32395. "strikeprice": {
  32396. "description": "发行价",
  32397. "type": "number"
  32398. },
  32399. "totalaskvolume": {
  32400. "description": "内盘",
  32401. "type": "integer"
  32402. },
  32403. "totalbidvolume": {
  32404. "description": "外盘",
  32405. "type": "integer"
  32406. },
  32407. "totallot": {
  32408. "description": "总手数",
  32409. "type": "integer"
  32410. },
  32411. "totalturnover": {
  32412. "description": "总金额",
  32413. "type": "number"
  32414. },
  32415. "totalvolume": {
  32416. "description": "总量",
  32417. "type": "integer"
  32418. },
  32419. "utclasttime": {
  32420. "description": "utc的行情时间",
  32421. "type": "string"
  32422. }
  32423. }
  32424. },
  32425. "quote.QueryTSDataRsp": {
  32426. "type": "object",
  32427. "properties": {
  32428. "Count": {
  32429. "description": "交易日应有数据个数",
  32430. "type": "integer"
  32431. },
  32432. "decimalPlace": {
  32433. "description": "小数位",
  32434. "type": "integer"
  32435. },
  32436. "endTime": {
  32437. "description": "结束时间",
  32438. "type": "string"
  32439. },
  32440. "goodsCode": {
  32441. "description": "商品代码",
  32442. "type": "string"
  32443. },
  32444. "historyDatas": {
  32445. "description": "历史数据",
  32446. "type": "array",
  32447. "items": {
  32448. "$ref": "#/definitions/quote.HistoryData"
  32449. }
  32450. },
  32451. "outGoodsCode": {
  32452. "description": "外部商品代码",
  32453. "type": "string"
  32454. },
  32455. "preSettle": {
  32456. "description": "昨结价",
  32457. "type": "number"
  32458. },
  32459. "runSteps": {
  32460. "description": "交易日开休市计划",
  32461. "type": "array",
  32462. "items": {
  32463. "$ref": "#/definitions/quote.TSDataRunStep"
  32464. }
  32465. },
  32466. "startTime": {
  32467. "description": "开始时间",
  32468. "type": "string"
  32469. },
  32470. "tradeDate": {
  32471. "description": "交易日",
  32472. "type": "string"
  32473. }
  32474. }
  32475. },
  32476. "quote.TSDataRunStep": {
  32477. "type": "object",
  32478. "properties": {
  32479. "end": {
  32480. "description": "真实结束时间",
  32481. "type": "string"
  32482. },
  32483. "endflag": {
  32484. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  32485. "type": "integer"
  32486. },
  32487. "endtime": {
  32488. "description": "结束时间(HH:mm)",
  32489. "type": "string"
  32490. },
  32491. "endweekday": {
  32492. "description": "结束周几",
  32493. "type": "integer"
  32494. },
  32495. "groupid": {
  32496. "description": "分组ID",
  32497. "type": "integer"
  32498. },
  32499. "runstep": {
  32500. "description": "运行阶段 - 2:连续交易",
  32501. "type": "integer"
  32502. },
  32503. "sectionid": {
  32504. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  32505. "type": "integer"
  32506. },
  32507. "start": {
  32508. "description": "真实开始时间",
  32509. "type": "string"
  32510. },
  32511. "startflag": {
  32512. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  32513. "type": "integer"
  32514. },
  32515. "starttime": {
  32516. "description": "起始时间(HH:mm)",
  32517. "type": "string"
  32518. },
  32519. "startweekday": {
  32520. "description": "起始周几",
  32521. "type": "integer"
  32522. },
  32523. "tradeweekday": {
  32524. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  32525. "type": "integer"
  32526. }
  32527. }
  32528. },
  32529. "szdz.QueryConvertLogRsp": {
  32530. "type": "object",
  32531. "required": [
  32532. "logid"
  32533. ],
  32534. "properties": {
  32535. "accountid": {
  32536. "description": "资金账户ID",
  32537. "type": "integer"
  32538. },
  32539. "clientticket": {
  32540. "description": "客户端流水号",
  32541. "type": "string"
  32542. },
  32543. "converttype": {
  32544. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  32545. "type": "integer"
  32546. },
  32547. "createtime": {
  32548. "description": "记账时间",
  32549. "type": "string"
  32550. },
  32551. "daymaxvalue": {
  32552. "description": "配置当日最大转入限制",
  32553. "type": "number"
  32554. },
  32555. "daymaxvalue2": {
  32556. "description": "配置当日最大转入限制(转入)",
  32557. "type": "number"
  32558. },
  32559. "goodscode": {
  32560. "description": "商品代码",
  32561. "type": "string"
  32562. },
  32563. "goodsname": {
  32564. "description": "商品名称",
  32565. "type": "string"
  32566. },
  32567. "handlestatus": {
  32568. "description": "处理状态",
  32569. "type": "integer"
  32570. },
  32571. "innergoodsid": {
  32572. "description": "内部商品ID",
  32573. "type": "integer"
  32574. },
  32575. "inratio": {
  32576. "description": "配置转入比值",
  32577. "type": "integer"
  32578. },
  32579. "invalue": {
  32580. "description": "目标值",
  32581. "type": "number"
  32582. },
  32583. "logid": {
  32584. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32585. "type": "integer"
  32586. },
  32587. "mobile": {
  32588. "description": "手机号码(加密存储)",
  32589. "type": "string"
  32590. },
  32591. "outergoodscode": {
  32592. "description": "外部商品代码[JD\\PD]",
  32593. "type": "string"
  32594. },
  32595. "outratio": {
  32596. "description": "配置转出比值",
  32597. "type": "integer"
  32598. },
  32599. "outvalue": {
  32600. "description": "源值",
  32601. "type": "number"
  32602. },
  32603. "pddecimalplace": {
  32604. "description": "PD小数位",
  32605. "type": "integer"
  32606. },
  32607. "qty": {
  32608. "description": "数量",
  32609. "type": "string"
  32610. },
  32611. "remark": {
  32612. "description": "备注",
  32613. "type": "string"
  32614. },
  32615. "sessionid": {
  32616. "description": "会话ID",
  32617. "type": "integer"
  32618. },
  32619. "timemaxvalue": {
  32620. "description": "配置单次最大转入限制",
  32621. "type": "number"
  32622. },
  32623. "timemaxvalue2": {
  32624. "description": "配置单次最大转入限制(转入)",
  32625. "type": "number"
  32626. },
  32627. "timeminvalue": {
  32628. "description": "配置单次最小数量限制",
  32629. "type": "number"
  32630. },
  32631. "timeminvalue2": {
  32632. "description": "配置单次最小数量限制(转入)",
  32633. "type": "number"
  32634. },
  32635. "tradedate": {
  32636. "description": "交易日(yyyyMMdd)",
  32637. "type": "string"
  32638. },
  32639. "userid": {
  32640. "description": "用户ID",
  32641. "type": "integer"
  32642. }
  32643. }
  32644. },
  32645. "szdz.QueryGoodsPickupRsp": {
  32646. "type": "object",
  32647. "required": [
  32648. "takeorderid"
  32649. ],
  32650. "properties": {
  32651. "accountid": {
  32652. "description": "账户ID",
  32653. "type": "integer"
  32654. },
  32655. "address": {
  32656. "description": "提货人详细地址",
  32657. "type": "string"
  32658. },
  32659. "auditer": {
  32660. "description": "审核人",
  32661. "type": "integer"
  32662. },
  32663. "audittime": {
  32664. "description": "审核时间",
  32665. "type": "string"
  32666. },
  32667. "cardnum": {
  32668. "description": "提货人证件号码",
  32669. "type": "string"
  32670. },
  32671. "cardtypeid": {
  32672. "description": "提货人证件类型",
  32673. "type": "integer"
  32674. },
  32675. "checkremark": {
  32676. "description": "审核备注",
  32677. "type": "string"
  32678. },
  32679. "goodscode": {
  32680. "description": "商品代码",
  32681. "type": "string"
  32682. },
  32683. "goodsid": {
  32684. "description": "商品ID",
  32685. "type": "integer"
  32686. },
  32687. "goodsname": {
  32688. "description": "商品名称",
  32689. "type": "string"
  32690. },
  32691. "handlestatus": {
  32692. "description": "处理状态",
  32693. "type": "integer"
  32694. },
  32695. "marketid": {
  32696. "description": "市场ID",
  32697. "type": "integer"
  32698. },
  32699. "phonenum": {
  32700. "description": "提货人联系方式",
  32701. "type": "string"
  32702. },
  32703. "qty": {
  32704. "description": "提货数量",
  32705. "type": "number"
  32706. },
  32707. "recivername": {
  32708. "description": "提货人姓名",
  32709. "type": "string"
  32710. },
  32711. "reqtime": {
  32712. "description": "更新时间",
  32713. "type": "string"
  32714. },
  32715. "takemode": {
  32716. "description": "提货方式 - 2:自提 3:配送",
  32717. "type": "integer"
  32718. },
  32719. "takeorderid": {
  32720. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  32721. "type": "string"
  32722. },
  32723. "takeorderstatus": {
  32724. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  32725. "type": "integer"
  32726. },
  32727. "takeremark": {
  32728. "description": "提货备注",
  32729. "type": "string"
  32730. },
  32731. "tradedate": {
  32732. "description": "交易日(yyyyMMdd)",
  32733. "type": "string"
  32734. },
  32735. "userid": {
  32736. "description": "用户ID",
  32737. "type": "integer"
  32738. }
  32739. }
  32740. },
  32741. "szdz.QueryRecieptOrderRsp": {
  32742. "type": "object",
  32743. "required": [
  32744. "ordertime"
  32745. ],
  32746. "properties": {
  32747. "accountName": {
  32748. "description": "所属账号名称(已脱敏)",
  32749. "type": "string"
  32750. },
  32751. "accountid": {
  32752. "description": "资金账号",
  32753. "type": "integer"
  32754. },
  32755. "buyorsell": {
  32756. "description": "方向 - 0:买 1:卖",
  32757. "type": "integer"
  32758. },
  32759. "enableqty": {
  32760. "description": "可摘数量",
  32761. "type": "integer"
  32762. },
  32763. "goodscode": {
  32764. "description": "商品代码",
  32765. "type": "string"
  32766. },
  32767. "goodsid": {
  32768. "description": "商品ID",
  32769. "type": "integer"
  32770. },
  32771. "goodsname": {
  32772. "description": "商品名称",
  32773. "type": "string"
  32774. },
  32775. "orderid": {
  32776. "description": "委托单号",
  32777. "type": "string"
  32778. },
  32779. "orderprice": {
  32780. "description": "委托价格",
  32781. "type": "number"
  32782. },
  32783. "ordertime": {
  32784. "description": "委托时间",
  32785. "type": "string"
  32786. },
  32787. "tradedate": {
  32788. "description": "交易日(yyyyMMdd)",
  32789. "type": "string"
  32790. }
  32791. }
  32792. },
  32793. "szdz.QuerySZDZTradePositionRsp": {
  32794. "type": "object",
  32795. "properties": {
  32796. "accountid": {
  32797. "description": "账号Id",
  32798. "type": "integer"
  32799. },
  32800. "agreeunit": {
  32801. "description": "合约单位",
  32802. "type": "number"
  32803. },
  32804. "averageprice": {
  32805. "description": "持仓均价",
  32806. "type": "number"
  32807. },
  32808. "buyorsell": {
  32809. "description": "方向 - 0:买 1:卖",
  32810. "type": "integer"
  32811. },
  32812. "closetotalqty": {
  32813. "description": "平仓总数量",
  32814. "type": "integer"
  32815. },
  32816. "curholderamount": {
  32817. "description": "当前持仓总金额",
  32818. "type": "number"
  32819. },
  32820. "curpositionqty": {
  32821. "description": "当前持仓总数量",
  32822. "type": "integer"
  32823. },
  32824. "currencyid": {
  32825. "description": "报价货币ID",
  32826. "type": "integer"
  32827. },
  32828. "curtdposition": {
  32829. "description": "期末今日头寸",
  32830. "type": "integer"
  32831. },
  32832. "decimalplace": {
  32833. "description": "报价小数位",
  32834. "type": "integer"
  32835. },
  32836. "enableqty": {
  32837. "description": "可用量",
  32838. "type": "integer"
  32839. },
  32840. "fretdposition": {
  32841. "description": "冻结今日头寸",
  32842. "type": "integer"
  32843. },
  32844. "frozenqty": {
  32845. "description": "持仓冻结数量",
  32846. "type": "integer"
  32847. },
  32848. "goodscode": {
  32849. "description": "商品代码(内部)",
  32850. "type": "string"
  32851. },
  32852. "goodsid": {
  32853. "description": "商品Id",
  32854. "type": "integer"
  32855. },
  32856. "goodsname": {
  32857. "description": "商品名称",
  32858. "type": "string"
  32859. },
  32860. "goodunit": {
  32861. "description": "报价单位",
  32862. "type": "string"
  32863. },
  32864. "goodunitid": {
  32865. "description": "报价单位ID",
  32866. "type": "integer"
  32867. },
  32868. "holderamount": {
  32869. "description": "期初持仓总金额",
  32870. "type": "number"
  32871. },
  32872. "marketid": {
  32873. "description": "市场ID",
  32874. "type": "integer"
  32875. },
  32876. "openreqqty": {
  32877. "description": "开仓申请数量",
  32878. "type": "integer"
  32879. },
  32880. "opentotalqty": {
  32881. "description": "开仓总数量",
  32882. "type": "integer"
  32883. },
  32884. "otherfrozenqty": {
  32885. "description": "持仓其他冻结数量(交割冻结)",
  32886. "type": "integer"
  32887. },
  32888. "positionqty": {
  32889. "description": "期初持仓数量",
  32890. "type": "integer"
  32891. },
  32892. "szdz3freezqty": {
  32893. "description": "尚志大宗转换冻结总数量",
  32894. "type": "integer"
  32895. },
  32896. "tnqty": {
  32897. "description": "T+N冻结总量",
  32898. "type": "integer"
  32899. },
  32900. "tnusedqty": {
  32901. "description": "T+N使用量",
  32902. "type": "integer"
  32903. },
  32904. "trademode": {
  32905. "description": "交易模式",
  32906. "type": "integer"
  32907. },
  32908. "usedmargin": {
  32909. "description": "占用保证金",
  32910. "type": "number"
  32911. }
  32912. }
  32913. },
  32914. "taaccount.QueryAmountLogRsp": {
  32915. "type": "object",
  32916. "required": [
  32917. "accountid",
  32918. "amount",
  32919. "amountadjusttype",
  32920. "autoid",
  32921. "balance",
  32922. "createtime",
  32923. "currentbalance",
  32924. "operatetype"
  32925. ],
  32926. "properties": {
  32927. "OPERATETYPENAME": {
  32928. "description": "资金操作类型名称",
  32929. "type": "string"
  32930. },
  32931. "accountid": {
  32932. "description": "资金账户ID",
  32933. "type": "integer"
  32934. },
  32935. "agoodscode": {
  32936. "description": "竞拍商品代码",
  32937. "type": "string"
  32938. },
  32939. "agoodsname": {
  32940. "description": "竞拍商品名称",
  32941. "type": "string"
  32942. },
  32943. "amount": {
  32944. "description": "资金金额",
  32945. "type": "number"
  32946. },
  32947. "amountadjusttype": {
  32948. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  32949. "type": "integer"
  32950. },
  32951. "autoid": {
  32952. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  32953. "type": "integer"
  32954. },
  32955. "balance": {
  32956. "description": "期初余额",
  32957. "type": "number"
  32958. },
  32959. "businesscode": {
  32960. "description": "业务编号",
  32961. "type": "integer"
  32962. },
  32963. "createtime": {
  32964. "description": "发生时间",
  32965. "type": "string"
  32966. },
  32967. "currencyid": {
  32968. "description": "币种ID",
  32969. "type": "integer"
  32970. },
  32971. "currentbalance": {
  32972. "description": "期末余额(变动后金额)",
  32973. "type": "number"
  32974. },
  32975. "dgoodscode": {
  32976. "description": "交割商品代码",
  32977. "type": "string"
  32978. },
  32979. "dgoodsname": {
  32980. "description": "交割商品名称",
  32981. "type": "string"
  32982. },
  32983. "goodscode": {
  32984. "description": "商品代码",
  32985. "type": "string"
  32986. },
  32987. "goodsid": {
  32988. "description": "商品ID",
  32989. "type": "integer"
  32990. },
  32991. "goodsname": {
  32992. "description": "商品名称",
  32993. "type": "string"
  32994. },
  32995. "marketid": {
  32996. "description": "市场ID",
  32997. "type": "integer"
  32998. },
  32999. "marketname": {
  33000. "description": "市场名称",
  33001. "type": "string"
  33002. },
  33003. "moneyticket": {
  33004. "description": "资金流水号:银行端流水号",
  33005. "type": "integer"
  33006. },
  33007. "operatetype": {
  33008. "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:营销收款",
  33009. "type": "integer"
  33010. },
  33011. "relationorderid": {
  33012. "description": "关联单号",
  33013. "type": "string"
  33014. },
  33015. "remark": {
  33016. "description": "备注",
  33017. "type": "string"
  33018. },
  33019. "trademode": {
  33020. "description": "交易模式",
  33021. "type": "integer"
  33022. }
  33023. }
  33024. },
  33025. "taaccount.QueryHisAmountLogRsp": {
  33026. "type": "object",
  33027. "required": [
  33028. "accountid",
  33029. "amount",
  33030. "amountadjusttype",
  33031. "autoid",
  33032. "balance",
  33033. "createtime",
  33034. "currentbalance",
  33035. "histradedate",
  33036. "operatetype"
  33037. ],
  33038. "properties": {
  33039. "OPERATETYPENAME": {
  33040. "description": "资金操作类型名称",
  33041. "type": "string"
  33042. },
  33043. "accountid": {
  33044. "description": "资金账户ID",
  33045. "type": "integer"
  33046. },
  33047. "agoodscode": {
  33048. "description": "竞拍商品代码",
  33049. "type": "string"
  33050. },
  33051. "agoodsname": {
  33052. "description": "竞拍商品名称",
  33053. "type": "string"
  33054. },
  33055. "amount": {
  33056. "description": "资金金额",
  33057. "type": "number"
  33058. },
  33059. "amountadjusttype": {
  33060. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  33061. "type": "integer"
  33062. },
  33063. "autoid": {
  33064. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  33065. "type": "integer"
  33066. },
  33067. "balance": {
  33068. "description": "期初余额",
  33069. "type": "number"
  33070. },
  33071. "businesscode": {
  33072. "description": "业务编号",
  33073. "type": "integer"
  33074. },
  33075. "createtime": {
  33076. "description": "发生时间",
  33077. "type": "string"
  33078. },
  33079. "currencyid": {
  33080. "description": "币种ID",
  33081. "type": "integer"
  33082. },
  33083. "currentbalance": {
  33084. "description": "期末余额(变动后金额)",
  33085. "type": "number"
  33086. },
  33087. "dgoodscode": {
  33088. "description": "交割商品代码",
  33089. "type": "string"
  33090. },
  33091. "dgoodsname": {
  33092. "description": "交割商品名称",
  33093. "type": "string"
  33094. },
  33095. "goodscode": {
  33096. "description": "商品代码",
  33097. "type": "string"
  33098. },
  33099. "goodsid": {
  33100. "description": "商品ID",
  33101. "type": "integer"
  33102. },
  33103. "goodsname": {
  33104. "description": "商品名称",
  33105. "type": "string"
  33106. },
  33107. "histradedate": {
  33108. "description": "历史交易日",
  33109. "type": "string"
  33110. },
  33111. "isvaliddata": {
  33112. "description": "是否有效 - 0:无效 1:有效",
  33113. "type": "integer"
  33114. },
  33115. "marketid": {
  33116. "description": "市场ID",
  33117. "type": "integer"
  33118. },
  33119. "marketname": {
  33120. "description": "市场名称",
  33121. "type": "string"
  33122. },
  33123. "moneyticket": {
  33124. "description": "资金流水号:银行端流水号",
  33125. "type": "integer"
  33126. },
  33127. "operatetype": {
  33128. "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:营销收款",
  33129. "type": "integer"
  33130. },
  33131. "relationorderid": {
  33132. "description": "关联单号",
  33133. "type": "string"
  33134. },
  33135. "remark": {
  33136. "description": "备注",
  33137. "type": "string"
  33138. },
  33139. "trademode": {
  33140. "description": "交易模式",
  33141. "type": "integer"
  33142. }
  33143. }
  33144. },
  33145. "trade.QueryRecieptOrderRsp": {
  33146. "type": "object",
  33147. "required": [
  33148. "ordertime"
  33149. ],
  33150. "properties": {
  33151. "accountName": {
  33152. "description": "所属账号名称(已脱敏)",
  33153. "type": "string"
  33154. },
  33155. "accountid": {
  33156. "description": "资金账号",
  33157. "type": "integer"
  33158. },
  33159. "buyorsell": {
  33160. "description": "方向 - 0:买 1:卖",
  33161. "type": "integer"
  33162. },
  33163. "enableqty": {
  33164. "description": "可摘数量",
  33165. "type": "integer"
  33166. },
  33167. "goodscode": {
  33168. "description": "商品代码",
  33169. "type": "string"
  33170. },
  33171. "goodsid": {
  33172. "description": "商品ID",
  33173. "type": "integer"
  33174. },
  33175. "goodsname": {
  33176. "description": "商品名称",
  33177. "type": "string"
  33178. },
  33179. "orderid": {
  33180. "description": "委托单号",
  33181. "type": "string"
  33182. },
  33183. "orderprice": {
  33184. "description": "委托价格",
  33185. "type": "number"
  33186. },
  33187. "ordertime": {
  33188. "description": "委托时间",
  33189. "type": "string"
  33190. },
  33191. "tradedate": {
  33192. "description": "交易日(yyyyMMdd)",
  33193. "type": "string"
  33194. }
  33195. }
  33196. },
  33197. "user.LoginQueryRsp": {
  33198. "type": "object",
  33199. "properties": {
  33200. "areaRoles": {
  33201. "description": "所属角色信息",
  33202. "type": "array",
  33203. "items": {
  33204. "$ref": "#/definitions/models.Arearole"
  33205. }
  33206. },
  33207. "externalExchanges": {
  33208. "description": "外部交易所",
  33209. "type": "array",
  33210. "items": {
  33211. "$ref": "#/definitions/models.Externalexchange"
  33212. }
  33213. },
  33214. "goodsgroups": {
  33215. "description": "商品组",
  33216. "type": "array",
  33217. "items": {
  33218. "$ref": "#/definitions/models.Goodsgroup"
  33219. }
  33220. },
  33221. "loginAccount": {
  33222. "description": "登录账号",
  33223. "type": "object",
  33224. "$ref": "#/definitions/models.Loginaccount"
  33225. },
  33226. "markets": {
  33227. "description": "市场",
  33228. "type": "array",
  33229. "items": {
  33230. "$ref": "#/definitions/models.Market"
  33231. }
  33232. },
  33233. "systemParams": {
  33234. "description": "系统参数",
  33235. "type": "array",
  33236. "items": {
  33237. "$ref": "#/definitions/models.Systemparam"
  33238. }
  33239. },
  33240. "userAccount": {
  33241. "description": "用户账号",
  33242. "type": "object",
  33243. "$ref": "#/definitions/models.Useraccount"
  33244. },
  33245. "userInfo": {
  33246. "description": "用户信息",
  33247. "type": "object",
  33248. "$ref": "#/definitions/models.Userinfo"
  33249. },
  33250. "username": {
  33251. "description": "用户姓名",
  33252. "type": "string"
  33253. }
  33254. }
  33255. }
  33256. },
  33257. "securityDefinitions": {
  33258. "ApiKeyAuth": {
  33259. "type": "apiKey",
  33260. "name": "Authorization",
  33261. "in": "header"
  33262. }
  33263. }
  33264. }`
  33265. type swaggerInfo struct {
  33266. Version string
  33267. Host string
  33268. BasePath string
  33269. Schemes []string
  33270. Title string
  33271. Description string
  33272. }
  33273. // SwaggerInfo holds exported Swagger Info so clients can modify it
  33274. var SwaggerInfo = swaggerInfo{
  33275. Version: "1.0",
  33276. Host: "",
  33277. BasePath: "/api",
  33278. Schemes: []string{},
  33279. Title: "MTP2.0 查询服务 API",
  33280. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  33281. }
  33282. type s struct{}
  33283. func (s *s) ReadDoc() string {
  33284. sInfo := SwaggerInfo
  33285. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  33286. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  33287. "marshal": func(v interface{}) string {
  33288. a, _ := json.Marshal(v)
  33289. return string(a)
  33290. },
  33291. }).Parse(doc)
  33292. if err != nil {
  33293. return doc
  33294. }
  33295. var tpl bytes.Buffer
  33296. if err := t.Execute(&tpl, sInfo); err != nil {
  33297. return doc
  33298. }
  33299. return tpl.String()
  33300. }
  33301. func init() {
  33302. swag.Register(swag.Name, &s{})
  33303. }