docs.go 1.2 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540
  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/QueryFtDeliveryGoods": {
  11018. "get": {
  11019. "security": [
  11020. {
  11021. "ApiKeyAuth": []
  11022. }
  11023. ],
  11024. "produces": [
  11025. "application/json"
  11026. ],
  11027. "tags": [
  11028. "仓单贸易v2"
  11029. ],
  11030. "summary": "查询品种品类筛选框列表",
  11031. "responses": {
  11032. "200": {
  11033. "description": "OK",
  11034. "schema": {
  11035. "type": "array",
  11036. "items": {
  11037. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11038. }
  11039. }
  11040. },
  11041. "500": {
  11042. "description": "Internal Server Error",
  11043. "schema": {
  11044. "$ref": "#/definitions/app.Response"
  11045. }
  11046. }
  11047. }
  11048. }
  11049. },
  11050. "/WrTrade2/QueryHoldLB": {
  11051. "get": {
  11052. "security": [
  11053. {
  11054. "ApiKeyAuth": []
  11055. }
  11056. ],
  11057. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11058. "produces": [
  11059. "application/json"
  11060. ],
  11061. "tags": [
  11062. "仓单贸易v2"
  11063. ],
  11064. "summary": "查询仓单持有记录",
  11065. "parameters": [
  11066. {
  11067. "type": "integer",
  11068. "description": "资金账号",
  11069. "name": "accountid",
  11070. "in": "query",
  11071. "required": true
  11072. },
  11073. {
  11074. "type": "integer",
  11075. "description": "仓库id",
  11076. "name": "warehouseid",
  11077. "in": "query"
  11078. },
  11079. {
  11080. "type": "integer",
  11081. "description": "品种id",
  11082. "name": "deliverygoodsid",
  11083. "in": "query"
  11084. },
  11085. {
  11086. "type": "integer",
  11087. "description": "品类id",
  11088. "name": "wrstandardid",
  11089. "in": "query"
  11090. }
  11091. ],
  11092. "responses": {
  11093. "200": {
  11094. "description": "OK",
  11095. "schema": {
  11096. "type": "array",
  11097. "items": {
  11098. "$ref": "#/definitions/models.WrHoldLB"
  11099. }
  11100. }
  11101. },
  11102. "500": {
  11103. "description": "Internal Server Error",
  11104. "schema": {
  11105. "$ref": "#/definitions/app.Response"
  11106. }
  11107. }
  11108. }
  11109. }
  11110. },
  11111. "/WrTrade2/QueryOrderQuote": {
  11112. "get": {
  11113. "security": [
  11114. {
  11115. "ApiKeyAuth": []
  11116. }
  11117. ],
  11118. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11119. "produces": [
  11120. "application/json"
  11121. ],
  11122. "tags": [
  11123. "仓单贸易v2"
  11124. ],
  11125. "summary": "查询大厅行情列表",
  11126. "parameters": [
  11127. {
  11128. "type": "integer",
  11129. "description": "页码",
  11130. "name": "page",
  11131. "in": "query"
  11132. },
  11133. {
  11134. "type": "integer",
  11135. "description": "每页条数",
  11136. "name": "pagesize",
  11137. "in": "query"
  11138. },
  11139. {
  11140. "type": "integer",
  11141. "description": "仓单贸易市场id",
  11142. "name": "marketid",
  11143. "in": "query"
  11144. },
  11145. {
  11146. "type": "integer",
  11147. "description": "价格方式 - 1:固定价 2-浮动价",
  11148. "name": "wrpricetype",
  11149. "in": "query",
  11150. "required": true
  11151. },
  11152. {
  11153. "type": "integer",
  11154. "description": "0:仓单预售 1:仓单贸易",
  11155. "name": "haswr",
  11156. "in": "query",
  11157. "required": true
  11158. },
  11159. {
  11160. "type": "string",
  11161. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11162. "name": "dgitemname",
  11163. "in": "query"
  11164. },
  11165. {
  11166. "type": "integer",
  11167. "description": "仓库id(筛选条件)",
  11168. "name": "warehouseid",
  11169. "in": "query"
  11170. },
  11171. {
  11172. "type": "integer",
  11173. "description": "品种id",
  11174. "name": "deliverygoodsid",
  11175. "in": "query"
  11176. },
  11177. {
  11178. "type": "integer",
  11179. "description": "品类id",
  11180. "name": "wrstandardid",
  11181. "in": "query"
  11182. },
  11183. {
  11184. "type": "integer",
  11185. "description": "仓单要素id",
  11186. "name": "wrfactortypeid",
  11187. "in": "query"
  11188. },
  11189. {
  11190. "type": "string",
  11191. "description": "交收月(yyyy-mm) 仓单预售填写",
  11192. "name": "deliverymonth",
  11193. "in": "query"
  11194. }
  11195. ],
  11196. "responses": {
  11197. "200": {
  11198. "description": "OK",
  11199. "schema": {
  11200. "type": "array",
  11201. "items": {
  11202. "$ref": "#/definitions/models.WrOrderQuote"
  11203. }
  11204. }
  11205. },
  11206. "500": {
  11207. "description": "Internal Server Error",
  11208. "schema": {
  11209. "$ref": "#/definitions/app.Response"
  11210. }
  11211. }
  11212. }
  11213. }
  11214. },
  11215. "/WrTrade2/QueryOrderQuoteDetail": {
  11216. "get": {
  11217. "security": [
  11218. {
  11219. "ApiKeyAuth": []
  11220. }
  11221. ],
  11222. "produces": [
  11223. "application/json"
  11224. ],
  11225. "tags": [
  11226. "仓单贸易v2"
  11227. ],
  11228. "summary": "查询买卖大厅",
  11229. "parameters": [
  11230. {
  11231. "type": "integer",
  11232. "description": "页码",
  11233. "name": "page",
  11234. "in": "query"
  11235. },
  11236. {
  11237. "type": "integer",
  11238. "description": "每页条数",
  11239. "name": "pagesize",
  11240. "in": "query"
  11241. },
  11242. {
  11243. "type": "integer",
  11244. "description": "仓单贸易市场id",
  11245. "name": "marketid",
  11246. "in": "query"
  11247. },
  11248. {
  11249. "type": "integer",
  11250. "description": "价格方式 - 1:固定价 2-浮动价",
  11251. "name": "wrpricetype",
  11252. "in": "query",
  11253. "required": true
  11254. },
  11255. {
  11256. "type": "integer",
  11257. "description": "0:仓单预售 1:仓单贸易",
  11258. "name": "haswr",
  11259. "in": "query",
  11260. "required": true
  11261. },
  11262. {
  11263. "type": "integer",
  11264. "description": "仓单要素id",
  11265. "name": "wrfactortypeid",
  11266. "in": "query",
  11267. "required": true
  11268. },
  11269. {
  11270. "type": "integer",
  11271. "description": "期货商品id(浮动价方式时填)",
  11272. "name": "goodsid",
  11273. "in": "query"
  11274. },
  11275. {
  11276. "type": "integer",
  11277. "description": "买卖方向 0-买 1-卖",
  11278. "name": "buyorsell",
  11279. "in": "query",
  11280. "required": true
  11281. },
  11282. {
  11283. "type": "string",
  11284. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11285. "name": "deliverymonth",
  11286. "in": "query"
  11287. }
  11288. ],
  11289. "responses": {
  11290. "200": {
  11291. "description": "OK",
  11292. "schema": {
  11293. "type": "array",
  11294. "items": {
  11295. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11296. }
  11297. }
  11298. },
  11299. "500": {
  11300. "description": "Internal Server Error",
  11301. "schema": {
  11302. "$ref": "#/definitions/app.Response"
  11303. }
  11304. }
  11305. }
  11306. }
  11307. },
  11308. "/WrTrade2/QueryPerformancePlan": {
  11309. "get": {
  11310. "security": [
  11311. {
  11312. "ApiKeyAuth": []
  11313. }
  11314. ],
  11315. "produces": [
  11316. "application/json"
  11317. ],
  11318. "tags": [
  11319. "仓单贸易v2"
  11320. ],
  11321. "summary": "查询履约信息",
  11322. "parameters": [
  11323. {
  11324. "type": "integer",
  11325. "description": "用户id",
  11326. "name": "userid",
  11327. "in": "query",
  11328. "required": true
  11329. },
  11330. {
  11331. "type": "integer",
  11332. "description": "买卖方向 0-买 1-卖",
  11333. "name": "buyorsell",
  11334. "in": "query",
  11335. "required": true
  11336. }
  11337. ],
  11338. "responses": {
  11339. "200": {
  11340. "description": "OK",
  11341. "schema": {
  11342. "type": "array",
  11343. "items": {
  11344. "$ref": "#/definitions/models.WrPerformancePlan"
  11345. }
  11346. }
  11347. },
  11348. "500": {
  11349. "description": "Internal Server Error",
  11350. "schema": {
  11351. "$ref": "#/definitions/app.Response"
  11352. }
  11353. }
  11354. }
  11355. }
  11356. },
  11357. "/WrTrade2/QueryWrFactorTypeInfo": {
  11358. "get": {
  11359. "security": [
  11360. {
  11361. "ApiKeyAuth": []
  11362. }
  11363. ],
  11364. "produces": [
  11365. "application/json"
  11366. ],
  11367. "tags": [
  11368. "仓单贸易v2"
  11369. ],
  11370. "summary": "查询仓单要素详细信息",
  11371. "parameters": [
  11372. {
  11373. "type": "integer",
  11374. "description": "仓单要素id",
  11375. "name": "wrfactortypeid",
  11376. "in": "query",
  11377. "required": true
  11378. }
  11379. ],
  11380. "responses": {
  11381. "200": {
  11382. "description": "OK",
  11383. "schema": {
  11384. "type": "array",
  11385. "items": {
  11386. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11387. }
  11388. }
  11389. },
  11390. "500": {
  11391. "description": "Internal Server Error",
  11392. "schema": {
  11393. "$ref": "#/definitions/app.Response"
  11394. }
  11395. }
  11396. }
  11397. }
  11398. },
  11399. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  11400. "get": {
  11401. "security": [
  11402. {
  11403. "ApiKeyAuth": []
  11404. }
  11405. ],
  11406. "produces": [
  11407. "application/json"
  11408. ],
  11409. "tags": [
  11410. "仓单贸易v2"
  11411. ],
  11412. "summary": "查询仓单要素详细信息列表项",
  11413. "parameters": [
  11414. {
  11415. "type": "integer",
  11416. "description": "仓单要素id",
  11417. "name": "wrfactortypeid",
  11418. "in": "query",
  11419. "required": true
  11420. }
  11421. ],
  11422. "responses": {
  11423. "200": {
  11424. "description": "OK",
  11425. "schema": {
  11426. "type": "array",
  11427. "items": {
  11428. "$ref": "#/definitions/models.WrTypeItem"
  11429. }
  11430. }
  11431. },
  11432. "500": {
  11433. "description": "Internal Server Error",
  11434. "schema": {
  11435. "$ref": "#/definitions/app.Response"
  11436. }
  11437. }
  11438. }
  11439. }
  11440. },
  11441. "/WrTrade2/QueryWrFinanceBuyApply": {
  11442. "get": {
  11443. "security": [
  11444. {
  11445. "ApiKeyAuth": []
  11446. }
  11447. ],
  11448. "description": "页面 融资信息+ / 申请单",
  11449. "produces": [
  11450. "application/json"
  11451. ],
  11452. "tags": [
  11453. "仓单贸易v2"
  11454. ],
  11455. "summary": "查询融资购买申请",
  11456. "parameters": [
  11457. {
  11458. "type": "integer",
  11459. "description": "用户id",
  11460. "name": "userid",
  11461. "in": "query",
  11462. "required": true
  11463. }
  11464. ],
  11465. "responses": {
  11466. "200": {
  11467. "description": "OK",
  11468. "schema": {
  11469. "type": "array",
  11470. "items": {
  11471. "$ref": "#/definitions/models.WrFinanceBuyApply"
  11472. }
  11473. }
  11474. },
  11475. "500": {
  11476. "description": "Internal Server Error",
  11477. "schema": {
  11478. "$ref": "#/definitions/app.Response"
  11479. }
  11480. }
  11481. }
  11482. }
  11483. },
  11484. "/WrTrade2/QueryWrGoodsInfo": {
  11485. "get": {
  11486. "security": [
  11487. {
  11488. "ApiKeyAuth": []
  11489. }
  11490. ],
  11491. "produces": [
  11492. "application/json"
  11493. ],
  11494. "tags": [
  11495. "仓单贸易v2"
  11496. ],
  11497. "summary": "查询仓单商品信息",
  11498. "parameters": [
  11499. {
  11500. "type": "integer",
  11501. "description": "仓单贸易市场id",
  11502. "name": "marketid",
  11503. "in": "query"
  11504. },
  11505. {
  11506. "type": "integer",
  11507. "description": "0:仓单预售 1:仓单贸易",
  11508. "name": "haswr",
  11509. "in": "query",
  11510. "required": true
  11511. },
  11512. {
  11513. "type": "integer",
  11514. "description": "仓单要素id",
  11515. "name": "wrfactortypeid",
  11516. "in": "query",
  11517. "required": true
  11518. }
  11519. ],
  11520. "responses": {
  11521. "200": {
  11522. "description": "OK",
  11523. "schema": {
  11524. "type": "array",
  11525. "items": {
  11526. "$ref": "#/definitions/models.WrGoodsInfo"
  11527. }
  11528. }
  11529. },
  11530. "500": {
  11531. "description": "Internal Server Error",
  11532. "schema": {
  11533. "$ref": "#/definitions/app.Response"
  11534. }
  11535. }
  11536. }
  11537. }
  11538. },
  11539. "/WrTrade2/QueryWrMarketTradeConfig": {
  11540. "get": {
  11541. "security": [
  11542. {
  11543. "ApiKeyAuth": []
  11544. }
  11545. ],
  11546. "produces": [
  11547. "application/json"
  11548. ],
  11549. "tags": [
  11550. "仓单贸易v2"
  11551. ],
  11552. "summary": "查询市场交易参数配置",
  11553. "parameters": [
  11554. {
  11555. "type": "integer",
  11556. "description": "市场id",
  11557. "name": "marketid",
  11558. "in": "query"
  11559. }
  11560. ],
  11561. "responses": {
  11562. "200": {
  11563. "description": "OK",
  11564. "schema": {
  11565. "type": "array",
  11566. "items": {
  11567. "$ref": "#/definitions/models.WrMarketTradeConfig"
  11568. }
  11569. }
  11570. },
  11571. "500": {
  11572. "description": "Internal Server Error",
  11573. "schema": {
  11574. "$ref": "#/definitions/app.Response"
  11575. }
  11576. }
  11577. }
  11578. }
  11579. },
  11580. "/WrTrade2/QueryWrOrderDetail": {
  11581. "get": {
  11582. "security": [
  11583. {
  11584. "ApiKeyAuth": []
  11585. }
  11586. ],
  11587. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  11588. "produces": [
  11589. "application/json"
  11590. ],
  11591. "tags": [
  11592. "仓单贸易v2"
  11593. ],
  11594. "summary": "查询仓单委托单(挂单)",
  11595. "parameters": [
  11596. {
  11597. "type": "integer",
  11598. "description": "页码",
  11599. "name": "page",
  11600. "in": "query"
  11601. },
  11602. {
  11603. "type": "integer",
  11604. "description": "每页条数",
  11605. "name": "pagesize",
  11606. "in": "query"
  11607. },
  11608. {
  11609. "type": "integer",
  11610. "description": "用户id",
  11611. "name": "userid",
  11612. "in": "query",
  11613. "required": true
  11614. },
  11615. {
  11616. "type": "integer",
  11617. "description": "仓单贸易市场id",
  11618. "name": "marketid",
  11619. "in": "query"
  11620. },
  11621. {
  11622. "type": "integer",
  11623. "description": "0:仓单预售 1:仓单贸易",
  11624. "name": "haswr",
  11625. "in": "query",
  11626. "required": true
  11627. }
  11628. ],
  11629. "responses": {
  11630. "200": {
  11631. "description": "OK",
  11632. "schema": {
  11633. "type": "array",
  11634. "items": {
  11635. "$ref": "#/definitions/models.WrOrderDetail"
  11636. }
  11637. }
  11638. },
  11639. "500": {
  11640. "description": "Internal Server Error",
  11641. "schema": {
  11642. "$ref": "#/definitions/app.Response"
  11643. }
  11644. }
  11645. }
  11646. }
  11647. },
  11648. "/WrTrade2/QueryWrPerformancePlanStep": {
  11649. "get": {
  11650. "security": [
  11651. {
  11652. "ApiKeyAuth": []
  11653. }
  11654. ],
  11655. "produces": [
  11656. "application/json"
  11657. ],
  11658. "tags": [
  11659. "仓单贸易v2"
  11660. ],
  11661. "summary": "查询履约信息详情",
  11662. "parameters": [
  11663. {
  11664. "type": "integer",
  11665. "description": "履约计划id(performanceplanid)",
  11666. "name": "planid",
  11667. "in": "query",
  11668. "required": true
  11669. },
  11670. {
  11671. "type": "integer",
  11672. "description": "当前步骤id",
  11673. "name": "curstepid",
  11674. "in": "query"
  11675. }
  11676. ],
  11677. "responses": {
  11678. "200": {
  11679. "description": "OK",
  11680. "schema": {
  11681. "type": "array",
  11682. "items": {
  11683. "$ref": "#/definitions/models.WrPerformancePlanStep"
  11684. }
  11685. }
  11686. },
  11687. "500": {
  11688. "description": "Internal Server Error",
  11689. "schema": {
  11690. "$ref": "#/definitions/app.Response"
  11691. }
  11692. }
  11693. }
  11694. }
  11695. },
  11696. "/WrTrade2/QueryWrPosition": {
  11697. "get": {
  11698. "security": [
  11699. {
  11700. "ApiKeyAuth": []
  11701. }
  11702. ],
  11703. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  11704. "produces": [
  11705. "application/json"
  11706. ],
  11707. "tags": [
  11708. "仓单贸易v2"
  11709. ],
  11710. "summary": "查询现货(预售)仓单持仓",
  11711. "parameters": [
  11712. {
  11713. "type": "integer",
  11714. "description": "用户id",
  11715. "name": "userid",
  11716. "in": "query",
  11717. "required": true
  11718. },
  11719. {
  11720. "type": "integer",
  11721. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  11722. "name": "querytype",
  11723. "in": "query",
  11724. "required": true
  11725. },
  11726. {
  11727. "type": "integer",
  11728. "description": "0:仓单预售 1:仓单贸易",
  11729. "name": "haswr",
  11730. "in": "query",
  11731. "required": true
  11732. }
  11733. ],
  11734. "responses": {
  11735. "200": {
  11736. "description": "OK",
  11737. "schema": {
  11738. "type": "array",
  11739. "items": {
  11740. "$ref": "#/definitions/models.WrPosition"
  11741. }
  11742. }
  11743. },
  11744. "500": {
  11745. "description": "Internal Server Error",
  11746. "schema": {
  11747. "$ref": "#/definitions/app.Response"
  11748. }
  11749. }
  11750. }
  11751. }
  11752. },
  11753. "/WrTrade2/QueryWrScfContract": {
  11754. "get": {
  11755. "security": [
  11756. {
  11757. "ApiKeyAuth": []
  11758. }
  11759. ],
  11760. "produces": [
  11761. "application/json"
  11762. ],
  11763. "tags": [
  11764. "仓单贸易v2"
  11765. ],
  11766. "summary": "查询仓单贸易融资合同",
  11767. "parameters": [
  11768. {
  11769. "type": "integer",
  11770. "description": "用户id",
  11771. "name": "userid",
  11772. "in": "query",
  11773. "required": true
  11774. },
  11775. {
  11776. "type": "integer",
  11777. "description": "融资合同id",
  11778. "name": "scfcontractid",
  11779. "in": "query"
  11780. }
  11781. ],
  11782. "responses": {
  11783. "200": {
  11784. "description": "OK",
  11785. "schema": {
  11786. "type": "array",
  11787. "items": {
  11788. "$ref": "#/definitions/models.WrScfContract"
  11789. }
  11790. }
  11791. },
  11792. "500": {
  11793. "description": "Internal Server Error",
  11794. "schema": {
  11795. "$ref": "#/definitions/app.Response"
  11796. }
  11797. }
  11798. }
  11799. }
  11800. },
  11801. "/WrTrade2/QueryWrSpecialMatchOrder": {
  11802. "get": {
  11803. "security": [
  11804. {
  11805. "ApiKeyAuth": []
  11806. }
  11807. ],
  11808. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  11809. "produces": [
  11810. "application/json"
  11811. ],
  11812. "tags": [
  11813. "仓单贸易v2"
  11814. ],
  11815. "summary": "查询指定成交",
  11816. "parameters": [
  11817. {
  11818. "type": "integer",
  11819. "description": "页码",
  11820. "name": "page",
  11821. "in": "query"
  11822. },
  11823. {
  11824. "type": "integer",
  11825. "description": "每页条数",
  11826. "name": "pagesize",
  11827. "in": "query"
  11828. },
  11829. {
  11830. "type": "integer",
  11831. "description": "用户id",
  11832. "name": "userid",
  11833. "in": "query",
  11834. "required": true
  11835. },
  11836. {
  11837. "type": "integer",
  11838. "description": "仓单贸易市场id",
  11839. "name": "marketid",
  11840. "in": "query"
  11841. },
  11842. {
  11843. "type": "integer",
  11844. "description": "0:仓单预售 1:仓单贸易",
  11845. "name": "haswr",
  11846. "in": "query",
  11847. "required": true
  11848. }
  11849. ],
  11850. "responses": {
  11851. "200": {
  11852. "description": "OK",
  11853. "schema": {
  11854. "type": "array",
  11855. "items": {
  11856. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  11857. }
  11858. }
  11859. },
  11860. "500": {
  11861. "description": "Internal Server Error",
  11862. "schema": {
  11863. "$ref": "#/definitions/app.Response"
  11864. }
  11865. }
  11866. }
  11867. }
  11868. },
  11869. "/WrTrade2/QueryWrStandardFactoryItem": {
  11870. "get": {
  11871. "security": [
  11872. {
  11873. "ApiKeyAuth": []
  11874. }
  11875. ],
  11876. "produces": [
  11877. "application/json"
  11878. ],
  11879. "tags": [
  11880. "仓单贸易v2"
  11881. ],
  11882. "summary": "查询品类要素定义项",
  11883. "parameters": [
  11884. {
  11885. "type": "integer",
  11886. "description": "品类id",
  11887. "name": "wrstandardid",
  11888. "in": "query",
  11889. "required": true
  11890. }
  11891. ],
  11892. "responses": {
  11893. "200": {
  11894. "description": "OK",
  11895. "schema": {
  11896. "type": "array",
  11897. "items": {
  11898. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  11899. }
  11900. }
  11901. },
  11902. "500": {
  11903. "description": "Internal Server Error",
  11904. "schema": {
  11905. "$ref": "#/definitions/app.Response"
  11906. }
  11907. }
  11908. }
  11909. }
  11910. },
  11911. "/WrTrade2/QueryWrTradeDetail": {
  11912. "get": {
  11913. "security": [
  11914. {
  11915. "ApiKeyAuth": []
  11916. }
  11917. ],
  11918. "produces": [
  11919. "application/json"
  11920. ],
  11921. "tags": [
  11922. "仓单贸易v2"
  11923. ],
  11924. "summary": "查询仓单成交明细",
  11925. "parameters": [
  11926. {
  11927. "type": "integer",
  11928. "description": "页码",
  11929. "name": "page",
  11930. "in": "query"
  11931. },
  11932. {
  11933. "type": "integer",
  11934. "description": "每页条数",
  11935. "name": "pagesize",
  11936. "in": "query"
  11937. },
  11938. {
  11939. "type": "integer",
  11940. "description": "用户id",
  11941. "name": "userid",
  11942. "in": "query",
  11943. "required": true
  11944. },
  11945. {
  11946. "type": "integer",
  11947. "description": "仓单贸易市场id",
  11948. "name": "marketid",
  11949. "in": "query"
  11950. },
  11951. {
  11952. "type": "integer",
  11953. "description": "0:仓单预售 1:仓单贸易",
  11954. "name": "haswr",
  11955. "in": "query",
  11956. "required": true
  11957. }
  11958. ],
  11959. "responses": {
  11960. "200": {
  11961. "description": "OK",
  11962. "schema": {
  11963. "type": "array",
  11964. "items": {
  11965. "$ref": "#/definitions/models.WrTradeDetail"
  11966. }
  11967. }
  11968. },
  11969. "500": {
  11970. "description": "Internal Server Error",
  11971. "schema": {
  11972. "$ref": "#/definitions/app.Response"
  11973. }
  11974. }
  11975. }
  11976. }
  11977. }
  11978. },
  11979. "definitions": {
  11980. "app.Response": {
  11981. "type": "object",
  11982. "properties": {
  11983. "code": {
  11984. "type": "integer"
  11985. },
  11986. "data": {
  11987. "type": "object"
  11988. },
  11989. "msg": {
  11990. "type": "string"
  11991. },
  11992. "page": {
  11993. "description": "页码",
  11994. "type": "integer"
  11995. },
  11996. "pagesize": {
  11997. "description": "每页条数",
  11998. "type": "integer"
  11999. },
  12000. "total": {
  12001. "description": "总条数",
  12002. "type": "integer"
  12003. }
  12004. }
  12005. },
  12006. "common.ClientMenu": {
  12007. "type": "object",
  12008. "properties": {
  12009. "children": {
  12010. "description": "子菜单列表",
  12011. "type": "array",
  12012. "items": {
  12013. "$ref": "#/definitions/common.ClientMenu"
  12014. }
  12015. },
  12016. "code": {
  12017. "description": "ID",
  12018. "type": "string"
  12019. },
  12020. "isshow": {
  12021. "description": "是否显示",
  12022. "type": "boolean"
  12023. },
  12024. "remark": {
  12025. "description": "备注",
  12026. "type": "string"
  12027. },
  12028. "rulekey": {
  12029. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  12030. "type": "string"
  12031. },
  12032. "sort": {
  12033. "description": "排序",
  12034. "type": "integer"
  12035. },
  12036. "title": {
  12037. "description": "标题",
  12038. "type": "string"
  12039. },
  12040. "type": {
  12041. "description": "类型,1:菜单 2:按钮",
  12042. "type": "integer"
  12043. },
  12044. "url": {
  12045. "description": "URL",
  12046. "type": "string"
  12047. }
  12048. }
  12049. },
  12050. "common.QueryImageConfigsRsp": {
  12051. "type": "object",
  12052. "required": [
  12053. "configid"
  12054. ],
  12055. "properties": {
  12056. "areauserid": {
  12057. "description": "所属机构ID",
  12058. "type": "integer"
  12059. },
  12060. "configid": {
  12061. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12062. "type": "integer"
  12063. },
  12064. "createdate": {
  12065. "description": "创建时间",
  12066. "type": "string"
  12067. },
  12068. "creatorid": {
  12069. "description": "创建人",
  12070. "type": "integer"
  12071. },
  12072. "imagepath": {
  12073. "description": "图片",
  12074. "type": "string"
  12075. },
  12076. "imagetype": {
  12077. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  12078. "type": "integer"
  12079. },
  12080. "isshow": {
  12081. "description": "是否展示 - 0:不展示 1:展示",
  12082. "type": "integer"
  12083. },
  12084. "marketid": {
  12085. "description": "市场ID",
  12086. "type": "integer"
  12087. },
  12088. "modifierid": {
  12089. "description": "操作人",
  12090. "type": "integer"
  12091. },
  12092. "sort": {
  12093. "description": "排序",
  12094. "type": "integer"
  12095. },
  12096. "title": {
  12097. "description": "标题",
  12098. "type": "string"
  12099. },
  12100. "trademode": {
  12101. "description": "交易模式",
  12102. "type": "integer"
  12103. },
  12104. "updatedate": {
  12105. "description": "修改时间",
  12106. "type": "string"
  12107. },
  12108. "url": {
  12109. "description": "链接(地址或商品ID)",
  12110. "type": "string"
  12111. },
  12112. "urltype": {
  12113. "description": "链接类型 - 1:直接地址 2:商品ID",
  12114. "type": "integer"
  12115. }
  12116. }
  12117. },
  12118. "common.QueryNoticeRsp": {
  12119. "type": "object",
  12120. "required": [
  12121. "autoid"
  12122. ],
  12123. "properties": {
  12124. "auditoruserid": {
  12125. "description": "审核人",
  12126. "type": "integer"
  12127. },
  12128. "auditremark": {
  12129. "description": "审核备注",
  12130. "type": "string"
  12131. },
  12132. "audittime": {
  12133. "description": "审核日期",
  12134. "type": "string"
  12135. },
  12136. "autoid": {
  12137. "description": "自增ID",
  12138. "type": "integer"
  12139. },
  12140. "content": {
  12141. "description": "内容",
  12142. "type": "string"
  12143. },
  12144. "createtime": {
  12145. "description": "创建时间",
  12146. "type": "string"
  12147. },
  12148. "creatorid": {
  12149. "description": "建仓人",
  12150. "type": "integer"
  12151. },
  12152. "endtime": {
  12153. "description": "结束时间",
  12154. "type": "string"
  12155. },
  12156. "istop": {
  12157. "description": "是否置顶 - 0:不置顶 1:置顶",
  12158. "type": "integer"
  12159. },
  12160. "msgiconurl": {
  12161. "description": "消息图标Url",
  12162. "type": "string"
  12163. },
  12164. "msgtype": {
  12165. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  12166. "type": "integer"
  12167. },
  12168. "publisher": {
  12169. "description": "消息发布者",
  12170. "type": "string"
  12171. },
  12172. "readed": {
  12173. "description": "是否已读",
  12174. "type": "boolean"
  12175. },
  12176. "scheduletime": {
  12177. "description": "计划发送时间",
  12178. "type": "string"
  12179. },
  12180. "sendtype": {
  12181. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  12182. "type": "integer"
  12183. },
  12184. "sentstatus": {
  12185. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  12186. "type": "integer"
  12187. },
  12188. "title": {
  12189. "description": "标题",
  12190. "type": "string"
  12191. },
  12192. "userid": {
  12193. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  12194. "type": "integer"
  12195. }
  12196. }
  12197. },
  12198. "common.QueryProvincesAndCitiesRsp": {
  12199. "type": "object",
  12200. "properties": {
  12201. "cities": {
  12202. "description": "市",
  12203. "type": "array",
  12204. "items": {
  12205. "$ref": "#/definitions/models.Division"
  12206. }
  12207. },
  12208. "province": {
  12209. "description": "省",
  12210. "type": "object",
  12211. "$ref": "#/definitions/models.Division"
  12212. }
  12213. }
  12214. },
  12215. "common.QueryTableDefineRsp": {
  12216. "type": "object",
  12217. "required": [
  12218. "tablekey"
  12219. ],
  12220. "properties": {
  12221. "columns": {
  12222. "description": "列头信息数组",
  12223. "type": "array",
  12224. "items": {
  12225. "$ref": "#/definitions/models.Tablecolumnconfig"
  12226. }
  12227. },
  12228. "remark": {
  12229. "description": "Remark",
  12230. "type": "string"
  12231. },
  12232. "tabelmenu": {
  12233. "description": "列表菜单",
  12234. "type": "string"
  12235. },
  12236. "tablekey": {
  12237. "description": "列表Key",
  12238. "type": "string"
  12239. },
  12240. "tablename": {
  12241. "description": "列表名称",
  12242. "type": "string"
  12243. },
  12244. "tabletype": {
  12245. "description": "列表类型 - 1:管理端 2:终端",
  12246. "type": "integer"
  12247. }
  12248. }
  12249. },
  12250. "common.QueryTraderMenuRsp": {
  12251. "type": "object",
  12252. "properties": {
  12253. "OperationMenu": {
  12254. "description": "功能菜单",
  12255. "type": "array",
  12256. "items": {
  12257. "$ref": "#/definitions/models.OperationPrimaryMenu"
  12258. }
  12259. },
  12260. "QuoteMenu": {
  12261. "description": "报价牌分类菜单",
  12262. "type": "array",
  12263. "items": {
  12264. "$ref": "#/definitions/models.QuotePrimaryMenu"
  12265. }
  12266. }
  12267. }
  12268. },
  12269. "cptrade.Cptradepositioncancel": {
  12270. "type": "object",
  12271. "required": [
  12272. "cancelid"
  12273. ],
  12274. "properties": {
  12275. "accountid": {
  12276. "description": "申请人账户ID",
  12277. "type": "integer"
  12278. },
  12279. "applystatus": {
  12280. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12281. "type": "integer"
  12282. },
  12283. "applytime": {
  12284. "description": "申请时间",
  12285. "type": "string"
  12286. },
  12287. "cancelid": {
  12288. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  12289. "type": "integer"
  12290. },
  12291. "cancelqty": {
  12292. "description": "注销数量",
  12293. "type": "integer"
  12294. },
  12295. "createtime": {
  12296. "description": "创建时间",
  12297. "type": "string"
  12298. },
  12299. "creatorid": {
  12300. "description": "创建人ID",
  12301. "type": "integer"
  12302. },
  12303. "creatorname": {
  12304. "description": "创建人",
  12305. "type": "string"
  12306. },
  12307. "goodscode": {
  12308. "description": "订单商品代码",
  12309. "type": "string"
  12310. },
  12311. "goodsid": {
  12312. "description": "商品ID",
  12313. "type": "integer"
  12314. },
  12315. "goodsname": {
  12316. "description": "订单商品名称",
  12317. "type": "string"
  12318. },
  12319. "goodunit": {
  12320. "description": "报价单位",
  12321. "type": "string"
  12322. },
  12323. "handlestatus": {
  12324. "description": "处理状态",
  12325. "type": "integer"
  12326. },
  12327. "marketid": {
  12328. "description": "市场ID",
  12329. "type": "integer"
  12330. },
  12331. "marketname": {
  12332. "description": "市场名称",
  12333. "type": "string"
  12334. },
  12335. "tradedate": {
  12336. "description": "交易日(yyyyMMdd)",
  12337. "type": "string"
  12338. },
  12339. "userid": {
  12340. "description": "申请人ID",
  12341. "type": "integer"
  12342. }
  12343. }
  12344. },
  12345. "cptrade.Cptradepresaleapply": {
  12346. "type": "object",
  12347. "required": [
  12348. "applyid"
  12349. ],
  12350. "properties": {
  12351. "accountid": {
  12352. "description": "申请人账户ID",
  12353. "type": "integer"
  12354. },
  12355. "applyid": {
  12356. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  12357. "type": "integer"
  12358. },
  12359. "applyremark": {
  12360. "description": "申请备注",
  12361. "type": "string"
  12362. },
  12363. "applystatus": {
  12364. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12365. "type": "integer"
  12366. },
  12367. "applytime": {
  12368. "description": "申请时间",
  12369. "type": "string"
  12370. },
  12371. "attachmenturl": {
  12372. "description": "附件地址",
  12373. "type": "string"
  12374. },
  12375. "endtime": {
  12376. "description": "预售结束时间",
  12377. "type": "string"
  12378. },
  12379. "goodscode": {
  12380. "description": "商品代码",
  12381. "type": "string"
  12382. },
  12383. "goodsid": {
  12384. "description": "商品ID",
  12385. "type": "integer"
  12386. },
  12387. "goodsname": {
  12388. "description": "商品名称",
  12389. "type": "string"
  12390. },
  12391. "goodunit": {
  12392. "description": "报价单位",
  12393. "type": "string"
  12394. },
  12395. "handlestatus": {
  12396. "description": "处理状态",
  12397. "type": "integer"
  12398. },
  12399. "marketid": {
  12400. "description": "预售市场ID",
  12401. "type": "integer"
  12402. },
  12403. "marketname": {
  12404. "description": "预售市场名称",
  12405. "type": "string"
  12406. },
  12407. "presaleqty": {
  12408. "description": "预售数量",
  12409. "type": "integer"
  12410. },
  12411. "relatedgoodscode": {
  12412. "description": "关联交易合约代码",
  12413. "type": "string"
  12414. },
  12415. "relatedgoodsid": {
  12416. "description": "关联交易合约ID",
  12417. "type": "integer"
  12418. },
  12419. "relatedgoodsname": {
  12420. "description": "关联交易合约名称",
  12421. "type": "string"
  12422. },
  12423. "starttime": {
  12424. "description": "预售开始时间",
  12425. "type": "string"
  12426. },
  12427. "tradedate": {
  12428. "description": "交易日(yyyyMMdd)",
  12429. "type": "string"
  12430. },
  12431. "trademode": {
  12432. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  12433. "type": "integer"
  12434. },
  12435. "userid": {
  12436. "description": "申请人ID",
  12437. "type": "integer"
  12438. }
  12439. }
  12440. },
  12441. "cptrade.Cptradeusergoodsdata": {
  12442. "type": "object",
  12443. "required": [
  12444. "accountid",
  12445. "goodsid"
  12446. ],
  12447. "properties": {
  12448. "EnabledQty": {
  12449. "description": "可用量",
  12450. "type": "integer"
  12451. },
  12452. "GoodsCode": {
  12453. "description": "订单商品代码",
  12454. "type": "string"
  12455. },
  12456. "GoodsName": {
  12457. "description": "订单商品名称",
  12458. "type": "string"
  12459. },
  12460. "WRStandardCode": {
  12461. "description": "仓单标准代码",
  12462. "type": "string"
  12463. },
  12464. "WRStandardName": {
  12465. "description": "仓单标准名称",
  12466. "type": "string"
  12467. },
  12468. "accountid": {
  12469. "description": "账户ID",
  12470. "type": "integer"
  12471. },
  12472. "cancelqty": {
  12473. "description": "注销量",
  12474. "type": "integer"
  12475. },
  12476. "curpresaleqty": {
  12477. "description": "当前预售量",
  12478. "type": "integer"
  12479. },
  12480. "deliveryqty": {
  12481. "description": "交割量",
  12482. "type": "integer"
  12483. },
  12484. "freezeamount": {
  12485. "description": "冻结金额",
  12486. "type": "number"
  12487. },
  12488. "goodsid": {
  12489. "description": "商品ID",
  12490. "type": "integer"
  12491. },
  12492. "goodunit": {
  12493. "description": "报价单位",
  12494. "type": "string"
  12495. },
  12496. "hasspotfreeze": {
  12497. "description": "是否有现货冻结 - 0:否 1:有",
  12498. "type": "integer"
  12499. },
  12500. "inqty": {
  12501. "description": "转入量(总数量)",
  12502. "type": "integer"
  12503. },
  12504. "marketid": {
  12505. "description": "市场ID",
  12506. "type": "integer"
  12507. },
  12508. "presaledamount": {
  12509. "description": "已预售总金额",
  12510. "type": "integer"
  12511. },
  12512. "presaledqty": {
  12513. "description": "已预售量",
  12514. "type": "integer"
  12515. },
  12516. "userid": {
  12517. "description": "用户ID",
  12518. "type": "integer"
  12519. },
  12520. "wrstandardid": {
  12521. "description": "仓单标准ID",
  12522. "type": "integer"
  12523. }
  12524. }
  12525. },
  12526. "cptrade.QueryCPTradeMyBidRsp": {
  12527. "type": "object",
  12528. "required": [
  12529. "accountid",
  12530. "goodsid",
  12531. "marketid",
  12532. "orderid",
  12533. "orderqty",
  12534. "ordertime",
  12535. "tradeprice",
  12536. "tradeqty"
  12537. ],
  12538. "properties": {
  12539. "accountid": {
  12540. "description": "账户ID[报价币种]",
  12541. "type": "integer"
  12542. },
  12543. "goodsid": {
  12544. "description": "商品ID",
  12545. "type": "integer"
  12546. },
  12547. "goodunit": {
  12548. "description": "报价单位",
  12549. "type": "string"
  12550. },
  12551. "marketid": {
  12552. "description": "市场ID",
  12553. "type": "integer"
  12554. },
  12555. "orderid": {
  12556. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12557. "type": "integer"
  12558. },
  12559. "orderprice": {
  12560. "description": "委托价格",
  12561. "type": "number"
  12562. },
  12563. "orderqty": {
  12564. "description": "委托数量",
  12565. "type": "integer"
  12566. },
  12567. "ordertime": {
  12568. "description": "委托时间",
  12569. "type": "string"
  12570. },
  12571. "ordertotalprice": {
  12572. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  12573. "type": "number"
  12574. },
  12575. "ordertotalweight": {
  12576. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  12577. "type": "integer"
  12578. },
  12579. "totaltotalprice": {
  12580. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  12581. "type": "number"
  12582. },
  12583. "tradeprice": {
  12584. "description": "成交价格",
  12585. "type": "number"
  12586. },
  12587. "tradeqty": {
  12588. "description": "成交数量",
  12589. "type": "integer"
  12590. }
  12591. }
  12592. },
  12593. "cptrade.QueryCPTradeOrderDetailRsq": {
  12594. "type": "object",
  12595. "required": [
  12596. "accountid",
  12597. "buildtype",
  12598. "buyorsell",
  12599. "goodsid",
  12600. "marketid",
  12601. "memberuserid",
  12602. "operatetype",
  12603. "orderqty",
  12604. "ordertime",
  12605. "pricemode",
  12606. "strorderid",
  12607. "tradedate",
  12608. "validtype"
  12609. ],
  12610. "properties": {
  12611. "accountid": {
  12612. "description": "账户ID[报价币种]",
  12613. "type": "integer"
  12614. },
  12615. "buildtype": {
  12616. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12617. "type": "integer"
  12618. },
  12619. "buyorsell": {
  12620. "description": "买卖 - 0:买 1:卖",
  12621. "type": "integer"
  12622. },
  12623. "cancelorderid": {
  12624. "description": "撤单单号(撤单时填写)",
  12625. "type": "integer"
  12626. },
  12627. "cancelqty": {
  12628. "description": "撤单数量",
  12629. "type": "integer"
  12630. },
  12631. "clientordertime": {
  12632. "description": "客户端委托时间",
  12633. "type": "string"
  12634. },
  12635. "clientticket": {
  12636. "description": "客户端流水号",
  12637. "type": "string"
  12638. },
  12639. "clienttype": {
  12640. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12641. "type": "integer"
  12642. },
  12643. "closeexchagechargevalue": {
  12644. "description": "平仓交易所手续费设置值",
  12645. "type": "number"
  12646. },
  12647. "closefeealgorithm": {
  12648. "description": "平仓手续费收取方式 1:比率 2:固定",
  12649. "type": "integer"
  12650. },
  12651. "closefreezecharge": {
  12652. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12653. "type": "number"
  12654. },
  12655. "closememberchargevalue": {
  12656. "description": "平仓会员手续费设置值",
  12657. "type": "number"
  12658. },
  12659. "closeqty": {
  12660. "description": "平仓数量(先建后平操作 需要记录)",
  12661. "type": "integer"
  12662. },
  12663. "closetradeqty": {
  12664. "description": "平仓成交数量(先建后平操作,需要记录)",
  12665. "type": "integer"
  12666. },
  12667. "closeunfreezecharge": {
  12668. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12669. "type": "number"
  12670. },
  12671. "delistingtype": {
  12672. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12673. "type": "integer"
  12674. },
  12675. "freezecharge": {
  12676. "description": "冻结手续费",
  12677. "type": "number"
  12678. },
  12679. "freezemargin": {
  12680. "description": "冻结保证金(冻结交易金额)",
  12681. "type": "number"
  12682. },
  12683. "gcaccountid": {
  12684. "description": "账户ID[合约币种]",
  12685. "type": "integer"
  12686. },
  12687. "goodsid": {
  12688. "description": "商品ID",
  12689. "type": "integer"
  12690. },
  12691. "isconfirmexercise": {
  12692. "description": "是否确认行权- 0:否 1:是",
  12693. "type": "integer"
  12694. },
  12695. "ispreexercise": {
  12696. "description": "是否预申报- 0:否 1:是",
  12697. "type": "integer"
  12698. },
  12699. "listingselecttype": {
  12700. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12701. "type": "integer"
  12702. },
  12703. "marginalgorithm": {
  12704. "description": "保证金收取方式 1:比率 2:固定",
  12705. "type": "integer"
  12706. },
  12707. "marginvalue": {
  12708. "description": "即市保证金设置值",
  12709. "type": "number"
  12710. },
  12711. "marketid": {
  12712. "description": "市场ID",
  12713. "type": "integer"
  12714. },
  12715. "marketmaxsub": {
  12716. "description": "市价最大偏移范围",
  12717. "type": "number"
  12718. },
  12719. "memberuserid": {
  12720. "description": "所属会员UserID",
  12721. "type": "integer"
  12722. },
  12723. "openexchagechargevalue": {
  12724. "description": "建仓交易所手续费设置值",
  12725. "type": "number"
  12726. },
  12727. "openfeealgorithm": {
  12728. "description": "建仓手续费收取方式 1:比率 2:固定",
  12729. "type": "integer"
  12730. },
  12731. "openfreezecharge": {
  12732. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12733. "type": "number"
  12734. },
  12735. "openmemberchargevalue": {
  12736. "description": "建仓会员手续费设置值",
  12737. "type": "number"
  12738. },
  12739. "openqty": {
  12740. "description": "开仓数量(先建后平操作,需要记录)",
  12741. "type": "integer"
  12742. },
  12743. "opentradeqty": {
  12744. "description": "开仓成交数量(先建后平操作,需要记录)",
  12745. "type": "integer"
  12746. },
  12747. "openunfreezecharge": {
  12748. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12749. "type": "number"
  12750. },
  12751. "operatetype": {
  12752. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12753. "type": "integer"
  12754. },
  12755. "operatorid": {
  12756. "description": "登录账号(LoginID)",
  12757. "type": "integer"
  12758. },
  12759. "optiontype": {
  12760. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12761. "type": "integer"
  12762. },
  12763. "orderprice": {
  12764. "description": "委托价格",
  12765. "type": "number"
  12766. },
  12767. "orderqty": {
  12768. "description": "委托数量",
  12769. "type": "integer"
  12770. },
  12771. "ordersrc": {
  12772. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12773. "type": "integer"
  12774. },
  12775. "orderstatus": {
  12776. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12777. "type": "integer"
  12778. },
  12779. "ordertime": {
  12780. "description": "委托时间",
  12781. "type": "string"
  12782. },
  12783. "preexerciseprice": {
  12784. "description": "预申报价格",
  12785. "type": "number"
  12786. },
  12787. "premium": {
  12788. "description": "权利金",
  12789. "type": "number"
  12790. },
  12791. "preorderid": {
  12792. "description": "关联预埋单号(止盈止损单时填写)",
  12793. "type": "integer"
  12794. },
  12795. "pricemode": {
  12796. "description": "取价方式 - 1:市价 2: 限价",
  12797. "type": "integer"
  12798. },
  12799. "quoteid": {
  12800. "description": "报价单ID",
  12801. "type": "integer"
  12802. },
  12803. "relatedid": {
  12804. "description": "关联单号(交割单)",
  12805. "type": "integer"
  12806. },
  12807. "retcode": {
  12808. "description": "错误代码",
  12809. "type": "integer"
  12810. },
  12811. "sessionid": {
  12812. "description": "会话ID",
  12813. "type": "integer"
  12814. },
  12815. "strorderid": {
  12816. "description": "委托单号",
  12817. "type": "string"
  12818. },
  12819. "tradedate": {
  12820. "description": "交易日(yyyyMMdd)",
  12821. "type": "string"
  12822. },
  12823. "tradeproperty": {
  12824. "description": "交易属性",
  12825. "type": "integer"
  12826. },
  12827. "tradeqty": {
  12828. "description": "成交数量",
  12829. "type": "integer"
  12830. },
  12831. "unfreezecharge": {
  12832. "description": "解冻手续费",
  12833. "type": "number"
  12834. },
  12835. "unfreezemargin": {
  12836. "description": "解冻保证金",
  12837. "type": "number"
  12838. },
  12839. "updatetime": {
  12840. "description": "更新时间",
  12841. "type": "string"
  12842. },
  12843. "uuid": {
  12844. "description": "发起端唯一id",
  12845. "type": "string"
  12846. },
  12847. "validtime": {
  12848. "description": "有效期限",
  12849. "type": "string"
  12850. },
  12851. "validtype": {
  12852. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12853. "type": "integer"
  12854. },
  12855. "volumetype": {
  12856. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12857. "type": "integer"
  12858. }
  12859. }
  12860. },
  12861. "cptrade.QueryMyCPTradeGoodsRsp": {
  12862. "type": "object",
  12863. "required": [
  12864. "goodscode",
  12865. "goodsid",
  12866. "goodsname",
  12867. "marketid",
  12868. "relatedgoodscode",
  12869. "relatedgoodsname"
  12870. ],
  12871. "properties": {
  12872. "accountid": {
  12873. "description": "卖方账户ID",
  12874. "type": "integer"
  12875. },
  12876. "agreeunit": {
  12877. "description": "合约单位",
  12878. "type": "number"
  12879. },
  12880. "applyid": {
  12881. "description": "关联申请ID",
  12882. "type": "integer"
  12883. },
  12884. "attachmenturl": {
  12885. "description": "附件地址",
  12886. "type": "string"
  12887. },
  12888. "createtime": {
  12889. "description": "创建时间",
  12890. "type": "string"
  12891. },
  12892. "currencyid": {
  12893. "description": "报价货币ID",
  12894. "type": "integer"
  12895. },
  12896. "decimalplace": {
  12897. "description": "报价小数位",
  12898. "type": "integer"
  12899. },
  12900. "endtime": {
  12901. "description": "预售结束时间",
  12902. "type": "string"
  12903. },
  12904. "floorprice": {
  12905. "description": "底价[大宗式竞拍]",
  12906. "type": "number"
  12907. },
  12908. "goodscode": {
  12909. "description": "商品代码(预售)",
  12910. "type": "string"
  12911. },
  12912. "goodsdetail": {
  12913. "description": "详情[大宗]",
  12914. "type": "string"
  12915. },
  12916. "goodsid": {
  12917. "description": "商品ID(自增ID SEQ_GOODS)",
  12918. "type": "integer"
  12919. },
  12920. "goodsname": {
  12921. "description": "商品名称(预售)",
  12922. "type": "string"
  12923. },
  12924. "goodunit": {
  12925. "description": "报价单位",
  12926. "type": "string"
  12927. },
  12928. "goodunitid": {
  12929. "description": "报价单位ID",
  12930. "type": "integer"
  12931. },
  12932. "marketid": {
  12933. "description": "所属市场ID",
  12934. "type": "integer"
  12935. },
  12936. "marketname": {
  12937. "description": "预售市场名称",
  12938. "type": "string"
  12939. },
  12940. "presaledamount": {
  12941. "description": "已预售总金额(预售结束时更新)",
  12942. "type": "number"
  12943. },
  12944. "presaledqty": {
  12945. "description": "已预售量(预售结束时更新)",
  12946. "type": "integer"
  12947. },
  12948. "presalemode": {
  12949. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12950. "type": "integer"
  12951. },
  12952. "presaleqty": {
  12953. "description": "预售数量",
  12954. "type": "integer"
  12955. },
  12956. "refprice": {
  12957. "description": "参考价格[一口价]",
  12958. "type": "number"
  12959. },
  12960. "relatedgoodscode": {
  12961. "description": "商品代码(订单)",
  12962. "type": "string"
  12963. },
  12964. "relatedgoodsid": {
  12965. "description": "关联交易合约ID",
  12966. "type": "integer"
  12967. },
  12968. "relatedgoodsname": {
  12969. "description": "商品名称(订单)",
  12970. "type": "string"
  12971. },
  12972. "relatedmarketid": {
  12973. "description": "关联交易合约市场ID",
  12974. "type": "integer"
  12975. },
  12976. "sellstatus": {
  12977. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12978. "type": "integer"
  12979. },
  12980. "startprice": {
  12981. "description": "起拍价[大宗式竞拍]",
  12982. "type": "number"
  12983. },
  12984. "starttime": {
  12985. "description": "预售开始时间",
  12986. "type": "string"
  12987. },
  12988. "tradedate": {
  12989. "description": "交易日(yyyyMMdd)",
  12990. "type": "string"
  12991. },
  12992. "tradeprice": {
  12993. "description": "成交价[大宗]",
  12994. "type": "number"
  12995. },
  12996. "userid": {
  12997. "description": "卖方用户ID",
  12998. "type": "integer"
  12999. }
  13000. }
  13001. },
  13002. "cptrade.QueryPresaleGoodsExRsp": {
  13003. "type": "object",
  13004. "required": [
  13005. "goodsid"
  13006. ],
  13007. "properties": {
  13008. "attachmenturl": {
  13009. "description": "附件地址",
  13010. "type": "string"
  13011. },
  13012. "createtime": {
  13013. "description": "创建时间",
  13014. "type": "string"
  13015. },
  13016. "endtime": {
  13017. "description": "预售结束时间",
  13018. "type": "string"
  13019. },
  13020. "floorprice": {
  13021. "description": "底价[大宗式竞拍]",
  13022. "type": "number"
  13023. },
  13024. "goodsdetail": {
  13025. "description": "详情[大宗]",
  13026. "type": "string"
  13027. },
  13028. "goodsid": {
  13029. "description": "商品ID(预售)",
  13030. "type": "integer"
  13031. },
  13032. "goodunit": {
  13033. "description": "报价单位",
  13034. "type": "string"
  13035. },
  13036. "marketid": {
  13037. "description": "预售市场ID - 根据预售模式选择市场",
  13038. "type": "integer"
  13039. },
  13040. "presaledamount": {
  13041. "description": "已预售总金额(预售结束时更新)",
  13042. "type": "number"
  13043. },
  13044. "presaledqty": {
  13045. "description": "已预售量(预售结束时更新)",
  13046. "type": "integer"
  13047. },
  13048. "presalemode": {
  13049. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13050. "type": "integer"
  13051. },
  13052. "presaleqty": {
  13053. "description": "预售数量",
  13054. "type": "integer"
  13055. },
  13056. "refprice": {
  13057. "description": "参考价格[一口价]",
  13058. "type": "number"
  13059. },
  13060. "relatedgoodsid": {
  13061. "description": "关联交易合约ID",
  13062. "type": "integer"
  13063. },
  13064. "relatedmarketid": {
  13065. "description": "关联交易合约市场ID",
  13066. "type": "integer"
  13067. },
  13068. "sellstatus": {
  13069. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13070. "type": "integer"
  13071. },
  13072. "startprice": {
  13073. "description": "起拍价[大宗式竞拍]",
  13074. "type": "number"
  13075. },
  13076. "starttime": {
  13077. "description": "预售开始时间",
  13078. "type": "string"
  13079. },
  13080. "tradedate": {
  13081. "description": "交易日(yyyyMMdd)",
  13082. "type": "string"
  13083. },
  13084. "tradeprice": {
  13085. "description": "成交价[大宗]",
  13086. "type": "number"
  13087. }
  13088. }
  13089. },
  13090. "delivery.QueryDeliveryRelationRsp": {
  13091. "type": "object",
  13092. "required": [
  13093. "begindate",
  13094. "enddate",
  13095. "goodsid",
  13096. "mindeliveryqty",
  13097. "xdeliveryratio"
  13098. ],
  13099. "properties": {
  13100. "begindate": {
  13101. "description": "起始日期(yyyyMMdd)",
  13102. "type": "string"
  13103. },
  13104. "buytemplateid": {
  13105. "description": "买履约计划模板ID",
  13106. "type": "integer"
  13107. },
  13108. "deliverygoodscode": {
  13109. "description": "品种代码",
  13110. "type": "string"
  13111. },
  13112. "deliverygoodsid": {
  13113. "description": "交割商品",
  13114. "type": "integer"
  13115. },
  13116. "deliverygoodsname": {
  13117. "description": "品种名称",
  13118. "type": "string"
  13119. },
  13120. "deliverymode": {
  13121. "description": "交割方式 - 1:点选式 2:申报式",
  13122. "type": "integer"
  13123. },
  13124. "deliverypricerule": {
  13125. "description": "交割价规则- 1:行情价 2:建仓价",
  13126. "type": "integer"
  13127. },
  13128. "deliverytype": {
  13129. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  13130. "type": "integer"
  13131. },
  13132. "enddate": {
  13133. "description": "结束日期(yyyyMMdd)",
  13134. "type": "string"
  13135. },
  13136. "goodscode": {
  13137. "description": "商品代码",
  13138. "type": "string"
  13139. },
  13140. "goodsid": {
  13141. "description": "交易合约ID",
  13142. "type": "integer"
  13143. },
  13144. "goodsname": {
  13145. "description": "商品名称",
  13146. "type": "string"
  13147. },
  13148. "marketid": {
  13149. "description": "市场ID",
  13150. "type": "integer"
  13151. },
  13152. "mindeliveryqty": {
  13153. "description": "最小交割系数(K)",
  13154. "type": "integer"
  13155. },
  13156. "p2deliveryprice": {
  13157. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  13158. "type": "number"
  13159. },
  13160. "p2deliveryratio": {
  13161. "description": "P2合约系数(p)",
  13162. "type": "integer"
  13163. },
  13164. "p2goodsid": {
  13165. "description": "P2合约ID",
  13166. "type": "integer"
  13167. },
  13168. "p2pricemode": {
  13169. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  13170. "type": "integer"
  13171. },
  13172. "pdeliveryprice": {
  13173. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  13174. "type": "number"
  13175. },
  13176. "pdeliveryratio": {
  13177. "description": "P合约系数(n)",
  13178. "type": "integer"
  13179. },
  13180. "pgoodsid": {
  13181. "description": "P合约ID",
  13182. "type": "integer"
  13183. },
  13184. "ppricemode": {
  13185. "description": "P合约价格方式 - 1:商品价 2:固定值",
  13186. "type": "integer"
  13187. },
  13188. "rratio": {
  13189. "description": "兑换系数(R)",
  13190. "type": "integer"
  13191. },
  13192. "rratio1": {
  13193. "description": "兑换系数(交易合约)(R1)",
  13194. "type": "integer"
  13195. },
  13196. "rratio2": {
  13197. "description": "兑换系数(仓单标准)(R2)",
  13198. "type": "integer"
  13199. },
  13200. "selltemplateid": {
  13201. "description": "卖履约计划模板ID",
  13202. "type": "integer"
  13203. },
  13204. "wrstandardid": {
  13205. "description": "仓单标准ID",
  13206. "type": "integer"
  13207. },
  13208. "xdeliveryratio": {
  13209. "description": "交易合约系数(m)",
  13210. "type": "integer"
  13211. }
  13212. }
  13213. },
  13214. "ermcp.ExposureDetailRsp": {
  13215. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  13216. },
  13217. "ermcp.ExposureHedgePosDetailRsp": {
  13218. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  13219. },
  13220. "ermcp.ExposureHedgePositionRsp": {
  13221. "$ref": "#/definitions/models.ErmcpHedgePosition"
  13222. },
  13223. "ermcp.ExposureSpotDetailRsp": {
  13224. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  13225. },
  13226. "ermcp.ExposureSpotRsp": {
  13227. "$ref": "#/definitions/models.AreaSpotModel"
  13228. },
  13229. "ermcp.HisExposureRsp": {
  13230. "$ref": "#/definitions/models.ErmcpHisExposureS"
  13231. },
  13232. "ermcp.PendingAuditCntRsp": {
  13233. "$ref": "#/definitions/models.ErmcpPendingAudit"
  13234. },
  13235. "ermcp.QryAvalidGPRsp": {
  13236. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  13237. },
  13238. "ermcp.QryBusinessDjRsp": {
  13239. "type": "object",
  13240. "properties": {
  13241. "amount": {
  13242. "description": "点价金额=(点价价格+升贴水)*点价数量",
  13243. "type": "number"
  13244. },
  13245. "applyid": {
  13246. "description": "申请人",
  13247. "type": "string"
  13248. },
  13249. "applyname": {
  13250. "description": "申请人名称",
  13251. "type": "string"
  13252. },
  13253. "applystatus": {
  13254. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13255. "type": "integer"
  13256. },
  13257. "applytime": {
  13258. "description": "申请时间",
  13259. "type": "string"
  13260. },
  13261. "attachurl": {
  13262. "description": "附件",
  13263. "type": "string"
  13264. },
  13265. "auditid": {
  13266. "description": "审核人ID",
  13267. "type": "string"
  13268. },
  13269. "auditname": {
  13270. "description": "审核人名称",
  13271. "type": "string"
  13272. },
  13273. "audittime": {
  13274. "description": "审核时间",
  13275. "type": "string"
  13276. },
  13277. "buyusername": {
  13278. "description": "采购方名称",
  13279. "type": "string"
  13280. },
  13281. "contractno": {
  13282. "description": "合同编号",
  13283. "type": "string"
  13284. },
  13285. "contractstatus": {
  13286. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13287. "type": "integer"
  13288. },
  13289. "contracttype": {
  13290. "description": "现货合同类型 - 1:采购 -1:销售",
  13291. "type": "integer"
  13292. },
  13293. "deliverygoodscode": {
  13294. "description": "现货品种代码",
  13295. "type": "string"
  13296. },
  13297. "deliverygoodsid": {
  13298. "description": "现货商品ID",
  13299. "type": "integer"
  13300. },
  13301. "deliverygoodsname": {
  13302. "description": "现货品种名称",
  13303. "type": "string"
  13304. },
  13305. "enumdicname": {
  13306. "description": "单位名称",
  13307. "type": "string"
  13308. },
  13309. "goodscode": {
  13310. "description": "点价合约",
  13311. "type": "string"
  13312. },
  13313. "goodsname": {
  13314. "description": "商品名称",
  13315. "type": "string"
  13316. },
  13317. "operateapplyid": {
  13318. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13319. "type": "string"
  13320. },
  13321. "operateapplytype": {
  13322. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13323. "type": "integer"
  13324. },
  13325. "pricedPrice": {
  13326. "description": "点价价格(非必填)",
  13327. "type": "number"
  13328. },
  13329. "pricedQty": {
  13330. "description": "点价数量(非必填)",
  13331. "type": "number"
  13332. },
  13333. "pricemove": {
  13334. "description": "升贴水",
  13335. "type": "number"
  13336. },
  13337. "pricetype": {
  13338. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13339. "type": "integer"
  13340. },
  13341. "relatedid": {
  13342. "description": "现货合同ID",
  13343. "type": "string"
  13344. },
  13345. "sellusername": {
  13346. "description": "销售方名字",
  13347. "type": "string"
  13348. },
  13349. "userid": {
  13350. "description": "用户ID",
  13351. "type": "integer"
  13352. },
  13353. "wrstandardcode": {
  13354. "description": "品类代码",
  13355. "type": "string"
  13356. },
  13357. "wrstandardid": {
  13358. "description": "品类id",
  13359. "type": "integer"
  13360. },
  13361. "wrstandardname": {
  13362. "description": "品类名称",
  13363. "type": "string"
  13364. }
  13365. }
  13366. },
  13367. "ermcp.QryBussinessFpRsp": {
  13368. "type": "object",
  13369. "properties": {
  13370. "applyid": {
  13371. "description": "申请人",
  13372. "type": "string"
  13373. },
  13374. "applyname": {
  13375. "description": "申请人名称",
  13376. "type": "string"
  13377. },
  13378. "applystatus": {
  13379. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13380. "type": "integer"
  13381. },
  13382. "applytime": {
  13383. "description": "申请时间",
  13384. "type": "string"
  13385. },
  13386. "attachurl": {
  13387. "description": "附件",
  13388. "type": "string"
  13389. },
  13390. "auditid": {
  13391. "description": "审核人ID",
  13392. "type": "string"
  13393. },
  13394. "auditname": {
  13395. "description": "审核人名称",
  13396. "type": "string"
  13397. },
  13398. "audittime": {
  13399. "description": "审核时间",
  13400. "type": "string"
  13401. },
  13402. "buyusername": {
  13403. "description": "采购方名称",
  13404. "type": "string"
  13405. },
  13406. "contractno": {
  13407. "description": "合同编号",
  13408. "type": "string"
  13409. },
  13410. "contractstatus": {
  13411. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13412. "type": "integer"
  13413. },
  13414. "contracttype": {
  13415. "description": "现货合同类型 - 1:采购 -1:销售",
  13416. "type": "integer"
  13417. },
  13418. "deliverygoodscode": {
  13419. "description": "现货品种代码",
  13420. "type": "string"
  13421. },
  13422. "deliverygoodsid": {
  13423. "description": "现货商品ID",
  13424. "type": "integer"
  13425. },
  13426. "deliverygoodsname": {
  13427. "description": "现货品种名称",
  13428. "type": "string"
  13429. },
  13430. "enumdicname": {
  13431. "description": "单位名称",
  13432. "type": "string"
  13433. },
  13434. "goodscode": {
  13435. "description": "点价合约",
  13436. "type": "string"
  13437. },
  13438. "goodsname": {
  13439. "description": "商品名称",
  13440. "type": "string"
  13441. },
  13442. "invoiceAmount": {
  13443. "description": "已开收票金额(销售为开票,采购为收票)",
  13444. "type": "number"
  13445. },
  13446. "operateapplyid": {
  13447. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13448. "type": "string"
  13449. },
  13450. "operateapplytype": {
  13451. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13452. "type": "integer"
  13453. },
  13454. "pricemove": {
  13455. "description": "升贴水",
  13456. "type": "number"
  13457. },
  13458. "pricetype": {
  13459. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13460. "type": "integer"
  13461. },
  13462. "relatedid": {
  13463. "description": "现货合同ID",
  13464. "type": "string"
  13465. },
  13466. "sellusername": {
  13467. "description": "销售方名字",
  13468. "type": "string"
  13469. },
  13470. "userid": {
  13471. "description": "用户ID",
  13472. "type": "integer"
  13473. },
  13474. "wrstandardcode": {
  13475. "description": "品类代码",
  13476. "type": "string"
  13477. },
  13478. "wrstandardid": {
  13479. "description": "品类id",
  13480. "type": "integer"
  13481. },
  13482. "wrstandardname": {
  13483. "description": "品类名称",
  13484. "type": "string"
  13485. }
  13486. }
  13487. },
  13488. "ermcp.QryBussinessJsExRsp": {
  13489. "type": "object",
  13490. "properties": {
  13491. "applyid": {
  13492. "description": "申请人",
  13493. "type": "string"
  13494. },
  13495. "applyname": {
  13496. "description": "申请人名称",
  13497. "type": "string"
  13498. },
  13499. "applystatus": {
  13500. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13501. "type": "integer"
  13502. },
  13503. "applytime": {
  13504. "description": "申请时间",
  13505. "type": "string"
  13506. },
  13507. "attachurl": {
  13508. "description": "附件",
  13509. "type": "string"
  13510. },
  13511. "auditid": {
  13512. "description": "审核人ID",
  13513. "type": "string"
  13514. },
  13515. "auditname": {
  13516. "description": "审核人名称",
  13517. "type": "string"
  13518. },
  13519. "audittime": {
  13520. "description": "审核时间",
  13521. "type": "string"
  13522. },
  13523. "buyusername": {
  13524. "description": "采购方名称",
  13525. "type": "string"
  13526. },
  13527. "contractno": {
  13528. "description": "合同编号",
  13529. "type": "string"
  13530. },
  13531. "contractstatus": {
  13532. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13533. "type": "integer"
  13534. },
  13535. "contracttype": {
  13536. "description": "现货合同类型 - 1:采购 -1:销售",
  13537. "type": "integer"
  13538. },
  13539. "deliverygoodscode": {
  13540. "description": "现货品种代码",
  13541. "type": "string"
  13542. },
  13543. "deliverygoodsid": {
  13544. "description": "现货商品ID",
  13545. "type": "integer"
  13546. },
  13547. "deliverygoodsname": {
  13548. "description": "现货品种名称",
  13549. "type": "string"
  13550. },
  13551. "enumdicname": {
  13552. "description": "单位名称",
  13553. "type": "string"
  13554. },
  13555. "goodscode": {
  13556. "description": "点价合约",
  13557. "type": "string"
  13558. },
  13559. "goodsname": {
  13560. "description": "商品名称",
  13561. "type": "string"
  13562. },
  13563. "operateapplyid": {
  13564. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13565. "type": "string"
  13566. },
  13567. "operateapplytype": {
  13568. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13569. "type": "integer"
  13570. },
  13571. "pricemove": {
  13572. "description": "升贴水",
  13573. "type": "number"
  13574. },
  13575. "pricetype": {
  13576. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13577. "type": "integer"
  13578. },
  13579. "reckontype": {
  13580. "description": "结算类型",
  13581. "type": "string"
  13582. },
  13583. "reckonvalue": {
  13584. "description": "值",
  13585. "type": "number"
  13586. },
  13587. "relatedid": {
  13588. "description": "现货合同ID",
  13589. "type": "string"
  13590. },
  13591. "sellusername": {
  13592. "description": "销售方名字",
  13593. "type": "string"
  13594. },
  13595. "userid": {
  13596. "description": "用户ID",
  13597. "type": "integer"
  13598. },
  13599. "wrstandardcode": {
  13600. "description": "品类代码",
  13601. "type": "string"
  13602. },
  13603. "wrstandardid": {
  13604. "description": "品类id",
  13605. "type": "integer"
  13606. },
  13607. "wrstandardname": {
  13608. "description": "品类名称",
  13609. "type": "string"
  13610. }
  13611. }
  13612. },
  13613. "ermcp.QryBussinessJsRsp": {
  13614. "type": "object",
  13615. "properties": {
  13616. "addmargin": {
  13617. "description": "追加保证金(非必填)",
  13618. "type": "number"
  13619. },
  13620. "applyid": {
  13621. "description": "申请人",
  13622. "type": "string"
  13623. },
  13624. "applyname": {
  13625. "description": "申请人名称",
  13626. "type": "string"
  13627. },
  13628. "applystatus": {
  13629. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13630. "type": "integer"
  13631. },
  13632. "applytime": {
  13633. "description": "申请时间",
  13634. "type": "string"
  13635. },
  13636. "attachurl": {
  13637. "description": "附件",
  13638. "type": "string"
  13639. },
  13640. "auditid": {
  13641. "description": "审核人ID",
  13642. "type": "string"
  13643. },
  13644. "auditname": {
  13645. "description": "审核人名称",
  13646. "type": "string"
  13647. },
  13648. "audittime": {
  13649. "description": "审核时间",
  13650. "type": "string"
  13651. },
  13652. "buyusername": {
  13653. "description": "采购方名称",
  13654. "type": "string"
  13655. },
  13656. "contractno": {
  13657. "description": "合同编号",
  13658. "type": "string"
  13659. },
  13660. "contractstatus": {
  13661. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13662. "type": "integer"
  13663. },
  13664. "contracttype": {
  13665. "description": "现货合同类型 - 1:采购 -1:销售",
  13666. "type": "integer"
  13667. },
  13668. "decmargin": {
  13669. "description": "减少保证金(非必填)",
  13670. "type": "number"
  13671. },
  13672. "deliverygoodscode": {
  13673. "description": "现货品种代码",
  13674. "type": "string"
  13675. },
  13676. "deliverygoodsid": {
  13677. "description": "现货商品ID",
  13678. "type": "integer"
  13679. },
  13680. "deliverygoodsname": {
  13681. "description": "现货品种名称",
  13682. "type": "string"
  13683. },
  13684. "enumdicname": {
  13685. "description": "单位名称",
  13686. "type": "string"
  13687. },
  13688. "goodscode": {
  13689. "description": "点价合约",
  13690. "type": "string"
  13691. },
  13692. "goodsname": {
  13693. "description": "商品名称",
  13694. "type": "string"
  13695. },
  13696. "operateapplyid": {
  13697. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13698. "type": "string"
  13699. },
  13700. "operateapplytype": {
  13701. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13702. "type": "integer"
  13703. },
  13704. "pricemove": {
  13705. "description": "升贴水",
  13706. "type": "number"
  13707. },
  13708. "pricetype": {
  13709. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13710. "type": "integer"
  13711. },
  13712. "reckonadjustamount": {
  13713. "description": "结算调整金额(非必填)",
  13714. "type": "number"
  13715. },
  13716. "reckonosamount": {
  13717. "description": "结算溢短金额(非必填)",
  13718. "type": "number"
  13719. },
  13720. "reckonotheramount": {
  13721. "description": "结算其他费用(非必填)",
  13722. "type": "number"
  13723. },
  13724. "reckonrealqty": {
  13725. "description": "结算实际数量(非必填)",
  13726. "type": "number"
  13727. },
  13728. "relatedid": {
  13729. "description": "现货合同ID",
  13730. "type": "string"
  13731. },
  13732. "sellusername": {
  13733. "description": "销售方名字",
  13734. "type": "string"
  13735. },
  13736. "userid": {
  13737. "description": "用户ID",
  13738. "type": "integer"
  13739. },
  13740. "wrstandardcode": {
  13741. "description": "品类代码",
  13742. "type": "string"
  13743. },
  13744. "wrstandardid": {
  13745. "description": "品类id",
  13746. "type": "integer"
  13747. },
  13748. "wrstandardname": {
  13749. "description": "品类名称",
  13750. "type": "string"
  13751. }
  13752. }
  13753. },
  13754. "ermcp.QryBussinessKxRsp": {
  13755. "type": "object",
  13756. "properties": {
  13757. "applyid": {
  13758. "description": "申请人",
  13759. "type": "string"
  13760. },
  13761. "applyname": {
  13762. "description": "申请人名称",
  13763. "type": "string"
  13764. },
  13765. "applystatus": {
  13766. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13767. "type": "integer"
  13768. },
  13769. "applytime": {
  13770. "description": "申请时间",
  13771. "type": "string"
  13772. },
  13773. "attachurl": {
  13774. "description": "附件",
  13775. "type": "string"
  13776. },
  13777. "auditid": {
  13778. "description": "审核人ID",
  13779. "type": "string"
  13780. },
  13781. "auditname": {
  13782. "description": "审核人名称",
  13783. "type": "string"
  13784. },
  13785. "audittime": {
  13786. "description": "审核时间",
  13787. "type": "string"
  13788. },
  13789. "buyusername": {
  13790. "description": "采购方名称",
  13791. "type": "string"
  13792. },
  13793. "contractno": {
  13794. "description": "合同编号",
  13795. "type": "string"
  13796. },
  13797. "contractstatus": {
  13798. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13799. "type": "integer"
  13800. },
  13801. "contracttype": {
  13802. "description": "现货合同类型 - 1:采购 -1:销售",
  13803. "type": "integer"
  13804. },
  13805. "deductamount": {
  13806. "description": "退款(非必填)",
  13807. "type": "number"
  13808. },
  13809. "deliverygoodscode": {
  13810. "description": "现货品种代码",
  13811. "type": "string"
  13812. },
  13813. "deliverygoodsid": {
  13814. "description": "现货商品ID",
  13815. "type": "integer"
  13816. },
  13817. "deliverygoodsname": {
  13818. "description": "现货品种名称",
  13819. "type": "string"
  13820. },
  13821. "enumdicname": {
  13822. "description": "单位名称",
  13823. "type": "string"
  13824. },
  13825. "goodscode": {
  13826. "description": "点价合约",
  13827. "type": "string"
  13828. },
  13829. "goodsname": {
  13830. "description": "商品名称",
  13831. "type": "string"
  13832. },
  13833. "kxtype": {
  13834. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  13835. "type": "integer"
  13836. },
  13837. "operateapplyid": {
  13838. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13839. "type": "string"
  13840. },
  13841. "operateapplytype": {
  13842. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13843. "type": "integer"
  13844. },
  13845. "payamount": {
  13846. "description": "收付款(非必填)",
  13847. "type": "number"
  13848. },
  13849. "pricemove": {
  13850. "description": "升贴水",
  13851. "type": "number"
  13852. },
  13853. "pricetype": {
  13854. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13855. "type": "integer"
  13856. },
  13857. "relatedid": {
  13858. "description": "现货合同ID",
  13859. "type": "string"
  13860. },
  13861. "sellusername": {
  13862. "description": "销售方名字",
  13863. "type": "string"
  13864. },
  13865. "userid": {
  13866. "description": "用户ID",
  13867. "type": "integer"
  13868. },
  13869. "wrstandardcode": {
  13870. "description": "品类代码",
  13871. "type": "string"
  13872. },
  13873. "wrstandardid": {
  13874. "description": "品类id",
  13875. "type": "integer"
  13876. },
  13877. "wrstandardname": {
  13878. "description": "品类名称",
  13879. "type": "string"
  13880. }
  13881. }
  13882. },
  13883. "ermcp.QryGGCovertCfgRsp": {
  13884. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  13885. },
  13886. "ermcp.QryMGChangeLogRsp": {
  13887. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  13888. },
  13889. "ermcp.QryMiddleGoodsDetailRsp": {
  13890. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  13891. },
  13892. "ermcp.QryMiddleGoodsRsp": {
  13893. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13894. },
  13895. "ermcp.QryOPLogRsp": {
  13896. "$ref": "#/definitions/models.ErmcpOPLogModel"
  13897. },
  13898. "ermcp.QryUserInfoRsp": {
  13899. "$ref": "#/definitions/models.ErmcpUserModel"
  13900. },
  13901. "ermcp.QryWarehouseRsp": {
  13902. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  13903. },
  13904. "ermcp.QueryErmcpTradePositionRsp": {
  13905. "type": "object",
  13906. "properties": {
  13907. "agreeunit": {
  13908. "description": "合约单位",
  13909. "type": "number"
  13910. },
  13911. "buyorsell": {
  13912. "description": "方向 - 0:买 1:卖",
  13913. "type": "integer"
  13914. },
  13915. "curpositionqty": {
  13916. "description": "持仓(总仓数量, 期末头寸)",
  13917. "type": "integer"
  13918. },
  13919. "curtdposition": {
  13920. "description": "今仓数量(期末今日头寸)",
  13921. "type": "integer"
  13922. },
  13923. "curtdpositionenabled": {
  13924. "description": "今仓可用",
  13925. "type": "integer"
  13926. },
  13927. "decimalplace": {
  13928. "description": "报价小数位",
  13929. "type": "integer"
  13930. },
  13931. "enableqty": {
  13932. "description": "可用(总仓可用)",
  13933. "type": "integer"
  13934. },
  13935. "exexchangename": {
  13936. "description": "外部交易所名称",
  13937. "type": "string"
  13938. },
  13939. "goodscode": {
  13940. "description": "商品代码(内部)",
  13941. "type": "string"
  13942. },
  13943. "goodsid": {
  13944. "description": "商品ID(自增ID SEQ_GOODS)",
  13945. "type": "integer"
  13946. },
  13947. "goodsname": {
  13948. "description": "商品名称",
  13949. "type": "string"
  13950. },
  13951. "last": {
  13952. "description": "现价",
  13953. "type": "number"
  13954. },
  13955. "marketid": {
  13956. "description": "所属市场ID",
  13957. "type": "integer"
  13958. },
  13959. "openaverageprice": {
  13960. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  13961. "type": "number"
  13962. },
  13963. "opencost": {
  13964. "description": "开仓成本",
  13965. "type": "number"
  13966. },
  13967. "openpl": {
  13968. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13969. "type": "number"
  13970. },
  13971. "outgoodscode": {
  13972. "description": "商品代码(外部)",
  13973. "type": "string"
  13974. },
  13975. "positionaverageprice": {
  13976. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  13977. "type": "number"
  13978. },
  13979. "positioncost": {
  13980. "description": "持仓成本",
  13981. "type": "number"
  13982. },
  13983. "positionpl": {
  13984. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13985. "type": "number"
  13986. },
  13987. "positionplrate": {
  13988. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  13989. "type": "number"
  13990. },
  13991. "usedmargin": {
  13992. "description": "占用保证金",
  13993. "type": "number"
  13994. }
  13995. }
  13996. },
  13997. "ermcp.RealtimeExposurePositionRsp": {
  13998. "$ref": "#/definitions/models.ErmcpExposurePostion"
  13999. },
  14000. "ermcp.RealtimeExposureRsp": {
  14001. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  14002. },
  14003. "erms2.QueryArbitrageStrategyRsp": {
  14004. "type": "object",
  14005. "required": [
  14006. "asapplyid"
  14007. ],
  14008. "properties": {
  14009. "applybasis": {
  14010. "description": "申请基差",
  14011. "type": "number"
  14012. },
  14013. "asapplyid": {
  14014. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  14015. "type": "string"
  14016. },
  14017. "asname": {
  14018. "description": "策略名称",
  14019. "type": "string"
  14020. },
  14021. "asno": {
  14022. "description": "策略编号",
  14023. "type": "string"
  14024. },
  14025. "basischangepl": {
  14026. "description": "基差变动损益[结算更新]",
  14027. "type": "number"
  14028. },
  14029. "biztype": {
  14030. "description": "业务类型 - 1:正向套利 -1:反向套利",
  14031. "type": "integer"
  14032. },
  14033. "closetradedate": {
  14034. "description": "完结交易日(yyyyMMdd)",
  14035. "type": "string"
  14036. },
  14037. "curbasis": {
  14038. "description": "当前基差[结算更新]",
  14039. "type": "number"
  14040. },
  14041. "deliverygoodsid": {
  14042. "description": "现货品种ID",
  14043. "type": "integer"
  14044. },
  14045. "futureavgprice": {
  14046. "description": "期货建仓均价",
  14047. "type": "number"
  14048. },
  14049. "futurecloseamount": {
  14050. "description": "期货平仓金额",
  14051. "type": "number"
  14052. },
  14053. "futurecloseqty": {
  14054. "description": "期货平仓数量",
  14055. "type": "number"
  14056. },
  14057. "futureopenamount": {
  14058. "description": "期货开仓金额",
  14059. "type": "number"
  14060. },
  14061. "futureopenqty": {
  14062. "description": "期货开仓数量",
  14063. "type": "number"
  14064. },
  14065. "futurepl": {
  14066. "description": "期货总盈亏[结算更新]",
  14067. "type": "number"
  14068. },
  14069. "futureqty": {
  14070. "description": "期货持仓数量",
  14071. "type": "number"
  14072. },
  14073. "futurequote": {
  14074. "description": "期货额度",
  14075. "type": "number"
  14076. },
  14077. "goodsgroupid": {
  14078. "description": "期货品种ID",
  14079. "type": "integer"
  14080. },
  14081. "marketid": {
  14082. "description": "市场ID",
  14083. "type": "integer"
  14084. },
  14085. "netexposure": {
  14086. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  14087. "type": "number"
  14088. },
  14089. "netexposurepl": {
  14090. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  14091. "type": "number"
  14092. },
  14093. "netexposurerate": {
  14094. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  14095. "type": "number"
  14096. },
  14097. "openbasis": {
  14098. "description": "建仓基差",
  14099. "type": "number"
  14100. },
  14101. "pricedspotqty": {
  14102. "description": "已定价现货数量",
  14103. "type": "number"
  14104. },
  14105. "pricedspotqtynotax": {
  14106. "description": "已定价现货不含税数量",
  14107. "type": "number"
  14108. },
  14109. "remark": {
  14110. "description": "备注",
  14111. "type": "string"
  14112. },
  14113. "spotavgprice": {
  14114. "description": "现货均价",
  14115. "type": "number"
  14116. },
  14117. "spotbuyamount": {
  14118. "description": "现货采购金额",
  14119. "type": "number"
  14120. },
  14121. "spotbuyqty": {
  14122. "description": "现货采购数量",
  14123. "type": "number"
  14124. },
  14125. "spotpl": {
  14126. "description": "现货总盈亏[结算更新]",
  14127. "type": "number"
  14128. },
  14129. "spotquota": {
  14130. "description": "现货额度",
  14131. "type": "number"
  14132. },
  14133. "spotsellamount": {
  14134. "description": "现货销售金额",
  14135. "type": "number"
  14136. },
  14137. "spotsellqty": {
  14138. "description": "现货销售数量",
  14139. "type": "number"
  14140. },
  14141. "spotusedquota": {
  14142. "description": "现货占用资金",
  14143. "type": "number"
  14144. },
  14145. "strategystatus": {
  14146. "description": "策略状态 - 0:未结束 1:已结束",
  14147. "type": "integer"
  14148. },
  14149. "totalpl": {
  14150. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  14151. "type": "number"
  14152. },
  14153. "tradedate": {
  14154. "description": "交易日(yyyyMMdd)",
  14155. "type": "string"
  14156. },
  14157. "updatetime": {
  14158. "description": "更新时间",
  14159. "type": "string"
  14160. },
  14161. "usedquota": {
  14162. "description": "已占用资金",
  14163. "type": "number"
  14164. },
  14165. "userid": {
  14166. "description": "所属机构",
  14167. "type": "integer"
  14168. }
  14169. }
  14170. },
  14171. "erms2.QueryInnerTradeDetailRsp": {
  14172. "type": "object",
  14173. "required": [
  14174. "asapplyid",
  14175. "buyorsell",
  14176. "goodscode",
  14177. "goodsgroupid",
  14178. "goodsgroupname",
  14179. "goodsname",
  14180. "tradeid"
  14181. ],
  14182. "properties": {
  14183. "accountid": {
  14184. "description": "账号ID",
  14185. "type": "integer"
  14186. },
  14187. "agreeunit": {
  14188. "description": "合约单位",
  14189. "type": "number"
  14190. },
  14191. "asapplyid": {
  14192. "description": "策略申请ID",
  14193. "type": "integer"
  14194. },
  14195. "asname": {
  14196. "description": "策略名称",
  14197. "type": "string"
  14198. },
  14199. "asno": {
  14200. "description": "策略编号",
  14201. "type": "string"
  14202. },
  14203. "buyorsell": {
  14204. "description": "方向 - 0:买 1:卖",
  14205. "type": "integer"
  14206. },
  14207. "channelbuildtype": {
  14208. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14209. "type": "integer"
  14210. },
  14211. "closetype": {
  14212. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14213. "type": "integer"
  14214. },
  14215. "decimalplace": {
  14216. "description": "报价小数位",
  14217. "type": "integer"
  14218. },
  14219. "detailtype": {
  14220. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  14221. "type": "integer"
  14222. },
  14223. "exexchangecode": {
  14224. "description": "外部交易所代码",
  14225. "type": "string"
  14226. },
  14227. "exexchangename": {
  14228. "description": "外部交易所名称",
  14229. "type": "string"
  14230. },
  14231. "goodscode": {
  14232. "description": "商品代码(合约)",
  14233. "type": "string"
  14234. },
  14235. "goodsgroupid": {
  14236. "description": "商品组ID(品种ID)",
  14237. "type": "integer"
  14238. },
  14239. "goodsgroupname": {
  14240. "description": "商品组名称(品种)",
  14241. "type": "string"
  14242. },
  14243. "goodsid": {
  14244. "description": "商品ID",
  14245. "type": "integer"
  14246. },
  14247. "goodsname": {
  14248. "description": "商品名称(合约)",
  14249. "type": "string"
  14250. },
  14251. "goodunit": {
  14252. "description": "报价单位",
  14253. "type": "string"
  14254. },
  14255. "marketid": {
  14256. "description": "市场ID",
  14257. "type": "integer"
  14258. },
  14259. "orderid": {
  14260. "description": "委托单号",
  14261. "type": "string"
  14262. },
  14263. "outgoodscode": {
  14264. "description": "商品代码(外部)",
  14265. "type": "string"
  14266. },
  14267. "relatedouttradeid": {
  14268. "description": "关联外部成交单ID",
  14269. "type": "string"
  14270. },
  14271. "remark": {
  14272. "description": "备注",
  14273. "type": "string"
  14274. },
  14275. "spotcontractid": {
  14276. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  14277. "type": "integer"
  14278. },
  14279. "spotcontractno": {
  14280. "description": "现货合同编号",
  14281. "type": "string"
  14282. },
  14283. "tradeid": {
  14284. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14285. "type": "string"
  14286. },
  14287. "tradeprice": {
  14288. "description": "成交价格",
  14289. "type": "number"
  14290. },
  14291. "tradeqty": {
  14292. "description": "成交数量",
  14293. "type": "integer"
  14294. },
  14295. "tradetime": {
  14296. "description": "成交时间",
  14297. "type": "string"
  14298. },
  14299. "updatetime": {
  14300. "description": "更新时间",
  14301. "type": "string"
  14302. }
  14303. }
  14304. },
  14305. "erms2.QuerySpotContractRsp": {
  14306. "type": "object",
  14307. "required": [
  14308. "spotcontractid"
  14309. ],
  14310. "properties": {
  14311. "accountid": {
  14312. "description": "资金账户ID",
  14313. "type": "integer"
  14314. },
  14315. "areauserid": {
  14316. "description": "所属机构",
  14317. "type": "integer"
  14318. },
  14319. "closedate": {
  14320. "description": "终止日期",
  14321. "type": "string"
  14322. },
  14323. "closeremark": {
  14324. "description": "结束备注",
  14325. "type": "string"
  14326. },
  14327. "closetradedate": {
  14328. "description": "完结交易日(yyyyMMdd)",
  14329. "type": "string"
  14330. },
  14331. "closetype": {
  14332. "description": "终止类型 - 1:违约 2:提前终止",
  14333. "type": "integer"
  14334. },
  14335. "contractamount": {
  14336. "description": "合同金额",
  14337. "type": "number"
  14338. },
  14339. "contractattachment": {
  14340. "description": "合同附件",
  14341. "type": "string"
  14342. },
  14343. "contractno": {
  14344. "description": "现货合同编号",
  14345. "type": "string"
  14346. },
  14347. "contractqty": {
  14348. "description": "合同数量(数值) (用于计算)",
  14349. "type": "number"
  14350. },
  14351. "contractqtychar": {
  14352. "description": "合同数量\\已订价数量 (用于显示)",
  14353. "type": "string"
  14354. },
  14355. "contractstatus": {
  14356. "description": "合同状态 - 0:未结束 1:已结束",
  14357. "type": "integer"
  14358. },
  14359. "contracttype": {
  14360. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  14361. "type": "integer"
  14362. },
  14363. "customeraccountid": {
  14364. "description": "客户资金账户ID",
  14365. "type": "integer"
  14366. },
  14367. "customeruserid": {
  14368. "description": "客户ID",
  14369. "type": "integer"
  14370. },
  14371. "deliverygoodsdesc": {
  14372. "description": "品种说明",
  14373. "type": "string"
  14374. },
  14375. "deliverygoodsid": {
  14376. "description": "现货品种ID",
  14377. "type": "integer"
  14378. },
  14379. "handlestatus": {
  14380. "description": "处理状态",
  14381. "type": "integer"
  14382. },
  14383. "invoiceatt": {
  14384. "description": "发票附件",
  14385. "type": "string"
  14386. },
  14387. "invoicedatetime": {
  14388. "description": "开收票更新时间",
  14389. "type": "string"
  14390. },
  14391. "invoiceopentime": {
  14392. "description": "开票时间",
  14393. "type": "string"
  14394. },
  14395. "invoiceremark": {
  14396. "description": "发票备注",
  14397. "type": "string"
  14398. },
  14399. "invoicestatus": {
  14400. "description": "开收票状态 - 0:未开票 1:已开票",
  14401. "type": "integer"
  14402. },
  14403. "lastdate": {
  14404. "description": "交货时间",
  14405. "type": "string"
  14406. },
  14407. "marketid": {
  14408. "description": "市场ID",
  14409. "type": "integer"
  14410. },
  14411. "paydatetime": {
  14412. "description": "收付款更新时间",
  14413. "type": "string"
  14414. },
  14415. "payremark": {
  14416. "description": "收付款备注",
  14417. "type": "string"
  14418. },
  14419. "paystatus": {
  14420. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  14421. "type": "integer"
  14422. },
  14423. "positionqty": {
  14424. "description": "头寸数量 - 合同数量去小数部分",
  14425. "type": "integer"
  14426. },
  14427. "producttype": {
  14428. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14429. "type": "integer"
  14430. },
  14431. "relatedqty": {
  14432. "description": "已关联数量",
  14433. "type": "number"
  14434. },
  14435. "relatedstatus": {
  14436. "description": "关联完结状态 - 0:未结束 1:已结束",
  14437. "type": "integer"
  14438. },
  14439. "remark": {
  14440. "description": "备注",
  14441. "type": "string"
  14442. },
  14443. "signdate": {
  14444. "description": "签订日期",
  14445. "type": "string"
  14446. },
  14447. "spotcontractid": {
  14448. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  14449. "type": "string"
  14450. },
  14451. "spotdatetime": {
  14452. "description": "收发货更新时间",
  14453. "type": "string"
  14454. },
  14455. "spotprice": {
  14456. "description": "价格",
  14457. "type": "number"
  14458. },
  14459. "spotremark": {
  14460. "description": "收发货备注",
  14461. "type": "string"
  14462. },
  14463. "spotstatus": {
  14464. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  14465. "type": "integer"
  14466. },
  14467. "tradedate": {
  14468. "description": "交易日(yyyyMMdd)",
  14469. "type": "string"
  14470. },
  14471. "userid": {
  14472. "description": "业务员用户ID",
  14473. "type": "integer"
  14474. },
  14475. "warehouseid": {
  14476. "description": "仓库ID",
  14477. "type": "integer"
  14478. },
  14479. "wrfactortypeid": {
  14480. "description": "仓单要素类型ID",
  14481. "type": "integer"
  14482. },
  14483. "wrstandardid": {
  14484. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  14485. "type": "integer"
  14486. }
  14487. }
  14488. },
  14489. "erms3.AddErms2ASApplyReq": {
  14490. "type": "object",
  14491. "required": [
  14492. "asapplyid"
  14493. ],
  14494. "properties": {
  14495. "applybasis": {
  14496. "description": "申请基差",
  14497. "type": "number"
  14498. },
  14499. "applystatus": {
  14500. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14501. "type": "integer"
  14502. },
  14503. "asapplyid": {
  14504. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  14505. "type": "integer"
  14506. },
  14507. "asname": {
  14508. "description": "策略名称",
  14509. "type": "string"
  14510. },
  14511. "asno": {
  14512. "description": "策略编号",
  14513. "type": "string"
  14514. },
  14515. "auditid": {
  14516. "description": "审核人",
  14517. "type": "integer"
  14518. },
  14519. "auditremark": {
  14520. "description": "审核备注",
  14521. "type": "string"
  14522. },
  14523. "audittime": {
  14524. "description": "审核时间",
  14525. "type": "string"
  14526. },
  14527. "biztype": {
  14528. "description": "业务类型 - 1:正向套利 2:反向套利",
  14529. "type": "integer"
  14530. },
  14531. "createtime": {
  14532. "description": "创建时间",
  14533. "type": "string"
  14534. },
  14535. "creatorid": {
  14536. "description": "创建人",
  14537. "type": "integer"
  14538. },
  14539. "deliverygoodsid": {
  14540. "description": "现货品种ID",
  14541. "type": "integer"
  14542. },
  14543. "futurequote": {
  14544. "description": "期货额度",
  14545. "type": "number"
  14546. },
  14547. "goodsgroupid": {
  14548. "description": "期货品种ID",
  14549. "type": "integer"
  14550. },
  14551. "marketid": {
  14552. "description": "市场ID",
  14553. "type": "integer"
  14554. },
  14555. "remark": {
  14556. "description": "备注",
  14557. "type": "string"
  14558. },
  14559. "spotquota": {
  14560. "description": "现货额度",
  14561. "type": "number"
  14562. },
  14563. "tradedate": {
  14564. "description": "交易日(yyyyMMdd)",
  14565. "type": "string"
  14566. },
  14567. "userid": {
  14568. "description": "所属机构",
  14569. "type": "integer"
  14570. }
  14571. }
  14572. },
  14573. "erms3.AddErms2SpotTradeApplyReq": {
  14574. "type": "object",
  14575. "required": [
  14576. "spottradeid"
  14577. ],
  14578. "properties": {
  14579. "applyjsondetail": {
  14580. "description": "申请明细(JSON)",
  14581. "type": "string"
  14582. },
  14583. "applystatus": {
  14584. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14585. "type": "integer"
  14586. },
  14587. "areauserid": {
  14588. "description": "所属机构",
  14589. "type": "integer"
  14590. },
  14591. "auditid": {
  14592. "description": "审核人",
  14593. "type": "integer"
  14594. },
  14595. "auditremark": {
  14596. "description": "审核备注",
  14597. "type": "string"
  14598. },
  14599. "audittime": {
  14600. "description": "审核时间",
  14601. "type": "string"
  14602. },
  14603. "createtime": {
  14604. "description": "创建时间",
  14605. "type": "string"
  14606. },
  14607. "creatorid": {
  14608. "description": "创建人",
  14609. "type": "integer"
  14610. },
  14611. "deliverygoodsid": {
  14612. "description": "现货品种ID",
  14613. "type": "integer"
  14614. },
  14615. "futureaccountid": {
  14616. "description": "期货资金账户",
  14617. "type": "integer"
  14618. },
  14619. "goodsgroupid": {
  14620. "description": "期货品种",
  14621. "type": "integer"
  14622. },
  14623. "marketid": {
  14624. "description": "市场ID",
  14625. "type": "integer"
  14626. },
  14627. "remark": {
  14628. "description": "备注",
  14629. "type": "string"
  14630. },
  14631. "spotaccountid": {
  14632. "description": "现货资金账户",
  14633. "type": "integer"
  14634. },
  14635. "spottradeid": {
  14636. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  14637. "type": "integer"
  14638. },
  14639. "spottradename": {
  14640. "description": "业务名称",
  14641. "type": "string"
  14642. },
  14643. "spottradeno": {
  14644. "description": "业务编号",
  14645. "type": "string"
  14646. },
  14647. "tradedate": {
  14648. "description": "交易日(yyyyMMdd)",
  14649. "type": "string"
  14650. },
  14651. "wrstandardid": {
  14652. "description": "仓单标准ID",
  14653. "type": "integer"
  14654. }
  14655. }
  14656. },
  14657. "erms3.AddSpotContractApplyReq": {
  14658. "type": "object",
  14659. "required": [
  14660. "accountid",
  14661. "areauserid",
  14662. "contractno",
  14663. "contracttype",
  14664. "customeraccountid",
  14665. "customeruserid",
  14666. "details",
  14667. "orimargin",
  14668. "signdate"
  14669. ],
  14670. "properties": {
  14671. "accountid": {
  14672. "description": "资金账户ID",
  14673. "type": "integer"
  14674. },
  14675. "areauserid": {
  14676. "description": "所属机构",
  14677. "type": "integer"
  14678. },
  14679. "contractattachment": {
  14680. "description": "合同附件",
  14681. "type": "string"
  14682. },
  14683. "contractno": {
  14684. "description": "现货合同编号",
  14685. "type": "string"
  14686. },
  14687. "contracttype": {
  14688. "description": "现货合同类型 - 1:采购 -1:销售",
  14689. "type": "integer"
  14690. },
  14691. "creatorid": {
  14692. "description": "申请人",
  14693. "type": "integer"
  14694. },
  14695. "customeraccountid": {
  14696. "description": "客户资金账户ID",
  14697. "type": "integer"
  14698. },
  14699. "customeruserid": {
  14700. "description": "客户ID",
  14701. "type": "integer"
  14702. },
  14703. "details": {
  14704. "description": "明细",
  14705. "type": "array",
  14706. "items": {
  14707. "$ref": "#/definitions/erms3.SoptContractDetail"
  14708. }
  14709. },
  14710. "orimargin": {
  14711. "description": "初始保证金",
  14712. "type": "number"
  14713. },
  14714. "remark": {
  14715. "description": "备注",
  14716. "type": "string"
  14717. },
  14718. "signdate": {
  14719. "description": "签订日期",
  14720. "type": "string"
  14721. }
  14722. }
  14723. },
  14724. "erms3.AddSpotContractApplyRsp": {
  14725. "type": "object",
  14726. "required": [
  14727. "contractno"
  14728. ],
  14729. "properties": {
  14730. "contractno": {
  14731. "description": "现货合同编号",
  14732. "type": "string"
  14733. },
  14734. "spotcontractid": {
  14735. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  14736. "type": "integer"
  14737. }
  14738. }
  14739. },
  14740. "erms3.AddUserInfoApplyReq": {
  14741. "type": "object",
  14742. "required": [
  14743. "userid"
  14744. ],
  14745. "properties": {
  14746. "accountid": {
  14747. "description": "交易系统帐号Id (加密存储)",
  14748. "type": "integer"
  14749. },
  14750. "areacode": {
  14751. "description": "机构代码",
  14752. "type": "string"
  14753. },
  14754. "areaid": {
  14755. "description": "机构Id",
  14756. "type": "integer"
  14757. },
  14758. "attachment1": {
  14759. "description": "附件1",
  14760. "type": "string"
  14761. },
  14762. "attachment2": {
  14763. "description": "附件2",
  14764. "type": "string"
  14765. },
  14766. "attachment3": {
  14767. "description": "附件3",
  14768. "type": "string"
  14769. },
  14770. "attachment4": {
  14771. "description": "附件4",
  14772. "type": "string"
  14773. },
  14774. "attachment5": {
  14775. "description": "附件5",
  14776. "type": "string"
  14777. },
  14778. "auditedby": {
  14779. "description": "审核人",
  14780. "type": "string"
  14781. },
  14782. "auditime": {
  14783. "description": "审核时间",
  14784. "type": "string"
  14785. },
  14786. "auditsrc": {
  14787. "description": "审核来源 - 1:管理端 2:终端",
  14788. "type": "integer"
  14789. },
  14790. "bankaccount": {
  14791. "description": "银行帐号 (加密存储)",
  14792. "type": "string"
  14793. },
  14794. "bankaccountname": {
  14795. "description": "收款人名称",
  14796. "type": "string"
  14797. },
  14798. "bankcardbackphotourl": {
  14799. "description": "银行卡背面照地址",
  14800. "type": "string"
  14801. },
  14802. "bankcardfrontphotourl": {
  14803. "description": "银行卡正面照地址",
  14804. "type": "string"
  14805. },
  14806. "bankid": {
  14807. "description": "银行编码",
  14808. "type": "string"
  14809. },
  14810. "bankname": {
  14811. "description": "银行名称",
  14812. "type": "string"
  14813. },
  14814. "bankpictureurl": {
  14815. "description": "银行卡正面地址",
  14816. "type": "string"
  14817. },
  14818. "biznature": {
  14819. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14820. "type": "integer"
  14821. },
  14822. "bizscope": {
  14823. "description": "企业经营范围(企业)",
  14824. "type": "string"
  14825. },
  14826. "biztype": {
  14827. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14828. "type": "integer"
  14829. },
  14830. "brokerid": {
  14831. "description": "经纪人ID(加密存储)",
  14832. "type": "string"
  14833. },
  14834. "cardaddress": {
  14835. "description": "证件地址 (加密存储)",
  14836. "type": "string"
  14837. },
  14838. "cardbackphotourl": {
  14839. "description": "背面证件照地址",
  14840. "type": "string"
  14841. },
  14842. "cardfrontphotourl": {
  14843. "description": "正面证件照地址",
  14844. "type": "string"
  14845. },
  14846. "cardnum": {
  14847. "description": "证件号码 (加密存储)",
  14848. "type": "string"
  14849. },
  14850. "cardtype": {
  14851. "description": "证件类型",
  14852. "type": "integer"
  14853. },
  14854. "cityid": {
  14855. "description": "市",
  14856. "type": "integer"
  14857. },
  14858. "company": {
  14859. "description": "公司(个人)",
  14860. "type": "string"
  14861. },
  14862. "contactcardbackphotourl": {
  14863. "description": "联系人证件背面图片地址",
  14864. "type": "string"
  14865. },
  14866. "contactcardfrontphotourl": {
  14867. "description": "联系人证件正面图片地址",
  14868. "type": "string"
  14869. },
  14870. "contactname": {
  14871. "description": "联系人",
  14872. "type": "string"
  14873. },
  14874. "countryid": {
  14875. "description": "国家",
  14876. "type": "integer"
  14877. },
  14878. "createtime": {
  14879. "description": "开户申请时间",
  14880. "type": "string"
  14881. },
  14882. "cusbankid": {
  14883. "description": "签约类型",
  14884. "type": "string"
  14885. },
  14886. "cusbankname": {
  14887. "description": "签约类型名称",
  14888. "type": "string"
  14889. },
  14890. "customername": {
  14891. "description": "客户名称(企业名称)",
  14892. "type": "string"
  14893. },
  14894. "districtid": {
  14895. "description": "地区",
  14896. "type": "integer"
  14897. },
  14898. "email": {
  14899. "description": "Email地址(加密存储)",
  14900. "type": "string"
  14901. },
  14902. "halfbodyphotourl": {
  14903. "description": "半身照地址",
  14904. "type": "string"
  14905. },
  14906. "headurl": {
  14907. "description": "头像地址",
  14908. "type": "string"
  14909. },
  14910. "ipaddress": {
  14911. "description": "IP地址",
  14912. "type": "string"
  14913. },
  14914. "isvalidate": {
  14915. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14916. "type": "string"
  14917. },
  14918. "legalcardbackphotourl": {
  14919. "description": "法人身份证背面照地址",
  14920. "type": "string"
  14921. },
  14922. "legalcardfrontphotourl": {
  14923. "description": "法人身份证正面照地址",
  14924. "type": "string"
  14925. },
  14926. "legalpersonname": {
  14927. "description": "法人姓名(企业)",
  14928. "type": "string"
  14929. },
  14930. "logincode": {
  14931. "description": "登录帐号 (加密存储)",
  14932. "type": "string"
  14933. },
  14934. "memberareaid": {
  14935. "description": "所属会员ID",
  14936. "type": "integer"
  14937. },
  14938. "mobile2": {
  14939. "description": "手机号码[明文-尚志]",
  14940. "type": "string"
  14941. },
  14942. "mobilephone": {
  14943. "description": "手机号码 (加密存储)",
  14944. "type": "string"
  14945. },
  14946. "modifiedby": {
  14947. "description": "修改人帐号",
  14948. "type": "integer"
  14949. },
  14950. "modifiedtime": {
  14951. "description": "修改时间",
  14952. "type": "string"
  14953. },
  14954. "nickname": {
  14955. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14956. "type": "string"
  14957. },
  14958. "openmode": {
  14959. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14960. "type": "integer"
  14961. },
  14962. "otherurl": {
  14963. "description": "其它图片地址[使用分号分隔]",
  14964. "type": "string"
  14965. },
  14966. "postalcode": {
  14967. "description": "邮政编码",
  14968. "type": "string"
  14969. },
  14970. "provinceid": {
  14971. "description": "省",
  14972. "type": "integer"
  14973. },
  14974. "proxystatementurl": {
  14975. "description": "授权委托书",
  14976. "type": "string"
  14977. },
  14978. "qq": {
  14979. "description": "QQ(加密存储",
  14980. "type": "string"
  14981. },
  14982. "referral": {
  14983. "description": "推荐人编码",
  14984. "type": "string"
  14985. },
  14986. "remark": {
  14987. "description": "备注",
  14988. "type": "string"
  14989. },
  14990. "removebeforestatus": {
  14991. "description": "REMOVEBEFORESTATUS",
  14992. "type": "integer"
  14993. },
  14994. "sex": {
  14995. "description": "性别 - 0:女 1:男",
  14996. "type": "integer"
  14997. },
  14998. "signedstatus": {
  14999. "description": "账户一号签签约状态",
  15000. "type": "integer"
  15001. },
  15002. "signpdfurl": {
  15003. "description": "签约pdf文件",
  15004. "type": "string"
  15005. },
  15006. "subbranch": {
  15007. "description": "开户支行",
  15008. "type": "string"
  15009. },
  15010. "taxpayernum": {
  15011. "description": "纳税人识别号",
  15012. "type": "string"
  15013. },
  15014. "telphone": {
  15015. "description": "联系电话(加密存储)",
  15016. "type": "string"
  15017. },
  15018. "userid": {
  15019. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15020. "type": "integer"
  15021. },
  15022. "userinfotype": {
  15023. "description": "用户信息类型 - 1:个人 2:企业",
  15024. "type": "integer"
  15025. },
  15026. "username": {
  15027. "description": "用户姓名",
  15028. "type": "string"
  15029. },
  15030. "userstate": {
  15031. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15032. "type": "integer"
  15033. },
  15034. "usertype": {
  15035. "description": "用户类型 - 1:投资者 2:机构",
  15036. "type": "integer"
  15037. },
  15038. "videourl": {
  15039. "description": "视频地址",
  15040. "type": "string"
  15041. },
  15042. "wechat": {
  15043. "description": "微信号 (加密存储)",
  15044. "type": "string"
  15045. }
  15046. }
  15047. },
  15048. "erms3.CustomerInfo": {
  15049. "type": "object",
  15050. "required": [
  15051. "userid"
  15052. ],
  15053. "properties": {
  15054. "accountids": {
  15055. "description": "资金账户ID列表",
  15056. "type": "array",
  15057. "items": {
  15058. "type": "integer"
  15059. }
  15060. },
  15061. "customername": {
  15062. "description": "名称(企业名称)",
  15063. "type": "string"
  15064. },
  15065. "mobile": {
  15066. "description": "手机号码",
  15067. "type": "string"
  15068. },
  15069. "userid": {
  15070. "description": "用户ID",
  15071. "type": "integer"
  15072. }
  15073. }
  15074. },
  15075. "erms3.ModifyUserInfoApplyReq": {
  15076. "type": "object",
  15077. "required": [
  15078. "userid"
  15079. ],
  15080. "properties": {
  15081. "accountid": {
  15082. "description": "交易系统帐号Id (加密存储)",
  15083. "type": "integer"
  15084. },
  15085. "areacode": {
  15086. "description": "机构代码",
  15087. "type": "string"
  15088. },
  15089. "areaid": {
  15090. "description": "机构Id",
  15091. "type": "integer"
  15092. },
  15093. "attachment1": {
  15094. "description": "附件1",
  15095. "type": "string"
  15096. },
  15097. "attachment2": {
  15098. "description": "附件2",
  15099. "type": "string"
  15100. },
  15101. "attachment3": {
  15102. "description": "附件3",
  15103. "type": "string"
  15104. },
  15105. "attachment4": {
  15106. "description": "附件4",
  15107. "type": "string"
  15108. },
  15109. "attachment5": {
  15110. "description": "附件5",
  15111. "type": "string"
  15112. },
  15113. "auditedby": {
  15114. "description": "审核人",
  15115. "type": "string"
  15116. },
  15117. "auditime": {
  15118. "description": "审核时间",
  15119. "type": "string"
  15120. },
  15121. "auditsrc": {
  15122. "description": "审核来源 - 1:管理端 2:终端",
  15123. "type": "integer"
  15124. },
  15125. "bankaccount": {
  15126. "description": "银行帐号 (加密存储)",
  15127. "type": "string"
  15128. },
  15129. "bankaccountname": {
  15130. "description": "收款人名称",
  15131. "type": "string"
  15132. },
  15133. "bankcardbackphotourl": {
  15134. "description": "银行卡背面照地址",
  15135. "type": "string"
  15136. },
  15137. "bankcardfrontphotourl": {
  15138. "description": "银行卡正面照地址",
  15139. "type": "string"
  15140. },
  15141. "bankid": {
  15142. "description": "银行编码",
  15143. "type": "string"
  15144. },
  15145. "bankname": {
  15146. "description": "银行名称",
  15147. "type": "string"
  15148. },
  15149. "bankpictureurl": {
  15150. "description": "银行卡正面地址",
  15151. "type": "string"
  15152. },
  15153. "biznature": {
  15154. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15155. "type": "integer"
  15156. },
  15157. "bizscope": {
  15158. "description": "企业经营范围(企业)",
  15159. "type": "string"
  15160. },
  15161. "biztype": {
  15162. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15163. "type": "integer"
  15164. },
  15165. "brokerid": {
  15166. "description": "经纪人ID(加密存储)",
  15167. "type": "string"
  15168. },
  15169. "cardaddress": {
  15170. "description": "证件地址 (加密存储)",
  15171. "type": "string"
  15172. },
  15173. "cardbackphotourl": {
  15174. "description": "背面证件照地址",
  15175. "type": "string"
  15176. },
  15177. "cardfrontphotourl": {
  15178. "description": "正面证件照地址",
  15179. "type": "string"
  15180. },
  15181. "cardnum": {
  15182. "description": "证件号码 (加密存储)",
  15183. "type": "string"
  15184. },
  15185. "cardtype": {
  15186. "description": "证件类型",
  15187. "type": "integer"
  15188. },
  15189. "cityid": {
  15190. "description": "市",
  15191. "type": "integer"
  15192. },
  15193. "company": {
  15194. "description": "公司(个人)",
  15195. "type": "string"
  15196. },
  15197. "contactcardbackphotourl": {
  15198. "description": "联系人证件背面图片地址",
  15199. "type": "string"
  15200. },
  15201. "contactcardfrontphotourl": {
  15202. "description": "联系人证件正面图片地址",
  15203. "type": "string"
  15204. },
  15205. "contactname": {
  15206. "description": "联系人",
  15207. "type": "string"
  15208. },
  15209. "countryid": {
  15210. "description": "国家",
  15211. "type": "integer"
  15212. },
  15213. "createtime": {
  15214. "description": "开户申请时间",
  15215. "type": "string"
  15216. },
  15217. "cusbankid": {
  15218. "description": "签约类型",
  15219. "type": "string"
  15220. },
  15221. "cusbankname": {
  15222. "description": "签约类型名称",
  15223. "type": "string"
  15224. },
  15225. "customername": {
  15226. "description": "客户名称(企业名称)",
  15227. "type": "string"
  15228. },
  15229. "districtid": {
  15230. "description": "地区",
  15231. "type": "integer"
  15232. },
  15233. "email": {
  15234. "description": "Email地址(加密存储)",
  15235. "type": "string"
  15236. },
  15237. "halfbodyphotourl": {
  15238. "description": "半身照地址",
  15239. "type": "string"
  15240. },
  15241. "headurl": {
  15242. "description": "头像地址",
  15243. "type": "string"
  15244. },
  15245. "ipaddress": {
  15246. "description": "IP地址",
  15247. "type": "string"
  15248. },
  15249. "isvalidate": {
  15250. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15251. "type": "string"
  15252. },
  15253. "legalcardbackphotourl": {
  15254. "description": "法人身份证背面照地址",
  15255. "type": "string"
  15256. },
  15257. "legalcardfrontphotourl": {
  15258. "description": "法人身份证正面照地址",
  15259. "type": "string"
  15260. },
  15261. "legalpersonname": {
  15262. "description": "法人姓名(企业)",
  15263. "type": "string"
  15264. },
  15265. "logincode": {
  15266. "description": "登录帐号 (加密存储)",
  15267. "type": "string"
  15268. },
  15269. "memberareaid": {
  15270. "description": "所属会员ID",
  15271. "type": "integer"
  15272. },
  15273. "mobile2": {
  15274. "description": "手机号码[明文-尚志]",
  15275. "type": "string"
  15276. },
  15277. "mobilephone": {
  15278. "description": "手机号码 (加密存储)",
  15279. "type": "string"
  15280. },
  15281. "modifiedby": {
  15282. "description": "修改人帐号",
  15283. "type": "integer"
  15284. },
  15285. "modifiedtime": {
  15286. "description": "修改时间",
  15287. "type": "string"
  15288. },
  15289. "nickname": {
  15290. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15291. "type": "string"
  15292. },
  15293. "openmode": {
  15294. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15295. "type": "integer"
  15296. },
  15297. "otherurl": {
  15298. "description": "其它图片地址[使用分号分隔]",
  15299. "type": "string"
  15300. },
  15301. "postalcode": {
  15302. "description": "邮政编码",
  15303. "type": "string"
  15304. },
  15305. "provinceid": {
  15306. "description": "省",
  15307. "type": "integer"
  15308. },
  15309. "proxystatementurl": {
  15310. "description": "授权委托书",
  15311. "type": "string"
  15312. },
  15313. "qq": {
  15314. "description": "QQ(加密存储",
  15315. "type": "string"
  15316. },
  15317. "referral": {
  15318. "description": "推荐人编码",
  15319. "type": "string"
  15320. },
  15321. "remark": {
  15322. "description": "备注",
  15323. "type": "string"
  15324. },
  15325. "removebeforestatus": {
  15326. "description": "REMOVEBEFORESTATUS",
  15327. "type": "integer"
  15328. },
  15329. "sex": {
  15330. "description": "性别 - 0:女 1:男",
  15331. "type": "integer"
  15332. },
  15333. "signedstatus": {
  15334. "description": "账户一号签签约状态",
  15335. "type": "integer"
  15336. },
  15337. "signpdfurl": {
  15338. "description": "签约pdf文件",
  15339. "type": "string"
  15340. },
  15341. "subbranch": {
  15342. "description": "开户支行",
  15343. "type": "string"
  15344. },
  15345. "taxpayernum": {
  15346. "description": "纳税人识别号",
  15347. "type": "string"
  15348. },
  15349. "telphone": {
  15350. "description": "联系电话(加密存储)",
  15351. "type": "string"
  15352. },
  15353. "userid": {
  15354. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15355. "type": "integer"
  15356. },
  15357. "userinfotype": {
  15358. "description": "用户信息类型 - 1:个人 2:企业",
  15359. "type": "integer"
  15360. },
  15361. "username": {
  15362. "description": "用户姓名",
  15363. "type": "string"
  15364. },
  15365. "userstate": {
  15366. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15367. "type": "integer"
  15368. },
  15369. "usertype": {
  15370. "description": "用户类型 - 1:投资者 2:机构",
  15371. "type": "integer"
  15372. },
  15373. "videourl": {
  15374. "description": "视频地址",
  15375. "type": "string"
  15376. },
  15377. "wechat": {
  15378. "description": "微信号 (加密存储)",
  15379. "type": "string"
  15380. }
  15381. }
  15382. },
  15383. "erms3.QryAuditContractRsp": {
  15384. "type": "object",
  15385. "required": [
  15386. "matchcustomername",
  15387. "spotcontractid"
  15388. ],
  15389. "properties": {
  15390. "accountid": {
  15391. "description": "交易员ID",
  15392. "type": "string"
  15393. },
  15394. "applystatus": {
  15395. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15396. "type": "integer"
  15397. },
  15398. "curdeliveryqty": {
  15399. "description": "未交收量",
  15400. "type": "integer"
  15401. },
  15402. "customername": {
  15403. "description": "采购方ID",
  15404. "type": "string"
  15405. },
  15406. "deliverygoodsid": {
  15407. "description": "品种ID",
  15408. "type": "string"
  15409. },
  15410. "deliveryqty": {
  15411. "description": "交收量",
  15412. "type": "integer"
  15413. },
  15414. "enumdicname": {
  15415. "description": "单位名称",
  15416. "type": "string"
  15417. },
  15418. "matchaccountid": {
  15419. "description": "业务员ID",
  15420. "type": "string"
  15421. },
  15422. "matchcustomername": {
  15423. "description": "销售方ID",
  15424. "type": "string"
  15425. },
  15426. "pricedqty": {
  15427. "description": "定价量",
  15428. "type": "number"
  15429. },
  15430. "signdate": {
  15431. "description": "签订日期",
  15432. "type": "string"
  15433. },
  15434. "spotcontractid": {
  15435. "description": "合同ID",
  15436. "type": "string"
  15437. },
  15438. "totaldqty": {
  15439. "description": "合同量",
  15440. "type": "number"
  15441. },
  15442. "unpricedqty": {
  15443. "description": "未定价量",
  15444. "type": "number"
  15445. },
  15446. "wrstandardname": {
  15447. "description": "商品名称",
  15448. "type": "string"
  15449. }
  15450. }
  15451. },
  15452. "erms3.QryPendingBizRsp": {
  15453. "$ref": "#/definitions/models.PendingAuditBizModel"
  15454. },
  15455. "erms3.QueryBusinessInfoRsp": {
  15456. "type": "object",
  15457. "properties": {
  15458. "businessid": {
  15459. "description": "业务ID.",
  15460. "type": "integer"
  15461. },
  15462. "buyamount": {
  15463. "description": "采购额.",
  15464. "type": "number"
  15465. },
  15466. "buyqty": {
  15467. "description": "采购量.",
  15468. "type": "string"
  15469. },
  15470. "futurepl": {
  15471. "description": "期货盈亏.",
  15472. "type": "number"
  15473. },
  15474. "futureqty": {
  15475. "description": "期货敞口.",
  15476. "type": "string"
  15477. },
  15478. "goodsid": {
  15479. "description": "商品名称/商品代码.",
  15480. "type": "string"
  15481. },
  15482. "hedgingqty": {
  15483. "description": "套保量.",
  15484. "type": "string"
  15485. },
  15486. "sellamount": {
  15487. "description": "销售额.",
  15488. "type": "number"
  15489. },
  15490. "sellqty": {
  15491. "description": "销售量.",
  15492. "type": "string"
  15493. },
  15494. "spotmarketvalue": {
  15495. "description": "现货市值.",
  15496. "type": "number"
  15497. },
  15498. "spotpl": {
  15499. "description": "浮动权益.",
  15500. "type": "number"
  15501. },
  15502. "spotqty": {
  15503. "description": "现货量.",
  15504. "type": "string"
  15505. },
  15506. "statu": {
  15507. "description": "状态,0-未结束 1-已结束.",
  15508. "type": "integer"
  15509. },
  15510. "totalpl": {
  15511. "description": "总盈亏.",
  15512. "type": "number"
  15513. },
  15514. "totalqty": {
  15515. "description": "总敞口.",
  15516. "type": "string"
  15517. },
  15518. "type": {
  15519. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  15520. "type": "integer"
  15521. }
  15522. }
  15523. },
  15524. "erms3.QuerySpotContractAppleFormRsp": {
  15525. "type": "object",
  15526. "properties": {
  15527. "goodses": {
  15528. "description": "合约列表",
  15529. "type": "array",
  15530. "items": {
  15531. "$ref": "#/definitions/models.GoodsIDAndName"
  15532. }
  15533. },
  15534. "oppositeusers": {
  15535. "description": "对方账号列表",
  15536. "type": "array",
  15537. "items": {
  15538. "$ref": "#/definitions/erms3.CustomerInfo"
  15539. }
  15540. },
  15541. "ouruser": {
  15542. "description": "我方账号",
  15543. "type": "object",
  15544. "$ref": "#/definitions/erms3.CustomerInfo"
  15545. },
  15546. "warehouseinfos": {
  15547. "description": "仓库信息列表",
  15548. "type": "array",
  15549. "items": {
  15550. "$ref": "#/definitions/models.Warehouseinfo"
  15551. }
  15552. },
  15553. "wrstandards": {
  15554. "description": "仓单标准列表",
  15555. "type": "array",
  15556. "items": {
  15557. "$ref": "#/definitions/models.WRStandardInfo"
  15558. }
  15559. }
  15560. }
  15561. },
  15562. "erms3.QuerySpotContractInfoRsp": {
  15563. "type": "object",
  15564. "properties": {
  15565. "accountid": {
  15566. "description": "表示交易员ID.",
  15567. "type": "integer"
  15568. },
  15569. "curdeliveryqty": {
  15570. "description": "表示未交收量.",
  15571. "type": "number"
  15572. },
  15573. "customername": {
  15574. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  15575. "type": "string"
  15576. },
  15577. "deliverygoodsid": {
  15578. "description": "表示品种ID.",
  15579. "type": "string"
  15580. },
  15581. "deliveryqty": {
  15582. "description": "表示交收量.",
  15583. "type": "number"
  15584. },
  15585. "matchaccountid": {
  15586. "description": "表示业务员ID.",
  15587. "type": "integer"
  15588. },
  15589. "matchcustomername": {
  15590. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  15591. "type": "string"
  15592. },
  15593. "priceqty": {
  15594. "description": "表示定价量.",
  15595. "type": "number"
  15596. },
  15597. "relatedbizid": {
  15598. "description": "表示业务ID.",
  15599. "type": "string"
  15600. },
  15601. "signdate": {
  15602. "description": "表示签订日期.",
  15603. "type": "string"
  15604. },
  15605. "spotcontractid": {
  15606. "description": "合同ID",
  15607. "type": "string"
  15608. },
  15609. "status": {
  15610. "description": "表示状态,0-履约中 1-已完成.",
  15611. "type": "integer"
  15612. },
  15613. "totalqty": {
  15614. "description": "表示合同量.",
  15615. "type": "number"
  15616. },
  15617. "unpricedqty": {
  15618. "description": "表示未定价量.",
  15619. "type": "number"
  15620. },
  15621. "wrstandardname": {
  15622. "description": "表示商品ID.",
  15623. "type": "string"
  15624. }
  15625. }
  15626. },
  15627. "erms3.QueryUserInfoAppliesRsp": {
  15628. "type": "object",
  15629. "required": [
  15630. "userid"
  15631. ],
  15632. "properties": {
  15633. "biznature": {
  15634. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15635. "type": "integer"
  15636. },
  15637. "contactname": {
  15638. "description": "联系人",
  15639. "type": "string"
  15640. },
  15641. "createtime": {
  15642. "description": "开户申请时间",
  15643. "type": "string"
  15644. },
  15645. "userid": {
  15646. "description": "用户ID(自增ID)",
  15647. "type": "integer"
  15648. },
  15649. "userinfotype": {
  15650. "description": "用户信息类型 - 1:个人 2:企业",
  15651. "type": "integer"
  15652. },
  15653. "username": {
  15654. "description": "用户姓名",
  15655. "type": "string"
  15656. },
  15657. "userstate": {
  15658. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15659. "type": "integer"
  15660. }
  15661. }
  15662. },
  15663. "erms3.QueryUserInfosRsp": {
  15664. "type": "object",
  15665. "required": [
  15666. "userid"
  15667. ],
  15668. "properties": {
  15669. "biznature": {
  15670. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15671. "type": "integer"
  15672. },
  15673. "contactname": {
  15674. "description": "联系人",
  15675. "type": "string"
  15676. },
  15677. "customername": {
  15678. "description": "客户名称(企业名称)",
  15679. "type": "string"
  15680. },
  15681. "userid": {
  15682. "description": "用户ID",
  15683. "type": "integer"
  15684. },
  15685. "userinfotype": {
  15686. "description": "用户信息类型 - 1:个人 2:企业",
  15687. "type": "integer"
  15688. },
  15689. "userstatus": {
  15690. "description": "用户状态 - 1:正常 2:注销",
  15691. "type": "integer"
  15692. }
  15693. }
  15694. },
  15695. "erms3.SoptContractDetail": {
  15696. "type": "object",
  15697. "required": [
  15698. "deliverygoodsid",
  15699. "producttype",
  15700. "unitname",
  15701. "warehouseid",
  15702. "wrstandardid",
  15703. "wrstandardname"
  15704. ],
  15705. "properties": {
  15706. "deliverygoodsdesc": {
  15707. "description": "现货品种说明",
  15708. "type": "string"
  15709. },
  15710. "deliverygoodsid": {
  15711. "description": "现货品种ID",
  15712. "type": "integer"
  15713. },
  15714. "deliverygoodsname": {
  15715. "description": "现货品种名称",
  15716. "type": "string"
  15717. },
  15718. "pointdesc": {
  15719. "description": "点价描述",
  15720. "type": "string"
  15721. },
  15722. "producttype": {
  15723. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  15724. "type": "integer"
  15725. },
  15726. "producttypename": {
  15727. "description": "产品类型名称",
  15728. "type": "string"
  15729. },
  15730. "spotPointOrderVoList": {
  15731. "description": "点价列表",
  15732. "type": "array",
  15733. "items": {
  15734. "$ref": "#/definitions/erms3.SpotPointOrder"
  15735. }
  15736. },
  15737. "spotPriceOrderList": {
  15738. "description": "定价列表",
  15739. "type": "array",
  15740. "items": {
  15741. "$ref": "#/definitions/erms3.SpotPriceOrder"
  15742. }
  15743. },
  15744. "unitname": {
  15745. "description": "单位名称",
  15746. "type": "string"
  15747. },
  15748. "warehouseid": {
  15749. "description": "仓库ID",
  15750. "type": "integer"
  15751. },
  15752. "warehousename": {
  15753. "description": "仓库名称",
  15754. "type": "string"
  15755. },
  15756. "wrstandardid": {
  15757. "description": "交易标的ID",
  15758. "type": "integer"
  15759. },
  15760. "wrstandardname": {
  15761. "description": "交易标的名称",
  15762. "type": "string"
  15763. }
  15764. }
  15765. },
  15766. "erms3.SpotPointOrder": {
  15767. "type": "object",
  15768. "required": [
  15769. "basic",
  15770. "goodsid",
  15771. "qty"
  15772. ],
  15773. "properties": {
  15774. "basic": {
  15775. "description": "基差",
  15776. "type": "number"
  15777. },
  15778. "deliveryenddate": {
  15779. "description": "交收结束日期",
  15780. "type": "string"
  15781. },
  15782. "deliverystartdate": {
  15783. "description": "交收开始日期",
  15784. "type": "string"
  15785. },
  15786. "enddate": {
  15787. "description": "点价结束日期",
  15788. "type": "string"
  15789. },
  15790. "goodsid": {
  15791. "description": "商品ID",
  15792. "type": "integer"
  15793. },
  15794. "goodsname": {
  15795. "description": "商品名称",
  15796. "type": "string"
  15797. },
  15798. "qty": {
  15799. "description": "数量",
  15800. "type": "number"
  15801. },
  15802. "startdate": {
  15803. "description": "点价开始日期",
  15804. "type": "string"
  15805. }
  15806. }
  15807. },
  15808. "erms3.SpotPriceOrder": {
  15809. "type": "object",
  15810. "required": [
  15811. "amount",
  15812. "price",
  15813. "qty"
  15814. ],
  15815. "properties": {
  15816. "amount": {
  15817. "description": "金额",
  15818. "type": "number"
  15819. },
  15820. "deliveryenddate": {
  15821. "description": "交收结束日期",
  15822. "type": "string"
  15823. },
  15824. "deliverystartdate": {
  15825. "description": "交收开始日期",
  15826. "type": "string"
  15827. },
  15828. "price": {
  15829. "description": "价格",
  15830. "type": "number"
  15831. },
  15832. "qty": {
  15833. "description": "数量",
  15834. "type": "number"
  15835. }
  15836. }
  15837. },
  15838. "hsby.GetHsbyMyCountRsp": {
  15839. "type": "object",
  15840. "properties": {
  15841. "myCouponCount": {
  15842. "description": "我的优惠卷数量",
  15843. "type": "integer"
  15844. },
  15845. "myOrderDetailListingCount": {
  15846. "description": "我的订单求购中数量",
  15847. "type": "integer"
  15848. },
  15849. "myOrderDetailPreCount": {
  15850. "description": "我的订单抢购中数量",
  15851. "type": "integer"
  15852. },
  15853. "myPackageUnReceiveCount": {
  15854. "description": "我的包裹待收货数量",
  15855. "type": "integer"
  15856. },
  15857. "myPackageUnSendCount": {
  15858. "description": "我的包裹待发货数量",
  15859. "type": "integer"
  15860. },
  15861. "myPayOrderCount": {
  15862. "description": "我的订单待付款数量",
  15863. "type": "integer"
  15864. }
  15865. }
  15866. },
  15867. "hsby.QueryProvincesAndCitiesRsp": {
  15868. "type": "object",
  15869. "properties": {
  15870. "cities": {
  15871. "description": "市",
  15872. "type": "array",
  15873. "items": {
  15874. "$ref": "#/definitions/models.Division"
  15875. }
  15876. },
  15877. "province": {
  15878. "description": "省",
  15879. "type": "object",
  15880. "$ref": "#/definitions/models.Division"
  15881. }
  15882. }
  15883. },
  15884. "models.AreaSpotModel": {
  15885. "type": "object",
  15886. "properties": {
  15887. "areauserid": {
  15888. "description": "所属机构",
  15889. "type": "integer"
  15890. },
  15891. "decreaseqty": {
  15892. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15893. "type": "number"
  15894. },
  15895. "increaseqty": {
  15896. "description": "增加数量=销售计划数量+采购已定价数量",
  15897. "type": "number"
  15898. },
  15899. "oritoalspotqty": {
  15900. "description": "昨日数量",
  15901. "type": "number"
  15902. },
  15903. "totalspotqty": {
  15904. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15905. "type": "number"
  15906. },
  15907. "updatetime": {
  15908. "description": "更新时间",
  15909. "type": "string"
  15910. },
  15911. "wrstandardcode": {
  15912. "description": "现货品种代码",
  15913. "type": "string"
  15914. },
  15915. "wrstandardid": {
  15916. "description": "现货商品ID",
  15917. "type": "integer"
  15918. },
  15919. "wrstandardname": {
  15920. "description": "现货品种",
  15921. "type": "string"
  15922. }
  15923. }
  15924. },
  15925. "models.Arearole": {
  15926. "type": "object",
  15927. "required": [
  15928. "roletype",
  15929. "userid"
  15930. ],
  15931. "properties": {
  15932. "createtime": {
  15933. "description": "创建时间",
  15934. "type": "string"
  15935. },
  15936. "creatorid": {
  15937. "description": "创建人ID",
  15938. "type": "integer"
  15939. },
  15940. "fromuserid": {
  15941. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  15942. "type": "integer"
  15943. },
  15944. "isreturnscore": {
  15945. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  15946. "type": "integer"
  15947. },
  15948. "modifierid": {
  15949. "description": "修改人ID",
  15950. "type": "integer"
  15951. },
  15952. "modifytime": {
  15953. "description": "修改时间",
  15954. "type": "string"
  15955. },
  15956. "orgtype": {
  15957. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  15958. "type": "integer"
  15959. },
  15960. "outuserid": {
  15961. "description": "外部账户[场外期权做市商]",
  15962. "type": "string"
  15963. },
  15964. "parentuserid": {
  15965. "description": "上级组织机构(组织机构)",
  15966. "type": "integer"
  15967. },
  15968. "roletype": {
  15969. "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:门店",
  15970. "type": "integer"
  15971. },
  15972. "rootuserid": {
  15973. "description": "顶级组织机构用户ID(组织机构)",
  15974. "type": "integer"
  15975. },
  15976. "shoppassword": {
  15977. "description": "商城店铺登陆密码(商城店铺角色使用)",
  15978. "type": "string"
  15979. },
  15980. "sublevelpath": {
  15981. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  15982. "type": "string"
  15983. },
  15984. "suborgtype": {
  15985. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  15986. "type": "integer"
  15987. },
  15988. "tradeaccountid": {
  15989. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  15990. "type": "integer"
  15991. },
  15992. "transurl": {
  15993. "description": "物流地址(物流机构)",
  15994. "type": "string"
  15995. },
  15996. "userid": {
  15997. "description": "机构用户ID其他做市关系,都设置为 1",
  15998. "type": "integer"
  15999. }
  16000. }
  16001. },
  16002. "models.Clientfixedadconfig": {
  16003. "type": "object",
  16004. "required": [
  16005. "adsort",
  16006. "adtype"
  16007. ],
  16008. "properties": {
  16009. "adsort": {
  16010. "description": "排序",
  16011. "type": "integer"
  16012. },
  16013. "adtype": {
  16014. "description": "广告位类型 - 1:新品抢购(HSBY)",
  16015. "type": "integer"
  16016. },
  16017. "areauserid": {
  16018. "description": "所属机构ID",
  16019. "type": "integer"
  16020. },
  16021. "createdate": {
  16022. "description": "创建时间",
  16023. "type": "string"
  16024. },
  16025. "creatorid": {
  16026. "description": "创建人",
  16027. "type": "integer"
  16028. },
  16029. "imagepath": {
  16030. "description": "图片",
  16031. "type": "string"
  16032. },
  16033. "isshow": {
  16034. "description": "是否展示 - 0:不展示 1:展示",
  16035. "type": "integer"
  16036. },
  16037. "modifierid": {
  16038. "description": "操作人",
  16039. "type": "integer"
  16040. },
  16041. "recsize": {
  16042. "description": "推荐尺寸",
  16043. "type": "string"
  16044. },
  16045. "title": {
  16046. "description": "标题",
  16047. "type": "string"
  16048. },
  16049. "updatedate": {
  16050. "description": "更新时间",
  16051. "type": "string"
  16052. },
  16053. "urlcontent": {
  16054. "description": "链接(地址或商品ID)",
  16055. "type": "string"
  16056. },
  16057. "urltype": {
  16058. "description": "链接类型 - 1:直接地址 2:商品ID",
  16059. "type": "integer"
  16060. }
  16061. }
  16062. },
  16063. "models.Division": {
  16064. "type": "object",
  16065. "required": [
  16066. "autoid",
  16067. "divisioncode"
  16068. ],
  16069. "properties": {
  16070. "autoid": {
  16071. "description": "自增ID",
  16072. "type": "integer"
  16073. },
  16074. "divisioncode": {
  16075. "description": "行政代码",
  16076. "type": "string"
  16077. },
  16078. "divisionlevel": {
  16079. "description": "行政级别",
  16080. "type": "string"
  16081. },
  16082. "divisionname": {
  16083. "description": "行政名称",
  16084. "type": "string"
  16085. },
  16086. "modifierid": {
  16087. "description": "修改人",
  16088. "type": "integer"
  16089. },
  16090. "modifytime": {
  16091. "description": "修改时间",
  16092. "type": "string"
  16093. },
  16094. "parentcode": {
  16095. "description": "上级行政代码",
  16096. "type": "string"
  16097. },
  16098. "pathname": {
  16099. "description": "路径名称",
  16100. "type": "string"
  16101. },
  16102. "postcode": {
  16103. "description": "邮政编码",
  16104. "type": "string"
  16105. },
  16106. "separablename": {
  16107. "description": "可拆分的全称",
  16108. "type": "string"
  16109. },
  16110. "shortcode": {
  16111. "description": "地区简码",
  16112. "type": "string"
  16113. }
  16114. }
  16115. },
  16116. "models.Enumdicitem": {
  16117. "type": "object",
  16118. "required": [
  16119. "autoid",
  16120. "enumdiccode",
  16121. "enumdicid",
  16122. "enumitemname"
  16123. ],
  16124. "properties": {
  16125. "autoid": {
  16126. "description": "自增ID",
  16127. "type": "integer"
  16128. },
  16129. "bankmappedvalue": {
  16130. "description": "银行服务对应值",
  16131. "type": "string"
  16132. },
  16133. "enumdiccode": {
  16134. "description": "所属枚举代码",
  16135. "type": "string"
  16136. },
  16137. "enumdicid": {
  16138. "description": "所属枚举ID",
  16139. "type": "integer"
  16140. },
  16141. "enumdicname": {
  16142. "description": "枚举项名称",
  16143. "type": "string"
  16144. },
  16145. "enumitemname": {
  16146. "description": "枚举项值",
  16147. "type": "integer"
  16148. },
  16149. "enumitemstatus": {
  16150. "description": "枚举项状态 - 1.启用 2.不启用",
  16151. "type": "integer"
  16152. },
  16153. "enumitemvalue": {
  16154. "description": "通用值 - [币种通用简写]",
  16155. "type": "string"
  16156. },
  16157. "param1": {
  16158. "description": "参数1[币种:币种小数位]",
  16159. "type": "string"
  16160. },
  16161. "param2": {
  16162. "description": "参数1[币种:币种显示单位]",
  16163. "type": "string"
  16164. },
  16165. "remark": {
  16166. "description": "备注",
  16167. "type": "string"
  16168. }
  16169. }
  16170. },
  16171. "models.Ermcp3AreaSpot": {
  16172. "type": "object",
  16173. "properties": {
  16174. "areauserid": {
  16175. "description": "所属机构",
  16176. "type": "integer"
  16177. },
  16178. "decreaseqty": {
  16179. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16180. "type": "number"
  16181. },
  16182. "deliverygoodscode": {
  16183. "description": "现货品种代码",
  16184. "type": "string"
  16185. },
  16186. "deliverygoodsid": {
  16187. "description": "现货品种id",
  16188. "type": "integer"
  16189. },
  16190. "deliverygoodsname": {
  16191. "description": "现货品种名称",
  16192. "type": "string"
  16193. },
  16194. "enumdicname": {
  16195. "description": "单位名称",
  16196. "type": "string"
  16197. },
  16198. "goodsunitid": {
  16199. "description": "现货品种单位id",
  16200. "type": "integer"
  16201. },
  16202. "increaseqty": {
  16203. "description": "增加数量=销售计划数量+采购已定价数量",
  16204. "type": "number"
  16205. },
  16206. "oritoalspotqty": {
  16207. "description": "昨日数量",
  16208. "type": "number"
  16209. },
  16210. "totalspotqty": {
  16211. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16212. "type": "number"
  16213. },
  16214. "updatetime": {
  16215. "description": "更新时间",
  16216. "type": "string"
  16217. }
  16218. }
  16219. },
  16220. "models.Ermcp3AreaSpotDetail": {
  16221. "type": "object",
  16222. "properties": {
  16223. "contracttype": {
  16224. "description": "合同类型 1-采购 -1-销售",
  16225. "type": "integer"
  16226. },
  16227. "createtime": {
  16228. "description": "创建时间",
  16229. "type": "string"
  16230. },
  16231. "deliverygoodscode": {
  16232. "description": "现货品种代码",
  16233. "type": "string"
  16234. },
  16235. "deliverygoodsid": {
  16236. "description": "现货品种id",
  16237. "type": "integer"
  16238. },
  16239. "deliverygoodsname": {
  16240. "description": "现货品种名称",
  16241. "type": "string"
  16242. },
  16243. "enumdicname": {
  16244. "description": "现货商品单位名称",
  16245. "type": "string"
  16246. },
  16247. "logtype": {
  16248. "description": "记录类型 1-套保 2-现货合同",
  16249. "type": "integer"
  16250. },
  16251. "qty": {
  16252. "description": "数量",
  16253. "type": "number"
  16254. },
  16255. "recordname": {
  16256. "description": "类型名称",
  16257. "type": "string"
  16258. },
  16259. "relatedid": {
  16260. "description": "套保计划ID/现货合同ID",
  16261. "type": "string"
  16262. },
  16263. "relatedno": {
  16264. "description": "编号",
  16265. "type": "string"
  16266. },
  16267. "strtime": {
  16268. "description": "时间",
  16269. "type": "string"
  16270. }
  16271. }
  16272. },
  16273. "models.Ermcp3AreaSpotPLReport": {
  16274. "type": "object",
  16275. "properties": {
  16276. "accountid": {
  16277. "description": "期货账户ID (作废, 默认为0)",
  16278. "type": "integer"
  16279. },
  16280. "accountname": {
  16281. "description": "机构名称",
  16282. "type": "string"
  16283. },
  16284. "actualpl": {
  16285. "description": "现货损益",
  16286. "type": "number"
  16287. },
  16288. "areauserid": {
  16289. "description": "所属机构\\交易用户ID",
  16290. "type": "integer"
  16291. },
  16292. "begindate": {
  16293. "description": "开始交易日",
  16294. "type": "string"
  16295. },
  16296. "biztype": {
  16297. "description": "业务类型 - 1:套保 2:套利",
  16298. "type": "integer"
  16299. },
  16300. "brandname": {
  16301. "description": "品牌名称",
  16302. "type": "string"
  16303. },
  16304. "curamount": {
  16305. "description": "期末额",
  16306. "type": "number"
  16307. },
  16308. "curaverageprice": {
  16309. "description": "期末均价",
  16310. "type": "number"
  16311. },
  16312. "curbuyamount": {
  16313. "description": "期末采购总额",
  16314. "type": "number"
  16315. },
  16316. "curbuyqty": {
  16317. "description": "期末采购总量",
  16318. "type": "number"
  16319. },
  16320. "curmarketvalue": {
  16321. "description": "参考市值(期末市值)",
  16322. "type": "number"
  16323. },
  16324. "curqty": {
  16325. "description": "期末量",
  16326. "type": "number"
  16327. },
  16328. "currencyid": {
  16329. "description": "结算币种ID【原值】",
  16330. "type": "integer"
  16331. },
  16332. "currencyname": {
  16333. "description": "币种名称",
  16334. "type": "string"
  16335. },
  16336. "cursellamount": {
  16337. "description": "期末销售总额",
  16338. "type": "number"
  16339. },
  16340. "cursellqty": {
  16341. "description": "期末销售总量",
  16342. "type": "number"
  16343. },
  16344. "curspotprice": {
  16345. "description": "参考市价(最新价)",
  16346. "type": "number"
  16347. },
  16348. "cycletime": {
  16349. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16350. "type": "string"
  16351. },
  16352. "cycletype": {
  16353. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16354. "type": "integer"
  16355. },
  16356. "deliverygoodscode": {
  16357. "description": "现货商品代码",
  16358. "type": "string"
  16359. },
  16360. "deliverygoodsid": {
  16361. "description": "现货品种ID",
  16362. "type": "integer"
  16363. },
  16364. "deliverygoodsname": {
  16365. "description": "现货商品名称",
  16366. "type": "string"
  16367. },
  16368. "enddate": {
  16369. "description": "结束交易日",
  16370. "type": "string"
  16371. },
  16372. "enumdicname": {
  16373. "description": "现货商品单位名称",
  16374. "type": "string"
  16375. },
  16376. "floatpl": {
  16377. "description": "浮动损益",
  16378. "type": "number"
  16379. },
  16380. "goodsunitid": {
  16381. "description": "现货商品单位id",
  16382. "type": "integer"
  16383. },
  16384. "oriamount": {
  16385. "description": "期初额",
  16386. "type": "number"
  16387. },
  16388. "oriaverageprice": {
  16389. "description": "期初均价",
  16390. "type": "number"
  16391. },
  16392. "oribuyamount": {
  16393. "description": "期初采购总额",
  16394. "type": "number"
  16395. },
  16396. "oribuyqty": {
  16397. "description": "期初采购总量",
  16398. "type": "number"
  16399. },
  16400. "oriqty": {
  16401. "description": "期初量",
  16402. "type": "number"
  16403. },
  16404. "orisellamount": {
  16405. "description": "期初销售总额",
  16406. "type": "number"
  16407. },
  16408. "orisellqty": {
  16409. "description": "期初销售总量",
  16410. "type": "number"
  16411. },
  16412. "reckondate": {
  16413. "description": "日照时期(yyyyMMdd)",
  16414. "type": "string"
  16415. },
  16416. "spotgoodsbrandid": {
  16417. "description": "现货品牌ID",
  16418. "type": "integer"
  16419. },
  16420. "todaybuyamount": {
  16421. "description": "今日采购额(今采购额)",
  16422. "type": "number"
  16423. },
  16424. "todaybuyaverageprice": {
  16425. "description": "今日采购均价",
  16426. "type": "number"
  16427. },
  16428. "todaybuyqty": {
  16429. "description": "今日采购量(今采购量)",
  16430. "type": "number"
  16431. },
  16432. "todayinqty": {
  16433. "description": "今日入库量(今入库量)",
  16434. "type": "number"
  16435. },
  16436. "todayoutqty": {
  16437. "description": "今日出库量(今出库量)",
  16438. "type": "number"
  16439. },
  16440. "todaysellamount": {
  16441. "description": "今日销售额(今销售额)",
  16442. "type": "number"
  16443. },
  16444. "todaysellaverageprice": {
  16445. "description": "今日销售均价",
  16446. "type": "number"
  16447. },
  16448. "todaysellqty": {
  16449. "description": "今日销售量(今销售量)",
  16450. "type": "number"
  16451. },
  16452. "unitid": {
  16453. "description": "品类单位id",
  16454. "type": "integer"
  16455. },
  16456. "unitidname": {
  16457. "description": "品类单位名称",
  16458. "type": "string"
  16459. },
  16460. "updatetime": {
  16461. "description": "更新时间",
  16462. "type": "string"
  16463. },
  16464. "wrfactortypeid": {
  16465. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16466. "type": "integer"
  16467. },
  16468. "wrstandardcode": {
  16469. "description": "品类代码",
  16470. "type": "string"
  16471. },
  16472. "wrstandardid": {
  16473. "description": "现货品类ID",
  16474. "type": "integer"
  16475. },
  16476. "wrstandardname": {
  16477. "description": "品类名称",
  16478. "type": "string"
  16479. }
  16480. }
  16481. },
  16482. "models.Ermcp3AreaStock": {
  16483. "type": "object",
  16484. "required": [
  16485. "userid"
  16486. ],
  16487. "properties": {
  16488. "brandname": {
  16489. "description": "品牌名称",
  16490. "type": "string"
  16491. },
  16492. "curstock": {
  16493. "description": "期末库存量(今日量)",
  16494. "type": "number"
  16495. },
  16496. "deliverygoodscode": {
  16497. "description": "现货品种代码",
  16498. "type": "string"
  16499. },
  16500. "deliverygoodsid": {
  16501. "description": "现货品种id",
  16502. "type": "integer"
  16503. },
  16504. "deliverygoodsname": {
  16505. "description": "现货品种名称",
  16506. "type": "string"
  16507. },
  16508. "enumdicname": {
  16509. "description": "单位名称",
  16510. "type": "string"
  16511. },
  16512. "goodsunitid": {
  16513. "description": "现货商品单位id",
  16514. "type": "integer"
  16515. },
  16516. "oristock": {
  16517. "description": "期初库存量(昨日量)",
  16518. "type": "number"
  16519. },
  16520. "spotgoodsbrandid": {
  16521. "description": "现货品牌ID",
  16522. "type": "integer"
  16523. },
  16524. "todaybuyinqty": {
  16525. "description": "今日采购入库量",
  16526. "type": "number"
  16527. },
  16528. "todayproduceinqty": {
  16529. "description": "今日生产入库量",
  16530. "type": "number"
  16531. },
  16532. "todayproduceoutqty": {
  16533. "description": "今日生产出库量",
  16534. "type": "number"
  16535. },
  16536. "todayselloutqty": {
  16537. "description": "今日销售出库量",
  16538. "type": "number"
  16539. },
  16540. "unitid": {
  16541. "description": "单位id",
  16542. "type": "integer"
  16543. },
  16544. "updatetime": {
  16545. "description": "更新时间",
  16546. "type": "string"
  16547. },
  16548. "userid": {
  16549. "description": "机构ID",
  16550. "type": "integer"
  16551. },
  16552. "username": {
  16553. "description": "机构名称",
  16554. "type": "string"
  16555. },
  16556. "warehousecode": {
  16557. "description": "仓库代码",
  16558. "type": "string"
  16559. },
  16560. "warehouseinfoid": {
  16561. "description": "仓库ID",
  16562. "type": "string"
  16563. },
  16564. "warehousename": {
  16565. "description": "仓库名称",
  16566. "type": "string"
  16567. },
  16568. "warehousetype": {
  16569. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16570. "type": "integer"
  16571. },
  16572. "wrstandardcode": {
  16573. "description": "品类代码",
  16574. "type": "string"
  16575. },
  16576. "wrstandardid": {
  16577. "description": "品类ID",
  16578. "type": "string"
  16579. },
  16580. "wrstandardname": {
  16581. "description": "品类名称",
  16582. "type": "string"
  16583. }
  16584. }
  16585. },
  16586. "models.Ermcp3AreaStockApply": {
  16587. "type": "object",
  16588. "properties": {
  16589. "applyid": {
  16590. "description": "申请人",
  16591. "type": "integer"
  16592. },
  16593. "applyname": {
  16594. "description": "申请人名称",
  16595. "type": "string"
  16596. },
  16597. "applyremark": {
  16598. "description": "申请备注",
  16599. "type": "string"
  16600. },
  16601. "applysrc": {
  16602. "description": "申请来源 - 1:管理端 2:终端",
  16603. "type": "integer"
  16604. },
  16605. "applystatus": {
  16606. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16607. "type": "integer"
  16608. },
  16609. "applytime": {
  16610. "description": "申请时间",
  16611. "type": "string"
  16612. },
  16613. "auditid": {
  16614. "description": "审核人",
  16615. "type": "integer"
  16616. },
  16617. "auditname": {
  16618. "description": "审核人名称",
  16619. "type": "string"
  16620. },
  16621. "auditremark": {
  16622. "description": "审核备注",
  16623. "type": "string"
  16624. },
  16625. "auditsrc": {
  16626. "description": "审核来源 - 1:管理端 2:终端",
  16627. "type": "integer"
  16628. },
  16629. "audittime": {
  16630. "description": "审核时间",
  16631. "type": "string"
  16632. },
  16633. "audittradedate": {
  16634. "description": "审核交易日(yyyyMMdd)",
  16635. "type": "string"
  16636. },
  16637. "brandname": {
  16638. "description": "品牌名称",
  16639. "type": "string"
  16640. },
  16641. "buynickname": {
  16642. "description": "采购方昵称",
  16643. "type": "string"
  16644. },
  16645. "buyuserid": {
  16646. "description": "采购方userid",
  16647. "type": "integer"
  16648. },
  16649. "buyusername": {
  16650. "description": "采购方名称",
  16651. "type": "string"
  16652. },
  16653. "contractno": {
  16654. "description": "合同编号",
  16655. "type": "string"
  16656. },
  16657. "contractqty": {
  16658. "description": "合同量",
  16659. "type": "number"
  16660. },
  16661. "contracttype": {
  16662. "description": "现货合同类型 - 1:采购 -1:销售",
  16663. "type": "integer"
  16664. },
  16665. "deliverygoodscode": {
  16666. "description": "现货品种代码",
  16667. "type": "string"
  16668. },
  16669. "deliverygoodsid": {
  16670. "description": "现货品种id",
  16671. "type": "integer"
  16672. },
  16673. "deliverygoodsname": {
  16674. "description": "现货品种名称",
  16675. "type": "string"
  16676. },
  16677. "detailjson": {
  16678. "description": "明细数据",
  16679. "type": "string"
  16680. },
  16681. "enumdicname": {
  16682. "description": "现货商品单位名称",
  16683. "type": "string"
  16684. },
  16685. "inoutapplyid": {
  16686. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  16687. "type": "string"
  16688. },
  16689. "inouttype": {
  16690. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16691. "type": "integer"
  16692. },
  16693. "pricetype": {
  16694. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16695. "type": "integer"
  16696. },
  16697. "qty": {
  16698. "description": "数量",
  16699. "type": "number"
  16700. },
  16701. "sellnickname": {
  16702. "description": "销售方昵称",
  16703. "type": "string"
  16704. },
  16705. "selluserid": {
  16706. "description": "销售方userid",
  16707. "type": "integer"
  16708. },
  16709. "sellusername": {
  16710. "description": "销售方名称",
  16711. "type": "string"
  16712. },
  16713. "spotcontractid": {
  16714. "description": "关联现货合同ID",
  16715. "type": "string"
  16716. },
  16717. "spotgoodsbrandid": {
  16718. "description": "现货品牌ID",
  16719. "type": "integer"
  16720. },
  16721. "unitid": {
  16722. "description": "单位id",
  16723. "type": "integer"
  16724. },
  16725. "userid": {
  16726. "description": "机构ID",
  16727. "type": "integer"
  16728. },
  16729. "warehousecode": {
  16730. "description": "仓库代码",
  16731. "type": "string"
  16732. },
  16733. "warehouseinfoid": {
  16734. "description": "现货仓库ID",
  16735. "type": "string"
  16736. },
  16737. "warehousename": {
  16738. "description": "仓库名称",
  16739. "type": "string"
  16740. },
  16741. "warehousetype": {
  16742. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16743. "type": "integer"
  16744. },
  16745. "wrstandardcode": {
  16746. "description": "品类代码",
  16747. "type": "string"
  16748. },
  16749. "wrstandardid": {
  16750. "description": "品类ID",
  16751. "type": "integer"
  16752. },
  16753. "wrstandardname": {
  16754. "description": "品类名称",
  16755. "type": "string"
  16756. }
  16757. }
  16758. },
  16759. "models.Ermcp3AreaStockApplySum": {
  16760. "type": "object",
  16761. "properties": {
  16762. "brandname": {
  16763. "description": "品牌名称",
  16764. "type": "string"
  16765. },
  16766. "inouttype": {
  16767. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16768. "type": "integer"
  16769. },
  16770. "spotcontractid": {
  16771. "description": "关联现货合同ID",
  16772. "type": "string"
  16773. },
  16774. "spotgoodsbrandid": {
  16775. "description": "品牌id",
  16776. "type": "integer"
  16777. },
  16778. "totalqty": {
  16779. "description": "总数量",
  16780. "type": "number"
  16781. },
  16782. "wrstandardid": {
  16783. "description": "品类id",
  16784. "type": "integer"
  16785. },
  16786. "wrstandardname": {
  16787. "description": "品类名称",
  16788. "type": "string"
  16789. }
  16790. }
  16791. },
  16792. "models.Ermcp3AreaStockReportEx": {
  16793. "type": "object",
  16794. "properties": {
  16795. "begindate": {
  16796. "description": "开始交易日",
  16797. "type": "string"
  16798. },
  16799. "brandname": {
  16800. "description": "品牌名称",
  16801. "type": "string"
  16802. },
  16803. "curstock": {
  16804. "description": "期末库存量",
  16805. "type": "number"
  16806. },
  16807. "cycletime": {
  16808. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16809. "type": "string"
  16810. },
  16811. "cycletype": {
  16812. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16813. "type": "integer"
  16814. },
  16815. "deliverygoodscode": {
  16816. "description": "现货品种代码",
  16817. "type": "string"
  16818. },
  16819. "deliverygoodsid": {
  16820. "description": "现货品种id",
  16821. "type": "integer"
  16822. },
  16823. "deliverygoodsname": {
  16824. "description": "现货品种名称",
  16825. "type": "string"
  16826. },
  16827. "diffqty": {
  16828. "description": "库存变化量 = 期末 - 期初",
  16829. "type": "number"
  16830. },
  16831. "enddate": {
  16832. "description": "结束交易日",
  16833. "type": "string"
  16834. },
  16835. "enumdicname": {
  16836. "description": "单位名称",
  16837. "type": "string"
  16838. },
  16839. "goodsunitid": {
  16840. "description": "现货单位id",
  16841. "type": "integer"
  16842. },
  16843. "oristock": {
  16844. "description": "期初库存量",
  16845. "type": "number"
  16846. },
  16847. "reckondate": {
  16848. "description": "日照时期(yyyyMMdd)",
  16849. "type": "string"
  16850. },
  16851. "spotgoodsbrandid": {
  16852. "description": "现货品牌ID",
  16853. "type": "integer"
  16854. },
  16855. "todaybuyinqty": {
  16856. "description": "今采购入库量",
  16857. "type": "number"
  16858. },
  16859. "todayproduceinqty": {
  16860. "description": "今内部入库量",
  16861. "type": "number"
  16862. },
  16863. "todayproduceoutqty": {
  16864. "description": "今内部出库量",
  16865. "type": "number"
  16866. },
  16867. "todayselloutqty": {
  16868. "description": "今销售出库量",
  16869. "type": "number"
  16870. },
  16871. "unbuyinqty": {
  16872. "description": "采购未入库量(数据库未找到相关字段?)",
  16873. "type": "number"
  16874. },
  16875. "unitid": {
  16876. "description": "品类单位id",
  16877. "type": "integer"
  16878. },
  16879. "unselloutqty": {
  16880. "description": "销售未出库量(数据库未找到相关字段?)",
  16881. "type": "number"
  16882. },
  16883. "updatetime": {
  16884. "description": "更新时间",
  16885. "type": "string"
  16886. },
  16887. "userid": {
  16888. "description": "机构ID",
  16889. "type": "integer"
  16890. },
  16891. "username": {
  16892. "description": "机构名称",
  16893. "type": "string"
  16894. },
  16895. "warehousecode": {
  16896. "description": "仓库代码",
  16897. "type": "string"
  16898. },
  16899. "warehouseinfoid": {
  16900. "description": "仓库ID",
  16901. "type": "string"
  16902. },
  16903. "warehousename": {
  16904. "description": "仓库名称",
  16905. "type": "string"
  16906. },
  16907. "warehousetype": {
  16908. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16909. "type": "integer"
  16910. },
  16911. "wrstandardcode": {
  16912. "description": "品类代码",
  16913. "type": "string"
  16914. },
  16915. "wrstandardid": {
  16916. "description": "品类ID",
  16917. "type": "integer"
  16918. },
  16919. "wrstandardname": {
  16920. "description": "品类名称",
  16921. "type": "string"
  16922. }
  16923. }
  16924. },
  16925. "models.Ermcp3ArealSumPL": {
  16926. "type": "object",
  16927. "properties": {
  16928. "accountname": {
  16929. "description": "机构名称",
  16930. "type": "string"
  16931. },
  16932. "areauserid": {
  16933. "description": "所属机构\\交易用户ID",
  16934. "type": "integer"
  16935. },
  16936. "begindate": {
  16937. "description": "开始交易日",
  16938. "type": "string"
  16939. },
  16940. "currencyid": {
  16941. "description": "结算币种ID",
  16942. "type": "integer"
  16943. },
  16944. "currencyname": {
  16945. "description": "币种名称",
  16946. "type": "string"
  16947. },
  16948. "cycletime": {
  16949. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16950. "type": "string"
  16951. },
  16952. "cycletype": {
  16953. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16954. "type": "integer"
  16955. },
  16956. "enddate": {
  16957. "description": "结束交易日",
  16958. "type": "string"
  16959. },
  16960. "enumdicname": {
  16961. "description": "单位名称(套保品种)",
  16962. "type": "string"
  16963. },
  16964. "futureactualpl": {
  16965. "description": "期货损益",
  16966. "type": "number"
  16967. },
  16968. "futurefloatpl": {
  16969. "description": "期货浮动损益",
  16970. "type": "number"
  16971. },
  16972. "goodsunitid": {
  16973. "description": "套保品种单位id",
  16974. "type": "integer"
  16975. },
  16976. "middlegoodscode": {
  16977. "description": "套保品种代码",
  16978. "type": "string"
  16979. },
  16980. "middlegoodsid": {
  16981. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16982. "type": "integer"
  16983. },
  16984. "middlegoodsname": {
  16985. "description": "套保品种名称",
  16986. "type": "string"
  16987. },
  16988. "reckondate": {
  16989. "description": "日照时期(yyyyMMdd)",
  16990. "type": "string"
  16991. },
  16992. "spotactualpl": {
  16993. "description": "现货损益",
  16994. "type": "number"
  16995. },
  16996. "spotfloatpl": {
  16997. "description": "现货浮动损益",
  16998. "type": "number"
  16999. },
  17000. "sumactualpl": {
  17001. "description": "实际损益 = (ActualPL + FutureActualPL)",
  17002. "type": "number"
  17003. },
  17004. "sumpl": {
  17005. "description": "汇总损益",
  17006. "type": "number"
  17007. },
  17008. "updatetime": {
  17009. "description": "更新时间",
  17010. "type": "string"
  17011. }
  17012. }
  17013. },
  17014. "models.Ermcp3Brand": {
  17015. "type": "object",
  17016. "properties": {
  17017. "areauserid": {
  17018. "description": "用户id",
  17019. "type": "integer"
  17020. },
  17021. "brandid": {
  17022. "description": "品牌id",
  17023. "type": "integer"
  17024. },
  17025. "brandname": {
  17026. "description": "品牌名称",
  17027. "type": "string"
  17028. },
  17029. "deliverygoodsid": {
  17030. "description": "品种ID",
  17031. "type": "integer"
  17032. }
  17033. }
  17034. },
  17035. "models.Ermcp3Contract": {
  17036. "type": "object",
  17037. "properties": {
  17038. "accountid": {
  17039. "description": "期货账户id",
  17040. "type": "string"
  17041. },
  17042. "amount": {
  17043. "description": "金额 [1:一口价、3:暂定价]",
  17044. "type": "number"
  17045. },
  17046. "attachment": {
  17047. "description": "附件",
  17048. "type": "string"
  17049. },
  17050. "auditremark": {
  17051. "description": "审核意见",
  17052. "type": "string"
  17053. },
  17054. "audittime": {
  17055. "description": "审核时间",
  17056. "type": "string"
  17057. },
  17058. "biztype": {
  17059. "description": "业务类型 1-套保 2-套利",
  17060. "type": "integer"
  17061. },
  17062. "brandname": {
  17063. "description": "品牌名称",
  17064. "type": "string"
  17065. },
  17066. "buynickname": {
  17067. "description": "销售方昵称",
  17068. "type": "string"
  17069. },
  17070. "buyuserid": {
  17071. "description": "采购方ID",
  17072. "type": "integer"
  17073. },
  17074. "buyusername": {
  17075. "description": "采购方名称",
  17076. "type": "string"
  17077. },
  17078. "contracctstatus": {
  17079. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17080. "type": "integer"
  17081. },
  17082. "contractmargin": {
  17083. "description": "合同保证金",
  17084. "type": "number"
  17085. },
  17086. "contractno": {
  17087. "description": "现货合同编号",
  17088. "type": "string"
  17089. },
  17090. "contracttype": {
  17091. "description": "现货合同类型 - 1:采购 -1:销售",
  17092. "type": "integer"
  17093. },
  17094. "convertfactor": {
  17095. "description": "标仓系数(品类)",
  17096. "type": "number"
  17097. },
  17098. "createtime": {
  17099. "description": "创建时间",
  17100. "type": "string"
  17101. },
  17102. "currencyid": {
  17103. "description": "币种id",
  17104. "type": "integer"
  17105. },
  17106. "currencyname": {
  17107. "description": "币种名称",
  17108. "type": "string"
  17109. },
  17110. "deliveryenddate": {
  17111. "description": "交收期(结束)",
  17112. "type": "string"
  17113. },
  17114. "deliverygoodscode": {
  17115. "description": "现货品种代码",
  17116. "type": "string"
  17117. },
  17118. "deliverygoodsid": {
  17119. "description": "现货品种ID",
  17120. "type": "integer"
  17121. },
  17122. "deliverygoodsname": {
  17123. "description": "现货品种名称",
  17124. "type": "string"
  17125. },
  17126. "deliverystartdate": {
  17127. "description": "交收期(开始)",
  17128. "type": "string"
  17129. },
  17130. "enddate": {
  17131. "description": "点价结束日期 [2:点价 3:暂定价]",
  17132. "type": "string"
  17133. },
  17134. "enumdicname": {
  17135. "description": "单位名称",
  17136. "type": "string"
  17137. },
  17138. "goodscode": {
  17139. "description": "点价合约代码",
  17140. "type": "string"
  17141. },
  17142. "goodsid": {
  17143. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17144. "type": "integer"
  17145. },
  17146. "goodsname": {
  17147. "description": "点价商品名称",
  17148. "type": "string"
  17149. },
  17150. "margin": {
  17151. "description": "当前保证金",
  17152. "type": "number"
  17153. },
  17154. "meruserid": {
  17155. "description": "跟单员id",
  17156. "type": "integer"
  17157. },
  17158. "meruserlogincode": {
  17159. "description": "跟单员登录代码",
  17160. "type": "string"
  17161. },
  17162. "merusername": {
  17163. "description": "跟单员名称",
  17164. "type": "string"
  17165. },
  17166. "price": {
  17167. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17168. "type": "number"
  17169. },
  17170. "pricemove": {
  17171. "description": "升贴水 [2:点价 3:暂定价]",
  17172. "type": "number"
  17173. },
  17174. "pricetype": {
  17175. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17176. "type": "integer"
  17177. },
  17178. "producttype": {
  17179. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17180. "type": "integer"
  17181. },
  17182. "qty": {
  17183. "description": "数量",
  17184. "type": "number"
  17185. },
  17186. "remark": {
  17187. "description": "备注",
  17188. "type": "string"
  17189. },
  17190. "saleuserid": {
  17191. "description": "业务员id",
  17192. "type": "integer"
  17193. },
  17194. "saleuserlogincode": {
  17195. "description": "业务员登录代码",
  17196. "type": "string"
  17197. },
  17198. "saleusername": {
  17199. "description": "业务员名称",
  17200. "type": "string"
  17201. },
  17202. "sellnickname": {
  17203. "description": "采购方昵称",
  17204. "type": "string"
  17205. },
  17206. "selluserid": {
  17207. "description": "销售方ID",
  17208. "type": "integer"
  17209. },
  17210. "sellusername": {
  17211. "description": "销售方名称",
  17212. "type": "string"
  17213. },
  17214. "spotcontractid": {
  17215. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17216. "type": "string"
  17217. },
  17218. "spotgoodsbrandid": {
  17219. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17220. "type": "integer"
  17221. },
  17222. "spotgoodsdesc": {
  17223. "description": "商品型号",
  17224. "type": "string"
  17225. },
  17226. "startdate": {
  17227. "description": "点价开始日期 [2:点价 3:暂定价]",
  17228. "type": "string"
  17229. },
  17230. "tradeuserid": {
  17231. "description": "交易员id",
  17232. "type": "integer"
  17233. },
  17234. "tradeuserlogincode": {
  17235. "description": "交易员登录代码",
  17236. "type": "string"
  17237. },
  17238. "tradeusername": {
  17239. "description": "交易员名称",
  17240. "type": "string"
  17241. },
  17242. "unitid": {
  17243. "description": "单位id(取品类上的单位id)",
  17244. "type": "integer"
  17245. },
  17246. "updatetime": {
  17247. "description": "更新时间",
  17248. "type": "string"
  17249. },
  17250. "userid": {
  17251. "description": "所属机构ID",
  17252. "type": "integer"
  17253. },
  17254. "wrstandardcode": {
  17255. "description": "品类代码",
  17256. "type": "string"
  17257. },
  17258. "wrstandardid": {
  17259. "description": "品类ID",
  17260. "type": "integer"
  17261. },
  17262. "wrstandardname": {
  17263. "description": "品类名称",
  17264. "type": "string"
  17265. }
  17266. }
  17267. },
  17268. "models.Ermcp3ExposureContractDetail": {
  17269. "type": "object",
  17270. "properties": {
  17271. "biztype": {
  17272. "description": "业务类型 1-套保 2-套利",
  17273. "type": "integer"
  17274. },
  17275. "brandname": {
  17276. "description": "品牌名称",
  17277. "type": "string"
  17278. },
  17279. "buyuserid": {
  17280. "description": "采购方id",
  17281. "type": "integer"
  17282. },
  17283. "buyusername": {
  17284. "description": "采购方名称",
  17285. "type": "string"
  17286. },
  17287. "contractno": {
  17288. "description": "合同编号",
  17289. "type": "string"
  17290. },
  17291. "contracttype": {
  17292. "description": "现货合同类型 - 1:采购 -1:销售",
  17293. "type": "integer"
  17294. },
  17295. "convertfactor": {
  17296. "description": "标仓系数",
  17297. "type": "number"
  17298. },
  17299. "convertratio": {
  17300. "description": "折算系数(套保品种)",
  17301. "type": "number"
  17302. },
  17303. "curqty": {
  17304. "description": "今定价量",
  17305. "type": "number"
  17306. },
  17307. "deliverygoodscode": {
  17308. "description": "现货商品代码",
  17309. "type": "string"
  17310. },
  17311. "deliverygoodsid": {
  17312. "description": "现货商品id",
  17313. "type": "integer"
  17314. },
  17315. "deliverygoodsname": {
  17316. "description": "现货商品名称",
  17317. "type": "string"
  17318. },
  17319. "diffhedgeqty": {
  17320. "description": "套保变动量",
  17321. "type": "number"
  17322. },
  17323. "diffneedhedgeqty": {
  17324. "description": "应套保变动量",
  17325. "type": "number"
  17326. },
  17327. "diffqty": {
  17328. "description": "套保品种今变动量",
  17329. "type": "number"
  17330. },
  17331. "enumdicname": {
  17332. "description": "单位名称",
  17333. "type": "string"
  17334. },
  17335. "middlegoodscode": {
  17336. "description": "套保品种代码",
  17337. "type": "string"
  17338. },
  17339. "middlegoodsid": {
  17340. "description": "套保品种id",
  17341. "type": "integer"
  17342. },
  17343. "middlegoodsname": {
  17344. "description": "套保品种名称",
  17345. "type": "string"
  17346. },
  17347. "needarbitrageratio": {
  17348. "description": "应套利比例",
  17349. "type": "number"
  17350. },
  17351. "needhedgeratio": {
  17352. "description": "应套保比例",
  17353. "type": "number"
  17354. },
  17355. "pricedqty": {
  17356. "description": "已定价量",
  17357. "type": "number"
  17358. },
  17359. "qty": {
  17360. "description": "合同量",
  17361. "type": "number"
  17362. },
  17363. "selluserid": {
  17364. "description": "销售方id",
  17365. "type": "integer"
  17366. },
  17367. "sellusername": {
  17368. "description": "销售方名称",
  17369. "type": "string"
  17370. },
  17371. "spotcontractid": {
  17372. "description": "合同id",
  17373. "type": "string"
  17374. },
  17375. "todaypricedqty": {
  17376. "description": "今定价量",
  17377. "type": "number"
  17378. },
  17379. "tradedate": {
  17380. "description": "交易日",
  17381. "type": "string"
  17382. },
  17383. "unitid": {
  17384. "description": "品类单位id",
  17385. "type": "integer"
  17386. },
  17387. "userid": {
  17388. "description": "机构id",
  17389. "type": "integer"
  17390. },
  17391. "wrstandardcode": {
  17392. "description": "品类代码",
  17393. "type": "string"
  17394. },
  17395. "wrstandardid": {
  17396. "description": "品类id",
  17397. "type": "integer"
  17398. },
  17399. "wrstandardname": {
  17400. "description": "品类名称",
  17401. "type": "string"
  17402. }
  17403. }
  17404. },
  17405. "models.Ermcp3ExposureDetail": {
  17406. "type": "object",
  17407. "properties": {
  17408. "areauserid": {
  17409. "description": "机构ID",
  17410. "type": "integer"
  17411. },
  17412. "changeQty": {
  17413. "description": "套保变动量",
  17414. "type": "number"
  17415. },
  17416. "contracttype": {
  17417. "description": "现货合同类型 - 1:采购 -1:销售",
  17418. "type": "integer"
  17419. },
  17420. "convertfactor": {
  17421. "description": "标仓系数",
  17422. "type": "number"
  17423. },
  17424. "convertratio": {
  17425. "description": "套保系数",
  17426. "type": "number"
  17427. },
  17428. "createtime": {
  17429. "description": "时间",
  17430. "type": "string"
  17431. },
  17432. "deliverygoodscode": {
  17433. "description": "现货品种代码",
  17434. "type": "string"
  17435. },
  17436. "deliverygoodsid": {
  17437. "description": "现货品种id",
  17438. "type": "integer"
  17439. },
  17440. "deliverygoodsname": {
  17441. "description": "现货品种名称",
  17442. "type": "string"
  17443. },
  17444. "enumdicname": {
  17445. "description": "现货商品单位名称",
  17446. "type": "string"
  17447. },
  17448. "logtype": {
  17449. "description": "类型 - 1:套保计划 2:现货合同",
  17450. "type": "integer"
  17451. },
  17452. "mgunitid": {
  17453. "description": "套保品种单位id",
  17454. "type": "integer"
  17455. },
  17456. "mgunitidname": {
  17457. "description": "套保品种单位名称",
  17458. "type": "string"
  17459. },
  17460. "middlegoodsId": {
  17461. "description": "套保商品id",
  17462. "type": "integer"
  17463. },
  17464. "middlegoodscode": {
  17465. "description": "套保商品代码",
  17466. "type": "string"
  17467. },
  17468. "middlegoodsname": {
  17469. "description": "套保商品名称",
  17470. "type": "string"
  17471. },
  17472. "qty": {
  17473. "description": "数量",
  17474. "type": "number"
  17475. },
  17476. "relateNo": {
  17477. "description": "现货合同/套保计划编号",
  17478. "type": "string"
  17479. }
  17480. }
  17481. },
  17482. "models.Ermcp3ExposureFutuDetail": {
  17483. "type": "object",
  17484. "properties": {
  17485. "accountid": {
  17486. "description": "交易账户id",
  17487. "type": "integer"
  17488. },
  17489. "accountname": {
  17490. "description": "交易账户",
  17491. "type": "string"
  17492. },
  17493. "begindate": {
  17494. "description": "开始交易日",
  17495. "type": "string"
  17496. },
  17497. "buyorsell": {
  17498. "description": "方向 0-买 1-卖",
  17499. "type": "integer"
  17500. },
  17501. "diffmgqty": {
  17502. "description": "套保品种今变化量",
  17503. "type": "number"
  17504. },
  17505. "diffneedqty": {
  17506. "description": "应套保总量变化量",
  17507. "type": "number"
  17508. },
  17509. "difftradeqty": {
  17510. "description": "交易品种今变化量",
  17511. "type": "number"
  17512. },
  17513. "enddate": {
  17514. "description": "结束交易日",
  17515. "type": "string"
  17516. },
  17517. "enumdicname": {
  17518. "description": "单位名称",
  17519. "type": "string"
  17520. },
  17521. "goodscode": {
  17522. "description": "商品代码",
  17523. "type": "string"
  17524. },
  17525. "goodsid": {
  17526. "description": "商品id",
  17527. "type": "integer"
  17528. },
  17529. "goodsname": {
  17530. "description": "商品名称",
  17531. "type": "string"
  17532. },
  17533. "holdqty": {
  17534. "description": "期末持仓量",
  17535. "type": "number"
  17536. },
  17537. "middlegoodscode": {
  17538. "description": "套保商品代码",
  17539. "type": "string"
  17540. },
  17541. "middlegoodsid": {
  17542. "description": "套保商品id",
  17543. "type": "integer"
  17544. },
  17545. "middlegoodsname": {
  17546. "description": "套保商品名称",
  17547. "type": "string"
  17548. },
  17549. "oriholdqty": {
  17550. "description": "期初持仓量",
  17551. "type": "number"
  17552. },
  17553. "todaycloseqty": {
  17554. "description": "今平仓量",
  17555. "type": "number"
  17556. },
  17557. "todayopenqty": {
  17558. "description": "今开仓量",
  17559. "type": "number"
  17560. },
  17561. "tradedate": {
  17562. "description": "交易日",
  17563. "type": "string"
  17564. }
  17565. }
  17566. },
  17567. "models.Ermcp3ExposureHedgeplanDetail": {
  17568. "type": "object",
  17569. "properties": {
  17570. "biztype": {
  17571. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  17572. "type": "integer"
  17573. },
  17574. "changqty": {
  17575. "description": "应套保总量变化量",
  17576. "type": "number"
  17577. },
  17578. "contracttype": {
  17579. "description": "计划类型 - 1:采购 -1:销售",
  17580. "type": "integer"
  17581. },
  17582. "convertratio": {
  17583. "description": "折算系数(套保品种)",
  17584. "type": "number"
  17585. },
  17586. "deliverygoodscode": {
  17587. "description": "现货商品代码",
  17588. "type": "string"
  17589. },
  17590. "deliverygoodsid": {
  17591. "description": "现货商品id",
  17592. "type": "integer"
  17593. },
  17594. "deliverygoodsname": {
  17595. "description": "现货商吕名称",
  17596. "type": "string"
  17597. },
  17598. "dgunitid": {
  17599. "description": "现货商品单位id",
  17600. "type": "integer"
  17601. },
  17602. "dgunitidname": {
  17603. "description": "单位名称(现货商品)",
  17604. "type": "string"
  17605. },
  17606. "diffqty": {
  17607. "description": "套保品种今变动量",
  17608. "type": "number"
  17609. },
  17610. "enumdicname": {
  17611. "description": "单位名称(品类)",
  17612. "type": "string"
  17613. },
  17614. "hedgeplanid": {
  17615. "description": "套保计划id",
  17616. "type": "string"
  17617. },
  17618. "hedgeplanno": {
  17619. "description": "套保计划名称",
  17620. "type": "string"
  17621. },
  17622. "hedgeplanstatus": {
  17623. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17624. "type": "integer"
  17625. },
  17626. "mgunitidname": {
  17627. "description": "单位名称(套保商品)",
  17628. "type": "string"
  17629. },
  17630. "middlegoodscode": {
  17631. "description": "套保品种代码",
  17632. "type": "string"
  17633. },
  17634. "middlegoodsid": {
  17635. "description": "套保品种id",
  17636. "type": "integer"
  17637. },
  17638. "middlegoodsname": {
  17639. "description": "套保品种名称",
  17640. "type": "string"
  17641. },
  17642. "needarbitrageratio": {
  17643. "description": "应套利比例",
  17644. "type": "number"
  17645. },
  17646. "needhedgeratio": {
  17647. "description": "应套保比例",
  17648. "type": "number"
  17649. },
  17650. "pricedqty": {
  17651. "description": "已定价量",
  17652. "type": "number"
  17653. },
  17654. "qty": {
  17655. "description": "合同量",
  17656. "type": "number"
  17657. },
  17658. "tradedate": {
  17659. "description": "交易日(登记日)",
  17660. "type": "string"
  17661. },
  17662. "unitid": {
  17663. "description": "品类单位id",
  17664. "type": "integer"
  17665. },
  17666. "userid": {
  17667. "description": "机构id",
  17668. "type": "integer"
  17669. },
  17670. "wrstandardcode": {
  17671. "description": "品类代码",
  17672. "type": "string"
  17673. },
  17674. "wrstandardid": {
  17675. "description": "品类id",
  17676. "type": "integer"
  17677. },
  17678. "wrstandardname": {
  17679. "description": "品类名称",
  17680. "type": "string"
  17681. }
  17682. }
  17683. },
  17684. "models.Ermcp3ExposureParamChLog": {
  17685. "type": "object",
  17686. "properties": {
  17687. "accountid": {
  17688. "description": "期货账户ID (作废, 默认为0)",
  17689. "type": "integer"
  17690. },
  17691. "aftervalue": {
  17692. "description": "应套保\\套利量变更后(调整后应套保总量)",
  17693. "type": "number"
  17694. },
  17695. "areauserid": {
  17696. "description": "所属机构\\交易用户ID",
  17697. "type": "integer"
  17698. },
  17699. "beforevalue": {
  17700. "description": "应套保\\套利量变更前(调整前应套保总量)",
  17701. "type": "number"
  17702. },
  17703. "begindate": {
  17704. "description": "开始交易日",
  17705. "type": "string"
  17706. },
  17707. "changelogtype": {
  17708. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  17709. "type": "integer"
  17710. },
  17711. "curvalue": {
  17712. "description": "当前套保\\套利量(套保总量|套利总量)",
  17713. "type": "number"
  17714. },
  17715. "diffvalue": {
  17716. "description": "应套保总量变化量",
  17717. "type": "number"
  17718. },
  17719. "enddate": {
  17720. "description": "结束交易日",
  17721. "type": "string"
  17722. },
  17723. "logdatetime": {
  17724. "description": "流水日期",
  17725. "type": "string"
  17726. },
  17727. "logid": {
  17728. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  17729. "type": "string"
  17730. },
  17731. "middlegoodscode": {
  17732. "description": "套保品种代码",
  17733. "type": "string"
  17734. },
  17735. "middlegoodsid": {
  17736. "description": "套保品种",
  17737. "type": "integer"
  17738. },
  17739. "middlegoodsname": {
  17740. "description": "套保品种名称",
  17741. "type": "string"
  17742. },
  17743. "paramaftervalue": {
  17744. "description": "参数变更后(调整后参数值)",
  17745. "type": "number"
  17746. },
  17747. "parambeforevalue": {
  17748. "description": "参数变更前(调整前参数值)",
  17749. "type": "number"
  17750. },
  17751. "tradedate": {
  17752. "description": "交易日(yyyyMMdd)",
  17753. "type": "string"
  17754. }
  17755. }
  17756. },
  17757. "models.Ermcp3ExpourseReport": {
  17758. "type": "object",
  17759. "properties": {
  17760. "accountid": {
  17761. "description": "期货账户ID (作废, 默认为0)",
  17762. "type": "integer"
  17763. },
  17764. "accountname": {
  17765. "description": "机构名称",
  17766. "type": "string"
  17767. },
  17768. "arbitrageqty": {
  17769. "description": "套利量",
  17770. "type": "number"
  17771. },
  17772. "areauserid": {
  17773. "description": "所属机构\\交易用户ID",
  17774. "type": "integer"
  17775. },
  17776. "begindate": {
  17777. "description": "开始交易日",
  17778. "type": "string"
  17779. },
  17780. "buyfutureqty": {
  17781. "description": "买入期货数量",
  17782. "type": "number"
  17783. },
  17784. "buyplanqty": {
  17785. "description": "采购计划数量",
  17786. "type": "number"
  17787. },
  17788. "buypricedqty": {
  17789. "description": "采购合同已定价数量",
  17790. "type": "number"
  17791. },
  17792. "cycletime": {
  17793. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17794. "type": "string"
  17795. },
  17796. "cycletype": {
  17797. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17798. "type": "integer"
  17799. },
  17800. "diffexposure": {
  17801. "description": "变动量(套保敞口)",
  17802. "type": "number"
  17803. },
  17804. "difffutuqty": {
  17805. "description": "变动量(期货)",
  17806. "type": "number"
  17807. },
  17808. "diffhedgeqty": {
  17809. "description": "变动量(现货应套保总量)",
  17810. "type": "number"
  17811. },
  17812. "diffmgqtya": {
  17813. "description": "套保变动量",
  17814. "type": "number"
  17815. },
  17816. "diffmgqtyb": {
  17817. "description": "套利变动量",
  17818. "type": "number"
  17819. },
  17820. "diffqty": {
  17821. "description": "变动量(总敞口)",
  17822. "type": "number"
  17823. },
  17824. "diffspotqty": {
  17825. "description": "变动量(现货)",
  17826. "type": "number"
  17827. },
  17828. "enddate": {
  17829. "description": "结束交易日",
  17830. "type": "string"
  17831. },
  17832. "enumdicname": {
  17833. "description": "单位名称",
  17834. "type": "string"
  17835. },
  17836. "hedgeqty": {
  17837. "description": "套保量",
  17838. "type": "number"
  17839. },
  17840. "mgneedhedgeratio": {
  17841. "description": "套保比例(套保品的)",
  17842. "type": "number"
  17843. },
  17844. "middlegoodsid": {
  17845. "description": "套保品种ID",
  17846. "type": "integer"
  17847. },
  17848. "middlegoodsname": {
  17849. "description": "套保商品名称",
  17850. "type": "string"
  17851. },
  17852. "middlgoodscode": {
  17853. "description": "套保商品代码",
  17854. "type": "string"
  17855. },
  17856. "needarbitrageqty": {
  17857. "description": "应套利量",
  17858. "type": "number"
  17859. },
  17860. "needarbitrageratio": {
  17861. "description": "套利比例(套保品的)",
  17862. "type": "number"
  17863. },
  17864. "needhedgeexposoure": {
  17865. "description": "应套保敞口(套保敞口)",
  17866. "type": "number"
  17867. },
  17868. "needhedgeqty": {
  17869. "description": "应套保量",
  17870. "type": "number"
  17871. },
  17872. "needhedgeratio": {
  17873. "description": "应套保敞口比例",
  17874. "type": "number"
  17875. },
  17876. "oriarbitrageqty": {
  17877. "description": "期初套利量",
  17878. "type": "number"
  17879. },
  17880. "oribuyfutureqty": {
  17881. "description": "期初买入期货数量",
  17882. "type": "number"
  17883. },
  17884. "oribuyplanqty": {
  17885. "description": "期初采购计划数量",
  17886. "type": "number"
  17887. },
  17888. "oribuypricedqty": {
  17889. "description": "期初采购合同已定价数量",
  17890. "type": "number"
  17891. },
  17892. "orihedgeqty": {
  17893. "description": "期初套保量",
  17894. "type": "number"
  17895. },
  17896. "orineedarbitrageqty": {
  17897. "description": "期初应套利量",
  17898. "type": "number"
  17899. },
  17900. "orineedhedgeexposoure": {
  17901. "description": "期初应套保敞口",
  17902. "type": "number"
  17903. },
  17904. "orineedhedgeqty": {
  17905. "description": "期初应套保量",
  17906. "type": "number"
  17907. },
  17908. "orisellfutureqty": {
  17909. "description": "期初卖出期货数量",
  17910. "type": "number"
  17911. },
  17912. "orisellplanqty": {
  17913. "description": "期初销售计划数量",
  17914. "type": "number"
  17915. },
  17916. "orisellpricedqty": {
  17917. "description": "期初销售合同已定价数量",
  17918. "type": "number"
  17919. },
  17920. "oritotalexposure": {
  17921. "description": "期初实时总敞口",
  17922. "type": "number"
  17923. },
  17924. "oritotalfutureqty": {
  17925. "description": "期初期货头寸总量",
  17926. "type": "number"
  17927. },
  17928. "oritotalneedhedgeqty": {
  17929. "description": "期初应套保总量",
  17930. "type": "number"
  17931. },
  17932. "oritotalspotqty": {
  17933. "description": "期初现货头寸总量",
  17934. "type": "number"
  17935. },
  17936. "reckondate": {
  17937. "description": "日照时期(yyyyMMdd)",
  17938. "type": "string"
  17939. },
  17940. "sellfutureqty": {
  17941. "description": "卖出期货数量",
  17942. "type": "number"
  17943. },
  17944. "sellplanqty": {
  17945. "description": "销售计划数量",
  17946. "type": "number"
  17947. },
  17948. "sellpricedqty": {
  17949. "description": "销售合同已定价数量",
  17950. "type": "number"
  17951. },
  17952. "totalexposure": {
  17953. "description": "实时总敞口(总敞口)",
  17954. "type": "number"
  17955. },
  17956. "totalfutureqty": {
  17957. "description": "期货头寸总量(期货总量)",
  17958. "type": "number"
  17959. },
  17960. "totalhedgeratio": {
  17961. "description": "敞口比例",
  17962. "type": "number"
  17963. },
  17964. "totalneedhedgeqty": {
  17965. "description": "应套保总量(现货应套保总量)",
  17966. "type": "number"
  17967. },
  17968. "totalspotqty": {
  17969. "description": "现货头寸总量",
  17970. "type": "number"
  17971. },
  17972. "unitid": {
  17973. "description": "单位id",
  17974. "type": "integer"
  17975. },
  17976. "updatetime": {
  17977. "description": "更新时间",
  17978. "type": "string"
  17979. }
  17980. }
  17981. },
  17982. "models.Ermcp3FinanceReport": {
  17983. "type": "object",
  17984. "properties": {
  17985. "accountname": {
  17986. "description": "机构名称",
  17987. "type": "string"
  17988. },
  17989. "areauserid": {
  17990. "description": "所属机构\\交易用户ID",
  17991. "type": "integer"
  17992. },
  17993. "begindate": {
  17994. "description": "开始交易日",
  17995. "type": "string"
  17996. },
  17997. "biztype": {
  17998. "description": "业务类型 - 1:套保 2:套利",
  17999. "type": "integer"
  18000. },
  18001. "brandname": {
  18002. "description": "品牌名称",
  18003. "type": "string"
  18004. },
  18005. "buypreinvoicedamount": {
  18006. "description": "采购预收票额(预收票额)",
  18007. "type": "number"
  18008. },
  18009. "buyprepaidamount": {
  18010. "description": "采购预付款额(预付货款额)",
  18011. "type": "number"
  18012. },
  18013. "buytodayinvoiceamount": {
  18014. "description": "采购今收票额(今收票额)",
  18015. "type": "number"
  18016. },
  18017. "buytodayrefundamount": {
  18018. "description": "采购今收退款额(今收退款额)",
  18019. "type": "number"
  18020. },
  18021. "buytodaysettleamount": {
  18022. "description": "采购今付款额(今付货款额)",
  18023. "type": "number"
  18024. },
  18025. "buyuninvoicedamount": {
  18026. "description": "采购应收票额(应收票额)",
  18027. "type": "number"
  18028. },
  18029. "buyunpaidamount": {
  18030. "description": "采购应付款额(应付货款额)",
  18031. "type": "number"
  18032. },
  18033. "currencyid": {
  18034. "description": "结算币种ID",
  18035. "type": "integer"
  18036. },
  18037. "currencyname": {
  18038. "description": "币种名称",
  18039. "type": "string"
  18040. },
  18041. "cycletime": {
  18042. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18043. "type": "string"
  18044. },
  18045. "cycletype": {
  18046. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18047. "type": "integer"
  18048. },
  18049. "deliverygoodscode": {
  18050. "description": "现货品种代码",
  18051. "type": "string"
  18052. },
  18053. "deliverygoodsid": {
  18054. "description": "现货品种ID",
  18055. "type": "integer"
  18056. },
  18057. "deliverygoodsname": {
  18058. "description": "现货品种名称",
  18059. "type": "string"
  18060. },
  18061. "enddate": {
  18062. "description": "结束交易日",
  18063. "type": "string"
  18064. },
  18065. "reckondate": {
  18066. "description": "日照时期(yyyyMMdd)",
  18067. "type": "string"
  18068. },
  18069. "sellpreinvoicedamount": {
  18070. "description": "销售预开票额(预开票额)",
  18071. "type": "number"
  18072. },
  18073. "sellprepaidamount": {
  18074. "description": "销售预收款额(预收货款额)",
  18075. "type": "number"
  18076. },
  18077. "selltodayinvoiceamount": {
  18078. "description": "销售今开票额(今开票额)",
  18079. "type": "number"
  18080. },
  18081. "selltodayrefundamount": {
  18082. "description": "销售今付退款额(今付退款额)",
  18083. "type": "number"
  18084. },
  18085. "selltodaysettleamount": {
  18086. "description": "销售今收款额(今收货款额)",
  18087. "type": "number"
  18088. },
  18089. "selluninvoicedamount": {
  18090. "description": "销售应开票额(应开票额)",
  18091. "type": "number"
  18092. },
  18093. "sellunpaidamount": {
  18094. "description": "销售应收款额(应收货款额)",
  18095. "type": "number"
  18096. },
  18097. "spotgoodsbrandid": {
  18098. "description": "现货品牌ID",
  18099. "type": "integer"
  18100. },
  18101. "todaypaysum": {
  18102. "description": "今付款合计",
  18103. "type": "number"
  18104. },
  18105. "todayreceivesum": {
  18106. "description": "今收款合计",
  18107. "type": "number"
  18108. },
  18109. "updatetime": {
  18110. "description": "更新时间",
  18111. "type": "string"
  18112. },
  18113. "wrfactortypeid": {
  18114. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  18115. "type": "integer"
  18116. },
  18117. "wrstandardcode": {
  18118. "description": "品类代码",
  18119. "type": "string"
  18120. },
  18121. "wrstandardid": {
  18122. "description": "现货商品ID",
  18123. "type": "integer"
  18124. },
  18125. "wrstandardname": {
  18126. "description": "品类名称",
  18127. "type": "string"
  18128. }
  18129. }
  18130. },
  18131. "models.Ermcp3Goods": {
  18132. "type": "object",
  18133. "properties": {
  18134. "agreeunit": {
  18135. "description": "合约单位(合约乘数)",
  18136. "type": "number"
  18137. },
  18138. "enumdicname": {
  18139. "description": "单位名称",
  18140. "type": "string"
  18141. },
  18142. "exexchangecode": {
  18143. "description": "交易所代码",
  18144. "type": "string"
  18145. },
  18146. "goodscode": {
  18147. "description": "期货商品代码",
  18148. "type": "string"
  18149. },
  18150. "goodsid": {
  18151. "description": "期货商品id",
  18152. "type": "integer"
  18153. },
  18154. "goodsname": {
  18155. "description": "期货商品名称",
  18156. "type": "string"
  18157. }
  18158. }
  18159. },
  18160. "models.Ermcp3GoodsGroup": {
  18161. "type": "object",
  18162. "required": [
  18163. "areauserid"
  18164. ],
  18165. "properties": {
  18166. "agreeunit": {
  18167. "description": "合约单位",
  18168. "type": "number"
  18169. },
  18170. "areauserid": {
  18171. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  18172. "type": "integer"
  18173. },
  18174. "canshort": {
  18175. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18176. "type": "integer"
  18177. },
  18178. "closepricemode": {
  18179. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18180. "type": "integer"
  18181. },
  18182. "createtime": {
  18183. "description": "创建时间",
  18184. "type": "string"
  18185. },
  18186. "creatorid": {
  18187. "description": "创建人",
  18188. "type": "integer"
  18189. },
  18190. "currencyid": {
  18191. "description": "报价货币ID",
  18192. "type": "integer"
  18193. },
  18194. "decimalplace": {
  18195. "description": "报价小数位",
  18196. "type": "integer"
  18197. },
  18198. "enumdicname": {
  18199. "description": "单位名称",
  18200. "type": "string"
  18201. },
  18202. "exchangefullname": {
  18203. "description": "交易所全称",
  18204. "type": "string"
  18205. },
  18206. "excludecfg": {
  18207. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  18208. "type": "integer"
  18209. },
  18210. "exexchangecode": {
  18211. "description": "交易所代码",
  18212. "type": "string"
  18213. },
  18214. "exexchangeid": {
  18215. "description": "外部交易所ID[通道交易]",
  18216. "type": "integer"
  18217. },
  18218. "exexchangename": {
  18219. "description": "交易所名称",
  18220. "type": "string"
  18221. },
  18222. "goodsgroupid": {
  18223. "description": "商品组ID(自增ID)",
  18224. "type": "integer"
  18225. },
  18226. "goodsgroupname": {
  18227. "description": "商品组名称",
  18228. "type": "string"
  18229. },
  18230. "goodsgroupstatus": {
  18231. "description": "商品组状态 - 1:正常 2:注销",
  18232. "type": "integer"
  18233. },
  18234. "goodunitid": {
  18235. "description": "报价单位ID",
  18236. "type": "integer"
  18237. },
  18238. "groupcategroyid": {
  18239. "description": "品种分类ID",
  18240. "type": "integer"
  18241. },
  18242. "innerdealmode": {
  18243. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18244. "type": "integer"
  18245. },
  18246. "marketid": {
  18247. "description": "所属市场ID",
  18248. "type": "integer"
  18249. },
  18250. "modifierid": {
  18251. "description": "修改人",
  18252. "type": "integer"
  18253. },
  18254. "modifytime": {
  18255. "description": "修改时间",
  18256. "type": "string"
  18257. },
  18258. "outerdealmode": {
  18259. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18260. "type": "integer"
  18261. },
  18262. "outergroupcode": {
  18263. "description": "外部商品组代码[通道交易]",
  18264. "type": "string"
  18265. },
  18266. "quoteminunit": {
  18267. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18268. "type": "integer"
  18269. },
  18270. "quotesourcegroupid": {
  18271. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18272. "type": "integer"
  18273. },
  18274. "syncgoodsqty": {
  18275. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18276. "type": "integer"
  18277. }
  18278. }
  18279. },
  18280. "models.Ermcp3GoodsGroupEx": {
  18281. "type": "object",
  18282. "properties": {
  18283. "convertratio": {
  18284. "description": "折算系数(品种系数)",
  18285. "type": "number"
  18286. },
  18287. "enumdicname": {
  18288. "description": "单位名称",
  18289. "type": "string"
  18290. },
  18291. "exexchangecode": {
  18292. "description": "交易所代码",
  18293. "type": "string"
  18294. },
  18295. "glist": {
  18296. "description": "合约列表",
  18297. "type": "array",
  18298. "items": {
  18299. "$ref": "#/definitions/models.Ermcp3Goods"
  18300. }
  18301. },
  18302. "goodsgroupid": {
  18303. "description": "商品组id",
  18304. "type": "integer"
  18305. },
  18306. "goodsgroupname": {
  18307. "description": "商品组名称",
  18308. "type": "string"
  18309. },
  18310. "goodsunitid": {
  18311. "description": "单位id",
  18312. "type": "integer"
  18313. },
  18314. "middlegoodsid": {
  18315. "description": "套保商品id",
  18316. "type": "integer"
  18317. }
  18318. }
  18319. },
  18320. "models.Ermcp3HedgePlan": {
  18321. "type": "object",
  18322. "properties": {
  18323. "accountid": {
  18324. "description": "资金账号",
  18325. "type": "integer"
  18326. },
  18327. "areauserid": {
  18328. "description": "用户ID",
  18329. "type": "integer"
  18330. },
  18331. "auditid": {
  18332. "description": "审核id",
  18333. "type": "integer"
  18334. },
  18335. "auditname": {
  18336. "description": "审核人名称",
  18337. "type": "string"
  18338. },
  18339. "auditremark": {
  18340. "description": "审核备注",
  18341. "type": "string"
  18342. },
  18343. "auditsrc": {
  18344. "description": "审核来源 1-管理端 2-终端",
  18345. "type": "integer"
  18346. },
  18347. "audittime": {
  18348. "description": "审核时间",
  18349. "type": "string"
  18350. },
  18351. "contracttype": {
  18352. "description": "计划类型 - 1:采购 -1:销售",
  18353. "type": "integer"
  18354. },
  18355. "convertfactor": {
  18356. "description": "标仓系数",
  18357. "type": "number"
  18358. },
  18359. "createtime": {
  18360. "description": "创建时间",
  18361. "type": "string"
  18362. },
  18363. "currencyid": {
  18364. "description": "币种id",
  18365. "type": "integer"
  18366. },
  18367. "currencyname": {
  18368. "description": "币种名称",
  18369. "type": "string"
  18370. },
  18371. "deliverygoodscode": {
  18372. "description": "现货品种代码",
  18373. "type": "string"
  18374. },
  18375. "deliverygoodsid": {
  18376. "description": "现货品种ID",
  18377. "type": "integer"
  18378. },
  18379. "deliverygoodsname": {
  18380. "description": "现货品种名称",
  18381. "type": "string"
  18382. },
  18383. "enumdicname": {
  18384. "description": "单位名称(现货商品)",
  18385. "type": "string"
  18386. },
  18387. "hedgeplanid": {
  18388. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  18389. "type": "string"
  18390. },
  18391. "hedgeplanno": {
  18392. "description": "套保计划编号(名称)",
  18393. "type": "string"
  18394. },
  18395. "hedgeplanstatus": {
  18396. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18397. "type": "integer"
  18398. },
  18399. "planqty": {
  18400. "description": "计划数量",
  18401. "type": "number"
  18402. },
  18403. "plantime": {
  18404. "description": "计划时间",
  18405. "type": "string"
  18406. },
  18407. "producttype": {
  18408. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18409. "type": "integer"
  18410. },
  18411. "remark": {
  18412. "description": "备注",
  18413. "type": "string"
  18414. },
  18415. "spotgoodsdesc": {
  18416. "description": "商品型号",
  18417. "type": "string"
  18418. },
  18419. "taaccountname": {
  18420. "description": "资金账号名称",
  18421. "type": "string"
  18422. },
  18423. "tradeuserid": {
  18424. "description": "交易用户id",
  18425. "type": "integer"
  18426. },
  18427. "tradeusername": {
  18428. "description": "交易用户名称",
  18429. "type": "string"
  18430. },
  18431. "unitid": {
  18432. "description": "单位id(现货商品)",
  18433. "type": "integer"
  18434. },
  18435. "updatetime": {
  18436. "description": "更新时间",
  18437. "type": "string"
  18438. },
  18439. "wrstandardcode": {
  18440. "description": "品类代码",
  18441. "type": "string"
  18442. },
  18443. "wrstandardid": {
  18444. "description": "品类id",
  18445. "type": "integer"
  18446. },
  18447. "wrstandardname": {
  18448. "description": "品类名称",
  18449. "type": "string"
  18450. },
  18451. "wrunitid": {
  18452. "description": "品类单位id",
  18453. "type": "integer"
  18454. },
  18455. "wrunitidame": {
  18456. "description": "品类单位名称",
  18457. "type": "string"
  18458. }
  18459. }
  18460. },
  18461. "models.Ermcp3MiddleGoodsDetail2": {
  18462. "type": "object",
  18463. "properties": {
  18464. "convertratio": {
  18465. "description": "套保系数(折算系数)",
  18466. "type": "number"
  18467. },
  18468. "gplist": {
  18469. "description": "关联商品组列表",
  18470. "type": "array",
  18471. "items": {
  18472. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18473. }
  18474. },
  18475. "mg": {
  18476. "description": "套保商品信息",
  18477. "type": "object",
  18478. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18479. }
  18480. }
  18481. },
  18482. "models.Ermcp3MiddleGoodsDetailEx": {
  18483. "type": "object",
  18484. "properties": {
  18485. "dglist": {
  18486. "description": "关联的现货品种列表",
  18487. "type": "array",
  18488. "items": {
  18489. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  18490. }
  18491. },
  18492. "gplist": {
  18493. "description": "关联商品组列表",
  18494. "type": "array",
  18495. "items": {
  18496. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18497. }
  18498. },
  18499. "mg": {
  18500. "description": "套保商品信息",
  18501. "type": "object",
  18502. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18503. }
  18504. }
  18505. },
  18506. "models.Ermcp3RootUserAccount": {
  18507. "type": "object",
  18508. "properties": {
  18509. "accountname": {
  18510. "description": "账户名称(机构名称)",
  18511. "type": "string"
  18512. },
  18513. "accountstatus": {
  18514. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18515. "type": "integer"
  18516. },
  18517. "applysrc": {
  18518. "description": "申请来源 - 1:管理端 2:终端",
  18519. "type": "integer"
  18520. },
  18521. "auditremark": {
  18522. "description": "审核备注",
  18523. "type": "string"
  18524. },
  18525. "auditsrc": {
  18526. "description": "审核来源 - 1:管理端 2:终端",
  18527. "type": "integer"
  18528. },
  18529. "audittime": {
  18530. "description": "审核时间",
  18531. "type": "string"
  18532. },
  18533. "audituserid": {
  18534. "description": "审核人",
  18535. "type": "integer"
  18536. },
  18537. "broker": {
  18538. "description": "所属经纪人ID",
  18539. "type": "integer"
  18540. },
  18541. "canceltime": {
  18542. "description": "销户时间",
  18543. "type": "string"
  18544. },
  18545. "canceluserid": {
  18546. "description": "销户人",
  18547. "type": "integer"
  18548. },
  18549. "canrecommend": {
  18550. "description": "是否可推荐 - 0:不可 1;可",
  18551. "type": "integer"
  18552. },
  18553. "createtime": {
  18554. "description": "创建时间",
  18555. "type": "string"
  18556. },
  18557. "creatorid": {
  18558. "description": "创建人",
  18559. "type": "integer"
  18560. },
  18561. "hasauth": {
  18562. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  18563. "type": "integer"
  18564. },
  18565. "isanonymous": {
  18566. "description": "是否匿名下单 - 0:否 1:是",
  18567. "type": "integer"
  18568. },
  18569. "maxinvestornum": {
  18570. "description": "最大用户数(经纪会员下投资者个数)",
  18571. "type": "integer"
  18572. },
  18573. "memberuserid": {
  18574. "description": "所属会员ID",
  18575. "type": "integer"
  18576. },
  18577. "modifierid": {
  18578. "description": "修改人",
  18579. "type": "integer"
  18580. },
  18581. "modifyremark": {
  18582. "description": "变更备注",
  18583. "type": "string"
  18584. },
  18585. "modifystatus": {
  18586. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  18587. "type": "integer"
  18588. },
  18589. "modifytime": {
  18590. "description": "修改时间",
  18591. "type": "string"
  18592. },
  18593. "parenttopuser": {
  18594. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  18595. "type": "string"
  18596. },
  18597. "parentuserid": {
  18598. "description": "所属机构ID",
  18599. "type": "integer"
  18600. },
  18601. "reckonaccountid": {
  18602. "description": "默认结算资金账号ID(机构分润使用) 作废",
  18603. "type": "integer"
  18604. },
  18605. "refercount": {
  18606. "description": "推荐总人数",
  18607. "type": "integer"
  18608. },
  18609. "refereeuserid": {
  18610. "description": "推荐人ID",
  18611. "type": "integer"
  18612. },
  18613. "refernum": {
  18614. "description": "推荐码",
  18615. "type": "string"
  18616. },
  18617. "rootuserid": {
  18618. "description": "根用户ID",
  18619. "type": "integer"
  18620. },
  18621. "subaccountlevel": {
  18622. "description": "子账户层数",
  18623. "type": "integer"
  18624. },
  18625. "subarealevelpath": {
  18626. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  18627. "type": "string"
  18628. },
  18629. "userid": {
  18630. "description": "用户ID",
  18631. "type": "integer"
  18632. },
  18633. "usertype": {
  18634. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18635. "type": "integer"
  18636. }
  18637. }
  18638. },
  18639. "models.Ermcp3SellBuyContract": {
  18640. "type": "object",
  18641. "properties": {
  18642. "accountid": {
  18643. "description": "期货账户id",
  18644. "type": "string"
  18645. },
  18646. "accountname": {
  18647. "description": "账户名称",
  18648. "type": "string"
  18649. },
  18650. "attachment": {
  18651. "description": "附件",
  18652. "type": "string"
  18653. },
  18654. "audittime": {
  18655. "description": "审核时间",
  18656. "type": "string"
  18657. },
  18658. "biztype": {
  18659. "description": "业务类型 1-套保 2-套利",
  18660. "type": "integer"
  18661. },
  18662. "brandname": {
  18663. "description": "品牌名称",
  18664. "type": "string"
  18665. },
  18666. "contracctstatus": {
  18667. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18668. "type": "integer"
  18669. },
  18670. "contractmargin": {
  18671. "description": "合同保证金",
  18672. "type": "number"
  18673. },
  18674. "contractno": {
  18675. "description": "合同编号",
  18676. "type": "string"
  18677. },
  18678. "contracttype": {
  18679. "description": "合同类型 1-采购, -1-销售",
  18680. "type": "integer"
  18681. },
  18682. "convertfactor": {
  18683. "description": "标仓系数(品类)",
  18684. "type": "number"
  18685. },
  18686. "createtime": {
  18687. "description": "创建时间",
  18688. "type": "string"
  18689. },
  18690. "currencyid": {
  18691. "description": "币种id",
  18692. "type": "integer"
  18693. },
  18694. "currencyname": {
  18695. "description": "币种名称",
  18696. "type": "string"
  18697. },
  18698. "daikaiamount": {
  18699. "description": "应收(开)票额",
  18700. "type": "number"
  18701. },
  18702. "deliveryenddate": {
  18703. "description": "交割结束日",
  18704. "type": "string"
  18705. },
  18706. "deliverygoodscode": {
  18707. "description": "现货品种代码",
  18708. "type": "string"
  18709. },
  18710. "deliverygoodsid": {
  18711. "description": "现货商品ID",
  18712. "type": "integer"
  18713. },
  18714. "deliverygoodsname": {
  18715. "description": "现货品种名称",
  18716. "type": "string"
  18717. },
  18718. "deliverystartdate": {
  18719. "description": "交割开始日",
  18720. "type": "string"
  18721. },
  18722. "enddate": {
  18723. "description": "点价结束日",
  18724. "type": "string"
  18725. },
  18726. "enumdicname": {
  18727. "description": "单位名称",
  18728. "type": "string"
  18729. },
  18730. "goodscode": {
  18731. "description": "点价商品代码",
  18732. "type": "string"
  18733. },
  18734. "goodsid": {
  18735. "description": "点价商品ID",
  18736. "type": "integer"
  18737. },
  18738. "goodsname": {
  18739. "description": "点价商品名称",
  18740. "type": "string"
  18741. },
  18742. "invoiceamount": {
  18743. "description": "已开票额",
  18744. "type": "number"
  18745. },
  18746. "loanamount": {
  18747. "description": "贷款总额=已定价额+调整金额",
  18748. "type": "number"
  18749. },
  18750. "margin": {
  18751. "description": "保证金",
  18752. "type": "number"
  18753. },
  18754. "meruserid": {
  18755. "description": "跟单员id",
  18756. "type": "integer"
  18757. },
  18758. "meruserlogincode": {
  18759. "description": "跟单员登录代码",
  18760. "type": "string"
  18761. },
  18762. "merusername": {
  18763. "description": "跟单员名称",
  18764. "type": "string"
  18765. },
  18766. "nickname": {
  18767. "description": "账户昵称",
  18768. "type": "string"
  18769. },
  18770. "payamount": {
  18771. "description": "已收付额(收款或付款)",
  18772. "type": "number"
  18773. },
  18774. "preinvoiceamount": {
  18775. "description": "预收(开)票额",
  18776. "type": "number"
  18777. },
  18778. "prepayamount": {
  18779. "description": "预收付额",
  18780. "type": "number"
  18781. },
  18782. "price": {
  18783. "description": "价格",
  18784. "type": "number"
  18785. },
  18786. "pricedamount": {
  18787. "description": "已定价额",
  18788. "type": "number"
  18789. },
  18790. "pricedavg": {
  18791. "description": "已点均价",
  18792. "type": "number"
  18793. },
  18794. "pricedqty": {
  18795. "description": "已定价量",
  18796. "type": "number"
  18797. },
  18798. "pricemove": {
  18799. "description": "升贴水",
  18800. "type": "number"
  18801. },
  18802. "pricetype": {
  18803. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18804. "type": "integer"
  18805. },
  18806. "producttype": {
  18807. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18808. "type": "integer"
  18809. },
  18810. "qty": {
  18811. "description": "合同量",
  18812. "type": "number"
  18813. },
  18814. "reckonadjustamount": {
  18815. "description": "调整金额",
  18816. "type": "number"
  18817. },
  18818. "reckonedamount": {
  18819. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  18820. "type": "number"
  18821. },
  18822. "reckonotheramount": {
  18823. "description": "其它费用",
  18824. "type": "number"
  18825. },
  18826. "reckonrealqty": {
  18827. "description": "已确定量",
  18828. "type": "number"
  18829. },
  18830. "remark": {
  18831. "description": "备注",
  18832. "type": "string"
  18833. },
  18834. "saleuserid": {
  18835. "description": "业务员id",
  18836. "type": "integer"
  18837. },
  18838. "saleuserlogincode": {
  18839. "description": "业务员登录代码",
  18840. "type": "string"
  18841. },
  18842. "saleusername": {
  18843. "description": "业务员名称",
  18844. "type": "string"
  18845. },
  18846. "spotcontractid": {
  18847. "description": "合同ID",
  18848. "type": "string"
  18849. },
  18850. "spotgoodsbrandid": {
  18851. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18852. "type": "integer"
  18853. },
  18854. "spotgoodsdesc": {
  18855. "description": "商品型号(商品规格)",
  18856. "type": "string"
  18857. },
  18858. "startdate": {
  18859. "description": "点价开始日",
  18860. "type": "string"
  18861. },
  18862. "totalamount": {
  18863. "description": "合计总额",
  18864. "type": "number"
  18865. },
  18866. "tradeuserid": {
  18867. "description": "交易员id",
  18868. "type": "integer"
  18869. },
  18870. "tradeuserlogincode": {
  18871. "description": "交易员登录代码",
  18872. "type": "string"
  18873. },
  18874. "tradeusername": {
  18875. "description": "交易员名称",
  18876. "type": "string"
  18877. },
  18878. "unpayamount": {
  18879. "description": "应收付款额(应支付或应收款)",
  18880. "type": "number"
  18881. },
  18882. "unpricedqty": {
  18883. "description": "未定价量",
  18884. "type": "number"
  18885. },
  18886. "unsureqty": {
  18887. "description": "未确定量",
  18888. "type": "number"
  18889. },
  18890. "userid": {
  18891. "description": "机构ID",
  18892. "type": "integer"
  18893. },
  18894. "wrstandardcode": {
  18895. "description": "品类代码",
  18896. "type": "string"
  18897. },
  18898. "wrstandardid": {
  18899. "description": "品类ID",
  18900. "type": "integer"
  18901. },
  18902. "wrstandardname": {
  18903. "description": "品类名称",
  18904. "type": "string"
  18905. }
  18906. }
  18907. },
  18908. "models.Ermcp3SpotGoodsPrice": {
  18909. "type": "object",
  18910. "properties": {
  18911. "areauserid": {
  18912. "description": "所属机构id",
  18913. "type": "integer"
  18914. },
  18915. "brandname": {
  18916. "description": "品牌名称",
  18917. "type": "string"
  18918. },
  18919. "currencyid": {
  18920. "description": "报价货币ID",
  18921. "type": "integer"
  18922. },
  18923. "currencyname": {
  18924. "description": "币种名称",
  18925. "type": "string"
  18926. },
  18927. "deliverygoodscode": {
  18928. "description": "现货商品代码",
  18929. "type": "string"
  18930. },
  18931. "deliverygoodsid": {
  18932. "description": "现货商品id",
  18933. "type": "integer"
  18934. },
  18935. "deliverygoodsname": {
  18936. "description": "现货商品名称",
  18937. "type": "string"
  18938. },
  18939. "enumdicname": {
  18940. "description": "现货商品单位名称",
  18941. "type": "string"
  18942. },
  18943. "gbenumdicname": {
  18944. "description": "品类单位名称",
  18945. "type": "string"
  18946. },
  18947. "gmunitid": {
  18948. "description": "品类单位id",
  18949. "type": "integer"
  18950. },
  18951. "isvalid": {
  18952. "description": "是否有效 - 0:无效 1:有效",
  18953. "type": "integer"
  18954. },
  18955. "operateid": {
  18956. "description": "最后操作人",
  18957. "type": "integer"
  18958. },
  18959. "operatesrc": {
  18960. "description": "最后操作来源 - 1:管理端 2:终端",
  18961. "type": "integer"
  18962. },
  18963. "operatetime": {
  18964. "description": "最后操作时间",
  18965. "type": "string"
  18966. },
  18967. "operatorname": {
  18968. "description": "操作人名称",
  18969. "type": "string"
  18970. },
  18971. "spotgoodsbrandid": {
  18972. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18973. "type": "integer"
  18974. },
  18975. "spotgoodsprice": {
  18976. "description": "现货价格",
  18977. "type": "number"
  18978. },
  18979. "tradedate": {
  18980. "description": "交易日(yyyyMMdd)",
  18981. "type": "string"
  18982. },
  18983. "unitid": {
  18984. "description": "现货商品单位id",
  18985. "type": "integer"
  18986. },
  18987. "wrstandardcode": {
  18988. "description": "品类代码",
  18989. "type": "string"
  18990. },
  18991. "wrstandardid": {
  18992. "description": "现货品类ID(通用则为0)",
  18993. "type": "integer"
  18994. },
  18995. "wrstandardname": {
  18996. "description": "品类名称",
  18997. "type": "string"
  18998. }
  18999. }
  19000. },
  19001. "models.Ermcp3SpotGoodsPriceLog": {
  19002. "type": "object",
  19003. "properties": {
  19004. "areauserid": {
  19005. "description": "所属机构id",
  19006. "type": "integer"
  19007. },
  19008. "brandname": {
  19009. "description": "品牌名称",
  19010. "type": "string"
  19011. },
  19012. "currencyid": {
  19013. "description": "报价货币ID",
  19014. "type": "integer"
  19015. },
  19016. "deliverygoodscode": {
  19017. "description": "现货商品代码",
  19018. "type": "string"
  19019. },
  19020. "deliverygoodsid": {
  19021. "description": "现货商品id",
  19022. "type": "integer"
  19023. },
  19024. "deliverygoodsname": {
  19025. "description": "现货商品名称",
  19026. "type": "string"
  19027. },
  19028. "enumdicname": {
  19029. "description": "现货商品单位名称",
  19030. "type": "string"
  19031. },
  19032. "gbenumdicname": {
  19033. "description": "品类单位名称",
  19034. "type": "string"
  19035. },
  19036. "gmunitid": {
  19037. "description": "品类单位id",
  19038. "type": "integer"
  19039. },
  19040. "logid": {
  19041. "description": "日志id",
  19042. "type": "integer"
  19043. },
  19044. "operateid": {
  19045. "description": "最后操作人",
  19046. "type": "integer"
  19047. },
  19048. "operatesrc": {
  19049. "description": "最后操作来源 - 1:管理端 2:终端",
  19050. "type": "integer"
  19051. },
  19052. "operatetime": {
  19053. "description": "最后操作时间",
  19054. "type": "string"
  19055. },
  19056. "operatorname": {
  19057. "description": "操作人名称",
  19058. "type": "string"
  19059. },
  19060. "spotgoodsbrandid": {
  19061. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19062. "type": "integer"
  19063. },
  19064. "spotgoodsprice": {
  19065. "description": "现货价格",
  19066. "type": "number"
  19067. },
  19068. "tradedate": {
  19069. "description": "交易日(yyyyMMdd)",
  19070. "type": "string"
  19071. },
  19072. "unitid": {
  19073. "description": "现货商品单位id",
  19074. "type": "integer"
  19075. },
  19076. "wrstandardcode": {
  19077. "description": "品类代码",
  19078. "type": "string"
  19079. },
  19080. "wrstandardid": {
  19081. "description": "现货品类ID(通用则为0)",
  19082. "type": "integer"
  19083. },
  19084. "wrstandardname": {
  19085. "description": "品类名称",
  19086. "type": "string"
  19087. }
  19088. }
  19089. },
  19090. "models.Ermcp3TaFutuReDataReport": {
  19091. "type": "object",
  19092. "properties": {
  19093. "accountid": {
  19094. "description": "交易账户",
  19095. "type": "integer"
  19096. },
  19097. "accountname": {
  19098. "description": "交易账号名称",
  19099. "type": "string"
  19100. },
  19101. "agreeunit": {
  19102. "description": "商品合约单位",
  19103. "type": "number"
  19104. },
  19105. "begindate": {
  19106. "description": "开始交易日",
  19107. "type": "string"
  19108. },
  19109. "buyorsell": {
  19110. "description": "持仓方向",
  19111. "type": "integer"
  19112. },
  19113. "charge": {
  19114. "description": "手续费",
  19115. "type": "number"
  19116. },
  19117. "closeavgprice": {
  19118. "description": "平仓均价",
  19119. "type": "number"
  19120. },
  19121. "closepl": {
  19122. "description": "平仓损益",
  19123. "type": "number"
  19124. },
  19125. "currencyid": {
  19126. "description": "结算币种ID",
  19127. "type": "integer"
  19128. },
  19129. "currencyname": {
  19130. "description": "币种名称",
  19131. "type": "string"
  19132. },
  19133. "cycletime": {
  19134. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19135. "type": "string"
  19136. },
  19137. "cycletype": {
  19138. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19139. "type": "integer"
  19140. },
  19141. "enddate": {
  19142. "description": "结束交易日",
  19143. "type": "string"
  19144. },
  19145. "enumdicname": {
  19146. "description": "单位名称",
  19147. "type": "string"
  19148. },
  19149. "floatpl": {
  19150. "description": "浮动损益",
  19151. "type": "number"
  19152. },
  19153. "goodscode": {
  19154. "description": "交易合约代码",
  19155. "type": "string"
  19156. },
  19157. "goodsgroupid": {
  19158. "description": "交易品种",
  19159. "type": "integer"
  19160. },
  19161. "goodsgroupname": {
  19162. "description": "交易品种名称",
  19163. "type": "string"
  19164. },
  19165. "goodsgroupspotqty": {
  19166. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  19167. "type": "number"
  19168. },
  19169. "goodsid": {
  19170. "description": "交易合约",
  19171. "type": "integer"
  19172. },
  19173. "goodsname": {
  19174. "description": "交易合约名称",
  19175. "type": "string"
  19176. },
  19177. "goodunitid": {
  19178. "description": "交易合约单位id",
  19179. "type": "integer"
  19180. },
  19181. "holdamount": {
  19182. "description": "期末持仓额",
  19183. "type": "number"
  19184. },
  19185. "holdqty": {
  19186. "description": "期末持仓量",
  19187. "type": "number"
  19188. },
  19189. "lastholdamount": {
  19190. "description": "当前持仓额",
  19191. "type": "number"
  19192. },
  19193. "lastprice": {
  19194. "description": "最新价",
  19195. "type": "number"
  19196. },
  19197. "middlegoodsid": {
  19198. "description": "套保品种id",
  19199. "type": "integer"
  19200. },
  19201. "middlegoodsname": {
  19202. "description": "套保商品名称",
  19203. "type": "string"
  19204. },
  19205. "middlegoodsqty": {
  19206. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  19207. "type": "number"
  19208. },
  19209. "middlgoodscode": {
  19210. "description": "套保商品代码",
  19211. "type": "string"
  19212. },
  19213. "openamount": {
  19214. "description": "期末开仓额",
  19215. "type": "number"
  19216. },
  19217. "openavgprice": {
  19218. "description": "开仓均价",
  19219. "type": "number"
  19220. },
  19221. "oriholdamount": {
  19222. "description": "期初持仓额",
  19223. "type": "number"
  19224. },
  19225. "oriholdqty": {
  19226. "description": "期初持仓量",
  19227. "type": "number"
  19228. },
  19229. "oriopenamount": {
  19230. "description": "期初开仓额",
  19231. "type": "number"
  19232. },
  19233. "outergroupcode": {
  19234. "description": "交易品种代码",
  19235. "type": "string"
  19236. },
  19237. "qtydecimalplace": {
  19238. "description": "成交量小数位",
  19239. "type": "integer"
  19240. },
  19241. "reckondate": {
  19242. "description": "日照时期(yyyyMMdd)",
  19243. "type": "string"
  19244. },
  19245. "reckonholdamount": {
  19246. "description": "结算持仓额",
  19247. "type": "number"
  19248. },
  19249. "reckonpl": {
  19250. "description": "结算损益",
  19251. "type": "number"
  19252. },
  19253. "reckonpl2": {
  19254. "description": "结算逐笔盈亏",
  19255. "type": "number"
  19256. },
  19257. "reckonprice": {
  19258. "description": "结算价",
  19259. "type": "number"
  19260. },
  19261. "relateduserid": {
  19262. "description": "账户关联用户ID",
  19263. "type": "integer"
  19264. },
  19265. "todaycloseamount": {
  19266. "description": "今平仓额",
  19267. "type": "number"
  19268. },
  19269. "todaycloseqty": {
  19270. "description": "今平仓量",
  19271. "type": "number"
  19272. },
  19273. "todaygoodsgroupspotqty": {
  19274. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  19275. "type": "number"
  19276. },
  19277. "todaymiddlegoodsqty": {
  19278. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  19279. "type": "number"
  19280. },
  19281. "todayopenamount": {
  19282. "description": "今开仓额",
  19283. "type": "number"
  19284. },
  19285. "todayopenqty": {
  19286. "description": "今开仓量",
  19287. "type": "number"
  19288. },
  19289. "userid": {
  19290. "description": "账户所属用户ID",
  19291. "type": "integer"
  19292. }
  19293. }
  19294. },
  19295. "models.Ermcp3Wrstandard": {
  19296. "type": "object",
  19297. "properties": {
  19298. "areauserid": {
  19299. "description": "所属机构",
  19300. "type": "integer"
  19301. },
  19302. "convertfactor": {
  19303. "description": "标仓系数",
  19304. "type": "number"
  19305. },
  19306. "createtime": {
  19307. "description": "创建时间",
  19308. "type": "string"
  19309. },
  19310. "creatorid": {
  19311. "description": "创建人",
  19312. "type": "integer"
  19313. },
  19314. "deliverygoodsid": {
  19315. "description": "现货品种ID",
  19316. "type": "integer"
  19317. },
  19318. "enumdicname": {
  19319. "description": "品类单位名称",
  19320. "type": "string"
  19321. },
  19322. "isvalid": {
  19323. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  19324. "type": "integer"
  19325. },
  19326. "minivalue": {
  19327. "description": "最小变动值",
  19328. "type": "integer"
  19329. },
  19330. "minivaluedp": {
  19331. "description": "最小变动值小数位",
  19332. "type": "integer"
  19333. },
  19334. "realminivalue": {
  19335. "description": "实际最小变动值",
  19336. "type": "integer"
  19337. },
  19338. "realminivaluedp": {
  19339. "description": "实际最小变动值小数位",
  19340. "type": "integer"
  19341. },
  19342. "remark": {
  19343. "description": "备注",
  19344. "type": "string"
  19345. },
  19346. "unitid": {
  19347. "description": "品类单位ID",
  19348. "type": "integer"
  19349. },
  19350. "updatetime": {
  19351. "description": "更新时间",
  19352. "type": "string"
  19353. },
  19354. "wrstandardcode": {
  19355. "description": "品类代码",
  19356. "type": "string"
  19357. },
  19358. "wrstandardid": {
  19359. "description": "品类ID(SEQ_WRSTANDARD)",
  19360. "type": "integer"
  19361. },
  19362. "wrstandardname": {
  19363. "description": "品类名称",
  19364. "type": "string"
  19365. }
  19366. }
  19367. },
  19368. "models.ErmcpAreaSpotDetailModel": {
  19369. "type": "object",
  19370. "properties": {
  19371. "contracttype": {
  19372. "description": "合同类型 1-采购 -1-销售",
  19373. "type": "integer"
  19374. },
  19375. "createtime": {
  19376. "description": "创建时间",
  19377. "type": "string"
  19378. },
  19379. "enumdicname": {
  19380. "description": "现货商品单位名称",
  19381. "type": "string"
  19382. },
  19383. "logtype": {
  19384. "description": "记录类型 1-套保 2-现货合同",
  19385. "type": "integer"
  19386. },
  19387. "qty": {
  19388. "description": "数量",
  19389. "type": "number"
  19390. },
  19391. "recordname": {
  19392. "description": "类型名称",
  19393. "type": "string"
  19394. },
  19395. "relatedid": {
  19396. "description": "套保计划ID/现货合同ID",
  19397. "type": "string"
  19398. },
  19399. "relatedno": {
  19400. "description": "编号",
  19401. "type": "string"
  19402. },
  19403. "strtime": {
  19404. "description": "时间",
  19405. "type": "string"
  19406. },
  19407. "wrstandardcode": {
  19408. "description": "现货商品代码",
  19409. "type": "string"
  19410. },
  19411. "wrstandardname": {
  19412. "description": "现货商品名称",
  19413. "type": "string"
  19414. }
  19415. }
  19416. },
  19417. "models.ErmcpAvalidGoodsGroupModel": {
  19418. "type": "object",
  19419. "properties": {
  19420. "goodsgroupid": {
  19421. "description": "期货品种id",
  19422. "type": "integer"
  19423. },
  19424. "goodsgroupname": {
  19425. "description": "期货品种名称",
  19426. "type": "string"
  19427. },
  19428. "goodunitid": {
  19429. "description": "品种单位id",
  19430. "type": "integer"
  19431. },
  19432. "goodunitname": {
  19433. "description": "品种单位名称",
  19434. "type": "string"
  19435. },
  19436. "outergroupcode": {
  19437. "description": "期货品种代码",
  19438. "type": "string"
  19439. }
  19440. }
  19441. },
  19442. "models.ErmcpBizGroupEx": {
  19443. "type": "object",
  19444. "properties": {
  19445. "acclist": {
  19446. "description": "账号列表",
  19447. "type": "array",
  19448. "items": {
  19449. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  19450. }
  19451. },
  19452. "bizgroupid": {
  19453. "description": "业务分组id",
  19454. "type": "integer"
  19455. },
  19456. "biztype": {
  19457. "description": "业务类型 1-套保 2-套利",
  19458. "type": "integer"
  19459. },
  19460. "wrlist": {
  19461. "description": "现货商品表",
  19462. "type": "array",
  19463. "items": {
  19464. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  19465. }
  19466. }
  19467. }
  19468. },
  19469. "models.ErmcpBizGroupSpotGoods": {
  19470. "type": "object",
  19471. "properties": {
  19472. "areauserid": {
  19473. "description": "所属机构id",
  19474. "type": "integer"
  19475. },
  19476. "bizgroupid": {
  19477. "description": "分组id",
  19478. "type": "integer"
  19479. },
  19480. "biztype": {
  19481. "description": "业务类型 1-套保 2-套利",
  19482. "type": "integer"
  19483. },
  19484. "deliverygoodscode": {
  19485. "description": "现货商品代码",
  19486. "type": "string"
  19487. },
  19488. "deliverygoodsid": {
  19489. "description": "现货商品id",
  19490. "type": "integer"
  19491. },
  19492. "deliverygoodsname": {
  19493. "description": "现货商品名称",
  19494. "type": "string"
  19495. },
  19496. "unitid": {
  19497. "description": "现货商品单位id",
  19498. "type": "integer"
  19499. }
  19500. }
  19501. },
  19502. "models.ErmcpBizGroupTaAccount": {
  19503. "type": "object",
  19504. "properties": {
  19505. "accountid": {
  19506. "description": "账号id",
  19507. "type": "integer"
  19508. },
  19509. "accountname": {
  19510. "description": "账号名称",
  19511. "type": "string"
  19512. },
  19513. "areauserid": {
  19514. "description": "所属机构id",
  19515. "type": "integer"
  19516. },
  19517. "bizgroupid": {
  19518. "description": "业务分组id",
  19519. "type": "integer"
  19520. },
  19521. "ismain": {
  19522. "description": "是否主账号 1-是 0-否",
  19523. "type": "integer"
  19524. }
  19525. }
  19526. },
  19527. "models.ErmcpDGFactoryItem": {
  19528. "type": "object",
  19529. "properties": {
  19530. "areauserid": {
  19531. "description": "用户id",
  19532. "type": "integer"
  19533. },
  19534. "deliverygoodsid": {
  19535. "description": "现货品种ID",
  19536. "type": "integer"
  19537. },
  19538. "dgfactoryitemid": {
  19539. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19540. "type": "integer"
  19541. },
  19542. "dgfactoryitemtypeid": {
  19543. "description": "要素项类型",
  19544. "type": "integer"
  19545. },
  19546. "dgfactoryitemvalue": {
  19547. "description": "要素项值(类型为仓库时填写仓库名称)",
  19548. "type": "string"
  19549. },
  19550. "isvalid": {
  19551. "description": "是否有效 - 0:无效 1:有效",
  19552. "type": "integer"
  19553. },
  19554. "orderindex": {
  19555. "description": "顺序",
  19556. "type": "integer"
  19557. },
  19558. "warehouseid": {
  19559. "description": "仓库ID(类型为仓库时填写)",
  19560. "type": "integer"
  19561. }
  19562. }
  19563. },
  19564. "models.ErmcpDeliveryGoods": {
  19565. "type": "object",
  19566. "properties": {
  19567. "agreeunit": {
  19568. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  19569. "type": "integer"
  19570. },
  19571. "areauserid": {
  19572. "description": "所属机构",
  19573. "type": "integer"
  19574. },
  19575. "auditflag": {
  19576. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  19577. "type": "integer"
  19578. },
  19579. "categoryid": {
  19580. "description": "类别ID(SEQ_WRCATEGORY)",
  19581. "type": "integer"
  19582. },
  19583. "deliverygoodscode": {
  19584. "description": "现货品种代码",
  19585. "type": "string"
  19586. },
  19587. "deliverygoodsid": {
  19588. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  19589. "type": "integer"
  19590. },
  19591. "deliverygoodsname": {
  19592. "description": "现货品种名称",
  19593. "type": "string"
  19594. },
  19595. "deliverygoodstype": {
  19596. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  19597. "type": "integer"
  19598. },
  19599. "dgstatus": {
  19600. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  19601. "type": "integer"
  19602. },
  19603. "enumdicname": {
  19604. "description": "现货品种单位名称",
  19605. "type": "string"
  19606. },
  19607. "goodsunitid": {
  19608. "description": "现货品种单位ID",
  19609. "type": "integer"
  19610. },
  19611. "isvalid": {
  19612. "description": "是否有效 - 0:无效 1:有效",
  19613. "type": "integer"
  19614. },
  19615. "qtydecimalplace": {
  19616. "description": "成交量小数位",
  19617. "type": "integer"
  19618. },
  19619. "remark": {
  19620. "description": "备注",
  19621. "type": "string"
  19622. },
  19623. "standardqty": {
  19624. "description": "标准数量(库位数量) [标准品特有]",
  19625. "type": "integer"
  19626. },
  19627. "standardqtyrange": {
  19628. "description": "标准数量偏差范围 [标准品特有]",
  19629. "type": "integer"
  19630. }
  19631. }
  19632. },
  19633. "models.ErmcpDeliveryGoodsDetail2": {
  19634. "type": "object",
  19635. "properties": {
  19636. "convertratio": {
  19637. "description": "套保系数(折算系数)",
  19638. "type": "number"
  19639. },
  19640. "data": {
  19641. "description": "现货商品基本信息(交割品种)",
  19642. "type": "object",
  19643. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19644. },
  19645. "gblist": {
  19646. "description": "品牌列表",
  19647. "type": "array",
  19648. "items": {
  19649. "$ref": "#/definitions/models.Ermcp3Brand"
  19650. }
  19651. },
  19652. "gmlist": {
  19653. "description": "品类列表(仓单标准)",
  19654. "type": "array",
  19655. "items": {
  19656. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19657. }
  19658. }
  19659. }
  19660. },
  19661. "models.ErmcpDeliveryGoodsDetailEx": {
  19662. "type": "object",
  19663. "properties": {
  19664. "data": {
  19665. "description": "现货商品基本信息(交割品种)",
  19666. "type": "object",
  19667. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19668. },
  19669. "gblist": {
  19670. "description": "品牌列表",
  19671. "type": "array",
  19672. "items": {
  19673. "$ref": "#/definitions/models.Ermcp3Brand"
  19674. }
  19675. },
  19676. "gmlist": {
  19677. "description": "品类列表(仓单标准)",
  19678. "type": "array",
  19679. "items": {
  19680. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19681. }
  19682. },
  19683. "mgList": {
  19684. "description": "套保列表",
  19685. "type": "array",
  19686. "items": {
  19687. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  19688. }
  19689. }
  19690. }
  19691. },
  19692. "models.ErmcpExposureDetailModel": {
  19693. "type": "object",
  19694. "properties": {
  19695. "areauserid": {
  19696. "description": "机构ID",
  19697. "type": "integer"
  19698. },
  19699. "changeQty": {
  19700. "description": "套保变动量",
  19701. "type": "number"
  19702. },
  19703. "contracttype": {
  19704. "description": "现货合同类型 - 1:采购 -1:销售",
  19705. "type": "integer"
  19706. },
  19707. "convertfactor": {
  19708. "description": "标仓系数",
  19709. "type": "number"
  19710. },
  19711. "convertratio": {
  19712. "description": "套保系数",
  19713. "type": "number"
  19714. },
  19715. "createtime": {
  19716. "description": "时间",
  19717. "type": "string"
  19718. },
  19719. "enumdicname": {
  19720. "description": "现货商品单位名称",
  19721. "type": "string"
  19722. },
  19723. "logtype": {
  19724. "description": "类型 - 1:套保计划 2:现货合同",
  19725. "type": "integer"
  19726. },
  19727. "middlegoodsId": {
  19728. "description": "套保商品id",
  19729. "type": "integer"
  19730. },
  19731. "middlegoodscode": {
  19732. "description": "套保商品代码",
  19733. "type": "string"
  19734. },
  19735. "middlegoodsname": {
  19736. "description": "套保商品名称",
  19737. "type": "string"
  19738. },
  19739. "qty": {
  19740. "description": "数量",
  19741. "type": "number"
  19742. },
  19743. "relateNo": {
  19744. "description": "现货合同/套保计划编号",
  19745. "type": "string"
  19746. },
  19747. "wrstandardcode": {
  19748. "description": "现货商品代码",
  19749. "type": "string"
  19750. },
  19751. "wrstandardid": {
  19752. "description": "现货商品ID",
  19753. "type": "integer"
  19754. },
  19755. "wrstandardname": {
  19756. "description": "现货商品名称",
  19757. "type": "string"
  19758. }
  19759. }
  19760. },
  19761. "models.ErmcpExposurePostion": {
  19762. "type": "object",
  19763. "properties": {
  19764. "agreeunit": {
  19765. "description": "合约单位",
  19766. "type": "string"
  19767. },
  19768. "areauserid": {
  19769. "description": "所属机构id",
  19770. "type": "integer"
  19771. },
  19772. "convertratio": {
  19773. "description": "期货品种系数(折算系数)",
  19774. "type": "number"
  19775. },
  19776. "curqty": {
  19777. "description": "当前持仓",
  19778. "type": "integer"
  19779. },
  19780. "diffhedgeqty": {
  19781. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19782. "type": "number"
  19783. },
  19784. "diffqty": {
  19785. "description": "持仓变动量=当前持仓-昨日持仓",
  19786. "type": "integer"
  19787. },
  19788. "goodscode": {
  19789. "description": "商品代码",
  19790. "type": "string"
  19791. },
  19792. "goodsid": {
  19793. "description": "商品id",
  19794. "type": "integer"
  19795. },
  19796. "goodsname": {
  19797. "description": "商品名称",
  19798. "type": "string"
  19799. },
  19800. "middlegoodsid": {
  19801. "description": "套保商品id",
  19802. "type": "integer"
  19803. },
  19804. "ydqty": {
  19805. "description": "昨日持仓",
  19806. "type": "integer"
  19807. }
  19808. }
  19809. },
  19810. "models.ErmcpFuturesCompany": {
  19811. "type": "object",
  19812. "properties": {
  19813. "brokerid": {
  19814. "description": "经纪公司代码",
  19815. "type": "string"
  19816. },
  19817. "channeladdress": {
  19818. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  19819. "type": "string"
  19820. },
  19821. "channelid": {
  19822. "description": "对冲渠道ID",
  19823. "type": "string"
  19824. },
  19825. "createtime": {
  19826. "description": "创建时间",
  19827. "type": "string"
  19828. },
  19829. "creatorid": {
  19830. "description": "创建人",
  19831. "type": "string"
  19832. },
  19833. "fcid": {
  19834. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  19835. "type": "integer"
  19836. },
  19837. "fcname": {
  19838. "description": "期货公司名称",
  19839. "type": "string"
  19840. },
  19841. "isvalid": {
  19842. "description": "是否有效 - 0:无效 1:有效",
  19843. "type": "integer"
  19844. },
  19845. "mhpaddress": {
  19846. "description": "MHP服务地址(IP:Port)",
  19847. "type": "string"
  19848. },
  19849. "riskrulegroupid": {
  19850. "description": "风控规则组ID",
  19851. "type": "string"
  19852. },
  19853. "tradefeetmpid": {
  19854. "description": "手续费模板ID[TradeConfigTmpType为2]",
  19855. "type": "string"
  19856. },
  19857. "trademargintmpid": {
  19858. "description": "保证金模板ID [TradeConfigTmpType为1]",
  19859. "type": "string"
  19860. },
  19861. "traderatetmpid": {
  19862. "description": "汇率模板ID[TradeConfigTmpType为3]",
  19863. "type": "string"
  19864. },
  19865. "updatetime": {
  19866. "description": "更新时间",
  19867. "type": "string"
  19868. },
  19869. "updatorid": {
  19870. "description": "更新人",
  19871. "type": "string"
  19872. }
  19873. }
  19874. },
  19875. "models.ErmcpGGConvertCfg": {
  19876. "type": "object",
  19877. "properties": {
  19878. "convertratio": {
  19879. "description": "折算系数",
  19880. "type": "number"
  19881. },
  19882. "destgoodsgroupid": {
  19883. "description": "目标品种ID",
  19884. "type": "integer"
  19885. },
  19886. "dstcode": {
  19887. "description": "目录品种代码",
  19888. "type": "string"
  19889. },
  19890. "dstexchangecode": {
  19891. "description": "目标期货交易所",
  19892. "type": "string"
  19893. },
  19894. "dstname": {
  19895. "description": "目标品种名称",
  19896. "type": "string"
  19897. },
  19898. "dstunitid": {
  19899. "description": "目标品种单位ID",
  19900. "type": "integer"
  19901. },
  19902. "dstunitidname": {
  19903. "description": "目标品种单位名称",
  19904. "type": "string"
  19905. },
  19906. "modifytime": {
  19907. "description": "修改时间",
  19908. "type": "string"
  19909. },
  19910. "srccode": {
  19911. "description": "源品种代码",
  19912. "type": "string"
  19913. },
  19914. "srcexchangecode": {
  19915. "description": "源期货交易所",
  19916. "type": "string"
  19917. },
  19918. "srcgoodsgroupid": {
  19919. "description": "源品种ID",
  19920. "type": "integer"
  19921. },
  19922. "srcname": {
  19923. "description": "源品种名称",
  19924. "type": "string"
  19925. },
  19926. "srcunitid": {
  19927. "description": "源品种单位ID",
  19928. "type": "integer"
  19929. },
  19930. "srcunitidname": {
  19931. "description": "源品种单位名称",
  19932. "type": "string"
  19933. }
  19934. }
  19935. },
  19936. "models.ErmcpGoods": {
  19937. "type": "object",
  19938. "required": [
  19939. "goodscode",
  19940. "goodsid",
  19941. "goodsname",
  19942. "marketid"
  19943. ],
  19944. "properties": {
  19945. "agreeunit": {
  19946. "description": "合约单位",
  19947. "type": "number"
  19948. },
  19949. "areauserid": {
  19950. "description": "所属机构",
  19951. "type": "integer"
  19952. },
  19953. "auditaccountid": {
  19954. "description": "审核操作员账号",
  19955. "type": "integer"
  19956. },
  19957. "audittime": {
  19958. "description": "审核时间",
  19959. "type": "string"
  19960. },
  19961. "cancelaccountid": {
  19962. "description": "注销操作员账号",
  19963. "type": "integer"
  19964. },
  19965. "canceltime": {
  19966. "description": "注销时间",
  19967. "type": "string"
  19968. },
  19969. "closepricemode": {
  19970. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19971. "type": "integer"
  19972. },
  19973. "closepriceparam": {
  19974. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19975. "type": "number"
  19976. },
  19977. "createtime": {
  19978. "description": "创建时间",
  19979. "type": "string"
  19980. },
  19981. "creatorid": {
  19982. "description": "创建人",
  19983. "type": "integer"
  19984. },
  19985. "currencyid": {
  19986. "description": "报价货币ID",
  19987. "type": "integer"
  19988. },
  19989. "cutmode": {
  19990. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19991. "type": "integer"
  19992. },
  19993. "decimalplace": {
  19994. "description": "报价小数位",
  19995. "type": "integer"
  19996. },
  19997. "delistingdate": {
  19998. "description": "商品退市时间(状态:退市) -- 已作废",
  19999. "type": "string"
  20000. },
  20001. "delistingmode": {
  20002. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20003. "type": "integer"
  20004. },
  20005. "deliveryflag": {
  20006. "description": "交割标志 - 0:不可交割 1:可交割",
  20007. "type": "integer"
  20008. },
  20009. "enumdicname": {
  20010. "description": "单位名称",
  20011. "type": "string"
  20012. },
  20013. "forceclosemode": {
  20014. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20015. "type": "integer"
  20016. },
  20017. "forceclosevalue": {
  20018. "description": "定期强平参数 [收益权]",
  20019. "type": "integer"
  20020. },
  20021. "goodscode": {
  20022. "description": "商品代码(内部)",
  20023. "type": "string"
  20024. },
  20025. "goodscurrencyid": {
  20026. "description": "合约货币ID",
  20027. "type": "integer"
  20028. },
  20029. "goodsgroupid": {
  20030. "description": "所属商品组ID",
  20031. "type": "integer"
  20032. },
  20033. "goodsid": {
  20034. "description": "商品ID(自增ID SEQ_GOODS)",
  20035. "type": "integer"
  20036. },
  20037. "goodsname": {
  20038. "description": "商品名称",
  20039. "type": "string"
  20040. },
  20041. "goodsquotetype": {
  20042. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20043. "type": "integer"
  20044. },
  20045. "goodsstatus": {
  20046. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20047. "type": "integer"
  20048. },
  20049. "goodstradetype": {
  20050. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20051. "type": "integer"
  20052. },
  20053. "goodunitid": {
  20054. "description": "报价单位ID",
  20055. "type": "integer"
  20056. },
  20057. "hasquoter": {
  20058. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20059. "type": "integer"
  20060. },
  20061. "hqprotecttime": {
  20062. "description": "行情保护时间(秒)",
  20063. "type": "integer"
  20064. },
  20065. "innerdealmode": {
  20066. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20067. "type": "integer"
  20068. },
  20069. "isbuylimited": {
  20070. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20071. "type": "integer"
  20072. },
  20073. "isvisible": {
  20074. "description": "游客是否可见 - 0:不可见 1:可见",
  20075. "type": "integer"
  20076. },
  20077. "lasttradedate": {
  20078. "description": "最后交易日期(状态:待退市)",
  20079. "type": "string"
  20080. },
  20081. "listingdate": {
  20082. "description": "交易开始日期",
  20083. "type": "string"
  20084. },
  20085. "marketid": {
  20086. "description": "所属市场ID",
  20087. "type": "integer"
  20088. },
  20089. "modifierid": {
  20090. "description": "修改人",
  20091. "type": "integer"
  20092. },
  20093. "modifystatus": {
  20094. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20095. "type": "integer"
  20096. },
  20097. "modifytime": {
  20098. "description": "修改时间",
  20099. "type": "string"
  20100. },
  20101. "outerdealmode": {
  20102. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20103. "type": "integer"
  20104. },
  20105. "outgoodscode": {
  20106. "description": "商品代码(外部)",
  20107. "type": "string"
  20108. },
  20109. "pictureurl": {
  20110. "description": "商品图片",
  20111. "type": "string"
  20112. },
  20113. "qtydecimalplace": {
  20114. "description": "成交量小数位",
  20115. "type": "integer"
  20116. },
  20117. "quotegear": {
  20118. "description": "行情档位(1-10)",
  20119. "type": "integer"
  20120. },
  20121. "quoteminunit": {
  20122. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20123. "type": "integer"
  20124. },
  20125. "quoteshowtype": {
  20126. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20127. "type": "integer"
  20128. },
  20129. "quoteshowtypeinterval": {
  20130. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20131. "type": "integer"
  20132. },
  20133. "relatedgoodsid": {
  20134. "description": "关联参考商品ID",
  20135. "type": "integer"
  20136. },
  20137. "remark": {
  20138. "description": "备注",
  20139. "type": "string"
  20140. },
  20141. "trademode": {
  20142. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20143. "type": "integer"
  20144. }
  20145. }
  20146. },
  20147. "models.ErmcpGoodsBrand": {
  20148. "type": "object",
  20149. "properties": {
  20150. "areauserid": {
  20151. "description": "所属机构",
  20152. "type": "integer"
  20153. },
  20154. "brandid": {
  20155. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  20156. "type": "integer"
  20157. },
  20158. "brandname": {
  20159. "description": "品牌名称",
  20160. "type": "string"
  20161. },
  20162. "createtime": {
  20163. "description": "创建时间",
  20164. "type": "string"
  20165. },
  20166. "creatorid": {
  20167. "description": "创建人",
  20168. "type": "integer"
  20169. },
  20170. "creatorsrc": {
  20171. "description": "创建人来源 - 1:管理端 2:终端",
  20172. "type": "integer"
  20173. },
  20174. "deliverygoodsid": {
  20175. "description": "现货品种ID",
  20176. "type": "integer"
  20177. },
  20178. "isvalid": {
  20179. "description": "是否有效 - 0:无效 1:有效",
  20180. "type": "integer"
  20181. },
  20182. "updatetime": {
  20183. "description": "更新时间",
  20184. "type": "string"
  20185. },
  20186. "updatorid": {
  20187. "description": "更新人",
  20188. "type": "integer"
  20189. },
  20190. "updatorsrc": {
  20191. "description": "更新人来源 - 1:管理端 2:终端",
  20192. "type": "integer"
  20193. },
  20194. "wrstandardid": {
  20195. "description": "现货商品ID",
  20196. "type": "integer"
  20197. }
  20198. }
  20199. },
  20200. "models.ErmcpGoodsModel": {
  20201. "type": "object",
  20202. "properties": {
  20203. "areauserid": {
  20204. "description": "所属机构",
  20205. "type": "integer"
  20206. },
  20207. "convertfactor": {
  20208. "description": "标仓系数",
  20209. "type": "number"
  20210. },
  20211. "createtime": {
  20212. "description": "创建时间",
  20213. "type": "string"
  20214. },
  20215. "creatorid": {
  20216. "description": "创建人",
  20217. "type": "integer"
  20218. },
  20219. "creatorsrc": {
  20220. "description": "创建人来源 - 1:管理端 2:终端",
  20221. "type": "integer"
  20222. },
  20223. "deliverygoodsid": {
  20224. "description": "现货品种ID",
  20225. "type": "integer"
  20226. },
  20227. "isvalid": {
  20228. "description": "是否有效 - 0:无效 1:有效",
  20229. "type": "integer"
  20230. },
  20231. "modelid": {
  20232. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  20233. "type": "integer"
  20234. },
  20235. "modelname": {
  20236. "description": "型号名称",
  20237. "type": "string"
  20238. },
  20239. "updatetime": {
  20240. "description": "更新时间",
  20241. "type": "string"
  20242. },
  20243. "updatorid": {
  20244. "description": "更新人",
  20245. "type": "integer"
  20246. },
  20247. "updatorsrc": {
  20248. "description": "更新人来源 - 1:管理端 2:终端",
  20249. "type": "integer"
  20250. },
  20251. "wrstandardid": {
  20252. "description": "现货商品ID",
  20253. "type": "integer"
  20254. }
  20255. }
  20256. },
  20257. "models.ErmcpHedgePosition": {
  20258. "type": "object",
  20259. "properties": {
  20260. "accountid": {
  20261. "description": "资金账号[外部母账户]",
  20262. "type": "integer"
  20263. },
  20264. "curbuyposition": {
  20265. "description": "期末买头寸",
  20266. "type": "integer"
  20267. },
  20268. "cursellposition": {
  20269. "description": "期末卖头寸",
  20270. "type": "integer"
  20271. },
  20272. "curtdbuyposition": {
  20273. "description": "期末今日买头寸",
  20274. "type": "integer"
  20275. },
  20276. "curtdsellposition": {
  20277. "description": "期末今日卖头寸",
  20278. "type": "integer"
  20279. },
  20280. "curydbuyposition": {
  20281. "description": "期末上日买头寸",
  20282. "type": "integer"
  20283. },
  20284. "curydsellposition": {
  20285. "description": "期末上日卖头寸",
  20286. "type": "integer"
  20287. },
  20288. "decreaseqty": {
  20289. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  20290. "type": "integer"
  20291. },
  20292. "fretdbuyposition": {
  20293. "description": "冻结今日买头寸",
  20294. "type": "integer"
  20295. },
  20296. "fretdsellposition": {
  20297. "description": "冻结今日卖头寸",
  20298. "type": "integer"
  20299. },
  20300. "freydbuyposition": {
  20301. "description": "冻结上日买头寸",
  20302. "type": "integer"
  20303. },
  20304. "freydsellposition": {
  20305. "description": "冻结上日卖头寸",
  20306. "type": "integer"
  20307. },
  20308. "goodscode": {
  20309. "description": "商品代码",
  20310. "type": "string"
  20311. },
  20312. "goodsid": {
  20313. "description": "商品id",
  20314. "type": "integer"
  20315. },
  20316. "goodsname": {
  20317. "description": "商品名称",
  20318. "type": "string"
  20319. },
  20320. "hedgeaccountcode": {
  20321. "description": "对冲账号",
  20322. "type": "string"
  20323. },
  20324. "hedgegoodsid": {
  20325. "description": "对冲合约ID",
  20326. "type": "integer"
  20327. },
  20328. "increaseqty": {
  20329. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  20330. "type": "integer"
  20331. },
  20332. "marketid": {
  20333. "description": "市场ID",
  20334. "type": "integer"
  20335. },
  20336. "relateduserid": {
  20337. "description": "关联用户id",
  20338. "type": "integer"
  20339. },
  20340. "totalcurqty": {
  20341. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  20342. "type": "integer"
  20343. },
  20344. "totalydqty": {
  20345. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  20346. "type": "integer"
  20347. },
  20348. "tradedate": {
  20349. "description": "交易日(yyyyMMdd)",
  20350. "type": "string"
  20351. },
  20352. "ydbuyposition": {
  20353. "description": "期初买头寸",
  20354. "type": "integer"
  20355. },
  20356. "ydsellposition": {
  20357. "description": "期初卖头寸",
  20358. "type": "integer"
  20359. }
  20360. }
  20361. },
  20362. "models.ErmcpHedgePositionDetail": {
  20363. "type": "object",
  20364. "properties": {
  20365. "buyorsell": {
  20366. "description": "买卖方向 0-买 1-卖",
  20367. "type": "integer"
  20368. },
  20369. "channelbuildtype": {
  20370. "description": "开平方向 1-建仓 2-平仓",
  20371. "type": "integer"
  20372. },
  20373. "goodscode": {
  20374. "description": "商品代码",
  20375. "type": "string"
  20376. },
  20377. "goodsname": {
  20378. "description": "商品名称",
  20379. "type": "string"
  20380. },
  20381. "hedgegoodsid": {
  20382. "description": "商品id",
  20383. "type": "integer"
  20384. },
  20385. "tradeqty": {
  20386. "description": "数量(成交数量)",
  20387. "type": "integer"
  20388. },
  20389. "tradetime": {
  20390. "description": "时间(成交时间)",
  20391. "type": "string"
  20392. }
  20393. }
  20394. },
  20395. "models.ErmcpHisExposure": {
  20396. "type": "object",
  20397. "properties": {
  20398. "needhedgeexposoure": {
  20399. "description": "应套保敞口",
  20400. "type": "number"
  20401. },
  20402. "reckondate": {
  20403. "description": "日照时期(yyyyMMdd)",
  20404. "type": "string"
  20405. },
  20406. "totalexposure": {
  20407. "description": "总敞口",
  20408. "type": "number"
  20409. }
  20410. }
  20411. },
  20412. "models.ErmcpHisExposureS": {
  20413. "type": "object",
  20414. "properties": {
  20415. "data": {
  20416. "description": "历史敞口",
  20417. "type": "array",
  20418. "items": {
  20419. "$ref": "#/definitions/models.ErmcpHisExposure"
  20420. }
  20421. },
  20422. "enumdicname": {
  20423. "description": "单位名称",
  20424. "type": "string"
  20425. },
  20426. "middlegoodscode": {
  20427. "description": "套保品种代码",
  20428. "type": "string"
  20429. },
  20430. "middlegoodsid": {
  20431. "description": "套保品种ID",
  20432. "type": "integer"
  20433. },
  20434. "middlegoodsname": {
  20435. "description": "套保品种名称",
  20436. "type": "string"
  20437. }
  20438. }
  20439. },
  20440. "models.ErmcpLoginTaAccount": {
  20441. "type": "object",
  20442. "properties": {
  20443. "accountid": {
  20444. "description": "账号id",
  20445. "type": "integer"
  20446. },
  20447. "accountname": {
  20448. "description": "账号名称",
  20449. "type": "string"
  20450. }
  20451. }
  20452. },
  20453. "models.ErmcpLoginUser": {
  20454. "type": "object",
  20455. "properties": {
  20456. "acclist": {
  20457. "description": "关联资金账号",
  20458. "type": "array",
  20459. "items": {
  20460. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  20461. }
  20462. },
  20463. "accountname": {
  20464. "description": "用户名称",
  20465. "type": "string"
  20466. },
  20467. "clientroleid": {
  20468. "description": "角色id(usertype=2)",
  20469. "type": "integer"
  20470. },
  20471. "createtime": {
  20472. "description": "创建时间",
  20473. "type": "string"
  20474. },
  20475. "logincode": {
  20476. "description": "登录代码",
  20477. "type": "string"
  20478. },
  20479. "loginid": {
  20480. "description": "登录id(LOGINID)",
  20481. "type": "integer"
  20482. },
  20483. "loginname": {
  20484. "description": "登录名称(loginaccount表中的accountname字段)",
  20485. "type": "string"
  20486. },
  20487. "loginstatus": {
  20488. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  20489. "type": "integer"
  20490. },
  20491. "memberuserid": {
  20492. "description": "所属会员id",
  20493. "type": "integer"
  20494. },
  20495. "mobile": {
  20496. "description": "手机号",
  20497. "type": "string"
  20498. },
  20499. "modifytime": {
  20500. "description": "修改时间",
  20501. "type": "string"
  20502. },
  20503. "password": {
  20504. "description": "密码(不可解密)",
  20505. "type": "string"
  20506. },
  20507. "rolename": {
  20508. "description": "角色名称",
  20509. "type": "string"
  20510. },
  20511. "rolestatus": {
  20512. "description": "角色状态 1-启用 2-停用",
  20513. "type": "integer"
  20514. },
  20515. "roletype": {
  20516. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  20517. "type": "string"
  20518. },
  20519. "userid": {
  20520. "description": "用户id",
  20521. "type": "integer"
  20522. },
  20523. "usertype": {
  20524. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  20525. "type": "integer"
  20526. }
  20527. }
  20528. },
  20529. "models.ErmcpLoginUserEx": {
  20530. "type": "object",
  20531. "properties": {
  20532. "accountstatus": {
  20533. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  20534. "type": "integer"
  20535. },
  20536. "mobile": {
  20537. "description": "手机号",
  20538. "type": "string"
  20539. },
  20540. "querytype": {
  20541. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  20542. "type": "integer"
  20543. },
  20544. "roleid": {
  20545. "description": "角色id(交易账户-\u003e用户id)",
  20546. "type": "integer"
  20547. },
  20548. "rolename": {
  20549. "description": "角色名称(交易账户-\u003e用户名称)",
  20550. "type": "string"
  20551. },
  20552. "userlist": {
  20553. "description": "用户列表",
  20554. "type": "array",
  20555. "items": {
  20556. "$ref": "#/definitions/models.ErmcpLoginUser"
  20557. }
  20558. },
  20559. "usertype": {
  20560. "description": "用户类型 2-机构 7-企业成员(云平台)",
  20561. "type": "integer"
  20562. }
  20563. }
  20564. },
  20565. "models.ErmcpMiddleGoodsChangeLog": {
  20566. "type": "object",
  20567. "properties": {
  20568. "aftervalue": {
  20569. "description": "变更后",
  20570. "type": "number"
  20571. },
  20572. "applyid": {
  20573. "description": "操作人",
  20574. "type": "integer"
  20575. },
  20576. "applyname": {
  20577. "description": "操作人名称",
  20578. "type": "string"
  20579. },
  20580. "applysrc": {
  20581. "description": "操作来源 - 1:管理端 2:终端",
  20582. "type": "integer"
  20583. },
  20584. "beforevalue": {
  20585. "description": "变更前",
  20586. "type": "number"
  20587. },
  20588. "changelogtype": {
  20589. "description": "变更流水类型 - 1:套保比率变更",
  20590. "type": "integer"
  20591. },
  20592. "handlestatus": {
  20593. "description": "处理状态",
  20594. "type": "integer"
  20595. },
  20596. "logdatetime": {
  20597. "description": "流水日期",
  20598. "type": "string"
  20599. },
  20600. "logid": {
  20601. "description": "流水ID",
  20602. "type": "integer"
  20603. },
  20604. "logremark": {
  20605. "description": "流水备注",
  20606. "type": "string"
  20607. },
  20608. "middlegoodsid": {
  20609. "description": "套保品种ID",
  20610. "type": "integer"
  20611. },
  20612. "tradedate": {
  20613. "description": "交易日(yyyyMMdd)",
  20614. "type": "string"
  20615. },
  20616. "updatetime": {
  20617. "description": "更新时间",
  20618. "type": "string"
  20619. }
  20620. }
  20621. },
  20622. "models.ErmcpMiddleGoodsDetail": {
  20623. "type": "object",
  20624. "properties": {
  20625. "cvList": {
  20626. "description": "期货品种折算列表",
  20627. "type": "array",
  20628. "items": {
  20629. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  20630. }
  20631. },
  20632. "mg": {
  20633. "description": "套保品种基本信息",
  20634. "type": "object",
  20635. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  20636. },
  20637. "wrcList": {
  20638. "description": "现货品种列表(现货商品折算配置)",
  20639. "type": "array",
  20640. "items": {
  20641. "$ref": "#/definitions/models.WRSConverTDetail"
  20642. }
  20643. }
  20644. }
  20645. },
  20646. "models.ErmcpMiddleGoodsModel": {
  20647. "type": "object",
  20648. "properties": {
  20649. "areauserid": {
  20650. "description": "机构用户ID",
  20651. "type": "integer"
  20652. },
  20653. "createtime": {
  20654. "description": "修改时间",
  20655. "type": "string"
  20656. },
  20657. "enumdicname": {
  20658. "description": "单位名称",
  20659. "type": "string"
  20660. },
  20661. "evaluateratio": {
  20662. "description": "估价系数",
  20663. "type": "number"
  20664. },
  20665. "goodsgroupid": {
  20666. "description": "关联期货品种ID",
  20667. "type": "integer"
  20668. },
  20669. "goodsunitid": {
  20670. "description": "单位ID",
  20671. "type": "integer"
  20672. },
  20673. "isvalid": {
  20674. "description": "状态 0-无效(停用) 1-有效(正常)",
  20675. "type": "integer"
  20676. },
  20677. "middlegoodscode": {
  20678. "description": "套保品种代码",
  20679. "type": "string"
  20680. },
  20681. "middlegoodsid": {
  20682. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20683. "type": "integer"
  20684. },
  20685. "middlegoodsname": {
  20686. "description": "套保品种名称",
  20687. "type": "string"
  20688. },
  20689. "modifytime": {
  20690. "description": "修改时间",
  20691. "type": "string"
  20692. },
  20693. "needarbitrageratio": {
  20694. "description": "套利比例",
  20695. "type": "number"
  20696. },
  20697. "needhedgeratio": {
  20698. "description": "套保比率",
  20699. "type": "number"
  20700. },
  20701. "qtydecimalplace": {
  20702. "description": "数量小数位",
  20703. "type": "integer"
  20704. },
  20705. "relatedgoodsid": {
  20706. "description": "关联交易商品ID",
  20707. "type": "integer"
  20708. },
  20709. "relatedgoodstype": {
  20710. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  20711. "type": "integer"
  20712. },
  20713. "remark": {
  20714. "description": "备注",
  20715. "type": "string"
  20716. }
  20717. }
  20718. },
  20719. "models.ErmcpMiddlegoodsRelateGoods": {
  20720. "type": "object",
  20721. "properties": {
  20722. "agreeunit": {
  20723. "description": "合约乘数",
  20724. "type": "number"
  20725. },
  20726. "convertratio": {
  20727. "description": "折算系数",
  20728. "type": "number"
  20729. },
  20730. "enumdicname": {
  20731. "description": "单位名称(交易商品)",
  20732. "type": "string"
  20733. },
  20734. "goodscode": {
  20735. "description": "交易商品代码",
  20736. "type": "string"
  20737. },
  20738. "goodsgroupid": {
  20739. "description": "交易品种id",
  20740. "type": "integer"
  20741. },
  20742. "goodsid": {
  20743. "description": "商品Id",
  20744. "type": "integer"
  20745. },
  20746. "goodsname": {
  20747. "description": "交易商品名称",
  20748. "type": "string"
  20749. },
  20750. "goodunitid": {
  20751. "description": "交易商品单位id",
  20752. "type": "integer"
  20753. },
  20754. "middlegoodsid": {
  20755. "description": "套保商品id",
  20756. "type": "integer"
  20757. },
  20758. "middlegoodsname": {
  20759. "description": "套保商品名称",
  20760. "type": "string"
  20761. },
  20762. "middlegoodsswcode": {
  20763. "description": "套保商品代码",
  20764. "type": "string"
  20765. },
  20766. "needarbitrageratio": {
  20767. "description": "应套利比例",
  20768. "type": "number"
  20769. },
  20770. "needhedgeratio": {
  20771. "description": "应套保比例",
  20772. "type": "number"
  20773. }
  20774. }
  20775. },
  20776. "models.ErmcpOPLogModel": {
  20777. "type": "object",
  20778. "properties": {
  20779. "aftervalue": {
  20780. "description": "变更后",
  20781. "type": "number"
  20782. },
  20783. "applyid": {
  20784. "description": "操作人ID",
  20785. "type": "string"
  20786. },
  20787. "applyname": {
  20788. "description": "操作人名称",
  20789. "type": "string"
  20790. },
  20791. "beforevalue": {
  20792. "description": "变更前",
  20793. "type": "number"
  20794. },
  20795. "biztype": {
  20796. "description": "业务类型 - 1:套保计划 2:现货合同",
  20797. "type": "integer"
  20798. },
  20799. "contracttype": {
  20800. "description": "现货合同类型 - 1:采购 -1:销售",
  20801. "type": "integer"
  20802. },
  20803. "logvalue": {
  20804. "description": "数值",
  20805. "type": "number"
  20806. },
  20807. "operatelogtype": {
  20808. "description": "操作流水类型",
  20809. "type": "integer"
  20810. },
  20811. "operatelogtypedesc": {
  20812. "description": "操作流水类型名称",
  20813. "type": "string"
  20814. },
  20815. "relatedid": {
  20816. "description": "现货合同ID\\套保计划",
  20817. "type": "string"
  20818. },
  20819. "updatetime": {
  20820. "description": "更新时间",
  20821. "type": "string"
  20822. }
  20823. }
  20824. },
  20825. "models.ErmcpPendingAudit": {
  20826. "type": "object",
  20827. "properties": {
  20828. "areastockqty": {
  20829. "description": "待审核数量: 库存申请",
  20830. "type": "integer"
  20831. },
  20832. "businessdjqty": {
  20833. "description": "待审核数量: 点价",
  20834. "type": "integer"
  20835. },
  20836. "businessfpqty": {
  20837. "description": "待审核数量: 发票",
  20838. "type": "integer"
  20839. },
  20840. "businessjsqty": {
  20841. "description": "待审核数量: 结算",
  20842. "type": "integer"
  20843. },
  20844. "businesskxqty": {
  20845. "description": "待审核数量: 款项",
  20846. "type": "integer"
  20847. },
  20848. "hedgeplanqty": {
  20849. "description": "待审核数量: 套保计划",
  20850. "type": "integer"
  20851. },
  20852. "spotcontractqty": {
  20853. "description": "待审核数量: 现货合同",
  20854. "type": "integer"
  20855. },
  20856. "userqty": {
  20857. "description": "待审核数量: 用户",
  20858. "type": "integer"
  20859. }
  20860. }
  20861. },
  20862. "models.ErmcpRealExposureModel": {
  20863. "type": "object",
  20864. "properties": {
  20865. "AreaUserID": {
  20866. "description": "所属机构",
  20867. "type": "integer"
  20868. },
  20869. "BuyFutureQty": {
  20870. "description": "买入期货数量",
  20871. "type": "number"
  20872. },
  20873. "BuyPlanQty": {
  20874. "description": "采购计划数量",
  20875. "type": "number"
  20876. },
  20877. "BuyPricedQty": {
  20878. "description": "采购合同已定价数量",
  20879. "type": "number"
  20880. },
  20881. "MiddleGoodsCode": {
  20882. "description": "套保品种代码",
  20883. "type": "string"
  20884. },
  20885. "MiddleGoodsHedgeRatio": {
  20886. "description": "套保比例",
  20887. "type": "number"
  20888. },
  20889. "MiddleGoodsID": {
  20890. "description": "套保品种",
  20891. "type": "integer"
  20892. },
  20893. "MiddleGoodsName": {
  20894. "description": "套保品种名称",
  20895. "type": "string"
  20896. },
  20897. "NeedHedgeExposoure": {
  20898. "description": "应套保敞口(套保敞口)",
  20899. "type": "number"
  20900. },
  20901. "NeedHedgeRatio": {
  20902. "description": "应套保敞口比例",
  20903. "type": "number"
  20904. },
  20905. "OriBuyFutureQty": {
  20906. "description": "期初买入期货数量",
  20907. "type": "number"
  20908. },
  20909. "OriBuyPlanQty": {
  20910. "description": "期初采购计划数量",
  20911. "type": "number"
  20912. },
  20913. "OriBuyPricedQty": {
  20914. "description": "期初采购合同已定价数量",
  20915. "type": "number"
  20916. },
  20917. "OriSellFutureQty": {
  20918. "description": "期初卖出期货数量",
  20919. "type": "number"
  20920. },
  20921. "OriSellPlanQty": {
  20922. "description": "期初销售计划数量",
  20923. "type": "number"
  20924. },
  20925. "OriSellPricedQty": {
  20926. "description": "期初销售合同已定价数量",
  20927. "type": "number"
  20928. },
  20929. "SellFutureQty": {
  20930. "description": "卖出期货数量",
  20931. "type": "number"
  20932. },
  20933. "SellPlanQty": {
  20934. "description": "销售计划数量",
  20935. "type": "number"
  20936. },
  20937. "SellPricedQty": {
  20938. "description": "销售合同已定价数量",
  20939. "type": "number"
  20940. },
  20941. "TotalExposure": {
  20942. "description": "总敞口",
  20943. "type": "number"
  20944. },
  20945. "TotalFutureQty": {
  20946. "description": "期货总量",
  20947. "type": "number"
  20948. },
  20949. "TotalHedgeRatio": {
  20950. "description": "敞口比例",
  20951. "type": "number"
  20952. },
  20953. "TotalNeedHedgeQty": {
  20954. "description": "应套保总量(现货应套保总量)",
  20955. "type": "number"
  20956. },
  20957. "TotalSpotQty": {
  20958. "description": "现货总量",
  20959. "type": "number"
  20960. },
  20961. "arbitrageqty": {
  20962. "description": "套利量",
  20963. "type": "number"
  20964. },
  20965. "diffArbitrageQty": {
  20966. "description": "套利变动量",
  20967. "type": "number"
  20968. },
  20969. "diffExposoureQty": {
  20970. "description": "变动量(套保敞口)",
  20971. "type": "number"
  20972. },
  20973. "diffFutuQty": {
  20974. "description": "变动量(期货总量)",
  20975. "type": "number"
  20976. },
  20977. "diffHedgeQty": {
  20978. "description": "套保变动量",
  20979. "type": "number"
  20980. },
  20981. "diffQty": {
  20982. "description": "变动量(总敞口)",
  20983. "type": "number"
  20984. },
  20985. "diffSpotHedgeQty": {
  20986. "description": "变动量(现货应套保总量)",
  20987. "type": "number"
  20988. },
  20989. "diffSpotQty": {
  20990. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  20991. "type": "number"
  20992. },
  20993. "enumdicname": {
  20994. "description": "单位名称",
  20995. "type": "string"
  20996. },
  20997. "hedgeqty": {
  20998. "description": "套保量",
  20999. "type": "number"
  21000. },
  21001. "needarbitrageqty": {
  21002. "description": "应套利量",
  21003. "type": "number"
  21004. },
  21005. "needarbitrageratio": {
  21006. "description": "套利比例",
  21007. "type": "number"
  21008. },
  21009. "needhedgeqty": {
  21010. "description": "应套保量",
  21011. "type": "number"
  21012. },
  21013. "oriTotalFutuQty": {
  21014. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  21015. "type": "number"
  21016. },
  21017. "oriTotalSpotQty": {
  21018. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  21019. "type": "number"
  21020. },
  21021. "oriarbitrageqty": {
  21022. "description": "期初套利量",
  21023. "type": "number"
  21024. },
  21025. "orihedgeqty": {
  21026. "description": "期初套保量",
  21027. "type": "number"
  21028. },
  21029. "orineedhedgeexposoure": {
  21030. "description": "期初套保敞口",
  21031. "type": "number"
  21032. },
  21033. "oritotalexposure": {
  21034. "description": "期初总敞口",
  21035. "type": "number"
  21036. },
  21037. "oritotalfutureqty": {
  21038. "description": "期初期货总量",
  21039. "type": "number"
  21040. },
  21041. "oritotalneedhedgeqty": {
  21042. "description": "期初现货应套保量",
  21043. "type": "number"
  21044. }
  21045. }
  21046. },
  21047. "models.ErmcpRole": {
  21048. "type": "object",
  21049. "properties": {
  21050. "areauserid": {
  21051. "description": "所属机构",
  21052. "type": "integer"
  21053. },
  21054. "autoid": {
  21055. "description": "角色ID(自增ID)",
  21056. "type": "integer"
  21057. },
  21058. "modifierid": {
  21059. "description": "修改人(创建人)",
  21060. "type": "integer"
  21061. },
  21062. "modifiername": {
  21063. "description": "修改人名称",
  21064. "type": "string"
  21065. },
  21066. "modifytime": {
  21067. "description": "修改时间(创建时间)",
  21068. "type": "string"
  21069. },
  21070. "rolename": {
  21071. "description": "角色名称",
  21072. "type": "string"
  21073. },
  21074. "rolestatus": {
  21075. "description": "角色状态 - 1:启用 2:停用",
  21076. "type": "integer"
  21077. },
  21078. "roletype": {
  21079. "description": "角色类型 - 1- 管理端 2- 交易端",
  21080. "type": "integer"
  21081. }
  21082. }
  21083. },
  21084. "models.ErmcpRoleMenu": {
  21085. "type": "object",
  21086. "properties": {
  21087. "iconame": {
  21088. "description": "菜单图标",
  21089. "type": "string"
  21090. },
  21091. "ishadrole": {
  21092. "description": "是否有权限",
  21093. "type": "boolean"
  21094. },
  21095. "menutype": {
  21096. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  21097. "type": "integer"
  21098. },
  21099. "parentcode": {
  21100. "description": "上级资源代码",
  21101. "type": "string"
  21102. },
  21103. "remark": {
  21104. "description": "菜单备注",
  21105. "type": "string"
  21106. },
  21107. "resourcecode": {
  21108. "description": "菜单代码",
  21109. "type": "string"
  21110. },
  21111. "resourcelevel": {
  21112. "description": "级别",
  21113. "type": "integer"
  21114. },
  21115. "resourcename": {
  21116. "description": "菜单名称",
  21117. "type": "string"
  21118. },
  21119. "roleid": {
  21120. "description": "角色id",
  21121. "type": "integer"
  21122. },
  21123. "sort": {
  21124. "description": "排序",
  21125. "type": "integer"
  21126. },
  21127. "url": {
  21128. "description": "URL",
  21129. "type": "string"
  21130. },
  21131. "userid": {
  21132. "description": "用户id",
  21133. "type": "integer"
  21134. }
  21135. }
  21136. },
  21137. "models.ErmcpRoleMenuEx": {
  21138. "type": "object",
  21139. "properties": {
  21140. "menu": {
  21141. "description": "父级菜单",
  21142. "type": "object",
  21143. "$ref": "#/definitions/models.ErmcpRoleMenu"
  21144. },
  21145. "subMenu": {
  21146. "description": "子级菜单",
  21147. "type": "array",
  21148. "items": {
  21149. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  21150. }
  21151. }
  21152. }
  21153. },
  21154. "models.ErmcpTaAccount": {
  21155. "type": "object",
  21156. "properties": {
  21157. "accountid": {
  21158. "description": "账户id",
  21159. "type": "integer"
  21160. },
  21161. "accountname": {
  21162. "description": "账户名称",
  21163. "type": "string"
  21164. },
  21165. "currencyid": {
  21166. "description": "币种id",
  21167. "type": "integer"
  21168. },
  21169. "hedgeaccountcode": {
  21170. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21171. "type": "string"
  21172. },
  21173. "ismain": {
  21174. "description": "是否主账户 0-否 1-是",
  21175. "type": "integer"
  21176. },
  21177. "parentaccountid": {
  21178. "description": "父账户id",
  21179. "type": "integer"
  21180. },
  21181. "relateduserid": {
  21182. "description": "关联userid",
  21183. "type": "integer"
  21184. },
  21185. "tradefeetmpid": {
  21186. "description": "手续费模板id",
  21187. "type": "integer"
  21188. },
  21189. "tradefeetmpname": {
  21190. "description": "手续费模板名称",
  21191. "type": "string"
  21192. },
  21193. "trademargintmpid": {
  21194. "description": "保证金模板id",
  21195. "type": "integer"
  21196. },
  21197. "trademargintmpname": {
  21198. "description": "保证金模板名称",
  21199. "type": "string"
  21200. },
  21201. "traderatetmpid": {
  21202. "description": "汇率模板id",
  21203. "type": "integer"
  21204. },
  21205. "traderatetmpname": {
  21206. "description": "汇率模板名称",
  21207. "type": "string"
  21208. },
  21209. "tradestatus": {
  21210. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21211. "type": "integer"
  21212. },
  21213. "userid": {
  21214. "description": "用户id",
  21215. "type": "integer"
  21216. }
  21217. }
  21218. },
  21219. "models.ErmcpTaAccountEx": {
  21220. "type": "object",
  21221. "properties": {
  21222. "mainAcc": {
  21223. "description": "主账号",
  21224. "type": "object",
  21225. "$ref": "#/definitions/models.ErmcpTaAccountM"
  21226. },
  21227. "subacclist": {
  21228. "description": "子账号列表",
  21229. "type": "array",
  21230. "items": {
  21231. "$ref": "#/definitions/models.ErmcpTaAccount"
  21232. }
  21233. }
  21234. }
  21235. },
  21236. "models.ErmcpTaAccountInfo": {
  21237. "type": "object",
  21238. "properties": {
  21239. "accountid": {
  21240. "description": "资金账户ID",
  21241. "type": "integer"
  21242. },
  21243. "accountname": {
  21244. "description": "账户名称",
  21245. "type": "string"
  21246. },
  21247. "balance": {
  21248. "description": "期初余额",
  21249. "type": "number"
  21250. },
  21251. "capitalbalance": {
  21252. "description": "本金余额[外部子账户实际出入金余额]",
  21253. "type": "number"
  21254. },
  21255. "closepl": {
  21256. "description": "今日平仓盈亏",
  21257. "type": "number"
  21258. },
  21259. "creditdecrease": {
  21260. "description": "今日授信减少",
  21261. "type": "number"
  21262. },
  21263. "creditincrease": {
  21264. "description": "今日授信增加",
  21265. "type": "number"
  21266. },
  21267. "curdebt": {
  21268. "description": "期末欠款",
  21269. "type": "number"
  21270. },
  21271. "currencyid": {
  21272. "description": "货币ID",
  21273. "type": "integer"
  21274. },
  21275. "currentbalance": {
  21276. "description": "期末余额",
  21277. "type": "number"
  21278. },
  21279. "freezecharge": {
  21280. "description": "手续费冻结",
  21281. "type": "number"
  21282. },
  21283. "freezemargin": {
  21284. "description": "冻结保证金",
  21285. "type": "number"
  21286. },
  21287. "fromaccountid": {
  21288. "description": "所属上级账户",
  21289. "type": "integer"
  21290. },
  21291. "inamount": {
  21292. "description": "今日入金金额(包括三方入金)",
  21293. "type": "number"
  21294. },
  21295. "ismain": {
  21296. "description": "是否母账号 0:不是母账户 1:是母账户",
  21297. "type": "integer"
  21298. },
  21299. "mortgagecredit": {
  21300. "description": "授信金额",
  21301. "type": "number"
  21302. },
  21303. "oridebt": {
  21304. "description": "期初欠款",
  21305. "type": "number"
  21306. },
  21307. "orifreezecharge": {
  21308. "description": "期初手续费冻结",
  21309. "type": "number"
  21310. },
  21311. "orifreezemargin": {
  21312. "description": "期初冻结保证金",
  21313. "type": "number"
  21314. },
  21315. "orimortgagecredit": {
  21316. "description": "期初授信金额",
  21317. "type": "number"
  21318. },
  21319. "oriothercredit": {
  21320. "description": "期初其它授信金额",
  21321. "type": "number"
  21322. },
  21323. "oriotherfreezemargin": {
  21324. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21325. "type": "number"
  21326. },
  21327. "orioutamountfreeze": {
  21328. "description": "期初出金冻结",
  21329. "type": "number"
  21330. },
  21331. "oriusedmargin": {
  21332. "description": "期初占用保证金",
  21333. "type": "number"
  21334. },
  21335. "othercredit": {
  21336. "description": "其它授信金额",
  21337. "type": "number"
  21338. },
  21339. "othercreditdecrease": {
  21340. "description": "今日其它授信减少",
  21341. "type": "number"
  21342. },
  21343. "othercreditincrease": {
  21344. "description": "今日其它授信增加",
  21345. "type": "number"
  21346. },
  21347. "otherfreezemargin": {
  21348. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21349. "type": "number"
  21350. },
  21351. "outamount": {
  21352. "description": "今日出金金额(包括三方出金)",
  21353. "type": "number"
  21354. },
  21355. "outamountfreeze": {
  21356. "description": "出金冻结",
  21357. "type": "number"
  21358. },
  21359. "outthreshold": {
  21360. "description": "出金阈值",
  21361. "type": "number"
  21362. },
  21363. "parentaccountid": {
  21364. "description": "所属根账号",
  21365. "type": "integer"
  21366. },
  21367. "paycharge": {
  21368. "description": "今日手续费支出",
  21369. "type": "number"
  21370. },
  21371. "relateduserid": {
  21372. "description": "关联用户",
  21373. "type": "integer"
  21374. },
  21375. "signstatus": {
  21376. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21377. "type": "integer"
  21378. },
  21379. "sublevelpath": {
  21380. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21381. "type": "string"
  21382. },
  21383. "taaccounttype": {
  21384. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21385. "type": "integer"
  21386. },
  21387. "thirdinamount": {
  21388. "description": "今日三方入金",
  21389. "type": "number"
  21390. },
  21391. "thirdoutamount": {
  21392. "description": "今日三方出金",
  21393. "type": "number"
  21394. },
  21395. "tradestatus": {
  21396. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21397. "type": "integer"
  21398. },
  21399. "transferamount": {
  21400. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21401. "type": "number"
  21402. },
  21403. "usedmargin": {
  21404. "description": "占用保证金",
  21405. "type": "number"
  21406. },
  21407. "userid": {
  21408. "description": "用户ID",
  21409. "type": "integer"
  21410. }
  21411. }
  21412. },
  21413. "models.ErmcpTaAccountM": {
  21414. "type": "object",
  21415. "properties": {
  21416. "accountid": {
  21417. "description": "账户id",
  21418. "type": "integer"
  21419. },
  21420. "accountname": {
  21421. "description": "账户名称",
  21422. "type": "string"
  21423. },
  21424. "currencyid": {
  21425. "description": "币种id",
  21426. "type": "integer"
  21427. },
  21428. "fcid": {
  21429. "description": "期货公司id",
  21430. "type": "integer"
  21431. },
  21432. "fcname": {
  21433. "description": "期货公司代码",
  21434. "type": "string"
  21435. },
  21436. "hedgeaccountcode": {
  21437. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21438. "type": "string"
  21439. },
  21440. "ismain": {
  21441. "description": "是否主账户 0-否 1-是",
  21442. "type": "integer"
  21443. },
  21444. "parentaccountid": {
  21445. "description": "父账户id",
  21446. "type": "integer"
  21447. },
  21448. "relateduserid": {
  21449. "description": "关联userid",
  21450. "type": "integer"
  21451. },
  21452. "tradefeetmpid": {
  21453. "description": "手续费模板id",
  21454. "type": "integer"
  21455. },
  21456. "tradefeetmpname": {
  21457. "description": "手续费模板名称",
  21458. "type": "string"
  21459. },
  21460. "trademargintmpid": {
  21461. "description": "保证金模板id",
  21462. "type": "integer"
  21463. },
  21464. "trademargintmpname": {
  21465. "description": "保证金模板名称",
  21466. "type": "string"
  21467. },
  21468. "traderatetmpid": {
  21469. "description": "汇率模板id",
  21470. "type": "integer"
  21471. },
  21472. "traderatetmpname": {
  21473. "description": "汇率模板名称",
  21474. "type": "string"
  21475. },
  21476. "tradestatus": {
  21477. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21478. "type": "integer"
  21479. },
  21480. "userid": {
  21481. "description": "用户id",
  21482. "type": "integer"
  21483. }
  21484. }
  21485. },
  21486. "models.ErmcpTradeConfigTMP": {
  21487. "type": "object",
  21488. "properties": {
  21489. "areauserid": {
  21490. "description": "所属机构",
  21491. "type": "integer"
  21492. },
  21493. "basiccurrencyid": {
  21494. "description": "基本币种ID[汇率] - 目标币种",
  21495. "type": "integer"
  21496. },
  21497. "mainaccountid": {
  21498. "description": "主账户ID",
  21499. "type": "integer"
  21500. },
  21501. "modifierid": {
  21502. "description": "修改人",
  21503. "type": "integer"
  21504. },
  21505. "remark": {
  21506. "description": "备注",
  21507. "type": "string"
  21508. },
  21509. "tradeconfigtmpid": {
  21510. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  21511. "type": "integer"
  21512. },
  21513. "tradeconfigtmpname": {
  21514. "description": "交易配置模板名称",
  21515. "type": "string"
  21516. },
  21517. "tradeconfigtmptype": {
  21518. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  21519. "type": "integer"
  21520. },
  21521. "updatetime": {
  21522. "description": "更新时间",
  21523. "type": "string"
  21524. }
  21525. }
  21526. },
  21527. "models.ErmcpUserModel": {
  21528. "type": "object",
  21529. "properties": {
  21530. "address": {
  21531. "description": "通讯地址",
  21532. "type": "string"
  21533. },
  21534. "attachment1": {
  21535. "description": "附件1",
  21536. "type": "string"
  21537. },
  21538. "audittime": {
  21539. "description": "审核时间",
  21540. "type": "string"
  21541. },
  21542. "cardbackphotourl": {
  21543. "description": "证件反面图片地址",
  21544. "type": "string"
  21545. },
  21546. "cardfrontphotourl": {
  21547. "description": "证件正面图片地址",
  21548. "type": "string"
  21549. },
  21550. "cardnum": {
  21551. "description": "证件号码",
  21552. "type": "string"
  21553. },
  21554. "cardtype": {
  21555. "description": "证件类型",
  21556. "type": "integer"
  21557. },
  21558. "cardtypename": {
  21559. "description": "证件类型名称",
  21560. "type": "string"
  21561. },
  21562. "cityid": {
  21563. "description": "市",
  21564. "type": "integer"
  21565. },
  21566. "contactname": {
  21567. "description": "联系人",
  21568. "type": "string"
  21569. },
  21570. "countryid": {
  21571. "description": "国家",
  21572. "type": "integer"
  21573. },
  21574. "createtime": {
  21575. "description": "创建时间",
  21576. "type": "string"
  21577. },
  21578. "customername": {
  21579. "description": "企业名称",
  21580. "type": "string"
  21581. },
  21582. "districtid": {
  21583. "description": "区域",
  21584. "type": "integer"
  21585. },
  21586. "email": {
  21587. "description": "邮件",
  21588. "type": "string"
  21589. },
  21590. "legalpersonname": {
  21591. "description": "法人姓名(企业)",
  21592. "type": "string"
  21593. },
  21594. "memberuserid": {
  21595. "description": "所属机构ID",
  21596. "type": "integer"
  21597. },
  21598. "mobile": {
  21599. "description": "手机号码",
  21600. "type": "string"
  21601. },
  21602. "modifytime": {
  21603. "description": "修改时间",
  21604. "type": "string"
  21605. },
  21606. "nickname": {
  21607. "description": "昵称",
  21608. "type": "string"
  21609. },
  21610. "provinceid": {
  21611. "description": "省",
  21612. "type": "integer"
  21613. },
  21614. "remark": {
  21615. "description": "备注",
  21616. "type": "string"
  21617. },
  21618. "status": {
  21619. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21620. "type": "integer"
  21621. },
  21622. "statusdesc": {
  21623. "description": "账户状态中文描述",
  21624. "type": "string"
  21625. },
  21626. "taxpayernum": {
  21627. "description": "纳税人识别号",
  21628. "type": "string"
  21629. },
  21630. "telphone": {
  21631. "description": "联系电话",
  21632. "type": "string"
  21633. },
  21634. "userid": {
  21635. "description": "用户ID",
  21636. "type": "integer"
  21637. },
  21638. "userinfotype": {
  21639. "description": "客户类型",
  21640. "type": "string"
  21641. }
  21642. }
  21643. },
  21644. "models.ErmcpWareHouseInfo": {
  21645. "type": "object",
  21646. "properties": {
  21647. "address": {
  21648. "description": "详细地址",
  21649. "type": "string"
  21650. },
  21651. "areauserid": {
  21652. "description": "所属机构",
  21653. "type": "integer"
  21654. },
  21655. "autoid": {
  21656. "description": "自增ID(仓库ID)",
  21657. "type": "integer"
  21658. },
  21659. "cityid": {
  21660. "description": "市",
  21661. "type": "integer"
  21662. },
  21663. "contactname": {
  21664. "description": "联系人",
  21665. "type": "string"
  21666. },
  21667. "contactnum": {
  21668. "description": "联系电话",
  21669. "type": "string"
  21670. },
  21671. "countryid": {
  21672. "description": "国家",
  21673. "type": "integer"
  21674. },
  21675. "createtime": {
  21676. "description": "创建时间",
  21677. "type": "string"
  21678. },
  21679. "districtid": {
  21680. "description": "区",
  21681. "type": "integer"
  21682. },
  21683. "hasvideo": {
  21684. "description": "是否有视频 - 0:无 1:有",
  21685. "type": "integer"
  21686. },
  21687. "provinceid": {
  21688. "description": "省",
  21689. "type": "integer"
  21690. },
  21691. "remark": {
  21692. "description": "审核备注",
  21693. "type": "string"
  21694. },
  21695. "videourl": {
  21696. "description": "视频地址",
  21697. "type": "string"
  21698. },
  21699. "warehousecode": {
  21700. "description": "仓库代码",
  21701. "type": "string"
  21702. },
  21703. "warehousename": {
  21704. "description": "仓库名称",
  21705. "type": "string"
  21706. },
  21707. "warehousestatus": {
  21708. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21709. "type": "integer"
  21710. },
  21711. "warehousetype": {
  21712. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21713. "type": "integer"
  21714. }
  21715. }
  21716. },
  21717. "models.Externalexchange": {
  21718. "type": "object",
  21719. "required": [
  21720. "autoid"
  21721. ],
  21722. "properties": {
  21723. "autoid": {
  21724. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  21725. "type": "integer"
  21726. },
  21727. "exchangefullname": {
  21728. "description": "外部交易所全称",
  21729. "type": "string"
  21730. },
  21731. "exexchangecode": {
  21732. "description": "外部交易所代码",
  21733. "type": "string"
  21734. },
  21735. "exexchangename": {
  21736. "description": "外部交易所名称(简称)",
  21737. "type": "string"
  21738. },
  21739. "ismarketprice": {
  21740. "description": "是否支持市价 - 0:不支持 1:支持",
  21741. "type": "integer"
  21742. },
  21743. "quotegear": {
  21744. "description": "行情档位(1-10)",
  21745. "type": "integer"
  21746. },
  21747. "showbrokerflag": {
  21748. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  21749. "type": "integer"
  21750. },
  21751. "updatetime": {
  21752. "description": "更新时间",
  21753. "type": "string"
  21754. }
  21755. }
  21756. },
  21757. "models.Funcmenulist": {
  21758. "type": "object",
  21759. "required": [
  21760. "resourcecode"
  21761. ],
  21762. "properties": {
  21763. "iconame": {
  21764. "description": "菜单图标",
  21765. "type": "string"
  21766. },
  21767. "menutype": {
  21768. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  21769. "type": "integer"
  21770. },
  21771. "parentcode": {
  21772. "description": "上级资源代码",
  21773. "type": "string"
  21774. },
  21775. "remark": {
  21776. "description": "备注",
  21777. "type": "string"
  21778. },
  21779. "resourcecode": {
  21780. "description": "资源代码",
  21781. "type": "string"
  21782. },
  21783. "resourcelevel": {
  21784. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  21785. "type": "integer"
  21786. },
  21787. "resourcename": {
  21788. "description": "资源名",
  21789. "type": "string"
  21790. },
  21791. "sort": {
  21792. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  21793. "type": "integer"
  21794. },
  21795. "url": {
  21796. "description": "URL",
  21797. "type": "string"
  21798. }
  21799. }
  21800. },
  21801. "models.Goods": {
  21802. "type": "object",
  21803. "required": [
  21804. "goodscode",
  21805. "goodsid",
  21806. "goodsname",
  21807. "marketid"
  21808. ],
  21809. "properties": {
  21810. "agreeunit": {
  21811. "description": "合约单位",
  21812. "type": "number"
  21813. },
  21814. "areauserid": {
  21815. "description": "所属机构",
  21816. "type": "integer"
  21817. },
  21818. "auditaccountid": {
  21819. "description": "审核操作员账号",
  21820. "type": "integer"
  21821. },
  21822. "audittime": {
  21823. "description": "审核时间",
  21824. "type": "string"
  21825. },
  21826. "cancelaccountid": {
  21827. "description": "注销操作员账号",
  21828. "type": "integer"
  21829. },
  21830. "canceltime": {
  21831. "description": "注销时间",
  21832. "type": "string"
  21833. },
  21834. "closepricemode": {
  21835. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21836. "type": "integer"
  21837. },
  21838. "closepriceparam": {
  21839. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21840. "type": "number"
  21841. },
  21842. "createtime": {
  21843. "description": "创建时间",
  21844. "type": "string"
  21845. },
  21846. "creatorid": {
  21847. "description": "创建人",
  21848. "type": "integer"
  21849. },
  21850. "currencyid": {
  21851. "description": "报价货币ID",
  21852. "type": "integer"
  21853. },
  21854. "cutmode": {
  21855. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21856. "type": "integer"
  21857. },
  21858. "decimalplace": {
  21859. "description": "报价小数位",
  21860. "type": "integer"
  21861. },
  21862. "delistingdate": {
  21863. "description": "商品退市时间(状态:退市) -- 已作废",
  21864. "type": "string"
  21865. },
  21866. "delistingmode": {
  21867. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21868. "type": "integer"
  21869. },
  21870. "deliveryflag": {
  21871. "description": "交割标志 - 0:不可交割 1:可交割",
  21872. "type": "integer"
  21873. },
  21874. "forceclosemode": {
  21875. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21876. "type": "integer"
  21877. },
  21878. "forceclosevalue": {
  21879. "description": "定期强平参数 [收益权]",
  21880. "type": "integer"
  21881. },
  21882. "goodscode": {
  21883. "description": "商品代码(内部)",
  21884. "type": "string"
  21885. },
  21886. "goodscurrencyid": {
  21887. "description": "合约货币ID",
  21888. "type": "integer"
  21889. },
  21890. "goodsgroupid": {
  21891. "description": "所属商品组ID",
  21892. "type": "integer"
  21893. },
  21894. "goodsid": {
  21895. "description": "商品ID(自增ID SEQ_GOODS)",
  21896. "type": "integer"
  21897. },
  21898. "goodsname": {
  21899. "description": "商品名称",
  21900. "type": "string"
  21901. },
  21902. "goodsquotetype": {
  21903. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21904. "type": "integer"
  21905. },
  21906. "goodsstatus": {
  21907. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21908. "type": "integer"
  21909. },
  21910. "goodstradetype": {
  21911. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21912. "type": "integer"
  21913. },
  21914. "goodunitid": {
  21915. "description": "报价单位ID",
  21916. "type": "integer"
  21917. },
  21918. "hasquoter": {
  21919. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21920. "type": "integer"
  21921. },
  21922. "hqprotecttime": {
  21923. "description": "行情保护时间(秒)",
  21924. "type": "integer"
  21925. },
  21926. "innerdealmode": {
  21927. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21928. "type": "integer"
  21929. },
  21930. "isbuylimited": {
  21931. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21932. "type": "integer"
  21933. },
  21934. "isvisible": {
  21935. "description": "游客是否可见 - 0:不可见 1:可见",
  21936. "type": "integer"
  21937. },
  21938. "lasttradedate": {
  21939. "description": "最后交易日期(状态:待退市)",
  21940. "type": "string"
  21941. },
  21942. "listingdate": {
  21943. "description": "交易开始日期",
  21944. "type": "string"
  21945. },
  21946. "marketid": {
  21947. "description": "所属市场ID",
  21948. "type": "integer"
  21949. },
  21950. "modifierid": {
  21951. "description": "修改人",
  21952. "type": "integer"
  21953. },
  21954. "modifystatus": {
  21955. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21956. "type": "integer"
  21957. },
  21958. "modifytime": {
  21959. "description": "修改时间",
  21960. "type": "string"
  21961. },
  21962. "outerdealmode": {
  21963. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21964. "type": "integer"
  21965. },
  21966. "outgoodscode": {
  21967. "description": "商品代码(外部)",
  21968. "type": "string"
  21969. },
  21970. "pictureurl": {
  21971. "description": "商品图片",
  21972. "type": "string"
  21973. },
  21974. "qtydecimalplace": {
  21975. "description": "成交量小数位",
  21976. "type": "integer"
  21977. },
  21978. "quotegear": {
  21979. "description": "行情档位(1-10)",
  21980. "type": "integer"
  21981. },
  21982. "quoteminunit": {
  21983. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21984. "type": "integer"
  21985. },
  21986. "quoteshowtype": {
  21987. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21988. "type": "integer"
  21989. },
  21990. "quoteshowtypeinterval": {
  21991. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21992. "type": "integer"
  21993. },
  21994. "remark": {
  21995. "description": "备注",
  21996. "type": "string"
  21997. }
  21998. }
  21999. },
  22000. "models.GoodsIDAndName": {
  22001. "type": "object",
  22002. "required": [
  22003. "goodscode",
  22004. "goodsid",
  22005. "goodsname",
  22006. "marketid"
  22007. ],
  22008. "properties": {
  22009. "goodscode": {
  22010. "description": "商品代码(内部)",
  22011. "type": "string"
  22012. },
  22013. "goodsid": {
  22014. "description": "商品ID(自增ID SEQ_GOODS)",
  22015. "type": "integer"
  22016. },
  22017. "goodsname": {
  22018. "description": "商品名称",
  22019. "type": "string"
  22020. },
  22021. "marketid": {
  22022. "description": "所属市场ID",
  22023. "type": "integer"
  22024. }
  22025. }
  22026. },
  22027. "models.Goodsgroup": {
  22028. "type": "object",
  22029. "required": [
  22030. "goodsgroupid",
  22031. "goodsgroupname",
  22032. "goodsgroupstatus",
  22033. "marketid"
  22034. ],
  22035. "properties": {
  22036. "agreeunit": {
  22037. "description": "合约单位",
  22038. "type": "number"
  22039. },
  22040. "canshort": {
  22041. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  22042. "type": "integer"
  22043. },
  22044. "closepricemode": {
  22045. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22046. "type": "integer"
  22047. },
  22048. "closepriceparam": {
  22049. "description": "强平最新价浮动比例 - 方式为2时使用",
  22050. "type": "number"
  22051. },
  22052. "createtime": {
  22053. "description": "创建时间",
  22054. "type": "string"
  22055. },
  22056. "creatorid": {
  22057. "description": "创建人",
  22058. "type": "integer"
  22059. },
  22060. "currencyid": {
  22061. "description": "报价货币ID",
  22062. "type": "integer"
  22063. },
  22064. "decimalplace": {
  22065. "description": "报价小数位",
  22066. "type": "integer"
  22067. },
  22068. "exercisetype": {
  22069. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  22070. "type": "integer"
  22071. },
  22072. "exexchangeid": {
  22073. "description": "外部交易所ID[通道交易]",
  22074. "type": "integer"
  22075. },
  22076. "goodsgroupid": {
  22077. "description": "商品组ID(自增ID)",
  22078. "type": "integer"
  22079. },
  22080. "goodsgroupname": {
  22081. "description": "商品组名称",
  22082. "type": "string"
  22083. },
  22084. "goodsgroupstatus": {
  22085. "description": "商品组状态 - 1:正常 2:注销",
  22086. "type": "integer"
  22087. },
  22088. "goodunitid": {
  22089. "description": "报价单位ID",
  22090. "type": "integer"
  22091. },
  22092. "innerdealmode": {
  22093. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22094. "type": "integer"
  22095. },
  22096. "isbuylimited": {
  22097. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22098. "type": "integer"
  22099. },
  22100. "marketid": {
  22101. "description": "所属市场ID",
  22102. "type": "integer"
  22103. },
  22104. "modifierid": {
  22105. "description": "修改人",
  22106. "type": "integer"
  22107. },
  22108. "modifytime": {
  22109. "description": "修改时间",
  22110. "type": "string"
  22111. },
  22112. "outerdealmode": {
  22113. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22114. "type": "integer"
  22115. },
  22116. "outergroupcode": {
  22117. "description": "外部商品组代码[通道交易]",
  22118. "type": "string"
  22119. },
  22120. "premiumdecimalplace": {
  22121. "description": "权利金小数位[场外期权]",
  22122. "type": "integer"
  22123. },
  22124. "premiumspreadalgorithm": {
  22125. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  22126. "type": "integer"
  22127. },
  22128. "premiumspreadvalue": {
  22129. "description": "权利金点差值[场外期权]",
  22130. "type": "number"
  22131. },
  22132. "qtydecimalplace": {
  22133. "description": "成交量小数位",
  22134. "type": "integer"
  22135. },
  22136. "quotegear": {
  22137. "description": "行情档位(1-10)",
  22138. "type": "integer"
  22139. },
  22140. "quoteminunit": {
  22141. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22142. "type": "integer"
  22143. },
  22144. "quoterid": {
  22145. "description": "报价商ID[场外期权]",
  22146. "type": "integer"
  22147. },
  22148. "quotesourcegroupid": {
  22149. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  22150. "type": "integer"
  22151. },
  22152. "syncgoodsqty": {
  22153. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  22154. "type": "integer"
  22155. }
  22156. }
  22157. },
  22158. "models.Goodssortbypreposition": {
  22159. "type": "object",
  22160. "required": [
  22161. "goodscode",
  22162. "tradedate"
  22163. ],
  22164. "properties": {
  22165. "goodscode": {
  22166. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  22167. "type": "string"
  22168. },
  22169. "goodsgroupcode": {
  22170. "description": "品种代码",
  22171. "type": "string"
  22172. },
  22173. "prepositionqty": {
  22174. "description": "昨持仓量",
  22175. "type": "integer"
  22176. },
  22177. "sortindex": {
  22178. "description": "排序",
  22179. "type": "integer"
  22180. },
  22181. "tradedate": {
  22182. "description": "交易日",
  22183. "type": "string"
  22184. },
  22185. "updatetime": {
  22186. "description": "更新时间",
  22187. "type": "string"
  22188. }
  22189. }
  22190. },
  22191. "models.Hedgeinnerholderdetail": {
  22192. "type": "object",
  22193. "required": [
  22194. "buyorsell",
  22195. "tradeid"
  22196. ],
  22197. "properties": {
  22198. "accountid": {
  22199. "description": "账号ID",
  22200. "type": "integer"
  22201. },
  22202. "buyorsell": {
  22203. "description": "方向 - 0:买 1:卖",
  22204. "type": "integer"
  22205. },
  22206. "freezeqty": {
  22207. "description": "冻结数量 - 按单平使用",
  22208. "type": "integer"
  22209. },
  22210. "goodsid": {
  22211. "description": "商品ID",
  22212. "type": "integer"
  22213. },
  22214. "holderamount": {
  22215. "description": "持仓金额 [商品币种]",
  22216. "type": "number"
  22217. },
  22218. "holderdays": {
  22219. "description": "剩余冻结天数",
  22220. "type": "integer"
  22221. },
  22222. "holderprice": {
  22223. "description": "持仓价格",
  22224. "type": "number"
  22225. },
  22226. "holderqty": {
  22227. "description": "持仓数量",
  22228. "type": "integer"
  22229. },
  22230. "marketid": {
  22231. "description": "市场ID",
  22232. "type": "integer"
  22233. },
  22234. "openprice": {
  22235. "description": "建仓价格",
  22236. "type": "number"
  22237. },
  22238. "openqty": {
  22239. "description": "建仓数量",
  22240. "type": "integer"
  22241. },
  22242. "parentaccountid": {
  22243. "description": "所属母账户",
  22244. "type": "integer"
  22245. },
  22246. "releaseamount": {
  22247. "description": "释放持仓金额[商品币种]",
  22248. "type": "number"
  22249. },
  22250. "tradeamount": {
  22251. "description": "成交金额[账户]",
  22252. "type": "number"
  22253. },
  22254. "tradedate": {
  22255. "description": "交易日(yyyyMMdd)",
  22256. "type": "string"
  22257. },
  22258. "tradeid": {
  22259. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22260. "type": "string"
  22261. },
  22262. "tradetime": {
  22263. "description": "交易时间",
  22264. "type": "string"
  22265. }
  22266. }
  22267. },
  22268. "models.Hedgemarketopenlog": {
  22269. "type": "object",
  22270. "required": [
  22271. "accountid"
  22272. ],
  22273. "properties": {
  22274. "accountid": {
  22275. "description": "资金账号[外部母账户]",
  22276. "type": "integer"
  22277. },
  22278. "fcname": {
  22279. "description": "期货公司名称",
  22280. "type": "string"
  22281. },
  22282. "handlestatus": {
  22283. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  22284. "type": "integer"
  22285. },
  22286. "marketid": {
  22287. "description": "市场ID",
  22288. "type": "integer"
  22289. },
  22290. "status": {
  22291. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  22292. "type": "integer"
  22293. },
  22294. "tradedate": {
  22295. "description": "交易日(yyyyMMdd)",
  22296. "type": "string"
  22297. },
  22298. "updatetime": {
  22299. "description": "更新时间",
  22300. "type": "string"
  22301. }
  22302. }
  22303. },
  22304. "models.HsbyBuyMyPayOrder": {
  22305. "type": "object",
  22306. "required": [
  22307. "goodscode",
  22308. "goodsname",
  22309. "tradeid",
  22310. "trademode"
  22311. ],
  22312. "properties": {
  22313. "agreeunit": {
  22314. "description": "合约单位",
  22315. "type": "number"
  22316. },
  22317. "buyaccountid": {
  22318. "description": "买方账号ID[报价币种]",
  22319. "type": "integer"
  22320. },
  22321. "buyorderid": {
  22322. "description": "买方委托单号",
  22323. "type": "string"
  22324. },
  22325. "createtime": {
  22326. "description": "创建时间",
  22327. "type": "string"
  22328. },
  22329. "currencysign": {
  22330. "description": "货币符号",
  22331. "type": "string"
  22332. },
  22333. "decimalplace": {
  22334. "description": "报价小数位",
  22335. "type": "integer"
  22336. },
  22337. "goodscode": {
  22338. "description": "商品代码(内部)",
  22339. "type": "string"
  22340. },
  22341. "goodsid": {
  22342. "description": "商品ID",
  22343. "type": "integer"
  22344. },
  22345. "goodsname": {
  22346. "description": "商品名称",
  22347. "type": "string"
  22348. },
  22349. "marketid": {
  22350. "description": "市场ID",
  22351. "type": "integer"
  22352. },
  22353. "offamount": {
  22354. "description": "优惠金额",
  22355. "type": "number"
  22356. },
  22357. "originalamount": {
  22358. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  22359. "type": "number"
  22360. },
  22361. "payamount": {
  22362. "description": "支付金额 = TradeAmount + TradeCharge",
  22363. "type": "number"
  22364. },
  22365. "payflag": {
  22366. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22367. "type": "integer"
  22368. },
  22369. "paylimitedtime": {
  22370. "description": "支付期限",
  22371. "type": "string"
  22372. },
  22373. "paytime": {
  22374. "description": "付款时间",
  22375. "type": "string"
  22376. },
  22377. "picurls1": {
  22378. "description": "预售商品介绍图片[多张用逗号分隔]",
  22379. "type": "string"
  22380. },
  22381. "picurls2": {
  22382. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22383. "type": "string"
  22384. },
  22385. "sellaccountid": {
  22386. "description": "卖方账号ID[报价币种]",
  22387. "type": "integer"
  22388. },
  22389. "sellorderid": {
  22390. "description": "卖方委托单号",
  22391. "type": "string"
  22392. },
  22393. "tradeamount": {
  22394. "description": "成交金额",
  22395. "type": "number"
  22396. },
  22397. "tradecharge": {
  22398. "description": "成交手续费(买方)",
  22399. "type": "number"
  22400. },
  22401. "tradedate": {
  22402. "description": "交易日(yyyyMMdd)",
  22403. "type": "string"
  22404. },
  22405. "tradeid": {
  22406. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22407. "type": "string"
  22408. },
  22409. "trademode": {
  22410. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22411. "type": "integer"
  22412. },
  22413. "tradeprice": {
  22414. "description": "成交价格",
  22415. "type": "number"
  22416. },
  22417. "tradeqty": {
  22418. "description": "成交数量",
  22419. "type": "integer"
  22420. },
  22421. "vendorname1": {
  22422. "description": "预售商品供应商名称",
  22423. "type": "string"
  22424. },
  22425. "vendorname2": {
  22426. "description": "挂牌商品供应商名称",
  22427. "type": "string"
  22428. }
  22429. }
  22430. },
  22431. "models.HsbyBuyMyTradeDetail": {
  22432. "type": "object",
  22433. "required": [
  22434. "accountid",
  22435. "buyorsell",
  22436. "goodscode",
  22437. "goodsid",
  22438. "goodsname",
  22439. "marketid",
  22440. "orderid",
  22441. "qty",
  22442. "time",
  22443. "trademode"
  22444. ],
  22445. "properties": {
  22446. "accountid": {
  22447. "description": "账户ID[报价币种]",
  22448. "type": "integer"
  22449. },
  22450. "agreeunit": {
  22451. "description": "合约单位",
  22452. "type": "number"
  22453. },
  22454. "amount": {
  22455. "description": "金额 = 价格 * 数量 * 合约单位",
  22456. "type": "number"
  22457. },
  22458. "buyorsell": {
  22459. "description": "买卖 - 0:买 1:卖",
  22460. "type": "integer"
  22461. },
  22462. "currencysign": {
  22463. "description": "货币符号",
  22464. "type": "string"
  22465. },
  22466. "decimalplace": {
  22467. "description": "报价小数位",
  22468. "type": "integer"
  22469. },
  22470. "goodscode": {
  22471. "description": "商品代码(内部)",
  22472. "type": "string"
  22473. },
  22474. "goodsid": {
  22475. "description": "商品ID",
  22476. "type": "integer"
  22477. },
  22478. "goodsname": {
  22479. "description": "商品名称",
  22480. "type": "string"
  22481. },
  22482. "marketid": {
  22483. "description": "市场ID",
  22484. "type": "integer"
  22485. },
  22486. "orderamount": {
  22487. "description": "委托金额",
  22488. "type": "number"
  22489. },
  22490. "orderid": {
  22491. "description": "单号(成交单号)",
  22492. "type": "string"
  22493. },
  22494. "picurls1": {
  22495. "description": "预售商品介绍图片[多张用逗号分隔]",
  22496. "type": "string"
  22497. },
  22498. "picurls2": {
  22499. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22500. "type": "string"
  22501. },
  22502. "price": {
  22503. "description": "价格",
  22504. "type": "number"
  22505. },
  22506. "qty": {
  22507. "description": "数量",
  22508. "type": "integer"
  22509. },
  22510. "time": {
  22511. "description": "时间",
  22512. "type": "string"
  22513. },
  22514. "trademode": {
  22515. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22516. "type": "integer"
  22517. },
  22518. "vendorname1": {
  22519. "description": "预售商品供应商名称",
  22520. "type": "string"
  22521. },
  22522. "vendorname2": {
  22523. "description": "挂牌商品供应商名称",
  22524. "type": "string"
  22525. }
  22526. }
  22527. },
  22528. "models.HsbyGoodsOrderDetail": {
  22529. "type": "object",
  22530. "required": [
  22531. "buyorsell",
  22532. "orderid",
  22533. "ordertime"
  22534. ],
  22535. "properties": {
  22536. "buyorsell": {
  22537. "description": "买卖 - 0:买 1:卖",
  22538. "type": "integer"
  22539. },
  22540. "currencysign": {
  22541. "description": "货币符号",
  22542. "type": "string"
  22543. },
  22544. "customername": {
  22545. "description": "客户名称(企业名称),已脱敏",
  22546. "type": "string"
  22547. },
  22548. "enableqty": {
  22549. "description": "可用数量",
  22550. "type": "integer"
  22551. },
  22552. "goodunit": {
  22553. "description": "报价单位",
  22554. "type": "string"
  22555. },
  22556. "orderid": {
  22557. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22558. "type": "string"
  22559. },
  22560. "orderprice": {
  22561. "description": "委托价格",
  22562. "type": "number"
  22563. },
  22564. "ordertime": {
  22565. "description": "委托时间",
  22566. "type": "string"
  22567. }
  22568. }
  22569. },
  22570. "models.HsbyListingGoodsDetail": {
  22571. "type": "object",
  22572. "required": [
  22573. "goodscode",
  22574. "goodsid",
  22575. "goodsname",
  22576. "marketid",
  22577. "trademode"
  22578. ],
  22579. "properties": {
  22580. "agreeunit": {
  22581. "description": "合约单位",
  22582. "type": "number"
  22583. },
  22584. "buymaxqty": {
  22585. "description": "购买上限 [71] - 0为不限",
  22586. "type": "integer"
  22587. },
  22588. "currency": {
  22589. "description": "货币",
  22590. "type": "string"
  22591. },
  22592. "currencysign": {
  22593. "description": "货币符号",
  22594. "type": "string"
  22595. },
  22596. "decimalplace": {
  22597. "description": "报价小数位",
  22598. "type": "integer"
  22599. },
  22600. "desccityid": {
  22601. "description": "目的地(市)ID",
  22602. "type": "integer"
  22603. },
  22604. "descprovinceid": {
  22605. "description": "目的地(省)ID",
  22606. "type": "integer"
  22607. },
  22608. "goodscode": {
  22609. "description": "商品代码(内部)",
  22610. "type": "string"
  22611. },
  22612. "goodsdesc": {
  22613. "description": "商品详情",
  22614. "type": "string"
  22615. },
  22616. "goodsid": {
  22617. "description": "商品ID(自增ID SEQ_GOODS)",
  22618. "type": "integer"
  22619. },
  22620. "goodsname": {
  22621. "description": "商品名称",
  22622. "type": "string"
  22623. },
  22624. "goodsprice": {
  22625. "description": "商品价格",
  22626. "type": "number"
  22627. },
  22628. "hotindex": {
  22629. "description": "景点热度",
  22630. "type": "integer"
  22631. },
  22632. "last": {
  22633. "description": "现价",
  22634. "type": "number"
  22635. },
  22636. "limitdown": {
  22637. "description": "跌停价",
  22638. "type": "number"
  22639. },
  22640. "limitup": {
  22641. "description": "涨停价",
  22642. "type": "number"
  22643. },
  22644. "lotsize": {
  22645. "description": "手数最小变动单位",
  22646. "type": "integer"
  22647. },
  22648. "marketid": {
  22649. "description": "所属市场ID",
  22650. "type": "integer"
  22651. },
  22652. "picurls": {
  22653. "description": "介绍图片[多张用逗号分隔]",
  22654. "type": "string"
  22655. },
  22656. "quoteminunit": {
  22657. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22658. "type": "integer"
  22659. },
  22660. "stepvalue": {
  22661. "description": "价格最小变动单位",
  22662. "type": "number"
  22663. },
  22664. "trademode": {
  22665. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22666. "type": "integer"
  22667. },
  22668. "vendorattr": {
  22669. "description": "供应商附件(多张,逗号分隔)",
  22670. "type": "string"
  22671. },
  22672. "vendorname": {
  22673. "description": "供应商名称",
  22674. "type": "string"
  22675. },
  22676. "vendorphone": {
  22677. "description": "供应商客服电话",
  22678. "type": "string"
  22679. },
  22680. "videourls": {
  22681. "description": "介绍视频[多张用逗号分隔]",
  22682. "type": "string"
  22683. }
  22684. }
  22685. },
  22686. "models.HsbyMarketGoods": {
  22687. "type": "object",
  22688. "required": [
  22689. "accountid",
  22690. "buyorsell",
  22691. "goodscode",
  22692. "goodsid",
  22693. "goodsname",
  22694. "marketid",
  22695. "orderid",
  22696. "trademode"
  22697. ],
  22698. "properties": {
  22699. "accountid": {
  22700. "description": "账户ID[报价币种]",
  22701. "type": "integer"
  22702. },
  22703. "agreeunit": {
  22704. "description": "合约单位",
  22705. "type": "number"
  22706. },
  22707. "buyorsell": {
  22708. "description": "买卖 - 0:买 1:卖",
  22709. "type": "integer"
  22710. },
  22711. "categoryid": {
  22712. "description": "类别ID(WRCATEGORY)",
  22713. "type": "integer"
  22714. },
  22715. "currency": {
  22716. "description": "货币",
  22717. "type": "string"
  22718. },
  22719. "currencysign": {
  22720. "description": "货币符号",
  22721. "type": "string"
  22722. },
  22723. "customername": {
  22724. "description": "卖家名称",
  22725. "type": "string"
  22726. },
  22727. "decimalplace": {
  22728. "description": "报价小数位",
  22729. "type": "integer"
  22730. },
  22731. "goodscode": {
  22732. "description": "商品代码(内部)",
  22733. "type": "string"
  22734. },
  22735. "goodsid": {
  22736. "description": "商品ID",
  22737. "type": "integer"
  22738. },
  22739. "goodsname": {
  22740. "description": "商品名称",
  22741. "type": "string"
  22742. },
  22743. "goodsprice": {
  22744. "description": "商品价格",
  22745. "type": "number"
  22746. },
  22747. "hascoupon": {
  22748. "description": "是否可用优惠卷",
  22749. "type": "boolean"
  22750. },
  22751. "hotindex": {
  22752. "description": "景点热度",
  22753. "type": "integer"
  22754. },
  22755. "marketid": {
  22756. "description": "市场ID",
  22757. "type": "integer"
  22758. },
  22759. "orderid": {
  22760. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22761. "type": "string"
  22762. },
  22763. "orderprice": {
  22764. "description": "委托价格",
  22765. "type": "number"
  22766. },
  22767. "orderstatus": {
  22768. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22769. "type": "integer"
  22770. },
  22771. "picurls": {
  22772. "description": "介绍图片[多张用逗号分隔]",
  22773. "type": "string"
  22774. },
  22775. "quoteminunit": {
  22776. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22777. "type": "integer"
  22778. },
  22779. "sellUserID": {
  22780. "description": "卖方UserID",
  22781. "type": "integer"
  22782. },
  22783. "trademode": {
  22784. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22785. "type": "integer"
  22786. },
  22787. "videourls": {
  22788. "description": "介绍视频[多张用逗号分隔]",
  22789. "type": "string"
  22790. }
  22791. }
  22792. },
  22793. "models.HsbyMarketGoodsDetail": {
  22794. "type": "object",
  22795. "required": [
  22796. "accountid",
  22797. "buyorsell",
  22798. "goodscode",
  22799. "goodsid",
  22800. "goodsname",
  22801. "marketid",
  22802. "orderid",
  22803. "orderqty",
  22804. "trademode"
  22805. ],
  22806. "properties": {
  22807. "accountid": {
  22808. "description": "账户ID[报价币种]",
  22809. "type": "integer"
  22810. },
  22811. "agreeunit": {
  22812. "description": "合约单位",
  22813. "type": "number"
  22814. },
  22815. "buymaxqty": {
  22816. "description": "购买上限 [71] - 0为不限",
  22817. "type": "integer"
  22818. },
  22819. "buyorsell": {
  22820. "description": "买卖 - 0:买 1:卖",
  22821. "type": "integer"
  22822. },
  22823. "cancelqty": {
  22824. "description": "撤单数量",
  22825. "type": "integer"
  22826. },
  22827. "categoryid": {
  22828. "description": "类别ID(WRCATEGORY)",
  22829. "type": "integer"
  22830. },
  22831. "currency": {
  22832. "description": "货币",
  22833. "type": "string"
  22834. },
  22835. "currencysign": {
  22836. "description": "货币符号",
  22837. "type": "string"
  22838. },
  22839. "customername": {
  22840. "description": "卖家名称",
  22841. "type": "string"
  22842. },
  22843. "decimalplace": {
  22844. "description": "报价小数位",
  22845. "type": "integer"
  22846. },
  22847. "goodscode": {
  22848. "description": "商品代码(内部)",
  22849. "type": "string"
  22850. },
  22851. "goodsdesc": {
  22852. "description": "商品详情",
  22853. "type": "string"
  22854. },
  22855. "goodsid": {
  22856. "description": "商品ID",
  22857. "type": "integer"
  22858. },
  22859. "goodsname": {
  22860. "description": "商品名称",
  22861. "type": "string"
  22862. },
  22863. "goodsprice": {
  22864. "description": "商品价格",
  22865. "type": "number"
  22866. },
  22867. "hotindex": {
  22868. "description": "景点热度",
  22869. "type": "integer"
  22870. },
  22871. "lotsize": {
  22872. "description": "手数最小变动单位",
  22873. "type": "integer"
  22874. },
  22875. "marketid": {
  22876. "description": "市场ID",
  22877. "type": "integer"
  22878. },
  22879. "orderid": {
  22880. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22881. "type": "string"
  22882. },
  22883. "orderprice": {
  22884. "description": "委托价格",
  22885. "type": "number"
  22886. },
  22887. "orderqty": {
  22888. "description": "委托数量",
  22889. "type": "integer"
  22890. },
  22891. "orderstatus": {
  22892. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22893. "type": "integer"
  22894. },
  22895. "picurls": {
  22896. "description": "介绍图片[多张用逗号分隔]",
  22897. "type": "string"
  22898. },
  22899. "quoteminunit": {
  22900. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22901. "type": "integer"
  22902. },
  22903. "sellUserID": {
  22904. "description": "卖方UserID",
  22905. "type": "integer"
  22906. },
  22907. "trademode": {
  22908. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22909. "type": "integer"
  22910. },
  22911. "tradeqty": {
  22912. "description": "成交数量",
  22913. "type": "integer"
  22914. },
  22915. "vendorattr": {
  22916. "description": "供应商附件(多张,逗号分隔)",
  22917. "type": "string"
  22918. },
  22919. "vendorname": {
  22920. "description": "供应商名称",
  22921. "type": "string"
  22922. },
  22923. "vendorphone": {
  22924. "description": "供应商客服电话",
  22925. "type": "string"
  22926. },
  22927. "videourls": {
  22928. "description": "介绍视频[多张用逗号分隔]",
  22929. "type": "string"
  22930. }
  22931. }
  22932. },
  22933. "models.HsbyMarketInfo": {
  22934. "type": "object",
  22935. "required": [
  22936. "marketid",
  22937. "marketstatus",
  22938. "trademode"
  22939. ],
  22940. "properties": {
  22941. "marketid": {
  22942. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22943. "type": "integer"
  22944. },
  22945. "marketname": {
  22946. "description": "市场名称",
  22947. "type": "string"
  22948. },
  22949. "marketstatus": {
  22950. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22951. "type": "integer"
  22952. },
  22953. "trademode": {
  22954. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22955. "type": "integer"
  22956. }
  22957. }
  22958. },
  22959. "models.HsbyMyGoods": {
  22960. "type": "object",
  22961. "required": [
  22962. "accountid",
  22963. "goodscode",
  22964. "goodsid",
  22965. "goodsname",
  22966. "marketid",
  22967. "trademode"
  22968. ],
  22969. "properties": {
  22970. "accountid": {
  22971. "description": "账号Id",
  22972. "type": "integer"
  22973. },
  22974. "agreeunit": {
  22975. "description": "合约单位",
  22976. "type": "number"
  22977. },
  22978. "buyaverageprice": {
  22979. "description": "持仓均价",
  22980. "type": "number"
  22981. },
  22982. "buycurholderamount": {
  22983. "description": "买当前持仓总金额[商品币种]",
  22984. "type": "number"
  22985. },
  22986. "buycurpositionqty": {
  22987. "description": "买当前持仓总数量",
  22988. "type": "integer"
  22989. },
  22990. "buymaxqty": {
  22991. "description": "购买上限 [71] - 0为不限",
  22992. "type": "integer"
  22993. },
  22994. "currencysign": {
  22995. "description": "货币符号",
  22996. "type": "string"
  22997. },
  22998. "decimalplace": {
  22999. "description": "报价小数位",
  23000. "type": "integer"
  23001. },
  23002. "enableqty": {
  23003. "description": "可用数量",
  23004. "type": "integer"
  23005. },
  23006. "goodscode": {
  23007. "description": "商品代码(内部)",
  23008. "type": "string"
  23009. },
  23010. "goodsid": {
  23011. "description": "商品Id",
  23012. "type": "integer"
  23013. },
  23014. "goodsname": {
  23015. "description": "商品名称",
  23016. "type": "string"
  23017. },
  23018. "goodsprice": {
  23019. "description": "商品价格",
  23020. "type": "number"
  23021. },
  23022. "goodsstatus": {
  23023. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23024. "type": "integer"
  23025. },
  23026. "last": {
  23027. "description": "现价(仅使用于挂牌点选)",
  23028. "type": "number"
  23029. },
  23030. "limitdown": {
  23031. "description": "跌停价(仅使用于挂牌点选)",
  23032. "type": "number"
  23033. },
  23034. "limitup": {
  23035. "description": "涨停价(仅使用于挂牌点选)",
  23036. "type": "number"
  23037. },
  23038. "lotsize": {
  23039. "description": "手数最小变动单位",
  23040. "type": "integer"
  23041. },
  23042. "marketid": {
  23043. "description": "所属市场ID",
  23044. "type": "integer"
  23045. },
  23046. "picurls": {
  23047. "description": "介绍图片[多张用逗号分隔]",
  23048. "type": "string"
  23049. },
  23050. "quoteminunit": {
  23051. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23052. "type": "integer"
  23053. },
  23054. "stepvalue": {
  23055. "description": "价格最小变动单位",
  23056. "type": "number"
  23057. },
  23058. "trademode": {
  23059. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23060. "type": "integer"
  23061. }
  23062. }
  23063. },
  23064. "models.HsbyMyPackage": {
  23065. "type": "object",
  23066. "required": [
  23067. "goodscode",
  23068. "goodsname",
  23069. "takeorderid",
  23070. "trademode"
  23071. ],
  23072. "properties": {
  23073. "accountid": {
  23074. "description": "账户ID",
  23075. "type": "integer"
  23076. },
  23077. "address": {
  23078. "description": "提货人详细地址",
  23079. "type": "string"
  23080. },
  23081. "agreeunit": {
  23082. "description": "合约单位",
  23083. "type": "number"
  23084. },
  23085. "amount": {
  23086. "description": "提货金额",
  23087. "type": "number"
  23088. },
  23089. "auditer": {
  23090. "description": "审核人",
  23091. "type": "integer"
  23092. },
  23093. "audittime": {
  23094. "description": "审核时间",
  23095. "type": "string"
  23096. },
  23097. "averageprice": {
  23098. "description": "均价",
  23099. "type": "number"
  23100. },
  23101. "cardnum": {
  23102. "description": "提货人证件号码",
  23103. "type": "string"
  23104. },
  23105. "cardtypeid": {
  23106. "description": "提货人证件类型",
  23107. "type": "integer"
  23108. },
  23109. "checkremark": {
  23110. "description": "审核备注",
  23111. "type": "string"
  23112. },
  23113. "currencysign": {
  23114. "description": "货币符号",
  23115. "type": "string"
  23116. },
  23117. "decimalplace": {
  23118. "description": "报价小数位",
  23119. "type": "integer"
  23120. },
  23121. "goodscode": {
  23122. "description": "商品代码(内部)",
  23123. "type": "string"
  23124. },
  23125. "goodsid": {
  23126. "description": "商品ID",
  23127. "type": "integer"
  23128. },
  23129. "goodsname": {
  23130. "description": "商品名称",
  23131. "type": "string"
  23132. },
  23133. "handlestatus": {
  23134. "description": "处理状态",
  23135. "type": "integer"
  23136. },
  23137. "marketid": {
  23138. "description": "市场ID",
  23139. "type": "integer"
  23140. },
  23141. "phonenum": {
  23142. "description": "提货人联系方式",
  23143. "type": "string"
  23144. },
  23145. "picurls": {
  23146. "description": "介绍图片[多张用逗号分隔]",
  23147. "type": "string"
  23148. },
  23149. "qty": {
  23150. "description": "提货数量",
  23151. "type": "number"
  23152. },
  23153. "recivername": {
  23154. "description": "提货人姓名",
  23155. "type": "string"
  23156. },
  23157. "reqtime": {
  23158. "description": "更新时间",
  23159. "type": "string"
  23160. },
  23161. "takemode": {
  23162. "description": "提货方式 - 2:自提 3:配送",
  23163. "type": "integer"
  23164. },
  23165. "takeorderid": {
  23166. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23167. "type": "string"
  23168. },
  23169. "takeorderstatus": {
  23170. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23171. "type": "integer"
  23172. },
  23173. "takeremark": {
  23174. "description": "提货备注",
  23175. "type": "string"
  23176. },
  23177. "tradedate": {
  23178. "description": "交易日(yyyyMMdd)",
  23179. "type": "string"
  23180. },
  23181. "trademode": {
  23182. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23183. "type": "integer"
  23184. },
  23185. "userid": {
  23186. "description": "用户ID",
  23187. "type": "integer"
  23188. },
  23189. "vendorname": {
  23190. "description": "供应商名称",
  23191. "type": "string"
  23192. }
  23193. }
  23194. },
  23195. "models.HsbyPreGoods": {
  23196. "type": "object",
  23197. "required": [
  23198. "goodscode",
  23199. "goodsid",
  23200. "goodsname",
  23201. "marketid",
  23202. "trademode"
  23203. ],
  23204. "properties": {
  23205. "agreeunit": {
  23206. "description": "合约单位",
  23207. "type": "number"
  23208. },
  23209. "currency": {
  23210. "description": "货币",
  23211. "type": "string"
  23212. },
  23213. "currencysign": {
  23214. "description": "货币符号",
  23215. "type": "string"
  23216. },
  23217. "decimalplace": {
  23218. "description": "报价小数位",
  23219. "type": "integer"
  23220. },
  23221. "desccityid": {
  23222. "description": "目的地(市)",
  23223. "type": "integer"
  23224. },
  23225. "descprovinceid": {
  23226. "description": "目的地(省)",
  23227. "type": "integer"
  23228. },
  23229. "enableqty": {
  23230. "description": "剩余数量",
  23231. "type": "integer"
  23232. },
  23233. "goodscode": {
  23234. "description": "商品代码(内部)",
  23235. "type": "string"
  23236. },
  23237. "goodsid": {
  23238. "description": "商品ID(自增ID SEQ_GOODS)",
  23239. "type": "integer"
  23240. },
  23241. "goodsname": {
  23242. "description": "商品名称",
  23243. "type": "string"
  23244. },
  23245. "goodsstatus": {
  23246. "description": "商品状态- 2:未上市 3:上市",
  23247. "type": "integer"
  23248. },
  23249. "lasttradedate": {
  23250. "description": "最后交易日期(状态:待退市)",
  23251. "type": "string"
  23252. },
  23253. "listingdate": {
  23254. "description": "交易开始日期",
  23255. "type": "string"
  23256. },
  23257. "marketid": {
  23258. "description": "所属市场ID",
  23259. "type": "integer"
  23260. },
  23261. "picurls": {
  23262. "description": "介绍图片[多张用逗号分隔]",
  23263. "type": "string"
  23264. },
  23265. "presaledqty": {
  23266. "description": "已预售量(预售结束时更新)",
  23267. "type": "integer"
  23268. },
  23269. "presaleqty": {
  23270. "description": "预售数量",
  23271. "type": "integer"
  23272. },
  23273. "quoteminunit": {
  23274. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23275. "type": "integer"
  23276. },
  23277. "refprice": {
  23278. "description": "参考价格[一口价]",
  23279. "type": "number"
  23280. },
  23281. "relatedgoodsid": {
  23282. "description": "关联交易合约ID",
  23283. "type": "integer"
  23284. },
  23285. "trademode": {
  23286. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23287. "type": "integer"
  23288. },
  23289. "videourls": {
  23290. "description": "介绍视频[多张用逗号分隔]",
  23291. "type": "string"
  23292. }
  23293. }
  23294. },
  23295. "models.HsbyPreGoodsDetail": {
  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. "buymaxqty": {
  23310. "description": "购买上限 [71] - 0为不限",
  23311. "type": "integer"
  23312. },
  23313. "currency": {
  23314. "description": "货币",
  23315. "type": "string"
  23316. },
  23317. "currencysign": {
  23318. "description": "货币符号",
  23319. "type": "string"
  23320. },
  23321. "customername": {
  23322. "description": "发行单位",
  23323. "type": "string"
  23324. },
  23325. "decimalplace": {
  23326. "description": "报价小数位",
  23327. "type": "integer"
  23328. },
  23329. "desccityid": {
  23330. "description": "目的地(市)ID",
  23331. "type": "integer"
  23332. },
  23333. "descprovinceid": {
  23334. "description": "目的地(省)ID",
  23335. "type": "integer"
  23336. },
  23337. "enableqty": {
  23338. "description": "剩余数量",
  23339. "type": "integer"
  23340. },
  23341. "goodscode": {
  23342. "description": "商品代码(内部)",
  23343. "type": "string"
  23344. },
  23345. "goodsdesc": {
  23346. "description": "商品详情",
  23347. "type": "string"
  23348. },
  23349. "goodsid": {
  23350. "description": "商品ID(自增ID SEQ_GOODS)",
  23351. "type": "integer"
  23352. },
  23353. "goodsname": {
  23354. "description": "商品名称",
  23355. "type": "string"
  23356. },
  23357. "goodsstatus": {
  23358. "description": "商品状态- 2:未上市 3:上市",
  23359. "type": "integer"
  23360. },
  23361. "goodunit": {
  23362. "description": "报价单位",
  23363. "type": "string"
  23364. },
  23365. "lasttradedate": {
  23366. "description": "最后交易日期(状态:待退市)",
  23367. "type": "string"
  23368. },
  23369. "listingdate": {
  23370. "description": "交易开始日期",
  23371. "type": "string"
  23372. },
  23373. "lotsize": {
  23374. "description": "手数最小变动单位",
  23375. "type": "integer"
  23376. },
  23377. "marketid": {
  23378. "description": "所属市场ID",
  23379. "type": "integer"
  23380. },
  23381. "picurls": {
  23382. "description": "介绍图片[多张用逗号分隔]",
  23383. "type": "string"
  23384. },
  23385. "presaledqty": {
  23386. "description": "已预售量(预售结束时更新)",
  23387. "type": "integer"
  23388. },
  23389. "presaleqty": {
  23390. "description": "预售数量",
  23391. "type": "integer"
  23392. },
  23393. "quoteminunit": {
  23394. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23395. "type": "integer"
  23396. },
  23397. "refprice": {
  23398. "description": "参考价格[一口价]",
  23399. "type": "number"
  23400. },
  23401. "relatedgoodsid": {
  23402. "description": "关联交易合约ID",
  23403. "type": "integer"
  23404. },
  23405. "stepvalue": {
  23406. "description": "价格最小变动单位",
  23407. "type": "number"
  23408. },
  23409. "trademode": {
  23410. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23411. "type": "integer"
  23412. },
  23413. "vendorattr": {
  23414. "description": "供应商附件(多张,逗号分隔)",
  23415. "type": "string"
  23416. },
  23417. "vendorname": {
  23418. "description": "供应商名称",
  23419. "type": "string"
  23420. },
  23421. "vendorphone": {
  23422. "description": "供应商客服电话",
  23423. "type": "string"
  23424. },
  23425. "videourls": {
  23426. "description": "介绍视频[多张用逗号分隔]",
  23427. "type": "string"
  23428. }
  23429. }
  23430. },
  23431. "models.HsbySellCollectionOrder": {
  23432. "type": "object",
  23433. "required": [
  23434. "goodscode",
  23435. "goodsname",
  23436. "tradeid",
  23437. "trademode"
  23438. ],
  23439. "properties": {
  23440. "agreeunit": {
  23441. "description": "合约单位",
  23442. "type": "number"
  23443. },
  23444. "buyaccountid": {
  23445. "description": "买方账号ID[报价币种]",
  23446. "type": "integer"
  23447. },
  23448. "buyorderid": {
  23449. "description": "买方委托单号",
  23450. "type": "string"
  23451. },
  23452. "createtime": {
  23453. "description": "创建时间",
  23454. "type": "string"
  23455. },
  23456. "currencysign": {
  23457. "description": "货币符号",
  23458. "type": "string"
  23459. },
  23460. "decimalplace": {
  23461. "description": "报价小数位",
  23462. "type": "integer"
  23463. },
  23464. "goodscode": {
  23465. "description": "商品代码(内部)",
  23466. "type": "string"
  23467. },
  23468. "goodsid": {
  23469. "description": "商品ID",
  23470. "type": "integer"
  23471. },
  23472. "goodsname": {
  23473. "description": "商品名称",
  23474. "type": "string"
  23475. },
  23476. "marketid": {
  23477. "description": "市场ID",
  23478. "type": "integer"
  23479. },
  23480. "offamount": {
  23481. "description": "优惠金额",
  23482. "type": "number"
  23483. },
  23484. "payamount": {
  23485. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  23486. "type": "number"
  23487. },
  23488. "payflag": {
  23489. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23490. "type": "integer"
  23491. },
  23492. "paylimitedtime": {
  23493. "description": "支付期限",
  23494. "type": "string"
  23495. },
  23496. "paytime": {
  23497. "description": "付款时间",
  23498. "type": "string"
  23499. },
  23500. "picurls": {
  23501. "description": "商品介绍图片[多张用逗号分隔]",
  23502. "type": "string"
  23503. },
  23504. "sellaccountid": {
  23505. "description": "卖方账号ID[报价币种]",
  23506. "type": "integer"
  23507. },
  23508. "sellorderid": {
  23509. "description": "卖方委托单号",
  23510. "type": "string"
  23511. },
  23512. "tradeamount": {
  23513. "description": "成交金额",
  23514. "type": "number"
  23515. },
  23516. "tradecharge": {
  23517. "description": "成交手续费(买方)",
  23518. "type": "number"
  23519. },
  23520. "tradedate": {
  23521. "description": "交易日(yyyyMMdd)",
  23522. "type": "string"
  23523. },
  23524. "tradeid": {
  23525. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23526. "type": "string"
  23527. },
  23528. "trademode": {
  23529. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23530. "type": "integer"
  23531. },
  23532. "tradeprice": {
  23533. "description": "成交价格",
  23534. "type": "number"
  23535. },
  23536. "tradeqty": {
  23537. "description": "成交数量",
  23538. "type": "integer"
  23539. }
  23540. }
  23541. },
  23542. "models.HsbySellMyDetail": {
  23543. "type": "object",
  23544. "required": [
  23545. "accountid",
  23546. "buyorsell",
  23547. "goodscode",
  23548. "goodsid",
  23549. "goodsname",
  23550. "marketid",
  23551. "orderid",
  23552. "time",
  23553. "trademode"
  23554. ],
  23555. "properties": {
  23556. "accountid": {
  23557. "description": "账户ID[报价币种]",
  23558. "type": "integer"
  23559. },
  23560. "agreeunit": {
  23561. "description": "合约单位",
  23562. "type": "number"
  23563. },
  23564. "buyorsell": {
  23565. "description": "买卖 - 0:买 1:卖",
  23566. "type": "integer"
  23567. },
  23568. "currencysign": {
  23569. "description": "货币符号",
  23570. "type": "string"
  23571. },
  23572. "decimalplace": {
  23573. "description": "报价小数位",
  23574. "type": "integer"
  23575. },
  23576. "goodscode": {
  23577. "description": "商品代码(内部)",
  23578. "type": "string"
  23579. },
  23580. "goodsid": {
  23581. "description": "商品ID",
  23582. "type": "integer"
  23583. },
  23584. "goodsname": {
  23585. "description": "商品名称",
  23586. "type": "string"
  23587. },
  23588. "marketid": {
  23589. "description": "市场ID",
  23590. "type": "integer"
  23591. },
  23592. "orderid": {
  23593. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  23594. "type": "string"
  23595. },
  23596. "ordertype": {
  23597. "description": "单据类型:0 - 发布中, 1 - 已完成",
  23598. "type": "integer"
  23599. },
  23600. "picurls": {
  23601. "description": "介绍图片[多张用逗号分隔]",
  23602. "type": "string"
  23603. },
  23604. "price": {
  23605. "description": "价格",
  23606. "type": "number"
  23607. },
  23608. "qty": {
  23609. "description": "数量",
  23610. "type": "integer"
  23611. },
  23612. "time": {
  23613. "description": "时间",
  23614. "type": "string"
  23615. },
  23616. "trademode": {
  23617. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23618. "type": "integer"
  23619. },
  23620. "vendorname": {
  23621. "description": "供应商名称",
  23622. "type": "string"
  23623. }
  23624. }
  23625. },
  23626. "models.HsbyTopGoods": {
  23627. "type": "object",
  23628. "required": [
  23629. "goodscode",
  23630. "goodsid",
  23631. "goodsname",
  23632. "marketid",
  23633. "trademode"
  23634. ],
  23635. "properties": {
  23636. "agreeunit": {
  23637. "description": "合约单位",
  23638. "type": "number"
  23639. },
  23640. "currency": {
  23641. "description": "货币",
  23642. "type": "string"
  23643. },
  23644. "currencysign": {
  23645. "description": "货币符号",
  23646. "type": "string"
  23647. },
  23648. "decimalplace": {
  23649. "description": "报价小数位",
  23650. "type": "integer"
  23651. },
  23652. "desccityid": {
  23653. "description": "目的地(市)",
  23654. "type": "integer"
  23655. },
  23656. "descprovinceid": {
  23657. "description": "目的地(省)",
  23658. "type": "integer"
  23659. },
  23660. "goodscode": {
  23661. "description": "商品代码(内部)",
  23662. "type": "string"
  23663. },
  23664. "goodsid": {
  23665. "description": "商品ID(自增ID SEQ_GOODS)",
  23666. "type": "integer"
  23667. },
  23668. "goodsname": {
  23669. "description": "商品名称",
  23670. "type": "string"
  23671. },
  23672. "hotindex": {
  23673. "description": "景点热度",
  23674. "type": "integer"
  23675. },
  23676. "last": {
  23677. "description": "现价",
  23678. "type": "number"
  23679. },
  23680. "marketid": {
  23681. "description": "所属市场ID",
  23682. "type": "integer"
  23683. },
  23684. "picurls": {
  23685. "description": "介绍图片[多张用逗号分隔]",
  23686. "type": "string"
  23687. },
  23688. "quoteminunit": {
  23689. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23690. "type": "integer"
  23691. },
  23692. "trademode": {
  23693. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23694. "type": "integer"
  23695. },
  23696. "videourls": {
  23697. "description": "介绍视频[多张用逗号分隔]",
  23698. "type": "string"
  23699. }
  23700. }
  23701. },
  23702. "models.HybsMyBuyOrderDetail": {
  23703. "type": "object",
  23704. "required": [
  23705. "accountid",
  23706. "buyorsell",
  23707. "goodscode",
  23708. "goodsid",
  23709. "goodsname",
  23710. "marketid",
  23711. "orderid",
  23712. "orderqty",
  23713. "ordertime",
  23714. "trademode"
  23715. ],
  23716. "properties": {
  23717. "accountid": {
  23718. "description": "账户ID[报价币种]",
  23719. "type": "integer"
  23720. },
  23721. "agreeunit": {
  23722. "description": "合约单位",
  23723. "type": "number"
  23724. },
  23725. "buyorsell": {
  23726. "description": "买卖 - 0:买 1:卖",
  23727. "type": "integer"
  23728. },
  23729. "cancelqty": {
  23730. "description": "撤单数量",
  23731. "type": "integer"
  23732. },
  23733. "currencysign": {
  23734. "description": "货币符号",
  23735. "type": "string"
  23736. },
  23737. "decimalplace": {
  23738. "description": "报价小数位",
  23739. "type": "integer"
  23740. },
  23741. "goodscode": {
  23742. "description": "商品代码(内部)",
  23743. "type": "string"
  23744. },
  23745. "goodsid": {
  23746. "description": "商品ID",
  23747. "type": "integer"
  23748. },
  23749. "goodsname": {
  23750. "description": "商品名称",
  23751. "type": "string"
  23752. },
  23753. "listingselecttype": {
  23754. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23755. "type": "integer"
  23756. },
  23757. "marketid": {
  23758. "description": "市场ID",
  23759. "type": "integer"
  23760. },
  23761. "mybuystatus": {
  23762. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  23763. "type": "integer"
  23764. },
  23765. "orderamount": {
  23766. "description": "委托金额",
  23767. "type": "number"
  23768. },
  23769. "orderid": {
  23770. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23771. "type": "string"
  23772. },
  23773. "orderprice": {
  23774. "description": "委托价格",
  23775. "type": "number"
  23776. },
  23777. "orderqty": {
  23778. "description": "委托数量",
  23779. "type": "integer"
  23780. },
  23781. "orderstatus": {
  23782. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23783. "type": "integer"
  23784. },
  23785. "ordertime": {
  23786. "description": "委托时间",
  23787. "type": "string"
  23788. },
  23789. "picurls1": {
  23790. "description": "预售商品介绍图片[多张用逗号分隔]",
  23791. "type": "string"
  23792. },
  23793. "picurls2": {
  23794. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23795. "type": "string"
  23796. },
  23797. "trademode": {
  23798. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23799. "type": "integer"
  23800. },
  23801. "tradeqty": {
  23802. "description": "成交数量",
  23803. "type": "integer"
  23804. },
  23805. "vendorname1": {
  23806. "description": "预售商品供应商名称",
  23807. "type": "string"
  23808. },
  23809. "vendorname2": {
  23810. "description": "挂牌商品供应商名称",
  23811. "type": "string"
  23812. }
  23813. }
  23814. },
  23815. "models.Loginaccount": {
  23816. "type": "object",
  23817. "required": [
  23818. "loginid"
  23819. ],
  23820. "properties": {
  23821. "accountname": {
  23822. "description": "账户名称",
  23823. "type": "string"
  23824. },
  23825. "canoutin": {
  23826. "description": "是否可出入金 - 0:不可 1:可",
  23827. "type": "integer"
  23828. },
  23829. "clientroleid": {
  23830. "description": "终端角色ID",
  23831. "type": "integer"
  23832. },
  23833. "haslogined": {
  23834. "description": "是否已登录 - 0:未登录 1:已登录",
  23835. "type": "integer"
  23836. },
  23837. "hasupdatedpwd": {
  23838. "description": "是否已更改密码 - 0:未修改 1:已修改",
  23839. "type": "integer"
  23840. },
  23841. "lastloginip": {
  23842. "description": "最新登录地址",
  23843. "type": "string"
  23844. },
  23845. "lastloginmode": {
  23846. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23847. "type": "integer"
  23848. },
  23849. "lastloginremark": {
  23850. "description": "最新登录描述",
  23851. "type": "string"
  23852. },
  23853. "lastlogintime": {
  23854. "description": "最新登录时间",
  23855. "type": "string"
  23856. },
  23857. "logincode": {
  23858. "description": "登录代码",
  23859. "type": "string"
  23860. },
  23861. "loginfailnum": {
  23862. "description": "连续登录失败次数(登录成功时清零)",
  23863. "type": "integer"
  23864. },
  23865. "loginid": {
  23866. "description": "登陆账号",
  23867. "type": "integer"
  23868. },
  23869. "loginport": {
  23870. "description": "最新登录端口",
  23871. "type": "integer"
  23872. },
  23873. "loginstatus": {
  23874. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  23875. "type": "integer"
  23876. },
  23877. "loginusertype": {
  23878. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  23879. "type": "integer"
  23880. },
  23881. "mobile": {
  23882. "description": "手机号码(加密存储)",
  23883. "type": "string"
  23884. },
  23885. "modifierid": {
  23886. "description": "修改人",
  23887. "type": "integer"
  23888. },
  23889. "modifysrc": {
  23890. "description": "审核来源 - 1:管理端 2:终端",
  23891. "type": "integer"
  23892. },
  23893. "modifytime": {
  23894. "description": "修改时间",
  23895. "type": "string"
  23896. },
  23897. "password": {
  23898. "description": "登陆密码",
  23899. "type": "string"
  23900. },
  23901. "pwdwrongcount": {
  23902. "description": "密码错误次数",
  23903. "type": "integer"
  23904. },
  23905. "relateduserid": {
  23906. "description": "关联用户ID(机构)",
  23907. "type": "integer"
  23908. },
  23909. "taaccountrighttype": {
  23910. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  23911. "type": "integer"
  23912. },
  23913. "unfreezetime": {
  23914. "description": "账户解冻时间",
  23915. "type": "string"
  23916. },
  23917. "userid": {
  23918. "description": "用户ID",
  23919. "type": "integer"
  23920. }
  23921. }
  23922. },
  23923. "models.MainAccountInfo": {
  23924. "type": "object",
  23925. "properties": {
  23926. "accountid": {
  23927. "description": "账号id",
  23928. "type": "integer"
  23929. },
  23930. "accountname": {
  23931. "description": "账号名称(taaccount表中的名称)",
  23932. "type": "string"
  23933. },
  23934. "appid": {
  23935. "description": "AppID",
  23936. "type": "string"
  23937. },
  23938. "authcode": {
  23939. "description": "授权码",
  23940. "type": "string"
  23941. },
  23942. "brokerid": {
  23943. "description": "经纪商id",
  23944. "type": "string"
  23945. },
  23946. "fcid": {
  23947. "description": "期货公司id",
  23948. "type": "integer"
  23949. },
  23950. "fcname": {
  23951. "description": "期货公司代码",
  23952. "type": "string"
  23953. },
  23954. "hedgeaccountcode": {
  23955. "description": "外部账号代码(主账号登录代码)",
  23956. "type": "string"
  23957. },
  23958. "hedgeaccountpwd": {
  23959. "description": "密码",
  23960. "type": "string"
  23961. },
  23962. "ismain": {
  23963. "description": "是否主账号",
  23964. "type": "integer"
  23965. },
  23966. "relateduserid": {
  23967. "description": "关联用户id",
  23968. "type": "integer"
  23969. },
  23970. "userid": {
  23971. "description": "关联用户id",
  23972. "type": "integer"
  23973. }
  23974. }
  23975. },
  23976. "models.Market": {
  23977. "type": "object",
  23978. "required": [
  23979. "marketid",
  23980. "marketstatus",
  23981. "openmethod",
  23982. "reckonpricealgorithm",
  23983. "trademode",
  23984. "tradeproperty"
  23985. ],
  23986. "properties": {
  23987. "auctionwrtype": {
  23988. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  23989. "type": "integer"
  23990. },
  23991. "canacceptquote": {
  23992. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  23993. "type": "integer"
  23994. },
  23995. "cangoodsexercise": {
  23996. "description": "[期权]是否可现货行权- 0:否 1:是",
  23997. "type": "integer"
  23998. },
  23999. "cangoodsexercisetype": {
  24000. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  24001. "type": "integer"
  24002. },
  24003. "canmanualquotestrike": {
  24004. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  24005. "type": "integer"
  24006. },
  24007. "canmutistage": {
  24008. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  24009. "type": "integer"
  24010. },
  24011. "canpreexercise": {
  24012. "description": "[期权]是否可预申报- 0:否 1:是",
  24013. "type": "integer"
  24014. },
  24015. "clearinterval": {
  24016. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  24017. "type": "integer"
  24018. },
  24019. "contracttmp": {
  24020. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  24021. "type": "string"
  24022. },
  24023. "exchareaid": {
  24024. "description": "所属交易所,可以没有",
  24025. "type": "integer"
  24026. },
  24027. "goodstype": {
  24028. "description": "商品类型 - 1:交易商品 2:仓单商品",
  24029. "type": "integer"
  24030. },
  24031. "hasrebate": {
  24032. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  24033. "type": "integer"
  24034. },
  24035. "hastradecredit": {
  24036. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  24037. "type": "integer"
  24038. },
  24039. "haswr": {
  24040. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  24041. "type": "integer"
  24042. },
  24043. "isdeductmargin": {
  24044. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  24045. "type": "integer"
  24046. },
  24047. "isrecordsource": {
  24048. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  24049. "type": "integer"
  24050. },
  24051. "isreleasemargin": {
  24052. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  24053. "type": "integer"
  24054. },
  24055. "marginformula": {
  24056. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24057. "type": "integer"
  24058. },
  24059. "marginformula2": {
  24060. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24061. "type": "integer"
  24062. },
  24063. "marketid": {
  24064. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24065. "type": "integer"
  24066. },
  24067. "marketname": {
  24068. "description": "市场名称",
  24069. "type": "string"
  24070. },
  24071. "marketserviceid": {
  24072. "description": "市场服务ID",
  24073. "type": "integer"
  24074. },
  24075. "marketstatus": {
  24076. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24077. "type": "integer"
  24078. },
  24079. "markettype": {
  24080. "description": "市场类型- 1:非交易服务 2:交易服务",
  24081. "type": "integer"
  24082. },
  24083. "matchermode": {
  24084. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  24085. "type": "integer"
  24086. },
  24087. "openmethod": {
  24088. "description": "开盘模式 - 0 自动 1手动",
  24089. "type": "integer"
  24090. },
  24091. "otcuserid": {
  24092. "description": "场外期权做市商[场外期权]",
  24093. "type": "integer"
  24094. },
  24095. "outersynctime": {
  24096. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  24097. "type": "string"
  24098. },
  24099. "pendingflag": {
  24100. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  24101. "type": "integer"
  24102. },
  24103. "pendingtime": {
  24104. "description": "待开市时间[通道交易-对冲](HH:mm)",
  24105. "type": "string"
  24106. },
  24107. "performancetempid": {
  24108. "description": "履约计划模板ID - 作废",
  24109. "type": "integer"
  24110. },
  24111. "premiumquotemode": {
  24112. "description": "权利金报价方式 - 1:自动 2:手动",
  24113. "type": "integer"
  24114. },
  24115. "rebateratio": {
  24116. "description": "返利比率[竞价式]",
  24117. "type": "number"
  24118. },
  24119. "reckonorder": {
  24120. "description": "结算顺序",
  24121. "type": "integer"
  24122. },
  24123. "reckonpricealgorithm": {
  24124. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  24125. "type": "integer"
  24126. },
  24127. "reckonpriceparam": {
  24128. "description": "结算价参数",
  24129. "type": "integer"
  24130. },
  24131. "reckontime": {
  24132. "description": "结算时间[通道交易-对冲](HH:mm)",
  24133. "type": "string"
  24134. },
  24135. "roleprioritytype": {
  24136. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  24137. "type": "integer"
  24138. },
  24139. "selllistingauditflag": {
  24140. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  24141. "type": "integer"
  24142. },
  24143. "trademarkettype": {
  24144. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  24145. "type": "integer"
  24146. },
  24147. "trademode": {
  24148. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24149. "type": "integer"
  24150. },
  24151. "tradeproperty": {
  24152. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  24153. "type": "integer"
  24154. },
  24155. "tradetype": {
  24156. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  24157. "type": "integer"
  24158. }
  24159. }
  24160. },
  24161. "models.Marketrun": {
  24162. "type": "object",
  24163. "required": [
  24164. "marketid",
  24165. "nexttradedate",
  24166. "reckonflag",
  24167. "runstatus",
  24168. "tradedate",
  24169. "tradedate2"
  24170. ],
  24171. "properties": {
  24172. "afternexttradedate": {
  24173. "description": "下下交易日",
  24174. "type": "string"
  24175. },
  24176. "clearquoteflag": {
  24177. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  24178. "type": "integer"
  24179. },
  24180. "lastreckondate": {
  24181. "description": "最新交易日(结算成功)",
  24182. "type": "string"
  24183. },
  24184. "machinedate": {
  24185. "description": "机器时间",
  24186. "type": "string"
  24187. },
  24188. "manualflag": {
  24189. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  24190. "type": "integer"
  24191. },
  24192. "marketid": {
  24193. "description": "市场ID",
  24194. "type": "integer"
  24195. },
  24196. "nexttradedate": {
  24197. "description": "下一交易日",
  24198. "type": "string"
  24199. },
  24200. "pretradedate": {
  24201. "description": "上一交易日",
  24202. "type": "string"
  24203. },
  24204. "reckonflag": {
  24205. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  24206. "type": "integer"
  24207. },
  24208. "runstatus": {
  24209. "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.今日免清算",
  24210. "type": "integer"
  24211. },
  24212. "sectionid": {
  24213. "description": "时间段号[多时段时用]",
  24214. "type": "integer"
  24215. },
  24216. "tradedate": {
  24217. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  24218. "type": "string"
  24219. },
  24220. "tradedate2": {
  24221. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  24222. "type": "string"
  24223. },
  24224. "updatetime": {
  24225. "description": "更新时间",
  24226. "type": "string"
  24227. }
  24228. }
  24229. },
  24230. "models.Messageboard": {
  24231. "type": "object",
  24232. "required": [
  24233. "messageboardid"
  24234. ],
  24235. "properties": {
  24236. "contactnum": {
  24237. "description": "联系电话",
  24238. "type": "string"
  24239. },
  24240. "createtime": {
  24241. "description": "创建时间",
  24242. "type": "string"
  24243. },
  24244. "message": {
  24245. "description": "留言信息",
  24246. "type": "string"
  24247. },
  24248. "messageboardid": {
  24249. "description": "留言簿ID(SEQ_MessageBoard)",
  24250. "type": "integer"
  24251. },
  24252. "userid": {
  24253. "description": "用户ID",
  24254. "type": "integer"
  24255. }
  24256. }
  24257. },
  24258. "models.MyCoupon": {
  24259. "type": "object",
  24260. "required": [
  24261. "accountid",
  24262. "coupontypeid"
  24263. ],
  24264. "properties": {
  24265. "accountid": {
  24266. "description": "资金账户ID",
  24267. "type": "integer"
  24268. },
  24269. "areauserid": {
  24270. "description": "所属机构",
  24271. "type": "integer"
  24272. },
  24273. "conditionvalue": {
  24274. "description": "条件阈值(可为0)",
  24275. "type": "number"
  24276. },
  24277. "couponcategroy": {
  24278. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  24279. "type": "integer"
  24280. },
  24281. "couponname": {
  24282. "description": "优惠券名称",
  24283. "type": "string"
  24284. },
  24285. "coupontypeid": {
  24286. "description": "优惠券类型ID",
  24287. "type": "string"
  24288. },
  24289. "couponvalue": {
  24290. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24291. "type": "number"
  24292. },
  24293. "curfreezeqty": {
  24294. "description": "期末冻结数量",
  24295. "type": "integer"
  24296. },
  24297. "curqty": {
  24298. "description": "期末数量",
  24299. "type": "integer"
  24300. },
  24301. "isgeneral": {
  24302. "description": "是否通用券 - 0:否 1:是",
  24303. "type": "integer"
  24304. },
  24305. "isunusable": {
  24306. "description": "是否不可用",
  24307. "type": "boolean"
  24308. },
  24309. "limitedflag": {
  24310. "description": "是否指定商品 - 0:不限 1:限制",
  24311. "type": "integer"
  24312. },
  24313. "limitedgoodsids": {
  24314. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  24315. "type": "string"
  24316. },
  24317. "orifreezeqty": {
  24318. "description": "期初冻结数量",
  24319. "type": "integer"
  24320. },
  24321. "oriqty": {
  24322. "description": "期初数量",
  24323. "type": "integer"
  24324. },
  24325. "reasontype": {
  24326. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  24327. "type": "integer"
  24328. },
  24329. "todaydecrease": {
  24330. "description": "今日减少",
  24331. "type": "integer"
  24332. },
  24333. "todayincrease": {
  24334. "description": "今日增加",
  24335. "type": "integer"
  24336. },
  24337. "userid": {
  24338. "description": "用户ID",
  24339. "type": "integer"
  24340. },
  24341. "userscope": {
  24342. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  24343. "type": "string"
  24344. }
  24345. }
  24346. },
  24347. "models.MyCouponHold": {
  24348. "type": "object",
  24349. "required": [
  24350. "couponholdid"
  24351. ],
  24352. "properties": {
  24353. "accountid": {
  24354. "description": "资金账户ID",
  24355. "type": "integer"
  24356. },
  24357. "conditionvalue": {
  24358. "description": "条件阈值(可为0)",
  24359. "type": "number"
  24360. },
  24361. "couponcategroy": {
  24362. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  24363. "type": "integer"
  24364. },
  24365. "couponholdid": {
  24366. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  24367. "type": "string"
  24368. },
  24369. "couponname": {
  24370. "description": "优惠券名称",
  24371. "type": "string"
  24372. },
  24373. "coupontypeid": {
  24374. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  24375. "type": "string"
  24376. },
  24377. "couponvalue": {
  24378. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24379. "type": "number"
  24380. },
  24381. "createtime": {
  24382. "description": "创建时间",
  24383. "type": "string"
  24384. },
  24385. "enddate": {
  24386. "description": "结束日期",
  24387. "type": "string"
  24388. },
  24389. "giveapplyid": {
  24390. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  24391. "type": "integer"
  24392. },
  24393. "holdstatus": {
  24394. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  24395. "type": "integer"
  24396. },
  24397. "isgeneral": {
  24398. "description": "是否通用券 - 0:否 1:是",
  24399. "type": "integer"
  24400. },
  24401. "limitedflag": {
  24402. "description": "是否指定商品 - 0:不限 1:限制",
  24403. "type": "integer"
  24404. },
  24405. "limitedgoodsids": {
  24406. "description": "指定商品IDs[逗号分隔]",
  24407. "type": "string"
  24408. },
  24409. "qty": {
  24410. "description": "数量(按1平铺)",
  24411. "type": "integer"
  24412. },
  24413. "startdate": {
  24414. "description": "开始日期",
  24415. "type": "string"
  24416. },
  24417. "userid": {
  24418. "description": "用户ID",
  24419. "type": "integer"
  24420. },
  24421. "userscope": {
  24422. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  24423. "type": "string"
  24424. }
  24425. }
  24426. },
  24427. "models.MyUsedCoupon": {
  24428. "type": "object",
  24429. "required": [
  24430. "coupontypeid",
  24431. "orderid"
  24432. ],
  24433. "properties": {
  24434. "accountid": {
  24435. "description": "资金账户ID(买方)",
  24436. "type": "integer"
  24437. },
  24438. "conditionvalue": {
  24439. "description": "条件阈值(可为0)",
  24440. "type": "number"
  24441. },
  24442. "couponcategroy": {
  24443. "description": "种类 - 1:现金券 2:折扣券",
  24444. "type": "integer"
  24445. },
  24446. "couponname": {
  24447. "description": "优惠券名称",
  24448. "type": "string"
  24449. },
  24450. "coupontypeid": {
  24451. "description": "优惠券类型ID(买方)",
  24452. "type": "string"
  24453. },
  24454. "couponvalue": {
  24455. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  24456. "type": "number"
  24457. },
  24458. "createtime": {
  24459. "description": "创建时间",
  24460. "type": "string"
  24461. },
  24462. "goodsid": {
  24463. "description": "商品ID",
  24464. "type": "integer"
  24465. },
  24466. "handlestatus": {
  24467. "description": "处理状态",
  24468. "type": "integer"
  24469. },
  24470. "marketid": {
  24471. "description": "市场ID",
  24472. "type": "integer"
  24473. },
  24474. "offamount": {
  24475. "description": "优惠金额",
  24476. "type": "number"
  24477. },
  24478. "orderid": {
  24479. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24480. "type": "string"
  24481. },
  24482. "sellaccountid": {
  24483. "description": "资金账户ID(卖方)",
  24484. "type": "integer"
  24485. },
  24486. "tradeamount": {
  24487. "description": "成交金额",
  24488. "type": "number"
  24489. },
  24490. "tradeid": {
  24491. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24492. "type": "string"
  24493. },
  24494. "usedqty": {
  24495. "description": "使用数量",
  24496. "type": "integer"
  24497. }
  24498. }
  24499. },
  24500. "models.OperationPrimaryMenu": {
  24501. "type": "object",
  24502. "properties": {
  24503. "Children": {
  24504. "description": "二级功能菜单",
  24505. "type": "array",
  24506. "items": {
  24507. "$ref": "#/definitions/models.OperationSecondaryMenu"
  24508. }
  24509. },
  24510. "Key": {
  24511. "description": "菜单KEY",
  24512. "type": "string"
  24513. },
  24514. "Label": {
  24515. "description": "菜单标题",
  24516. "type": "string"
  24517. }
  24518. }
  24519. },
  24520. "models.OperationSecondaryMenu": {
  24521. "type": "object",
  24522. "properties": {
  24523. "Key": {
  24524. "description": "菜单KEY",
  24525. "type": "string"
  24526. },
  24527. "Label": {
  24528. "description": "菜单标题",
  24529. "type": "string"
  24530. },
  24531. "TabList": {
  24532. "description": "三级功能菜单",
  24533. "type": "array",
  24534. "items": {
  24535. "$ref": "#/definitions/models.OperationTabMenu"
  24536. }
  24537. }
  24538. }
  24539. },
  24540. "models.OperationTabMenu": {
  24541. "type": "object",
  24542. "properties": {
  24543. "Key": {
  24544. "description": "菜单KEY",
  24545. "type": "string"
  24546. },
  24547. "Label": {
  24548. "description": "菜单标题",
  24549. "type": "string"
  24550. }
  24551. }
  24552. },
  24553. "models.PendingAuditBizModel": {
  24554. "type": "object",
  24555. "properties": {
  24556. "accountid": {
  24557. "description": "现货账户",
  24558. "type": "string"
  24559. },
  24560. "areaname": {
  24561. "description": "所属部门",
  24562. "type": "string"
  24563. },
  24564. "bizid": {
  24565. "description": "业务ID",
  24566. "type": "string"
  24567. },
  24568. "bizname": {
  24569. "description": "业务名称",
  24570. "type": "string"
  24571. },
  24572. "status": {
  24573. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  24574. "type": "integer"
  24575. },
  24576. "type": {
  24577. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  24578. "type": "integer"
  24579. }
  24580. }
  24581. },
  24582. "models.QhjAccountOutInApply": {
  24583. "type": "object",
  24584. "properties": {
  24585. "accountcode": {
  24586. "description": "资金账号",
  24587. "type": "string"
  24588. },
  24589. "accountname": {
  24590. "description": "用户名称(名称)",
  24591. "type": "string"
  24592. },
  24593. "accountpwd": {
  24594. "description": "资金密码",
  24595. "type": "string"
  24596. },
  24597. "accountticket": {
  24598. "description": "最新账户服务流水号",
  24599. "type": "string"
  24600. },
  24601. "amount": {
  24602. "description": "金额",
  24603. "type": "number"
  24604. },
  24605. "applyremark": {
  24606. "description": "申请备注",
  24607. "type": "string"
  24608. },
  24609. "applystatus": {
  24610. "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: 复审通过,账户冻结金额检查中;",
  24611. "type": "integer"
  24612. },
  24613. "auditid": {
  24614. "description": "审核人",
  24615. "type": "integer"
  24616. },
  24617. "audittime": {
  24618. "description": "审核时间",
  24619. "type": "string"
  24620. },
  24621. "bank_apply_ticket": {
  24622. "description": "银行申请流水",
  24623. "type": "string"
  24624. },
  24625. "bankaccountname": {
  24626. "description": "银行账户名",
  24627. "type": "string"
  24628. },
  24629. "bankaccountno": {
  24630. "description": "银行卡号",
  24631. "type": "string"
  24632. },
  24633. "bankid": {
  24634. "description": "银行编号",
  24635. "type": "string"
  24636. },
  24637. "bankticket": {
  24638. "description": "银行流水",
  24639. "type": "string"
  24640. },
  24641. "branchbankid": {
  24642. "description": "银行支行号",
  24643. "type": "string"
  24644. },
  24645. "branchbankname": {
  24646. "description": "银行支行名称",
  24647. "type": "string"
  24648. },
  24649. "capamountout": {
  24650. "description": "出金(劣后本金) - 外部子账户",
  24651. "type": "number"
  24652. },
  24653. "certificatephotourl": {
  24654. "description": "凭证地址",
  24655. "type": "string"
  24656. },
  24657. "charge": {
  24658. "description": "手续费",
  24659. "type": "number"
  24660. },
  24661. "checkerrorflag": {
  24662. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24663. "type": "integer"
  24664. },
  24665. "currency": {
  24666. "description": "币种",
  24667. "type": "string"
  24668. },
  24669. "cusbankid": {
  24670. "description": "托管银行编号",
  24671. "type": "string"
  24672. },
  24673. "exchticket": {
  24674. "description": "银行服务流水号",
  24675. "type": "string"
  24676. },
  24677. "executetype": {
  24678. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24679. "type": "integer"
  24680. },
  24681. "extendinfo": {
  24682. "description": "扩展信息",
  24683. "type": "string"
  24684. },
  24685. "extoperateid": {
  24686. "description": "交易服务流水号",
  24687. "type": "integer"
  24688. },
  24689. "infamount": {
  24690. "description": "劣后金额(自有)",
  24691. "type": "number"
  24692. },
  24693. "logincode": {
  24694. "description": "登录账号(账号)",
  24695. "type": "string"
  24696. },
  24697. "netaddr": {
  24698. "description": "调转网址",
  24699. "type": "string"
  24700. },
  24701. "priamount": {
  24702. "description": "优先金额(授信)",
  24703. "type": "number"
  24704. },
  24705. "reauditid": {
  24706. "description": "复审人",
  24707. "type": "integer"
  24708. },
  24709. "reauditremark": {
  24710. "description": "复审备注",
  24711. "type": "string"
  24712. },
  24713. "reaudittime": {
  24714. "description": "复审时间",
  24715. "type": "string"
  24716. },
  24717. "relatedorderid": {
  24718. "description": "三方关联ID",
  24719. "type": "string"
  24720. },
  24721. "remark": {
  24722. "description": "备注",
  24723. "type": "string"
  24724. },
  24725. "remark2": {
  24726. "description": "备注(失败原因)",
  24727. "type": "string"
  24728. },
  24729. "soucreamount": {
  24730. "description": "原始出入金金额",
  24731. "type": "number"
  24732. },
  24733. "soucrecurrencyid": {
  24734. "description": "原始出入金币种",
  24735. "type": "integer"
  24736. },
  24737. "tradedate": {
  24738. "description": "交易日(yyyyMMdd)",
  24739. "type": "string"
  24740. },
  24741. "updatetime": {
  24742. "description": "更新时间(申请时间)",
  24743. "type": "string"
  24744. },
  24745. "userid": {
  24746. "description": "用户id",
  24747. "type": "integer"
  24748. },
  24749. "userinfotype": {
  24750. "description": "账户类型 1-个人 2-企业",
  24751. "type": "integer"
  24752. }
  24753. }
  24754. },
  24755. "models.QhjAgreementChangeLog": {
  24756. "type": "object",
  24757. "properties": {
  24758. "agreementcontent": {
  24759. "description": "协议内容",
  24760. "type": "string"
  24761. },
  24762. "agreementfrequency": {
  24763. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24764. "type": "integer"
  24765. },
  24766. "agreementid": {
  24767. "description": "协议ID",
  24768. "type": "integer"
  24769. },
  24770. "agreementname": {
  24771. "description": "协议名称",
  24772. "type": "string"
  24773. },
  24774. "agreementno": {
  24775. "description": "协议编号",
  24776. "type": "string"
  24777. },
  24778. "agreementtype": {
  24779. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24780. "type": "integer"
  24781. },
  24782. "agreementversion": {
  24783. "description": "协议版本号",
  24784. "type": "integer"
  24785. },
  24786. "logid": {
  24787. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  24788. "type": "integer"
  24789. },
  24790. "reviserid": {
  24791. "description": "修改人",
  24792. "type": "integer"
  24793. },
  24794. "revisersrc": {
  24795. "description": "修改来源 - 1:管理端 2:终端",
  24796. "type": "integer"
  24797. },
  24798. "updatetime": {
  24799. "description": "更新时间",
  24800. "type": "string"
  24801. }
  24802. }
  24803. },
  24804. "models.QhjAgreementConfig": {
  24805. "type": "object",
  24806. "properties": {
  24807. "agreementcontent": {
  24808. "description": "协议内容",
  24809. "type": "string"
  24810. },
  24811. "agreementfrequency": {
  24812. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24813. "type": "integer"
  24814. },
  24815. "agreementid": {
  24816. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  24817. "type": "integer"
  24818. },
  24819. "agreementname": {
  24820. "description": "协议名称",
  24821. "type": "string"
  24822. },
  24823. "agreementno": {
  24824. "description": "协议编号",
  24825. "type": "string"
  24826. },
  24827. "agreementtype": {
  24828. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24829. "type": "integer"
  24830. },
  24831. "agreementversion": {
  24832. "description": "协议版本号(从1开始每次修改加1)",
  24833. "type": "integer"
  24834. },
  24835. "createtime": {
  24836. "description": "创建时间",
  24837. "type": "string"
  24838. },
  24839. "creatorid": {
  24840. "description": "创建人",
  24841. "type": "integer"
  24842. },
  24843. "creatorsrc": {
  24844. "description": "创建来源 - 1:管理端 2:终端",
  24845. "type": "integer"
  24846. },
  24847. "isvalid": {
  24848. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  24849. "type": "integer"
  24850. },
  24851. "reviserid": {
  24852. "description": "修改人",
  24853. "type": "integer"
  24854. },
  24855. "revisersrc": {
  24856. "description": "修改来源 - 1:管理端 2:终端",
  24857. "type": "integer"
  24858. },
  24859. "updatetime": {
  24860. "description": "更新时间",
  24861. "type": "string"
  24862. }
  24863. }
  24864. },
  24865. "models.QhjAreaFinanceConfig": {
  24866. "type": "object",
  24867. "properties": {
  24868. "additionalratio": {
  24869. "description": "追加款比例",
  24870. "type": "number"
  24871. },
  24872. "advanceratio": {
  24873. "description": "预付款比例",
  24874. "type": "number"
  24875. },
  24876. "alarmratio": {
  24877. "description": "告警比例",
  24878. "type": "number"
  24879. },
  24880. "consumptiondirectreward": {
  24881. "description": "消费直推奖励值",
  24882. "type": "number"
  24883. },
  24884. "consumptionenabled": {
  24885. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  24886. "type": "integer"
  24887. },
  24888. "consumptionindirectreward": {
  24889. "description": "消费间推奖励值",
  24890. "type": "number"
  24891. },
  24892. "consumptionmodel": {
  24893. "description": "消费奖励方式 - 1:比率 2:固定",
  24894. "type": "integer"
  24895. },
  24896. "customerservicenum": {
  24897. "description": "客服电话",
  24898. "type": "string"
  24899. },
  24900. "dayinterestrate": {
  24901. "description": "日利率",
  24902. "type": "number"
  24903. },
  24904. "disableconsumptiontips": {
  24905. "description": "关闭消费奖励提示",
  24906. "type": "string"
  24907. },
  24908. "modifierid": {
  24909. "description": "修改人ID",
  24910. "type": "integer"
  24911. },
  24912. "modifysrc": {
  24913. "description": "审核来源 - 1:管理端 2:终端",
  24914. "type": "integer"
  24915. },
  24916. "modifytime": {
  24917. "description": "修改时间",
  24918. "type": "string"
  24919. },
  24920. "promotionvalue": {
  24921. "description": "推广奖励值(固定)",
  24922. "type": "number"
  24923. },
  24924. "scoreconfigvalue1": {
  24925. "description": "提货积分配置1",
  24926. "type": "integer"
  24927. },
  24928. "scoreconfigvalue2": {
  24929. "description": "提货积分配置2",
  24930. "type": "integer"
  24931. },
  24932. "userid": {
  24933. "description": "机构用户ID其他做市关系,都设置为 1",
  24934. "type": "integer"
  24935. },
  24936. "username": {
  24937. "description": "用户名称",
  24938. "type": "string"
  24939. }
  24940. }
  24941. },
  24942. "models.QhjBankAccountSign": {
  24943. "type": "object",
  24944. "properties": {
  24945. "accountcode": {
  24946. "description": "资金账号",
  24947. "type": "string"
  24948. },
  24949. "accountname": {
  24950. "description": "资金账号对应的账号名(UserName)",
  24951. "type": "string"
  24952. },
  24953. "accountname2": {
  24954. "description": "资金账号对应的账号名(UserName) - 密文",
  24955. "type": "string"
  24956. },
  24957. "accounttype": {
  24958. "description": "账户类型(UserType)",
  24959. "type": "integer"
  24960. },
  24961. "applicationtime": {
  24962. "description": "最后一次更新的时间",
  24963. "type": "string"
  24964. },
  24965. "applyexchticket": {
  24966. "description": "申请流水",
  24967. "type": "string"
  24968. },
  24969. "auditid": {
  24970. "description": "审核人",
  24971. "type": "integer"
  24972. },
  24973. "audittime": {
  24974. "description": "审核时间",
  24975. "type": "string"
  24976. },
  24977. "bankaccountname": {
  24978. "description": "签约银行卡账号名",
  24979. "type": "string"
  24980. },
  24981. "bankaccountname2": {
  24982. "description": "签约银行卡账号名 - 密文",
  24983. "type": "string"
  24984. },
  24985. "bankaccountno": {
  24986. "description": "银行卡号",
  24987. "type": "string"
  24988. },
  24989. "bankaccountno2": {
  24990. "description": "银行卡号 - 密文",
  24991. "type": "string"
  24992. },
  24993. "bankaccounttype": {
  24994. "description": "银行账户类型 - 1-对私; 2-对公",
  24995. "type": "integer"
  24996. },
  24997. "bankcardtype": {
  24998. "description": "银行卡类型",
  24999. "type": "integer"
  25000. },
  25001. "bankchildaccount": {
  25002. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  25003. "type": "string"
  25004. },
  25005. "bankcity": {
  25006. "description": "开户行城市",
  25007. "type": "string"
  25008. },
  25009. "bankid": {
  25010. "description": "签约银行ID",
  25011. "type": "string"
  25012. },
  25013. "bankname": {
  25014. "description": "签约银行名称",
  25015. "type": "string"
  25016. },
  25017. "bankprovince": {
  25018. "description": "开户行省份",
  25019. "type": "string"
  25020. },
  25021. "branchbankid": {
  25022. "description": "签约银行支行号",
  25023. "type": "string"
  25024. },
  25025. "branchbankname": {
  25026. "description": "签约银行支行名称",
  25027. "type": "string"
  25028. },
  25029. "cardno": {
  25030. "description": "证件号码",
  25031. "type": "string"
  25032. },
  25033. "cardno2": {
  25034. "description": "证件号码 - 密文",
  25035. "type": "string"
  25036. },
  25037. "cardtype": {
  25038. "description": "证件类型",
  25039. "type": "string"
  25040. },
  25041. "currency": {
  25042. "description": "币种",
  25043. "type": "string"
  25044. },
  25045. "cusbankid": {
  25046. "description": "托管银行编号",
  25047. "type": "string"
  25048. },
  25049. "direct": {
  25050. "description": "方向(可以判断那方先发起的签约)",
  25051. "type": "integer"
  25052. },
  25053. "exchticket": {
  25054. "description": "最后一次签约成功的流水号",
  25055. "type": "string"
  25056. },
  25057. "extendinfo": {
  25058. "description": "扩展信息(JSON字符串)",
  25059. "type": "string"
  25060. },
  25061. "mobilephone": {
  25062. "description": "手机号",
  25063. "type": "string"
  25064. },
  25065. "mobilephone2": {
  25066. "description": "手机号 - 密文",
  25067. "type": "string"
  25068. },
  25069. "netaddr": {
  25070. "description": "调转网址",
  25071. "type": "string"
  25072. },
  25073. "relateduserid": {
  25074. "description": "关联使用者userid",
  25075. "type": "integer"
  25076. },
  25077. "signstatus": {
  25078. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  25079. "type": "integer"
  25080. },
  25081. "updatetime": {
  25082. "description": "更新时间(签解约更新时间)",
  25083. "type": "string"
  25084. }
  25085. }
  25086. },
  25087. "models.QhjBankInfo": {
  25088. "type": "object",
  25089. "properties": {
  25090. "bankid": {
  25091. "description": "银行ID",
  25092. "type": "string"
  25093. },
  25094. "bankname": {
  25095. "description": "银行名称",
  25096. "type": "string"
  25097. },
  25098. "clearbankno": {
  25099. "description": "清算系统银行编号",
  25100. "type": "string"
  25101. },
  25102. "orderindex": {
  25103. "description": "排序顺序",
  25104. "type": "integer"
  25105. },
  25106. "status": {
  25107. "description": "状态 - 0:正常 1:注销",
  25108. "type": "integer"
  25109. }
  25110. }
  25111. },
  25112. "models.QhjBrokerApply": {
  25113. "type": "object",
  25114. "properties": {
  25115. "applicantid": {
  25116. "description": "申请人",
  25117. "type": "integer"
  25118. },
  25119. "applysrc": {
  25120. "description": "申请来源 - 1:管理端 2:终端",
  25121. "type": "integer"
  25122. },
  25123. "applystatus": {
  25124. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25125. "type": "integer"
  25126. },
  25127. "applytime": {
  25128. "description": "申请时间",
  25129. "type": "string"
  25130. },
  25131. "auditorid": {
  25132. "description": "审核人",
  25133. "type": "integer"
  25134. },
  25135. "auditremark": {
  25136. "description": "审核备注",
  25137. "type": "string"
  25138. },
  25139. "auditsrc": {
  25140. "description": "审核来源 - 1:管理端 2:终端",
  25141. "type": "integer"
  25142. },
  25143. "audittime": {
  25144. "description": "审核时间",
  25145. "type": "string"
  25146. },
  25147. "audittradedate": {
  25148. "description": "审核交易日(yyyyMMdd)",
  25149. "type": "string"
  25150. },
  25151. "brokerapplyid": {
  25152. "description": "申请ID(SEQ_BROKERAPPLY)",
  25153. "type": "integer"
  25154. },
  25155. "cardbackphotourl": {
  25156. "description": "证件背面图片地址",
  25157. "type": "string"
  25158. },
  25159. "cardfrontphotourl": {
  25160. "description": "证件正面图片地址",
  25161. "type": "string"
  25162. },
  25163. "cardnum": {
  25164. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25165. "type": "string"
  25166. },
  25167. "customername": {
  25168. "description": "姓名",
  25169. "type": "string"
  25170. },
  25171. "logincode": {
  25172. "description": "登录代码",
  25173. "type": "string"
  25174. },
  25175. "mobile": {
  25176. "description": "手机号码",
  25177. "type": "string"
  25178. },
  25179. "parentuserid": {
  25180. "description": "所属机构id",
  25181. "type": "integer"
  25182. },
  25183. "parentusername": {
  25184. "description": "所属机构名称",
  25185. "type": "string"
  25186. },
  25187. "refereeuserid": {
  25188. "description": "推荐人id(经纪人)",
  25189. "type": "integer"
  25190. },
  25191. "refernum": {
  25192. "description": "推荐码",
  25193. "type": "string"
  25194. },
  25195. "remark": {
  25196. "description": "备注",
  25197. "type": "string"
  25198. },
  25199. "subarealevelpath": {
  25200. "description": "层级路径",
  25201. "type": "string"
  25202. },
  25203. "tradedate": {
  25204. "description": "交易日(yyyyMMdd)",
  25205. "type": "string"
  25206. },
  25207. "userid": {
  25208. "description": "申请人用户ID",
  25209. "type": "integer"
  25210. },
  25211. "userinfotype": {
  25212. "description": "用户类型 1-个人 2-企业",
  25213. "type": "integer"
  25214. },
  25215. "username": {
  25216. "description": "用户名称",
  25217. "type": "string"
  25218. }
  25219. }
  25220. },
  25221. "models.QhjBrokerApplyEx": {
  25222. "type": "object",
  25223. "properties": {
  25224. "applylist": {
  25225. "description": "经纪人申请记录(只返回最新一条)",
  25226. "type": "array",
  25227. "items": {
  25228. "$ref": "#/definitions/models.QhjBrokerApply"
  25229. }
  25230. },
  25231. "canrecommend": {
  25232. "description": "是否经纪人 0-不是 1-是",
  25233. "type": "integer"
  25234. },
  25235. "refernum": {
  25236. "description": "推荐码",
  25237. "type": "string"
  25238. },
  25239. "userid": {
  25240. "description": "用户id",
  25241. "type": "integer"
  25242. },
  25243. "userinfotype": {
  25244. "description": "用户类型 1-个人 2-企业",
  25245. "type": "integer"
  25246. }
  25247. }
  25248. },
  25249. "models.QhjBrokerRewardLog": {
  25250. "type": "object",
  25251. "properties": {
  25252. "accountid": {
  25253. "description": "资金账号ID",
  25254. "type": "integer"
  25255. },
  25256. "createtime": {
  25257. "description": "创建时间(时间)",
  25258. "type": "string"
  25259. },
  25260. "handlestatus": {
  25261. "description": "处理状态",
  25262. "type": "integer"
  25263. },
  25264. "logid": {
  25265. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25266. "type": "string"
  25267. },
  25268. "marketid": {
  25269. "description": "市场ID",
  25270. "type": "integer"
  25271. },
  25272. "mmaccountid": {
  25273. "description": "做市商资金账号ID",
  25274. "type": "string"
  25275. },
  25276. "mmuserid": {
  25277. "description": "做市商用户ID",
  25278. "type": "string"
  25279. },
  25280. "rewardamount": {
  25281. "description": "奖励金额",
  25282. "type": "number"
  25283. },
  25284. "rewardmodel": {
  25285. "description": "消费奖励方式 - 1:比率 2:固定",
  25286. "type": "integer"
  25287. },
  25288. "rewardtype": {
  25289. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  25290. "type": "integer"
  25291. },
  25292. "rewardvalue": {
  25293. "description": "配置奖励值",
  25294. "type": "number"
  25295. },
  25296. "srcamount": {
  25297. "description": "成交金额 [消费奖励] (金额)",
  25298. "type": "number"
  25299. },
  25300. "srcgoodsid": {
  25301. "description": "来源商品ID [消费奖励]",
  25302. "type": "string"
  25303. },
  25304. "srctime": {
  25305. "description": "来源时间 (成交时间) [消费奖励]",
  25306. "type": "string"
  25307. },
  25308. "srctradeid": {
  25309. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  25310. "type": "string"
  25311. },
  25312. "srcuserid": {
  25313. "description": "来源用户ID(推广账户)",
  25314. "type": "string"
  25315. },
  25316. "srcusername": {
  25317. "description": "推广账户名称",
  25318. "type": "string"
  25319. },
  25320. "tradedate": {
  25321. "description": "交易日(yyyyMMdd)",
  25322. "type": "string"
  25323. },
  25324. "userid": {
  25325. "description": "经纪人用户ID",
  25326. "type": "integer"
  25327. }
  25328. }
  25329. },
  25330. "models.QhjContract": {
  25331. "type": "object",
  25332. "properties": {
  25333. "contractconfirmtime": {
  25334. "description": "合同确认时间(时间)",
  25335. "type": "string"
  25336. },
  25337. "currisklevel": {
  25338. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25339. "type": "integer"
  25340. },
  25341. "decimalplace": {
  25342. "description": "商品报价小数位",
  25343. "type": "integer"
  25344. },
  25345. "enumdicname": {
  25346. "description": "单位名称",
  25347. "type": "string"
  25348. },
  25349. "goodscode": {
  25350. "description": "商品代码",
  25351. "type": "string"
  25352. },
  25353. "goodsid": {
  25354. "description": "商品ID [5:融资单]",
  25355. "type": "integer"
  25356. },
  25357. "goodsname": {
  25358. "description": "商品名称",
  25359. "type": "string"
  25360. },
  25361. "goodunitid": {
  25362. "description": "商品单位id",
  25363. "type": "integer"
  25364. },
  25365. "initmargin": {
  25366. "description": "初始保证金(首付款)",
  25367. "type": "number"
  25368. },
  25369. "lenderamount": {
  25370. "description": "贷款金额(总额|订单总额)",
  25371. "type": "number"
  25372. },
  25373. "marginratio": {
  25374. "description": "保证金比率(首付比例)",
  25375. "type": "number"
  25376. },
  25377. "payamount": {
  25378. "description": "已付(已付货款)",
  25379. "type": "number"
  25380. },
  25381. "reckonrecovermargin": {
  25382. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25383. "type": "number"
  25384. },
  25385. "recoveredmargin": {
  25386. "description": "已追缴保证金",
  25387. "type": "number"
  25388. },
  25389. "remainamount": {
  25390. "description": "合同剩余金额(融资额)",
  25391. "type": "number"
  25392. },
  25393. "scfcontractid": {
  25394. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25395. "type": "string"
  25396. },
  25397. "scfcontractstatus": {
  25398. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25399. "type": "integer"
  25400. },
  25401. "scfcontracttype": {
  25402. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25403. "type": "integer"
  25404. },
  25405. "totalinterest": {
  25406. "description": "已计总利息(利息)",
  25407. "type": "number"
  25408. },
  25409. "tradeprice": {
  25410. "description": "成交价格(成本价格)",
  25411. "type": "number"
  25412. },
  25413. "userid": {
  25414. "description": "用户ID",
  25415. "type": "integer"
  25416. },
  25417. "username": {
  25418. "description": "用户名称",
  25419. "type": "string"
  25420. },
  25421. "wrqty": {
  25422. "description": "仓单数量(数量)",
  25423. "type": "number"
  25424. }
  25425. }
  25426. },
  25427. "models.QhjContractLog": {
  25428. "type": "object",
  25429. "properties": {
  25430. "amount": {
  25431. "description": "支付金额",
  25432. "type": "number"
  25433. },
  25434. "amounttype": {
  25435. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  25436. "type": "integer"
  25437. },
  25438. "logid": {
  25439. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25440. "type": "string"
  25441. },
  25442. "remainamount": {
  25443. "description": "剩余货款",
  25444. "type": "number"
  25445. },
  25446. "scfcontractid": {
  25447. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25448. "type": "integer"
  25449. },
  25450. "updatetime": {
  25451. "description": "更新时间",
  25452. "type": "string"
  25453. }
  25454. }
  25455. },
  25456. "models.QhjCusBankSignBankEx": {
  25457. "type": "object",
  25458. "properties": {
  25459. "banklst": {
  25460. "description": "银行列表",
  25461. "type": "array",
  25462. "items": {
  25463. "$ref": "#/definitions/models.QhjBankInfo"
  25464. }
  25465. },
  25466. "canallot": {
  25467. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  25468. "type": "integer"
  25469. },
  25470. "canallotquery": {
  25471. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  25472. "type": "integer"
  25473. },
  25474. "canbindcard": {
  25475. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  25476. "type": "integer"
  25477. },
  25478. "caninamount": {
  25479. "description": "是否可入金 - 0:不可 1:可以",
  25480. "type": "integer"
  25481. },
  25482. "caninamount2": {
  25483. "description": "是否可入金(网银端) - 0:不可 1:可以",
  25484. "type": "integer"
  25485. },
  25486. "canmodifybankcard": {
  25487. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  25488. "type": "integer"
  25489. },
  25490. "canmodifyphone": {
  25491. "description": "是否可修改手机号 - 0:不可 1:可以",
  25492. "type": "integer"
  25493. },
  25494. "canmodifysigninfo": {
  25495. "description": "是否可修改签约信息 - 0:不可 1:可以",
  25496. "type": "integer"
  25497. },
  25498. "canoutamount": {
  25499. "description": "是否可出金 - 0:不可 1:可以",
  25500. "type": "integer"
  25501. },
  25502. "canoutamount2": {
  25503. "description": "是否可出金(网银端) - 0:不可 1:可以",
  25504. "type": "integer"
  25505. },
  25506. "canrelease": {
  25507. "description": "是否可解约 - 0:不可 1:可以",
  25508. "type": "integer"
  25509. },
  25510. "canrelease2": {
  25511. "description": "是否可解约(网银端) - 0:不可 1:可以",
  25512. "type": "integer"
  25513. },
  25514. "cansign": {
  25515. "description": "是否可签约 - 0:不可 1:可以",
  25516. "type": "integer"
  25517. },
  25518. "cansign2": {
  25519. "description": "是否可签约(网银端) - 0:不可 1:可以",
  25520. "type": "integer"
  25521. },
  25522. "currency": {
  25523. "description": "币种",
  25524. "type": "string"
  25525. },
  25526. "cusbankid": {
  25527. "description": "托管银行编号(对应清算中心TRAN_NO)",
  25528. "type": "string"
  25529. },
  25530. "cusbankname": {
  25531. "description": "银行业务名称",
  25532. "type": "string"
  25533. },
  25534. "cusbankshortname": {
  25535. "description": "银行业务简称",
  25536. "type": "string"
  25537. },
  25538. "exchbankid": {
  25539. "description": "交易所开户银行ID",
  25540. "type": "string"
  25541. },
  25542. "exchpaybankaccname": {
  25543. "description": "交易所支出结算账户户名",
  25544. "type": "string"
  25545. },
  25546. "exchpaybankaccno": {
  25547. "description": "交易所支出结算账户",
  25548. "type": "string"
  25549. },
  25550. "isneedcheck": {
  25551. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  25552. "type": "integer"
  25553. },
  25554. "isneedclear": {
  25555. "description": "是否需要清算 - 0:不需要 1:需要",
  25556. "type": "integer"
  25557. },
  25558. "lastcheckstatus": {
  25559. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  25560. "type": "integer"
  25561. },
  25562. "lastchecktime": {
  25563. "description": "最后对账时间",
  25564. "type": "string"
  25565. },
  25566. "lastclearstatus": {
  25567. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  25568. "type": "integer"
  25569. },
  25570. "lastcleartime": {
  25571. "description": "最后清算时间",
  25572. "type": "string"
  25573. },
  25574. "lastsignintime": {
  25575. "description": "最后签到时间",
  25576. "type": "string"
  25577. },
  25578. "lastsignouttime": {
  25579. "description": "最后签退时间",
  25580. "type": "string"
  25581. },
  25582. "riskinfo": {
  25583. "description": "签约风险提示书",
  25584. "type": "string"
  25585. },
  25586. "signstatus": {
  25587. "description": "当前签到/签退状态 - 1:签到 2:签退",
  25588. "type": "integer"
  25589. },
  25590. "tradedate": {
  25591. "description": "交易日(yyyyMMdd)",
  25592. "type": "string"
  25593. },
  25594. "updatetime": {
  25595. "description": "当前签到/签退更新时间",
  25596. "type": "string"
  25597. }
  25598. }
  25599. },
  25600. "models.QhjCustomer": {
  25601. "type": "object",
  25602. "properties": {
  25603. "address": {
  25604. "description": "通讯地址",
  25605. "type": "string"
  25606. },
  25607. "attachment1": {
  25608. "description": "附件1",
  25609. "type": "string"
  25610. },
  25611. "audittime": {
  25612. "description": "审核时间",
  25613. "type": "string"
  25614. },
  25615. "cardbackphotourl": {
  25616. "description": "证件反面图片地址",
  25617. "type": "string"
  25618. },
  25619. "cardfrontphotourl": {
  25620. "description": "证件正面图片地址",
  25621. "type": "string"
  25622. },
  25623. "cardnum": {
  25624. "description": "证件号码",
  25625. "type": "string"
  25626. },
  25627. "cardtype": {
  25628. "description": "证件类型",
  25629. "type": "integer"
  25630. },
  25631. "cardtypename": {
  25632. "description": "证件类型名称",
  25633. "type": "string"
  25634. },
  25635. "cityid": {
  25636. "description": "市",
  25637. "type": "integer"
  25638. },
  25639. "cityname": {
  25640. "description": "城市名称",
  25641. "type": "string"
  25642. },
  25643. "contactname": {
  25644. "description": "联系人",
  25645. "type": "string"
  25646. },
  25647. "countryid": {
  25648. "description": "国家",
  25649. "type": "integer"
  25650. },
  25651. "countryname": {
  25652. "description": "国家名称",
  25653. "type": "string"
  25654. },
  25655. "createtime": {
  25656. "description": "创建时间",
  25657. "type": "string"
  25658. },
  25659. "customername": {
  25660. "description": "客户名称",
  25661. "type": "string"
  25662. },
  25663. "districtid": {
  25664. "description": "区域",
  25665. "type": "integer"
  25666. },
  25667. "districtname": {
  25668. "description": "地区名称",
  25669. "type": "string"
  25670. },
  25671. "email": {
  25672. "description": "邮件",
  25673. "type": "string"
  25674. },
  25675. "legalpersonname": {
  25676. "description": "法人姓名(企业)",
  25677. "type": "string"
  25678. },
  25679. "logincode": {
  25680. "description": "登录账号(代码)",
  25681. "type": "string"
  25682. },
  25683. "memberuserid": {
  25684. "description": "所属机构ID(所属会员)",
  25685. "type": "integer"
  25686. },
  25687. "memberusername": {
  25688. "description": "所属会员名称",
  25689. "type": "string"
  25690. },
  25691. "mobile": {
  25692. "description": "手机号码",
  25693. "type": "string"
  25694. },
  25695. "modifytime": {
  25696. "description": "修改时间",
  25697. "type": "string"
  25698. },
  25699. "nickname": {
  25700. "description": "昵称",
  25701. "type": "string"
  25702. },
  25703. "parentuserid": {
  25704. "description": "上级机构(所属机构)",
  25705. "type": "integer"
  25706. },
  25707. "parentusername": {
  25708. "description": "所属机构名称",
  25709. "type": "string"
  25710. },
  25711. "provinceid": {
  25712. "description": "省",
  25713. "type": "integer"
  25714. },
  25715. "provincename": {
  25716. "description": "省名称",
  25717. "type": "string"
  25718. },
  25719. "proxystatementurl": {
  25720. "description": "授权委托书",
  25721. "type": "string"
  25722. },
  25723. "remark": {
  25724. "description": "备注",
  25725. "type": "string"
  25726. },
  25727. "status": {
  25728. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  25729. "type": "integer"
  25730. },
  25731. "statusdesc": {
  25732. "description": "账户状态中文描述",
  25733. "type": "string"
  25734. },
  25735. "taxpayernum": {
  25736. "description": "纳税人识别号",
  25737. "type": "string"
  25738. },
  25739. "telphone": {
  25740. "description": "联系电话",
  25741. "type": "string"
  25742. },
  25743. "userid": {
  25744. "description": "用户ID",
  25745. "type": "integer"
  25746. },
  25747. "userinfotype": {
  25748. "description": "客户类型 1-个人 2-企业",
  25749. "type": "integer"
  25750. },
  25751. "username": {
  25752. "description": "用户名称",
  25753. "type": "string"
  25754. }
  25755. }
  25756. },
  25757. "models.QhjCustomerSignLog": {
  25758. "type": "object",
  25759. "properties": {
  25760. "agreementcontent": {
  25761. "description": "协议内容",
  25762. "type": "string"
  25763. },
  25764. "agreementid": {
  25765. "description": "协议ID",
  25766. "type": "integer"
  25767. },
  25768. "agreementname": {
  25769. "description": "协议名称",
  25770. "type": "string"
  25771. },
  25772. "agreementno": {
  25773. "description": "协议编号",
  25774. "type": "string"
  25775. },
  25776. "agreementtype": {
  25777. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25778. "type": "integer"
  25779. },
  25780. "agreementversion": {
  25781. "description": "协议版本号",
  25782. "type": "integer"
  25783. },
  25784. "createtime": {
  25785. "description": "创建时间",
  25786. "type": "string"
  25787. },
  25788. "goodscode": {
  25789. "description": "商品代码",
  25790. "type": "string"
  25791. },
  25792. "goodsid": {
  25793. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25794. "type": "integer"
  25795. },
  25796. "goodsname": {
  25797. "description": "商品名称",
  25798. "type": "string"
  25799. },
  25800. "logid": {
  25801. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  25802. "type": "integer"
  25803. },
  25804. "nodetype": {
  25805. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25806. "type": "integer"
  25807. },
  25808. "signadressurl": {
  25809. "description": "签约文件地址",
  25810. "type": "string"
  25811. },
  25812. "signtimestamp": {
  25813. "description": "签约状态时间戳",
  25814. "type": "string"
  25815. },
  25816. "userid": {
  25817. "description": "客户ID",
  25818. "type": "integer"
  25819. },
  25820. "username": {
  25821. "description": "客户名称",
  25822. "type": "string"
  25823. }
  25824. }
  25825. },
  25826. "models.QhjCustomerSignStatus": {
  25827. "type": "object",
  25828. "properties": {
  25829. "createtime": {
  25830. "description": "创建时间",
  25831. "type": "string"
  25832. },
  25833. "goodscode": {
  25834. "description": "商品代码",
  25835. "type": "string"
  25836. },
  25837. "goodsid": {
  25838. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25839. "type": "integer"
  25840. },
  25841. "goodsname": {
  25842. "description": "商品名称",
  25843. "type": "string"
  25844. },
  25845. "nodetype": {
  25846. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  25847. "type": "integer"
  25848. },
  25849. "signtimestamp": {
  25850. "description": "签约状态时间戳",
  25851. "type": "string"
  25852. },
  25853. "tradedate": {
  25854. "description": "创建交易日(yyyyMMdd)",
  25855. "type": "string"
  25856. },
  25857. "updatetime": {
  25858. "description": "更新时间",
  25859. "type": "string"
  25860. },
  25861. "userid": {
  25862. "description": "客户ID",
  25863. "type": "integer"
  25864. },
  25865. "username": {
  25866. "description": "客户名称",
  25867. "type": "string"
  25868. }
  25869. }
  25870. },
  25871. "models.QhjMgrAccountOutInApply": {
  25872. "type": "object",
  25873. "properties": {
  25874. "accountcode": {
  25875. "description": "资金账号",
  25876. "type": "string"
  25877. },
  25878. "accountname": {
  25879. "description": "用户名称(名称)",
  25880. "type": "string"
  25881. },
  25882. "accountpwd": {
  25883. "description": "资金密码",
  25884. "type": "string"
  25885. },
  25886. "accountticket": {
  25887. "description": "最新账户服务流水号",
  25888. "type": "string"
  25889. },
  25890. "amount": {
  25891. "description": "金额",
  25892. "type": "number"
  25893. },
  25894. "applyremark": {
  25895. "description": "申请备注",
  25896. "type": "string"
  25897. },
  25898. "applystatus": {
  25899. "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: 复审通过,账户冻结金额检查中;",
  25900. "type": "integer"
  25901. },
  25902. "auditid": {
  25903. "description": "审核人",
  25904. "type": "integer"
  25905. },
  25906. "audittime": {
  25907. "description": "审核时间",
  25908. "type": "string"
  25909. },
  25910. "bank_apply_ticket": {
  25911. "description": "银行申请流水",
  25912. "type": "string"
  25913. },
  25914. "bankaccountname": {
  25915. "description": "银行账户名",
  25916. "type": "string"
  25917. },
  25918. "bankaccountno": {
  25919. "description": "银行卡号",
  25920. "type": "string"
  25921. },
  25922. "bankid": {
  25923. "description": "银行编号",
  25924. "type": "string"
  25925. },
  25926. "bankname": {
  25927. "description": "银行名称",
  25928. "type": "string"
  25929. },
  25930. "bankticket": {
  25931. "description": "银行流水",
  25932. "type": "string"
  25933. },
  25934. "branchbankid": {
  25935. "description": "银行支行号",
  25936. "type": "string"
  25937. },
  25938. "branchbankname": {
  25939. "description": "银行支行名称",
  25940. "type": "string"
  25941. },
  25942. "capamountout": {
  25943. "description": "出金(劣后本金) - 外部子账户",
  25944. "type": "number"
  25945. },
  25946. "certificatephotourl": {
  25947. "description": "凭证地址",
  25948. "type": "string"
  25949. },
  25950. "charge": {
  25951. "description": "手续费",
  25952. "type": "number"
  25953. },
  25954. "checkerrorflag": {
  25955. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25956. "type": "integer"
  25957. },
  25958. "currency": {
  25959. "description": "币种",
  25960. "type": "string"
  25961. },
  25962. "cusbankid": {
  25963. "description": "托管银行编号",
  25964. "type": "string"
  25965. },
  25966. "exchticket": {
  25967. "description": "银行服务流水号",
  25968. "type": "string"
  25969. },
  25970. "executetype": {
  25971. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25972. "type": "integer"
  25973. },
  25974. "extendinfo": {
  25975. "description": "扩展信息",
  25976. "type": "string"
  25977. },
  25978. "extoperateid": {
  25979. "description": "交易服务流水号",
  25980. "type": "integer"
  25981. },
  25982. "infamount": {
  25983. "description": "劣后金额(自有)",
  25984. "type": "number"
  25985. },
  25986. "logincode": {
  25987. "description": "登录账号(账号)",
  25988. "type": "string"
  25989. },
  25990. "netaddr": {
  25991. "description": "调转网址",
  25992. "type": "string"
  25993. },
  25994. "priamount": {
  25995. "description": "优先金额(授信)",
  25996. "type": "number"
  25997. },
  25998. "reauditid": {
  25999. "description": "复审人",
  26000. "type": "integer"
  26001. },
  26002. "reauditremark": {
  26003. "description": "复审备注",
  26004. "type": "string"
  26005. },
  26006. "reaudittime": {
  26007. "description": "复审时间",
  26008. "type": "string"
  26009. },
  26010. "relatedorderid": {
  26011. "description": "三方关联ID",
  26012. "type": "string"
  26013. },
  26014. "remark": {
  26015. "description": "备注",
  26016. "type": "string"
  26017. },
  26018. "remark2": {
  26019. "description": "备注(失败原因)",
  26020. "type": "string"
  26021. },
  26022. "soucreamount": {
  26023. "description": "原始出入金金额",
  26024. "type": "number"
  26025. },
  26026. "soucrecurrencyid": {
  26027. "description": "原始出入金币种",
  26028. "type": "integer"
  26029. },
  26030. "tradedate": {
  26031. "description": "交易日(yyyyMMdd)",
  26032. "type": "string"
  26033. },
  26034. "updatetime": {
  26035. "description": "更新时间(申请时间)",
  26036. "type": "string"
  26037. },
  26038. "userid": {
  26039. "description": "用户id",
  26040. "type": "integer"
  26041. },
  26042. "userinfotype": {
  26043. "description": "账户类型 1-个人 2-企业",
  26044. "type": "integer"
  26045. }
  26046. }
  26047. },
  26048. "models.QhjMgrBrokerApply": {
  26049. "type": "object",
  26050. "properties": {
  26051. "applicantid": {
  26052. "description": "申请人",
  26053. "type": "integer"
  26054. },
  26055. "applysrc": {
  26056. "description": "申请来源 - 1:管理端 2:终端",
  26057. "type": "integer"
  26058. },
  26059. "applystatus": {
  26060. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26061. "type": "integer"
  26062. },
  26063. "applytime": {
  26064. "description": "申请时间",
  26065. "type": "string"
  26066. },
  26067. "auditorid": {
  26068. "description": "审核人",
  26069. "type": "integer"
  26070. },
  26071. "auditremark": {
  26072. "description": "审核备注",
  26073. "type": "string"
  26074. },
  26075. "auditsrc": {
  26076. "description": "审核来源 - 1:管理端 2:终端",
  26077. "type": "integer"
  26078. },
  26079. "audittime": {
  26080. "description": "审核时间",
  26081. "type": "string"
  26082. },
  26083. "audittradedate": {
  26084. "description": "审核交易日(yyyyMMdd)",
  26085. "type": "string"
  26086. },
  26087. "brokerapplyid": {
  26088. "description": "申请ID(SEQ_BROKERAPPLY)",
  26089. "type": "integer"
  26090. },
  26091. "cardbackphotourl": {
  26092. "description": "证件背面图片地址",
  26093. "type": "string"
  26094. },
  26095. "cardfrontphotourl": {
  26096. "description": "证件正面图片地址",
  26097. "type": "string"
  26098. },
  26099. "cardnum": {
  26100. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26101. "type": "string"
  26102. },
  26103. "customername": {
  26104. "description": "姓名",
  26105. "type": "string"
  26106. },
  26107. "filterstatus": {
  26108. "description": "筛选条件",
  26109. "type": "string"
  26110. },
  26111. "logincode": {
  26112. "description": "登录代码",
  26113. "type": "string"
  26114. },
  26115. "mobile": {
  26116. "description": "手机号码",
  26117. "type": "string"
  26118. },
  26119. "parentuserid": {
  26120. "description": "所属机构id",
  26121. "type": "integer"
  26122. },
  26123. "parentusername": {
  26124. "description": "所属机构名称",
  26125. "type": "string"
  26126. },
  26127. "refereeuserid": {
  26128. "description": "推荐人id(经纪人)",
  26129. "type": "integer"
  26130. },
  26131. "refernum": {
  26132. "description": "推荐码",
  26133. "type": "string"
  26134. },
  26135. "remark": {
  26136. "description": "备注",
  26137. "type": "string"
  26138. },
  26139. "subarealevelpath": {
  26140. "description": "层级路径",
  26141. "type": "string"
  26142. },
  26143. "tradedate": {
  26144. "description": "交易日(yyyyMMdd)",
  26145. "type": "string"
  26146. },
  26147. "userid": {
  26148. "description": "申请人用户ID",
  26149. "type": "integer"
  26150. },
  26151. "userinfotype": {
  26152. "description": "用户类型 1-个人 2-企业",
  26153. "type": "integer"
  26154. },
  26155. "username": {
  26156. "description": "用户名称",
  26157. "type": "string"
  26158. }
  26159. }
  26160. },
  26161. "models.QhjMgrBrokerRewardReport": {
  26162. "type": "object",
  26163. "properties": {
  26164. "createtime": {
  26165. "description": "创建时间(注册时间)",
  26166. "type": "string"
  26167. },
  26168. "cycletime": {
  26169. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  26170. "type": "string"
  26171. },
  26172. "cycletype": {
  26173. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26174. "type": "integer"
  26175. },
  26176. "directtotalnum": {
  26177. "description": "直推总人数【期末】",
  26178. "type": "integer"
  26179. },
  26180. "indirecttotalnum": {
  26181. "description": "间推总人数【期末】",
  26182. "type": "integer"
  26183. },
  26184. "mobile": {
  26185. "description": "电话号码",
  26186. "type": "string"
  26187. },
  26188. "refereeuserid": {
  26189. "description": "推荐人id(经纪人id)",
  26190. "type": "integer"
  26191. },
  26192. "refereeusername": {
  26193. "description": "推荐人名称(经纪人) 上级经纪人名称",
  26194. "type": "string"
  26195. },
  26196. "refernum": {
  26197. "description": "推荐码",
  26198. "type": "string"
  26199. },
  26200. "subarealevelpath": {
  26201. "description": "用户层级路径",
  26202. "type": "string"
  26203. },
  26204. "todayrewardamount": {
  26205. "description": "奖励总金额【汇总】",
  26206. "type": "number"
  26207. },
  26208. "updatetime": {
  26209. "description": "更新时间",
  26210. "type": "string"
  26211. },
  26212. "userid": {
  26213. "description": "经纪人用户ID",
  26214. "type": "integer"
  26215. },
  26216. "userinfotype": {
  26217. "description": "用户类型 1-个人 2-企业",
  26218. "type": "integer"
  26219. },
  26220. "username": {
  26221. "description": "用户名称",
  26222. "type": "string"
  26223. }
  26224. }
  26225. },
  26226. "models.QhjMgrContract": {
  26227. "type": "object",
  26228. "properties": {
  26229. "contractconfirmtime": {
  26230. "description": "合同确认时间(时间)",
  26231. "type": "string"
  26232. },
  26233. "currisklevel": {
  26234. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26235. "type": "integer"
  26236. },
  26237. "decimalplace": {
  26238. "description": "商品报价小数位",
  26239. "type": "integer"
  26240. },
  26241. "enumdicname": {
  26242. "description": "单位名称",
  26243. "type": "string"
  26244. },
  26245. "goodscode": {
  26246. "description": "商品代码",
  26247. "type": "string"
  26248. },
  26249. "goodsid": {
  26250. "description": "商品ID [5:融资单]",
  26251. "type": "integer"
  26252. },
  26253. "goodsname": {
  26254. "description": "商品名称",
  26255. "type": "string"
  26256. },
  26257. "goodunitid": {
  26258. "description": "商品单位id",
  26259. "type": "integer"
  26260. },
  26261. "initmargin": {
  26262. "description": "初始保证金(首付款)",
  26263. "type": "number"
  26264. },
  26265. "lenderamount": {
  26266. "description": "贷款金额(总额|订单总额)",
  26267. "type": "number"
  26268. },
  26269. "logincode": {
  26270. "description": "账号(登录代码)",
  26271. "type": "string"
  26272. },
  26273. "marginratio": {
  26274. "description": "保证金比率(首付比例)",
  26275. "type": "number"
  26276. },
  26277. "mobile": {
  26278. "description": "电话号码(用户资料里的电话)",
  26279. "type": "string"
  26280. },
  26281. "payamount": {
  26282. "description": "已付(已付货款)",
  26283. "type": "number"
  26284. },
  26285. "reckonrecovermargin": {
  26286. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26287. "type": "number"
  26288. },
  26289. "recoveredmargin": {
  26290. "description": "已追缴保证金",
  26291. "type": "number"
  26292. },
  26293. "remainamount": {
  26294. "description": "合同剩余金额(融资额)",
  26295. "type": "number"
  26296. },
  26297. "scfcontractid": {
  26298. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26299. "type": "string"
  26300. },
  26301. "scfcontractstatus": {
  26302. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26303. "type": "integer"
  26304. },
  26305. "scfcontracttype": {
  26306. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26307. "type": "integer"
  26308. },
  26309. "totalinterest": {
  26310. "description": "已计总利息(利息)",
  26311. "type": "number"
  26312. },
  26313. "tradedate": {
  26314. "description": "交易日",
  26315. "type": "string"
  26316. },
  26317. "tradeprice": {
  26318. "description": "成交价格(成本价格)",
  26319. "type": "number"
  26320. },
  26321. "userid": {
  26322. "description": "用户ID",
  26323. "type": "integer"
  26324. },
  26325. "userinfotype": {
  26326. "description": "用户类型 1-个人 2-企业",
  26327. "type": "integer"
  26328. },
  26329. "username": {
  26330. "description": "用户名称",
  26331. "type": "string"
  26332. },
  26333. "wrqty": {
  26334. "description": "仓单数量(数量)",
  26335. "type": "number"
  26336. }
  26337. }
  26338. },
  26339. "models.QhjMgrCustomer": {
  26340. "type": "object",
  26341. "properties": {
  26342. "address": {
  26343. "description": "通讯地址",
  26344. "type": "string"
  26345. },
  26346. "attachment1": {
  26347. "description": "附件1",
  26348. "type": "string"
  26349. },
  26350. "audittime": {
  26351. "description": "审核时间",
  26352. "type": "string"
  26353. },
  26354. "cardbackphotourl": {
  26355. "description": "证件反面图片地址",
  26356. "type": "string"
  26357. },
  26358. "cardfrontphotourl": {
  26359. "description": "证件正面图片地址",
  26360. "type": "string"
  26361. },
  26362. "cardnum": {
  26363. "description": "证件号码",
  26364. "type": "string"
  26365. },
  26366. "cardtype": {
  26367. "description": "证件类型",
  26368. "type": "integer"
  26369. },
  26370. "cardtypename": {
  26371. "description": "证件类型名称",
  26372. "type": "string"
  26373. },
  26374. "cityid": {
  26375. "description": "市",
  26376. "type": "integer"
  26377. },
  26378. "cityname": {
  26379. "description": "城市名称",
  26380. "type": "string"
  26381. },
  26382. "contactname": {
  26383. "description": "联系人",
  26384. "type": "string"
  26385. },
  26386. "countryid": {
  26387. "description": "国家",
  26388. "type": "integer"
  26389. },
  26390. "countryname": {
  26391. "description": "国家名称",
  26392. "type": "string"
  26393. },
  26394. "createtime": {
  26395. "description": "创建时间",
  26396. "type": "string"
  26397. },
  26398. "customername": {
  26399. "description": "客户名称",
  26400. "type": "string"
  26401. },
  26402. "districtid": {
  26403. "description": "区域",
  26404. "type": "integer"
  26405. },
  26406. "districtname": {
  26407. "description": "地区名称",
  26408. "type": "string"
  26409. },
  26410. "email": {
  26411. "description": "邮件",
  26412. "type": "string"
  26413. },
  26414. "legalpersonname": {
  26415. "description": "法人姓名(企业)",
  26416. "type": "string"
  26417. },
  26418. "logincode": {
  26419. "description": "登录账号(代码)",
  26420. "type": "string"
  26421. },
  26422. "memberuserid": {
  26423. "description": "所属机构ID(所属会员)",
  26424. "type": "integer"
  26425. },
  26426. "memberusername": {
  26427. "description": "所属会员名称",
  26428. "type": "string"
  26429. },
  26430. "mobile": {
  26431. "description": "手机号码",
  26432. "type": "string"
  26433. },
  26434. "modifytime": {
  26435. "description": "修改时间",
  26436. "type": "string"
  26437. },
  26438. "nickname": {
  26439. "description": "昵称",
  26440. "type": "string"
  26441. },
  26442. "parentuserid": {
  26443. "description": "上级机构(所属机构)",
  26444. "type": "integer"
  26445. },
  26446. "parentusername": {
  26447. "description": "所属机构名称",
  26448. "type": "string"
  26449. },
  26450. "provinceid": {
  26451. "description": "省",
  26452. "type": "integer"
  26453. },
  26454. "provincename": {
  26455. "description": "省名称",
  26456. "type": "string"
  26457. },
  26458. "proxystatementurl": {
  26459. "description": "授权委托书",
  26460. "type": "string"
  26461. },
  26462. "querytype": {
  26463. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  26464. "type": "integer"
  26465. },
  26466. "remark": {
  26467. "description": "备注",
  26468. "type": "string"
  26469. },
  26470. "status": {
  26471. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26472. "type": "integer"
  26473. },
  26474. "statusdesc": {
  26475. "description": "账户状态中文描述",
  26476. "type": "string"
  26477. },
  26478. "taxpayernum": {
  26479. "description": "纳税人识别号",
  26480. "type": "string"
  26481. },
  26482. "telphone": {
  26483. "description": "联系电话",
  26484. "type": "string"
  26485. },
  26486. "userid": {
  26487. "description": "用户ID",
  26488. "type": "integer"
  26489. },
  26490. "userinfotype": {
  26491. "description": "客户类型 1-个人 2-企业",
  26492. "type": "integer"
  26493. },
  26494. "username": {
  26495. "description": "用户名称",
  26496. "type": "string"
  26497. }
  26498. }
  26499. },
  26500. "models.QhjMgrPickGoods": {
  26501. "type": "object",
  26502. "properties": {
  26503. "enumdicname": {
  26504. "description": "单位名称(提货商品)",
  26505. "type": "string"
  26506. },
  26507. "goodsid": {
  26508. "description": "商品id",
  26509. "type": "integer"
  26510. },
  26511. "imageaddress": {
  26512. "description": "图片",
  26513. "type": "string"
  26514. },
  26515. "modifierid": {
  26516. "description": "修改人",
  26517. "type": "integer"
  26518. },
  26519. "modifiername": {
  26520. "description": "修改人名称",
  26521. "type": "string"
  26522. },
  26523. "modifysrc": {
  26524. "description": "修改来源 - 1:管理端 2:终端",
  26525. "type": "integer"
  26526. },
  26527. "pickupgoodsagreeunit": {
  26528. "description": "合约乘数",
  26529. "type": "number"
  26530. },
  26531. "pickupgoodsdesc": {
  26532. "description": "描述",
  26533. "type": "string"
  26534. },
  26535. "pickupgoodsid": {
  26536. "description": "提货商品ID",
  26537. "type": "string"
  26538. },
  26539. "pickupgoodsname": {
  26540. "description": "提货商品名称",
  26541. "type": "string"
  26542. },
  26543. "pickupgoodsstatus": {
  26544. "description": "状态 - 1:正常 2:停用 3:注销",
  26545. "type": "integer"
  26546. },
  26547. "pickupgoodsunitid": {
  26548. "description": "单位ID",
  26549. "type": "integer"
  26550. },
  26551. "pickupratio": {
  26552. "description": "提货系数",
  26553. "type": "number"
  26554. },
  26555. "preparedays": {
  26556. "description": "备货期(天)",
  26557. "type": "integer"
  26558. },
  26559. "remark": {
  26560. "description": "备注",
  26561. "type": "string"
  26562. },
  26563. "updatetime": {
  26564. "description": "更新时间",
  26565. "type": "string"
  26566. }
  26567. }
  26568. },
  26569. "models.QhjMgrPositionRsp": {
  26570. "type": "object",
  26571. "properties": {
  26572. "accountid": {
  26573. "description": "账号Id",
  26574. "type": "integer"
  26575. },
  26576. "accountname": {
  26577. "description": "用户名称",
  26578. "type": "string"
  26579. },
  26580. "agreeunit": {
  26581. "description": "合约乘数",
  26582. "type": "number"
  26583. },
  26584. "averageprice": {
  26585. "description": "均价",
  26586. "type": "number"
  26587. },
  26588. "avialqty": {
  26589. "description": "可用数量",
  26590. "type": "number"
  26591. },
  26592. "decimalplace": {
  26593. "description": "报价小数位",
  26594. "type": "integer"
  26595. },
  26596. "enumdicname": {
  26597. "description": "单位名称(商品)",
  26598. "type": "string"
  26599. },
  26600. "frozenqty": {
  26601. "description": "冻结数量",
  26602. "type": "number"
  26603. },
  26604. "goodscode": {
  26605. "description": "商品代码(内部)",
  26606. "type": "string"
  26607. },
  26608. "goodsid": {
  26609. "description": "商品Id",
  26610. "type": "integer"
  26611. },
  26612. "goodsname": {
  26613. "description": "商品名称",
  26614. "type": "string"
  26615. },
  26616. "goodunitid": {
  26617. "description": "报价单位ID",
  26618. "type": "integer"
  26619. },
  26620. "holderamount": {
  26621. "description": "金额",
  26622. "type": "number"
  26623. },
  26624. "holderqty": {
  26625. "description": "持有数量",
  26626. "type": "number"
  26627. },
  26628. "holdertype": {
  26629. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  26630. "type": "integer"
  26631. },
  26632. "logincode": {
  26633. "description": "登录代码(账户)",
  26634. "type": "string"
  26635. },
  26636. "marketid": {
  26637. "description": "市场id",
  26638. "type": "integer"
  26639. },
  26640. "qtydecimalplace": {
  26641. "description": "成交量小数位",
  26642. "type": "integer"
  26643. },
  26644. "trademode": {
  26645. "description": "交易模式",
  26646. "type": "integer"
  26647. },
  26648. "userid": {
  26649. "description": "用户id",
  26650. "type": "integer"
  26651. },
  26652. "userinfotype": {
  26653. "description": "账户类型 1-个人 2-企业",
  26654. "type": "integer"
  26655. }
  26656. }
  26657. },
  26658. "models.QhjMgrSubArea": {
  26659. "type": "object",
  26660. "properties": {
  26661. "accountname": {
  26662. "description": "账户名称(机构名称)",
  26663. "type": "string"
  26664. },
  26665. "memberuserid": {
  26666. "description": "所属会员ID",
  26667. "type": "integer"
  26668. },
  26669. "parenttopuser": {
  26670. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26671. "type": "string"
  26672. },
  26673. "parentuserid": {
  26674. "description": "所属机构ID",
  26675. "type": "integer"
  26676. },
  26677. "rootuserid": {
  26678. "description": "根用户ID",
  26679. "type": "string"
  26680. },
  26681. "subaccountlevel": {
  26682. "description": "子账户层数",
  26683. "type": "integer"
  26684. },
  26685. "subarealevelpath": {
  26686. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26687. "type": "string"
  26688. },
  26689. "userid": {
  26690. "description": "用户ID",
  26691. "type": "integer"
  26692. },
  26693. "usertype": {
  26694. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26695. "type": "integer"
  26696. }
  26697. }
  26698. },
  26699. "models.QhjMgrTradeDetailRsp": {
  26700. "type": "object",
  26701. "properties": {
  26702. "accountid": {
  26703. "description": "资金账号",
  26704. "type": "integer"
  26705. },
  26706. "accountname": {
  26707. "description": "用户名称",
  26708. "type": "string"
  26709. },
  26710. "agreeunit": {
  26711. "description": "合约乘数",
  26712. "type": "number"
  26713. },
  26714. "buyorsell": {
  26715. "description": "成交类型(方向) 0:买 1:卖",
  26716. "type": "integer"
  26717. },
  26718. "decimalplace": {
  26719. "description": "报价小数位",
  26720. "type": "integer"
  26721. },
  26722. "enumdicname": {
  26723. "description": "单位名称(商品)",
  26724. "type": "string"
  26725. },
  26726. "goodscode": {
  26727. "description": "商品代码(内部)",
  26728. "type": "string"
  26729. },
  26730. "goodsid": {
  26731. "description": "商品id",
  26732. "type": "integer"
  26733. },
  26734. "goodsname": {
  26735. "description": "商品名称",
  26736. "type": "string"
  26737. },
  26738. "goodunitid": {
  26739. "description": "报价单位ID",
  26740. "type": "integer"
  26741. },
  26742. "logincode": {
  26743. "description": "登录代码(账户)",
  26744. "type": "string"
  26745. },
  26746. "marketid": {
  26747. "description": "市场id",
  26748. "type": "integer"
  26749. },
  26750. "orderid": {
  26751. "description": "关联委托单号",
  26752. "type": "string"
  26753. },
  26754. "qtydecimalplace": {
  26755. "description": "成交量小数位",
  26756. "type": "integer"
  26757. },
  26758. "tradeamount": {
  26759. "description": "金额",
  26760. "type": "number"
  26761. },
  26762. "tradedate": {
  26763. "description": "交易日",
  26764. "type": "string"
  26765. },
  26766. "tradeid": {
  26767. "description": "成交单号",
  26768. "type": "string"
  26769. },
  26770. "trademode": {
  26771. "description": "交易模式",
  26772. "type": "integer"
  26773. },
  26774. "tradeprice": {
  26775. "description": "价格",
  26776. "type": "number"
  26777. },
  26778. "tradeqty": {
  26779. "description": "数量",
  26780. "type": "number"
  26781. },
  26782. "tradetime": {
  26783. "description": "成交时间",
  26784. "type": "string"
  26785. },
  26786. "userid": {
  26787. "description": "用户id",
  26788. "type": "integer"
  26789. },
  26790. "userinfotype": {
  26791. "description": "账户类型 1-个人 2-企业",
  26792. "type": "integer"
  26793. }
  26794. }
  26795. },
  26796. "models.QhjMgrTradeOrderDetailRsp": {
  26797. "type": "object",
  26798. "properties": {
  26799. "accountid": {
  26800. "description": "资金账号",
  26801. "type": "integer"
  26802. },
  26803. "accountname": {
  26804. "description": "用户名称",
  26805. "type": "string"
  26806. },
  26807. "agreeunit": {
  26808. "description": "合约乘数",
  26809. "type": "number"
  26810. },
  26811. "amount": {
  26812. "description": "金额",
  26813. "type": "number"
  26814. },
  26815. "decimalplace": {
  26816. "description": "报价小数位",
  26817. "type": "integer"
  26818. },
  26819. "enumdicname": {
  26820. "description": "单位名称(商品)",
  26821. "type": "string"
  26822. },
  26823. "goodscode": {
  26824. "description": "商品代码(内部)",
  26825. "type": "string"
  26826. },
  26827. "goodsid": {
  26828. "description": "商品id",
  26829. "type": "integer"
  26830. },
  26831. "goodsname": {
  26832. "description": "商品名称",
  26833. "type": "string"
  26834. },
  26835. "goodunitid": {
  26836. "description": "报价单位ID",
  26837. "type": "integer"
  26838. },
  26839. "logincode": {
  26840. "description": "登录代码(账户)",
  26841. "type": "string"
  26842. },
  26843. "marketid": {
  26844. "description": "市场id",
  26845. "type": "integer"
  26846. },
  26847. "orderid": {
  26848. "description": "关联委托单号",
  26849. "type": "string"
  26850. },
  26851. "orderprice": {
  26852. "description": "价格",
  26853. "type": "number"
  26854. },
  26855. "orderqty": {
  26856. "description": "数量",
  26857. "type": "number"
  26858. },
  26859. "orderstatus": {
  26860. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26861. "type": "integer"
  26862. },
  26863. "ordertime": {
  26864. "description": "委托时间",
  26865. "type": "string"
  26866. },
  26867. "qtydecimalplace": {
  26868. "description": "成交量小数位",
  26869. "type": "integer"
  26870. },
  26871. "tradedate": {
  26872. "description": "交易日",
  26873. "type": "string"
  26874. },
  26875. "trademode": {
  26876. "description": "交易模式",
  26877. "type": "integer"
  26878. },
  26879. "userid": {
  26880. "description": "用户id",
  26881. "type": "integer"
  26882. },
  26883. "userinfotype": {
  26884. "description": "账户类型 1-个人 2-企业",
  26885. "type": "integer"
  26886. }
  26887. }
  26888. },
  26889. "models.QhjMgrTradePayOrder": {
  26890. "type": "object",
  26891. "properties": {
  26892. "accountname": {
  26893. "description": "用户名称",
  26894. "type": "string"
  26895. },
  26896. "advanceratio": {
  26897. "description": "首付比率",
  26898. "type": "number"
  26899. },
  26900. "agreeunit": {
  26901. "description": "合约乘数",
  26902. "type": "number"
  26903. },
  26904. "buyaccountid": {
  26905. "description": "买方账号ID[报价币种]",
  26906. "type": "integer"
  26907. },
  26908. "buyorderid": {
  26909. "description": "买方委托单号(关联单号)",
  26910. "type": "string"
  26911. },
  26912. "createtime": {
  26913. "description": "创建时间",
  26914. "type": "string"
  26915. },
  26916. "decimalplace": {
  26917. "description": "报价小数位",
  26918. "type": "integer"
  26919. },
  26920. "enumdicname": {
  26921. "description": "单位名称(商品)",
  26922. "type": "string"
  26923. },
  26924. "goodscode": {
  26925. "description": "商品代码(内部)",
  26926. "type": "string"
  26927. },
  26928. "goodsid": {
  26929. "description": "商品ID",
  26930. "type": "integer"
  26931. },
  26932. "goodsname": {
  26933. "description": "商品名称",
  26934. "type": "string"
  26935. },
  26936. "goodunitid": {
  26937. "description": "报价单位ID",
  26938. "type": "integer"
  26939. },
  26940. "logincode": {
  26941. "description": "登录代码(账户)",
  26942. "type": "string"
  26943. },
  26944. "marketid": {
  26945. "description": "市场id",
  26946. "type": "integer"
  26947. },
  26948. "offamount": {
  26949. "description": "优惠金额",
  26950. "type": "number"
  26951. },
  26952. "operatetype": {
  26953. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26954. "type": "integer"
  26955. },
  26956. "payamount": {
  26957. "description": "支付金额(金额)",
  26958. "type": "number"
  26959. },
  26960. "payflag": {
  26961. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26962. "type": "integer"
  26963. },
  26964. "paylimitedtime": {
  26965. "description": "支付期限",
  26966. "type": "string"
  26967. },
  26968. "paytime": {
  26969. "description": "付款时间",
  26970. "type": "string"
  26971. },
  26972. "qtydecimalplace": {
  26973. "description": "成交量小数位",
  26974. "type": "integer"
  26975. },
  26976. "sellaccountid": {
  26977. "description": "卖方账号ID[报价币种]",
  26978. "type": "integer"
  26979. },
  26980. "sellorderid": {
  26981. "description": "卖方委托单号",
  26982. "type": "string"
  26983. },
  26984. "tradeamount": {
  26985. "description": "成交金额(优惠后金额)",
  26986. "type": "number"
  26987. },
  26988. "tradecharge": {
  26989. "description": "成交手续费(买方)",
  26990. "type": "number"
  26991. },
  26992. "tradedate": {
  26993. "description": "交易日(yyyyMMdd)",
  26994. "type": "string"
  26995. },
  26996. "tradeid": {
  26997. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26998. "type": "string"
  26999. },
  27000. "trademode": {
  27001. "description": "交易模式",
  27002. "type": "integer"
  27003. },
  27004. "tradeprice": {
  27005. "description": "成交价格(价格)",
  27006. "type": "number"
  27007. },
  27008. "tradeqty": {
  27009. "description": "成交数量(数量)",
  27010. "type": "number"
  27011. },
  27012. "tradetime": {
  27013. "description": "成交时间",
  27014. "type": "string"
  27015. },
  27016. "userid": {
  27017. "description": "用户id",
  27018. "type": "integer"
  27019. },
  27020. "userinfotype": {
  27021. "description": "账户类型 1-个人 2-企业",
  27022. "type": "integer"
  27023. }
  27024. }
  27025. },
  27026. "models.QhjMyTeamEx": {
  27027. "type": "object",
  27028. "properties": {
  27029. "accountname": {
  27030. "description": "用户名称",
  27031. "type": "string"
  27032. },
  27033. "accountstatus": {
  27034. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27035. "type": "integer"
  27036. },
  27037. "createtime": {
  27038. "description": "创建时间",
  27039. "type": "string"
  27040. },
  27041. "mobile": {
  27042. "description": "手机号码",
  27043. "type": "string"
  27044. },
  27045. "refereeuserid": {
  27046. "description": "推荐人id",
  27047. "type": "integer"
  27048. },
  27049. "refernum": {
  27050. "description": "推荐码",
  27051. "type": "string"
  27052. },
  27053. "subList": {
  27054. "type": "array",
  27055. "items": {
  27056. "$ref": "#/definitions/models.QhjMyTeamEx"
  27057. }
  27058. },
  27059. "userid": {
  27060. "description": "用户id",
  27061. "type": "integer"
  27062. },
  27063. "userinfotype": {
  27064. "description": "用户类型 1-个人 2-企业",
  27065. "type": "integer"
  27066. }
  27067. }
  27068. },
  27069. "models.QhjNodeAgreementConfig": {
  27070. "type": "object",
  27071. "properties": {
  27072. "agreementcontent": {
  27073. "description": "协议内容",
  27074. "type": "string"
  27075. },
  27076. "agreementid": {
  27077. "description": "协议ID",
  27078. "type": "integer"
  27079. },
  27080. "agreementname": {
  27081. "description": "协议名称",
  27082. "type": "string"
  27083. },
  27084. "agreementno": {
  27085. "description": "协议编号",
  27086. "type": "string"
  27087. },
  27088. "agreementtype": {
  27089. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27090. "type": "integer"
  27091. },
  27092. "agreementversion": {
  27093. "description": "协议版本号",
  27094. "type": "integer"
  27095. },
  27096. "configid": {
  27097. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27098. "type": "integer"
  27099. },
  27100. "createtime": {
  27101. "description": "创建时间",
  27102. "type": "string"
  27103. },
  27104. "goodsid": {
  27105. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27106. "type": "integer"
  27107. },
  27108. "nodetype": {
  27109. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27110. "type": "integer"
  27111. }
  27112. }
  27113. },
  27114. "models.QhjParentAreaList": {
  27115. "type": "object",
  27116. "properties": {
  27117. "accountname": {
  27118. "description": "账户名称(机构名称)",
  27119. "type": "string"
  27120. },
  27121. "userid": {
  27122. "description": "用户ID",
  27123. "type": "integer"
  27124. },
  27125. "usertype": {
  27126. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27127. "type": "integer"
  27128. }
  27129. }
  27130. },
  27131. "models.QhjPayOrder": {
  27132. "type": "object",
  27133. "properties": {
  27134. "advanceratio": {
  27135. "description": "首付比率",
  27136. "type": "number"
  27137. },
  27138. "buyaccountid": {
  27139. "description": "买方账号ID[报价币种]",
  27140. "type": "integer"
  27141. },
  27142. "buyorderid": {
  27143. "description": "买方委托单号",
  27144. "type": "string"
  27145. },
  27146. "createtime": {
  27147. "description": "创建时间",
  27148. "type": "string"
  27149. },
  27150. "decimalplace": {
  27151. "description": "商品报价小数位",
  27152. "type": "integer"
  27153. },
  27154. "enumdicname": {
  27155. "description": "单位名称",
  27156. "type": "string"
  27157. },
  27158. "goodscode": {
  27159. "description": "商品代码",
  27160. "type": "string"
  27161. },
  27162. "goodsid": {
  27163. "description": "商品ID",
  27164. "type": "integer"
  27165. },
  27166. "goodsname": {
  27167. "description": "商品名称",
  27168. "type": "string"
  27169. },
  27170. "goodunitid": {
  27171. "description": "商品单位id",
  27172. "type": "integer"
  27173. },
  27174. "marketid": {
  27175. "description": "市场ID",
  27176. "type": "integer"
  27177. },
  27178. "offamount": {
  27179. "description": "优惠金额",
  27180. "type": "number"
  27181. },
  27182. "operatetype": {
  27183. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27184. "type": "integer"
  27185. },
  27186. "payamount": {
  27187. "description": "支付金额",
  27188. "type": "number"
  27189. },
  27190. "payflag": {
  27191. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27192. "type": "integer"
  27193. },
  27194. "paylimitedtime": {
  27195. "description": "支付期限",
  27196. "type": "string"
  27197. },
  27198. "paytime": {
  27199. "description": "付款时间",
  27200. "type": "string"
  27201. },
  27202. "qtydecimalplace": {
  27203. "description": "成交量小数位",
  27204. "type": "integer"
  27205. },
  27206. "sellaccountid": {
  27207. "description": "卖方账号ID[报价币种]",
  27208. "type": "integer"
  27209. },
  27210. "sellorderid": {
  27211. "description": "卖方委托单号",
  27212. "type": "string"
  27213. },
  27214. "tradeamount": {
  27215. "description": "成交金额(优惠后金额)",
  27216. "type": "number"
  27217. },
  27218. "tradecharge": {
  27219. "description": "成交手续费(买方)",
  27220. "type": "number"
  27221. },
  27222. "tradedate": {
  27223. "description": "交易日(yyyyMMdd)",
  27224. "type": "string"
  27225. },
  27226. "tradeid": {
  27227. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27228. "type": "string"
  27229. },
  27230. "tradeprice": {
  27231. "description": "成交价格",
  27232. "type": "number"
  27233. },
  27234. "tradeqty": {
  27235. "description": "成交数量",
  27236. "type": "number"
  27237. }
  27238. }
  27239. },
  27240. "models.QhjPickArea": {
  27241. "type": "object",
  27242. "properties": {
  27243. "address": {
  27244. "description": "详细地址",
  27245. "type": "string"
  27246. },
  27247. "cityid": {
  27248. "description": "市",
  27249. "type": "integer"
  27250. },
  27251. "cityname": {
  27252. "description": "城市名称",
  27253. "type": "string"
  27254. },
  27255. "countryid": {
  27256. "description": "国家",
  27257. "type": "integer"
  27258. },
  27259. "countryname": {
  27260. "description": "国家名称",
  27261. "type": "string"
  27262. },
  27263. "districtid": {
  27264. "description": "地区",
  27265. "type": "integer"
  27266. },
  27267. "districtname": {
  27268. "description": "地区名称",
  27269. "type": "string"
  27270. },
  27271. "fromuserid": {
  27272. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  27273. "type": "integer"
  27274. },
  27275. "fromusername": {
  27276. "description": "所属机构名称",
  27277. "type": "string"
  27278. },
  27279. "provinceid": {
  27280. "description": "省",
  27281. "type": "integer"
  27282. },
  27283. "provincename": {
  27284. "description": "省名称",
  27285. "type": "string"
  27286. },
  27287. "suborgtype": {
  27288. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  27289. "type": "integer"
  27290. },
  27291. "userid": {
  27292. "description": "机构用户ID 其他做市关系,都设置为 1",
  27293. "type": "integer"
  27294. },
  27295. "username": {
  27296. "description": "机构用户名称(门店门称)",
  27297. "type": "string"
  27298. }
  27299. }
  27300. },
  27301. "models.QhjPickGoods": {
  27302. "type": "object",
  27303. "properties": {
  27304. "enumdicname": {
  27305. "description": "单位名称(提货商品)",
  27306. "type": "string"
  27307. },
  27308. "goodsid": {
  27309. "description": "商品id",
  27310. "type": "integer"
  27311. },
  27312. "imageaddress": {
  27313. "description": "图片",
  27314. "type": "string"
  27315. },
  27316. "modifierid": {
  27317. "description": "修改人",
  27318. "type": "integer"
  27319. },
  27320. "modifiername": {
  27321. "description": "修改人名称",
  27322. "type": "string"
  27323. },
  27324. "modifysrc": {
  27325. "description": "修改来源 - 1:管理端 2:终端",
  27326. "type": "integer"
  27327. },
  27328. "pickupgoodsagreeunit": {
  27329. "description": "合约乘数",
  27330. "type": "number"
  27331. },
  27332. "pickupgoodsdesc": {
  27333. "description": "描述",
  27334. "type": "string"
  27335. },
  27336. "pickupgoodsid": {
  27337. "description": "提货商品ID",
  27338. "type": "string"
  27339. },
  27340. "pickupgoodsname": {
  27341. "description": "提货商品名称",
  27342. "type": "string"
  27343. },
  27344. "pickupgoodsstatus": {
  27345. "description": "状态 - 1:正常 2:停用 3:注销",
  27346. "type": "integer"
  27347. },
  27348. "pickupgoodsunitid": {
  27349. "description": "单位ID",
  27350. "type": "integer"
  27351. },
  27352. "pickupratio": {
  27353. "description": "提货系数",
  27354. "type": "number"
  27355. },
  27356. "preparedays": {
  27357. "description": "备货期(天)",
  27358. "type": "integer"
  27359. },
  27360. "remark": {
  27361. "description": "备注",
  27362. "type": "string"
  27363. },
  27364. "updatetime": {
  27365. "description": "更新时间",
  27366. "type": "string"
  27367. }
  27368. }
  27369. },
  27370. "models.QhjRSTriggerLog": {
  27371. "type": "object",
  27372. "properties": {
  27373. "accountid": {
  27374. "description": "用户资金账户",
  27375. "type": "integer"
  27376. },
  27377. "accountname": {
  27378. "description": "账号名称(ACCOUNTID对应的名称)",
  27379. "type": "string"
  27380. },
  27381. "currencyid": {
  27382. "description": "币种id",
  27383. "type": "integer"
  27384. },
  27385. "currencyname": {
  27386. "description": "币种名称",
  27387. "type": "string"
  27388. },
  27389. "decimalplace": {
  27390. "description": "商品报价小数位",
  27391. "type": "integer"
  27392. },
  27393. "enumdicname": {
  27394. "description": "单位名称",
  27395. "type": "string"
  27396. },
  27397. "goodscode": {
  27398. "description": "定投商品代码",
  27399. "type": "string"
  27400. },
  27401. "goodsid": {
  27402. "description": "定投商品ID",
  27403. "type": "integer"
  27404. },
  27405. "goodsname": {
  27406. "description": "定投商品名称",
  27407. "type": "string"
  27408. },
  27409. "goodunitid": {
  27410. "description": "定投商品单位id",
  27411. "type": "integer"
  27412. },
  27413. "logid": {
  27414. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  27415. "type": "string"
  27416. },
  27417. "logincode": {
  27418. "description": "账号(登录代码)",
  27419. "type": "string"
  27420. },
  27421. "qtydecimalplace": {
  27422. "description": "成交量小数位",
  27423. "type": "integer"
  27424. },
  27425. "regularlycycle": {
  27426. "description": "定投频率 - 1:每周 2:每月",
  27427. "type": "integer"
  27428. },
  27429. "regularlycyclevalue": {
  27430. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27431. "type": "string"
  27432. },
  27433. "regularlymode": {
  27434. "description": "定投方式 - 1:按数量 2:按金额",
  27435. "type": "integer"
  27436. },
  27437. "regularlymodevalue": {
  27438. "description": "定投方式值 - 数量或金额",
  27439. "type": "number"
  27440. },
  27441. "regularlystrategyid": {
  27442. "description": "定投策略ID",
  27443. "type": "integer"
  27444. },
  27445. "retcode": {
  27446. "description": "错误码",
  27447. "type": "string"
  27448. },
  27449. "tradeid": {
  27450. "description": "成交单ID",
  27451. "type": "string"
  27452. },
  27453. "triggeramount": {
  27454. "description": "触发金额",
  27455. "type": "number"
  27456. },
  27457. "triggerqty": {
  27458. "description": "触发数量",
  27459. "type": "number"
  27460. },
  27461. "triggerstatus": {
  27462. "description": "触发状态 - 1:成功 2:失败",
  27463. "type": "integer"
  27464. },
  27465. "triggertime": {
  27466. "description": "触发时间",
  27467. "type": "string"
  27468. },
  27469. "triggertradedate": {
  27470. "description": "触发交易日",
  27471. "type": "string"
  27472. },
  27473. "userid": {
  27474. "description": "所属用户ID",
  27475. "type": "integer"
  27476. },
  27477. "userinfotype": {
  27478. "description": "用户类型 1-个人 2-企业",
  27479. "type": "integer"
  27480. },
  27481. "username": {
  27482. "description": "用户名称(userid对应的名称)",
  27483. "type": "string"
  27484. }
  27485. }
  27486. },
  27487. "models.QhjRStrategy": {
  27488. "type": "object",
  27489. "properties": {
  27490. "accountid": {
  27491. "description": "用户资金账户",
  27492. "type": "integer"
  27493. },
  27494. "accountname": {
  27495. "description": "账号名称(ACCOUNTID对应的名称)",
  27496. "type": "string"
  27497. },
  27498. "currencyid": {
  27499. "description": "币种id",
  27500. "type": "integer"
  27501. },
  27502. "currencyname": {
  27503. "description": "币种名称",
  27504. "type": "string"
  27505. },
  27506. "decimalplace": {
  27507. "description": "商品报价小数位",
  27508. "type": "integer"
  27509. },
  27510. "enumdicname": {
  27511. "description": "单位名称",
  27512. "type": "string"
  27513. },
  27514. "goodscode": {
  27515. "description": "定投商品代码",
  27516. "type": "string"
  27517. },
  27518. "goodsid": {
  27519. "description": "定投商品ID",
  27520. "type": "integer"
  27521. },
  27522. "goodsname": {
  27523. "description": "定投商品名称",
  27524. "type": "string"
  27525. },
  27526. "goodunitid": {
  27527. "description": "定投商品单位id",
  27528. "type": "integer"
  27529. },
  27530. "lasteffecttradedate": {
  27531. "description": "最新生效交易日",
  27532. "type": "string"
  27533. },
  27534. "laststoptradedate": {
  27535. "description": "最新暂停交易日",
  27536. "type": "string"
  27537. },
  27538. "lasttriggertradedate": {
  27539. "description": "最新触发交易日",
  27540. "type": "string"
  27541. },
  27542. "logincode": {
  27543. "description": "账号(登录代码)",
  27544. "type": "string"
  27545. },
  27546. "nexttriggeramount": {
  27547. "description": "下次触发金额",
  27548. "type": "number"
  27549. },
  27550. "nexttriggerdate": {
  27551. "description": "下次触发日期",
  27552. "type": "string"
  27553. },
  27554. "nexttriggerqty": {
  27555. "description": "下次触发数量 [按小数位放大值]",
  27556. "type": "number"
  27557. },
  27558. "qtydecimalplace": {
  27559. "description": "成交量小数位",
  27560. "type": "integer"
  27561. },
  27562. "regularlycycle": {
  27563. "description": "定投频率 - 1:每周 2:每月",
  27564. "type": "integer"
  27565. },
  27566. "regularlycyclevalue": {
  27567. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27568. "type": "string"
  27569. },
  27570. "regularlymode": {
  27571. "description": "定投方式 - 1:按数量 2:按金额",
  27572. "type": "integer"
  27573. },
  27574. "regularlymodevalue": {
  27575. "description": "定投方式值 - 数量或金额",
  27576. "type": "number"
  27577. },
  27578. "regularlystrategyid": {
  27579. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  27580. "type": "integer"
  27581. },
  27582. "regularlystrategystatus": {
  27583. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  27584. "type": "integer"
  27585. },
  27586. "remark": {
  27587. "description": "备注",
  27588. "type": "string"
  27589. },
  27590. "triggersuccesstimes": {
  27591. "description": "累计定投成功次数",
  27592. "type": "string"
  27593. },
  27594. "triggertotalamount": {
  27595. "description": "累计定投金额(成功)",
  27596. "type": "number"
  27597. },
  27598. "triggertotalqty": {
  27599. "description": "累计定投数量(成功) [按小数位放大值]",
  27600. "type": "number"
  27601. },
  27602. "triggertotaltimes": {
  27603. "description": "累计定投总次数",
  27604. "type": "string"
  27605. },
  27606. "updatesrc": {
  27607. "description": "更新来源 - 1:管理端 2:终端",
  27608. "type": "integer"
  27609. },
  27610. "updatetime": {
  27611. "description": "更新时间",
  27612. "type": "string"
  27613. },
  27614. "updatorid": {
  27615. "description": "更新人",
  27616. "type": "string"
  27617. },
  27618. "userid": {
  27619. "description": "所属用户ID",
  27620. "type": "integer"
  27621. },
  27622. "userinfotype": {
  27623. "description": "用户类型 1-个人 2-企业",
  27624. "type": "integer"
  27625. },
  27626. "username": {
  27627. "description": "用户名称(userid对应的名称)",
  27628. "type": "string"
  27629. }
  27630. }
  27631. },
  27632. "models.QhjReckonPriceLog": {
  27633. "type": "object",
  27634. "properties": {
  27635. "decimalplace": {
  27636. "description": "商品报价小数位",
  27637. "type": "integer"
  27638. },
  27639. "goodscode": {
  27640. "description": "商品代码",
  27641. "type": "string"
  27642. },
  27643. "goodsid": {
  27644. "description": "商品ID",
  27645. "type": "integer"
  27646. },
  27647. "goodsname": {
  27648. "description": "商品名称",
  27649. "type": "string"
  27650. },
  27651. "lastreckonprice": {
  27652. "description": "上日结算价",
  27653. "type": "number"
  27654. },
  27655. "nextdnlimitprice": {
  27656. "description": "下个交易日跌停价",
  27657. "type": "number"
  27658. },
  27659. "nexttrade": {
  27660. "description": "下个交易日",
  27661. "type": "string"
  27662. },
  27663. "nextuplimitprice": {
  27664. "description": "下个交易日涨停价",
  27665. "type": "number"
  27666. },
  27667. "reckonprice": {
  27668. "description": "今日结算价(定投价)",
  27669. "type": "number"
  27670. },
  27671. "reckontime": {
  27672. "description": "结算时间",
  27673. "type": "string"
  27674. },
  27675. "totalholderqty": {
  27676. "description": "总持仓数",
  27677. "type": "integer"
  27678. },
  27679. "totalstock": {
  27680. "description": "总库存",
  27681. "type": "integer"
  27682. },
  27683. "tradedate": {
  27684. "description": "交易日",
  27685. "type": "string"
  27686. },
  27687. "updowncount": {
  27688. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  27689. "type": "integer"
  27690. },
  27691. "updownflag": {
  27692. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  27693. "type": "integer"
  27694. },
  27695. "updownrate": {
  27696. "description": "今日涨跌幅",
  27697. "type": "number"
  27698. },
  27699. "updownrate_2d": {
  27700. "description": "连续两日涨跌幅",
  27701. "type": "number"
  27702. },
  27703. "updownrate_3d": {
  27704. "description": "连续三日涨跌幅",
  27705. "type": "number"
  27706. }
  27707. }
  27708. },
  27709. "models.QhjScoreLog": {
  27710. "type": "object",
  27711. "properties": {
  27712. "accountid": {
  27713. "description": "账户ID",
  27714. "type": "integer"
  27715. },
  27716. "createtime": {
  27717. "description": "创建时间(时间)",
  27718. "type": "string"
  27719. },
  27720. "goodsid": {
  27721. "description": "商品ID",
  27722. "type": "integer"
  27723. },
  27724. "hasuploaded": {
  27725. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  27726. "type": "integer"
  27727. },
  27728. "logid": {
  27729. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27730. "type": "string"
  27731. },
  27732. "marketid": {
  27733. "description": "市场ID",
  27734. "type": "integer"
  27735. },
  27736. "relatedamount": {
  27737. "description": "关联金额",
  27738. "type": "number"
  27739. },
  27740. "relatedorderid": {
  27741. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  27742. "type": "string"
  27743. },
  27744. "scoreconfigvalue1": {
  27745. "description": "积分配置1",
  27746. "type": "integer"
  27747. },
  27748. "scoreconfigvalue2": {
  27749. "description": "积分配置1",
  27750. "type": "integer"
  27751. },
  27752. "scoretype": {
  27753. "description": "积分类型 - 1:提货积分",
  27754. "type": "integer"
  27755. },
  27756. "scorevalue": {
  27757. "description": "积分",
  27758. "type": "number"
  27759. },
  27760. "tradedate": {
  27761. "description": "交易日(yyyyMMdd)",
  27762. "type": "string"
  27763. },
  27764. "uploadedtime": {
  27765. "description": "同步时间",
  27766. "type": "string"
  27767. },
  27768. "userid": {
  27769. "description": "用户ID",
  27770. "type": "integer"
  27771. }
  27772. }
  27773. },
  27774. "models.QhjSiteColumnDetail": {
  27775. "type": "object",
  27776. "properties": {
  27777. "author": {
  27778. "description": "作者",
  27779. "type": "string"
  27780. },
  27781. "brief": {
  27782. "description": "简介",
  27783. "type": "string"
  27784. },
  27785. "columnid": {
  27786. "description": "所属栏目",
  27787. "type": "integer"
  27788. },
  27789. "context": {
  27790. "description": "内容",
  27791. "type": "string"
  27792. },
  27793. "coverimage": {
  27794. "description": "封面图片",
  27795. "type": "string"
  27796. },
  27797. "creaedate": {
  27798. "description": "创建时间",
  27799. "type": "string"
  27800. },
  27801. "creatorid": {
  27802. "description": "创建人",
  27803. "type": "integer"
  27804. },
  27805. "hits": {
  27806. "description": "点击数",
  27807. "type": "integer"
  27808. },
  27809. "id": {
  27810. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  27811. "type": "integer"
  27812. },
  27813. "isshow": {
  27814. "description": "是否展示 - 0:不展示 1:展示",
  27815. "type": "integer"
  27816. },
  27817. "istop": {
  27818. "description": "是否置顶 - 0:不置 1:置顶",
  27819. "type": "integer"
  27820. },
  27821. "modifierid": {
  27822. "description": "操作人",
  27823. "type": "integer"
  27824. },
  27825. "publishdate": {
  27826. "description": "发布日期",
  27827. "type": "string"
  27828. },
  27829. "status": {
  27830. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  27831. "type": "integer"
  27832. },
  27833. "title": {
  27834. "description": "标题",
  27835. "type": "string"
  27836. },
  27837. "updatedate": {
  27838. "description": "修改时间",
  27839. "type": "string"
  27840. },
  27841. "userid": {
  27842. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  27843. "type": "integer"
  27844. },
  27845. "username": {
  27846. "description": "用户名称",
  27847. "type": "string"
  27848. }
  27849. }
  27850. },
  27851. "models.QhjTeamOrder": {
  27852. "type": "object",
  27853. "properties": {
  27854. "accountid": {
  27855. "description": "账户ID[报价币种]",
  27856. "type": "integer"
  27857. },
  27858. "accountname": {
  27859. "description": "账户名称",
  27860. "type": "string"
  27861. },
  27862. "agreeunit": {
  27863. "description": "合约乘数",
  27864. "type": "number"
  27865. },
  27866. "buyorsell": {
  27867. "description": "方向 - 0:买 1:卖",
  27868. "type": "integer"
  27869. },
  27870. "decimalplace": {
  27871. "description": "报价小数位",
  27872. "type": "integer"
  27873. },
  27874. "enumdicname": {
  27875. "description": "单位名称",
  27876. "type": "string"
  27877. },
  27878. "goodscode": {
  27879. "description": "商品代码(内部)",
  27880. "type": "string"
  27881. },
  27882. "goodsid": {
  27883. "description": "商品ID",
  27884. "type": "integer"
  27885. },
  27886. "goodsname": {
  27887. "description": "商品名称",
  27888. "type": "string"
  27889. },
  27890. "goodunitid": {
  27891. "description": "报价单位ID",
  27892. "type": "integer"
  27893. },
  27894. "marketid": {
  27895. "description": "市场ID",
  27896. "type": "integer"
  27897. },
  27898. "marketname": {
  27899. "description": "市场名称",
  27900. "type": "string"
  27901. },
  27902. "qtydecimalplace": {
  27903. "description": "成交量小数位",
  27904. "type": "integer"
  27905. },
  27906. "refereeuserid": {
  27907. "description": "推荐人ID",
  27908. "type": "integer"
  27909. },
  27910. "tradeamount": {
  27911. "description": "成交金额[账户币种,用于所有权]",
  27912. "type": "number"
  27913. },
  27914. "tradedate": {
  27915. "description": "交易日(yyyyMMdd)",
  27916. "type": "string"
  27917. },
  27918. "trademode": {
  27919. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27920. "type": "integer"
  27921. },
  27922. "tradeprice": {
  27923. "description": "成交价格",
  27924. "type": "number"
  27925. },
  27926. "tradeqty": {
  27927. "description": "成交数量",
  27928. "type": "number"
  27929. },
  27930. "tradetime": {
  27931. "description": "成交时间",
  27932. "type": "string"
  27933. },
  27934. "userid": {
  27935. "description": "用户ID",
  27936. "type": "integer"
  27937. }
  27938. }
  27939. },
  27940. "models.QhjTradeGoodsPickup": {
  27941. "type": "object",
  27942. "properties": {
  27943. "accountid": {
  27944. "description": "账户ID",
  27945. "type": "integer"
  27946. },
  27947. "address": {
  27948. "description": "提货人详细地址",
  27949. "type": "string"
  27950. },
  27951. "amount": {
  27952. "description": "提货金额",
  27953. "type": "number"
  27954. },
  27955. "artradedate": {
  27956. "description": "自动收货交易日(yyyyMMdd)",
  27957. "type": "string"
  27958. },
  27959. "auditer": {
  27960. "description": "审核人",
  27961. "type": "integer"
  27962. },
  27963. "auditsrc": {
  27964. "description": "更新来源 - 1:管理端 2:终端",
  27965. "type": "integer"
  27966. },
  27967. "audittime": {
  27968. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  27969. "type": "string"
  27970. },
  27971. "audittradedate": {
  27972. "description": "审核交易日(yyyyMMdd)",
  27973. "type": "string"
  27974. },
  27975. "cardnum": {
  27976. "description": "提货人证件号码",
  27977. "type": "string"
  27978. },
  27979. "cardtypeid": {
  27980. "description": "提货人证件类型",
  27981. "type": "integer"
  27982. },
  27983. "checkremark": {
  27984. "description": "审核备注",
  27985. "type": "string"
  27986. },
  27987. "cityid": {
  27988. "description": "市",
  27989. "type": "integer"
  27990. },
  27991. "cityname": {
  27992. "description": "城市名称",
  27993. "type": "string"
  27994. },
  27995. "confirmtime": {
  27996. "description": "取货时间 或 收货时间",
  27997. "type": "string"
  27998. },
  27999. "countryid": {
  28000. "description": "国家",
  28001. "type": "integer"
  28002. },
  28003. "countryname": {
  28004. "description": "国家名称",
  28005. "type": "string"
  28006. },
  28007. "decimalplace": {
  28008. "description": "商品报价小数位",
  28009. "type": "integer"
  28010. },
  28011. "districtid": {
  28012. "description": "地区",
  28013. "type": "integer"
  28014. },
  28015. "districtname": {
  28016. "description": "地区名称",
  28017. "type": "string"
  28018. },
  28019. "enumdicname": {
  28020. "description": "单位名称(提货商品)",
  28021. "type": "string"
  28022. },
  28023. "expresscompany": {
  28024. "description": "物流公司",
  28025. "type": "string"
  28026. },
  28027. "expressnum": {
  28028. "description": "物流单号",
  28029. "type": "string"
  28030. },
  28031. "goodsagreeunit": {
  28032. "description": "交易商品乘数",
  28033. "type": "number"
  28034. },
  28035. "goodscode": {
  28036. "description": "商品代码",
  28037. "type": "string"
  28038. },
  28039. "goodsid": {
  28040. "description": "商品ID",
  28041. "type": "integer"
  28042. },
  28043. "goodsname": {
  28044. "description": "商品名称",
  28045. "type": "string"
  28046. },
  28047. "goodsqty": {
  28048. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  28049. "type": "number"
  28050. },
  28051. "handlestatus": {
  28052. "description": "处理状态",
  28053. "type": "integer"
  28054. },
  28055. "logincode": {
  28056. "description": "账号(登录代码, 有可能为空)",
  28057. "type": "string"
  28058. },
  28059. "marketid": {
  28060. "description": "市场ID",
  28061. "type": "integer"
  28062. },
  28063. "phonenum": {
  28064. "description": "提货人联系方式",
  28065. "type": "string"
  28066. },
  28067. "pickupgoodsagreeunit": {
  28068. "description": "提货商品合约乘数",
  28069. "type": "number"
  28070. },
  28071. "pickupgoodsid": {
  28072. "description": "提货商品ID",
  28073. "type": "string"
  28074. },
  28075. "pickupgoodsname": {
  28076. "description": "提货商品名称",
  28077. "type": "string"
  28078. },
  28079. "pickupgoodsqty": {
  28080. "description": "提货商品手数(数量)",
  28081. "type": "number"
  28082. },
  28083. "pickupgoodsunitid": {
  28084. "description": "单位ID(提货商品)",
  28085. "type": "integer"
  28086. },
  28087. "pickupratio": {
  28088. "description": "提货系数",
  28089. "type": "number"
  28090. },
  28091. "preparedays": {
  28092. "description": "备货期(天)-提货单明细表",
  28093. "type": "integer"
  28094. },
  28095. "provinceid": {
  28096. "description": "省",
  28097. "type": "integer"
  28098. },
  28099. "provincename": {
  28100. "description": "省名称",
  28101. "type": "string"
  28102. },
  28103. "qty": {
  28104. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  28105. "type": "number"
  28106. },
  28107. "qtydecimalplace": {
  28108. "description": "商品数量小数位",
  28109. "type": "integer"
  28110. },
  28111. "recivername": {
  28112. "description": "提货人姓名",
  28113. "type": "string"
  28114. },
  28115. "reqtime": {
  28116. "description": "提货申请时间",
  28117. "type": "string"
  28118. },
  28119. "storeuserid": {
  28120. "description": "门店用户ID (千海金)",
  28121. "type": "integer"
  28122. },
  28123. "storeusername": {
  28124. "description": "门店用户名称",
  28125. "type": "string"
  28126. },
  28127. "takemode": {
  28128. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  28129. "type": "integer"
  28130. },
  28131. "takeorderid": {
  28132. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  28133. "type": "string"
  28134. },
  28135. "takeorderstatus": {
  28136. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  28137. "type": "integer"
  28138. },
  28139. "takeremark": {
  28140. "description": "提货备注",
  28141. "type": "string"
  28142. },
  28143. "tradedate": {
  28144. "description": "交易日(yyyyMMdd)",
  28145. "type": "string"
  28146. },
  28147. "updatetime": {
  28148. "description": "更新时间",
  28149. "type": "string"
  28150. },
  28151. "userid": {
  28152. "description": "用户ID",
  28153. "type": "integer"
  28154. },
  28155. "userinfotype": {
  28156. "description": "客户类型 1-个人 2-企业",
  28157. "type": "integer"
  28158. },
  28159. "username": {
  28160. "description": "用户名称",
  28161. "type": "string"
  28162. }
  28163. }
  28164. },
  28165. "models.QhjUserNodeCfgAndStatus": {
  28166. "type": "object",
  28167. "properties": {
  28168. "agreementcontent": {
  28169. "description": "协议内容",
  28170. "type": "string"
  28171. },
  28172. "agreementid": {
  28173. "description": "协议ID",
  28174. "type": "integer"
  28175. },
  28176. "agreementname": {
  28177. "description": "协议名称",
  28178. "type": "string"
  28179. },
  28180. "agreementno": {
  28181. "description": "协议编号",
  28182. "type": "string"
  28183. },
  28184. "agreementtype": {
  28185. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28186. "type": "integer"
  28187. },
  28188. "agreementversion": {
  28189. "description": "协议版本号",
  28190. "type": "integer"
  28191. },
  28192. "configid": {
  28193. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28194. "type": "integer"
  28195. },
  28196. "createtime": {
  28197. "description": "创建时间",
  28198. "type": "string"
  28199. },
  28200. "goodsid": {
  28201. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28202. "type": "integer"
  28203. },
  28204. "nodetype": {
  28205. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28206. "type": "integer"
  28207. },
  28208. "signtimestamp": {
  28209. "description": "签约状态时间戳(最近一次)",
  28210. "type": "string"
  28211. },
  28212. "tradedate": {
  28213. "description": "签约交易日(yyyyMMdd)",
  28214. "type": "string"
  28215. },
  28216. "userid": {
  28217. "description": "客户ID",
  28218. "type": "integer"
  28219. }
  28220. }
  28221. },
  28222. "models.Qhjgoodsex": {
  28223. "type": "object",
  28224. "properties": {
  28225. "canfinance": {
  28226. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  28227. "type": "integer"
  28228. },
  28229. "canregularlybuy": {
  28230. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  28231. "type": "integer"
  28232. },
  28233. "defaulttradeuserid": {
  28234. "description": "默认交易用户ID",
  28235. "type": "integer"
  28236. },
  28237. "deliverygoodsid": {
  28238. "description": "现货品种ID",
  28239. "type": "integer"
  28240. },
  28241. "goodsid": {
  28242. "description": "商品ID(自增ID SEQ_GOODS)",
  28243. "type": "integer"
  28244. },
  28245. "minamount": {
  28246. "description": "最小购买金额",
  28247. "type": "number"
  28248. },
  28249. "regularlybuyminamount": {
  28250. "description": "定投最小金额",
  28251. "type": "number"
  28252. },
  28253. "regularlybuyminqty": {
  28254. "description": "定投最小数量",
  28255. "type": "number"
  28256. },
  28257. "spotgoodsbrandid": {
  28258. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  28259. "type": "integer"
  28260. },
  28261. "visibilityforenterprise": {
  28262. "description": "企业客户是否可见 - 0:不可见 1:可见",
  28263. "type": "integer"
  28264. },
  28265. "visibilityforpersonal": {
  28266. "description": "个人客户是否可见 - 0:不可见 1:可见",
  28267. "type": "integer"
  28268. },
  28269. "wrstandardid": {
  28270. "description": "现货商品ID",
  28271. "type": "integer"
  28272. }
  28273. }
  28274. },
  28275. "models.QueryErrorInfosRsp": {
  28276. "type": "object",
  28277. "required": [
  28278. "errorid"
  28279. ],
  28280. "properties": {
  28281. "description": {
  28282. "description": "异常描述",
  28283. "type": "string"
  28284. },
  28285. "errorcode": {
  28286. "description": "异常代码",
  28287. "type": "string"
  28288. },
  28289. "errorid": {
  28290. "description": "异常ID",
  28291. "type": "integer"
  28292. },
  28293. "modulecode": {
  28294. "description": "所属模块",
  28295. "type": "string"
  28296. },
  28297. "operatecode": {
  28298. "description": "所属操作",
  28299. "type": "string"
  28300. },
  28301. "rownumber": {
  28302. "description": "行号",
  28303. "type": "string"
  28304. }
  28305. }
  28306. },
  28307. "models.QueryHedgeOrderDetailRsp": {
  28308. "type": "object",
  28309. "properties": {
  28310. "accountid": {
  28311. "description": "账户ID",
  28312. "type": "integer"
  28313. },
  28314. "buyorsell": {
  28315. "description": "买卖 - 0:买 1:卖",
  28316. "type": "integer"
  28317. },
  28318. "cancellogincode": {
  28319. "description": "撤单人",
  28320. "type": "string"
  28321. },
  28322. "channelbuildtype": {
  28323. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  28324. "type": "integer"
  28325. },
  28326. "channelinnerorderstatus": {
  28327. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  28328. "type": "integer"
  28329. },
  28330. "channeloperatetype": {
  28331. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  28332. "type": "integer"
  28333. },
  28334. "closetype": {
  28335. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28336. "type": "integer"
  28337. },
  28338. "curexchangerate": {
  28339. "description": "当前汇率",
  28340. "type": "number"
  28341. },
  28342. "exchangefullname": {
  28343. "description": "外部交易所全称",
  28344. "type": "string"
  28345. },
  28346. "goodscode": {
  28347. "description": "商品代码(内部)",
  28348. "type": "string"
  28349. },
  28350. "goodsid": {
  28351. "description": "商品ID",
  28352. "type": "integer"
  28353. },
  28354. "goodsname": {
  28355. "description": "商品名称",
  28356. "type": "string"
  28357. },
  28358. "marketid": {
  28359. "description": "市场ID",
  28360. "type": "integer"
  28361. },
  28362. "openfreezemargin": {
  28363. "description": "冻结保证金(冻结交易金额)",
  28364. "type": "number"
  28365. },
  28366. "orderid": {
  28367. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28368. "type": "string"
  28369. },
  28370. "orderlogincode": {
  28371. "description": "委托人",
  28372. "type": "string"
  28373. },
  28374. "orderprice": {
  28375. "description": "委托价格(账户)",
  28376. "type": "number"
  28377. },
  28378. "orderqty": {
  28379. "description": "委托数量",
  28380. "type": "integer"
  28381. },
  28382. "ordertime": {
  28383. "description": "委托时间",
  28384. "type": "string"
  28385. },
  28386. "pricemode": {
  28387. "description": "取价方式 - 1:市价 2: 限价",
  28388. "type": "integer"
  28389. },
  28390. "tradedate": {
  28391. "description": "交易日(yyyyMMdd)",
  28392. "type": "string"
  28393. },
  28394. "tradeqty": {
  28395. "description": "成交数量",
  28396. "type": "integer"
  28397. }
  28398. }
  28399. },
  28400. "models.QueryHedgeTradeDetailRsp": {
  28401. "type": "object",
  28402. "properties": {
  28403. "accountid": {
  28404. "description": "账号ID",
  28405. "type": "integer"
  28406. },
  28407. "buyorsell": {
  28408. "description": "方向 - 0:买 1:卖",
  28409. "type": "integer"
  28410. },
  28411. "channelbuildtype": {
  28412. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28413. "type": "integer"
  28414. },
  28415. "closecharge": {
  28416. "description": "平仓手续费(账户)",
  28417. "type": "number"
  28418. },
  28419. "closecharge2": {
  28420. "description": "平仓手续费(商品)",
  28421. "type": "number"
  28422. },
  28423. "closepl": {
  28424. "description": "平仓盈亏(账户)",
  28425. "type": "number"
  28426. },
  28427. "closepl2": {
  28428. "description": "平仓盈亏(商品)",
  28429. "type": "number"
  28430. },
  28431. "closepl3": {
  28432. "description": "平仓盈亏(账户)(逐笔)",
  28433. "type": "number"
  28434. },
  28435. "closepl4": {
  28436. "description": "平仓盈亏(商品)(逐笔)",
  28437. "type": "number"
  28438. },
  28439. "closetype": {
  28440. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28441. "type": "integer"
  28442. },
  28443. "curexchangerate": {
  28444. "description": "当前汇率",
  28445. "type": "number"
  28446. },
  28447. "exchangefullname": {
  28448. "description": "外部交易所全称",
  28449. "type": "string"
  28450. },
  28451. "goodscode": {
  28452. "description": "商品代码(内部)",
  28453. "type": "string"
  28454. },
  28455. "goodsid": {
  28456. "description": "商品ID",
  28457. "type": "integer"
  28458. },
  28459. "goodsname": {
  28460. "description": "商品名称",
  28461. "type": "string"
  28462. },
  28463. "marketid": {
  28464. "description": "市场ID",
  28465. "type": "integer"
  28466. },
  28467. "opencharge": {
  28468. "description": "建仓手续费(账户)",
  28469. "type": "number"
  28470. },
  28471. "opencharge2": {
  28472. "description": "建仓手续费(商品)",
  28473. "type": "number"
  28474. },
  28475. "orderid": {
  28476. "description": "委托单号",
  28477. "type": "string"
  28478. },
  28479. "orderlogincode": {
  28480. "description": "委托人",
  28481. "type": "string"
  28482. },
  28483. "tradeamount": {
  28484. "description": "成交金额(账户)",
  28485. "type": "number"
  28486. },
  28487. "tradedate": {
  28488. "description": "交易日(yyyyMMdd)",
  28489. "type": "string"
  28490. },
  28491. "tradeid": {
  28492. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28493. "type": "string"
  28494. },
  28495. "tradeprice": {
  28496. "description": "成交价格",
  28497. "type": "number"
  28498. },
  28499. "tradeqty": {
  28500. "description": "成交数量",
  28501. "type": "integer"
  28502. },
  28503. "tradetime": {
  28504. "description": "成交时间",
  28505. "type": "string"
  28506. },
  28507. "tradetype": {
  28508. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  28509. "type": "integer"
  28510. }
  28511. }
  28512. },
  28513. "models.QuotePrimaryMenu": {
  28514. "type": "object",
  28515. "properties": {
  28516. "Index": {
  28517. "description": "序号",
  28518. "type": "integer"
  28519. },
  28520. "Key": {
  28521. "description": "键名",
  28522. "type": "string"
  28523. },
  28524. "Name": {
  28525. "description": "菜单名称",
  28526. "type": "string"
  28527. },
  28528. "SubMenus": {
  28529. "description": "子菜单",
  28530. "type": "array",
  28531. "items": {
  28532. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  28533. }
  28534. },
  28535. "SubTitleType": {
  28536. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  28537. "type": "integer"
  28538. },
  28539. "TradeModes": {
  28540. "description": "包含市场交易类型",
  28541. "type": "string"
  28542. }
  28543. }
  28544. },
  28545. "models.QuoteSecondaryMenu": {
  28546. "type": "object",
  28547. "properties": {
  28548. "ExExchangeCode": {
  28549. "description": "外部交易所代码",
  28550. "type": "string"
  28551. },
  28552. "ExExchangeID": {
  28553. "description": "外部交易所ID",
  28554. "type": "integer"
  28555. },
  28556. "GoodsGroupIDs": {
  28557. "description": "商品组ID列表",
  28558. "type": "array",
  28559. "items": {
  28560. "type": "integer"
  28561. }
  28562. },
  28563. "Index": {
  28564. "description": "序号",
  28565. "type": "integer"
  28566. },
  28567. "MarketID": {
  28568. "description": "市场ID",
  28569. "type": "integer"
  28570. },
  28571. "MenuTitle": {
  28572. "description": "菜单标题(市场名称或外部交易所名称)",
  28573. "type": "string"
  28574. },
  28575. "TradeMode": {
  28576. "description": "交易模式",
  28577. "type": "integer"
  28578. }
  28579. }
  28580. },
  28581. "models.RoleMenu": {
  28582. "type": "object",
  28583. "properties": {
  28584. "hasright": {
  28585. "description": "是否有权限 0-没有权限 1-有权限",
  28586. "type": "integer"
  28587. },
  28588. "iconame": {
  28589. "description": "菜单图标",
  28590. "type": "string"
  28591. },
  28592. "menutype": {
  28593. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  28594. "type": "integer"
  28595. },
  28596. "parentcode": {
  28597. "description": "上级资源代码",
  28598. "type": "string"
  28599. },
  28600. "remark": {
  28601. "description": "菜单备注",
  28602. "type": "string"
  28603. },
  28604. "resourcecode": {
  28605. "description": "菜单代码",
  28606. "type": "string"
  28607. },
  28608. "resourcelevel": {
  28609. "description": "级别",
  28610. "type": "integer"
  28611. },
  28612. "resourcename": {
  28613. "description": "菜单名称",
  28614. "type": "string"
  28615. },
  28616. "roleid": {
  28617. "description": "角色id",
  28618. "type": "integer"
  28619. },
  28620. "sort": {
  28621. "description": "排序",
  28622. "type": "integer"
  28623. },
  28624. "subMenu": {
  28625. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  28626. "type": "array",
  28627. "items": {
  28628. "$ref": "#/definitions/models.RoleMenu"
  28629. }
  28630. },
  28631. "url": {
  28632. "description": "URL",
  28633. "type": "string"
  28634. },
  28635. "userid": {
  28636. "description": "用户id",
  28637. "type": "integer"
  28638. }
  28639. }
  28640. },
  28641. "models.SearchGoods": {
  28642. "type": "object",
  28643. "required": [
  28644. "goodscode",
  28645. "goodsid",
  28646. "goodsname",
  28647. "marketid",
  28648. "trademode"
  28649. ],
  28650. "properties": {
  28651. "goodscode": {
  28652. "description": "商品代码(内部)",
  28653. "type": "string"
  28654. },
  28655. "goodsid": {
  28656. "description": "商品ID(自增ID SEQ_GOODS)",
  28657. "type": "integer"
  28658. },
  28659. "goodsname": {
  28660. "description": "商品名称",
  28661. "type": "string"
  28662. },
  28663. "marketid": {
  28664. "description": "所属市场ID",
  28665. "type": "integer"
  28666. },
  28667. "marketname": {
  28668. "description": "市场名称",
  28669. "type": "string"
  28670. },
  28671. "trademode": {
  28672. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28673. "type": "integer"
  28674. }
  28675. }
  28676. },
  28677. "models.Systemparam": {
  28678. "type": "object",
  28679. "required": [
  28680. "paramcode"
  28681. ],
  28682. "properties": {
  28683. "loginid": {
  28684. "description": "更新用户账号,登录账号",
  28685. "type": "string"
  28686. },
  28687. "modifyflag": {
  28688. "description": "修改标志0 不允许修改 1 允许修改",
  28689. "type": "integer"
  28690. },
  28691. "paramcode": {
  28692. "description": "参数代码",
  28693. "type": "string"
  28694. },
  28695. "paramname": {
  28696. "description": "参数名",
  28697. "type": "string"
  28698. },
  28699. "paramtype": {
  28700. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  28701. "type": "integer"
  28702. },
  28703. "paramvalue": {
  28704. "description": "参数值",
  28705. "type": "string"
  28706. },
  28707. "paramvalue2": {
  28708. "description": "参数值(CLOB)",
  28709. "type": "string"
  28710. },
  28711. "regexpress": {
  28712. "description": "正则表达式",
  28713. "type": "string"
  28714. },
  28715. "remark": {
  28716. "description": "备注",
  28717. "type": "string"
  28718. },
  28719. "serverip": {
  28720. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  28721. "type": "string"
  28722. },
  28723. "showflag": {
  28724. "description": "是否显示0 不显示 1 显示",
  28725. "type": "integer"
  28726. },
  28727. "updatetime": {
  28728. "description": "更新时间",
  28729. "type": "string"
  28730. },
  28731. "userid": {
  28732. "description": "更新用户ID",
  28733. "type": "integer"
  28734. }
  28735. }
  28736. },
  28737. "models.Szdz3convertconfig": {
  28738. "type": "object",
  28739. "required": [
  28740. "converttype",
  28741. "innergoodsid",
  28742. "outergoodscode"
  28743. ],
  28744. "properties": {
  28745. "canin": {
  28746. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  28747. "type": "integer"
  28748. },
  28749. "canout": {
  28750. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  28751. "type": "integer"
  28752. },
  28753. "converttype": {
  28754. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  28755. "type": "integer"
  28756. },
  28757. "createtime": {
  28758. "description": "创建时间",
  28759. "type": "string"
  28760. },
  28761. "creatorid": {
  28762. "description": "创建人",
  28763. "type": "integer"
  28764. },
  28765. "daymaxvalue": {
  28766. "description": "当日最大转入限制",
  28767. "type": "number"
  28768. },
  28769. "freezedays": {
  28770. "description": "冻结天数 [5:花生米转交易]",
  28771. "type": "integer"
  28772. },
  28773. "innergoodsid": {
  28774. "description": "内部商品ID[交易]",
  28775. "type": "integer"
  28776. },
  28777. "inratio": {
  28778. "description": "目标值",
  28779. "type": "integer"
  28780. },
  28781. "modifierid": {
  28782. "description": "修改人",
  28783. "type": "integer"
  28784. },
  28785. "modifytime": {
  28786. "description": "修改时间",
  28787. "type": "string"
  28788. },
  28789. "outergoodscode": {
  28790. "description": "外部商品代码[JD\\PD]",
  28791. "type": "string"
  28792. },
  28793. "outratio": {
  28794. "description": "源值",
  28795. "type": "integer"
  28796. },
  28797. "pddecimalplace": {
  28798. "description": "PD小数位",
  28799. "type": "integer"
  28800. },
  28801. "timemaxvalue": {
  28802. "description": "单次最大转入限制",
  28803. "type": "number"
  28804. },
  28805. "timeminvalue": {
  28806. "description": "单次最小转入限制",
  28807. "type": "number"
  28808. }
  28809. }
  28810. },
  28811. "models.Szdz3searchwhitelist": {
  28812. "type": "object",
  28813. "required": [
  28814. "userid"
  28815. ],
  28816. "properties": {
  28817. "createtime": {
  28818. "description": "创建时间",
  28819. "type": "string"
  28820. },
  28821. "creatorid": {
  28822. "description": "创建人",
  28823. "type": "integer"
  28824. },
  28825. "modifierid": {
  28826. "description": "修改人",
  28827. "type": "integer"
  28828. },
  28829. "modifytime": {
  28830. "description": "修改时间",
  28831. "type": "string"
  28832. },
  28833. "userid": {
  28834. "description": "用户ID",
  28835. "type": "integer"
  28836. }
  28837. }
  28838. },
  28839. "models.Taaccount": {
  28840. "type": "object",
  28841. "required": [
  28842. "accountid",
  28843. "userid"
  28844. ],
  28845. "properties": {
  28846. "accountflag": {
  28847. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  28848. "type": "integer"
  28849. },
  28850. "accountid": {
  28851. "description": "资金账户ID",
  28852. "type": "integer"
  28853. },
  28854. "accountname": {
  28855. "description": "账户名称",
  28856. "type": "string"
  28857. },
  28858. "balance": {
  28859. "description": "期初余额",
  28860. "type": "number"
  28861. },
  28862. "capitalbalance": {
  28863. "description": "本金余额[外部子账户实际出入金余额]",
  28864. "type": "number"
  28865. },
  28866. "changeflag": {
  28867. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  28868. "type": "integer"
  28869. },
  28870. "changetime": {
  28871. "description": "账户状态变更时间",
  28872. "type": "string"
  28873. },
  28874. "closepl": {
  28875. "description": "今日平仓盈亏",
  28876. "type": "number"
  28877. },
  28878. "creditdecrease": {
  28879. "description": "今日授信减少",
  28880. "type": "number"
  28881. },
  28882. "creditincrease": {
  28883. "description": "今日授信增加",
  28884. "type": "number"
  28885. },
  28886. "curamount": {
  28887. "description": "总市值(从持仓中统计)",
  28888. "type": "number"
  28889. },
  28890. "currencyid": {
  28891. "description": "货币ID",
  28892. "type": "integer"
  28893. },
  28894. "currentbalance": {
  28895. "description": "期末余额",
  28896. "type": "number"
  28897. },
  28898. "freezecharge": {
  28899. "description": "手续费冻结",
  28900. "type": "number"
  28901. },
  28902. "freezemargin": {
  28903. "description": "冻结保证金",
  28904. "type": "number"
  28905. },
  28906. "fromaccountid": {
  28907. "description": "所属上级账户",
  28908. "type": "integer"
  28909. },
  28910. "inamount": {
  28911. "description": "今日入金金额(包括三方入金)",
  28912. "type": "number"
  28913. },
  28914. "ismain": {
  28915. "description": "是否母账号 0:不是母账户 1:是母账户",
  28916. "type": "integer"
  28917. },
  28918. "ismarketaccount": {
  28919. "description": "是否机构接单账号 0:不是 1:是",
  28920. "type": "integer"
  28921. },
  28922. "isreckonaccount": {
  28923. "description": "是否机构分润账号 0:不是 1:是",
  28924. "type": "integer"
  28925. },
  28926. "mortgagecredit": {
  28927. "description": "授信金额",
  28928. "type": "number"
  28929. },
  28930. "orifreezecharge": {
  28931. "description": "期初手续费冻结",
  28932. "type": "number"
  28933. },
  28934. "orifreezemargin": {
  28935. "description": "期初冻结保证金",
  28936. "type": "number"
  28937. },
  28938. "orimortgagecredit": {
  28939. "description": "期初授信金额",
  28940. "type": "number"
  28941. },
  28942. "oriothercredit": {
  28943. "description": "期初其它授信金额",
  28944. "type": "number"
  28945. },
  28946. "oriotherfreezemargin": {
  28947. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28948. "type": "number"
  28949. },
  28950. "orioutamountfreeze": {
  28951. "description": "期初出金冻结",
  28952. "type": "number"
  28953. },
  28954. "oriusedmargin": {
  28955. "description": "期初占用保证金",
  28956. "type": "number"
  28957. },
  28958. "othercredit": {
  28959. "description": "其它授信金额",
  28960. "type": "number"
  28961. },
  28962. "othercreditdecrease": {
  28963. "description": "今日其它授信减少",
  28964. "type": "number"
  28965. },
  28966. "othercreditincrease": {
  28967. "description": "今日其它授信增加",
  28968. "type": "number"
  28969. },
  28970. "otherfreezemargin": {
  28971. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28972. "type": "number"
  28973. },
  28974. "otherincome": {
  28975. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  28976. "type": "number"
  28977. },
  28978. "otherpay": {
  28979. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  28980. "type": "number"
  28981. },
  28982. "outamount": {
  28983. "description": "今日出金金额(包括三方出金)",
  28984. "type": "number"
  28985. },
  28986. "outamountfreeze": {
  28987. "description": "出金冻结",
  28988. "type": "number"
  28989. },
  28990. "outthreshold": {
  28991. "description": "出金阈值",
  28992. "type": "number"
  28993. },
  28994. "parentaccountid": {
  28995. "description": "所属根账号",
  28996. "type": "integer"
  28997. },
  28998. "paycharge": {
  28999. "description": "今日手续费支出",
  29000. "type": "number"
  29001. },
  29002. "relatedaccountstatus": {
  29003. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  29004. "type": "integer"
  29005. },
  29006. "relateduserid": {
  29007. "description": "关联用户",
  29008. "type": "integer"
  29009. },
  29010. "remainamount": {
  29011. "description": "融资额(从融资合同中统计)",
  29012. "type": "number"
  29013. },
  29014. "serivcegroup": {
  29015. "description": "服务分组",
  29016. "type": "integer"
  29017. },
  29018. "signstatus": {
  29019. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29020. "type": "integer"
  29021. },
  29022. "sublevelpath": {
  29023. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29024. "type": "string"
  29025. },
  29026. "taaccounttype": {
  29027. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29028. "type": "integer"
  29029. },
  29030. "thirdinamount": {
  29031. "description": "今日三方入金",
  29032. "type": "number"
  29033. },
  29034. "thirdoutamount": {
  29035. "description": "今日三方出金",
  29036. "type": "number"
  29037. },
  29038. "tradestatus": {
  29039. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29040. "type": "integer"
  29041. },
  29042. "tradestatuschangetime": {
  29043. "description": "激活时间",
  29044. "type": "string"
  29045. },
  29046. "transferamount": {
  29047. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29048. "type": "number"
  29049. },
  29050. "usedmargin": {
  29051. "description": "占用保证金",
  29052. "type": "number"
  29053. },
  29054. "userid": {
  29055. "description": "用户ID",
  29056. "type": "integer"
  29057. }
  29058. }
  29059. },
  29060. "models.Tablecolumnconfig": {
  29061. "type": "object",
  29062. "required": [
  29063. "autoid"
  29064. ],
  29065. "properties": {
  29066. "aligntype": {
  29067. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  29068. "type": "integer"
  29069. },
  29070. "autoid": {
  29071. "description": "AutoID",
  29072. "type": "integer"
  29073. },
  29074. "columnfield": {
  29075. "description": "列字段",
  29076. "type": "string"
  29077. },
  29078. "columntitle": {
  29079. "description": "列Title",
  29080. "type": "string"
  29081. },
  29082. "columnwidth": {
  29083. "description": "列宽",
  29084. "type": "string"
  29085. },
  29086. "formatterstring": {
  29087. "description": "格式化字符",
  29088. "type": "string"
  29089. },
  29090. "formattertype": {
  29091. "description": "格式化类型",
  29092. "type": "string"
  29093. },
  29094. "groupname": {
  29095. "description": "表头分组名称",
  29096. "type": "string"
  29097. },
  29098. "isshow": {
  29099. "description": "是否显示 - 0:不显示 1:显示",
  29100. "type": "integer"
  29101. },
  29102. "needsummary": {
  29103. "description": "是否需要汇总 - 0:不需要 1:需要",
  29104. "type": "integer"
  29105. },
  29106. "orderindex": {
  29107. "description": "顺序",
  29108. "type": "integer"
  29109. },
  29110. "remark": {
  29111. "description": "备注",
  29112. "type": "string"
  29113. },
  29114. "summarytype": {
  29115. "description": "汇总类型 - 1:加总 2:最后一个",
  29116. "type": "integer"
  29117. },
  29118. "tablekey": {
  29119. "description": "列表Key",
  29120. "type": "string"
  29121. }
  29122. }
  29123. },
  29124. "models.UserCollectConfig": {
  29125. "type": "object",
  29126. "properties": {
  29127. "accountstatus": {
  29128. "description": "账户状态 - 1:正常 2:停用 3:注销",
  29129. "type": "integer"
  29130. },
  29131. "collectaccountname": {
  29132. "description": "收款人账户名称",
  29133. "type": "string"
  29134. },
  29135. "collectaccountno": {
  29136. "description": "收款人账户",
  29137. "type": "string"
  29138. },
  29139. "collectbankname": {
  29140. "description": "收款人开户行",
  29141. "type": "string"
  29142. },
  29143. "collectbranchbankname": {
  29144. "description": "收款人开户支行",
  29145. "type": "string"
  29146. },
  29147. "collectconfigid": {
  29148. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  29149. "type": "string"
  29150. },
  29151. "remark": {
  29152. "description": "备注",
  29153. "type": "string"
  29154. },
  29155. "userid": {
  29156. "description": "收款人用户ID",
  29157. "type": "integer"
  29158. }
  29159. }
  29160. },
  29161. "models.UserReceiveInfo": {
  29162. "type": "object",
  29163. "properties": {
  29164. "address": {
  29165. "description": "提货人详细地址",
  29166. "type": "string"
  29167. },
  29168. "autoid": {
  29169. "description": "AutoID",
  29170. "type": "integer"
  29171. },
  29172. "cardnum": {
  29173. "description": "证件号码(加密存储)",
  29174. "type": "string"
  29175. },
  29176. "cardtypeid": {
  29177. "description": "证件类型",
  29178. "type": "integer"
  29179. },
  29180. "cityid": {
  29181. "description": "市",
  29182. "type": "integer"
  29183. },
  29184. "cityname": {
  29185. "description": "城市名称",
  29186. "type": "string"
  29187. },
  29188. "countryid": {
  29189. "description": "国家",
  29190. "type": "integer"
  29191. },
  29192. "countryname": {
  29193. "description": "国家名称",
  29194. "type": "string"
  29195. },
  29196. "districtid": {
  29197. "description": "地区",
  29198. "type": "integer"
  29199. },
  29200. "districtname": {
  29201. "description": "地区名称",
  29202. "type": "string"
  29203. },
  29204. "hasencrypt": {
  29205. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29206. "type": "integer"
  29207. },
  29208. "isdefault": {
  29209. "description": "是否默认地址 - 0:否 1:是",
  29210. "type": "integer"
  29211. },
  29212. "phonenum": {
  29213. "description": "提货人联系方式(加密存储)",
  29214. "type": "string"
  29215. },
  29216. "provinceid": {
  29217. "description": "省",
  29218. "type": "integer"
  29219. },
  29220. "provincename": {
  29221. "description": "省名称",
  29222. "type": "string"
  29223. },
  29224. "receivername": {
  29225. "description": "提货人姓名",
  29226. "type": "string"
  29227. },
  29228. "takeremark": {
  29229. "description": "提货备注",
  29230. "type": "string"
  29231. },
  29232. "userid": {
  29233. "description": "用户ID",
  29234. "type": "integer"
  29235. }
  29236. }
  29237. },
  29238. "models.Useraccount": {
  29239. "type": "object",
  29240. "required": [
  29241. "userid"
  29242. ],
  29243. "properties": {
  29244. "accountname": {
  29245. "description": "账户名称(机构名称)",
  29246. "type": "string"
  29247. },
  29248. "accountstatus": {
  29249. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29250. "type": "integer"
  29251. },
  29252. "applysrc": {
  29253. "description": "申请来源 - 1:管理端 2:终端",
  29254. "type": "integer"
  29255. },
  29256. "auditremark": {
  29257. "description": "审核备注",
  29258. "type": "string"
  29259. },
  29260. "auditsrc": {
  29261. "description": "审核来源 - 1:管理端 2:终端",
  29262. "type": "integer"
  29263. },
  29264. "audittime": {
  29265. "description": "审核时间",
  29266. "type": "string"
  29267. },
  29268. "audituserid": {
  29269. "description": "审核人",
  29270. "type": "integer"
  29271. },
  29272. "broker": {
  29273. "description": "所属经纪人ID",
  29274. "type": "integer"
  29275. },
  29276. "canceltime": {
  29277. "description": "销户时间",
  29278. "type": "string"
  29279. },
  29280. "canceluserid": {
  29281. "description": "销户人",
  29282. "type": "integer"
  29283. },
  29284. "canrecommend": {
  29285. "description": "是否可推荐 - 0:不可 1;可",
  29286. "type": "integer"
  29287. },
  29288. "createtime": {
  29289. "description": "创建时间",
  29290. "type": "string"
  29291. },
  29292. "creatorid": {
  29293. "description": "创建人",
  29294. "type": "integer"
  29295. },
  29296. "hasauth": {
  29297. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  29298. "type": "integer"
  29299. },
  29300. "isanonymous": {
  29301. "description": "是否匿名下单 - 0:否 1:是",
  29302. "type": "integer"
  29303. },
  29304. "maxinvestornum": {
  29305. "description": "最大用户数(经纪会员下投资者个数)",
  29306. "type": "integer"
  29307. },
  29308. "memberuserid": {
  29309. "description": "所属会员ID",
  29310. "type": "integer"
  29311. },
  29312. "modifierid": {
  29313. "description": "修改人",
  29314. "type": "integer"
  29315. },
  29316. "modifyremark": {
  29317. "description": "变更备注",
  29318. "type": "string"
  29319. },
  29320. "modifystatus": {
  29321. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  29322. "type": "integer"
  29323. },
  29324. "modifytime": {
  29325. "description": "修改时间",
  29326. "type": "string"
  29327. },
  29328. "parenttopuser": {
  29329. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29330. "type": "string"
  29331. },
  29332. "parentuserid": {
  29333. "description": "所属机构ID",
  29334. "type": "integer"
  29335. },
  29336. "reckonaccountid": {
  29337. "description": "默认结算资金账号ID(机构分润使用) 作废",
  29338. "type": "integer"
  29339. },
  29340. "refercount": {
  29341. "description": "推荐总人数",
  29342. "type": "integer"
  29343. },
  29344. "refereeuserid": {
  29345. "description": "推荐人ID",
  29346. "type": "integer"
  29347. },
  29348. "refernum": {
  29349. "description": "推荐码",
  29350. "type": "string"
  29351. },
  29352. "rootuserid": {
  29353. "description": "根用户ID",
  29354. "type": "integer"
  29355. },
  29356. "subaccountlevel": {
  29357. "description": "子账户层数",
  29358. "type": "integer"
  29359. },
  29360. "subarealevelpath": {
  29361. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29362. "type": "string"
  29363. },
  29364. "userid": {
  29365. "description": "用户ID",
  29366. "type": "integer"
  29367. },
  29368. "usertype": {
  29369. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29370. "type": "integer"
  29371. }
  29372. }
  29373. },
  29374. "models.Userfavoritegoods": {
  29375. "type": "object",
  29376. "required": [
  29377. "goodsid"
  29378. ],
  29379. "properties": {
  29380. "goodsid": {
  29381. "description": "商品ID",
  29382. "type": "integer"
  29383. }
  29384. }
  29385. },
  29386. "models.Userinfo": {
  29387. "type": "object",
  29388. "required": [
  29389. "userid"
  29390. ],
  29391. "properties": {
  29392. "address": {
  29393. "description": "地址",
  29394. "type": "string"
  29395. },
  29396. "attachment1": {
  29397. "description": "附件1",
  29398. "type": "string"
  29399. },
  29400. "attachment2": {
  29401. "description": "附件2",
  29402. "type": "string"
  29403. },
  29404. "bankaccount": {
  29405. "description": "银行帐号 (加密存储)",
  29406. "type": "string"
  29407. },
  29408. "bankaccountname": {
  29409. "description": "收款人名称",
  29410. "type": "string"
  29411. },
  29412. "bankcardfrontphotourl": {
  29413. "description": "银行卡正面照地址",
  29414. "type": "string"
  29415. },
  29416. "bankid": {
  29417. "description": "银行编码",
  29418. "type": "string"
  29419. },
  29420. "bankname": {
  29421. "description": "银行名称",
  29422. "type": "string"
  29423. },
  29424. "biznature": {
  29425. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  29426. "type": "integer"
  29427. },
  29428. "bizscope": {
  29429. "description": "企业经营范围(企业)",
  29430. "type": "string"
  29431. },
  29432. "cardbackphotourl": {
  29433. "description": "证件背面图片地址",
  29434. "type": "string"
  29435. },
  29436. "cardfrontphotourl": {
  29437. "description": "证件正面图片地址",
  29438. "type": "string"
  29439. },
  29440. "cardnum": {
  29441. "description": "证件号码(加密存储)",
  29442. "type": "string"
  29443. },
  29444. "cardtypeid": {
  29445. "description": "证件类型ID",
  29446. "type": "integer"
  29447. },
  29448. "cityid": {
  29449. "description": "市",
  29450. "type": "integer"
  29451. },
  29452. "company": {
  29453. "description": "公司(个人)",
  29454. "type": "string"
  29455. },
  29456. "contactname": {
  29457. "description": "联系人",
  29458. "type": "string"
  29459. },
  29460. "countryid": {
  29461. "description": "国家",
  29462. "type": "integer"
  29463. },
  29464. "createtime": {
  29465. "description": "创建时间",
  29466. "type": "string"
  29467. },
  29468. "creatorid": {
  29469. "description": "创建人",
  29470. "type": "integer"
  29471. },
  29472. "customername": {
  29473. "description": "客户名称(企业名称)",
  29474. "type": "string"
  29475. },
  29476. "districtid": {
  29477. "description": "地区",
  29478. "type": "integer"
  29479. },
  29480. "email": {
  29481. "description": "邮件(加密存储)",
  29482. "type": "string"
  29483. },
  29484. "fax": {
  29485. "description": "传真(加密存储)",
  29486. "type": "string"
  29487. },
  29488. "halfbodyphotourl": {
  29489. "description": "半身照地址",
  29490. "type": "string"
  29491. },
  29492. "hasencrypt": {
  29493. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29494. "type": "integer"
  29495. },
  29496. "headurl": {
  29497. "description": "头像地址",
  29498. "type": "string"
  29499. },
  29500. "legalcardbackphotourl": {
  29501. "description": "法人身份证背面照地址",
  29502. "type": "string"
  29503. },
  29504. "legalcardfrontphotourl": {
  29505. "description": "法人身份证正面照地址",
  29506. "type": "string"
  29507. },
  29508. "legalpersonname": {
  29509. "description": "法人姓名(企业)",
  29510. "type": "string"
  29511. },
  29512. "mobile": {
  29513. "description": "手机号码(加密存储)",
  29514. "type": "string"
  29515. },
  29516. "mobile2": {
  29517. "description": "手机号码[明文-尚志]",
  29518. "type": "string"
  29519. },
  29520. "modifierid": {
  29521. "description": "修改人",
  29522. "type": "integer"
  29523. },
  29524. "modifiertime": {
  29525. "description": "修改时间",
  29526. "type": "string"
  29527. },
  29528. "needinvoice": {
  29529. "description": "是否需要发票 - 0:不需要 1:需要",
  29530. "type": "integer"
  29531. },
  29532. "nickname": {
  29533. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  29534. "type": "string"
  29535. },
  29536. "openmode": {
  29537. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  29538. "type": "integer"
  29539. },
  29540. "otherurl": {
  29541. "description": "其它图片地址[使用分号分隔]",
  29542. "type": "string"
  29543. },
  29544. "postalcode": {
  29545. "description": "邮政编码",
  29546. "type": "string"
  29547. },
  29548. "provinceid": {
  29549. "description": "省",
  29550. "type": "integer"
  29551. },
  29552. "qq": {
  29553. "description": "QQ(加密存储",
  29554. "type": "string"
  29555. },
  29556. "remark": {
  29557. "description": "备注",
  29558. "type": "string"
  29559. },
  29560. "sex": {
  29561. "description": "用户性别 0: 女 1: 男",
  29562. "type": "integer"
  29563. },
  29564. "signpdfurl": {
  29565. "description": "签约pdf文件",
  29566. "type": "string"
  29567. },
  29568. "telphone": {
  29569. "description": "联系电话(加密存储)",
  29570. "type": "string"
  29571. },
  29572. "userid": {
  29573. "description": "用户ID",
  29574. "type": "integer"
  29575. },
  29576. "userinfotype": {
  29577. "description": "用户信息类型 - 1:个人 2:企业",
  29578. "type": "integer"
  29579. },
  29580. "userstatus": {
  29581. "description": "用户状态 - 1:正常 2:注销",
  29582. "type": "integer"
  29583. },
  29584. "usertype": {
  29585. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  29586. "type": "integer"
  29587. },
  29588. "wechat": {
  29589. "description": "微信(加密存储)",
  29590. "type": "string"
  29591. },
  29592. "wskhinfo": {
  29593. "description": "开户申请信息(JSON)",
  29594. "type": "string"
  29595. }
  29596. }
  29597. },
  29598. "models.WRSConverTDetail": {
  29599. "type": "object",
  29600. "properties": {
  29601. "convertratio": {
  29602. "description": "套保系数",
  29603. "type": "number"
  29604. },
  29605. "deliverygoodscode": {
  29606. "description": "现货商品代码",
  29607. "type": "string"
  29608. },
  29609. "deliverygoodsid": {
  29610. "description": "现货品种ID",
  29611. "type": "integer"
  29612. },
  29613. "deliverygoodsname": {
  29614. "description": "现货商品名称",
  29615. "type": "string"
  29616. },
  29617. "enumdicname": {
  29618. "description": "单位名称",
  29619. "type": "string"
  29620. },
  29621. "goodsunitid": {
  29622. "description": "套保品种单位id",
  29623. "type": "integer"
  29624. },
  29625. "middlegoodscode": {
  29626. "description": "套保品种代码",
  29627. "type": "string"
  29628. },
  29629. "middlegoodsid": {
  29630. "description": "套保品种ID",
  29631. "type": "integer"
  29632. },
  29633. "middlegoodsname": {
  29634. "description": "套保品种名称",
  29635. "type": "string"
  29636. },
  29637. "modifytime": {
  29638. "description": "修改时间",
  29639. "type": "string"
  29640. },
  29641. "wrstandardid": {
  29642. "description": "品类ID",
  29643. "type": "integer"
  29644. }
  29645. }
  29646. },
  29647. "models.WRStandardInfo": {
  29648. "type": "object",
  29649. "required": [
  29650. "wrstandardid"
  29651. ],
  29652. "properties": {
  29653. "areauserid": {
  29654. "description": "所属机构",
  29655. "type": "integer"
  29656. },
  29657. "convertfactor": {
  29658. "description": "标仓系数",
  29659. "type": "number"
  29660. },
  29661. "createtime": {
  29662. "description": "创建时间",
  29663. "type": "string"
  29664. },
  29665. "creatorid": {
  29666. "description": "创建人",
  29667. "type": "integer"
  29668. },
  29669. "deliverygoodsid": {
  29670. "description": "品种ID",
  29671. "type": "integer"
  29672. },
  29673. "deliverygoodsname": {
  29674. "description": "交割商品名称",
  29675. "type": "string"
  29676. },
  29677. "factoryitemjson": {
  29678. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  29679. "type": "string"
  29680. },
  29681. "isvalid": {
  29682. "description": "是否有效 - 0:无效 1:有效",
  29683. "type": "integer"
  29684. },
  29685. "minivalue": {
  29686. "description": "最小变动值",
  29687. "type": "integer"
  29688. },
  29689. "minivaluedp": {
  29690. "description": "最小变动值小数位",
  29691. "type": "integer"
  29692. },
  29693. "realminivalue": {
  29694. "description": "实际最小变动值",
  29695. "type": "integer"
  29696. },
  29697. "realminivaluedp": {
  29698. "description": "实际最小变动值小数位",
  29699. "type": "integer"
  29700. },
  29701. "remark": {
  29702. "description": "备注",
  29703. "type": "string"
  29704. },
  29705. "unitid": {
  29706. "description": "单位ID",
  29707. "type": "integer"
  29708. },
  29709. "unitname": {
  29710. "description": "单位",
  29711. "type": "string"
  29712. },
  29713. "updatetime": {
  29714. "description": "更新时间",
  29715. "type": "string"
  29716. },
  29717. "updatorid": {
  29718. "description": "更新人",
  29719. "type": "integer"
  29720. },
  29721. "wrsstatus": {
  29722. "description": "状态 - 作废 - 0:未激活 1:正常",
  29723. "type": "integer"
  29724. },
  29725. "wrstandardcode": {
  29726. "description": "现货品类代码",
  29727. "type": "string"
  29728. },
  29729. "wrstandardid": {
  29730. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29731. "type": "integer"
  29732. },
  29733. "wrstandardname": {
  29734. "description": "现货品类名称",
  29735. "type": "string"
  29736. }
  29737. }
  29738. },
  29739. "models.Warehouseinfo": {
  29740. "type": "object",
  29741. "required": [
  29742. "autoid",
  29743. "warehousecode"
  29744. ],
  29745. "properties": {
  29746. "address": {
  29747. "description": "详细地址",
  29748. "type": "string"
  29749. },
  29750. "areauserid": {
  29751. "description": "所属机构",
  29752. "type": "integer"
  29753. },
  29754. "autoid": {
  29755. "description": "自增ID",
  29756. "type": "integer"
  29757. },
  29758. "cityid": {
  29759. "description": "市",
  29760. "type": "integer"
  29761. },
  29762. "contactname": {
  29763. "description": "联系人",
  29764. "type": "string"
  29765. },
  29766. "contactnum": {
  29767. "description": "联系电话",
  29768. "type": "string"
  29769. },
  29770. "countryid": {
  29771. "description": "国家",
  29772. "type": "integer"
  29773. },
  29774. "createtime": {
  29775. "description": "创建时间",
  29776. "type": "string"
  29777. },
  29778. "districtid": {
  29779. "description": "区",
  29780. "type": "integer"
  29781. },
  29782. "hasvideo": {
  29783. "description": "是否有视频 - 0:无 1:有",
  29784. "type": "integer"
  29785. },
  29786. "provinceid": {
  29787. "description": "省",
  29788. "type": "integer"
  29789. },
  29790. "remark": {
  29791. "description": "审核备注",
  29792. "type": "string"
  29793. },
  29794. "videourl": {
  29795. "description": "视频地址",
  29796. "type": "string"
  29797. },
  29798. "warehousecode": {
  29799. "description": "仓库代码",
  29800. "type": "string"
  29801. },
  29802. "warehousename": {
  29803. "description": "仓库名称",
  29804. "type": "string"
  29805. },
  29806. "warehousestatus": {
  29807. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29808. "type": "integer"
  29809. },
  29810. "warehousetype": {
  29811. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29812. "type": "integer"
  29813. }
  29814. }
  29815. },
  29816. "models.WrFAProductDetail": {
  29817. "type": "object",
  29818. "properties": {
  29819. "accountid": {
  29820. "description": "资金账号",
  29821. "type": "integer"
  29822. },
  29823. "areauserid": {
  29824. "description": "金融机构ID",
  29825. "type": "integer"
  29826. },
  29827. "financingdays": {
  29828. "description": "天数(天)",
  29829. "type": "integer"
  29830. },
  29831. "interestminlen": {
  29832. "description": "最小起息天数",
  29833. "type": "integer"
  29834. },
  29835. "interestrate": {
  29836. "description": "利率",
  29837. "type": "number"
  29838. },
  29839. "interestratemode": {
  29840. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  29841. "type": "integer"
  29842. },
  29843. "interestsettlemode": {
  29844. "description": "结息方式 - 1:按日结息 3:按月结息",
  29845. "type": "integer"
  29846. },
  29847. "interestsettlevalue": {
  29848. "description": "结息方式值",
  29849. "type": "integer"
  29850. },
  29851. "isautoloan": {
  29852. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  29853. "type": "integer"
  29854. },
  29855. "loantag": {
  29856. "description": "放款标识: \"放款快\" 或者为空",
  29857. "type": "string"
  29858. },
  29859. "marginratio": {
  29860. "description": "保证金比率质押率 - [仓单质押]",
  29861. "type": "number"
  29862. },
  29863. "productdetailid": {
  29864. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  29865. "type": "integer"
  29866. },
  29867. "productid": {
  29868. "description": "金融产品ID",
  29869. "type": "integer"
  29870. },
  29871. "productname": {
  29872. "description": "产品名称",
  29873. "type": "string"
  29874. },
  29875. "updatetime": {
  29876. "description": "更新时间",
  29877. "type": "string"
  29878. },
  29879. "username": {
  29880. "description": "融出方",
  29881. "type": "string"
  29882. }
  29883. }
  29884. },
  29885. "models.WrFactorTypeInfo": {
  29886. "type": "object",
  29887. "properties": {
  29888. "deliverygoodscode": {
  29889. "description": "品种代码",
  29890. "type": "string"
  29891. },
  29892. "deliverygoodsname": {
  29893. "description": "品种名称",
  29894. "type": "string"
  29895. },
  29896. "dgfactoryitemid": {
  29897. "description": "选择项id",
  29898. "type": "integer"
  29899. },
  29900. "dgfactoryitemtypeid": {
  29901. "description": "要素选择项ID (1-仓库 2-品牌)",
  29902. "type": "integer"
  29903. },
  29904. "dgfactoryitemvalue": {
  29905. "description": "要素项值",
  29906. "type": "string"
  29907. },
  29908. "itemtypename": {
  29909. "description": "要素项名称",
  29910. "type": "string"
  29911. },
  29912. "optioncompare": {
  29913. "description": "选择比较串",
  29914. "type": "string"
  29915. },
  29916. "warehouseid": {
  29917. "description": "仓库id",
  29918. "type": "integer"
  29919. },
  29920. "wrfactortypeid": {
  29921. "description": "仓单要素ID",
  29922. "type": "string"
  29923. },
  29924. "wrfactortypename": {
  29925. "description": "要素名称",
  29926. "type": "string"
  29927. },
  29928. "wrfactortypename2": {
  29929. "description": "要素名称(不含仓库)",
  29930. "type": "string"
  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. }
  29945. },
  29946. "models.WrFilterItem": {
  29947. "type": "object",
  29948. "properties": {
  29949. "itemcode": {
  29950. "description": "代码",
  29951. "type": "string"
  29952. },
  29953. "itemid": {
  29954. "description": "项id",
  29955. "type": "integer"
  29956. },
  29957. "itemname": {
  29958. "description": "名称",
  29959. "type": "string"
  29960. },
  29961. "itemtype": {
  29962. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  29963. "type": "integer"
  29964. }
  29965. }
  29966. },
  29967. "models.WrFinanceBuyApply": {
  29968. "type": "object",
  29969. "properties": {
  29970. "applydate": {
  29971. "description": "申请时间",
  29972. "type": "string"
  29973. },
  29974. "applystatus": {
  29975. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  29976. "type": "integer"
  29977. },
  29978. "applyuserid": {
  29979. "description": "申请人",
  29980. "type": "integer"
  29981. },
  29982. "auditdate": {
  29983. "description": "审核时间",
  29984. "type": "string"
  29985. },
  29986. "auditremark": {
  29987. "description": "审核备注",
  29988. "type": "string"
  29989. },
  29990. "audituserid": {
  29991. "description": "审核人",
  29992. "type": "integer"
  29993. },
  29994. "buyaccountid": {
  29995. "description": "买方资金账号",
  29996. "type": "integer"
  29997. },
  29998. "buyorsell": {
  29999. "description": "买卖 - 0:买 1:卖",
  30000. "type": "integer"
  30001. },
  30002. "buyuserid": {
  30003. "description": "买方用户ID",
  30004. "type": "integer"
  30005. },
  30006. "buyusername": {
  30007. "description": "买方名称",
  30008. "type": "string"
  30009. },
  30010. "buywrtradeorderid": {
  30011. "description": "融资方买委托单ID",
  30012. "type": "string"
  30013. },
  30014. "deliverygoodscode": {
  30015. "description": "品种代码",
  30016. "type": "string"
  30017. },
  30018. "deliverygoodsid": {
  30019. "description": "品种ID",
  30020. "type": "integer"
  30021. },
  30022. "deliverygoodsname": {
  30023. "description": "品种名称",
  30024. "type": "string"
  30025. },
  30026. "deliverymonth": {
  30027. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  30028. "type": "string"
  30029. },
  30030. "enumdicname": {
  30031. "description": "单位名称",
  30032. "type": "string"
  30033. },
  30034. "financeaccountid": {
  30035. "description": "融资方资金帐户ID",
  30036. "type": "integer"
  30037. },
  30038. "financeapplyid": {
  30039. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30040. "type": "string"
  30041. },
  30042. "financeareauserid": {
  30043. "description": "融资方用户ID",
  30044. "type": "string"
  30045. },
  30046. "financename": {
  30047. "description": "融出方名称",
  30048. "type": "string"
  30049. },
  30050. "financetype": {
  30051. "description": "融资类型 1-融资回购",
  30052. "type": "integer"
  30053. },
  30054. "financingdays": {
  30055. "description": "天数(天)",
  30056. "type": "integer"
  30057. },
  30058. "freezebuymargin": {
  30059. "description": "冻结融资保证金(买方)",
  30060. "type": "number"
  30061. },
  30062. "handleremark": {
  30063. "description": "处理备注",
  30064. "type": "string"
  30065. },
  30066. "handlestatus": {
  30067. "description": "处理状态",
  30068. "type": "integer"
  30069. },
  30070. "interestminlen": {
  30071. "description": "最小起息天数",
  30072. "type": "integer"
  30073. },
  30074. "interestrate": {
  30075. "description": "利率",
  30076. "type": "number"
  30077. },
  30078. "interestratemode": {
  30079. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  30080. "type": "integer"
  30081. },
  30082. "interestsettlemode": {
  30083. "description": "结息方式 - 1:按日结息 3:按月结息",
  30084. "type": "integer"
  30085. },
  30086. "interestsettlevalue": {
  30087. "description": "结息方式值",
  30088. "type": "integer"
  30089. },
  30090. "isautoloan": {
  30091. "description": "是否自动放款 - 0:手动 1:自动",
  30092. "type": "integer"
  30093. },
  30094. "marginratio": {
  30095. "description": "保证金比率质押率 - [仓单质押]",
  30096. "type": "number"
  30097. },
  30098. "marketid": {
  30099. "description": "市场ID",
  30100. "type": "integer"
  30101. },
  30102. "minivalue": {
  30103. "description": "现货商品最小变动值",
  30104. "type": "integer"
  30105. },
  30106. "optioncompare": {
  30107. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30108. "type": "string"
  30109. },
  30110. "orderqty": {
  30111. "description": "委托数量(商品数量)",
  30112. "type": "number"
  30113. },
  30114. "productdetailid": {
  30115. "description": "产品组合ID",
  30116. "type": "integer"
  30117. },
  30118. "productid": {
  30119. "description": "金融产品ID",
  30120. "type": "integer"
  30121. },
  30122. "productname": {
  30123. "description": "产品名称",
  30124. "type": "string"
  30125. },
  30126. "remark": {
  30127. "description": "备注",
  30128. "type": "string"
  30129. },
  30130. "scfcontractid": {
  30131. "description": "仓单回购合同ID",
  30132. "type": "string"
  30133. },
  30134. "sellaccountid": {
  30135. "description": "卖方资金账号",
  30136. "type": "integer"
  30137. },
  30138. "selluserid": {
  30139. "description": "卖方用户ID",
  30140. "type": "integer"
  30141. },
  30142. "sellwrtradeorderid": {
  30143. "description": "卖方委托单ID",
  30144. "type": "string"
  30145. },
  30146. "tradeamount": {
  30147. "description": "成交金额(借款金额)",
  30148. "type": "number"
  30149. },
  30150. "tradedate": {
  30151. "description": "交易日(yyyyMMdd)",
  30152. "type": "string"
  30153. },
  30154. "tradeprice": {
  30155. "description": "成交价格",
  30156. "type": "number"
  30157. },
  30158. "warehouseid": {
  30159. "description": "仓库ID",
  30160. "type": "integer"
  30161. },
  30162. "warehousename": {
  30163. "description": "仓库名称",
  30164. "type": "string"
  30165. },
  30166. "wrfactortypeid": {
  30167. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30168. "type": "string"
  30169. },
  30170. "wrfactortypename": {
  30171. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30172. "type": "string"
  30173. },
  30174. "wrpricetype": {
  30175. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  30176. "type": "integer"
  30177. },
  30178. "wrstandardcode": {
  30179. "description": "现货商品代码",
  30180. "type": "string"
  30181. },
  30182. "wrstandardid": {
  30183. "description": "现货商品ID",
  30184. "type": "integer"
  30185. },
  30186. "wrstandardname": {
  30187. "description": "商品名称",
  30188. "type": "string"
  30189. },
  30190. "wrtypename": {
  30191. "description": "商品",
  30192. "type": "string"
  30193. }
  30194. }
  30195. },
  30196. "models.WrFtDeliveryGoods": {
  30197. "type": "object",
  30198. "properties": {
  30199. "deliverygoodscode": {
  30200. "description": "品种代码",
  30201. "type": "string"
  30202. },
  30203. "deliverygoodsid": {
  30204. "description": "品种ID",
  30205. "type": "integer"
  30206. },
  30207. "deliverygoodsname": {
  30208. "description": "品种名称",
  30209. "type": "string"
  30210. },
  30211. "wdlst": {
  30212. "description": "商品列表",
  30213. "type": "array",
  30214. "items": {
  30215. "$ref": "#/definitions/models.WrFtWrstandard"
  30216. }
  30217. }
  30218. }
  30219. },
  30220. "models.WrFtWrstandard": {
  30221. "type": "object",
  30222. "properties": {
  30223. "enumdicname": {
  30224. "description": "单位名称",
  30225. "type": "string"
  30226. },
  30227. "minivalue": {
  30228. "description": "最小变动值",
  30229. "type": "integer"
  30230. },
  30231. "wrstandardcode": {
  30232. "description": "现货商品代码",
  30233. "type": "string"
  30234. },
  30235. "wrstandardid": {
  30236. "description": "现货商品ID",
  30237. "type": "integer"
  30238. },
  30239. "wrstandardname": {
  30240. "description": "商品名称",
  30241. "type": "string"
  30242. }
  30243. }
  30244. },
  30245. "models.WrGoodsInfo": {
  30246. "type": "object",
  30247. "properties": {
  30248. "haswr": {
  30249. "description": "0:仓单预售 1:仓单贸易",
  30250. "type": "integer"
  30251. },
  30252. "lstitem": {
  30253. "description": "商品信息项",
  30254. "type": "array",
  30255. "items": {
  30256. "$ref": "#/definitions/models.WrTypeItem"
  30257. }
  30258. },
  30259. "lststep": {
  30260. "description": "履约规则",
  30261. "type": "array",
  30262. "items": {
  30263. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  30264. }
  30265. },
  30266. "marketid": {
  30267. "description": "市场id",
  30268. "type": "integer"
  30269. }
  30270. }
  30271. },
  30272. "models.WrGoodsPerformanceStep": {
  30273. "type": "object",
  30274. "properties": {
  30275. "autoid": {
  30276. "description": "AutoID",
  30277. "type": "integer"
  30278. },
  30279. "isauto": {
  30280. "description": "是否自动 - 0:不自动 1:自动",
  30281. "type": "integer"
  30282. },
  30283. "remark": {
  30284. "description": "备注",
  30285. "type": "string"
  30286. },
  30287. "stepdate": {
  30288. "description": "天数信息(T+N)",
  30289. "type": "string"
  30290. },
  30291. "stepdays": {
  30292. "description": "距离上一步天数",
  30293. "type": "integer"
  30294. },
  30295. "stepindex": {
  30296. "description": "步骤序号",
  30297. "type": "integer"
  30298. },
  30299. "stepinfo": {
  30300. "description": "步骤信息(步骤名称+步骤值)",
  30301. "type": "string"
  30302. },
  30303. "steptypeid": {
  30304. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  30305. "type": "integer"
  30306. },
  30307. "steptypename": {
  30308. "description": "步骤名称",
  30309. "type": "string"
  30310. },
  30311. "stepvalue": {
  30312. "description": "步骤值",
  30313. "type": "number"
  30314. },
  30315. "templateid": {
  30316. "description": "履约计划模板ID",
  30317. "type": "integer"
  30318. }
  30319. }
  30320. },
  30321. "models.WrHoldLB": {
  30322. "type": "object",
  30323. "properties": {
  30324. "accountid": {
  30325. "description": "持有人帐户ID",
  30326. "type": "integer"
  30327. },
  30328. "createtime": {
  30329. "description": "创建时间(过户时间)",
  30330. "type": "string"
  30331. },
  30332. "deliverygoodscode": {
  30333. "description": "品种代码",
  30334. "type": "string"
  30335. },
  30336. "deliverygoodsid": {
  30337. "description": "品种ID",
  30338. "type": "integer"
  30339. },
  30340. "deliverygoodsname": {
  30341. "description": "品种名称",
  30342. "type": "string"
  30343. },
  30344. "enableqty": {
  30345. "description": "可用数量",
  30346. "type": "number"
  30347. },
  30348. "enumdicname": {
  30349. "description": "单位名称",
  30350. "type": "string"
  30351. },
  30352. "freezerqty": {
  30353. "description": "冻结数量",
  30354. "type": "number"
  30355. },
  30356. "ladingbillid": {
  30357. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  30358. "type": "string"
  30359. },
  30360. "minivalue": {
  30361. "description": "现货商品最小变动值",
  30362. "type": "integer"
  30363. },
  30364. "optioncompare": {
  30365. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30366. "type": "string"
  30367. },
  30368. "parentsubnum": {
  30369. "description": "拆分父子单号",
  30370. "type": "integer"
  30371. },
  30372. "pledgeqty": {
  30373. "description": "质押数量",
  30374. "type": "number"
  30375. },
  30376. "qty": {
  30377. "description": "数量",
  30378. "type": "number"
  30379. },
  30380. "subnum": {
  30381. "description": "提单子单号",
  30382. "type": "integer"
  30383. },
  30384. "tradedate": {
  30385. "description": "交易日(yyyyMMdd)",
  30386. "type": "string"
  30387. },
  30388. "userid": {
  30389. "description": "持有人ID",
  30390. "type": "integer"
  30391. },
  30392. "warehouseid": {
  30393. "description": "仓库ID",
  30394. "type": "integer"
  30395. },
  30396. "warehousename": {
  30397. "description": "仓库名称",
  30398. "type": "string"
  30399. },
  30400. "wrfactortypeid": {
  30401. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30402. "type": "string"
  30403. },
  30404. "wrfactortypename": {
  30405. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30406. "type": "string"
  30407. },
  30408. "wrholdeno": {
  30409. "description": "仓单编号",
  30410. "type": "string"
  30411. },
  30412. "wrid": {
  30413. "description": "仓单变更ID",
  30414. "type": "string"
  30415. },
  30416. "wrstandardcode": {
  30417. "description": "现货商品代码",
  30418. "type": "string"
  30419. },
  30420. "wrstandardid": {
  30421. "description": "现货商品ID",
  30422. "type": "integer"
  30423. },
  30424. "wrstandardname": {
  30425. "description": "商品名称",
  30426. "type": "string"
  30427. },
  30428. "wrtypename": {
  30429. "description": "商品",
  30430. "type": "string"
  30431. }
  30432. }
  30433. },
  30434. "models.WrMarketTradeConfig": {
  30435. "type": "object",
  30436. "properties": {
  30437. "basisdownratio": {
  30438. "description": "浮动价基差下限比例(仓单贸易)",
  30439. "type": "number"
  30440. },
  30441. "basisupratio": {
  30442. "description": "浮动价基差上限比例(仓单贸易)",
  30443. "type": "number"
  30444. },
  30445. "buychargealgorithm": {
  30446. "description": "买方手续费收取方式 1:比率 2:固定",
  30447. "type": "integer"
  30448. },
  30449. "buychargealgorithm2": {
  30450. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  30451. "type": "integer"
  30452. },
  30453. "buychargealgorithmvalue": {
  30454. "description": "买方手续费设置值(交易所部分)",
  30455. "type": "number"
  30456. },
  30457. "buychargealgorithmvalue2": {
  30458. "description": "买方手续费设置值(会员部分)",
  30459. "type": "number"
  30460. },
  30461. "buychargealgorithmvalue3": {
  30462. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  30463. "type": "number"
  30464. },
  30465. "buychargealgorithmvalue4": {
  30466. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  30467. "type": "number"
  30468. },
  30469. "buyfirstmarginalgorithm": {
  30470. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  30471. "type": "integer"
  30472. },
  30473. "buyfirstmarginvalue": {
  30474. "description": "买方出价保证金设置值 - [竞拍]",
  30475. "type": "number"
  30476. },
  30477. "buymarginalgorithm": {
  30478. "description": "买方保证金方式 - 1:比率 2:固定",
  30479. "type": "integer"
  30480. },
  30481. "buymarginvalue": {
  30482. "description": "买方保证金设置值",
  30483. "type": "number"
  30484. },
  30485. "buyreleaseratio": {
  30486. "description": "买方释放比率[2:分步履约]",
  30487. "type": "number"
  30488. },
  30489. "executemode": {
  30490. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  30491. "type": "integer"
  30492. },
  30493. "executeside": {
  30494. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  30495. "type": "integer"
  30496. },
  30497. "failedchargealgorithm": {
  30498. "description": "流拍手续费收取方式 1:比率 2:固定",
  30499. "type": "integer"
  30500. },
  30501. "failedchargevalue": {
  30502. "description": "流拍手续费设置值",
  30503. "type": "number"
  30504. },
  30505. "failedchargevalue2": {
  30506. "description": "流拍卖方手续费设置值",
  30507. "type": "number"
  30508. },
  30509. "holddays": {
  30510. "description": "合同期限[2:分步履约]",
  30511. "type": "integer"
  30512. },
  30513. "marketid": {
  30514. "description": "市场ID-仓单贸易、竞拍、预售",
  30515. "type": "integer"
  30516. },
  30517. "minqty": {
  30518. "description": "最小执行量[2:分步履约]",
  30519. "type": "number"
  30520. },
  30521. "modifierid": {
  30522. "description": "修改人",
  30523. "type": "integer"
  30524. },
  30525. "performancetempid": {
  30526. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  30527. "type": "integer"
  30528. },
  30529. "performancetempid2": {
  30530. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  30531. "type": "integer"
  30532. },
  30533. "performanceway": {
  30534. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  30535. "type": "integer"
  30536. },
  30537. "sellchargealgorithm": {
  30538. "description": "卖方手续费收取方式 1:比率 2:固定",
  30539. "type": "integer"
  30540. },
  30541. "sellchargealgorithm2": {
  30542. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  30543. "type": "integer"
  30544. },
  30545. "sellchargealgorithmvalue": {
  30546. "description": "卖方手续费设置值(交易所部分)",
  30547. "type": "number"
  30548. },
  30549. "sellchargealgorithmvalue2": {
  30550. "description": "卖方手续费设置值(会员部分)",
  30551. "type": "number"
  30552. },
  30553. "sellchargealgorithmvalue3": {
  30554. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  30555. "type": "number"
  30556. },
  30557. "sellchargealgorithmvalue4": {
  30558. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  30559. "type": "number"
  30560. },
  30561. "sellmarginalgorithm": {
  30562. "description": "卖方保证金方式 - 1:比率 2:固定",
  30563. "type": "integer"
  30564. },
  30565. "sellmarginvalue": {
  30566. "description": "卖方保证金设置值",
  30567. "type": "number"
  30568. },
  30569. "sellmarginvalue2": {
  30570. "description": "卖方保证金设置值(无仓单)",
  30571. "type": "number"
  30572. },
  30573. "sellreleaseratio": {
  30574. "description": "卖方释放比率[2:分步履约]",
  30575. "type": "number"
  30576. },
  30577. "updatetime": {
  30578. "description": "更新时间",
  30579. "type": "string"
  30580. }
  30581. }
  30582. },
  30583. "models.WrOrderDetail": {
  30584. "type": "object",
  30585. "properties": {
  30586. "buyorsell": {
  30587. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  30588. "type": "integer"
  30589. },
  30590. "cancelqty": {
  30591. "description": "撤销数量",
  30592. "type": "number"
  30593. },
  30594. "deliverygoodscode": {
  30595. "description": "品种代码",
  30596. "type": "string"
  30597. },
  30598. "deliverygoodsid": {
  30599. "description": "品种ID",
  30600. "type": "integer"
  30601. },
  30602. "deliverygoodsname": {
  30603. "description": "品种名称",
  30604. "type": "string"
  30605. },
  30606. "deliverymonth": {
  30607. "description": "交收月",
  30608. "type": "string"
  30609. },
  30610. "enumdicname": {
  30611. "description": "单位名称",
  30612. "type": "string"
  30613. },
  30614. "fixedprice": {
  30615. "description": "固定价格 - [挂牌]",
  30616. "type": "number"
  30617. },
  30618. "futupricemove": {
  30619. "description": "期货升贴水",
  30620. "type": "number"
  30621. },
  30622. "futushow": {
  30623. "description": "期货合约/升贴水",
  30624. "type": "string"
  30625. },
  30626. "goodscode": {
  30627. "description": "期货合约",
  30628. "type": "string"
  30629. },
  30630. "goodsid": {
  30631. "description": "期货商品id",
  30632. "type": "integer"
  30633. },
  30634. "goodsname": {
  30635. "description": "商品名称",
  30636. "type": "string"
  30637. },
  30638. "haswr": {
  30639. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30640. "type": "integer"
  30641. },
  30642. "marketid": {
  30643. "description": "市场ID",
  30644. "type": "integer"
  30645. },
  30646. "minivalue": {
  30647. "description": "现货商品最小变动值",
  30648. "type": "integer"
  30649. },
  30650. "optioncompare": {
  30651. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30652. "type": "string"
  30653. },
  30654. "orderqty": {
  30655. "description": "委托数量",
  30656. "type": "number"
  30657. },
  30658. "ordertime": {
  30659. "description": "委托时间(挂牌时间)",
  30660. "type": "string"
  30661. },
  30662. "pricemove": {
  30663. "description": "升贴水(浮动价时填写) - [挂牌]",
  30664. "type": "number"
  30665. },
  30666. "tradedate": {
  30667. "description": "交易日(yyyyMMdd)",
  30668. "type": "string"
  30669. },
  30670. "tradeprice": {
  30671. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  30672. "type": "number"
  30673. },
  30674. "tradeqty": {
  30675. "description": "成交数量",
  30676. "type": "number"
  30677. },
  30678. "userid": {
  30679. "description": "用户ID",
  30680. "type": "integer"
  30681. },
  30682. "warehouseid": {
  30683. "description": "仓库ID",
  30684. "type": "integer"
  30685. },
  30686. "warehousename": {
  30687. "description": "仓库名称",
  30688. "type": "string"
  30689. },
  30690. "wrfactortypeid": {
  30691. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30692. "type": "string"
  30693. },
  30694. "wrfactortypename": {
  30695. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30696. "type": "string"
  30697. },
  30698. "wrpricetype": {
  30699. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  30700. "type": "integer"
  30701. },
  30702. "wrstandardcode": {
  30703. "description": "现货商品代码",
  30704. "type": "string"
  30705. },
  30706. "wrstandardid": {
  30707. "description": "现货商品ID",
  30708. "type": "integer"
  30709. },
  30710. "wrstandardname": {
  30711. "description": "商品名称",
  30712. "type": "string"
  30713. },
  30714. "wrtradeorderid": {
  30715. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30716. "type": "string"
  30717. },
  30718. "wrtradeorderstatus": {
  30719. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  30720. "type": "integer"
  30721. },
  30722. "wrtradetype": {
  30723. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  30724. "type": "integer"
  30725. },
  30726. "wrtypename": {
  30727. "description": "商品",
  30728. "type": "string"
  30729. }
  30730. }
  30731. },
  30732. "models.WrOrderQuote": {
  30733. "type": "object",
  30734. "properties": {
  30735. "buyprice": {
  30736. "description": "买价",
  30737. "type": "number"
  30738. },
  30739. "buypricemove": {
  30740. "description": "买升贴水(基差)",
  30741. "type": "number"
  30742. },
  30743. "buyqty": {
  30744. "description": "买量",
  30745. "type": "number"
  30746. },
  30747. "deliverygoodscode": {
  30748. "description": "品种代码",
  30749. "type": "string"
  30750. },
  30751. "deliverygoodsid": {
  30752. "description": "品种id",
  30753. "type": "integer"
  30754. },
  30755. "deliverygoodsname": {
  30756. "description": "品种名称",
  30757. "type": "string"
  30758. },
  30759. "deliverymonth": {
  30760. "description": "交收月",
  30761. "type": "string"
  30762. },
  30763. "enumdicname": {
  30764. "description": "单位名称",
  30765. "type": "string"
  30766. },
  30767. "goodscode": {
  30768. "description": "商品合约(浮动价列表才有)",
  30769. "type": "string"
  30770. },
  30771. "goodsid": {
  30772. "description": "商品id(浮动价列表才有)",
  30773. "type": "integer"
  30774. },
  30775. "minivalue": {
  30776. "description": "现货商品最小变动值",
  30777. "type": "integer"
  30778. },
  30779. "sellprice": {
  30780. "description": "卖价",
  30781. "type": "number"
  30782. },
  30783. "sellpricemove": {
  30784. "description": "卖升贴水(基差)",
  30785. "type": "number"
  30786. },
  30787. "sellqty": {
  30788. "description": "卖量",
  30789. "type": "number"
  30790. },
  30791. "warehousecode": {
  30792. "description": "仓库代码",
  30793. "type": "string"
  30794. },
  30795. "warehouseid": {
  30796. "description": "仓库id",
  30797. "type": "integer"
  30798. },
  30799. "warehousename": {
  30800. "description": "仓库名称",
  30801. "type": "string"
  30802. },
  30803. "wrfactortypeid": {
  30804. "description": "仓单要素id",
  30805. "type": "string"
  30806. },
  30807. "wrfactortypename": {
  30808. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30809. "type": "string"
  30810. },
  30811. "wrgoodsname": {
  30812. "description": "商品(商品名称+仓库要素名称 拼接)",
  30813. "type": "string"
  30814. },
  30815. "wrstandardcode": {
  30816. "description": "商品代码",
  30817. "type": "string"
  30818. },
  30819. "wrstandardid": {
  30820. "description": "商品id",
  30821. "type": "integer"
  30822. },
  30823. "wrstandardname": {
  30824. "description": "商品名称",
  30825. "type": "string"
  30826. }
  30827. }
  30828. },
  30829. "models.WrOrderQuoteDetail": {
  30830. "type": "object",
  30831. "properties": {
  30832. "buyorsell": {
  30833. "description": "买卖 - 0:买 1:卖",
  30834. "type": "integer"
  30835. },
  30836. "delistminqty": {
  30837. "description": "起摘数量",
  30838. "type": "number"
  30839. },
  30840. "deliverymonth": {
  30841. "description": "交收月",
  30842. "type": "string"
  30843. },
  30844. "enumdicname": {
  30845. "description": "单位名称",
  30846. "type": "string"
  30847. },
  30848. "fixedprice": {
  30849. "description": "买(卖)价",
  30850. "type": "number"
  30851. },
  30852. "minivalue": {
  30853. "description": "现货商品最小变动值",
  30854. "type": "integer"
  30855. },
  30856. "orderqty": {
  30857. "description": "买(卖)量(=委托量-成交量)",
  30858. "type": "number"
  30859. },
  30860. "ordertime": {
  30861. "description": "委托时间",
  30862. "type": "string"
  30863. },
  30864. "pricemove": {
  30865. "description": "买(卖)升贴水- 基差",
  30866. "type": "number"
  30867. },
  30868. "userid": {
  30869. "description": "购买方(销售方)用户ID",
  30870. "type": "integer"
  30871. },
  30872. "username": {
  30873. "description": "购买方(销售方)",
  30874. "type": "string"
  30875. },
  30876. "wrtradeorderid": {
  30877. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30878. "type": "string"
  30879. }
  30880. }
  30881. },
  30882. "models.WrPerformancePlan": {
  30883. "type": "object",
  30884. "required": [
  30885. "userid"
  30886. ],
  30887. "properties": {
  30888. "amount": {
  30889. "description": "履约金额(总金额)",
  30890. "type": "number"
  30891. },
  30892. "buyaccountid": {
  30893. "description": "买方账号",
  30894. "type": "integer"
  30895. },
  30896. "buyerfreezeamount": {
  30897. "description": "履约冻结(买履约)",
  30898. "type": "number"
  30899. },
  30900. "buyerfreezeamountremain": {
  30901. "description": "履约冻结剩余(买履约)",
  30902. "type": "number"
  30903. },
  30904. "buyorsell": {
  30905. "description": "买卖方向 0-买 1-卖",
  30906. "type": "integer"
  30907. },
  30908. "buypaidamount": {
  30909. "description": "买方已冻/已扣金额 (已付金额)",
  30910. "type": "number"
  30911. },
  30912. "buyusername": {
  30913. "description": "买方名字",
  30914. "type": "string"
  30915. },
  30916. "contractid": {
  30917. "description": "合同ID",
  30918. "type": "integer"
  30919. },
  30920. "createtime": {
  30921. "description": "创建时间",
  30922. "type": "string"
  30923. },
  30924. "creatorid": {
  30925. "description": "创建人",
  30926. "type": "integer"
  30927. },
  30928. "curstepdeadline": {
  30929. "description": "当前步骤到期时间",
  30930. "type": "string"
  30931. },
  30932. "curstepid": {
  30933. "description": "当前步骤ID",
  30934. "type": "string"
  30935. },
  30936. "curstepname": {
  30937. "description": "当前步骤名称",
  30938. "type": "string"
  30939. },
  30940. "deliverygoodscode": {
  30941. "description": "品种代码",
  30942. "type": "string"
  30943. },
  30944. "deliverygoodsid": {
  30945. "description": "品种ID",
  30946. "type": "integer"
  30947. },
  30948. "deliverygoodsname": {
  30949. "description": "品种名称",
  30950. "type": "string"
  30951. },
  30952. "enumdicname": {
  30953. "description": "单位名称",
  30954. "type": "string"
  30955. },
  30956. "expressfee": {
  30957. "description": "运费",
  30958. "type": "number"
  30959. },
  30960. "expressfeeconfirmed": {
  30961. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  30962. "type": "integer"
  30963. },
  30964. "hasovershort": {
  30965. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  30966. "type": "integer"
  30967. },
  30968. "haswr": {
  30969. "description": "类型 0-仓单预售 1-仓单贸易",
  30970. "type": "integer"
  30971. },
  30972. "marketid": {
  30973. "description": "市场ID",
  30974. "type": "integer"
  30975. },
  30976. "middleaccountid": {
  30977. "description": "中间商资金账号ID",
  30978. "type": "integer"
  30979. },
  30980. "middleuserid": {
  30981. "description": "中间商用户ID",
  30982. "type": "integer"
  30983. },
  30984. "minivalue": {
  30985. "description": "现货商品最小变动值",
  30986. "type": "integer"
  30987. },
  30988. "optioncompare": {
  30989. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30990. "type": "string"
  30991. },
  30992. "overshortamount": {
  30993. "description": "溢短金额",
  30994. "type": "number"
  30995. },
  30996. "overshortqty": {
  30997. "description": "溢短数量",
  30998. "type": "number"
  30999. },
  31000. "paymenttype": {
  31001. "description": "付款方式 - 1:冻结 2:扣款",
  31002. "type": "integer"
  31003. },
  31004. "performanceplanid": {
  31005. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  31006. "type": "string"
  31007. },
  31008. "performancestatus": {
  31009. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  31010. "type": "integer"
  31011. },
  31012. "performancetype": {
  31013. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  31014. "type": "integer"
  31015. },
  31016. "qty": {
  31017. "description": "履约数量",
  31018. "type": "number"
  31019. },
  31020. "relatedorderid": {
  31021. "description": "关联单号(履约类型的关联单号)",
  31022. "type": "string"
  31023. },
  31024. "remark": {
  31025. "description": "备注",
  31026. "type": "string"
  31027. },
  31028. "sellaccountid": {
  31029. "description": "卖方账号",
  31030. "type": "integer"
  31031. },
  31032. "sellerfreezeamount": {
  31033. "description": "履约冻结(卖履约)",
  31034. "type": "number"
  31035. },
  31036. "sellerfreezeamountremain": {
  31037. "description": "履约冻结剩余(卖履约)",
  31038. "type": "number"
  31039. },
  31040. "sellreceivedamount": {
  31041. "description": "卖方已收金额",
  31042. "type": "number"
  31043. },
  31044. "sellusername": {
  31045. "description": "卖方名字",
  31046. "type": "string"
  31047. },
  31048. "shipremark": {
  31049. "description": "发货备注[物流单号]",
  31050. "type": "string"
  31051. },
  31052. "starttime": {
  31053. "description": "开始时间",
  31054. "type": "string"
  31055. },
  31056. "steptypeid": {
  31057. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31058. "type": "integer"
  31059. },
  31060. "unpaidamount": {
  31061. "description": "剩余款(待支付金额)",
  31062. "type": "number"
  31063. },
  31064. "userid": {
  31065. "description": "用户id",
  31066. "type": "integer"
  31067. },
  31068. "warehouseid": {
  31069. "description": "仓库ID",
  31070. "type": "integer"
  31071. },
  31072. "warehousename": {
  31073. "description": "仓库名称",
  31074. "type": "string"
  31075. },
  31076. "wrfactortypeid": {
  31077. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31078. "type": "string"
  31079. },
  31080. "wrfactortypename": {
  31081. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31082. "type": "string"
  31083. },
  31084. "wrstandardcode": {
  31085. "description": "现货商品代码",
  31086. "type": "string"
  31087. },
  31088. "wrstandardid": {
  31089. "description": "现货商品ID",
  31090. "type": "integer"
  31091. },
  31092. "wrstandardname": {
  31093. "description": "商品名称",
  31094. "type": "string"
  31095. },
  31096. "wrtransferuserid": {
  31097. "description": "仓单受让用户",
  31098. "type": "integer"
  31099. },
  31100. "wrtypename": {
  31101. "description": "商品",
  31102. "type": "string"
  31103. }
  31104. }
  31105. },
  31106. "models.WrPerformancePlanStep": {
  31107. "type": "object",
  31108. "properties": {
  31109. "delaydays": {
  31110. "description": "延期申请天数",
  31111. "type": "integer"
  31112. },
  31113. "deliverygoodscode": {
  31114. "description": "品种代码",
  31115. "type": "string"
  31116. },
  31117. "deliverygoodsid": {
  31118. "description": "品种ID",
  31119. "type": "integer"
  31120. },
  31121. "deliverygoodsname": {
  31122. "description": "品种名称",
  31123. "type": "string"
  31124. },
  31125. "endtime": {
  31126. "description": "结束日期",
  31127. "type": "string"
  31128. },
  31129. "enumdicname": {
  31130. "description": "单位名称",
  31131. "type": "string"
  31132. },
  31133. "executeside": {
  31134. "description": "步骤执行方 - 1:买方 2:卖方",
  31135. "type": "integer"
  31136. },
  31137. "handlestatus": {
  31138. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  31139. "type": "integer"
  31140. },
  31141. "isauto": {
  31142. "description": "是否自动 - 0:不自动 1:自动",
  31143. "type": "integer"
  31144. },
  31145. "islastreceivestep": {
  31146. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  31147. "type": "integer"
  31148. },
  31149. "minivalue": {
  31150. "description": "现货商品最小变动值",
  31151. "type": "integer"
  31152. },
  31153. "optioncompare": {
  31154. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31155. "type": "string"
  31156. },
  31157. "overdays": {
  31158. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  31159. "type": "integer"
  31160. },
  31161. "performancestepid": {
  31162. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  31163. "type": "string"
  31164. },
  31165. "planid": {
  31166. "description": "所属履约计划ID",
  31167. "type": "string"
  31168. },
  31169. "realamount": {
  31170. "description": "实际完成金额",
  31171. "type": "number"
  31172. },
  31173. "relatedorderid": {
  31174. "description": "关联单号",
  31175. "type": "string"
  31176. },
  31177. "remaindays": {
  31178. "description": "剩余天数",
  31179. "type": "integer"
  31180. },
  31181. "remark": {
  31182. "description": "错误备注",
  31183. "type": "string"
  31184. },
  31185. "starttime": {
  31186. "description": "开始日期",
  31187. "type": "string"
  31188. },
  31189. "stepamount": {
  31190. "description": "步骤金额",
  31191. "type": "number"
  31192. },
  31193. "stepdays": {
  31194. "description": "距离上一步天数(分钟)",
  31195. "type": "integer"
  31196. },
  31197. "stepindex": {
  31198. "description": "步骤序号",
  31199. "type": "integer"
  31200. },
  31201. "steplanchtype": {
  31202. "description": "步骤启动类型 - 1:系统自动 2:手动",
  31203. "type": "integer"
  31204. },
  31205. "stepremark": {
  31206. "description": "步骤备注",
  31207. "type": "string"
  31208. },
  31209. "stepstatus": {
  31210. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  31211. "type": "integer"
  31212. },
  31213. "steptypeid": {
  31214. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31215. "type": "integer"
  31216. },
  31217. "steptypename": {
  31218. "description": "步骤名称",
  31219. "type": "string"
  31220. },
  31221. "stepvalue": {
  31222. "description": "步骤值",
  31223. "type": "number"
  31224. },
  31225. "warehouseid": {
  31226. "description": "仓库ID",
  31227. "type": "integer"
  31228. },
  31229. "warehousename": {
  31230. "description": "仓库名称",
  31231. "type": "string"
  31232. },
  31233. "wrfactortypeid": {
  31234. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31235. "type": "string"
  31236. },
  31237. "wrfactortypename": {
  31238. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31239. "type": "string"
  31240. },
  31241. "wrstandardcode": {
  31242. "description": "现货商品代码",
  31243. "type": "string"
  31244. },
  31245. "wrstandardid": {
  31246. "description": "现货商品ID",
  31247. "type": "integer"
  31248. },
  31249. "wrstandardname": {
  31250. "description": "商品名称",
  31251. "type": "string"
  31252. },
  31253. "wrtypename": {
  31254. "description": "商品",
  31255. "type": "string"
  31256. }
  31257. }
  31258. },
  31259. "models.WrPosition": {
  31260. "type": "object",
  31261. "properties": {
  31262. "accountid": {
  31263. "description": "帐户ID",
  31264. "type": "integer"
  31265. },
  31266. "buyexcuteqty": {
  31267. "description": "采购履约中数量",
  31268. "type": "number"
  31269. },
  31270. "creditcurqty": {
  31271. "description": "授信当前数量(预售仓单:预售当前量)",
  31272. "type": "number"
  31273. },
  31274. "creditenableqty": {
  31275. "description": "授信可用数量(预售仓单: 可用数量)",
  31276. "type": "number"
  31277. },
  31278. "creditfreezeqty": {
  31279. "description": "授信冻结数量(预售仓单: 当前数量)",
  31280. "type": "number"
  31281. },
  31282. "credittotalqty": {
  31283. "description": "授信总数量(预售仓单:预售总量)",
  31284. "type": "number"
  31285. },
  31286. "credittradeqty": {
  31287. "description": "授信成交数量(预售仓单:成交总量)",
  31288. "type": "number"
  31289. },
  31290. "deliverygoodscode": {
  31291. "description": "品种代码",
  31292. "type": "string"
  31293. },
  31294. "deliverygoodsid": {
  31295. "description": "品种ID",
  31296. "type": "integer"
  31297. },
  31298. "deliverygoodsname": {
  31299. "description": "品种名称",
  31300. "type": "string"
  31301. },
  31302. "enalbeqty": {
  31303. "description": "可用数量",
  31304. "type": "number"
  31305. },
  31306. "enumdicname": {
  31307. "description": "单位名称",
  31308. "type": "string"
  31309. },
  31310. "freezeqty": {
  31311. "description": "总冻结数量",
  31312. "type": "number"
  31313. },
  31314. "haswr": {
  31315. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31316. "type": "integer"
  31317. },
  31318. "minivalue": {
  31319. "description": "现货商品最小变动值",
  31320. "type": "integer"
  31321. },
  31322. "modifytime": {
  31323. "description": "修改时间(过户时间)",
  31324. "type": "string"
  31325. },
  31326. "optioncompare": {
  31327. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31328. "type": "string"
  31329. },
  31330. "pledgeqty": {
  31331. "description": "质押数量",
  31332. "type": "number"
  31333. },
  31334. "querytype": {
  31335. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  31336. "type": "integer"
  31337. },
  31338. "sellexcuteqty": {
  31339. "description": "销售履约中数量",
  31340. "type": "number"
  31341. },
  31342. "totalqty": {
  31343. "description": "总数量(库存数量)",
  31344. "type": "number"
  31345. },
  31346. "warehouseid": {
  31347. "description": "仓库ID",
  31348. "type": "integer"
  31349. },
  31350. "warehousename": {
  31351. "description": "仓库名称",
  31352. "type": "string"
  31353. },
  31354. "wrfactortypeid": {
  31355. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31356. "type": "string"
  31357. },
  31358. "wrfactortypename": {
  31359. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31360. "type": "string"
  31361. },
  31362. "wrpositionid": {
  31363. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  31364. "type": "string"
  31365. },
  31366. "wrpositionno": {
  31367. "description": "仓单编号",
  31368. "type": "string"
  31369. },
  31370. "wrstandardcode": {
  31371. "description": "现货商品代码",
  31372. "type": "string"
  31373. },
  31374. "wrstandardid": {
  31375. "description": "现货商品ID",
  31376. "type": "integer"
  31377. },
  31378. "wrstandardname": {
  31379. "description": "商品名称",
  31380. "type": "string"
  31381. },
  31382. "wrtypename": {
  31383. "description": "商品",
  31384. "type": "string"
  31385. },
  31386. "wruserid": {
  31387. "description": "持有人ID",
  31388. "type": "integer"
  31389. }
  31390. }
  31391. },
  31392. "models.WrScfContract": {
  31393. "type": "object",
  31394. "properties": {
  31395. "borroweruserid": {
  31396. "description": "借款用户ID",
  31397. "type": "integer"
  31398. },
  31399. "buybackwrpositionqty": {
  31400. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  31401. "type": "number"
  31402. },
  31403. "closeinterest": {
  31404. "description": "已结利息 -\u003e 已结费用",
  31405. "type": "number"
  31406. },
  31407. "currisklevel": {
  31408. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  31409. "type": "integer"
  31410. },
  31411. "deadline": {
  31412. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  31413. "type": "string"
  31414. },
  31415. "deliverygoodscode": {
  31416. "description": "品种代码",
  31417. "type": "string"
  31418. },
  31419. "deliverygoodsid": {
  31420. "description": "品种ID",
  31421. "type": "integer"
  31422. },
  31423. "deliverygoodsname": {
  31424. "description": "品种名称",
  31425. "type": "string"
  31426. },
  31427. "enumdicname": {
  31428. "description": "单位名称",
  31429. "type": "string"
  31430. },
  31431. "financingdays": {
  31432. "description": "天数(天)",
  31433. "type": "integer"
  31434. },
  31435. "initmargin": {
  31436. "description": "保证金 - [仓单回购]",
  31437. "type": "number"
  31438. },
  31439. "interestamount": {
  31440. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  31441. "type": "number"
  31442. },
  31443. "interestdebt": {
  31444. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  31445. "type": "number"
  31446. },
  31447. "interestminlen": {
  31448. "description": "最小起息天数",
  31449. "type": "integer"
  31450. },
  31451. "interestrate": {
  31452. "description": "利率",
  31453. "type": "number"
  31454. },
  31455. "interestratemode": {
  31456. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  31457. "type": "integer"
  31458. },
  31459. "interestsettlemode": {
  31460. "description": "结息方式 - 1:按日结息 3:按月结息",
  31461. "type": "integer"
  31462. },
  31463. "interestsettlevalue": {
  31464. "description": "结息方式值",
  31465. "type": "integer"
  31466. },
  31467. "isautoloan": {
  31468. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  31469. "type": "integer"
  31470. },
  31471. "lastcloseinterestday": {
  31472. "description": "最近结息日(yyyyMMdd)",
  31473. "type": "string"
  31474. },
  31475. "lenderamount": {
  31476. "description": "贷款金额 -\u003e 借款金额",
  31477. "type": "number"
  31478. },
  31479. "lenderuserid": {
  31480. "description": "贷款方用户ID -\u003e 融出方用户ID",
  31481. "type": "integer"
  31482. },
  31483. "lenderusername": {
  31484. "description": "融出方",
  31485. "type": "string"
  31486. },
  31487. "marginratio": {
  31488. "description": "保证金比率质押率 - [仓单质押]",
  31489. "type": "number"
  31490. },
  31491. "marketid": {
  31492. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  31493. "type": "integer"
  31494. },
  31495. "minivalue": {
  31496. "description": "现货商品最小变动值",
  31497. "type": "integer"
  31498. },
  31499. "optioncompare": {
  31500. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31501. "type": "string"
  31502. },
  31503. "pricemove": {
  31504. "description": "估值升贴水值",
  31505. "type": "number"
  31506. },
  31507. "productdetailid": {
  31508. "description": "产品组合ID",
  31509. "type": "integer"
  31510. },
  31511. "productid": {
  31512. "description": "金融产品ID",
  31513. "type": "integer"
  31514. },
  31515. "productname": {
  31516. "description": "产品名称",
  31517. "type": "string"
  31518. },
  31519. "remainamount": {
  31520. "description": "合同剩余金额 -\u003e 剩余金额",
  31521. "type": "number"
  31522. },
  31523. "remainwrpositionqty": {
  31524. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量",
  31525. "type": "number"
  31526. },
  31527. "remark": {
  31528. "description": "备注",
  31529. "type": "string"
  31530. },
  31531. "scfcontractid": {
  31532. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  31533. "type": "string"
  31534. },
  31535. "scfcontractstatus": {
  31536. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  31537. "type": "integer"
  31538. },
  31539. "scfcontracttype": {
  31540. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  31541. "type": "integer"
  31542. },
  31543. "startinterestday": {
  31544. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  31545. "type": "string"
  31546. },
  31547. "totalinterest": {
  31548. "description": "已计利息 -\u003e 已计费用",
  31549. "type": "number"
  31550. },
  31551. "unpaidinterest": {
  31552. "description": "未结费用",
  31553. "type": "number"
  31554. },
  31555. "updatetime": {
  31556. "description": "更新时间",
  31557. "type": "string"
  31558. },
  31559. "warehouseid": {
  31560. "description": "仓库ID",
  31561. "type": "integer"
  31562. },
  31563. "warehousename": {
  31564. "description": "仓库名称",
  31565. "type": "string"
  31566. },
  31567. "wrfactortypeid": {
  31568. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31569. "type": "string"
  31570. },
  31571. "wrfactortypename": {
  31572. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31573. "type": "string"
  31574. },
  31575. "wrqty": {
  31576. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  31577. "type": "number"
  31578. },
  31579. "wrstandardcode": {
  31580. "description": "现货商品代码",
  31581. "type": "string"
  31582. },
  31583. "wrstandardid": {
  31584. "description": "现货商品ID",
  31585. "type": "integer"
  31586. },
  31587. "wrstandardname": {
  31588. "description": "商品名称",
  31589. "type": "string"
  31590. },
  31591. "wrtypename": {
  31592. "description": "商品",
  31593. "type": "string"
  31594. }
  31595. }
  31596. },
  31597. "models.WrSpecialMatchOrder": {
  31598. "type": "object",
  31599. "properties": {
  31600. "amount": {
  31601. "description": "金额 = 数量 * 价格",
  31602. "type": "number"
  31603. },
  31604. "buyorsell": {
  31605. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  31606. "type": "integer"
  31607. },
  31608. "cancelqty": {
  31609. "description": "撤销数量",
  31610. "type": "number"
  31611. },
  31612. "deliverygoodscode": {
  31613. "description": "品种代码",
  31614. "type": "string"
  31615. },
  31616. "deliverygoodsid": {
  31617. "description": "品种ID",
  31618. "type": "integer"
  31619. },
  31620. "deliverygoodsname": {
  31621. "description": "品种名称",
  31622. "type": "string"
  31623. },
  31624. "enumdicname": {
  31625. "description": "单位名称",
  31626. "type": "string"
  31627. },
  31628. "fixedprice": {
  31629. "description": "固定价格(价格)",
  31630. "type": "number"
  31631. },
  31632. "haswr": {
  31633. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31634. "type": "integer"
  31635. },
  31636. "marketid": {
  31637. "description": "市场ID",
  31638. "type": "integer"
  31639. },
  31640. "matchuserid": {
  31641. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  31642. "type": "integer"
  31643. },
  31644. "matchusername": {
  31645. "description": "指定方",
  31646. "type": "string"
  31647. },
  31648. "minivalue": {
  31649. "description": "现货商品最小变动值",
  31650. "type": "integer"
  31651. },
  31652. "optioncompare": {
  31653. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31654. "type": "string"
  31655. },
  31656. "orderqty": {
  31657. "description": "委托数量",
  31658. "type": "number"
  31659. },
  31660. "ordertime": {
  31661. "description": "委托时间",
  31662. "type": "string"
  31663. },
  31664. "pricemove": {
  31665. "description": "升贴水(浮动价时填写) - [挂牌]",
  31666. "type": "number"
  31667. },
  31668. "tradedate": {
  31669. "description": "交易日(yyyyMMdd)",
  31670. "type": "string"
  31671. },
  31672. "tradeprice": {
  31673. "description": "成交价格",
  31674. "type": "number"
  31675. },
  31676. "tradeqty": {
  31677. "description": "成交数量",
  31678. "type": "number"
  31679. },
  31680. "userid": {
  31681. "description": "用户ID",
  31682. "type": "integer"
  31683. },
  31684. "username": {
  31685. "description": "发起方",
  31686. "type": "string"
  31687. },
  31688. "warehouseid": {
  31689. "description": "仓库ID",
  31690. "type": "integer"
  31691. },
  31692. "warehousename": {
  31693. "description": "仓库名称",
  31694. "type": "string"
  31695. },
  31696. "wrfactortypeid": {
  31697. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31698. "type": "string"
  31699. },
  31700. "wrfactortypename": {
  31701. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31702. "type": "string"
  31703. },
  31704. "wrpricetype": {
  31705. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  31706. "type": "integer"
  31707. },
  31708. "wrstandardcode": {
  31709. "description": "现货商品代码",
  31710. "type": "string"
  31711. },
  31712. "wrstandardid": {
  31713. "description": "现货商品ID",
  31714. "type": "integer"
  31715. },
  31716. "wrstandardname": {
  31717. "description": "商品名称",
  31718. "type": "string"
  31719. },
  31720. "wrtradeorderid": {
  31721. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31722. "type": "string"
  31723. },
  31724. "wrtradeorderstatus": {
  31725. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  31726. "type": "integer"
  31727. },
  31728. "wrtradetype": {
  31729. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31730. "type": "integer"
  31731. },
  31732. "wrtypename": {
  31733. "description": "商品",
  31734. "type": "string"
  31735. }
  31736. }
  31737. },
  31738. "models.WrStandardFactoryItem": {
  31739. "type": "object",
  31740. "properties": {
  31741. "dgfactoryitemid": {
  31742. "description": "选择项id",
  31743. "type": "integer"
  31744. },
  31745. "dgfactoryitemvalue": {
  31746. "description": "要素项值",
  31747. "type": "string"
  31748. }
  31749. }
  31750. },
  31751. "models.WrStandardFactoryItemEx": {
  31752. "type": "object",
  31753. "properties": {
  31754. "dgfactoryitemtypeid": {
  31755. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  31756. "type": "integer"
  31757. },
  31758. "itemlst": {
  31759. "description": "要素项列表",
  31760. "type": "array",
  31761. "items": {
  31762. "$ref": "#/definitions/models.WrStandardFactoryItem"
  31763. }
  31764. },
  31765. "itemtypename": {
  31766. "description": "要素项类型名称",
  31767. "type": "string"
  31768. },
  31769. "wrstandardid": {
  31770. "description": "品类",
  31771. "type": "integer"
  31772. }
  31773. }
  31774. },
  31775. "models.WrTradeDetail": {
  31776. "type": "object",
  31777. "properties": {
  31778. "accountid": {
  31779. "description": "资金账号",
  31780. "type": "integer"
  31781. },
  31782. "buyorsell": {
  31783. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  31784. "type": "integer"
  31785. },
  31786. "deliverygoodscode": {
  31787. "description": "品种代码",
  31788. "type": "string"
  31789. },
  31790. "deliverygoodsid": {
  31791. "description": "品种ID",
  31792. "type": "integer"
  31793. },
  31794. "deliverygoodsname": {
  31795. "description": "品种名称",
  31796. "type": "string"
  31797. },
  31798. "deliverymonth": {
  31799. "description": "交收月",
  31800. "type": "string"
  31801. },
  31802. "enumdicname": {
  31803. "description": "单位名称",
  31804. "type": "string"
  31805. },
  31806. "haswr": {
  31807. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31808. "type": "integer"
  31809. },
  31810. "marketid": {
  31811. "description": "市场ID",
  31812. "type": "integer"
  31813. },
  31814. "matchaccountid": {
  31815. "description": "对手账号",
  31816. "type": "integer"
  31817. },
  31818. "matchusername": {
  31819. "description": "对手方",
  31820. "type": "string"
  31821. },
  31822. "minivalue": {
  31823. "description": "现货商品最小变动值",
  31824. "type": "integer"
  31825. },
  31826. "optioncompare": {
  31827. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31828. "type": "string"
  31829. },
  31830. "tradedate": {
  31831. "description": "交易日(yyyyMMdd)",
  31832. "type": "string"
  31833. },
  31834. "tradeprice": {
  31835. "description": "成交价格",
  31836. "type": "number"
  31837. },
  31838. "tradeqty": {
  31839. "description": "成交数量",
  31840. "type": "number"
  31841. },
  31842. "tradetime": {
  31843. "description": "成交时间",
  31844. "type": "string"
  31845. },
  31846. "userid": {
  31847. "description": "用户ID",
  31848. "type": "integer"
  31849. },
  31850. "warehouseid": {
  31851. "description": "仓库ID",
  31852. "type": "integer"
  31853. },
  31854. "warehousename": {
  31855. "description": "仓库名称",
  31856. "type": "string"
  31857. },
  31858. "wrfactortypeid": {
  31859. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31860. "type": "string"
  31861. },
  31862. "wrfactortypename": {
  31863. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31864. "type": "string"
  31865. },
  31866. "wrstandardcode": {
  31867. "description": "现货商品代码",
  31868. "type": "string"
  31869. },
  31870. "wrstandardid": {
  31871. "description": "现货商品ID",
  31872. "type": "integer"
  31873. },
  31874. "wrstandardname": {
  31875. "description": "商品名称",
  31876. "type": "string"
  31877. },
  31878. "wrtradedetailid": {
  31879. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  31880. "type": "string"
  31881. },
  31882. "wrtradetype": {
  31883. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31884. "type": "integer"
  31885. },
  31886. "wrtypename": {
  31887. "description": "商品",
  31888. "type": "string"
  31889. }
  31890. }
  31891. },
  31892. "models.WrTypeItem": {
  31893. "type": "object",
  31894. "properties": {
  31895. "name": {
  31896. "description": "名称",
  31897. "type": "string"
  31898. },
  31899. "value": {
  31900. "description": "值",
  31901. "type": "string"
  31902. }
  31903. }
  31904. },
  31905. "order.QueryHisTradeDetailRsp": {
  31906. "type": "object",
  31907. "required": [
  31908. "accountid",
  31909. "buyorsell",
  31910. "goodsid",
  31911. "histradedate",
  31912. "marketid",
  31913. "memberuserid",
  31914. "orderid",
  31915. "tradeamount",
  31916. "tradedate",
  31917. "tradeid",
  31918. "tradeprice",
  31919. "tradeqty",
  31920. "tradetime"
  31921. ],
  31922. "properties": {
  31923. "accountid": {
  31924. "description": "账户ID[报价币种]",
  31925. "type": "integer"
  31926. },
  31927. "advanceratio": {
  31928. "description": "首付比率",
  31929. "type": "number"
  31930. },
  31931. "buildtype": {
  31932. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  31933. "type": "integer"
  31934. },
  31935. "buyorsell": {
  31936. "description": "方向 - 0:买 1:卖",
  31937. "type": "integer"
  31938. },
  31939. "charge": {
  31940. "description": "手续费",
  31941. "type": "number"
  31942. },
  31943. "closecharge": {
  31944. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31945. "type": "number"
  31946. },
  31947. "closeexchagechargevalue": {
  31948. "description": "平仓交易所手续费设置值",
  31949. "type": "number"
  31950. },
  31951. "closefeealgorithm": {
  31952. "description": "平仓手续费收取方式 1:比率 2:固定",
  31953. "type": "integer"
  31954. },
  31955. "closememberchargevalue": {
  31956. "description": "平仓会员手续费设置值",
  31957. "type": "number"
  31958. },
  31959. "closepl": {
  31960. "description": "平仓盈亏",
  31961. "type": "number"
  31962. },
  31963. "closepl2": {
  31964. "description": "平仓盈亏[逐笔]",
  31965. "type": "number"
  31966. },
  31967. "closeqty": {
  31968. "description": "平仓数量(先建后平操作 需要记录)",
  31969. "type": "number"
  31970. },
  31971. "creditamount": {
  31972. "description": "授信金额",
  31973. "type": "number"
  31974. },
  31975. "decimalplace": {
  31976. "description": "商品报价小数位",
  31977. "type": "integer"
  31978. },
  31979. "enumdicname": {
  31980. "description": "单位名称",
  31981. "type": "string"
  31982. },
  31983. "gcaccountid": {
  31984. "description": "账户ID[合约币种]",
  31985. "type": "integer"
  31986. },
  31987. "goodscode": {
  31988. "description": "商品代码",
  31989. "type": "string"
  31990. },
  31991. "goodsid": {
  31992. "description": "商品ID",
  31993. "type": "integer"
  31994. },
  31995. "goodsname": {
  31996. "description": "商品名称",
  31997. "type": "string"
  31998. },
  31999. "goodunitid": {
  32000. "description": "商品单位id",
  32001. "type": "integer"
  32002. },
  32003. "histradedate": {
  32004. "description": "历史交易日",
  32005. "type": "string"
  32006. },
  32007. "intclosepl": {
  32008. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  32009. "type": "integer"
  32010. },
  32011. "isconfirmexercise": {
  32012. "description": "是否确认行权- 0:否 1:是",
  32013. "type": "integer"
  32014. },
  32015. "ismain": {
  32016. "description": "是否主单 - 0:不是 1:是",
  32017. "type": "integer"
  32018. },
  32019. "ispreexercise": {
  32020. "description": "是否预申报- 0:否 1:是",
  32021. "type": "integer"
  32022. },
  32023. "isreckoned": {
  32024. "description": "是否结算 - 0:未结算 1:已结算",
  32025. "type": "integer"
  32026. },
  32027. "isvaliddata": {
  32028. "description": "是否有效 - 0:无效 1:有效",
  32029. "type": "integer"
  32030. },
  32031. "listingselecttype": {
  32032. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  32033. "type": "integer"
  32034. },
  32035. "marketid": {
  32036. "description": "市场ID",
  32037. "type": "integer"
  32038. },
  32039. "marketname": {
  32040. "description": "市场名称",
  32041. "type": "string"
  32042. },
  32043. "matchaccountid": {
  32044. "description": "对手账号id",
  32045. "type": "integer"
  32046. },
  32047. "memberuserid": {
  32048. "description": "会员id 个人投资者 需要填写",
  32049. "type": "integer"
  32050. },
  32051. "opencharge": {
  32052. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  32053. "type": "number"
  32054. },
  32055. "openexchagechargevalue": {
  32056. "description": "建仓交易所手续费设置值",
  32057. "type": "number"
  32058. },
  32059. "openfeealgorithm": {
  32060. "description": "建仓手续费收取方式 1:比率 2:固定",
  32061. "type": "integer"
  32062. },
  32063. "openmemberchargevalue": {
  32064. "description": "建仓会员手续费设置值",
  32065. "type": "number"
  32066. },
  32067. "openqty": {
  32068. "description": "开仓数量(先建后平操作 需要记录)",
  32069. "type": "number"
  32070. },
  32071. "optiontype": {
  32072. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32073. "type": "integer"
  32074. },
  32075. "orderid": {
  32076. "description": "委托单号",
  32077. "type": "string"
  32078. },
  32079. "payamount": {
  32080. "description": "支付金额(付款金额)",
  32081. "type": "number"
  32082. },
  32083. "performanceplanid": {
  32084. "description": "履约计划ID[期权]",
  32085. "type": "integer"
  32086. },
  32087. "performancestatus": {
  32088. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  32089. "type": "integer"
  32090. },
  32091. "preexerciseprice": {
  32092. "description": "预申报价格",
  32093. "type": "number"
  32094. },
  32095. "premium": {
  32096. "description": "权利金 - [持仓单的权利金]",
  32097. "type": "number"
  32098. },
  32099. "qtydecimalplace": {
  32100. "description": "商品报价小数位",
  32101. "type": "integer"
  32102. },
  32103. "recvamount": {
  32104. "description": "到账金额 = 成交金额 - 手续费",
  32105. "type": "number"
  32106. },
  32107. "relatedouttradeid": {
  32108. "description": "关联外部成交单ID",
  32109. "type": "integer"
  32110. },
  32111. "status": {
  32112. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  32113. "type": "integer"
  32114. },
  32115. "totalamount": {
  32116. "description": "订单总额 = 成交金额 + 手续费",
  32117. "type": "number"
  32118. },
  32119. "tradeamount": {
  32120. "description": "成交金额[账户币种,用于所有权]",
  32121. "type": "number"
  32122. },
  32123. "tradedate": {
  32124. "description": "交易日(yyyyMMdd)",
  32125. "type": "string"
  32126. },
  32127. "tradeid": {
  32128. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32129. "type": "string"
  32130. },
  32131. "trademode": {
  32132. "description": "交易模式",
  32133. "type": "integer"
  32134. },
  32135. "tradeprice": {
  32136. "description": "成交价格",
  32137. "type": "number"
  32138. },
  32139. "tradeproperty": {
  32140. "description": "交易属性",
  32141. "type": "integer"
  32142. },
  32143. "tradeqty": {
  32144. "description": "成交数量",
  32145. "type": "number"
  32146. },
  32147. "tradetime": {
  32148. "description": "成交时间",
  32149. "type": "string"
  32150. },
  32151. "tradetype": {
  32152. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  32153. "type": "integer"
  32154. }
  32155. }
  32156. },
  32157. "order.QueryHisTradeOrderDetailRsp": {
  32158. "type": "object",
  32159. "required": [
  32160. "accountid",
  32161. "buildtype",
  32162. "buyorsell",
  32163. "goodsid",
  32164. "histradedate",
  32165. "marketid",
  32166. "memberuserid",
  32167. "operatetype",
  32168. "orderid",
  32169. "orderqty",
  32170. "ordertime",
  32171. "pricemode",
  32172. "tradedate",
  32173. "validtype"
  32174. ],
  32175. "properties": {
  32176. "accountid": {
  32177. "description": "账户ID[报价币种]",
  32178. "type": "integer"
  32179. },
  32180. "buildtype": {
  32181. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  32182. "type": "integer"
  32183. },
  32184. "buyorsell": {
  32185. "description": "买卖 - 0:买 1:卖",
  32186. "type": "integer"
  32187. },
  32188. "cancelorderid": {
  32189. "description": "撤单单号(撤单时填写)",
  32190. "type": "string"
  32191. },
  32192. "cancelqty": {
  32193. "description": "撤单数量",
  32194. "type": "number"
  32195. },
  32196. "clientordertime": {
  32197. "description": "客户端委托时间",
  32198. "type": "string"
  32199. },
  32200. "clientticket": {
  32201. "description": "客户端流水号",
  32202. "type": "string"
  32203. },
  32204. "clienttype": {
  32205. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  32206. "type": "integer"
  32207. },
  32208. "closeexchagechargevalue": {
  32209. "description": "平仓交易所手续费设置值",
  32210. "type": "number"
  32211. },
  32212. "closefeealgorithm": {
  32213. "description": "平仓手续费收取方式 1:比率 2:固定",
  32214. "type": "integer"
  32215. },
  32216. "closefreezecharge": {
  32217. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  32218. "type": "number"
  32219. },
  32220. "closememberchargevalue": {
  32221. "description": "平仓会员手续费设置值",
  32222. "type": "number"
  32223. },
  32224. "closeqty": {
  32225. "description": "平仓数量(先建后平操作 需要记录)",
  32226. "type": "number"
  32227. },
  32228. "closetradeqty": {
  32229. "description": "平仓成交数量(先建后平操作,需要记录)",
  32230. "type": "number"
  32231. },
  32232. "closeunfreezecharge": {
  32233. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  32234. "type": "number"
  32235. },
  32236. "decimalplace": {
  32237. "description": "商品报价小数位",
  32238. "type": "integer"
  32239. },
  32240. "delistingtype": {
  32241. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  32242. "type": "integer"
  32243. },
  32244. "enumdicname": {
  32245. "description": "单位名称",
  32246. "type": "string"
  32247. },
  32248. "freezecharge": {
  32249. "description": "冻结手续费",
  32250. "type": "number"
  32251. },
  32252. "freezemargin": {
  32253. "description": "冻结保证金(冻结交易金额)",
  32254. "type": "number"
  32255. },
  32256. "gcaccountid": {
  32257. "description": "账户ID[合约币种]",
  32258. "type": "integer"
  32259. },
  32260. "goodscode": {
  32261. "description": "商品代码",
  32262. "type": "string"
  32263. },
  32264. "goodsid": {
  32265. "description": "商品ID",
  32266. "type": "integer"
  32267. },
  32268. "goodsname": {
  32269. "description": "商品名称",
  32270. "type": "string"
  32271. },
  32272. "goodunitid": {
  32273. "description": "商品单位id",
  32274. "type": "integer"
  32275. },
  32276. "histradedate": {
  32277. "description": "历史交易日",
  32278. "type": "string"
  32279. },
  32280. "isconfirmexercise": {
  32281. "description": "是否确认行权- 0:否 1:是",
  32282. "type": "integer"
  32283. },
  32284. "ispreexercise": {
  32285. "description": "是否预申报- 0:否 1:是",
  32286. "type": "integer"
  32287. },
  32288. "isvaliddata": {
  32289. "description": "是否有效 - 0:无效 1:有效",
  32290. "type": "integer"
  32291. },
  32292. "listingselecttype": {
  32293. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  32294. "type": "integer"
  32295. },
  32296. "marginalgorithm": {
  32297. "description": "保证金收取方式 1:比率 2:固定",
  32298. "type": "integer"
  32299. },
  32300. "marginvalue": {
  32301. "description": "即市保证金设置值",
  32302. "type": "number"
  32303. },
  32304. "marketid": {
  32305. "description": "市场ID",
  32306. "type": "integer"
  32307. },
  32308. "marketmaxsub": {
  32309. "description": "市价最大偏移范围",
  32310. "type": "number"
  32311. },
  32312. "marketname": {
  32313. "description": "市场名称",
  32314. "type": "string"
  32315. },
  32316. "memberuserid": {
  32317. "description": "所属会员UserID",
  32318. "type": "integer"
  32319. },
  32320. "openexchagechargevalue": {
  32321. "description": "建仓交易所手续费设置值",
  32322. "type": "number"
  32323. },
  32324. "openfeealgorithm": {
  32325. "description": "建仓手续费收取方式 1:比率 2:固定",
  32326. "type": "integer"
  32327. },
  32328. "openfreezecharge": {
  32329. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  32330. "type": "number"
  32331. },
  32332. "openmemberchargevalue": {
  32333. "description": "建仓会员手续费设置值",
  32334. "type": "number"
  32335. },
  32336. "openqty": {
  32337. "description": "开仓数量(先建后平操作,需要记录)",
  32338. "type": "number"
  32339. },
  32340. "opentradeqty": {
  32341. "description": "开仓成交数量(先建后平操作,需要记录)",
  32342. "type": "number"
  32343. },
  32344. "openunfreezecharge": {
  32345. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  32346. "type": "number"
  32347. },
  32348. "operatetype": {
  32349. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  32350. "type": "integer"
  32351. },
  32352. "operatorid": {
  32353. "description": "登录账号(LoginID)",
  32354. "type": "integer"
  32355. },
  32356. "optiontype": {
  32357. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32358. "type": "integer"
  32359. },
  32360. "orderid": {
  32361. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32362. "type": "string"
  32363. },
  32364. "orderprice": {
  32365. "description": "委托价格",
  32366. "type": "number"
  32367. },
  32368. "orderqty": {
  32369. "description": "委托数量",
  32370. "type": "number"
  32371. },
  32372. "ordersrc": {
  32373. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  32374. "type": "integer"
  32375. },
  32376. "orderstatus": {
  32377. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  32378. "type": "integer"
  32379. },
  32380. "ordertime": {
  32381. "description": "委托时间",
  32382. "type": "string"
  32383. },
  32384. "preexerciseprice": {
  32385. "description": "预申报价格",
  32386. "type": "number"
  32387. },
  32388. "premium": {
  32389. "description": "权利金",
  32390. "type": "number"
  32391. },
  32392. "preorderid": {
  32393. "description": "关联预埋单号(止盈止损单时填写)",
  32394. "type": "string"
  32395. },
  32396. "pricemode": {
  32397. "description": "取价方式 - 1:市价 2: 限价",
  32398. "type": "integer"
  32399. },
  32400. "qtydecimalplace": {
  32401. "description": "成交量小数位",
  32402. "type": "integer"
  32403. },
  32404. "quoteid": {
  32405. "description": "报价单ID",
  32406. "type": "integer"
  32407. },
  32408. "relatedid": {
  32409. "description": "关联单号(交割单)",
  32410. "type": "string"
  32411. },
  32412. "retcode": {
  32413. "description": "错误代码",
  32414. "type": "integer"
  32415. },
  32416. "sessionid": {
  32417. "description": "会话ID",
  32418. "type": "integer"
  32419. },
  32420. "tradedate": {
  32421. "description": "交易日(yyyyMMdd)",
  32422. "type": "string"
  32423. },
  32424. "trademode": {
  32425. "description": "交易模式",
  32426. "type": "integer"
  32427. },
  32428. "tradeproperty": {
  32429. "description": "交易属性",
  32430. "type": "integer"
  32431. },
  32432. "tradeqty": {
  32433. "description": "成交数量",
  32434. "type": "number"
  32435. },
  32436. "unfreezecharge": {
  32437. "description": "解冻手续费",
  32438. "type": "number"
  32439. },
  32440. "unfreezemargin": {
  32441. "description": "解冻保证金",
  32442. "type": "number"
  32443. },
  32444. "updatetime": {
  32445. "description": "更新时间",
  32446. "type": "string"
  32447. },
  32448. "uuid": {
  32449. "description": "发起端唯一id",
  32450. "type": "string"
  32451. },
  32452. "validtime": {
  32453. "description": "有效期限",
  32454. "type": "string"
  32455. },
  32456. "validtype": {
  32457. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  32458. "type": "integer"
  32459. },
  32460. "volumetype": {
  32461. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  32462. "type": "integer"
  32463. }
  32464. }
  32465. },
  32466. "order.QueryTradeDetailRsp": {
  32467. "type": "object",
  32468. "required": [
  32469. "accountid",
  32470. "buyorsell",
  32471. "goodsid",
  32472. "marketid",
  32473. "memberuserid",
  32474. "orderid",
  32475. "tradeamount",
  32476. "tradedate",
  32477. "tradeid",
  32478. "tradeprice",
  32479. "tradeqty",
  32480. "tradetime"
  32481. ],
  32482. "properties": {
  32483. "accountid": {
  32484. "description": "账户ID[报价币种]",
  32485. "type": "integer"
  32486. },
  32487. "advanceratio": {
  32488. "description": "首付比率",
  32489. "type": "number"
  32490. },
  32491. "buildtype": {
  32492. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  32493. "type": "integer"
  32494. },
  32495. "buyorsell": {
  32496. "description": "方向 - 0:买 1:卖",
  32497. "type": "integer"
  32498. },
  32499. "charge": {
  32500. "description": "手续费",
  32501. "type": "number"
  32502. },
  32503. "closecharge": {
  32504. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  32505. "type": "number"
  32506. },
  32507. "closeexchagechargevalue": {
  32508. "description": "平仓交易所手续费设置值",
  32509. "type": "number"
  32510. },
  32511. "closefeealgorithm": {
  32512. "description": "平仓手续费收取方式 1:比率 2:固定",
  32513. "type": "integer"
  32514. },
  32515. "closememberchargevalue": {
  32516. "description": "平仓会员手续费设置值",
  32517. "type": "number"
  32518. },
  32519. "closepl": {
  32520. "description": "平仓盈亏",
  32521. "type": "number"
  32522. },
  32523. "closepl2": {
  32524. "description": "平仓盈亏[逐笔]",
  32525. "type": "number"
  32526. },
  32527. "closeqty": {
  32528. "description": "平仓数量(先建后平操作 需要记录)",
  32529. "type": "number"
  32530. },
  32531. "creditamount": {
  32532. "description": "授信金额",
  32533. "type": "number"
  32534. },
  32535. "decimalplace": {
  32536. "description": "商品报价小数位",
  32537. "type": "integer"
  32538. },
  32539. "enumdicname": {
  32540. "description": "单位名称",
  32541. "type": "string"
  32542. },
  32543. "gcaccountid": {
  32544. "description": "账户ID[合约币种]",
  32545. "type": "integer"
  32546. },
  32547. "goodscode": {
  32548. "description": "商品代码",
  32549. "type": "string"
  32550. },
  32551. "goodsid": {
  32552. "description": "商品ID",
  32553. "type": "integer"
  32554. },
  32555. "goodsname": {
  32556. "description": "商品名称",
  32557. "type": "string"
  32558. },
  32559. "goodunitid": {
  32560. "description": "商品单位id",
  32561. "type": "integer"
  32562. },
  32563. "intclosepl": {
  32564. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  32565. "type": "integer"
  32566. },
  32567. "isconfirmexercise": {
  32568. "description": "是否确认行权- 0:否 1:是",
  32569. "type": "integer"
  32570. },
  32571. "ismain": {
  32572. "description": "是否主单 - 0:不是 1:是",
  32573. "type": "integer"
  32574. },
  32575. "ispreexercise": {
  32576. "description": "是否预申报- 0:否 1:是",
  32577. "type": "integer"
  32578. },
  32579. "isreckoned": {
  32580. "description": "是否结算 - 0:未结算 1:已结算",
  32581. "type": "integer"
  32582. },
  32583. "listingselecttype": {
  32584. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  32585. "type": "integer"
  32586. },
  32587. "marketid": {
  32588. "description": "市场ID",
  32589. "type": "integer"
  32590. },
  32591. "marketname": {
  32592. "description": "市场名称",
  32593. "type": "string"
  32594. },
  32595. "matchaccountid": {
  32596. "description": "对手账号id",
  32597. "type": "integer"
  32598. },
  32599. "memberuserid": {
  32600. "description": "会员id 个人投资者 需要填写",
  32601. "type": "integer"
  32602. },
  32603. "opencharge": {
  32604. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  32605. "type": "number"
  32606. },
  32607. "openexchagechargevalue": {
  32608. "description": "建仓交易所手续费设置值",
  32609. "type": "number"
  32610. },
  32611. "openfeealgorithm": {
  32612. "description": "建仓手续费收取方式 1:比率 2:固定",
  32613. "type": "integer"
  32614. },
  32615. "openmemberchargevalue": {
  32616. "description": "建仓会员手续费设置值",
  32617. "type": "number"
  32618. },
  32619. "openqty": {
  32620. "description": "开仓数量(先建后平操作 需要记录)",
  32621. "type": "number"
  32622. },
  32623. "optiontype": {
  32624. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32625. "type": "integer"
  32626. },
  32627. "orderid": {
  32628. "description": "委托单号",
  32629. "type": "string"
  32630. },
  32631. "payamount": {
  32632. "description": "支付金额(付款金额)",
  32633. "type": "number"
  32634. },
  32635. "performanceplanid": {
  32636. "description": "履约计划ID[期权]",
  32637. "type": "integer"
  32638. },
  32639. "performancestatus": {
  32640. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  32641. "type": "integer"
  32642. },
  32643. "preexerciseprice": {
  32644. "description": "预申报价格",
  32645. "type": "number"
  32646. },
  32647. "premium": {
  32648. "description": "权利金 - [持仓单的权利金]",
  32649. "type": "number"
  32650. },
  32651. "qtydecimalplace": {
  32652. "description": "商品报价小数位",
  32653. "type": "integer"
  32654. },
  32655. "recvamount": {
  32656. "description": "到账金额 = 成交金额 - 手续费",
  32657. "type": "number"
  32658. },
  32659. "relatedouttradeid": {
  32660. "description": "关联外部成交单ID",
  32661. "type": "integer"
  32662. },
  32663. "status": {
  32664. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  32665. "type": "integer"
  32666. },
  32667. "totalamount": {
  32668. "description": "订单总额 = 成交金额 + 手续费",
  32669. "type": "number"
  32670. },
  32671. "tradeamount": {
  32672. "description": "成交金额[账户币种,用于所有权]",
  32673. "type": "number"
  32674. },
  32675. "tradedate": {
  32676. "description": "交易日(yyyyMMdd)",
  32677. "type": "string"
  32678. },
  32679. "tradeid": {
  32680. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32681. "type": "string"
  32682. },
  32683. "trademode": {
  32684. "description": "交易模式",
  32685. "type": "integer"
  32686. },
  32687. "tradeprice": {
  32688. "description": "成交价格",
  32689. "type": "number"
  32690. },
  32691. "tradeproperty": {
  32692. "description": "交易属性",
  32693. "type": "integer"
  32694. },
  32695. "tradeqty": {
  32696. "description": "成交数量",
  32697. "type": "number"
  32698. },
  32699. "tradetime": {
  32700. "description": "成交时间",
  32701. "type": "string"
  32702. },
  32703. "tradetype": {
  32704. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  32705. "type": "integer"
  32706. }
  32707. }
  32708. },
  32709. "order.QueryTradeOrderDetailRsp": {
  32710. "type": "object",
  32711. "required": [
  32712. "accountid",
  32713. "buildtype",
  32714. "buyorsell",
  32715. "goodsid",
  32716. "marketid",
  32717. "operatetype",
  32718. "orderqty",
  32719. "ordertime",
  32720. "pricemode",
  32721. "tradedate",
  32722. "validtype"
  32723. ],
  32724. "properties": {
  32725. "accountid": {
  32726. "description": "账户ID[报价币种]",
  32727. "type": "integer"
  32728. },
  32729. "buildtype": {
  32730. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  32731. "type": "integer"
  32732. },
  32733. "buyorsell": {
  32734. "description": "买卖 - 0:买 1:卖",
  32735. "type": "integer"
  32736. },
  32737. "cancelorderid": {
  32738. "description": "撤单单号(撤单时填写)",
  32739. "type": "string"
  32740. },
  32741. "cancelqty": {
  32742. "description": "撤单数量",
  32743. "type": "number"
  32744. },
  32745. "clienttype": {
  32746. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  32747. "type": "integer"
  32748. },
  32749. "closefreezecharge": {
  32750. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  32751. "type": "number"
  32752. },
  32753. "closeqty": {
  32754. "description": "平仓数量(先建后平操作 需要记录)",
  32755. "type": "number"
  32756. },
  32757. "closetradeqty": {
  32758. "description": "平仓成交数量(先建后平操作,需要记录)",
  32759. "type": "number"
  32760. },
  32761. "closeunfreezecharge": {
  32762. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  32763. "type": "number"
  32764. },
  32765. "decimalplace": {
  32766. "description": "商品报价小数位",
  32767. "type": "integer"
  32768. },
  32769. "delistingtype": {
  32770. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  32771. "type": "integer"
  32772. },
  32773. "enableqty": {
  32774. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  32775. "type": "number"
  32776. },
  32777. "enumdicname": {
  32778. "description": "单位名称",
  32779. "type": "string"
  32780. },
  32781. "freezecharge": {
  32782. "description": "冻结手续费",
  32783. "type": "number"
  32784. },
  32785. "freezemargin": {
  32786. "description": "冻结保证金(冻结交易金额)",
  32787. "type": "number"
  32788. },
  32789. "goodscode": {
  32790. "description": "商品代码",
  32791. "type": "string"
  32792. },
  32793. "goodsid": {
  32794. "description": "商品ID",
  32795. "type": "integer"
  32796. },
  32797. "goodsname": {
  32798. "description": "商品名称",
  32799. "type": "string"
  32800. },
  32801. "goodunitid": {
  32802. "description": "商品单位id",
  32803. "type": "integer"
  32804. },
  32805. "listingselecttype": {
  32806. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  32807. "type": "integer"
  32808. },
  32809. "marketid": {
  32810. "description": "市场ID",
  32811. "type": "integer"
  32812. },
  32813. "marketname": {
  32814. "description": "市场名称",
  32815. "type": "string"
  32816. },
  32817. "openfreezecharge": {
  32818. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  32819. "type": "number"
  32820. },
  32821. "openqty": {
  32822. "description": "开仓数量(先建后平操作,需要记录)",
  32823. "type": "number"
  32824. },
  32825. "opentradeqty": {
  32826. "description": "开仓成交数量(先建后平操作,需要记录)",
  32827. "type": "number"
  32828. },
  32829. "openunfreezecharge": {
  32830. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  32831. "type": "number"
  32832. },
  32833. "operatetype": {
  32834. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  32835. "type": "integer"
  32836. },
  32837. "operatorid": {
  32838. "description": "登录账号(LoginID)",
  32839. "type": "integer"
  32840. },
  32841. "orderid": {
  32842. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32843. "type": "string"
  32844. },
  32845. "orderprice": {
  32846. "description": "委托价格",
  32847. "type": "number"
  32848. },
  32849. "orderqty": {
  32850. "description": "委托数量",
  32851. "type": "number"
  32852. },
  32853. "ordersrc": {
  32854. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  32855. "type": "integer"
  32856. },
  32857. "orderstatus": {
  32858. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  32859. "type": "integer"
  32860. },
  32861. "ordertime": {
  32862. "description": "委托时间",
  32863. "type": "string"
  32864. },
  32865. "preorderid": {
  32866. "description": "关联预埋单号(止盈止损单时填写)",
  32867. "type": "string"
  32868. },
  32869. "pricemode": {
  32870. "description": "取价方式 - 1:市价 2: 限价",
  32871. "type": "integer"
  32872. },
  32873. "qtydecimalplace": {
  32874. "description": "商品报价小数位",
  32875. "type": "integer"
  32876. },
  32877. "relatedid": {
  32878. "description": "关联单号(交割单)",
  32879. "type": "string"
  32880. },
  32881. "tradedate": {
  32882. "description": "交易日(yyyyMMdd)",
  32883. "type": "string"
  32884. },
  32885. "trademode": {
  32886. "description": "交易模式",
  32887. "type": "integer"
  32888. },
  32889. "tradeqty": {
  32890. "description": "成交数量",
  32891. "type": "number"
  32892. },
  32893. "unfreezecharge": {
  32894. "description": "解冻手续费",
  32895. "type": "number"
  32896. },
  32897. "unfreezemargin": {
  32898. "description": "解冻保证金",
  32899. "type": "number"
  32900. },
  32901. "validtime": {
  32902. "description": "有效期限",
  32903. "type": "string"
  32904. },
  32905. "validtype": {
  32906. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  32907. "type": "integer"
  32908. },
  32909. "volumetype": {
  32910. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  32911. "type": "integer"
  32912. }
  32913. }
  32914. },
  32915. "order.QueryTradePositionRsp": {
  32916. "type": "object",
  32917. "required": [
  32918. "goodsid"
  32919. ],
  32920. "properties": {
  32921. "accountid": {
  32922. "description": "资金账户",
  32923. "type": "integer"
  32924. },
  32925. "agreeunit": {
  32926. "description": "合约单位",
  32927. "type": "number"
  32928. },
  32929. "averageprice": {
  32930. "description": "持仓均价",
  32931. "type": "number"
  32932. },
  32933. "buyorsell": {
  32934. "description": "方向 - 0:买 1:卖",
  32935. "type": "integer"
  32936. },
  32937. "closetotalqty": {
  32938. "description": "平仓总数量",
  32939. "type": "number"
  32940. },
  32941. "curholderamount": {
  32942. "description": "当前持仓总金额[商品币种]",
  32943. "type": "number"
  32944. },
  32945. "curpositionqty": {
  32946. "description": "当前持仓总数量",
  32947. "type": "number"
  32948. },
  32949. "currencyid": {
  32950. "description": "报价货币ID",
  32951. "type": "integer"
  32952. },
  32953. "curtdposition": {
  32954. "description": "期末今日头寸",
  32955. "type": "number"
  32956. },
  32957. "decimalplace": {
  32958. "description": "报价小数位",
  32959. "type": "integer"
  32960. },
  32961. "enableqty": {
  32962. "description": "可用量",
  32963. "type": "number"
  32964. },
  32965. "fretdposition": {
  32966. "description": "冻结今日头寸",
  32967. "type": "number"
  32968. },
  32969. "frozenqty": {
  32970. "description": "持仓冻结数量",
  32971. "type": "number"
  32972. },
  32973. "goodscode": {
  32974. "description": "商品代码",
  32975. "type": "string"
  32976. },
  32977. "goodsid": {
  32978. "description": "商品Id",
  32979. "type": "integer"
  32980. },
  32981. "goodsname": {
  32982. "description": "商品名称",
  32983. "type": "string"
  32984. },
  32985. "goodunit": {
  32986. "description": "报价单位",
  32987. "type": "string"
  32988. },
  32989. "goodunitid": {
  32990. "description": "报价单位ID",
  32991. "type": "integer"
  32992. },
  32993. "holderamount": {
  32994. "description": "期初持仓总金额[商品币种]",
  32995. "type": "number"
  32996. },
  32997. "lastprice": {
  32998. "description": "最新价",
  32999. "type": "number"
  33000. },
  33001. "marketamount": {
  33002. "description": "市值",
  33003. "type": "number"
  33004. },
  33005. "marketid": {
  33006. "description": "所属市场ID",
  33007. "type": "integer"
  33008. },
  33009. "openreqqty": {
  33010. "description": "开仓申请数量(用于比较最大持仓数量)",
  33011. "type": "number"
  33012. },
  33013. "opentotalqty": {
  33014. "description": "开仓总数量",
  33015. "type": "number"
  33016. },
  33017. "otherfrozenqty": {
  33018. "description": "持仓其他冻结数量(交割冻结)",
  33019. "type": "number"
  33020. },
  33021. "positionpl": {
  33022. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  33023. "type": "number"
  33024. },
  33025. "positionplrate": {
  33026. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  33027. "type": "number"
  33028. },
  33029. "positionqty": {
  33030. "description": "期初持仓数量",
  33031. "type": "number"
  33032. },
  33033. "qtydecimalplace": {
  33034. "description": "成交量小数位",
  33035. "type": "integer"
  33036. },
  33037. "tnqty": {
  33038. "description": "T+N冻结总量",
  33039. "type": "number"
  33040. },
  33041. "tnusedqty": {
  33042. "description": "T+N使用量(可以使用T+N的冻结数量)",
  33043. "type": "number"
  33044. },
  33045. "trademode": {
  33046. "description": "交易模式",
  33047. "type": "integer"
  33048. },
  33049. "usedmargin": {
  33050. "description": "占用保证金[商品币种]",
  33051. "type": "number"
  33052. }
  33053. }
  33054. },
  33055. "quote.HistoryData": {
  33056. "type": "object",
  33057. "properties": {
  33058. "c": {
  33059. "description": "收盘价",
  33060. "type": "number"
  33061. },
  33062. "f": {
  33063. "description": "是否补充数据",
  33064. "type": "boolean"
  33065. },
  33066. "h": {
  33067. "description": "最高价",
  33068. "type": "number"
  33069. },
  33070. "hv": {
  33071. "description": "持仓量",
  33072. "type": "integer"
  33073. },
  33074. "l": {
  33075. "description": "最低价",
  33076. "type": "number"
  33077. },
  33078. "o": {
  33079. "description": "开盘价",
  33080. "type": "number"
  33081. },
  33082. "s": {
  33083. "description": "结算价,日线周期(包括)以上才有",
  33084. "type": "number"
  33085. },
  33086. "ts": {
  33087. "description": "时间",
  33088. "type": "string"
  33089. },
  33090. "tt": {
  33091. "description": "总金额",
  33092. "type": "number"
  33093. },
  33094. "tv": {
  33095. "description": "总量",
  33096. "type": "integer"
  33097. }
  33098. }
  33099. },
  33100. "quote.HistoryTikData": {
  33101. "type": "object",
  33102. "properties": {
  33103. "AV": {
  33104. "description": "卖量",
  33105. "type": "integer"
  33106. },
  33107. "Ask": {
  33108. "description": "卖价",
  33109. "type": "number"
  33110. },
  33111. "BV": {
  33112. "description": "买量",
  33113. "type": "integer"
  33114. },
  33115. "Bid": {
  33116. "description": "买价",
  33117. "type": "number"
  33118. },
  33119. "HI": {
  33120. "description": "单笔持仓",
  33121. "type": "integer"
  33122. },
  33123. "HV": {
  33124. "description": "持仓量",
  33125. "type": "integer"
  33126. },
  33127. "PE": {
  33128. "description": "现价",
  33129. "type": "number"
  33130. },
  33131. "TDR": {
  33132. "description": "交易方向,0:买 1:卖",
  33133. "type": "integer"
  33134. },
  33135. "TK": {
  33136. "description": "交易类型",
  33137. "type": "integer"
  33138. },
  33139. "TS": {
  33140. "description": "行情时间文本",
  33141. "type": "string"
  33142. },
  33143. "TT": {
  33144. "description": "现金额",
  33145. "type": "number"
  33146. },
  33147. "Vol": {
  33148. "description": "现量",
  33149. "type": "integer"
  33150. }
  33151. }
  33152. },
  33153. "quote.QueryQuoteDayRsp": {
  33154. "type": "object",
  33155. "properties": {
  33156. "ask": {
  33157. "description": "卖1",
  33158. "type": "number"
  33159. },
  33160. "ask10": {
  33161. "description": "卖10",
  33162. "type": "number"
  33163. },
  33164. "ask2": {
  33165. "description": "卖2",
  33166. "type": "number"
  33167. },
  33168. "ask3": {
  33169. "description": "卖3",
  33170. "type": "number"
  33171. },
  33172. "ask4": {
  33173. "description": "卖4",
  33174. "type": "number"
  33175. },
  33176. "ask5": {
  33177. "description": "卖5",
  33178. "type": "number"
  33179. },
  33180. "ask6": {
  33181. "description": "卖6",
  33182. "type": "number"
  33183. },
  33184. "ask7": {
  33185. "description": "卖7",
  33186. "type": "number"
  33187. },
  33188. "ask8": {
  33189. "description": "卖8",
  33190. "type": "number"
  33191. },
  33192. "ask9": {
  33193. "description": "卖9",
  33194. "type": "number"
  33195. },
  33196. "askorderid": {
  33197. "description": "卖单号1",
  33198. "type": "integer"
  33199. },
  33200. "askorderid2": {
  33201. "description": "卖单号2",
  33202. "type": "integer"
  33203. },
  33204. "askorderid3": {
  33205. "description": "卖单号3",
  33206. "type": "integer"
  33207. },
  33208. "askorderid4": {
  33209. "description": "卖单号4",
  33210. "type": "integer"
  33211. },
  33212. "askorderid5": {
  33213. "description": "卖单号5",
  33214. "type": "integer"
  33215. },
  33216. "askordervolume": {
  33217. "description": "卖单量1",
  33218. "type": "integer"
  33219. },
  33220. "askordervolume10": {
  33221. "description": "卖单量10",
  33222. "type": "integer"
  33223. },
  33224. "askordervolume2": {
  33225. "description": "卖单量2",
  33226. "type": "integer"
  33227. },
  33228. "askordervolume3": {
  33229. "description": "卖单量3",
  33230. "type": "integer"
  33231. },
  33232. "askordervolume4": {
  33233. "description": "卖单量4",
  33234. "type": "integer"
  33235. },
  33236. "askordervolume5": {
  33237. "description": "卖单量5",
  33238. "type": "integer"
  33239. },
  33240. "askordervolume6": {
  33241. "description": "卖单量6",
  33242. "type": "integer"
  33243. },
  33244. "askordervolume7": {
  33245. "description": "卖单量7",
  33246. "type": "integer"
  33247. },
  33248. "askordervolume8": {
  33249. "description": "卖单量8",
  33250. "type": "integer"
  33251. },
  33252. "askordervolume9": {
  33253. "description": "卖单量9",
  33254. "type": "integer"
  33255. },
  33256. "askqueueinfo": {
  33257. "description": "大利市卖港股用",
  33258. "type": "string"
  33259. },
  33260. "askvolume": {
  33261. "description": "卖量1",
  33262. "type": "integer"
  33263. },
  33264. "askvolume10": {
  33265. "description": "卖量10",
  33266. "type": "integer"
  33267. },
  33268. "askvolume2": {
  33269. "description": "卖量2",
  33270. "type": "integer"
  33271. },
  33272. "askvolume3": {
  33273. "description": "卖量3",
  33274. "type": "integer"
  33275. },
  33276. "askvolume4": {
  33277. "description": "卖量4",
  33278. "type": "integer"
  33279. },
  33280. "askvolume5": {
  33281. "description": "卖量5",
  33282. "type": "integer"
  33283. },
  33284. "askvolume6": {
  33285. "description": "卖量6",
  33286. "type": "integer"
  33287. },
  33288. "askvolume7": {
  33289. "description": "卖量7",
  33290. "type": "integer"
  33291. },
  33292. "askvolume8": {
  33293. "description": "卖量8",
  33294. "type": "integer"
  33295. },
  33296. "askvolume9": {
  33297. "description": "卖量9",
  33298. "type": "integer"
  33299. },
  33300. "averageprice": {
  33301. "description": "均价",
  33302. "type": "number"
  33303. },
  33304. "bid": {
  33305. "description": "买1",
  33306. "type": "number"
  33307. },
  33308. "bid10": {
  33309. "description": "买10",
  33310. "type": "number"
  33311. },
  33312. "bid2": {
  33313. "description": "买2",
  33314. "type": "number"
  33315. },
  33316. "bid3": {
  33317. "description": "买3",
  33318. "type": "number"
  33319. },
  33320. "bid4": {
  33321. "description": "买4",
  33322. "type": "number"
  33323. },
  33324. "bid5": {
  33325. "description": "买5",
  33326. "type": "number"
  33327. },
  33328. "bid6": {
  33329. "description": "买6",
  33330. "type": "number"
  33331. },
  33332. "bid7": {
  33333. "description": "买7",
  33334. "type": "number"
  33335. },
  33336. "bid8": {
  33337. "description": "买8",
  33338. "type": "number"
  33339. },
  33340. "bid9": {
  33341. "description": "买9",
  33342. "type": "number"
  33343. },
  33344. "bidorderid": {
  33345. "description": "买单号1",
  33346. "type": "integer"
  33347. },
  33348. "bidorderid2": {
  33349. "description": "买单号2",
  33350. "type": "integer"
  33351. },
  33352. "bidorderid3": {
  33353. "description": "买单号3",
  33354. "type": "integer"
  33355. },
  33356. "bidorderid4": {
  33357. "description": "买单号4",
  33358. "type": "integer"
  33359. },
  33360. "bidorderid5": {
  33361. "description": "买单号5",
  33362. "type": "integer"
  33363. },
  33364. "bidordervolume": {
  33365. "description": "买单量1",
  33366. "type": "integer"
  33367. },
  33368. "bidordervolume10": {
  33369. "description": "买单量10",
  33370. "type": "integer"
  33371. },
  33372. "bidordervolume2": {
  33373. "description": "买单量2",
  33374. "type": "integer"
  33375. },
  33376. "bidordervolume3": {
  33377. "description": "买单量3",
  33378. "type": "integer"
  33379. },
  33380. "bidordervolume4": {
  33381. "description": "买单量4",
  33382. "type": "integer"
  33383. },
  33384. "bidordervolume5": {
  33385. "description": "买单量5",
  33386. "type": "integer"
  33387. },
  33388. "bidordervolume6": {
  33389. "description": "买单量6",
  33390. "type": "integer"
  33391. },
  33392. "bidordervolume7": {
  33393. "description": "买单量7",
  33394. "type": "integer"
  33395. },
  33396. "bidordervolume8": {
  33397. "description": "买单量8",
  33398. "type": "integer"
  33399. },
  33400. "bidordervolume9": {
  33401. "description": "买单量9",
  33402. "type": "integer"
  33403. },
  33404. "bidqueueinfo": {
  33405. "description": "大利市买港股用",
  33406. "type": "string"
  33407. },
  33408. "bidvolume": {
  33409. "description": "买量1",
  33410. "type": "integer"
  33411. },
  33412. "bidvolume10": {
  33413. "description": "买量10",
  33414. "type": "integer"
  33415. },
  33416. "bidvolume2": {
  33417. "description": "买量2",
  33418. "type": "integer"
  33419. },
  33420. "bidvolume3": {
  33421. "description": "买量3",
  33422. "type": "integer"
  33423. },
  33424. "bidvolume4": {
  33425. "description": "买量4",
  33426. "type": "integer"
  33427. },
  33428. "bidvolume5": {
  33429. "description": "买量5",
  33430. "type": "integer"
  33431. },
  33432. "bidvolume6": {
  33433. "description": "买量6",
  33434. "type": "integer"
  33435. },
  33436. "bidvolume7": {
  33437. "description": "买量7",
  33438. "type": "integer"
  33439. },
  33440. "bidvolume8": {
  33441. "description": "买量8",
  33442. "type": "integer"
  33443. },
  33444. "bidvolume9": {
  33445. "description": "买量9",
  33446. "type": "integer"
  33447. },
  33448. "calloptionpremiums": {
  33449. "description": "认购期权1",
  33450. "type": "integer"
  33451. },
  33452. "calloptionpremiums2": {
  33453. "description": "认购期权2",
  33454. "type": "integer"
  33455. },
  33456. "calloptionpremiums3": {
  33457. "description": "认购期权3",
  33458. "type": "integer"
  33459. },
  33460. "calloptionpremiums4": {
  33461. "description": "认购期权4",
  33462. "type": "integer"
  33463. },
  33464. "calloptionpremiums5": {
  33465. "description": "认购期权5",
  33466. "type": "integer"
  33467. },
  33468. "cleartime": {
  33469. "description": "清盘时间",
  33470. "type": "integer"
  33471. },
  33472. "exchangecode": {
  33473. "description": "交易所代码",
  33474. "type": "integer"
  33475. },
  33476. "exchangedate": {
  33477. "description": "交易日",
  33478. "type": "integer"
  33479. },
  33480. "goodscode": {
  33481. "description": "商品代码",
  33482. "type": "string"
  33483. },
  33484. "grepmarketprice": {
  33485. "description": "暗盘价 港股专用",
  33486. "type": "number"
  33487. },
  33488. "highest": {
  33489. "description": "最高价",
  33490. "type": "number"
  33491. },
  33492. "holdincrement": {
  33493. "description": "单笔持仓",
  33494. "type": "integer"
  33495. },
  33496. "holdvolume": {
  33497. "description": "持仓",
  33498. "type": "integer"
  33499. },
  33500. "iep": {
  33501. "description": "平衡价 港股专用",
  33502. "type": "number"
  33503. },
  33504. "iev": {
  33505. "description": "平衡量 港股专用",
  33506. "type": "number"
  33507. },
  33508. "inventory": {
  33509. "description": "库存",
  33510. "type": "integer"
  33511. },
  33512. "iscleared": {
  33513. "description": "是否清盘标志",
  33514. "type": "integer"
  33515. },
  33516. "issettled": {
  33517. "description": "是否结算标志",
  33518. "type": "integer"
  33519. },
  33520. "last": {
  33521. "description": "最新价",
  33522. "type": "number"
  33523. },
  33524. "lastlot": {
  33525. "description": "最新成交手数",
  33526. "type": "integer"
  33527. },
  33528. "lasttime": {
  33529. "description": "行情时间(只有现价变化行情时间才变化)",
  33530. "type": "string"
  33531. },
  33532. "lastturnover": {
  33533. "description": "最新成交金额",
  33534. "type": "number"
  33535. },
  33536. "lastvolume": {
  33537. "description": "最新成交量",
  33538. "type": "integer"
  33539. },
  33540. "limitdown": {
  33541. "description": "跌停价",
  33542. "type": "number"
  33543. },
  33544. "limitup": {
  33545. "description": "涨停价",
  33546. "type": "number"
  33547. },
  33548. "lowest": {
  33549. "description": "最低价",
  33550. "type": "number"
  33551. },
  33552. "nontotalholdervolume": {
  33553. "description": "非交易持仓量",
  33554. "type": "integer"
  33555. },
  33556. "nontotallot": {
  33557. "description": "非交易总手数",
  33558. "type": "integer"
  33559. },
  33560. "nontotalturnover": {
  33561. "description": "非交易总金额",
  33562. "type": "integer"
  33563. },
  33564. "nontotalvolume": {
  33565. "description": "非交易总量",
  33566. "type": "integer"
  33567. },
  33568. "opened": {
  33569. "description": "开盘价",
  33570. "type": "number"
  33571. },
  33572. "opentime": {
  33573. "description": "开盘时间",
  33574. "type": "string"
  33575. },
  33576. "orderid": {
  33577. "description": "序号",
  33578. "type": "integer"
  33579. },
  33580. "preclose": {
  33581. "description": "昨收",
  33582. "type": "number"
  33583. },
  33584. "preholdvolume": {
  33585. "description": "昨持仓",
  33586. "type": "integer"
  33587. },
  33588. "presettle": {
  33589. "description": "昨结价",
  33590. "type": "number"
  33591. },
  33592. "publictradetype": {
  33593. "description": "公共交易标志类型 港股专用",
  33594. "type": "string"
  33595. },
  33596. "putoptionpremiums": {
  33597. "description": "认沽期权1",
  33598. "type": "integer"
  33599. },
  33600. "putoptionpremiums2": {
  33601. "description": "认沽期权2",
  33602. "type": "integer"
  33603. },
  33604. "putoptionpremiums3": {
  33605. "description": "认沽期权3",
  33606. "type": "integer"
  33607. },
  33608. "putoptionpremiums4": {
  33609. "description": "认沽期权4",
  33610. "type": "integer"
  33611. },
  33612. "putoptionpremiums5": {
  33613. "description": "认沽期权5",
  33614. "type": "integer"
  33615. },
  33616. "settle": {
  33617. "description": "结算价",
  33618. "type": "number"
  33619. },
  33620. "strikeprice": {
  33621. "description": "发行价",
  33622. "type": "number"
  33623. },
  33624. "totalaskvolume": {
  33625. "description": "内盘",
  33626. "type": "integer"
  33627. },
  33628. "totalbidvolume": {
  33629. "description": "外盘",
  33630. "type": "integer"
  33631. },
  33632. "totallot": {
  33633. "description": "总手数",
  33634. "type": "integer"
  33635. },
  33636. "totalturnover": {
  33637. "description": "总金额",
  33638. "type": "number"
  33639. },
  33640. "totalvolume": {
  33641. "description": "总量",
  33642. "type": "integer"
  33643. },
  33644. "utclasttime": {
  33645. "description": "utc的行情时间",
  33646. "type": "string"
  33647. }
  33648. }
  33649. },
  33650. "quote.QueryTSDataRsp": {
  33651. "type": "object",
  33652. "properties": {
  33653. "Count": {
  33654. "description": "交易日应有数据个数",
  33655. "type": "integer"
  33656. },
  33657. "decimalPlace": {
  33658. "description": "小数位",
  33659. "type": "integer"
  33660. },
  33661. "endTime": {
  33662. "description": "结束时间",
  33663. "type": "string"
  33664. },
  33665. "goodsCode": {
  33666. "description": "商品代码",
  33667. "type": "string"
  33668. },
  33669. "historyDatas": {
  33670. "description": "历史数据",
  33671. "type": "array",
  33672. "items": {
  33673. "$ref": "#/definitions/quote.HistoryData"
  33674. }
  33675. },
  33676. "outGoodsCode": {
  33677. "description": "外部商品代码",
  33678. "type": "string"
  33679. },
  33680. "preSettle": {
  33681. "description": "昨结价",
  33682. "type": "number"
  33683. },
  33684. "runSteps": {
  33685. "description": "交易日开休市计划",
  33686. "type": "array",
  33687. "items": {
  33688. "$ref": "#/definitions/quote.TSDataRunStep"
  33689. }
  33690. },
  33691. "startTime": {
  33692. "description": "开始时间",
  33693. "type": "string"
  33694. },
  33695. "tradeDate": {
  33696. "description": "交易日",
  33697. "type": "string"
  33698. }
  33699. }
  33700. },
  33701. "quote.TSDataRunStep": {
  33702. "type": "object",
  33703. "properties": {
  33704. "end": {
  33705. "description": "真实结束时间",
  33706. "type": "string"
  33707. },
  33708. "endflag": {
  33709. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  33710. "type": "integer"
  33711. },
  33712. "endtime": {
  33713. "description": "结束时间(HH:mm)",
  33714. "type": "string"
  33715. },
  33716. "endweekday": {
  33717. "description": "结束周几",
  33718. "type": "integer"
  33719. },
  33720. "groupid": {
  33721. "description": "分组ID",
  33722. "type": "integer"
  33723. },
  33724. "runstep": {
  33725. "description": "运行阶段 - 2:连续交易",
  33726. "type": "integer"
  33727. },
  33728. "sectionid": {
  33729. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  33730. "type": "integer"
  33731. },
  33732. "start": {
  33733. "description": "真实开始时间",
  33734. "type": "string"
  33735. },
  33736. "startflag": {
  33737. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  33738. "type": "integer"
  33739. },
  33740. "starttime": {
  33741. "description": "起始时间(HH:mm)",
  33742. "type": "string"
  33743. },
  33744. "startweekday": {
  33745. "description": "起始周几",
  33746. "type": "integer"
  33747. },
  33748. "tradeweekday": {
  33749. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  33750. "type": "integer"
  33751. }
  33752. }
  33753. },
  33754. "szdz.QueryConvertLogRsp": {
  33755. "type": "object",
  33756. "required": [
  33757. "logid"
  33758. ],
  33759. "properties": {
  33760. "accountid": {
  33761. "description": "资金账户ID",
  33762. "type": "integer"
  33763. },
  33764. "clientticket": {
  33765. "description": "客户端流水号",
  33766. "type": "string"
  33767. },
  33768. "converttype": {
  33769. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  33770. "type": "integer"
  33771. },
  33772. "createtime": {
  33773. "description": "记账时间",
  33774. "type": "string"
  33775. },
  33776. "daymaxvalue": {
  33777. "description": "配置当日最大转入限制",
  33778. "type": "number"
  33779. },
  33780. "daymaxvalue2": {
  33781. "description": "配置当日最大转入限制(转入)",
  33782. "type": "number"
  33783. },
  33784. "goodscode": {
  33785. "description": "商品代码",
  33786. "type": "string"
  33787. },
  33788. "goodsname": {
  33789. "description": "商品名称",
  33790. "type": "string"
  33791. },
  33792. "handlestatus": {
  33793. "description": "处理状态",
  33794. "type": "integer"
  33795. },
  33796. "innergoodsid": {
  33797. "description": "内部商品ID",
  33798. "type": "integer"
  33799. },
  33800. "inratio": {
  33801. "description": "配置转入比值",
  33802. "type": "integer"
  33803. },
  33804. "invalue": {
  33805. "description": "目标值",
  33806. "type": "number"
  33807. },
  33808. "logid": {
  33809. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33810. "type": "integer"
  33811. },
  33812. "mobile": {
  33813. "description": "手机号码(加密存储)",
  33814. "type": "string"
  33815. },
  33816. "outergoodscode": {
  33817. "description": "外部商品代码[JD\\PD]",
  33818. "type": "string"
  33819. },
  33820. "outratio": {
  33821. "description": "配置转出比值",
  33822. "type": "integer"
  33823. },
  33824. "outvalue": {
  33825. "description": "源值",
  33826. "type": "number"
  33827. },
  33828. "pddecimalplace": {
  33829. "description": "PD小数位",
  33830. "type": "integer"
  33831. },
  33832. "qty": {
  33833. "description": "数量",
  33834. "type": "string"
  33835. },
  33836. "remark": {
  33837. "description": "备注",
  33838. "type": "string"
  33839. },
  33840. "sessionid": {
  33841. "description": "会话ID",
  33842. "type": "integer"
  33843. },
  33844. "timemaxvalue": {
  33845. "description": "配置单次最大转入限制",
  33846. "type": "number"
  33847. },
  33848. "timemaxvalue2": {
  33849. "description": "配置单次最大转入限制(转入)",
  33850. "type": "number"
  33851. },
  33852. "timeminvalue": {
  33853. "description": "配置单次最小数量限制",
  33854. "type": "number"
  33855. },
  33856. "timeminvalue2": {
  33857. "description": "配置单次最小数量限制(转入)",
  33858. "type": "number"
  33859. },
  33860. "tradedate": {
  33861. "description": "交易日(yyyyMMdd)",
  33862. "type": "string"
  33863. },
  33864. "userid": {
  33865. "description": "用户ID",
  33866. "type": "integer"
  33867. }
  33868. }
  33869. },
  33870. "szdz.QueryGoodsPickupRsp": {
  33871. "type": "object",
  33872. "required": [
  33873. "takeorderid"
  33874. ],
  33875. "properties": {
  33876. "accountid": {
  33877. "description": "账户ID",
  33878. "type": "integer"
  33879. },
  33880. "address": {
  33881. "description": "提货人详细地址",
  33882. "type": "string"
  33883. },
  33884. "auditer": {
  33885. "description": "审核人",
  33886. "type": "integer"
  33887. },
  33888. "audittime": {
  33889. "description": "审核时间",
  33890. "type": "string"
  33891. },
  33892. "cardnum": {
  33893. "description": "提货人证件号码",
  33894. "type": "string"
  33895. },
  33896. "cardtypeid": {
  33897. "description": "提货人证件类型",
  33898. "type": "integer"
  33899. },
  33900. "checkremark": {
  33901. "description": "审核备注",
  33902. "type": "string"
  33903. },
  33904. "goodscode": {
  33905. "description": "商品代码",
  33906. "type": "string"
  33907. },
  33908. "goodsid": {
  33909. "description": "商品ID",
  33910. "type": "integer"
  33911. },
  33912. "goodsname": {
  33913. "description": "商品名称",
  33914. "type": "string"
  33915. },
  33916. "handlestatus": {
  33917. "description": "处理状态",
  33918. "type": "integer"
  33919. },
  33920. "marketid": {
  33921. "description": "市场ID",
  33922. "type": "integer"
  33923. },
  33924. "phonenum": {
  33925. "description": "提货人联系方式",
  33926. "type": "string"
  33927. },
  33928. "qty": {
  33929. "description": "提货数量",
  33930. "type": "number"
  33931. },
  33932. "recivername": {
  33933. "description": "提货人姓名",
  33934. "type": "string"
  33935. },
  33936. "reqtime": {
  33937. "description": "更新时间",
  33938. "type": "string"
  33939. },
  33940. "takemode": {
  33941. "description": "提货方式 - 2:自提 3:配送",
  33942. "type": "integer"
  33943. },
  33944. "takeorderid": {
  33945. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  33946. "type": "string"
  33947. },
  33948. "takeorderstatus": {
  33949. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  33950. "type": "integer"
  33951. },
  33952. "takeremark": {
  33953. "description": "提货备注",
  33954. "type": "string"
  33955. },
  33956. "tradedate": {
  33957. "description": "交易日(yyyyMMdd)",
  33958. "type": "string"
  33959. },
  33960. "userid": {
  33961. "description": "用户ID",
  33962. "type": "integer"
  33963. }
  33964. }
  33965. },
  33966. "szdz.QueryRecieptOrderRsp": {
  33967. "type": "object",
  33968. "required": [
  33969. "ordertime"
  33970. ],
  33971. "properties": {
  33972. "accountName": {
  33973. "description": "所属账号名称(已脱敏)",
  33974. "type": "string"
  33975. },
  33976. "accountid": {
  33977. "description": "资金账号",
  33978. "type": "integer"
  33979. },
  33980. "buyorsell": {
  33981. "description": "方向 - 0:买 1:卖",
  33982. "type": "integer"
  33983. },
  33984. "enableqty": {
  33985. "description": "可摘数量",
  33986. "type": "integer"
  33987. },
  33988. "goodscode": {
  33989. "description": "商品代码",
  33990. "type": "string"
  33991. },
  33992. "goodsid": {
  33993. "description": "商品ID",
  33994. "type": "integer"
  33995. },
  33996. "goodsname": {
  33997. "description": "商品名称",
  33998. "type": "string"
  33999. },
  34000. "orderid": {
  34001. "description": "委托单号",
  34002. "type": "string"
  34003. },
  34004. "orderprice": {
  34005. "description": "委托价格",
  34006. "type": "number"
  34007. },
  34008. "ordertime": {
  34009. "description": "委托时间",
  34010. "type": "string"
  34011. },
  34012. "tradedate": {
  34013. "description": "交易日(yyyyMMdd)",
  34014. "type": "string"
  34015. }
  34016. }
  34017. },
  34018. "szdz.QuerySZDZTradePositionRsp": {
  34019. "type": "object",
  34020. "properties": {
  34021. "accountid": {
  34022. "description": "账号Id",
  34023. "type": "integer"
  34024. },
  34025. "agreeunit": {
  34026. "description": "合约单位",
  34027. "type": "number"
  34028. },
  34029. "averageprice": {
  34030. "description": "持仓均价",
  34031. "type": "number"
  34032. },
  34033. "buyorsell": {
  34034. "description": "方向 - 0:买 1:卖",
  34035. "type": "integer"
  34036. },
  34037. "closetotalqty": {
  34038. "description": "平仓总数量",
  34039. "type": "integer"
  34040. },
  34041. "curholderamount": {
  34042. "description": "当前持仓总金额",
  34043. "type": "number"
  34044. },
  34045. "curpositionqty": {
  34046. "description": "当前持仓总数量",
  34047. "type": "integer"
  34048. },
  34049. "currencyid": {
  34050. "description": "报价货币ID",
  34051. "type": "integer"
  34052. },
  34053. "curtdposition": {
  34054. "description": "期末今日头寸",
  34055. "type": "integer"
  34056. },
  34057. "decimalplace": {
  34058. "description": "报价小数位",
  34059. "type": "integer"
  34060. },
  34061. "enableqty": {
  34062. "description": "可用量",
  34063. "type": "integer"
  34064. },
  34065. "fretdposition": {
  34066. "description": "冻结今日头寸",
  34067. "type": "integer"
  34068. },
  34069. "frozenqty": {
  34070. "description": "持仓冻结数量",
  34071. "type": "integer"
  34072. },
  34073. "goodscode": {
  34074. "description": "商品代码(内部)",
  34075. "type": "string"
  34076. },
  34077. "goodsid": {
  34078. "description": "商品Id",
  34079. "type": "integer"
  34080. },
  34081. "goodsname": {
  34082. "description": "商品名称",
  34083. "type": "string"
  34084. },
  34085. "goodunit": {
  34086. "description": "报价单位",
  34087. "type": "string"
  34088. },
  34089. "goodunitid": {
  34090. "description": "报价单位ID",
  34091. "type": "integer"
  34092. },
  34093. "holderamount": {
  34094. "description": "期初持仓总金额",
  34095. "type": "number"
  34096. },
  34097. "marketid": {
  34098. "description": "市场ID",
  34099. "type": "integer"
  34100. },
  34101. "openreqqty": {
  34102. "description": "开仓申请数量",
  34103. "type": "integer"
  34104. },
  34105. "opentotalqty": {
  34106. "description": "开仓总数量",
  34107. "type": "integer"
  34108. },
  34109. "otherfrozenqty": {
  34110. "description": "持仓其他冻结数量(交割冻结)",
  34111. "type": "integer"
  34112. },
  34113. "positionqty": {
  34114. "description": "期初持仓数量",
  34115. "type": "integer"
  34116. },
  34117. "szdz3freezqty": {
  34118. "description": "尚志大宗转换冻结总数量",
  34119. "type": "integer"
  34120. },
  34121. "tnqty": {
  34122. "description": "T+N冻结总量",
  34123. "type": "integer"
  34124. },
  34125. "tnusedqty": {
  34126. "description": "T+N使用量",
  34127. "type": "integer"
  34128. },
  34129. "trademode": {
  34130. "description": "交易模式",
  34131. "type": "integer"
  34132. },
  34133. "usedmargin": {
  34134. "description": "占用保证金",
  34135. "type": "number"
  34136. }
  34137. }
  34138. },
  34139. "taaccount.QueryAmountLogRsp": {
  34140. "type": "object",
  34141. "required": [
  34142. "accountid",
  34143. "amount",
  34144. "amountadjusttype",
  34145. "autoid",
  34146. "balance",
  34147. "createtime",
  34148. "currentbalance",
  34149. "operatetype"
  34150. ],
  34151. "properties": {
  34152. "OPERATETYPENAME": {
  34153. "description": "资金操作类型名称",
  34154. "type": "string"
  34155. },
  34156. "accountid": {
  34157. "description": "资金账户ID",
  34158. "type": "integer"
  34159. },
  34160. "agoodscode": {
  34161. "description": "竞拍商品代码",
  34162. "type": "string"
  34163. },
  34164. "agoodsname": {
  34165. "description": "竞拍商品名称",
  34166. "type": "string"
  34167. },
  34168. "amount": {
  34169. "description": "资金金额",
  34170. "type": "number"
  34171. },
  34172. "amountadjusttype": {
  34173. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  34174. "type": "integer"
  34175. },
  34176. "autoid": {
  34177. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  34178. "type": "integer"
  34179. },
  34180. "balance": {
  34181. "description": "期初余额",
  34182. "type": "number"
  34183. },
  34184. "businesscode": {
  34185. "description": "业务编号",
  34186. "type": "integer"
  34187. },
  34188. "createtime": {
  34189. "description": "发生时间",
  34190. "type": "string"
  34191. },
  34192. "currencyid": {
  34193. "description": "币种ID",
  34194. "type": "integer"
  34195. },
  34196. "currentbalance": {
  34197. "description": "期末余额(变动后金额)",
  34198. "type": "number"
  34199. },
  34200. "dgoodscode": {
  34201. "description": "交割商品代码",
  34202. "type": "string"
  34203. },
  34204. "dgoodsname": {
  34205. "description": "交割商品名称",
  34206. "type": "string"
  34207. },
  34208. "goodscode": {
  34209. "description": "商品代码",
  34210. "type": "string"
  34211. },
  34212. "goodsid": {
  34213. "description": "商品ID",
  34214. "type": "integer"
  34215. },
  34216. "goodsname": {
  34217. "description": "商品名称",
  34218. "type": "string"
  34219. },
  34220. "marketid": {
  34221. "description": "市场ID",
  34222. "type": "integer"
  34223. },
  34224. "marketname": {
  34225. "description": "市场名称",
  34226. "type": "string"
  34227. },
  34228. "moneyticket": {
  34229. "description": "资金流水号:银行端流水号",
  34230. "type": "integer"
  34231. },
  34232. "operatetype": {
  34233. "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:营销收款",
  34234. "type": "integer"
  34235. },
  34236. "relationorderid": {
  34237. "description": "关联单号",
  34238. "type": "string"
  34239. },
  34240. "remark": {
  34241. "description": "备注",
  34242. "type": "string"
  34243. },
  34244. "trademode": {
  34245. "description": "交易模式",
  34246. "type": "integer"
  34247. }
  34248. }
  34249. },
  34250. "taaccount.QueryHisAmountLogRsp": {
  34251. "type": "object",
  34252. "required": [
  34253. "accountid",
  34254. "amount",
  34255. "amountadjusttype",
  34256. "autoid",
  34257. "balance",
  34258. "createtime",
  34259. "currentbalance",
  34260. "histradedate",
  34261. "operatetype"
  34262. ],
  34263. "properties": {
  34264. "OPERATETYPENAME": {
  34265. "description": "资金操作类型名称",
  34266. "type": "string"
  34267. },
  34268. "accountid": {
  34269. "description": "资金账户ID",
  34270. "type": "integer"
  34271. },
  34272. "agoodscode": {
  34273. "description": "竞拍商品代码",
  34274. "type": "string"
  34275. },
  34276. "agoodsname": {
  34277. "description": "竞拍商品名称",
  34278. "type": "string"
  34279. },
  34280. "amount": {
  34281. "description": "资金金额",
  34282. "type": "number"
  34283. },
  34284. "amountadjusttype": {
  34285. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  34286. "type": "integer"
  34287. },
  34288. "autoid": {
  34289. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  34290. "type": "integer"
  34291. },
  34292. "balance": {
  34293. "description": "期初余额",
  34294. "type": "number"
  34295. },
  34296. "businesscode": {
  34297. "description": "业务编号",
  34298. "type": "integer"
  34299. },
  34300. "createtime": {
  34301. "description": "发生时间",
  34302. "type": "string"
  34303. },
  34304. "currencyid": {
  34305. "description": "币种ID",
  34306. "type": "integer"
  34307. },
  34308. "currentbalance": {
  34309. "description": "期末余额(变动后金额)",
  34310. "type": "number"
  34311. },
  34312. "dgoodscode": {
  34313. "description": "交割商品代码",
  34314. "type": "string"
  34315. },
  34316. "dgoodsname": {
  34317. "description": "交割商品名称",
  34318. "type": "string"
  34319. },
  34320. "goodscode": {
  34321. "description": "商品代码",
  34322. "type": "string"
  34323. },
  34324. "goodsid": {
  34325. "description": "商品ID",
  34326. "type": "integer"
  34327. },
  34328. "goodsname": {
  34329. "description": "商品名称",
  34330. "type": "string"
  34331. },
  34332. "histradedate": {
  34333. "description": "历史交易日",
  34334. "type": "string"
  34335. },
  34336. "isvaliddata": {
  34337. "description": "是否有效 - 0:无效 1:有效",
  34338. "type": "integer"
  34339. },
  34340. "marketid": {
  34341. "description": "市场ID",
  34342. "type": "integer"
  34343. },
  34344. "marketname": {
  34345. "description": "市场名称",
  34346. "type": "string"
  34347. },
  34348. "moneyticket": {
  34349. "description": "资金流水号:银行端流水号",
  34350. "type": "integer"
  34351. },
  34352. "operatetype": {
  34353. "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:营销收款",
  34354. "type": "integer"
  34355. },
  34356. "relationorderid": {
  34357. "description": "关联单号",
  34358. "type": "string"
  34359. },
  34360. "remark": {
  34361. "description": "备注",
  34362. "type": "string"
  34363. },
  34364. "trademode": {
  34365. "description": "交易模式",
  34366. "type": "integer"
  34367. }
  34368. }
  34369. },
  34370. "trade.QueryRecieptOrderRsp": {
  34371. "type": "object",
  34372. "required": [
  34373. "ordertime"
  34374. ],
  34375. "properties": {
  34376. "accountName": {
  34377. "description": "所属账号名称(已脱敏)",
  34378. "type": "string"
  34379. },
  34380. "accountid": {
  34381. "description": "资金账号",
  34382. "type": "integer"
  34383. },
  34384. "buyorsell": {
  34385. "description": "方向 - 0:买 1:卖",
  34386. "type": "integer"
  34387. },
  34388. "enableqty": {
  34389. "description": "可摘数量",
  34390. "type": "integer"
  34391. },
  34392. "goodscode": {
  34393. "description": "商品代码",
  34394. "type": "string"
  34395. },
  34396. "goodsid": {
  34397. "description": "商品ID",
  34398. "type": "integer"
  34399. },
  34400. "goodsname": {
  34401. "description": "商品名称",
  34402. "type": "string"
  34403. },
  34404. "orderid": {
  34405. "description": "委托单号",
  34406. "type": "string"
  34407. },
  34408. "orderprice": {
  34409. "description": "委托价格",
  34410. "type": "number"
  34411. },
  34412. "ordertime": {
  34413. "description": "委托时间",
  34414. "type": "string"
  34415. },
  34416. "tradedate": {
  34417. "description": "交易日(yyyyMMdd)",
  34418. "type": "string"
  34419. }
  34420. }
  34421. },
  34422. "user.LoginQueryRsp": {
  34423. "type": "object",
  34424. "properties": {
  34425. "areaRoles": {
  34426. "description": "所属角色信息",
  34427. "type": "array",
  34428. "items": {
  34429. "$ref": "#/definitions/models.Arearole"
  34430. }
  34431. },
  34432. "externalExchanges": {
  34433. "description": "外部交易所",
  34434. "type": "array",
  34435. "items": {
  34436. "$ref": "#/definitions/models.Externalexchange"
  34437. }
  34438. },
  34439. "goodsgroups": {
  34440. "description": "商品组",
  34441. "type": "array",
  34442. "items": {
  34443. "$ref": "#/definitions/models.Goodsgroup"
  34444. }
  34445. },
  34446. "loginAccount": {
  34447. "description": "登录账号",
  34448. "type": "object",
  34449. "$ref": "#/definitions/models.Loginaccount"
  34450. },
  34451. "markets": {
  34452. "description": "市场",
  34453. "type": "array",
  34454. "items": {
  34455. "$ref": "#/definitions/models.Market"
  34456. }
  34457. },
  34458. "systemParams": {
  34459. "description": "系统参数",
  34460. "type": "array",
  34461. "items": {
  34462. "$ref": "#/definitions/models.Systemparam"
  34463. }
  34464. },
  34465. "userAccount": {
  34466. "description": "用户账号",
  34467. "type": "object",
  34468. "$ref": "#/definitions/models.Useraccount"
  34469. },
  34470. "userInfo": {
  34471. "description": "用户信息",
  34472. "type": "object",
  34473. "$ref": "#/definitions/models.Userinfo"
  34474. },
  34475. "username": {
  34476. "description": "用户姓名",
  34477. "type": "string"
  34478. }
  34479. }
  34480. }
  34481. },
  34482. "securityDefinitions": {
  34483. "ApiKeyAuth": {
  34484. "type": "apiKey",
  34485. "name": "Authorization",
  34486. "in": "header"
  34487. }
  34488. }
  34489. }`
  34490. type swaggerInfo struct {
  34491. Version string
  34492. Host string
  34493. BasePath string
  34494. Schemes []string
  34495. Title string
  34496. Description string
  34497. }
  34498. // SwaggerInfo holds exported Swagger Info so clients can modify it
  34499. var SwaggerInfo = swaggerInfo{
  34500. Version: "1.0",
  34501. Host: "",
  34502. BasePath: "/api",
  34503. Schemes: []string{},
  34504. Title: "MTP2.0 查询服务 API",
  34505. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  34506. }
  34507. type s struct{}
  34508. func (s *s) ReadDoc() string {
  34509. sInfo := SwaggerInfo
  34510. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  34511. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  34512. "marshal": func(v interface{}) string {
  34513. a, _ := json.Marshal(v)
  34514. return string(a)
  34515. },
  34516. }).Parse(doc)
  34517. if err != nil {
  34518. return doc
  34519. }
  34520. var tpl bytes.Buffer
  34521. if err := t.Execute(&tpl, sInfo); err != nil {
  34522. return doc
  34523. }
  34524. return tpl.String()
  34525. }
  34526. func init() {
  34527. swag.Register(swag.Name, &s{})
  34528. }