docs.go 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554
  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. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetPCWebMenus": {
  481. "get": {
  482. "security": [
  483. {
  484. "ApiKeyAuth": []
  485. }
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "通用服务"
  492. ],
  493. "summary": "获取PCWeb交易端菜单",
  494. "parameters": [
  495. {
  496. "type": "integer",
  497. "description": "登录账号",
  498. "name": "loginID",
  499. "in": "query",
  500. "required": true
  501. },
  502. {
  503. "type": "string",
  504. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  505. "name": "name",
  506. "in": "query"
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "OK",
  512. "schema": {
  513. "type": "array",
  514. "items": {
  515. "$ref": "#/definitions/common.PCWebMenu"
  516. }
  517. }
  518. },
  519. "500": {
  520. "description": "Internal Server Error",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. }
  525. }
  526. }
  527. },
  528. "/Common/GetServerTime": {
  529. "get": {
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "通用服务"
  535. ],
  536. "summary": "获取服务器时间",
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/NoticeReaded": {
  554. "post": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告设置已读请求",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "登录账号",
  571. "name": "loginID",
  572. "in": "query",
  573. "required": true
  574. },
  575. {
  576. "type": "integer",
  577. "description": "通知公告ID",
  578. "name": "noticeID",
  579. "in": "query",
  580. "required": true
  581. }
  582. ],
  583. "responses": {
  584. "200": {
  585. "description": "OK",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. },
  590. "500": {
  591. "description": "Internal Server Error",
  592. "schema": {
  593. "$ref": "#/definitions/app.Response"
  594. }
  595. }
  596. }
  597. }
  598. },
  599. "/Common/QueryErrorInfos": {
  600. "get": {
  601. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "获取数据库错误信息",
  609. "parameters": [
  610. {
  611. "type": "string",
  612. "description": "起始行号前索引",
  613. "name": "rowNumber",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryImageConfigs": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询轮播图配置信息",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "用户id",
  646. "name": "userId",
  647. "in": "query"
  648. },
  649. {
  650. "type": "integer",
  651. "description": "类型 - 1:App首页轮播 2:我的",
  652. "name": "imageType",
  653. "in": "query"
  654. }
  655. ],
  656. "responses": {
  657. "200": {
  658. "description": "OK",
  659. "schema": {
  660. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  661. }
  662. },
  663. "500": {
  664. "description": "Internal Server Error",
  665. "schema": {
  666. "$ref": "#/definitions/app.Response"
  667. }
  668. }
  669. }
  670. }
  671. },
  672. "/Common/QueryNotice": {
  673. "get": {
  674. "security": [
  675. {
  676. "ApiKeyAuth": []
  677. }
  678. ],
  679. "produces": [
  680. "application/json"
  681. ],
  682. "tags": [
  683. "通用服务"
  684. ],
  685. "summary": "通知公告系统消息查询",
  686. "parameters": [
  687. {
  688. "type": "integer",
  689. "description": "页码",
  690. "name": "page",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "每页条数",
  696. "name": "pagesize",
  697. "in": "query"
  698. },
  699. {
  700. "type": "integer",
  701. "description": "登录账号",
  702. "name": "loginID",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "integer",
  708. "description": "消息类型 - 1:公告通知 2:系统消息",
  709. "name": "msgType",
  710. "in": "query"
  711. },
  712. {
  713. "type": "boolean",
  714. "description": "是否只获取未读信息",
  715. "name": "onlyUnRead",
  716. "in": "query"
  717. },
  718. {
  719. "type": "integer",
  720. "description": "自增ID,传入后会返回这个ID后面的记录",
  721. "name": "lastID",
  722. "in": "query"
  723. }
  724. ],
  725. "responses": {
  726. "200": {
  727. "description": "OK",
  728. "schema": {
  729. "$ref": "#/definitions/common.QueryNoticeRsp"
  730. }
  731. },
  732. "500": {
  733. "description": "Internal Server Error",
  734. "schema": {
  735. "$ref": "#/definitions/app.Response"
  736. }
  737. }
  738. }
  739. }
  740. },
  741. "/Common/QueryProvincesAndCities": {
  742. "get": {
  743. "produces": [
  744. "application/json"
  745. ],
  746. "tags": [
  747. "通用服务"
  748. ],
  749. "summary": "查询省市信息(不包括区)",
  750. "parameters": [
  751. {
  752. "type": "integer",
  753. "description": "省ID",
  754. "name": "provinceID",
  755. "in": "query"
  756. }
  757. ],
  758. "responses": {
  759. "200": {
  760. "description": "OK",
  761. "schema": {
  762. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  763. }
  764. },
  765. "500": {
  766. "description": "Internal Server Error",
  767. "schema": {
  768. "$ref": "#/definitions/app.Response"
  769. }
  770. }
  771. }
  772. }
  773. },
  774. "/Common/QueryTableDefine": {
  775. "get": {
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "通用服务"
  781. ],
  782. "summary": "查询交易端列表头信息",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "表key",
  787. "name": "tableKey",
  788. "in": "query"
  789. },
  790. {
  791. "type": "integer",
  792. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  793. "name": "tableType",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/common.QueryTableDefineRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Common/QueryTraderMenu": {
  814. "get": {
  815. "produces": [
  816. "application/json"
  817. ],
  818. "tags": [
  819. "通用服务"
  820. ],
  821. "summary": "查询交易端菜单",
  822. "parameters": [
  823. {
  824. "type": "integer",
  825. "description": "登录账号",
  826. "name": "loginid",
  827. "in": "query",
  828. "required": true
  829. }
  830. ],
  831. "responses": {
  832. "200": {
  833. "description": "OK",
  834. "schema": {
  835. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Delivery/QueryDeliveryRelation": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "交割服务"
  859. ],
  860. "summary": "查询商品交割关系表",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "商品ID",
  865. "name": "goodsid",
  866. "in": "query"
  867. },
  868. {
  869. "type": "integer",
  870. "description": "品种ID",
  871. "name": "deliverygoodsid",
  872. "in": "query"
  873. },
  874. {
  875. "type": "integer",
  876. "description": "市场ID",
  877. "name": "marketid",
  878. "in": "query"
  879. }
  880. ],
  881. "responses": {
  882. "200": {
  883. "description": "OK",
  884. "schema": {
  885. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/GetErmcpGoods": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询企业风管期货商品信息",
  911. "parameters": [
  912. {
  913. "type": "string",
  914. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  915. "name": "lastUpdateTime",
  916. "in": "query"
  917. }
  918. ],
  919. "responses": {
  920. "200": {
  921. "description": "OK",
  922. "schema": {
  923. "$ref": "#/definitions/models.ErmcpGoods"
  924. }
  925. },
  926. "500": {
  927. "description": "Internal Server Error",
  928. "schema": {
  929. "$ref": "#/definitions/app.Response"
  930. }
  931. }
  932. }
  933. }
  934. },
  935. "/Ermcp/GetErmcpGoodsSortByPosition": {
  936. "get": {
  937. "security": [
  938. {
  939. "ApiKeyAuth": []
  940. }
  941. ],
  942. "produces": [
  943. "application/json"
  944. ],
  945. "tags": [
  946. "企业风险管理(app)"
  947. ],
  948. "summary": "查询企业风管期货主力、次主力商品信息",
  949. "parameters": [
  950. {
  951. "type": "string",
  952. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  953. "name": "sortIndex",
  954. "in": "query"
  955. }
  956. ],
  957. "responses": {
  958. "200": {
  959. "description": "OK",
  960. "schema": {
  961. "$ref": "#/definitions/models.Goodssortbypreposition"
  962. }
  963. },
  964. "500": {
  965. "description": "Internal Server Error",
  966. "schema": {
  967. "$ref": "#/definitions/app.Response"
  968. }
  969. }
  970. }
  971. }
  972. },
  973. "/Ermcp/GetErmcpOutAccountStatus": {
  974. "get": {
  975. "security": [
  976. {
  977. "ApiKeyAuth": []
  978. }
  979. ],
  980. "produces": [
  981. "application/json"
  982. ],
  983. "tags": [
  984. "企业风险管理(app)"
  985. ],
  986. "summary": "获取目标登录账号当前对冲账号在线状态",
  987. "parameters": [
  988. {
  989. "type": "integer",
  990. "description": "登录账号",
  991. "name": "loginID",
  992. "in": "query",
  993. "required": true
  994. }
  995. ],
  996. "responses": {
  997. "200": {
  998. "description": "OK",
  999. "schema": {
  1000. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1001. }
  1002. },
  1003. "500": {
  1004. "description": "Internal Server Error",
  1005. "schema": {
  1006. "$ref": "#/definitions/app.Response"
  1007. }
  1008. }
  1009. }
  1010. }
  1011. },
  1012. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1013. "get": {
  1014. "security": [
  1015. {
  1016. "ApiKeyAuth": []
  1017. }
  1018. ],
  1019. "produces": [
  1020. "application/json"
  1021. ],
  1022. "tags": [
  1023. "企业风险管理(app)"
  1024. ],
  1025. "summary": "获取企业风管终端权限",
  1026. "parameters": [
  1027. {
  1028. "type": "integer",
  1029. "description": "登录账号",
  1030. "name": "loginID",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "$ref": "#/definitions/models.Funcmenulist"
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QueryAccMgrBizGroupSet": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询业务类型分组(账户管理/账户设置)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "现货商品id",
  1076. "name": "deliverygoodsid",
  1077. "in": "query"
  1078. }
  1079. ],
  1080. "responses": {
  1081. "200": {
  1082. "description": "OK",
  1083. "schema": {
  1084. "type": "array",
  1085. "items": {
  1086. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1087. }
  1088. }
  1089. },
  1090. "500": {
  1091. "description": "Internal Server Error",
  1092. "schema": {
  1093. "$ref": "#/definitions/app.Response"
  1094. }
  1095. }
  1096. }
  1097. }
  1098. },
  1099. "/Ermcp/QueryAccMgrLoginUser": {
  1100. "get": {
  1101. "security": [
  1102. {
  1103. "ApiKeyAuth": []
  1104. }
  1105. ],
  1106. "produces": [
  1107. "application/json"
  1108. ],
  1109. "tags": [
  1110. "企业风险管理(app)"
  1111. ],
  1112. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1113. "parameters": [
  1114. {
  1115. "type": "integer",
  1116. "description": "用户ID",
  1117. "name": "userid",
  1118. "in": "query",
  1119. "required": true
  1120. },
  1121. {
  1122. "type": "integer",
  1123. "description": "用户类型 2-机构 7-企业成员",
  1124. "name": "usertype",
  1125. "in": "query"
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1130. "name": "querytype",
  1131. "in": "query",
  1132. "required": true
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "type": "array",
  1140. "items": {
  1141. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1142. }
  1143. }
  1144. },
  1145. "500": {
  1146. "description": "Internal Server Error",
  1147. "schema": {
  1148. "$ref": "#/definitions/app.Response"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1155. "get": {
  1156. "security": [
  1157. {
  1158. "ApiKeyAuth": []
  1159. }
  1160. ],
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "tags": [
  1165. "企业风险管理(app)"
  1166. ],
  1167. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1168. "parameters": [
  1169. {
  1170. "type": "integer",
  1171. "description": "用户ID",
  1172. "name": "userid",
  1173. "in": "query"
  1174. },
  1175. {
  1176. "type": "integer",
  1177. "description": "主账号id",
  1178. "name": "accountid",
  1179. "in": "query"
  1180. }
  1181. ],
  1182. "responses": {
  1183. "200": {
  1184. "description": "OK",
  1185. "schema": {
  1186. "type": "array",
  1187. "items": {
  1188. "$ref": "#/definitions/models.MainAccountInfo"
  1189. }
  1190. }
  1191. },
  1192. "500": {
  1193. "description": "Internal Server Error",
  1194. "schema": {
  1195. "$ref": "#/definitions/app.Response"
  1196. }
  1197. }
  1198. }
  1199. }
  1200. },
  1201. "/Ermcp/QueryAccMgrRole": {
  1202. "get": {
  1203. "security": [
  1204. {
  1205. "ApiKeyAuth": []
  1206. }
  1207. ],
  1208. "produces": [
  1209. "application/json"
  1210. ],
  1211. "tags": [
  1212. "企业风险管理(app)"
  1213. ],
  1214. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1215. "parameters": [
  1216. {
  1217. "type": "integer",
  1218. "description": "用户ID",
  1219. "name": "userid",
  1220. "in": "query",
  1221. "required": true
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "type": "array",
  1229. "items": {
  1230. "$ref": "#/definitions/models.ErmcpRole"
  1231. }
  1232. }
  1233. },
  1234. "500": {
  1235. "description": "Internal Server Error",
  1236. "schema": {
  1237. "$ref": "#/definitions/app.Response"
  1238. }
  1239. }
  1240. }
  1241. }
  1242. },
  1243. "/Ermcp/QueryAccMgrRoleMenu": {
  1244. "get": {
  1245. "security": [
  1246. {
  1247. "ApiKeyAuth": []
  1248. }
  1249. ],
  1250. "produces": [
  1251. "application/json"
  1252. ],
  1253. "tags": [
  1254. "企业风险管理(app)"
  1255. ],
  1256. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1257. "parameters": [
  1258. {
  1259. "type": "integer",
  1260. "description": "用户ID",
  1261. "name": "userid",
  1262. "in": "query",
  1263. "required": true
  1264. },
  1265. {
  1266. "type": "string",
  1267. "description": "角色id(可多个,逗号隔开)",
  1268. "name": "roleid",
  1269. "in": "query"
  1270. },
  1271. {
  1272. "type": "integer",
  1273. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1274. "name": "menutype",
  1275. "in": "query"
  1276. }
  1277. ],
  1278. "responses": {
  1279. "200": {
  1280. "description": "OK",
  1281. "schema": {
  1282. "type": "array",
  1283. "items": {
  1284. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1285. }
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "produces": [
  1305. "application/json"
  1306. ],
  1307. "tags": [
  1308. "企业风险管理(app)"
  1309. ],
  1310. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1311. "parameters": [
  1312. {
  1313. "type": "integer",
  1314. "description": "用户ID",
  1315. "name": "userid",
  1316. "in": "query",
  1317. "required": true
  1318. },
  1319. {
  1320. "type": "integer",
  1321. "description": "账号id",
  1322. "name": "accountid",
  1323. "in": "query"
  1324. }
  1325. ],
  1326. "responses": {
  1327. "200": {
  1328. "description": "OK",
  1329. "schema": {
  1330. "type": "array",
  1331. "items": {
  1332. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1333. }
  1334. }
  1335. },
  1336. "500": {
  1337. "description": "Internal Server Error",
  1338. "schema": {
  1339. "$ref": "#/definitions/app.Response"
  1340. }
  1341. }
  1342. }
  1343. }
  1344. },
  1345. "/Ermcp/QueryAccMgrTaaccount": {
  1346. "get": {
  1347. "security": [
  1348. {
  1349. "ApiKeyAuth": []
  1350. }
  1351. ],
  1352. "produces": [
  1353. "application/json"
  1354. ],
  1355. "tags": [
  1356. "企业风险管理(app)"
  1357. ],
  1358. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1359. "parameters": [
  1360. {
  1361. "type": "integer",
  1362. "description": "用户ID",
  1363. "name": "userid",
  1364. "in": "query",
  1365. "required": true
  1366. }
  1367. ],
  1368. "responses": {
  1369. "200": {
  1370. "description": "OK",
  1371. "schema": {
  1372. "type": "array",
  1373. "items": {
  1374. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1375. }
  1376. }
  1377. },
  1378. "500": {
  1379. "description": "Internal Server Error",
  1380. "schema": {
  1381. "$ref": "#/definitions/app.Response"
  1382. }
  1383. }
  1384. }
  1385. }
  1386. },
  1387. "/Ermcp/QueryAvaildGoodsGroup": {
  1388. "get": {
  1389. "security": [
  1390. {
  1391. "ApiKeyAuth": []
  1392. }
  1393. ],
  1394. "produces": [
  1395. "application/json"
  1396. ],
  1397. "tags": [
  1398. "企业风险管理(app)"
  1399. ],
  1400. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1401. "parameters": [
  1402. {
  1403. "type": "integer",
  1404. "description": "所属机构ID",
  1405. "name": "userid",
  1406. "in": "query",
  1407. "required": true
  1408. }
  1409. ],
  1410. "responses": {
  1411. "200": {
  1412. "description": "OK",
  1413. "schema": {
  1414. "type": "array",
  1415. "items": {
  1416. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1417. }
  1418. }
  1419. },
  1420. "500": {
  1421. "description": "Internal Server Error",
  1422. "schema": {
  1423. "$ref": "#/definitions/app.Response"
  1424. }
  1425. }
  1426. }
  1427. }
  1428. },
  1429. "/Ermcp/QueryBusinessDj": {
  1430. "get": {
  1431. "security": [
  1432. {
  1433. "ApiKeyAuth": []
  1434. }
  1435. ],
  1436. "produces": [
  1437. "application/json"
  1438. ],
  1439. "tags": [
  1440. "企业风险管理(app)"
  1441. ],
  1442. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1443. "parameters": [
  1444. {
  1445. "type": "integer",
  1446. "description": "用户ID",
  1447. "name": "UserId",
  1448. "in": "query",
  1449. "required": true
  1450. },
  1451. {
  1452. "type": "integer",
  1453. "description": "用户类型 2-机构 7-企业成员",
  1454. "name": "usertype",
  1455. "in": "query"
  1456. },
  1457. {
  1458. "type": "string",
  1459. "description": "现货合同ID, 不填则查所有",
  1460. "name": "relatedid",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1466. "name": "applystatus",
  1467. "in": "query"
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "type": "array",
  1475. "items": {
  1476. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1477. }
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Ermcp/QueryBusinessFp": {
  1490. "get": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "企业风险管理(app)"
  1501. ],
  1502. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1503. "parameters": [
  1504. {
  1505. "type": "integer",
  1506. "description": "用户ID",
  1507. "name": "UserId",
  1508. "in": "query",
  1509. "required": true
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "用户类型 2-机构 7-企业成员",
  1514. "name": "usertype",
  1515. "in": "query"
  1516. },
  1517. {
  1518. "type": "string",
  1519. "description": "现货合同ID, 不填则查所有",
  1520. "name": "relatedid",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1526. "name": "applystatus",
  1527. "in": "query"
  1528. }
  1529. ],
  1530. "responses": {
  1531. "200": {
  1532. "description": "OK",
  1533. "schema": {
  1534. "type": "array",
  1535. "items": {
  1536. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1537. }
  1538. }
  1539. },
  1540. "500": {
  1541. "description": "Internal Server Error",
  1542. "schema": {
  1543. "$ref": "#/definitions/app.Response"
  1544. }
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "/Ermcp/QueryBusinessJs": {
  1550. "get": {
  1551. "security": [
  1552. {
  1553. "ApiKeyAuth": []
  1554. }
  1555. ],
  1556. "produces": [
  1557. "application/json"
  1558. ],
  1559. "tags": [
  1560. "企业风险管理(app)"
  1561. ],
  1562. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1563. "parameters": [
  1564. {
  1565. "type": "integer",
  1566. "description": "用户ID",
  1567. "name": "UserId",
  1568. "in": "query",
  1569. "required": true
  1570. },
  1571. {
  1572. "type": "integer",
  1573. "description": "用户类型 2-机构 7-企业成员",
  1574. "name": "usertype",
  1575. "in": "query"
  1576. },
  1577. {
  1578. "type": "string",
  1579. "description": "现货合同ID, 不填则查所有",
  1580. "name": "relatedid",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "操作申请id",
  1586. "name": "operateapplyid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1592. "name": "applystatus",
  1593. "in": "query"
  1594. }
  1595. ],
  1596. "responses": {
  1597. "200": {
  1598. "description": "OK",
  1599. "schema": {
  1600. "type": "array",
  1601. "items": {
  1602. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1603. }
  1604. }
  1605. },
  1606. "500": {
  1607. "description": "Internal Server Error",
  1608. "schema": {
  1609. "$ref": "#/definitions/app.Response"
  1610. }
  1611. }
  1612. }
  1613. }
  1614. },
  1615. "/Ermcp/QueryBusinessJsEx": {
  1616. "get": {
  1617. "security": [
  1618. {
  1619. "ApiKeyAuth": []
  1620. }
  1621. ],
  1622. "produces": [
  1623. "application/json"
  1624. ],
  1625. "tags": [
  1626. "企业风险管理(app)"
  1627. ],
  1628. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1629. "parameters": [
  1630. {
  1631. "type": "integer",
  1632. "description": "用户ID",
  1633. "name": "UserId",
  1634. "in": "query",
  1635. "required": true
  1636. },
  1637. {
  1638. "type": "integer",
  1639. "description": "用户类型 2-机构 7-企业成员",
  1640. "name": "usertype",
  1641. "in": "query"
  1642. },
  1643. {
  1644. "type": "string",
  1645. "description": "现货合同ID, 不填则查所有",
  1646. "name": "relatedid",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1652. "name": "applystatus",
  1653. "in": "query"
  1654. }
  1655. ],
  1656. "responses": {
  1657. "200": {
  1658. "description": "OK",
  1659. "schema": {
  1660. "type": "array",
  1661. "items": {
  1662. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1663. }
  1664. }
  1665. },
  1666. "500": {
  1667. "description": "Internal Server Error",
  1668. "schema": {
  1669. "$ref": "#/definitions/app.Response"
  1670. }
  1671. }
  1672. }
  1673. }
  1674. },
  1675. "/Ermcp/QueryBusinessKx": {
  1676. "get": {
  1677. "security": [
  1678. {
  1679. "ApiKeyAuth": []
  1680. }
  1681. ],
  1682. "produces": [
  1683. "application/json"
  1684. ],
  1685. "tags": [
  1686. "企业风险管理(app)"
  1687. ],
  1688. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1689. "parameters": [
  1690. {
  1691. "type": "integer",
  1692. "description": "用户ID",
  1693. "name": "UserId",
  1694. "in": "query",
  1695. "required": true
  1696. },
  1697. {
  1698. "type": "integer",
  1699. "description": "用户类型 2-机构 7-企业成员",
  1700. "name": "usertype",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "现货合同ID, 不填则查所有",
  1706. "name": "relatedid",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1712. "name": "applystatus",
  1713. "in": "query"
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "type": "array",
  1721. "items": {
  1722. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1723. }
  1724. }
  1725. },
  1726. "500": {
  1727. "description": "Internal Server Error",
  1728. "schema": {
  1729. "$ref": "#/definitions/app.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/Ermcp/QueryChangeLog": {
  1736. "get": {
  1737. "security": [
  1738. {
  1739. "ApiKeyAuth": []
  1740. }
  1741. ],
  1742. "produces": [
  1743. "application/json"
  1744. ],
  1745. "tags": [
  1746. "企业风险管理(app)"
  1747. ],
  1748. "summary": "查询变更记录",
  1749. "parameters": [
  1750. {
  1751. "type": "string",
  1752. "description": "合同ID",
  1753. "name": "RelatedId",
  1754. "in": "query",
  1755. "required": true
  1756. }
  1757. ],
  1758. "responses": {
  1759. "200": {
  1760. "description": "OK",
  1761. "schema": {
  1762. "type": "array",
  1763. "items": {
  1764. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1765. }
  1766. }
  1767. },
  1768. "500": {
  1769. "description": "Internal Server Error",
  1770. "schema": {
  1771. "$ref": "#/definitions/app.Response"
  1772. }
  1773. }
  1774. }
  1775. }
  1776. },
  1777. "/Ermcp/QueryErmcpHisOrderDetails": {
  1778. "get": {
  1779. "security": [
  1780. {
  1781. "ApiKeyAuth": []
  1782. }
  1783. ],
  1784. "produces": [
  1785. "application/json"
  1786. ],
  1787. "tags": [
  1788. "企业风险管理(app)"
  1789. ],
  1790. "summary": "获取企业风管期货历史委托单信息",
  1791. "parameters": [
  1792. {
  1793. "type": "integer",
  1794. "description": "资金账户ID",
  1795. "name": "accountID",
  1796. "in": "query",
  1797. "required": true
  1798. },
  1799. {
  1800. "type": "string",
  1801. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1802. "name": "startDate",
  1803. "in": "query"
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "endDate",
  1809. "in": "query"
  1810. }
  1811. ],
  1812. "responses": {
  1813. "200": {
  1814. "description": "OK",
  1815. "schema": {
  1816. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1817. }
  1818. },
  1819. "500": {
  1820. "description": "Internal Server Error",
  1821. "schema": {
  1822. "$ref": "#/definitions/app.Response"
  1823. }
  1824. }
  1825. }
  1826. }
  1827. },
  1828. "/Ermcp/QueryErmcpHisTradeDetails": {
  1829. "get": {
  1830. "security": [
  1831. {
  1832. "ApiKeyAuth": []
  1833. }
  1834. ],
  1835. "produces": [
  1836. "application/json"
  1837. ],
  1838. "tags": [
  1839. "企业风险管理(app)"
  1840. ],
  1841. "summary": "获取企业风管期货历史成交单信息",
  1842. "parameters": [
  1843. {
  1844. "type": "integer",
  1845. "description": "资金账户ID",
  1846. "name": "accountID",
  1847. "in": "query",
  1848. "required": true
  1849. },
  1850. {
  1851. "type": "integer",
  1852. "description": "商品ID",
  1853. "name": "goodsID",
  1854. "in": "query"
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "买卖方向,0:买 1:卖",
  1859. "name": "buyOrSell",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "关联委托单号",
  1865. "name": "orderID",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "string",
  1870. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1871. "name": "startDate",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "endDate",
  1878. "in": "query"
  1879. }
  1880. ],
  1881. "responses": {
  1882. "200": {
  1883. "description": "OK",
  1884. "schema": {
  1885. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1886. }
  1887. },
  1888. "500": {
  1889. "description": "Internal Server Error",
  1890. "schema": {
  1891. "$ref": "#/definitions/app.Response"
  1892. }
  1893. }
  1894. }
  1895. }
  1896. },
  1897. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1898. "get": {
  1899. "security": [
  1900. {
  1901. "ApiKeyAuth": []
  1902. }
  1903. ],
  1904. "produces": [
  1905. "application/json"
  1906. ],
  1907. "tags": [
  1908. "企业风险管理(app)"
  1909. ],
  1910. "summary": "获取企业风管期货内部持仓单信息",
  1911. "parameters": [
  1912. {
  1913. "type": "integer",
  1914. "description": "资金账户ID",
  1915. "name": "accountID",
  1916. "in": "query",
  1917. "required": true
  1918. },
  1919. {
  1920. "type": "integer",
  1921. "description": "商品ID",
  1922. "name": "goodsID",
  1923. "in": "query"
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "买卖方向,0:买 1:卖",
  1928. "name": "buyOrSell",
  1929. "in": "query"
  1930. }
  1931. ],
  1932. "responses": {
  1933. "200": {
  1934. "description": "OK",
  1935. "schema": {
  1936. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1937. }
  1938. },
  1939. "500": {
  1940. "description": "Internal Server Error",
  1941. "schema": {
  1942. "$ref": "#/definitions/app.Response"
  1943. }
  1944. }
  1945. }
  1946. }
  1947. },
  1948. "/Ermcp/QueryErmcpOrderDetails": {
  1949. "get": {
  1950. "security": [
  1951. {
  1952. "ApiKeyAuth": []
  1953. }
  1954. ],
  1955. "produces": [
  1956. "application/json"
  1957. ],
  1958. "tags": [
  1959. "企业风险管理(app)"
  1960. ],
  1961. "summary": "获取企业风管期货委托单信息",
  1962. "parameters": [
  1963. {
  1964. "type": "integer",
  1965. "description": "资金账户ID",
  1966. "name": "accountID",
  1967. "in": "query",
  1968. "required": true
  1969. }
  1970. ],
  1971. "responses": {
  1972. "200": {
  1973. "description": "OK",
  1974. "schema": {
  1975. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1976. }
  1977. },
  1978. "500": {
  1979. "description": "Internal Server Error",
  1980. "schema": {
  1981. "$ref": "#/definitions/app.Response"
  1982. }
  1983. }
  1984. }
  1985. }
  1986. },
  1987. "/Ermcp/QueryErmcpTradeDetails": {
  1988. "get": {
  1989. "security": [
  1990. {
  1991. "ApiKeyAuth": []
  1992. }
  1993. ],
  1994. "produces": [
  1995. "application/json"
  1996. ],
  1997. "tags": [
  1998. "企业风险管理(app)"
  1999. ],
  2000. "summary": "获取企业风管期货成交单信息",
  2001. "parameters": [
  2002. {
  2003. "type": "integer",
  2004. "description": "资金账户ID",
  2005. "name": "accountID",
  2006. "in": "query",
  2007. "required": true
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "商品ID",
  2012. "name": "goodsID",
  2013. "in": "query"
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "买卖方向,0:买 1:卖",
  2018. "name": "buyOrSell",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "关联委托单号",
  2024. "name": "orderID",
  2025. "in": "query"
  2026. }
  2027. ],
  2028. "responses": {
  2029. "200": {
  2030. "description": "OK",
  2031. "schema": {
  2032. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2033. }
  2034. },
  2035. "500": {
  2036. "description": "Internal Server Error",
  2037. "schema": {
  2038. "$ref": "#/definitions/app.Response"
  2039. }
  2040. }
  2041. }
  2042. }
  2043. },
  2044. "/Ermcp/QueryErmcpTradePosition": {
  2045. "get": {
  2046. "security": [
  2047. {
  2048. "ApiKeyAuth": []
  2049. }
  2050. ],
  2051. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2052. "produces": [
  2053. "application/json"
  2054. ],
  2055. "tags": [
  2056. "企业风险管理(app)"
  2057. ],
  2058. "summary": "获取企业风管期货持仓头寸信息",
  2059. "parameters": [
  2060. {
  2061. "type": "integer",
  2062. "description": "资金账户ID",
  2063. "name": "accountID",
  2064. "in": "query",
  2065. "required": true
  2066. },
  2067. {
  2068. "type": "integer",
  2069. "description": "所属市场ID",
  2070. "name": "marketID",
  2071. "in": "query"
  2072. }
  2073. ],
  2074. "responses": {
  2075. "200": {
  2076. "description": "OK",
  2077. "schema": {
  2078. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2079. }
  2080. },
  2081. "500": {
  2082. "description": "Internal Server Error",
  2083. "schema": {
  2084. "$ref": "#/definitions/app.Response"
  2085. }
  2086. }
  2087. }
  2088. }
  2089. },
  2090. "/Ermcp/QueryExposureDetail": {
  2091. "get": {
  2092. "security": [
  2093. {
  2094. "ApiKeyAuth": []
  2095. }
  2096. ],
  2097. "produces": [
  2098. "application/json"
  2099. ],
  2100. "tags": [
  2101. "企业风险管理(app)"
  2102. ],
  2103. "summary": "查询敞口现货明细",
  2104. "parameters": [
  2105. {
  2106. "type": "integer",
  2107. "description": "所属机构ID",
  2108. "name": "areaUserId",
  2109. "in": "query",
  2110. "required": true
  2111. },
  2112. {
  2113. "type": "integer",
  2114. "description": "套保商品",
  2115. "name": "middleGoodsId",
  2116. "in": "query",
  2117. "required": true
  2118. }
  2119. ],
  2120. "responses": {
  2121. "200": {
  2122. "description": "OK",
  2123. "schema": {
  2124. "type": "array",
  2125. "items": {
  2126. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2127. }
  2128. }
  2129. },
  2130. "500": {
  2131. "description": "Internal Server Error",
  2132. "schema": {
  2133. "$ref": "#/definitions/app.Response"
  2134. }
  2135. }
  2136. }
  2137. }
  2138. },
  2139. "/Ermcp/QueryExposureGoods": {
  2140. "get": {
  2141. "security": [
  2142. {
  2143. "ApiKeyAuth": []
  2144. }
  2145. ],
  2146. "produces": [
  2147. "application/json"
  2148. ],
  2149. "tags": [
  2150. "企业风险管理(app)"
  2151. ],
  2152. "summary": "查询敞口主力合约",
  2153. "parameters": [
  2154. {
  2155. "type": "integer",
  2156. "description": "套保商品id",
  2157. "name": "middlegoodsid",
  2158. "in": "query",
  2159. "required": true
  2160. }
  2161. ],
  2162. "responses": {
  2163. "200": {
  2164. "description": "OK",
  2165. "schema": {
  2166. "type": "array",
  2167. "items": {
  2168. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2169. }
  2170. }
  2171. },
  2172. "500": {
  2173. "description": "Internal Server Error",
  2174. "schema": {
  2175. "$ref": "#/definitions/app.Response"
  2176. }
  2177. }
  2178. }
  2179. }
  2180. },
  2181. "/Ermcp/QueryExposureHedgePosition": {
  2182. "get": {
  2183. "security": [
  2184. {
  2185. "ApiKeyAuth": []
  2186. }
  2187. ],
  2188. "produces": [
  2189. "application/json"
  2190. ],
  2191. "tags": [
  2192. "企业风险管理(app)"
  2193. ],
  2194. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2195. "parameters": [
  2196. {
  2197. "type": "integer",
  2198. "description": "用户id",
  2199. "name": "userid",
  2200. "in": "query",
  2201. "required": true
  2202. }
  2203. ],
  2204. "responses": {
  2205. "200": {
  2206. "description": "OK",
  2207. "schema": {
  2208. "type": "array",
  2209. "items": {
  2210. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2211. }
  2212. }
  2213. },
  2214. "500": {
  2215. "description": "Internal Server Error",
  2216. "schema": {
  2217. "$ref": "#/definitions/app.Response"
  2218. }
  2219. }
  2220. }
  2221. }
  2222. },
  2223. "/Ermcp/QueryExposureHedgePositionDetail": {
  2224. "get": {
  2225. "security": [
  2226. {
  2227. "ApiKeyAuth": []
  2228. }
  2229. ],
  2230. "produces": [
  2231. "application/json"
  2232. ],
  2233. "tags": [
  2234. "企业风险管理(app)"
  2235. ],
  2236. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2237. "parameters": [
  2238. {
  2239. "type": "integer",
  2240. "description": "所属机构ID",
  2241. "name": "userid",
  2242. "in": "query",
  2243. "required": true
  2244. },
  2245. {
  2246. "type": "integer",
  2247. "description": "商品id",
  2248. "name": "goodsId",
  2249. "in": "query",
  2250. "required": true
  2251. }
  2252. ],
  2253. "responses": {
  2254. "200": {
  2255. "description": "OK",
  2256. "schema": {
  2257. "type": "array",
  2258. "items": {
  2259. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2260. }
  2261. }
  2262. },
  2263. "500": {
  2264. "description": "Internal Server Error",
  2265. "schema": {
  2266. "$ref": "#/definitions/app.Response"
  2267. }
  2268. }
  2269. }
  2270. }
  2271. },
  2272. "/Ermcp/QueryExposureSpot": {
  2273. "get": {
  2274. "security": [
  2275. {
  2276. "ApiKeyAuth": []
  2277. }
  2278. ],
  2279. "produces": [
  2280. "application/json"
  2281. ],
  2282. "tags": [
  2283. "企业风险管理(app)"
  2284. ],
  2285. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2286. "parameters": [
  2287. {
  2288. "type": "integer",
  2289. "description": "所属机构ID",
  2290. "name": "areaUserId",
  2291. "in": "query",
  2292. "required": true
  2293. }
  2294. ],
  2295. "responses": {
  2296. "200": {
  2297. "description": "OK",
  2298. "schema": {
  2299. "type": "array",
  2300. "items": {
  2301. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2302. }
  2303. }
  2304. },
  2305. "500": {
  2306. "description": "Internal Server Error",
  2307. "schema": {
  2308. "$ref": "#/definitions/app.Response"
  2309. }
  2310. }
  2311. }
  2312. }
  2313. },
  2314. "/Ermcp/QueryExposureSpotDetail": {
  2315. "get": {
  2316. "security": [
  2317. {
  2318. "ApiKeyAuth": []
  2319. }
  2320. ],
  2321. "produces": [
  2322. "application/json"
  2323. ],
  2324. "tags": [
  2325. "企业风险管理(app)"
  2326. ],
  2327. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2328. "parameters": [
  2329. {
  2330. "type": "integer",
  2331. "description": "所属机构ID",
  2332. "name": "areaUserId",
  2333. "in": "query",
  2334. "required": true
  2335. },
  2336. {
  2337. "type": "integer",
  2338. "description": "现货品种ID",
  2339. "name": "wrstandardId",
  2340. "in": "query",
  2341. "required": true
  2342. }
  2343. ],
  2344. "responses": {
  2345. "200": {
  2346. "description": "OK",
  2347. "schema": {
  2348. "type": "array",
  2349. "items": {
  2350. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2351. }
  2352. }
  2353. },
  2354. "500": {
  2355. "description": "Internal Server Error",
  2356. "schema": {
  2357. "$ref": "#/definitions/app.Response"
  2358. }
  2359. }
  2360. }
  2361. }
  2362. },
  2363. "/Ermcp/QueryFuturesCompany": {
  2364. "get": {
  2365. "security": [
  2366. {
  2367. "ApiKeyAuth": []
  2368. }
  2369. ],
  2370. "produces": [
  2371. "application/json"
  2372. ],
  2373. "tags": [
  2374. "企业风险管理(app)"
  2375. ],
  2376. "summary": "查询期货公司",
  2377. "responses": {
  2378. "200": {
  2379. "description": "OK",
  2380. "schema": {
  2381. "type": "array",
  2382. "items": {
  2383. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2384. }
  2385. }
  2386. },
  2387. "500": {
  2388. "description": "Internal Server Error",
  2389. "schema": {
  2390. "$ref": "#/definitions/app.Response"
  2391. }
  2392. }
  2393. }
  2394. }
  2395. },
  2396. "/Ermcp/QueryGGConvertConfig": {
  2397. "get": {
  2398. "security": [
  2399. {
  2400. "ApiKeyAuth": []
  2401. }
  2402. ],
  2403. "produces": [
  2404. "application/json"
  2405. ],
  2406. "tags": [
  2407. "企业风险管理(app)"
  2408. ],
  2409. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2410. "parameters": [
  2411. {
  2412. "type": "integer",
  2413. "description": "品种id(不填则查所有)",
  2414. "name": "goodsgroupid",
  2415. "in": "query"
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "type": "array",
  2423. "items": {
  2424. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2425. }
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "Internal Server Error",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. }
  2434. }
  2435. }
  2436. },
  2437. "/Ermcp/QueryGoodsBrand": {
  2438. "get": {
  2439. "security": [
  2440. {
  2441. "ApiKeyAuth": []
  2442. }
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "企业风险管理(app)"
  2449. ],
  2450. "summary": "查询商品品牌",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "用户ID",
  2455. "name": "userid",
  2456. "in": "query",
  2457. "required": true
  2458. },
  2459. {
  2460. "type": "integer",
  2461. "description": "现货商品ID",
  2462. "name": "wrstandardid",
  2463. "in": "query"
  2464. }
  2465. ],
  2466. "responses": {
  2467. "200": {
  2468. "description": "OK",
  2469. "schema": {
  2470. "type": "array",
  2471. "items": {
  2472. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2473. }
  2474. }
  2475. },
  2476. "500": {
  2477. "description": "Internal Server Error",
  2478. "schema": {
  2479. "$ref": "#/definitions/app.Response"
  2480. }
  2481. }
  2482. }
  2483. }
  2484. },
  2485. "/Ermcp/QueryGoodsModel": {
  2486. "get": {
  2487. "security": [
  2488. {
  2489. "ApiKeyAuth": []
  2490. }
  2491. ],
  2492. "produces": [
  2493. "application/json"
  2494. ],
  2495. "tags": [
  2496. "企业风险管理(app)"
  2497. ],
  2498. "summary": "查询商品型号",
  2499. "parameters": [
  2500. {
  2501. "type": "integer",
  2502. "description": "用户ID",
  2503. "name": "userid",
  2504. "in": "query",
  2505. "required": true
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "type": "array",
  2513. "items": {
  2514. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2515. }
  2516. }
  2517. },
  2518. "500": {
  2519. "description": "Internal Server Error",
  2520. "schema": {
  2521. "$ref": "#/definitions/app.Response"
  2522. }
  2523. }
  2524. }
  2525. }
  2526. },
  2527. "/Ermcp/QueryHisExposure": {
  2528. "get": {
  2529. "security": [
  2530. {
  2531. "ApiKeyAuth": []
  2532. }
  2533. ],
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "企业风险管理(app)"
  2539. ],
  2540. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2541. "parameters": [
  2542. {
  2543. "type": "integer",
  2544. "description": "用户id",
  2545. "name": "userid",
  2546. "in": "query",
  2547. "required": true
  2548. },
  2549. {
  2550. "type": "integer",
  2551. "description": "每个品种记录数",
  2552. "name": "lastNum",
  2553. "in": "query",
  2554. "required": true
  2555. }
  2556. ],
  2557. "responses": {
  2558. "200": {
  2559. "description": "OK",
  2560. "schema": {
  2561. "type": "array",
  2562. "items": {
  2563. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2564. }
  2565. }
  2566. },
  2567. "500": {
  2568. "description": "Internal Server Error",
  2569. "schema": {
  2570. "$ref": "#/definitions/app.Response"
  2571. }
  2572. }
  2573. }
  2574. }
  2575. },
  2576. "/Ermcp/QueryMiddleGoods": {
  2577. "get": {
  2578. "security": [
  2579. {
  2580. "ApiKeyAuth": []
  2581. }
  2582. ],
  2583. "produces": [
  2584. "application/json"
  2585. ],
  2586. "tags": [
  2587. "企业风险管理(app)"
  2588. ],
  2589. "summary": "查询套保品种(菜单:套保品种)",
  2590. "parameters": [
  2591. {
  2592. "type": "integer",
  2593. "description": "所属机构ID",
  2594. "name": "userid",
  2595. "in": "query",
  2596. "required": true
  2597. },
  2598. {
  2599. "type": "integer",
  2600. "description": "状态 0-停用 1-正常",
  2601. "name": "status",
  2602. "in": "query",
  2603. "required": true
  2604. }
  2605. ],
  2606. "responses": {
  2607. "200": {
  2608. "description": "OK",
  2609. "schema": {
  2610. "type": "array",
  2611. "items": {
  2612. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2613. }
  2614. }
  2615. },
  2616. "500": {
  2617. "description": "Internal Server Error",
  2618. "schema": {
  2619. "$ref": "#/definitions/app.Response"
  2620. }
  2621. }
  2622. }
  2623. }
  2624. },
  2625. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2626. "get": {
  2627. "security": [
  2628. {
  2629. "ApiKeyAuth": []
  2630. }
  2631. ],
  2632. "produces": [
  2633. "application/json"
  2634. ],
  2635. "tags": [
  2636. "企业风险管理(app)"
  2637. ],
  2638. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2639. "parameters": [
  2640. {
  2641. "type": "integer",
  2642. "description": "所属机构ID",
  2643. "name": "userid",
  2644. "in": "query",
  2645. "required": true
  2646. },
  2647. {
  2648. "type": "integer",
  2649. "description": "套保品种id",
  2650. "name": "middlegoodsid",
  2651. "in": "query",
  2652. "required": true
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryMiddleGoodsDetail": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "所属机构ID",
  2692. "name": "userid",
  2693. "in": "query",
  2694. "required": true
  2695. },
  2696. {
  2697. "type": "integer",
  2698. "description": "套保品种id",
  2699. "name": "middlegoodsid",
  2700. "in": "query"
  2701. }
  2702. ],
  2703. "responses": {
  2704. "200": {
  2705. "description": "OK",
  2706. "schema": {
  2707. "type": "array",
  2708. "items": {
  2709. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2710. }
  2711. }
  2712. },
  2713. "500": {
  2714. "description": "Internal Server Error",
  2715. "schema": {
  2716. "$ref": "#/definitions/app.Response"
  2717. }
  2718. }
  2719. }
  2720. }
  2721. },
  2722. "/Ermcp/QueryPendingAuditInfo": {
  2723. "get": {
  2724. "security": [
  2725. {
  2726. "ApiKeyAuth": []
  2727. }
  2728. ],
  2729. "produces": [
  2730. "application/json"
  2731. ],
  2732. "tags": [
  2733. "企业风险管理(app)"
  2734. ],
  2735. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2736. "parameters": [
  2737. {
  2738. "type": "integer",
  2739. "description": "用户ID",
  2740. "name": "UserId",
  2741. "in": "query",
  2742. "required": true
  2743. }
  2744. ],
  2745. "responses": {
  2746. "200": {
  2747. "description": "OK",
  2748. "schema": {
  2749. "type": "array",
  2750. "items": {
  2751. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2752. }
  2753. }
  2754. },
  2755. "500": {
  2756. "description": "Internal Server Error",
  2757. "schema": {
  2758. "$ref": "#/definitions/app.Response"
  2759. }
  2760. }
  2761. }
  2762. }
  2763. },
  2764. "/Ermcp/QueryRealtimeExposure": {
  2765. "get": {
  2766. "security": [
  2767. {
  2768. "ApiKeyAuth": []
  2769. }
  2770. ],
  2771. "produces": [
  2772. "application/json"
  2773. ],
  2774. "tags": [
  2775. "企业风险管理(app)"
  2776. ],
  2777. "summary": "查询实时敞口",
  2778. "parameters": [
  2779. {
  2780. "type": "integer",
  2781. "description": "所属机构ID",
  2782. "name": "userid",
  2783. "in": "query",
  2784. "required": true
  2785. }
  2786. ],
  2787. "responses": {
  2788. "200": {
  2789. "description": "OK",
  2790. "schema": {
  2791. "type": "array",
  2792. "items": {
  2793. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2794. }
  2795. }
  2796. },
  2797. "500": {
  2798. "description": "Internal Server Error",
  2799. "schema": {
  2800. "$ref": "#/definitions/app.Response"
  2801. }
  2802. }
  2803. }
  2804. }
  2805. },
  2806. "/Ermcp/QueryRealtimeExposurePosition": {
  2807. "get": {
  2808. "security": [
  2809. {
  2810. "ApiKeyAuth": []
  2811. }
  2812. ],
  2813. "produces": [
  2814. "application/json"
  2815. ],
  2816. "tags": [
  2817. "企业风险管理(app)"
  2818. ],
  2819. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2820. "parameters": [
  2821. {
  2822. "type": "integer",
  2823. "description": "用户id",
  2824. "name": "userid",
  2825. "in": "query",
  2826. "required": true
  2827. },
  2828. {
  2829. "type": "integer",
  2830. "description": "套保商品ID",
  2831. "name": "middleGoodsId",
  2832. "in": "query",
  2833. "required": true
  2834. }
  2835. ],
  2836. "responses": {
  2837. "200": {
  2838. "description": "OK",
  2839. "schema": {
  2840. "type": "array",
  2841. "items": {
  2842. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2843. }
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryRoleMenu": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "企业风险管理(app)"
  2867. ],
  2868. "summary": "查询角色菜单和权限",
  2869. "parameters": [
  2870. {
  2871. "type": "integer",
  2872. "description": "登录ID",
  2873. "name": "loginid",
  2874. "in": "query",
  2875. "required": true
  2876. },
  2877. {
  2878. "type": "integer",
  2879. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2880. "name": "menutype",
  2881. "in": "query"
  2882. }
  2883. ],
  2884. "responses": {
  2885. "200": {
  2886. "description": "OK",
  2887. "schema": {
  2888. "type": "array",
  2889. "items": {
  2890. "$ref": "#/definitions/models.RoleMenu"
  2891. }
  2892. }
  2893. },
  2894. "500": {
  2895. "description": "Internal Server Error",
  2896. "schema": {
  2897. "$ref": "#/definitions/app.Response"
  2898. }
  2899. }
  2900. }
  2901. }
  2902. },
  2903. "/Ermcp/QueryTradeConfigTMP": {
  2904. "get": {
  2905. "security": [
  2906. {
  2907. "ApiKeyAuth": []
  2908. }
  2909. ],
  2910. "produces": [
  2911. "application/json"
  2912. ],
  2913. "tags": [
  2914. "企业风险管理(app)"
  2915. ],
  2916. "summary": "查询交易模板配置",
  2917. "parameters": [
  2918. {
  2919. "type": "integer",
  2920. "description": "所属机构id",
  2921. "name": "areauserid",
  2922. "in": "query"
  2923. }
  2924. ],
  2925. "responses": {
  2926. "200": {
  2927. "description": "OK",
  2928. "schema": {
  2929. "type": "array",
  2930. "items": {
  2931. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2932. }
  2933. }
  2934. },
  2935. "500": {
  2936. "description": "Internal Server Error",
  2937. "schema": {
  2938. "$ref": "#/definitions/app.Response"
  2939. }
  2940. }
  2941. }
  2942. }
  2943. },
  2944. "/Ermcp/QueryUserInfo": {
  2945. "get": {
  2946. "security": [
  2947. {
  2948. "ApiKeyAuth": []
  2949. }
  2950. ],
  2951. "produces": [
  2952. "application/json"
  2953. ],
  2954. "tags": [
  2955. "企业风险管理(app)"
  2956. ],
  2957. "summary": "查询客户资料",
  2958. "parameters": [
  2959. {
  2960. "type": "integer",
  2961. "description": "所属机构用户ID",
  2962. "name": "MemberUserID",
  2963. "in": "query",
  2964. "required": true
  2965. },
  2966. {
  2967. "type": "integer",
  2968. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2969. "name": "queryType",
  2970. "in": "query",
  2971. "required": true
  2972. }
  2973. ],
  2974. "responses": {
  2975. "200": {
  2976. "description": "OK",
  2977. "schema": {
  2978. "type": "array",
  2979. "items": {
  2980. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2981. }
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/Ermcp/QueryWarehouseInfo": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "企业风险管理(app)"
  3005. ],
  3006. "summary": "查询仓库信息",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "用户ID",
  3011. "name": "userid",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "string",
  3017. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3018. "name": "status",
  3019. "in": "query"
  3020. }
  3021. ],
  3022. "responses": {
  3023. "200": {
  3024. "description": "OK",
  3025. "schema": {
  3026. "type": "array",
  3027. "items": {
  3028. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3029. }
  3030. }
  3031. },
  3032. "500": {
  3033. "description": "Internal Server Error",
  3034. "schema": {
  3035. "$ref": "#/definitions/app.Response"
  3036. }
  3037. }
  3038. }
  3039. }
  3040. },
  3041. "/Ermcp3/QryAreaExpourseContractDetail": {
  3042. "get": {
  3043. "security": [
  3044. {
  3045. "ApiKeyAuth": []
  3046. }
  3047. ],
  3048. "produces": [
  3049. "application/json"
  3050. ],
  3051. "tags": [
  3052. "企业风险管理v3(app)"
  3053. ],
  3054. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3055. "parameters": [
  3056. {
  3057. "type": "integer",
  3058. "description": "用户ID",
  3059. "name": "userid",
  3060. "in": "query",
  3061. "required": true
  3062. },
  3063. {
  3064. "type": "integer",
  3065. "description": "套保商品id",
  3066. "name": "middlegoodsid",
  3067. "in": "query",
  3068. "required": true
  3069. },
  3070. {
  3071. "type": "integer",
  3072. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3073. "name": "cycletype",
  3074. "in": "query",
  3075. "required": true
  3076. },
  3077. {
  3078. "type": "string",
  3079. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3080. "name": "cycletime",
  3081. "in": "query",
  3082. "required": true
  3083. }
  3084. ],
  3085. "responses": {
  3086. "200": {
  3087. "description": "OK",
  3088. "schema": {
  3089. "type": "array",
  3090. "items": {
  3091. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3092. }
  3093. }
  3094. },
  3095. "500": {
  3096. "description": "Internal Server Error",
  3097. "schema": {
  3098. "$ref": "#/definitions/app.Response"
  3099. }
  3100. }
  3101. }
  3102. }
  3103. },
  3104. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3105. "get": {
  3106. "security": [
  3107. {
  3108. "ApiKeyAuth": []
  3109. }
  3110. ],
  3111. "produces": [
  3112. "application/json"
  3113. ],
  3114. "tags": [
  3115. "企业风险管理v3(app)"
  3116. ],
  3117. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3118. "parameters": [
  3119. {
  3120. "type": "integer",
  3121. "description": "用户ID",
  3122. "name": "userid",
  3123. "in": "query",
  3124. "required": true
  3125. },
  3126. {
  3127. "type": "integer",
  3128. "description": "套保商品id",
  3129. "name": "middlegoodsid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3136. "name": "cycletype",
  3137. "in": "query",
  3138. "required": true
  3139. },
  3140. {
  3141. "type": "string",
  3142. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3143. "name": "cycletime",
  3144. "in": "query",
  3145. "required": true
  3146. }
  3147. ],
  3148. "responses": {
  3149. "200": {
  3150. "description": "OK",
  3151. "schema": {
  3152. "type": "array",
  3153. "items": {
  3154. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3155. }
  3156. }
  3157. },
  3158. "500": {
  3159. "description": "Internal Server Error",
  3160. "schema": {
  3161. "$ref": "#/definitions/app.Response"
  3162. }
  3163. }
  3164. }
  3165. }
  3166. },
  3167. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3168. "get": {
  3169. "security": [
  3170. {
  3171. "ApiKeyAuth": []
  3172. }
  3173. ],
  3174. "produces": [
  3175. "application/json"
  3176. ],
  3177. "tags": [
  3178. "企业风险管理v3(app)"
  3179. ],
  3180. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3181. "parameters": [
  3182. {
  3183. "type": "integer",
  3184. "description": "用户ID",
  3185. "name": "userid",
  3186. "in": "query",
  3187. "required": true
  3188. },
  3189. {
  3190. "type": "integer",
  3191. "description": "套保商品id",
  3192. "name": "middlegoodsid",
  3193. "in": "query",
  3194. "required": true
  3195. },
  3196. {
  3197. "type": "integer",
  3198. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3199. "name": "cycletype",
  3200. "in": "query",
  3201. "required": true
  3202. },
  3203. {
  3204. "type": "string",
  3205. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3206. "name": "cycletime",
  3207. "in": "query",
  3208. "required": true
  3209. }
  3210. ],
  3211. "responses": {
  3212. "200": {
  3213. "description": "OK",
  3214. "schema": {
  3215. "type": "array",
  3216. "items": {
  3217. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3218. }
  3219. }
  3220. },
  3221. "500": {
  3222. "description": "Internal Server Error",
  3223. "schema": {
  3224. "$ref": "#/definitions/app.Response"
  3225. }
  3226. }
  3227. }
  3228. }
  3229. },
  3230. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3231. "get": {
  3232. "security": [
  3233. {
  3234. "ApiKeyAuth": []
  3235. }
  3236. ],
  3237. "produces": [
  3238. "application/json"
  3239. ],
  3240. "tags": [
  3241. "企业风险管理v3(app)"
  3242. ],
  3243. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3244. "parameters": [
  3245. {
  3246. "type": "integer",
  3247. "description": "用户ID",
  3248. "name": "userid",
  3249. "in": "query",
  3250. "required": true
  3251. },
  3252. {
  3253. "type": "integer",
  3254. "description": "套保商品id",
  3255. "name": "middlegoodsid",
  3256. "in": "query",
  3257. "required": true
  3258. },
  3259. {
  3260. "type": "integer",
  3261. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3262. "name": "cycletype",
  3263. "in": "query",
  3264. "required": true
  3265. },
  3266. {
  3267. "type": "string",
  3268. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3269. "name": "cycletime",
  3270. "in": "query",
  3271. "required": true
  3272. }
  3273. ],
  3274. "responses": {
  3275. "200": {
  3276. "description": "OK",
  3277. "schema": {
  3278. "type": "array",
  3279. "items": {
  3280. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3281. }
  3282. }
  3283. },
  3284. "500": {
  3285. "description": "Internal Server Error",
  3286. "schema": {
  3287. "$ref": "#/definitions/app.Response"
  3288. }
  3289. }
  3290. }
  3291. }
  3292. },
  3293. "/Ermcp3/QryAreaExpourseReport": {
  3294. "get": {
  3295. "security": [
  3296. {
  3297. "ApiKeyAuth": []
  3298. }
  3299. ],
  3300. "produces": [
  3301. "application/json"
  3302. ],
  3303. "tags": [
  3304. "企业风险管理v3(app)"
  3305. ],
  3306. "summary": "查询敞口报表",
  3307. "parameters": [
  3308. {
  3309. "type": "integer",
  3310. "description": "用户ID",
  3311. "name": "userid",
  3312. "in": "query",
  3313. "required": true
  3314. },
  3315. {
  3316. "type": "integer",
  3317. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3318. "name": "querytype",
  3319. "in": "query",
  3320. "required": true
  3321. },
  3322. {
  3323. "type": "integer",
  3324. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3325. "name": "cycletype",
  3326. "in": "query",
  3327. "required": true
  3328. },
  3329. {
  3330. "type": "string",
  3331. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3332. "name": "cycletime",
  3333. "in": "query",
  3334. "required": true
  3335. }
  3336. ],
  3337. "responses": {
  3338. "200": {
  3339. "description": "OK",
  3340. "schema": {
  3341. "type": "array",
  3342. "items": {
  3343. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3344. }
  3345. }
  3346. },
  3347. "500": {
  3348. "description": "Internal Server Error",
  3349. "schema": {
  3350. "$ref": "#/definitions/app.Response"
  3351. }
  3352. }
  3353. }
  3354. }
  3355. },
  3356. "/Ermcp3/QryAreaSpotplReport": {
  3357. "get": {
  3358. "security": [
  3359. {
  3360. "ApiKeyAuth": []
  3361. }
  3362. ],
  3363. "produces": [
  3364. "application/json"
  3365. ],
  3366. "tags": [
  3367. "企业风险管理v3(app)"
  3368. ],
  3369. "summary": "查询现货报表",
  3370. "parameters": [
  3371. {
  3372. "type": "integer",
  3373. "description": "用户ID",
  3374. "name": "userid",
  3375. "in": "query",
  3376. "required": true
  3377. },
  3378. {
  3379. "type": "integer",
  3380. "description": "查询类型 1-报表 2-报表明细",
  3381. "name": "querytype",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3388. "name": "cycletype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "string",
  3394. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3395. "name": "cycletime",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "integer",
  3401. "description": "现货品种id(明细必填)",
  3402. "name": "deliverygoodsid",
  3403. "in": "query"
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "币种id(明细必填)",
  3408. "name": "currencyid",
  3409. "in": "query"
  3410. }
  3411. ],
  3412. "responses": {
  3413. "200": {
  3414. "description": "OK",
  3415. "schema": {
  3416. "type": "array",
  3417. "items": {
  3418. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3419. }
  3420. }
  3421. },
  3422. "500": {
  3423. "description": "Internal Server Error",
  3424. "schema": {
  3425. "$ref": "#/definitions/app.Response"
  3426. }
  3427. }
  3428. }
  3429. }
  3430. },
  3431. "/Ermcp3/QryAreaStockReport": {
  3432. "get": {
  3433. "security": [
  3434. {
  3435. "ApiKeyAuth": []
  3436. }
  3437. ],
  3438. "produces": [
  3439. "application/json"
  3440. ],
  3441. "tags": [
  3442. "企业风险管理v3(app)"
  3443. ],
  3444. "summary": "查询库存报表",
  3445. "parameters": [
  3446. {
  3447. "type": "integer",
  3448. "description": "用户ID",
  3449. "name": "userid",
  3450. "in": "query",
  3451. "required": true
  3452. },
  3453. {
  3454. "type": "integer",
  3455. "description": "查询类型 1-报表 2-报表明细",
  3456. "name": "querytype",
  3457. "in": "query",
  3458. "required": true
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3463. "name": "cycletype",
  3464. "in": "query",
  3465. "required": true
  3466. },
  3467. {
  3468. "type": "string",
  3469. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3470. "name": "cycletime",
  3471. "in": "query",
  3472. "required": true
  3473. },
  3474. {
  3475. "type": "string",
  3476. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3477. "name": "sumfields",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": "品种ID",
  3483. "name": "deliverygoodsid",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "品类ID",
  3489. "name": "wrstandardid",
  3490. "in": "query"
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "品牌ID",
  3495. "name": "spotgoodsbrandid",
  3496. "in": "query"
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "仓库ID",
  3501. "name": "warehouseinfoid",
  3502. "in": "query"
  3503. }
  3504. ],
  3505. "responses": {
  3506. "200": {
  3507. "description": "OK",
  3508. "schema": {
  3509. "type": "array",
  3510. "items": {
  3511. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3512. }
  3513. }
  3514. },
  3515. "500": {
  3516. "description": "Internal Server Error",
  3517. "schema": {
  3518. "$ref": "#/definitions/app.Response"
  3519. }
  3520. }
  3521. }
  3522. }
  3523. },
  3524. "/Ermcp3/QryAreaSumPL": {
  3525. "get": {
  3526. "security": [
  3527. {
  3528. "ApiKeyAuth": []
  3529. }
  3530. ],
  3531. "produces": [
  3532. "application/json"
  3533. ],
  3534. "tags": [
  3535. "企业风险管理v3(app)"
  3536. ],
  3537. "summary": "查询汇总损益表",
  3538. "parameters": [
  3539. {
  3540. "type": "integer",
  3541. "description": "用户ID",
  3542. "name": "userid",
  3543. "in": "query",
  3544. "required": true
  3545. },
  3546. {
  3547. "type": "integer",
  3548. "description": "查询类型 1-报表 2-报表明细",
  3549. "name": "querytype",
  3550. "in": "query",
  3551. "required": true
  3552. },
  3553. {
  3554. "type": "integer",
  3555. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3556. "name": "cycletype",
  3557. "in": "query",
  3558. "required": true
  3559. },
  3560. {
  3561. "type": "string",
  3562. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3563. "name": "cycletime",
  3564. "in": "query",
  3565. "required": true
  3566. },
  3567. {
  3568. "type": "integer",
  3569. "description": "币种id(明细必填)",
  3570. "name": "currencyid",
  3571. "in": "query"
  3572. }
  3573. ],
  3574. "responses": {
  3575. "200": {
  3576. "description": "OK",
  3577. "schema": {
  3578. "type": "array",
  3579. "items": {
  3580. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3581. }
  3582. }
  3583. },
  3584. "500": {
  3585. "description": "Internal Server Error",
  3586. "schema": {
  3587. "$ref": "#/definitions/app.Response"
  3588. }
  3589. }
  3590. }
  3591. }
  3592. },
  3593. "/Ermcp3/QryFinanceReport": {
  3594. "get": {
  3595. "security": [
  3596. {
  3597. "ApiKeyAuth": []
  3598. }
  3599. ],
  3600. "produces": [
  3601. "application/json"
  3602. ],
  3603. "tags": [
  3604. "企业风险管理v3(app)"
  3605. ],
  3606. "summary": "查询财务报表",
  3607. "parameters": [
  3608. {
  3609. "type": "integer",
  3610. "description": "用户ID",
  3611. "name": "userid",
  3612. "in": "query",
  3613. "required": true
  3614. },
  3615. {
  3616. "type": "integer",
  3617. "description": "查询类型 1-报表 2-报表明细",
  3618. "name": "querytype",
  3619. "in": "query",
  3620. "required": true
  3621. },
  3622. {
  3623. "type": "integer",
  3624. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3625. "name": "cycletype",
  3626. "in": "query",
  3627. "required": true
  3628. },
  3629. {
  3630. "type": "string",
  3631. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3632. "name": "cycletime",
  3633. "in": "query",
  3634. "required": true
  3635. },
  3636. {
  3637. "type": "integer",
  3638. "description": "币种id(报表明细必填)",
  3639. "name": "currencyid",
  3640. "in": "query"
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3645. "name": "sumfields",
  3646. "in": "query"
  3647. }
  3648. ],
  3649. "responses": {
  3650. "200": {
  3651. "description": "OK",
  3652. "schema": {
  3653. "type": "array",
  3654. "items": {
  3655. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3656. }
  3657. }
  3658. },
  3659. "500": {
  3660. "description": "Internal Server Error",
  3661. "schema": {
  3662. "$ref": "#/definitions/app.Response"
  3663. }
  3664. }
  3665. }
  3666. }
  3667. },
  3668. "/Ermcp3/QrySCMiddleGoodsReport": {
  3669. "get": {
  3670. "security": [
  3671. {
  3672. "ApiKeyAuth": []
  3673. }
  3674. ],
  3675. "produces": [
  3676. "application/json"
  3677. ],
  3678. "tags": [
  3679. "企业风险管理v3(app)"
  3680. ],
  3681. "summary": "查询定价报表",
  3682. "parameters": [
  3683. {
  3684. "type": "integer",
  3685. "description": "用户ID",
  3686. "name": "userid",
  3687. "in": "query",
  3688. "required": true
  3689. },
  3690. {
  3691. "type": "integer",
  3692. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3693. "name": "cycletype",
  3694. "in": "query",
  3695. "required": true
  3696. },
  3697. {
  3698. "type": "string",
  3699. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3700. "name": "cycletime",
  3701. "in": "query",
  3702. "required": true
  3703. },
  3704. {
  3705. "type": "integer",
  3706. "description": "合同id",
  3707. "name": "spotcontractid",
  3708. "in": "query"
  3709. },
  3710. {
  3711. "type": "integer",
  3712. "description": "套保品种id",
  3713. "name": "middlegoodsid",
  3714. "in": "query"
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "现货品种id",
  3719. "name": "deliverygoodsid",
  3720. "in": "query"
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "现货商品id",
  3725. "name": "wrstandardid",
  3726. "in": "query"
  3727. },
  3728. {
  3729. "type": "string",
  3730. "description": "合同编号(模糊匹配)",
  3731. "name": "contractno",
  3732. "in": "query"
  3733. }
  3734. ],
  3735. "responses": {
  3736. "200": {
  3737. "description": "OK",
  3738. "schema": {
  3739. "type": "array",
  3740. "items": {
  3741. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3742. }
  3743. }
  3744. },
  3745. "500": {
  3746. "description": "Internal Server Error",
  3747. "schema": {
  3748. "$ref": "#/definitions/app.Response"
  3749. }
  3750. }
  3751. }
  3752. }
  3753. },
  3754. "/Ermcp3/QryTaFutureDataReport": {
  3755. "get": {
  3756. "security": [
  3757. {
  3758. "ApiKeyAuth": []
  3759. }
  3760. ],
  3761. "produces": [
  3762. "application/json"
  3763. ],
  3764. "tags": [
  3765. "企业风险管理v3(app)"
  3766. ],
  3767. "summary": "查询期货报表",
  3768. "parameters": [
  3769. {
  3770. "type": "integer",
  3771. "description": "用户ID",
  3772. "name": "userid",
  3773. "in": "query",
  3774. "required": true
  3775. },
  3776. {
  3777. "type": "integer",
  3778. "description": "查询类型 1-报表 2-报表明细",
  3779. "name": "querytype",
  3780. "in": "query",
  3781. "required": true
  3782. },
  3783. {
  3784. "type": "integer",
  3785. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3786. "name": "cycletype",
  3787. "in": "query",
  3788. "required": true
  3789. },
  3790. {
  3791. "type": "string",
  3792. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3793. "name": "cycletime",
  3794. "in": "query",
  3795. "required": true
  3796. },
  3797. {
  3798. "type": "integer",
  3799. "description": "币种id(查明细必填)",
  3800. "name": "currencyid",
  3801. "in": "query"
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "品种id(查明细必填)",
  3806. "name": "goodsgroupid",
  3807. "in": "query"
  3808. },
  3809. {
  3810. "type": "integer",
  3811. "description": "商品id(查明细必填)",
  3812. "name": "goodsid",
  3813. "in": "query"
  3814. },
  3815. {
  3816. "type": "integer",
  3817. "description": "买卖方向(查明细必填)",
  3818. "name": "buyorsell",
  3819. "in": "query"
  3820. }
  3821. ],
  3822. "responses": {
  3823. "200": {
  3824. "description": "OK",
  3825. "schema": {
  3826. "type": "array",
  3827. "items": {
  3828. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3829. }
  3830. }
  3831. },
  3832. "500": {
  3833. "description": "Internal Server Error",
  3834. "schema": {
  3835. "$ref": "#/definitions/app.Response"
  3836. }
  3837. }
  3838. }
  3839. }
  3840. },
  3841. "/Ermcp3/QueryAreaStock": {
  3842. "get": {
  3843. "security": [
  3844. {
  3845. "ApiKeyAuth": []
  3846. }
  3847. ],
  3848. "produces": [
  3849. "application/json"
  3850. ],
  3851. "tags": [
  3852. "企业风险管理v3(app)"
  3853. ],
  3854. "summary": "查询机构库存(库存管理/当前库存)",
  3855. "parameters": [
  3856. {
  3857. "type": "integer",
  3858. "description": "用户ID",
  3859. "name": "userid",
  3860. "in": "query",
  3861. "required": true
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "type": "array",
  3869. "items": {
  3870. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3871. }
  3872. }
  3873. },
  3874. "500": {
  3875. "description": "Internal Server Error",
  3876. "schema": {
  3877. "$ref": "#/definitions/app.Response"
  3878. }
  3879. }
  3880. }
  3881. }
  3882. },
  3883. "/Ermcp3/QueryAreaStockApply": {
  3884. "get": {
  3885. "security": [
  3886. {
  3887. "ApiKeyAuth": []
  3888. }
  3889. ],
  3890. "produces": [
  3891. "application/json"
  3892. ],
  3893. "tags": [
  3894. "企业风险管理v3(app)"
  3895. ],
  3896. "summary": "查询库存申请(出入库记录|库存审核)",
  3897. "parameters": [
  3898. {
  3899. "type": "integer",
  3900. "description": "用户ID",
  3901. "name": "userid",
  3902. "in": "query",
  3903. "required": true
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "用户类型 2-机构 7-企业成员",
  3908. "name": "usertype",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "现货商品ID",
  3914. "name": "deliverygoodsid",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "string",
  3919. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3920. "name": "inouttype",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "integer",
  3925. "description": "合同ID",
  3926. "name": "spotcontractid",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "品类ID",
  3932. "name": "wrstandardid",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "品牌ID",
  3938. "name": "spotgoodsbrandid",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "integer",
  3943. "description": "仓库ID",
  3944. "name": "warehouseinfoid",
  3945. "in": "query"
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3950. "name": "applystatus",
  3951. "in": "query"
  3952. }
  3953. ],
  3954. "responses": {
  3955. "200": {
  3956. "description": "OK",
  3957. "schema": {
  3958. "type": "array",
  3959. "items": {
  3960. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3961. }
  3962. }
  3963. },
  3964. "500": {
  3965. "description": "Internal Server Error",
  3966. "schema": {
  3967. "$ref": "#/definitions/app.Response"
  3968. }
  3969. }
  3970. }
  3971. }
  3972. },
  3973. "/Ermcp3/QueryAreaStockApplySum": {
  3974. "get": {
  3975. "security": [
  3976. {
  3977. "ApiKeyAuth": []
  3978. }
  3979. ],
  3980. "produces": [
  3981. "application/json"
  3982. ],
  3983. "tags": [
  3984. "企业风险管理v3(app)"
  3985. ],
  3986. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3987. "parameters": [
  3988. {
  3989. "type": "integer",
  3990. "description": "合同ID",
  3991. "name": "spotcontractid",
  3992. "in": "query",
  3993. "required": true
  3994. }
  3995. ],
  3996. "responses": {
  3997. "200": {
  3998. "description": "OK",
  3999. "schema": {
  4000. "type": "array",
  4001. "items": {
  4002. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4003. }
  4004. }
  4005. },
  4006. "500": {
  4007. "description": "Internal Server Error",
  4008. "schema": {
  4009. "$ref": "#/definitions/app.Response"
  4010. }
  4011. }
  4012. }
  4013. }
  4014. },
  4015. "/Ermcp3/QueryDGFactoryItem": {
  4016. "get": {
  4017. "security": [
  4018. {
  4019. "ApiKeyAuth": []
  4020. }
  4021. ],
  4022. "produces": [
  4023. "application/json"
  4024. ],
  4025. "tags": [
  4026. "企业风险管理v3(app)"
  4027. ],
  4028. "summary": "查询品种要素定义项",
  4029. "parameters": [
  4030. {
  4031. "type": "integer",
  4032. "description": "用户id",
  4033. "name": "userid",
  4034. "in": "query"
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "用户类型 2-机构 7-企业成员",
  4039. "name": "usertype",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4045. "name": "dgfactoryitemid",
  4046. "in": "query"
  4047. },
  4048. {
  4049. "type": "integer",
  4050. "description": "现货品种ID",
  4051. "name": "deliverygoodsid",
  4052. "in": "query"
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "要素项类型",
  4057. "name": "dgfactoryitemtypeid",
  4058. "in": "query"
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "顺序",
  4063. "name": "orderindex",
  4064. "in": "query"
  4065. }
  4066. ],
  4067. "responses": {
  4068. "200": {
  4069. "description": "OK",
  4070. "schema": {
  4071. "type": "array",
  4072. "items": {
  4073. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4074. }
  4075. }
  4076. },
  4077. "500": {
  4078. "description": "Internal Server Error",
  4079. "schema": {
  4080. "$ref": "#/definitions/app.Response"
  4081. }
  4082. }
  4083. }
  4084. }
  4085. },
  4086. "/Ermcp3/QueryDeliveryGoods": {
  4087. "get": {
  4088. "security": [
  4089. {
  4090. "ApiKeyAuth": []
  4091. }
  4092. ],
  4093. "produces": [
  4094. "application/json"
  4095. ],
  4096. "tags": [
  4097. "企业风险管理v3(app)"
  4098. ],
  4099. "summary": "查询现货商品",
  4100. "parameters": [
  4101. {
  4102. "type": "integer",
  4103. "description": "用户id",
  4104. "name": "userid",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "用户类型 2-机构 7-企业成员",
  4111. "name": "usertype",
  4112. "in": "query"
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4117. "name": "excludecfg",
  4118. "in": "query"
  4119. }
  4120. ],
  4121. "responses": {
  4122. "200": {
  4123. "description": "OK",
  4124. "schema": {
  4125. "type": "array",
  4126. "items": {
  4127. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4128. }
  4129. }
  4130. },
  4131. "500": {
  4132. "description": "Internal Server Error",
  4133. "schema": {
  4134. "$ref": "#/definitions/app.Response"
  4135. }
  4136. }
  4137. }
  4138. }
  4139. },
  4140. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4141. "get": {
  4142. "security": [
  4143. {
  4144. "ApiKeyAuth": []
  4145. }
  4146. ],
  4147. "produces": [
  4148. "application/json"
  4149. ],
  4150. "tags": [
  4151. "企业风险管理v3(app)"
  4152. ],
  4153. "summary": "查询现货商品详情",
  4154. "parameters": [
  4155. {
  4156. "type": "integer",
  4157. "description": "用户id",
  4158. "name": "userid",
  4159. "in": "query",
  4160. "required": true
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "用户类型 2-机构 7-企业成员",
  4165. "name": "usertype",
  4166. "in": "query"
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "现货商品id",
  4171. "name": "deliverygoodsid",
  4172. "in": "query"
  4173. }
  4174. ],
  4175. "responses": {
  4176. "200": {
  4177. "description": "OK",
  4178. "schema": {
  4179. "type": "array",
  4180. "items": {
  4181. "$ref": "#/definitions/models.XHDeliveryGoods"
  4182. }
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "Internal Server Error",
  4187. "schema": {
  4188. "$ref": "#/definitions/app.Response"
  4189. }
  4190. }
  4191. }
  4192. }
  4193. },
  4194. "/Ermcp3/QueryExposureDetail": {
  4195. "get": {
  4196. "security": [
  4197. {
  4198. "ApiKeyAuth": []
  4199. }
  4200. ],
  4201. "produces": [
  4202. "application/json"
  4203. ],
  4204. "tags": [
  4205. "企业风险管理v3(app)"
  4206. ],
  4207. "summary": "查询敞口现货明细",
  4208. "parameters": [
  4209. {
  4210. "type": "integer",
  4211. "description": "用户id",
  4212. "name": "userid",
  4213. "in": "query",
  4214. "required": true
  4215. },
  4216. {
  4217. "type": "integer",
  4218. "description": "用户类型 2-机构 7-企业成员",
  4219. "name": "usertype",
  4220. "in": "query"
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "套保商品",
  4225. "name": "middlegoodsid",
  4226. "in": "query",
  4227. "required": true
  4228. }
  4229. ],
  4230. "responses": {
  4231. "200": {
  4232. "description": "OK",
  4233. "schema": {
  4234. "type": "array",
  4235. "items": {
  4236. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4237. }
  4238. }
  4239. },
  4240. "500": {
  4241. "description": "Internal Server Error",
  4242. "schema": {
  4243. "$ref": "#/definitions/app.Response"
  4244. }
  4245. }
  4246. }
  4247. }
  4248. },
  4249. "/Ermcp3/QueryExposureSpot": {
  4250. "get": {
  4251. "security": [
  4252. {
  4253. "ApiKeyAuth": []
  4254. }
  4255. ],
  4256. "produces": [
  4257. "application/json"
  4258. ],
  4259. "tags": [
  4260. "企业风险管理v3(app)"
  4261. ],
  4262. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4263. "parameters": [
  4264. {
  4265. "type": "integer",
  4266. "description": "用户id",
  4267. "name": "userid",
  4268. "in": "query",
  4269. "required": true
  4270. },
  4271. {
  4272. "type": "integer",
  4273. "description": "用户类型 2-机构 7-企业成员",
  4274. "name": "usertype",
  4275. "in": "query"
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "OK",
  4281. "schema": {
  4282. "type": "array",
  4283. "items": {
  4284. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4285. }
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/app.Response"
  4292. }
  4293. }
  4294. }
  4295. }
  4296. },
  4297. "/Ermcp3/QueryExposureSpotDetail": {
  4298. "get": {
  4299. "security": [
  4300. {
  4301. "ApiKeyAuth": []
  4302. }
  4303. ],
  4304. "produces": [
  4305. "application/json"
  4306. ],
  4307. "tags": [
  4308. "企业风险管理v3(app)"
  4309. ],
  4310. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4311. "parameters": [
  4312. {
  4313. "type": "integer",
  4314. "description": "用户id",
  4315. "name": "userid",
  4316. "in": "query",
  4317. "required": true
  4318. },
  4319. {
  4320. "type": "integer",
  4321. "description": "用户类型 2-机构 7-企业成员",
  4322. "name": "usertype",
  4323. "in": "query"
  4324. },
  4325. {
  4326. "type": "integer",
  4327. "description": "现货商品ID",
  4328. "name": "wrstandardid",
  4329. "in": "query",
  4330. "required": true
  4331. }
  4332. ],
  4333. "responses": {
  4334. "200": {
  4335. "description": "OK",
  4336. "schema": {
  4337. "type": "array",
  4338. "items": {
  4339. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4340. }
  4341. }
  4342. },
  4343. "500": {
  4344. "description": "Internal Server Error",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. }
  4349. }
  4350. }
  4351. },
  4352. "/Ermcp3/QueryGoodsGroup": {
  4353. "get": {
  4354. "security": [
  4355. {
  4356. "ApiKeyAuth": []
  4357. }
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "企业风险管理v3(app)"
  4364. ],
  4365. "summary": "查询期货商品组",
  4366. "parameters": [
  4367. {
  4368. "type": "integer",
  4369. "description": "用户id",
  4370. "name": "userid",
  4371. "in": "query",
  4372. "required": true
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "用户类型 2-机构 7-企业成员",
  4377. "name": "usertype",
  4378. "in": "query"
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "排除套保品中已关联的商品组 1-排除",
  4383. "name": "excludecfg",
  4384. "in": "query"
  4385. }
  4386. ],
  4387. "responses": {
  4388. "200": {
  4389. "description": "OK",
  4390. "schema": {
  4391. "type": "array",
  4392. "items": {
  4393. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4394. }
  4395. }
  4396. },
  4397. "500": {
  4398. "description": "Internal Server Error",
  4399. "schema": {
  4400. "$ref": "#/definitions/app.Response"
  4401. }
  4402. }
  4403. }
  4404. }
  4405. },
  4406. "/Ermcp3/QueryGoodsWrstandard": {
  4407. "get": {
  4408. "security": [
  4409. {
  4410. "ApiKeyAuth": []
  4411. }
  4412. ],
  4413. "produces": [
  4414. "application/json"
  4415. ],
  4416. "tags": [
  4417. "企业风险管理v3(app)"
  4418. ],
  4419. "summary": "查询商品品类",
  4420. "parameters": [
  4421. {
  4422. "type": "integer",
  4423. "description": "用户id",
  4424. "name": "userid",
  4425. "in": "query",
  4426. "required": true
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "用户类型 2-机构 7-企业成员",
  4431. "name": "usertype",
  4432. "in": "query"
  4433. },
  4434. {
  4435. "type": "integer",
  4436. "description": "现货商品id",
  4437. "name": "deliverygoodsid",
  4438. "in": "query"
  4439. }
  4440. ],
  4441. "responses": {
  4442. "200": {
  4443. "description": "OK",
  4444. "schema": {
  4445. "type": "array",
  4446. "items": {
  4447. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4448. }
  4449. }
  4450. },
  4451. "500": {
  4452. "description": "Internal Server Error",
  4453. "schema": {
  4454. "$ref": "#/definitions/app.Response"
  4455. }
  4456. }
  4457. }
  4458. }
  4459. },
  4460. "/Ermcp3/QueryGoodsbrand": {
  4461. "get": {
  4462. "security": [
  4463. {
  4464. "ApiKeyAuth": []
  4465. }
  4466. ],
  4467. "produces": [
  4468. "application/json"
  4469. ],
  4470. "tags": [
  4471. "企业风险管理v3(app)"
  4472. ],
  4473. "summary": "查询商品品牌",
  4474. "parameters": [
  4475. {
  4476. "type": "integer",
  4477. "description": "用户id",
  4478. "name": "userid",
  4479. "in": "query",
  4480. "required": true
  4481. },
  4482. {
  4483. "type": "integer",
  4484. "description": "用户类型 2-机构 7-企业成员",
  4485. "name": "usertype",
  4486. "in": "query"
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "type": "array",
  4494. "items": {
  4495. "$ref": "#/definitions/models.Ermcp3Brand"
  4496. }
  4497. }
  4498. },
  4499. "500": {
  4500. "description": "Internal Server Error",
  4501. "schema": {
  4502. "$ref": "#/definitions/app.Response"
  4503. }
  4504. }
  4505. }
  4506. }
  4507. },
  4508. "/Ermcp3/QueryHedgePlan": {
  4509. "get": {
  4510. "security": [
  4511. {
  4512. "ApiKeyAuth": []
  4513. }
  4514. ],
  4515. "produces": [
  4516. "application/json"
  4517. ],
  4518. "tags": [
  4519. "企业风险管理v3(app)"
  4520. ],
  4521. "summary": "查询套保计划",
  4522. "parameters": [
  4523. {
  4524. "type": "integer",
  4525. "description": "用户ID",
  4526. "name": "userid",
  4527. "in": "query",
  4528. "required": true
  4529. },
  4530. {
  4531. "type": "integer",
  4532. "description": "用户类型 2-机构 7-企业成员",
  4533. "name": "usertype",
  4534. "in": "query"
  4535. },
  4536. {
  4537. "type": "string",
  4538. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4539. "name": "hedgeplanstatus",
  4540. "in": "query",
  4541. "required": true
  4542. }
  4543. ],
  4544. "responses": {
  4545. "200": {
  4546. "description": "OK",
  4547. "schema": {
  4548. "type": "array",
  4549. "items": {
  4550. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4551. }
  4552. }
  4553. },
  4554. "500": {
  4555. "description": "Internal Server Error",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. }
  4560. }
  4561. }
  4562. },
  4563. "/Ermcp3/QueryInnerTradeLink": {
  4564. "get": {
  4565. "security": [
  4566. {
  4567. "ApiKeyAuth": []
  4568. }
  4569. ],
  4570. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4571. "produces": [
  4572. "application/json"
  4573. ],
  4574. "tags": [
  4575. "企业风险管理v3(app)"
  4576. ],
  4577. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4578. "parameters": [
  4579. {
  4580. "type": "integer",
  4581. "description": "外部成交单号",
  4582. "name": "outtradeid",
  4583. "in": "query",
  4584. "required": true
  4585. }
  4586. ],
  4587. "responses": {
  4588. "200": {
  4589. "description": "OK",
  4590. "schema": {
  4591. "type": "array",
  4592. "items": {
  4593. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4594. }
  4595. }
  4596. },
  4597. "500": {
  4598. "description": "Internal Server Error",
  4599. "schema": {
  4600. "$ref": "#/definitions/app.Response"
  4601. }
  4602. }
  4603. }
  4604. }
  4605. },
  4606. "/Ermcp3/QueryMiddleGoodsDetail": {
  4607. "get": {
  4608. "security": [
  4609. {
  4610. "ApiKeyAuth": []
  4611. }
  4612. ],
  4613. "produces": [
  4614. "application/json"
  4615. ],
  4616. "tags": [
  4617. "企业风险管理v3(app)"
  4618. ],
  4619. "summary": "查询套保品种详情(套保品种/商品详情)",
  4620. "parameters": [
  4621. {
  4622. "type": "integer",
  4623. "description": "用户id",
  4624. "name": "userid",
  4625. "in": "query",
  4626. "required": true
  4627. },
  4628. {
  4629. "type": "integer",
  4630. "description": "用户类型 2-机构 7-企业成员",
  4631. "name": "usertype",
  4632. "in": "query"
  4633. },
  4634. {
  4635. "type": "integer",
  4636. "description": "套保品种id",
  4637. "name": "middlegoodsid",
  4638. "in": "query"
  4639. }
  4640. ],
  4641. "responses": {
  4642. "200": {
  4643. "description": "OK",
  4644. "schema": {
  4645. "type": "array",
  4646. "items": {
  4647. "$ref": "#/definitions/models.TBMiddleGoods"
  4648. }
  4649. }
  4650. },
  4651. "500": {
  4652. "description": "Internal Server Error",
  4653. "schema": {
  4654. "$ref": "#/definitions/app.Response"
  4655. }
  4656. }
  4657. }
  4658. }
  4659. },
  4660. "/Ermcp3/QueryOutTradeLink": {
  4661. "get": {
  4662. "security": [
  4663. {
  4664. "ApiKeyAuth": []
  4665. }
  4666. ],
  4667. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4668. "produces": [
  4669. "application/json"
  4670. ],
  4671. "tags": [
  4672. "企业风险管理v3(app)"
  4673. ],
  4674. "summary": "查询外部成交单关联",
  4675. "parameters": [
  4676. {
  4677. "type": "integer",
  4678. "description": "用户ID(填登录用户的userid)",
  4679. "name": "userid",
  4680. "in": "query",
  4681. "required": true
  4682. },
  4683. {
  4684. "type": "string",
  4685. "description": "外部订单号(模糊匹配)",
  4686. "name": "outtradeid",
  4687. "in": "query"
  4688. },
  4689. {
  4690. "type": "string",
  4691. "description": "合约名称/代码(模糊匹配)",
  4692. "name": "goodsname",
  4693. "in": "query"
  4694. },
  4695. {
  4696. "type": "integer",
  4697. "description": "关联状态 0-未关联 1-已关联",
  4698. "name": "hasinnerorder",
  4699. "in": "query"
  4700. }
  4701. ],
  4702. "responses": {
  4703. "200": {
  4704. "description": "OK",
  4705. "schema": {
  4706. "type": "array",
  4707. "items": {
  4708. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4709. }
  4710. }
  4711. },
  4712. "500": {
  4713. "description": "Internal Server Error",
  4714. "schema": {
  4715. "$ref": "#/definitions/app.Response"
  4716. }
  4717. }
  4718. }
  4719. }
  4720. },
  4721. "/Ermcp3/QueryPaAreaAuditCfg": {
  4722. "get": {
  4723. "security": [
  4724. {
  4725. "ApiKeyAuth": []
  4726. }
  4727. ],
  4728. "produces": [
  4729. "application/json"
  4730. ],
  4731. "tags": [
  4732. "企业风险管理v3(app)"
  4733. ],
  4734. "summary": "查询审核设置",
  4735. "parameters": [
  4736. {
  4737. "type": "integer",
  4738. "description": "用户id",
  4739. "name": "userid",
  4740. "in": "query",
  4741. "required": true
  4742. }
  4743. ],
  4744. "responses": {
  4745. "200": {
  4746. "description": "OK",
  4747. "schema": {
  4748. "type": "array",
  4749. "items": {
  4750. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4751. }
  4752. }
  4753. },
  4754. "500": {
  4755. "description": "Internal Server Error",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. }
  4760. }
  4761. }
  4762. },
  4763. "/Ermcp3/QueryPaAreaSubject": {
  4764. "get": {
  4765. "security": [
  4766. {
  4767. "ApiKeyAuth": []
  4768. }
  4769. ],
  4770. "produces": [
  4771. "application/json"
  4772. ],
  4773. "tags": [
  4774. "企业风险管理v3(app)"
  4775. ],
  4776. "summary": "查询交易主体",
  4777. "parameters": [
  4778. {
  4779. "type": "integer",
  4780. "description": "用户id",
  4781. "name": "userid",
  4782. "in": "query",
  4783. "required": true
  4784. },
  4785. {
  4786. "type": "integer",
  4787. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4788. "name": "subjectid",
  4789. "in": "query"
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "主体类型 - 1:交易主体 2:业务部门",
  4794. "name": "subjecttype",
  4795. "in": "query"
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "主体状态 - 1:正常 2: 停用",
  4800. "name": "subjectstatus",
  4801. "in": "query"
  4802. }
  4803. ],
  4804. "responses": {
  4805. "200": {
  4806. "description": "OK",
  4807. "schema": {
  4808. "type": "array",
  4809. "items": {
  4810. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4811. }
  4812. }
  4813. },
  4814. "500": {
  4815. "description": "Internal Server Error",
  4816. "schema": {
  4817. "$ref": "#/definitions/app.Response"
  4818. }
  4819. }
  4820. }
  4821. }
  4822. },
  4823. "/Ermcp3/QueryPaTradeLink": {
  4824. "get": {
  4825. "security": [
  4826. {
  4827. "ApiKeyAuth": []
  4828. }
  4829. ],
  4830. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4831. "produces": [
  4832. "application/json"
  4833. ],
  4834. "tags": [
  4835. "企业风险管理v3(app)"
  4836. ],
  4837. "summary": "查询期现单据关联",
  4838. "parameters": [
  4839. {
  4840. "type": "integer",
  4841. "description": "用户ID",
  4842. "name": "userid",
  4843. "in": "query",
  4844. "required": true
  4845. }
  4846. ],
  4847. "responses": {
  4848. "200": {
  4849. "description": "OK",
  4850. "schema": {
  4851. "type": "array",
  4852. "items": {
  4853. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4854. }
  4855. }
  4856. },
  4857. "500": {
  4858. "description": "Internal Server Error",
  4859. "schema": {
  4860. "$ref": "#/definitions/app.Response"
  4861. }
  4862. }
  4863. }
  4864. }
  4865. },
  4866. "/Ermcp3/QueryPaTradeLinkDetail": {
  4867. "get": {
  4868. "security": [
  4869. {
  4870. "ApiKeyAuth": []
  4871. }
  4872. ],
  4873. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "企业风险管理v3(app)"
  4879. ],
  4880. "summary": "查询期现关联记录",
  4881. "parameters": [
  4882. {
  4883. "type": "integer",
  4884. "description": "用户ID(填登录用户的userid)",
  4885. "name": "userid",
  4886. "in": "query",
  4887. "required": true
  4888. },
  4889. {
  4890. "type": "integer",
  4891. "description": "关联状态 1:成功 2:失败",
  4892. "name": "linkstatus",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "string",
  4897. "description": "期货订单号(模糊匹配)",
  4898. "name": "tradeid",
  4899. "in": "query"
  4900. },
  4901. {
  4902. "type": "string",
  4903. "description": "现货编号(模糊匹配)",
  4904. "name": "contractno",
  4905. "in": "query"
  4906. },
  4907. {
  4908. "type": "string",
  4909. "description": "期货账户(模糊匹配)",
  4910. "name": "taname",
  4911. "in": "query"
  4912. }
  4913. ],
  4914. "responses": {
  4915. "200": {
  4916. "description": "OK",
  4917. "schema": {
  4918. "type": "array",
  4919. "items": {
  4920. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4921. }
  4922. }
  4923. },
  4924. "500": {
  4925. "description": "Internal Server Error",
  4926. "schema": {
  4927. "$ref": "#/definitions/app.Response"
  4928. }
  4929. }
  4930. }
  4931. }
  4932. },
  4933. "/Ermcp3/QueryParamChangeApp": {
  4934. "get": {
  4935. "security": [
  4936. {
  4937. "ApiKeyAuth": []
  4938. }
  4939. ],
  4940. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4941. "produces": [
  4942. "application/json"
  4943. ],
  4944. "tags": [
  4945. "企业风险管理v3(app)"
  4946. ],
  4947. "summary": "查询现货商品参数变更申请(流水)",
  4948. "parameters": [
  4949. {
  4950. "type": "integer",
  4951. "description": "用户ID",
  4952. "name": "userid",
  4953. "in": "query",
  4954. "required": true
  4955. },
  4956. {
  4957. "type": "integer",
  4958. "description": "现货品种id",
  4959. "name": "deliverygoodsid",
  4960. "in": "query"
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "现货商品id",
  4965. "name": "wrstandardid",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "套保商品id",
  4971. "name": "middlegoodsid",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "integer",
  4976. "description": "操作类型 1:新增 2:修改",
  4977. "name": "operatetype",
  4978. "in": "query"
  4979. },
  4980. {
  4981. "type": "integer",
  4982. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4983. "name": "paramchangetype",
  4984. "in": "query"
  4985. },
  4986. {
  4987. "type": "string",
  4988. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4989. "name": "ftstatus",
  4990. "in": "query"
  4991. }
  4992. ],
  4993. "responses": {
  4994. "200": {
  4995. "description": "OK",
  4996. "schema": {
  4997. "type": "array",
  4998. "items": {
  4999. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5000. }
  5001. }
  5002. },
  5003. "500": {
  5004. "description": "Internal Server Error",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. }
  5009. }
  5010. }
  5011. },
  5012. "/Ermcp3/QueryRootUserAccount": {
  5013. "get": {
  5014. "security": [
  5015. {
  5016. "ApiKeyAuth": []
  5017. }
  5018. ],
  5019. "produces": [
  5020. "application/json"
  5021. ],
  5022. "tags": [
  5023. "企业风险管理v3(app)"
  5024. ],
  5025. "summary": "查询顶级用户信息",
  5026. "parameters": [
  5027. {
  5028. "type": "integer",
  5029. "description": "用户ID",
  5030. "name": "userid",
  5031. "in": "query",
  5032. "required": true
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "type": "array",
  5040. "items": {
  5041. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5042. }
  5043. }
  5044. },
  5045. "500": {
  5046. "description": "Internal Server Error",
  5047. "schema": {
  5048. "$ref": "#/definitions/app.Response"
  5049. }
  5050. }
  5051. }
  5052. }
  5053. },
  5054. "/Ermcp3/QuerySCMiddleGoods": {
  5055. "get": {
  5056. "security": [
  5057. {
  5058. "ApiKeyAuth": []
  5059. }
  5060. ],
  5061. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5062. "produces": [
  5063. "application/json"
  5064. ],
  5065. "tags": [
  5066. "企业风险管理v3(app)"
  5067. ],
  5068. "summary": "查询现货订单",
  5069. "parameters": [
  5070. {
  5071. "type": "integer",
  5072. "description": "用户ID(填登录用户的userid)",
  5073. "name": "userid",
  5074. "in": "query",
  5075. "required": true
  5076. },
  5077. {
  5078. "type": "integer",
  5079. "description": "买卖方向 0-买 1-卖",
  5080. "name": "buyorsell",
  5081. "in": "query",
  5082. "required": true
  5083. },
  5084. {
  5085. "type": "integer",
  5086. "description": "商品组id",
  5087. "name": "goodsgroupid",
  5088. "in": "query",
  5089. "required": true
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "业务类型 1:套保 2:套利",
  5094. "name": "biztype",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "string",
  5099. "description": "现货编号(模糊匹配)",
  5100. "name": "contractno",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "string",
  5105. "description": "对手方(模糊匹配)",
  5106. "name": "customername",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "string",
  5111. "description": "现货商品名称(模糊匹配)",
  5112. "name": "wrstandardname",
  5113. "in": "query"
  5114. }
  5115. ],
  5116. "responses": {
  5117. "200": {
  5118. "description": "OK",
  5119. "schema": {
  5120. "type": "array",
  5121. "items": {
  5122. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5123. }
  5124. }
  5125. },
  5126. "500": {
  5127. "description": "Internal Server Error",
  5128. "schema": {
  5129. "$ref": "#/definitions/app.Response"
  5130. }
  5131. }
  5132. }
  5133. }
  5134. },
  5135. "/Ermcp3/QuerySpotContract": {
  5136. "get": {
  5137. "security": [
  5138. {
  5139. "ApiKeyAuth": []
  5140. }
  5141. ],
  5142. "produces": [
  5143. "application/json"
  5144. ],
  5145. "tags": [
  5146. "企业风险管理v3(app)"
  5147. ],
  5148. "summary": "查询现货合同",
  5149. "parameters": [
  5150. {
  5151. "type": "integer",
  5152. "description": "用户id(当指定contractid, userid可不填)",
  5153. "name": "userid",
  5154. "in": "query",
  5155. "required": true
  5156. },
  5157. {
  5158. "type": "integer",
  5159. "description": "用户类型 2-机构 7-企业成员",
  5160. "name": "usertype",
  5161. "in": "query"
  5162. },
  5163. {
  5164. "type": "integer",
  5165. "description": "合同类型 1-采购, -1-销售",
  5166. "name": "contracttype",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "integer",
  5171. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  5172. "name": "querytype",
  5173. "in": "query"
  5174. },
  5175. {
  5176. "type": "string",
  5177. "description": "合同ID(SpotContractId)",
  5178. "name": "contractid",
  5179. "in": "query"
  5180. },
  5181. {
  5182. "type": "string",
  5183. "description": "合同编号(模糊匹配)",
  5184. "name": "contractno",
  5185. "in": "query"
  5186. },
  5187. {
  5188. "type": "string",
  5189. "description": "商品名称(模糊匹配)",
  5190. "name": "wrstandardname",
  5191. "in": "query"
  5192. }
  5193. ],
  5194. "responses": {
  5195. "200": {
  5196. "description": "OK",
  5197. "schema": {
  5198. "type": "array",
  5199. "items": {
  5200. "$ref": "#/definitions/models.Ermcp3Contract"
  5201. }
  5202. }
  5203. },
  5204. "500": {
  5205. "description": "Internal Server Error",
  5206. "schema": {
  5207. "$ref": "#/definitions/app.Response"
  5208. }
  5209. }
  5210. }
  5211. }
  5212. },
  5213. "/Ermcp3/QuerySpotContractBS": {
  5214. "get": {
  5215. "security": [
  5216. {
  5217. "ApiKeyAuth": []
  5218. }
  5219. ],
  5220. "produces": [
  5221. "application/json"
  5222. ],
  5223. "tags": [
  5224. "企业风险管理v3(app)"
  5225. ],
  5226. "summary": "查询合同(采购/销售)",
  5227. "parameters": [
  5228. {
  5229. "type": "integer",
  5230. "description": "用户id",
  5231. "name": "userid",
  5232. "in": "query",
  5233. "required": true
  5234. },
  5235. {
  5236. "type": "integer",
  5237. "description": "用户类型 2-机构 7-企业成员",
  5238. "name": "usertype",
  5239. "in": "query"
  5240. },
  5241. {
  5242. "type": "integer",
  5243. "description": "合同类型 1-采购, -1-销售",
  5244. "name": "contracttype",
  5245. "in": "query",
  5246. "required": true
  5247. },
  5248. {
  5249. "type": "integer",
  5250. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5251. "name": "querytype",
  5252. "in": "query",
  5253. "required": true
  5254. },
  5255. {
  5256. "type": "string",
  5257. "description": "合同ID(SpotContractId)",
  5258. "name": "contractid",
  5259. "in": "query"
  5260. }
  5261. ],
  5262. "responses": {
  5263. "200": {
  5264. "description": "OK",
  5265. "schema": {
  5266. "type": "array",
  5267. "items": {
  5268. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5269. }
  5270. }
  5271. },
  5272. "500": {
  5273. "description": "Internal Server Error",
  5274. "schema": {
  5275. "$ref": "#/definitions/app.Response"
  5276. }
  5277. }
  5278. }
  5279. }
  5280. },
  5281. "/Ermcp3/QuerySpotGoodsPrice": {
  5282. "get": {
  5283. "security": [
  5284. {
  5285. "ApiKeyAuth": []
  5286. }
  5287. ],
  5288. "produces": [
  5289. "application/json"
  5290. ],
  5291. "tags": [
  5292. "企业风险管理v3(app)"
  5293. ],
  5294. "summary": "查询现货市价(现货市价)",
  5295. "parameters": [
  5296. {
  5297. "type": "integer",
  5298. "description": "用户ID",
  5299. "name": "userid",
  5300. "in": "query",
  5301. "required": true
  5302. }
  5303. ],
  5304. "responses": {
  5305. "200": {
  5306. "description": "OK",
  5307. "schema": {
  5308. "type": "array",
  5309. "items": {
  5310. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5311. }
  5312. }
  5313. },
  5314. "500": {
  5315. "description": "Internal Server Error",
  5316. "schema": {
  5317. "$ref": "#/definitions/app.Response"
  5318. }
  5319. }
  5320. }
  5321. }
  5322. },
  5323. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5324. "get": {
  5325. "security": [
  5326. {
  5327. "ApiKeyAuth": []
  5328. }
  5329. ],
  5330. "produces": [
  5331. "application/json"
  5332. ],
  5333. "tags": [
  5334. "企业风险管理v3(app)"
  5335. ],
  5336. "summary": "查询现货市价详情(现货市价/详情)",
  5337. "parameters": [
  5338. {
  5339. "type": "integer",
  5340. "description": "用户ID",
  5341. "name": "userid",
  5342. "in": "query",
  5343. "required": true
  5344. },
  5345. {
  5346. "type": "integer",
  5347. "description": "现货商品ID",
  5348. "name": "deliverygoodsid",
  5349. "in": "query",
  5350. "required": true
  5351. },
  5352. {
  5353. "type": "integer",
  5354. "description": "品牌ID",
  5355. "name": "brandid",
  5356. "in": "query"
  5357. },
  5358. {
  5359. "type": "integer",
  5360. "description": "品类ID",
  5361. "name": "wrstandardid",
  5362. "in": "query"
  5363. }
  5364. ],
  5365. "responses": {
  5366. "200": {
  5367. "description": "OK",
  5368. "schema": {
  5369. "type": "array",
  5370. "items": {
  5371. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5372. }
  5373. }
  5374. },
  5375. "500": {
  5376. "description": "Internal Server Error",
  5377. "schema": {
  5378. "$ref": "#/definitions/app.Response"
  5379. }
  5380. }
  5381. }
  5382. }
  5383. },
  5384. "/Ermcp3/QuerySubTaaccount": {
  5385. "get": {
  5386. "security": [
  5387. {
  5388. "ApiKeyAuth": []
  5389. }
  5390. ],
  5391. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5392. "produces": [
  5393. "application/json"
  5394. ],
  5395. "tags": [
  5396. "企业风险管理v3(app)"
  5397. ],
  5398. "summary": "查询期货子账户",
  5399. "parameters": [
  5400. {
  5401. "type": "integer",
  5402. "description": "母账号id",
  5403. "name": "parentaccountid",
  5404. "in": "query"
  5405. },
  5406. {
  5407. "type": "string",
  5408. "description": "母账号代码",
  5409. "name": "parentaccountcode",
  5410. "in": "query"
  5411. }
  5412. ],
  5413. "responses": {
  5414. "200": {
  5415. "description": "OK",
  5416. "schema": {
  5417. "type": "array",
  5418. "items": {
  5419. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5420. }
  5421. }
  5422. },
  5423. "500": {
  5424. "description": "Internal Server Error",
  5425. "schema": {
  5426. "$ref": "#/definitions/app.Response"
  5427. }
  5428. }
  5429. }
  5430. }
  5431. },
  5432. "/Erms2/QueryArbitrageStrategy": {
  5433. "get": {
  5434. "security": [
  5435. {
  5436. "ApiKeyAuth": []
  5437. }
  5438. ],
  5439. "produces": [
  5440. "application/json"
  5441. ],
  5442. "tags": [
  5443. "风险管理"
  5444. ],
  5445. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5446. "parameters": [
  5447. {
  5448. "type": "integer",
  5449. "description": "账户ID",
  5450. "name": "userid",
  5451. "in": "query",
  5452. "required": true
  5453. },
  5454. {
  5455. "type": "string",
  5456. "description": "商品组ID(品种ID)",
  5457. "name": "goodsgroupid",
  5458. "in": "query"
  5459. }
  5460. ],
  5461. "responses": {
  5462. "200": {
  5463. "description": "OK",
  5464. "schema": {
  5465. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5466. }
  5467. },
  5468. "500": {
  5469. "description": "Internal Server Error",
  5470. "schema": {
  5471. "$ref": "#/definitions/app.Response"
  5472. }
  5473. }
  5474. }
  5475. }
  5476. },
  5477. "/Erms2/QueryInnerTradeDetail": {
  5478. "get": {
  5479. "security": [
  5480. {
  5481. "ApiKeyAuth": []
  5482. }
  5483. ],
  5484. "produces": [
  5485. "application/json"
  5486. ],
  5487. "tags": [
  5488. "风险管理"
  5489. ],
  5490. "summary": "查询内部成交单信息",
  5491. "parameters": [
  5492. {
  5493. "type": "integer",
  5494. "description": "资金账户",
  5495. "name": "accountid",
  5496. "in": "query",
  5497. "required": true
  5498. }
  5499. ],
  5500. "responses": {
  5501. "200": {
  5502. "description": "OK",
  5503. "schema": {
  5504. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5505. }
  5506. },
  5507. "500": {
  5508. "description": "Internal Server Error",
  5509. "schema": {
  5510. "$ref": "#/definitions/app.Response"
  5511. }
  5512. }
  5513. }
  5514. }
  5515. },
  5516. "/Erms2/QuerySpotContract": {
  5517. "get": {
  5518. "security": [
  5519. {
  5520. "ApiKeyAuth": []
  5521. }
  5522. ],
  5523. "produces": [
  5524. "application/json"
  5525. ],
  5526. "tags": [
  5527. "风险管理"
  5528. ],
  5529. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5530. "parameters": [
  5531. {
  5532. "type": "integer",
  5533. "description": "策略申请ID",
  5534. "name": "asapplyid",
  5535. "in": "query",
  5536. "required": true
  5537. },
  5538. {
  5539. "type": "integer",
  5540. "description": "现货合同ID",
  5541. "name": "spotcontractid",
  5542. "in": "query"
  5543. }
  5544. ],
  5545. "responses": {
  5546. "200": {
  5547. "description": "OK",
  5548. "schema": {
  5549. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5550. }
  5551. },
  5552. "500": {
  5553. "description": "Internal Server Error",
  5554. "schema": {
  5555. "$ref": "#/definitions/app.Response"
  5556. }
  5557. }
  5558. }
  5559. }
  5560. },
  5561. "/Erms3/AddErms2ASApply": {
  5562. "post": {
  5563. "security": [
  5564. {
  5565. "ApiKeyAuth": []
  5566. }
  5567. ],
  5568. "produces": [
  5569. "application/json"
  5570. ],
  5571. "tags": [
  5572. "风险管理v3"
  5573. ],
  5574. "summary": "新增期现套利业务申请",
  5575. "parameters": [
  5576. {
  5577. "description": "申请参数",
  5578. "name": "jsonBody",
  5579. "in": "body",
  5580. "required": true,
  5581. "schema": {
  5582. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5583. }
  5584. }
  5585. ],
  5586. "responses": {
  5587. "200": {
  5588. "description": "OK",
  5589. "schema": {
  5590. "$ref": "#/definitions/app.Response"
  5591. }
  5592. },
  5593. "500": {
  5594. "description": "Internal Server Error",
  5595. "schema": {
  5596. "$ref": "#/definitions/app.Response"
  5597. }
  5598. }
  5599. }
  5600. }
  5601. },
  5602. "/Erms3/AddErms2SpotTradeApply": {
  5603. "post": {
  5604. "security": [
  5605. {
  5606. "ApiKeyAuth": []
  5607. }
  5608. ],
  5609. "produces": [
  5610. "application/json"
  5611. ],
  5612. "tags": [
  5613. "风险管理v3"
  5614. ],
  5615. "summary": "新增现货贸易业务申请",
  5616. "parameters": [
  5617. {
  5618. "description": "申请参数",
  5619. "name": "jsonBody",
  5620. "in": "body",
  5621. "required": true,
  5622. "schema": {
  5623. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5624. }
  5625. }
  5626. ],
  5627. "responses": {
  5628. "200": {
  5629. "description": "OK",
  5630. "schema": {
  5631. "$ref": "#/definitions/app.Response"
  5632. }
  5633. },
  5634. "500": {
  5635. "description": "Internal Server Error",
  5636. "schema": {
  5637. "$ref": "#/definitions/app.Response"
  5638. }
  5639. }
  5640. }
  5641. }
  5642. },
  5643. "/Erms3/AddSpotContractApply": {
  5644. "post": {
  5645. "security": [
  5646. {
  5647. "ApiKeyAuth": []
  5648. }
  5649. ],
  5650. "produces": [
  5651. "application/json"
  5652. ],
  5653. "tags": [
  5654. "风险管理v3"
  5655. ],
  5656. "summary": "新增现货合同申请",
  5657. "parameters": [
  5658. {
  5659. "description": "申请参数",
  5660. "name": "jsonBody",
  5661. "in": "body",
  5662. "required": true,
  5663. "schema": {
  5664. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5665. }
  5666. }
  5667. ],
  5668. "responses": {
  5669. "200": {
  5670. "description": "OK",
  5671. "schema": {
  5672. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5673. }
  5674. },
  5675. "500": {
  5676. "description": "Internal Server Error",
  5677. "schema": {
  5678. "$ref": "#/definitions/app.Response"
  5679. }
  5680. }
  5681. }
  5682. }
  5683. },
  5684. "/Erms3/AddUserInfoApply": {
  5685. "post": {
  5686. "security": [
  5687. {
  5688. "ApiKeyAuth": []
  5689. }
  5690. ],
  5691. "produces": [
  5692. "application/json"
  5693. ],
  5694. "tags": [
  5695. "风险管理v3"
  5696. ],
  5697. "summary": "新增客户申请",
  5698. "parameters": [
  5699. {
  5700. "description": "用户信息",
  5701. "name": "jsonBody",
  5702. "in": "body",
  5703. "required": true,
  5704. "schema": {
  5705. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5706. }
  5707. }
  5708. ],
  5709. "responses": {
  5710. "200": {
  5711. "description": "OK",
  5712. "schema": {
  5713. "$ref": "#/definitions/app.Response"
  5714. }
  5715. },
  5716. "500": {
  5717. "description": "Internal Server Error",
  5718. "schema": {
  5719. "$ref": "#/definitions/app.Response"
  5720. }
  5721. }
  5722. }
  5723. }
  5724. },
  5725. "/Erms3/DeleteUserInfoApply": {
  5726. "get": {
  5727. "security": [
  5728. {
  5729. "ApiKeyAuth": []
  5730. }
  5731. ],
  5732. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5733. "produces": [
  5734. "application/json"
  5735. ],
  5736. "tags": [
  5737. "风险管理v3"
  5738. ],
  5739. "summary": "删除客户申请",
  5740. "parameters": [
  5741. {
  5742. "type": "integer",
  5743. "description": "用户ID",
  5744. "name": "userID",
  5745. "in": "query",
  5746. "required": true
  5747. }
  5748. ],
  5749. "responses": {
  5750. "200": {
  5751. "description": "OK",
  5752. "schema": {
  5753. "$ref": "#/definitions/app.Response"
  5754. }
  5755. },
  5756. "500": {
  5757. "description": "Internal Server Error",
  5758. "schema": {
  5759. "$ref": "#/definitions/app.Response"
  5760. }
  5761. }
  5762. }
  5763. }
  5764. },
  5765. "/Erms3/ModifyUserInfoApply": {
  5766. "post": {
  5767. "security": [
  5768. {
  5769. "ApiKeyAuth": []
  5770. }
  5771. ],
  5772. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5773. "produces": [
  5774. "application/json"
  5775. ],
  5776. "tags": [
  5777. "风险管理v3"
  5778. ],
  5779. "summary": "修改客户申请",
  5780. "parameters": [
  5781. {
  5782. "description": "用户信息",
  5783. "name": "jsonBody",
  5784. "in": "body",
  5785. "required": true,
  5786. "schema": {
  5787. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5788. }
  5789. }
  5790. ],
  5791. "responses": {
  5792. "200": {
  5793. "description": "OK",
  5794. "schema": {
  5795. "$ref": "#/definitions/app.Response"
  5796. }
  5797. },
  5798. "500": {
  5799. "description": "Internal Server Error",
  5800. "schema": {
  5801. "$ref": "#/definitions/app.Response"
  5802. }
  5803. }
  5804. }
  5805. }
  5806. },
  5807. "/Erms3/QueryBusinessInfo": {
  5808. "get": {
  5809. "security": [
  5810. {
  5811. "ApiKeyAuth": []
  5812. }
  5813. ],
  5814. "produces": [
  5815. "application/json"
  5816. ],
  5817. "tags": [
  5818. "风险管理v3"
  5819. ],
  5820. "summary": "查询业务表单数据",
  5821. "parameters": [
  5822. {
  5823. "type": "string",
  5824. "description": "资金账号ID列表,用逗号分隔",
  5825. "name": "accountids",
  5826. "in": "query",
  5827. "required": true
  5828. },
  5829. {
  5830. "type": "integer",
  5831. "description": "状态,0为未结束 1为已结束",
  5832. "name": "status",
  5833. "in": "query",
  5834. "required": true
  5835. }
  5836. ],
  5837. "responses": {
  5838. "200": {
  5839. "description": "OK",
  5840. "schema": {
  5841. "type": "array",
  5842. "items": {
  5843. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5844. }
  5845. }
  5846. },
  5847. "500": {
  5848. "description": "Internal Server Error",
  5849. "schema": {
  5850. "$ref": "#/definitions/app.Response"
  5851. }
  5852. }
  5853. }
  5854. }
  5855. },
  5856. "/Erms3/QueryPendingAuditContract": {
  5857. "get": {
  5858. "security": [
  5859. {
  5860. "ApiKeyAuth": []
  5861. }
  5862. ],
  5863. "produces": [
  5864. "application/json"
  5865. ],
  5866. "tags": [
  5867. "风险管理v3"
  5868. ],
  5869. "summary": "查询待审核合同",
  5870. "parameters": [
  5871. {
  5872. "type": "string",
  5873. "description": "资金账号ID列表,逗号隔开",
  5874. "name": "accountids",
  5875. "in": "query",
  5876. "required": true
  5877. },
  5878. {
  5879. "type": "integer",
  5880. "description": "合同类型 1-采购 -1-销售",
  5881. "name": "contracttype",
  5882. "in": "query",
  5883. "required": true
  5884. },
  5885. {
  5886. "type": "integer",
  5887. "description": "合同模式 1-普通 2-回购",
  5888. "name": "contractmode",
  5889. "in": "query",
  5890. "required": true
  5891. }
  5892. ],
  5893. "responses": {
  5894. "200": {
  5895. "description": "OK",
  5896. "schema": {
  5897. "type": "array",
  5898. "items": {
  5899. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5900. }
  5901. }
  5902. },
  5903. "500": {
  5904. "description": "Internal Server Error",
  5905. "schema": {
  5906. "$ref": "#/definitions/app.Response"
  5907. }
  5908. }
  5909. }
  5910. }
  5911. },
  5912. "/Erms3/QueryPendingBusiness": {
  5913. "get": {
  5914. "security": [
  5915. {
  5916. "ApiKeyAuth": []
  5917. }
  5918. ],
  5919. "produces": [
  5920. "application/json"
  5921. ],
  5922. "tags": [
  5923. "风险管理v3"
  5924. ],
  5925. "summary": "查询待审核基差贸易业务",
  5926. "parameters": [
  5927. {
  5928. "type": "string",
  5929. "description": "资金账号ID列表,逗号隔开",
  5930. "name": "accountids",
  5931. "in": "query",
  5932. "required": true
  5933. }
  5934. ],
  5935. "responses": {
  5936. "200": {
  5937. "description": "OK",
  5938. "schema": {
  5939. "type": "array",
  5940. "items": {
  5941. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5942. }
  5943. }
  5944. },
  5945. "500": {
  5946. "description": "Internal Server Error",
  5947. "schema": {
  5948. "$ref": "#/definitions/app.Response"
  5949. }
  5950. }
  5951. }
  5952. }
  5953. },
  5954. "/Erms3/QuerySpotContractAppleForm": {
  5955. "get": {
  5956. "security": [
  5957. {
  5958. "ApiKeyAuth": []
  5959. }
  5960. ],
  5961. "produces": [
  5962. "application/json"
  5963. ],
  5964. "tags": [
  5965. "风险管理v3"
  5966. ],
  5967. "summary": "查询合同申请表单数据",
  5968. "parameters": [
  5969. {
  5970. "type": "integer",
  5971. "description": "登录账号",
  5972. "name": "loginID",
  5973. "in": "query",
  5974. "required": true
  5975. }
  5976. ],
  5977. "responses": {
  5978. "200": {
  5979. "description": "OK",
  5980. "schema": {
  5981. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5982. }
  5983. },
  5984. "500": {
  5985. "description": "Internal Server Error",
  5986. "schema": {
  5987. "$ref": "#/definitions/app.Response"
  5988. }
  5989. }
  5990. }
  5991. }
  5992. },
  5993. "/Erms3/QuerySpotContractDetail": {
  5994. "get": {
  5995. "security": [
  5996. {
  5997. "ApiKeyAuth": []
  5998. }
  5999. ],
  6000. "produces": [
  6001. "application/json"
  6002. ],
  6003. "tags": [
  6004. "风险管理v3"
  6005. ],
  6006. "summary": "查询合同详细信息",
  6007. "parameters": [
  6008. {
  6009. "type": "string",
  6010. "description": "资金账号ID列表,用逗号分隔",
  6011. "name": "accountids",
  6012. "in": "query",
  6013. "required": true
  6014. },
  6015. {
  6016. "type": "integer",
  6017. "description": "合同类型,1为采购合同 -1为销售合同",
  6018. "name": "contracttype",
  6019. "in": "query",
  6020. "required": true
  6021. },
  6022. {
  6023. "type": "integer",
  6024. "description": "合同模式,1为普通合同 2为回购销售合同",
  6025. "name": "contractmode",
  6026. "in": "query",
  6027. "required": true
  6028. },
  6029. {
  6030. "type": "integer",
  6031. "description": "状态,0为履约中 1为已完成",
  6032. "name": "status",
  6033. "in": "query",
  6034. "required": true
  6035. }
  6036. ],
  6037. "responses": {
  6038. "200": {
  6039. "description": "OK",
  6040. "schema": {
  6041. "type": "array",
  6042. "items": {
  6043. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6044. }
  6045. }
  6046. },
  6047. "500": {
  6048. "description": "Internal Server Error",
  6049. "schema": {
  6050. "$ref": "#/definitions/app.Response"
  6051. }
  6052. }
  6053. }
  6054. }
  6055. },
  6056. "/Erms3/QueryUserInfoApplies": {
  6057. "get": {
  6058. "security": [
  6059. {
  6060. "ApiKeyAuth": []
  6061. }
  6062. ],
  6063. "produces": [
  6064. "application/json"
  6065. ],
  6066. "tags": [
  6067. "风险管理v3"
  6068. ],
  6069. "summary": "客户申请信息查询",
  6070. "parameters": [
  6071. {
  6072. "type": "integer",
  6073. "description": "页码",
  6074. "name": "page",
  6075. "in": "query"
  6076. },
  6077. {
  6078. "type": "integer",
  6079. "description": "每页条数",
  6080. "name": "pagesize",
  6081. "in": "query"
  6082. },
  6083. {
  6084. "type": "string",
  6085. "description": "客户名称,支持模糊查询",
  6086. "name": "userName",
  6087. "in": "query"
  6088. }
  6089. ],
  6090. "responses": {
  6091. "200": {
  6092. "description": "OK",
  6093. "schema": {
  6094. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6095. }
  6096. },
  6097. "500": {
  6098. "description": "Internal Server Error",
  6099. "schema": {
  6100. "$ref": "#/definitions/app.Response"
  6101. }
  6102. }
  6103. }
  6104. }
  6105. },
  6106. "/Erms3/QueryUserInfos": {
  6107. "get": {
  6108. "security": [
  6109. {
  6110. "ApiKeyAuth": []
  6111. }
  6112. ],
  6113. "produces": [
  6114. "application/json"
  6115. ],
  6116. "tags": [
  6117. "风险管理v3"
  6118. ],
  6119. "summary": "客户信息查询",
  6120. "parameters": [
  6121. {
  6122. "type": "integer",
  6123. "description": "页码",
  6124. "name": "page",
  6125. "in": "query"
  6126. },
  6127. {
  6128. "type": "integer",
  6129. "description": "每页条数",
  6130. "name": "pagesize",
  6131. "in": "query"
  6132. },
  6133. {
  6134. "type": "string",
  6135. "description": "客户名称,支持模糊查询",
  6136. "name": "userName",
  6137. "in": "query"
  6138. }
  6139. ],
  6140. "responses": {
  6141. "200": {
  6142. "description": "OK",
  6143. "schema": {
  6144. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6145. }
  6146. },
  6147. "500": {
  6148. "description": "Internal Server Error",
  6149. "schema": {
  6150. "$ref": "#/definitions/app.Response"
  6151. }
  6152. }
  6153. }
  6154. }
  6155. },
  6156. "/HSBY/GetHsbyMyCount": {
  6157. "get": {
  6158. "security": [
  6159. {
  6160. "ApiKeyAuth": []
  6161. }
  6162. ],
  6163. "description": "说明: 不包括已完成的数量。",
  6164. "produces": [
  6165. "application/json"
  6166. ],
  6167. "tags": [
  6168. "定制【海商报业】"
  6169. ],
  6170. "summary": "获取我的订单与包裹数量",
  6171. "parameters": [
  6172. {
  6173. "type": "string",
  6174. "description": "资金账户列表,格式:1,2,3",
  6175. "name": "accountIDs",
  6176. "in": "query",
  6177. "required": true
  6178. }
  6179. ],
  6180. "responses": {
  6181. "200": {
  6182. "description": "OK",
  6183. "schema": {
  6184. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6185. }
  6186. },
  6187. "500": {
  6188. "description": "Internal Server Error",
  6189. "schema": {
  6190. "$ref": "#/definitions/app.Response"
  6191. }
  6192. }
  6193. }
  6194. }
  6195. },
  6196. "/HSBY/QueryClientFixedADConfigs": {
  6197. "get": {
  6198. "security": [
  6199. {
  6200. "ApiKeyAuth": []
  6201. }
  6202. ],
  6203. "produces": [
  6204. "application/json"
  6205. ],
  6206. "tags": [
  6207. "定制【海商报业】"
  6208. ],
  6209. "summary": "获取终端固定广告配置",
  6210. "responses": {
  6211. "200": {
  6212. "description": "OK",
  6213. "schema": {
  6214. "$ref": "#/definitions/models.Clientfixedadconfig"
  6215. }
  6216. },
  6217. "500": {
  6218. "description": "Internal Server Error",
  6219. "schema": {
  6220. "$ref": "#/definitions/app.Response"
  6221. }
  6222. }
  6223. }
  6224. }
  6225. },
  6226. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6227. "get": {
  6228. "security": [
  6229. {
  6230. "ApiKeyAuth": []
  6231. }
  6232. ],
  6233. "produces": [
  6234. "application/json"
  6235. ],
  6236. "tags": [
  6237. "定制【海商报业】"
  6238. ],
  6239. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6240. "parameters": [
  6241. {
  6242. "type": "integer",
  6243. "description": "页码",
  6244. "name": "page",
  6245. "in": "query"
  6246. },
  6247. {
  6248. "type": "integer",
  6249. "description": "每页条数",
  6250. "name": "pagesize",
  6251. "in": "query"
  6252. },
  6253. {
  6254. "type": "string",
  6255. "description": "资金账户列表,格式:1,2,3",
  6256. "name": "accountIDs",
  6257. "in": "query",
  6258. "required": true
  6259. }
  6260. ],
  6261. "responses": {
  6262. "200": {
  6263. "description": "OK",
  6264. "schema": {
  6265. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6266. }
  6267. },
  6268. "500": {
  6269. "description": "Internal Server Error",
  6270. "schema": {
  6271. "$ref": "#/definitions/app.Response"
  6272. }
  6273. }
  6274. }
  6275. }
  6276. },
  6277. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6278. "get": {
  6279. "security": [
  6280. {
  6281. "ApiKeyAuth": []
  6282. }
  6283. ],
  6284. "description": "说明:查询结果已按委托价格和委托时间排序",
  6285. "produces": [
  6286. "application/json"
  6287. ],
  6288. "tags": [
  6289. "定制【海商报业】"
  6290. ],
  6291. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6292. "parameters": [
  6293. {
  6294. "type": "integer",
  6295. "description": "商品ID",
  6296. "name": "goodsID",
  6297. "in": "query",
  6298. "required": true
  6299. },
  6300. {
  6301. "type": "string",
  6302. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6303. "name": "accountIDs",
  6304. "in": "query"
  6305. },
  6306. {
  6307. "type": "integer",
  6308. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6309. "name": "buyOrSell",
  6310. "in": "query"
  6311. },
  6312. {
  6313. "type": "number",
  6314. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6315. "name": "price",
  6316. "in": "query"
  6317. },
  6318. {
  6319. "type": "integer",
  6320. "description": "档位,不传则默认为3档",
  6321. "name": "speed",
  6322. "in": "query"
  6323. }
  6324. ],
  6325. "responses": {
  6326. "200": {
  6327. "description": "OK",
  6328. "schema": {
  6329. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6330. }
  6331. },
  6332. "500": {
  6333. "description": "Internal Server Error",
  6334. "schema": {
  6335. "$ref": "#/definitions/app.Response"
  6336. }
  6337. }
  6338. }
  6339. }
  6340. },
  6341. "/HSBY/QueryHsbyListingGoodsDetail": {
  6342. "get": {
  6343. "security": [
  6344. {
  6345. "ApiKeyAuth": []
  6346. }
  6347. ],
  6348. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6349. "produces": [
  6350. "application/json"
  6351. ],
  6352. "tags": [
  6353. "定制【海商报业】"
  6354. ],
  6355. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6356. "parameters": [
  6357. {
  6358. "type": "integer",
  6359. "description": "商品ID",
  6360. "name": "goodsID",
  6361. "in": "query",
  6362. "required": true
  6363. },
  6364. {
  6365. "type": "integer",
  6366. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6367. "name": "accountID",
  6368. "in": "query"
  6369. }
  6370. ],
  6371. "responses": {
  6372. "200": {
  6373. "description": "OK",
  6374. "schema": {
  6375. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6376. }
  6377. },
  6378. "500": {
  6379. "description": "Internal Server Error",
  6380. "schema": {
  6381. "$ref": "#/definitions/app.Response"
  6382. }
  6383. }
  6384. }
  6385. }
  6386. },
  6387. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6388. "get": {
  6389. "security": [
  6390. {
  6391. "ApiKeyAuth": []
  6392. }
  6393. ],
  6394. "produces": [
  6395. "application/json"
  6396. ],
  6397. "tags": [
  6398. "定制【海商报业】"
  6399. ],
  6400. "summary": "查询三级市场(商城)商品信息详情",
  6401. "parameters": [
  6402. {
  6403. "type": "integer",
  6404. "description": "委托单号",
  6405. "name": "orderID",
  6406. "in": "query",
  6407. "required": true
  6408. },
  6409. {
  6410. "type": "integer",
  6411. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6412. "name": "accountID",
  6413. "in": "query"
  6414. }
  6415. ],
  6416. "responses": {
  6417. "200": {
  6418. "description": "OK",
  6419. "schema": {
  6420. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6421. }
  6422. },
  6423. "500": {
  6424. "description": "Internal Server Error",
  6425. "schema": {
  6426. "$ref": "#/definitions/app.Response"
  6427. }
  6428. }
  6429. }
  6430. }
  6431. },
  6432. "/HSBY/QueryHsbyMarketGoodses": {
  6433. "get": {
  6434. "security": [
  6435. {
  6436. "ApiKeyAuth": []
  6437. }
  6438. ],
  6439. "produces": [
  6440. "application/json"
  6441. ],
  6442. "tags": [
  6443. "定制【海商报业】"
  6444. ],
  6445. "summary": "查询特卖商品列表(三级商城)",
  6446. "parameters": [
  6447. {
  6448. "type": "integer",
  6449. "description": "页码",
  6450. "name": "page",
  6451. "in": "query"
  6452. },
  6453. {
  6454. "type": "integer",
  6455. "description": "每页条数",
  6456. "name": "pagesize",
  6457. "in": "query"
  6458. },
  6459. {
  6460. "type": "string",
  6461. "description": "市场ID列表,格式:1,2,3",
  6462. "name": "marketIDs",
  6463. "in": "query",
  6464. "required": true
  6465. },
  6466. {
  6467. "type": "integer",
  6468. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6469. "name": "accountID",
  6470. "in": "query",
  6471. "required": true
  6472. },
  6473. {
  6474. "type": "integer",
  6475. "description": "类别ID",
  6476. "name": "categoryID",
  6477. "in": "query"
  6478. },
  6479. {
  6480. "type": "string",
  6481. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6482. "name": "goodsIDs",
  6483. "in": "query"
  6484. },
  6485. {
  6486. "type": "integer",
  6487. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6488. "name": "couponTypeID",
  6489. "in": "query"
  6490. }
  6491. ],
  6492. "responses": {
  6493. "200": {
  6494. "description": "OK",
  6495. "schema": {
  6496. "$ref": "#/definitions/models.HsbyMarketGoods"
  6497. }
  6498. },
  6499. "500": {
  6500. "description": "Internal Server Error",
  6501. "schema": {
  6502. "$ref": "#/definitions/app.Response"
  6503. }
  6504. }
  6505. }
  6506. }
  6507. },
  6508. "/HSBY/QueryHsbyMarkets": {
  6509. "get": {
  6510. "security": [
  6511. {
  6512. "ApiKeyAuth": []
  6513. }
  6514. ],
  6515. "produces": [
  6516. "application/json"
  6517. ],
  6518. "tags": [
  6519. "定制【海商报业】"
  6520. ],
  6521. "summary": "查询海商报业相关市场信息",
  6522. "responses": {
  6523. "200": {
  6524. "description": "OK",
  6525. "schema": {
  6526. "$ref": "#/definitions/models.HsbyMarketInfo"
  6527. }
  6528. },
  6529. "500": {
  6530. "description": "Internal Server Error",
  6531. "schema": {
  6532. "$ref": "#/definitions/app.Response"
  6533. }
  6534. }
  6535. }
  6536. }
  6537. },
  6538. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6539. "get": {
  6540. "security": [
  6541. {
  6542. "ApiKeyAuth": []
  6543. }
  6544. ],
  6545. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6546. "produces": [
  6547. "application/json"
  6548. ],
  6549. "tags": [
  6550. "定制【海商报业】"
  6551. ],
  6552. "summary": "查询“我的订单”信息",
  6553. "parameters": [
  6554. {
  6555. "type": "string",
  6556. "description": "资金账户列表,格式:1,2,3",
  6557. "name": "accountIDs",
  6558. "in": "query",
  6559. "required": true
  6560. }
  6561. ],
  6562. "responses": {
  6563. "200": {
  6564. "description": "OK",
  6565. "schema": {
  6566. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6567. }
  6568. },
  6569. "500": {
  6570. "description": "Internal Server Error",
  6571. "schema": {
  6572. "$ref": "#/definitions/app.Response"
  6573. }
  6574. }
  6575. }
  6576. }
  6577. },
  6578. "/HSBY/QueryHsbyMyGoods": {
  6579. "get": {
  6580. "security": [
  6581. {
  6582. "ApiKeyAuth": []
  6583. }
  6584. ],
  6585. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6586. "produces": [
  6587. "application/json"
  6588. ],
  6589. "tags": [
  6590. "定制【海商报业】"
  6591. ],
  6592. "summary": "查询“我的商品”信息",
  6593. "parameters": [
  6594. {
  6595. "type": "string",
  6596. "description": "资金账户列表,格式:1,2,3",
  6597. "name": "accountIDs",
  6598. "in": "query",
  6599. "required": true
  6600. }
  6601. ],
  6602. "responses": {
  6603. "200": {
  6604. "description": "OK",
  6605. "schema": {
  6606. "$ref": "#/definitions/models.HsbyMyGoods"
  6607. }
  6608. },
  6609. "500": {
  6610. "description": "Internal Server Error",
  6611. "schema": {
  6612. "$ref": "#/definitions/app.Response"
  6613. }
  6614. }
  6615. }
  6616. }
  6617. },
  6618. "/HSBY/QueryHsbyMyPackages": {
  6619. "get": {
  6620. "security": [
  6621. {
  6622. "ApiKeyAuth": []
  6623. }
  6624. ],
  6625. "produces": [
  6626. "application/json"
  6627. ],
  6628. "tags": [
  6629. "定制【海商报业】"
  6630. ],
  6631. "summary": "查询我的包裹信息",
  6632. "parameters": [
  6633. {
  6634. "type": "string",
  6635. "description": "资金账户列表,格式:1,2,3",
  6636. "name": "accountIDs",
  6637. "in": "query",
  6638. "required": true
  6639. },
  6640. {
  6641. "type": "integer",
  6642. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6643. "name": "takeOrderStatus",
  6644. "in": "query"
  6645. }
  6646. ],
  6647. "responses": {
  6648. "200": {
  6649. "description": "OK",
  6650. "schema": {
  6651. "$ref": "#/definitions/models.HsbyMyPackage"
  6652. }
  6653. },
  6654. "500": {
  6655. "description": "Internal Server Error",
  6656. "schema": {
  6657. "$ref": "#/definitions/app.Response"
  6658. }
  6659. }
  6660. }
  6661. }
  6662. },
  6663. "/HSBY/QueryHsbyPreGoodsDetail": {
  6664. "get": {
  6665. "security": [
  6666. {
  6667. "ApiKeyAuth": []
  6668. }
  6669. ],
  6670. "produces": [
  6671. "application/json"
  6672. ],
  6673. "tags": [
  6674. "定制【海商报业】"
  6675. ],
  6676. "summary": "查询一级市场(预售)商品信息详情",
  6677. "parameters": [
  6678. {
  6679. "type": "integer",
  6680. "description": "商品ID",
  6681. "name": "goodsID",
  6682. "in": "query",
  6683. "required": true
  6684. },
  6685. {
  6686. "type": "integer",
  6687. "description": "资金账户,主要用于获取预售商品购买上限",
  6688. "name": "accountID",
  6689. "in": "query"
  6690. }
  6691. ],
  6692. "responses": {
  6693. "200": {
  6694. "description": "OK",
  6695. "schema": {
  6696. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6697. }
  6698. },
  6699. "500": {
  6700. "description": "Internal Server Error",
  6701. "schema": {
  6702. "$ref": "#/definitions/app.Response"
  6703. }
  6704. }
  6705. }
  6706. }
  6707. },
  6708. "/HSBY/QueryHsbyPreGoodses": {
  6709. "get": {
  6710. "security": [
  6711. {
  6712. "ApiKeyAuth": []
  6713. }
  6714. ],
  6715. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6716. "produces": [
  6717. "application/json"
  6718. ],
  6719. "tags": [
  6720. "定制【海商报业】"
  6721. ],
  6722. "summary": "查询新品上市商品列表(一级市场预售)",
  6723. "parameters": [
  6724. {
  6725. "type": "integer",
  6726. "description": "页码",
  6727. "name": "page",
  6728. "in": "query"
  6729. },
  6730. {
  6731. "type": "integer",
  6732. "description": "每页条数",
  6733. "name": "pagesize",
  6734. "in": "query"
  6735. },
  6736. {
  6737. "type": "string",
  6738. "description": "市场ID列表,格式:1,2,3",
  6739. "name": "marketIDs",
  6740. "in": "query",
  6741. "required": true
  6742. },
  6743. {
  6744. "type": "integer",
  6745. "description": "目的地(省)ID",
  6746. "name": "descProvinceID",
  6747. "in": "query"
  6748. },
  6749. {
  6750. "type": "integer",
  6751. "description": "目的地(市)ID",
  6752. "name": "descCityID",
  6753. "in": "query"
  6754. }
  6755. ],
  6756. "responses": {
  6757. "200": {
  6758. "description": "OK",
  6759. "schema": {
  6760. "$ref": "#/definitions/models.HsbyPreGoods"
  6761. }
  6762. },
  6763. "500": {
  6764. "description": "Internal Server Error",
  6765. "schema": {
  6766. "$ref": "#/definitions/app.Response"
  6767. }
  6768. }
  6769. }
  6770. }
  6771. },
  6772. "/HSBY/QueryHsbySellMyDetails": {
  6773. "get": {
  6774. "security": [
  6775. {
  6776. "ApiKeyAuth": []
  6777. }
  6778. ],
  6779. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6780. "produces": [
  6781. "application/json"
  6782. ],
  6783. "tags": [
  6784. "定制【海商报业】"
  6785. ],
  6786. "summary": "查询\"我的闲置\"单据信息",
  6787. "parameters": [
  6788. {
  6789. "type": "integer",
  6790. "description": "页码",
  6791. "name": "page",
  6792. "in": "query"
  6793. },
  6794. {
  6795. "type": "integer",
  6796. "description": "每页条数",
  6797. "name": "pagesize",
  6798. "in": "query"
  6799. },
  6800. {
  6801. "type": "string",
  6802. "description": "资金账户列表,格式:1,2,3",
  6803. "name": "accountIDs",
  6804. "in": "query",
  6805. "required": true
  6806. },
  6807. {
  6808. "type": "integer",
  6809. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6810. "name": "orderType",
  6811. "in": "query"
  6812. }
  6813. ],
  6814. "responses": {
  6815. "200": {
  6816. "description": "OK",
  6817. "schema": {
  6818. "$ref": "#/definitions/models.HsbySellMyDetail"
  6819. }
  6820. },
  6821. "500": {
  6822. "description": "Internal Server Error",
  6823. "schema": {
  6824. "$ref": "#/definitions/app.Response"
  6825. }
  6826. }
  6827. }
  6828. }
  6829. },
  6830. "/HSBY/QueryHsbyTopGoodses": {
  6831. "get": {
  6832. "security": [
  6833. {
  6834. "ApiKeyAuth": []
  6835. }
  6836. ],
  6837. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6838. "produces": [
  6839. "application/json"
  6840. ],
  6841. "tags": [
  6842. "定制【海商报业】"
  6843. ],
  6844. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6845. "parameters": [
  6846. {
  6847. "type": "integer",
  6848. "description": "页码",
  6849. "name": "page",
  6850. "in": "query"
  6851. },
  6852. {
  6853. "type": "integer",
  6854. "description": "每页条数",
  6855. "name": "pagesize",
  6856. "in": "query"
  6857. },
  6858. {
  6859. "type": "string",
  6860. "description": "市场ID列表,格式:1,2,3",
  6861. "name": "marketIDs",
  6862. "in": "query",
  6863. "required": true
  6864. },
  6865. {
  6866. "type": "integer",
  6867. "description": "目的地(省)ID",
  6868. "name": "descProvinceID",
  6869. "in": "query"
  6870. },
  6871. {
  6872. "type": "integer",
  6873. "description": "目的地(市)ID",
  6874. "name": "descCityID",
  6875. "in": "query"
  6876. }
  6877. ],
  6878. "responses": {
  6879. "200": {
  6880. "description": "OK",
  6881. "schema": {
  6882. "$ref": "#/definitions/models.HsbyTopGoods"
  6883. }
  6884. },
  6885. "500": {
  6886. "description": "Internal Server Error",
  6887. "schema": {
  6888. "$ref": "#/definitions/app.Response"
  6889. }
  6890. }
  6891. }
  6892. }
  6893. },
  6894. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6895. "get": {
  6896. "security": [
  6897. {
  6898. "ApiKeyAuth": []
  6899. }
  6900. ],
  6901. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6902. "produces": [
  6903. "application/json"
  6904. ],
  6905. "tags": [
  6906. "定制【海商报业】"
  6907. ],
  6908. "summary": "查询游客三级市场(商城)商品信息详情",
  6909. "parameters": [
  6910. {
  6911. "type": "integer",
  6912. "description": "商品ID",
  6913. "name": "goodsID",
  6914. "in": "query",
  6915. "required": true
  6916. }
  6917. ],
  6918. "responses": {
  6919. "200": {
  6920. "description": "OK",
  6921. "schema": {
  6922. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6923. }
  6924. },
  6925. "500": {
  6926. "description": "Internal Server Error",
  6927. "schema": {
  6928. "$ref": "#/definitions/app.Response"
  6929. }
  6930. }
  6931. }
  6932. }
  6933. },
  6934. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6935. "get": {
  6936. "security": [
  6937. {
  6938. "ApiKeyAuth": []
  6939. }
  6940. ],
  6941. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6942. "produces": [
  6943. "application/json"
  6944. ],
  6945. "tags": [
  6946. "定制【海商报业】"
  6947. ],
  6948. "summary": "查询游客特卖商品列表(三级商城)",
  6949. "parameters": [
  6950. {
  6951. "type": "integer",
  6952. "description": "页码",
  6953. "name": "page",
  6954. "in": "query"
  6955. },
  6956. {
  6957. "type": "integer",
  6958. "description": "每页条数",
  6959. "name": "pagesize",
  6960. "in": "query"
  6961. },
  6962. {
  6963. "type": "string",
  6964. "description": "市场ID列表,格式:1,2,3",
  6965. "name": "marketIDs",
  6966. "in": "query",
  6967. "required": true
  6968. },
  6969. {
  6970. "type": "integer",
  6971. "description": "类别ID",
  6972. "name": "categoryID",
  6973. "in": "query"
  6974. },
  6975. {
  6976. "type": "string",
  6977. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6978. "name": "goodsIDs",
  6979. "in": "query"
  6980. }
  6981. ],
  6982. "responses": {
  6983. "200": {
  6984. "description": "OK",
  6985. "schema": {
  6986. "$ref": "#/definitions/models.HsbyMarketGoods"
  6987. }
  6988. },
  6989. "500": {
  6990. "description": "Internal Server Error",
  6991. "schema": {
  6992. "$ref": "#/definitions/app.Response"
  6993. }
  6994. }
  6995. }
  6996. }
  6997. },
  6998. "/HSBY/QueryMyCollectionOrders": {
  6999. "get": {
  7000. "security": [
  7001. {
  7002. "ApiKeyAuth": []
  7003. }
  7004. ],
  7005. "produces": [
  7006. "application/json"
  7007. ],
  7008. "tags": [
  7009. "定制【海商报业】"
  7010. ],
  7011. "summary": "我的闲置中收款信息查询",
  7012. "parameters": [
  7013. {
  7014. "type": "integer",
  7015. "description": "页码",
  7016. "name": "page",
  7017. "in": "query"
  7018. },
  7019. {
  7020. "type": "integer",
  7021. "description": "每页条数",
  7022. "name": "pagesize",
  7023. "in": "query"
  7024. },
  7025. {
  7026. "type": "string",
  7027. "description": "资金账户,格式:1,2,3",
  7028. "name": "accountIDs",
  7029. "in": "query",
  7030. "required": true
  7031. }
  7032. ],
  7033. "responses": {
  7034. "200": {
  7035. "description": "OK",
  7036. "schema": {
  7037. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7038. }
  7039. },
  7040. "500": {
  7041. "description": "Internal Server Error",
  7042. "schema": {
  7043. "$ref": "#/definitions/app.Response"
  7044. }
  7045. }
  7046. }
  7047. }
  7048. },
  7049. "/HSBY/QueryMyCouponHolds": {
  7050. "get": {
  7051. "security": [
  7052. {
  7053. "ApiKeyAuth": []
  7054. }
  7055. ],
  7056. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7057. "produces": [
  7058. "application/json"
  7059. ],
  7060. "tags": [
  7061. "定制【海商报业】"
  7062. ],
  7063. "summary": "我的优惠卷持仓查询",
  7064. "parameters": [
  7065. {
  7066. "type": "string",
  7067. "description": "资金账户列表,格式:1,2,3",
  7068. "name": "accountIDs",
  7069. "in": "query",
  7070. "required": true
  7071. },
  7072. {
  7073. "type": "string",
  7074. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7075. "name": "holdStatus",
  7076. "in": "query"
  7077. }
  7078. ],
  7079. "responses": {
  7080. "200": {
  7081. "description": "OK",
  7082. "schema": {
  7083. "$ref": "#/definitions/models.MyCouponHold"
  7084. }
  7085. },
  7086. "500": {
  7087. "description": "Internal Server Error",
  7088. "schema": {
  7089. "$ref": "#/definitions/app.Response"
  7090. }
  7091. }
  7092. }
  7093. }
  7094. },
  7095. "/HSBY/QueryMyCoupons": {
  7096. "get": {
  7097. "security": [
  7098. {
  7099. "ApiKeyAuth": []
  7100. }
  7101. ],
  7102. "produces": [
  7103. "application/json"
  7104. ],
  7105. "tags": [
  7106. "定制【海商报业】"
  7107. ],
  7108. "summary": "我的优惠卷查询",
  7109. "parameters": [
  7110. {
  7111. "type": "string",
  7112. "description": "资金账户列表,格式:1,2,3",
  7113. "name": "accountIDs",
  7114. "in": "query",
  7115. "required": true
  7116. },
  7117. {
  7118. "type": "integer",
  7119. "description": "商品ID, 一般与sellUserID配套传入",
  7120. "name": "goodsID",
  7121. "in": "query"
  7122. },
  7123. {
  7124. "type": "integer",
  7125. "description": "卖方UserID",
  7126. "name": "sellUserID",
  7127. "in": "query"
  7128. }
  7129. ],
  7130. "responses": {
  7131. "200": {
  7132. "description": "OK",
  7133. "schema": {
  7134. "$ref": "#/definitions/models.MyCoupon"
  7135. }
  7136. },
  7137. "500": {
  7138. "description": "Internal Server Error",
  7139. "schema": {
  7140. "$ref": "#/definitions/app.Response"
  7141. }
  7142. }
  7143. }
  7144. }
  7145. },
  7146. "/HSBY/QueryMyPayOrders": {
  7147. "get": {
  7148. "security": [
  7149. {
  7150. "ApiKeyAuth": []
  7151. }
  7152. ],
  7153. "produces": [
  7154. "application/json"
  7155. ],
  7156. "tags": [
  7157. "定制【海商报业】"
  7158. ],
  7159. "summary": "获取我的订单中待付款信息",
  7160. "parameters": [
  7161. {
  7162. "type": "integer",
  7163. "description": "页码",
  7164. "name": "page",
  7165. "in": "query"
  7166. },
  7167. {
  7168. "type": "integer",
  7169. "description": "每页条数",
  7170. "name": "pagesize",
  7171. "in": "query"
  7172. },
  7173. {
  7174. "type": "string",
  7175. "description": "资金账户列表,格式:1,2,3",
  7176. "name": "accountIDs",
  7177. "in": "query",
  7178. "required": true
  7179. },
  7180. {
  7181. "type": "integer",
  7182. "description": "买方委托单号",
  7183. "name": "buyOrderID",
  7184. "in": "query"
  7185. },
  7186. {
  7187. "type": "integer",
  7188. "description": "卖方委托单号",
  7189. "name": "sellOrderID",
  7190. "in": "query"
  7191. }
  7192. ],
  7193. "responses": {
  7194. "200": {
  7195. "description": "OK",
  7196. "schema": {
  7197. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7198. }
  7199. },
  7200. "500": {
  7201. "description": "Internal Server Error",
  7202. "schema": {
  7203. "$ref": "#/definitions/app.Response"
  7204. }
  7205. }
  7206. }
  7207. }
  7208. },
  7209. "/HSBY/QueryMyUsedCoupon": {
  7210. "get": {
  7211. "security": [
  7212. {
  7213. "ApiKeyAuth": []
  7214. }
  7215. ],
  7216. "produces": [
  7217. "application/json"
  7218. ],
  7219. "tags": [
  7220. "定制【海商报业】"
  7221. ],
  7222. "summary": "已使用优惠卷查询",
  7223. "parameters": [
  7224. {
  7225. "type": "string",
  7226. "description": "资金账户列表,格式:1,2,3",
  7227. "name": "accountIDs",
  7228. "in": "query",
  7229. "required": true
  7230. }
  7231. ],
  7232. "responses": {
  7233. "200": {
  7234. "description": "OK",
  7235. "schema": {
  7236. "$ref": "#/definitions/models.MyUsedCoupon"
  7237. }
  7238. },
  7239. "500": {
  7240. "description": "Internal Server Error",
  7241. "schema": {
  7242. "$ref": "#/definitions/app.Response"
  7243. }
  7244. }
  7245. }
  7246. }
  7247. },
  7248. "/HSBY/QueryProvincesAndCities": {
  7249. "get": {
  7250. "security": [
  7251. {
  7252. "ApiKeyAuth": []
  7253. }
  7254. ],
  7255. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7256. "produces": [
  7257. "application/json"
  7258. ],
  7259. "tags": [
  7260. "定制【海商报业】"
  7261. ],
  7262. "summary": "查询省市信息(不包括区)",
  7263. "parameters": [
  7264. {
  7265. "type": "integer",
  7266. "description": "省ID",
  7267. "name": "provinceID",
  7268. "in": "query"
  7269. }
  7270. ],
  7271. "responses": {
  7272. "200": {
  7273. "description": "OK",
  7274. "schema": {
  7275. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7276. }
  7277. },
  7278. "500": {
  7279. "description": "Internal Server Error",
  7280. "schema": {
  7281. "$ref": "#/definitions/app.Response"
  7282. }
  7283. }
  7284. }
  7285. }
  7286. },
  7287. "/HSBY/SetHsbyMyPackagesStatus": {
  7288. "post": {
  7289. "security": [
  7290. {
  7291. "ApiKeyAuth": []
  7292. }
  7293. ],
  7294. "produces": [
  7295. "application/json"
  7296. ],
  7297. "tags": [
  7298. "定制【海商报业】"
  7299. ],
  7300. "summary": "设置我的包裹已收货状态",
  7301. "parameters": [
  7302. {
  7303. "type": "string",
  7304. "description": "提货单号",
  7305. "name": "takeOrderID",
  7306. "in": "query",
  7307. "required": true
  7308. },
  7309. {
  7310. "type": "integer",
  7311. "description": "资金账号",
  7312. "name": "accountID",
  7313. "in": "query",
  7314. "required": true
  7315. }
  7316. ],
  7317. "responses": {
  7318. "200": {
  7319. "description": "OK",
  7320. "schema": {
  7321. "$ref": "#/definitions/app.Response"
  7322. }
  7323. },
  7324. "500": {
  7325. "description": "Internal Server Error",
  7326. "schema": {
  7327. "$ref": "#/definitions/app.Response"
  7328. }
  7329. }
  7330. }
  7331. }
  7332. },
  7333. "/Market/GetAllExExchanges": {
  7334. "get": {
  7335. "security": [
  7336. {
  7337. "ApiKeyAuth": []
  7338. }
  7339. ],
  7340. "produces": [
  7341. "application/json"
  7342. ],
  7343. "tags": [
  7344. "通用市场"
  7345. ],
  7346. "summary": "获取所有外部交易所信息",
  7347. "responses": {
  7348. "200": {
  7349. "description": "OK",
  7350. "schema": {
  7351. "$ref": "#/definitions/models.Goods"
  7352. }
  7353. },
  7354. "500": {
  7355. "description": "Internal Server Error",
  7356. "schema": {
  7357. "$ref": "#/definitions/app.Response"
  7358. }
  7359. }
  7360. }
  7361. }
  7362. },
  7363. "/Market/QueryGoodsesByLoginID": {
  7364. "get": {
  7365. "security": [
  7366. {
  7367. "ApiKeyAuth": []
  7368. }
  7369. ],
  7370. "produces": [
  7371. "application/json"
  7372. ],
  7373. "tags": [
  7374. "通用市场"
  7375. ],
  7376. "summary": "获取登录账号有权限的商品信息",
  7377. "parameters": [
  7378. {
  7379. "type": "integer",
  7380. "description": "登录账号",
  7381. "name": "loginID",
  7382. "in": "query",
  7383. "required": true
  7384. },
  7385. {
  7386. "type": "string",
  7387. "description": "市场ID列表,格式:1,2,3",
  7388. "name": "marketIDs",
  7389. "in": "query"
  7390. }
  7391. ],
  7392. "responses": {
  7393. "200": {
  7394. "description": "OK",
  7395. "schema": {
  7396. "$ref": "#/definitions/models.Goods"
  7397. }
  7398. },
  7399. "500": {
  7400. "description": "Internal Server Error",
  7401. "schema": {
  7402. "$ref": "#/definitions/app.Response"
  7403. }
  7404. }
  7405. }
  7406. }
  7407. },
  7408. "/Market/QueryMarketRun": {
  7409. "get": {
  7410. "security": [
  7411. {
  7412. "ApiKeyAuth": []
  7413. }
  7414. ],
  7415. "produces": [
  7416. "application/json"
  7417. ],
  7418. "tags": [
  7419. "通用市场"
  7420. ],
  7421. "summary": "查询市场运行信息",
  7422. "parameters": [
  7423. {
  7424. "type": "integer",
  7425. "description": "市场ID,不传返回所有",
  7426. "name": "marketID",
  7427. "in": "query"
  7428. }
  7429. ],
  7430. "responses": {
  7431. "200": {
  7432. "description": "OK",
  7433. "schema": {
  7434. "$ref": "#/definitions/models.Marketrun"
  7435. }
  7436. },
  7437. "500": {
  7438. "description": "Internal Server Error",
  7439. "schema": {
  7440. "$ref": "#/definitions/app.Response"
  7441. }
  7442. }
  7443. }
  7444. }
  7445. },
  7446. "/Market/QueryMarketsByLoginID": {
  7447. "get": {
  7448. "security": [
  7449. {
  7450. "ApiKeyAuth": []
  7451. }
  7452. ],
  7453. "produces": [
  7454. "application/json"
  7455. ],
  7456. "tags": [
  7457. "通用市场"
  7458. ],
  7459. "summary": "获取登录账号有权限的市场信息",
  7460. "parameters": [
  7461. {
  7462. "type": "integer",
  7463. "description": "登录账号",
  7464. "name": "loginID",
  7465. "in": "query",
  7466. "required": true
  7467. }
  7468. ],
  7469. "responses": {
  7470. "200": {
  7471. "description": "OK",
  7472. "schema": {
  7473. "$ref": "#/definitions/models.Market"
  7474. }
  7475. },
  7476. "500": {
  7477. "description": "Internal Server Error",
  7478. "schema": {
  7479. "$ref": "#/definitions/app.Response"
  7480. }
  7481. }
  7482. }
  7483. }
  7484. },
  7485. "/Order/QueryHisTradeDetail": {
  7486. "get": {
  7487. "security": [
  7488. {
  7489. "ApiKeyAuth": []
  7490. }
  7491. ],
  7492. "produces": [
  7493. "application/json"
  7494. ],
  7495. "tags": [
  7496. "通用单据"
  7497. ],
  7498. "summary": "历史成交单查询(合约市场)",
  7499. "parameters": [
  7500. {
  7501. "type": "string",
  7502. "description": "资金账户 - 格式:1,2,3",
  7503. "name": "accountID",
  7504. "in": "query",
  7505. "required": true
  7506. },
  7507. {
  7508. "type": "integer",
  7509. "description": "成交单号",
  7510. "name": "tradeID",
  7511. "in": "query"
  7512. },
  7513. {
  7514. "type": "integer",
  7515. "description": "委托单号",
  7516. "name": "orderID",
  7517. "in": "query"
  7518. },
  7519. {
  7520. "type": "integer",
  7521. "description": "商品ID",
  7522. "name": "goodsID",
  7523. "in": "query"
  7524. },
  7525. {
  7526. "type": "string",
  7527. "description": "交易模式 - 格式:1,2,3",
  7528. "name": "tradeMode",
  7529. "in": "query"
  7530. },
  7531. {
  7532. "type": "integer",
  7533. "description": "委托单据类型",
  7534. "name": "buildType",
  7535. "in": "query"
  7536. },
  7537. {
  7538. "type": "string",
  7539. "description": "成交类别 - 格式:1,2,3",
  7540. "name": "tradeType",
  7541. "in": "query"
  7542. },
  7543. {
  7544. "type": "string",
  7545. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7546. "name": "startDate",
  7547. "in": "query"
  7548. },
  7549. {
  7550. "type": "string",
  7551. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7552. "name": "endDate",
  7553. "in": "query"
  7554. }
  7555. ],
  7556. "responses": {
  7557. "200": {
  7558. "description": "OK",
  7559. "schema": {
  7560. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7561. }
  7562. },
  7563. "500": {
  7564. "description": "Internal Server Error",
  7565. "schema": {
  7566. "$ref": "#/definitions/app.Response"
  7567. }
  7568. }
  7569. }
  7570. }
  7571. },
  7572. "/Order/QueryHisTradeOrderDetail": {
  7573. "get": {
  7574. "security": [
  7575. {
  7576. "ApiKeyAuth": []
  7577. }
  7578. ],
  7579. "produces": [
  7580. "application/json"
  7581. ],
  7582. "tags": [
  7583. "通用单据"
  7584. ],
  7585. "summary": "历史委托单查询请求(合约市场)",
  7586. "parameters": [
  7587. {
  7588. "type": "string",
  7589. "description": "资金账户 - 格式:1,2,3",
  7590. "name": "accountID",
  7591. "in": "query",
  7592. "required": true
  7593. },
  7594. {
  7595. "type": "string",
  7596. "description": "交易模式 - 格式:1,2,3",
  7597. "name": "tradeMode",
  7598. "in": "query"
  7599. },
  7600. {
  7601. "type": "string",
  7602. "description": "委托状态 - 格式:1,2,3",
  7603. "name": "orderStatus",
  7604. "in": "query"
  7605. },
  7606. {
  7607. "type": "integer",
  7608. "description": "委托单号",
  7609. "name": "orderID",
  7610. "in": "query"
  7611. },
  7612. {
  7613. "type": "string",
  7614. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7615. "name": "startDate",
  7616. "in": "query"
  7617. },
  7618. {
  7619. "type": "string",
  7620. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7621. "name": "endDate",
  7622. "in": "query"
  7623. }
  7624. ],
  7625. "responses": {
  7626. "200": {
  7627. "description": "OK",
  7628. "schema": {
  7629. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7630. }
  7631. },
  7632. "500": {
  7633. "description": "Internal Server Error",
  7634. "schema": {
  7635. "$ref": "#/definitions/app.Response"
  7636. }
  7637. }
  7638. }
  7639. }
  7640. },
  7641. "/Order/QueryTradeDetail": {
  7642. "get": {
  7643. "security": [
  7644. {
  7645. "ApiKeyAuth": []
  7646. }
  7647. ],
  7648. "produces": [
  7649. "application/json"
  7650. ],
  7651. "tags": [
  7652. "通用单据"
  7653. ],
  7654. "summary": "成交单查询(合约市场)",
  7655. "parameters": [
  7656. {
  7657. "type": "string",
  7658. "description": "资金账户 - 格式:1,2,3",
  7659. "name": "accountID",
  7660. "in": "query",
  7661. "required": true
  7662. },
  7663. {
  7664. "type": "integer",
  7665. "description": "成交单号",
  7666. "name": "tradeID",
  7667. "in": "query"
  7668. },
  7669. {
  7670. "type": "integer",
  7671. "description": "委托单号",
  7672. "name": "orderID",
  7673. "in": "query"
  7674. },
  7675. {
  7676. "type": "string",
  7677. "description": "交易模式 - 格式:1,2,3",
  7678. "name": "tradeMode",
  7679. "in": "query"
  7680. },
  7681. {
  7682. "type": "integer",
  7683. "description": "委托单据类型",
  7684. "name": "buildType",
  7685. "in": "query"
  7686. },
  7687. {
  7688. "type": "string",
  7689. "description": "成交类别 - 格式:1,2,3",
  7690. "name": "tradeType",
  7691. "in": "query"
  7692. },
  7693. {
  7694. "type": "integer",
  7695. "description": "商品ID",
  7696. "name": "goodsID",
  7697. "in": "query"
  7698. }
  7699. ],
  7700. "responses": {
  7701. "200": {
  7702. "description": "OK",
  7703. "schema": {
  7704. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7705. }
  7706. },
  7707. "500": {
  7708. "description": "Internal Server Error",
  7709. "schema": {
  7710. "$ref": "#/definitions/app.Response"
  7711. }
  7712. }
  7713. }
  7714. }
  7715. },
  7716. "/Order/QueryTradeHolderDetail": {
  7717. "get": {
  7718. "security": [
  7719. {
  7720. "ApiKeyAuth": []
  7721. }
  7722. ],
  7723. "produces": [
  7724. "application/json"
  7725. ],
  7726. "tags": [
  7727. "通用单据"
  7728. ],
  7729. "summary": "查询持仓明细",
  7730. "parameters": [
  7731. {
  7732. "type": "integer",
  7733. "description": "用户id",
  7734. "name": "userid",
  7735. "in": "query"
  7736. },
  7737. {
  7738. "type": "string",
  7739. "description": "资金账号, 格式 1,2,3",
  7740. "name": "accids",
  7741. "in": "query"
  7742. },
  7743. {
  7744. "type": "string",
  7745. "description": "交易模式, 格式 1,2,3",
  7746. "name": "trademodes",
  7747. "in": "query"
  7748. },
  7749. {
  7750. "type": "string",
  7751. "description": "市场id, 格式 1,2,3",
  7752. "name": "marketids",
  7753. "in": "query"
  7754. },
  7755. {
  7756. "type": "integer",
  7757. "description": "商品id",
  7758. "name": "goodsid",
  7759. "in": "query"
  7760. },
  7761. {
  7762. "type": "integer",
  7763. "description": "买卖方向 0-买 1-卖",
  7764. "name": "buyorsell",
  7765. "in": "query"
  7766. }
  7767. ],
  7768. "responses": {
  7769. "200": {
  7770. "description": "OK",
  7771. "schema": {
  7772. "type": "array",
  7773. "items": {
  7774. "$ref": "#/definitions/models.TradeHolderDetail"
  7775. }
  7776. }
  7777. },
  7778. "500": {
  7779. "description": "Internal Server Error",
  7780. "schema": {
  7781. "$ref": "#/definitions/app.Response"
  7782. }
  7783. }
  7784. }
  7785. }
  7786. },
  7787. "/Order/QueryTradeOrderDetail": {
  7788. "get": {
  7789. "security": [
  7790. {
  7791. "ApiKeyAuth": []
  7792. }
  7793. ],
  7794. "produces": [
  7795. "application/json"
  7796. ],
  7797. "tags": [
  7798. "通用单据"
  7799. ],
  7800. "summary": "委托单查询请求(合约市场)",
  7801. "parameters": [
  7802. {
  7803. "type": "string",
  7804. "description": "资金账户 - 格式:1,2,3",
  7805. "name": "accountID",
  7806. "in": "query",
  7807. "required": true
  7808. },
  7809. {
  7810. "type": "string",
  7811. "description": "交易模式 - 格式:1,2,3",
  7812. "name": "tradeMode",
  7813. "in": "query"
  7814. },
  7815. {
  7816. "type": "string",
  7817. "description": "委托状态 - 格式:1,2,3",
  7818. "name": "orderStatus",
  7819. "in": "query"
  7820. },
  7821. {
  7822. "type": "integer",
  7823. "description": "委托单号",
  7824. "name": "orderID",
  7825. "in": "query"
  7826. }
  7827. ],
  7828. "responses": {
  7829. "200": {
  7830. "description": "OK",
  7831. "schema": {
  7832. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7833. }
  7834. },
  7835. "500": {
  7836. "description": "Internal Server Error",
  7837. "schema": {
  7838. "$ref": "#/definitions/app.Response"
  7839. }
  7840. }
  7841. }
  7842. }
  7843. },
  7844. "/Order/QueryTradePosition": {
  7845. "get": {
  7846. "security": [
  7847. {
  7848. "ApiKeyAuth": []
  7849. }
  7850. ],
  7851. "produces": [
  7852. "application/json"
  7853. ],
  7854. "tags": [
  7855. "通用单据"
  7856. ],
  7857. "summary": "持仓汇总查询(合约市场)",
  7858. "parameters": [
  7859. {
  7860. "type": "string",
  7861. "description": "资金账户 - 格式:1,2,3",
  7862. "name": "accountID",
  7863. "in": "query",
  7864. "required": true
  7865. },
  7866. {
  7867. "type": "string",
  7868. "description": "交易模式 - 格式:1,2,3",
  7869. "name": "tradeMode",
  7870. "in": "query"
  7871. }
  7872. ],
  7873. "responses": {
  7874. "200": {
  7875. "description": "OK",
  7876. "schema": {
  7877. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7878. }
  7879. },
  7880. "500": {
  7881. "description": "Internal Server Error",
  7882. "schema": {
  7883. "$ref": "#/definitions/app.Response"
  7884. }
  7885. }
  7886. }
  7887. }
  7888. },
  7889. "/Qhj/QueryAccountInOutApply": {
  7890. "get": {
  7891. "security": [
  7892. {
  7893. "ApiKeyAuth": []
  7894. }
  7895. ],
  7896. "produces": [
  7897. "application/json"
  7898. ],
  7899. "tags": [
  7900. "大连千海金"
  7901. ],
  7902. "summary": "查询充值提现",
  7903. "parameters": [
  7904. {
  7905. "type": "integer",
  7906. "description": "用户ID",
  7907. "name": "userid",
  7908. "in": "query",
  7909. "required": true
  7910. },
  7911. {
  7912. "type": "string",
  7913. "description": "申请起始日期(格式yyyymmdd)",
  7914. "name": "begindate",
  7915. "in": "query"
  7916. },
  7917. {
  7918. "type": "string",
  7919. "description": "申请截止日期(格式yyyymmdd)",
  7920. "name": "enddate",
  7921. "in": "query"
  7922. },
  7923. {
  7924. "type": "string",
  7925. "description": "模糊搜索名称",
  7926. "name": "likename",
  7927. "in": "query"
  7928. }
  7929. ],
  7930. "responses": {
  7931. "200": {
  7932. "description": "OK",
  7933. "schema": {
  7934. "type": "array",
  7935. "items": {
  7936. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7937. }
  7938. }
  7939. },
  7940. "500": {
  7941. "description": "Internal Server Error",
  7942. "schema": {
  7943. "$ref": "#/definitions/app.Response"
  7944. }
  7945. }
  7946. }
  7947. }
  7948. },
  7949. "/Qhj/QueryAreaFinanceConfig": {
  7950. "get": {
  7951. "security": [
  7952. {
  7953. "ApiKeyAuth": []
  7954. }
  7955. ],
  7956. "produces": [
  7957. "application/json"
  7958. ],
  7959. "tags": [
  7960. "大连千海金"
  7961. ],
  7962. "summary": "查询企业配置表",
  7963. "parameters": [
  7964. {
  7965. "type": "integer",
  7966. "description": "机构用户ID 其他做市关系,都设置为 1",
  7967. "name": "userid",
  7968. "in": "query"
  7969. }
  7970. ],
  7971. "responses": {
  7972. "200": {
  7973. "description": "OK",
  7974. "schema": {
  7975. "type": "array",
  7976. "items": {
  7977. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7978. }
  7979. }
  7980. },
  7981. "500": {
  7982. "description": "Internal Server Error",
  7983. "schema": {
  7984. "$ref": "#/definitions/app.Response"
  7985. }
  7986. }
  7987. }
  7988. }
  7989. },
  7990. "/Qhj/QueryBankAccountSign": {
  7991. "get": {
  7992. "security": [
  7993. {
  7994. "ApiKeyAuth": []
  7995. }
  7996. ],
  7997. "produces": [
  7998. "application/json"
  7999. ],
  8000. "tags": [
  8001. "大连千海金"
  8002. ],
  8003. "summary": "查询签约银行信息(提现账户管理)",
  8004. "parameters": [
  8005. {
  8006. "type": "integer",
  8007. "description": "用户ID",
  8008. "name": "userid",
  8009. "in": "query",
  8010. "required": true
  8011. }
  8012. ],
  8013. "responses": {
  8014. "200": {
  8015. "description": "OK",
  8016. "schema": {
  8017. "type": "array",
  8018. "items": {
  8019. "$ref": "#/definitions/models.QhjBankAccountSign"
  8020. }
  8021. }
  8022. },
  8023. "500": {
  8024. "description": "Internal Server Error",
  8025. "schema": {
  8026. "$ref": "#/definitions/app.Response"
  8027. }
  8028. }
  8029. }
  8030. }
  8031. },
  8032. "/Qhj/QueryBankInfo": {
  8033. "get": {
  8034. "security": [
  8035. {
  8036. "ApiKeyAuth": []
  8037. }
  8038. ],
  8039. "produces": [
  8040. "application/json"
  8041. ],
  8042. "tags": [
  8043. "大连千海金"
  8044. ],
  8045. "summary": "查询开户行",
  8046. "responses": {
  8047. "200": {
  8048. "description": "OK",
  8049. "schema": {
  8050. "type": "array",
  8051. "items": {
  8052. "$ref": "#/definitions/models.QhjBankInfo"
  8053. }
  8054. }
  8055. },
  8056. "500": {
  8057. "description": "Internal Server Error",
  8058. "schema": {
  8059. "$ref": "#/definitions/app.Response"
  8060. }
  8061. }
  8062. }
  8063. }
  8064. },
  8065. "/Qhj/QueryBrokerApply": {
  8066. "get": {
  8067. "security": [
  8068. {
  8069. "ApiKeyAuth": []
  8070. }
  8071. ],
  8072. "produces": [
  8073. "application/json"
  8074. ],
  8075. "tags": [
  8076. "大连千海金"
  8077. ],
  8078. "summary": "查询经纪人申请",
  8079. "parameters": [
  8080. {
  8081. "type": "integer",
  8082. "description": "所属机构ID",
  8083. "name": "userid",
  8084. "in": "query"
  8085. },
  8086. {
  8087. "type": "string",
  8088. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8089. "name": "filterstatus",
  8090. "in": "query"
  8091. }
  8092. ],
  8093. "responses": {
  8094. "200": {
  8095. "description": "OK",
  8096. "schema": {
  8097. "type": "array",
  8098. "items": {
  8099. "$ref": "#/definitions/models.QhjBrokerApply"
  8100. }
  8101. }
  8102. },
  8103. "500": {
  8104. "description": "Internal Server Error",
  8105. "schema": {
  8106. "$ref": "#/definitions/app.Response"
  8107. }
  8108. }
  8109. }
  8110. }
  8111. },
  8112. "/Qhj/QueryBrokerApplyEx": {
  8113. "get": {
  8114. "security": [
  8115. {
  8116. "ApiKeyAuth": []
  8117. }
  8118. ],
  8119. "produces": [
  8120. "application/json"
  8121. ],
  8122. "tags": [
  8123. "大连千海金"
  8124. ],
  8125. "summary": "查询经纪人信息和申请记录",
  8126. "parameters": [
  8127. {
  8128. "type": "integer",
  8129. "description": "所属机构ID",
  8130. "name": "userid",
  8131. "in": "query"
  8132. }
  8133. ],
  8134. "responses": {
  8135. "200": {
  8136. "description": "OK",
  8137. "schema": {
  8138. "type": "array",
  8139. "items": {
  8140. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8141. }
  8142. }
  8143. },
  8144. "500": {
  8145. "description": "Internal Server Error",
  8146. "schema": {
  8147. "$ref": "#/definitions/app.Response"
  8148. }
  8149. }
  8150. }
  8151. }
  8152. },
  8153. "/Qhj/QueryBrokerRewardLog": {
  8154. "get": {
  8155. "security": [
  8156. {
  8157. "ApiKeyAuth": []
  8158. }
  8159. ],
  8160. "produces": [
  8161. "application/json"
  8162. ],
  8163. "tags": [
  8164. "大连千海金"
  8165. ],
  8166. "summary": "查询奖励流水(我的奖励)",
  8167. "parameters": [
  8168. {
  8169. "type": "integer",
  8170. "description": "用户ID",
  8171. "name": "userid",
  8172. "in": "query",
  8173. "required": true
  8174. },
  8175. {
  8176. "type": "string",
  8177. "description": "开始交易日(yyyymmdd)",
  8178. "name": "begindate",
  8179. "in": "query"
  8180. },
  8181. {
  8182. "type": "string",
  8183. "description": "结束交易日(yyyymmdd)",
  8184. "name": "enddate",
  8185. "in": "query"
  8186. }
  8187. ],
  8188. "responses": {
  8189. "200": {
  8190. "description": "OK",
  8191. "schema": {
  8192. "type": "array",
  8193. "items": {
  8194. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8195. }
  8196. }
  8197. },
  8198. "500": {
  8199. "description": "Internal Server Error",
  8200. "schema": {
  8201. "$ref": "#/definitions/app.Response"
  8202. }
  8203. }
  8204. }
  8205. }
  8206. },
  8207. "/Qhj/QueryContract": {
  8208. "get": {
  8209. "security": [
  8210. {
  8211. "ApiKeyAuth": []
  8212. }
  8213. ],
  8214. "produces": [
  8215. "application/json"
  8216. ],
  8217. "tags": [
  8218. "大连千海金"
  8219. ],
  8220. "summary": "查询融资明细(合同)",
  8221. "parameters": [
  8222. {
  8223. "type": "integer",
  8224. "description": "用户ID",
  8225. "name": "userid",
  8226. "in": "query"
  8227. },
  8228. {
  8229. "type": "integer",
  8230. "description": "scf合同id",
  8231. "name": "scfcontractid",
  8232. "in": "query"
  8233. }
  8234. ],
  8235. "responses": {
  8236. "200": {
  8237. "description": "OK",
  8238. "schema": {
  8239. "type": "array",
  8240. "items": {
  8241. "$ref": "#/definitions/models.QhjContract"
  8242. }
  8243. }
  8244. },
  8245. "500": {
  8246. "description": "Internal Server Error",
  8247. "schema": {
  8248. "$ref": "#/definitions/app.Response"
  8249. }
  8250. }
  8251. }
  8252. }
  8253. },
  8254. "/Qhj/QueryContractLog": {
  8255. "get": {
  8256. "security": [
  8257. {
  8258. "ApiKeyAuth": []
  8259. }
  8260. ],
  8261. "produces": [
  8262. "application/json"
  8263. ],
  8264. "tags": [
  8265. "大连千海金"
  8266. ],
  8267. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8268. "parameters": [
  8269. {
  8270. "type": "integer",
  8271. "description": "scf合同id",
  8272. "name": "scfcontractid",
  8273. "in": "query",
  8274. "required": true
  8275. },
  8276. {
  8277. "type": "string",
  8278. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8279. "name": "amounttype",
  8280. "in": "query"
  8281. }
  8282. ],
  8283. "responses": {
  8284. "200": {
  8285. "description": "OK",
  8286. "schema": {
  8287. "type": "array",
  8288. "items": {
  8289. "$ref": "#/definitions/models.QhjContractLog"
  8290. }
  8291. }
  8292. },
  8293. "500": {
  8294. "description": "Internal Server Error",
  8295. "schema": {
  8296. "$ref": "#/definitions/app.Response"
  8297. }
  8298. }
  8299. }
  8300. }
  8301. },
  8302. "/Qhj/QueryCusBankSignBank": {
  8303. "get": {
  8304. "security": [
  8305. {
  8306. "ApiKeyAuth": []
  8307. }
  8308. ],
  8309. "produces": [
  8310. "application/json"
  8311. ],
  8312. "tags": [
  8313. "大连千海金"
  8314. ],
  8315. "summary": "查询托管银行",
  8316. "responses": {
  8317. "200": {
  8318. "description": "OK",
  8319. "schema": {
  8320. "type": "array",
  8321. "items": {
  8322. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8323. }
  8324. }
  8325. },
  8326. "500": {
  8327. "description": "Internal Server Error",
  8328. "schema": {
  8329. "$ref": "#/definitions/app.Response"
  8330. }
  8331. }
  8332. }
  8333. }
  8334. },
  8335. "/Qhj/QueryCustomerInfo": {
  8336. "get": {
  8337. "security": [
  8338. {
  8339. "ApiKeyAuth": []
  8340. }
  8341. ],
  8342. "produces": [
  8343. "application/json"
  8344. ],
  8345. "tags": [
  8346. "大连千海金"
  8347. ],
  8348. "summary": "查询客户资料",
  8349. "parameters": [
  8350. {
  8351. "type": "integer",
  8352. "description": "用户ID",
  8353. "name": "userid",
  8354. "in": "query",
  8355. "required": true
  8356. },
  8357. {
  8358. "type": "integer",
  8359. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8360. "name": "querytype",
  8361. "in": "query",
  8362. "required": true
  8363. },
  8364. {
  8365. "type": "integer",
  8366. "description": "客户类型 1-个人 2-企业",
  8367. "name": "userinfotype",
  8368. "in": "query"
  8369. },
  8370. {
  8371. "type": "string",
  8372. "description": "客户名称(模糊匹配)",
  8373. "name": "customername",
  8374. "in": "query"
  8375. },
  8376. {
  8377. "type": "string",
  8378. "description": "昵称(模糊匹配)",
  8379. "name": "nickname",
  8380. "in": "query"
  8381. },
  8382. {
  8383. "type": "integer",
  8384. "description": "是否包含子级 1-包含",
  8385. "name": "includesub",
  8386. "in": "query"
  8387. }
  8388. ],
  8389. "responses": {
  8390. "200": {
  8391. "description": "OK",
  8392. "schema": {
  8393. "type": "array",
  8394. "items": {
  8395. "$ref": "#/definitions/models.QhjCustomer"
  8396. }
  8397. }
  8398. },
  8399. "500": {
  8400. "description": "Internal Server Error",
  8401. "schema": {
  8402. "$ref": "#/definitions/app.Response"
  8403. }
  8404. }
  8405. }
  8406. }
  8407. },
  8408. "/Qhj/QueryGoodsEx": {
  8409. "get": {
  8410. "security": [
  8411. {
  8412. "ApiKeyAuth": []
  8413. }
  8414. ],
  8415. "produces": [
  8416. "application/json"
  8417. ],
  8418. "tags": [
  8419. "大连千海金"
  8420. ],
  8421. "summary": "交易商品扩展表",
  8422. "parameters": [
  8423. {
  8424. "type": "integer",
  8425. "description": "商品id",
  8426. "name": "goodsid",
  8427. "in": "query"
  8428. }
  8429. ],
  8430. "responses": {
  8431. "200": {
  8432. "description": "OK",
  8433. "schema": {
  8434. "type": "array",
  8435. "items": {
  8436. "$ref": "#/definitions/models.Qhjgoodsex"
  8437. }
  8438. }
  8439. },
  8440. "500": {
  8441. "description": "Internal Server Error",
  8442. "schema": {
  8443. "$ref": "#/definitions/app.Response"
  8444. }
  8445. }
  8446. }
  8447. }
  8448. },
  8449. "/Qhj/QueryMyTeam": {
  8450. "get": {
  8451. "security": [
  8452. {
  8453. "ApiKeyAuth": []
  8454. }
  8455. ],
  8456. "produces": [
  8457. "application/json"
  8458. ],
  8459. "tags": [
  8460. "大连千海金"
  8461. ],
  8462. "summary": "查询我的团队",
  8463. "parameters": [
  8464. {
  8465. "type": "integer",
  8466. "description": "用户ID",
  8467. "name": "userid",
  8468. "in": "query",
  8469. "required": true
  8470. }
  8471. ],
  8472. "responses": {
  8473. "200": {
  8474. "description": "OK",
  8475. "schema": {
  8476. "type": "array",
  8477. "items": {
  8478. "$ref": "#/definitions/models.QhjMyTeamEx"
  8479. }
  8480. }
  8481. },
  8482. "500": {
  8483. "description": "Internal Server Error",
  8484. "schema": {
  8485. "$ref": "#/definitions/app.Response"
  8486. }
  8487. }
  8488. }
  8489. }
  8490. },
  8491. "/Qhj/QueryMyTeamOrder": {
  8492. "get": {
  8493. "security": [
  8494. {
  8495. "ApiKeyAuth": []
  8496. }
  8497. ],
  8498. "produces": [
  8499. "application/json"
  8500. ],
  8501. "tags": [
  8502. "大连千海金"
  8503. ],
  8504. "summary": "查询团队订单(我的团队/团队订单)",
  8505. "parameters": [
  8506. {
  8507. "type": "integer",
  8508. "description": "页码",
  8509. "name": "page",
  8510. "in": "query"
  8511. },
  8512. {
  8513. "type": "integer",
  8514. "description": "每页条数",
  8515. "name": "pagesize",
  8516. "in": "query"
  8517. },
  8518. {
  8519. "type": "integer",
  8520. "description": "用户ID",
  8521. "name": "userid",
  8522. "in": "query",
  8523. "required": true
  8524. },
  8525. {
  8526. "type": "integer",
  8527. "description": "交易模式",
  8528. "name": "trademode",
  8529. "in": "query"
  8530. },
  8531. {
  8532. "type": "string",
  8533. "description": "名称(模糊搜索账户)",
  8534. "name": "filtername",
  8535. "in": "query"
  8536. }
  8537. ],
  8538. "responses": {
  8539. "200": {
  8540. "description": "OK",
  8541. "schema": {
  8542. "type": "array",
  8543. "items": {
  8544. "$ref": "#/definitions/models.QhjTeamOrder"
  8545. }
  8546. }
  8547. },
  8548. "500": {
  8549. "description": "Internal Server Error",
  8550. "schema": {
  8551. "$ref": "#/definitions/app.Response"
  8552. }
  8553. }
  8554. }
  8555. }
  8556. },
  8557. "/Qhj/QueryParentAreaList": {
  8558. "get": {
  8559. "security": [
  8560. {
  8561. "ApiKeyAuth": []
  8562. }
  8563. ],
  8564. "produces": [
  8565. "application/json"
  8566. ],
  8567. "tags": [
  8568. "大连千海金"
  8569. ],
  8570. "summary": "查询所属机构列表",
  8571. "parameters": [
  8572. {
  8573. "type": "integer",
  8574. "description": "用户ID",
  8575. "name": "userid",
  8576. "in": "query",
  8577. "required": true
  8578. }
  8579. ],
  8580. "responses": {
  8581. "200": {
  8582. "description": "OK",
  8583. "schema": {
  8584. "type": "array",
  8585. "items": {
  8586. "$ref": "#/definitions/models.QhjParentAreaList"
  8587. }
  8588. }
  8589. },
  8590. "500": {
  8591. "description": "Internal Server Error",
  8592. "schema": {
  8593. "$ref": "#/definitions/app.Response"
  8594. }
  8595. }
  8596. }
  8597. }
  8598. },
  8599. "/Qhj/QueryPayOrder": {
  8600. "get": {
  8601. "security": [
  8602. {
  8603. "ApiKeyAuth": []
  8604. }
  8605. ],
  8606. "produces": [
  8607. "application/json"
  8608. ],
  8609. "tags": [
  8610. "大连千海金"
  8611. ],
  8612. "summary": "查询待付款单据",
  8613. "parameters": [
  8614. {
  8615. "type": "integer",
  8616. "description": "资金账号id",
  8617. "name": "accountid",
  8618. "in": "query",
  8619. "required": true
  8620. },
  8621. {
  8622. "type": "integer",
  8623. "description": "成交单号",
  8624. "name": "tradeid",
  8625. "in": "query"
  8626. },
  8627. {
  8628. "type": "string",
  8629. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8630. "name": "payflag",
  8631. "in": "query"
  8632. }
  8633. ],
  8634. "responses": {
  8635. "200": {
  8636. "description": "OK",
  8637. "schema": {
  8638. "type": "array",
  8639. "items": {
  8640. "$ref": "#/definitions/models.QhjPayOrder"
  8641. }
  8642. }
  8643. },
  8644. "500": {
  8645. "description": "Internal Server Error",
  8646. "schema": {
  8647. "$ref": "#/definitions/app.Response"
  8648. }
  8649. }
  8650. }
  8651. }
  8652. },
  8653. "/Qhj/QueryPickArea": {
  8654. "get": {
  8655. "security": [
  8656. {
  8657. "ApiKeyAuth": []
  8658. }
  8659. ],
  8660. "produces": [
  8661. "application/json"
  8662. ],
  8663. "tags": [
  8664. "大连千海金"
  8665. ],
  8666. "summary": "查询提货门店",
  8667. "parameters": [
  8668. {
  8669. "type": "integer",
  8670. "description": "用户ID",
  8671. "name": "userid",
  8672. "in": "query"
  8673. }
  8674. ],
  8675. "responses": {
  8676. "200": {
  8677. "description": "OK",
  8678. "schema": {
  8679. "type": "array",
  8680. "items": {
  8681. "$ref": "#/definitions/models.QhjPickArea"
  8682. }
  8683. }
  8684. },
  8685. "500": {
  8686. "description": "Internal Server Error",
  8687. "schema": {
  8688. "$ref": "#/definitions/app.Response"
  8689. }
  8690. }
  8691. }
  8692. }
  8693. },
  8694. "/Qhj/QueryPickGoods": {
  8695. "get": {
  8696. "security": [
  8697. {
  8698. "ApiKeyAuth": []
  8699. }
  8700. ],
  8701. "produces": [
  8702. "application/json"
  8703. ],
  8704. "tags": [
  8705. "大连千海金"
  8706. ],
  8707. "summary": "查询提货商品",
  8708. "parameters": [
  8709. {
  8710. "type": "integer",
  8711. "description": "交易商品id",
  8712. "name": "goodsid",
  8713. "in": "query",
  8714. "required": true
  8715. },
  8716. {
  8717. "type": "string",
  8718. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8719. "name": "status",
  8720. "in": "query"
  8721. }
  8722. ],
  8723. "responses": {
  8724. "200": {
  8725. "description": "OK",
  8726. "schema": {
  8727. "type": "array",
  8728. "items": {
  8729. "$ref": "#/definitions/models.QhjPickGoods"
  8730. }
  8731. }
  8732. },
  8733. "500": {
  8734. "description": "Internal Server Error",
  8735. "schema": {
  8736. "$ref": "#/definitions/app.Response"
  8737. }
  8738. }
  8739. }
  8740. }
  8741. },
  8742. "/Qhj/QueryRSTriggerLog": {
  8743. "get": {
  8744. "security": [
  8745. {
  8746. "ApiKeyAuth": []
  8747. }
  8748. ],
  8749. "produces": [
  8750. "application/json"
  8751. ],
  8752. "tags": [
  8753. "大连千海金"
  8754. ],
  8755. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8756. "parameters": [
  8757. {
  8758. "type": "integer",
  8759. "description": "用户ID",
  8760. "name": "userid",
  8761. "in": "query"
  8762. },
  8763. {
  8764. "type": "integer",
  8765. "description": "定投策略id",
  8766. "name": "regularlystrategyid",
  8767. "in": "query"
  8768. },
  8769. {
  8770. "type": "integer",
  8771. "description": "商品id",
  8772. "name": "goodsid",
  8773. "in": "query"
  8774. },
  8775. {
  8776. "type": "string",
  8777. "description": "开始交易日(yyyymmdd)",
  8778. "name": "begindate",
  8779. "in": "query"
  8780. },
  8781. {
  8782. "type": "string",
  8783. "description": "结束交易日(yyyymmdd)",
  8784. "name": "enddate",
  8785. "in": "query"
  8786. },
  8787. {
  8788. "type": "string",
  8789. "description": "名称(模糊搜索账户)",
  8790. "name": "filtername",
  8791. "in": "query"
  8792. }
  8793. ],
  8794. "responses": {
  8795. "200": {
  8796. "description": "OK",
  8797. "schema": {
  8798. "type": "array",
  8799. "items": {
  8800. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8801. }
  8802. }
  8803. },
  8804. "500": {
  8805. "description": "Internal Server Error",
  8806. "schema": {
  8807. "$ref": "#/definitions/app.Response"
  8808. }
  8809. }
  8810. }
  8811. }
  8812. },
  8813. "/Qhj/QueryRStrategy": {
  8814. "get": {
  8815. "security": [
  8816. {
  8817. "ApiKeyAuth": []
  8818. }
  8819. ],
  8820. "produces": [
  8821. "application/json"
  8822. ],
  8823. "tags": [
  8824. "大连千海金"
  8825. ],
  8826. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8827. "parameters": [
  8828. {
  8829. "type": "integer",
  8830. "description": "用户ID",
  8831. "name": "userid",
  8832. "in": "query"
  8833. },
  8834. {
  8835. "type": "integer",
  8836. "description": "商品id",
  8837. "name": "goodsid",
  8838. "in": "query"
  8839. },
  8840. {
  8841. "type": "string",
  8842. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8843. "name": "status",
  8844. "in": "query"
  8845. },
  8846. {
  8847. "type": "string",
  8848. "description": "名称(模糊搜索账户)",
  8849. "name": "filtername",
  8850. "in": "query"
  8851. }
  8852. ],
  8853. "responses": {
  8854. "200": {
  8855. "description": "OK",
  8856. "schema": {
  8857. "type": "array",
  8858. "items": {
  8859. "$ref": "#/definitions/models.QhjRStrategy"
  8860. }
  8861. }
  8862. },
  8863. "500": {
  8864. "description": "Internal Server Error",
  8865. "schema": {
  8866. "$ref": "#/definitions/app.Response"
  8867. }
  8868. }
  8869. }
  8870. }
  8871. },
  8872. "/Qhj/QueryReckonPriceLog": {
  8873. "get": {
  8874. "security": [
  8875. {
  8876. "ApiKeyAuth": []
  8877. }
  8878. ],
  8879. "produces": [
  8880. "application/json"
  8881. ],
  8882. "tags": [
  8883. "大连千海金"
  8884. ],
  8885. "summary": "查询定投价(结算价)",
  8886. "parameters": [
  8887. {
  8888. "type": "integer",
  8889. "description": "商品ID",
  8890. "name": "goodsid",
  8891. "in": "query"
  8892. },
  8893. {
  8894. "type": "string",
  8895. "description": "交易日 格式(yyyymmdd)",
  8896. "name": "tradedate",
  8897. "in": "query"
  8898. }
  8899. ],
  8900. "responses": {
  8901. "200": {
  8902. "description": "OK",
  8903. "schema": {
  8904. "type": "array",
  8905. "items": {
  8906. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8907. }
  8908. }
  8909. },
  8910. "500": {
  8911. "description": "Internal Server Error",
  8912. "schema": {
  8913. "$ref": "#/definitions/app.Response"
  8914. }
  8915. }
  8916. }
  8917. }
  8918. },
  8919. "/Qhj/QueryScoreLog": {
  8920. "get": {
  8921. "security": [
  8922. {
  8923. "ApiKeyAuth": []
  8924. }
  8925. ],
  8926. "produces": [
  8927. "application/json"
  8928. ],
  8929. "tags": [
  8930. "大连千海金"
  8931. ],
  8932. "summary": "查询积分流水(我的积分)",
  8933. "parameters": [
  8934. {
  8935. "type": "integer",
  8936. "description": "用户ID",
  8937. "name": "userid",
  8938. "in": "query",
  8939. "required": true
  8940. },
  8941. {
  8942. "type": "string",
  8943. "description": "开始交易日(yyyymmdd)",
  8944. "name": "begindate",
  8945. "in": "query"
  8946. },
  8947. {
  8948. "type": "string",
  8949. "description": "结束交易日(yyyymmdd)",
  8950. "name": "enddate",
  8951. "in": "query"
  8952. },
  8953. {
  8954. "type": "integer",
  8955. "description": "最近多少条",
  8956. "name": "lastnum",
  8957. "in": "query"
  8958. }
  8959. ],
  8960. "responses": {
  8961. "200": {
  8962. "description": "OK",
  8963. "schema": {
  8964. "type": "array",
  8965. "items": {
  8966. "$ref": "#/definitions/models.QhjScoreLog"
  8967. }
  8968. }
  8969. },
  8970. "500": {
  8971. "description": "Internal Server Error",
  8972. "schema": {
  8973. "$ref": "#/definitions/app.Response"
  8974. }
  8975. }
  8976. }
  8977. }
  8978. },
  8979. "/Qhj/QuerySiteColumnDetail": {
  8980. "get": {
  8981. "security": [
  8982. {
  8983. "ApiKeyAuth": []
  8984. }
  8985. ],
  8986. "produces": [
  8987. "application/json"
  8988. ],
  8989. "tags": [
  8990. "大连千海金"
  8991. ],
  8992. "summary": "查询资讯",
  8993. "parameters": [
  8994. {
  8995. "type": "integer",
  8996. "description": "用户ID",
  8997. "name": "userid",
  8998. "in": "query",
  8999. "required": true
  9000. }
  9001. ],
  9002. "responses": {
  9003. "200": {
  9004. "description": "OK",
  9005. "schema": {
  9006. "type": "array",
  9007. "items": {
  9008. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9009. }
  9010. }
  9011. },
  9012. "500": {
  9013. "description": "Internal Server Error",
  9014. "schema": {
  9015. "$ref": "#/definitions/app.Response"
  9016. }
  9017. }
  9018. }
  9019. }
  9020. },
  9021. "/Qhj/QueryTradeGoodsPickup": {
  9022. "get": {
  9023. "security": [
  9024. {
  9025. "ApiKeyAuth": []
  9026. }
  9027. ],
  9028. "produces": [
  9029. "application/json"
  9030. ],
  9031. "tags": [
  9032. "大连千海金"
  9033. ],
  9034. "summary": "查询提货",
  9035. "parameters": [
  9036. {
  9037. "type": "integer",
  9038. "description": "用户ID",
  9039. "name": "userid",
  9040. "in": "query",
  9041. "required": true
  9042. },
  9043. {
  9044. "type": "integer",
  9045. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9046. "name": "takeorderstatus",
  9047. "in": "query"
  9048. }
  9049. ],
  9050. "responses": {
  9051. "200": {
  9052. "description": "OK",
  9053. "schema": {
  9054. "type": "array",
  9055. "items": {
  9056. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9057. }
  9058. }
  9059. },
  9060. "500": {
  9061. "description": "Internal Server Error",
  9062. "schema": {
  9063. "$ref": "#/definitions/app.Response"
  9064. }
  9065. }
  9066. }
  9067. }
  9068. },
  9069. "/Qhj/QueryUserCollectConfig": {
  9070. "get": {
  9071. "security": [
  9072. {
  9073. "ApiKeyAuth": []
  9074. }
  9075. ],
  9076. "produces": [
  9077. "application/json"
  9078. ],
  9079. "tags": [
  9080. "大连千海金"
  9081. ],
  9082. "summary": "查询提现账户设置",
  9083. "parameters": [
  9084. {
  9085. "type": "integer",
  9086. "description": "用户ID",
  9087. "name": "userid",
  9088. "in": "query",
  9089. "required": true
  9090. }
  9091. ],
  9092. "responses": {
  9093. "200": {
  9094. "description": "OK",
  9095. "schema": {
  9096. "type": "array",
  9097. "items": {
  9098. "$ref": "#/definitions/models.UserCollectConfig"
  9099. }
  9100. }
  9101. },
  9102. "500": {
  9103. "description": "Internal Server Error",
  9104. "schema": {
  9105. "$ref": "#/definitions/app.Response"
  9106. }
  9107. }
  9108. }
  9109. }
  9110. },
  9111. "/Qhj/QueryUserReceiveInfo": {
  9112. "get": {
  9113. "security": [
  9114. {
  9115. "ApiKeyAuth": []
  9116. }
  9117. ],
  9118. "produces": [
  9119. "application/json"
  9120. ],
  9121. "tags": [
  9122. "大连千海金"
  9123. ],
  9124. "summary": "查询收货地址信息",
  9125. "parameters": [
  9126. {
  9127. "type": "integer",
  9128. "description": "用户ID",
  9129. "name": "userid",
  9130. "in": "query",
  9131. "required": true
  9132. }
  9133. ],
  9134. "responses": {
  9135. "200": {
  9136. "description": "OK",
  9137. "schema": {
  9138. "type": "array",
  9139. "items": {
  9140. "$ref": "#/definitions/models.UserReceiveInfo"
  9141. }
  9142. }
  9143. },
  9144. "500": {
  9145. "description": "Internal Server Error",
  9146. "schema": {
  9147. "$ref": "#/definitions/app.Response"
  9148. }
  9149. }
  9150. }
  9151. }
  9152. },
  9153. "/QhjMgr/QueryAccountInOutApply": {
  9154. "get": {
  9155. "security": [
  9156. {
  9157. "ApiKeyAuth": []
  9158. }
  9159. ],
  9160. "produces": [
  9161. "application/json"
  9162. ],
  9163. "tags": [
  9164. "大连千海金(PCWeb)"
  9165. ],
  9166. "summary": "查询充值提现",
  9167. "parameters": [
  9168. {
  9169. "type": "integer",
  9170. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9171. "name": "querytype",
  9172. "in": "query",
  9173. "required": true
  9174. },
  9175. {
  9176. "type": "integer",
  9177. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9178. "name": "applystatus",
  9179. "in": "query"
  9180. },
  9181. {
  9182. "type": "string",
  9183. "description": "申请起始日期(格式yyyymmdd)",
  9184. "name": "begindate",
  9185. "in": "query"
  9186. },
  9187. {
  9188. "type": "string",
  9189. "description": "申请截止日期(格式yyyymmdd)",
  9190. "name": "enddate",
  9191. "in": "query"
  9192. },
  9193. {
  9194. "type": "string",
  9195. "description": "模糊搜索名称",
  9196. "name": "likename",
  9197. "in": "query"
  9198. }
  9199. ],
  9200. "responses": {
  9201. "200": {
  9202. "description": "OK",
  9203. "schema": {
  9204. "type": "array",
  9205. "items": {
  9206. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9207. }
  9208. }
  9209. },
  9210. "500": {
  9211. "description": "Internal Server Error",
  9212. "schema": {
  9213. "$ref": "#/definitions/app.Response"
  9214. }
  9215. }
  9216. }
  9217. }
  9218. },
  9219. "/QhjMgr/QueryBrokerApply": {
  9220. "get": {
  9221. "security": [
  9222. {
  9223. "ApiKeyAuth": []
  9224. }
  9225. ],
  9226. "produces": [
  9227. "application/json"
  9228. ],
  9229. "tags": [
  9230. "大连千海金(PCWeb)"
  9231. ],
  9232. "summary": "查询经纪人申请",
  9233. "parameters": [
  9234. {
  9235. "type": "integer",
  9236. "description": "所属机构ID",
  9237. "name": "userid",
  9238. "in": "query"
  9239. },
  9240. {
  9241. "type": "string",
  9242. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9243. "name": "filterstatus",
  9244. "in": "query"
  9245. },
  9246. {
  9247. "type": "string",
  9248. "description": "名称(模糊匹配)",
  9249. "name": "filtername",
  9250. "in": "query"
  9251. },
  9252. {
  9253. "type": "integer",
  9254. "description": "是否包含子级 1-包含",
  9255. "name": "includesub",
  9256. "in": "query"
  9257. }
  9258. ],
  9259. "responses": {
  9260. "200": {
  9261. "description": "OK",
  9262. "schema": {
  9263. "type": "array",
  9264. "items": {
  9265. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9266. }
  9267. }
  9268. },
  9269. "500": {
  9270. "description": "Internal Server Error",
  9271. "schema": {
  9272. "$ref": "#/definitions/app.Response"
  9273. }
  9274. }
  9275. }
  9276. }
  9277. },
  9278. "/QhjMgr/QueryBrokerRewardReport": {
  9279. "get": {
  9280. "security": [
  9281. {
  9282. "ApiKeyAuth": []
  9283. }
  9284. ],
  9285. "produces": [
  9286. "application/json"
  9287. ],
  9288. "tags": [
  9289. "大连千海金(PCWeb)"
  9290. ],
  9291. "summary": "查询经纪人奖励报表(废弃)",
  9292. "parameters": [
  9293. {
  9294. "type": "integer",
  9295. "description": "所属机构ID",
  9296. "name": "userid",
  9297. "in": "query",
  9298. "required": true
  9299. },
  9300. {
  9301. "type": "integer",
  9302. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9303. "name": "cycletype",
  9304. "in": "query",
  9305. "required": true
  9306. },
  9307. {
  9308. "type": "string",
  9309. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9310. "name": "cycletime",
  9311. "in": "query",
  9312. "required": true
  9313. },
  9314. {
  9315. "type": "string",
  9316. "description": "名称(模糊匹配)",
  9317. "name": "filtername",
  9318. "in": "query"
  9319. },
  9320. {
  9321. "type": "integer",
  9322. "description": "是否包含子级 1-包含",
  9323. "name": "includesub",
  9324. "in": "query"
  9325. }
  9326. ],
  9327. "responses": {
  9328. "200": {
  9329. "description": "OK",
  9330. "schema": {
  9331. "type": "array",
  9332. "items": {
  9333. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9334. }
  9335. }
  9336. },
  9337. "500": {
  9338. "description": "Internal Server Error",
  9339. "schema": {
  9340. "$ref": "#/definitions/app.Response"
  9341. }
  9342. }
  9343. }
  9344. }
  9345. },
  9346. "/QhjMgr/QueryContract": {
  9347. "get": {
  9348. "security": [
  9349. {
  9350. "ApiKeyAuth": []
  9351. }
  9352. ],
  9353. "produces": [
  9354. "application/json"
  9355. ],
  9356. "tags": [
  9357. "大连千海金(PCWeb)"
  9358. ],
  9359. "summary": "查询融资信息(合同)",
  9360. "parameters": [
  9361. {
  9362. "type": "integer",
  9363. "description": "用户ID",
  9364. "name": "userid",
  9365. "in": "query"
  9366. },
  9367. {
  9368. "type": "integer",
  9369. "description": "商品id",
  9370. "name": "goodsid",
  9371. "in": "query"
  9372. },
  9373. {
  9374. "type": "string",
  9375. "description": "名称(模糊搜索账户)",
  9376. "name": "filtername",
  9377. "in": "query"
  9378. },
  9379. {
  9380. "type": "string",
  9381. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9382. "name": "risklevel",
  9383. "in": "query"
  9384. },
  9385. {
  9386. "type": "string",
  9387. "description": "开始交易日(yyyymmdd)",
  9388. "name": "begindate",
  9389. "in": "query"
  9390. },
  9391. {
  9392. "type": "string",
  9393. "description": "结束交易日(yyyymmdd)",
  9394. "name": "enddate",
  9395. "in": "query"
  9396. }
  9397. ],
  9398. "responses": {
  9399. "200": {
  9400. "description": "OK",
  9401. "schema": {
  9402. "type": "array",
  9403. "items": {
  9404. "$ref": "#/definitions/models.QhjMgrContract"
  9405. }
  9406. }
  9407. },
  9408. "500": {
  9409. "description": "Internal Server Error",
  9410. "schema": {
  9411. "$ref": "#/definitions/app.Response"
  9412. }
  9413. }
  9414. }
  9415. }
  9416. },
  9417. "/QhjMgr/QueryCustomerInfo": {
  9418. "get": {
  9419. "security": [
  9420. {
  9421. "ApiKeyAuth": []
  9422. }
  9423. ],
  9424. "produces": [
  9425. "application/json"
  9426. ],
  9427. "tags": [
  9428. "大连千海金(PCWeb)"
  9429. ],
  9430. "summary": "查询客户资料",
  9431. "parameters": [
  9432. {
  9433. "type": "integer",
  9434. "description": "用户ID",
  9435. "name": "userid",
  9436. "in": "query",
  9437. "required": true
  9438. },
  9439. {
  9440. "type": "integer",
  9441. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9442. "name": "querytype",
  9443. "in": "query",
  9444. "required": true
  9445. },
  9446. {
  9447. "type": "integer",
  9448. "description": "客户类型 1-个人 2-企业",
  9449. "name": "userinfotype",
  9450. "in": "query"
  9451. },
  9452. {
  9453. "type": "string",
  9454. "description": "客户名称(模糊匹配)",
  9455. "name": "customername",
  9456. "in": "query"
  9457. },
  9458. {
  9459. "type": "string",
  9460. "description": "昵称(模糊匹配)",
  9461. "name": "nickname",
  9462. "in": "query"
  9463. },
  9464. {
  9465. "type": "string",
  9466. "description": "所属客户经理(模糊匹配)",
  9467. "name": "brokername",
  9468. "in": "query"
  9469. },
  9470. {
  9471. "type": "string",
  9472. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9473. "name": "birthday",
  9474. "in": "query"
  9475. },
  9476. {
  9477. "type": "integer",
  9478. "description": "是否包含子级 1-包含",
  9479. "name": "includesub",
  9480. "in": "query"
  9481. }
  9482. ],
  9483. "responses": {
  9484. "200": {
  9485. "description": "OK",
  9486. "schema": {
  9487. "type": "array",
  9488. "items": {
  9489. "$ref": "#/definitions/models.QhjMgrCustomer"
  9490. }
  9491. }
  9492. },
  9493. "500": {
  9494. "description": "Internal Server Error",
  9495. "schema": {
  9496. "$ref": "#/definitions/app.Response"
  9497. }
  9498. }
  9499. }
  9500. }
  9501. },
  9502. "/QhjMgr/QueryPickGoods": {
  9503. "get": {
  9504. "security": [
  9505. {
  9506. "ApiKeyAuth": []
  9507. }
  9508. ],
  9509. "produces": [
  9510. "application/json"
  9511. ],
  9512. "tags": [
  9513. "大连千海金(PCWeb)"
  9514. ],
  9515. "summary": "查询提货商品",
  9516. "parameters": [
  9517. {
  9518. "type": "string",
  9519. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9520. "name": "status",
  9521. "in": "query"
  9522. }
  9523. ],
  9524. "responses": {
  9525. "200": {
  9526. "description": "OK",
  9527. "schema": {
  9528. "type": "array",
  9529. "items": {
  9530. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9531. }
  9532. }
  9533. },
  9534. "500": {
  9535. "description": "Internal Server Error",
  9536. "schema": {
  9537. "$ref": "#/definitions/app.Response"
  9538. }
  9539. }
  9540. }
  9541. }
  9542. },
  9543. "/QhjMgr/QuerySubArea": {
  9544. "get": {
  9545. "security": [
  9546. {
  9547. "ApiKeyAuth": []
  9548. }
  9549. ],
  9550. "produces": [
  9551. "application/json"
  9552. ],
  9553. "tags": [
  9554. "大连千海金(PCWeb)"
  9555. ],
  9556. "summary": "查询子机构列表",
  9557. "parameters": [
  9558. {
  9559. "type": "integer",
  9560. "description": "用户ID",
  9561. "name": "userid",
  9562. "in": "query",
  9563. "required": true
  9564. }
  9565. ],
  9566. "responses": {
  9567. "200": {
  9568. "description": "OK",
  9569. "schema": {
  9570. "type": "array",
  9571. "items": {
  9572. "$ref": "#/definitions/models.QhjMgrSubArea"
  9573. }
  9574. }
  9575. },
  9576. "500": {
  9577. "description": "Internal Server Error",
  9578. "schema": {
  9579. "$ref": "#/definitions/app.Response"
  9580. }
  9581. }
  9582. }
  9583. }
  9584. },
  9585. "/QhjMgr/QueryTradeDetail": {
  9586. "get": {
  9587. "security": [
  9588. {
  9589. "ApiKeyAuth": []
  9590. }
  9591. ],
  9592. "produces": [
  9593. "application/json"
  9594. ],
  9595. "tags": [
  9596. "大连千海金(PCWeb)"
  9597. ],
  9598. "summary": "查询成交明细",
  9599. "parameters": [
  9600. {
  9601. "type": "integer",
  9602. "description": "用户ID",
  9603. "name": "userid",
  9604. "in": "query",
  9605. "required": true
  9606. },
  9607. {
  9608. "type": "integer",
  9609. "description": "用户类型 1-个人 2-企业",
  9610. "name": "userinfotype",
  9611. "in": "query"
  9612. },
  9613. {
  9614. "type": "integer",
  9615. "description": "交易模式",
  9616. "name": "trademode",
  9617. "in": "query"
  9618. },
  9619. {
  9620. "type": "integer",
  9621. "description": "商品id",
  9622. "name": "goodsid",
  9623. "in": "query"
  9624. },
  9625. {
  9626. "type": "string",
  9627. "description": "名称(模糊搜索账户)",
  9628. "name": "filtername",
  9629. "in": "query"
  9630. },
  9631. {
  9632. "type": "string",
  9633. "description": "开始交易日(yyyymmdd)",
  9634. "name": "begindate",
  9635. "in": "query"
  9636. },
  9637. {
  9638. "type": "string",
  9639. "description": "结束交易日(yyyymmdd)",
  9640. "name": "enddate",
  9641. "in": "query"
  9642. },
  9643. {
  9644. "type": "integer",
  9645. "description": "是否包含子级 1-包含",
  9646. "name": "includesub",
  9647. "in": "query"
  9648. }
  9649. ],
  9650. "responses": {
  9651. "200": {
  9652. "description": "OK",
  9653. "schema": {
  9654. "type": "array",
  9655. "items": {
  9656. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9657. }
  9658. }
  9659. },
  9660. "500": {
  9661. "description": "Internal Server Error",
  9662. "schema": {
  9663. "$ref": "#/definitions/app.Response"
  9664. }
  9665. }
  9666. }
  9667. }
  9668. },
  9669. "/QhjMgr/QueryTradeOrderDetail": {
  9670. "get": {
  9671. "security": [
  9672. {
  9673. "ApiKeyAuth": []
  9674. }
  9675. ],
  9676. "produces": [
  9677. "application/json"
  9678. ],
  9679. "tags": [
  9680. "大连千海金(PCWeb)"
  9681. ],
  9682. "summary": "查询委托明细",
  9683. "parameters": [
  9684. {
  9685. "type": "integer",
  9686. "description": "用户ID",
  9687. "name": "userid",
  9688. "in": "query",
  9689. "required": true
  9690. },
  9691. {
  9692. "type": "integer",
  9693. "description": "用户类型 1-个人 2-企业",
  9694. "name": "userinfotype",
  9695. "in": "query"
  9696. },
  9697. {
  9698. "type": "integer",
  9699. "description": "交易模式",
  9700. "name": "trademode",
  9701. "in": "query"
  9702. },
  9703. {
  9704. "type": "integer",
  9705. "description": "商品id",
  9706. "name": "goodsid",
  9707. "in": "query"
  9708. },
  9709. {
  9710. "type": "string",
  9711. "description": "名称(模糊搜索账户)",
  9712. "name": "filtername",
  9713. "in": "query"
  9714. },
  9715. {
  9716. "type": "string",
  9717. "description": "开始交易日(yyyymmdd)",
  9718. "name": "begindate",
  9719. "in": "query"
  9720. },
  9721. {
  9722. "type": "string",
  9723. "description": "结束交易日(yyyymmdd)",
  9724. "name": "enddate",
  9725. "in": "query"
  9726. },
  9727. {
  9728. "type": "integer",
  9729. "description": "是否包含子级 1-包含",
  9730. "name": "includesub",
  9731. "in": "query"
  9732. }
  9733. ],
  9734. "responses": {
  9735. "200": {
  9736. "description": "OK",
  9737. "schema": {
  9738. "type": "array",
  9739. "items": {
  9740. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9741. }
  9742. }
  9743. },
  9744. "500": {
  9745. "description": "Internal Server Error",
  9746. "schema": {
  9747. "$ref": "#/definitions/app.Response"
  9748. }
  9749. }
  9750. }
  9751. }
  9752. },
  9753. "/QhjMgr/QueryTradePayOrder": {
  9754. "get": {
  9755. "security": [
  9756. {
  9757. "ApiKeyAuth": []
  9758. }
  9759. ],
  9760. "produces": [
  9761. "application/json"
  9762. ],
  9763. "tags": [
  9764. "大连千海金(PCWeb)"
  9765. ],
  9766. "summary": "查询待付款单",
  9767. "parameters": [
  9768. {
  9769. "type": "integer",
  9770. "description": "用户ID",
  9771. "name": "userid",
  9772. "in": "query",
  9773. "required": true
  9774. },
  9775. {
  9776. "type": "string",
  9777. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9778. "name": "payflag",
  9779. "in": "query"
  9780. },
  9781. {
  9782. "type": "integer",
  9783. "description": "用户类型 1-个人 2-企业",
  9784. "name": "userinfotype",
  9785. "in": "query"
  9786. },
  9787. {
  9788. "type": "integer",
  9789. "description": "交易模式",
  9790. "name": "trademode",
  9791. "in": "query"
  9792. },
  9793. {
  9794. "type": "integer",
  9795. "description": "商品id",
  9796. "name": "goodsid",
  9797. "in": "query"
  9798. },
  9799. {
  9800. "type": "string",
  9801. "description": "名称(模糊搜索账户)",
  9802. "name": "filtername",
  9803. "in": "query"
  9804. },
  9805. {
  9806. "type": "string",
  9807. "description": "开始交易日(yyyymmdd)",
  9808. "name": "begindate",
  9809. "in": "query"
  9810. },
  9811. {
  9812. "type": "string",
  9813. "description": "结束交易日(yyyymmdd)",
  9814. "name": "enddate",
  9815. "in": "query"
  9816. },
  9817. {
  9818. "type": "integer",
  9819. "description": "是否包含子级 1-包含",
  9820. "name": "includesub",
  9821. "in": "query"
  9822. }
  9823. ],
  9824. "responses": {
  9825. "200": {
  9826. "description": "OK",
  9827. "schema": {
  9828. "type": "array",
  9829. "items": {
  9830. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9831. }
  9832. }
  9833. },
  9834. "500": {
  9835. "description": "Internal Server Error",
  9836. "schema": {
  9837. "$ref": "#/definitions/app.Response"
  9838. }
  9839. }
  9840. }
  9841. }
  9842. },
  9843. "/QhjMgr/QueryTradePosition": {
  9844. "get": {
  9845. "security": [
  9846. {
  9847. "ApiKeyAuth": []
  9848. }
  9849. ],
  9850. "produces": [
  9851. "application/json"
  9852. ],
  9853. "tags": [
  9854. "大连千海金(PCWeb)"
  9855. ],
  9856. "summary": "查询持仓汇总",
  9857. "parameters": [
  9858. {
  9859. "type": "integer",
  9860. "description": "用户ID",
  9861. "name": "userid",
  9862. "in": "query",
  9863. "required": true
  9864. },
  9865. {
  9866. "type": "integer",
  9867. "description": "用户类型 1-个人 2-企业",
  9868. "name": "userinfotype",
  9869. "in": "query"
  9870. },
  9871. {
  9872. "type": "integer",
  9873. "description": "交易模式",
  9874. "name": "trademode",
  9875. "in": "query"
  9876. },
  9877. {
  9878. "type": "integer",
  9879. "description": "商品id",
  9880. "name": "goodsid",
  9881. "in": "query"
  9882. },
  9883. {
  9884. "type": "string",
  9885. "description": "名称(模糊搜索账户)",
  9886. "name": "filtername",
  9887. "in": "query"
  9888. },
  9889. {
  9890. "type": "integer",
  9891. "description": "是否包含子级 1-包含",
  9892. "name": "includesub",
  9893. "in": "query"
  9894. }
  9895. ],
  9896. "responses": {
  9897. "200": {
  9898. "description": "OK",
  9899. "schema": {
  9900. "type": "array",
  9901. "items": {
  9902. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9903. }
  9904. }
  9905. },
  9906. "500": {
  9907. "description": "Internal Server Error",
  9908. "schema": {
  9909. "$ref": "#/definitions/app.Response"
  9910. }
  9911. }
  9912. }
  9913. }
  9914. },
  9915. "/QhjSys/QueryAgreementChangeLog": {
  9916. "get": {
  9917. "security": [
  9918. {
  9919. "ApiKeyAuth": []
  9920. }
  9921. ],
  9922. "produces": [
  9923. "application/json"
  9924. ],
  9925. "tags": [
  9926. "大连千海金(协议和签约信息)"
  9927. ],
  9928. "summary": "查询协议配置变更流水",
  9929. "parameters": [
  9930. {
  9931. "type": "integer",
  9932. "description": "协议ID",
  9933. "name": "agreementid",
  9934. "in": "query"
  9935. },
  9936. {
  9937. "type": "integer",
  9938. "description": "协议版本号",
  9939. "name": "agreementversion",
  9940. "in": "query"
  9941. },
  9942. {
  9943. "type": "integer",
  9944. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9945. "name": "agreementtype",
  9946. "in": "query"
  9947. },
  9948. {
  9949. "type": "string",
  9950. "description": "协议编号(模糊匹配)",
  9951. "name": "agreementno",
  9952. "in": "query"
  9953. },
  9954. {
  9955. "type": "string",
  9956. "description": "协议名称(模糊匹配)",
  9957. "name": "agreementname",
  9958. "in": "query"
  9959. }
  9960. ],
  9961. "responses": {
  9962. "200": {
  9963. "description": "OK",
  9964. "schema": {
  9965. "type": "array",
  9966. "items": {
  9967. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9968. }
  9969. }
  9970. },
  9971. "500": {
  9972. "description": "Internal Server Error",
  9973. "schema": {
  9974. "$ref": "#/definitions/app.Response"
  9975. }
  9976. }
  9977. }
  9978. }
  9979. },
  9980. "/QhjSys/QueryAgreementConfig": {
  9981. "get": {
  9982. "security": [
  9983. {
  9984. "ApiKeyAuth": []
  9985. }
  9986. ],
  9987. "produces": [
  9988. "application/json"
  9989. ],
  9990. "tags": [
  9991. "大连千海金(协议和签约信息)"
  9992. ],
  9993. "summary": "查询协议配置",
  9994. "parameters": [
  9995. {
  9996. "type": "integer",
  9997. "description": "协议ID",
  9998. "name": "agreementid",
  9999. "in": "query"
  10000. },
  10001. {
  10002. "type": "integer",
  10003. "description": "协议版本号",
  10004. "name": "agreementversion",
  10005. "in": "query"
  10006. },
  10007. {
  10008. "type": "integer",
  10009. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10010. "name": "agreementtype",
  10011. "in": "query"
  10012. },
  10013. {
  10014. "type": "integer",
  10015. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10016. "name": "isvalid",
  10017. "in": "query"
  10018. },
  10019. {
  10020. "type": "string",
  10021. "description": "协议编号(模糊匹配)",
  10022. "name": "agreementno",
  10023. "in": "query"
  10024. },
  10025. {
  10026. "type": "string",
  10027. "description": "协议名称(模糊匹配)",
  10028. "name": "agreementname",
  10029. "in": "query"
  10030. }
  10031. ],
  10032. "responses": {
  10033. "200": {
  10034. "description": "OK",
  10035. "schema": {
  10036. "type": "array",
  10037. "items": {
  10038. "$ref": "#/definitions/models.QhjAgreementConfig"
  10039. }
  10040. }
  10041. },
  10042. "500": {
  10043. "description": "Internal Server Error",
  10044. "schema": {
  10045. "$ref": "#/definitions/app.Response"
  10046. }
  10047. }
  10048. }
  10049. }
  10050. },
  10051. "/QhjSys/QueryCustomerSignStatus": {
  10052. "get": {
  10053. "security": [
  10054. {
  10055. "ApiKeyAuth": []
  10056. }
  10057. ],
  10058. "produces": [
  10059. "application/json"
  10060. ],
  10061. "tags": [
  10062. "大连千海金(协议和签约信息)"
  10063. ],
  10064. "summary": "查询客户协议签约状态",
  10065. "parameters": [
  10066. {
  10067. "type": "integer",
  10068. "description": "客户ID",
  10069. "name": "userid",
  10070. "in": "query"
  10071. },
  10072. {
  10073. "type": "integer",
  10074. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10075. "name": "nodetype",
  10076. "in": "query"
  10077. },
  10078. {
  10079. "type": "integer",
  10080. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10081. "name": "goodsid",
  10082. "in": "query"
  10083. },
  10084. {
  10085. "type": "string",
  10086. "description": "创建交易日(yyyyMMdd)",
  10087. "name": "tradedate",
  10088. "in": "query"
  10089. },
  10090. {
  10091. "type": "string",
  10092. "description": "用户名称(模糊匹配)",
  10093. "name": "username",
  10094. "in": "query"
  10095. }
  10096. ],
  10097. "responses": {
  10098. "200": {
  10099. "description": "OK",
  10100. "schema": {
  10101. "type": "array",
  10102. "items": {
  10103. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10104. }
  10105. }
  10106. },
  10107. "500": {
  10108. "description": "Internal Server Error",
  10109. "schema": {
  10110. "$ref": "#/definitions/app.Response"
  10111. }
  10112. }
  10113. }
  10114. }
  10115. },
  10116. "/QhjSys/QueryNodeAgreementConfig": {
  10117. "get": {
  10118. "security": [
  10119. {
  10120. "ApiKeyAuth": []
  10121. }
  10122. ],
  10123. "produces": [
  10124. "application/json"
  10125. ],
  10126. "tags": [
  10127. "大连千海金(协议和签约信息)"
  10128. ],
  10129. "summary": "查询协议节点配置",
  10130. "parameters": [
  10131. {
  10132. "type": "integer",
  10133. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10134. "name": "configid",
  10135. "in": "query"
  10136. },
  10137. {
  10138. "type": "integer",
  10139. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10140. "name": "nodetype",
  10141. "in": "query"
  10142. },
  10143. {
  10144. "type": "integer",
  10145. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10146. "name": "goodsid",
  10147. "in": "query"
  10148. },
  10149. {
  10150. "type": "integer",
  10151. "description": "协议ID",
  10152. "name": "agreementid",
  10153. "in": "query"
  10154. },
  10155. {
  10156. "type": "integer",
  10157. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10158. "name": "agreementtype",
  10159. "in": "query"
  10160. },
  10161. {
  10162. "type": "integer",
  10163. "description": "协议版本号",
  10164. "name": "agreementversion",
  10165. "in": "query"
  10166. },
  10167. {
  10168. "type": "string",
  10169. "description": "协议编号(模糊匹配)",
  10170. "name": "agreementno",
  10171. "in": "query"
  10172. },
  10173. {
  10174. "type": "string",
  10175. "description": "协议名称(模糊匹配)",
  10176. "name": "agreementname",
  10177. "in": "query"
  10178. }
  10179. ],
  10180. "responses": {
  10181. "200": {
  10182. "description": "OK",
  10183. "schema": {
  10184. "type": "array",
  10185. "items": {
  10186. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10187. }
  10188. }
  10189. },
  10190. "500": {
  10191. "description": "Internal Server Error",
  10192. "schema": {
  10193. "$ref": "#/definitions/app.Response"
  10194. }
  10195. }
  10196. }
  10197. }
  10198. },
  10199. "/QhjSys/QueryQhjCustomerSignLog": {
  10200. "get": {
  10201. "security": [
  10202. {
  10203. "ApiKeyAuth": []
  10204. }
  10205. ],
  10206. "produces": [
  10207. "application/json"
  10208. ],
  10209. "tags": [
  10210. "大连千海金(协议和签约信息)"
  10211. ],
  10212. "summary": "查询客户协议签约流水",
  10213. "parameters": [
  10214. {
  10215. "type": "integer",
  10216. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10217. "name": "logid",
  10218. "in": "query"
  10219. },
  10220. {
  10221. "type": "integer",
  10222. "description": "客户ID",
  10223. "name": "userid",
  10224. "in": "query"
  10225. },
  10226. {
  10227. "type": "integer",
  10228. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10229. "name": "nodetype",
  10230. "in": "query"
  10231. },
  10232. {
  10233. "type": "integer",
  10234. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10235. "name": "goodsid",
  10236. "in": "query"
  10237. },
  10238. {
  10239. "type": "integer",
  10240. "description": "协议ID",
  10241. "name": "agreementid",
  10242. "in": "query"
  10243. },
  10244. {
  10245. "type": "string",
  10246. "description": "用户名称(模糊匹配)",
  10247. "name": "username",
  10248. "in": "query"
  10249. },
  10250. {
  10251. "type": "string",
  10252. "description": "协议编号(模糊匹配)",
  10253. "name": "agreementno",
  10254. "in": "query"
  10255. },
  10256. {
  10257. "type": "string",
  10258. "description": "协议名称(模糊匹配)",
  10259. "name": "agreementname",
  10260. "in": "query"
  10261. }
  10262. ],
  10263. "responses": {
  10264. "200": {
  10265. "description": "OK",
  10266. "schema": {
  10267. "type": "array",
  10268. "items": {
  10269. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10270. }
  10271. }
  10272. },
  10273. "500": {
  10274. "description": "Internal Server Error",
  10275. "schema": {
  10276. "$ref": "#/definitions/app.Response"
  10277. }
  10278. }
  10279. }
  10280. }
  10281. },
  10282. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10283. "get": {
  10284. "security": [
  10285. {
  10286. "ApiKeyAuth": []
  10287. }
  10288. ],
  10289. "produces": [
  10290. "application/json"
  10291. ],
  10292. "tags": [
  10293. "大连千海金(协议和签约信息)"
  10294. ],
  10295. "summary": "查询用户协议节点配置和状态",
  10296. "parameters": [
  10297. {
  10298. "type": "integer",
  10299. "description": "客户ID",
  10300. "name": "userid",
  10301. "in": "query"
  10302. },
  10303. {
  10304. "type": "integer",
  10305. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10306. "name": "configid",
  10307. "in": "query"
  10308. },
  10309. {
  10310. "type": "string",
  10311. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10312. "name": "nodetype",
  10313. "in": "query"
  10314. },
  10315. {
  10316. "type": "integer",
  10317. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10318. "name": "goodsid",
  10319. "in": "query"
  10320. },
  10321. {
  10322. "type": "integer",
  10323. "description": "协议ID",
  10324. "name": "agreementid",
  10325. "in": "query"
  10326. },
  10327. {
  10328. "type": "integer",
  10329. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10330. "name": "agreementtype",
  10331. "in": "query"
  10332. },
  10333. {
  10334. "type": "integer",
  10335. "description": "协议版本号",
  10336. "name": "agreementversion",
  10337. "in": "query"
  10338. },
  10339. {
  10340. "type": "string",
  10341. "description": "协议编号(模糊匹配)",
  10342. "name": "agreementno",
  10343. "in": "query"
  10344. },
  10345. {
  10346. "type": "string",
  10347. "description": "协议名称(模糊匹配)",
  10348. "name": "agreementname",
  10349. "in": "query"
  10350. }
  10351. ],
  10352. "responses": {
  10353. "200": {
  10354. "description": "OK",
  10355. "schema": {
  10356. "type": "array",
  10357. "items": {
  10358. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10359. }
  10360. }
  10361. },
  10362. "500": {
  10363. "description": "Internal Server Error",
  10364. "schema": {
  10365. "$ref": "#/definitions/app.Response"
  10366. }
  10367. }
  10368. }
  10369. }
  10370. },
  10371. "/Quote/QueryHistoryDatas": {
  10372. "get": {
  10373. "security": [
  10374. {
  10375. "ApiKeyAuth": []
  10376. }
  10377. ],
  10378. "produces": [
  10379. "application/json"
  10380. ],
  10381. "tags": [
  10382. "行情服务"
  10383. ],
  10384. "summary": "查询行情历史数据",
  10385. "parameters": [
  10386. {
  10387. "type": "integer",
  10388. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10389. "name": "cycleType",
  10390. "in": "query",
  10391. "required": true
  10392. },
  10393. {
  10394. "type": "string",
  10395. "description": "商品代码",
  10396. "name": "goodsCode",
  10397. "in": "query",
  10398. "required": true
  10399. },
  10400. {
  10401. "type": "string",
  10402. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10403. "name": "startTime",
  10404. "in": "query"
  10405. },
  10406. {
  10407. "type": "string",
  10408. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10409. "name": "endTime",
  10410. "in": "query"
  10411. },
  10412. {
  10413. "type": "integer",
  10414. "description": "条数",
  10415. "name": "count",
  10416. "in": "query"
  10417. },
  10418. {
  10419. "type": "boolean",
  10420. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10421. "name": "isAsc",
  10422. "in": "query"
  10423. }
  10424. ],
  10425. "responses": {
  10426. "200": {
  10427. "description": "OK",
  10428. "schema": {
  10429. "$ref": "#/definitions/quote.HistoryData"
  10430. }
  10431. },
  10432. "500": {
  10433. "description": "Internal Server Error",
  10434. "schema": {
  10435. "$ref": "#/definitions/app.Response"
  10436. }
  10437. }
  10438. }
  10439. }
  10440. },
  10441. "/Quote/QueryHistoryTikDatas": {
  10442. "get": {
  10443. "security": [
  10444. {
  10445. "ApiKeyAuth": []
  10446. }
  10447. ],
  10448. "produces": [
  10449. "application/json"
  10450. ],
  10451. "tags": [
  10452. "行情服务"
  10453. ],
  10454. "summary": "查询行情Tik数据",
  10455. "parameters": [
  10456. {
  10457. "type": "string",
  10458. "description": "商品代码",
  10459. "name": "goodsCode",
  10460. "in": "query",
  10461. "required": true
  10462. },
  10463. {
  10464. "type": "string",
  10465. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10466. "name": "startTime",
  10467. "in": "query"
  10468. },
  10469. {
  10470. "type": "string",
  10471. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10472. "name": "endTime",
  10473. "in": "query"
  10474. },
  10475. {
  10476. "type": "integer",
  10477. "description": "条数",
  10478. "name": "count",
  10479. "in": "query"
  10480. },
  10481. {
  10482. "type": "boolean",
  10483. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10484. "name": "isAsc",
  10485. "in": "query"
  10486. }
  10487. ],
  10488. "responses": {
  10489. "200": {
  10490. "description": "OK",
  10491. "schema": {
  10492. "$ref": "#/definitions/quote.HistoryTikData"
  10493. }
  10494. },
  10495. "500": {
  10496. "description": "Internal Server Error",
  10497. "schema": {
  10498. "$ref": "#/definitions/app.Response"
  10499. }
  10500. }
  10501. }
  10502. }
  10503. },
  10504. "/Quote/QueryQuoteDay": {
  10505. "get": {
  10506. "security": [
  10507. {
  10508. "ApiKeyAuth": []
  10509. }
  10510. ],
  10511. "produces": [
  10512. "application/json"
  10513. ],
  10514. "tags": [
  10515. "行情服务"
  10516. ],
  10517. "summary": "获取商品盘面信息",
  10518. "parameters": [
  10519. {
  10520. "type": "string",
  10521. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  10522. "name": "goodsCodes",
  10523. "in": "query",
  10524. "required": true
  10525. }
  10526. ],
  10527. "responses": {
  10528. "200": {
  10529. "description": "OK",
  10530. "schema": {
  10531. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10532. }
  10533. },
  10534. "500": {
  10535. "description": "Internal Server Error",
  10536. "schema": {
  10537. "$ref": "#/definitions/app.Response"
  10538. }
  10539. }
  10540. }
  10541. }
  10542. },
  10543. "/Quote/QueryTSData": {
  10544. "get": {
  10545. "security": [
  10546. {
  10547. "ApiKeyAuth": []
  10548. }
  10549. ],
  10550. "produces": [
  10551. "application/json"
  10552. ],
  10553. "tags": [
  10554. "行情服务"
  10555. ],
  10556. "summary": "分时图数据查询",
  10557. "parameters": [
  10558. {
  10559. "type": "string",
  10560. "description": "商品代码",
  10561. "name": "goodsCode",
  10562. "in": "query",
  10563. "required": true
  10564. }
  10565. ],
  10566. "responses": {
  10567. "200": {
  10568. "description": "OK",
  10569. "schema": {
  10570. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10571. }
  10572. },
  10573. "500": {
  10574. "description": "Internal Server Error",
  10575. "schema": {
  10576. "$ref": "#/definitions/app.Response"
  10577. }
  10578. }
  10579. }
  10580. }
  10581. },
  10582. "/SZDZ/QueryConvertConfig": {
  10583. "get": {
  10584. "security": [
  10585. {
  10586. "ApiKeyAuth": []
  10587. }
  10588. ],
  10589. "produces": [
  10590. "application/json"
  10591. ],
  10592. "tags": [
  10593. "定制【尚志大宗】"
  10594. ],
  10595. "summary": "查询交易系统转换设置",
  10596. "parameters": [
  10597. {
  10598. "type": "integer",
  10599. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10600. "name": "convertType",
  10601. "in": "query"
  10602. },
  10603. {
  10604. "type": "string",
  10605. "description": "外部商品代码[JD\\PD]",
  10606. "name": "outerGoodsCode",
  10607. "in": "query"
  10608. },
  10609. {
  10610. "type": "string",
  10611. "description": "内部商品ID列表[交易],格式:1,2,3",
  10612. "name": "innerGoodsIDs",
  10613. "in": "query"
  10614. }
  10615. ],
  10616. "responses": {
  10617. "200": {
  10618. "description": "OK",
  10619. "schema": {
  10620. "$ref": "#/definitions/models.Szdz3convertconfig"
  10621. }
  10622. },
  10623. "500": {
  10624. "description": "Internal Server Error",
  10625. "schema": {
  10626. "$ref": "#/definitions/app.Response"
  10627. }
  10628. }
  10629. }
  10630. }
  10631. },
  10632. "/SZDZ/QueryConvertLog": {
  10633. "get": {
  10634. "security": [
  10635. {
  10636. "ApiKeyAuth": []
  10637. }
  10638. ],
  10639. "produces": [
  10640. "application/json"
  10641. ],
  10642. "tags": [
  10643. "定制【尚志大宗】"
  10644. ],
  10645. "summary": "交易系统转换流水查询",
  10646. "parameters": [
  10647. {
  10648. "type": "string",
  10649. "description": "资金账户 - 格式:1,2,3",
  10650. "name": "accountID",
  10651. "in": "query",
  10652. "required": true
  10653. },
  10654. {
  10655. "type": "string",
  10656. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10657. "name": "startDate",
  10658. "in": "query"
  10659. },
  10660. {
  10661. "type": "string",
  10662. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10663. "name": "endDate",
  10664. "in": "query"
  10665. }
  10666. ],
  10667. "responses": {
  10668. "200": {
  10669. "description": "OK",
  10670. "schema": {
  10671. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10672. }
  10673. },
  10674. "500": {
  10675. "description": "Internal Server Error",
  10676. "schema": {
  10677. "$ref": "#/definitions/app.Response"
  10678. }
  10679. }
  10680. }
  10681. }
  10682. },
  10683. "/SZDZ/QueryGoodsPickup": {
  10684. "get": {
  10685. "security": [
  10686. {
  10687. "ApiKeyAuth": []
  10688. }
  10689. ],
  10690. "produces": [
  10691. "application/json"
  10692. ],
  10693. "tags": [
  10694. "定制【尚志大宗】"
  10695. ],
  10696. "summary": "商品提货单查询",
  10697. "parameters": [
  10698. {
  10699. "type": "string",
  10700. "description": "资金账户 - 格式:1,2,3",
  10701. "name": "accountID",
  10702. "in": "query",
  10703. "required": true
  10704. },
  10705. {
  10706. "type": "integer",
  10707. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10708. "name": "takeOrderStatus",
  10709. "in": "query"
  10710. }
  10711. ],
  10712. "responses": {
  10713. "200": {
  10714. "description": "OK",
  10715. "schema": {
  10716. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10717. }
  10718. },
  10719. "500": {
  10720. "description": "Internal Server Error",
  10721. "schema": {
  10722. "$ref": "#/definitions/app.Response"
  10723. }
  10724. }
  10725. }
  10726. }
  10727. },
  10728. "/SZDZ/QueryRecieptOrder": {
  10729. "get": {
  10730. "security": [
  10731. {
  10732. "ApiKeyAuth": []
  10733. }
  10734. ],
  10735. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10736. "produces": [
  10737. "application/json"
  10738. ],
  10739. "tags": [
  10740. "定制【尚志大宗】"
  10741. ],
  10742. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10743. "parameters": [
  10744. {
  10745. "type": "integer",
  10746. "description": "页码",
  10747. "name": "page",
  10748. "in": "query"
  10749. },
  10750. {
  10751. "type": "integer",
  10752. "description": "每页条数",
  10753. "name": "pagesize",
  10754. "in": "query"
  10755. },
  10756. {
  10757. "type": "integer",
  10758. "description": "商品ID",
  10759. "name": "goodsID",
  10760. "in": "query",
  10761. "required": true
  10762. },
  10763. {
  10764. "type": "string",
  10765. "description": "所属账户名称",
  10766. "name": "accountName",
  10767. "in": "query"
  10768. },
  10769. {
  10770. "type": "integer",
  10771. "description": "市场ID",
  10772. "name": "marketID",
  10773. "in": "query"
  10774. },
  10775. {
  10776. "type": "integer",
  10777. "description": "方向 - 0:买 1:卖",
  10778. "name": "buyorsell",
  10779. "in": "query",
  10780. "required": true
  10781. }
  10782. ],
  10783. "responses": {
  10784. "200": {
  10785. "description": "OK",
  10786. "schema": {
  10787. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10788. }
  10789. },
  10790. "500": {
  10791. "description": "Internal Server Error",
  10792. "schema": {
  10793. "$ref": "#/definitions/app.Response"
  10794. }
  10795. }
  10796. }
  10797. }
  10798. },
  10799. "/SZDZ/QuerySZDZTradePosition": {
  10800. "get": {
  10801. "security": [
  10802. {
  10803. "ApiKeyAuth": []
  10804. }
  10805. ],
  10806. "produces": [
  10807. "application/json"
  10808. ],
  10809. "tags": [
  10810. "定制【尚志大宗】"
  10811. ],
  10812. "summary": "持仓汇总查询(尚志大宗)",
  10813. "parameters": [
  10814. {
  10815. "type": "integer",
  10816. "description": "资金账户",
  10817. "name": "accountID",
  10818. "in": "query",
  10819. "required": true
  10820. }
  10821. ],
  10822. "responses": {
  10823. "200": {
  10824. "description": "OK",
  10825. "schema": {
  10826. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10827. }
  10828. },
  10829. "500": {
  10830. "description": "Internal Server Error",
  10831. "schema": {
  10832. "$ref": "#/definitions/app.Response"
  10833. }
  10834. }
  10835. }
  10836. }
  10837. },
  10838. "/SZDZ/SearchWhite": {
  10839. "get": {
  10840. "security": [
  10841. {
  10842. "ApiKeyAuth": []
  10843. }
  10844. ],
  10845. "produces": [
  10846. "application/json"
  10847. ],
  10848. "tags": [
  10849. "定制【尚志大宗】"
  10850. ],
  10851. "summary": "搜索白名单",
  10852. "parameters": [
  10853. {
  10854. "type": "integer",
  10855. "description": "用户ID",
  10856. "name": "userID",
  10857. "in": "query",
  10858. "required": true
  10859. }
  10860. ],
  10861. "responses": {
  10862. "200": {
  10863. "description": "OK",
  10864. "schema": {
  10865. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10866. }
  10867. },
  10868. "500": {
  10869. "description": "Internal Server Error",
  10870. "schema": {
  10871. "$ref": "#/definitions/app.Response"
  10872. }
  10873. }
  10874. }
  10875. }
  10876. },
  10877. "/Search/SearchGoodses": {
  10878. "get": {
  10879. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10880. "produces": [
  10881. "application/json"
  10882. ],
  10883. "tags": [
  10884. "检索服务"
  10885. ],
  10886. "summary": "检索商品信息",
  10887. "parameters": [
  10888. {
  10889. "type": "string",
  10890. "description": "检索内容",
  10891. "name": "content",
  10892. "in": "query",
  10893. "required": true
  10894. },
  10895. {
  10896. "type": "string",
  10897. "description": "交易模式,格式:1,2,3",
  10898. "name": "tradeModes",
  10899. "in": "query"
  10900. }
  10901. ],
  10902. "responses": {
  10903. "200": {
  10904. "description": "OK",
  10905. "schema": {
  10906. "$ref": "#/definitions/models.SearchGoods"
  10907. }
  10908. },
  10909. "500": {
  10910. "description": "Internal Server Error",
  10911. "schema": {
  10912. "$ref": "#/definitions/app.Response"
  10913. }
  10914. }
  10915. }
  10916. }
  10917. },
  10918. "/TaAccount/GetTaAccounts": {
  10919. "get": {
  10920. "security": [
  10921. {
  10922. "ApiKeyAuth": []
  10923. }
  10924. ],
  10925. "produces": [
  10926. "application/json"
  10927. ],
  10928. "tags": [
  10929. "资金账户"
  10930. ],
  10931. "summary": "获取资金账户信息",
  10932. "parameters": [
  10933. {
  10934. "type": "integer",
  10935. "description": "登录账户",
  10936. "name": "loginID",
  10937. "in": "query",
  10938. "required": true
  10939. },
  10940. {
  10941. "type": "integer",
  10942. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10943. "name": "taAccountType",
  10944. "in": "query"
  10945. }
  10946. ],
  10947. "responses": {
  10948. "200": {
  10949. "description": "OK",
  10950. "schema": {
  10951. "$ref": "#/definitions/models.Taaccount"
  10952. }
  10953. },
  10954. "500": {
  10955. "description": "Internal Server Error",
  10956. "schema": {
  10957. "$ref": "#/definitions/app.Response"
  10958. }
  10959. }
  10960. }
  10961. }
  10962. },
  10963. "/TaAccount/QueryAmountLog": {
  10964. "get": {
  10965. "security": [
  10966. {
  10967. "ApiKeyAuth": []
  10968. }
  10969. ],
  10970. "produces": [
  10971. "application/json"
  10972. ],
  10973. "tags": [
  10974. "资金账户"
  10975. ],
  10976. "summary": "资金流水查询(当前)",
  10977. "parameters": [
  10978. {
  10979. "type": "integer",
  10980. "description": "页码",
  10981. "name": "page",
  10982. "in": "query"
  10983. },
  10984. {
  10985. "type": "integer",
  10986. "description": "每页条数",
  10987. "name": "pagesize",
  10988. "in": "query"
  10989. },
  10990. {
  10991. "type": "string",
  10992. "description": "资金账户 - 格式:1,2,3",
  10993. "name": "accountID",
  10994. "in": "query",
  10995. "required": true
  10996. },
  10997. {
  10998. "type": "string",
  10999. "description": "资金操作类型 - 格式:1,2,3",
  11000. "name": "OperateType",
  11001. "in": "query"
  11002. }
  11003. ],
  11004. "responses": {
  11005. "200": {
  11006. "description": "OK",
  11007. "schema": {
  11008. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11009. }
  11010. },
  11011. "500": {
  11012. "description": "Internal Server Error",
  11013. "schema": {
  11014. "$ref": "#/definitions/app.Response"
  11015. }
  11016. }
  11017. }
  11018. }
  11019. },
  11020. "/TaAccount/QueryHisAmountLog": {
  11021. "get": {
  11022. "security": [
  11023. {
  11024. "ApiKeyAuth": []
  11025. }
  11026. ],
  11027. "produces": [
  11028. "application/json"
  11029. ],
  11030. "tags": [
  11031. "资金账户"
  11032. ],
  11033. "summary": "资金流水查询(历史)",
  11034. "parameters": [
  11035. {
  11036. "type": "integer",
  11037. "description": "页码",
  11038. "name": "page",
  11039. "in": "query"
  11040. },
  11041. {
  11042. "type": "integer",
  11043. "description": "每页条数",
  11044. "name": "pagesize",
  11045. "in": "query"
  11046. },
  11047. {
  11048. "type": "string",
  11049. "description": "资金账户 - 格式:1,2,3",
  11050. "name": "accountID",
  11051. "in": "query",
  11052. "required": true
  11053. },
  11054. {
  11055. "type": "string",
  11056. "description": "资金操作类型 - 格式:1,2,3",
  11057. "name": "OperateType",
  11058. "in": "query"
  11059. },
  11060. {
  11061. "type": "string",
  11062. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11063. "name": "startDate",
  11064. "in": "query"
  11065. },
  11066. {
  11067. "type": "string",
  11068. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11069. "name": "endDate",
  11070. "in": "query"
  11071. }
  11072. ],
  11073. "responses": {
  11074. "200": {
  11075. "description": "OK",
  11076. "schema": {
  11077. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11078. }
  11079. },
  11080. "500": {
  11081. "description": "Internal Server Error",
  11082. "schema": {
  11083. "$ref": "#/definitions/app.Response"
  11084. }
  11085. }
  11086. }
  11087. }
  11088. },
  11089. "/Tjmd/QueryQuoteGoodsList": {
  11090. "get": {
  11091. "security": [
  11092. {
  11093. "ApiKeyAuth": []
  11094. }
  11095. ],
  11096. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11097. "produces": [
  11098. "application/json"
  11099. ],
  11100. "tags": [
  11101. "天津麦顿"
  11102. ],
  11103. "summary": "查询掉期报价列表",
  11104. "parameters": [
  11105. {
  11106. "type": "integer",
  11107. "description": "用户类型",
  11108. "name": "usertype",
  11109. "in": "query",
  11110. "required": true
  11111. },
  11112. {
  11113. "type": "string",
  11114. "description": "市场id, 格式 1,2,3",
  11115. "name": "marketids",
  11116. "in": "query"
  11117. },
  11118. {
  11119. "type": "integer",
  11120. "description": "商品组id",
  11121. "name": "goodsgroupid",
  11122. "in": "query"
  11123. },
  11124. {
  11125. "type": "integer",
  11126. "description": "商品id",
  11127. "name": "goodsid",
  11128. "in": "query"
  11129. }
  11130. ],
  11131. "responses": {
  11132. "200": {
  11133. "description": "OK",
  11134. "schema": {
  11135. "type": "array",
  11136. "items": {
  11137. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11138. }
  11139. }
  11140. },
  11141. "500": {
  11142. "description": "Internal Server Error",
  11143. "schema": {
  11144. "$ref": "#/definitions/app.Response"
  11145. }
  11146. }
  11147. }
  11148. }
  11149. },
  11150. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11151. "get": {
  11152. "security": [
  11153. {
  11154. "ApiKeyAuth": []
  11155. }
  11156. ],
  11157. "produces": [
  11158. "application/json"
  11159. ],
  11160. "tags": [
  11161. "天津麦顿"
  11162. ],
  11163. "summary": "查询今日账户保证金配置",
  11164. "parameters": [
  11165. {
  11166. "type": "string",
  11167. "description": "市场id",
  11168. "name": "marketid",
  11169. "in": "query"
  11170. },
  11171. {
  11172. "type": "string",
  11173. "description": "商品id",
  11174. "name": "goodsid",
  11175. "in": "query"
  11176. },
  11177. {
  11178. "type": "string",
  11179. "description": "资金账号",
  11180. "name": "accountid",
  11181. "in": "query"
  11182. }
  11183. ],
  11184. "responses": {
  11185. "200": {
  11186. "description": "OK",
  11187. "schema": {
  11188. "type": "array",
  11189. "items": {
  11190. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11191. }
  11192. }
  11193. },
  11194. "500": {
  11195. "description": "Internal Server Error",
  11196. "schema": {
  11197. "$ref": "#/definitions/app.Response"
  11198. }
  11199. }
  11200. }
  11201. }
  11202. },
  11203. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11204. "get": {
  11205. "security": [
  11206. {
  11207. "ApiKeyAuth": []
  11208. }
  11209. ],
  11210. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11211. "produces": [
  11212. "application/json"
  11213. ],
  11214. "tags": [
  11215. "天津麦顿"
  11216. ],
  11217. "summary": "查询掉期买卖大厅",
  11218. "parameters": [
  11219. {
  11220. "type": "integer",
  11221. "description": "页码",
  11222. "name": "page",
  11223. "in": "query"
  11224. },
  11225. {
  11226. "type": "integer",
  11227. "description": "每页条数",
  11228. "name": "pagesize",
  11229. "in": "query"
  11230. },
  11231. {
  11232. "type": "integer",
  11233. "description": "用户id",
  11234. "name": "userid",
  11235. "in": "query",
  11236. "required": true
  11237. },
  11238. {
  11239. "type": "integer",
  11240. "description": "用户类型",
  11241. "name": "usertype",
  11242. "in": "query",
  11243. "required": true
  11244. },
  11245. {
  11246. "type": "string",
  11247. "description": "市场id, 格式 1,2,3",
  11248. "name": "marketids",
  11249. "in": "query"
  11250. },
  11251. {
  11252. "type": "integer",
  11253. "description": "商品id",
  11254. "name": "goodsid",
  11255. "in": "query",
  11256. "required": true
  11257. },
  11258. {
  11259. "type": "integer",
  11260. "description": "买卖方向 0-买 1-卖",
  11261. "name": "buyorsell",
  11262. "in": "query",
  11263. "required": true
  11264. }
  11265. ],
  11266. "responses": {
  11267. "200": {
  11268. "description": "OK",
  11269. "schema": {
  11270. "type": "array",
  11271. "items": {
  11272. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11273. }
  11274. }
  11275. },
  11276. "500": {
  11277. "description": "Internal Server Error",
  11278. "schema": {
  11279. "$ref": "#/definitions/app.Response"
  11280. }
  11281. }
  11282. }
  11283. }
  11284. },
  11285. "/Tjmd/QueryTjmdTransferApply": {
  11286. "get": {
  11287. "security": [
  11288. {
  11289. "ApiKeyAuth": []
  11290. }
  11291. ],
  11292. "produces": [
  11293. "application/json"
  11294. ],
  11295. "tags": [
  11296. "天津麦顿"
  11297. ],
  11298. "summary": "查询掉期协议单",
  11299. "parameters": [
  11300. {
  11301. "type": "integer",
  11302. "description": "类型 1-我的申请 2-对方申请",
  11303. "name": "applytype",
  11304. "in": "query",
  11305. "required": true
  11306. },
  11307. {
  11308. "type": "string",
  11309. "description": "市场id, 格式 1,2,3",
  11310. "name": "marketids",
  11311. "in": "query"
  11312. },
  11313. {
  11314. "type": "string",
  11315. "description": "资金账号, 格式 25000000001,25000000003",
  11316. "name": "accountids",
  11317. "in": "query"
  11318. }
  11319. ],
  11320. "responses": {
  11321. "200": {
  11322. "description": "OK",
  11323. "schema": {
  11324. "type": "array",
  11325. "items": {
  11326. "$ref": "#/definitions/models.TjmdTransferApply"
  11327. }
  11328. }
  11329. },
  11330. "500": {
  11331. "description": "Internal Server Error",
  11332. "schema": {
  11333. "$ref": "#/definitions/app.Response"
  11334. }
  11335. }
  11336. }
  11337. }
  11338. },
  11339. "/Trade/QueryRecieptOrder": {
  11340. "get": {
  11341. "security": [
  11342. {
  11343. "ApiKeyAuth": []
  11344. }
  11345. ],
  11346. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11347. "produces": [
  11348. "application/json"
  11349. ],
  11350. "tags": [
  11351. "通用交易"
  11352. ],
  11353. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11354. "parameters": [
  11355. {
  11356. "type": "integer",
  11357. "description": "页码",
  11358. "name": "page",
  11359. "in": "query"
  11360. },
  11361. {
  11362. "type": "integer",
  11363. "description": "每页条数",
  11364. "name": "pagesize",
  11365. "in": "query"
  11366. },
  11367. {
  11368. "type": "integer",
  11369. "description": "商品ID",
  11370. "name": "goodsID",
  11371. "in": "query",
  11372. "required": true
  11373. },
  11374. {
  11375. "type": "string",
  11376. "description": "所属账户名称",
  11377. "name": "accountName",
  11378. "in": "query"
  11379. },
  11380. {
  11381. "type": "integer",
  11382. "description": "市场ID",
  11383. "name": "marketID",
  11384. "in": "query"
  11385. },
  11386. {
  11387. "type": "integer",
  11388. "description": "方向 - 0:买 1:卖",
  11389. "name": "buyorsell",
  11390. "in": "query",
  11391. "required": true
  11392. }
  11393. ],
  11394. "responses": {
  11395. "200": {
  11396. "description": "OK",
  11397. "schema": {
  11398. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11399. }
  11400. },
  11401. "500": {
  11402. "description": "Internal Server Error",
  11403. "schema": {
  11404. "$ref": "#/definitions/app.Response"
  11405. }
  11406. }
  11407. }
  11408. }
  11409. },
  11410. "/User/AddMessageBoard": {
  11411. "post": {
  11412. "security": [
  11413. {
  11414. "ApiKeyAuth": []
  11415. }
  11416. ],
  11417. "produces": [
  11418. "application/json"
  11419. ],
  11420. "tags": [
  11421. "用户信息"
  11422. ],
  11423. "summary": "添加用户留言板信息",
  11424. "parameters": [
  11425. {
  11426. "type": "integer",
  11427. "description": "用户ID",
  11428. "name": "userID",
  11429. "in": "query",
  11430. "required": true
  11431. },
  11432. {
  11433. "type": "string",
  11434. "description": "留言信息",
  11435. "name": "message",
  11436. "in": "query",
  11437. "required": true
  11438. },
  11439. {
  11440. "type": "string",
  11441. "description": "联系电话",
  11442. "name": "contactNum",
  11443. "in": "query",
  11444. "required": true
  11445. }
  11446. ],
  11447. "responses": {
  11448. "200": {
  11449. "description": "OK",
  11450. "schema": {
  11451. "$ref": "#/definitions/app.Response"
  11452. }
  11453. },
  11454. "500": {
  11455. "description": "Internal Server Error",
  11456. "schema": {
  11457. "$ref": "#/definitions/app.Response"
  11458. }
  11459. }
  11460. }
  11461. }
  11462. },
  11463. "/User/AddUserFavoriteGoods": {
  11464. "post": {
  11465. "security": [
  11466. {
  11467. "ApiKeyAuth": []
  11468. }
  11469. ],
  11470. "produces": [
  11471. "application/json"
  11472. ],
  11473. "tags": [
  11474. "用户信息"
  11475. ],
  11476. "summary": "添加用户商品收藏信息",
  11477. "parameters": [
  11478. {
  11479. "type": "integer",
  11480. "description": "用户ID",
  11481. "name": "userID",
  11482. "in": "query",
  11483. "required": true
  11484. },
  11485. {
  11486. "type": "integer",
  11487. "description": "商品ID",
  11488. "name": "goodsID",
  11489. "in": "query",
  11490. "required": true
  11491. }
  11492. ],
  11493. "responses": {
  11494. "200": {
  11495. "description": "OK",
  11496. "schema": {
  11497. "$ref": "#/definitions/app.Response"
  11498. }
  11499. },
  11500. "500": {
  11501. "description": "Internal Server Error",
  11502. "schema": {
  11503. "$ref": "#/definitions/app.Response"
  11504. }
  11505. }
  11506. }
  11507. }
  11508. },
  11509. "/User/GetLoginID": {
  11510. "get": {
  11511. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11512. "produces": [
  11513. "application/json"
  11514. ],
  11515. "tags": [
  11516. "用户信息"
  11517. ],
  11518. "summary": "获取登录ID",
  11519. "parameters": [
  11520. {
  11521. "type": "string",
  11522. "description": "登录代码",
  11523. "name": "username",
  11524. "in": "query",
  11525. "required": true
  11526. }
  11527. ],
  11528. "responses": {
  11529. "200": {
  11530. "description": "OK",
  11531. "schema": {
  11532. "$ref": "#/definitions/app.Response"
  11533. }
  11534. },
  11535. "500": {
  11536. "description": "Internal Server Error",
  11537. "schema": {
  11538. "$ref": "#/definitions/app.Response"
  11539. }
  11540. }
  11541. }
  11542. }
  11543. },
  11544. "/User/GetUserAccount": {
  11545. "get": {
  11546. "security": [
  11547. {
  11548. "ApiKeyAuth": []
  11549. }
  11550. ],
  11551. "produces": [
  11552. "application/json"
  11553. ],
  11554. "tags": [
  11555. "用户信息"
  11556. ],
  11557. "summary": "获取用户账号信息",
  11558. "parameters": [
  11559. {
  11560. "type": "integer",
  11561. "description": "用户ID",
  11562. "name": "userID",
  11563. "in": "query",
  11564. "required": true
  11565. }
  11566. ],
  11567. "responses": {
  11568. "200": {
  11569. "description": "OK",
  11570. "schema": {
  11571. "$ref": "#/definitions/models.Useraccount"
  11572. }
  11573. },
  11574. "500": {
  11575. "description": "Internal Server Error",
  11576. "schema": {
  11577. "$ref": "#/definitions/app.Response"
  11578. }
  11579. }
  11580. }
  11581. }
  11582. },
  11583. "/User/GetUserAuthStatus": {
  11584. "get": {
  11585. "security": [
  11586. {
  11587. "ApiKeyAuth": []
  11588. }
  11589. ],
  11590. "produces": [
  11591. "application/json"
  11592. ],
  11593. "tags": [
  11594. "用户信息"
  11595. ],
  11596. "summary": "获取用户实名认证状态",
  11597. "parameters": [
  11598. {
  11599. "type": "integer",
  11600. "description": "用户ID",
  11601. "name": "userID",
  11602. "in": "query",
  11603. "required": true
  11604. }
  11605. ],
  11606. "responses": {
  11607. "200": {
  11608. "description": "OK",
  11609. "schema": {
  11610. "$ref": "#/definitions/app.Response"
  11611. }
  11612. },
  11613. "500": {
  11614. "description": "Internal Server Error",
  11615. "schema": {
  11616. "$ref": "#/definitions/app.Response"
  11617. }
  11618. }
  11619. }
  11620. }
  11621. },
  11622. "/User/LoginQuery": {
  11623. "get": {
  11624. "security": [
  11625. {
  11626. "ApiKeyAuth": []
  11627. }
  11628. ],
  11629. "produces": [
  11630. "application/json"
  11631. ],
  11632. "tags": [
  11633. "用户信息"
  11634. ],
  11635. "summary": "账户登录后信息查询",
  11636. "parameters": [
  11637. {
  11638. "type": "integer",
  11639. "description": "登录账号",
  11640. "name": "loginID",
  11641. "in": "query",
  11642. "required": true
  11643. }
  11644. ],
  11645. "responses": {
  11646. "200": {
  11647. "description": "OK",
  11648. "schema": {
  11649. "$ref": "#/definitions/user.LoginQueryRsp"
  11650. }
  11651. },
  11652. "500": {
  11653. "description": "Internal Server Error",
  11654. "schema": {
  11655. "$ref": "#/definitions/app.Response"
  11656. }
  11657. }
  11658. }
  11659. }
  11660. },
  11661. "/User/QueryMessageBoard": {
  11662. "get": {
  11663. "security": [
  11664. {
  11665. "ApiKeyAuth": []
  11666. }
  11667. ],
  11668. "produces": [
  11669. "application/json"
  11670. ],
  11671. "tags": [
  11672. "用户信息"
  11673. ],
  11674. "summary": "获取用户留言板信息",
  11675. "parameters": [
  11676. {
  11677. "type": "integer",
  11678. "description": "用户ID",
  11679. "name": "userID",
  11680. "in": "query",
  11681. "required": true
  11682. }
  11683. ],
  11684. "responses": {
  11685. "200": {
  11686. "description": "OK",
  11687. "schema": {
  11688. "$ref": "#/definitions/models.Messageboard"
  11689. }
  11690. },
  11691. "500": {
  11692. "description": "Internal Server Error",
  11693. "schema": {
  11694. "$ref": "#/definitions/app.Response"
  11695. }
  11696. }
  11697. }
  11698. }
  11699. },
  11700. "/User/QueryUserFavoriteGoodses": {
  11701. "get": {
  11702. "security": [
  11703. {
  11704. "ApiKeyAuth": []
  11705. }
  11706. ],
  11707. "produces": [
  11708. "application/json"
  11709. ],
  11710. "tags": [
  11711. "用户信息"
  11712. ],
  11713. "summary": "获取用户商品收藏信息",
  11714. "parameters": [
  11715. {
  11716. "type": "integer",
  11717. "description": "用户ID",
  11718. "name": "userID",
  11719. "in": "query",
  11720. "required": true
  11721. }
  11722. ],
  11723. "responses": {
  11724. "200": {
  11725. "description": "OK",
  11726. "schema": {
  11727. "$ref": "#/definitions/models.Userfavoritegoods"
  11728. }
  11729. },
  11730. "500": {
  11731. "description": "Internal Server Error",
  11732. "schema": {
  11733. "$ref": "#/definitions/app.Response"
  11734. }
  11735. }
  11736. }
  11737. }
  11738. },
  11739. "/User/QueryUserInfo": {
  11740. "get": {
  11741. "security": [
  11742. {
  11743. "ApiKeyAuth": []
  11744. }
  11745. ],
  11746. "produces": [
  11747. "application/json"
  11748. ],
  11749. "tags": [
  11750. "用户信息"
  11751. ],
  11752. "summary": "获取用户信息",
  11753. "parameters": [
  11754. {
  11755. "type": "integer",
  11756. "description": "用户ID",
  11757. "name": "userID",
  11758. "in": "query",
  11759. "required": true
  11760. },
  11761. {
  11762. "type": "boolean",
  11763. "description": "是否解密",
  11764. "name": "isDecrypt",
  11765. "in": "query"
  11766. }
  11767. ],
  11768. "responses": {
  11769. "200": {
  11770. "description": "OK",
  11771. "schema": {
  11772. "$ref": "#/definitions/models.Userinfo"
  11773. }
  11774. },
  11775. "500": {
  11776. "description": "Internal Server Error",
  11777. "schema": {
  11778. "$ref": "#/definitions/app.Response"
  11779. }
  11780. }
  11781. }
  11782. }
  11783. },
  11784. "/User/QueryUserReferNum": {
  11785. "get": {
  11786. "produces": [
  11787. "application/json"
  11788. ],
  11789. "tags": [
  11790. "用户信息"
  11791. ],
  11792. "summary": "获取用户邀请码",
  11793. "parameters": [
  11794. {
  11795. "type": "integer",
  11796. "description": "用户ID",
  11797. "name": "userID",
  11798. "in": "query",
  11799. "required": true
  11800. }
  11801. ],
  11802. "responses": {
  11803. "200": {
  11804. "description": "OK",
  11805. "schema": {
  11806. "$ref": "#/definitions/app.Response"
  11807. }
  11808. },
  11809. "500": {
  11810. "description": "Internal Server Error",
  11811. "schema": {
  11812. "$ref": "#/definitions/app.Response"
  11813. }
  11814. }
  11815. }
  11816. }
  11817. },
  11818. "/User/RemoveUserFavoriteGoods": {
  11819. "post": {
  11820. "security": [
  11821. {
  11822. "ApiKeyAuth": []
  11823. }
  11824. ],
  11825. "produces": [
  11826. "application/json"
  11827. ],
  11828. "tags": [
  11829. "用户信息"
  11830. ],
  11831. "summary": "移除用户商品收藏信息",
  11832. "parameters": [
  11833. {
  11834. "type": "integer",
  11835. "description": "用户ID",
  11836. "name": "userID",
  11837. "in": "query",
  11838. "required": true
  11839. },
  11840. {
  11841. "type": "integer",
  11842. "description": "商品ID",
  11843. "name": "goodsID",
  11844. "in": "query",
  11845. "required": true
  11846. }
  11847. ],
  11848. "responses": {
  11849. "200": {
  11850. "description": "OK",
  11851. "schema": {
  11852. "$ref": "#/definitions/app.Response"
  11853. }
  11854. },
  11855. "500": {
  11856. "description": "Internal Server Error",
  11857. "schema": {
  11858. "$ref": "#/definitions/app.Response"
  11859. }
  11860. }
  11861. }
  11862. }
  11863. },
  11864. "/User/UpdateUserAccountStatus": {
  11865. "post": {
  11866. "security": [
  11867. {
  11868. "ApiKeyAuth": []
  11869. }
  11870. ],
  11871. "produces": [
  11872. "application/json"
  11873. ],
  11874. "tags": [
  11875. "用户信息"
  11876. ],
  11877. "summary": "更新用户状态",
  11878. "parameters": [
  11879. {
  11880. "type": "integer",
  11881. "description": "用户ID",
  11882. "name": "userID",
  11883. "in": "query",
  11884. "required": true
  11885. },
  11886. {
  11887. "type": "integer",
  11888. "description": "账户状态 - 4:正常 6:注销(停用)",
  11889. "name": "accountStatus",
  11890. "in": "query",
  11891. "required": true
  11892. }
  11893. ],
  11894. "responses": {
  11895. "200": {
  11896. "description": "OK",
  11897. "schema": {
  11898. "$ref": "#/definitions/app.Response"
  11899. }
  11900. },
  11901. "500": {
  11902. "description": "Internal Server Error",
  11903. "schema": {
  11904. "$ref": "#/definitions/app.Response"
  11905. }
  11906. }
  11907. }
  11908. }
  11909. },
  11910. "/WRTrade/GetAllDeliveryGoods": {
  11911. "get": {
  11912. "security": [
  11913. {
  11914. "ApiKeyAuth": []
  11915. },
  11916. {
  11917. "ApiKeyAuth": []
  11918. }
  11919. ],
  11920. "produces": [
  11921. "application/json",
  11922. "application/json"
  11923. ],
  11924. "tags": [
  11925. "仓单贸易",
  11926. "仓单贸易"
  11927. ],
  11928. "summary": "获取带仓单分类的种类信息",
  11929. "responses": {
  11930. "200": {
  11931. "description": "OK",
  11932. "schema": {
  11933. "$ref": "#/definitions/app.Response"
  11934. }
  11935. },
  11936. "500": {
  11937. "description": "Internal Server Error",
  11938. "schema": {
  11939. "$ref": "#/definitions/app.Response"
  11940. }
  11941. }
  11942. }
  11943. }
  11944. },
  11945. "/WrTrade2/QueryDeliveryGoodsSection": {
  11946. "get": {
  11947. "security": [
  11948. {
  11949. "ApiKeyAuth": []
  11950. }
  11951. ],
  11952. "produces": [
  11953. "application/json"
  11954. ],
  11955. "tags": [
  11956. "仓单贸易v2"
  11957. ],
  11958. "summary": "查询板块(分类)",
  11959. "responses": {
  11960. "200": {
  11961. "description": "OK",
  11962. "schema": {
  11963. "type": "array",
  11964. "items": {
  11965. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  11966. }
  11967. }
  11968. },
  11969. "500": {
  11970. "description": "Internal Server Error",
  11971. "schema": {
  11972. "$ref": "#/definitions/app.Response"
  11973. }
  11974. }
  11975. }
  11976. }
  11977. },
  11978. "/WrTrade2/QueryFaProductDetail": {
  11979. "get": {
  11980. "security": [
  11981. {
  11982. "ApiKeyAuth": []
  11983. }
  11984. ],
  11985. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11986. "produces": [
  11987. "application/json"
  11988. ],
  11989. "tags": [
  11990. "仓单贸易v2"
  11991. ],
  11992. "summary": "查询融资产品列表",
  11993. "parameters": [
  11994. {
  11995. "type": "integer",
  11996. "description": "仓单要素id",
  11997. "name": "wrfactortypeid",
  11998. "in": "query",
  11999. "required": true
  12000. }
  12001. ],
  12002. "responses": {
  12003. "200": {
  12004. "description": "OK",
  12005. "schema": {
  12006. "type": "array",
  12007. "items": {
  12008. "$ref": "#/definitions/models.WrFAProductDetail"
  12009. }
  12010. }
  12011. },
  12012. "500": {
  12013. "description": "Internal Server Error",
  12014. "schema": {
  12015. "$ref": "#/definitions/app.Response"
  12016. }
  12017. }
  12018. }
  12019. }
  12020. },
  12021. "/WrTrade2/QueryFilterItem": {
  12022. "get": {
  12023. "security": [
  12024. {
  12025. "ApiKeyAuth": []
  12026. }
  12027. ],
  12028. "produces": [
  12029. "application/json"
  12030. ],
  12031. "tags": [
  12032. "仓单贸易v2"
  12033. ],
  12034. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12035. "parameters": [
  12036. {
  12037. "type": "string",
  12038. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12039. "name": "itype",
  12040. "in": "query",
  12041. "required": true
  12042. }
  12043. ],
  12044. "responses": {
  12045. "200": {
  12046. "description": "OK",
  12047. "schema": {
  12048. "type": "array",
  12049. "items": {
  12050. "$ref": "#/definitions/models.WrFilterItem"
  12051. }
  12052. }
  12053. },
  12054. "500": {
  12055. "description": "Internal Server Error",
  12056. "schema": {
  12057. "$ref": "#/definitions/app.Response"
  12058. }
  12059. }
  12060. }
  12061. }
  12062. },
  12063. "/WrTrade2/QueryFtDeliveryGoods": {
  12064. "get": {
  12065. "security": [
  12066. {
  12067. "ApiKeyAuth": []
  12068. }
  12069. ],
  12070. "produces": [
  12071. "application/json"
  12072. ],
  12073. "tags": [
  12074. "仓单贸易v2"
  12075. ],
  12076. "summary": "查询品种品类筛选框列表",
  12077. "responses": {
  12078. "200": {
  12079. "description": "OK",
  12080. "schema": {
  12081. "type": "array",
  12082. "items": {
  12083. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12084. }
  12085. }
  12086. },
  12087. "500": {
  12088. "description": "Internal Server Error",
  12089. "schema": {
  12090. "$ref": "#/definitions/app.Response"
  12091. }
  12092. }
  12093. }
  12094. }
  12095. },
  12096. "/WrTrade2/QueryHoldLB": {
  12097. "get": {
  12098. "security": [
  12099. {
  12100. "ApiKeyAuth": []
  12101. }
  12102. ],
  12103. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12104. "produces": [
  12105. "application/json"
  12106. ],
  12107. "tags": [
  12108. "仓单贸易v2"
  12109. ],
  12110. "summary": "查询仓单持有记录",
  12111. "parameters": [
  12112. {
  12113. "type": "integer",
  12114. "description": "资金账号",
  12115. "name": "accountid",
  12116. "in": "query",
  12117. "required": true
  12118. },
  12119. {
  12120. "type": "integer",
  12121. "description": "仓库id",
  12122. "name": "warehouseid",
  12123. "in": "query"
  12124. },
  12125. {
  12126. "type": "integer",
  12127. "description": "品种id",
  12128. "name": "deliverygoodsid",
  12129. "in": "query"
  12130. },
  12131. {
  12132. "type": "integer",
  12133. "description": "品类id",
  12134. "name": "wrstandardid",
  12135. "in": "query"
  12136. },
  12137. {
  12138. "type": "integer",
  12139. "description": "仓单要素id",
  12140. "name": "wrfactortypeid",
  12141. "in": "query"
  12142. },
  12143. {
  12144. "type": "string",
  12145. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12146. "name": "dgitemname",
  12147. "in": "query"
  12148. }
  12149. ],
  12150. "responses": {
  12151. "200": {
  12152. "description": "OK",
  12153. "schema": {
  12154. "type": "array",
  12155. "items": {
  12156. "$ref": "#/definitions/models.WrHoldLB"
  12157. }
  12158. }
  12159. },
  12160. "500": {
  12161. "description": "Internal Server Error",
  12162. "schema": {
  12163. "$ref": "#/definitions/app.Response"
  12164. }
  12165. }
  12166. }
  12167. }
  12168. },
  12169. "/WrTrade2/QueryOrderQuote": {
  12170. "get": {
  12171. "security": [
  12172. {
  12173. "ApiKeyAuth": []
  12174. }
  12175. ],
  12176. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12177. "produces": [
  12178. "application/json"
  12179. ],
  12180. "tags": [
  12181. "仓单贸易v2"
  12182. ],
  12183. "summary": "查询大厅行情列表",
  12184. "parameters": [
  12185. {
  12186. "type": "integer",
  12187. "description": "页码",
  12188. "name": "page",
  12189. "in": "query"
  12190. },
  12191. {
  12192. "type": "integer",
  12193. "description": "每页条数",
  12194. "name": "pagesize",
  12195. "in": "query"
  12196. },
  12197. {
  12198. "type": "integer",
  12199. "description": "仓单贸易市场id",
  12200. "name": "marketid",
  12201. "in": "query"
  12202. },
  12203. {
  12204. "type": "integer",
  12205. "description": "价格方式 - 1:固定价 2-浮动价",
  12206. "name": "wrpricetype",
  12207. "in": "query",
  12208. "required": true
  12209. },
  12210. {
  12211. "type": "integer",
  12212. "description": "0:仓单预售 1:仓单贸易",
  12213. "name": "haswr",
  12214. "in": "query",
  12215. "required": true
  12216. },
  12217. {
  12218. "type": "string",
  12219. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12220. "name": "dgitemname",
  12221. "in": "query"
  12222. },
  12223. {
  12224. "type": "integer",
  12225. "description": "仓库id(筛选条件)",
  12226. "name": "warehouseid",
  12227. "in": "query"
  12228. },
  12229. {
  12230. "type": "integer",
  12231. "description": "品种id",
  12232. "name": "deliverygoodsid",
  12233. "in": "query"
  12234. },
  12235. {
  12236. "type": "integer",
  12237. "description": "品类id",
  12238. "name": "wrstandardid",
  12239. "in": "query"
  12240. },
  12241. {
  12242. "type": "integer",
  12243. "description": "仓单要素id",
  12244. "name": "wrfactortypeid",
  12245. "in": "query"
  12246. },
  12247. {
  12248. "type": "string",
  12249. "description": "交收月(yyyy-mm) 仓单预售填写",
  12250. "name": "deliverymonth",
  12251. "in": "query"
  12252. }
  12253. ],
  12254. "responses": {
  12255. "200": {
  12256. "description": "OK",
  12257. "schema": {
  12258. "type": "array",
  12259. "items": {
  12260. "$ref": "#/definitions/models.WrOrderQuote"
  12261. }
  12262. }
  12263. },
  12264. "500": {
  12265. "description": "Internal Server Error",
  12266. "schema": {
  12267. "$ref": "#/definitions/app.Response"
  12268. }
  12269. }
  12270. }
  12271. }
  12272. },
  12273. "/WrTrade2/QueryOrderQuoteDetail": {
  12274. "get": {
  12275. "security": [
  12276. {
  12277. "ApiKeyAuth": []
  12278. }
  12279. ],
  12280. "produces": [
  12281. "application/json"
  12282. ],
  12283. "tags": [
  12284. "仓单贸易v2"
  12285. ],
  12286. "summary": "查询买卖大厅",
  12287. "parameters": [
  12288. {
  12289. "type": "integer",
  12290. "description": "页码",
  12291. "name": "page",
  12292. "in": "query"
  12293. },
  12294. {
  12295. "type": "integer",
  12296. "description": "每页条数",
  12297. "name": "pagesize",
  12298. "in": "query"
  12299. },
  12300. {
  12301. "type": "integer",
  12302. "description": "仓单贸易市场id",
  12303. "name": "marketid",
  12304. "in": "query"
  12305. },
  12306. {
  12307. "type": "integer",
  12308. "description": "价格方式 - 1:固定价 2-浮动价",
  12309. "name": "wrpricetype",
  12310. "in": "query",
  12311. "required": true
  12312. },
  12313. {
  12314. "type": "integer",
  12315. "description": "0:仓单预售 1:仓单贸易",
  12316. "name": "haswr",
  12317. "in": "query",
  12318. "required": true
  12319. },
  12320. {
  12321. "type": "integer",
  12322. "description": "仓单要素id",
  12323. "name": "wrfactortypeid",
  12324. "in": "query",
  12325. "required": true
  12326. },
  12327. {
  12328. "type": "integer",
  12329. "description": "期货商品id(浮动价方式时填)",
  12330. "name": "goodsid",
  12331. "in": "query"
  12332. },
  12333. {
  12334. "type": "integer",
  12335. "description": "买卖方向 0-买 1-卖",
  12336. "name": "buyorsell",
  12337. "in": "query",
  12338. "required": true
  12339. },
  12340. {
  12341. "type": "string",
  12342. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12343. "name": "deliverymonth",
  12344. "in": "query"
  12345. }
  12346. ],
  12347. "responses": {
  12348. "200": {
  12349. "description": "OK",
  12350. "schema": {
  12351. "type": "array",
  12352. "items": {
  12353. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12354. }
  12355. }
  12356. },
  12357. "500": {
  12358. "description": "Internal Server Error",
  12359. "schema": {
  12360. "$ref": "#/definitions/app.Response"
  12361. }
  12362. }
  12363. }
  12364. }
  12365. },
  12366. "/WrTrade2/QueryOrderQuoteMyq": {
  12367. "get": {
  12368. "security": [
  12369. {
  12370. "ApiKeyAuth": []
  12371. }
  12372. ],
  12373. "produces": [
  12374. "application/json"
  12375. ],
  12376. "tags": [
  12377. "仓单贸易v2"
  12378. ],
  12379. "summary": "查询贸易圈挂牌大厅",
  12380. "parameters": [
  12381. {
  12382. "type": "integer",
  12383. "description": "页码",
  12384. "name": "page",
  12385. "in": "query"
  12386. },
  12387. {
  12388. "type": "integer",
  12389. "description": "每页条数",
  12390. "name": "pagesize",
  12391. "in": "query"
  12392. },
  12393. {
  12394. "type": "integer",
  12395. "description": "用户id",
  12396. "name": "userid",
  12397. "in": "query",
  12398. "required": true
  12399. },
  12400. {
  12401. "type": "integer",
  12402. "description": "仓单贸易市场id",
  12403. "name": "marketid",
  12404. "in": "query"
  12405. },
  12406. {
  12407. "type": "integer",
  12408. "description": "0:仓单预售 1:仓单贸易",
  12409. "name": "haswr",
  12410. "in": "query",
  12411. "required": true
  12412. },
  12413. {
  12414. "type": "integer",
  12415. "description": "买卖方向 0-买 1-卖",
  12416. "name": "buyorsell",
  12417. "in": "query",
  12418. "required": true
  12419. },
  12420. {
  12421. "type": "integer",
  12422. "description": "品种id",
  12423. "name": "deliverygoodsid",
  12424. "in": "query"
  12425. },
  12426. {
  12427. "type": "integer",
  12428. "description": "品类id",
  12429. "name": "wrstandardid",
  12430. "in": "query"
  12431. },
  12432. {
  12433. "type": "string",
  12434. "description": "交收月(yyyy-mm) 仓单预售填写",
  12435. "name": "deliverymonth",
  12436. "in": "query"
  12437. },
  12438. {
  12439. "type": "string",
  12440. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12441. "name": "dgitemname",
  12442. "in": "query"
  12443. }
  12444. ],
  12445. "responses": {
  12446. "200": {
  12447. "description": "OK",
  12448. "schema": {
  12449. "type": "array",
  12450. "items": {
  12451. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12452. }
  12453. }
  12454. },
  12455. "500": {
  12456. "description": "Internal Server Error",
  12457. "schema": {
  12458. "$ref": "#/definitions/app.Response"
  12459. }
  12460. }
  12461. }
  12462. }
  12463. },
  12464. "/WrTrade2/QueryPerformancePlan": {
  12465. "get": {
  12466. "security": [
  12467. {
  12468. "ApiKeyAuth": []
  12469. }
  12470. ],
  12471. "produces": [
  12472. "application/json"
  12473. ],
  12474. "tags": [
  12475. "仓单贸易v2"
  12476. ],
  12477. "summary": "查询履约信息",
  12478. "parameters": [
  12479. {
  12480. "type": "integer",
  12481. "description": "用户id",
  12482. "name": "userid",
  12483. "in": "query",
  12484. "required": true
  12485. },
  12486. {
  12487. "type": "integer",
  12488. "description": "买卖方向 0-买 1-卖",
  12489. "name": "buyorsell",
  12490. "in": "query",
  12491. "required": true
  12492. }
  12493. ],
  12494. "responses": {
  12495. "200": {
  12496. "description": "OK",
  12497. "schema": {
  12498. "type": "array",
  12499. "items": {
  12500. "$ref": "#/definitions/models.WrPerformancePlan"
  12501. }
  12502. }
  12503. },
  12504. "500": {
  12505. "description": "Internal Server Error",
  12506. "schema": {
  12507. "$ref": "#/definitions/app.Response"
  12508. }
  12509. }
  12510. }
  12511. }
  12512. },
  12513. "/WrTrade2/QueryPermancePlanTmp": {
  12514. "get": {
  12515. "security": [
  12516. {
  12517. "ApiKeyAuth": []
  12518. }
  12519. ],
  12520. "description": "返回指定用户的模板和公共模板(用户id为空)",
  12521. "produces": [
  12522. "application/json"
  12523. ],
  12524. "tags": [
  12525. "仓单贸易v2"
  12526. ],
  12527. "summary": "查询履约模板",
  12528. "parameters": [
  12529. {
  12530. "type": "integer",
  12531. "description": "用户id",
  12532. "name": "userid",
  12533. "in": "query"
  12534. },
  12535. {
  12536. "type": "string",
  12537. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12538. "name": "tmptype",
  12539. "in": "query"
  12540. },
  12541. {
  12542. "type": "integer",
  12543. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12544. "name": "includepub",
  12545. "in": "query"
  12546. }
  12547. ],
  12548. "responses": {
  12549. "200": {
  12550. "description": "OK",
  12551. "schema": {
  12552. "type": "array",
  12553. "items": {
  12554. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12555. }
  12556. }
  12557. },
  12558. "500": {
  12559. "description": "Internal Server Error",
  12560. "schema": {
  12561. "$ref": "#/definitions/app.Response"
  12562. }
  12563. }
  12564. }
  12565. }
  12566. },
  12567. "/WrTrade2/QuerySiteColumnDetail": {
  12568. "get": {
  12569. "security": [
  12570. {
  12571. "ApiKeyAuth": []
  12572. }
  12573. ],
  12574. "produces": [
  12575. "application/json"
  12576. ],
  12577. "tags": [
  12578. "仓单贸易v2"
  12579. ],
  12580. "summary": "查询资讯",
  12581. "parameters": [
  12582. {
  12583. "type": "integer",
  12584. "description": "页码",
  12585. "name": "page",
  12586. "in": "query"
  12587. },
  12588. {
  12589. "type": "integer",
  12590. "description": "每页条数",
  12591. "name": "pagesize",
  12592. "in": "query"
  12593. }
  12594. ],
  12595. "responses": {
  12596. "200": {
  12597. "description": "OK",
  12598. "schema": {
  12599. "type": "array",
  12600. "items": {
  12601. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12602. }
  12603. }
  12604. },
  12605. "500": {
  12606. "description": "Internal Server Error",
  12607. "schema": {
  12608. "$ref": "#/definitions/app.Response"
  12609. }
  12610. }
  12611. }
  12612. }
  12613. },
  12614. "/WrTrade2/QuerySpotGroupTradeSum": {
  12615. "get": {
  12616. "security": [
  12617. {
  12618. "ApiKeyAuth": []
  12619. }
  12620. ],
  12621. "produces": [
  12622. "application/json"
  12623. ],
  12624. "tags": [
  12625. "仓单贸易v2"
  12626. ],
  12627. "summary": "查询指数",
  12628. "responses": {
  12629. "200": {
  12630. "description": "OK",
  12631. "schema": {
  12632. "type": "array",
  12633. "items": {
  12634. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12635. }
  12636. }
  12637. },
  12638. "500": {
  12639. "description": "Internal Server Error",
  12640. "schema": {
  12641. "$ref": "#/definitions/app.Response"
  12642. }
  12643. }
  12644. }
  12645. }
  12646. },
  12647. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12648. "get": {
  12649. "security": [
  12650. {
  12651. "ApiKeyAuth": []
  12652. }
  12653. ],
  12654. "description": "查询的结果将会按日期 从小到大 排序",
  12655. "produces": [
  12656. "application/json"
  12657. ],
  12658. "tags": [
  12659. "仓单贸易v2"
  12660. ],
  12661. "summary": "查询指数详细(价格走势图)",
  12662. "parameters": [
  12663. {
  12664. "type": "integer",
  12665. "description": "现货商品id",
  12666. "name": "deliverygoodsid",
  12667. "in": "query",
  12668. "required": true
  12669. },
  12670. {
  12671. "type": "integer",
  12672. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12673. "name": "lastnum",
  12674. "in": "query"
  12675. }
  12676. ],
  12677. "responses": {
  12678. "200": {
  12679. "description": "OK",
  12680. "schema": {
  12681. "type": "array",
  12682. "items": {
  12683. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12684. }
  12685. }
  12686. },
  12687. "500": {
  12688. "description": "Internal Server Error",
  12689. "schema": {
  12690. "$ref": "#/definitions/app.Response"
  12691. }
  12692. }
  12693. }
  12694. }
  12695. },
  12696. "/WrTrade2/QueryWrAverageTradePrice": {
  12697. "get": {
  12698. "security": [
  12699. {
  12700. "ApiKeyAuth": []
  12701. }
  12702. ],
  12703. "produces": [
  12704. "application/json"
  12705. ],
  12706. "tags": [
  12707. "仓单贸易v2"
  12708. ],
  12709. "summary": "查询成交价(历史走势)",
  12710. "parameters": [
  12711. {
  12712. "type": "integer",
  12713. "description": "页码",
  12714. "name": "page",
  12715. "in": "query"
  12716. },
  12717. {
  12718. "type": "integer",
  12719. "description": "每页条数",
  12720. "name": "pagesize",
  12721. "in": "query"
  12722. },
  12723. {
  12724. "type": "integer",
  12725. "description": "0:仓单预售 1:仓单贸易",
  12726. "name": "haswr",
  12727. "in": "query",
  12728. "required": true
  12729. },
  12730. {
  12731. "type": "integer",
  12732. "description": "仓单要素id",
  12733. "name": "wrfactortypeid",
  12734. "in": "query",
  12735. "required": true
  12736. }
  12737. ],
  12738. "responses": {
  12739. "200": {
  12740. "description": "OK",
  12741. "schema": {
  12742. "type": "array",
  12743. "items": {
  12744. "$ref": "#/definitions/models.WrAverageTradePrice"
  12745. }
  12746. }
  12747. },
  12748. "500": {
  12749. "description": "Internal Server Error",
  12750. "schema": {
  12751. "$ref": "#/definitions/app.Response"
  12752. }
  12753. }
  12754. }
  12755. }
  12756. },
  12757. "/WrTrade2/QueryWrBsGoodsInfo": {
  12758. "get": {
  12759. "security": [
  12760. {
  12761. "ApiKeyAuth": []
  12762. }
  12763. ],
  12764. "description": "合约交易/买卖大厅/详情",
  12765. "produces": [
  12766. "application/json"
  12767. ],
  12768. "tags": [
  12769. "仓单贸易v2"
  12770. ],
  12771. "summary": "查询合约交易买卖大厅详情",
  12772. "parameters": [
  12773. {
  12774. "type": "integer",
  12775. "description": "商品id",
  12776. "name": "goodsid",
  12777. "in": "query",
  12778. "required": true
  12779. }
  12780. ],
  12781. "responses": {
  12782. "200": {
  12783. "description": "OK",
  12784. "schema": {
  12785. "type": "array",
  12786. "items": {
  12787. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12788. }
  12789. }
  12790. },
  12791. "500": {
  12792. "description": "Internal Server Error",
  12793. "schema": {
  12794. "$ref": "#/definitions/app.Response"
  12795. }
  12796. }
  12797. }
  12798. }
  12799. },
  12800. "/WrTrade2/QueryWrBuybackDetail": {
  12801. "get": {
  12802. "security": [
  12803. {
  12804. "ApiKeyAuth": []
  12805. }
  12806. ],
  12807. "produces": [
  12808. "application/json"
  12809. ],
  12810. "tags": [
  12811. "仓单贸易v2"
  12812. ],
  12813. "summary": "查询仓单回购明细",
  12814. "parameters": [
  12815. {
  12816. "type": "integer",
  12817. "description": "融资合同id",
  12818. "name": "scfcontractid",
  12819. "in": "query"
  12820. }
  12821. ],
  12822. "responses": {
  12823. "200": {
  12824. "description": "OK",
  12825. "schema": {
  12826. "type": "array",
  12827. "items": {
  12828. "$ref": "#/definitions/models.WrBuybackDetail"
  12829. }
  12830. }
  12831. },
  12832. "500": {
  12833. "description": "Internal Server Error",
  12834. "schema": {
  12835. "$ref": "#/definitions/app.Response"
  12836. }
  12837. }
  12838. }
  12839. }
  12840. },
  12841. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12842. "get": {
  12843. "security": [
  12844. {
  12845. "ApiKeyAuth": []
  12846. }
  12847. ],
  12848. "produces": [
  12849. "application/json"
  12850. ],
  12851. "tags": [
  12852. "仓单贸易v2"
  12853. ],
  12854. "summary": "查询合约交收可点选仓单",
  12855. "parameters": [
  12856. {
  12857. "type": "integer",
  12858. "description": "资金账号",
  12859. "name": "accountid",
  12860. "in": "query",
  12861. "required": true
  12862. },
  12863. {
  12864. "type": "integer",
  12865. "description": "商品id",
  12866. "name": "goodsid",
  12867. "in": "query",
  12868. "required": true
  12869. }
  12870. ],
  12871. "responses": {
  12872. "200": {
  12873. "description": "OK",
  12874. "schema": {
  12875. "type": "array",
  12876. "items": {
  12877. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12878. }
  12879. }
  12880. },
  12881. "500": {
  12882. "description": "Internal Server Error",
  12883. "schema": {
  12884. "$ref": "#/definitions/app.Response"
  12885. }
  12886. }
  12887. }
  12888. }
  12889. },
  12890. "/WrTrade2/QueryWrDeliveryDetail": {
  12891. "get": {
  12892. "security": [
  12893. {
  12894. "ApiKeyAuth": []
  12895. }
  12896. ],
  12897. "produces": [
  12898. "application/json"
  12899. ],
  12900. "tags": [
  12901. "仓单贸易v2"
  12902. ],
  12903. "summary": "查询交收",
  12904. "parameters": [
  12905. {
  12906. "type": "integer",
  12907. "description": "用户id",
  12908. "name": "userid",
  12909. "in": "query",
  12910. "required": true
  12911. },
  12912. {
  12913. "type": "integer",
  12914. "description": "资金账号id",
  12915. "name": "accountid",
  12916. "in": "query"
  12917. }
  12918. ],
  12919. "responses": {
  12920. "200": {
  12921. "description": "OK",
  12922. "schema": {
  12923. "type": "array",
  12924. "items": {
  12925. "$ref": "#/definitions/models.WrDeliveryDetail"
  12926. }
  12927. }
  12928. },
  12929. "500": {
  12930. "description": "Internal Server Error",
  12931. "schema": {
  12932. "$ref": "#/definitions/app.Response"
  12933. }
  12934. }
  12935. }
  12936. }
  12937. },
  12938. "/WrTrade2/QueryWrFactorTypeInfo": {
  12939. "get": {
  12940. "security": [
  12941. {
  12942. "ApiKeyAuth": []
  12943. }
  12944. ],
  12945. "produces": [
  12946. "application/json"
  12947. ],
  12948. "tags": [
  12949. "仓单贸易v2"
  12950. ],
  12951. "summary": "查询仓单要素详细信息",
  12952. "parameters": [
  12953. {
  12954. "type": "integer",
  12955. "description": "仓单要素id",
  12956. "name": "wrfactortypeid",
  12957. "in": "query",
  12958. "required": true
  12959. }
  12960. ],
  12961. "responses": {
  12962. "200": {
  12963. "description": "OK",
  12964. "schema": {
  12965. "type": "array",
  12966. "items": {
  12967. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12968. }
  12969. }
  12970. },
  12971. "500": {
  12972. "description": "Internal Server Error",
  12973. "schema": {
  12974. "$ref": "#/definitions/app.Response"
  12975. }
  12976. }
  12977. }
  12978. }
  12979. },
  12980. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12981. "get": {
  12982. "security": [
  12983. {
  12984. "ApiKeyAuth": []
  12985. }
  12986. ],
  12987. "produces": [
  12988. "application/json"
  12989. ],
  12990. "tags": [
  12991. "仓单贸易v2"
  12992. ],
  12993. "summary": "查询仓单要素详细信息列表项",
  12994. "parameters": [
  12995. {
  12996. "type": "integer",
  12997. "description": "仓单要素id",
  12998. "name": "wrfactortypeid",
  12999. "in": "query",
  13000. "required": true
  13001. }
  13002. ],
  13003. "responses": {
  13004. "200": {
  13005. "description": "OK",
  13006. "schema": {
  13007. "type": "array",
  13008. "items": {
  13009. "$ref": "#/definitions/models.WrTypeItem"
  13010. }
  13011. }
  13012. },
  13013. "500": {
  13014. "description": "Internal Server Error",
  13015. "schema": {
  13016. "$ref": "#/definitions/app.Response"
  13017. }
  13018. }
  13019. }
  13020. }
  13021. },
  13022. "/WrTrade2/QueryWrFinanceBuyApply": {
  13023. "get": {
  13024. "security": [
  13025. {
  13026. "ApiKeyAuth": []
  13027. }
  13028. ],
  13029. "description": "页面 融资信息+ / 申请单",
  13030. "produces": [
  13031. "application/json"
  13032. ],
  13033. "tags": [
  13034. "仓单贸易v2"
  13035. ],
  13036. "summary": "查询融资购买申请",
  13037. "parameters": [
  13038. {
  13039. "type": "integer",
  13040. "description": "用户id",
  13041. "name": "userid",
  13042. "in": "query",
  13043. "required": true
  13044. }
  13045. ],
  13046. "responses": {
  13047. "200": {
  13048. "description": "OK",
  13049. "schema": {
  13050. "type": "array",
  13051. "items": {
  13052. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13053. }
  13054. }
  13055. },
  13056. "500": {
  13057. "description": "Internal Server Error",
  13058. "schema": {
  13059. "$ref": "#/definitions/app.Response"
  13060. }
  13061. }
  13062. }
  13063. }
  13064. },
  13065. "/WrTrade2/QueryWrFriendApply": {
  13066. "get": {
  13067. "security": [
  13068. {
  13069. "ApiKeyAuth": []
  13070. }
  13071. ],
  13072. "produces": [
  13073. "application/json"
  13074. ],
  13075. "tags": [
  13076. "仓单贸易v2"
  13077. ],
  13078. "summary": "查询好友申请记录",
  13079. "parameters": [
  13080. {
  13081. "type": "integer",
  13082. "description": "用户id",
  13083. "name": "userid",
  13084. "in": "query",
  13085. "required": true
  13086. }
  13087. ],
  13088. "responses": {
  13089. "200": {
  13090. "description": "OK",
  13091. "schema": {
  13092. "type": "array",
  13093. "items": {
  13094. "$ref": "#/definitions/models.WrFriendApply"
  13095. }
  13096. }
  13097. },
  13098. "500": {
  13099. "description": "Internal Server Error",
  13100. "schema": {
  13101. "$ref": "#/definitions/app.Response"
  13102. }
  13103. }
  13104. }
  13105. }
  13106. },
  13107. "/WrTrade2/QueryWrGoodsInfo": {
  13108. "get": {
  13109. "security": [
  13110. {
  13111. "ApiKeyAuth": []
  13112. }
  13113. ],
  13114. "produces": [
  13115. "application/json"
  13116. ],
  13117. "tags": [
  13118. "仓单贸易v2"
  13119. ],
  13120. "summary": "查询仓单商品信息",
  13121. "parameters": [
  13122. {
  13123. "type": "integer",
  13124. "description": "仓单贸易市场id",
  13125. "name": "marketid",
  13126. "in": "query"
  13127. },
  13128. {
  13129. "type": "integer",
  13130. "description": "0:仓单预售 1:仓单贸易",
  13131. "name": "haswr",
  13132. "in": "query",
  13133. "required": true
  13134. },
  13135. {
  13136. "type": "integer",
  13137. "description": "仓单要素id",
  13138. "name": "wrfactortypeid",
  13139. "in": "query",
  13140. "required": true
  13141. },
  13142. {
  13143. "type": "integer",
  13144. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13145. "name": "tmplateid",
  13146. "in": "query"
  13147. }
  13148. ],
  13149. "responses": {
  13150. "200": {
  13151. "description": "OK",
  13152. "schema": {
  13153. "type": "array",
  13154. "items": {
  13155. "$ref": "#/definitions/models.WrGoodsInfo"
  13156. }
  13157. }
  13158. },
  13159. "500": {
  13160. "description": "Internal Server Error",
  13161. "schema": {
  13162. "$ref": "#/definitions/app.Response"
  13163. }
  13164. }
  13165. }
  13166. }
  13167. },
  13168. "/WrTrade2/QueryWrMarketTradeConfig": {
  13169. "get": {
  13170. "security": [
  13171. {
  13172. "ApiKeyAuth": []
  13173. }
  13174. ],
  13175. "produces": [
  13176. "application/json"
  13177. ],
  13178. "tags": [
  13179. "仓单贸易v2"
  13180. ],
  13181. "summary": "查询市场交易参数配置",
  13182. "parameters": [
  13183. {
  13184. "type": "integer",
  13185. "description": "市场id",
  13186. "name": "marketid",
  13187. "in": "query"
  13188. }
  13189. ],
  13190. "responses": {
  13191. "200": {
  13192. "description": "OK",
  13193. "schema": {
  13194. "type": "array",
  13195. "items": {
  13196. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13197. }
  13198. }
  13199. },
  13200. "500": {
  13201. "description": "Internal Server Error",
  13202. "schema": {
  13203. "$ref": "#/definitions/app.Response"
  13204. }
  13205. }
  13206. }
  13207. }
  13208. },
  13209. "/WrTrade2/QueryWrOrderDetail": {
  13210. "get": {
  13211. "security": [
  13212. {
  13213. "ApiKeyAuth": []
  13214. }
  13215. ],
  13216. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13217. "produces": [
  13218. "application/json"
  13219. ],
  13220. "tags": [
  13221. "仓单贸易v2"
  13222. ],
  13223. "summary": "查询仓单委托单(挂单)",
  13224. "parameters": [
  13225. {
  13226. "type": "integer",
  13227. "description": "页码",
  13228. "name": "page",
  13229. "in": "query"
  13230. },
  13231. {
  13232. "type": "integer",
  13233. "description": "每页条数",
  13234. "name": "pagesize",
  13235. "in": "query"
  13236. },
  13237. {
  13238. "type": "integer",
  13239. "description": "用户id",
  13240. "name": "userid",
  13241. "in": "query",
  13242. "required": true
  13243. },
  13244. {
  13245. "type": "integer",
  13246. "description": "仓单贸易市场id",
  13247. "name": "marketid",
  13248. "in": "query"
  13249. },
  13250. {
  13251. "type": "integer",
  13252. "description": "0:仓单预售 1:仓单贸易",
  13253. "name": "haswr",
  13254. "in": "query",
  13255. "required": true
  13256. }
  13257. ],
  13258. "responses": {
  13259. "200": {
  13260. "description": "OK",
  13261. "schema": {
  13262. "type": "array",
  13263. "items": {
  13264. "$ref": "#/definitions/models.WrOrderDetail"
  13265. }
  13266. }
  13267. },
  13268. "500": {
  13269. "description": "Internal Server Error",
  13270. "schema": {
  13271. "$ref": "#/definitions/app.Response"
  13272. }
  13273. }
  13274. }
  13275. }
  13276. },
  13277. "/WrTrade2/QueryWrOutInApply": {
  13278. "get": {
  13279. "security": [
  13280. {
  13281. "ApiKeyAuth": []
  13282. }
  13283. ],
  13284. "produces": [
  13285. "application/json"
  13286. ],
  13287. "tags": [
  13288. "仓单贸易v2"
  13289. ],
  13290. "summary": "查询提货申请",
  13291. "parameters": [
  13292. {
  13293. "type": "integer",
  13294. "description": "用户id",
  13295. "name": "userid",
  13296. "in": "query",
  13297. "required": true
  13298. }
  13299. ],
  13300. "responses": {
  13301. "200": {
  13302. "description": "OK",
  13303. "schema": {
  13304. "type": "array",
  13305. "items": {
  13306. "$ref": "#/definitions/models.WrOutInApply"
  13307. }
  13308. }
  13309. },
  13310. "500": {
  13311. "description": "Internal Server Error",
  13312. "schema": {
  13313. "$ref": "#/definitions/app.Response"
  13314. }
  13315. }
  13316. }
  13317. }
  13318. },
  13319. "/WrTrade2/QueryWrPerformancePlanStep": {
  13320. "get": {
  13321. "security": [
  13322. {
  13323. "ApiKeyAuth": []
  13324. }
  13325. ],
  13326. "produces": [
  13327. "application/json"
  13328. ],
  13329. "tags": [
  13330. "仓单贸易v2"
  13331. ],
  13332. "summary": "查询履约信息详情",
  13333. "parameters": [
  13334. {
  13335. "type": "integer",
  13336. "description": "履约计划id(performanceplanid)",
  13337. "name": "planid",
  13338. "in": "query",
  13339. "required": true
  13340. },
  13341. {
  13342. "type": "integer",
  13343. "description": "当前步骤id",
  13344. "name": "curstepid",
  13345. "in": "query"
  13346. }
  13347. ],
  13348. "responses": {
  13349. "200": {
  13350. "description": "OK",
  13351. "schema": {
  13352. "type": "array",
  13353. "items": {
  13354. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13355. }
  13356. }
  13357. },
  13358. "500": {
  13359. "description": "Internal Server Error",
  13360. "schema": {
  13361. "$ref": "#/definitions/app.Response"
  13362. }
  13363. }
  13364. }
  13365. }
  13366. },
  13367. "/WrTrade2/QueryWrPerformanceStepType": {
  13368. "get": {
  13369. "security": [
  13370. {
  13371. "ApiKeyAuth": []
  13372. }
  13373. ],
  13374. "produces": [
  13375. "application/json"
  13376. ],
  13377. "tags": [
  13378. "仓单贸易v2"
  13379. ],
  13380. "summary": "查询履约步骤枚举",
  13381. "responses": {
  13382. "200": {
  13383. "description": "OK",
  13384. "schema": {
  13385. "type": "array",
  13386. "items": {
  13387. "$ref": "#/definitions/models.WrPerformanceStepType"
  13388. }
  13389. }
  13390. },
  13391. "500": {
  13392. "description": "Internal Server Error",
  13393. "schema": {
  13394. "$ref": "#/definitions/app.Response"
  13395. }
  13396. }
  13397. }
  13398. }
  13399. },
  13400. "/WrTrade2/QueryWrPosition": {
  13401. "get": {
  13402. "security": [
  13403. {
  13404. "ApiKeyAuth": []
  13405. }
  13406. ],
  13407. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13408. "produces": [
  13409. "application/json"
  13410. ],
  13411. "tags": [
  13412. "仓单贸易v2"
  13413. ],
  13414. "summary": "查询现货(预售)仓单持仓",
  13415. "parameters": [
  13416. {
  13417. "type": "integer",
  13418. "description": "用户id",
  13419. "name": "userid",
  13420. "in": "query",
  13421. "required": true
  13422. },
  13423. {
  13424. "type": "integer",
  13425. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13426. "name": "querytype",
  13427. "in": "query",
  13428. "required": true
  13429. },
  13430. {
  13431. "type": "integer",
  13432. "description": "0:仓单预售 1:仓单贸易",
  13433. "name": "haswr",
  13434. "in": "query",
  13435. "required": true
  13436. },
  13437. {
  13438. "type": "string",
  13439. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13440. "name": "dgitemname",
  13441. "in": "query"
  13442. },
  13443. {
  13444. "type": "integer",
  13445. "description": "仓库id(筛选条件)",
  13446. "name": "warehouseid",
  13447. "in": "query"
  13448. },
  13449. {
  13450. "type": "integer",
  13451. "description": "品种id",
  13452. "name": "deliverygoodsid",
  13453. "in": "query"
  13454. },
  13455. {
  13456. "type": "integer",
  13457. "description": "品类id",
  13458. "name": "wrstandardid",
  13459. "in": "query"
  13460. }
  13461. ],
  13462. "responses": {
  13463. "200": {
  13464. "description": "OK",
  13465. "schema": {
  13466. "type": "array",
  13467. "items": {
  13468. "$ref": "#/definitions/models.WrPosition"
  13469. }
  13470. }
  13471. },
  13472. "500": {
  13473. "description": "Internal Server Error",
  13474. "schema": {
  13475. "$ref": "#/definitions/app.Response"
  13476. }
  13477. }
  13478. }
  13479. }
  13480. },
  13481. "/WrTrade2/QueryWrScfContract": {
  13482. "get": {
  13483. "security": [
  13484. {
  13485. "ApiKeyAuth": []
  13486. }
  13487. ],
  13488. "produces": [
  13489. "application/json"
  13490. ],
  13491. "tags": [
  13492. "仓单贸易v2"
  13493. ],
  13494. "summary": "查询仓单贸易融资合同",
  13495. "parameters": [
  13496. {
  13497. "type": "integer",
  13498. "description": "用户id",
  13499. "name": "userid",
  13500. "in": "query",
  13501. "required": true
  13502. },
  13503. {
  13504. "type": "integer",
  13505. "description": "融资合同id",
  13506. "name": "scfcontractid",
  13507. "in": "query"
  13508. }
  13509. ],
  13510. "responses": {
  13511. "200": {
  13512. "description": "OK",
  13513. "schema": {
  13514. "type": "array",
  13515. "items": {
  13516. "$ref": "#/definitions/models.WrScfContract"
  13517. }
  13518. }
  13519. },
  13520. "500": {
  13521. "description": "Internal Server Error",
  13522. "schema": {
  13523. "$ref": "#/definitions/app.Response"
  13524. }
  13525. }
  13526. }
  13527. }
  13528. },
  13529. "/WrTrade2/QueryWrScfContractInterest": {
  13530. "get": {
  13531. "security": [
  13532. {
  13533. "ApiKeyAuth": []
  13534. }
  13535. ],
  13536. "produces": [
  13537. "application/json"
  13538. ],
  13539. "tags": [
  13540. "仓单贸易v2"
  13541. ],
  13542. "summary": "查询融资合同费用明细",
  13543. "parameters": [
  13544. {
  13545. "type": "integer",
  13546. "description": "融资合同id",
  13547. "name": "scfcontractid",
  13548. "in": "query"
  13549. }
  13550. ],
  13551. "responses": {
  13552. "200": {
  13553. "description": "OK",
  13554. "schema": {
  13555. "type": "array",
  13556. "items": {
  13557. "$ref": "#/definitions/models.WrScfContractInterest"
  13558. }
  13559. }
  13560. },
  13561. "500": {
  13562. "description": "Internal Server Error",
  13563. "schema": {
  13564. "$ref": "#/definitions/app.Response"
  13565. }
  13566. }
  13567. }
  13568. }
  13569. },
  13570. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13571. "get": {
  13572. "security": [
  13573. {
  13574. "ApiKeyAuth": []
  13575. }
  13576. ],
  13577. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13578. "produces": [
  13579. "application/json"
  13580. ],
  13581. "tags": [
  13582. "仓单贸易v2"
  13583. ],
  13584. "summary": "查询指定成交",
  13585. "parameters": [
  13586. {
  13587. "type": "integer",
  13588. "description": "页码",
  13589. "name": "page",
  13590. "in": "query"
  13591. },
  13592. {
  13593. "type": "integer",
  13594. "description": "每页条数",
  13595. "name": "pagesize",
  13596. "in": "query"
  13597. },
  13598. {
  13599. "type": "integer",
  13600. "description": "用户id",
  13601. "name": "userid",
  13602. "in": "query",
  13603. "required": true
  13604. },
  13605. {
  13606. "type": "integer",
  13607. "description": "仓单贸易市场id",
  13608. "name": "marketid",
  13609. "in": "query"
  13610. },
  13611. {
  13612. "type": "integer",
  13613. "description": "0:仓单预售 1:仓单贸易",
  13614. "name": "haswr",
  13615. "in": "query",
  13616. "required": true
  13617. }
  13618. ],
  13619. "responses": {
  13620. "200": {
  13621. "description": "OK",
  13622. "schema": {
  13623. "type": "array",
  13624. "items": {
  13625. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13626. }
  13627. }
  13628. },
  13629. "500": {
  13630. "description": "Internal Server Error",
  13631. "schema": {
  13632. "$ref": "#/definitions/app.Response"
  13633. }
  13634. }
  13635. }
  13636. }
  13637. },
  13638. "/WrTrade2/QueryWrStandardFactoryItem": {
  13639. "get": {
  13640. "security": [
  13641. {
  13642. "ApiKeyAuth": []
  13643. }
  13644. ],
  13645. "produces": [
  13646. "application/json"
  13647. ],
  13648. "tags": [
  13649. "仓单贸易v2"
  13650. ],
  13651. "summary": "查询品类要素定义项",
  13652. "parameters": [
  13653. {
  13654. "type": "integer",
  13655. "description": "品类id",
  13656. "name": "wrstandardid",
  13657. "in": "query",
  13658. "required": true
  13659. }
  13660. ],
  13661. "responses": {
  13662. "200": {
  13663. "description": "OK",
  13664. "schema": {
  13665. "type": "array",
  13666. "items": {
  13667. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13668. }
  13669. }
  13670. },
  13671. "500": {
  13672. "description": "Internal Server Error",
  13673. "schema": {
  13674. "$ref": "#/definitions/app.Response"
  13675. }
  13676. }
  13677. }
  13678. }
  13679. },
  13680. "/WrTrade2/QueryWrTradeBargainApply": {
  13681. "get": {
  13682. "security": [
  13683. {
  13684. "ApiKeyAuth": []
  13685. }
  13686. ],
  13687. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13688. "produces": [
  13689. "application/json"
  13690. ],
  13691. "tags": [
  13692. "仓单贸易v2"
  13693. ],
  13694. "summary": "查询议价单",
  13695. "parameters": [
  13696. {
  13697. "type": "integer",
  13698. "description": "议价人id(摘牌方)",
  13699. "name": "userid",
  13700. "in": "query"
  13701. },
  13702. {
  13703. "type": "integer",
  13704. "description": "挂牌方id(查对方议价时,填写此项)",
  13705. "name": "matchuserid",
  13706. "in": "query"
  13707. },
  13708. {
  13709. "type": "integer",
  13710. "description": "关联委托单id",
  13711. "name": "wrtradeorderid",
  13712. "in": "query"
  13713. },
  13714. {
  13715. "type": "integer",
  13716. "description": "0:仓单预售 1:仓单贸易",
  13717. "name": "haswr",
  13718. "in": "query",
  13719. "required": true
  13720. }
  13721. ],
  13722. "responses": {
  13723. "200": {
  13724. "description": "OK",
  13725. "schema": {
  13726. "type": "array",
  13727. "items": {
  13728. "$ref": "#/definitions/models.WRTradeBargainApply"
  13729. }
  13730. }
  13731. },
  13732. "500": {
  13733. "description": "Internal Server Error",
  13734. "schema": {
  13735. "$ref": "#/definitions/app.Response"
  13736. }
  13737. }
  13738. }
  13739. }
  13740. },
  13741. "/WrTrade2/QueryWrTradeDetail": {
  13742. "get": {
  13743. "security": [
  13744. {
  13745. "ApiKeyAuth": []
  13746. }
  13747. ],
  13748. "produces": [
  13749. "application/json"
  13750. ],
  13751. "tags": [
  13752. "仓单贸易v2"
  13753. ],
  13754. "summary": "查询仓单成交明细",
  13755. "parameters": [
  13756. {
  13757. "type": "integer",
  13758. "description": "页码",
  13759. "name": "page",
  13760. "in": "query"
  13761. },
  13762. {
  13763. "type": "integer",
  13764. "description": "每页条数",
  13765. "name": "pagesize",
  13766. "in": "query"
  13767. },
  13768. {
  13769. "type": "integer",
  13770. "description": "用户id",
  13771. "name": "userid",
  13772. "in": "query",
  13773. "required": true
  13774. },
  13775. {
  13776. "type": "integer",
  13777. "description": "仓单贸易市场id",
  13778. "name": "marketid",
  13779. "in": "query"
  13780. },
  13781. {
  13782. "type": "integer",
  13783. "description": "0:仓单预售 1:仓单贸易",
  13784. "name": "haswr",
  13785. "in": "query",
  13786. "required": true
  13787. }
  13788. ],
  13789. "responses": {
  13790. "200": {
  13791. "description": "OK",
  13792. "schema": {
  13793. "type": "array",
  13794. "items": {
  13795. "$ref": "#/definitions/models.WrTradeDetail"
  13796. }
  13797. }
  13798. },
  13799. "500": {
  13800. "description": "Internal Server Error",
  13801. "schema": {
  13802. "$ref": "#/definitions/app.Response"
  13803. }
  13804. }
  13805. }
  13806. }
  13807. },
  13808. "/WrTrade2/QueryWrTradeOrderDetail": {
  13809. "get": {
  13810. "security": [
  13811. {
  13812. "ApiKeyAuth": []
  13813. }
  13814. ],
  13815. "produces": [
  13816. "application/json"
  13817. ],
  13818. "tags": [
  13819. "仓单贸易v2"
  13820. ],
  13821. "summary": "查询合约交易买卖大厅",
  13822. "parameters": [
  13823. {
  13824. "type": "integer",
  13825. "description": "页码",
  13826. "name": "page",
  13827. "in": "query"
  13828. },
  13829. {
  13830. "type": "integer",
  13831. "description": "每页条数",
  13832. "name": "pagesize",
  13833. "in": "query"
  13834. },
  13835. {
  13836. "type": "integer",
  13837. "description": "商品id",
  13838. "name": "goodsid",
  13839. "in": "query",
  13840. "required": true
  13841. },
  13842. {
  13843. "type": "integer",
  13844. "description": "买卖方向 0-买 1-卖",
  13845. "name": "buyorsell",
  13846. "in": "query",
  13847. "required": true
  13848. }
  13849. ],
  13850. "responses": {
  13851. "200": {
  13852. "description": "OK",
  13853. "schema": {
  13854. "type": "array",
  13855. "items": {
  13856. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13857. }
  13858. }
  13859. },
  13860. "500": {
  13861. "description": "Internal Server Error",
  13862. "schema": {
  13863. "$ref": "#/definitions/app.Response"
  13864. }
  13865. }
  13866. }
  13867. }
  13868. },
  13869. "/WrTrade2/QueryWrUserFriend": {
  13870. "get": {
  13871. "security": [
  13872. {
  13873. "ApiKeyAuth": []
  13874. }
  13875. ],
  13876. "produces": [
  13877. "application/json"
  13878. ],
  13879. "tags": [
  13880. "仓单贸易v2"
  13881. ],
  13882. "summary": "查询我的朋友",
  13883. "parameters": [
  13884. {
  13885. "type": "integer",
  13886. "description": "用户id",
  13887. "name": "userid",
  13888. "in": "query",
  13889. "required": true
  13890. },
  13891. {
  13892. "type": "integer",
  13893. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13894. "name": "newuserid",
  13895. "in": "query"
  13896. }
  13897. ],
  13898. "responses": {
  13899. "200": {
  13900. "description": "OK",
  13901. "schema": {
  13902. "type": "array",
  13903. "items": {
  13904. "$ref": "#/definitions/models.WrUserFriend"
  13905. }
  13906. }
  13907. },
  13908. "500": {
  13909. "description": "Internal Server Error",
  13910. "schema": {
  13911. "$ref": "#/definitions/app.Response"
  13912. }
  13913. }
  13914. }
  13915. }
  13916. },
  13917. "/WrTrade2/QueryWrUserReceiptInfo": {
  13918. "get": {
  13919. "security": [
  13920. {
  13921. "ApiKeyAuth": []
  13922. }
  13923. ],
  13924. "produces": [
  13925. "application/json"
  13926. ],
  13927. "tags": [
  13928. "仓单贸易v2"
  13929. ],
  13930. "summary": "查询发票信息",
  13931. "parameters": [
  13932. {
  13933. "type": "integer",
  13934. "description": "用户id",
  13935. "name": "userid",
  13936. "in": "query"
  13937. },
  13938. {
  13939. "type": "integer",
  13940. "description": "发票类型 - 1:个人 2:企业",
  13941. "name": "receipttype",
  13942. "in": "query"
  13943. }
  13944. ],
  13945. "responses": {
  13946. "200": {
  13947. "description": "OK",
  13948. "schema": {
  13949. "type": "array",
  13950. "items": {
  13951. "$ref": "#/definitions/models.WrUserReceiptInfo"
  13952. }
  13953. }
  13954. },
  13955. "500": {
  13956. "description": "Internal Server Error",
  13957. "schema": {
  13958. "$ref": "#/definitions/app.Response"
  13959. }
  13960. }
  13961. }
  13962. }
  13963. },
  13964. "/ZJ/GetBankTip": {
  13965. "get": {
  13966. "produces": [
  13967. "application/json"
  13968. ],
  13969. "tags": [
  13970. "中江"
  13971. ],
  13972. "summary": "获取中江网银端出入金提示信息",
  13973. "responses": {
  13974. "200": {
  13975. "description": "OK",
  13976. "schema": {
  13977. "type": "string"
  13978. }
  13979. },
  13980. "500": {
  13981. "description": "Internal Server Error",
  13982. "schema": {
  13983. "$ref": "#/definitions/app.Response"
  13984. }
  13985. }
  13986. }
  13987. }
  13988. },
  13989. "/ZJ/GetCusBankChannels": {
  13990. "get": {
  13991. "produces": [
  13992. "application/json"
  13993. ],
  13994. "tags": [
  13995. "中江"
  13996. ],
  13997. "summary": "获取中江出入金渠道显示列表",
  13998. "responses": {
  13999. "200": {
  14000. "description": "OK",
  14001. "schema": {
  14002. "type": "array",
  14003. "items": {
  14004. "type": "string"
  14005. }
  14006. }
  14007. },
  14008. "500": {
  14009. "description": "Internal Server Error",
  14010. "schema": {
  14011. "$ref": "#/definitions/app.Response"
  14012. }
  14013. }
  14014. }
  14015. }
  14016. }
  14017. },
  14018. "definitions": {
  14019. "app.Response": {
  14020. "type": "object",
  14021. "properties": {
  14022. "code": {
  14023. "type": "integer"
  14024. },
  14025. "data": {
  14026. "type": "object"
  14027. },
  14028. "msg": {
  14029. "type": "string"
  14030. },
  14031. "page": {
  14032. "description": "页码",
  14033. "type": "integer"
  14034. },
  14035. "pagesize": {
  14036. "description": "每页条数",
  14037. "type": "integer"
  14038. },
  14039. "total": {
  14040. "description": "总条数",
  14041. "type": "integer"
  14042. }
  14043. }
  14044. },
  14045. "common.ClientMenu": {
  14046. "type": "object",
  14047. "properties": {
  14048. "children": {
  14049. "description": "子菜单列表",
  14050. "type": "array",
  14051. "items": {
  14052. "$ref": "#/definitions/common.ClientMenu"
  14053. }
  14054. },
  14055. "code": {
  14056. "description": "ID",
  14057. "type": "string"
  14058. },
  14059. "isshow": {
  14060. "description": "是否显示",
  14061. "type": "boolean"
  14062. },
  14063. "remark": {
  14064. "description": "备注",
  14065. "type": "string"
  14066. },
  14067. "rulekey": {
  14068. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14069. "type": "string"
  14070. },
  14071. "sort": {
  14072. "description": "排序",
  14073. "type": "integer"
  14074. },
  14075. "title": {
  14076. "description": "标题",
  14077. "type": "string"
  14078. },
  14079. "type": {
  14080. "description": "类型,1:菜单 2:按钮",
  14081. "type": "integer"
  14082. },
  14083. "url": {
  14084. "description": "URL",
  14085. "type": "string"
  14086. }
  14087. }
  14088. },
  14089. "common.PCWebMenu": {
  14090. "type": "object",
  14091. "properties": {
  14092. "auth": {
  14093. "description": "页面权限列表",
  14094. "type": "array",
  14095. "items": {
  14096. "$ref": "#/definitions/common.PCWebMenuAuth"
  14097. }
  14098. },
  14099. "children": {
  14100. "description": "子菜单列表",
  14101. "type": "array",
  14102. "items": {
  14103. "$ref": "#/definitions/common.PCWebMenu"
  14104. }
  14105. },
  14106. "code": {
  14107. "description": "ID,新版本中权限KEY也是这个字段",
  14108. "type": "string"
  14109. },
  14110. "component": {
  14111. "description": "路由组件",
  14112. "type": "string"
  14113. },
  14114. "isshow": {
  14115. "description": "是否显示",
  14116. "type": "boolean"
  14117. },
  14118. "path": {
  14119. "description": "路由路径",
  14120. "type": "string"
  14121. },
  14122. "remark": {
  14123. "description": "备注",
  14124. "type": "string"
  14125. },
  14126. "rulekey": {
  14127. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14128. "type": "string"
  14129. },
  14130. "sort": {
  14131. "description": "排序",
  14132. "type": "integer"
  14133. },
  14134. "title": {
  14135. "description": "标题",
  14136. "type": "string"
  14137. },
  14138. "url": {
  14139. "description": "URL",
  14140. "type": "string"
  14141. }
  14142. }
  14143. },
  14144. "common.PCWebMenuAuth": {
  14145. "type": "object",
  14146. "properties": {
  14147. "code": {
  14148. "description": "ID,新版本中权限KEY也是这个字段",
  14149. "type": "string"
  14150. },
  14151. "isshow": {
  14152. "description": "是否显示",
  14153. "type": "boolean"
  14154. },
  14155. "label": {
  14156. "description": "标题",
  14157. "type": "string"
  14158. },
  14159. "remark": {
  14160. "description": "备注",
  14161. "type": "string"
  14162. },
  14163. "rulekey": {
  14164. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14165. "type": "string"
  14166. }
  14167. }
  14168. },
  14169. "common.QueryImageConfigsRsp": {
  14170. "type": "object",
  14171. "required": [
  14172. "configid"
  14173. ],
  14174. "properties": {
  14175. "areauserid": {
  14176. "description": "所属机构ID",
  14177. "type": "integer"
  14178. },
  14179. "configid": {
  14180. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14181. "type": "integer"
  14182. },
  14183. "createdate": {
  14184. "description": "创建时间",
  14185. "type": "string"
  14186. },
  14187. "creatorid": {
  14188. "description": "创建人",
  14189. "type": "integer"
  14190. },
  14191. "imagepath": {
  14192. "description": "图片",
  14193. "type": "string"
  14194. },
  14195. "imagetype": {
  14196. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14197. "type": "integer"
  14198. },
  14199. "isshow": {
  14200. "description": "是否展示 - 0:不展示 1:展示",
  14201. "type": "integer"
  14202. },
  14203. "marketid": {
  14204. "description": "市场ID",
  14205. "type": "integer"
  14206. },
  14207. "modifierid": {
  14208. "description": "操作人",
  14209. "type": "integer"
  14210. },
  14211. "sort": {
  14212. "description": "排序",
  14213. "type": "integer"
  14214. },
  14215. "title": {
  14216. "description": "标题",
  14217. "type": "string"
  14218. },
  14219. "trademode": {
  14220. "description": "交易模式",
  14221. "type": "integer"
  14222. },
  14223. "updatedate": {
  14224. "description": "修改时间",
  14225. "type": "string"
  14226. },
  14227. "url": {
  14228. "description": "链接(地址或商品ID)",
  14229. "type": "string"
  14230. },
  14231. "urltype": {
  14232. "description": "链接类型 - 1:直接地址 2:商品ID",
  14233. "type": "integer"
  14234. }
  14235. }
  14236. },
  14237. "common.QueryNoticeRsp": {
  14238. "type": "object",
  14239. "required": [
  14240. "autoid"
  14241. ],
  14242. "properties": {
  14243. "auditoruserid": {
  14244. "description": "审核人",
  14245. "type": "integer"
  14246. },
  14247. "auditremark": {
  14248. "description": "审核备注",
  14249. "type": "string"
  14250. },
  14251. "audittime": {
  14252. "description": "审核日期",
  14253. "type": "string"
  14254. },
  14255. "autoid": {
  14256. "description": "自增ID",
  14257. "type": "integer"
  14258. },
  14259. "content": {
  14260. "description": "内容",
  14261. "type": "string"
  14262. },
  14263. "createtime": {
  14264. "description": "创建时间",
  14265. "type": "string"
  14266. },
  14267. "creatorid": {
  14268. "description": "建仓人",
  14269. "type": "integer"
  14270. },
  14271. "endtime": {
  14272. "description": "结束时间",
  14273. "type": "string"
  14274. },
  14275. "istop": {
  14276. "description": "是否置顶 - 0:不置顶 1:置顶",
  14277. "type": "integer"
  14278. },
  14279. "msgiconurl": {
  14280. "description": "消息图标Url",
  14281. "type": "string"
  14282. },
  14283. "msgtype": {
  14284. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14285. "type": "integer"
  14286. },
  14287. "publisher": {
  14288. "description": "消息发布者",
  14289. "type": "string"
  14290. },
  14291. "readed": {
  14292. "description": "是否已读",
  14293. "type": "boolean"
  14294. },
  14295. "scheduletime": {
  14296. "description": "计划发送时间",
  14297. "type": "string"
  14298. },
  14299. "sendtype": {
  14300. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14301. "type": "integer"
  14302. },
  14303. "sentstatus": {
  14304. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14305. "type": "integer"
  14306. },
  14307. "title": {
  14308. "description": "标题",
  14309. "type": "string"
  14310. },
  14311. "userid": {
  14312. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14313. "type": "integer"
  14314. }
  14315. }
  14316. },
  14317. "common.QueryProvincesAndCitiesRsp": {
  14318. "type": "object",
  14319. "properties": {
  14320. "cities": {
  14321. "description": "市",
  14322. "type": "array",
  14323. "items": {
  14324. "$ref": "#/definitions/models.Division"
  14325. }
  14326. },
  14327. "province": {
  14328. "description": "省",
  14329. "$ref": "#/definitions/models.Division"
  14330. }
  14331. }
  14332. },
  14333. "common.QueryTableDefineRsp": {
  14334. "type": "object",
  14335. "required": [
  14336. "tablekey"
  14337. ],
  14338. "properties": {
  14339. "columns": {
  14340. "description": "列头信息数组",
  14341. "type": "array",
  14342. "items": {
  14343. "$ref": "#/definitions/models.Tablecolumnconfig"
  14344. }
  14345. },
  14346. "remark": {
  14347. "description": "Remark",
  14348. "type": "string"
  14349. },
  14350. "tabelmenu": {
  14351. "description": "列表菜单",
  14352. "type": "string"
  14353. },
  14354. "tablekey": {
  14355. "description": "列表Key",
  14356. "type": "string"
  14357. },
  14358. "tablename": {
  14359. "description": "列表名称",
  14360. "type": "string"
  14361. },
  14362. "tabletype": {
  14363. "description": "列表类型 - 1:管理端 2:终端",
  14364. "type": "integer"
  14365. }
  14366. }
  14367. },
  14368. "common.QueryTraderMenuRsp": {
  14369. "type": "object",
  14370. "properties": {
  14371. "OperationMenu": {
  14372. "description": "功能菜单",
  14373. "type": "array",
  14374. "items": {
  14375. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14376. }
  14377. },
  14378. "QuoteMenu": {
  14379. "description": "报价牌分类菜单",
  14380. "type": "array",
  14381. "items": {
  14382. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14383. }
  14384. }
  14385. }
  14386. },
  14387. "cptrade.Cptradepositioncancel": {
  14388. "type": "object",
  14389. "required": [
  14390. "cancelid"
  14391. ],
  14392. "properties": {
  14393. "accountid": {
  14394. "description": "申请人账户ID",
  14395. "type": "integer"
  14396. },
  14397. "applystatus": {
  14398. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14399. "type": "integer"
  14400. },
  14401. "applytime": {
  14402. "description": "申请时间",
  14403. "type": "string"
  14404. },
  14405. "cancelid": {
  14406. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14407. "type": "integer"
  14408. },
  14409. "cancelqty": {
  14410. "description": "注销数量",
  14411. "type": "integer"
  14412. },
  14413. "createtime": {
  14414. "description": "创建时间",
  14415. "type": "string"
  14416. },
  14417. "creatorid": {
  14418. "description": "创建人ID",
  14419. "type": "integer"
  14420. },
  14421. "creatorname": {
  14422. "description": "创建人",
  14423. "type": "string"
  14424. },
  14425. "goodscode": {
  14426. "description": "订单商品代码",
  14427. "type": "string"
  14428. },
  14429. "goodsid": {
  14430. "description": "商品ID",
  14431. "type": "integer"
  14432. },
  14433. "goodsname": {
  14434. "description": "订单商品名称",
  14435. "type": "string"
  14436. },
  14437. "goodunit": {
  14438. "description": "报价单位",
  14439. "type": "string"
  14440. },
  14441. "handlestatus": {
  14442. "description": "处理状态",
  14443. "type": "integer"
  14444. },
  14445. "marketid": {
  14446. "description": "市场ID",
  14447. "type": "integer"
  14448. },
  14449. "marketname": {
  14450. "description": "市场名称",
  14451. "type": "string"
  14452. },
  14453. "tradedate": {
  14454. "description": "交易日(yyyyMMdd)",
  14455. "type": "string"
  14456. },
  14457. "userid": {
  14458. "description": "申请人ID",
  14459. "type": "integer"
  14460. }
  14461. }
  14462. },
  14463. "cptrade.Cptradepresaleapply": {
  14464. "type": "object",
  14465. "required": [
  14466. "applyid"
  14467. ],
  14468. "properties": {
  14469. "accountid": {
  14470. "description": "申请人账户ID",
  14471. "type": "integer"
  14472. },
  14473. "applyid": {
  14474. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14475. "type": "integer"
  14476. },
  14477. "applyremark": {
  14478. "description": "申请备注",
  14479. "type": "string"
  14480. },
  14481. "applystatus": {
  14482. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14483. "type": "integer"
  14484. },
  14485. "applytime": {
  14486. "description": "申请时间",
  14487. "type": "string"
  14488. },
  14489. "attachmenturl": {
  14490. "description": "附件地址",
  14491. "type": "string"
  14492. },
  14493. "endtime": {
  14494. "description": "预售结束时间",
  14495. "type": "string"
  14496. },
  14497. "goodscode": {
  14498. "description": "商品代码",
  14499. "type": "string"
  14500. },
  14501. "goodsid": {
  14502. "description": "商品ID",
  14503. "type": "integer"
  14504. },
  14505. "goodsname": {
  14506. "description": "商品名称",
  14507. "type": "string"
  14508. },
  14509. "goodunit": {
  14510. "description": "报价单位",
  14511. "type": "string"
  14512. },
  14513. "handlestatus": {
  14514. "description": "处理状态",
  14515. "type": "integer"
  14516. },
  14517. "marketid": {
  14518. "description": "预售市场ID",
  14519. "type": "integer"
  14520. },
  14521. "marketname": {
  14522. "description": "预售市场名称",
  14523. "type": "string"
  14524. },
  14525. "presaleqty": {
  14526. "description": "预售数量",
  14527. "type": "integer"
  14528. },
  14529. "relatedgoodscode": {
  14530. "description": "关联交易合约代码",
  14531. "type": "string"
  14532. },
  14533. "relatedgoodsid": {
  14534. "description": "关联交易合约ID",
  14535. "type": "integer"
  14536. },
  14537. "relatedgoodsname": {
  14538. "description": "关联交易合约名称",
  14539. "type": "string"
  14540. },
  14541. "starttime": {
  14542. "description": "预售开始时间",
  14543. "type": "string"
  14544. },
  14545. "tradedate": {
  14546. "description": "交易日(yyyyMMdd)",
  14547. "type": "string"
  14548. },
  14549. "trademode": {
  14550. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14551. "type": "integer"
  14552. },
  14553. "userid": {
  14554. "description": "申请人ID",
  14555. "type": "integer"
  14556. }
  14557. }
  14558. },
  14559. "cptrade.Cptradeusergoodsdata": {
  14560. "type": "object",
  14561. "required": [
  14562. "accountid",
  14563. "goodsid"
  14564. ],
  14565. "properties": {
  14566. "EnabledQty": {
  14567. "description": "可用量",
  14568. "type": "integer"
  14569. },
  14570. "GoodsCode": {
  14571. "description": "订单商品代码",
  14572. "type": "string"
  14573. },
  14574. "GoodsName": {
  14575. "description": "订单商品名称",
  14576. "type": "string"
  14577. },
  14578. "WRStandardCode": {
  14579. "description": "仓单标准代码",
  14580. "type": "string"
  14581. },
  14582. "WRStandardName": {
  14583. "description": "仓单标准名称",
  14584. "type": "string"
  14585. },
  14586. "accountid": {
  14587. "description": "账户ID",
  14588. "type": "integer"
  14589. },
  14590. "cancelqty": {
  14591. "description": "注销量",
  14592. "type": "integer"
  14593. },
  14594. "curpresaleqty": {
  14595. "description": "当前预售量",
  14596. "type": "integer"
  14597. },
  14598. "deliveryqty": {
  14599. "description": "交割量",
  14600. "type": "integer"
  14601. },
  14602. "freezeamount": {
  14603. "description": "冻结金额",
  14604. "type": "number"
  14605. },
  14606. "goodsid": {
  14607. "description": "商品ID",
  14608. "type": "integer"
  14609. },
  14610. "goodunit": {
  14611. "description": "报价单位",
  14612. "type": "string"
  14613. },
  14614. "hasspotfreeze": {
  14615. "description": "是否有现货冻结 - 0:否 1:有",
  14616. "type": "integer"
  14617. },
  14618. "inqty": {
  14619. "description": "转入量(总数量)",
  14620. "type": "integer"
  14621. },
  14622. "marketid": {
  14623. "description": "市场ID",
  14624. "type": "integer"
  14625. },
  14626. "presaledamount": {
  14627. "description": "已预售总金额",
  14628. "type": "integer"
  14629. },
  14630. "presaledqty": {
  14631. "description": "已预售量",
  14632. "type": "integer"
  14633. },
  14634. "userid": {
  14635. "description": "用户ID",
  14636. "type": "integer"
  14637. },
  14638. "wrstandardid": {
  14639. "description": "仓单标准ID",
  14640. "type": "integer"
  14641. }
  14642. }
  14643. },
  14644. "cptrade.QueryCPTradeMyBidRsp": {
  14645. "type": "object",
  14646. "required": [
  14647. "accountid",
  14648. "goodsid",
  14649. "marketid",
  14650. "orderid",
  14651. "orderqty",
  14652. "ordertime",
  14653. "tradeprice",
  14654. "tradeqty"
  14655. ],
  14656. "properties": {
  14657. "accountid": {
  14658. "description": "账户ID[报价币种]",
  14659. "type": "integer"
  14660. },
  14661. "goodsid": {
  14662. "description": "商品ID",
  14663. "type": "integer"
  14664. },
  14665. "goodunit": {
  14666. "description": "报价单位",
  14667. "type": "string"
  14668. },
  14669. "marketid": {
  14670. "description": "市场ID",
  14671. "type": "integer"
  14672. },
  14673. "orderid": {
  14674. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14675. "type": "integer"
  14676. },
  14677. "orderprice": {
  14678. "description": "委托价格",
  14679. "type": "number"
  14680. },
  14681. "orderqty": {
  14682. "description": "委托数量",
  14683. "type": "integer"
  14684. },
  14685. "ordertime": {
  14686. "description": "委托时间",
  14687. "type": "string"
  14688. },
  14689. "ordertotalprice": {
  14690. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14691. "type": "number"
  14692. },
  14693. "ordertotalweight": {
  14694. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14695. "type": "integer"
  14696. },
  14697. "totaltotalprice": {
  14698. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14699. "type": "number"
  14700. },
  14701. "tradeprice": {
  14702. "description": "成交价格",
  14703. "type": "number"
  14704. },
  14705. "tradeqty": {
  14706. "description": "成交数量",
  14707. "type": "integer"
  14708. }
  14709. }
  14710. },
  14711. "cptrade.QueryCPTradeOrderDetailRsq": {
  14712. "type": "object",
  14713. "required": [
  14714. "accountid",
  14715. "buildtype",
  14716. "buyorsell",
  14717. "goodsid",
  14718. "marketid",
  14719. "memberuserid",
  14720. "operatetype",
  14721. "orderqty",
  14722. "ordertime",
  14723. "pricemode",
  14724. "strorderid",
  14725. "tradedate",
  14726. "validtype"
  14727. ],
  14728. "properties": {
  14729. "accountid": {
  14730. "description": "账户ID[报价币种]",
  14731. "type": "integer"
  14732. },
  14733. "buildtype": {
  14734. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14735. "type": "integer"
  14736. },
  14737. "buyorsell": {
  14738. "description": "买卖 - 0:买 1:卖",
  14739. "type": "integer"
  14740. },
  14741. "cancelorderid": {
  14742. "description": "撤单单号(撤单时填写)",
  14743. "type": "integer"
  14744. },
  14745. "cancelqty": {
  14746. "description": "撤单数量",
  14747. "type": "integer"
  14748. },
  14749. "clientordertime": {
  14750. "description": "客户端委托时间",
  14751. "type": "string"
  14752. },
  14753. "clientticket": {
  14754. "description": "客户端流水号",
  14755. "type": "string"
  14756. },
  14757. "clienttype": {
  14758. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14759. "type": "integer"
  14760. },
  14761. "closeexchagechargevalue": {
  14762. "description": "平仓交易所手续费设置值",
  14763. "type": "number"
  14764. },
  14765. "closefeealgorithm": {
  14766. "description": "平仓手续费收取方式 1:比率 2:固定",
  14767. "type": "integer"
  14768. },
  14769. "closefreezecharge": {
  14770. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14771. "type": "number"
  14772. },
  14773. "closememberchargevalue": {
  14774. "description": "平仓会员手续费设置值",
  14775. "type": "number"
  14776. },
  14777. "closeqty": {
  14778. "description": "平仓数量(先建后平操作 需要记录)",
  14779. "type": "integer"
  14780. },
  14781. "closetradeqty": {
  14782. "description": "平仓成交数量(先建后平操作,需要记录)",
  14783. "type": "integer"
  14784. },
  14785. "closeunfreezecharge": {
  14786. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14787. "type": "number"
  14788. },
  14789. "delistingtype": {
  14790. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14791. "type": "integer"
  14792. },
  14793. "freezecharge": {
  14794. "description": "冻结手续费",
  14795. "type": "number"
  14796. },
  14797. "freezemargin": {
  14798. "description": "冻结保证金(冻结交易金额)",
  14799. "type": "number"
  14800. },
  14801. "gcaccountid": {
  14802. "description": "账户ID[合约币种]",
  14803. "type": "integer"
  14804. },
  14805. "goodsid": {
  14806. "description": "商品ID",
  14807. "type": "integer"
  14808. },
  14809. "isconfirmexercise": {
  14810. "description": "是否确认行权- 0:否 1:是",
  14811. "type": "integer"
  14812. },
  14813. "ispreexercise": {
  14814. "description": "是否预申报- 0:否 1:是",
  14815. "type": "integer"
  14816. },
  14817. "listingselecttype": {
  14818. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14819. "type": "integer"
  14820. },
  14821. "marginalgorithm": {
  14822. "description": "保证金收取方式 1:比率 2:固定",
  14823. "type": "integer"
  14824. },
  14825. "marginvalue": {
  14826. "description": "即市保证金设置值",
  14827. "type": "number"
  14828. },
  14829. "marketid": {
  14830. "description": "市场ID",
  14831. "type": "integer"
  14832. },
  14833. "marketmaxsub": {
  14834. "description": "市价最大偏移范围",
  14835. "type": "number"
  14836. },
  14837. "memberuserid": {
  14838. "description": "所属会员UserID",
  14839. "type": "integer"
  14840. },
  14841. "openexchagechargevalue": {
  14842. "description": "建仓交易所手续费设置值",
  14843. "type": "number"
  14844. },
  14845. "openfeealgorithm": {
  14846. "description": "建仓手续费收取方式 1:比率 2:固定",
  14847. "type": "integer"
  14848. },
  14849. "openfreezecharge": {
  14850. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14851. "type": "number"
  14852. },
  14853. "openmemberchargevalue": {
  14854. "description": "建仓会员手续费设置值",
  14855. "type": "number"
  14856. },
  14857. "openqty": {
  14858. "description": "开仓数量(先建后平操作,需要记录)",
  14859. "type": "integer"
  14860. },
  14861. "opentradeqty": {
  14862. "description": "开仓成交数量(先建后平操作,需要记录)",
  14863. "type": "integer"
  14864. },
  14865. "openunfreezecharge": {
  14866. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14867. "type": "number"
  14868. },
  14869. "operatetype": {
  14870. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14871. "type": "integer"
  14872. },
  14873. "operatorid": {
  14874. "description": "登录账号(LoginID)",
  14875. "type": "integer"
  14876. },
  14877. "optiontype": {
  14878. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14879. "type": "integer"
  14880. },
  14881. "orderprice": {
  14882. "description": "委托价格",
  14883. "type": "number"
  14884. },
  14885. "orderqty": {
  14886. "description": "委托数量",
  14887. "type": "integer"
  14888. },
  14889. "ordersrc": {
  14890. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14891. "type": "integer"
  14892. },
  14893. "orderstatus": {
  14894. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14895. "type": "integer"
  14896. },
  14897. "ordertime": {
  14898. "description": "委托时间",
  14899. "type": "string"
  14900. },
  14901. "preexerciseprice": {
  14902. "description": "预申报价格",
  14903. "type": "number"
  14904. },
  14905. "premium": {
  14906. "description": "权利金",
  14907. "type": "number"
  14908. },
  14909. "preorderid": {
  14910. "description": "关联预埋单号(止盈止损单时填写)",
  14911. "type": "integer"
  14912. },
  14913. "pricemode": {
  14914. "description": "取价方式 - 1:市价 2: 限价",
  14915. "type": "integer"
  14916. },
  14917. "quoteid": {
  14918. "description": "报价单ID",
  14919. "type": "integer"
  14920. },
  14921. "relatedid": {
  14922. "description": "关联单号(交割单)",
  14923. "type": "integer"
  14924. },
  14925. "retcode": {
  14926. "description": "错误代码",
  14927. "type": "integer"
  14928. },
  14929. "sessionid": {
  14930. "description": "会话ID",
  14931. "type": "integer"
  14932. },
  14933. "strorderid": {
  14934. "description": "委托单号",
  14935. "type": "string"
  14936. },
  14937. "tradedate": {
  14938. "description": "交易日(yyyyMMdd)",
  14939. "type": "string"
  14940. },
  14941. "tradeproperty": {
  14942. "description": "交易属性",
  14943. "type": "integer"
  14944. },
  14945. "tradeqty": {
  14946. "description": "成交数量",
  14947. "type": "integer"
  14948. },
  14949. "unfreezecharge": {
  14950. "description": "解冻手续费",
  14951. "type": "number"
  14952. },
  14953. "unfreezemargin": {
  14954. "description": "解冻保证金",
  14955. "type": "number"
  14956. },
  14957. "updatetime": {
  14958. "description": "更新时间",
  14959. "type": "string"
  14960. },
  14961. "uuid": {
  14962. "description": "发起端唯一id",
  14963. "type": "string"
  14964. },
  14965. "validtime": {
  14966. "description": "有效期限",
  14967. "type": "string"
  14968. },
  14969. "validtype": {
  14970. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14971. "type": "integer"
  14972. },
  14973. "volumetype": {
  14974. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14975. "type": "integer"
  14976. }
  14977. }
  14978. },
  14979. "cptrade.QueryMyCPTradeGoodsRsp": {
  14980. "type": "object",
  14981. "required": [
  14982. "goodscode",
  14983. "goodsid",
  14984. "goodsname",
  14985. "marketid",
  14986. "relatedgoodscode",
  14987. "relatedgoodsname"
  14988. ],
  14989. "properties": {
  14990. "accountid": {
  14991. "description": "卖方账户ID",
  14992. "type": "integer"
  14993. },
  14994. "agreeunit": {
  14995. "description": "合约单位",
  14996. "type": "number"
  14997. },
  14998. "applyid": {
  14999. "description": "关联申请ID",
  15000. "type": "integer"
  15001. },
  15002. "attachmenturl": {
  15003. "description": "附件地址",
  15004. "type": "string"
  15005. },
  15006. "createtime": {
  15007. "description": "创建时间",
  15008. "type": "string"
  15009. },
  15010. "currencyid": {
  15011. "description": "报价货币ID",
  15012. "type": "integer"
  15013. },
  15014. "decimalplace": {
  15015. "description": "报价小数位",
  15016. "type": "integer"
  15017. },
  15018. "endtime": {
  15019. "description": "预售结束时间",
  15020. "type": "string"
  15021. },
  15022. "floorprice": {
  15023. "description": "底价[大宗式竞拍]",
  15024. "type": "number"
  15025. },
  15026. "goodscode": {
  15027. "description": "商品代码(预售)",
  15028. "type": "string"
  15029. },
  15030. "goodsdetail": {
  15031. "description": "详情[大宗]",
  15032. "type": "string"
  15033. },
  15034. "goodsid": {
  15035. "description": "商品ID(自增ID SEQ_GOODS)",
  15036. "type": "integer"
  15037. },
  15038. "goodsname": {
  15039. "description": "商品名称(预售)",
  15040. "type": "string"
  15041. },
  15042. "goodunit": {
  15043. "description": "报价单位",
  15044. "type": "string"
  15045. },
  15046. "goodunitid": {
  15047. "description": "报价单位ID",
  15048. "type": "integer"
  15049. },
  15050. "marketid": {
  15051. "description": "所属市场ID",
  15052. "type": "integer"
  15053. },
  15054. "marketname": {
  15055. "description": "预售市场名称",
  15056. "type": "string"
  15057. },
  15058. "presaledamount": {
  15059. "description": "已预售总金额(预售结束时更新)",
  15060. "type": "number"
  15061. },
  15062. "presaledqty": {
  15063. "description": "已预售量(预售结束时更新)",
  15064. "type": "integer"
  15065. },
  15066. "presalemode": {
  15067. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15068. "type": "integer"
  15069. },
  15070. "presaleqty": {
  15071. "description": "预售数量",
  15072. "type": "integer"
  15073. },
  15074. "refprice": {
  15075. "description": "参考价格[一口价]",
  15076. "type": "number"
  15077. },
  15078. "relatedgoodscode": {
  15079. "description": "商品代码(订单)",
  15080. "type": "string"
  15081. },
  15082. "relatedgoodsid": {
  15083. "description": "关联交易合约ID",
  15084. "type": "integer"
  15085. },
  15086. "relatedgoodsname": {
  15087. "description": "商品名称(订单)",
  15088. "type": "string"
  15089. },
  15090. "relatedmarketid": {
  15091. "description": "关联交易合约市场ID",
  15092. "type": "integer"
  15093. },
  15094. "sellstatus": {
  15095. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15096. "type": "integer"
  15097. },
  15098. "startprice": {
  15099. "description": "起拍价[大宗式竞拍]",
  15100. "type": "number"
  15101. },
  15102. "starttime": {
  15103. "description": "预售开始时间",
  15104. "type": "string"
  15105. },
  15106. "tradedate": {
  15107. "description": "交易日(yyyyMMdd)",
  15108. "type": "string"
  15109. },
  15110. "tradeprice": {
  15111. "description": "成交价[大宗]",
  15112. "type": "number"
  15113. },
  15114. "userid": {
  15115. "description": "卖方用户ID",
  15116. "type": "integer"
  15117. }
  15118. }
  15119. },
  15120. "cptrade.QueryPresaleGoodsExRsp": {
  15121. "type": "object",
  15122. "required": [
  15123. "goodsid"
  15124. ],
  15125. "properties": {
  15126. "attachmenturl": {
  15127. "description": "附件地址",
  15128. "type": "string"
  15129. },
  15130. "createtime": {
  15131. "description": "创建时间",
  15132. "type": "string"
  15133. },
  15134. "endtime": {
  15135. "description": "预售结束时间",
  15136. "type": "string"
  15137. },
  15138. "floorprice": {
  15139. "description": "底价[大宗式竞拍]",
  15140. "type": "number"
  15141. },
  15142. "goodsdetail": {
  15143. "description": "详情[大宗]",
  15144. "type": "string"
  15145. },
  15146. "goodsid": {
  15147. "description": "商品ID(预售)",
  15148. "type": "integer"
  15149. },
  15150. "goodunit": {
  15151. "description": "报价单位",
  15152. "type": "string"
  15153. },
  15154. "marketid": {
  15155. "description": "预售市场ID - 根据预售模式选择市场",
  15156. "type": "integer"
  15157. },
  15158. "presaledamount": {
  15159. "description": "已预售总金额(预售结束时更新)",
  15160. "type": "number"
  15161. },
  15162. "presaledqty": {
  15163. "description": "已预售量(预售结束时更新)",
  15164. "type": "integer"
  15165. },
  15166. "presalemode": {
  15167. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15168. "type": "integer"
  15169. },
  15170. "presaleqty": {
  15171. "description": "预售数量",
  15172. "type": "integer"
  15173. },
  15174. "refprice": {
  15175. "description": "参考价格[一口价]",
  15176. "type": "number"
  15177. },
  15178. "relatedgoodsid": {
  15179. "description": "关联交易合约ID",
  15180. "type": "integer"
  15181. },
  15182. "relatedmarketid": {
  15183. "description": "关联交易合约市场ID",
  15184. "type": "integer"
  15185. },
  15186. "sellstatus": {
  15187. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15188. "type": "integer"
  15189. },
  15190. "startprice": {
  15191. "description": "起拍价[大宗式竞拍]",
  15192. "type": "number"
  15193. },
  15194. "starttime": {
  15195. "description": "预售开始时间",
  15196. "type": "string"
  15197. },
  15198. "tradedate": {
  15199. "description": "交易日(yyyyMMdd)",
  15200. "type": "string"
  15201. },
  15202. "tradeprice": {
  15203. "description": "成交价[大宗]",
  15204. "type": "number"
  15205. }
  15206. }
  15207. },
  15208. "delivery.QueryDeliveryRelationRsp": {
  15209. "type": "object",
  15210. "required": [
  15211. "begindate",
  15212. "enddate",
  15213. "goodsid",
  15214. "mindeliveryqty",
  15215. "xdeliveryratio"
  15216. ],
  15217. "properties": {
  15218. "begindate": {
  15219. "description": "起始日期(yyyyMMdd)",
  15220. "type": "string"
  15221. },
  15222. "buytemplateid": {
  15223. "description": "买履约计划模板ID",
  15224. "type": "integer"
  15225. },
  15226. "deliverygoodscode": {
  15227. "description": "品种代码",
  15228. "type": "string"
  15229. },
  15230. "deliverygoodsid": {
  15231. "description": "交割商品",
  15232. "type": "integer"
  15233. },
  15234. "deliverygoodsname": {
  15235. "description": "品种名称",
  15236. "type": "string"
  15237. },
  15238. "deliverymode": {
  15239. "description": "交割方式 - 1:点选式 2:申报式",
  15240. "type": "integer"
  15241. },
  15242. "deliverypricerule": {
  15243. "description": "交割价规则- 1:行情价 2:建仓价",
  15244. "type": "integer"
  15245. },
  15246. "deliverytype": {
  15247. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15248. "type": "integer"
  15249. },
  15250. "enddate": {
  15251. "description": "结束日期(yyyyMMdd)",
  15252. "type": "string"
  15253. },
  15254. "enumdicname": {
  15255. "description": "品类单位名称",
  15256. "type": "string"
  15257. },
  15258. "goodscode": {
  15259. "description": "商品代码",
  15260. "type": "string"
  15261. },
  15262. "goodsid": {
  15263. "description": "交易合约ID",
  15264. "type": "integer"
  15265. },
  15266. "goodsname": {
  15267. "description": "商品名称",
  15268. "type": "string"
  15269. },
  15270. "marketid": {
  15271. "description": "市场ID",
  15272. "type": "integer"
  15273. },
  15274. "mindeliveryqty": {
  15275. "description": "最小交割系数(K)",
  15276. "type": "integer"
  15277. },
  15278. "p2deliveryprice": {
  15279. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15280. "type": "number"
  15281. },
  15282. "p2deliveryratio": {
  15283. "description": "P2合约系数(p)",
  15284. "type": "integer"
  15285. },
  15286. "p2goodsid": {
  15287. "description": "P2合约ID",
  15288. "type": "integer"
  15289. },
  15290. "p2pricemode": {
  15291. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15292. "type": "integer"
  15293. },
  15294. "pdeliveryprice": {
  15295. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15296. "type": "number"
  15297. },
  15298. "pdeliveryratio": {
  15299. "description": "P合约系数(n)",
  15300. "type": "integer"
  15301. },
  15302. "pgoodscode": {
  15303. "description": "p合约代码",
  15304. "type": "string"
  15305. },
  15306. "pgoodsid": {
  15307. "description": "P合约ID",
  15308. "type": "integer"
  15309. },
  15310. "ppricemode": {
  15311. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15312. "type": "integer"
  15313. },
  15314. "rratio": {
  15315. "description": "兑换系数(R)",
  15316. "type": "integer"
  15317. },
  15318. "rratio1": {
  15319. "description": "兑换系数(交易合约)(R1)",
  15320. "type": "integer"
  15321. },
  15322. "rratio2": {
  15323. "description": "兑换系数(仓单标准)(R2)",
  15324. "type": "integer"
  15325. },
  15326. "selltemplateid": {
  15327. "description": "卖履约计划模板ID",
  15328. "type": "integer"
  15329. },
  15330. "wrstandardid": {
  15331. "description": "仓单标准ID",
  15332. "type": "integer"
  15333. },
  15334. "xdeliveryratio": {
  15335. "description": "交易合约系数(m)",
  15336. "type": "integer"
  15337. }
  15338. }
  15339. },
  15340. "ermcp.ExposureDetailRsp": {
  15341. "type": "object",
  15342. "properties": {
  15343. "areauserid": {
  15344. "description": "机构ID",
  15345. "type": "integer"
  15346. },
  15347. "changeQty": {
  15348. "description": "套保变动量",
  15349. "type": "number"
  15350. },
  15351. "contracttype": {
  15352. "description": "现货合同类型 - 1:采购 -1:销售",
  15353. "type": "integer"
  15354. },
  15355. "convertfactor": {
  15356. "description": "标仓系数",
  15357. "type": "number"
  15358. },
  15359. "convertratio": {
  15360. "description": "套保系数",
  15361. "type": "number"
  15362. },
  15363. "createtime": {
  15364. "description": "时间",
  15365. "type": "string"
  15366. },
  15367. "enumdicname": {
  15368. "description": "现货商品单位名称",
  15369. "type": "string"
  15370. },
  15371. "logtype": {
  15372. "description": "类型 - 1:套保计划 2:现货合同",
  15373. "type": "integer"
  15374. },
  15375. "middlegoodsId": {
  15376. "description": "套保商品id",
  15377. "type": "integer"
  15378. },
  15379. "middlegoodscode": {
  15380. "description": "套保商品代码",
  15381. "type": "string"
  15382. },
  15383. "middlegoodsname": {
  15384. "description": "套保商品名称",
  15385. "type": "string"
  15386. },
  15387. "qty": {
  15388. "description": "数量",
  15389. "type": "number"
  15390. },
  15391. "relateNo": {
  15392. "description": "现货合同/套保计划编号",
  15393. "type": "string"
  15394. },
  15395. "wrstandardcode": {
  15396. "description": "现货商品代码",
  15397. "type": "string"
  15398. },
  15399. "wrstandardid": {
  15400. "description": "现货商品ID",
  15401. "type": "integer"
  15402. },
  15403. "wrstandardname": {
  15404. "description": "现货商品名称",
  15405. "type": "string"
  15406. }
  15407. }
  15408. },
  15409. "ermcp.ExposureHedgePosDetailRsp": {
  15410. "type": "object",
  15411. "properties": {
  15412. "buyorsell": {
  15413. "description": "买卖方向 0-买 1-卖",
  15414. "type": "integer"
  15415. },
  15416. "channelbuildtype": {
  15417. "description": "开平方向 1-建仓 2-平仓",
  15418. "type": "integer"
  15419. },
  15420. "goodscode": {
  15421. "description": "商品代码",
  15422. "type": "string"
  15423. },
  15424. "goodsname": {
  15425. "description": "商品名称",
  15426. "type": "string"
  15427. },
  15428. "hedgegoodsid": {
  15429. "description": "商品id",
  15430. "type": "integer"
  15431. },
  15432. "tradeqty": {
  15433. "description": "数量(成交数量)",
  15434. "type": "integer"
  15435. },
  15436. "tradetime": {
  15437. "description": "时间(成交时间)",
  15438. "type": "string"
  15439. }
  15440. }
  15441. },
  15442. "ermcp.ExposureHedgePositionRsp": {
  15443. "type": "object",
  15444. "properties": {
  15445. "accountid": {
  15446. "description": "资金账号[外部母账户]",
  15447. "type": "integer"
  15448. },
  15449. "curbuyposition": {
  15450. "description": "期末买头寸",
  15451. "type": "integer"
  15452. },
  15453. "cursellposition": {
  15454. "description": "期末卖头寸",
  15455. "type": "integer"
  15456. },
  15457. "curtdbuyposition": {
  15458. "description": "期末今日买头寸",
  15459. "type": "integer"
  15460. },
  15461. "curtdsellposition": {
  15462. "description": "期末今日卖头寸",
  15463. "type": "integer"
  15464. },
  15465. "curydbuyposition": {
  15466. "description": "期末上日买头寸",
  15467. "type": "integer"
  15468. },
  15469. "curydsellposition": {
  15470. "description": "期末上日卖头寸",
  15471. "type": "integer"
  15472. },
  15473. "decreaseqty": {
  15474. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15475. "type": "integer"
  15476. },
  15477. "fretdbuyposition": {
  15478. "description": "冻结今日买头寸",
  15479. "type": "integer"
  15480. },
  15481. "fretdsellposition": {
  15482. "description": "冻结今日卖头寸",
  15483. "type": "integer"
  15484. },
  15485. "freydbuyposition": {
  15486. "description": "冻结上日买头寸",
  15487. "type": "integer"
  15488. },
  15489. "freydsellposition": {
  15490. "description": "冻结上日卖头寸",
  15491. "type": "integer"
  15492. },
  15493. "goodscode": {
  15494. "description": "商品代码",
  15495. "type": "string"
  15496. },
  15497. "goodsid": {
  15498. "description": "商品id",
  15499. "type": "integer"
  15500. },
  15501. "goodsname": {
  15502. "description": "商品名称",
  15503. "type": "string"
  15504. },
  15505. "hedgeaccountcode": {
  15506. "description": "对冲账号",
  15507. "type": "string"
  15508. },
  15509. "hedgegoodsid": {
  15510. "description": "对冲合约ID",
  15511. "type": "integer"
  15512. },
  15513. "increaseqty": {
  15514. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15515. "type": "integer"
  15516. },
  15517. "marketid": {
  15518. "description": "市场ID",
  15519. "type": "integer"
  15520. },
  15521. "relateduserid": {
  15522. "description": "关联用户id",
  15523. "type": "integer"
  15524. },
  15525. "totalcurqty": {
  15526. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15527. "type": "integer"
  15528. },
  15529. "totalydqty": {
  15530. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15531. "type": "integer"
  15532. },
  15533. "tradedate": {
  15534. "description": "交易日(yyyyMMdd)",
  15535. "type": "string"
  15536. },
  15537. "ydbuyposition": {
  15538. "description": "期初买头寸",
  15539. "type": "integer"
  15540. },
  15541. "ydsellposition": {
  15542. "description": "期初卖头寸",
  15543. "type": "integer"
  15544. }
  15545. }
  15546. },
  15547. "ermcp.ExposureSpotDetailRsp": {
  15548. "type": "object",
  15549. "properties": {
  15550. "contracttype": {
  15551. "description": "合同类型 1-采购 -1-销售",
  15552. "type": "integer"
  15553. },
  15554. "createtime": {
  15555. "description": "创建时间",
  15556. "type": "string"
  15557. },
  15558. "enumdicname": {
  15559. "description": "现货商品单位名称",
  15560. "type": "string"
  15561. },
  15562. "logtype": {
  15563. "description": "记录类型 1-套保 2-现货合同",
  15564. "type": "integer"
  15565. },
  15566. "qty": {
  15567. "description": "数量",
  15568. "type": "number"
  15569. },
  15570. "recordname": {
  15571. "description": "类型名称",
  15572. "type": "string"
  15573. },
  15574. "relatedid": {
  15575. "description": "套保计划ID/现货合同ID",
  15576. "type": "string"
  15577. },
  15578. "relatedno": {
  15579. "description": "编号",
  15580. "type": "string"
  15581. },
  15582. "strtime": {
  15583. "description": "时间",
  15584. "type": "string"
  15585. },
  15586. "wrstandardcode": {
  15587. "description": "现货商品代码",
  15588. "type": "string"
  15589. },
  15590. "wrstandardname": {
  15591. "description": "现货商品名称",
  15592. "type": "string"
  15593. }
  15594. }
  15595. },
  15596. "ermcp.ExposureSpotRsp": {
  15597. "type": "object",
  15598. "properties": {
  15599. "areauserid": {
  15600. "description": "所属机构",
  15601. "type": "integer"
  15602. },
  15603. "decreaseqty": {
  15604. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15605. "type": "number"
  15606. },
  15607. "increaseqty": {
  15608. "description": "增加数量=销售计划数量+采购已定价数量",
  15609. "type": "number"
  15610. },
  15611. "oritoalspotqty": {
  15612. "description": "昨日数量",
  15613. "type": "number"
  15614. },
  15615. "totalspotqty": {
  15616. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15617. "type": "number"
  15618. },
  15619. "updatetime": {
  15620. "description": "更新时间",
  15621. "type": "string"
  15622. },
  15623. "wrstandardcode": {
  15624. "description": "现货品种代码",
  15625. "type": "string"
  15626. },
  15627. "wrstandardid": {
  15628. "description": "现货商品ID",
  15629. "type": "integer"
  15630. },
  15631. "wrstandardname": {
  15632. "description": "现货品种",
  15633. "type": "string"
  15634. }
  15635. }
  15636. },
  15637. "ermcp.HisExposureRsp": {
  15638. "type": "object",
  15639. "properties": {
  15640. "data": {
  15641. "description": "历史敞口",
  15642. "type": "array",
  15643. "items": {
  15644. "$ref": "#/definitions/models.ErmcpHisExposure"
  15645. }
  15646. },
  15647. "enumdicname": {
  15648. "description": "单位名称",
  15649. "type": "string"
  15650. },
  15651. "middlegoodscode": {
  15652. "description": "套保品种代码",
  15653. "type": "string"
  15654. },
  15655. "middlegoodsid": {
  15656. "description": "套保品种ID",
  15657. "type": "integer"
  15658. },
  15659. "middlegoodsname": {
  15660. "description": "套保品种名称",
  15661. "type": "string"
  15662. }
  15663. }
  15664. },
  15665. "ermcp.PendingAuditCntRsp": {
  15666. "type": "object",
  15667. "properties": {
  15668. "areastockqty": {
  15669. "description": "待审核数量: 库存申请",
  15670. "type": "integer"
  15671. },
  15672. "businessdjqty": {
  15673. "description": "待审核数量: 点价",
  15674. "type": "integer"
  15675. },
  15676. "businessfpqty": {
  15677. "description": "待审核数量: 发票",
  15678. "type": "integer"
  15679. },
  15680. "businessjsqty": {
  15681. "description": "待审核数量: 结算",
  15682. "type": "integer"
  15683. },
  15684. "businesskxqty": {
  15685. "description": "待审核数量: 款项",
  15686. "type": "integer"
  15687. },
  15688. "hedgeplanqty": {
  15689. "description": "待审核数量: 套保计划",
  15690. "type": "integer"
  15691. },
  15692. "spotcontractqty": {
  15693. "description": "待审核数量: 现货合同",
  15694. "type": "integer"
  15695. },
  15696. "userqty": {
  15697. "description": "待审核数量: 用户",
  15698. "type": "integer"
  15699. }
  15700. }
  15701. },
  15702. "ermcp.QryAvalidGPRsp": {
  15703. "type": "object",
  15704. "properties": {
  15705. "goodsgroupid": {
  15706. "description": "期货品种id",
  15707. "type": "integer"
  15708. },
  15709. "goodsgroupname": {
  15710. "description": "期货品种名称",
  15711. "type": "string"
  15712. },
  15713. "goodunitid": {
  15714. "description": "品种单位id",
  15715. "type": "integer"
  15716. },
  15717. "goodunitname": {
  15718. "description": "品种单位名称",
  15719. "type": "string"
  15720. },
  15721. "outergroupcode": {
  15722. "description": "期货品种代码",
  15723. "type": "string"
  15724. }
  15725. }
  15726. },
  15727. "ermcp.QryBusinessDjRsp": {
  15728. "type": "object",
  15729. "properties": {
  15730. "amount": {
  15731. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15732. "type": "number"
  15733. },
  15734. "applyid": {
  15735. "description": "申请人",
  15736. "type": "string"
  15737. },
  15738. "applyname": {
  15739. "description": "申请人名称",
  15740. "type": "string"
  15741. },
  15742. "applystatus": {
  15743. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15744. "type": "integer"
  15745. },
  15746. "applytime": {
  15747. "description": "申请时间",
  15748. "type": "string"
  15749. },
  15750. "attachurl": {
  15751. "description": "附件",
  15752. "type": "string"
  15753. },
  15754. "auditid": {
  15755. "description": "审核人ID",
  15756. "type": "string"
  15757. },
  15758. "auditname": {
  15759. "description": "审核人名称",
  15760. "type": "string"
  15761. },
  15762. "audittime": {
  15763. "description": "审核时间",
  15764. "type": "string"
  15765. },
  15766. "buyusername": {
  15767. "description": "采购方名称",
  15768. "type": "string"
  15769. },
  15770. "contractno": {
  15771. "description": "合同编号",
  15772. "type": "string"
  15773. },
  15774. "contractstatus": {
  15775. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15776. "type": "integer"
  15777. },
  15778. "contracttype": {
  15779. "description": "现货合同类型 - 1:采购 -1:销售",
  15780. "type": "integer"
  15781. },
  15782. "deliverygoodscode": {
  15783. "description": "现货品种代码",
  15784. "type": "string"
  15785. },
  15786. "deliverygoodsid": {
  15787. "description": "现货商品ID",
  15788. "type": "integer"
  15789. },
  15790. "deliverygoodsname": {
  15791. "description": "现货品种名称",
  15792. "type": "string"
  15793. },
  15794. "enumdicname": {
  15795. "description": "单位名称",
  15796. "type": "string"
  15797. },
  15798. "goodscode": {
  15799. "description": "点价合约",
  15800. "type": "string"
  15801. },
  15802. "goodsname": {
  15803. "description": "商品名称",
  15804. "type": "string"
  15805. },
  15806. "operateapplyid": {
  15807. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15808. "type": "string"
  15809. },
  15810. "operateapplytype": {
  15811. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15812. "type": "integer"
  15813. },
  15814. "pricedPrice": {
  15815. "description": "点价价格(非必填)",
  15816. "type": "number"
  15817. },
  15818. "pricedQty": {
  15819. "description": "点价数量(非必填)",
  15820. "type": "number"
  15821. },
  15822. "pricemove": {
  15823. "description": "升贴水",
  15824. "type": "number"
  15825. },
  15826. "pricetype": {
  15827. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15828. "type": "integer"
  15829. },
  15830. "relatedid": {
  15831. "description": "现货合同ID",
  15832. "type": "string"
  15833. },
  15834. "sellusername": {
  15835. "description": "销售方名字",
  15836. "type": "string"
  15837. },
  15838. "userid": {
  15839. "description": "用户ID",
  15840. "type": "integer"
  15841. },
  15842. "wrstandardcode": {
  15843. "description": "品类代码",
  15844. "type": "string"
  15845. },
  15846. "wrstandardid": {
  15847. "description": "品类id",
  15848. "type": "integer"
  15849. },
  15850. "wrstandardname": {
  15851. "description": "品类名称",
  15852. "type": "string"
  15853. }
  15854. }
  15855. },
  15856. "ermcp.QryBussinessFpRsp": {
  15857. "type": "object",
  15858. "properties": {
  15859. "applyid": {
  15860. "description": "申请人",
  15861. "type": "string"
  15862. },
  15863. "applyname": {
  15864. "description": "申请人名称",
  15865. "type": "string"
  15866. },
  15867. "applystatus": {
  15868. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15869. "type": "integer"
  15870. },
  15871. "applytime": {
  15872. "description": "申请时间",
  15873. "type": "string"
  15874. },
  15875. "attachurl": {
  15876. "description": "附件",
  15877. "type": "string"
  15878. },
  15879. "auditid": {
  15880. "description": "审核人ID",
  15881. "type": "string"
  15882. },
  15883. "auditname": {
  15884. "description": "审核人名称",
  15885. "type": "string"
  15886. },
  15887. "audittime": {
  15888. "description": "审核时间",
  15889. "type": "string"
  15890. },
  15891. "buyusername": {
  15892. "description": "采购方名称",
  15893. "type": "string"
  15894. },
  15895. "contractno": {
  15896. "description": "合同编号",
  15897. "type": "string"
  15898. },
  15899. "contractstatus": {
  15900. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15901. "type": "integer"
  15902. },
  15903. "contracttype": {
  15904. "description": "现货合同类型 - 1:采购 -1:销售",
  15905. "type": "integer"
  15906. },
  15907. "deliverygoodscode": {
  15908. "description": "现货品种代码",
  15909. "type": "string"
  15910. },
  15911. "deliverygoodsid": {
  15912. "description": "现货商品ID",
  15913. "type": "integer"
  15914. },
  15915. "deliverygoodsname": {
  15916. "description": "现货品种名称",
  15917. "type": "string"
  15918. },
  15919. "enumdicname": {
  15920. "description": "单位名称",
  15921. "type": "string"
  15922. },
  15923. "goodscode": {
  15924. "description": "点价合约",
  15925. "type": "string"
  15926. },
  15927. "goodsname": {
  15928. "description": "商品名称",
  15929. "type": "string"
  15930. },
  15931. "invoiceAmount": {
  15932. "description": "已开收票金额(销售为开票,采购为收票)",
  15933. "type": "number"
  15934. },
  15935. "operateapplyid": {
  15936. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15937. "type": "string"
  15938. },
  15939. "operateapplytype": {
  15940. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15941. "type": "integer"
  15942. },
  15943. "pricemove": {
  15944. "description": "升贴水",
  15945. "type": "number"
  15946. },
  15947. "pricetype": {
  15948. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15949. "type": "integer"
  15950. },
  15951. "relatedid": {
  15952. "description": "现货合同ID",
  15953. "type": "string"
  15954. },
  15955. "sellusername": {
  15956. "description": "销售方名字",
  15957. "type": "string"
  15958. },
  15959. "userid": {
  15960. "description": "用户ID",
  15961. "type": "integer"
  15962. },
  15963. "wrstandardcode": {
  15964. "description": "品类代码",
  15965. "type": "string"
  15966. },
  15967. "wrstandardid": {
  15968. "description": "品类id",
  15969. "type": "integer"
  15970. },
  15971. "wrstandardname": {
  15972. "description": "品类名称",
  15973. "type": "string"
  15974. }
  15975. }
  15976. },
  15977. "ermcp.QryBussinessJsExRsp": {
  15978. "type": "object",
  15979. "properties": {
  15980. "applyid": {
  15981. "description": "申请人",
  15982. "type": "string"
  15983. },
  15984. "applyname": {
  15985. "description": "申请人名称",
  15986. "type": "string"
  15987. },
  15988. "applystatus": {
  15989. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15990. "type": "integer"
  15991. },
  15992. "applytime": {
  15993. "description": "申请时间",
  15994. "type": "string"
  15995. },
  15996. "attachurl": {
  15997. "description": "附件",
  15998. "type": "string"
  15999. },
  16000. "auditid": {
  16001. "description": "审核人ID",
  16002. "type": "string"
  16003. },
  16004. "auditname": {
  16005. "description": "审核人名称",
  16006. "type": "string"
  16007. },
  16008. "audittime": {
  16009. "description": "审核时间",
  16010. "type": "string"
  16011. },
  16012. "buyusername": {
  16013. "description": "采购方名称",
  16014. "type": "string"
  16015. },
  16016. "contractno": {
  16017. "description": "合同编号",
  16018. "type": "string"
  16019. },
  16020. "contractstatus": {
  16021. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16022. "type": "integer"
  16023. },
  16024. "contracttype": {
  16025. "description": "现货合同类型 - 1:采购 -1:销售",
  16026. "type": "integer"
  16027. },
  16028. "deliverygoodscode": {
  16029. "description": "现货品种代码",
  16030. "type": "string"
  16031. },
  16032. "deliverygoodsid": {
  16033. "description": "现货商品ID",
  16034. "type": "integer"
  16035. },
  16036. "deliverygoodsname": {
  16037. "description": "现货品种名称",
  16038. "type": "string"
  16039. },
  16040. "enumdicname": {
  16041. "description": "单位名称",
  16042. "type": "string"
  16043. },
  16044. "goodscode": {
  16045. "description": "点价合约",
  16046. "type": "string"
  16047. },
  16048. "goodsname": {
  16049. "description": "商品名称",
  16050. "type": "string"
  16051. },
  16052. "operateapplyid": {
  16053. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16054. "type": "string"
  16055. },
  16056. "operateapplytype": {
  16057. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16058. "type": "integer"
  16059. },
  16060. "pricemove": {
  16061. "description": "升贴水",
  16062. "type": "number"
  16063. },
  16064. "pricetype": {
  16065. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16066. "type": "integer"
  16067. },
  16068. "reckontype": {
  16069. "description": "结算类型",
  16070. "type": "string"
  16071. },
  16072. "reckonvalue": {
  16073. "description": "值",
  16074. "type": "number"
  16075. },
  16076. "relatedid": {
  16077. "description": "现货合同ID",
  16078. "type": "string"
  16079. },
  16080. "sellusername": {
  16081. "description": "销售方名字",
  16082. "type": "string"
  16083. },
  16084. "userid": {
  16085. "description": "用户ID",
  16086. "type": "integer"
  16087. },
  16088. "wrstandardcode": {
  16089. "description": "品类代码",
  16090. "type": "string"
  16091. },
  16092. "wrstandardid": {
  16093. "description": "品类id",
  16094. "type": "integer"
  16095. },
  16096. "wrstandardname": {
  16097. "description": "品类名称",
  16098. "type": "string"
  16099. }
  16100. }
  16101. },
  16102. "ermcp.QryBussinessJsRsp": {
  16103. "type": "object",
  16104. "properties": {
  16105. "addmargin": {
  16106. "description": "追加保证金(非必填)",
  16107. "type": "number"
  16108. },
  16109. "applyid": {
  16110. "description": "申请人",
  16111. "type": "string"
  16112. },
  16113. "applyname": {
  16114. "description": "申请人名称",
  16115. "type": "string"
  16116. },
  16117. "applystatus": {
  16118. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16119. "type": "integer"
  16120. },
  16121. "applytime": {
  16122. "description": "申请时间",
  16123. "type": "string"
  16124. },
  16125. "attachurl": {
  16126. "description": "附件",
  16127. "type": "string"
  16128. },
  16129. "auditid": {
  16130. "description": "审核人ID",
  16131. "type": "string"
  16132. },
  16133. "auditname": {
  16134. "description": "审核人名称",
  16135. "type": "string"
  16136. },
  16137. "audittime": {
  16138. "description": "审核时间",
  16139. "type": "string"
  16140. },
  16141. "buyusername": {
  16142. "description": "采购方名称",
  16143. "type": "string"
  16144. },
  16145. "contractno": {
  16146. "description": "合同编号",
  16147. "type": "string"
  16148. },
  16149. "contractstatus": {
  16150. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16151. "type": "integer"
  16152. },
  16153. "contracttype": {
  16154. "description": "现货合同类型 - 1:采购 -1:销售",
  16155. "type": "integer"
  16156. },
  16157. "decmargin": {
  16158. "description": "减少保证金(非必填)",
  16159. "type": "number"
  16160. },
  16161. "deliverygoodscode": {
  16162. "description": "现货品种代码",
  16163. "type": "string"
  16164. },
  16165. "deliverygoodsid": {
  16166. "description": "现货商品ID",
  16167. "type": "integer"
  16168. },
  16169. "deliverygoodsname": {
  16170. "description": "现货品种名称",
  16171. "type": "string"
  16172. },
  16173. "enumdicname": {
  16174. "description": "单位名称",
  16175. "type": "string"
  16176. },
  16177. "goodscode": {
  16178. "description": "点价合约",
  16179. "type": "string"
  16180. },
  16181. "goodsname": {
  16182. "description": "商品名称",
  16183. "type": "string"
  16184. },
  16185. "operateapplyid": {
  16186. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16187. "type": "string"
  16188. },
  16189. "operateapplytype": {
  16190. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16191. "type": "integer"
  16192. },
  16193. "pricemove": {
  16194. "description": "升贴水",
  16195. "type": "number"
  16196. },
  16197. "pricetype": {
  16198. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16199. "type": "integer"
  16200. },
  16201. "reckonadjustamount": {
  16202. "description": "结算调整金额(非必填)",
  16203. "type": "number"
  16204. },
  16205. "reckonosamount": {
  16206. "description": "结算溢短金额(非必填)",
  16207. "type": "number"
  16208. },
  16209. "reckonotheramount": {
  16210. "description": "结算其他费用(非必填)",
  16211. "type": "number"
  16212. },
  16213. "reckonrealqty": {
  16214. "description": "结算实际数量(非必填)",
  16215. "type": "number"
  16216. },
  16217. "relatedid": {
  16218. "description": "现货合同ID",
  16219. "type": "string"
  16220. },
  16221. "sellusername": {
  16222. "description": "销售方名字",
  16223. "type": "string"
  16224. },
  16225. "userid": {
  16226. "description": "用户ID",
  16227. "type": "integer"
  16228. },
  16229. "wrstandardcode": {
  16230. "description": "品类代码",
  16231. "type": "string"
  16232. },
  16233. "wrstandardid": {
  16234. "description": "品类id",
  16235. "type": "integer"
  16236. },
  16237. "wrstandardname": {
  16238. "description": "品类名称",
  16239. "type": "string"
  16240. }
  16241. }
  16242. },
  16243. "ermcp.QryBussinessKxRsp": {
  16244. "type": "object",
  16245. "properties": {
  16246. "applyid": {
  16247. "description": "申请人",
  16248. "type": "string"
  16249. },
  16250. "applyname": {
  16251. "description": "申请人名称",
  16252. "type": "string"
  16253. },
  16254. "applystatus": {
  16255. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16256. "type": "integer"
  16257. },
  16258. "applytime": {
  16259. "description": "申请时间",
  16260. "type": "string"
  16261. },
  16262. "attachurl": {
  16263. "description": "附件",
  16264. "type": "string"
  16265. },
  16266. "auditid": {
  16267. "description": "审核人ID",
  16268. "type": "string"
  16269. },
  16270. "auditname": {
  16271. "description": "审核人名称",
  16272. "type": "string"
  16273. },
  16274. "audittime": {
  16275. "description": "审核时间",
  16276. "type": "string"
  16277. },
  16278. "buyusername": {
  16279. "description": "采购方名称",
  16280. "type": "string"
  16281. },
  16282. "contractno": {
  16283. "description": "合同编号",
  16284. "type": "string"
  16285. },
  16286. "contractstatus": {
  16287. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16288. "type": "integer"
  16289. },
  16290. "contracttype": {
  16291. "description": "现货合同类型 - 1:采购 -1:销售",
  16292. "type": "integer"
  16293. },
  16294. "deductamount": {
  16295. "description": "退款(非必填)",
  16296. "type": "number"
  16297. },
  16298. "deliverygoodscode": {
  16299. "description": "现货品种代码",
  16300. "type": "string"
  16301. },
  16302. "deliverygoodsid": {
  16303. "description": "现货商品ID",
  16304. "type": "integer"
  16305. },
  16306. "deliverygoodsname": {
  16307. "description": "现货品种名称",
  16308. "type": "string"
  16309. },
  16310. "enumdicname": {
  16311. "description": "单位名称",
  16312. "type": "string"
  16313. },
  16314. "goodscode": {
  16315. "description": "点价合约",
  16316. "type": "string"
  16317. },
  16318. "goodsname": {
  16319. "description": "商品名称",
  16320. "type": "string"
  16321. },
  16322. "kxtype": {
  16323. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16324. "type": "integer"
  16325. },
  16326. "operateapplyid": {
  16327. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16328. "type": "string"
  16329. },
  16330. "operateapplytype": {
  16331. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16332. "type": "integer"
  16333. },
  16334. "payamount": {
  16335. "description": "收付款(非必填)",
  16336. "type": "number"
  16337. },
  16338. "pricemove": {
  16339. "description": "升贴水",
  16340. "type": "number"
  16341. },
  16342. "pricetype": {
  16343. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16344. "type": "integer"
  16345. },
  16346. "relatedid": {
  16347. "description": "现货合同ID",
  16348. "type": "string"
  16349. },
  16350. "sellusername": {
  16351. "description": "销售方名字",
  16352. "type": "string"
  16353. },
  16354. "userid": {
  16355. "description": "用户ID",
  16356. "type": "integer"
  16357. },
  16358. "wrstandardcode": {
  16359. "description": "品类代码",
  16360. "type": "string"
  16361. },
  16362. "wrstandardid": {
  16363. "description": "品类id",
  16364. "type": "integer"
  16365. },
  16366. "wrstandardname": {
  16367. "description": "品类名称",
  16368. "type": "string"
  16369. }
  16370. }
  16371. },
  16372. "ermcp.QryGGCovertCfgRsp": {
  16373. "type": "object",
  16374. "properties": {
  16375. "convertratio": {
  16376. "description": "折算系数",
  16377. "type": "number"
  16378. },
  16379. "destgoodsgroupid": {
  16380. "description": "目标品种ID",
  16381. "type": "integer"
  16382. },
  16383. "dstcode": {
  16384. "description": "目录品种代码",
  16385. "type": "string"
  16386. },
  16387. "dstexchangecode": {
  16388. "description": "目标期货交易所",
  16389. "type": "string"
  16390. },
  16391. "dstname": {
  16392. "description": "目标品种名称",
  16393. "type": "string"
  16394. },
  16395. "dstunitid": {
  16396. "description": "目标品种单位ID",
  16397. "type": "integer"
  16398. },
  16399. "dstunitidname": {
  16400. "description": "目标品种单位名称",
  16401. "type": "string"
  16402. },
  16403. "modifytime": {
  16404. "description": "修改时间",
  16405. "type": "string"
  16406. },
  16407. "srccode": {
  16408. "description": "源品种代码",
  16409. "type": "string"
  16410. },
  16411. "srcexchangecode": {
  16412. "description": "源期货交易所",
  16413. "type": "string"
  16414. },
  16415. "srcgoodsgroupid": {
  16416. "description": "源品种ID",
  16417. "type": "integer"
  16418. },
  16419. "srcname": {
  16420. "description": "源品种名称",
  16421. "type": "string"
  16422. },
  16423. "srcunitid": {
  16424. "description": "源品种单位ID",
  16425. "type": "integer"
  16426. },
  16427. "srcunitidname": {
  16428. "description": "源品种单位名称",
  16429. "type": "string"
  16430. }
  16431. }
  16432. },
  16433. "ermcp.QryMGChangeLogRsp": {
  16434. "type": "object",
  16435. "properties": {
  16436. "aftervalue": {
  16437. "description": "变更后",
  16438. "type": "number"
  16439. },
  16440. "applyid": {
  16441. "description": "操作人",
  16442. "type": "integer"
  16443. },
  16444. "applyname": {
  16445. "description": "操作人名称",
  16446. "type": "string"
  16447. },
  16448. "applysrc": {
  16449. "description": "操作来源 - 1:管理端 2:终端",
  16450. "type": "integer"
  16451. },
  16452. "beforevalue": {
  16453. "description": "变更前",
  16454. "type": "number"
  16455. },
  16456. "changelogtype": {
  16457. "description": "变更流水类型 - 1:套保比率变更",
  16458. "type": "integer"
  16459. },
  16460. "handlestatus": {
  16461. "description": "处理状态",
  16462. "type": "integer"
  16463. },
  16464. "logdatetime": {
  16465. "description": "流水日期",
  16466. "type": "string"
  16467. },
  16468. "logid": {
  16469. "description": "流水ID",
  16470. "type": "integer"
  16471. },
  16472. "logremark": {
  16473. "description": "流水备注",
  16474. "type": "string"
  16475. },
  16476. "middlegoodsid": {
  16477. "description": "套保品种ID",
  16478. "type": "integer"
  16479. },
  16480. "tradedate": {
  16481. "description": "交易日(yyyyMMdd)",
  16482. "type": "string"
  16483. },
  16484. "updatetime": {
  16485. "description": "更新时间",
  16486. "type": "string"
  16487. }
  16488. }
  16489. },
  16490. "ermcp.QryMiddleGoodsDetailRsp": {
  16491. "type": "object",
  16492. "properties": {
  16493. "cvList": {
  16494. "description": "期货品种折算列表",
  16495. "type": "array",
  16496. "items": {
  16497. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16498. }
  16499. },
  16500. "mg": {
  16501. "description": "套保品种基本信息",
  16502. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16503. },
  16504. "wrcList": {
  16505. "description": "现货品种列表(现货商品折算配置)",
  16506. "type": "array",
  16507. "items": {
  16508. "$ref": "#/definitions/models.WRSConverTDetail"
  16509. }
  16510. }
  16511. }
  16512. },
  16513. "ermcp.QryMiddleGoodsRsp": {
  16514. "type": "object",
  16515. "properties": {
  16516. "areauserid": {
  16517. "description": "机构用户ID",
  16518. "type": "integer"
  16519. },
  16520. "createtime": {
  16521. "description": "修改时间",
  16522. "type": "string"
  16523. },
  16524. "enumdicname": {
  16525. "description": "单位名称",
  16526. "type": "string"
  16527. },
  16528. "evaluateratio": {
  16529. "description": "估价系数",
  16530. "type": "number"
  16531. },
  16532. "goodsgroupid": {
  16533. "description": "关联期货品种ID",
  16534. "type": "integer"
  16535. },
  16536. "goodsunitid": {
  16537. "description": "单位ID",
  16538. "type": "integer"
  16539. },
  16540. "isvalid": {
  16541. "description": "状态 0-无效(停用) 1-有效(正常)",
  16542. "type": "integer"
  16543. },
  16544. "middlegoodscode": {
  16545. "description": "套保品种代码",
  16546. "type": "string"
  16547. },
  16548. "middlegoodsid": {
  16549. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16550. "type": "integer"
  16551. },
  16552. "middlegoodsname": {
  16553. "description": "套保品种名称",
  16554. "type": "string"
  16555. },
  16556. "modifytime": {
  16557. "description": "修改时间",
  16558. "type": "string"
  16559. },
  16560. "needarbitrageratio": {
  16561. "description": "套利比例",
  16562. "type": "number"
  16563. },
  16564. "needhedgeratio": {
  16565. "description": "套保比率",
  16566. "type": "number"
  16567. },
  16568. "qtydecimalplace": {
  16569. "description": "数量小数位",
  16570. "type": "integer"
  16571. },
  16572. "relatedgoodsid": {
  16573. "description": "关联交易商品ID",
  16574. "type": "integer"
  16575. },
  16576. "relatedgoodstype": {
  16577. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16578. "type": "integer"
  16579. },
  16580. "remark": {
  16581. "description": "备注",
  16582. "type": "string"
  16583. }
  16584. }
  16585. },
  16586. "ermcp.QryOPLogRsp": {
  16587. "type": "object",
  16588. "properties": {
  16589. "aftervalue": {
  16590. "description": "变更后",
  16591. "type": "number"
  16592. },
  16593. "applyid": {
  16594. "description": "操作人ID",
  16595. "type": "string"
  16596. },
  16597. "applyname": {
  16598. "description": "操作人名称",
  16599. "type": "string"
  16600. },
  16601. "beforevalue": {
  16602. "description": "变更前",
  16603. "type": "number"
  16604. },
  16605. "biztype": {
  16606. "description": "业务类型 - 1:套保计划 2:现货合同",
  16607. "type": "integer"
  16608. },
  16609. "contracttype": {
  16610. "description": "现货合同类型 - 1:采购 -1:销售",
  16611. "type": "integer"
  16612. },
  16613. "logvalue": {
  16614. "description": "数值",
  16615. "type": "number"
  16616. },
  16617. "operatelogtype": {
  16618. "description": "操作流水类型",
  16619. "type": "integer"
  16620. },
  16621. "operatelogtypedesc": {
  16622. "description": "操作流水类型名称",
  16623. "type": "string"
  16624. },
  16625. "relatedid": {
  16626. "description": "现货合同ID\\套保计划",
  16627. "type": "string"
  16628. },
  16629. "updatetime": {
  16630. "description": "更新时间",
  16631. "type": "string"
  16632. }
  16633. }
  16634. },
  16635. "ermcp.QryUserInfoRsp": {
  16636. "type": "object",
  16637. "properties": {
  16638. "address": {
  16639. "description": "通讯地址",
  16640. "type": "string"
  16641. },
  16642. "attachment1": {
  16643. "description": "附件1",
  16644. "type": "string"
  16645. },
  16646. "audittime": {
  16647. "description": "审核时间",
  16648. "type": "string"
  16649. },
  16650. "cardbackphotourl": {
  16651. "description": "证件反面图片地址",
  16652. "type": "string"
  16653. },
  16654. "cardfrontphotourl": {
  16655. "description": "证件正面图片地址",
  16656. "type": "string"
  16657. },
  16658. "cardnum": {
  16659. "description": "证件号码",
  16660. "type": "string"
  16661. },
  16662. "cardtype": {
  16663. "description": "证件类型",
  16664. "type": "integer"
  16665. },
  16666. "cardtypename": {
  16667. "description": "证件类型名称",
  16668. "type": "string"
  16669. },
  16670. "cityid": {
  16671. "description": "市",
  16672. "type": "integer"
  16673. },
  16674. "contactname": {
  16675. "description": "联系人",
  16676. "type": "string"
  16677. },
  16678. "countryid": {
  16679. "description": "国家",
  16680. "type": "integer"
  16681. },
  16682. "createtime": {
  16683. "description": "创建时间",
  16684. "type": "string"
  16685. },
  16686. "customername": {
  16687. "description": "企业名称",
  16688. "type": "string"
  16689. },
  16690. "districtid": {
  16691. "description": "区域",
  16692. "type": "integer"
  16693. },
  16694. "email": {
  16695. "description": "邮件",
  16696. "type": "string"
  16697. },
  16698. "legalpersonname": {
  16699. "description": "法人姓名(企业)",
  16700. "type": "string"
  16701. },
  16702. "memberuserid": {
  16703. "description": "所属机构ID",
  16704. "type": "integer"
  16705. },
  16706. "mobile": {
  16707. "description": "手机号码",
  16708. "type": "string"
  16709. },
  16710. "modifytime": {
  16711. "description": "修改时间",
  16712. "type": "string"
  16713. },
  16714. "nickname": {
  16715. "description": "昵称",
  16716. "type": "string"
  16717. },
  16718. "provinceid": {
  16719. "description": "省",
  16720. "type": "integer"
  16721. },
  16722. "remark": {
  16723. "description": "备注",
  16724. "type": "string"
  16725. },
  16726. "status": {
  16727. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16728. "type": "integer"
  16729. },
  16730. "statusdesc": {
  16731. "description": "账户状态中文描述",
  16732. "type": "string"
  16733. },
  16734. "taxpayernum": {
  16735. "description": "纳税人识别号",
  16736. "type": "string"
  16737. },
  16738. "telphone": {
  16739. "description": "联系电话",
  16740. "type": "string"
  16741. },
  16742. "userid": {
  16743. "description": "用户ID",
  16744. "type": "integer"
  16745. },
  16746. "userinfotype": {
  16747. "description": "客户类型",
  16748. "type": "string"
  16749. }
  16750. }
  16751. },
  16752. "ermcp.QryWarehouseRsp": {
  16753. "type": "object",
  16754. "properties": {
  16755. "address": {
  16756. "description": "详细地址",
  16757. "type": "string"
  16758. },
  16759. "areauserid": {
  16760. "description": "所属机构",
  16761. "type": "integer"
  16762. },
  16763. "autoid": {
  16764. "description": "自增ID(仓库ID)",
  16765. "type": "integer"
  16766. },
  16767. "cityid": {
  16768. "description": "市",
  16769. "type": "integer"
  16770. },
  16771. "contactname": {
  16772. "description": "联系人",
  16773. "type": "string"
  16774. },
  16775. "contactnum": {
  16776. "description": "联系电话",
  16777. "type": "string"
  16778. },
  16779. "countryid": {
  16780. "description": "国家",
  16781. "type": "integer"
  16782. },
  16783. "createtime": {
  16784. "description": "创建时间",
  16785. "type": "string"
  16786. },
  16787. "districtid": {
  16788. "description": "区",
  16789. "type": "integer"
  16790. },
  16791. "hasvideo": {
  16792. "description": "是否有视频 - 0:无 1:有",
  16793. "type": "integer"
  16794. },
  16795. "provinceid": {
  16796. "description": "省",
  16797. "type": "integer"
  16798. },
  16799. "remark": {
  16800. "description": "审核备注",
  16801. "type": "string"
  16802. },
  16803. "videourl": {
  16804. "description": "视频地址",
  16805. "type": "string"
  16806. },
  16807. "warehousecode": {
  16808. "description": "仓库代码",
  16809. "type": "string"
  16810. },
  16811. "warehousename": {
  16812. "description": "仓库名称",
  16813. "type": "string"
  16814. },
  16815. "warehousestatus": {
  16816. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16817. "type": "integer"
  16818. },
  16819. "warehousetype": {
  16820. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16821. "type": "integer"
  16822. }
  16823. }
  16824. },
  16825. "ermcp.QueryErmcpTradePositionRsp": {
  16826. "type": "object",
  16827. "properties": {
  16828. "agreeunit": {
  16829. "description": "合约单位",
  16830. "type": "number"
  16831. },
  16832. "buyorsell": {
  16833. "description": "方向 - 0:买 1:卖",
  16834. "type": "integer"
  16835. },
  16836. "curpositionqty": {
  16837. "description": "持仓(总仓数量, 期末头寸)",
  16838. "type": "integer"
  16839. },
  16840. "curtdposition": {
  16841. "description": "今仓数量(期末今日头寸)",
  16842. "type": "integer"
  16843. },
  16844. "curtdpositionenabled": {
  16845. "description": "今仓可用",
  16846. "type": "integer"
  16847. },
  16848. "decimalplace": {
  16849. "description": "报价小数位",
  16850. "type": "integer"
  16851. },
  16852. "enableqty": {
  16853. "description": "可用(总仓可用)",
  16854. "type": "integer"
  16855. },
  16856. "exexchangename": {
  16857. "description": "外部交易所名称",
  16858. "type": "string"
  16859. },
  16860. "goodscode": {
  16861. "description": "商品代码(内部)",
  16862. "type": "string"
  16863. },
  16864. "goodsid": {
  16865. "description": "商品ID(自增ID SEQ_GOODS)",
  16866. "type": "integer"
  16867. },
  16868. "goodsname": {
  16869. "description": "商品名称",
  16870. "type": "string"
  16871. },
  16872. "last": {
  16873. "description": "现价",
  16874. "type": "number"
  16875. },
  16876. "marketid": {
  16877. "description": "所属市场ID",
  16878. "type": "integer"
  16879. },
  16880. "openaverageprice": {
  16881. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16882. "type": "number"
  16883. },
  16884. "opencost": {
  16885. "description": "开仓成本",
  16886. "type": "number"
  16887. },
  16888. "openpl": {
  16889. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16890. "type": "number"
  16891. },
  16892. "outgoodscode": {
  16893. "description": "商品代码(外部)",
  16894. "type": "string"
  16895. },
  16896. "positionaverageprice": {
  16897. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16898. "type": "number"
  16899. },
  16900. "positioncost": {
  16901. "description": "持仓成本",
  16902. "type": "number"
  16903. },
  16904. "positionpl": {
  16905. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16906. "type": "number"
  16907. },
  16908. "positionplrate": {
  16909. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16910. "type": "number"
  16911. },
  16912. "usedmargin": {
  16913. "description": "占用保证金",
  16914. "type": "number"
  16915. }
  16916. }
  16917. },
  16918. "ermcp.RealtimeExposurePositionRsp": {
  16919. "type": "object",
  16920. "properties": {
  16921. "agreeunit": {
  16922. "description": "合约单位",
  16923. "type": "string"
  16924. },
  16925. "areauserid": {
  16926. "description": "所属机构id",
  16927. "type": "integer"
  16928. },
  16929. "convertratio": {
  16930. "description": "期货品种系数(折算系数)",
  16931. "type": "number"
  16932. },
  16933. "curqty": {
  16934. "description": "当前持仓",
  16935. "type": "integer"
  16936. },
  16937. "diffhedgeqty": {
  16938. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16939. "type": "number"
  16940. },
  16941. "diffqty": {
  16942. "description": "持仓变动量=当前持仓-昨日持仓",
  16943. "type": "integer"
  16944. },
  16945. "goodscode": {
  16946. "description": "商品代码",
  16947. "type": "string"
  16948. },
  16949. "goodsid": {
  16950. "description": "商品id",
  16951. "type": "integer"
  16952. },
  16953. "goodsname": {
  16954. "description": "商品名称",
  16955. "type": "string"
  16956. },
  16957. "middlegoodsid": {
  16958. "description": "套保商品id",
  16959. "type": "integer"
  16960. },
  16961. "ydqty": {
  16962. "description": "昨日持仓",
  16963. "type": "integer"
  16964. }
  16965. }
  16966. },
  16967. "ermcp.RealtimeExposureRsp": {
  16968. "type": "object",
  16969. "properties": {
  16970. "AreaUserID": {
  16971. "description": "所属机构",
  16972. "type": "integer"
  16973. },
  16974. "BuyFutureQty": {
  16975. "description": "买入期货数量",
  16976. "type": "number"
  16977. },
  16978. "BuyPlanQty": {
  16979. "description": "采购计划数量",
  16980. "type": "number"
  16981. },
  16982. "BuyPricedQty": {
  16983. "description": "采购合同已定价数量",
  16984. "type": "number"
  16985. },
  16986. "MiddleGoodsCode": {
  16987. "description": "套保品种代码",
  16988. "type": "string"
  16989. },
  16990. "MiddleGoodsHedgeRatio": {
  16991. "description": "套保比例",
  16992. "type": "number"
  16993. },
  16994. "MiddleGoodsID": {
  16995. "description": "套保品种",
  16996. "type": "integer"
  16997. },
  16998. "MiddleGoodsName": {
  16999. "description": "套保品种名称",
  17000. "type": "string"
  17001. },
  17002. "NeedHedgeExposoure": {
  17003. "description": "应套保敞口(套保敞口)",
  17004. "type": "number"
  17005. },
  17006. "NeedHedgeRatio": {
  17007. "description": "应套保敞口比例",
  17008. "type": "number"
  17009. },
  17010. "OriBuyFutureQty": {
  17011. "description": "期初买入期货数量",
  17012. "type": "number"
  17013. },
  17014. "OriBuyPlanQty": {
  17015. "description": "期初采购计划数量",
  17016. "type": "number"
  17017. },
  17018. "OriBuyPricedQty": {
  17019. "description": "期初采购合同已定价数量",
  17020. "type": "number"
  17021. },
  17022. "OriSellFutureQty": {
  17023. "description": "期初卖出期货数量",
  17024. "type": "number"
  17025. },
  17026. "OriSellPlanQty": {
  17027. "description": "期初销售计划数量",
  17028. "type": "number"
  17029. },
  17030. "OriSellPricedQty": {
  17031. "description": "期初销售合同已定价数量",
  17032. "type": "number"
  17033. },
  17034. "SellFutureQty": {
  17035. "description": "卖出期货数量",
  17036. "type": "number"
  17037. },
  17038. "SellPlanQty": {
  17039. "description": "销售计划数量",
  17040. "type": "number"
  17041. },
  17042. "SellPricedQty": {
  17043. "description": "销售合同已定价数量",
  17044. "type": "number"
  17045. },
  17046. "TotalExposure": {
  17047. "description": "总敞口 平安:净敞口",
  17048. "type": "number"
  17049. },
  17050. "TotalFutureQty": {
  17051. "description": "期货总量 平安:保值净持仓量",
  17052. "type": "number"
  17053. },
  17054. "TotalHedgeRatio": {
  17055. "description": "敞口比例",
  17056. "type": "number"
  17057. },
  17058. "TotalNeedHedgeQty": {
  17059. "description": "应套保总量(现货应套保总量)",
  17060. "type": "number"
  17061. },
  17062. "TotalSpotQty": {
  17063. "description": "现货总量 平安:采销定价净值",
  17064. "type": "number"
  17065. },
  17066. "arbitrageqty": {
  17067. "description": "套利量",
  17068. "type": "number"
  17069. },
  17070. "diffArbitrageQty": {
  17071. "description": "套利变动量",
  17072. "type": "number"
  17073. },
  17074. "diffExposoureQty": {
  17075. "description": "变动量(套保敞口)",
  17076. "type": "number"
  17077. },
  17078. "diffFutuQty": {
  17079. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  17080. "type": "number"
  17081. },
  17082. "diffHedgeQty": {
  17083. "description": "套保变动量",
  17084. "type": "number"
  17085. },
  17086. "diffQty": {
  17087. "description": "变动量(总敞口) 平安:净敞口今日变动",
  17088. "type": "number"
  17089. },
  17090. "diffSpotHedgeQty": {
  17091. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  17092. "type": "number"
  17093. },
  17094. "diffSpotQty": {
  17095. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  17096. "type": "number"
  17097. },
  17098. "enumdicname": {
  17099. "description": "单位名称",
  17100. "type": "string"
  17101. },
  17102. "hedgeqty": {
  17103. "description": "套保量",
  17104. "type": "number"
  17105. },
  17106. "needarbitrageqty": {
  17107. "description": "应套利量",
  17108. "type": "number"
  17109. },
  17110. "needarbitrageratio": {
  17111. "description": "套利比例",
  17112. "type": "number"
  17113. },
  17114. "needhedgeqty": {
  17115. "description": "应套保量",
  17116. "type": "number"
  17117. },
  17118. "oriTotalFutuQty": {
  17119. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17120. "type": "number"
  17121. },
  17122. "oriTotalSpotQty": {
  17123. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17124. "type": "number"
  17125. },
  17126. "oriarbitrageqty": {
  17127. "description": "期初套利量",
  17128. "type": "number"
  17129. },
  17130. "orihedgeqty": {
  17131. "description": "期初套保量",
  17132. "type": "number"
  17133. },
  17134. "orineedhedgeexposoure": {
  17135. "description": "期初套保敞口",
  17136. "type": "number"
  17137. },
  17138. "oritotalexposure": {
  17139. "description": "期初总敞口",
  17140. "type": "number"
  17141. },
  17142. "oritotalfutureqty": {
  17143. "description": "期初期货总量",
  17144. "type": "number"
  17145. },
  17146. "oritotalneedhedgeqty": {
  17147. "description": "期初现货应套保量",
  17148. "type": "number"
  17149. }
  17150. }
  17151. },
  17152. "erms2.QueryArbitrageStrategyRsp": {
  17153. "type": "object",
  17154. "required": [
  17155. "asapplyid"
  17156. ],
  17157. "properties": {
  17158. "applybasis": {
  17159. "description": "申请基差",
  17160. "type": "number"
  17161. },
  17162. "asapplyid": {
  17163. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17164. "type": "string"
  17165. },
  17166. "asname": {
  17167. "description": "策略名称",
  17168. "type": "string"
  17169. },
  17170. "asno": {
  17171. "description": "策略编号",
  17172. "type": "string"
  17173. },
  17174. "basischangepl": {
  17175. "description": "基差变动损益[结算更新]",
  17176. "type": "number"
  17177. },
  17178. "biztype": {
  17179. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17180. "type": "integer"
  17181. },
  17182. "closetradedate": {
  17183. "description": "完结交易日(yyyyMMdd)",
  17184. "type": "string"
  17185. },
  17186. "curbasis": {
  17187. "description": "当前基差[结算更新]",
  17188. "type": "number"
  17189. },
  17190. "deliverygoodsid": {
  17191. "description": "现货品种ID",
  17192. "type": "integer"
  17193. },
  17194. "futureavgprice": {
  17195. "description": "期货建仓均价",
  17196. "type": "number"
  17197. },
  17198. "futurecloseamount": {
  17199. "description": "期货平仓金额",
  17200. "type": "number"
  17201. },
  17202. "futurecloseqty": {
  17203. "description": "期货平仓数量",
  17204. "type": "number"
  17205. },
  17206. "futureopenamount": {
  17207. "description": "期货开仓金额",
  17208. "type": "number"
  17209. },
  17210. "futureopenqty": {
  17211. "description": "期货开仓数量",
  17212. "type": "number"
  17213. },
  17214. "futurepl": {
  17215. "description": "期货总盈亏[结算更新]",
  17216. "type": "number"
  17217. },
  17218. "futureqty": {
  17219. "description": "期货持仓数量",
  17220. "type": "number"
  17221. },
  17222. "futurequote": {
  17223. "description": "期货额度",
  17224. "type": "number"
  17225. },
  17226. "goodsgroupid": {
  17227. "description": "期货品种ID",
  17228. "type": "integer"
  17229. },
  17230. "marketid": {
  17231. "description": "市场ID",
  17232. "type": "integer"
  17233. },
  17234. "netexposure": {
  17235. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17236. "type": "number"
  17237. },
  17238. "netexposurepl": {
  17239. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17240. "type": "number"
  17241. },
  17242. "netexposurerate": {
  17243. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17244. "type": "number"
  17245. },
  17246. "openbasis": {
  17247. "description": "建仓基差",
  17248. "type": "number"
  17249. },
  17250. "pricedspotqty": {
  17251. "description": "已定价现货数量",
  17252. "type": "number"
  17253. },
  17254. "pricedspotqtynotax": {
  17255. "description": "已定价现货不含税数量",
  17256. "type": "number"
  17257. },
  17258. "remark": {
  17259. "description": "备注",
  17260. "type": "string"
  17261. },
  17262. "spotavgprice": {
  17263. "description": "现货均价",
  17264. "type": "number"
  17265. },
  17266. "spotbuyamount": {
  17267. "description": "现货采购金额",
  17268. "type": "number"
  17269. },
  17270. "spotbuyqty": {
  17271. "description": "现货采购数量",
  17272. "type": "number"
  17273. },
  17274. "spotpl": {
  17275. "description": "现货总盈亏[结算更新]",
  17276. "type": "number"
  17277. },
  17278. "spotquota": {
  17279. "description": "现货额度",
  17280. "type": "number"
  17281. },
  17282. "spotsellamount": {
  17283. "description": "现货销售金额",
  17284. "type": "number"
  17285. },
  17286. "spotsellqty": {
  17287. "description": "现货销售数量",
  17288. "type": "number"
  17289. },
  17290. "spotusedquota": {
  17291. "description": "现货占用资金",
  17292. "type": "number"
  17293. },
  17294. "strategystatus": {
  17295. "description": "策略状态 - 0:未结束 1:已结束",
  17296. "type": "integer"
  17297. },
  17298. "totalpl": {
  17299. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17300. "type": "number"
  17301. },
  17302. "tradedate": {
  17303. "description": "交易日(yyyyMMdd)",
  17304. "type": "string"
  17305. },
  17306. "updatetime": {
  17307. "description": "更新时间",
  17308. "type": "string"
  17309. },
  17310. "usedquota": {
  17311. "description": "已占用资金",
  17312. "type": "number"
  17313. },
  17314. "userid": {
  17315. "description": "所属机构",
  17316. "type": "integer"
  17317. }
  17318. }
  17319. },
  17320. "erms2.QueryInnerTradeDetailRsp": {
  17321. "type": "object",
  17322. "required": [
  17323. "asapplyid",
  17324. "buyorsell",
  17325. "goodscode",
  17326. "goodsgroupid",
  17327. "goodsgroupname",
  17328. "goodsname",
  17329. "tradeid"
  17330. ],
  17331. "properties": {
  17332. "accountid": {
  17333. "description": "账号ID",
  17334. "type": "integer"
  17335. },
  17336. "agreeunit": {
  17337. "description": "合约单位",
  17338. "type": "number"
  17339. },
  17340. "asapplyid": {
  17341. "description": "策略申请ID",
  17342. "type": "integer"
  17343. },
  17344. "asname": {
  17345. "description": "策略名称",
  17346. "type": "string"
  17347. },
  17348. "asno": {
  17349. "description": "策略编号",
  17350. "type": "string"
  17351. },
  17352. "buyorsell": {
  17353. "description": "方向 - 0:买 1:卖",
  17354. "type": "integer"
  17355. },
  17356. "channelbuildtype": {
  17357. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17358. "type": "integer"
  17359. },
  17360. "closetype": {
  17361. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17362. "type": "integer"
  17363. },
  17364. "decimalplace": {
  17365. "description": "报价小数位",
  17366. "type": "integer"
  17367. },
  17368. "detailtype": {
  17369. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17370. "type": "integer"
  17371. },
  17372. "exexchangecode": {
  17373. "description": "外部交易所代码",
  17374. "type": "string"
  17375. },
  17376. "exexchangename": {
  17377. "description": "外部交易所名称",
  17378. "type": "string"
  17379. },
  17380. "goodscode": {
  17381. "description": "商品代码(合约)",
  17382. "type": "string"
  17383. },
  17384. "goodsgroupid": {
  17385. "description": "商品组ID(品种ID)",
  17386. "type": "integer"
  17387. },
  17388. "goodsgroupname": {
  17389. "description": "商品组名称(品种)",
  17390. "type": "string"
  17391. },
  17392. "goodsid": {
  17393. "description": "商品ID",
  17394. "type": "integer"
  17395. },
  17396. "goodsname": {
  17397. "description": "商品名称(合约)",
  17398. "type": "string"
  17399. },
  17400. "goodunit": {
  17401. "description": "报价单位",
  17402. "type": "string"
  17403. },
  17404. "marketid": {
  17405. "description": "市场ID",
  17406. "type": "integer"
  17407. },
  17408. "orderid": {
  17409. "description": "委托单号",
  17410. "type": "string"
  17411. },
  17412. "outgoodscode": {
  17413. "description": "商品代码(外部)",
  17414. "type": "string"
  17415. },
  17416. "relatedouttradeid": {
  17417. "description": "关联外部成交单ID",
  17418. "type": "string"
  17419. },
  17420. "remark": {
  17421. "description": "备注",
  17422. "type": "string"
  17423. },
  17424. "spotcontractid": {
  17425. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17426. "type": "integer"
  17427. },
  17428. "spotcontractno": {
  17429. "description": "现货合同编号",
  17430. "type": "string"
  17431. },
  17432. "tradeid": {
  17433. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17434. "type": "string"
  17435. },
  17436. "tradeprice": {
  17437. "description": "成交价格",
  17438. "type": "number"
  17439. },
  17440. "tradeqty": {
  17441. "description": "成交数量",
  17442. "type": "integer"
  17443. },
  17444. "tradetime": {
  17445. "description": "成交时间",
  17446. "type": "string"
  17447. },
  17448. "updatetime": {
  17449. "description": "更新时间",
  17450. "type": "string"
  17451. }
  17452. }
  17453. },
  17454. "erms2.QuerySpotContractRsp": {
  17455. "type": "object",
  17456. "required": [
  17457. "spotcontractid"
  17458. ],
  17459. "properties": {
  17460. "accountid": {
  17461. "description": "资金账户ID",
  17462. "type": "integer"
  17463. },
  17464. "areauserid": {
  17465. "description": "所属机构",
  17466. "type": "integer"
  17467. },
  17468. "closedate": {
  17469. "description": "终止日期",
  17470. "type": "string"
  17471. },
  17472. "closeremark": {
  17473. "description": "结束备注",
  17474. "type": "string"
  17475. },
  17476. "closetradedate": {
  17477. "description": "完结交易日(yyyyMMdd)",
  17478. "type": "string"
  17479. },
  17480. "closetype": {
  17481. "description": "终止类型 - 1:违约 2:提前终止",
  17482. "type": "integer"
  17483. },
  17484. "contractamount": {
  17485. "description": "合同金额",
  17486. "type": "number"
  17487. },
  17488. "contractattachment": {
  17489. "description": "合同附件",
  17490. "type": "string"
  17491. },
  17492. "contractno": {
  17493. "description": "现货合同编号",
  17494. "type": "string"
  17495. },
  17496. "contractqty": {
  17497. "description": "合同数量(数值) (用于计算)",
  17498. "type": "number"
  17499. },
  17500. "contractqtychar": {
  17501. "description": "合同数量\\已订价数量 (用于显示)",
  17502. "type": "string"
  17503. },
  17504. "contractstatus": {
  17505. "description": "合同状态 - 0:未结束 1:已结束",
  17506. "type": "integer"
  17507. },
  17508. "contracttype": {
  17509. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17510. "type": "integer"
  17511. },
  17512. "customeraccountid": {
  17513. "description": "客户资金账户ID",
  17514. "type": "integer"
  17515. },
  17516. "customeruserid": {
  17517. "description": "客户ID",
  17518. "type": "integer"
  17519. },
  17520. "deliverygoodsdesc": {
  17521. "description": "品种说明",
  17522. "type": "string"
  17523. },
  17524. "deliverygoodsid": {
  17525. "description": "现货品种ID",
  17526. "type": "integer"
  17527. },
  17528. "handlestatus": {
  17529. "description": "处理状态",
  17530. "type": "integer"
  17531. },
  17532. "invoiceatt": {
  17533. "description": "发票附件",
  17534. "type": "string"
  17535. },
  17536. "invoicedatetime": {
  17537. "description": "开收票更新时间",
  17538. "type": "string"
  17539. },
  17540. "invoiceopentime": {
  17541. "description": "开票时间",
  17542. "type": "string"
  17543. },
  17544. "invoiceremark": {
  17545. "description": "发票备注",
  17546. "type": "string"
  17547. },
  17548. "invoicestatus": {
  17549. "description": "开收票状态 - 0:未开票 1:已开票",
  17550. "type": "integer"
  17551. },
  17552. "lastdate": {
  17553. "description": "交货时间",
  17554. "type": "string"
  17555. },
  17556. "marketid": {
  17557. "description": "市场ID",
  17558. "type": "integer"
  17559. },
  17560. "paydatetime": {
  17561. "description": "收付款更新时间",
  17562. "type": "string"
  17563. },
  17564. "payremark": {
  17565. "description": "收付款备注",
  17566. "type": "string"
  17567. },
  17568. "paystatus": {
  17569. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17570. "type": "integer"
  17571. },
  17572. "positionqty": {
  17573. "description": "头寸数量 - 合同数量去小数部分",
  17574. "type": "integer"
  17575. },
  17576. "producttype": {
  17577. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17578. "type": "integer"
  17579. },
  17580. "relatedqty": {
  17581. "description": "已关联数量",
  17582. "type": "number"
  17583. },
  17584. "relatedstatus": {
  17585. "description": "关联完结状态 - 0:未结束 1:已结束",
  17586. "type": "integer"
  17587. },
  17588. "remark": {
  17589. "description": "备注",
  17590. "type": "string"
  17591. },
  17592. "signdate": {
  17593. "description": "签订日期",
  17594. "type": "string"
  17595. },
  17596. "spotcontractid": {
  17597. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17598. "type": "string"
  17599. },
  17600. "spotdatetime": {
  17601. "description": "收发货更新时间",
  17602. "type": "string"
  17603. },
  17604. "spotprice": {
  17605. "description": "价格",
  17606. "type": "number"
  17607. },
  17608. "spotremark": {
  17609. "description": "收发货备注",
  17610. "type": "string"
  17611. },
  17612. "spotstatus": {
  17613. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17614. "type": "integer"
  17615. },
  17616. "tradedate": {
  17617. "description": "交易日(yyyyMMdd)",
  17618. "type": "string"
  17619. },
  17620. "userid": {
  17621. "description": "业务员用户ID",
  17622. "type": "integer"
  17623. },
  17624. "warehouseid": {
  17625. "description": "仓库ID",
  17626. "type": "integer"
  17627. },
  17628. "wrfactortypeid": {
  17629. "description": "仓单要素类型ID",
  17630. "type": "integer"
  17631. },
  17632. "wrstandardid": {
  17633. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17634. "type": "integer"
  17635. }
  17636. }
  17637. },
  17638. "erms3.AddErms2ASApplyReq": {
  17639. "type": "object",
  17640. "required": [
  17641. "asapplyid"
  17642. ],
  17643. "properties": {
  17644. "applybasis": {
  17645. "description": "申请基差",
  17646. "type": "number"
  17647. },
  17648. "applystatus": {
  17649. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17650. "type": "integer"
  17651. },
  17652. "asapplyid": {
  17653. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17654. "type": "integer"
  17655. },
  17656. "asname": {
  17657. "description": "策略名称",
  17658. "type": "string"
  17659. },
  17660. "asno": {
  17661. "description": "策略编号",
  17662. "type": "string"
  17663. },
  17664. "auditid": {
  17665. "description": "审核人",
  17666. "type": "integer"
  17667. },
  17668. "auditremark": {
  17669. "description": "审核备注",
  17670. "type": "string"
  17671. },
  17672. "audittime": {
  17673. "description": "审核时间",
  17674. "type": "string"
  17675. },
  17676. "biztype": {
  17677. "description": "业务类型 - 1:正向套利 2:反向套利",
  17678. "type": "integer"
  17679. },
  17680. "createtime": {
  17681. "description": "创建时间",
  17682. "type": "string"
  17683. },
  17684. "creatorid": {
  17685. "description": "创建人",
  17686. "type": "integer"
  17687. },
  17688. "deliverygoodsid": {
  17689. "description": "现货品种ID",
  17690. "type": "integer"
  17691. },
  17692. "futurequote": {
  17693. "description": "期货额度",
  17694. "type": "number"
  17695. },
  17696. "goodsgroupid": {
  17697. "description": "期货品种ID",
  17698. "type": "integer"
  17699. },
  17700. "marketid": {
  17701. "description": "市场ID",
  17702. "type": "integer"
  17703. },
  17704. "remark": {
  17705. "description": "备注",
  17706. "type": "string"
  17707. },
  17708. "spotquota": {
  17709. "description": "现货额度",
  17710. "type": "number"
  17711. },
  17712. "tradedate": {
  17713. "description": "交易日(yyyyMMdd)",
  17714. "type": "string"
  17715. },
  17716. "userid": {
  17717. "description": "所属机构",
  17718. "type": "integer"
  17719. }
  17720. }
  17721. },
  17722. "erms3.AddErms2SpotTradeApplyReq": {
  17723. "type": "object",
  17724. "required": [
  17725. "spottradeid"
  17726. ],
  17727. "properties": {
  17728. "applyjsondetail": {
  17729. "description": "申请明细(JSON)",
  17730. "type": "string"
  17731. },
  17732. "applystatus": {
  17733. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17734. "type": "integer"
  17735. },
  17736. "areauserid": {
  17737. "description": "所属机构",
  17738. "type": "integer"
  17739. },
  17740. "auditid": {
  17741. "description": "审核人",
  17742. "type": "integer"
  17743. },
  17744. "auditremark": {
  17745. "description": "审核备注",
  17746. "type": "string"
  17747. },
  17748. "audittime": {
  17749. "description": "审核时间",
  17750. "type": "string"
  17751. },
  17752. "createtime": {
  17753. "description": "创建时间",
  17754. "type": "string"
  17755. },
  17756. "creatorid": {
  17757. "description": "创建人",
  17758. "type": "integer"
  17759. },
  17760. "deliverygoodsid": {
  17761. "description": "现货品种ID",
  17762. "type": "integer"
  17763. },
  17764. "futureaccountid": {
  17765. "description": "期货资金账户",
  17766. "type": "integer"
  17767. },
  17768. "goodsgroupid": {
  17769. "description": "期货品种",
  17770. "type": "integer"
  17771. },
  17772. "marketid": {
  17773. "description": "市场ID",
  17774. "type": "integer"
  17775. },
  17776. "remark": {
  17777. "description": "备注",
  17778. "type": "string"
  17779. },
  17780. "spotaccountid": {
  17781. "description": "现货资金账户",
  17782. "type": "integer"
  17783. },
  17784. "spottradeid": {
  17785. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17786. "type": "integer"
  17787. },
  17788. "spottradename": {
  17789. "description": "业务名称",
  17790. "type": "string"
  17791. },
  17792. "spottradeno": {
  17793. "description": "业务编号",
  17794. "type": "string"
  17795. },
  17796. "tradedate": {
  17797. "description": "交易日(yyyyMMdd)",
  17798. "type": "string"
  17799. },
  17800. "wrstandardid": {
  17801. "description": "仓单标准ID",
  17802. "type": "integer"
  17803. }
  17804. }
  17805. },
  17806. "erms3.AddSpotContractApplyReq": {
  17807. "type": "object",
  17808. "required": [
  17809. "accountid",
  17810. "areauserid",
  17811. "contractno",
  17812. "contracttype",
  17813. "customeraccountid",
  17814. "customeruserid",
  17815. "details",
  17816. "orimargin",
  17817. "signdate"
  17818. ],
  17819. "properties": {
  17820. "accountid": {
  17821. "description": "资金账户ID",
  17822. "type": "integer"
  17823. },
  17824. "areauserid": {
  17825. "description": "所属机构",
  17826. "type": "integer"
  17827. },
  17828. "contractattachment": {
  17829. "description": "合同附件",
  17830. "type": "string"
  17831. },
  17832. "contractno": {
  17833. "description": "现货合同编号",
  17834. "type": "string"
  17835. },
  17836. "contracttype": {
  17837. "description": "现货合同类型 - 1:采购 -1:销售",
  17838. "type": "integer"
  17839. },
  17840. "creatorid": {
  17841. "description": "申请人",
  17842. "type": "integer"
  17843. },
  17844. "customeraccountid": {
  17845. "description": "客户资金账户ID",
  17846. "type": "integer"
  17847. },
  17848. "customeruserid": {
  17849. "description": "客户ID",
  17850. "type": "integer"
  17851. },
  17852. "details": {
  17853. "description": "明细",
  17854. "type": "array",
  17855. "items": {
  17856. "$ref": "#/definitions/erms3.SoptContractDetail"
  17857. }
  17858. },
  17859. "orimargin": {
  17860. "description": "初始保证金",
  17861. "type": "number"
  17862. },
  17863. "remark": {
  17864. "description": "备注",
  17865. "type": "string"
  17866. },
  17867. "signdate": {
  17868. "description": "签订日期",
  17869. "type": "string"
  17870. }
  17871. }
  17872. },
  17873. "erms3.AddSpotContractApplyRsp": {
  17874. "type": "object",
  17875. "required": [
  17876. "contractno"
  17877. ],
  17878. "properties": {
  17879. "contractno": {
  17880. "description": "现货合同编号",
  17881. "type": "string"
  17882. },
  17883. "spotcontractid": {
  17884. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17885. "type": "integer"
  17886. }
  17887. }
  17888. },
  17889. "erms3.AddUserInfoApplyReq": {
  17890. "type": "object",
  17891. "required": [
  17892. "userid"
  17893. ],
  17894. "properties": {
  17895. "accountid": {
  17896. "description": "交易系统帐号Id (加密存储)",
  17897. "type": "integer"
  17898. },
  17899. "areacode": {
  17900. "description": "机构代码",
  17901. "type": "string"
  17902. },
  17903. "areaid": {
  17904. "description": "机构Id",
  17905. "type": "integer"
  17906. },
  17907. "attachment1": {
  17908. "description": "附件1",
  17909. "type": "string"
  17910. },
  17911. "attachment2": {
  17912. "description": "附件2",
  17913. "type": "string"
  17914. },
  17915. "attachment3": {
  17916. "description": "附件3",
  17917. "type": "string"
  17918. },
  17919. "attachment4": {
  17920. "description": "附件4",
  17921. "type": "string"
  17922. },
  17923. "attachment5": {
  17924. "description": "附件5",
  17925. "type": "string"
  17926. },
  17927. "auditedby": {
  17928. "description": "审核人",
  17929. "type": "string"
  17930. },
  17931. "auditime": {
  17932. "description": "审核时间",
  17933. "type": "string"
  17934. },
  17935. "auditsrc": {
  17936. "description": "审核来源 - 1:管理端 2:终端",
  17937. "type": "integer"
  17938. },
  17939. "bankaccount": {
  17940. "description": "银行帐号 (加密存储)",
  17941. "type": "string"
  17942. },
  17943. "bankaccountname": {
  17944. "description": "收款人名称",
  17945. "type": "string"
  17946. },
  17947. "bankcardbackphotourl": {
  17948. "description": "银行卡背面照地址",
  17949. "type": "string"
  17950. },
  17951. "bankcardfrontphotourl": {
  17952. "description": "银行卡正面照地址",
  17953. "type": "string"
  17954. },
  17955. "bankid": {
  17956. "description": "银行编码",
  17957. "type": "string"
  17958. },
  17959. "bankname": {
  17960. "description": "银行名称",
  17961. "type": "string"
  17962. },
  17963. "bankpictureurl": {
  17964. "description": "银行卡正面地址",
  17965. "type": "string"
  17966. },
  17967. "biznature": {
  17968. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17969. "type": "integer"
  17970. },
  17971. "bizscope": {
  17972. "description": "企业经营范围(企业)",
  17973. "type": "string"
  17974. },
  17975. "biztype": {
  17976. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17977. "type": "integer"
  17978. },
  17979. "brokerid": {
  17980. "description": "经纪人ID(加密存储)",
  17981. "type": "string"
  17982. },
  17983. "cardaddress": {
  17984. "description": "证件地址 (加密存储)",
  17985. "type": "string"
  17986. },
  17987. "cardbackphotourl": {
  17988. "description": "背面证件照地址",
  17989. "type": "string"
  17990. },
  17991. "cardfrontphotourl": {
  17992. "description": "正面证件照地址",
  17993. "type": "string"
  17994. },
  17995. "cardnum": {
  17996. "description": "证件号码 (加密存储)",
  17997. "type": "string"
  17998. },
  17999. "cardtype": {
  18000. "description": "证件类型",
  18001. "type": "integer"
  18002. },
  18003. "cityid": {
  18004. "description": "市",
  18005. "type": "integer"
  18006. },
  18007. "company": {
  18008. "description": "公司(个人)",
  18009. "type": "string"
  18010. },
  18011. "contactcardbackphotourl": {
  18012. "description": "联系人证件背面图片地址",
  18013. "type": "string"
  18014. },
  18015. "contactcardfrontphotourl": {
  18016. "description": "联系人证件正面图片地址",
  18017. "type": "string"
  18018. },
  18019. "contactname": {
  18020. "description": "联系人",
  18021. "type": "string"
  18022. },
  18023. "countryid": {
  18024. "description": "国家",
  18025. "type": "integer"
  18026. },
  18027. "createtime": {
  18028. "description": "开户申请时间",
  18029. "type": "string"
  18030. },
  18031. "cusbankid": {
  18032. "description": "签约类型",
  18033. "type": "string"
  18034. },
  18035. "cusbankname": {
  18036. "description": "签约类型名称",
  18037. "type": "string"
  18038. },
  18039. "customername": {
  18040. "description": "客户名称(企业名称)",
  18041. "type": "string"
  18042. },
  18043. "districtid": {
  18044. "description": "地区",
  18045. "type": "integer"
  18046. },
  18047. "email": {
  18048. "description": "Email地址(加密存储)",
  18049. "type": "string"
  18050. },
  18051. "halfbodyphotourl": {
  18052. "description": "半身照地址",
  18053. "type": "string"
  18054. },
  18055. "headurl": {
  18056. "description": "头像地址",
  18057. "type": "string"
  18058. },
  18059. "ipaddress": {
  18060. "description": "IP地址",
  18061. "type": "string"
  18062. },
  18063. "isvalidate": {
  18064. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18065. "type": "string"
  18066. },
  18067. "legalcardbackphotourl": {
  18068. "description": "法人身份证背面照地址",
  18069. "type": "string"
  18070. },
  18071. "legalcardfrontphotourl": {
  18072. "description": "法人身份证正面照地址",
  18073. "type": "string"
  18074. },
  18075. "legalpersonname": {
  18076. "description": "法人姓名(企业)",
  18077. "type": "string"
  18078. },
  18079. "logincode": {
  18080. "description": "登录帐号 (加密存储)",
  18081. "type": "string"
  18082. },
  18083. "memberareaid": {
  18084. "description": "所属会员ID",
  18085. "type": "integer"
  18086. },
  18087. "mobile2": {
  18088. "description": "手机号码[明文-尚志]",
  18089. "type": "string"
  18090. },
  18091. "mobilephone": {
  18092. "description": "手机号码 (加密存储)",
  18093. "type": "string"
  18094. },
  18095. "modifiedby": {
  18096. "description": "修改人帐号",
  18097. "type": "integer"
  18098. },
  18099. "modifiedtime": {
  18100. "description": "修改时间",
  18101. "type": "string"
  18102. },
  18103. "nickname": {
  18104. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18105. "type": "string"
  18106. },
  18107. "openmode": {
  18108. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18109. "type": "integer"
  18110. },
  18111. "otherurl": {
  18112. "description": "其它图片地址[使用分号分隔]",
  18113. "type": "string"
  18114. },
  18115. "postalcode": {
  18116. "description": "邮政编码",
  18117. "type": "string"
  18118. },
  18119. "provinceid": {
  18120. "description": "省",
  18121. "type": "integer"
  18122. },
  18123. "proxystatementurl": {
  18124. "description": "授权委托书",
  18125. "type": "string"
  18126. },
  18127. "qq": {
  18128. "description": "QQ(加密存储",
  18129. "type": "string"
  18130. },
  18131. "referral": {
  18132. "description": "推荐人编码",
  18133. "type": "string"
  18134. },
  18135. "remark": {
  18136. "description": "备注",
  18137. "type": "string"
  18138. },
  18139. "removebeforestatus": {
  18140. "description": "REMOVEBEFORESTATUS",
  18141. "type": "integer"
  18142. },
  18143. "sex": {
  18144. "description": "性别 - 0:女 1:男",
  18145. "type": "integer"
  18146. },
  18147. "signedstatus": {
  18148. "description": "账户一号签签约状态",
  18149. "type": "integer"
  18150. },
  18151. "signpdfurl": {
  18152. "description": "签约pdf文件",
  18153. "type": "string"
  18154. },
  18155. "subbranch": {
  18156. "description": "开户支行",
  18157. "type": "string"
  18158. },
  18159. "taxpayernum": {
  18160. "description": "纳税人识别号",
  18161. "type": "string"
  18162. },
  18163. "telphone": {
  18164. "description": "联系电话(加密存储)",
  18165. "type": "string"
  18166. },
  18167. "userid": {
  18168. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18169. "type": "integer"
  18170. },
  18171. "userinfotype": {
  18172. "description": "用户信息类型 - 1:个人 2:企业",
  18173. "type": "integer"
  18174. },
  18175. "username": {
  18176. "description": "用户姓名",
  18177. "type": "string"
  18178. },
  18179. "userstate": {
  18180. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18181. "type": "integer"
  18182. },
  18183. "usertype": {
  18184. "description": "用户类型 - 1:投资者 2:机构",
  18185. "type": "integer"
  18186. },
  18187. "videourl": {
  18188. "description": "视频地址",
  18189. "type": "string"
  18190. },
  18191. "wechat": {
  18192. "description": "微信号 (加密存储)",
  18193. "type": "string"
  18194. }
  18195. }
  18196. },
  18197. "erms3.CustomerInfo": {
  18198. "type": "object",
  18199. "required": [
  18200. "userid"
  18201. ],
  18202. "properties": {
  18203. "accountids": {
  18204. "description": "资金账户ID列表",
  18205. "type": "array",
  18206. "items": {
  18207. "type": "integer"
  18208. }
  18209. },
  18210. "customername": {
  18211. "description": "名称(企业名称)",
  18212. "type": "string"
  18213. },
  18214. "mobile": {
  18215. "description": "手机号码",
  18216. "type": "string"
  18217. },
  18218. "userid": {
  18219. "description": "用户ID",
  18220. "type": "integer"
  18221. }
  18222. }
  18223. },
  18224. "erms3.ModifyUserInfoApplyReq": {
  18225. "type": "object",
  18226. "required": [
  18227. "userid"
  18228. ],
  18229. "properties": {
  18230. "accountid": {
  18231. "description": "交易系统帐号Id (加密存储)",
  18232. "type": "integer"
  18233. },
  18234. "areacode": {
  18235. "description": "机构代码",
  18236. "type": "string"
  18237. },
  18238. "areaid": {
  18239. "description": "机构Id",
  18240. "type": "integer"
  18241. },
  18242. "attachment1": {
  18243. "description": "附件1",
  18244. "type": "string"
  18245. },
  18246. "attachment2": {
  18247. "description": "附件2",
  18248. "type": "string"
  18249. },
  18250. "attachment3": {
  18251. "description": "附件3",
  18252. "type": "string"
  18253. },
  18254. "attachment4": {
  18255. "description": "附件4",
  18256. "type": "string"
  18257. },
  18258. "attachment5": {
  18259. "description": "附件5",
  18260. "type": "string"
  18261. },
  18262. "auditedby": {
  18263. "description": "审核人",
  18264. "type": "string"
  18265. },
  18266. "auditime": {
  18267. "description": "审核时间",
  18268. "type": "string"
  18269. },
  18270. "auditsrc": {
  18271. "description": "审核来源 - 1:管理端 2:终端",
  18272. "type": "integer"
  18273. },
  18274. "bankaccount": {
  18275. "description": "银行帐号 (加密存储)",
  18276. "type": "string"
  18277. },
  18278. "bankaccountname": {
  18279. "description": "收款人名称",
  18280. "type": "string"
  18281. },
  18282. "bankcardbackphotourl": {
  18283. "description": "银行卡背面照地址",
  18284. "type": "string"
  18285. },
  18286. "bankcardfrontphotourl": {
  18287. "description": "银行卡正面照地址",
  18288. "type": "string"
  18289. },
  18290. "bankid": {
  18291. "description": "银行编码",
  18292. "type": "string"
  18293. },
  18294. "bankname": {
  18295. "description": "银行名称",
  18296. "type": "string"
  18297. },
  18298. "bankpictureurl": {
  18299. "description": "银行卡正面地址",
  18300. "type": "string"
  18301. },
  18302. "biznature": {
  18303. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18304. "type": "integer"
  18305. },
  18306. "bizscope": {
  18307. "description": "企业经营范围(企业)",
  18308. "type": "string"
  18309. },
  18310. "biztype": {
  18311. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18312. "type": "integer"
  18313. },
  18314. "brokerid": {
  18315. "description": "经纪人ID(加密存储)",
  18316. "type": "string"
  18317. },
  18318. "cardaddress": {
  18319. "description": "证件地址 (加密存储)",
  18320. "type": "string"
  18321. },
  18322. "cardbackphotourl": {
  18323. "description": "背面证件照地址",
  18324. "type": "string"
  18325. },
  18326. "cardfrontphotourl": {
  18327. "description": "正面证件照地址",
  18328. "type": "string"
  18329. },
  18330. "cardnum": {
  18331. "description": "证件号码 (加密存储)",
  18332. "type": "string"
  18333. },
  18334. "cardtype": {
  18335. "description": "证件类型",
  18336. "type": "integer"
  18337. },
  18338. "cityid": {
  18339. "description": "市",
  18340. "type": "integer"
  18341. },
  18342. "company": {
  18343. "description": "公司(个人)",
  18344. "type": "string"
  18345. },
  18346. "contactcardbackphotourl": {
  18347. "description": "联系人证件背面图片地址",
  18348. "type": "string"
  18349. },
  18350. "contactcardfrontphotourl": {
  18351. "description": "联系人证件正面图片地址",
  18352. "type": "string"
  18353. },
  18354. "contactname": {
  18355. "description": "联系人",
  18356. "type": "string"
  18357. },
  18358. "countryid": {
  18359. "description": "国家",
  18360. "type": "integer"
  18361. },
  18362. "createtime": {
  18363. "description": "开户申请时间",
  18364. "type": "string"
  18365. },
  18366. "cusbankid": {
  18367. "description": "签约类型",
  18368. "type": "string"
  18369. },
  18370. "cusbankname": {
  18371. "description": "签约类型名称",
  18372. "type": "string"
  18373. },
  18374. "customername": {
  18375. "description": "客户名称(企业名称)",
  18376. "type": "string"
  18377. },
  18378. "districtid": {
  18379. "description": "地区",
  18380. "type": "integer"
  18381. },
  18382. "email": {
  18383. "description": "Email地址(加密存储)",
  18384. "type": "string"
  18385. },
  18386. "halfbodyphotourl": {
  18387. "description": "半身照地址",
  18388. "type": "string"
  18389. },
  18390. "headurl": {
  18391. "description": "头像地址",
  18392. "type": "string"
  18393. },
  18394. "ipaddress": {
  18395. "description": "IP地址",
  18396. "type": "string"
  18397. },
  18398. "isvalidate": {
  18399. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18400. "type": "string"
  18401. },
  18402. "legalcardbackphotourl": {
  18403. "description": "法人身份证背面照地址",
  18404. "type": "string"
  18405. },
  18406. "legalcardfrontphotourl": {
  18407. "description": "法人身份证正面照地址",
  18408. "type": "string"
  18409. },
  18410. "legalpersonname": {
  18411. "description": "法人姓名(企业)",
  18412. "type": "string"
  18413. },
  18414. "logincode": {
  18415. "description": "登录帐号 (加密存储)",
  18416. "type": "string"
  18417. },
  18418. "memberareaid": {
  18419. "description": "所属会员ID",
  18420. "type": "integer"
  18421. },
  18422. "mobile2": {
  18423. "description": "手机号码[明文-尚志]",
  18424. "type": "string"
  18425. },
  18426. "mobilephone": {
  18427. "description": "手机号码 (加密存储)",
  18428. "type": "string"
  18429. },
  18430. "modifiedby": {
  18431. "description": "修改人帐号",
  18432. "type": "integer"
  18433. },
  18434. "modifiedtime": {
  18435. "description": "修改时间",
  18436. "type": "string"
  18437. },
  18438. "nickname": {
  18439. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18440. "type": "string"
  18441. },
  18442. "openmode": {
  18443. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18444. "type": "integer"
  18445. },
  18446. "otherurl": {
  18447. "description": "其它图片地址[使用分号分隔]",
  18448. "type": "string"
  18449. },
  18450. "postalcode": {
  18451. "description": "邮政编码",
  18452. "type": "string"
  18453. },
  18454. "provinceid": {
  18455. "description": "省",
  18456. "type": "integer"
  18457. },
  18458. "proxystatementurl": {
  18459. "description": "授权委托书",
  18460. "type": "string"
  18461. },
  18462. "qq": {
  18463. "description": "QQ(加密存储",
  18464. "type": "string"
  18465. },
  18466. "referral": {
  18467. "description": "推荐人编码",
  18468. "type": "string"
  18469. },
  18470. "remark": {
  18471. "description": "备注",
  18472. "type": "string"
  18473. },
  18474. "removebeforestatus": {
  18475. "description": "REMOVEBEFORESTATUS",
  18476. "type": "integer"
  18477. },
  18478. "sex": {
  18479. "description": "性别 - 0:女 1:男",
  18480. "type": "integer"
  18481. },
  18482. "signedstatus": {
  18483. "description": "账户一号签签约状态",
  18484. "type": "integer"
  18485. },
  18486. "signpdfurl": {
  18487. "description": "签约pdf文件",
  18488. "type": "string"
  18489. },
  18490. "subbranch": {
  18491. "description": "开户支行",
  18492. "type": "string"
  18493. },
  18494. "taxpayernum": {
  18495. "description": "纳税人识别号",
  18496. "type": "string"
  18497. },
  18498. "telphone": {
  18499. "description": "联系电话(加密存储)",
  18500. "type": "string"
  18501. },
  18502. "userid": {
  18503. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18504. "type": "integer"
  18505. },
  18506. "userinfotype": {
  18507. "description": "用户信息类型 - 1:个人 2:企业",
  18508. "type": "integer"
  18509. },
  18510. "username": {
  18511. "description": "用户姓名",
  18512. "type": "string"
  18513. },
  18514. "userstate": {
  18515. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18516. "type": "integer"
  18517. },
  18518. "usertype": {
  18519. "description": "用户类型 - 1:投资者 2:机构",
  18520. "type": "integer"
  18521. },
  18522. "videourl": {
  18523. "description": "视频地址",
  18524. "type": "string"
  18525. },
  18526. "wechat": {
  18527. "description": "微信号 (加密存储)",
  18528. "type": "string"
  18529. }
  18530. }
  18531. },
  18532. "erms3.QryAuditContractRsp": {
  18533. "type": "object",
  18534. "required": [
  18535. "matchcustomername",
  18536. "spotcontractid"
  18537. ],
  18538. "properties": {
  18539. "accountid": {
  18540. "description": "交易员ID",
  18541. "type": "string"
  18542. },
  18543. "applystatus": {
  18544. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18545. "type": "integer"
  18546. },
  18547. "curdeliveryqty": {
  18548. "description": "未交收量",
  18549. "type": "integer"
  18550. },
  18551. "customername": {
  18552. "description": "采购方ID",
  18553. "type": "string"
  18554. },
  18555. "deliverygoodsid": {
  18556. "description": "品种ID",
  18557. "type": "string"
  18558. },
  18559. "deliveryqty": {
  18560. "description": "交收量",
  18561. "type": "integer"
  18562. },
  18563. "enumdicname": {
  18564. "description": "单位名称",
  18565. "type": "string"
  18566. },
  18567. "matchaccountid": {
  18568. "description": "业务员ID",
  18569. "type": "string"
  18570. },
  18571. "matchcustomername": {
  18572. "description": "销售方ID",
  18573. "type": "string"
  18574. },
  18575. "pricedqty": {
  18576. "description": "定价量",
  18577. "type": "number"
  18578. },
  18579. "signdate": {
  18580. "description": "签订日期",
  18581. "type": "string"
  18582. },
  18583. "spotcontractid": {
  18584. "description": "合同ID",
  18585. "type": "string"
  18586. },
  18587. "totaldqty": {
  18588. "description": "合同量",
  18589. "type": "number"
  18590. },
  18591. "unpricedqty": {
  18592. "description": "未定价量",
  18593. "type": "number"
  18594. },
  18595. "wrstandardname": {
  18596. "description": "商品名称",
  18597. "type": "string"
  18598. }
  18599. }
  18600. },
  18601. "erms3.QryPendingBizRsp": {
  18602. "type": "object",
  18603. "properties": {
  18604. "accountid": {
  18605. "description": "现货账户",
  18606. "type": "string"
  18607. },
  18608. "areaname": {
  18609. "description": "所属部门",
  18610. "type": "string"
  18611. },
  18612. "bizid": {
  18613. "description": "业务ID",
  18614. "type": "string"
  18615. },
  18616. "bizname": {
  18617. "description": "业务名称",
  18618. "type": "string"
  18619. },
  18620. "status": {
  18621. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18622. "type": "integer"
  18623. },
  18624. "type": {
  18625. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18626. "type": "integer"
  18627. }
  18628. }
  18629. },
  18630. "erms3.QueryBusinessInfoRsp": {
  18631. "type": "object",
  18632. "properties": {
  18633. "businessid": {
  18634. "description": "业务ID.",
  18635. "type": "integer"
  18636. },
  18637. "buyamount": {
  18638. "description": "采购额.",
  18639. "type": "number"
  18640. },
  18641. "buyqty": {
  18642. "description": "采购量.",
  18643. "type": "string"
  18644. },
  18645. "futurepl": {
  18646. "description": "期货盈亏.",
  18647. "type": "number"
  18648. },
  18649. "futureqty": {
  18650. "description": "期货敞口.",
  18651. "type": "string"
  18652. },
  18653. "goodsid": {
  18654. "description": "商品名称/商品代码.",
  18655. "type": "string"
  18656. },
  18657. "hedgingqty": {
  18658. "description": "套保量.",
  18659. "type": "string"
  18660. },
  18661. "sellamount": {
  18662. "description": "销售额.",
  18663. "type": "number"
  18664. },
  18665. "sellqty": {
  18666. "description": "销售量.",
  18667. "type": "string"
  18668. },
  18669. "spotmarketvalue": {
  18670. "description": "现货市值.",
  18671. "type": "number"
  18672. },
  18673. "spotpl": {
  18674. "description": "浮动权益.",
  18675. "type": "number"
  18676. },
  18677. "spotqty": {
  18678. "description": "现货量.",
  18679. "type": "string"
  18680. },
  18681. "statu": {
  18682. "description": "状态,0-未结束 1-已结束.",
  18683. "type": "integer"
  18684. },
  18685. "totalpl": {
  18686. "description": "总盈亏.",
  18687. "type": "number"
  18688. },
  18689. "totalqty": {
  18690. "description": "总敞口.",
  18691. "type": "string"
  18692. },
  18693. "type": {
  18694. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18695. "type": "integer"
  18696. }
  18697. }
  18698. },
  18699. "erms3.QuerySpotContractAppleFormRsp": {
  18700. "type": "object",
  18701. "properties": {
  18702. "goodses": {
  18703. "description": "合约列表",
  18704. "type": "array",
  18705. "items": {
  18706. "$ref": "#/definitions/models.GoodsIDAndName"
  18707. }
  18708. },
  18709. "oppositeusers": {
  18710. "description": "对方账号列表",
  18711. "type": "array",
  18712. "items": {
  18713. "$ref": "#/definitions/erms3.CustomerInfo"
  18714. }
  18715. },
  18716. "ouruser": {
  18717. "description": "我方账号",
  18718. "$ref": "#/definitions/erms3.CustomerInfo"
  18719. },
  18720. "warehouseinfos": {
  18721. "description": "仓库信息列表",
  18722. "type": "array",
  18723. "items": {
  18724. "$ref": "#/definitions/models.Warehouseinfo"
  18725. }
  18726. },
  18727. "wrstandards": {
  18728. "description": "仓单标准列表",
  18729. "type": "array",
  18730. "items": {
  18731. "$ref": "#/definitions/models.WRStandardInfo"
  18732. }
  18733. }
  18734. }
  18735. },
  18736. "erms3.QuerySpotContractInfoRsp": {
  18737. "type": "object",
  18738. "properties": {
  18739. "accountid": {
  18740. "description": "表示交易员ID.",
  18741. "type": "integer"
  18742. },
  18743. "curdeliveryqty": {
  18744. "description": "表示未交收量.",
  18745. "type": "number"
  18746. },
  18747. "customername": {
  18748. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18749. "type": "string"
  18750. },
  18751. "deliverygoodsid": {
  18752. "description": "表示品种ID.",
  18753. "type": "string"
  18754. },
  18755. "deliveryqty": {
  18756. "description": "表示交收量.",
  18757. "type": "number"
  18758. },
  18759. "matchaccountid": {
  18760. "description": "表示业务员ID.",
  18761. "type": "integer"
  18762. },
  18763. "matchcustomername": {
  18764. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18765. "type": "string"
  18766. },
  18767. "priceqty": {
  18768. "description": "表示定价量.",
  18769. "type": "number"
  18770. },
  18771. "relatedbizid": {
  18772. "description": "表示业务ID.",
  18773. "type": "string"
  18774. },
  18775. "signdate": {
  18776. "description": "表示签订日期.",
  18777. "type": "string"
  18778. },
  18779. "spotcontractid": {
  18780. "description": "合同ID",
  18781. "type": "string"
  18782. },
  18783. "status": {
  18784. "description": "表示状态,0-履约中 1-已完成.",
  18785. "type": "integer"
  18786. },
  18787. "totalqty": {
  18788. "description": "表示合同量.",
  18789. "type": "number"
  18790. },
  18791. "unpricedqty": {
  18792. "description": "表示未定价量.",
  18793. "type": "number"
  18794. },
  18795. "wrstandardname": {
  18796. "description": "表示商品ID.",
  18797. "type": "string"
  18798. }
  18799. }
  18800. },
  18801. "erms3.QueryUserInfoAppliesRsp": {
  18802. "type": "object",
  18803. "required": [
  18804. "userid"
  18805. ],
  18806. "properties": {
  18807. "biznature": {
  18808. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18809. "type": "integer"
  18810. },
  18811. "contactname": {
  18812. "description": "联系人",
  18813. "type": "string"
  18814. },
  18815. "createtime": {
  18816. "description": "开户申请时间",
  18817. "type": "string"
  18818. },
  18819. "userid": {
  18820. "description": "用户ID(自增ID)",
  18821. "type": "integer"
  18822. },
  18823. "userinfotype": {
  18824. "description": "用户信息类型 - 1:个人 2:企业",
  18825. "type": "integer"
  18826. },
  18827. "username": {
  18828. "description": "用户姓名",
  18829. "type": "string"
  18830. },
  18831. "userstate": {
  18832. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18833. "type": "integer"
  18834. }
  18835. }
  18836. },
  18837. "erms3.QueryUserInfosRsp": {
  18838. "type": "object",
  18839. "required": [
  18840. "userid"
  18841. ],
  18842. "properties": {
  18843. "biznature": {
  18844. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18845. "type": "integer"
  18846. },
  18847. "contactname": {
  18848. "description": "联系人",
  18849. "type": "string"
  18850. },
  18851. "customername": {
  18852. "description": "客户名称(企业名称)",
  18853. "type": "string"
  18854. },
  18855. "userid": {
  18856. "description": "用户ID",
  18857. "type": "integer"
  18858. },
  18859. "userinfotype": {
  18860. "description": "用户信息类型 - 1:个人 2:企业",
  18861. "type": "integer"
  18862. },
  18863. "userstatus": {
  18864. "description": "用户状态 - 1:正常 2:注销",
  18865. "type": "integer"
  18866. }
  18867. }
  18868. },
  18869. "erms3.SoptContractDetail": {
  18870. "type": "object",
  18871. "required": [
  18872. "deliverygoodsid",
  18873. "producttype",
  18874. "unitname",
  18875. "warehouseid",
  18876. "wrstandardid",
  18877. "wrstandardname"
  18878. ],
  18879. "properties": {
  18880. "deliverygoodsdesc": {
  18881. "description": "现货品种说明",
  18882. "type": "string"
  18883. },
  18884. "deliverygoodsid": {
  18885. "description": "现货品种ID",
  18886. "type": "integer"
  18887. },
  18888. "deliverygoodsname": {
  18889. "description": "现货品种名称",
  18890. "type": "string"
  18891. },
  18892. "pointdesc": {
  18893. "description": "点价描述",
  18894. "type": "string"
  18895. },
  18896. "producttype": {
  18897. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18898. "type": "integer"
  18899. },
  18900. "producttypename": {
  18901. "description": "产品类型名称",
  18902. "type": "string"
  18903. },
  18904. "spotPointOrderVoList": {
  18905. "description": "点价列表",
  18906. "type": "array",
  18907. "items": {
  18908. "$ref": "#/definitions/erms3.SpotPointOrder"
  18909. }
  18910. },
  18911. "spotPriceOrderList": {
  18912. "description": "定价列表",
  18913. "type": "array",
  18914. "items": {
  18915. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18916. }
  18917. },
  18918. "unitname": {
  18919. "description": "单位名称",
  18920. "type": "string"
  18921. },
  18922. "warehouseid": {
  18923. "description": "仓库ID",
  18924. "type": "integer"
  18925. },
  18926. "warehousename": {
  18927. "description": "仓库名称",
  18928. "type": "string"
  18929. },
  18930. "wrstandardid": {
  18931. "description": "交易标的ID",
  18932. "type": "integer"
  18933. },
  18934. "wrstandardname": {
  18935. "description": "交易标的名称",
  18936. "type": "string"
  18937. }
  18938. }
  18939. },
  18940. "erms3.SpotPointOrder": {
  18941. "type": "object",
  18942. "required": [
  18943. "basic",
  18944. "goodsid",
  18945. "qty"
  18946. ],
  18947. "properties": {
  18948. "basic": {
  18949. "description": "基差",
  18950. "type": "number"
  18951. },
  18952. "deliveryenddate": {
  18953. "description": "交收结束日期",
  18954. "type": "string"
  18955. },
  18956. "deliverystartdate": {
  18957. "description": "交收开始日期",
  18958. "type": "string"
  18959. },
  18960. "enddate": {
  18961. "description": "点价结束日期",
  18962. "type": "string"
  18963. },
  18964. "goodsid": {
  18965. "description": "商品ID",
  18966. "type": "integer"
  18967. },
  18968. "goodsname": {
  18969. "description": "商品名称",
  18970. "type": "string"
  18971. },
  18972. "qty": {
  18973. "description": "数量",
  18974. "type": "number"
  18975. },
  18976. "startdate": {
  18977. "description": "点价开始日期",
  18978. "type": "string"
  18979. }
  18980. }
  18981. },
  18982. "erms3.SpotPriceOrder": {
  18983. "type": "object",
  18984. "required": [
  18985. "amount",
  18986. "price",
  18987. "qty"
  18988. ],
  18989. "properties": {
  18990. "amount": {
  18991. "description": "金额",
  18992. "type": "number"
  18993. },
  18994. "deliveryenddate": {
  18995. "description": "交收结束日期",
  18996. "type": "string"
  18997. },
  18998. "deliverystartdate": {
  18999. "description": "交收开始日期",
  19000. "type": "string"
  19001. },
  19002. "price": {
  19003. "description": "价格",
  19004. "type": "number"
  19005. },
  19006. "qty": {
  19007. "description": "数量",
  19008. "type": "number"
  19009. }
  19010. }
  19011. },
  19012. "hsby.GetHsbyMyCountRsp": {
  19013. "type": "object",
  19014. "properties": {
  19015. "myCouponCount": {
  19016. "description": "我的优惠卷数量",
  19017. "type": "integer"
  19018. },
  19019. "myOrderDetailListingCount": {
  19020. "description": "我的订单求购中数量",
  19021. "type": "integer"
  19022. },
  19023. "myOrderDetailPreCount": {
  19024. "description": "我的订单抢购中数量",
  19025. "type": "integer"
  19026. },
  19027. "myPackageUnReceiveCount": {
  19028. "description": "我的包裹待收货数量",
  19029. "type": "integer"
  19030. },
  19031. "myPackageUnSendCount": {
  19032. "description": "我的包裹待发货数量",
  19033. "type": "integer"
  19034. },
  19035. "myPayOrderCount": {
  19036. "description": "我的订单待付款数量",
  19037. "type": "integer"
  19038. }
  19039. }
  19040. },
  19041. "hsby.QueryProvincesAndCitiesRsp": {
  19042. "type": "object",
  19043. "properties": {
  19044. "cities": {
  19045. "description": "市",
  19046. "type": "array",
  19047. "items": {
  19048. "$ref": "#/definitions/models.Division"
  19049. }
  19050. },
  19051. "province": {
  19052. "description": "省",
  19053. "$ref": "#/definitions/models.Division"
  19054. }
  19055. }
  19056. },
  19057. "models.Arearole": {
  19058. "type": "object",
  19059. "required": [
  19060. "roletype",
  19061. "userid"
  19062. ],
  19063. "properties": {
  19064. "createtime": {
  19065. "description": "创建时间",
  19066. "type": "string"
  19067. },
  19068. "creatorid": {
  19069. "description": "创建人ID",
  19070. "type": "integer"
  19071. },
  19072. "fromuserid": {
  19073. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19074. "type": "integer"
  19075. },
  19076. "isreturnscore": {
  19077. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19078. "type": "integer"
  19079. },
  19080. "modifierid": {
  19081. "description": "修改人ID",
  19082. "type": "integer"
  19083. },
  19084. "modifytime": {
  19085. "description": "修改时间",
  19086. "type": "string"
  19087. },
  19088. "orgtype": {
  19089. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19090. "type": "integer"
  19091. },
  19092. "outuserid": {
  19093. "description": "外部账户[场外期权做市商]",
  19094. "type": "string"
  19095. },
  19096. "parentuserid": {
  19097. "description": "上级组织机构(组织机构)",
  19098. "type": "integer"
  19099. },
  19100. "roletype": {
  19101. "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:门店",
  19102. "type": "integer"
  19103. },
  19104. "rootuserid": {
  19105. "description": "顶级组织机构用户ID(组织机构)",
  19106. "type": "integer"
  19107. },
  19108. "shoppassword": {
  19109. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19110. "type": "string"
  19111. },
  19112. "sublevelpath": {
  19113. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19114. "type": "string"
  19115. },
  19116. "suborgtype": {
  19117. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19118. "type": "integer"
  19119. },
  19120. "tradeaccountid": {
  19121. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19122. "type": "integer"
  19123. },
  19124. "transurl": {
  19125. "description": "物流地址(物流机构)",
  19126. "type": "string"
  19127. },
  19128. "userid": {
  19129. "description": "机构用户ID其他做市关系,都设置为 1",
  19130. "type": "integer"
  19131. }
  19132. }
  19133. },
  19134. "models.Clientfixedadconfig": {
  19135. "type": "object",
  19136. "required": [
  19137. "adsort",
  19138. "adtype"
  19139. ],
  19140. "properties": {
  19141. "adsort": {
  19142. "description": "排序",
  19143. "type": "integer"
  19144. },
  19145. "adtype": {
  19146. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19147. "type": "integer"
  19148. },
  19149. "areauserid": {
  19150. "description": "所属机构ID",
  19151. "type": "integer"
  19152. },
  19153. "createdate": {
  19154. "description": "创建时间",
  19155. "type": "string"
  19156. },
  19157. "creatorid": {
  19158. "description": "创建人",
  19159. "type": "integer"
  19160. },
  19161. "imagepath": {
  19162. "description": "图片",
  19163. "type": "string"
  19164. },
  19165. "isshow": {
  19166. "description": "是否展示 - 0:不展示 1:展示",
  19167. "type": "integer"
  19168. },
  19169. "modifierid": {
  19170. "description": "操作人",
  19171. "type": "integer"
  19172. },
  19173. "recsize": {
  19174. "description": "推荐尺寸",
  19175. "type": "string"
  19176. },
  19177. "title": {
  19178. "description": "标题",
  19179. "type": "string"
  19180. },
  19181. "updatedate": {
  19182. "description": "更新时间",
  19183. "type": "string"
  19184. },
  19185. "urlcontent": {
  19186. "description": "链接(地址或商品ID)",
  19187. "type": "string"
  19188. },
  19189. "urltype": {
  19190. "description": "链接类型 - 1:直接地址 2:商品ID",
  19191. "type": "integer"
  19192. }
  19193. }
  19194. },
  19195. "models.Division": {
  19196. "type": "object",
  19197. "required": [
  19198. "autoid",
  19199. "divisioncode"
  19200. ],
  19201. "properties": {
  19202. "autoid": {
  19203. "description": "自增ID",
  19204. "type": "integer"
  19205. },
  19206. "divisioncode": {
  19207. "description": "行政代码",
  19208. "type": "string"
  19209. },
  19210. "divisionlevel": {
  19211. "description": "行政级别",
  19212. "type": "string"
  19213. },
  19214. "divisionname": {
  19215. "description": "行政名称",
  19216. "type": "string"
  19217. },
  19218. "modifierid": {
  19219. "description": "修改人",
  19220. "type": "integer"
  19221. },
  19222. "modifytime": {
  19223. "description": "修改时间",
  19224. "type": "string"
  19225. },
  19226. "parentcode": {
  19227. "description": "上级行政代码",
  19228. "type": "string"
  19229. },
  19230. "pathname": {
  19231. "description": "路径名称",
  19232. "type": "string"
  19233. },
  19234. "postcode": {
  19235. "description": "邮政编码",
  19236. "type": "string"
  19237. },
  19238. "separablename": {
  19239. "description": "可拆分的全称",
  19240. "type": "string"
  19241. },
  19242. "shortcode": {
  19243. "description": "地区简码",
  19244. "type": "string"
  19245. }
  19246. }
  19247. },
  19248. "models.Enumdicitem": {
  19249. "type": "object",
  19250. "required": [
  19251. "autoid",
  19252. "enumdiccode",
  19253. "enumdicid",
  19254. "enumitemname"
  19255. ],
  19256. "properties": {
  19257. "autoid": {
  19258. "description": "自增ID",
  19259. "type": "integer"
  19260. },
  19261. "bankmappedvalue": {
  19262. "description": "银行服务对应值",
  19263. "type": "string"
  19264. },
  19265. "enumdiccode": {
  19266. "description": "所属枚举代码",
  19267. "type": "string"
  19268. },
  19269. "enumdicid": {
  19270. "description": "所属枚举ID",
  19271. "type": "integer"
  19272. },
  19273. "enumdicname": {
  19274. "description": "枚举项名称",
  19275. "type": "string"
  19276. },
  19277. "enumitemname": {
  19278. "description": "枚举项值",
  19279. "type": "integer"
  19280. },
  19281. "enumitemstatus": {
  19282. "description": "枚举项状态 - 1.启用 2.不启用",
  19283. "type": "integer"
  19284. },
  19285. "enumitemvalue": {
  19286. "description": "通用值 - [币种通用简写]",
  19287. "type": "string"
  19288. },
  19289. "param1": {
  19290. "description": "参数1[币种:币种小数位]",
  19291. "type": "string"
  19292. },
  19293. "param2": {
  19294. "description": "参数1[币种:币种显示单位]",
  19295. "type": "string"
  19296. },
  19297. "remark": {
  19298. "description": "备注",
  19299. "type": "string"
  19300. }
  19301. }
  19302. },
  19303. "models.Ermcp3AreaSpot": {
  19304. "type": "object",
  19305. "properties": {
  19306. "areauserid": {
  19307. "description": "所属机构",
  19308. "type": "integer"
  19309. },
  19310. "convertratio": {
  19311. "description": "套保系数",
  19312. "type": "number"
  19313. },
  19314. "decreaseqty": {
  19315. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19316. "type": "number"
  19317. },
  19318. "enumdicname": {
  19319. "description": "单位名称",
  19320. "type": "string"
  19321. },
  19322. "increaseqty": {
  19323. "description": "增加数量=销售计划数量+采购已定价数量",
  19324. "type": "number"
  19325. },
  19326. "oritoalspotqty": {
  19327. "description": "昨日数量",
  19328. "type": "number"
  19329. },
  19330. "totalspotqty": {
  19331. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19332. "type": "number"
  19333. },
  19334. "unitid": {
  19335. "description": "现货商品单位id",
  19336. "type": "integer"
  19337. },
  19338. "updatetime": {
  19339. "description": "更新时间",
  19340. "type": "string"
  19341. },
  19342. "wrstandardcode": {
  19343. "description": "现货商品代码",
  19344. "type": "string"
  19345. },
  19346. "wrstandardid": {
  19347. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19348. "type": "integer"
  19349. },
  19350. "wrstandardname": {
  19351. "description": "现货商品名称",
  19352. "type": "string"
  19353. }
  19354. }
  19355. },
  19356. "models.Ermcp3AreaSpotDetail": {
  19357. "type": "object",
  19358. "properties": {
  19359. "contracttype": {
  19360. "description": "合同类型 1-采购 -1-销售",
  19361. "type": "integer"
  19362. },
  19363. "createtime": {
  19364. "description": "创建时间",
  19365. "type": "string"
  19366. },
  19367. "enumdicname": {
  19368. "description": "现货商品单位名称",
  19369. "type": "string"
  19370. },
  19371. "logtype": {
  19372. "description": "记录类型 1-套保 2-现货合同",
  19373. "type": "integer"
  19374. },
  19375. "qty": {
  19376. "description": "数量",
  19377. "type": "number"
  19378. },
  19379. "recordname": {
  19380. "description": "类型名称",
  19381. "type": "string"
  19382. },
  19383. "relatedid": {
  19384. "description": "套保计划ID/现货合同ID",
  19385. "type": "string"
  19386. },
  19387. "relatedno": {
  19388. "description": "编号",
  19389. "type": "string"
  19390. },
  19391. "strtime": {
  19392. "description": "时间",
  19393. "type": "string"
  19394. },
  19395. "wrstandardcode": {
  19396. "description": "现货商品代码",
  19397. "type": "string"
  19398. },
  19399. "wrstandardid": {
  19400. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19401. "type": "integer"
  19402. },
  19403. "wrstandardname": {
  19404. "description": "现货商品名称",
  19405. "type": "string"
  19406. }
  19407. }
  19408. },
  19409. "models.Ermcp3AreaSpotPLReport": {
  19410. "type": "object",
  19411. "properties": {
  19412. "accountid": {
  19413. "description": "期货账户ID (作废, 默认为0)",
  19414. "type": "integer"
  19415. },
  19416. "accountname": {
  19417. "description": "机构名称",
  19418. "type": "string"
  19419. },
  19420. "actualpl": {
  19421. "description": "现货损益",
  19422. "type": "number"
  19423. },
  19424. "areauserid": {
  19425. "description": "所属机构\\交易用户ID",
  19426. "type": "integer"
  19427. },
  19428. "begindate": {
  19429. "description": "开始交易日",
  19430. "type": "string"
  19431. },
  19432. "biztype": {
  19433. "description": "业务类型 - 1:套保 2:套利",
  19434. "type": "integer"
  19435. },
  19436. "brandname": {
  19437. "description": "品牌名称",
  19438. "type": "string"
  19439. },
  19440. "curamount": {
  19441. "description": "期末额",
  19442. "type": "number"
  19443. },
  19444. "curaverageprice": {
  19445. "description": "期末均价",
  19446. "type": "number"
  19447. },
  19448. "curbuyamount": {
  19449. "description": "期末采购总额",
  19450. "type": "number"
  19451. },
  19452. "curbuyqty": {
  19453. "description": "期末采购总量",
  19454. "type": "number"
  19455. },
  19456. "curmarketvalue": {
  19457. "description": "参考市值(期末市值)",
  19458. "type": "number"
  19459. },
  19460. "curqty": {
  19461. "description": "期末量",
  19462. "type": "number"
  19463. },
  19464. "currencyid": {
  19465. "description": "结算币种ID【原值】",
  19466. "type": "integer"
  19467. },
  19468. "currencyname": {
  19469. "description": "币种名称",
  19470. "type": "string"
  19471. },
  19472. "cursellamount": {
  19473. "description": "期末销售总额",
  19474. "type": "number"
  19475. },
  19476. "cursellqty": {
  19477. "description": "期末销售总量",
  19478. "type": "number"
  19479. },
  19480. "curspotprice": {
  19481. "description": "参考市价(最新价)",
  19482. "type": "number"
  19483. },
  19484. "cycletime": {
  19485. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19486. "type": "string"
  19487. },
  19488. "cycletype": {
  19489. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19490. "type": "integer"
  19491. },
  19492. "deliverygoodscode": {
  19493. "description": "现货商品代码",
  19494. "type": "string"
  19495. },
  19496. "deliverygoodsid": {
  19497. "description": "现货品种ID",
  19498. "type": "integer"
  19499. },
  19500. "deliverygoodsname": {
  19501. "description": "现货商品名称",
  19502. "type": "string"
  19503. },
  19504. "enddate": {
  19505. "description": "结束交易日",
  19506. "type": "string"
  19507. },
  19508. "enumdicname": {
  19509. "description": "现货商品单位名称",
  19510. "type": "string"
  19511. },
  19512. "floatpl": {
  19513. "description": "浮动损益",
  19514. "type": "number"
  19515. },
  19516. "goodsunitid": {
  19517. "description": "现货商品单位id",
  19518. "type": "integer"
  19519. },
  19520. "oriamount": {
  19521. "description": "期初额",
  19522. "type": "number"
  19523. },
  19524. "oriaverageprice": {
  19525. "description": "期初均价",
  19526. "type": "number"
  19527. },
  19528. "oribuyamount": {
  19529. "description": "期初采购总额",
  19530. "type": "number"
  19531. },
  19532. "oribuyqty": {
  19533. "description": "期初采购总量",
  19534. "type": "number"
  19535. },
  19536. "oriqty": {
  19537. "description": "期初量",
  19538. "type": "number"
  19539. },
  19540. "orisellamount": {
  19541. "description": "期初销售总额",
  19542. "type": "number"
  19543. },
  19544. "orisellqty": {
  19545. "description": "期初销售总量",
  19546. "type": "number"
  19547. },
  19548. "reckondate": {
  19549. "description": "日照时期(yyyyMMdd)",
  19550. "type": "string"
  19551. },
  19552. "spotgoodsbrandid": {
  19553. "description": "现货品牌ID",
  19554. "type": "integer"
  19555. },
  19556. "todaybuyamount": {
  19557. "description": "今日采购额(今采购额)",
  19558. "type": "number"
  19559. },
  19560. "todaybuyaverageprice": {
  19561. "description": "今日采购均价",
  19562. "type": "number"
  19563. },
  19564. "todaybuyqty": {
  19565. "description": "今日采购量(今采购量)",
  19566. "type": "number"
  19567. },
  19568. "todayinqty": {
  19569. "description": "今日入库量(今入库量)",
  19570. "type": "number"
  19571. },
  19572. "todayoutqty": {
  19573. "description": "今日出库量(今出库量)",
  19574. "type": "number"
  19575. },
  19576. "todaysellamount": {
  19577. "description": "今日销售额(今销售额)",
  19578. "type": "number"
  19579. },
  19580. "todaysellaverageprice": {
  19581. "description": "今日销售均价",
  19582. "type": "number"
  19583. },
  19584. "todaysellqty": {
  19585. "description": "今日销售量(今销售量)",
  19586. "type": "number"
  19587. },
  19588. "unitid": {
  19589. "description": "品类单位id",
  19590. "type": "integer"
  19591. },
  19592. "unitidname": {
  19593. "description": "品类单位名称",
  19594. "type": "string"
  19595. },
  19596. "updatetime": {
  19597. "description": "更新时间",
  19598. "type": "string"
  19599. },
  19600. "wrfactortypeid": {
  19601. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19602. "type": "integer"
  19603. },
  19604. "wrstandardcode": {
  19605. "description": "品类代码",
  19606. "type": "string"
  19607. },
  19608. "wrstandardid": {
  19609. "description": "现货品类ID",
  19610. "type": "integer"
  19611. },
  19612. "wrstandardname": {
  19613. "description": "品类名称",
  19614. "type": "string"
  19615. }
  19616. }
  19617. },
  19618. "models.Ermcp3AreaStock": {
  19619. "type": "object",
  19620. "required": [
  19621. "userid"
  19622. ],
  19623. "properties": {
  19624. "brandname": {
  19625. "description": "品牌名称",
  19626. "type": "string"
  19627. },
  19628. "curstock": {
  19629. "description": "期末库存量(今日量)",
  19630. "type": "number"
  19631. },
  19632. "deliverygoodscode": {
  19633. "description": "现货品种代码",
  19634. "type": "string"
  19635. },
  19636. "deliverygoodsid": {
  19637. "description": "现货品种id",
  19638. "type": "integer"
  19639. },
  19640. "deliverygoodsname": {
  19641. "description": "现货品种名称",
  19642. "type": "string"
  19643. },
  19644. "enumdicname": {
  19645. "description": "单位名称",
  19646. "type": "string"
  19647. },
  19648. "goodsunitid": {
  19649. "description": "现货商品单位id",
  19650. "type": "integer"
  19651. },
  19652. "oristock": {
  19653. "description": "期初库存量(昨日量)",
  19654. "type": "number"
  19655. },
  19656. "spotgoodsbrandid": {
  19657. "description": "现货品牌ID",
  19658. "type": "integer"
  19659. },
  19660. "todaybuyinqty": {
  19661. "description": "今日采购入库量",
  19662. "type": "number"
  19663. },
  19664. "todayproduceinqty": {
  19665. "description": "今日生产入库量",
  19666. "type": "number"
  19667. },
  19668. "todayproduceoutqty": {
  19669. "description": "今日生产出库量",
  19670. "type": "number"
  19671. },
  19672. "todayselloutqty": {
  19673. "description": "今日销售出库量",
  19674. "type": "number"
  19675. },
  19676. "unitid": {
  19677. "description": "单位id",
  19678. "type": "integer"
  19679. },
  19680. "updatetime": {
  19681. "description": "更新时间",
  19682. "type": "string"
  19683. },
  19684. "userid": {
  19685. "description": "机构ID",
  19686. "type": "integer"
  19687. },
  19688. "username": {
  19689. "description": "机构名称",
  19690. "type": "string"
  19691. },
  19692. "warehousecode": {
  19693. "description": "仓库代码",
  19694. "type": "string"
  19695. },
  19696. "warehouseinfoid": {
  19697. "description": "仓库ID",
  19698. "type": "string"
  19699. },
  19700. "warehousename": {
  19701. "description": "仓库名称",
  19702. "type": "string"
  19703. },
  19704. "warehousetype": {
  19705. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19706. "type": "integer"
  19707. },
  19708. "wrstandardcode": {
  19709. "description": "品类代码",
  19710. "type": "string"
  19711. },
  19712. "wrstandardid": {
  19713. "description": "品类ID",
  19714. "type": "string"
  19715. },
  19716. "wrstandardname": {
  19717. "description": "品类名称",
  19718. "type": "string"
  19719. }
  19720. }
  19721. },
  19722. "models.Ermcp3AreaStockApply": {
  19723. "type": "object",
  19724. "properties": {
  19725. "applyid": {
  19726. "description": "申请人",
  19727. "type": "integer"
  19728. },
  19729. "applyname": {
  19730. "description": "申请人名称",
  19731. "type": "string"
  19732. },
  19733. "applyremark": {
  19734. "description": "申请备注",
  19735. "type": "string"
  19736. },
  19737. "applysrc": {
  19738. "description": "申请来源 - 1:管理端 2:终端",
  19739. "type": "integer"
  19740. },
  19741. "applystatus": {
  19742. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19743. "type": "integer"
  19744. },
  19745. "applytime": {
  19746. "description": "申请时间",
  19747. "type": "string"
  19748. },
  19749. "auditid": {
  19750. "description": "审核人",
  19751. "type": "integer"
  19752. },
  19753. "auditname": {
  19754. "description": "审核人名称",
  19755. "type": "string"
  19756. },
  19757. "auditremark": {
  19758. "description": "审核备注",
  19759. "type": "string"
  19760. },
  19761. "auditsrc": {
  19762. "description": "审核来源 - 1:管理端 2:终端",
  19763. "type": "integer"
  19764. },
  19765. "audittime": {
  19766. "description": "审核时间",
  19767. "type": "string"
  19768. },
  19769. "audittradedate": {
  19770. "description": "审核交易日(yyyyMMdd)",
  19771. "type": "string"
  19772. },
  19773. "brandname": {
  19774. "description": "品牌名称",
  19775. "type": "string"
  19776. },
  19777. "buynickname": {
  19778. "description": "采购方昵称",
  19779. "type": "string"
  19780. },
  19781. "buyuserid": {
  19782. "description": "采购方userid",
  19783. "type": "integer"
  19784. },
  19785. "buyusername": {
  19786. "description": "采购方名称",
  19787. "type": "string"
  19788. },
  19789. "contractno": {
  19790. "description": "合同编号",
  19791. "type": "string"
  19792. },
  19793. "contractqty": {
  19794. "description": "合同量",
  19795. "type": "number"
  19796. },
  19797. "contracttype": {
  19798. "description": "现货合同类型 - 1:采购 -1:销售",
  19799. "type": "integer"
  19800. },
  19801. "deliverygoodscode": {
  19802. "description": "现货品种代码",
  19803. "type": "string"
  19804. },
  19805. "deliverygoodsid": {
  19806. "description": "现货品种id",
  19807. "type": "integer"
  19808. },
  19809. "deliverygoodsname": {
  19810. "description": "现货品种名称",
  19811. "type": "string"
  19812. },
  19813. "detailjson": {
  19814. "description": "明细数据",
  19815. "type": "string"
  19816. },
  19817. "enumdicname": {
  19818. "description": "现货商品单位名称",
  19819. "type": "string"
  19820. },
  19821. "inoutapplyid": {
  19822. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19823. "type": "string"
  19824. },
  19825. "inouttype": {
  19826. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19827. "type": "integer"
  19828. },
  19829. "pricetype": {
  19830. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19831. "type": "integer"
  19832. },
  19833. "qty": {
  19834. "description": "数量",
  19835. "type": "number"
  19836. },
  19837. "sellnickname": {
  19838. "description": "销售方昵称",
  19839. "type": "string"
  19840. },
  19841. "selluserid": {
  19842. "description": "销售方userid",
  19843. "type": "integer"
  19844. },
  19845. "sellusername": {
  19846. "description": "销售方名称",
  19847. "type": "string"
  19848. },
  19849. "spotcontractid": {
  19850. "description": "关联现货合同ID",
  19851. "type": "string"
  19852. },
  19853. "spotgoodsbrandid": {
  19854. "description": "现货品牌ID",
  19855. "type": "integer"
  19856. },
  19857. "unitid": {
  19858. "description": "单位id",
  19859. "type": "integer"
  19860. },
  19861. "userid": {
  19862. "description": "机构ID",
  19863. "type": "integer"
  19864. },
  19865. "warehousecode": {
  19866. "description": "仓库代码",
  19867. "type": "string"
  19868. },
  19869. "warehouseinfoid": {
  19870. "description": "现货仓库ID",
  19871. "type": "string"
  19872. },
  19873. "warehousename": {
  19874. "description": "仓库名称",
  19875. "type": "string"
  19876. },
  19877. "warehousetype": {
  19878. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19879. "type": "integer"
  19880. },
  19881. "wrstandardcode": {
  19882. "description": "品类代码",
  19883. "type": "string"
  19884. },
  19885. "wrstandardid": {
  19886. "description": "品类ID",
  19887. "type": "integer"
  19888. },
  19889. "wrstandardname": {
  19890. "description": "品类名称",
  19891. "type": "string"
  19892. }
  19893. }
  19894. },
  19895. "models.Ermcp3AreaStockApplySum": {
  19896. "type": "object",
  19897. "properties": {
  19898. "brandname": {
  19899. "description": "品牌名称",
  19900. "type": "string"
  19901. },
  19902. "inouttype": {
  19903. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19904. "type": "integer"
  19905. },
  19906. "spotcontractid": {
  19907. "description": "关联现货合同ID",
  19908. "type": "string"
  19909. },
  19910. "spotgoodsbrandid": {
  19911. "description": "品牌id",
  19912. "type": "integer"
  19913. },
  19914. "totalqty": {
  19915. "description": "总数量",
  19916. "type": "number"
  19917. },
  19918. "wrstandardid": {
  19919. "description": "品类id",
  19920. "type": "integer"
  19921. },
  19922. "wrstandardname": {
  19923. "description": "品类名称",
  19924. "type": "string"
  19925. }
  19926. }
  19927. },
  19928. "models.Ermcp3AreaStockReportEx": {
  19929. "type": "object",
  19930. "properties": {
  19931. "begindate": {
  19932. "description": "开始交易日",
  19933. "type": "string"
  19934. },
  19935. "brandname": {
  19936. "description": "品牌名称",
  19937. "type": "string"
  19938. },
  19939. "curstock": {
  19940. "description": "期末库存量",
  19941. "type": "number"
  19942. },
  19943. "cycletime": {
  19944. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19945. "type": "string"
  19946. },
  19947. "cycletype": {
  19948. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19949. "type": "integer"
  19950. },
  19951. "deliverygoodscode": {
  19952. "description": "现货品种代码",
  19953. "type": "string"
  19954. },
  19955. "deliverygoodsid": {
  19956. "description": "现货品种id",
  19957. "type": "integer"
  19958. },
  19959. "deliverygoodsname": {
  19960. "description": "现货品种名称",
  19961. "type": "string"
  19962. },
  19963. "diffqty": {
  19964. "description": "库存变化量 = 期末 - 期初",
  19965. "type": "number"
  19966. },
  19967. "enddate": {
  19968. "description": "结束交易日",
  19969. "type": "string"
  19970. },
  19971. "enumdicname": {
  19972. "description": "单位名称",
  19973. "type": "string"
  19974. },
  19975. "goodsunitid": {
  19976. "description": "现货单位id",
  19977. "type": "integer"
  19978. },
  19979. "oristock": {
  19980. "description": "期初库存量",
  19981. "type": "number"
  19982. },
  19983. "reckondate": {
  19984. "description": "日照时期(yyyyMMdd)",
  19985. "type": "string"
  19986. },
  19987. "spotgoodsbrandid": {
  19988. "description": "现货品牌ID",
  19989. "type": "integer"
  19990. },
  19991. "todaybuyinqty": {
  19992. "description": "今采购入库量",
  19993. "type": "number"
  19994. },
  19995. "todayproduceinqty": {
  19996. "description": "今内部入库量",
  19997. "type": "number"
  19998. },
  19999. "todayproduceoutqty": {
  20000. "description": "今内部出库量",
  20001. "type": "number"
  20002. },
  20003. "todayselloutqty": {
  20004. "description": "今销售出库量",
  20005. "type": "number"
  20006. },
  20007. "unbuyinqty": {
  20008. "description": "采购未入库量(数据库未找到相关字段?)",
  20009. "type": "number"
  20010. },
  20011. "unitid": {
  20012. "description": "品类单位id",
  20013. "type": "integer"
  20014. },
  20015. "unselloutqty": {
  20016. "description": "销售未出库量(数据库未找到相关字段?)",
  20017. "type": "number"
  20018. },
  20019. "updatetime": {
  20020. "description": "更新时间",
  20021. "type": "string"
  20022. },
  20023. "userid": {
  20024. "description": "机构ID",
  20025. "type": "integer"
  20026. },
  20027. "username": {
  20028. "description": "机构名称",
  20029. "type": "string"
  20030. },
  20031. "warehousecode": {
  20032. "description": "仓库代码",
  20033. "type": "string"
  20034. },
  20035. "warehouseinfoid": {
  20036. "description": "仓库ID",
  20037. "type": "string"
  20038. },
  20039. "warehousename": {
  20040. "description": "仓库名称",
  20041. "type": "string"
  20042. },
  20043. "warehousetype": {
  20044. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20045. "type": "integer"
  20046. },
  20047. "wrstandardcode": {
  20048. "description": "品类代码",
  20049. "type": "string"
  20050. },
  20051. "wrstandardid": {
  20052. "description": "品类ID",
  20053. "type": "integer"
  20054. },
  20055. "wrstandardname": {
  20056. "description": "品类名称",
  20057. "type": "string"
  20058. }
  20059. }
  20060. },
  20061. "models.Ermcp3ArealSumPL": {
  20062. "type": "object",
  20063. "properties": {
  20064. "accountname": {
  20065. "description": "机构名称",
  20066. "type": "string"
  20067. },
  20068. "areauserid": {
  20069. "description": "所属机构\\交易用户ID",
  20070. "type": "integer"
  20071. },
  20072. "begindate": {
  20073. "description": "开始交易日",
  20074. "type": "string"
  20075. },
  20076. "currencyid": {
  20077. "description": "结算币种ID",
  20078. "type": "integer"
  20079. },
  20080. "currencyname": {
  20081. "description": "币种名称",
  20082. "type": "string"
  20083. },
  20084. "cycletime": {
  20085. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20086. "type": "string"
  20087. },
  20088. "cycletype": {
  20089. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20090. "type": "integer"
  20091. },
  20092. "enddate": {
  20093. "description": "结束交易日",
  20094. "type": "string"
  20095. },
  20096. "enumdicname": {
  20097. "description": "单位名称(套保品种)",
  20098. "type": "string"
  20099. },
  20100. "futureactualpl": {
  20101. "description": "期货损益",
  20102. "type": "number"
  20103. },
  20104. "futurefloatpl": {
  20105. "description": "期货浮动损益",
  20106. "type": "number"
  20107. },
  20108. "futurespotratio": {
  20109. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20110. "type": "number"
  20111. },
  20112. "goodsunitid": {
  20113. "description": "套保品种单位id",
  20114. "type": "integer"
  20115. },
  20116. "hedgeexposurepl": {
  20117. "description": "套保敞口损益",
  20118. "type": "number"
  20119. },
  20120. "middlegoodscode": {
  20121. "description": "套保品种代码",
  20122. "type": "string"
  20123. },
  20124. "middlegoodsid": {
  20125. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20126. "type": "integer"
  20127. },
  20128. "middlegoodsname": {
  20129. "description": "套保品种名称",
  20130. "type": "string"
  20131. },
  20132. "reckondate": {
  20133. "description": "日照时期(yyyyMMdd)",
  20134. "type": "string"
  20135. },
  20136. "spotactualpl": {
  20137. "description": "现货损益",
  20138. "type": "number"
  20139. },
  20140. "spotfloatpl": {
  20141. "description": "现货浮动损益",
  20142. "type": "number"
  20143. },
  20144. "sumactualpl": {
  20145. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20146. "type": "number"
  20147. },
  20148. "sumpl": {
  20149. "description": "总敞口损益 | 汇总损益",
  20150. "type": "number"
  20151. },
  20152. "totalfutureqty": {
  20153. "description": "期货头寸总量",
  20154. "type": "number"
  20155. },
  20156. "totalneedhedgeqty": {
  20157. "description": "应套保总量",
  20158. "type": "number"
  20159. },
  20160. "totalspotqty": {
  20161. "description": "现货头寸总量",
  20162. "type": "number"
  20163. },
  20164. "updatetime": {
  20165. "description": "更新时间",
  20166. "type": "string"
  20167. }
  20168. }
  20169. },
  20170. "models.Ermcp3Brand": {
  20171. "type": "object",
  20172. "properties": {
  20173. "areauserid": {
  20174. "description": "用户id",
  20175. "type": "integer"
  20176. },
  20177. "brandid": {
  20178. "description": "品牌id",
  20179. "type": "integer"
  20180. },
  20181. "brandname": {
  20182. "description": "品牌名称",
  20183. "type": "string"
  20184. },
  20185. "deliverygoodsid": {
  20186. "description": "品种ID",
  20187. "type": "integer"
  20188. },
  20189. "isvalid": {
  20190. "description": "是否有效",
  20191. "type": "integer"
  20192. }
  20193. }
  20194. },
  20195. "models.Ermcp3Contract": {
  20196. "type": "object",
  20197. "properties": {
  20198. "accountid": {
  20199. "description": "期货账户id",
  20200. "type": "string"
  20201. },
  20202. "amount": {
  20203. "description": "金额 [1:一口价、3:暂定价]",
  20204. "type": "number"
  20205. },
  20206. "attachment": {
  20207. "description": "附件",
  20208. "type": "string"
  20209. },
  20210. "auditremark": {
  20211. "description": "审核意见",
  20212. "type": "string"
  20213. },
  20214. "audittime": {
  20215. "description": "审核时间",
  20216. "type": "string"
  20217. },
  20218. "biztype": {
  20219. "description": "业务类型 1-套保 2-套利",
  20220. "type": "integer"
  20221. },
  20222. "brandname": {
  20223. "description": "品牌名称",
  20224. "type": "string"
  20225. },
  20226. "buynickname": {
  20227. "description": "销售方昵称",
  20228. "type": "string"
  20229. },
  20230. "buyuserid": {
  20231. "description": "采购方ID",
  20232. "type": "integer"
  20233. },
  20234. "buyusername": {
  20235. "description": "采购方名称",
  20236. "type": "string"
  20237. },
  20238. "contracctstatus": {
  20239. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20240. "type": "integer"
  20241. },
  20242. "contractmargin": {
  20243. "description": "合同保证金",
  20244. "type": "number"
  20245. },
  20246. "contractno": {
  20247. "description": "现货合同编号",
  20248. "type": "string"
  20249. },
  20250. "contracttype": {
  20251. "description": "现货合同类型 - 1:采购 -1:销售",
  20252. "type": "integer"
  20253. },
  20254. "convertfactor": {
  20255. "description": "标仓系数(品类)",
  20256. "type": "number"
  20257. },
  20258. "createtime": {
  20259. "description": "创建时间",
  20260. "type": "string"
  20261. },
  20262. "currencyid": {
  20263. "description": "币种id",
  20264. "type": "integer"
  20265. },
  20266. "currencyname": {
  20267. "description": "币种名称",
  20268. "type": "string"
  20269. },
  20270. "deliveryenddate": {
  20271. "description": "交收期(结束)",
  20272. "type": "string"
  20273. },
  20274. "deliverygoodscode": {
  20275. "description": "现货品种代码",
  20276. "type": "string"
  20277. },
  20278. "deliverygoodsid": {
  20279. "description": "现货品种ID",
  20280. "type": "integer"
  20281. },
  20282. "deliverygoodsname": {
  20283. "description": "现货品种名称",
  20284. "type": "string"
  20285. },
  20286. "deliverystartdate": {
  20287. "description": "交收期(开始)",
  20288. "type": "string"
  20289. },
  20290. "enddate": {
  20291. "description": "点价结束日期 [2:点价 3:暂定价]",
  20292. "type": "string"
  20293. },
  20294. "enumdicname": {
  20295. "description": "单位名称",
  20296. "type": "string"
  20297. },
  20298. "goodscode": {
  20299. "description": "点价合约代码",
  20300. "type": "string"
  20301. },
  20302. "goodsid": {
  20303. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20304. "type": "integer"
  20305. },
  20306. "goodsname": {
  20307. "description": "点价商品名称",
  20308. "type": "string"
  20309. },
  20310. "margin": {
  20311. "description": "当前保证金",
  20312. "type": "number"
  20313. },
  20314. "meruserid": {
  20315. "description": "跟单员id",
  20316. "type": "integer"
  20317. },
  20318. "meruserlogincode": {
  20319. "description": "跟单员登录代码",
  20320. "type": "string"
  20321. },
  20322. "merusername": {
  20323. "description": "跟单员名称",
  20324. "type": "string"
  20325. },
  20326. "price": {
  20327. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20328. "type": "number"
  20329. },
  20330. "pricemove": {
  20331. "description": "升贴水 [2:点价 3:暂定价]",
  20332. "type": "number"
  20333. },
  20334. "pricetype": {
  20335. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20336. "type": "integer"
  20337. },
  20338. "producttype": {
  20339. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20340. "type": "integer"
  20341. },
  20342. "qty": {
  20343. "description": "数量",
  20344. "type": "number"
  20345. },
  20346. "remark": {
  20347. "description": "备注",
  20348. "type": "string"
  20349. },
  20350. "saleuserid": {
  20351. "description": "业务员id",
  20352. "type": "integer"
  20353. },
  20354. "saleuserlogincode": {
  20355. "description": "业务员登录代码",
  20356. "type": "string"
  20357. },
  20358. "saleusername": {
  20359. "description": "业务员名称",
  20360. "type": "string"
  20361. },
  20362. "sellnickname": {
  20363. "description": "采购方昵称",
  20364. "type": "string"
  20365. },
  20366. "selluserid": {
  20367. "description": "销售方ID",
  20368. "type": "integer"
  20369. },
  20370. "sellusername": {
  20371. "description": "销售方名称",
  20372. "type": "string"
  20373. },
  20374. "spotcontractid": {
  20375. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20376. "type": "string"
  20377. },
  20378. "spotgoodsbrandid": {
  20379. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20380. "type": "integer"
  20381. },
  20382. "spotgoodsdesc": {
  20383. "description": "商品型号",
  20384. "type": "string"
  20385. },
  20386. "startdate": {
  20387. "description": "点价开始日期 [2:点价 3:暂定价]",
  20388. "type": "string"
  20389. },
  20390. "subjectid": {
  20391. "description": "交易主体ID",
  20392. "type": "string"
  20393. },
  20394. "subjectname": {
  20395. "description": "交易主体名称",
  20396. "type": "string"
  20397. },
  20398. "tradeuserid": {
  20399. "description": "交易员id",
  20400. "type": "integer"
  20401. },
  20402. "tradeuserlogincode": {
  20403. "description": "交易员登录代码",
  20404. "type": "string"
  20405. },
  20406. "tradeusername": {
  20407. "description": "交易员名称",
  20408. "type": "string"
  20409. },
  20410. "unitid": {
  20411. "description": "单位id(取品类上的单位id)",
  20412. "type": "integer"
  20413. },
  20414. "updatetime": {
  20415. "description": "更新时间",
  20416. "type": "string"
  20417. },
  20418. "userid": {
  20419. "description": "所属机构ID",
  20420. "type": "integer"
  20421. },
  20422. "vatrate": {
  20423. "description": "增值税率",
  20424. "type": "number"
  20425. },
  20426. "wrstandardcode": {
  20427. "description": "品类代码",
  20428. "type": "string"
  20429. },
  20430. "wrstandardid": {
  20431. "description": "品类ID",
  20432. "type": "integer"
  20433. },
  20434. "wrstandardname": {
  20435. "description": "品类名称",
  20436. "type": "string"
  20437. }
  20438. }
  20439. },
  20440. "models.Ermcp3ExposureContractDetail": {
  20441. "type": "object",
  20442. "properties": {
  20443. "biztype": {
  20444. "description": "业务类型 1-套保 2-套利",
  20445. "type": "integer"
  20446. },
  20447. "brandname": {
  20448. "description": "品牌名称",
  20449. "type": "string"
  20450. },
  20451. "buyuserid": {
  20452. "description": "采购方id",
  20453. "type": "integer"
  20454. },
  20455. "buyusername": {
  20456. "description": "采购方名称",
  20457. "type": "string"
  20458. },
  20459. "contractno": {
  20460. "description": "合同编号",
  20461. "type": "string"
  20462. },
  20463. "contracttype": {
  20464. "description": "现货合同类型 - 1:采购 -1:销售",
  20465. "type": "integer"
  20466. },
  20467. "convertfactor": {
  20468. "description": "标仓系数",
  20469. "type": "number"
  20470. },
  20471. "convertratio": {
  20472. "description": "折算系数(套保品种)",
  20473. "type": "number"
  20474. },
  20475. "curqty": {
  20476. "description": "今定价量",
  20477. "type": "number"
  20478. },
  20479. "deliverygoodscode": {
  20480. "description": "现货商品代码",
  20481. "type": "string"
  20482. },
  20483. "deliverygoodsid": {
  20484. "description": "现货商品id",
  20485. "type": "integer"
  20486. },
  20487. "deliverygoodsname": {
  20488. "description": "现货商品名称",
  20489. "type": "string"
  20490. },
  20491. "diffhedgeqty": {
  20492. "description": "套保变动量",
  20493. "type": "number"
  20494. },
  20495. "diffneedhedgeqty": {
  20496. "description": "应套保变动量",
  20497. "type": "number"
  20498. },
  20499. "diffqty": {
  20500. "description": "套保品种今变动量",
  20501. "type": "number"
  20502. },
  20503. "enumdicname": {
  20504. "description": "单位名称",
  20505. "type": "string"
  20506. },
  20507. "mgunitname": {
  20508. "description": "套保品种单位名称",
  20509. "type": "string"
  20510. },
  20511. "middlegoodscode": {
  20512. "description": "套保品种代码",
  20513. "type": "string"
  20514. },
  20515. "middlegoodsid": {
  20516. "description": "套保品种id",
  20517. "type": "integer"
  20518. },
  20519. "middlegoodsname": {
  20520. "description": "套保品种名称",
  20521. "type": "string"
  20522. },
  20523. "needarbitrageratio": {
  20524. "description": "应套利比例",
  20525. "type": "number"
  20526. },
  20527. "needhedgeratio": {
  20528. "description": "应套保比例",
  20529. "type": "number"
  20530. },
  20531. "pricedqty": {
  20532. "description": "已定价量",
  20533. "type": "number"
  20534. },
  20535. "qty": {
  20536. "description": "合同量",
  20537. "type": "number"
  20538. },
  20539. "selluserid": {
  20540. "description": "销售方id",
  20541. "type": "integer"
  20542. },
  20543. "sellusername": {
  20544. "description": "销售方名称",
  20545. "type": "string"
  20546. },
  20547. "spotcontractid": {
  20548. "description": "合同id",
  20549. "type": "string"
  20550. },
  20551. "todaypricedqty": {
  20552. "description": "今定价量",
  20553. "type": "number"
  20554. },
  20555. "tradedate": {
  20556. "description": "交易日",
  20557. "type": "string"
  20558. },
  20559. "unitid": {
  20560. "description": "品类单位id",
  20561. "type": "integer"
  20562. },
  20563. "userid": {
  20564. "description": "机构id",
  20565. "type": "integer"
  20566. },
  20567. "username": {
  20568. "description": "交易用户",
  20569. "type": "string"
  20570. },
  20571. "wrstandardcode": {
  20572. "description": "品类代码",
  20573. "type": "string"
  20574. },
  20575. "wrstandardid": {
  20576. "description": "品类id",
  20577. "type": "integer"
  20578. },
  20579. "wrstandardname": {
  20580. "description": "品类名称",
  20581. "type": "string"
  20582. }
  20583. }
  20584. },
  20585. "models.Ermcp3ExposureDetail": {
  20586. "type": "object",
  20587. "properties": {
  20588. "areauserid": {
  20589. "description": "机构ID",
  20590. "type": "integer"
  20591. },
  20592. "changeQty": {
  20593. "description": "套保变动量",
  20594. "type": "number"
  20595. },
  20596. "contracttype": {
  20597. "description": "现货合同类型 - 1:采购 -1:销售",
  20598. "type": "integer"
  20599. },
  20600. "convertfactor": {
  20601. "description": "标仓系数",
  20602. "type": "number"
  20603. },
  20604. "convertratio": {
  20605. "description": "折算系数",
  20606. "type": "number"
  20607. },
  20608. "createtime": {
  20609. "description": "时间",
  20610. "type": "string"
  20611. },
  20612. "enumdicname": {
  20613. "description": "现货商品单位名称",
  20614. "type": "string"
  20615. },
  20616. "logtype": {
  20617. "description": "类型 - 1:套保计划 2:现货合同",
  20618. "type": "integer"
  20619. },
  20620. "mgunitid": {
  20621. "description": "套保品种单位id",
  20622. "type": "integer"
  20623. },
  20624. "mgunitidname": {
  20625. "description": "套保品种单位名称",
  20626. "type": "string"
  20627. },
  20628. "middlegoodsId": {
  20629. "description": "套保商品id",
  20630. "type": "integer"
  20631. },
  20632. "middlegoodscode": {
  20633. "description": "套保商品代码",
  20634. "type": "string"
  20635. },
  20636. "middlegoodsname": {
  20637. "description": "套保商品名称",
  20638. "type": "string"
  20639. },
  20640. "qty": {
  20641. "description": "数量",
  20642. "type": "number"
  20643. },
  20644. "relateNo": {
  20645. "description": "现货合同/套保计划编号",
  20646. "type": "string"
  20647. },
  20648. "unitid": {
  20649. "description": "现货商品单位id",
  20650. "type": "integer"
  20651. },
  20652. "wrstandardcode": {
  20653. "description": "现货商品代码",
  20654. "type": "string"
  20655. },
  20656. "wrstandardid": {
  20657. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20658. "type": "integer"
  20659. },
  20660. "wrstandardname": {
  20661. "description": "现货商品名称",
  20662. "type": "string"
  20663. }
  20664. }
  20665. },
  20666. "models.Ermcp3ExposureFutuDetail": {
  20667. "type": "object",
  20668. "properties": {
  20669. "accountid": {
  20670. "description": "交易账户id",
  20671. "type": "integer"
  20672. },
  20673. "accountname": {
  20674. "description": "交易账户",
  20675. "type": "string"
  20676. },
  20677. "begindate": {
  20678. "description": "开始交易日",
  20679. "type": "string"
  20680. },
  20681. "buyorsell": {
  20682. "description": "方向 0-买 1-卖",
  20683. "type": "integer"
  20684. },
  20685. "diffmgqty": {
  20686. "description": "套保品种今变化量",
  20687. "type": "number"
  20688. },
  20689. "diffneedqty": {
  20690. "description": "应套保总量变化量",
  20691. "type": "number"
  20692. },
  20693. "difftradeqty": {
  20694. "description": "交易品种今变化量",
  20695. "type": "number"
  20696. },
  20697. "enddate": {
  20698. "description": "结束交易日",
  20699. "type": "string"
  20700. },
  20701. "enumdicname": {
  20702. "description": "单位名称",
  20703. "type": "string"
  20704. },
  20705. "goodscode": {
  20706. "description": "商品代码",
  20707. "type": "string"
  20708. },
  20709. "goodsid": {
  20710. "description": "商品id",
  20711. "type": "integer"
  20712. },
  20713. "goodsname": {
  20714. "description": "商品名称",
  20715. "type": "string"
  20716. },
  20717. "holdqty": {
  20718. "description": "期末持仓量",
  20719. "type": "number"
  20720. },
  20721. "middlegoodscode": {
  20722. "description": "套保商品代码",
  20723. "type": "string"
  20724. },
  20725. "middlegoodsid": {
  20726. "description": "套保商品id",
  20727. "type": "integer"
  20728. },
  20729. "middlegoodsname": {
  20730. "description": "套保商品名称",
  20731. "type": "string"
  20732. },
  20733. "oriholdqty": {
  20734. "description": "期初持仓量",
  20735. "type": "number"
  20736. },
  20737. "todaycloseqty": {
  20738. "description": "今平仓量",
  20739. "type": "number"
  20740. },
  20741. "todayopenqty": {
  20742. "description": "今开仓量",
  20743. "type": "number"
  20744. },
  20745. "tradedate": {
  20746. "description": "交易日",
  20747. "type": "string"
  20748. }
  20749. }
  20750. },
  20751. "models.Ermcp3ExposureHedgeplanDetail": {
  20752. "type": "object",
  20753. "properties": {
  20754. "biztype": {
  20755. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20756. "type": "integer"
  20757. },
  20758. "changqty": {
  20759. "description": "应套保总量变化量",
  20760. "type": "number"
  20761. },
  20762. "contracttype": {
  20763. "description": "计划类型 - 1:采购 -1:销售",
  20764. "type": "integer"
  20765. },
  20766. "convertratio": {
  20767. "description": "折算系数(套保品种)",
  20768. "type": "number"
  20769. },
  20770. "deliverygoodscode": {
  20771. "description": "现货商品代码",
  20772. "type": "string"
  20773. },
  20774. "deliverygoodsid": {
  20775. "description": "现货商品id",
  20776. "type": "integer"
  20777. },
  20778. "deliverygoodsname": {
  20779. "description": "现货商吕名称",
  20780. "type": "string"
  20781. },
  20782. "dgunitid": {
  20783. "description": "现货商品单位id",
  20784. "type": "integer"
  20785. },
  20786. "dgunitidname": {
  20787. "description": "单位名称(现货商品)",
  20788. "type": "string"
  20789. },
  20790. "diffqty": {
  20791. "description": "套保品种今变动量",
  20792. "type": "number"
  20793. },
  20794. "enumdicname": {
  20795. "description": "单位名称(品类)",
  20796. "type": "string"
  20797. },
  20798. "hedgeplanid": {
  20799. "description": "套保计划id",
  20800. "type": "string"
  20801. },
  20802. "hedgeplanno": {
  20803. "description": "套保计划名称",
  20804. "type": "string"
  20805. },
  20806. "hedgeplanstatus": {
  20807. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20808. "type": "integer"
  20809. },
  20810. "mgunitidname": {
  20811. "description": "单位名称(套保商品)",
  20812. "type": "string"
  20813. },
  20814. "middlegoodscode": {
  20815. "description": "套保品种代码",
  20816. "type": "string"
  20817. },
  20818. "middlegoodsid": {
  20819. "description": "套保品种id",
  20820. "type": "integer"
  20821. },
  20822. "middlegoodsname": {
  20823. "description": "套保品种名称",
  20824. "type": "string"
  20825. },
  20826. "needarbitrageratio": {
  20827. "description": "应套利比例",
  20828. "type": "number"
  20829. },
  20830. "needhedgeratio": {
  20831. "description": "应套保比例",
  20832. "type": "number"
  20833. },
  20834. "pricedqty": {
  20835. "description": "已定价量",
  20836. "type": "number"
  20837. },
  20838. "qty": {
  20839. "description": "合同量",
  20840. "type": "number"
  20841. },
  20842. "tradedate": {
  20843. "description": "交易日(登记日)",
  20844. "type": "string"
  20845. },
  20846. "unitid": {
  20847. "description": "品类单位id",
  20848. "type": "integer"
  20849. },
  20850. "userid": {
  20851. "description": "机构id",
  20852. "type": "integer"
  20853. },
  20854. "wrstandardcode": {
  20855. "description": "品类代码",
  20856. "type": "string"
  20857. },
  20858. "wrstandardid": {
  20859. "description": "品类id",
  20860. "type": "integer"
  20861. },
  20862. "wrstandardname": {
  20863. "description": "品类名称",
  20864. "type": "string"
  20865. }
  20866. }
  20867. },
  20868. "models.Ermcp3ExposureParamChLog": {
  20869. "type": "object",
  20870. "properties": {
  20871. "accountid": {
  20872. "description": "期货账户ID (作废, 默认为0)",
  20873. "type": "integer"
  20874. },
  20875. "aftervalue": {
  20876. "description": "应套保\\套利量变更后(调整后应套保总量)",
  20877. "type": "number"
  20878. },
  20879. "areauserid": {
  20880. "description": "所属机构\\交易用户ID",
  20881. "type": "integer"
  20882. },
  20883. "beforevalue": {
  20884. "description": "应套保\\套利量变更前(调整前应套保总量)",
  20885. "type": "number"
  20886. },
  20887. "begindate": {
  20888. "description": "开始交易日",
  20889. "type": "string"
  20890. },
  20891. "changelogtype": {
  20892. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  20893. "type": "integer"
  20894. },
  20895. "curvalue": {
  20896. "description": "当前套保\\套利量(套保总量|套利总量)",
  20897. "type": "number"
  20898. },
  20899. "diffvalue": {
  20900. "description": "应套保总量变化量",
  20901. "type": "number"
  20902. },
  20903. "enddate": {
  20904. "description": "结束交易日",
  20905. "type": "string"
  20906. },
  20907. "logdatetime": {
  20908. "description": "流水日期",
  20909. "type": "string"
  20910. },
  20911. "logid": {
  20912. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  20913. "type": "string"
  20914. },
  20915. "middlegoodscode": {
  20916. "description": "套保品种代码",
  20917. "type": "string"
  20918. },
  20919. "middlegoodsid": {
  20920. "description": "套保品种",
  20921. "type": "integer"
  20922. },
  20923. "middlegoodsname": {
  20924. "description": "套保品种名称",
  20925. "type": "string"
  20926. },
  20927. "paramaftervalue": {
  20928. "description": "参数变更后(调整后参数值)",
  20929. "type": "number"
  20930. },
  20931. "parambeforevalue": {
  20932. "description": "参数变更前(调整前参数值)",
  20933. "type": "number"
  20934. },
  20935. "tradedate": {
  20936. "description": "交易日(yyyyMMdd)",
  20937. "type": "string"
  20938. }
  20939. }
  20940. },
  20941. "models.Ermcp3ExpourseReport": {
  20942. "type": "object",
  20943. "properties": {
  20944. "accountid": {
  20945. "description": "期货账户ID (作废, 默认为0)",
  20946. "type": "integer"
  20947. },
  20948. "accountname": {
  20949. "description": "机构名称",
  20950. "type": "string"
  20951. },
  20952. "arbitrageqty": {
  20953. "description": "套利量",
  20954. "type": "number"
  20955. },
  20956. "areauserid": {
  20957. "description": "所属机构\\交易用户ID",
  20958. "type": "integer"
  20959. },
  20960. "begindate": {
  20961. "description": "开始交易日",
  20962. "type": "string"
  20963. },
  20964. "buyfutureqty": {
  20965. "description": "买入期货数量",
  20966. "type": "number"
  20967. },
  20968. "buyplanqty": {
  20969. "description": "采购计划数量",
  20970. "type": "number"
  20971. },
  20972. "buypricedqty": {
  20973. "description": "采购合同已定价数量",
  20974. "type": "number"
  20975. },
  20976. "cycletime": {
  20977. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20978. "type": "string"
  20979. },
  20980. "cycletype": {
  20981. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20982. "type": "integer"
  20983. },
  20984. "diffexposure": {
  20985. "description": "变动量(套保敞口)",
  20986. "type": "number"
  20987. },
  20988. "difffutuqty": {
  20989. "description": "变动量(期货)",
  20990. "type": "number"
  20991. },
  20992. "diffhedgeqty": {
  20993. "description": "变动量(现货应套保总量)",
  20994. "type": "number"
  20995. },
  20996. "diffmgqtya": {
  20997. "description": "套保变动量",
  20998. "type": "number"
  20999. },
  21000. "diffmgqtyb": {
  21001. "description": "套利变动量",
  21002. "type": "number"
  21003. },
  21004. "diffqty": {
  21005. "description": "变动量(总敞口)",
  21006. "type": "number"
  21007. },
  21008. "diffspotqty": {
  21009. "description": "变动量(现货)",
  21010. "type": "number"
  21011. },
  21012. "enddate": {
  21013. "description": "结束交易日",
  21014. "type": "string"
  21015. },
  21016. "enumdicname": {
  21017. "description": "单位名称",
  21018. "type": "string"
  21019. },
  21020. "hedgeqty": {
  21021. "description": "套保量",
  21022. "type": "number"
  21023. },
  21024. "mgneedhedgeratio": {
  21025. "description": "套保比例(套保品的)",
  21026. "type": "number"
  21027. },
  21028. "middlegoodsid": {
  21029. "description": "套保品种ID",
  21030. "type": "integer"
  21031. },
  21032. "middlegoodsname": {
  21033. "description": "套保商品名称",
  21034. "type": "string"
  21035. },
  21036. "middlgoodscode": {
  21037. "description": "套保商品代码",
  21038. "type": "string"
  21039. },
  21040. "needarbitrageqty": {
  21041. "description": "应套利量",
  21042. "type": "number"
  21043. },
  21044. "needarbitrageratio": {
  21045. "description": "套利比例(套保品的)",
  21046. "type": "number"
  21047. },
  21048. "needhedgeexposoure": {
  21049. "description": "应套保敞口(套保敞口)",
  21050. "type": "number"
  21051. },
  21052. "needhedgeqty": {
  21053. "description": "应套保量",
  21054. "type": "number"
  21055. },
  21056. "needhedgeratio": {
  21057. "description": "应套保敞口比例",
  21058. "type": "number"
  21059. },
  21060. "oriarbitrageqty": {
  21061. "description": "期初套利量",
  21062. "type": "number"
  21063. },
  21064. "oribuyfutureqty": {
  21065. "description": "期初买入期货数量",
  21066. "type": "number"
  21067. },
  21068. "oribuyplanqty": {
  21069. "description": "期初采购计划数量",
  21070. "type": "number"
  21071. },
  21072. "oribuypricedqty": {
  21073. "description": "期初采购合同已定价数量",
  21074. "type": "number"
  21075. },
  21076. "orihedgeqty": {
  21077. "description": "期初套保量",
  21078. "type": "number"
  21079. },
  21080. "orineedarbitrageqty": {
  21081. "description": "期初应套利量",
  21082. "type": "number"
  21083. },
  21084. "orineedhedgeexposoure": {
  21085. "description": "期初应套保敞口",
  21086. "type": "number"
  21087. },
  21088. "orineedhedgeqty": {
  21089. "description": "期初应套保量",
  21090. "type": "number"
  21091. },
  21092. "orisellfutureqty": {
  21093. "description": "期初卖出期货数量",
  21094. "type": "number"
  21095. },
  21096. "orisellplanqty": {
  21097. "description": "期初销售计划数量",
  21098. "type": "number"
  21099. },
  21100. "orisellpricedqty": {
  21101. "description": "期初销售合同已定价数量",
  21102. "type": "number"
  21103. },
  21104. "oritotalexposure": {
  21105. "description": "期初实时总敞口",
  21106. "type": "number"
  21107. },
  21108. "oritotalfutureqty": {
  21109. "description": "期初期货头寸总量",
  21110. "type": "number"
  21111. },
  21112. "oritotalneedhedgeqty": {
  21113. "description": "期初应套保总量",
  21114. "type": "number"
  21115. },
  21116. "oritotalspotqty": {
  21117. "description": "期初现货头寸总量",
  21118. "type": "number"
  21119. },
  21120. "reckondate": {
  21121. "description": "日照时期(yyyyMMdd)",
  21122. "type": "string"
  21123. },
  21124. "sellfutureqty": {
  21125. "description": "卖出期货数量",
  21126. "type": "number"
  21127. },
  21128. "sellplanqty": {
  21129. "description": "销售计划数量",
  21130. "type": "number"
  21131. },
  21132. "sellpricedqty": {
  21133. "description": "销售合同已定价数量",
  21134. "type": "number"
  21135. },
  21136. "totalexposure": {
  21137. "description": "实时总敞口(总敞口)",
  21138. "type": "number"
  21139. },
  21140. "totalfutureqty": {
  21141. "description": "期货头寸总量(期货总量)",
  21142. "type": "number"
  21143. },
  21144. "totalhedgeratio": {
  21145. "description": "敞口比例",
  21146. "type": "number"
  21147. },
  21148. "totalneedhedgeqty": {
  21149. "description": "应套保总量(现货应套保总量)",
  21150. "type": "number"
  21151. },
  21152. "totalspotqty": {
  21153. "description": "现货头寸总量",
  21154. "type": "number"
  21155. },
  21156. "unitid": {
  21157. "description": "单位id",
  21158. "type": "integer"
  21159. },
  21160. "updatetime": {
  21161. "description": "更新时间",
  21162. "type": "string"
  21163. }
  21164. }
  21165. },
  21166. "models.Ermcp3FinanceReport": {
  21167. "type": "object",
  21168. "properties": {
  21169. "accountname": {
  21170. "description": "机构名称",
  21171. "type": "string"
  21172. },
  21173. "areauserid": {
  21174. "description": "所属机构\\交易用户ID",
  21175. "type": "integer"
  21176. },
  21177. "begindate": {
  21178. "description": "开始交易日",
  21179. "type": "string"
  21180. },
  21181. "biztype": {
  21182. "description": "业务类型 - 1:套保 2:套利",
  21183. "type": "integer"
  21184. },
  21185. "brandname": {
  21186. "description": "品牌名称",
  21187. "type": "string"
  21188. },
  21189. "buypreinvoicedamount": {
  21190. "description": "采购预收票额(预收票额)",
  21191. "type": "number"
  21192. },
  21193. "buyprepaidamount": {
  21194. "description": "采购预付款额(预付货款额)",
  21195. "type": "number"
  21196. },
  21197. "buytodayinvoiceamount": {
  21198. "description": "采购今收票额(今收票额)",
  21199. "type": "number"
  21200. },
  21201. "buytodayrefundamount": {
  21202. "description": "采购今收退款额(今收退款额)",
  21203. "type": "number"
  21204. },
  21205. "buytodaysettleamount": {
  21206. "description": "采购今付款额(今付货款额)",
  21207. "type": "number"
  21208. },
  21209. "buyuninvoicedamount": {
  21210. "description": "采购应收票额(应收票额)",
  21211. "type": "number"
  21212. },
  21213. "buyunpaidamount": {
  21214. "description": "采购应付款额(应付货款额)",
  21215. "type": "number"
  21216. },
  21217. "currencyid": {
  21218. "description": "结算币种ID",
  21219. "type": "integer"
  21220. },
  21221. "currencyname": {
  21222. "description": "币种名称",
  21223. "type": "string"
  21224. },
  21225. "cycletime": {
  21226. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21227. "type": "string"
  21228. },
  21229. "cycletype": {
  21230. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21231. "type": "integer"
  21232. },
  21233. "deliverygoodscode": {
  21234. "description": "现货品种代码",
  21235. "type": "string"
  21236. },
  21237. "deliverygoodsid": {
  21238. "description": "现货品种ID",
  21239. "type": "integer"
  21240. },
  21241. "deliverygoodsname": {
  21242. "description": "现货品种名称",
  21243. "type": "string"
  21244. },
  21245. "enddate": {
  21246. "description": "结束交易日",
  21247. "type": "string"
  21248. },
  21249. "reckondate": {
  21250. "description": "日照时期(yyyyMMdd)",
  21251. "type": "string"
  21252. },
  21253. "sellpreinvoicedamount": {
  21254. "description": "销售预开票额(预开票额)",
  21255. "type": "number"
  21256. },
  21257. "sellprepaidamount": {
  21258. "description": "销售预收款额(预收货款额)",
  21259. "type": "number"
  21260. },
  21261. "selltodayinvoiceamount": {
  21262. "description": "销售今开票额(今开票额)",
  21263. "type": "number"
  21264. },
  21265. "selltodayrefundamount": {
  21266. "description": "销售今付退款额(今付退款额)",
  21267. "type": "number"
  21268. },
  21269. "selltodaysettleamount": {
  21270. "description": "销售今收款额(今收货款额)",
  21271. "type": "number"
  21272. },
  21273. "selluninvoicedamount": {
  21274. "description": "销售应开票额(应开票额)",
  21275. "type": "number"
  21276. },
  21277. "sellunpaidamount": {
  21278. "description": "销售应收款额(应收货款额)",
  21279. "type": "number"
  21280. },
  21281. "spotgoodsbrandid": {
  21282. "description": "现货品牌ID",
  21283. "type": "integer"
  21284. },
  21285. "todaypaysum": {
  21286. "description": "今付款合计",
  21287. "type": "number"
  21288. },
  21289. "todayreceivesum": {
  21290. "description": "今收款合计",
  21291. "type": "number"
  21292. },
  21293. "updatetime": {
  21294. "description": "更新时间",
  21295. "type": "string"
  21296. },
  21297. "wrfactortypeid": {
  21298. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21299. "type": "integer"
  21300. },
  21301. "wrstandardcode": {
  21302. "description": "品类代码",
  21303. "type": "string"
  21304. },
  21305. "wrstandardid": {
  21306. "description": "现货商品ID",
  21307. "type": "integer"
  21308. },
  21309. "wrstandardname": {
  21310. "description": "品类名称",
  21311. "type": "string"
  21312. }
  21313. }
  21314. },
  21315. "models.Ermcp3GoodsGroup": {
  21316. "type": "object",
  21317. "required": [
  21318. "areauserid"
  21319. ],
  21320. "properties": {
  21321. "agreeunit": {
  21322. "description": "合约单位",
  21323. "type": "number"
  21324. },
  21325. "areauserid": {
  21326. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21327. "type": "integer"
  21328. },
  21329. "canshort": {
  21330. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21331. "type": "integer"
  21332. },
  21333. "closepricemode": {
  21334. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21335. "type": "integer"
  21336. },
  21337. "createtime": {
  21338. "description": "创建时间",
  21339. "type": "string"
  21340. },
  21341. "creatorid": {
  21342. "description": "创建人",
  21343. "type": "integer"
  21344. },
  21345. "currencyid": {
  21346. "description": "报价货币ID",
  21347. "type": "integer"
  21348. },
  21349. "decimalplace": {
  21350. "description": "报价小数位",
  21351. "type": "integer"
  21352. },
  21353. "enumdicname": {
  21354. "description": "单位名称",
  21355. "type": "string"
  21356. },
  21357. "exchangefullname": {
  21358. "description": "交易所全称",
  21359. "type": "string"
  21360. },
  21361. "excludecfg": {
  21362. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21363. "type": "integer"
  21364. },
  21365. "exexchangecode": {
  21366. "description": "交易所代码",
  21367. "type": "string"
  21368. },
  21369. "exexchangeid": {
  21370. "description": "外部交易所ID[通道交易]",
  21371. "type": "integer"
  21372. },
  21373. "exexchangename": {
  21374. "description": "交易所名称",
  21375. "type": "string"
  21376. },
  21377. "goodsgroupid": {
  21378. "description": "商品组ID(自增ID)",
  21379. "type": "integer"
  21380. },
  21381. "goodsgroupname": {
  21382. "description": "商品组名称",
  21383. "type": "string"
  21384. },
  21385. "goodsgroupstatus": {
  21386. "description": "商品组状态 - 1:正常 2:注销",
  21387. "type": "integer"
  21388. },
  21389. "goodunitid": {
  21390. "description": "报价单位ID",
  21391. "type": "integer"
  21392. },
  21393. "groupcategroyid": {
  21394. "description": "品种分类ID",
  21395. "type": "integer"
  21396. },
  21397. "innerdealmode": {
  21398. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21399. "type": "integer"
  21400. },
  21401. "marketid": {
  21402. "description": "所属市场ID",
  21403. "type": "integer"
  21404. },
  21405. "modifierid": {
  21406. "description": "修改人",
  21407. "type": "integer"
  21408. },
  21409. "modifytime": {
  21410. "description": "修改时间",
  21411. "type": "string"
  21412. },
  21413. "outerdealmode": {
  21414. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21415. "type": "integer"
  21416. },
  21417. "outergroupcode": {
  21418. "description": "外部商品组代码[通道交易]",
  21419. "type": "string"
  21420. },
  21421. "quoteminunit": {
  21422. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21423. "type": "integer"
  21424. },
  21425. "quotesourcegroupid": {
  21426. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21427. "type": "integer"
  21428. },
  21429. "syncgoodsqty": {
  21430. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21431. "type": "integer"
  21432. }
  21433. }
  21434. },
  21435. "models.Ermcp3HedgePlan": {
  21436. "type": "object",
  21437. "properties": {
  21438. "accountid": {
  21439. "description": "资金账号",
  21440. "type": "integer"
  21441. },
  21442. "areauserid": {
  21443. "description": "用户ID",
  21444. "type": "integer"
  21445. },
  21446. "auditid": {
  21447. "description": "审核id",
  21448. "type": "integer"
  21449. },
  21450. "auditname": {
  21451. "description": "审核人名称",
  21452. "type": "string"
  21453. },
  21454. "auditremark": {
  21455. "description": "审核备注",
  21456. "type": "string"
  21457. },
  21458. "auditsrc": {
  21459. "description": "审核来源 1-管理端 2-终端",
  21460. "type": "integer"
  21461. },
  21462. "audittime": {
  21463. "description": "审核时间",
  21464. "type": "string"
  21465. },
  21466. "contracttype": {
  21467. "description": "计划类型 - 1:采购 -1:销售",
  21468. "type": "integer"
  21469. },
  21470. "convertfactor": {
  21471. "description": "标仓系数",
  21472. "type": "number"
  21473. },
  21474. "createtime": {
  21475. "description": "创建时间",
  21476. "type": "string"
  21477. },
  21478. "currencyid": {
  21479. "description": "币种id",
  21480. "type": "integer"
  21481. },
  21482. "currencyname": {
  21483. "description": "币种名称",
  21484. "type": "string"
  21485. },
  21486. "deliverygoodscode": {
  21487. "description": "现货品种代码",
  21488. "type": "string"
  21489. },
  21490. "deliverygoodsid": {
  21491. "description": "现货品种ID",
  21492. "type": "integer"
  21493. },
  21494. "deliverygoodsname": {
  21495. "description": "现货品种名称",
  21496. "type": "string"
  21497. },
  21498. "enumdicname": {
  21499. "description": "单位名称(现货商品)",
  21500. "type": "string"
  21501. },
  21502. "hedgeplanid": {
  21503. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21504. "type": "string"
  21505. },
  21506. "hedgeplanno": {
  21507. "description": "套保计划编号(名称)",
  21508. "type": "string"
  21509. },
  21510. "hedgeplanstatus": {
  21511. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21512. "type": "integer"
  21513. },
  21514. "planqty": {
  21515. "description": "计划数量",
  21516. "type": "number"
  21517. },
  21518. "plantime": {
  21519. "description": "计划时间",
  21520. "type": "string"
  21521. },
  21522. "producttype": {
  21523. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21524. "type": "integer"
  21525. },
  21526. "remark": {
  21527. "description": "备注",
  21528. "type": "string"
  21529. },
  21530. "spotgoodsdesc": {
  21531. "description": "商品型号",
  21532. "type": "string"
  21533. },
  21534. "taaccountname": {
  21535. "description": "资金账号名称",
  21536. "type": "string"
  21537. },
  21538. "tradeuserid": {
  21539. "description": "交易用户id",
  21540. "type": "integer"
  21541. },
  21542. "tradeusername": {
  21543. "description": "交易用户名称",
  21544. "type": "string"
  21545. },
  21546. "unitid": {
  21547. "description": "单位id(现货商品)",
  21548. "type": "integer"
  21549. },
  21550. "updatetime": {
  21551. "description": "更新时间",
  21552. "type": "string"
  21553. },
  21554. "vatrate": {
  21555. "description": "增值税率",
  21556. "type": "number"
  21557. },
  21558. "wrstandardcode": {
  21559. "description": "品类代码",
  21560. "type": "string"
  21561. },
  21562. "wrstandardid": {
  21563. "description": "品类id",
  21564. "type": "integer"
  21565. },
  21566. "wrstandardname": {
  21567. "description": "品类名称",
  21568. "type": "string"
  21569. },
  21570. "wrunitid": {
  21571. "description": "品类单位id",
  21572. "type": "integer"
  21573. },
  21574. "wrunitidame": {
  21575. "description": "品类单位名称",
  21576. "type": "string"
  21577. }
  21578. }
  21579. },
  21580. "models.Ermcp3InnerTradeLink": {
  21581. "type": "object",
  21582. "properties": {
  21583. "accountid": {
  21584. "description": "期货账号代码 | 资金账号ID",
  21585. "type": "integer"
  21586. },
  21587. "buyorsell": {
  21588. "description": "方向 - 0:买 1:卖",
  21589. "type": "integer"
  21590. },
  21591. "channelbuildtype": {
  21592. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21593. "type": "integer"
  21594. },
  21595. "currencyid": {
  21596. "description": "币种id",
  21597. "type": "integer"
  21598. },
  21599. "currencyname": {
  21600. "description": "结算币种 名称",
  21601. "type": "string"
  21602. },
  21603. "goodscode": {
  21604. "description": "商品代码",
  21605. "type": "string"
  21606. },
  21607. "goodsid": {
  21608. "description": "商品ID",
  21609. "type": "integer"
  21610. },
  21611. "goodsname": {
  21612. "description": "商品名称",
  21613. "type": "string"
  21614. },
  21615. "outtradeid": {
  21616. "description": "外部成交单号",
  21617. "type": "string"
  21618. },
  21619. "taname": {
  21620. "description": "期货账户名称",
  21621. "type": "string"
  21622. },
  21623. "tradeid": {
  21624. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21625. "type": "string"
  21626. },
  21627. "tradeprice": {
  21628. "description": "成交价格",
  21629. "type": "number"
  21630. },
  21631. "tradeqty": {
  21632. "description": "期货成交数量",
  21633. "type": "integer"
  21634. },
  21635. "tradetime": {
  21636. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21637. "type": "string"
  21638. },
  21639. "username": {
  21640. "description": "用户名称",
  21641. "type": "string"
  21642. }
  21643. }
  21644. },
  21645. "models.Ermcp3OutTradeLink": {
  21646. "type": "object",
  21647. "properties": {
  21648. "buyorsell": {
  21649. "description": "买卖方向 - 0:买 1:卖",
  21650. "type": "integer"
  21651. },
  21652. "channelbuildtype": {
  21653. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21654. "type": "integer"
  21655. },
  21656. "currencyname": {
  21657. "description": "币种名称",
  21658. "type": "string"
  21659. },
  21660. "exexchangecode": {
  21661. "description": "交易所代码",
  21662. "type": "string"
  21663. },
  21664. "exexchangename": {
  21665. "description": "交易所名称",
  21666. "type": "string"
  21667. },
  21668. "goodscode": {
  21669. "description": "合约代码",
  21670. "type": "string"
  21671. },
  21672. "goodsid": {
  21673. "description": "合约id",
  21674. "type": "integer"
  21675. },
  21676. "goodsname": {
  21677. "description": "合约名称",
  21678. "type": "string"
  21679. },
  21680. "hasinnerorder": {
  21681. "description": "是否有内部单关联 - 0:无 1:有",
  21682. "type": "integer"
  21683. },
  21684. "hedgeaccountcode": {
  21685. "description": "外部账号 | 对冲账号",
  21686. "type": "string"
  21687. },
  21688. "outtradeid": {
  21689. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21690. "type": "string"
  21691. },
  21692. "tradeprice": {
  21693. "description": "成交价格",
  21694. "type": "number"
  21695. },
  21696. "tradeqty": {
  21697. "description": "成交数量",
  21698. "type": "integer"
  21699. },
  21700. "tradetime": {
  21701. "description": "成交时间",
  21702. "type": "string"
  21703. }
  21704. }
  21705. },
  21706. "models.Ermcp3PaAreaAuditCfg": {
  21707. "type": "object",
  21708. "properties": {
  21709. "areauserid": {
  21710. "description": "用户ID",
  21711. "type": "integer"
  21712. },
  21713. "buyinauditflag": {
  21714. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21715. "type": "integer"
  21716. },
  21717. "costratioauditflag": {
  21718. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21719. "type": "integer"
  21720. },
  21721. "customerauditflag": {
  21722. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21723. "type": "integer"
  21724. },
  21725. "deliveryauditflag": {
  21726. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21727. "type": "integer"
  21728. },
  21729. "invoiceauditflag": {
  21730. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21731. "type": "integer"
  21732. },
  21733. "mgneedhedgeratioauditflag": {
  21734. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21735. "type": "integer"
  21736. },
  21737. "moneyauditflag": {
  21738. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21739. "type": "integer"
  21740. },
  21741. "operatorid": {
  21742. "description": "操作人",
  21743. "type": "integer"
  21744. },
  21745. "operatorsrc": {
  21746. "description": "操作来源 - 1:管理端 2:终端",
  21747. "type": "integer"
  21748. },
  21749. "pointpriceauditflag": {
  21750. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21751. "type": "integer"
  21752. },
  21753. "produceinauditflag": {
  21754. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21755. "type": "integer"
  21756. },
  21757. "produceoutauditflag": {
  21758. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21759. "type": "integer"
  21760. },
  21761. "selloutauditflag": {
  21762. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21763. "type": "integer"
  21764. },
  21765. "sgconvertratioauditflag": {
  21766. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21767. "type": "integer"
  21768. },
  21769. "sgvtaratioauditflag": {
  21770. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21771. "type": "integer"
  21772. },
  21773. "spotcontractauditflag": {
  21774. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21775. "type": "integer"
  21776. },
  21777. "updatetime": {
  21778. "description": "更新时间",
  21779. "type": "string"
  21780. }
  21781. }
  21782. },
  21783. "models.Ermcp3PaAreaSubject": {
  21784. "type": "object",
  21785. "properties": {
  21786. "areauserid": {
  21787. "description": "所属机构",
  21788. "type": "integer"
  21789. },
  21790. "canmodify": {
  21791. "description": "是否可修改 - 0:否 1:是",
  21792. "type": "integer"
  21793. },
  21794. "createtime": {
  21795. "description": "创建时间",
  21796. "type": "string"
  21797. },
  21798. "creatorid": {
  21799. "description": "创建人ID",
  21800. "type": "string"
  21801. },
  21802. "creatorsrc": {
  21803. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21804. "type": "integer"
  21805. },
  21806. "modifierid": {
  21807. "description": "修改人",
  21808. "type": "string"
  21809. },
  21810. "modifiersrc": {
  21811. "description": "修改人来源 - 1:管理端 2:终端",
  21812. "type": "integer"
  21813. },
  21814. "modifytime": {
  21815. "description": "修改时间",
  21816. "type": "string"
  21817. },
  21818. "parentsubjectid": {
  21819. "description": "上级主体ID",
  21820. "type": "string"
  21821. },
  21822. "remark": {
  21823. "description": "备注",
  21824. "type": "string"
  21825. },
  21826. "subjectid": {
  21827. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21828. "type": "integer"
  21829. },
  21830. "subjectname": {
  21831. "description": "主体名称",
  21832. "type": "string"
  21833. },
  21834. "subjectstatus": {
  21835. "description": "主体状态 - 1:正常 2: 停用",
  21836. "type": "integer"
  21837. },
  21838. "subjecttype": {
  21839. "description": "主体类型 - 1:交易主体 2:业务部门",
  21840. "type": "integer"
  21841. }
  21842. }
  21843. },
  21844. "models.Ermcp3PaTradeLink": {
  21845. "type": "object",
  21846. "properties": {
  21847. "accountid": {
  21848. "description": "期货账户代码 | 账号ID",
  21849. "type": "integer"
  21850. },
  21851. "agreeunit": {
  21852. "description": "合约乘数",
  21853. "type": "number"
  21854. },
  21855. "buyorsell": {
  21856. "description": "方向 - 0:买 1:卖",
  21857. "type": "integer"
  21858. },
  21859. "channelbuildtype": {
  21860. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21861. "type": "integer"
  21862. },
  21863. "charge": {
  21864. "description": "手续费",
  21865. "type": "number"
  21866. },
  21867. "closepl": {
  21868. "description": "平仓盈亏",
  21869. "type": "number"
  21870. },
  21871. "closetype": {
  21872. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21873. "type": "integer"
  21874. },
  21875. "convertratio": {
  21876. "description": "折算系数",
  21877. "type": "number"
  21878. },
  21879. "enumdicname": {
  21880. "description": "单位名称",
  21881. "type": "string"
  21882. },
  21883. "executeprice": {
  21884. "description": "执行价 [期权]",
  21885. "type": "integer"
  21886. },
  21887. "goodscode": {
  21888. "description": "合约代码",
  21889. "type": "string"
  21890. },
  21891. "goodsgroupid": {
  21892. "description": "对冲品种ID[期货合约商品组ID]",
  21893. "type": "integer"
  21894. },
  21895. "goodsid": {
  21896. "description": "商品ID",
  21897. "type": "integer"
  21898. },
  21899. "goodsname": {
  21900. "description": "合约名称",
  21901. "type": "string"
  21902. },
  21903. "goodunitid": {
  21904. "description": "单位id",
  21905. "type": "integer"
  21906. },
  21907. "hedgeflag": {
  21908. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  21909. "type": "integer"
  21910. },
  21911. "marketid": {
  21912. "description": "市场ID",
  21913. "type": "integer"
  21914. },
  21915. "middlegoodsid": {
  21916. "description": "套保品种ID",
  21917. "type": "integer"
  21918. },
  21919. "middlegoodsqty": {
  21920. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  21921. "type": "number"
  21922. },
  21923. "optioncode": {
  21924. "description": "期权代码 [期权]",
  21925. "type": "string"
  21926. },
  21927. "ordertype": {
  21928. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  21929. "type": "integer"
  21930. },
  21931. "ordertypename": {
  21932. "description": "订单类型",
  21933. "type": "string"
  21934. },
  21935. "parentaccountid": {
  21936. "description": "所属母账户",
  21937. "type": "integer"
  21938. },
  21939. "premium": {
  21940. "description": "权利金 [期权]",
  21941. "type": "number"
  21942. },
  21943. "relatedlot": {
  21944. "description": "已关联数量(已关联数量手) | db:关联手数",
  21945. "type": "number"
  21946. },
  21947. "relatedouttradeid": {
  21948. "description": "关联外部成交单ID",
  21949. "type": "string"
  21950. },
  21951. "relatedqty": {
  21952. "description": "关联数量",
  21953. "type": "number"
  21954. },
  21955. "spotcontractid": {
  21956. "description": "现货合同ID [4:套期保值\\10\\11]",
  21957. "type": "string"
  21958. },
  21959. "taname": {
  21960. "description": "期货账户名称",
  21961. "type": "string"
  21962. },
  21963. "tradeamount": {
  21964. "description": "成交金额(账户)",
  21965. "type": "number"
  21966. },
  21967. "tradedate": {
  21968. "description": "交易日(yyyyMMdd)",
  21969. "type": "string"
  21970. },
  21971. "tradeid": {
  21972. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21973. "type": "string"
  21974. },
  21975. "tradelot": {
  21976. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  21977. "type": "integer"
  21978. },
  21979. "tradeprice": {
  21980. "description": "成交价格",
  21981. "type": "number"
  21982. },
  21983. "tradetime": {
  21984. "description": "时间 | db:成交时间",
  21985. "type": "string"
  21986. },
  21987. "tradetype": {
  21988. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21989. "type": "integer"
  21990. },
  21991. "userid": {
  21992. "description": "所属机构 - 所属母账户的UserID",
  21993. "type": "string"
  21994. },
  21995. "username": {
  21996. "description": "用户名称",
  21997. "type": "string"
  21998. }
  21999. }
  22000. },
  22001. "models.Ermcp3ParamChangeApp": {
  22002. "type": "object",
  22003. "properties": {
  22004. "aftervalue": {
  22005. "description": "变更后",
  22006. "type": "number"
  22007. },
  22008. "applicationid": {
  22009. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22010. "type": "string"
  22011. },
  22012. "applyid": {
  22013. "description": "申请人",
  22014. "type": "string"
  22015. },
  22016. "applyname": {
  22017. "description": "申请人名称(代码)",
  22018. "type": "string"
  22019. },
  22020. "applyremark": {
  22021. "description": "申请备注",
  22022. "type": "string"
  22023. },
  22024. "applysrc": {
  22025. "description": "申请来源 - 1:管理端 2:终端",
  22026. "type": "integer"
  22027. },
  22028. "applystatus": {
  22029. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22030. "type": "integer"
  22031. },
  22032. "applytime": {
  22033. "description": "申请时间",
  22034. "type": "string"
  22035. },
  22036. "areauserid": {
  22037. "description": "所属机构用户ID",
  22038. "type": "integer"
  22039. },
  22040. "auditid": {
  22041. "description": "审核人",
  22042. "type": "string"
  22043. },
  22044. "auditname": {
  22045. "description": "审核人名称(代码)",
  22046. "type": "string"
  22047. },
  22048. "auditremark": {
  22049. "description": "审核备注",
  22050. "type": "string"
  22051. },
  22052. "auditsrc": {
  22053. "description": "审核来源 - 1:管理端 2:终端",
  22054. "type": "integer"
  22055. },
  22056. "audittime": {
  22057. "description": "审核时间",
  22058. "type": "string"
  22059. },
  22060. "audittradedate": {
  22061. "description": "审核交易日(yyyyMMdd)",
  22062. "type": "string"
  22063. },
  22064. "beforevalue": {
  22065. "description": "变更前",
  22066. "type": "number"
  22067. },
  22068. "deliverygoodscode": {
  22069. "description": "品种代码",
  22070. "type": "string"
  22071. },
  22072. "deliverygoodsid": {
  22073. "description": "品种id",
  22074. "type": "integer"
  22075. },
  22076. "deliverygoodsname": {
  22077. "description": "品种名称",
  22078. "type": "string"
  22079. },
  22080. "middlegoodscode": {
  22081. "description": "套保品种代码",
  22082. "type": "string"
  22083. },
  22084. "middlegoodsid": {
  22085. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22086. "type": "integer"
  22087. },
  22088. "middlegoodsname": {
  22089. "description": "套保品种名称",
  22090. "type": "string"
  22091. },
  22092. "operatetype": {
  22093. "description": "操作类型 - 1:新增 2:修改",
  22094. "type": "integer"
  22095. },
  22096. "paramchangetype": {
  22097. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22098. "type": "integer"
  22099. },
  22100. "wrstandardcode": {
  22101. "description": "现货商品代码",
  22102. "type": "string"
  22103. },
  22104. "wrstandardid": {
  22105. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22106. "type": "integer"
  22107. },
  22108. "wrstandardname": {
  22109. "description": "现货商品名称",
  22110. "type": "string"
  22111. }
  22112. }
  22113. },
  22114. "models.Ermcp3RootUserAccount": {
  22115. "type": "object",
  22116. "properties": {
  22117. "accountname": {
  22118. "description": "账户名称(机构名称)",
  22119. "type": "string"
  22120. },
  22121. "accountstatus": {
  22122. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22123. "type": "integer"
  22124. },
  22125. "applysrc": {
  22126. "description": "申请来源 - 1:管理端 2:终端",
  22127. "type": "integer"
  22128. },
  22129. "auditremark": {
  22130. "description": "审核备注",
  22131. "type": "string"
  22132. },
  22133. "auditsrc": {
  22134. "description": "审核来源 - 1:管理端 2:终端",
  22135. "type": "integer"
  22136. },
  22137. "audittime": {
  22138. "description": "审核时间",
  22139. "type": "string"
  22140. },
  22141. "audituserid": {
  22142. "description": "审核人",
  22143. "type": "integer"
  22144. },
  22145. "broker": {
  22146. "description": "所属经纪人ID",
  22147. "type": "integer"
  22148. },
  22149. "canceltime": {
  22150. "description": "销户时间",
  22151. "type": "string"
  22152. },
  22153. "canceluserid": {
  22154. "description": "销户人",
  22155. "type": "integer"
  22156. },
  22157. "canrecommend": {
  22158. "description": "是否可推荐 - 0:不可 1;可",
  22159. "type": "integer"
  22160. },
  22161. "createtime": {
  22162. "description": "创建时间",
  22163. "type": "string"
  22164. },
  22165. "creatorid": {
  22166. "description": "创建人",
  22167. "type": "integer"
  22168. },
  22169. "hasauth": {
  22170. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22171. "type": "integer"
  22172. },
  22173. "isanonymous": {
  22174. "description": "是否匿名下单 - 0:否 1:是",
  22175. "type": "integer"
  22176. },
  22177. "maxinvestornum": {
  22178. "description": "最大用户数(经纪会员下投资者个数)",
  22179. "type": "integer"
  22180. },
  22181. "memberuserid": {
  22182. "description": "所属会员ID",
  22183. "type": "integer"
  22184. },
  22185. "modifierid": {
  22186. "description": "修改人",
  22187. "type": "integer"
  22188. },
  22189. "modifyremark": {
  22190. "description": "变更备注",
  22191. "type": "string"
  22192. },
  22193. "modifystatus": {
  22194. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22195. "type": "integer"
  22196. },
  22197. "modifytime": {
  22198. "description": "修改时间",
  22199. "type": "string"
  22200. },
  22201. "parenttopuser": {
  22202. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22203. "type": "string"
  22204. },
  22205. "parentuserid": {
  22206. "description": "所属机构ID",
  22207. "type": "integer"
  22208. },
  22209. "reckonaccountid": {
  22210. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22211. "type": "integer"
  22212. },
  22213. "refercount": {
  22214. "description": "推荐总人数",
  22215. "type": "integer"
  22216. },
  22217. "refereeuserid": {
  22218. "description": "推荐人ID",
  22219. "type": "integer"
  22220. },
  22221. "refernum": {
  22222. "description": "推荐码",
  22223. "type": "string"
  22224. },
  22225. "rootuserid": {
  22226. "description": "根用户ID",
  22227. "type": "integer"
  22228. },
  22229. "subaccountlevel": {
  22230. "description": "子账户层数",
  22231. "type": "integer"
  22232. },
  22233. "subarealevelpath": {
  22234. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22235. "type": "string"
  22236. },
  22237. "userid": {
  22238. "description": "用户ID",
  22239. "type": "integer"
  22240. },
  22241. "usertype": {
  22242. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22243. "type": "integer"
  22244. }
  22245. }
  22246. },
  22247. "models.Ermcp3SCMiddleGoods": {
  22248. "type": "object",
  22249. "properties": {
  22250. "biztype": {
  22251. "description": "业务类型 1:套保 2:套利",
  22252. "type": "integer"
  22253. },
  22254. "contractno": {
  22255. "description": "合同编号",
  22256. "type": "string"
  22257. },
  22258. "contracttype": {
  22259. "description": "合同类型 1:采购 -1:销售",
  22260. "type": "integer"
  22261. },
  22262. "customername": {
  22263. "description": "对手手名称",
  22264. "type": "string"
  22265. },
  22266. "customeruserid": {
  22267. "description": "对手id",
  22268. "type": "integer"
  22269. },
  22270. "deliverygoodscode": {
  22271. "description": "现货品种代码",
  22272. "type": "string"
  22273. },
  22274. "deliverygoodsid": {
  22275. "description": "现货品种ID",
  22276. "type": "integer"
  22277. },
  22278. "deliverygoodsname": {
  22279. "description": "现货品种名称",
  22280. "type": "string"
  22281. },
  22282. "enumdicname": {
  22283. "description": "现货单位名称",
  22284. "type": "string"
  22285. },
  22286. "middlegoodsid": {
  22287. "description": "套保品种ID",
  22288. "type": "integer"
  22289. },
  22290. "middlegoodspricedqty3": {
  22291. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22292. "type": "number"
  22293. },
  22294. "needhedgeratio": {
  22295. "description": "套保比例",
  22296. "type": "number"
  22297. },
  22298. "pricedqty": {
  22299. "description": "已定价量",
  22300. "type": "number"
  22301. },
  22302. "relatedmiddlegoodsqty": {
  22303. "description": "已关联量(套保品种)(期货)",
  22304. "type": "number"
  22305. },
  22306. "spotcontractid": {
  22307. "description": "合同编号",
  22308. "type": "string"
  22309. },
  22310. "unitid": {
  22311. "description": "现货单位id",
  22312. "type": "integer"
  22313. },
  22314. "userid": {
  22315. "description": "用户id",
  22316. "type": "integer"
  22317. },
  22318. "vatrate": {
  22319. "description": "增值税率",
  22320. "type": "number"
  22321. },
  22322. "wrstandardcode": {
  22323. "description": "现货商品代码",
  22324. "type": "string"
  22325. },
  22326. "wrstandardid": {
  22327. "description": "现货商品id",
  22328. "type": "integer"
  22329. },
  22330. "wrstandardname": {
  22331. "description": "现货商品名称",
  22332. "type": "string"
  22333. }
  22334. }
  22335. },
  22336. "models.Ermcp3SCMiddleGoodsReport": {
  22337. "type": "object",
  22338. "properties": {
  22339. "begindate": {
  22340. "description": "开始交易日",
  22341. "type": "string"
  22342. },
  22343. "contractno": {
  22344. "description": "合同编号",
  22345. "type": "string"
  22346. },
  22347. "contracttype": {
  22348. "description": "合同类型 1:采购 -1:销售",
  22349. "type": "integer"
  22350. },
  22351. "convertratio": {
  22352. "description": "折算系数",
  22353. "type": "number"
  22354. },
  22355. "cycletime": {
  22356. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22357. "type": "string"
  22358. },
  22359. "cycletype": {
  22360. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22361. "type": "integer"
  22362. },
  22363. "deliverygoodscode": {
  22364. "description": "品种代码",
  22365. "type": "string"
  22366. },
  22367. "deliverygoodsid": {
  22368. "description": "现货品种ID",
  22369. "type": "integer"
  22370. },
  22371. "deliverygoodsname": {
  22372. "description": "品种名称",
  22373. "type": "string"
  22374. },
  22375. "diffprice": {
  22376. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22377. "type": "number"
  22378. },
  22379. "diffqty": {
  22380. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22381. "type": "number"
  22382. },
  22383. "enddate": {
  22384. "description": "结束交易日",
  22385. "type": "string"
  22386. },
  22387. "hedgeplanqty": {
  22388. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22389. "type": "number"
  22390. },
  22391. "matchname": {
  22392. "description": "交易对手方(个人:用户名称 企业:简称)",
  22393. "type": "string"
  22394. },
  22395. "middlegoodscode": {
  22396. "description": "套保品种代码",
  22397. "type": "string"
  22398. },
  22399. "middlegoodsid": {
  22400. "description": "套保品种ID",
  22401. "type": "integer"
  22402. },
  22403. "middlegoodsname": {
  22404. "description": "套保品种名称",
  22405. "type": "string"
  22406. },
  22407. "middlegoodspricedqty": {
  22408. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22409. "type": "number"
  22410. },
  22411. "middlegoodspricedqty2": {
  22412. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22413. "type": "number"
  22414. },
  22415. "middlegoodspricedqty3": {
  22416. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22417. "type": "number"
  22418. },
  22419. "needhedgeratio": {
  22420. "description": "套保系数",
  22421. "type": "number"
  22422. },
  22423. "pricedamount": {
  22424. "description": "已定价额(现货)",
  22425. "type": "number"
  22426. },
  22427. "pricedamount2": {
  22428. "description": "已定价额(现货-基价额)",
  22429. "type": "number"
  22430. },
  22431. "pricedqty": {
  22432. "description": "已定价量(现货)",
  22433. "type": "number"
  22434. },
  22435. "reckondate": {
  22436. "description": "日照时期(yyyyMMdd)",
  22437. "type": "string"
  22438. },
  22439. "relatedmiddlegoodsamount": {
  22440. "description": "已关联额(期货)",
  22441. "type": "number"
  22442. },
  22443. "relatedmiddlegoodsqty": {
  22444. "description": "已关联量(套保品种)(期货)",
  22445. "type": "number"
  22446. },
  22447. "spotcontractid": {
  22448. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22449. "type": "string"
  22450. },
  22451. "todayavgfutuprice": {
  22452. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty",
  22453. "type": "number"
  22454. },
  22455. "todayavgprice": {
  22456. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22457. "type": "number"
  22458. },
  22459. "todayavgprice2": {
  22460. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22461. "type": "number"
  22462. },
  22463. "todaypricedamount": {
  22464. "description": "今日定价额(现货)",
  22465. "type": "number"
  22466. },
  22467. "todaypricedamount2": {
  22468. "description": "今日定价额(现货-基价额)",
  22469. "type": "number"
  22470. },
  22471. "todaypricedqty": {
  22472. "description": "今日定价量(现货)",
  22473. "type": "number"
  22474. },
  22475. "todayrelatedmiddlegoodsamount": {
  22476. "description": "今日关联额(期货)",
  22477. "type": "number"
  22478. },
  22479. "todayrelatedmiddlegoodsqty": {
  22480. "description": "今日关联量(期货)",
  22481. "type": "number"
  22482. },
  22483. "updatetime": {
  22484. "description": "更新时间",
  22485. "type": "string"
  22486. },
  22487. "userid": {
  22488. "description": "合同所属用户id",
  22489. "type": "integer"
  22490. },
  22491. "vatrate": {
  22492. "description": "增值税率",
  22493. "type": "number"
  22494. },
  22495. "wrstandardcode": {
  22496. "description": "商品(品类) 代码",
  22497. "type": "string"
  22498. },
  22499. "wrstandardid": {
  22500. "description": "现货商品ID",
  22501. "type": "integer"
  22502. },
  22503. "wrstandardname": {
  22504. "description": "商品(品类) 名称",
  22505. "type": "string"
  22506. }
  22507. }
  22508. },
  22509. "models.Ermcp3SellBuyContract": {
  22510. "type": "object",
  22511. "properties": {
  22512. "accountid": {
  22513. "description": "期货账户id",
  22514. "type": "string"
  22515. },
  22516. "accountname": {
  22517. "description": "账户名称",
  22518. "type": "string"
  22519. },
  22520. "attachment": {
  22521. "description": "附件",
  22522. "type": "string"
  22523. },
  22524. "audittime": {
  22525. "description": "审核时间",
  22526. "type": "string"
  22527. },
  22528. "biztype": {
  22529. "description": "业务类型 1-套保 2-套利",
  22530. "type": "integer"
  22531. },
  22532. "brandname": {
  22533. "description": "品牌名称",
  22534. "type": "string"
  22535. },
  22536. "contracctstatus": {
  22537. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22538. "type": "integer"
  22539. },
  22540. "contractmargin": {
  22541. "description": "合同保证金",
  22542. "type": "number"
  22543. },
  22544. "contractno": {
  22545. "description": "合同编号",
  22546. "type": "string"
  22547. },
  22548. "contracttype": {
  22549. "description": "合同类型 1-采购, -1-销售",
  22550. "type": "integer"
  22551. },
  22552. "convertfactor": {
  22553. "description": "标仓系数(品类)",
  22554. "type": "number"
  22555. },
  22556. "createtime": {
  22557. "description": "创建时间",
  22558. "type": "string"
  22559. },
  22560. "currencyid": {
  22561. "description": "币种id",
  22562. "type": "integer"
  22563. },
  22564. "currencyname": {
  22565. "description": "币种名称",
  22566. "type": "string"
  22567. },
  22568. "daikaiamount": {
  22569. "description": "应收(开)票额",
  22570. "type": "number"
  22571. },
  22572. "deliveryenddate": {
  22573. "description": "交割结束日",
  22574. "type": "string"
  22575. },
  22576. "deliverygoodscode": {
  22577. "description": "现货品种代码",
  22578. "type": "string"
  22579. },
  22580. "deliverygoodsid": {
  22581. "description": "现货商品ID",
  22582. "type": "integer"
  22583. },
  22584. "deliverygoodsname": {
  22585. "description": "现货品种名称",
  22586. "type": "string"
  22587. },
  22588. "deliverystartdate": {
  22589. "description": "交割开始日",
  22590. "type": "string"
  22591. },
  22592. "enddate": {
  22593. "description": "点价结束日",
  22594. "type": "string"
  22595. },
  22596. "enumdicname": {
  22597. "description": "单位名称",
  22598. "type": "string"
  22599. },
  22600. "goodscode": {
  22601. "description": "点价商品代码",
  22602. "type": "string"
  22603. },
  22604. "goodsid": {
  22605. "description": "点价商品ID",
  22606. "type": "integer"
  22607. },
  22608. "goodsname": {
  22609. "description": "点价商品名称",
  22610. "type": "string"
  22611. },
  22612. "invoiceamount": {
  22613. "description": "已开票额",
  22614. "type": "number"
  22615. },
  22616. "loanamount": {
  22617. "description": "贷款总额=已定价额+调整金额",
  22618. "type": "number"
  22619. },
  22620. "margin": {
  22621. "description": "保证金",
  22622. "type": "number"
  22623. },
  22624. "meruserid": {
  22625. "description": "跟单员id",
  22626. "type": "integer"
  22627. },
  22628. "meruserlogincode": {
  22629. "description": "跟单员登录代码",
  22630. "type": "string"
  22631. },
  22632. "merusername": {
  22633. "description": "跟单员名称",
  22634. "type": "string"
  22635. },
  22636. "nickname": {
  22637. "description": "账户昵称",
  22638. "type": "string"
  22639. },
  22640. "payamount": {
  22641. "description": "已收付额(收款或付款)",
  22642. "type": "number"
  22643. },
  22644. "preinvoiceamount": {
  22645. "description": "预收(开)票额",
  22646. "type": "number"
  22647. },
  22648. "prepayamount": {
  22649. "description": "预收付额",
  22650. "type": "number"
  22651. },
  22652. "price": {
  22653. "description": "价格",
  22654. "type": "number"
  22655. },
  22656. "pricedamount": {
  22657. "description": "已定价额",
  22658. "type": "number"
  22659. },
  22660. "pricedavg": {
  22661. "description": "已点均价",
  22662. "type": "number"
  22663. },
  22664. "pricedqty": {
  22665. "description": "已定价量",
  22666. "type": "number"
  22667. },
  22668. "pricemove": {
  22669. "description": "升贴水",
  22670. "type": "number"
  22671. },
  22672. "pricetype": {
  22673. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22674. "type": "integer"
  22675. },
  22676. "producttype": {
  22677. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22678. "type": "integer"
  22679. },
  22680. "qty": {
  22681. "description": "合同量",
  22682. "type": "number"
  22683. },
  22684. "reckonadjustamount": {
  22685. "description": "调整金额",
  22686. "type": "number"
  22687. },
  22688. "reckonedamount": {
  22689. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22690. "type": "number"
  22691. },
  22692. "reckonotheramount": {
  22693. "description": "其它费用",
  22694. "type": "number"
  22695. },
  22696. "reckonrealqty": {
  22697. "description": "已确定量",
  22698. "type": "number"
  22699. },
  22700. "remark": {
  22701. "description": "备注",
  22702. "type": "string"
  22703. },
  22704. "saleuserid": {
  22705. "description": "业务员id",
  22706. "type": "integer"
  22707. },
  22708. "saleuserlogincode": {
  22709. "description": "业务员登录代码",
  22710. "type": "string"
  22711. },
  22712. "saleusername": {
  22713. "description": "业务员名称",
  22714. "type": "string"
  22715. },
  22716. "spotcontractid": {
  22717. "description": "合同ID",
  22718. "type": "string"
  22719. },
  22720. "spotgoodsbrandid": {
  22721. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22722. "type": "integer"
  22723. },
  22724. "spotgoodsdesc": {
  22725. "description": "商品型号(商品规格)",
  22726. "type": "string"
  22727. },
  22728. "startdate": {
  22729. "description": "点价开始日",
  22730. "type": "string"
  22731. },
  22732. "subjectid": {
  22733. "description": "交易主体ID",
  22734. "type": "string"
  22735. },
  22736. "subjectname": {
  22737. "description": "交易主体名称",
  22738. "type": "string"
  22739. },
  22740. "totalamount": {
  22741. "description": "合计总额",
  22742. "type": "number"
  22743. },
  22744. "tradeuserid": {
  22745. "description": "交易员id",
  22746. "type": "integer"
  22747. },
  22748. "tradeuserlogincode": {
  22749. "description": "交易员登录代码",
  22750. "type": "string"
  22751. },
  22752. "tradeusername": {
  22753. "description": "交易员名称",
  22754. "type": "string"
  22755. },
  22756. "unpayamount": {
  22757. "description": "应收付款额(应支付或应收款)",
  22758. "type": "number"
  22759. },
  22760. "unpricedqty": {
  22761. "description": "未定价量",
  22762. "type": "number"
  22763. },
  22764. "unsureqty": {
  22765. "description": "未确定量",
  22766. "type": "number"
  22767. },
  22768. "userid": {
  22769. "description": "机构ID",
  22770. "type": "integer"
  22771. },
  22772. "vatrate": {
  22773. "description": "增值税率",
  22774. "type": "number"
  22775. },
  22776. "wrstandardcode": {
  22777. "description": "品类代码",
  22778. "type": "string"
  22779. },
  22780. "wrstandardid": {
  22781. "description": "品类ID",
  22782. "type": "integer"
  22783. },
  22784. "wrstandardname": {
  22785. "description": "品类名称",
  22786. "type": "string"
  22787. }
  22788. }
  22789. },
  22790. "models.Ermcp3SpotGoodsPrice": {
  22791. "type": "object",
  22792. "properties": {
  22793. "areauserid": {
  22794. "description": "所属机构id",
  22795. "type": "integer"
  22796. },
  22797. "brandname": {
  22798. "description": "品牌名称",
  22799. "type": "string"
  22800. },
  22801. "currencyid": {
  22802. "description": "报价货币ID",
  22803. "type": "integer"
  22804. },
  22805. "currencyname": {
  22806. "description": "币种名称",
  22807. "type": "string"
  22808. },
  22809. "deliverygoodscode": {
  22810. "description": "现货商品代码",
  22811. "type": "string"
  22812. },
  22813. "deliverygoodsid": {
  22814. "description": "现货商品id",
  22815. "type": "integer"
  22816. },
  22817. "deliverygoodsname": {
  22818. "description": "现货商品名称",
  22819. "type": "string"
  22820. },
  22821. "enumdicname": {
  22822. "description": "现货商品单位名称",
  22823. "type": "string"
  22824. },
  22825. "gbenumdicname": {
  22826. "description": "品类单位名称",
  22827. "type": "string"
  22828. },
  22829. "gmunitid": {
  22830. "description": "品类单位id",
  22831. "type": "integer"
  22832. },
  22833. "isvalid": {
  22834. "description": "是否有效 - 0:无效 1:有效",
  22835. "type": "integer"
  22836. },
  22837. "operateid": {
  22838. "description": "最后操作人",
  22839. "type": "integer"
  22840. },
  22841. "operatesrc": {
  22842. "description": "最后操作来源 - 1:管理端 2:终端",
  22843. "type": "integer"
  22844. },
  22845. "operatetime": {
  22846. "description": "最后操作时间",
  22847. "type": "string"
  22848. },
  22849. "operatorname": {
  22850. "description": "操作人名称",
  22851. "type": "string"
  22852. },
  22853. "spotgoodsbrandid": {
  22854. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22855. "type": "integer"
  22856. },
  22857. "spotgoodsprice": {
  22858. "description": "现货价格",
  22859. "type": "number"
  22860. },
  22861. "tradedate": {
  22862. "description": "交易日(yyyyMMdd)",
  22863. "type": "string"
  22864. },
  22865. "unitid": {
  22866. "description": "现货商品单位id",
  22867. "type": "integer"
  22868. },
  22869. "wrstandardcode": {
  22870. "description": "品类代码",
  22871. "type": "string"
  22872. },
  22873. "wrstandardid": {
  22874. "description": "现货品类ID(通用则为0)",
  22875. "type": "integer"
  22876. },
  22877. "wrstandardname": {
  22878. "description": "品类名称",
  22879. "type": "string"
  22880. }
  22881. }
  22882. },
  22883. "models.Ermcp3SpotGoodsPriceLog": {
  22884. "type": "object",
  22885. "properties": {
  22886. "areauserid": {
  22887. "description": "所属机构id",
  22888. "type": "integer"
  22889. },
  22890. "brandname": {
  22891. "description": "品牌名称",
  22892. "type": "string"
  22893. },
  22894. "currencyid": {
  22895. "description": "报价货币ID",
  22896. "type": "integer"
  22897. },
  22898. "deliverygoodscode": {
  22899. "description": "现货商品代码",
  22900. "type": "string"
  22901. },
  22902. "deliverygoodsid": {
  22903. "description": "现货商品id",
  22904. "type": "integer"
  22905. },
  22906. "deliverygoodsname": {
  22907. "description": "现货商品名称",
  22908. "type": "string"
  22909. },
  22910. "enumdicname": {
  22911. "description": "现货商品单位名称",
  22912. "type": "string"
  22913. },
  22914. "gbenumdicname": {
  22915. "description": "品类单位名称",
  22916. "type": "string"
  22917. },
  22918. "gmunitid": {
  22919. "description": "品类单位id",
  22920. "type": "integer"
  22921. },
  22922. "logid": {
  22923. "description": "日志id",
  22924. "type": "integer"
  22925. },
  22926. "operateid": {
  22927. "description": "最后操作人",
  22928. "type": "integer"
  22929. },
  22930. "operatesrc": {
  22931. "description": "最后操作来源 - 1:管理端 2:终端",
  22932. "type": "integer"
  22933. },
  22934. "operatetime": {
  22935. "description": "最后操作时间",
  22936. "type": "string"
  22937. },
  22938. "operatorname": {
  22939. "description": "操作人名称",
  22940. "type": "string"
  22941. },
  22942. "spotgoodsbrandid": {
  22943. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22944. "type": "integer"
  22945. },
  22946. "spotgoodsprice": {
  22947. "description": "现货价格",
  22948. "type": "number"
  22949. },
  22950. "tradedate": {
  22951. "description": "交易日(yyyyMMdd)",
  22952. "type": "string"
  22953. },
  22954. "unitid": {
  22955. "description": "现货商品单位id",
  22956. "type": "integer"
  22957. },
  22958. "wrstandardcode": {
  22959. "description": "品类代码",
  22960. "type": "string"
  22961. },
  22962. "wrstandardid": {
  22963. "description": "现货品类ID(通用则为0)",
  22964. "type": "integer"
  22965. },
  22966. "wrstandardname": {
  22967. "description": "品类名称",
  22968. "type": "string"
  22969. }
  22970. }
  22971. },
  22972. "models.Ermcp3SubTaaccount": {
  22973. "type": "object",
  22974. "properties": {
  22975. "accountid": {
  22976. "description": "资金账户ID",
  22977. "type": "integer"
  22978. },
  22979. "parentaccountcode": {
  22980. "description": "所属根账号代码(母账号代码)",
  22981. "type": "string"
  22982. },
  22983. "parentaccountid": {
  22984. "description": "所属根账号(母账号)",
  22985. "type": "integer"
  22986. },
  22987. "taname": {
  22988. "description": "资金账号名称",
  22989. "type": "string"
  22990. },
  22991. "tradestatus": {
  22992. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  22993. "type": "integer"
  22994. },
  22995. "username": {
  22996. "description": "交易用户",
  22997. "type": "string"
  22998. }
  22999. }
  23000. },
  23001. "models.Ermcp3TaFutuReDataReport": {
  23002. "type": "object",
  23003. "properties": {
  23004. "accountid": {
  23005. "description": "交易账户",
  23006. "type": "integer"
  23007. },
  23008. "accountname": {
  23009. "description": "交易账号名称",
  23010. "type": "string"
  23011. },
  23012. "agreeunit": {
  23013. "description": "商品合约单位",
  23014. "type": "number"
  23015. },
  23016. "begindate": {
  23017. "description": "开始交易日",
  23018. "type": "string"
  23019. },
  23020. "buyorsell": {
  23021. "description": "持仓方向",
  23022. "type": "integer"
  23023. },
  23024. "charge": {
  23025. "description": "手续费",
  23026. "type": "number"
  23027. },
  23028. "closeavgprice": {
  23029. "description": "平仓均价",
  23030. "type": "number"
  23031. },
  23032. "closepl": {
  23033. "description": "平仓损益",
  23034. "type": "number"
  23035. },
  23036. "currencyid": {
  23037. "description": "结算币种ID",
  23038. "type": "integer"
  23039. },
  23040. "currencyname": {
  23041. "description": "币种名称",
  23042. "type": "string"
  23043. },
  23044. "cycletime": {
  23045. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23046. "type": "string"
  23047. },
  23048. "cycletype": {
  23049. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23050. "type": "integer"
  23051. },
  23052. "enddate": {
  23053. "description": "结束交易日",
  23054. "type": "string"
  23055. },
  23056. "enumdicname": {
  23057. "description": "单位名称",
  23058. "type": "string"
  23059. },
  23060. "floatpl": {
  23061. "description": "浮动损益",
  23062. "type": "number"
  23063. },
  23064. "goodscode": {
  23065. "description": "交易合约代码",
  23066. "type": "string"
  23067. },
  23068. "goodsgroupid": {
  23069. "description": "交易品种",
  23070. "type": "integer"
  23071. },
  23072. "goodsgroupname": {
  23073. "description": "交易品种名称",
  23074. "type": "string"
  23075. },
  23076. "goodsgroupspotqty": {
  23077. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23078. "type": "number"
  23079. },
  23080. "goodsid": {
  23081. "description": "交易合约",
  23082. "type": "integer"
  23083. },
  23084. "goodsname": {
  23085. "description": "交易合约名称",
  23086. "type": "string"
  23087. },
  23088. "goodunitid": {
  23089. "description": "交易合约单位id",
  23090. "type": "integer"
  23091. },
  23092. "holdamount": {
  23093. "description": "期末持仓额",
  23094. "type": "number"
  23095. },
  23096. "holdqty": {
  23097. "description": "期末持仓量",
  23098. "type": "number"
  23099. },
  23100. "lastholdamount": {
  23101. "description": "当前持仓额",
  23102. "type": "number"
  23103. },
  23104. "lastprice": {
  23105. "description": "最新价",
  23106. "type": "number"
  23107. },
  23108. "middlegoodsid": {
  23109. "description": "套保品种id",
  23110. "type": "integer"
  23111. },
  23112. "middlegoodsname": {
  23113. "description": "套保商品名称",
  23114. "type": "string"
  23115. },
  23116. "middlegoodsqty": {
  23117. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23118. "type": "number"
  23119. },
  23120. "middlgoodscode": {
  23121. "description": "套保商品代码",
  23122. "type": "string"
  23123. },
  23124. "openamount": {
  23125. "description": "期末开仓额",
  23126. "type": "number"
  23127. },
  23128. "openavgprice": {
  23129. "description": "开仓均价",
  23130. "type": "number"
  23131. },
  23132. "oriholdamount": {
  23133. "description": "期初持仓额",
  23134. "type": "number"
  23135. },
  23136. "oriholdqty": {
  23137. "description": "期初持仓量",
  23138. "type": "number"
  23139. },
  23140. "oriopenamount": {
  23141. "description": "期初开仓额",
  23142. "type": "number"
  23143. },
  23144. "outergroupcode": {
  23145. "description": "交易品种代码",
  23146. "type": "string"
  23147. },
  23148. "qtydecimalplace": {
  23149. "description": "成交量小数位",
  23150. "type": "integer"
  23151. },
  23152. "reckondate": {
  23153. "description": "日照时期(yyyyMMdd)",
  23154. "type": "string"
  23155. },
  23156. "reckonholdamount": {
  23157. "description": "结算持仓额",
  23158. "type": "number"
  23159. },
  23160. "reckonpl": {
  23161. "description": "结算损益",
  23162. "type": "number"
  23163. },
  23164. "reckonpl2": {
  23165. "description": "结算逐笔盈亏",
  23166. "type": "number"
  23167. },
  23168. "reckonprice": {
  23169. "description": "结算价",
  23170. "type": "number"
  23171. },
  23172. "relateduserid": {
  23173. "description": "账户关联用户ID",
  23174. "type": "integer"
  23175. },
  23176. "todaycloseamount": {
  23177. "description": "今平仓额",
  23178. "type": "number"
  23179. },
  23180. "todaycloseqty": {
  23181. "description": "今平仓量",
  23182. "type": "number"
  23183. },
  23184. "todaygoodsgroupspotqty": {
  23185. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23186. "type": "number"
  23187. },
  23188. "todaymiddlegoodsqty": {
  23189. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23190. "type": "number"
  23191. },
  23192. "todayopenamount": {
  23193. "description": "今开仓额",
  23194. "type": "number"
  23195. },
  23196. "todayopenqty": {
  23197. "description": "今开仓量",
  23198. "type": "number"
  23199. },
  23200. "userid": {
  23201. "description": "账户所属用户ID",
  23202. "type": "integer"
  23203. }
  23204. }
  23205. },
  23206. "models.Ermcp3TradeLinkDetail": {
  23207. "type": "object",
  23208. "properties": {
  23209. "accountid": {
  23210. "description": "资金账号",
  23211. "type": "integer"
  23212. },
  23213. "agreeunit": {
  23214. "description": "合约乘数",
  23215. "type": "number"
  23216. },
  23217. "areauserid": {
  23218. "description": "所属机构",
  23219. "type": "string"
  23220. },
  23221. "bizsubjectid": {
  23222. "description": "归属业务部门ID - SubjectID",
  23223. "type": "string"
  23224. },
  23225. "buyorsell": {
  23226. "description": "方向 - 0:买 1:卖",
  23227. "type": "integer"
  23228. },
  23229. "channelbuildtype": {
  23230. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23231. "type": "integer"
  23232. },
  23233. "contractno": {
  23234. "description": "现货编号 (合同编号)",
  23235. "type": "string"
  23236. },
  23237. "convertratio": {
  23238. "description": "折算系数",
  23239. "type": "number"
  23240. },
  23241. "createtime": {
  23242. "description": "关联时间 | 创建时间",
  23243. "type": "string"
  23244. },
  23245. "creatorid": {
  23246. "description": "创建人ID",
  23247. "type": "string"
  23248. },
  23249. "creatorsrc": {
  23250. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23251. "type": "integer"
  23252. },
  23253. "enumdicname": {
  23254. "description": "单位名称",
  23255. "type": "string"
  23256. },
  23257. "goodscode": {
  23258. "description": "合约代码",
  23259. "type": "string"
  23260. },
  23261. "goodsgroupid": {
  23262. "description": "对冲品种ID[期货合约商品组ID]",
  23263. "type": "integer"
  23264. },
  23265. "goodsid": {
  23266. "description": "商品ID",
  23267. "type": "integer"
  23268. },
  23269. "goodsname": {
  23270. "description": "合约名称",
  23271. "type": "string"
  23272. },
  23273. "hedgeflag": {
  23274. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23275. "type": "integer"
  23276. },
  23277. "linkdetailid": {
  23278. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23279. "type": "string"
  23280. },
  23281. "linkstatus": {
  23282. "description": "关联状态 - 1:成功 2:失败",
  23283. "type": "integer"
  23284. },
  23285. "middlegoodscode": {
  23286. "description": "套保品种代码",
  23287. "type": "string"
  23288. },
  23289. "middlegoodsid": {
  23290. "description": "套保品种ID",
  23291. "type": "integer"
  23292. },
  23293. "middlegoodsname": {
  23294. "description": "套保品种名称",
  23295. "type": "string"
  23296. },
  23297. "relatedlot": {
  23298. "description": "关联手数",
  23299. "type": "number"
  23300. },
  23301. "relatedmode": {
  23302. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23303. "type": "integer"
  23304. },
  23305. "relatedqty": {
  23306. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23307. "type": "number"
  23308. },
  23309. "retcode": {
  23310. "description": "返回码",
  23311. "type": "integer"
  23312. },
  23313. "saleuserid": {
  23314. "description": "业务员ID",
  23315. "type": "string"
  23316. },
  23317. "spotcontractid": {
  23318. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23319. "type": "string"
  23320. },
  23321. "taname": {
  23322. "description": "期货账户",
  23323. "type": "string"
  23324. },
  23325. "tradedate": {
  23326. "description": "关联交易日(yyyyMMdd)",
  23327. "type": "string"
  23328. },
  23329. "tradeid": {
  23330. "description": "期货订单号 | 内部成交单ID",
  23331. "type": "string"
  23332. },
  23333. "tradelot": {
  23334. "description": "成交数量 | 成交手数",
  23335. "type": "integer"
  23336. },
  23337. "tradeprice": {
  23338. "description": "成交价格",
  23339. "type": "number"
  23340. },
  23341. "tradetime": {
  23342. "description": "期货成交时间",
  23343. "type": "string"
  23344. },
  23345. "tradetradedate": {
  23346. "description": "成交交易日(yyyyMMdd)",
  23347. "type": "string"
  23348. },
  23349. "username": {
  23350. "description": "用户名称",
  23351. "type": "string"
  23352. }
  23353. }
  23354. },
  23355. "models.Ermcp3Wrstandard": {
  23356. "type": "object",
  23357. "properties": {
  23358. "areauserid": {
  23359. "description": "所属机构",
  23360. "type": "integer"
  23361. },
  23362. "cantrade": {
  23363. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23364. "type": "integer"
  23365. },
  23366. "convertfactor": {
  23367. "description": "标仓系数",
  23368. "type": "number"
  23369. },
  23370. "createtime": {
  23371. "description": "创建时间",
  23372. "type": "string"
  23373. },
  23374. "creatorid": {
  23375. "description": "创建人",
  23376. "type": "integer"
  23377. },
  23378. "deliverygoodsid": {
  23379. "description": "现货品种ID",
  23380. "type": "integer"
  23381. },
  23382. "enumdicname": {
  23383. "description": "品类单位名称",
  23384. "type": "string"
  23385. },
  23386. "isvalid": {
  23387. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23388. "type": "integer"
  23389. },
  23390. "minivalue": {
  23391. "description": "最小变动值",
  23392. "type": "integer"
  23393. },
  23394. "minivaluedp": {
  23395. "description": "最小变动值小数位",
  23396. "type": "integer"
  23397. },
  23398. "realminivalue": {
  23399. "description": "实际最小变动值",
  23400. "type": "integer"
  23401. },
  23402. "realminivaluedp": {
  23403. "description": "实际最小变动值小数位",
  23404. "type": "integer"
  23405. },
  23406. "remark": {
  23407. "description": "备注",
  23408. "type": "string"
  23409. },
  23410. "unitid": {
  23411. "description": "品类单位ID",
  23412. "type": "integer"
  23413. },
  23414. "updatetime": {
  23415. "description": "更新时间",
  23416. "type": "string"
  23417. },
  23418. "wrstandardcode": {
  23419. "description": "品类代码",
  23420. "type": "string"
  23421. },
  23422. "wrstandardid": {
  23423. "description": "品类ID(SEQ_WRSTANDARD)",
  23424. "type": "integer"
  23425. },
  23426. "wrstandardname": {
  23427. "description": "品类名称",
  23428. "type": "string"
  23429. }
  23430. }
  23431. },
  23432. "models.ErmcpBizGroupEx": {
  23433. "type": "object",
  23434. "properties": {
  23435. "acclist": {
  23436. "description": "账号列表",
  23437. "type": "array",
  23438. "items": {
  23439. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23440. }
  23441. },
  23442. "bizgroupid": {
  23443. "description": "业务分组id",
  23444. "type": "integer"
  23445. },
  23446. "biztype": {
  23447. "description": "业务类型 1-套保 2-套利",
  23448. "type": "integer"
  23449. },
  23450. "wrlist": {
  23451. "description": "现货商品表",
  23452. "type": "array",
  23453. "items": {
  23454. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23455. }
  23456. }
  23457. }
  23458. },
  23459. "models.ErmcpBizGroupSpotGoods": {
  23460. "type": "object",
  23461. "properties": {
  23462. "areauserid": {
  23463. "description": "所属机构id",
  23464. "type": "integer"
  23465. },
  23466. "bizgroupid": {
  23467. "description": "分组id",
  23468. "type": "integer"
  23469. },
  23470. "biztype": {
  23471. "description": "业务类型 1-套保 2-套利",
  23472. "type": "integer"
  23473. },
  23474. "deliverygoodscode": {
  23475. "description": "现货商品代码",
  23476. "type": "string"
  23477. },
  23478. "deliverygoodsid": {
  23479. "description": "现货商品id",
  23480. "type": "integer"
  23481. },
  23482. "deliverygoodsname": {
  23483. "description": "现货商品名称",
  23484. "type": "string"
  23485. },
  23486. "unitid": {
  23487. "description": "现货商品单位id",
  23488. "type": "integer"
  23489. }
  23490. }
  23491. },
  23492. "models.ErmcpBizGroupTaAccount": {
  23493. "type": "object",
  23494. "properties": {
  23495. "accountid": {
  23496. "description": "账号id",
  23497. "type": "integer"
  23498. },
  23499. "accountname": {
  23500. "description": "账号名称",
  23501. "type": "string"
  23502. },
  23503. "areauserid": {
  23504. "description": "所属机构id",
  23505. "type": "integer"
  23506. },
  23507. "bizgroupid": {
  23508. "description": "业务分组id",
  23509. "type": "integer"
  23510. },
  23511. "ismain": {
  23512. "description": "是否主账号 1-是 0-否",
  23513. "type": "integer"
  23514. }
  23515. }
  23516. },
  23517. "models.ErmcpDGFactoryItem": {
  23518. "type": "object",
  23519. "properties": {
  23520. "areauserid": {
  23521. "description": "用户id",
  23522. "type": "integer"
  23523. },
  23524. "deliverygoodsid": {
  23525. "description": "现货品种ID",
  23526. "type": "integer"
  23527. },
  23528. "dgfactoryitemid": {
  23529. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23530. "type": "integer"
  23531. },
  23532. "dgfactoryitemtypeid": {
  23533. "description": "要素项类型",
  23534. "type": "integer"
  23535. },
  23536. "dgfactoryitemvalue": {
  23537. "description": "要素项值(类型为仓库时填写仓库名称)",
  23538. "type": "string"
  23539. },
  23540. "isvalid": {
  23541. "description": "是否有效 - 0:无效 1:有效",
  23542. "type": "integer"
  23543. },
  23544. "orderindex": {
  23545. "description": "顺序",
  23546. "type": "integer"
  23547. },
  23548. "warehouseid": {
  23549. "description": "仓库ID(类型为仓库时填写)",
  23550. "type": "integer"
  23551. }
  23552. }
  23553. },
  23554. "models.ErmcpDeliveryGoods": {
  23555. "type": "object",
  23556. "properties": {
  23557. "agreeunit": {
  23558. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23559. "type": "integer"
  23560. },
  23561. "areauserid": {
  23562. "description": "所属机构",
  23563. "type": "integer"
  23564. },
  23565. "auditflag": {
  23566. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23567. "type": "integer"
  23568. },
  23569. "categoryid": {
  23570. "description": "类别ID(SEQ_WRCATEGORY)",
  23571. "type": "integer"
  23572. },
  23573. "deliverygoodscode": {
  23574. "description": "现货品种代码",
  23575. "type": "string"
  23576. },
  23577. "deliverygoodsid": {
  23578. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23579. "type": "integer"
  23580. },
  23581. "deliverygoodsname": {
  23582. "description": "现货品种名称",
  23583. "type": "string"
  23584. },
  23585. "deliverygoodstype": {
  23586. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23587. "type": "integer"
  23588. },
  23589. "dgstatus": {
  23590. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23591. "type": "integer"
  23592. },
  23593. "enumdicname": {
  23594. "description": "现货品种单位名称",
  23595. "type": "string"
  23596. },
  23597. "goodsunitid": {
  23598. "description": "现货品种单位ID",
  23599. "type": "integer"
  23600. },
  23601. "isvalid": {
  23602. "description": "是否有效 - 0:无效 1:有效",
  23603. "type": "integer"
  23604. },
  23605. "qtydecimalplace": {
  23606. "description": "成交量小数位",
  23607. "type": "integer"
  23608. },
  23609. "remark": {
  23610. "description": "备注",
  23611. "type": "string"
  23612. },
  23613. "standardqty": {
  23614. "description": "标准数量(库位数量) [标准品特有]",
  23615. "type": "integer"
  23616. },
  23617. "standardqtyrange": {
  23618. "description": "标准数量偏差范围 [标准品特有]",
  23619. "type": "integer"
  23620. }
  23621. }
  23622. },
  23623. "models.ErmcpFuturesCompany": {
  23624. "type": "object",
  23625. "properties": {
  23626. "brokerid": {
  23627. "description": "经纪公司代码",
  23628. "type": "string"
  23629. },
  23630. "channeladdress": {
  23631. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23632. "type": "string"
  23633. },
  23634. "channelid": {
  23635. "description": "对冲渠道ID",
  23636. "type": "string"
  23637. },
  23638. "createtime": {
  23639. "description": "创建时间",
  23640. "type": "string"
  23641. },
  23642. "creatorid": {
  23643. "description": "创建人",
  23644. "type": "string"
  23645. },
  23646. "fcid": {
  23647. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23648. "type": "integer"
  23649. },
  23650. "fcname": {
  23651. "description": "期货公司名称",
  23652. "type": "string"
  23653. },
  23654. "isvalid": {
  23655. "description": "是否有效 - 0:无效 1:有效",
  23656. "type": "integer"
  23657. },
  23658. "mhpaddress": {
  23659. "description": "MHP服务地址(IP:Port)",
  23660. "type": "string"
  23661. },
  23662. "riskrulegroupid": {
  23663. "description": "风控规则组ID",
  23664. "type": "string"
  23665. },
  23666. "tradefeetmpid": {
  23667. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23668. "type": "string"
  23669. },
  23670. "trademargintmpid": {
  23671. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23672. "type": "string"
  23673. },
  23674. "traderatetmpid": {
  23675. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23676. "type": "string"
  23677. },
  23678. "updatetime": {
  23679. "description": "更新时间",
  23680. "type": "string"
  23681. },
  23682. "updatorid": {
  23683. "description": "更新人",
  23684. "type": "string"
  23685. }
  23686. }
  23687. },
  23688. "models.ErmcpGGConvertCfg": {
  23689. "type": "object",
  23690. "properties": {
  23691. "convertratio": {
  23692. "description": "折算系数",
  23693. "type": "number"
  23694. },
  23695. "destgoodsgroupid": {
  23696. "description": "目标品种ID",
  23697. "type": "integer"
  23698. },
  23699. "dstcode": {
  23700. "description": "目录品种代码",
  23701. "type": "string"
  23702. },
  23703. "dstexchangecode": {
  23704. "description": "目标期货交易所",
  23705. "type": "string"
  23706. },
  23707. "dstname": {
  23708. "description": "目标品种名称",
  23709. "type": "string"
  23710. },
  23711. "dstunitid": {
  23712. "description": "目标品种单位ID",
  23713. "type": "integer"
  23714. },
  23715. "dstunitidname": {
  23716. "description": "目标品种单位名称",
  23717. "type": "string"
  23718. },
  23719. "modifytime": {
  23720. "description": "修改时间",
  23721. "type": "string"
  23722. },
  23723. "srccode": {
  23724. "description": "源品种代码",
  23725. "type": "string"
  23726. },
  23727. "srcexchangecode": {
  23728. "description": "源期货交易所",
  23729. "type": "string"
  23730. },
  23731. "srcgoodsgroupid": {
  23732. "description": "源品种ID",
  23733. "type": "integer"
  23734. },
  23735. "srcname": {
  23736. "description": "源品种名称",
  23737. "type": "string"
  23738. },
  23739. "srcunitid": {
  23740. "description": "源品种单位ID",
  23741. "type": "integer"
  23742. },
  23743. "srcunitidname": {
  23744. "description": "源品种单位名称",
  23745. "type": "string"
  23746. }
  23747. }
  23748. },
  23749. "models.ErmcpGoods": {
  23750. "type": "object",
  23751. "required": [
  23752. "goodscode",
  23753. "goodsid",
  23754. "goodsname",
  23755. "marketid"
  23756. ],
  23757. "properties": {
  23758. "agreeunit": {
  23759. "description": "合约单位",
  23760. "type": "number"
  23761. },
  23762. "areauserid": {
  23763. "description": "所属机构",
  23764. "type": "integer"
  23765. },
  23766. "auditaccountid": {
  23767. "description": "审核操作员账号",
  23768. "type": "integer"
  23769. },
  23770. "audittime": {
  23771. "description": "审核时间",
  23772. "type": "string"
  23773. },
  23774. "cancelaccountid": {
  23775. "description": "注销操作员账号",
  23776. "type": "integer"
  23777. },
  23778. "canceltime": {
  23779. "description": "注销时间",
  23780. "type": "string"
  23781. },
  23782. "closepricemode": {
  23783. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23784. "type": "integer"
  23785. },
  23786. "closepriceparam": {
  23787. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23788. "type": "number"
  23789. },
  23790. "createtime": {
  23791. "description": "创建时间",
  23792. "type": "string"
  23793. },
  23794. "creatorid": {
  23795. "description": "创建人",
  23796. "type": "integer"
  23797. },
  23798. "currencyid": {
  23799. "description": "报价货币ID",
  23800. "type": "integer"
  23801. },
  23802. "cutmode": {
  23803. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23804. "type": "integer"
  23805. },
  23806. "decimalplace": {
  23807. "description": "报价小数位",
  23808. "type": "integer"
  23809. },
  23810. "delistingdate": {
  23811. "description": "商品退市时间(状态:退市) -- 已作废",
  23812. "type": "string"
  23813. },
  23814. "delistingmode": {
  23815. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23816. "type": "integer"
  23817. },
  23818. "deliveryflag": {
  23819. "description": "交割标志 - 0:不可交割 1:可交割",
  23820. "type": "integer"
  23821. },
  23822. "enumdicname": {
  23823. "description": "单位名称",
  23824. "type": "string"
  23825. },
  23826. "forceclosemode": {
  23827. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23828. "type": "integer"
  23829. },
  23830. "forceclosevalue": {
  23831. "description": "定期强平参数 [收益权]",
  23832. "type": "integer"
  23833. },
  23834. "goodscode": {
  23835. "description": "商品代码(内部)",
  23836. "type": "string"
  23837. },
  23838. "goodscurrencyid": {
  23839. "description": "合约货币ID",
  23840. "type": "integer"
  23841. },
  23842. "goodsgroupid": {
  23843. "description": "所属商品组ID",
  23844. "type": "integer"
  23845. },
  23846. "goodsid": {
  23847. "description": "商品ID(自增ID SEQ_GOODS)",
  23848. "type": "integer"
  23849. },
  23850. "goodsname": {
  23851. "description": "商品名称",
  23852. "type": "string"
  23853. },
  23854. "goodsquotetype": {
  23855. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23856. "type": "integer"
  23857. },
  23858. "goodsstatus": {
  23859. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23860. "type": "integer"
  23861. },
  23862. "goodstradetype": {
  23863. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23864. "type": "integer"
  23865. },
  23866. "goodunitid": {
  23867. "description": "报价单位ID",
  23868. "type": "integer"
  23869. },
  23870. "hasquoter": {
  23871. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23872. "type": "integer"
  23873. },
  23874. "hqprotecttime": {
  23875. "description": "行情保护时间(秒)",
  23876. "type": "integer"
  23877. },
  23878. "innerdealmode": {
  23879. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23880. "type": "integer"
  23881. },
  23882. "isbuylimited": {
  23883. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23884. "type": "integer"
  23885. },
  23886. "isvisible": {
  23887. "description": "游客是否可见 - 0:不可见 1:可见",
  23888. "type": "integer"
  23889. },
  23890. "lasttradedate": {
  23891. "description": "最后交易日期(状态:待退市)",
  23892. "type": "string"
  23893. },
  23894. "listingdate": {
  23895. "description": "交易开始日期",
  23896. "type": "string"
  23897. },
  23898. "marketid": {
  23899. "description": "所属市场ID",
  23900. "type": "integer"
  23901. },
  23902. "modifierid": {
  23903. "description": "修改人",
  23904. "type": "integer"
  23905. },
  23906. "modifystatus": {
  23907. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23908. "type": "integer"
  23909. },
  23910. "modifytime": {
  23911. "description": "修改时间",
  23912. "type": "string"
  23913. },
  23914. "outerdealmode": {
  23915. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23916. "type": "integer"
  23917. },
  23918. "outgoodscode": {
  23919. "description": "商品代码(外部)",
  23920. "type": "string"
  23921. },
  23922. "pictureurl": {
  23923. "description": "商品图片",
  23924. "type": "string"
  23925. },
  23926. "qtydecimalplace": {
  23927. "description": "成交量小数位",
  23928. "type": "integer"
  23929. },
  23930. "quotegear": {
  23931. "description": "行情档位(1-10)",
  23932. "type": "integer"
  23933. },
  23934. "quoteminunit": {
  23935. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23936. "type": "integer"
  23937. },
  23938. "quoteshowtype": {
  23939. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23940. "type": "integer"
  23941. },
  23942. "quoteshowtypeinterval": {
  23943. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23944. "type": "integer"
  23945. },
  23946. "relatedgoodsid": {
  23947. "description": "关联参考商品ID",
  23948. "type": "integer"
  23949. },
  23950. "remark": {
  23951. "description": "备注",
  23952. "type": "string"
  23953. },
  23954. "trademode": {
  23955. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23956. "type": "integer"
  23957. }
  23958. }
  23959. },
  23960. "models.ErmcpGoodsBrand": {
  23961. "type": "object",
  23962. "properties": {
  23963. "areauserid": {
  23964. "description": "所属机构",
  23965. "type": "integer"
  23966. },
  23967. "brandid": {
  23968. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  23969. "type": "integer"
  23970. },
  23971. "brandname": {
  23972. "description": "品牌名称",
  23973. "type": "string"
  23974. },
  23975. "createtime": {
  23976. "description": "创建时间",
  23977. "type": "string"
  23978. },
  23979. "creatorid": {
  23980. "description": "创建人",
  23981. "type": "integer"
  23982. },
  23983. "creatorsrc": {
  23984. "description": "创建人来源 - 1:管理端 2:终端",
  23985. "type": "integer"
  23986. },
  23987. "deliverygoodsid": {
  23988. "description": "现货品种ID",
  23989. "type": "integer"
  23990. },
  23991. "isvalid": {
  23992. "description": "是否有效 - 0:无效 1:有效",
  23993. "type": "integer"
  23994. },
  23995. "updatetime": {
  23996. "description": "更新时间",
  23997. "type": "string"
  23998. },
  23999. "updatorid": {
  24000. "description": "更新人",
  24001. "type": "integer"
  24002. },
  24003. "updatorsrc": {
  24004. "description": "更新人来源 - 1:管理端 2:终端",
  24005. "type": "integer"
  24006. },
  24007. "wrstandardid": {
  24008. "description": "现货商品ID",
  24009. "type": "integer"
  24010. }
  24011. }
  24012. },
  24013. "models.ErmcpGoodsModel": {
  24014. "type": "object",
  24015. "properties": {
  24016. "areauserid": {
  24017. "description": "所属机构",
  24018. "type": "integer"
  24019. },
  24020. "convertfactor": {
  24021. "description": "标仓系数",
  24022. "type": "number"
  24023. },
  24024. "createtime": {
  24025. "description": "创建时间",
  24026. "type": "string"
  24027. },
  24028. "creatorid": {
  24029. "description": "创建人",
  24030. "type": "integer"
  24031. },
  24032. "creatorsrc": {
  24033. "description": "创建人来源 - 1:管理端 2:终端",
  24034. "type": "integer"
  24035. },
  24036. "deliverygoodsid": {
  24037. "description": "现货品种ID",
  24038. "type": "integer"
  24039. },
  24040. "isvalid": {
  24041. "description": "是否有效 - 0:无效 1:有效",
  24042. "type": "integer"
  24043. },
  24044. "modelid": {
  24045. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24046. "type": "integer"
  24047. },
  24048. "modelname": {
  24049. "description": "型号名称",
  24050. "type": "string"
  24051. },
  24052. "updatetime": {
  24053. "description": "更新时间",
  24054. "type": "string"
  24055. },
  24056. "updatorid": {
  24057. "description": "更新人",
  24058. "type": "integer"
  24059. },
  24060. "updatorsrc": {
  24061. "description": "更新人来源 - 1:管理端 2:终端",
  24062. "type": "integer"
  24063. },
  24064. "wrstandardid": {
  24065. "description": "现货商品ID",
  24066. "type": "integer"
  24067. }
  24068. }
  24069. },
  24070. "models.ErmcpHisExposure": {
  24071. "type": "object",
  24072. "properties": {
  24073. "needhedgeexposoure": {
  24074. "description": "应套保敞口",
  24075. "type": "number"
  24076. },
  24077. "reckondate": {
  24078. "description": "日照时期(yyyyMMdd)",
  24079. "type": "string"
  24080. },
  24081. "totalexposure": {
  24082. "description": "总敞口",
  24083. "type": "number"
  24084. }
  24085. }
  24086. },
  24087. "models.ErmcpLoginTaAccount": {
  24088. "type": "object",
  24089. "properties": {
  24090. "accountid": {
  24091. "description": "账号id",
  24092. "type": "integer"
  24093. },
  24094. "accountname": {
  24095. "description": "账号名称",
  24096. "type": "string"
  24097. }
  24098. }
  24099. },
  24100. "models.ErmcpLoginUser": {
  24101. "type": "object",
  24102. "properties": {
  24103. "acclist": {
  24104. "description": "关联资金账号",
  24105. "type": "array",
  24106. "items": {
  24107. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24108. }
  24109. },
  24110. "accountname": {
  24111. "description": "用户名称",
  24112. "type": "string"
  24113. },
  24114. "clientroleid": {
  24115. "description": "角色id(usertype=2)",
  24116. "type": "integer"
  24117. },
  24118. "createtime": {
  24119. "description": "创建时间",
  24120. "type": "string"
  24121. },
  24122. "logincode": {
  24123. "description": "登录代码",
  24124. "type": "string"
  24125. },
  24126. "loginid": {
  24127. "description": "登录id(LOGINID)",
  24128. "type": "integer"
  24129. },
  24130. "loginname": {
  24131. "description": "登录名称(loginaccount表中的accountname字段)",
  24132. "type": "string"
  24133. },
  24134. "loginstatus": {
  24135. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24136. "type": "integer"
  24137. },
  24138. "memberuserid": {
  24139. "description": "所属会员id",
  24140. "type": "integer"
  24141. },
  24142. "mobile": {
  24143. "description": "手机号",
  24144. "type": "string"
  24145. },
  24146. "modifytime": {
  24147. "description": "修改时间",
  24148. "type": "string"
  24149. },
  24150. "password": {
  24151. "description": "密码(不可解密)",
  24152. "type": "string"
  24153. },
  24154. "rolename": {
  24155. "description": "角色名称",
  24156. "type": "string"
  24157. },
  24158. "rolestatus": {
  24159. "description": "角色状态 1-启用 2-停用",
  24160. "type": "integer"
  24161. },
  24162. "roletype": {
  24163. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24164. "type": "string"
  24165. },
  24166. "userid": {
  24167. "description": "用户id",
  24168. "type": "integer"
  24169. },
  24170. "usertype": {
  24171. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24172. "type": "integer"
  24173. }
  24174. }
  24175. },
  24176. "models.ErmcpLoginUserEx": {
  24177. "type": "object",
  24178. "properties": {
  24179. "accountstatus": {
  24180. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24181. "type": "integer"
  24182. },
  24183. "mobile": {
  24184. "description": "手机号",
  24185. "type": "string"
  24186. },
  24187. "querytype": {
  24188. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24189. "type": "integer"
  24190. },
  24191. "roleid": {
  24192. "description": "角色id(交易账户-\u003e用户id)",
  24193. "type": "integer"
  24194. },
  24195. "rolename": {
  24196. "description": "角色名称(交易账户-\u003e用户名称)",
  24197. "type": "string"
  24198. },
  24199. "userlist": {
  24200. "description": "用户列表",
  24201. "type": "array",
  24202. "items": {
  24203. "$ref": "#/definitions/models.ErmcpLoginUser"
  24204. }
  24205. },
  24206. "usertype": {
  24207. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24208. "type": "integer"
  24209. }
  24210. }
  24211. },
  24212. "models.ErmcpMiddleGoodsModel": {
  24213. "type": "object",
  24214. "properties": {
  24215. "areauserid": {
  24216. "description": "机构用户ID",
  24217. "type": "integer"
  24218. },
  24219. "createtime": {
  24220. "description": "修改时间",
  24221. "type": "string"
  24222. },
  24223. "enumdicname": {
  24224. "description": "单位名称",
  24225. "type": "string"
  24226. },
  24227. "evaluateratio": {
  24228. "description": "估价系数",
  24229. "type": "number"
  24230. },
  24231. "goodsgroupid": {
  24232. "description": "关联期货品种ID",
  24233. "type": "integer"
  24234. },
  24235. "goodsunitid": {
  24236. "description": "单位ID",
  24237. "type": "integer"
  24238. },
  24239. "isvalid": {
  24240. "description": "状态 0-无效(停用) 1-有效(正常)",
  24241. "type": "integer"
  24242. },
  24243. "middlegoodscode": {
  24244. "description": "套保品种代码",
  24245. "type": "string"
  24246. },
  24247. "middlegoodsid": {
  24248. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24249. "type": "integer"
  24250. },
  24251. "middlegoodsname": {
  24252. "description": "套保品种名称",
  24253. "type": "string"
  24254. },
  24255. "modifytime": {
  24256. "description": "修改时间",
  24257. "type": "string"
  24258. },
  24259. "needarbitrageratio": {
  24260. "description": "套利比例",
  24261. "type": "number"
  24262. },
  24263. "needhedgeratio": {
  24264. "description": "套保比率",
  24265. "type": "number"
  24266. },
  24267. "qtydecimalplace": {
  24268. "description": "数量小数位",
  24269. "type": "integer"
  24270. },
  24271. "relatedgoodsid": {
  24272. "description": "关联交易商品ID",
  24273. "type": "integer"
  24274. },
  24275. "relatedgoodstype": {
  24276. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24277. "type": "integer"
  24278. },
  24279. "remark": {
  24280. "description": "备注",
  24281. "type": "string"
  24282. }
  24283. }
  24284. },
  24285. "models.ErmcpMiddlegoodsRelateGoods": {
  24286. "type": "object",
  24287. "properties": {
  24288. "agreeunit": {
  24289. "description": "合约乘数",
  24290. "type": "number"
  24291. },
  24292. "convertratio": {
  24293. "description": "折算系数",
  24294. "type": "number"
  24295. },
  24296. "enumdicname": {
  24297. "description": "单位名称(交易商品)",
  24298. "type": "string"
  24299. },
  24300. "goodscode": {
  24301. "description": "交易商品代码",
  24302. "type": "string"
  24303. },
  24304. "goodsgroupid": {
  24305. "description": "交易品种id",
  24306. "type": "integer"
  24307. },
  24308. "goodsid": {
  24309. "description": "商品Id",
  24310. "type": "integer"
  24311. },
  24312. "goodsname": {
  24313. "description": "交易商品名称",
  24314. "type": "string"
  24315. },
  24316. "goodunitid": {
  24317. "description": "交易商品单位id",
  24318. "type": "integer"
  24319. },
  24320. "middlegoodsid": {
  24321. "description": "套保商品id",
  24322. "type": "integer"
  24323. },
  24324. "middlegoodsname": {
  24325. "description": "套保商品名称",
  24326. "type": "string"
  24327. },
  24328. "middlegoodsswcode": {
  24329. "description": "套保商品代码",
  24330. "type": "string"
  24331. },
  24332. "needarbitrageratio": {
  24333. "description": "应套利比例",
  24334. "type": "number"
  24335. },
  24336. "needhedgeratio": {
  24337. "description": "应套保比例",
  24338. "type": "number"
  24339. }
  24340. }
  24341. },
  24342. "models.ErmcpRole": {
  24343. "type": "object",
  24344. "properties": {
  24345. "areauserid": {
  24346. "description": "所属机构",
  24347. "type": "integer"
  24348. },
  24349. "autoid": {
  24350. "description": "角色ID(自增ID)",
  24351. "type": "integer"
  24352. },
  24353. "modifierid": {
  24354. "description": "修改人(创建人)",
  24355. "type": "integer"
  24356. },
  24357. "modifiername": {
  24358. "description": "修改人名称",
  24359. "type": "string"
  24360. },
  24361. "modifytime": {
  24362. "description": "修改时间(创建时间)",
  24363. "type": "string"
  24364. },
  24365. "rolename": {
  24366. "description": "角色名称",
  24367. "type": "string"
  24368. },
  24369. "rolestatus": {
  24370. "description": "角色状态 - 1:启用 2:停用",
  24371. "type": "integer"
  24372. },
  24373. "roletype": {
  24374. "description": "角色类型 - 1- 管理端 2- 交易端",
  24375. "type": "integer"
  24376. }
  24377. }
  24378. },
  24379. "models.ErmcpRoleMenu": {
  24380. "type": "object",
  24381. "properties": {
  24382. "iconame": {
  24383. "description": "菜单图标",
  24384. "type": "string"
  24385. },
  24386. "ishadrole": {
  24387. "description": "是否有权限",
  24388. "type": "boolean"
  24389. },
  24390. "menutype": {
  24391. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  24392. "type": "integer"
  24393. },
  24394. "parentcode": {
  24395. "description": "上级资源代码",
  24396. "type": "string"
  24397. },
  24398. "remark": {
  24399. "description": "菜单备注",
  24400. "type": "string"
  24401. },
  24402. "resourcecode": {
  24403. "description": "菜单代码",
  24404. "type": "string"
  24405. },
  24406. "resourcelevel": {
  24407. "description": "级别",
  24408. "type": "integer"
  24409. },
  24410. "resourcename": {
  24411. "description": "菜单名称",
  24412. "type": "string"
  24413. },
  24414. "roleid": {
  24415. "description": "角色id",
  24416. "type": "integer"
  24417. },
  24418. "sort": {
  24419. "description": "排序",
  24420. "type": "integer"
  24421. },
  24422. "url": {
  24423. "description": "URL",
  24424. "type": "string"
  24425. },
  24426. "userid": {
  24427. "description": "用户id",
  24428. "type": "integer"
  24429. }
  24430. }
  24431. },
  24432. "models.ErmcpRoleMenuEx": {
  24433. "type": "object",
  24434. "properties": {
  24435. "menu": {
  24436. "description": "父级菜单",
  24437. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24438. },
  24439. "subMenu": {
  24440. "description": "子级菜单",
  24441. "type": "array",
  24442. "items": {
  24443. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24444. }
  24445. }
  24446. }
  24447. },
  24448. "models.ErmcpTaAccount": {
  24449. "type": "object",
  24450. "properties": {
  24451. "accountid": {
  24452. "description": "账户id",
  24453. "type": "integer"
  24454. },
  24455. "accountname": {
  24456. "description": "账户名称",
  24457. "type": "string"
  24458. },
  24459. "currencyid": {
  24460. "description": "币种id",
  24461. "type": "integer"
  24462. },
  24463. "hedgeaccountcode": {
  24464. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24465. "type": "string"
  24466. },
  24467. "ismain": {
  24468. "description": "是否主账户 0-否 1-是",
  24469. "type": "integer"
  24470. },
  24471. "parentaccountid": {
  24472. "description": "父账户id",
  24473. "type": "integer"
  24474. },
  24475. "relateduserid": {
  24476. "description": "关联userid",
  24477. "type": "integer"
  24478. },
  24479. "tradefeetmpid": {
  24480. "description": "手续费模板id",
  24481. "type": "integer"
  24482. },
  24483. "tradefeetmpname": {
  24484. "description": "手续费模板名称",
  24485. "type": "string"
  24486. },
  24487. "trademargintmpid": {
  24488. "description": "保证金模板id",
  24489. "type": "integer"
  24490. },
  24491. "trademargintmpname": {
  24492. "description": "保证金模板名称",
  24493. "type": "string"
  24494. },
  24495. "traderatetmpid": {
  24496. "description": "汇率模板id",
  24497. "type": "integer"
  24498. },
  24499. "traderatetmpname": {
  24500. "description": "汇率模板名称",
  24501. "type": "string"
  24502. },
  24503. "tradestatus": {
  24504. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24505. "type": "integer"
  24506. },
  24507. "userid": {
  24508. "description": "用户id",
  24509. "type": "integer"
  24510. }
  24511. }
  24512. },
  24513. "models.ErmcpTaAccountEx": {
  24514. "type": "object",
  24515. "properties": {
  24516. "mainAcc": {
  24517. "description": "主账号",
  24518. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24519. },
  24520. "subacclist": {
  24521. "description": "子账号列表",
  24522. "type": "array",
  24523. "items": {
  24524. "$ref": "#/definitions/models.ErmcpTaAccount"
  24525. }
  24526. }
  24527. }
  24528. },
  24529. "models.ErmcpTaAccountInfo": {
  24530. "type": "object",
  24531. "properties": {
  24532. "accountid": {
  24533. "description": "资金账户ID",
  24534. "type": "integer"
  24535. },
  24536. "accountname": {
  24537. "description": "账户名称",
  24538. "type": "string"
  24539. },
  24540. "balance": {
  24541. "description": "期初余额",
  24542. "type": "number"
  24543. },
  24544. "capitalbalance": {
  24545. "description": "本金余额[外部子账户实际出入金余额]",
  24546. "type": "number"
  24547. },
  24548. "closepl": {
  24549. "description": "今日平仓盈亏",
  24550. "type": "number"
  24551. },
  24552. "creditdecrease": {
  24553. "description": "今日授信减少",
  24554. "type": "number"
  24555. },
  24556. "creditincrease": {
  24557. "description": "今日授信增加",
  24558. "type": "number"
  24559. },
  24560. "curdebt": {
  24561. "description": "期末欠款",
  24562. "type": "number"
  24563. },
  24564. "currencyid": {
  24565. "description": "货币ID",
  24566. "type": "integer"
  24567. },
  24568. "currentbalance": {
  24569. "description": "期末余额",
  24570. "type": "number"
  24571. },
  24572. "freezecharge": {
  24573. "description": "手续费冻结",
  24574. "type": "number"
  24575. },
  24576. "freezemargin": {
  24577. "description": "冻结保证金",
  24578. "type": "number"
  24579. },
  24580. "fromaccountid": {
  24581. "description": "所属上级账户",
  24582. "type": "integer"
  24583. },
  24584. "inamount": {
  24585. "description": "今日入金金额(包括三方入金)",
  24586. "type": "number"
  24587. },
  24588. "ismain": {
  24589. "description": "是否母账号 0:不是母账户 1:是母账户",
  24590. "type": "integer"
  24591. },
  24592. "mortgagecredit": {
  24593. "description": "授信金额",
  24594. "type": "number"
  24595. },
  24596. "oridebt": {
  24597. "description": "期初欠款",
  24598. "type": "number"
  24599. },
  24600. "orifreezecharge": {
  24601. "description": "期初手续费冻结",
  24602. "type": "number"
  24603. },
  24604. "orifreezemargin": {
  24605. "description": "期初冻结保证金",
  24606. "type": "number"
  24607. },
  24608. "orimortgagecredit": {
  24609. "description": "期初授信金额",
  24610. "type": "number"
  24611. },
  24612. "oriothercredit": {
  24613. "description": "期初其它授信金额",
  24614. "type": "number"
  24615. },
  24616. "oriotherfreezemargin": {
  24617. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24618. "type": "number"
  24619. },
  24620. "orioutamountfreeze": {
  24621. "description": "期初出金冻结",
  24622. "type": "number"
  24623. },
  24624. "oriusedmargin": {
  24625. "description": "期初占用保证金",
  24626. "type": "number"
  24627. },
  24628. "othercredit": {
  24629. "description": "其它授信金额",
  24630. "type": "number"
  24631. },
  24632. "othercreditdecrease": {
  24633. "description": "今日其它授信减少",
  24634. "type": "number"
  24635. },
  24636. "othercreditincrease": {
  24637. "description": "今日其它授信增加",
  24638. "type": "number"
  24639. },
  24640. "otherfreezemargin": {
  24641. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24642. "type": "number"
  24643. },
  24644. "outamount": {
  24645. "description": "今日出金金额(包括三方出金)",
  24646. "type": "number"
  24647. },
  24648. "outamountfreeze": {
  24649. "description": "出金冻结",
  24650. "type": "number"
  24651. },
  24652. "outthreshold": {
  24653. "description": "出金阈值",
  24654. "type": "number"
  24655. },
  24656. "parentaccountid": {
  24657. "description": "所属根账号",
  24658. "type": "integer"
  24659. },
  24660. "paycharge": {
  24661. "description": "今日手续费支出",
  24662. "type": "number"
  24663. },
  24664. "relateduserid": {
  24665. "description": "关联用户",
  24666. "type": "integer"
  24667. },
  24668. "signstatus": {
  24669. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24670. "type": "integer"
  24671. },
  24672. "sublevelpath": {
  24673. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24674. "type": "string"
  24675. },
  24676. "taaccounttype": {
  24677. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24678. "type": "integer"
  24679. },
  24680. "thirdinamount": {
  24681. "description": "今日三方入金",
  24682. "type": "number"
  24683. },
  24684. "thirdoutamount": {
  24685. "description": "今日三方出金",
  24686. "type": "number"
  24687. },
  24688. "tradestatus": {
  24689. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24690. "type": "integer"
  24691. },
  24692. "transferamount": {
  24693. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24694. "type": "number"
  24695. },
  24696. "usedmargin": {
  24697. "description": "占用保证金",
  24698. "type": "number"
  24699. },
  24700. "userid": {
  24701. "description": "用户ID",
  24702. "type": "integer"
  24703. }
  24704. }
  24705. },
  24706. "models.ErmcpTaAccountM": {
  24707. "type": "object",
  24708. "properties": {
  24709. "accountid": {
  24710. "description": "账户id",
  24711. "type": "integer"
  24712. },
  24713. "accountname": {
  24714. "description": "账户名称",
  24715. "type": "string"
  24716. },
  24717. "currencyid": {
  24718. "description": "币种id",
  24719. "type": "integer"
  24720. },
  24721. "fcid": {
  24722. "description": "期货公司id",
  24723. "type": "integer"
  24724. },
  24725. "fcname": {
  24726. "description": "期货公司代码",
  24727. "type": "string"
  24728. },
  24729. "hedgeaccountcode": {
  24730. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24731. "type": "string"
  24732. },
  24733. "ismain": {
  24734. "description": "是否主账户 0-否 1-是",
  24735. "type": "integer"
  24736. },
  24737. "parentaccountid": {
  24738. "description": "父账户id",
  24739. "type": "integer"
  24740. },
  24741. "relateduserid": {
  24742. "description": "关联userid",
  24743. "type": "integer"
  24744. },
  24745. "tradefeetmpid": {
  24746. "description": "手续费模板id",
  24747. "type": "integer"
  24748. },
  24749. "tradefeetmpname": {
  24750. "description": "手续费模板名称",
  24751. "type": "string"
  24752. },
  24753. "trademargintmpid": {
  24754. "description": "保证金模板id",
  24755. "type": "integer"
  24756. },
  24757. "trademargintmpname": {
  24758. "description": "保证金模板名称",
  24759. "type": "string"
  24760. },
  24761. "traderatetmpid": {
  24762. "description": "汇率模板id",
  24763. "type": "integer"
  24764. },
  24765. "traderatetmpname": {
  24766. "description": "汇率模板名称",
  24767. "type": "string"
  24768. },
  24769. "tradestatus": {
  24770. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24771. "type": "integer"
  24772. },
  24773. "userid": {
  24774. "description": "用户id",
  24775. "type": "integer"
  24776. }
  24777. }
  24778. },
  24779. "models.ErmcpTradeConfigTMP": {
  24780. "type": "object",
  24781. "properties": {
  24782. "areauserid": {
  24783. "description": "所属机构",
  24784. "type": "integer"
  24785. },
  24786. "basiccurrencyid": {
  24787. "description": "基本币种ID[汇率] - 目标币种",
  24788. "type": "integer"
  24789. },
  24790. "mainaccountid": {
  24791. "description": "主账户ID",
  24792. "type": "integer"
  24793. },
  24794. "modifierid": {
  24795. "description": "修改人",
  24796. "type": "integer"
  24797. },
  24798. "remark": {
  24799. "description": "备注",
  24800. "type": "string"
  24801. },
  24802. "tradeconfigtmpid": {
  24803. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24804. "type": "integer"
  24805. },
  24806. "tradeconfigtmpname": {
  24807. "description": "交易配置模板名称",
  24808. "type": "string"
  24809. },
  24810. "tradeconfigtmptype": {
  24811. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  24812. "type": "integer"
  24813. },
  24814. "updatetime": {
  24815. "description": "更新时间",
  24816. "type": "string"
  24817. }
  24818. }
  24819. },
  24820. "models.Externalexchange": {
  24821. "type": "object",
  24822. "required": [
  24823. "autoid"
  24824. ],
  24825. "properties": {
  24826. "autoid": {
  24827. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  24828. "type": "integer"
  24829. },
  24830. "exchangefullname": {
  24831. "description": "外部交易所全称",
  24832. "type": "string"
  24833. },
  24834. "exexchangecode": {
  24835. "description": "外部交易所代码",
  24836. "type": "string"
  24837. },
  24838. "exexchangename": {
  24839. "description": "外部交易所名称(简称)",
  24840. "type": "string"
  24841. },
  24842. "ismarketprice": {
  24843. "description": "是否支持市价 - 0:不支持 1:支持",
  24844. "type": "integer"
  24845. },
  24846. "quotegear": {
  24847. "description": "行情档位(1-10)",
  24848. "type": "integer"
  24849. },
  24850. "showbrokerflag": {
  24851. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  24852. "type": "integer"
  24853. },
  24854. "updatetime": {
  24855. "description": "更新时间",
  24856. "type": "string"
  24857. }
  24858. }
  24859. },
  24860. "models.Funcmenulist": {
  24861. "type": "object",
  24862. "required": [
  24863. "resourcecode"
  24864. ],
  24865. "properties": {
  24866. "iconame": {
  24867. "description": "菜单图标",
  24868. "type": "string"
  24869. },
  24870. "menutype": {
  24871. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  24872. "type": "integer"
  24873. },
  24874. "parentcode": {
  24875. "description": "上级资源代码",
  24876. "type": "string"
  24877. },
  24878. "remark": {
  24879. "description": "备注",
  24880. "type": "string"
  24881. },
  24882. "resourcecode": {
  24883. "description": "资源代码",
  24884. "type": "string"
  24885. },
  24886. "resourcelevel": {
  24887. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  24888. "type": "integer"
  24889. },
  24890. "resourcename": {
  24891. "description": "资源名",
  24892. "type": "string"
  24893. },
  24894. "sort": {
  24895. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  24896. "type": "integer"
  24897. },
  24898. "url": {
  24899. "description": "URL",
  24900. "type": "string"
  24901. }
  24902. }
  24903. },
  24904. "models.Goods": {
  24905. "type": "object",
  24906. "required": [
  24907. "goodscode",
  24908. "goodsid",
  24909. "goodsname",
  24910. "marketid"
  24911. ],
  24912. "properties": {
  24913. "agreeunit": {
  24914. "description": "合约单位",
  24915. "type": "number"
  24916. },
  24917. "areauserid": {
  24918. "description": "所属机构",
  24919. "type": "integer"
  24920. },
  24921. "auditaccountid": {
  24922. "description": "审核操作员账号",
  24923. "type": "integer"
  24924. },
  24925. "audittime": {
  24926. "description": "审核时间",
  24927. "type": "string"
  24928. },
  24929. "cancelaccountid": {
  24930. "description": "注销操作员账号",
  24931. "type": "integer"
  24932. },
  24933. "canceltime": {
  24934. "description": "注销时间",
  24935. "type": "string"
  24936. },
  24937. "closepricemode": {
  24938. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24939. "type": "integer"
  24940. },
  24941. "closepriceparam": {
  24942. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24943. "type": "number"
  24944. },
  24945. "createtime": {
  24946. "description": "创建时间",
  24947. "type": "string"
  24948. },
  24949. "creatorid": {
  24950. "description": "创建人",
  24951. "type": "integer"
  24952. },
  24953. "currencyid": {
  24954. "description": "报价货币ID",
  24955. "type": "integer"
  24956. },
  24957. "cutmode": {
  24958. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24959. "type": "integer"
  24960. },
  24961. "decimalplace": {
  24962. "description": "报价小数位",
  24963. "type": "integer"
  24964. },
  24965. "delistingdate": {
  24966. "description": "商品退市时间(状态:退市) -- 已作废",
  24967. "type": "string"
  24968. },
  24969. "delistingmode": {
  24970. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24971. "type": "integer"
  24972. },
  24973. "deliveryflag": {
  24974. "description": "交割标志 - 0:不可交割 1:可交割",
  24975. "type": "integer"
  24976. },
  24977. "forceclosemode": {
  24978. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24979. "type": "integer"
  24980. },
  24981. "forceclosevalue": {
  24982. "description": "定期强平参数 [收益权]",
  24983. "type": "integer"
  24984. },
  24985. "goodscode": {
  24986. "description": "商品代码(内部)",
  24987. "type": "string"
  24988. },
  24989. "goodscurrencyid": {
  24990. "description": "合约货币ID",
  24991. "type": "integer"
  24992. },
  24993. "goodsgroupid": {
  24994. "description": "所属商品组ID",
  24995. "type": "integer"
  24996. },
  24997. "goodsid": {
  24998. "description": "商品ID(自增ID SEQ_GOODS)",
  24999. "type": "integer"
  25000. },
  25001. "goodsname": {
  25002. "description": "商品名称",
  25003. "type": "string"
  25004. },
  25005. "goodsquotetype": {
  25006. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25007. "type": "integer"
  25008. },
  25009. "goodsstatus": {
  25010. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25011. "type": "integer"
  25012. },
  25013. "goodstradetype": {
  25014. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25015. "type": "integer"
  25016. },
  25017. "goodunitid": {
  25018. "description": "报价单位ID",
  25019. "type": "integer"
  25020. },
  25021. "hasquoter": {
  25022. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25023. "type": "integer"
  25024. },
  25025. "hqprotecttime": {
  25026. "description": "行情保护时间(秒)",
  25027. "type": "integer"
  25028. },
  25029. "innerdealmode": {
  25030. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25031. "type": "integer"
  25032. },
  25033. "isbuylimited": {
  25034. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25035. "type": "integer"
  25036. },
  25037. "isvisible": {
  25038. "description": "游客是否可见 - 0:不可见 1:可见",
  25039. "type": "integer"
  25040. },
  25041. "lasttradedate": {
  25042. "description": "最后交易日期(状态:待退市)",
  25043. "type": "string"
  25044. },
  25045. "listingdate": {
  25046. "description": "交易开始日期",
  25047. "type": "string"
  25048. },
  25049. "marketid": {
  25050. "description": "所属市场ID",
  25051. "type": "integer"
  25052. },
  25053. "modifierid": {
  25054. "description": "修改人",
  25055. "type": "integer"
  25056. },
  25057. "modifystatus": {
  25058. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25059. "type": "integer"
  25060. },
  25061. "modifytime": {
  25062. "description": "修改时间",
  25063. "type": "string"
  25064. },
  25065. "outerdealmode": {
  25066. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25067. "type": "integer"
  25068. },
  25069. "outgoodscode": {
  25070. "description": "商品代码(外部)",
  25071. "type": "string"
  25072. },
  25073. "pictureurl": {
  25074. "description": "商品图片",
  25075. "type": "string"
  25076. },
  25077. "qtydecimalplace": {
  25078. "description": "成交量小数位",
  25079. "type": "integer"
  25080. },
  25081. "quotegear": {
  25082. "description": "行情档位(1-10)",
  25083. "type": "integer"
  25084. },
  25085. "quoteminunit": {
  25086. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25087. "type": "integer"
  25088. },
  25089. "quoteshowtype": {
  25090. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25091. "type": "integer"
  25092. },
  25093. "quoteshowtypeinterval": {
  25094. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25095. "type": "integer"
  25096. },
  25097. "remark": {
  25098. "description": "备注",
  25099. "type": "string"
  25100. }
  25101. }
  25102. },
  25103. "models.GoodsIDAndName": {
  25104. "type": "object",
  25105. "required": [
  25106. "goodscode",
  25107. "goodsid",
  25108. "goodsname",
  25109. "marketid"
  25110. ],
  25111. "properties": {
  25112. "goodscode": {
  25113. "description": "商品代码(内部)",
  25114. "type": "string"
  25115. },
  25116. "goodsid": {
  25117. "description": "商品ID(自增ID SEQ_GOODS)",
  25118. "type": "integer"
  25119. },
  25120. "goodsname": {
  25121. "description": "商品名称",
  25122. "type": "string"
  25123. },
  25124. "marketid": {
  25125. "description": "所属市场ID",
  25126. "type": "integer"
  25127. }
  25128. }
  25129. },
  25130. "models.Goodsgroup": {
  25131. "type": "object",
  25132. "required": [
  25133. "goodsgroupid",
  25134. "goodsgroupname",
  25135. "goodsgroupstatus",
  25136. "marketid"
  25137. ],
  25138. "properties": {
  25139. "agreeunit": {
  25140. "description": "合约单位",
  25141. "type": "number"
  25142. },
  25143. "canshort": {
  25144. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25145. "type": "integer"
  25146. },
  25147. "closepricemode": {
  25148. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25149. "type": "integer"
  25150. },
  25151. "closepriceparam": {
  25152. "description": "强平最新价浮动比例 - 方式为2时使用",
  25153. "type": "number"
  25154. },
  25155. "createtime": {
  25156. "description": "创建时间",
  25157. "type": "string"
  25158. },
  25159. "creatorid": {
  25160. "description": "创建人",
  25161. "type": "integer"
  25162. },
  25163. "currencyid": {
  25164. "description": "报价货币ID",
  25165. "type": "integer"
  25166. },
  25167. "decimalplace": {
  25168. "description": "报价小数位",
  25169. "type": "integer"
  25170. },
  25171. "exercisetype": {
  25172. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25173. "type": "integer"
  25174. },
  25175. "exexchangeid": {
  25176. "description": "外部交易所ID[通道交易]",
  25177. "type": "integer"
  25178. },
  25179. "goodsgroupid": {
  25180. "description": "商品组ID(自增ID)",
  25181. "type": "integer"
  25182. },
  25183. "goodsgroupname": {
  25184. "description": "商品组名称",
  25185. "type": "string"
  25186. },
  25187. "goodsgroupstatus": {
  25188. "description": "商品组状态 - 1:正常 2:注销",
  25189. "type": "integer"
  25190. },
  25191. "goodunitid": {
  25192. "description": "报价单位ID",
  25193. "type": "integer"
  25194. },
  25195. "innerdealmode": {
  25196. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25197. "type": "integer"
  25198. },
  25199. "isbuylimited": {
  25200. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25201. "type": "integer"
  25202. },
  25203. "marketid": {
  25204. "description": "所属市场ID",
  25205. "type": "integer"
  25206. },
  25207. "modifierid": {
  25208. "description": "修改人",
  25209. "type": "integer"
  25210. },
  25211. "modifytime": {
  25212. "description": "修改时间",
  25213. "type": "string"
  25214. },
  25215. "outerdealmode": {
  25216. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25217. "type": "integer"
  25218. },
  25219. "outergroupcode": {
  25220. "description": "外部商品组代码[通道交易]",
  25221. "type": "string"
  25222. },
  25223. "premiumdecimalplace": {
  25224. "description": "权利金小数位[场外期权]",
  25225. "type": "integer"
  25226. },
  25227. "premiumspreadalgorithm": {
  25228. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25229. "type": "integer"
  25230. },
  25231. "premiumspreadvalue": {
  25232. "description": "权利金点差值[场外期权]",
  25233. "type": "number"
  25234. },
  25235. "qtydecimalplace": {
  25236. "description": "成交量小数位",
  25237. "type": "integer"
  25238. },
  25239. "quotegear": {
  25240. "description": "行情档位(1-10)",
  25241. "type": "integer"
  25242. },
  25243. "quoteminunit": {
  25244. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25245. "type": "integer"
  25246. },
  25247. "quoterid": {
  25248. "description": "报价商ID[场外期权]",
  25249. "type": "integer"
  25250. },
  25251. "quotesourcegroupid": {
  25252. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25253. "type": "integer"
  25254. },
  25255. "syncgoodsqty": {
  25256. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25257. "type": "integer"
  25258. }
  25259. }
  25260. },
  25261. "models.Goodssortbypreposition": {
  25262. "type": "object",
  25263. "required": [
  25264. "goodscode",
  25265. "tradedate"
  25266. ],
  25267. "properties": {
  25268. "goodscode": {
  25269. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25270. "type": "string"
  25271. },
  25272. "goodsgroupcode": {
  25273. "description": "品种代码",
  25274. "type": "string"
  25275. },
  25276. "prepositionqty": {
  25277. "description": "昨持仓量",
  25278. "type": "integer"
  25279. },
  25280. "sortindex": {
  25281. "description": "排序",
  25282. "type": "integer"
  25283. },
  25284. "tradedate": {
  25285. "description": "交易日",
  25286. "type": "string"
  25287. },
  25288. "updatetime": {
  25289. "description": "更新时间",
  25290. "type": "string"
  25291. }
  25292. }
  25293. },
  25294. "models.Hedgeinnerholderdetail": {
  25295. "type": "object",
  25296. "required": [
  25297. "buyorsell",
  25298. "tradeid"
  25299. ],
  25300. "properties": {
  25301. "accountid": {
  25302. "description": "账号ID",
  25303. "type": "integer"
  25304. },
  25305. "buyorsell": {
  25306. "description": "方向 - 0:买 1:卖",
  25307. "type": "integer"
  25308. },
  25309. "freezeqty": {
  25310. "description": "冻结数量 - 按单平使用",
  25311. "type": "integer"
  25312. },
  25313. "goodsid": {
  25314. "description": "商品ID",
  25315. "type": "integer"
  25316. },
  25317. "holderamount": {
  25318. "description": "持仓金额 [商品币种]",
  25319. "type": "number"
  25320. },
  25321. "holderdays": {
  25322. "description": "剩余冻结天数",
  25323. "type": "integer"
  25324. },
  25325. "holderprice": {
  25326. "description": "持仓价格",
  25327. "type": "number"
  25328. },
  25329. "holderqty": {
  25330. "description": "持仓数量",
  25331. "type": "integer"
  25332. },
  25333. "marketid": {
  25334. "description": "市场ID",
  25335. "type": "integer"
  25336. },
  25337. "openprice": {
  25338. "description": "建仓价格",
  25339. "type": "number"
  25340. },
  25341. "openqty": {
  25342. "description": "建仓数量",
  25343. "type": "integer"
  25344. },
  25345. "parentaccountid": {
  25346. "description": "所属母账户",
  25347. "type": "integer"
  25348. },
  25349. "releaseamount": {
  25350. "description": "释放持仓金额[商品币种]",
  25351. "type": "number"
  25352. },
  25353. "tradeamount": {
  25354. "description": "成交金额[账户]",
  25355. "type": "number"
  25356. },
  25357. "tradedate": {
  25358. "description": "交易日(yyyyMMdd)",
  25359. "type": "string"
  25360. },
  25361. "tradeid": {
  25362. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25363. "type": "string"
  25364. },
  25365. "tradetime": {
  25366. "description": "交易时间",
  25367. "type": "string"
  25368. }
  25369. }
  25370. },
  25371. "models.Hedgemarketopenlog": {
  25372. "type": "object",
  25373. "required": [
  25374. "accountid"
  25375. ],
  25376. "properties": {
  25377. "accountid": {
  25378. "description": "资金账号[外部母账户]",
  25379. "type": "integer"
  25380. },
  25381. "fcname": {
  25382. "description": "期货公司名称",
  25383. "type": "string"
  25384. },
  25385. "handlestatus": {
  25386. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25387. "type": "integer"
  25388. },
  25389. "marketid": {
  25390. "description": "市场ID",
  25391. "type": "integer"
  25392. },
  25393. "status": {
  25394. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25395. "type": "integer"
  25396. },
  25397. "tradedate": {
  25398. "description": "交易日(yyyyMMdd)",
  25399. "type": "string"
  25400. },
  25401. "updatetime": {
  25402. "description": "更新时间",
  25403. "type": "string"
  25404. }
  25405. }
  25406. },
  25407. "models.HsbyBuyMyPayOrder": {
  25408. "type": "object",
  25409. "required": [
  25410. "goodscode",
  25411. "goodsname",
  25412. "tradeid",
  25413. "trademode"
  25414. ],
  25415. "properties": {
  25416. "agreeunit": {
  25417. "description": "合约单位",
  25418. "type": "number"
  25419. },
  25420. "buyaccountid": {
  25421. "description": "买方账号ID[报价币种]",
  25422. "type": "integer"
  25423. },
  25424. "buyorderid": {
  25425. "description": "买方委托单号",
  25426. "type": "string"
  25427. },
  25428. "createtime": {
  25429. "description": "创建时间",
  25430. "type": "string"
  25431. },
  25432. "currencysign": {
  25433. "description": "货币符号",
  25434. "type": "string"
  25435. },
  25436. "decimalplace": {
  25437. "description": "报价小数位",
  25438. "type": "integer"
  25439. },
  25440. "goodscode": {
  25441. "description": "商品代码(内部)",
  25442. "type": "string"
  25443. },
  25444. "goodsid": {
  25445. "description": "商品ID",
  25446. "type": "integer"
  25447. },
  25448. "goodsname": {
  25449. "description": "商品名称",
  25450. "type": "string"
  25451. },
  25452. "marketid": {
  25453. "description": "市场ID",
  25454. "type": "integer"
  25455. },
  25456. "offamount": {
  25457. "description": "优惠金额",
  25458. "type": "number"
  25459. },
  25460. "originalamount": {
  25461. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25462. "type": "number"
  25463. },
  25464. "payamount": {
  25465. "description": "支付金额 = TradeAmount + TradeCharge",
  25466. "type": "number"
  25467. },
  25468. "payflag": {
  25469. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25470. "type": "integer"
  25471. },
  25472. "paylimitedtime": {
  25473. "description": "支付期限",
  25474. "type": "string"
  25475. },
  25476. "paytime": {
  25477. "description": "付款时间",
  25478. "type": "string"
  25479. },
  25480. "picurls1": {
  25481. "description": "预售商品介绍图片[多张用逗号分隔]",
  25482. "type": "string"
  25483. },
  25484. "picurls2": {
  25485. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25486. "type": "string"
  25487. },
  25488. "sellaccountid": {
  25489. "description": "卖方账号ID[报价币种]",
  25490. "type": "integer"
  25491. },
  25492. "sellorderid": {
  25493. "description": "卖方委托单号",
  25494. "type": "string"
  25495. },
  25496. "tradeamount": {
  25497. "description": "成交金额",
  25498. "type": "number"
  25499. },
  25500. "tradecharge": {
  25501. "description": "成交手续费(买方)",
  25502. "type": "number"
  25503. },
  25504. "tradedate": {
  25505. "description": "交易日(yyyyMMdd)",
  25506. "type": "string"
  25507. },
  25508. "tradeid": {
  25509. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25510. "type": "string"
  25511. },
  25512. "trademode": {
  25513. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25514. "type": "integer"
  25515. },
  25516. "tradeprice": {
  25517. "description": "成交价格",
  25518. "type": "number"
  25519. },
  25520. "tradeqty": {
  25521. "description": "成交数量",
  25522. "type": "integer"
  25523. },
  25524. "vendorname1": {
  25525. "description": "预售商品供应商名称",
  25526. "type": "string"
  25527. },
  25528. "vendorname2": {
  25529. "description": "挂牌商品供应商名称",
  25530. "type": "string"
  25531. }
  25532. }
  25533. },
  25534. "models.HsbyBuyMyTradeDetail": {
  25535. "type": "object",
  25536. "required": [
  25537. "accountid",
  25538. "buyorsell",
  25539. "goodscode",
  25540. "goodsid",
  25541. "goodsname",
  25542. "marketid",
  25543. "orderid",
  25544. "qty",
  25545. "time",
  25546. "trademode"
  25547. ],
  25548. "properties": {
  25549. "accountid": {
  25550. "description": "账户ID[报价币种]",
  25551. "type": "integer"
  25552. },
  25553. "agreeunit": {
  25554. "description": "合约单位",
  25555. "type": "number"
  25556. },
  25557. "amount": {
  25558. "description": "金额 = 价格 * 数量 * 合约单位",
  25559. "type": "number"
  25560. },
  25561. "buyorsell": {
  25562. "description": "买卖 - 0:买 1:卖",
  25563. "type": "integer"
  25564. },
  25565. "currencysign": {
  25566. "description": "货币符号",
  25567. "type": "string"
  25568. },
  25569. "decimalplace": {
  25570. "description": "报价小数位",
  25571. "type": "integer"
  25572. },
  25573. "goodscode": {
  25574. "description": "商品代码(内部)",
  25575. "type": "string"
  25576. },
  25577. "goodsid": {
  25578. "description": "商品ID",
  25579. "type": "integer"
  25580. },
  25581. "goodsname": {
  25582. "description": "商品名称",
  25583. "type": "string"
  25584. },
  25585. "marketid": {
  25586. "description": "市场ID",
  25587. "type": "integer"
  25588. },
  25589. "orderamount": {
  25590. "description": "委托金额",
  25591. "type": "number"
  25592. },
  25593. "orderid": {
  25594. "description": "单号(成交单号)",
  25595. "type": "string"
  25596. },
  25597. "picurls1": {
  25598. "description": "预售商品介绍图片[多张用逗号分隔]",
  25599. "type": "string"
  25600. },
  25601. "picurls2": {
  25602. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25603. "type": "string"
  25604. },
  25605. "price": {
  25606. "description": "价格",
  25607. "type": "number"
  25608. },
  25609. "qty": {
  25610. "description": "数量",
  25611. "type": "integer"
  25612. },
  25613. "time": {
  25614. "description": "时间",
  25615. "type": "string"
  25616. },
  25617. "trademode": {
  25618. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25619. "type": "integer"
  25620. },
  25621. "vendorname1": {
  25622. "description": "预售商品供应商名称",
  25623. "type": "string"
  25624. },
  25625. "vendorname2": {
  25626. "description": "挂牌商品供应商名称",
  25627. "type": "string"
  25628. }
  25629. }
  25630. },
  25631. "models.HsbyGoodsOrderDetail": {
  25632. "type": "object",
  25633. "required": [
  25634. "buyorsell",
  25635. "orderid",
  25636. "ordertime"
  25637. ],
  25638. "properties": {
  25639. "buyorsell": {
  25640. "description": "买卖 - 0:买 1:卖",
  25641. "type": "integer"
  25642. },
  25643. "currencysign": {
  25644. "description": "货币符号",
  25645. "type": "string"
  25646. },
  25647. "customername": {
  25648. "description": "客户名称(企业名称),已脱敏",
  25649. "type": "string"
  25650. },
  25651. "enableqty": {
  25652. "description": "可用数量",
  25653. "type": "integer"
  25654. },
  25655. "goodunit": {
  25656. "description": "报价单位",
  25657. "type": "string"
  25658. },
  25659. "orderid": {
  25660. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25661. "type": "string"
  25662. },
  25663. "orderprice": {
  25664. "description": "委托价格",
  25665. "type": "number"
  25666. },
  25667. "ordertime": {
  25668. "description": "委托时间",
  25669. "type": "string"
  25670. }
  25671. }
  25672. },
  25673. "models.HsbyListingGoodsDetail": {
  25674. "type": "object",
  25675. "required": [
  25676. "goodscode",
  25677. "goodsid",
  25678. "goodsname",
  25679. "marketid",
  25680. "trademode"
  25681. ],
  25682. "properties": {
  25683. "agreeunit": {
  25684. "description": "合约单位",
  25685. "type": "number"
  25686. },
  25687. "buymaxqty": {
  25688. "description": "购买上限 [71] - 0为不限",
  25689. "type": "integer"
  25690. },
  25691. "currency": {
  25692. "description": "货币",
  25693. "type": "string"
  25694. },
  25695. "currencysign": {
  25696. "description": "货币符号",
  25697. "type": "string"
  25698. },
  25699. "decimalplace": {
  25700. "description": "报价小数位",
  25701. "type": "integer"
  25702. },
  25703. "desccityid": {
  25704. "description": "目的地(市)ID",
  25705. "type": "integer"
  25706. },
  25707. "descprovinceid": {
  25708. "description": "目的地(省)ID",
  25709. "type": "integer"
  25710. },
  25711. "goodscode": {
  25712. "description": "商品代码(内部)",
  25713. "type": "string"
  25714. },
  25715. "goodsdesc": {
  25716. "description": "商品详情",
  25717. "type": "string"
  25718. },
  25719. "goodsid": {
  25720. "description": "商品ID(自增ID SEQ_GOODS)",
  25721. "type": "integer"
  25722. },
  25723. "goodsname": {
  25724. "description": "商品名称",
  25725. "type": "string"
  25726. },
  25727. "goodsprice": {
  25728. "description": "商品价格",
  25729. "type": "number"
  25730. },
  25731. "hotindex": {
  25732. "description": "景点热度",
  25733. "type": "integer"
  25734. },
  25735. "last": {
  25736. "description": "现价",
  25737. "type": "number"
  25738. },
  25739. "limitdown": {
  25740. "description": "跌停价",
  25741. "type": "number"
  25742. },
  25743. "limitup": {
  25744. "description": "涨停价",
  25745. "type": "number"
  25746. },
  25747. "lotsize": {
  25748. "description": "手数最小变动单位",
  25749. "type": "integer"
  25750. },
  25751. "marketid": {
  25752. "description": "所属市场ID",
  25753. "type": "integer"
  25754. },
  25755. "picurls": {
  25756. "description": "介绍图片[多张用逗号分隔]",
  25757. "type": "string"
  25758. },
  25759. "quoteminunit": {
  25760. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25761. "type": "integer"
  25762. },
  25763. "stepvalue": {
  25764. "description": "价格最小变动单位",
  25765. "type": "number"
  25766. },
  25767. "trademode": {
  25768. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25769. "type": "integer"
  25770. },
  25771. "vendorattr": {
  25772. "description": "供应商附件(多张,逗号分隔)",
  25773. "type": "string"
  25774. },
  25775. "vendorname": {
  25776. "description": "供应商名称",
  25777. "type": "string"
  25778. },
  25779. "vendorphone": {
  25780. "description": "供应商客服电话",
  25781. "type": "string"
  25782. },
  25783. "videourls": {
  25784. "description": "介绍视频[多张用逗号分隔]",
  25785. "type": "string"
  25786. }
  25787. }
  25788. },
  25789. "models.HsbyMarketGoods": {
  25790. "type": "object",
  25791. "required": [
  25792. "accountid",
  25793. "buyorsell",
  25794. "goodscode",
  25795. "goodsid",
  25796. "goodsname",
  25797. "marketid",
  25798. "orderid",
  25799. "trademode"
  25800. ],
  25801. "properties": {
  25802. "accountid": {
  25803. "description": "账户ID[报价币种]",
  25804. "type": "integer"
  25805. },
  25806. "agreeunit": {
  25807. "description": "合约单位",
  25808. "type": "number"
  25809. },
  25810. "buyorsell": {
  25811. "description": "买卖 - 0:买 1:卖",
  25812. "type": "integer"
  25813. },
  25814. "categoryid": {
  25815. "description": "类别ID(WRCATEGORY)",
  25816. "type": "integer"
  25817. },
  25818. "currency": {
  25819. "description": "货币",
  25820. "type": "string"
  25821. },
  25822. "currencysign": {
  25823. "description": "货币符号",
  25824. "type": "string"
  25825. },
  25826. "customername": {
  25827. "description": "卖家名称",
  25828. "type": "string"
  25829. },
  25830. "decimalplace": {
  25831. "description": "报价小数位",
  25832. "type": "integer"
  25833. },
  25834. "goodscode": {
  25835. "description": "商品代码(内部)",
  25836. "type": "string"
  25837. },
  25838. "goodsid": {
  25839. "description": "商品ID",
  25840. "type": "integer"
  25841. },
  25842. "goodsname": {
  25843. "description": "商品名称",
  25844. "type": "string"
  25845. },
  25846. "goodsprice": {
  25847. "description": "商品价格",
  25848. "type": "number"
  25849. },
  25850. "hascoupon": {
  25851. "description": "是否可用优惠卷",
  25852. "type": "boolean"
  25853. },
  25854. "hotindex": {
  25855. "description": "景点热度",
  25856. "type": "integer"
  25857. },
  25858. "marketid": {
  25859. "description": "市场ID",
  25860. "type": "integer"
  25861. },
  25862. "orderid": {
  25863. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25864. "type": "string"
  25865. },
  25866. "orderprice": {
  25867. "description": "委托价格",
  25868. "type": "number"
  25869. },
  25870. "orderstatus": {
  25871. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25872. "type": "integer"
  25873. },
  25874. "picurls": {
  25875. "description": "介绍图片[多张用逗号分隔]",
  25876. "type": "string"
  25877. },
  25878. "quoteminunit": {
  25879. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25880. "type": "integer"
  25881. },
  25882. "sellUserID": {
  25883. "description": "卖方UserID",
  25884. "type": "integer"
  25885. },
  25886. "trademode": {
  25887. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25888. "type": "integer"
  25889. },
  25890. "videourls": {
  25891. "description": "介绍视频[多张用逗号分隔]",
  25892. "type": "string"
  25893. }
  25894. }
  25895. },
  25896. "models.HsbyMarketGoodsDetail": {
  25897. "type": "object",
  25898. "required": [
  25899. "accountid",
  25900. "buyorsell",
  25901. "goodscode",
  25902. "goodsid",
  25903. "goodsname",
  25904. "marketid",
  25905. "orderid",
  25906. "orderqty",
  25907. "trademode"
  25908. ],
  25909. "properties": {
  25910. "accountid": {
  25911. "description": "账户ID[报价币种]",
  25912. "type": "integer"
  25913. },
  25914. "agreeunit": {
  25915. "description": "合约单位",
  25916. "type": "number"
  25917. },
  25918. "buymaxqty": {
  25919. "description": "购买上限 [71] - 0为不限",
  25920. "type": "integer"
  25921. },
  25922. "buyorsell": {
  25923. "description": "买卖 - 0:买 1:卖",
  25924. "type": "integer"
  25925. },
  25926. "cancelqty": {
  25927. "description": "撤单数量",
  25928. "type": "integer"
  25929. },
  25930. "categoryid": {
  25931. "description": "类别ID(WRCATEGORY)",
  25932. "type": "integer"
  25933. },
  25934. "currency": {
  25935. "description": "货币",
  25936. "type": "string"
  25937. },
  25938. "currencysign": {
  25939. "description": "货币符号",
  25940. "type": "string"
  25941. },
  25942. "customername": {
  25943. "description": "卖家名称",
  25944. "type": "string"
  25945. },
  25946. "decimalplace": {
  25947. "description": "报价小数位",
  25948. "type": "integer"
  25949. },
  25950. "goodscode": {
  25951. "description": "商品代码(内部)",
  25952. "type": "string"
  25953. },
  25954. "goodsdesc": {
  25955. "description": "商品详情",
  25956. "type": "string"
  25957. },
  25958. "goodsid": {
  25959. "description": "商品ID",
  25960. "type": "integer"
  25961. },
  25962. "goodsname": {
  25963. "description": "商品名称",
  25964. "type": "string"
  25965. },
  25966. "goodsprice": {
  25967. "description": "商品价格",
  25968. "type": "number"
  25969. },
  25970. "hotindex": {
  25971. "description": "景点热度",
  25972. "type": "integer"
  25973. },
  25974. "lotsize": {
  25975. "description": "手数最小变动单位",
  25976. "type": "integer"
  25977. },
  25978. "marketid": {
  25979. "description": "市场ID",
  25980. "type": "integer"
  25981. },
  25982. "orderid": {
  25983. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25984. "type": "string"
  25985. },
  25986. "orderprice": {
  25987. "description": "委托价格",
  25988. "type": "number"
  25989. },
  25990. "orderqty": {
  25991. "description": "委托数量",
  25992. "type": "integer"
  25993. },
  25994. "orderstatus": {
  25995. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25996. "type": "integer"
  25997. },
  25998. "picurls": {
  25999. "description": "介绍图片[多张用逗号分隔]",
  26000. "type": "string"
  26001. },
  26002. "quoteminunit": {
  26003. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26004. "type": "integer"
  26005. },
  26006. "sellUserID": {
  26007. "description": "卖方UserID",
  26008. "type": "integer"
  26009. },
  26010. "trademode": {
  26011. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26012. "type": "integer"
  26013. },
  26014. "tradeqty": {
  26015. "description": "成交数量",
  26016. "type": "integer"
  26017. },
  26018. "vendorattr": {
  26019. "description": "供应商附件(多张,逗号分隔)",
  26020. "type": "string"
  26021. },
  26022. "vendorname": {
  26023. "description": "供应商名称",
  26024. "type": "string"
  26025. },
  26026. "vendorphone": {
  26027. "description": "供应商客服电话",
  26028. "type": "string"
  26029. },
  26030. "videourls": {
  26031. "description": "介绍视频[多张用逗号分隔]",
  26032. "type": "string"
  26033. }
  26034. }
  26035. },
  26036. "models.HsbyMarketInfo": {
  26037. "type": "object",
  26038. "required": [
  26039. "marketid",
  26040. "marketstatus",
  26041. "trademode"
  26042. ],
  26043. "properties": {
  26044. "marketid": {
  26045. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26046. "type": "integer"
  26047. },
  26048. "marketname": {
  26049. "description": "市场名称",
  26050. "type": "string"
  26051. },
  26052. "marketstatus": {
  26053. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26054. "type": "integer"
  26055. },
  26056. "trademode": {
  26057. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26058. "type": "integer"
  26059. }
  26060. }
  26061. },
  26062. "models.HsbyMyGoods": {
  26063. "type": "object",
  26064. "required": [
  26065. "accountid",
  26066. "goodscode",
  26067. "goodsid",
  26068. "goodsname",
  26069. "marketid",
  26070. "trademode"
  26071. ],
  26072. "properties": {
  26073. "accountid": {
  26074. "description": "账号Id",
  26075. "type": "integer"
  26076. },
  26077. "agreeunit": {
  26078. "description": "合约单位",
  26079. "type": "number"
  26080. },
  26081. "buyaverageprice": {
  26082. "description": "持仓均价",
  26083. "type": "number"
  26084. },
  26085. "buycurholderamount": {
  26086. "description": "买当前持仓总金额[商品币种]",
  26087. "type": "number"
  26088. },
  26089. "buycurpositionqty": {
  26090. "description": "买当前持仓总数量",
  26091. "type": "integer"
  26092. },
  26093. "buymaxqty": {
  26094. "description": "购买上限 [71] - 0为不限",
  26095. "type": "integer"
  26096. },
  26097. "currencysign": {
  26098. "description": "货币符号",
  26099. "type": "string"
  26100. },
  26101. "decimalplace": {
  26102. "description": "报价小数位",
  26103. "type": "integer"
  26104. },
  26105. "enableqty": {
  26106. "description": "可用数量",
  26107. "type": "integer"
  26108. },
  26109. "goodscode": {
  26110. "description": "商品代码(内部)",
  26111. "type": "string"
  26112. },
  26113. "goodsid": {
  26114. "description": "商品Id",
  26115. "type": "integer"
  26116. },
  26117. "goodsname": {
  26118. "description": "商品名称",
  26119. "type": "string"
  26120. },
  26121. "goodsprice": {
  26122. "description": "商品价格",
  26123. "type": "number"
  26124. },
  26125. "goodsstatus": {
  26126. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26127. "type": "integer"
  26128. },
  26129. "last": {
  26130. "description": "现价(仅使用于挂牌点选)",
  26131. "type": "number"
  26132. },
  26133. "limitdown": {
  26134. "description": "跌停价(仅使用于挂牌点选)",
  26135. "type": "number"
  26136. },
  26137. "limitup": {
  26138. "description": "涨停价(仅使用于挂牌点选)",
  26139. "type": "number"
  26140. },
  26141. "lotsize": {
  26142. "description": "手数最小变动单位",
  26143. "type": "integer"
  26144. },
  26145. "marketid": {
  26146. "description": "所属市场ID",
  26147. "type": "integer"
  26148. },
  26149. "picurls": {
  26150. "description": "介绍图片[多张用逗号分隔]",
  26151. "type": "string"
  26152. },
  26153. "quoteminunit": {
  26154. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26155. "type": "integer"
  26156. },
  26157. "stepvalue": {
  26158. "description": "价格最小变动单位",
  26159. "type": "number"
  26160. },
  26161. "trademode": {
  26162. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26163. "type": "integer"
  26164. }
  26165. }
  26166. },
  26167. "models.HsbyMyPackage": {
  26168. "type": "object",
  26169. "required": [
  26170. "goodscode",
  26171. "goodsname",
  26172. "takeorderid",
  26173. "trademode"
  26174. ],
  26175. "properties": {
  26176. "accountid": {
  26177. "description": "账户ID",
  26178. "type": "integer"
  26179. },
  26180. "address": {
  26181. "description": "提货人详细地址",
  26182. "type": "string"
  26183. },
  26184. "agreeunit": {
  26185. "description": "合约单位",
  26186. "type": "number"
  26187. },
  26188. "amount": {
  26189. "description": "提货金额",
  26190. "type": "number"
  26191. },
  26192. "auditer": {
  26193. "description": "审核人",
  26194. "type": "integer"
  26195. },
  26196. "audittime": {
  26197. "description": "审核时间",
  26198. "type": "string"
  26199. },
  26200. "averageprice": {
  26201. "description": "均价",
  26202. "type": "number"
  26203. },
  26204. "cardnum": {
  26205. "description": "提货人证件号码",
  26206. "type": "string"
  26207. },
  26208. "cardtypeid": {
  26209. "description": "提货人证件类型",
  26210. "type": "integer"
  26211. },
  26212. "checkremark": {
  26213. "description": "审核备注",
  26214. "type": "string"
  26215. },
  26216. "currencysign": {
  26217. "description": "货币符号",
  26218. "type": "string"
  26219. },
  26220. "decimalplace": {
  26221. "description": "报价小数位",
  26222. "type": "integer"
  26223. },
  26224. "goodscode": {
  26225. "description": "商品代码(内部)",
  26226. "type": "string"
  26227. },
  26228. "goodsid": {
  26229. "description": "商品ID",
  26230. "type": "integer"
  26231. },
  26232. "goodsname": {
  26233. "description": "商品名称",
  26234. "type": "string"
  26235. },
  26236. "handlestatus": {
  26237. "description": "处理状态",
  26238. "type": "integer"
  26239. },
  26240. "marketid": {
  26241. "description": "市场ID",
  26242. "type": "integer"
  26243. },
  26244. "phonenum": {
  26245. "description": "提货人联系方式",
  26246. "type": "string"
  26247. },
  26248. "picurls": {
  26249. "description": "介绍图片[多张用逗号分隔]",
  26250. "type": "string"
  26251. },
  26252. "qty": {
  26253. "description": "提货数量",
  26254. "type": "number"
  26255. },
  26256. "recivername": {
  26257. "description": "提货人姓名",
  26258. "type": "string"
  26259. },
  26260. "reqtime": {
  26261. "description": "更新时间",
  26262. "type": "string"
  26263. },
  26264. "takemode": {
  26265. "description": "提货方式 - 2:自提 3:配送",
  26266. "type": "integer"
  26267. },
  26268. "takeorderid": {
  26269. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26270. "type": "string"
  26271. },
  26272. "takeorderstatus": {
  26273. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26274. "type": "integer"
  26275. },
  26276. "takeremark": {
  26277. "description": "提货备注",
  26278. "type": "string"
  26279. },
  26280. "tradedate": {
  26281. "description": "交易日(yyyyMMdd)",
  26282. "type": "string"
  26283. },
  26284. "trademode": {
  26285. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26286. "type": "integer"
  26287. },
  26288. "userid": {
  26289. "description": "用户ID",
  26290. "type": "integer"
  26291. },
  26292. "vendorname": {
  26293. "description": "供应商名称",
  26294. "type": "string"
  26295. }
  26296. }
  26297. },
  26298. "models.HsbyPreGoods": {
  26299. "type": "object",
  26300. "required": [
  26301. "goodscode",
  26302. "goodsid",
  26303. "goodsname",
  26304. "marketid",
  26305. "trademode"
  26306. ],
  26307. "properties": {
  26308. "agreeunit": {
  26309. "description": "合约单位",
  26310. "type": "number"
  26311. },
  26312. "currency": {
  26313. "description": "货币",
  26314. "type": "string"
  26315. },
  26316. "currencysign": {
  26317. "description": "货币符号",
  26318. "type": "string"
  26319. },
  26320. "decimalplace": {
  26321. "description": "报价小数位",
  26322. "type": "integer"
  26323. },
  26324. "desccityid": {
  26325. "description": "目的地(市)",
  26326. "type": "integer"
  26327. },
  26328. "descprovinceid": {
  26329. "description": "目的地(省)",
  26330. "type": "integer"
  26331. },
  26332. "enableqty": {
  26333. "description": "剩余数量",
  26334. "type": "integer"
  26335. },
  26336. "goodscode": {
  26337. "description": "商品代码(内部)",
  26338. "type": "string"
  26339. },
  26340. "goodsid": {
  26341. "description": "商品ID(自增ID SEQ_GOODS)",
  26342. "type": "integer"
  26343. },
  26344. "goodsname": {
  26345. "description": "商品名称",
  26346. "type": "string"
  26347. },
  26348. "goodsstatus": {
  26349. "description": "商品状态- 2:未上市 3:上市",
  26350. "type": "integer"
  26351. },
  26352. "lasttradedate": {
  26353. "description": "最后交易日期(状态:待退市)",
  26354. "type": "string"
  26355. },
  26356. "listingdate": {
  26357. "description": "交易开始日期",
  26358. "type": "string"
  26359. },
  26360. "marketid": {
  26361. "description": "所属市场ID",
  26362. "type": "integer"
  26363. },
  26364. "picurls": {
  26365. "description": "介绍图片[多张用逗号分隔]",
  26366. "type": "string"
  26367. },
  26368. "presaledqty": {
  26369. "description": "已预售量(预售结束时更新)",
  26370. "type": "integer"
  26371. },
  26372. "presaleqty": {
  26373. "description": "预售数量",
  26374. "type": "integer"
  26375. },
  26376. "quoteminunit": {
  26377. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26378. "type": "integer"
  26379. },
  26380. "refprice": {
  26381. "description": "参考价格[一口价]",
  26382. "type": "number"
  26383. },
  26384. "relatedgoodsid": {
  26385. "description": "关联交易合约ID",
  26386. "type": "integer"
  26387. },
  26388. "trademode": {
  26389. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26390. "type": "integer"
  26391. },
  26392. "videourls": {
  26393. "description": "介绍视频[多张用逗号分隔]",
  26394. "type": "string"
  26395. }
  26396. }
  26397. },
  26398. "models.HsbyPreGoodsDetail": {
  26399. "type": "object",
  26400. "required": [
  26401. "goodscode",
  26402. "goodsid",
  26403. "goodsname",
  26404. "marketid",
  26405. "trademode"
  26406. ],
  26407. "properties": {
  26408. "agreeunit": {
  26409. "description": "合约单位",
  26410. "type": "number"
  26411. },
  26412. "buymaxqty": {
  26413. "description": "购买上限 [71] - 0为不限",
  26414. "type": "integer"
  26415. },
  26416. "currency": {
  26417. "description": "货币",
  26418. "type": "string"
  26419. },
  26420. "currencysign": {
  26421. "description": "货币符号",
  26422. "type": "string"
  26423. },
  26424. "customername": {
  26425. "description": "发行单位",
  26426. "type": "string"
  26427. },
  26428. "decimalplace": {
  26429. "description": "报价小数位",
  26430. "type": "integer"
  26431. },
  26432. "desccityid": {
  26433. "description": "目的地(市)ID",
  26434. "type": "integer"
  26435. },
  26436. "descprovinceid": {
  26437. "description": "目的地(省)ID",
  26438. "type": "integer"
  26439. },
  26440. "enableqty": {
  26441. "description": "剩余数量",
  26442. "type": "integer"
  26443. },
  26444. "goodscode": {
  26445. "description": "商品代码(内部)",
  26446. "type": "string"
  26447. },
  26448. "goodsdesc": {
  26449. "description": "商品详情",
  26450. "type": "string"
  26451. },
  26452. "goodsid": {
  26453. "description": "商品ID(自增ID SEQ_GOODS)",
  26454. "type": "integer"
  26455. },
  26456. "goodsname": {
  26457. "description": "商品名称",
  26458. "type": "string"
  26459. },
  26460. "goodsstatus": {
  26461. "description": "商品状态- 2:未上市 3:上市",
  26462. "type": "integer"
  26463. },
  26464. "goodunit": {
  26465. "description": "报价单位",
  26466. "type": "string"
  26467. },
  26468. "lasttradedate": {
  26469. "description": "最后交易日期(状态:待退市)",
  26470. "type": "string"
  26471. },
  26472. "listingdate": {
  26473. "description": "交易开始日期",
  26474. "type": "string"
  26475. },
  26476. "lotsize": {
  26477. "description": "手数最小变动单位",
  26478. "type": "integer"
  26479. },
  26480. "marketid": {
  26481. "description": "所属市场ID",
  26482. "type": "integer"
  26483. },
  26484. "picurls": {
  26485. "description": "介绍图片[多张用逗号分隔]",
  26486. "type": "string"
  26487. },
  26488. "presaledqty": {
  26489. "description": "已预售量(预售结束时更新)",
  26490. "type": "integer"
  26491. },
  26492. "presaleqty": {
  26493. "description": "预售数量",
  26494. "type": "integer"
  26495. },
  26496. "quoteminunit": {
  26497. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26498. "type": "integer"
  26499. },
  26500. "refprice": {
  26501. "description": "参考价格[一口价]",
  26502. "type": "number"
  26503. },
  26504. "relatedgoodsid": {
  26505. "description": "关联交易合约ID",
  26506. "type": "integer"
  26507. },
  26508. "stepvalue": {
  26509. "description": "价格最小变动单位",
  26510. "type": "number"
  26511. },
  26512. "trademode": {
  26513. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26514. "type": "integer"
  26515. },
  26516. "vendorattr": {
  26517. "description": "供应商附件(多张,逗号分隔)",
  26518. "type": "string"
  26519. },
  26520. "vendorname": {
  26521. "description": "供应商名称",
  26522. "type": "string"
  26523. },
  26524. "vendorphone": {
  26525. "description": "供应商客服电话",
  26526. "type": "string"
  26527. },
  26528. "videourls": {
  26529. "description": "介绍视频[多张用逗号分隔]",
  26530. "type": "string"
  26531. }
  26532. }
  26533. },
  26534. "models.HsbySellCollectionOrder": {
  26535. "type": "object",
  26536. "required": [
  26537. "goodscode",
  26538. "goodsname",
  26539. "tradeid",
  26540. "trademode"
  26541. ],
  26542. "properties": {
  26543. "agreeunit": {
  26544. "description": "合约单位",
  26545. "type": "number"
  26546. },
  26547. "buyaccountid": {
  26548. "description": "买方账号ID[报价币种]",
  26549. "type": "integer"
  26550. },
  26551. "buyorderid": {
  26552. "description": "买方委托单号",
  26553. "type": "string"
  26554. },
  26555. "createtime": {
  26556. "description": "创建时间",
  26557. "type": "string"
  26558. },
  26559. "currencysign": {
  26560. "description": "货币符号",
  26561. "type": "string"
  26562. },
  26563. "decimalplace": {
  26564. "description": "报价小数位",
  26565. "type": "integer"
  26566. },
  26567. "goodscode": {
  26568. "description": "商品代码(内部)",
  26569. "type": "string"
  26570. },
  26571. "goodsid": {
  26572. "description": "商品ID",
  26573. "type": "integer"
  26574. },
  26575. "goodsname": {
  26576. "description": "商品名称",
  26577. "type": "string"
  26578. },
  26579. "marketid": {
  26580. "description": "市场ID",
  26581. "type": "integer"
  26582. },
  26583. "offamount": {
  26584. "description": "优惠金额",
  26585. "type": "number"
  26586. },
  26587. "payamount": {
  26588. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26589. "type": "number"
  26590. },
  26591. "payflag": {
  26592. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26593. "type": "integer"
  26594. },
  26595. "paylimitedtime": {
  26596. "description": "支付期限",
  26597. "type": "string"
  26598. },
  26599. "paytime": {
  26600. "description": "付款时间",
  26601. "type": "string"
  26602. },
  26603. "picurls": {
  26604. "description": "商品介绍图片[多张用逗号分隔]",
  26605. "type": "string"
  26606. },
  26607. "sellaccountid": {
  26608. "description": "卖方账号ID[报价币种]",
  26609. "type": "integer"
  26610. },
  26611. "sellorderid": {
  26612. "description": "卖方委托单号",
  26613. "type": "string"
  26614. },
  26615. "tradeamount": {
  26616. "description": "成交金额",
  26617. "type": "number"
  26618. },
  26619. "tradecharge": {
  26620. "description": "成交手续费(买方)",
  26621. "type": "number"
  26622. },
  26623. "tradedate": {
  26624. "description": "交易日(yyyyMMdd)",
  26625. "type": "string"
  26626. },
  26627. "tradeid": {
  26628. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26629. "type": "string"
  26630. },
  26631. "trademode": {
  26632. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26633. "type": "integer"
  26634. },
  26635. "tradeprice": {
  26636. "description": "成交价格",
  26637. "type": "number"
  26638. },
  26639. "tradeqty": {
  26640. "description": "成交数量",
  26641. "type": "integer"
  26642. }
  26643. }
  26644. },
  26645. "models.HsbySellMyDetail": {
  26646. "type": "object",
  26647. "required": [
  26648. "accountid",
  26649. "buyorsell",
  26650. "goodscode",
  26651. "goodsid",
  26652. "goodsname",
  26653. "marketid",
  26654. "orderid",
  26655. "time",
  26656. "trademode"
  26657. ],
  26658. "properties": {
  26659. "accountid": {
  26660. "description": "账户ID[报价币种]",
  26661. "type": "integer"
  26662. },
  26663. "agreeunit": {
  26664. "description": "合约单位",
  26665. "type": "number"
  26666. },
  26667. "buyorsell": {
  26668. "description": "买卖 - 0:买 1:卖",
  26669. "type": "integer"
  26670. },
  26671. "currencysign": {
  26672. "description": "货币符号",
  26673. "type": "string"
  26674. },
  26675. "decimalplace": {
  26676. "description": "报价小数位",
  26677. "type": "integer"
  26678. },
  26679. "goodscode": {
  26680. "description": "商品代码(内部)",
  26681. "type": "string"
  26682. },
  26683. "goodsid": {
  26684. "description": "商品ID",
  26685. "type": "integer"
  26686. },
  26687. "goodsname": {
  26688. "description": "商品名称",
  26689. "type": "string"
  26690. },
  26691. "marketid": {
  26692. "description": "市场ID",
  26693. "type": "integer"
  26694. },
  26695. "orderid": {
  26696. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26697. "type": "string"
  26698. },
  26699. "ordertype": {
  26700. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26701. "type": "integer"
  26702. },
  26703. "picurls": {
  26704. "description": "介绍图片[多张用逗号分隔]",
  26705. "type": "string"
  26706. },
  26707. "price": {
  26708. "description": "价格",
  26709. "type": "number"
  26710. },
  26711. "qty": {
  26712. "description": "数量",
  26713. "type": "integer"
  26714. },
  26715. "time": {
  26716. "description": "时间",
  26717. "type": "string"
  26718. },
  26719. "trademode": {
  26720. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26721. "type": "integer"
  26722. },
  26723. "vendorname": {
  26724. "description": "供应商名称",
  26725. "type": "string"
  26726. }
  26727. }
  26728. },
  26729. "models.HsbyTopGoods": {
  26730. "type": "object",
  26731. "required": [
  26732. "goodscode",
  26733. "goodsid",
  26734. "goodsname",
  26735. "marketid",
  26736. "trademode"
  26737. ],
  26738. "properties": {
  26739. "agreeunit": {
  26740. "description": "合约单位",
  26741. "type": "number"
  26742. },
  26743. "currency": {
  26744. "description": "货币",
  26745. "type": "string"
  26746. },
  26747. "currencysign": {
  26748. "description": "货币符号",
  26749. "type": "string"
  26750. },
  26751. "decimalplace": {
  26752. "description": "报价小数位",
  26753. "type": "integer"
  26754. },
  26755. "desccityid": {
  26756. "description": "目的地(市)",
  26757. "type": "integer"
  26758. },
  26759. "descprovinceid": {
  26760. "description": "目的地(省)",
  26761. "type": "integer"
  26762. },
  26763. "goodscode": {
  26764. "description": "商品代码(内部)",
  26765. "type": "string"
  26766. },
  26767. "goodsid": {
  26768. "description": "商品ID(自增ID SEQ_GOODS)",
  26769. "type": "integer"
  26770. },
  26771. "goodsname": {
  26772. "description": "商品名称",
  26773. "type": "string"
  26774. },
  26775. "hotindex": {
  26776. "description": "景点热度",
  26777. "type": "integer"
  26778. },
  26779. "last": {
  26780. "description": "现价",
  26781. "type": "number"
  26782. },
  26783. "marketid": {
  26784. "description": "所属市场ID",
  26785. "type": "integer"
  26786. },
  26787. "picurls": {
  26788. "description": "介绍图片[多张用逗号分隔]",
  26789. "type": "string"
  26790. },
  26791. "quoteminunit": {
  26792. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26793. "type": "integer"
  26794. },
  26795. "trademode": {
  26796. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26797. "type": "integer"
  26798. },
  26799. "videourls": {
  26800. "description": "介绍视频[多张用逗号分隔]",
  26801. "type": "string"
  26802. }
  26803. }
  26804. },
  26805. "models.HybsMyBuyOrderDetail": {
  26806. "type": "object",
  26807. "required": [
  26808. "accountid",
  26809. "buyorsell",
  26810. "goodscode",
  26811. "goodsid",
  26812. "goodsname",
  26813. "marketid",
  26814. "orderid",
  26815. "orderqty",
  26816. "ordertime",
  26817. "trademode"
  26818. ],
  26819. "properties": {
  26820. "accountid": {
  26821. "description": "账户ID[报价币种]",
  26822. "type": "integer"
  26823. },
  26824. "agreeunit": {
  26825. "description": "合约单位",
  26826. "type": "number"
  26827. },
  26828. "buyorsell": {
  26829. "description": "买卖 - 0:买 1:卖",
  26830. "type": "integer"
  26831. },
  26832. "cancelqty": {
  26833. "description": "撤单数量",
  26834. "type": "integer"
  26835. },
  26836. "currencysign": {
  26837. "description": "货币符号",
  26838. "type": "string"
  26839. },
  26840. "decimalplace": {
  26841. "description": "报价小数位",
  26842. "type": "integer"
  26843. },
  26844. "goodscode": {
  26845. "description": "商品代码(内部)",
  26846. "type": "string"
  26847. },
  26848. "goodsid": {
  26849. "description": "商品ID",
  26850. "type": "integer"
  26851. },
  26852. "goodsname": {
  26853. "description": "商品名称",
  26854. "type": "string"
  26855. },
  26856. "listingselecttype": {
  26857. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26858. "type": "integer"
  26859. },
  26860. "marketid": {
  26861. "description": "市场ID",
  26862. "type": "integer"
  26863. },
  26864. "mybuystatus": {
  26865. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  26866. "type": "integer"
  26867. },
  26868. "orderamount": {
  26869. "description": "委托金额",
  26870. "type": "number"
  26871. },
  26872. "orderid": {
  26873. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26874. "type": "string"
  26875. },
  26876. "orderprice": {
  26877. "description": "委托价格",
  26878. "type": "number"
  26879. },
  26880. "orderqty": {
  26881. "description": "委托数量",
  26882. "type": "integer"
  26883. },
  26884. "orderstatus": {
  26885. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26886. "type": "integer"
  26887. },
  26888. "ordertime": {
  26889. "description": "委托时间",
  26890. "type": "string"
  26891. },
  26892. "picurls1": {
  26893. "description": "预售商品介绍图片[多张用逗号分隔]",
  26894. "type": "string"
  26895. },
  26896. "picurls2": {
  26897. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26898. "type": "string"
  26899. },
  26900. "trademode": {
  26901. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26902. "type": "integer"
  26903. },
  26904. "tradeqty": {
  26905. "description": "成交数量",
  26906. "type": "integer"
  26907. },
  26908. "vendorname1": {
  26909. "description": "预售商品供应商名称",
  26910. "type": "string"
  26911. },
  26912. "vendorname2": {
  26913. "description": "挂牌商品供应商名称",
  26914. "type": "string"
  26915. }
  26916. }
  26917. },
  26918. "models.Loginaccount": {
  26919. "type": "object",
  26920. "required": [
  26921. "loginid"
  26922. ],
  26923. "properties": {
  26924. "accountname": {
  26925. "description": "账户名称",
  26926. "type": "string"
  26927. },
  26928. "canoutin": {
  26929. "description": "是否可出入金 - 0:不可 1:可",
  26930. "type": "integer"
  26931. },
  26932. "clientroleid": {
  26933. "description": "终端角色ID",
  26934. "type": "integer"
  26935. },
  26936. "haslogined": {
  26937. "description": "是否已登录 - 0:未登录 1:已登录",
  26938. "type": "integer"
  26939. },
  26940. "hasupdatedpwd": {
  26941. "description": "是否已更改密码 - 0:未修改 1:已修改",
  26942. "type": "integer"
  26943. },
  26944. "lastloginip": {
  26945. "description": "最新登录地址",
  26946. "type": "string"
  26947. },
  26948. "lastloginmode": {
  26949. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26950. "type": "integer"
  26951. },
  26952. "lastloginremark": {
  26953. "description": "最新登录描述",
  26954. "type": "string"
  26955. },
  26956. "lastlogintime": {
  26957. "description": "最新登录时间",
  26958. "type": "string"
  26959. },
  26960. "logincode": {
  26961. "description": "登录代码",
  26962. "type": "string"
  26963. },
  26964. "loginfailnum": {
  26965. "description": "连续登录失败次数(登录成功时清零)",
  26966. "type": "integer"
  26967. },
  26968. "loginid": {
  26969. "description": "登陆账号",
  26970. "type": "integer"
  26971. },
  26972. "loginport": {
  26973. "description": "最新登录端口",
  26974. "type": "integer"
  26975. },
  26976. "loginstatus": {
  26977. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  26978. "type": "integer"
  26979. },
  26980. "loginusertype": {
  26981. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  26982. "type": "integer"
  26983. },
  26984. "mobile": {
  26985. "description": "手机号码(加密存储)",
  26986. "type": "string"
  26987. },
  26988. "modifierid": {
  26989. "description": "修改人",
  26990. "type": "integer"
  26991. },
  26992. "modifysrc": {
  26993. "description": "审核来源 - 1:管理端 2:终端",
  26994. "type": "integer"
  26995. },
  26996. "modifytime": {
  26997. "description": "修改时间",
  26998. "type": "string"
  26999. },
  27000. "password": {
  27001. "description": "登陆密码",
  27002. "type": "string"
  27003. },
  27004. "pwdwrongcount": {
  27005. "description": "密码错误次数",
  27006. "type": "integer"
  27007. },
  27008. "relateduserid": {
  27009. "description": "关联用户ID(机构)",
  27010. "type": "integer"
  27011. },
  27012. "taaccountrighttype": {
  27013. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27014. "type": "integer"
  27015. },
  27016. "unfreezetime": {
  27017. "description": "账户解冻时间",
  27018. "type": "string"
  27019. },
  27020. "userid": {
  27021. "description": "用户ID",
  27022. "type": "integer"
  27023. }
  27024. }
  27025. },
  27026. "models.MainAccountInfo": {
  27027. "type": "object",
  27028. "properties": {
  27029. "accountid": {
  27030. "description": "账号id",
  27031. "type": "integer"
  27032. },
  27033. "accountname": {
  27034. "description": "账号名称(taaccount表中的名称)",
  27035. "type": "string"
  27036. },
  27037. "appid": {
  27038. "description": "AppID",
  27039. "type": "string"
  27040. },
  27041. "authcode": {
  27042. "description": "授权码",
  27043. "type": "string"
  27044. },
  27045. "brokerid": {
  27046. "description": "经纪商id",
  27047. "type": "string"
  27048. },
  27049. "fcid": {
  27050. "description": "期货公司id",
  27051. "type": "integer"
  27052. },
  27053. "fcname": {
  27054. "description": "期货公司代码",
  27055. "type": "string"
  27056. },
  27057. "hedgeaccountcode": {
  27058. "description": "外部账号代码(主账号登录代码)",
  27059. "type": "string"
  27060. },
  27061. "hedgeaccountpwd": {
  27062. "description": "密码",
  27063. "type": "string"
  27064. },
  27065. "ismain": {
  27066. "description": "是否主账号",
  27067. "type": "integer"
  27068. },
  27069. "relateduserid": {
  27070. "description": "关联用户id",
  27071. "type": "integer"
  27072. },
  27073. "userid": {
  27074. "description": "关联用户id",
  27075. "type": "integer"
  27076. }
  27077. }
  27078. },
  27079. "models.Market": {
  27080. "type": "object",
  27081. "required": [
  27082. "marketid",
  27083. "marketstatus",
  27084. "openmethod",
  27085. "reckonpricealgorithm",
  27086. "trademode",
  27087. "tradeproperty"
  27088. ],
  27089. "properties": {
  27090. "auctionwrtype": {
  27091. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27092. "type": "integer"
  27093. },
  27094. "canacceptquote": {
  27095. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27096. "type": "integer"
  27097. },
  27098. "cangoodsexercise": {
  27099. "description": "[期权]是否可现货行权- 0:否 1:是",
  27100. "type": "integer"
  27101. },
  27102. "cangoodsexercisetype": {
  27103. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27104. "type": "integer"
  27105. },
  27106. "canmanualquotestrike": {
  27107. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27108. "type": "integer"
  27109. },
  27110. "canmutistage": {
  27111. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27112. "type": "integer"
  27113. },
  27114. "canpreexercise": {
  27115. "description": "[期权]是否可预申报- 0:否 1:是",
  27116. "type": "integer"
  27117. },
  27118. "clearinterval": {
  27119. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27120. "type": "integer"
  27121. },
  27122. "contracttmp": {
  27123. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27124. "type": "string"
  27125. },
  27126. "exchareaid": {
  27127. "description": "所属交易所,可以没有",
  27128. "type": "integer"
  27129. },
  27130. "goodstype": {
  27131. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27132. "type": "integer"
  27133. },
  27134. "hasrebate": {
  27135. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27136. "type": "integer"
  27137. },
  27138. "hastradecredit": {
  27139. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27140. "type": "integer"
  27141. },
  27142. "haswr": {
  27143. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27144. "type": "integer"
  27145. },
  27146. "isdeductmargin": {
  27147. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27148. "type": "integer"
  27149. },
  27150. "isrecordsource": {
  27151. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27152. "type": "integer"
  27153. },
  27154. "isreleasemargin": {
  27155. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27156. "type": "integer"
  27157. },
  27158. "marginformula": {
  27159. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27160. "type": "integer"
  27161. },
  27162. "marginformula2": {
  27163. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27164. "type": "integer"
  27165. },
  27166. "marketid": {
  27167. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27168. "type": "integer"
  27169. },
  27170. "marketname": {
  27171. "description": "市场名称",
  27172. "type": "string"
  27173. },
  27174. "marketserviceid": {
  27175. "description": "市场服务ID",
  27176. "type": "integer"
  27177. },
  27178. "marketstatus": {
  27179. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27180. "type": "integer"
  27181. },
  27182. "markettype": {
  27183. "description": "市场类型- 1:非交易服务 2:交易服务",
  27184. "type": "integer"
  27185. },
  27186. "matchermode": {
  27187. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27188. "type": "integer"
  27189. },
  27190. "openmethod": {
  27191. "description": "开盘模式 - 0 自动 1手动",
  27192. "type": "integer"
  27193. },
  27194. "otcuserid": {
  27195. "description": "场外期权做市商[场外期权]",
  27196. "type": "integer"
  27197. },
  27198. "outersynctime": {
  27199. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27200. "type": "string"
  27201. },
  27202. "pendingflag": {
  27203. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27204. "type": "integer"
  27205. },
  27206. "pendingtime": {
  27207. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27208. "type": "string"
  27209. },
  27210. "performancetempid": {
  27211. "description": "履约计划模板ID - 作废",
  27212. "type": "integer"
  27213. },
  27214. "premiumquotemode": {
  27215. "description": "权利金报价方式 - 1:自动 2:手动",
  27216. "type": "integer"
  27217. },
  27218. "rebateratio": {
  27219. "description": "返利比率[竞价式]",
  27220. "type": "number"
  27221. },
  27222. "reckonorder": {
  27223. "description": "结算顺序",
  27224. "type": "integer"
  27225. },
  27226. "reckonpricealgorithm": {
  27227. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27228. "type": "integer"
  27229. },
  27230. "reckonpriceparam": {
  27231. "description": "结算价参数",
  27232. "type": "integer"
  27233. },
  27234. "reckontime": {
  27235. "description": "结算时间[通道交易-对冲](HH:mm)",
  27236. "type": "string"
  27237. },
  27238. "roleprioritytype": {
  27239. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27240. "type": "integer"
  27241. },
  27242. "selllistingauditflag": {
  27243. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27244. "type": "integer"
  27245. },
  27246. "trademarkettype": {
  27247. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27248. "type": "integer"
  27249. },
  27250. "trademode": {
  27251. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27252. "type": "integer"
  27253. },
  27254. "tradeproperty": {
  27255. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27256. "type": "integer"
  27257. },
  27258. "tradetype": {
  27259. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27260. "type": "integer"
  27261. }
  27262. }
  27263. },
  27264. "models.Marketrun": {
  27265. "type": "object",
  27266. "required": [
  27267. "marketid",
  27268. "nexttradedate",
  27269. "reckonflag",
  27270. "runstatus",
  27271. "tradedate",
  27272. "tradedate2"
  27273. ],
  27274. "properties": {
  27275. "afternexttradedate": {
  27276. "description": "下下交易日",
  27277. "type": "string"
  27278. },
  27279. "clearquoteflag": {
  27280. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27281. "type": "integer"
  27282. },
  27283. "lastreckondate": {
  27284. "description": "最新交易日(结算成功)",
  27285. "type": "string"
  27286. },
  27287. "machinedate": {
  27288. "description": "机器时间",
  27289. "type": "string"
  27290. },
  27291. "manualflag": {
  27292. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27293. "type": "integer"
  27294. },
  27295. "marketid": {
  27296. "description": "市场ID",
  27297. "type": "integer"
  27298. },
  27299. "nexttradedate": {
  27300. "description": "下一交易日",
  27301. "type": "string"
  27302. },
  27303. "pretradedate": {
  27304. "description": "上一交易日",
  27305. "type": "string"
  27306. },
  27307. "reckonflag": {
  27308. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27309. "type": "integer"
  27310. },
  27311. "runstatus": {
  27312. "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.今日免清算",
  27313. "type": "integer"
  27314. },
  27315. "sectionid": {
  27316. "description": "时间段号[多时段时用]",
  27317. "type": "integer"
  27318. },
  27319. "tradedate": {
  27320. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27321. "type": "string"
  27322. },
  27323. "tradedate2": {
  27324. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27325. "type": "string"
  27326. },
  27327. "updatetime": {
  27328. "description": "更新时间",
  27329. "type": "string"
  27330. }
  27331. }
  27332. },
  27333. "models.Messageboard": {
  27334. "type": "object",
  27335. "required": [
  27336. "messageboardid"
  27337. ],
  27338. "properties": {
  27339. "contactnum": {
  27340. "description": "联系电话",
  27341. "type": "string"
  27342. },
  27343. "createtime": {
  27344. "description": "创建时间",
  27345. "type": "string"
  27346. },
  27347. "message": {
  27348. "description": "留言信息",
  27349. "type": "string"
  27350. },
  27351. "messageboardid": {
  27352. "description": "留言簿ID(SEQ_MessageBoard)",
  27353. "type": "integer"
  27354. },
  27355. "userid": {
  27356. "description": "用户ID",
  27357. "type": "integer"
  27358. }
  27359. }
  27360. },
  27361. "models.MyCoupon": {
  27362. "type": "object",
  27363. "required": [
  27364. "accountid",
  27365. "coupontypeid"
  27366. ],
  27367. "properties": {
  27368. "accountid": {
  27369. "description": "资金账户ID",
  27370. "type": "integer"
  27371. },
  27372. "areauserid": {
  27373. "description": "所属机构",
  27374. "type": "integer"
  27375. },
  27376. "conditionvalue": {
  27377. "description": "条件阈值(可为0)",
  27378. "type": "number"
  27379. },
  27380. "couponcategroy": {
  27381. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27382. "type": "integer"
  27383. },
  27384. "couponname": {
  27385. "description": "优惠券名称",
  27386. "type": "string"
  27387. },
  27388. "coupontypeid": {
  27389. "description": "优惠券类型ID",
  27390. "type": "string"
  27391. },
  27392. "couponvalue": {
  27393. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27394. "type": "number"
  27395. },
  27396. "curfreezeqty": {
  27397. "description": "期末冻结数量",
  27398. "type": "integer"
  27399. },
  27400. "curqty": {
  27401. "description": "期末数量",
  27402. "type": "integer"
  27403. },
  27404. "isgeneral": {
  27405. "description": "是否通用券 - 0:否 1:是",
  27406. "type": "integer"
  27407. },
  27408. "isunusable": {
  27409. "description": "是否不可用",
  27410. "type": "boolean"
  27411. },
  27412. "limitedflag": {
  27413. "description": "是否指定商品 - 0:不限 1:限制",
  27414. "type": "integer"
  27415. },
  27416. "limitedgoodsids": {
  27417. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27418. "type": "string"
  27419. },
  27420. "orifreezeqty": {
  27421. "description": "期初冻结数量",
  27422. "type": "integer"
  27423. },
  27424. "oriqty": {
  27425. "description": "期初数量",
  27426. "type": "integer"
  27427. },
  27428. "reasontype": {
  27429. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27430. "type": "integer"
  27431. },
  27432. "todaydecrease": {
  27433. "description": "今日减少",
  27434. "type": "integer"
  27435. },
  27436. "todayincrease": {
  27437. "description": "今日增加",
  27438. "type": "integer"
  27439. },
  27440. "userid": {
  27441. "description": "用户ID",
  27442. "type": "integer"
  27443. },
  27444. "userscope": {
  27445. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27446. "type": "string"
  27447. }
  27448. }
  27449. },
  27450. "models.MyCouponHold": {
  27451. "type": "object",
  27452. "required": [
  27453. "couponholdid"
  27454. ],
  27455. "properties": {
  27456. "accountid": {
  27457. "description": "资金账户ID",
  27458. "type": "integer"
  27459. },
  27460. "conditionvalue": {
  27461. "description": "条件阈值(可为0)",
  27462. "type": "number"
  27463. },
  27464. "couponcategroy": {
  27465. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27466. "type": "integer"
  27467. },
  27468. "couponholdid": {
  27469. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27470. "type": "string"
  27471. },
  27472. "couponname": {
  27473. "description": "优惠券名称",
  27474. "type": "string"
  27475. },
  27476. "coupontypeid": {
  27477. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27478. "type": "string"
  27479. },
  27480. "couponvalue": {
  27481. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27482. "type": "number"
  27483. },
  27484. "createtime": {
  27485. "description": "创建时间",
  27486. "type": "string"
  27487. },
  27488. "enddate": {
  27489. "description": "结束日期",
  27490. "type": "string"
  27491. },
  27492. "giveapplyid": {
  27493. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27494. "type": "integer"
  27495. },
  27496. "holdstatus": {
  27497. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27498. "type": "integer"
  27499. },
  27500. "isgeneral": {
  27501. "description": "是否通用券 - 0:否 1:是",
  27502. "type": "integer"
  27503. },
  27504. "limitedflag": {
  27505. "description": "是否指定商品 - 0:不限 1:限制",
  27506. "type": "integer"
  27507. },
  27508. "limitedgoodsids": {
  27509. "description": "指定商品IDs[逗号分隔]",
  27510. "type": "string"
  27511. },
  27512. "qty": {
  27513. "description": "数量(按1平铺)",
  27514. "type": "integer"
  27515. },
  27516. "startdate": {
  27517. "description": "开始日期",
  27518. "type": "string"
  27519. },
  27520. "userid": {
  27521. "description": "用户ID",
  27522. "type": "integer"
  27523. },
  27524. "userscope": {
  27525. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27526. "type": "string"
  27527. }
  27528. }
  27529. },
  27530. "models.MyUsedCoupon": {
  27531. "type": "object",
  27532. "required": [
  27533. "coupontypeid",
  27534. "orderid"
  27535. ],
  27536. "properties": {
  27537. "accountid": {
  27538. "description": "资金账户ID(买方)",
  27539. "type": "integer"
  27540. },
  27541. "conditionvalue": {
  27542. "description": "条件阈值(可为0)",
  27543. "type": "number"
  27544. },
  27545. "couponcategroy": {
  27546. "description": "种类 - 1:现金券 2:折扣券",
  27547. "type": "integer"
  27548. },
  27549. "couponname": {
  27550. "description": "优惠券名称",
  27551. "type": "string"
  27552. },
  27553. "coupontypeid": {
  27554. "description": "优惠券类型ID(买方)",
  27555. "type": "string"
  27556. },
  27557. "couponvalue": {
  27558. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27559. "type": "number"
  27560. },
  27561. "createtime": {
  27562. "description": "创建时间",
  27563. "type": "string"
  27564. },
  27565. "goodsid": {
  27566. "description": "商品ID",
  27567. "type": "integer"
  27568. },
  27569. "handlestatus": {
  27570. "description": "处理状态",
  27571. "type": "integer"
  27572. },
  27573. "marketid": {
  27574. "description": "市场ID",
  27575. "type": "integer"
  27576. },
  27577. "offamount": {
  27578. "description": "优惠金额",
  27579. "type": "number"
  27580. },
  27581. "orderid": {
  27582. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27583. "type": "string"
  27584. },
  27585. "sellaccountid": {
  27586. "description": "资金账户ID(卖方)",
  27587. "type": "integer"
  27588. },
  27589. "tradeamount": {
  27590. "description": "成交金额",
  27591. "type": "number"
  27592. },
  27593. "tradeid": {
  27594. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27595. "type": "string"
  27596. },
  27597. "usedqty": {
  27598. "description": "使用数量",
  27599. "type": "integer"
  27600. }
  27601. }
  27602. },
  27603. "models.OperationPrimaryMenu": {
  27604. "type": "object",
  27605. "properties": {
  27606. "Children": {
  27607. "description": "二级功能菜单",
  27608. "type": "array",
  27609. "items": {
  27610. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27611. }
  27612. },
  27613. "Key": {
  27614. "description": "菜单KEY",
  27615. "type": "string"
  27616. },
  27617. "Label": {
  27618. "description": "菜单标题",
  27619. "type": "string"
  27620. }
  27621. }
  27622. },
  27623. "models.OperationSecondaryMenu": {
  27624. "type": "object",
  27625. "properties": {
  27626. "Key": {
  27627. "description": "菜单KEY",
  27628. "type": "string"
  27629. },
  27630. "Label": {
  27631. "description": "菜单标题",
  27632. "type": "string"
  27633. },
  27634. "TabList": {
  27635. "description": "三级功能菜单",
  27636. "type": "array",
  27637. "items": {
  27638. "$ref": "#/definitions/models.OperationTabMenu"
  27639. }
  27640. }
  27641. }
  27642. },
  27643. "models.OperationTabMenu": {
  27644. "type": "object",
  27645. "properties": {
  27646. "Key": {
  27647. "description": "菜单KEY",
  27648. "type": "string"
  27649. },
  27650. "Label": {
  27651. "description": "菜单标题",
  27652. "type": "string"
  27653. }
  27654. }
  27655. },
  27656. "models.QhjAccountOutInApply": {
  27657. "type": "object",
  27658. "properties": {
  27659. "accountcode": {
  27660. "description": "资金账号",
  27661. "type": "string"
  27662. },
  27663. "accountname": {
  27664. "description": "用户名称(名称)",
  27665. "type": "string"
  27666. },
  27667. "accountpwd": {
  27668. "description": "资金密码",
  27669. "type": "string"
  27670. },
  27671. "accountticket": {
  27672. "description": "最新账户服务流水号",
  27673. "type": "string"
  27674. },
  27675. "amount": {
  27676. "description": "金额",
  27677. "type": "number"
  27678. },
  27679. "applyremark": {
  27680. "description": "申请备注",
  27681. "type": "string"
  27682. },
  27683. "applystatus": {
  27684. "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: 复审通过,账户冻结金额检查中;",
  27685. "type": "integer"
  27686. },
  27687. "auditid": {
  27688. "description": "审核人",
  27689. "type": "integer"
  27690. },
  27691. "audittime": {
  27692. "description": "审核时间",
  27693. "type": "string"
  27694. },
  27695. "bank_apply_ticket": {
  27696. "description": "银行申请流水",
  27697. "type": "string"
  27698. },
  27699. "bankaccountname": {
  27700. "description": "银行账户名",
  27701. "type": "string"
  27702. },
  27703. "bankaccountno": {
  27704. "description": "银行卡号",
  27705. "type": "string"
  27706. },
  27707. "bankid": {
  27708. "description": "银行编号",
  27709. "type": "string"
  27710. },
  27711. "bankticket": {
  27712. "description": "银行流水",
  27713. "type": "string"
  27714. },
  27715. "branchbankid": {
  27716. "description": "银行支行号",
  27717. "type": "string"
  27718. },
  27719. "branchbankname": {
  27720. "description": "银行支行名称",
  27721. "type": "string"
  27722. },
  27723. "capamountout": {
  27724. "description": "出金(劣后本金) - 外部子账户",
  27725. "type": "number"
  27726. },
  27727. "certificatephotourl": {
  27728. "description": "凭证地址",
  27729. "type": "string"
  27730. },
  27731. "charge": {
  27732. "description": "手续费",
  27733. "type": "number"
  27734. },
  27735. "checkerrorflag": {
  27736. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27737. "type": "integer"
  27738. },
  27739. "currency": {
  27740. "description": "币种",
  27741. "type": "string"
  27742. },
  27743. "cusbankid": {
  27744. "description": "托管银行编号",
  27745. "type": "string"
  27746. },
  27747. "exchticket": {
  27748. "description": "银行服务流水号",
  27749. "type": "string"
  27750. },
  27751. "executetype": {
  27752. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27753. "type": "integer"
  27754. },
  27755. "extendinfo": {
  27756. "description": "扩展信息",
  27757. "type": "string"
  27758. },
  27759. "extoperateid": {
  27760. "description": "交易服务流水号",
  27761. "type": "integer"
  27762. },
  27763. "infamount": {
  27764. "description": "劣后金额(自有)",
  27765. "type": "number"
  27766. },
  27767. "logincode": {
  27768. "description": "登录账号(账号)",
  27769. "type": "string"
  27770. },
  27771. "netaddr": {
  27772. "description": "调转网址",
  27773. "type": "string"
  27774. },
  27775. "priamount": {
  27776. "description": "优先金额(授信)",
  27777. "type": "number"
  27778. },
  27779. "reauditid": {
  27780. "description": "复审人",
  27781. "type": "integer"
  27782. },
  27783. "reauditremark": {
  27784. "description": "复审备注",
  27785. "type": "string"
  27786. },
  27787. "reaudittime": {
  27788. "description": "复审时间",
  27789. "type": "string"
  27790. },
  27791. "relatedorderid": {
  27792. "description": "三方关联ID",
  27793. "type": "string"
  27794. },
  27795. "remark": {
  27796. "description": "备注",
  27797. "type": "string"
  27798. },
  27799. "remark2": {
  27800. "description": "备注(失败原因)",
  27801. "type": "string"
  27802. },
  27803. "soucreamount": {
  27804. "description": "原始出入金金额",
  27805. "type": "number"
  27806. },
  27807. "soucrecurrencyid": {
  27808. "description": "原始出入金币种",
  27809. "type": "integer"
  27810. },
  27811. "tradedate": {
  27812. "description": "交易日(yyyyMMdd)",
  27813. "type": "string"
  27814. },
  27815. "updatetime": {
  27816. "description": "更新时间(申请时间)",
  27817. "type": "string"
  27818. },
  27819. "userid": {
  27820. "description": "用户id",
  27821. "type": "integer"
  27822. },
  27823. "userinfotype": {
  27824. "description": "账户类型 1-个人 2-企业",
  27825. "type": "integer"
  27826. }
  27827. }
  27828. },
  27829. "models.QhjAgreementChangeLog": {
  27830. "type": "object",
  27831. "properties": {
  27832. "agreementcontent": {
  27833. "description": "协议内容",
  27834. "type": "string"
  27835. },
  27836. "agreementfrequency": {
  27837. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27838. "type": "integer"
  27839. },
  27840. "agreementid": {
  27841. "description": "协议ID",
  27842. "type": "integer"
  27843. },
  27844. "agreementname": {
  27845. "description": "协议名称",
  27846. "type": "string"
  27847. },
  27848. "agreementno": {
  27849. "description": "协议编号",
  27850. "type": "string"
  27851. },
  27852. "agreementtype": {
  27853. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27854. "type": "integer"
  27855. },
  27856. "agreementversion": {
  27857. "description": "协议版本号",
  27858. "type": "integer"
  27859. },
  27860. "logid": {
  27861. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  27862. "type": "integer"
  27863. },
  27864. "reviserid": {
  27865. "description": "修改人",
  27866. "type": "integer"
  27867. },
  27868. "revisersrc": {
  27869. "description": "修改来源 - 1:管理端 2:终端",
  27870. "type": "integer"
  27871. },
  27872. "updatetime": {
  27873. "description": "更新时间",
  27874. "type": "string"
  27875. }
  27876. }
  27877. },
  27878. "models.QhjAgreementConfig": {
  27879. "type": "object",
  27880. "properties": {
  27881. "agreementcontent": {
  27882. "description": "协议内容",
  27883. "type": "string"
  27884. },
  27885. "agreementfrequency": {
  27886. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27887. "type": "integer"
  27888. },
  27889. "agreementid": {
  27890. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  27891. "type": "integer"
  27892. },
  27893. "agreementname": {
  27894. "description": "协议名称",
  27895. "type": "string"
  27896. },
  27897. "agreementno": {
  27898. "description": "协议编号",
  27899. "type": "string"
  27900. },
  27901. "agreementtype": {
  27902. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27903. "type": "integer"
  27904. },
  27905. "agreementversion": {
  27906. "description": "协议版本号(从1开始每次修改加1)",
  27907. "type": "integer"
  27908. },
  27909. "createtime": {
  27910. "description": "创建时间",
  27911. "type": "string"
  27912. },
  27913. "creatorid": {
  27914. "description": "创建人",
  27915. "type": "integer"
  27916. },
  27917. "creatorsrc": {
  27918. "description": "创建来源 - 1:管理端 2:终端",
  27919. "type": "integer"
  27920. },
  27921. "isvalid": {
  27922. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  27923. "type": "integer"
  27924. },
  27925. "reviserid": {
  27926. "description": "修改人",
  27927. "type": "integer"
  27928. },
  27929. "revisersrc": {
  27930. "description": "修改来源 - 1:管理端 2:终端",
  27931. "type": "integer"
  27932. },
  27933. "updatetime": {
  27934. "description": "更新时间",
  27935. "type": "string"
  27936. }
  27937. }
  27938. },
  27939. "models.QhjAreaFinanceConfig": {
  27940. "type": "object",
  27941. "properties": {
  27942. "additionalratio": {
  27943. "description": "追加款比例",
  27944. "type": "number"
  27945. },
  27946. "advanceratio": {
  27947. "description": "预付款比例",
  27948. "type": "number"
  27949. },
  27950. "alarmratio": {
  27951. "description": "告警比例",
  27952. "type": "number"
  27953. },
  27954. "consumptiondirectreward": {
  27955. "description": "消费直推奖励值",
  27956. "type": "number"
  27957. },
  27958. "consumptionenabled": {
  27959. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  27960. "type": "integer"
  27961. },
  27962. "consumptionindirectreward": {
  27963. "description": "消费间推奖励值",
  27964. "type": "number"
  27965. },
  27966. "consumptionmodel": {
  27967. "description": "消费奖励方式 - 1:比率 2:固定",
  27968. "type": "integer"
  27969. },
  27970. "customerservicenum": {
  27971. "description": "客服电话",
  27972. "type": "string"
  27973. },
  27974. "dayinterestrate": {
  27975. "description": "日利率",
  27976. "type": "number"
  27977. },
  27978. "disableconsumptiontips": {
  27979. "description": "关闭消费奖励提示",
  27980. "type": "string"
  27981. },
  27982. "modifierid": {
  27983. "description": "修改人ID",
  27984. "type": "integer"
  27985. },
  27986. "modifysrc": {
  27987. "description": "审核来源 - 1:管理端 2:终端",
  27988. "type": "integer"
  27989. },
  27990. "modifytime": {
  27991. "description": "修改时间",
  27992. "type": "string"
  27993. },
  27994. "promotionvalue": {
  27995. "description": "推广奖励值(固定)",
  27996. "type": "number"
  27997. },
  27998. "scoreconfigvalue1": {
  27999. "description": "提货积分配置1",
  28000. "type": "integer"
  28001. },
  28002. "scoreconfigvalue2": {
  28003. "description": "提货积分配置2",
  28004. "type": "integer"
  28005. },
  28006. "userid": {
  28007. "description": "机构用户ID其他做市关系,都设置为 1",
  28008. "type": "integer"
  28009. },
  28010. "username": {
  28011. "description": "用户名称",
  28012. "type": "string"
  28013. }
  28014. }
  28015. },
  28016. "models.QhjBankAccountSign": {
  28017. "type": "object",
  28018. "properties": {
  28019. "accountcode": {
  28020. "description": "资金账号",
  28021. "type": "string"
  28022. },
  28023. "accountname": {
  28024. "description": "资金账号对应的账号名(UserName)",
  28025. "type": "string"
  28026. },
  28027. "accountname2": {
  28028. "description": "资金账号对应的账号名(UserName) - 密文",
  28029. "type": "string"
  28030. },
  28031. "accounttype": {
  28032. "description": "账户类型(UserType)",
  28033. "type": "integer"
  28034. },
  28035. "applicationtime": {
  28036. "description": "最后一次更新的时间",
  28037. "type": "string"
  28038. },
  28039. "applyexchticket": {
  28040. "description": "申请流水",
  28041. "type": "string"
  28042. },
  28043. "auditid": {
  28044. "description": "审核人",
  28045. "type": "integer"
  28046. },
  28047. "audittime": {
  28048. "description": "审核时间",
  28049. "type": "string"
  28050. },
  28051. "bankaccountname": {
  28052. "description": "签约银行卡账号名",
  28053. "type": "string"
  28054. },
  28055. "bankaccountname2": {
  28056. "description": "签约银行卡账号名 - 密文",
  28057. "type": "string"
  28058. },
  28059. "bankaccountno": {
  28060. "description": "银行卡号",
  28061. "type": "string"
  28062. },
  28063. "bankaccountno2": {
  28064. "description": "银行卡号 - 密文",
  28065. "type": "string"
  28066. },
  28067. "bankaccounttype": {
  28068. "description": "银行账户类型 - 1-对私; 2-对公",
  28069. "type": "integer"
  28070. },
  28071. "bankcardtype": {
  28072. "description": "银行卡类型",
  28073. "type": "integer"
  28074. },
  28075. "bankchildaccount": {
  28076. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28077. "type": "string"
  28078. },
  28079. "bankcity": {
  28080. "description": "开户行城市",
  28081. "type": "string"
  28082. },
  28083. "bankid": {
  28084. "description": "签约银行ID",
  28085. "type": "string"
  28086. },
  28087. "bankname": {
  28088. "description": "签约银行名称",
  28089. "type": "string"
  28090. },
  28091. "bankprovince": {
  28092. "description": "开户行省份",
  28093. "type": "string"
  28094. },
  28095. "branchbankid": {
  28096. "description": "签约银行支行号",
  28097. "type": "string"
  28098. },
  28099. "branchbankname": {
  28100. "description": "签约银行支行名称",
  28101. "type": "string"
  28102. },
  28103. "cardno": {
  28104. "description": "证件号码",
  28105. "type": "string"
  28106. },
  28107. "cardno2": {
  28108. "description": "证件号码 - 密文",
  28109. "type": "string"
  28110. },
  28111. "cardtype": {
  28112. "description": "证件类型",
  28113. "type": "string"
  28114. },
  28115. "currency": {
  28116. "description": "币种",
  28117. "type": "string"
  28118. },
  28119. "cusbankid": {
  28120. "description": "托管银行编号",
  28121. "type": "string"
  28122. },
  28123. "direct": {
  28124. "description": "方向(可以判断那方先发起的签约)",
  28125. "type": "integer"
  28126. },
  28127. "exchticket": {
  28128. "description": "最后一次签约成功的流水号",
  28129. "type": "string"
  28130. },
  28131. "extendinfo": {
  28132. "description": "扩展信息(JSON字符串)",
  28133. "type": "string"
  28134. },
  28135. "mobilephone": {
  28136. "description": "手机号",
  28137. "type": "string"
  28138. },
  28139. "mobilephone2": {
  28140. "description": "手机号 - 密文",
  28141. "type": "string"
  28142. },
  28143. "netaddr": {
  28144. "description": "调转网址",
  28145. "type": "string"
  28146. },
  28147. "relateduserid": {
  28148. "description": "关联使用者userid",
  28149. "type": "integer"
  28150. },
  28151. "signstatus": {
  28152. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28153. "type": "integer"
  28154. },
  28155. "updatetime": {
  28156. "description": "更新时间(签解约更新时间)",
  28157. "type": "string"
  28158. }
  28159. }
  28160. },
  28161. "models.QhjBankInfo": {
  28162. "type": "object",
  28163. "properties": {
  28164. "bankid": {
  28165. "description": "银行ID",
  28166. "type": "string"
  28167. },
  28168. "bankname": {
  28169. "description": "银行名称",
  28170. "type": "string"
  28171. },
  28172. "clearbankno": {
  28173. "description": "清算系统银行编号",
  28174. "type": "string"
  28175. },
  28176. "orderindex": {
  28177. "description": "排序顺序",
  28178. "type": "integer"
  28179. },
  28180. "status": {
  28181. "description": "状态 - 0:正常 1:注销",
  28182. "type": "integer"
  28183. }
  28184. }
  28185. },
  28186. "models.QhjBrokerApply": {
  28187. "type": "object",
  28188. "properties": {
  28189. "applicantid": {
  28190. "description": "申请人",
  28191. "type": "integer"
  28192. },
  28193. "applysrc": {
  28194. "description": "申请来源 - 1:管理端 2:终端",
  28195. "type": "integer"
  28196. },
  28197. "applystatus": {
  28198. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28199. "type": "integer"
  28200. },
  28201. "applytime": {
  28202. "description": "申请时间",
  28203. "type": "string"
  28204. },
  28205. "auditorid": {
  28206. "description": "审核人",
  28207. "type": "integer"
  28208. },
  28209. "auditremark": {
  28210. "description": "审核备注",
  28211. "type": "string"
  28212. },
  28213. "auditsrc": {
  28214. "description": "审核来源 - 1:管理端 2:终端",
  28215. "type": "integer"
  28216. },
  28217. "audittime": {
  28218. "description": "审核时间",
  28219. "type": "string"
  28220. },
  28221. "audittradedate": {
  28222. "description": "审核交易日(yyyyMMdd)",
  28223. "type": "string"
  28224. },
  28225. "brokerapplyid": {
  28226. "description": "申请ID(SEQ_BROKERAPPLY)",
  28227. "type": "integer"
  28228. },
  28229. "cardbackphotourl": {
  28230. "description": "证件背面图片地址",
  28231. "type": "string"
  28232. },
  28233. "cardfrontphotourl": {
  28234. "description": "证件正面图片地址",
  28235. "type": "string"
  28236. },
  28237. "cardnum": {
  28238. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28239. "type": "string"
  28240. },
  28241. "customername": {
  28242. "description": "姓名",
  28243. "type": "string"
  28244. },
  28245. "logincode": {
  28246. "description": "登录代码",
  28247. "type": "string"
  28248. },
  28249. "mobile": {
  28250. "description": "手机号码",
  28251. "type": "string"
  28252. },
  28253. "parentuserid": {
  28254. "description": "所属机构id",
  28255. "type": "integer"
  28256. },
  28257. "parentusername": {
  28258. "description": "所属机构名称",
  28259. "type": "string"
  28260. },
  28261. "refereeuserid": {
  28262. "description": "推荐人id(经纪人)",
  28263. "type": "integer"
  28264. },
  28265. "refernum": {
  28266. "description": "推荐码",
  28267. "type": "string"
  28268. },
  28269. "remark": {
  28270. "description": "备注",
  28271. "type": "string"
  28272. },
  28273. "subarealevelpath": {
  28274. "description": "层级路径",
  28275. "type": "string"
  28276. },
  28277. "tradedate": {
  28278. "description": "交易日(yyyyMMdd)",
  28279. "type": "string"
  28280. },
  28281. "userid": {
  28282. "description": "申请人用户ID",
  28283. "type": "integer"
  28284. },
  28285. "userinfotype": {
  28286. "description": "用户类型 1-个人 2-企业",
  28287. "type": "integer"
  28288. },
  28289. "username": {
  28290. "description": "用户名称",
  28291. "type": "string"
  28292. }
  28293. }
  28294. },
  28295. "models.QhjBrokerApplyEx": {
  28296. "type": "object",
  28297. "properties": {
  28298. "applylist": {
  28299. "description": "经纪人申请记录(只返回最新一条)",
  28300. "type": "array",
  28301. "items": {
  28302. "$ref": "#/definitions/models.QhjBrokerApply"
  28303. }
  28304. },
  28305. "canrecommend": {
  28306. "description": "是否经纪人 0-不是 1-是",
  28307. "type": "integer"
  28308. },
  28309. "refernum": {
  28310. "description": "推荐码",
  28311. "type": "string"
  28312. },
  28313. "userid": {
  28314. "description": "用户id",
  28315. "type": "integer"
  28316. },
  28317. "userinfotype": {
  28318. "description": "用户类型 1-个人 2-企业",
  28319. "type": "integer"
  28320. }
  28321. }
  28322. },
  28323. "models.QhjBrokerRewardLog": {
  28324. "type": "object",
  28325. "properties": {
  28326. "accountid": {
  28327. "description": "资金账号ID",
  28328. "type": "integer"
  28329. },
  28330. "createtime": {
  28331. "description": "创建时间(时间)",
  28332. "type": "string"
  28333. },
  28334. "handlestatus": {
  28335. "description": "处理状态",
  28336. "type": "integer"
  28337. },
  28338. "logid": {
  28339. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28340. "type": "string"
  28341. },
  28342. "marketid": {
  28343. "description": "市场ID",
  28344. "type": "integer"
  28345. },
  28346. "mmaccountid": {
  28347. "description": "做市商资金账号ID",
  28348. "type": "string"
  28349. },
  28350. "mmuserid": {
  28351. "description": "做市商用户ID",
  28352. "type": "string"
  28353. },
  28354. "rewardamount": {
  28355. "description": "奖励金额",
  28356. "type": "number"
  28357. },
  28358. "rewardmodel": {
  28359. "description": "消费奖励方式 - 1:比率 2:固定",
  28360. "type": "integer"
  28361. },
  28362. "rewardtype": {
  28363. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28364. "type": "integer"
  28365. },
  28366. "rewardvalue": {
  28367. "description": "配置奖励值",
  28368. "type": "number"
  28369. },
  28370. "srcamount": {
  28371. "description": "成交金额 [消费奖励] (金额)",
  28372. "type": "number"
  28373. },
  28374. "srcgoodsid": {
  28375. "description": "来源商品ID [消费奖励]",
  28376. "type": "string"
  28377. },
  28378. "srctime": {
  28379. "description": "来源时间 (成交时间) [消费奖励]",
  28380. "type": "string"
  28381. },
  28382. "srctradeid": {
  28383. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28384. "type": "string"
  28385. },
  28386. "srcuserid": {
  28387. "description": "来源用户ID(推广账户)",
  28388. "type": "string"
  28389. },
  28390. "srcusername": {
  28391. "description": "推广账户名称",
  28392. "type": "string"
  28393. },
  28394. "tradedate": {
  28395. "description": "交易日(yyyyMMdd)",
  28396. "type": "string"
  28397. },
  28398. "userid": {
  28399. "description": "经纪人用户ID",
  28400. "type": "integer"
  28401. }
  28402. }
  28403. },
  28404. "models.QhjContract": {
  28405. "type": "object",
  28406. "properties": {
  28407. "contractconfirmtime": {
  28408. "description": "合同确认时间(时间)",
  28409. "type": "string"
  28410. },
  28411. "currisklevel": {
  28412. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28413. "type": "integer"
  28414. },
  28415. "decimalplace": {
  28416. "description": "商品报价小数位",
  28417. "type": "integer"
  28418. },
  28419. "enumdicname": {
  28420. "description": "单位名称",
  28421. "type": "string"
  28422. },
  28423. "goodscode": {
  28424. "description": "商品代码",
  28425. "type": "string"
  28426. },
  28427. "goodsid": {
  28428. "description": "商品ID [5:融资单]",
  28429. "type": "integer"
  28430. },
  28431. "goodsname": {
  28432. "description": "商品名称",
  28433. "type": "string"
  28434. },
  28435. "goodunitid": {
  28436. "description": "商品单位id",
  28437. "type": "integer"
  28438. },
  28439. "initmargin": {
  28440. "description": "初始保证金(首付款)",
  28441. "type": "number"
  28442. },
  28443. "lenderamount": {
  28444. "description": "贷款金额(总额|订单总额)",
  28445. "type": "number"
  28446. },
  28447. "marginratio": {
  28448. "description": "保证金比率(首付比例)",
  28449. "type": "number"
  28450. },
  28451. "payamount": {
  28452. "description": "已付(已付货款)",
  28453. "type": "number"
  28454. },
  28455. "reckonrecovermargin": {
  28456. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28457. "type": "number"
  28458. },
  28459. "recoveredmargin": {
  28460. "description": "已追缴保证金",
  28461. "type": "number"
  28462. },
  28463. "remainamount": {
  28464. "description": "合同剩余金额(融资额)",
  28465. "type": "number"
  28466. },
  28467. "scfcontractid": {
  28468. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28469. "type": "string"
  28470. },
  28471. "scfcontractstatus": {
  28472. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28473. "type": "integer"
  28474. },
  28475. "scfcontracttype": {
  28476. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28477. "type": "integer"
  28478. },
  28479. "totalinterest": {
  28480. "description": "已计总利息(利息)",
  28481. "type": "number"
  28482. },
  28483. "tradeprice": {
  28484. "description": "成交价格(成本价格)",
  28485. "type": "number"
  28486. },
  28487. "userid": {
  28488. "description": "用户ID",
  28489. "type": "integer"
  28490. },
  28491. "username": {
  28492. "description": "用户名称",
  28493. "type": "string"
  28494. },
  28495. "wrqty": {
  28496. "description": "仓单数量(数量)",
  28497. "type": "number"
  28498. }
  28499. }
  28500. },
  28501. "models.QhjContractLog": {
  28502. "type": "object",
  28503. "properties": {
  28504. "amount": {
  28505. "description": "支付金额",
  28506. "type": "number"
  28507. },
  28508. "amounttype": {
  28509. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28510. "type": "integer"
  28511. },
  28512. "logid": {
  28513. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28514. "type": "string"
  28515. },
  28516. "remainamount": {
  28517. "description": "剩余货款",
  28518. "type": "number"
  28519. },
  28520. "scfcontractid": {
  28521. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28522. "type": "integer"
  28523. },
  28524. "updatetime": {
  28525. "description": "更新时间",
  28526. "type": "string"
  28527. }
  28528. }
  28529. },
  28530. "models.QhjCusBankSignBankEx": {
  28531. "type": "object",
  28532. "properties": {
  28533. "banklst": {
  28534. "description": "银行列表",
  28535. "type": "array",
  28536. "items": {
  28537. "$ref": "#/definitions/models.QhjBankInfo"
  28538. }
  28539. },
  28540. "canallot": {
  28541. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28542. "type": "integer"
  28543. },
  28544. "canallotquery": {
  28545. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28546. "type": "integer"
  28547. },
  28548. "canbindcard": {
  28549. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28550. "type": "integer"
  28551. },
  28552. "caninamount": {
  28553. "description": "是否可入金 - 0:不可 1:可以",
  28554. "type": "integer"
  28555. },
  28556. "caninamount2": {
  28557. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28558. "type": "integer"
  28559. },
  28560. "canmodifybankcard": {
  28561. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28562. "type": "integer"
  28563. },
  28564. "canmodifyphone": {
  28565. "description": "是否可修改手机号 - 0:不可 1:可以",
  28566. "type": "integer"
  28567. },
  28568. "canmodifysigninfo": {
  28569. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28570. "type": "integer"
  28571. },
  28572. "canoutamount": {
  28573. "description": "是否可出金 - 0:不可 1:可以",
  28574. "type": "integer"
  28575. },
  28576. "canoutamount2": {
  28577. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28578. "type": "integer"
  28579. },
  28580. "canrelease": {
  28581. "description": "是否可解约 - 0:不可 1:可以",
  28582. "type": "integer"
  28583. },
  28584. "canrelease2": {
  28585. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28586. "type": "integer"
  28587. },
  28588. "cansign": {
  28589. "description": "是否可签约 - 0:不可 1:可以",
  28590. "type": "integer"
  28591. },
  28592. "cansign2": {
  28593. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28594. "type": "integer"
  28595. },
  28596. "currency": {
  28597. "description": "币种",
  28598. "type": "string"
  28599. },
  28600. "cusbankid": {
  28601. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28602. "type": "string"
  28603. },
  28604. "cusbankname": {
  28605. "description": "银行业务名称",
  28606. "type": "string"
  28607. },
  28608. "cusbankshortname": {
  28609. "description": "银行业务简称",
  28610. "type": "string"
  28611. },
  28612. "exchbankid": {
  28613. "description": "交易所开户银行ID",
  28614. "type": "string"
  28615. },
  28616. "exchpaybankaccname": {
  28617. "description": "交易所支出结算账户户名",
  28618. "type": "string"
  28619. },
  28620. "exchpaybankaccno": {
  28621. "description": "交易所支出结算账户",
  28622. "type": "string"
  28623. },
  28624. "isneedcheck": {
  28625. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28626. "type": "integer"
  28627. },
  28628. "isneedclear": {
  28629. "description": "是否需要清算 - 0:不需要 1:需要",
  28630. "type": "integer"
  28631. },
  28632. "lastcheckstatus": {
  28633. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28634. "type": "integer"
  28635. },
  28636. "lastchecktime": {
  28637. "description": "最后对账时间",
  28638. "type": "string"
  28639. },
  28640. "lastclearstatus": {
  28641. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28642. "type": "integer"
  28643. },
  28644. "lastcleartime": {
  28645. "description": "最后清算时间",
  28646. "type": "string"
  28647. },
  28648. "lastsignintime": {
  28649. "description": "最后签到时间",
  28650. "type": "string"
  28651. },
  28652. "lastsignouttime": {
  28653. "description": "最后签退时间",
  28654. "type": "string"
  28655. },
  28656. "riskinfo": {
  28657. "description": "签约风险提示书",
  28658. "type": "string"
  28659. },
  28660. "signstatus": {
  28661. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28662. "type": "integer"
  28663. },
  28664. "tradedate": {
  28665. "description": "交易日(yyyyMMdd)",
  28666. "type": "string"
  28667. },
  28668. "updatetime": {
  28669. "description": "当前签到/签退更新时间",
  28670. "type": "string"
  28671. }
  28672. }
  28673. },
  28674. "models.QhjCustomer": {
  28675. "type": "object",
  28676. "properties": {
  28677. "address": {
  28678. "description": "通讯地址",
  28679. "type": "string"
  28680. },
  28681. "attachment1": {
  28682. "description": "附件1",
  28683. "type": "string"
  28684. },
  28685. "audittime": {
  28686. "description": "审核时间",
  28687. "type": "string"
  28688. },
  28689. "cardbackphotourl": {
  28690. "description": "证件反面图片地址",
  28691. "type": "string"
  28692. },
  28693. "cardfrontphotourl": {
  28694. "description": "证件正面图片地址",
  28695. "type": "string"
  28696. },
  28697. "cardnum": {
  28698. "description": "证件号码",
  28699. "type": "string"
  28700. },
  28701. "cardtype": {
  28702. "description": "证件类型",
  28703. "type": "integer"
  28704. },
  28705. "cardtypename": {
  28706. "description": "证件类型名称",
  28707. "type": "string"
  28708. },
  28709. "cityid": {
  28710. "description": "市",
  28711. "type": "integer"
  28712. },
  28713. "cityname": {
  28714. "description": "城市名称",
  28715. "type": "string"
  28716. },
  28717. "contactname": {
  28718. "description": "联系人",
  28719. "type": "string"
  28720. },
  28721. "countryid": {
  28722. "description": "国家",
  28723. "type": "integer"
  28724. },
  28725. "countryname": {
  28726. "description": "国家名称",
  28727. "type": "string"
  28728. },
  28729. "createtime": {
  28730. "description": "创建时间",
  28731. "type": "string"
  28732. },
  28733. "customername": {
  28734. "description": "客户名称",
  28735. "type": "string"
  28736. },
  28737. "districtid": {
  28738. "description": "区域",
  28739. "type": "integer"
  28740. },
  28741. "districtname": {
  28742. "description": "地区名称",
  28743. "type": "string"
  28744. },
  28745. "email": {
  28746. "description": "邮件",
  28747. "type": "string"
  28748. },
  28749. "legalpersonname": {
  28750. "description": "法人姓名(企业)",
  28751. "type": "string"
  28752. },
  28753. "logincode": {
  28754. "description": "登录账号(代码)",
  28755. "type": "string"
  28756. },
  28757. "memberuserid": {
  28758. "description": "所属机构ID(所属会员)",
  28759. "type": "integer"
  28760. },
  28761. "memberusername": {
  28762. "description": "所属会员名称",
  28763. "type": "string"
  28764. },
  28765. "mobile": {
  28766. "description": "手机号码",
  28767. "type": "string"
  28768. },
  28769. "modifytime": {
  28770. "description": "修改时间",
  28771. "type": "string"
  28772. },
  28773. "nickname": {
  28774. "description": "昵称",
  28775. "type": "string"
  28776. },
  28777. "parentuserid": {
  28778. "description": "上级机构(所属机构)",
  28779. "type": "integer"
  28780. },
  28781. "parentusername": {
  28782. "description": "所属机构名称",
  28783. "type": "string"
  28784. },
  28785. "provinceid": {
  28786. "description": "省",
  28787. "type": "integer"
  28788. },
  28789. "provincename": {
  28790. "description": "省名称",
  28791. "type": "string"
  28792. },
  28793. "proxystatementurl": {
  28794. "description": "授权委托书",
  28795. "type": "string"
  28796. },
  28797. "remark": {
  28798. "description": "备注",
  28799. "type": "string"
  28800. },
  28801. "status": {
  28802. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28803. "type": "integer"
  28804. },
  28805. "statusdesc": {
  28806. "description": "账户状态中文描述",
  28807. "type": "string"
  28808. },
  28809. "taxpayernum": {
  28810. "description": "纳税人识别号",
  28811. "type": "string"
  28812. },
  28813. "telphone": {
  28814. "description": "联系电话",
  28815. "type": "string"
  28816. },
  28817. "userid": {
  28818. "description": "用户ID",
  28819. "type": "integer"
  28820. },
  28821. "userinfotype": {
  28822. "description": "客户类型 1-个人 2-企业",
  28823. "type": "integer"
  28824. },
  28825. "username": {
  28826. "description": "用户名称",
  28827. "type": "string"
  28828. }
  28829. }
  28830. },
  28831. "models.QhjCustomerSignLog": {
  28832. "type": "object",
  28833. "properties": {
  28834. "agreementcontent": {
  28835. "description": "协议内容",
  28836. "type": "string"
  28837. },
  28838. "agreementid": {
  28839. "description": "协议ID",
  28840. "type": "integer"
  28841. },
  28842. "agreementname": {
  28843. "description": "协议名称",
  28844. "type": "string"
  28845. },
  28846. "agreementno": {
  28847. "description": "协议编号",
  28848. "type": "string"
  28849. },
  28850. "agreementtype": {
  28851. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28852. "type": "integer"
  28853. },
  28854. "agreementversion": {
  28855. "description": "协议版本号",
  28856. "type": "integer"
  28857. },
  28858. "createtime": {
  28859. "description": "创建时间",
  28860. "type": "string"
  28861. },
  28862. "goodscode": {
  28863. "description": "商品代码",
  28864. "type": "string"
  28865. },
  28866. "goodsid": {
  28867. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28868. "type": "integer"
  28869. },
  28870. "goodsname": {
  28871. "description": "商品名称",
  28872. "type": "string"
  28873. },
  28874. "logid": {
  28875. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  28876. "type": "integer"
  28877. },
  28878. "nodetype": {
  28879. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28880. "type": "integer"
  28881. },
  28882. "signadressurl": {
  28883. "description": "签约文件地址",
  28884. "type": "string"
  28885. },
  28886. "signtimestamp": {
  28887. "description": "签约状态时间戳",
  28888. "type": "string"
  28889. },
  28890. "userid": {
  28891. "description": "客户ID",
  28892. "type": "integer"
  28893. },
  28894. "username": {
  28895. "description": "客户名称",
  28896. "type": "string"
  28897. }
  28898. }
  28899. },
  28900. "models.QhjCustomerSignStatus": {
  28901. "type": "object",
  28902. "properties": {
  28903. "createtime": {
  28904. "description": "创建时间",
  28905. "type": "string"
  28906. },
  28907. "goodscode": {
  28908. "description": "商品代码",
  28909. "type": "string"
  28910. },
  28911. "goodsid": {
  28912. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28913. "type": "integer"
  28914. },
  28915. "goodsname": {
  28916. "description": "商品名称",
  28917. "type": "string"
  28918. },
  28919. "nodetype": {
  28920. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  28921. "type": "integer"
  28922. },
  28923. "signtimestamp": {
  28924. "description": "签约状态时间戳",
  28925. "type": "string"
  28926. },
  28927. "tradedate": {
  28928. "description": "创建交易日(yyyyMMdd)",
  28929. "type": "string"
  28930. },
  28931. "updatetime": {
  28932. "description": "更新时间",
  28933. "type": "string"
  28934. },
  28935. "userid": {
  28936. "description": "客户ID",
  28937. "type": "integer"
  28938. },
  28939. "username": {
  28940. "description": "客户名称",
  28941. "type": "string"
  28942. }
  28943. }
  28944. },
  28945. "models.QhjMgrAccountOutInApply": {
  28946. "type": "object",
  28947. "properties": {
  28948. "accountcode": {
  28949. "description": "资金账号",
  28950. "type": "string"
  28951. },
  28952. "accountname": {
  28953. "description": "用户名称(名称)",
  28954. "type": "string"
  28955. },
  28956. "accountpwd": {
  28957. "description": "资金密码",
  28958. "type": "string"
  28959. },
  28960. "accountticket": {
  28961. "description": "最新账户服务流水号",
  28962. "type": "string"
  28963. },
  28964. "amount": {
  28965. "description": "金额",
  28966. "type": "number"
  28967. },
  28968. "applyremark": {
  28969. "description": "申请备注",
  28970. "type": "string"
  28971. },
  28972. "applystatus": {
  28973. "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: 复审通过,账户冻结金额检查中;",
  28974. "type": "integer"
  28975. },
  28976. "auditid": {
  28977. "description": "审核人",
  28978. "type": "integer"
  28979. },
  28980. "audittime": {
  28981. "description": "审核时间",
  28982. "type": "string"
  28983. },
  28984. "bank_apply_ticket": {
  28985. "description": "银行申请流水",
  28986. "type": "string"
  28987. },
  28988. "bankaccountname": {
  28989. "description": "银行账户名",
  28990. "type": "string"
  28991. },
  28992. "bankaccountno": {
  28993. "description": "银行卡号",
  28994. "type": "string"
  28995. },
  28996. "bankid": {
  28997. "description": "银行编号",
  28998. "type": "string"
  28999. },
  29000. "bankname": {
  29001. "description": "银行名称",
  29002. "type": "string"
  29003. },
  29004. "bankticket": {
  29005. "description": "银行流水",
  29006. "type": "string"
  29007. },
  29008. "branchbankid": {
  29009. "description": "银行支行号",
  29010. "type": "string"
  29011. },
  29012. "branchbankname": {
  29013. "description": "银行支行名称",
  29014. "type": "string"
  29015. },
  29016. "capamountout": {
  29017. "description": "出金(劣后本金) - 外部子账户",
  29018. "type": "number"
  29019. },
  29020. "certificatephotourl": {
  29021. "description": "凭证地址",
  29022. "type": "string"
  29023. },
  29024. "charge": {
  29025. "description": "手续费",
  29026. "type": "number"
  29027. },
  29028. "checkerrorflag": {
  29029. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29030. "type": "integer"
  29031. },
  29032. "currency": {
  29033. "description": "币种",
  29034. "type": "string"
  29035. },
  29036. "cusbankid": {
  29037. "description": "托管银行编号",
  29038. "type": "string"
  29039. },
  29040. "exchticket": {
  29041. "description": "银行服务流水号",
  29042. "type": "string"
  29043. },
  29044. "executetype": {
  29045. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29046. "type": "integer"
  29047. },
  29048. "extendinfo": {
  29049. "description": "扩展信息",
  29050. "type": "string"
  29051. },
  29052. "extoperateid": {
  29053. "description": "交易服务流水号",
  29054. "type": "integer"
  29055. },
  29056. "infamount": {
  29057. "description": "劣后金额(自有)",
  29058. "type": "number"
  29059. },
  29060. "logincode": {
  29061. "description": "登录账号(账号)",
  29062. "type": "string"
  29063. },
  29064. "netaddr": {
  29065. "description": "调转网址",
  29066. "type": "string"
  29067. },
  29068. "priamount": {
  29069. "description": "优先金额(授信)",
  29070. "type": "number"
  29071. },
  29072. "reauditid": {
  29073. "description": "复审人",
  29074. "type": "integer"
  29075. },
  29076. "reauditremark": {
  29077. "description": "复审备注",
  29078. "type": "string"
  29079. },
  29080. "reaudittime": {
  29081. "description": "复审时间",
  29082. "type": "string"
  29083. },
  29084. "relatedorderid": {
  29085. "description": "三方关联ID",
  29086. "type": "string"
  29087. },
  29088. "remark": {
  29089. "description": "备注",
  29090. "type": "string"
  29091. },
  29092. "remark2": {
  29093. "description": "备注(失败原因)",
  29094. "type": "string"
  29095. },
  29096. "soucreamount": {
  29097. "description": "原始出入金金额",
  29098. "type": "number"
  29099. },
  29100. "soucrecurrencyid": {
  29101. "description": "原始出入金币种",
  29102. "type": "integer"
  29103. },
  29104. "tradedate": {
  29105. "description": "交易日(yyyyMMdd)",
  29106. "type": "string"
  29107. },
  29108. "updatetime": {
  29109. "description": "更新时间(申请时间)",
  29110. "type": "string"
  29111. },
  29112. "userid": {
  29113. "description": "用户id",
  29114. "type": "integer"
  29115. },
  29116. "userinfotype": {
  29117. "description": "账户类型 1-个人 2-企业",
  29118. "type": "integer"
  29119. }
  29120. }
  29121. },
  29122. "models.QhjMgrBrokerApply": {
  29123. "type": "object",
  29124. "properties": {
  29125. "applicantid": {
  29126. "description": "申请人",
  29127. "type": "integer"
  29128. },
  29129. "applysrc": {
  29130. "description": "申请来源 - 1:管理端 2:终端",
  29131. "type": "integer"
  29132. },
  29133. "applystatus": {
  29134. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29135. "type": "integer"
  29136. },
  29137. "applytime": {
  29138. "description": "申请时间",
  29139. "type": "string"
  29140. },
  29141. "auditorid": {
  29142. "description": "审核人",
  29143. "type": "integer"
  29144. },
  29145. "auditremark": {
  29146. "description": "审核备注",
  29147. "type": "string"
  29148. },
  29149. "auditsrc": {
  29150. "description": "审核来源 - 1:管理端 2:终端",
  29151. "type": "integer"
  29152. },
  29153. "audittime": {
  29154. "description": "审核时间",
  29155. "type": "string"
  29156. },
  29157. "audittradedate": {
  29158. "description": "审核交易日(yyyyMMdd)",
  29159. "type": "string"
  29160. },
  29161. "brokerapplyid": {
  29162. "description": "申请ID(SEQ_BROKERAPPLY)",
  29163. "type": "integer"
  29164. },
  29165. "cardbackphotourl": {
  29166. "description": "证件背面图片地址",
  29167. "type": "string"
  29168. },
  29169. "cardfrontphotourl": {
  29170. "description": "证件正面图片地址",
  29171. "type": "string"
  29172. },
  29173. "cardnum": {
  29174. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29175. "type": "string"
  29176. },
  29177. "customername": {
  29178. "description": "姓名",
  29179. "type": "string"
  29180. },
  29181. "filterstatus": {
  29182. "description": "筛选条件",
  29183. "type": "string"
  29184. },
  29185. "logincode": {
  29186. "description": "登录代码",
  29187. "type": "string"
  29188. },
  29189. "mobile": {
  29190. "description": "手机号码",
  29191. "type": "string"
  29192. },
  29193. "parentuserid": {
  29194. "description": "所属机构id",
  29195. "type": "integer"
  29196. },
  29197. "parentusername": {
  29198. "description": "所属机构名称",
  29199. "type": "string"
  29200. },
  29201. "refereeuserid": {
  29202. "description": "推荐人id(经纪人)",
  29203. "type": "integer"
  29204. },
  29205. "refernum": {
  29206. "description": "推荐码",
  29207. "type": "string"
  29208. },
  29209. "remark": {
  29210. "description": "备注",
  29211. "type": "string"
  29212. },
  29213. "subarealevelpath": {
  29214. "description": "层级路径",
  29215. "type": "string"
  29216. },
  29217. "tradedate": {
  29218. "description": "交易日(yyyyMMdd)",
  29219. "type": "string"
  29220. },
  29221. "userid": {
  29222. "description": "申请人用户ID",
  29223. "type": "integer"
  29224. },
  29225. "userinfotype": {
  29226. "description": "用户类型 1-个人 2-企业",
  29227. "type": "integer"
  29228. },
  29229. "username": {
  29230. "description": "用户名称",
  29231. "type": "string"
  29232. }
  29233. }
  29234. },
  29235. "models.QhjMgrBrokerRewardReport": {
  29236. "type": "object",
  29237. "properties": {
  29238. "createtime": {
  29239. "description": "创建时间(注册时间)",
  29240. "type": "string"
  29241. },
  29242. "cycletime": {
  29243. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29244. "type": "string"
  29245. },
  29246. "cycletype": {
  29247. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29248. "type": "integer"
  29249. },
  29250. "directtotalnum": {
  29251. "description": "直推总人数【期末】",
  29252. "type": "integer"
  29253. },
  29254. "indirecttotalnum": {
  29255. "description": "间推总人数【期末】",
  29256. "type": "integer"
  29257. },
  29258. "mobile": {
  29259. "description": "电话号码",
  29260. "type": "string"
  29261. },
  29262. "refereeuserid": {
  29263. "description": "推荐人id(经纪人id)",
  29264. "type": "integer"
  29265. },
  29266. "refereeusername": {
  29267. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29268. "type": "string"
  29269. },
  29270. "refernum": {
  29271. "description": "推荐码",
  29272. "type": "string"
  29273. },
  29274. "subarealevelpath": {
  29275. "description": "用户层级路径",
  29276. "type": "string"
  29277. },
  29278. "todayrewardamount": {
  29279. "description": "奖励总金额【汇总】",
  29280. "type": "number"
  29281. },
  29282. "updatetime": {
  29283. "description": "更新时间",
  29284. "type": "string"
  29285. },
  29286. "userid": {
  29287. "description": "经纪人用户ID",
  29288. "type": "integer"
  29289. },
  29290. "userinfotype": {
  29291. "description": "用户类型 1-个人 2-企业",
  29292. "type": "integer"
  29293. },
  29294. "username": {
  29295. "description": "用户名称",
  29296. "type": "string"
  29297. }
  29298. }
  29299. },
  29300. "models.QhjMgrContract": {
  29301. "type": "object",
  29302. "properties": {
  29303. "contractconfirmtime": {
  29304. "description": "合同确认时间(时间)",
  29305. "type": "string"
  29306. },
  29307. "currisklevel": {
  29308. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29309. "type": "integer"
  29310. },
  29311. "decimalplace": {
  29312. "description": "商品报价小数位",
  29313. "type": "integer"
  29314. },
  29315. "enumdicname": {
  29316. "description": "单位名称",
  29317. "type": "string"
  29318. },
  29319. "goodscode": {
  29320. "description": "商品代码",
  29321. "type": "string"
  29322. },
  29323. "goodsid": {
  29324. "description": "商品ID [5:融资单]",
  29325. "type": "integer"
  29326. },
  29327. "goodsname": {
  29328. "description": "商品名称",
  29329. "type": "string"
  29330. },
  29331. "goodunitid": {
  29332. "description": "商品单位id",
  29333. "type": "integer"
  29334. },
  29335. "initmargin": {
  29336. "description": "初始保证金(首付款)",
  29337. "type": "number"
  29338. },
  29339. "lenderamount": {
  29340. "description": "贷款金额(总额|订单总额)",
  29341. "type": "number"
  29342. },
  29343. "logincode": {
  29344. "description": "账号(登录代码)",
  29345. "type": "string"
  29346. },
  29347. "marginratio": {
  29348. "description": "保证金比率(首付比例)",
  29349. "type": "number"
  29350. },
  29351. "mobile": {
  29352. "description": "电话号码(用户资料里的电话)",
  29353. "type": "string"
  29354. },
  29355. "payamount": {
  29356. "description": "已付(已付货款)",
  29357. "type": "number"
  29358. },
  29359. "reckonrecovermargin": {
  29360. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29361. "type": "number"
  29362. },
  29363. "recoveredmargin": {
  29364. "description": "已追缴保证金",
  29365. "type": "number"
  29366. },
  29367. "remainamount": {
  29368. "description": "合同剩余金额(融资额)",
  29369. "type": "number"
  29370. },
  29371. "scfcontractid": {
  29372. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29373. "type": "string"
  29374. },
  29375. "scfcontractstatus": {
  29376. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29377. "type": "integer"
  29378. },
  29379. "scfcontracttype": {
  29380. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29381. "type": "integer"
  29382. },
  29383. "totalinterest": {
  29384. "description": "已计总利息(利息)",
  29385. "type": "number"
  29386. },
  29387. "tradedate": {
  29388. "description": "交易日",
  29389. "type": "string"
  29390. },
  29391. "tradeprice": {
  29392. "description": "成交价格(成本价格)",
  29393. "type": "number"
  29394. },
  29395. "userid": {
  29396. "description": "用户ID",
  29397. "type": "integer"
  29398. },
  29399. "userinfotype": {
  29400. "description": "用户类型 1-个人 2-企业",
  29401. "type": "integer"
  29402. },
  29403. "username": {
  29404. "description": "用户名称",
  29405. "type": "string"
  29406. },
  29407. "wrqty": {
  29408. "description": "仓单数量(数量)",
  29409. "type": "number"
  29410. }
  29411. }
  29412. },
  29413. "models.QhjMgrCustomer": {
  29414. "type": "object",
  29415. "properties": {
  29416. "address": {
  29417. "description": "通讯地址",
  29418. "type": "string"
  29419. },
  29420. "attachment1": {
  29421. "description": "附件1",
  29422. "type": "string"
  29423. },
  29424. "audittime": {
  29425. "description": "审核时间",
  29426. "type": "string"
  29427. },
  29428. "birthday": {
  29429. "description": "生日",
  29430. "type": "string"
  29431. },
  29432. "brokerid": {
  29433. "description": "所属客户经理id",
  29434. "type": "integer"
  29435. },
  29436. "brokername": {
  29437. "description": "所属客户经理名称",
  29438. "type": "string"
  29439. },
  29440. "cardbackphotourl": {
  29441. "description": "证件反面图片地址",
  29442. "type": "string"
  29443. },
  29444. "cardfrontphotourl": {
  29445. "description": "证件正面图片地址",
  29446. "type": "string"
  29447. },
  29448. "cardnum": {
  29449. "description": "证件号码",
  29450. "type": "string"
  29451. },
  29452. "cardtype": {
  29453. "description": "证件类型",
  29454. "type": "integer"
  29455. },
  29456. "cardtypename": {
  29457. "description": "证件类型名称",
  29458. "type": "string"
  29459. },
  29460. "cityid": {
  29461. "description": "市",
  29462. "type": "integer"
  29463. },
  29464. "cityname": {
  29465. "description": "城市名称",
  29466. "type": "string"
  29467. },
  29468. "contactname": {
  29469. "description": "联系人",
  29470. "type": "string"
  29471. },
  29472. "countryid": {
  29473. "description": "国家",
  29474. "type": "integer"
  29475. },
  29476. "countryname": {
  29477. "description": "国家名称",
  29478. "type": "string"
  29479. },
  29480. "createtime": {
  29481. "description": "创建时间",
  29482. "type": "string"
  29483. },
  29484. "customername": {
  29485. "description": "客户名称",
  29486. "type": "string"
  29487. },
  29488. "districtid": {
  29489. "description": "区域",
  29490. "type": "integer"
  29491. },
  29492. "districtname": {
  29493. "description": "地区名称",
  29494. "type": "string"
  29495. },
  29496. "email": {
  29497. "description": "邮件",
  29498. "type": "string"
  29499. },
  29500. "legalpersonname": {
  29501. "description": "法人姓名(企业)",
  29502. "type": "string"
  29503. },
  29504. "logincode": {
  29505. "description": "登录账号(代码)",
  29506. "type": "string"
  29507. },
  29508. "memberuserid": {
  29509. "description": "所属机构ID(所属会员)",
  29510. "type": "integer"
  29511. },
  29512. "memberusername": {
  29513. "description": "所属会员名称",
  29514. "type": "string"
  29515. },
  29516. "mobile": {
  29517. "description": "手机号码",
  29518. "type": "string"
  29519. },
  29520. "modifytime": {
  29521. "description": "修改时间",
  29522. "type": "string"
  29523. },
  29524. "nickname": {
  29525. "description": "昵称",
  29526. "type": "string"
  29527. },
  29528. "parentuserid": {
  29529. "description": "上级机构(所属机构)",
  29530. "type": "integer"
  29531. },
  29532. "parentusername": {
  29533. "description": "所属机构名称",
  29534. "type": "string"
  29535. },
  29536. "provinceid": {
  29537. "description": "省",
  29538. "type": "integer"
  29539. },
  29540. "provincename": {
  29541. "description": "省名称",
  29542. "type": "string"
  29543. },
  29544. "proxystatementurl": {
  29545. "description": "授权委托书",
  29546. "type": "string"
  29547. },
  29548. "querytype": {
  29549. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29550. "type": "integer"
  29551. },
  29552. "remark": {
  29553. "description": "备注",
  29554. "type": "string"
  29555. },
  29556. "sex": {
  29557. "description": "性别 0-女 1-男",
  29558. "type": "integer"
  29559. },
  29560. "status": {
  29561. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29562. "type": "integer"
  29563. },
  29564. "statusdesc": {
  29565. "description": "账户状态中文描述",
  29566. "type": "string"
  29567. },
  29568. "taxpayernum": {
  29569. "description": "纳税人识别号",
  29570. "type": "string"
  29571. },
  29572. "telphone": {
  29573. "description": "联系电话",
  29574. "type": "string"
  29575. },
  29576. "userid": {
  29577. "description": "用户ID",
  29578. "type": "integer"
  29579. },
  29580. "userinfotype": {
  29581. "description": "客户类型 1-个人 2-企业",
  29582. "type": "integer"
  29583. },
  29584. "username": {
  29585. "description": "用户名称",
  29586. "type": "string"
  29587. }
  29588. }
  29589. },
  29590. "models.QhjMgrPickGoods": {
  29591. "type": "object",
  29592. "properties": {
  29593. "enumdicname": {
  29594. "description": "单位名称(提货商品)",
  29595. "type": "string"
  29596. },
  29597. "goodsid": {
  29598. "description": "商品id",
  29599. "type": "integer"
  29600. },
  29601. "imageaddress": {
  29602. "description": "图片",
  29603. "type": "string"
  29604. },
  29605. "modifierid": {
  29606. "description": "修改人",
  29607. "type": "integer"
  29608. },
  29609. "modifiername": {
  29610. "description": "修改人名称",
  29611. "type": "string"
  29612. },
  29613. "modifysrc": {
  29614. "description": "修改来源 - 1:管理端 2:终端",
  29615. "type": "integer"
  29616. },
  29617. "pickupgoodsagreeunit": {
  29618. "description": "合约乘数",
  29619. "type": "number"
  29620. },
  29621. "pickupgoodsdesc": {
  29622. "description": "描述",
  29623. "type": "string"
  29624. },
  29625. "pickupgoodsid": {
  29626. "description": "提货商品ID",
  29627. "type": "string"
  29628. },
  29629. "pickupgoodsname": {
  29630. "description": "提货商品名称",
  29631. "type": "string"
  29632. },
  29633. "pickupgoodsstatus": {
  29634. "description": "状态 - 1:正常 2:停用 3:注销",
  29635. "type": "integer"
  29636. },
  29637. "pickupgoodsunitid": {
  29638. "description": "单位ID",
  29639. "type": "integer"
  29640. },
  29641. "pickupratio": {
  29642. "description": "提货系数",
  29643. "type": "number"
  29644. },
  29645. "preparedays": {
  29646. "description": "备货期(天)",
  29647. "type": "integer"
  29648. },
  29649. "remark": {
  29650. "description": "备注",
  29651. "type": "string"
  29652. },
  29653. "updatetime": {
  29654. "description": "更新时间",
  29655. "type": "string"
  29656. }
  29657. }
  29658. },
  29659. "models.QhjMgrPositionRsp": {
  29660. "type": "object",
  29661. "properties": {
  29662. "accountid": {
  29663. "description": "账号Id",
  29664. "type": "integer"
  29665. },
  29666. "accountname": {
  29667. "description": "用户名称",
  29668. "type": "string"
  29669. },
  29670. "agreeunit": {
  29671. "description": "合约乘数",
  29672. "type": "number"
  29673. },
  29674. "averageprice": {
  29675. "description": "均价",
  29676. "type": "number"
  29677. },
  29678. "avialqty": {
  29679. "description": "可用数量",
  29680. "type": "number"
  29681. },
  29682. "decimalplace": {
  29683. "description": "报价小数位",
  29684. "type": "integer"
  29685. },
  29686. "enumdicname": {
  29687. "description": "单位名称(商品)",
  29688. "type": "string"
  29689. },
  29690. "frozenqty": {
  29691. "description": "冻结数量",
  29692. "type": "number"
  29693. },
  29694. "goodscode": {
  29695. "description": "商品代码(内部)",
  29696. "type": "string"
  29697. },
  29698. "goodsid": {
  29699. "description": "商品Id",
  29700. "type": "integer"
  29701. },
  29702. "goodsname": {
  29703. "description": "商品名称",
  29704. "type": "string"
  29705. },
  29706. "goodunitid": {
  29707. "description": "报价单位ID",
  29708. "type": "integer"
  29709. },
  29710. "holderamount": {
  29711. "description": "金额",
  29712. "type": "number"
  29713. },
  29714. "holderqty": {
  29715. "description": "持有数量",
  29716. "type": "number"
  29717. },
  29718. "holdertype": {
  29719. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29720. "type": "integer"
  29721. },
  29722. "logincode": {
  29723. "description": "登录代码(账户)",
  29724. "type": "string"
  29725. },
  29726. "marketid": {
  29727. "description": "市场id",
  29728. "type": "integer"
  29729. },
  29730. "qtydecimalplace": {
  29731. "description": "成交量小数位",
  29732. "type": "integer"
  29733. },
  29734. "trademode": {
  29735. "description": "交易模式",
  29736. "type": "integer"
  29737. },
  29738. "userid": {
  29739. "description": "用户id",
  29740. "type": "integer"
  29741. },
  29742. "userinfotype": {
  29743. "description": "账户类型 1-个人 2-企业",
  29744. "type": "integer"
  29745. }
  29746. }
  29747. },
  29748. "models.QhjMgrSubArea": {
  29749. "type": "object",
  29750. "properties": {
  29751. "accountname": {
  29752. "description": "账户名称(机构名称)",
  29753. "type": "string"
  29754. },
  29755. "memberuserid": {
  29756. "description": "所属会员ID",
  29757. "type": "integer"
  29758. },
  29759. "parenttopuser": {
  29760. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29761. "type": "string"
  29762. },
  29763. "parentuserid": {
  29764. "description": "所属机构ID",
  29765. "type": "integer"
  29766. },
  29767. "rootuserid": {
  29768. "description": "根用户ID",
  29769. "type": "string"
  29770. },
  29771. "subaccountlevel": {
  29772. "description": "子账户层数",
  29773. "type": "integer"
  29774. },
  29775. "subarealevelpath": {
  29776. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29777. "type": "string"
  29778. },
  29779. "userid": {
  29780. "description": "用户ID",
  29781. "type": "integer"
  29782. },
  29783. "usertype": {
  29784. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29785. "type": "integer"
  29786. }
  29787. }
  29788. },
  29789. "models.QhjMgrTradeDetailRsp": {
  29790. "type": "object",
  29791. "properties": {
  29792. "accountid": {
  29793. "description": "资金账号",
  29794. "type": "integer"
  29795. },
  29796. "accountname": {
  29797. "description": "用户名称",
  29798. "type": "string"
  29799. },
  29800. "agreeunit": {
  29801. "description": "合约乘数",
  29802. "type": "number"
  29803. },
  29804. "buyorsell": {
  29805. "description": "成交类型(方向) 0:买 1:卖",
  29806. "type": "integer"
  29807. },
  29808. "decimalplace": {
  29809. "description": "报价小数位",
  29810. "type": "integer"
  29811. },
  29812. "enumdicname": {
  29813. "description": "单位名称(商品)",
  29814. "type": "string"
  29815. },
  29816. "goodscode": {
  29817. "description": "商品代码(内部)",
  29818. "type": "string"
  29819. },
  29820. "goodsid": {
  29821. "description": "商品id",
  29822. "type": "integer"
  29823. },
  29824. "goodsname": {
  29825. "description": "商品名称",
  29826. "type": "string"
  29827. },
  29828. "goodunitid": {
  29829. "description": "报价单位ID",
  29830. "type": "integer"
  29831. },
  29832. "logincode": {
  29833. "description": "登录代码(账户)",
  29834. "type": "string"
  29835. },
  29836. "marketid": {
  29837. "description": "市场id",
  29838. "type": "integer"
  29839. },
  29840. "orderid": {
  29841. "description": "关联委托单号",
  29842. "type": "string"
  29843. },
  29844. "qtydecimalplace": {
  29845. "description": "成交量小数位",
  29846. "type": "integer"
  29847. },
  29848. "tradeamount": {
  29849. "description": "金额",
  29850. "type": "number"
  29851. },
  29852. "tradedate": {
  29853. "description": "交易日",
  29854. "type": "string"
  29855. },
  29856. "tradeid": {
  29857. "description": "成交单号",
  29858. "type": "string"
  29859. },
  29860. "trademode": {
  29861. "description": "交易模式",
  29862. "type": "integer"
  29863. },
  29864. "tradeprice": {
  29865. "description": "价格",
  29866. "type": "number"
  29867. },
  29868. "tradeqty": {
  29869. "description": "数量",
  29870. "type": "number"
  29871. },
  29872. "tradetime": {
  29873. "description": "成交时间",
  29874. "type": "string"
  29875. },
  29876. "userid": {
  29877. "description": "用户id",
  29878. "type": "integer"
  29879. },
  29880. "userinfotype": {
  29881. "description": "账户类型 1-个人 2-企业",
  29882. "type": "integer"
  29883. }
  29884. }
  29885. },
  29886. "models.QhjMgrTradeOrderDetailRsp": {
  29887. "type": "object",
  29888. "properties": {
  29889. "accountid": {
  29890. "description": "资金账号",
  29891. "type": "integer"
  29892. },
  29893. "accountname": {
  29894. "description": "用户名称",
  29895. "type": "string"
  29896. },
  29897. "agreeunit": {
  29898. "description": "合约乘数",
  29899. "type": "number"
  29900. },
  29901. "amount": {
  29902. "description": "金额",
  29903. "type": "number"
  29904. },
  29905. "decimalplace": {
  29906. "description": "报价小数位",
  29907. "type": "integer"
  29908. },
  29909. "enumdicname": {
  29910. "description": "单位名称(商品)",
  29911. "type": "string"
  29912. },
  29913. "goodscode": {
  29914. "description": "商品代码(内部)",
  29915. "type": "string"
  29916. },
  29917. "goodsid": {
  29918. "description": "商品id",
  29919. "type": "integer"
  29920. },
  29921. "goodsname": {
  29922. "description": "商品名称",
  29923. "type": "string"
  29924. },
  29925. "goodunitid": {
  29926. "description": "报价单位ID",
  29927. "type": "integer"
  29928. },
  29929. "logincode": {
  29930. "description": "登录代码(账户)",
  29931. "type": "string"
  29932. },
  29933. "marketid": {
  29934. "description": "市场id",
  29935. "type": "integer"
  29936. },
  29937. "orderid": {
  29938. "description": "关联委托单号",
  29939. "type": "string"
  29940. },
  29941. "orderprice": {
  29942. "description": "价格",
  29943. "type": "number"
  29944. },
  29945. "orderqty": {
  29946. "description": "数量",
  29947. "type": "number"
  29948. },
  29949. "orderstatus": {
  29950. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29951. "type": "integer"
  29952. },
  29953. "ordertime": {
  29954. "description": "委托时间",
  29955. "type": "string"
  29956. },
  29957. "qtydecimalplace": {
  29958. "description": "成交量小数位",
  29959. "type": "integer"
  29960. },
  29961. "tradedate": {
  29962. "description": "交易日",
  29963. "type": "string"
  29964. },
  29965. "trademode": {
  29966. "description": "交易模式",
  29967. "type": "integer"
  29968. },
  29969. "userid": {
  29970. "description": "用户id",
  29971. "type": "integer"
  29972. },
  29973. "userinfotype": {
  29974. "description": "账户类型 1-个人 2-企业",
  29975. "type": "integer"
  29976. }
  29977. }
  29978. },
  29979. "models.QhjMgrTradePayOrder": {
  29980. "type": "object",
  29981. "properties": {
  29982. "accountname": {
  29983. "description": "用户名称",
  29984. "type": "string"
  29985. },
  29986. "advanceratio": {
  29987. "description": "首付比率",
  29988. "type": "number"
  29989. },
  29990. "agreeunit": {
  29991. "description": "合约乘数",
  29992. "type": "number"
  29993. },
  29994. "buyaccountid": {
  29995. "description": "买方账号ID[报价币种]",
  29996. "type": "integer"
  29997. },
  29998. "buyorderid": {
  29999. "description": "买方委托单号(关联单号)",
  30000. "type": "string"
  30001. },
  30002. "createtime": {
  30003. "description": "创建时间",
  30004. "type": "string"
  30005. },
  30006. "decimalplace": {
  30007. "description": "报价小数位",
  30008. "type": "integer"
  30009. },
  30010. "enumdicname": {
  30011. "description": "单位名称(商品)",
  30012. "type": "string"
  30013. },
  30014. "goodscode": {
  30015. "description": "商品代码(内部)",
  30016. "type": "string"
  30017. },
  30018. "goodsid": {
  30019. "description": "商品ID",
  30020. "type": "integer"
  30021. },
  30022. "goodsname": {
  30023. "description": "商品名称",
  30024. "type": "string"
  30025. },
  30026. "goodunitid": {
  30027. "description": "报价单位ID",
  30028. "type": "integer"
  30029. },
  30030. "logincode": {
  30031. "description": "登录代码(账户)",
  30032. "type": "string"
  30033. },
  30034. "marketid": {
  30035. "description": "市场id",
  30036. "type": "integer"
  30037. },
  30038. "offamount": {
  30039. "description": "优惠金额",
  30040. "type": "number"
  30041. },
  30042. "operatetype": {
  30043. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30044. "type": "integer"
  30045. },
  30046. "payamount": {
  30047. "description": "支付金额(金额)",
  30048. "type": "number"
  30049. },
  30050. "payflag": {
  30051. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30052. "type": "integer"
  30053. },
  30054. "paylimitedtime": {
  30055. "description": "支付期限",
  30056. "type": "string"
  30057. },
  30058. "paytime": {
  30059. "description": "付款时间",
  30060. "type": "string"
  30061. },
  30062. "qtydecimalplace": {
  30063. "description": "成交量小数位",
  30064. "type": "integer"
  30065. },
  30066. "sellaccountid": {
  30067. "description": "卖方账号ID[报价币种]",
  30068. "type": "integer"
  30069. },
  30070. "sellorderid": {
  30071. "description": "卖方委托单号",
  30072. "type": "string"
  30073. },
  30074. "tradeamount": {
  30075. "description": "成交金额(优惠后金额)",
  30076. "type": "number"
  30077. },
  30078. "tradecharge": {
  30079. "description": "成交手续费(买方)",
  30080. "type": "number"
  30081. },
  30082. "tradedate": {
  30083. "description": "交易日(yyyyMMdd)",
  30084. "type": "string"
  30085. },
  30086. "tradeid": {
  30087. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30088. "type": "string"
  30089. },
  30090. "trademode": {
  30091. "description": "交易模式",
  30092. "type": "integer"
  30093. },
  30094. "tradeprice": {
  30095. "description": "成交价格(价格)",
  30096. "type": "number"
  30097. },
  30098. "tradeqty": {
  30099. "description": "成交数量(数量)",
  30100. "type": "number"
  30101. },
  30102. "tradetime": {
  30103. "description": "成交时间",
  30104. "type": "string"
  30105. },
  30106. "userid": {
  30107. "description": "用户id",
  30108. "type": "integer"
  30109. },
  30110. "userinfotype": {
  30111. "description": "账户类型 1-个人 2-企业",
  30112. "type": "integer"
  30113. }
  30114. }
  30115. },
  30116. "models.QhjMyTeamEx": {
  30117. "type": "object",
  30118. "properties": {
  30119. "accountname": {
  30120. "description": "用户名称",
  30121. "type": "string"
  30122. },
  30123. "accountstatus": {
  30124. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30125. "type": "integer"
  30126. },
  30127. "createtime": {
  30128. "description": "创建时间",
  30129. "type": "string"
  30130. },
  30131. "mobile": {
  30132. "description": "手机号码",
  30133. "type": "string"
  30134. },
  30135. "refereeuserid": {
  30136. "description": "推荐人id",
  30137. "type": "integer"
  30138. },
  30139. "refernum": {
  30140. "description": "推荐码",
  30141. "type": "string"
  30142. },
  30143. "subList": {
  30144. "type": "array",
  30145. "items": {
  30146. "$ref": "#/definitions/models.QhjMyTeamEx"
  30147. }
  30148. },
  30149. "userid": {
  30150. "description": "用户id",
  30151. "type": "integer"
  30152. },
  30153. "userinfotype": {
  30154. "description": "用户类型 1-个人 2-企业",
  30155. "type": "integer"
  30156. }
  30157. }
  30158. },
  30159. "models.QhjNodeAgreementConfig": {
  30160. "type": "object",
  30161. "properties": {
  30162. "agreementcontent": {
  30163. "description": "协议内容",
  30164. "type": "string"
  30165. },
  30166. "agreementid": {
  30167. "description": "协议ID",
  30168. "type": "integer"
  30169. },
  30170. "agreementname": {
  30171. "description": "协议名称",
  30172. "type": "string"
  30173. },
  30174. "agreementno": {
  30175. "description": "协议编号",
  30176. "type": "string"
  30177. },
  30178. "agreementtype": {
  30179. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30180. "type": "integer"
  30181. },
  30182. "agreementversion": {
  30183. "description": "协议版本号",
  30184. "type": "integer"
  30185. },
  30186. "configid": {
  30187. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30188. "type": "integer"
  30189. },
  30190. "createtime": {
  30191. "description": "创建时间",
  30192. "type": "string"
  30193. },
  30194. "goodsid": {
  30195. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30196. "type": "integer"
  30197. },
  30198. "nodetype": {
  30199. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30200. "type": "integer"
  30201. }
  30202. }
  30203. },
  30204. "models.QhjParentAreaList": {
  30205. "type": "object",
  30206. "properties": {
  30207. "accountname": {
  30208. "description": "账户名称(机构名称)",
  30209. "type": "string"
  30210. },
  30211. "userid": {
  30212. "description": "用户ID",
  30213. "type": "integer"
  30214. },
  30215. "usertype": {
  30216. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30217. "type": "integer"
  30218. }
  30219. }
  30220. },
  30221. "models.QhjPayOrder": {
  30222. "type": "object",
  30223. "properties": {
  30224. "advanceratio": {
  30225. "description": "首付比率",
  30226. "type": "number"
  30227. },
  30228. "buyaccountid": {
  30229. "description": "买方账号ID[报价币种]",
  30230. "type": "integer"
  30231. },
  30232. "buyorderid": {
  30233. "description": "买方委托单号",
  30234. "type": "string"
  30235. },
  30236. "createtime": {
  30237. "description": "创建时间",
  30238. "type": "string"
  30239. },
  30240. "decimalplace": {
  30241. "description": "商品报价小数位",
  30242. "type": "integer"
  30243. },
  30244. "enumdicname": {
  30245. "description": "单位名称",
  30246. "type": "string"
  30247. },
  30248. "goodscode": {
  30249. "description": "商品代码",
  30250. "type": "string"
  30251. },
  30252. "goodsid": {
  30253. "description": "商品ID",
  30254. "type": "integer"
  30255. },
  30256. "goodsname": {
  30257. "description": "商品名称",
  30258. "type": "string"
  30259. },
  30260. "goodunitid": {
  30261. "description": "商品单位id",
  30262. "type": "integer"
  30263. },
  30264. "marketid": {
  30265. "description": "市场ID",
  30266. "type": "integer"
  30267. },
  30268. "offamount": {
  30269. "description": "优惠金额",
  30270. "type": "number"
  30271. },
  30272. "operatetype": {
  30273. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30274. "type": "integer"
  30275. },
  30276. "payamount": {
  30277. "description": "支付金额",
  30278. "type": "number"
  30279. },
  30280. "payflag": {
  30281. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30282. "type": "integer"
  30283. },
  30284. "paylimitedtime": {
  30285. "description": "支付期限",
  30286. "type": "string"
  30287. },
  30288. "paytime": {
  30289. "description": "付款时间",
  30290. "type": "string"
  30291. },
  30292. "qtydecimalplace": {
  30293. "description": "成交量小数位",
  30294. "type": "integer"
  30295. },
  30296. "sellaccountid": {
  30297. "description": "卖方账号ID[报价币种]",
  30298. "type": "integer"
  30299. },
  30300. "sellorderid": {
  30301. "description": "卖方委托单号",
  30302. "type": "string"
  30303. },
  30304. "tradeamount": {
  30305. "description": "成交金额(优惠后金额)",
  30306. "type": "number"
  30307. },
  30308. "tradecharge": {
  30309. "description": "成交手续费(买方)",
  30310. "type": "number"
  30311. },
  30312. "tradedate": {
  30313. "description": "交易日(yyyyMMdd)",
  30314. "type": "string"
  30315. },
  30316. "tradeid": {
  30317. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30318. "type": "string"
  30319. },
  30320. "tradeprice": {
  30321. "description": "成交价格",
  30322. "type": "number"
  30323. },
  30324. "tradeqty": {
  30325. "description": "成交数量",
  30326. "type": "number"
  30327. }
  30328. }
  30329. },
  30330. "models.QhjPickArea": {
  30331. "type": "object",
  30332. "properties": {
  30333. "address": {
  30334. "description": "详细地址",
  30335. "type": "string"
  30336. },
  30337. "cityid": {
  30338. "description": "市",
  30339. "type": "integer"
  30340. },
  30341. "cityname": {
  30342. "description": "城市名称",
  30343. "type": "string"
  30344. },
  30345. "countryid": {
  30346. "description": "国家",
  30347. "type": "integer"
  30348. },
  30349. "countryname": {
  30350. "description": "国家名称",
  30351. "type": "string"
  30352. },
  30353. "districtid": {
  30354. "description": "地区",
  30355. "type": "integer"
  30356. },
  30357. "districtname": {
  30358. "description": "地区名称",
  30359. "type": "string"
  30360. },
  30361. "fromuserid": {
  30362. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30363. "type": "integer"
  30364. },
  30365. "fromusername": {
  30366. "description": "所属机构名称",
  30367. "type": "string"
  30368. },
  30369. "provinceid": {
  30370. "description": "省",
  30371. "type": "integer"
  30372. },
  30373. "provincename": {
  30374. "description": "省名称",
  30375. "type": "string"
  30376. },
  30377. "suborgtype": {
  30378. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30379. "type": "integer"
  30380. },
  30381. "userid": {
  30382. "description": "机构用户ID 其他做市关系,都设置为 1",
  30383. "type": "integer"
  30384. },
  30385. "username": {
  30386. "description": "机构用户名称(门店门称)",
  30387. "type": "string"
  30388. }
  30389. }
  30390. },
  30391. "models.QhjPickGoods": {
  30392. "type": "object",
  30393. "properties": {
  30394. "enumdicname": {
  30395. "description": "单位名称(提货商品)",
  30396. "type": "string"
  30397. },
  30398. "goodsid": {
  30399. "description": "商品id",
  30400. "type": "integer"
  30401. },
  30402. "imageaddress": {
  30403. "description": "图片",
  30404. "type": "string"
  30405. },
  30406. "modifierid": {
  30407. "description": "修改人",
  30408. "type": "integer"
  30409. },
  30410. "modifiername": {
  30411. "description": "修改人名称",
  30412. "type": "string"
  30413. },
  30414. "modifysrc": {
  30415. "description": "修改来源 - 1:管理端 2:终端",
  30416. "type": "integer"
  30417. },
  30418. "pickupgoodsagreeunit": {
  30419. "description": "合约乘数",
  30420. "type": "number"
  30421. },
  30422. "pickupgoodsdesc": {
  30423. "description": "描述",
  30424. "type": "string"
  30425. },
  30426. "pickupgoodsid": {
  30427. "description": "提货商品ID",
  30428. "type": "string"
  30429. },
  30430. "pickupgoodsname": {
  30431. "description": "提货商品名称",
  30432. "type": "string"
  30433. },
  30434. "pickupgoodsstatus": {
  30435. "description": "状态 - 1:正常 2:停用 3:注销",
  30436. "type": "integer"
  30437. },
  30438. "pickupgoodsunitid": {
  30439. "description": "单位ID",
  30440. "type": "integer"
  30441. },
  30442. "pickupratio": {
  30443. "description": "提货系数",
  30444. "type": "number"
  30445. },
  30446. "preparedays": {
  30447. "description": "备货期(天)",
  30448. "type": "integer"
  30449. },
  30450. "remark": {
  30451. "description": "备注",
  30452. "type": "string"
  30453. },
  30454. "updatetime": {
  30455. "description": "更新时间",
  30456. "type": "string"
  30457. }
  30458. }
  30459. },
  30460. "models.QhjRSTriggerLog": {
  30461. "type": "object",
  30462. "properties": {
  30463. "accountid": {
  30464. "description": "用户资金账户",
  30465. "type": "integer"
  30466. },
  30467. "accountname": {
  30468. "description": "账号名称(ACCOUNTID对应的名称)",
  30469. "type": "string"
  30470. },
  30471. "currencyid": {
  30472. "description": "币种id",
  30473. "type": "integer"
  30474. },
  30475. "currencyname": {
  30476. "description": "币种名称",
  30477. "type": "string"
  30478. },
  30479. "decimalplace": {
  30480. "description": "商品报价小数位",
  30481. "type": "integer"
  30482. },
  30483. "enumdicname": {
  30484. "description": "单位名称",
  30485. "type": "string"
  30486. },
  30487. "goodscode": {
  30488. "description": "定投商品代码",
  30489. "type": "string"
  30490. },
  30491. "goodsid": {
  30492. "description": "定投商品ID",
  30493. "type": "integer"
  30494. },
  30495. "goodsname": {
  30496. "description": "定投商品名称",
  30497. "type": "string"
  30498. },
  30499. "goodunitid": {
  30500. "description": "定投商品单位id",
  30501. "type": "integer"
  30502. },
  30503. "logid": {
  30504. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30505. "type": "string"
  30506. },
  30507. "logincode": {
  30508. "description": "账号(登录代码)",
  30509. "type": "string"
  30510. },
  30511. "qtydecimalplace": {
  30512. "description": "成交量小数位",
  30513. "type": "integer"
  30514. },
  30515. "regularlycycle": {
  30516. "description": "定投频率 - 1:每周 2:每月",
  30517. "type": "integer"
  30518. },
  30519. "regularlycyclevalue": {
  30520. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30521. "type": "string"
  30522. },
  30523. "regularlymode": {
  30524. "description": "定投方式 - 1:按数量 2:按金额",
  30525. "type": "integer"
  30526. },
  30527. "regularlymodevalue": {
  30528. "description": "定投方式值 - 数量或金额",
  30529. "type": "number"
  30530. },
  30531. "regularlystrategyid": {
  30532. "description": "定投策略ID",
  30533. "type": "integer"
  30534. },
  30535. "retcode": {
  30536. "description": "错误码",
  30537. "type": "string"
  30538. },
  30539. "tradeid": {
  30540. "description": "成交单ID",
  30541. "type": "string"
  30542. },
  30543. "triggeramount": {
  30544. "description": "触发金额",
  30545. "type": "number"
  30546. },
  30547. "triggerqty": {
  30548. "description": "触发数量",
  30549. "type": "number"
  30550. },
  30551. "triggerstatus": {
  30552. "description": "触发状态 - 1:成功 2:失败",
  30553. "type": "integer"
  30554. },
  30555. "triggertime": {
  30556. "description": "触发时间",
  30557. "type": "string"
  30558. },
  30559. "triggertradedate": {
  30560. "description": "触发交易日",
  30561. "type": "string"
  30562. },
  30563. "userid": {
  30564. "description": "所属用户ID",
  30565. "type": "integer"
  30566. },
  30567. "userinfotype": {
  30568. "description": "用户类型 1-个人 2-企业",
  30569. "type": "integer"
  30570. },
  30571. "username": {
  30572. "description": "用户名称(userid对应的名称)",
  30573. "type": "string"
  30574. }
  30575. }
  30576. },
  30577. "models.QhjRStrategy": {
  30578. "type": "object",
  30579. "properties": {
  30580. "accountid": {
  30581. "description": "用户资金账户",
  30582. "type": "integer"
  30583. },
  30584. "accountname": {
  30585. "description": "账号名称(ACCOUNTID对应的名称)",
  30586. "type": "string"
  30587. },
  30588. "currencyid": {
  30589. "description": "币种id",
  30590. "type": "integer"
  30591. },
  30592. "currencyname": {
  30593. "description": "币种名称",
  30594. "type": "string"
  30595. },
  30596. "decimalplace": {
  30597. "description": "商品报价小数位",
  30598. "type": "integer"
  30599. },
  30600. "enumdicname": {
  30601. "description": "单位名称",
  30602. "type": "string"
  30603. },
  30604. "goodscode": {
  30605. "description": "定投商品代码",
  30606. "type": "string"
  30607. },
  30608. "goodsid": {
  30609. "description": "定投商品ID",
  30610. "type": "integer"
  30611. },
  30612. "goodsname": {
  30613. "description": "定投商品名称",
  30614. "type": "string"
  30615. },
  30616. "goodunitid": {
  30617. "description": "定投商品单位id",
  30618. "type": "integer"
  30619. },
  30620. "lasteffecttradedate": {
  30621. "description": "最新生效交易日",
  30622. "type": "string"
  30623. },
  30624. "laststoptradedate": {
  30625. "description": "最新暂停交易日",
  30626. "type": "string"
  30627. },
  30628. "lasttriggertradedate": {
  30629. "description": "最新触发交易日",
  30630. "type": "string"
  30631. },
  30632. "logincode": {
  30633. "description": "账号(登录代码)",
  30634. "type": "string"
  30635. },
  30636. "nexttriggeramount": {
  30637. "description": "下次触发金额",
  30638. "type": "number"
  30639. },
  30640. "nexttriggerdate": {
  30641. "description": "下次触发日期",
  30642. "type": "string"
  30643. },
  30644. "nexttriggerqty": {
  30645. "description": "下次触发数量 [按小数位放大值]",
  30646. "type": "number"
  30647. },
  30648. "qtydecimalplace": {
  30649. "description": "成交量小数位",
  30650. "type": "integer"
  30651. },
  30652. "regularlycycle": {
  30653. "description": "定投频率 - 1:每周 2:每月",
  30654. "type": "integer"
  30655. },
  30656. "regularlycyclevalue": {
  30657. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30658. "type": "string"
  30659. },
  30660. "regularlymode": {
  30661. "description": "定投方式 - 1:按数量 2:按金额",
  30662. "type": "integer"
  30663. },
  30664. "regularlymodevalue": {
  30665. "description": "定投方式值 - 数量或金额",
  30666. "type": "number"
  30667. },
  30668. "regularlystrategyid": {
  30669. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30670. "type": "integer"
  30671. },
  30672. "regularlystrategystatus": {
  30673. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30674. "type": "integer"
  30675. },
  30676. "remark": {
  30677. "description": "备注",
  30678. "type": "string"
  30679. },
  30680. "triggersuccesstimes": {
  30681. "description": "累计定投成功次数",
  30682. "type": "string"
  30683. },
  30684. "triggertotalamount": {
  30685. "description": "累计定投金额(成功)",
  30686. "type": "number"
  30687. },
  30688. "triggertotalqty": {
  30689. "description": "累计定投数量(成功) [按小数位放大值]",
  30690. "type": "number"
  30691. },
  30692. "triggertotaltimes": {
  30693. "description": "累计定投总次数",
  30694. "type": "string"
  30695. },
  30696. "updatesrc": {
  30697. "description": "更新来源 - 1:管理端 2:终端",
  30698. "type": "integer"
  30699. },
  30700. "updatetime": {
  30701. "description": "更新时间",
  30702. "type": "string"
  30703. },
  30704. "updatorid": {
  30705. "description": "更新人",
  30706. "type": "string"
  30707. },
  30708. "userid": {
  30709. "description": "所属用户ID",
  30710. "type": "integer"
  30711. },
  30712. "userinfotype": {
  30713. "description": "用户类型 1-个人 2-企业",
  30714. "type": "integer"
  30715. },
  30716. "username": {
  30717. "description": "用户名称(userid对应的名称)",
  30718. "type": "string"
  30719. }
  30720. }
  30721. },
  30722. "models.QhjReckonPriceLog": {
  30723. "type": "object",
  30724. "properties": {
  30725. "decimalplace": {
  30726. "description": "商品报价小数位",
  30727. "type": "integer"
  30728. },
  30729. "goodscode": {
  30730. "description": "商品代码",
  30731. "type": "string"
  30732. },
  30733. "goodsid": {
  30734. "description": "商品ID",
  30735. "type": "integer"
  30736. },
  30737. "goodsname": {
  30738. "description": "商品名称",
  30739. "type": "string"
  30740. },
  30741. "lastreckonprice": {
  30742. "description": "上日结算价",
  30743. "type": "number"
  30744. },
  30745. "nextdnlimitprice": {
  30746. "description": "下个交易日跌停价",
  30747. "type": "number"
  30748. },
  30749. "nexttrade": {
  30750. "description": "下个交易日",
  30751. "type": "string"
  30752. },
  30753. "nextuplimitprice": {
  30754. "description": "下个交易日涨停价",
  30755. "type": "number"
  30756. },
  30757. "reckonprice": {
  30758. "description": "今日结算价(定投价)",
  30759. "type": "number"
  30760. },
  30761. "reckontime": {
  30762. "description": "结算时间",
  30763. "type": "string"
  30764. },
  30765. "totalholderqty": {
  30766. "description": "总持仓数",
  30767. "type": "integer"
  30768. },
  30769. "totalstock": {
  30770. "description": "总库存",
  30771. "type": "integer"
  30772. },
  30773. "tradedate": {
  30774. "description": "交易日",
  30775. "type": "string"
  30776. },
  30777. "updowncount": {
  30778. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30779. "type": "integer"
  30780. },
  30781. "updownflag": {
  30782. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30783. "type": "integer"
  30784. },
  30785. "updownrate": {
  30786. "description": "今日涨跌幅",
  30787. "type": "number"
  30788. },
  30789. "updownrate_2d": {
  30790. "description": "连续两日涨跌幅",
  30791. "type": "number"
  30792. },
  30793. "updownrate_3d": {
  30794. "description": "连续三日涨跌幅",
  30795. "type": "number"
  30796. }
  30797. }
  30798. },
  30799. "models.QhjScoreLog": {
  30800. "type": "object",
  30801. "properties": {
  30802. "accountid": {
  30803. "description": "账户ID",
  30804. "type": "integer"
  30805. },
  30806. "createtime": {
  30807. "description": "创建时间(时间)",
  30808. "type": "string"
  30809. },
  30810. "goodsid": {
  30811. "description": "商品ID",
  30812. "type": "integer"
  30813. },
  30814. "hasuploaded": {
  30815. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  30816. "type": "integer"
  30817. },
  30818. "logid": {
  30819. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30820. "type": "string"
  30821. },
  30822. "marketid": {
  30823. "description": "市场ID",
  30824. "type": "integer"
  30825. },
  30826. "relatedamount": {
  30827. "description": "关联金额",
  30828. "type": "number"
  30829. },
  30830. "relatedorderid": {
  30831. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  30832. "type": "string"
  30833. },
  30834. "scoreconfigvalue1": {
  30835. "description": "积分配置1",
  30836. "type": "integer"
  30837. },
  30838. "scoreconfigvalue2": {
  30839. "description": "积分配置1",
  30840. "type": "integer"
  30841. },
  30842. "scoretype": {
  30843. "description": "积分类型 - 1:提货积分",
  30844. "type": "integer"
  30845. },
  30846. "scorevalue": {
  30847. "description": "积分",
  30848. "type": "number"
  30849. },
  30850. "tradedate": {
  30851. "description": "交易日(yyyyMMdd)",
  30852. "type": "string"
  30853. },
  30854. "uploadedtime": {
  30855. "description": "同步时间",
  30856. "type": "string"
  30857. },
  30858. "userid": {
  30859. "description": "用户ID",
  30860. "type": "integer"
  30861. }
  30862. }
  30863. },
  30864. "models.QhjSiteColumnDetail": {
  30865. "type": "object",
  30866. "properties": {
  30867. "author": {
  30868. "description": "作者",
  30869. "type": "string"
  30870. },
  30871. "brief": {
  30872. "description": "简介",
  30873. "type": "string"
  30874. },
  30875. "columnid": {
  30876. "description": "所属栏目",
  30877. "type": "integer"
  30878. },
  30879. "context": {
  30880. "description": "内容",
  30881. "type": "string"
  30882. },
  30883. "coverimage": {
  30884. "description": "封面图片",
  30885. "type": "string"
  30886. },
  30887. "creaedate": {
  30888. "description": "创建时间",
  30889. "type": "string"
  30890. },
  30891. "creatorid": {
  30892. "description": "创建人",
  30893. "type": "integer"
  30894. },
  30895. "hits": {
  30896. "description": "点击数",
  30897. "type": "integer"
  30898. },
  30899. "id": {
  30900. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  30901. "type": "integer"
  30902. },
  30903. "isshow": {
  30904. "description": "是否展示 - 0:不展示 1:展示",
  30905. "type": "integer"
  30906. },
  30907. "istop": {
  30908. "description": "是否置顶 - 0:不置 1:置顶",
  30909. "type": "integer"
  30910. },
  30911. "modifierid": {
  30912. "description": "操作人",
  30913. "type": "integer"
  30914. },
  30915. "publishdate": {
  30916. "description": "发布日期",
  30917. "type": "string"
  30918. },
  30919. "status": {
  30920. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  30921. "type": "integer"
  30922. },
  30923. "title": {
  30924. "description": "标题",
  30925. "type": "string"
  30926. },
  30927. "updatedate": {
  30928. "description": "修改时间",
  30929. "type": "string"
  30930. },
  30931. "userid": {
  30932. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  30933. "type": "integer"
  30934. },
  30935. "username": {
  30936. "description": "用户名称",
  30937. "type": "string"
  30938. }
  30939. }
  30940. },
  30941. "models.QhjTeamOrder": {
  30942. "type": "object",
  30943. "properties": {
  30944. "accountid": {
  30945. "description": "账户ID[报价币种]",
  30946. "type": "integer"
  30947. },
  30948. "accountname": {
  30949. "description": "账户名称",
  30950. "type": "string"
  30951. },
  30952. "agreeunit": {
  30953. "description": "合约乘数",
  30954. "type": "number"
  30955. },
  30956. "buyorsell": {
  30957. "description": "方向 - 0:买 1:卖",
  30958. "type": "integer"
  30959. },
  30960. "decimalplace": {
  30961. "description": "报价小数位",
  30962. "type": "integer"
  30963. },
  30964. "enumdicname": {
  30965. "description": "单位名称",
  30966. "type": "string"
  30967. },
  30968. "goodscode": {
  30969. "description": "商品代码(内部)",
  30970. "type": "string"
  30971. },
  30972. "goodsid": {
  30973. "description": "商品ID",
  30974. "type": "integer"
  30975. },
  30976. "goodsname": {
  30977. "description": "商品名称",
  30978. "type": "string"
  30979. },
  30980. "goodunitid": {
  30981. "description": "报价单位ID",
  30982. "type": "integer"
  30983. },
  30984. "marketid": {
  30985. "description": "市场ID",
  30986. "type": "integer"
  30987. },
  30988. "marketname": {
  30989. "description": "市场名称",
  30990. "type": "string"
  30991. },
  30992. "qtydecimalplace": {
  30993. "description": "成交量小数位",
  30994. "type": "integer"
  30995. },
  30996. "refereeuserid": {
  30997. "description": "推荐人ID",
  30998. "type": "integer"
  30999. },
  31000. "tradeamount": {
  31001. "description": "成交金额[账户币种,用于所有权]",
  31002. "type": "number"
  31003. },
  31004. "tradedate": {
  31005. "description": "交易日(yyyyMMdd)",
  31006. "type": "string"
  31007. },
  31008. "trademode": {
  31009. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31010. "type": "integer"
  31011. },
  31012. "tradeprice": {
  31013. "description": "成交价格",
  31014. "type": "number"
  31015. },
  31016. "tradeqty": {
  31017. "description": "成交数量",
  31018. "type": "number"
  31019. },
  31020. "tradetime": {
  31021. "description": "成交时间",
  31022. "type": "string"
  31023. },
  31024. "userid": {
  31025. "description": "用户ID",
  31026. "type": "integer"
  31027. }
  31028. }
  31029. },
  31030. "models.QhjTradeGoodsPickup": {
  31031. "type": "object",
  31032. "properties": {
  31033. "accountid": {
  31034. "description": "账户ID",
  31035. "type": "integer"
  31036. },
  31037. "address": {
  31038. "description": "提货人详细地址",
  31039. "type": "string"
  31040. },
  31041. "amount": {
  31042. "description": "提货金额",
  31043. "type": "number"
  31044. },
  31045. "artradedate": {
  31046. "description": "自动收货交易日(yyyyMMdd)",
  31047. "type": "string"
  31048. },
  31049. "auditer": {
  31050. "description": "审核人",
  31051. "type": "integer"
  31052. },
  31053. "auditsrc": {
  31054. "description": "更新来源 - 1:管理端 2:终端",
  31055. "type": "integer"
  31056. },
  31057. "audittime": {
  31058. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31059. "type": "string"
  31060. },
  31061. "audittradedate": {
  31062. "description": "审核交易日(yyyyMMdd)",
  31063. "type": "string"
  31064. },
  31065. "cardnum": {
  31066. "description": "提货人证件号码",
  31067. "type": "string"
  31068. },
  31069. "cardtypeid": {
  31070. "description": "提货人证件类型",
  31071. "type": "integer"
  31072. },
  31073. "checkremark": {
  31074. "description": "审核备注",
  31075. "type": "string"
  31076. },
  31077. "cityid": {
  31078. "description": "市",
  31079. "type": "integer"
  31080. },
  31081. "cityname": {
  31082. "description": "城市名称",
  31083. "type": "string"
  31084. },
  31085. "confirmtime": {
  31086. "description": "取货时间 或 收货时间",
  31087. "type": "string"
  31088. },
  31089. "countryid": {
  31090. "description": "国家",
  31091. "type": "integer"
  31092. },
  31093. "countryname": {
  31094. "description": "国家名称",
  31095. "type": "string"
  31096. },
  31097. "decimalplace": {
  31098. "description": "商品报价小数位",
  31099. "type": "integer"
  31100. },
  31101. "districtid": {
  31102. "description": "地区",
  31103. "type": "integer"
  31104. },
  31105. "districtname": {
  31106. "description": "地区名称",
  31107. "type": "string"
  31108. },
  31109. "enumdicname": {
  31110. "description": "单位名称(提货商品)",
  31111. "type": "string"
  31112. },
  31113. "expresscompany": {
  31114. "description": "物流公司",
  31115. "type": "string"
  31116. },
  31117. "expressnum": {
  31118. "description": "物流单号",
  31119. "type": "string"
  31120. },
  31121. "goodsagreeunit": {
  31122. "description": "交易商品乘数",
  31123. "type": "number"
  31124. },
  31125. "goodscode": {
  31126. "description": "商品代码",
  31127. "type": "string"
  31128. },
  31129. "goodsid": {
  31130. "description": "商品ID",
  31131. "type": "integer"
  31132. },
  31133. "goodsname": {
  31134. "description": "商品名称",
  31135. "type": "string"
  31136. },
  31137. "goodsqty": {
  31138. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31139. "type": "number"
  31140. },
  31141. "handlestatus": {
  31142. "description": "处理状态",
  31143. "type": "integer"
  31144. },
  31145. "logincode": {
  31146. "description": "账号(登录代码, 有可能为空)",
  31147. "type": "string"
  31148. },
  31149. "marketid": {
  31150. "description": "市场ID",
  31151. "type": "integer"
  31152. },
  31153. "phonenum": {
  31154. "description": "提货人联系方式",
  31155. "type": "string"
  31156. },
  31157. "pickupgoodsagreeunit": {
  31158. "description": "提货商品合约乘数",
  31159. "type": "number"
  31160. },
  31161. "pickupgoodsid": {
  31162. "description": "提货商品ID",
  31163. "type": "string"
  31164. },
  31165. "pickupgoodsname": {
  31166. "description": "提货商品名称",
  31167. "type": "string"
  31168. },
  31169. "pickupgoodsqty": {
  31170. "description": "提货商品手数(数量)",
  31171. "type": "number"
  31172. },
  31173. "pickupgoodsunitid": {
  31174. "description": "单位ID(提货商品)",
  31175. "type": "integer"
  31176. },
  31177. "pickupratio": {
  31178. "description": "提货系数",
  31179. "type": "number"
  31180. },
  31181. "preparedays": {
  31182. "description": "备货期(天)-提货单明细表",
  31183. "type": "integer"
  31184. },
  31185. "provinceid": {
  31186. "description": "省",
  31187. "type": "integer"
  31188. },
  31189. "provincename": {
  31190. "description": "省名称",
  31191. "type": "string"
  31192. },
  31193. "qty": {
  31194. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31195. "type": "number"
  31196. },
  31197. "qtydecimalplace": {
  31198. "description": "商品数量小数位",
  31199. "type": "integer"
  31200. },
  31201. "recivername": {
  31202. "description": "提货人姓名",
  31203. "type": "string"
  31204. },
  31205. "reqtime": {
  31206. "description": "提货申请时间",
  31207. "type": "string"
  31208. },
  31209. "storeuserid": {
  31210. "description": "门店用户ID (千海金)",
  31211. "type": "integer"
  31212. },
  31213. "storeusername": {
  31214. "description": "门店用户名称",
  31215. "type": "string"
  31216. },
  31217. "takemode": {
  31218. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31219. "type": "integer"
  31220. },
  31221. "takeorderid": {
  31222. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31223. "type": "string"
  31224. },
  31225. "takeorderstatus": {
  31226. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31227. "type": "integer"
  31228. },
  31229. "takeremark": {
  31230. "description": "提货备注",
  31231. "type": "string"
  31232. },
  31233. "tradedate": {
  31234. "description": "交易日(yyyyMMdd)",
  31235. "type": "string"
  31236. },
  31237. "updatetime": {
  31238. "description": "更新时间",
  31239. "type": "string"
  31240. },
  31241. "userid": {
  31242. "description": "用户ID",
  31243. "type": "integer"
  31244. },
  31245. "userinfotype": {
  31246. "description": "客户类型 1-个人 2-企业",
  31247. "type": "integer"
  31248. },
  31249. "username": {
  31250. "description": "用户名称",
  31251. "type": "string"
  31252. }
  31253. }
  31254. },
  31255. "models.QhjUserNodeCfgAndStatus": {
  31256. "type": "object",
  31257. "properties": {
  31258. "agreementcontent": {
  31259. "description": "协议内容",
  31260. "type": "string"
  31261. },
  31262. "agreementid": {
  31263. "description": "协议ID",
  31264. "type": "integer"
  31265. },
  31266. "agreementname": {
  31267. "description": "协议名称",
  31268. "type": "string"
  31269. },
  31270. "agreementno": {
  31271. "description": "协议编号",
  31272. "type": "string"
  31273. },
  31274. "agreementtype": {
  31275. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31276. "type": "integer"
  31277. },
  31278. "agreementversion": {
  31279. "description": "协议版本号",
  31280. "type": "integer"
  31281. },
  31282. "configid": {
  31283. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31284. "type": "integer"
  31285. },
  31286. "createtime": {
  31287. "description": "创建时间",
  31288. "type": "string"
  31289. },
  31290. "goodsid": {
  31291. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31292. "type": "integer"
  31293. },
  31294. "nodetype": {
  31295. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31296. "type": "integer"
  31297. },
  31298. "signtimestamp": {
  31299. "description": "签约状态时间戳(最近一次)",
  31300. "type": "string"
  31301. },
  31302. "tradedate": {
  31303. "description": "签约交易日(yyyyMMdd)",
  31304. "type": "string"
  31305. },
  31306. "userid": {
  31307. "description": "客户ID",
  31308. "type": "integer"
  31309. }
  31310. }
  31311. },
  31312. "models.Qhjgoodsex": {
  31313. "type": "object",
  31314. "properties": {
  31315. "canfinance": {
  31316. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31317. "type": "integer"
  31318. },
  31319. "canregularlybuy": {
  31320. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31321. "type": "integer"
  31322. },
  31323. "defaulttradeuserid": {
  31324. "description": "默认交易用户ID",
  31325. "type": "integer"
  31326. },
  31327. "deliverygoodsid": {
  31328. "description": "现货品种ID",
  31329. "type": "integer"
  31330. },
  31331. "goodsid": {
  31332. "description": "商品ID(自增ID SEQ_GOODS)",
  31333. "type": "integer"
  31334. },
  31335. "minamount": {
  31336. "description": "最小购买金额",
  31337. "type": "number"
  31338. },
  31339. "regularlybuyminamount": {
  31340. "description": "定投最小金额",
  31341. "type": "number"
  31342. },
  31343. "regularlybuyminqty": {
  31344. "description": "定投最小数量",
  31345. "type": "number"
  31346. },
  31347. "spotgoodsbrandid": {
  31348. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31349. "type": "integer"
  31350. },
  31351. "visibilityforenterprise": {
  31352. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31353. "type": "integer"
  31354. },
  31355. "visibilityforpersonal": {
  31356. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31357. "type": "integer"
  31358. },
  31359. "wrstandardid": {
  31360. "description": "现货商品ID",
  31361. "type": "integer"
  31362. }
  31363. }
  31364. },
  31365. "models.QueryErrorInfosRsp": {
  31366. "type": "object",
  31367. "required": [
  31368. "errorid"
  31369. ],
  31370. "properties": {
  31371. "description": {
  31372. "description": "异常描述",
  31373. "type": "string"
  31374. },
  31375. "errorcode": {
  31376. "description": "异常代码",
  31377. "type": "string"
  31378. },
  31379. "errorid": {
  31380. "description": "异常ID",
  31381. "type": "integer"
  31382. },
  31383. "modulecode": {
  31384. "description": "所属模块",
  31385. "type": "string"
  31386. },
  31387. "operatecode": {
  31388. "description": "所属操作",
  31389. "type": "string"
  31390. },
  31391. "rownumber": {
  31392. "description": "行号",
  31393. "type": "string"
  31394. }
  31395. }
  31396. },
  31397. "models.QueryHedgeOrderDetailRsp": {
  31398. "type": "object",
  31399. "properties": {
  31400. "accountid": {
  31401. "description": "账户ID",
  31402. "type": "integer"
  31403. },
  31404. "buyorsell": {
  31405. "description": "买卖 - 0:买 1:卖",
  31406. "type": "integer"
  31407. },
  31408. "cancellogincode": {
  31409. "description": "撤单人",
  31410. "type": "string"
  31411. },
  31412. "channelbuildtype": {
  31413. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31414. "type": "integer"
  31415. },
  31416. "channelinnerorderstatus": {
  31417. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31418. "type": "integer"
  31419. },
  31420. "channeloperatetype": {
  31421. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31422. "type": "integer"
  31423. },
  31424. "closetype": {
  31425. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31426. "type": "integer"
  31427. },
  31428. "curexchangerate": {
  31429. "description": "当前汇率",
  31430. "type": "number"
  31431. },
  31432. "exchangefullname": {
  31433. "description": "外部交易所全称",
  31434. "type": "string"
  31435. },
  31436. "goodscode": {
  31437. "description": "商品代码(内部)",
  31438. "type": "string"
  31439. },
  31440. "goodsid": {
  31441. "description": "商品ID",
  31442. "type": "integer"
  31443. },
  31444. "goodsname": {
  31445. "description": "商品名称",
  31446. "type": "string"
  31447. },
  31448. "marketid": {
  31449. "description": "市场ID",
  31450. "type": "integer"
  31451. },
  31452. "openfreezemargin": {
  31453. "description": "冻结保证金(冻结交易金额)",
  31454. "type": "number"
  31455. },
  31456. "orderid": {
  31457. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31458. "type": "string"
  31459. },
  31460. "orderlogincode": {
  31461. "description": "委托人",
  31462. "type": "string"
  31463. },
  31464. "orderprice": {
  31465. "description": "委托价格(账户)",
  31466. "type": "number"
  31467. },
  31468. "orderqty": {
  31469. "description": "委托数量",
  31470. "type": "integer"
  31471. },
  31472. "ordertime": {
  31473. "description": "委托时间",
  31474. "type": "string"
  31475. },
  31476. "pricemode": {
  31477. "description": "取价方式 - 1:市价 2: 限价",
  31478. "type": "integer"
  31479. },
  31480. "tradedate": {
  31481. "description": "交易日(yyyyMMdd)",
  31482. "type": "string"
  31483. },
  31484. "tradeqty": {
  31485. "description": "成交数量",
  31486. "type": "integer"
  31487. }
  31488. }
  31489. },
  31490. "models.QueryHedgeTradeDetailRsp": {
  31491. "type": "object",
  31492. "properties": {
  31493. "accountid": {
  31494. "description": "账号ID",
  31495. "type": "integer"
  31496. },
  31497. "buyorsell": {
  31498. "description": "方向 - 0:买 1:卖",
  31499. "type": "integer"
  31500. },
  31501. "channelbuildtype": {
  31502. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31503. "type": "integer"
  31504. },
  31505. "closecharge": {
  31506. "description": "平仓手续费(账户)",
  31507. "type": "number"
  31508. },
  31509. "closecharge2": {
  31510. "description": "平仓手续费(商品)",
  31511. "type": "number"
  31512. },
  31513. "closepl": {
  31514. "description": "平仓盈亏(账户)",
  31515. "type": "number"
  31516. },
  31517. "closepl2": {
  31518. "description": "平仓盈亏(商品)",
  31519. "type": "number"
  31520. },
  31521. "closepl3": {
  31522. "description": "平仓盈亏(账户)(逐笔)",
  31523. "type": "number"
  31524. },
  31525. "closepl4": {
  31526. "description": "平仓盈亏(商品)(逐笔)",
  31527. "type": "number"
  31528. },
  31529. "closetype": {
  31530. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31531. "type": "integer"
  31532. },
  31533. "curexchangerate": {
  31534. "description": "当前汇率",
  31535. "type": "number"
  31536. },
  31537. "exchangefullname": {
  31538. "description": "外部交易所全称",
  31539. "type": "string"
  31540. },
  31541. "goodscode": {
  31542. "description": "商品代码(内部)",
  31543. "type": "string"
  31544. },
  31545. "goodsid": {
  31546. "description": "商品ID",
  31547. "type": "integer"
  31548. },
  31549. "goodsname": {
  31550. "description": "商品名称",
  31551. "type": "string"
  31552. },
  31553. "marketid": {
  31554. "description": "市场ID",
  31555. "type": "integer"
  31556. },
  31557. "opencharge": {
  31558. "description": "建仓手续费(账户)",
  31559. "type": "number"
  31560. },
  31561. "opencharge2": {
  31562. "description": "建仓手续费(商品)",
  31563. "type": "number"
  31564. },
  31565. "orderid": {
  31566. "description": "委托单号",
  31567. "type": "string"
  31568. },
  31569. "orderlogincode": {
  31570. "description": "委托人",
  31571. "type": "string"
  31572. },
  31573. "tradeamount": {
  31574. "description": "成交金额(账户)",
  31575. "type": "number"
  31576. },
  31577. "tradedate": {
  31578. "description": "交易日(yyyyMMdd)",
  31579. "type": "string"
  31580. },
  31581. "tradeid": {
  31582. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31583. "type": "string"
  31584. },
  31585. "tradeprice": {
  31586. "description": "成交价格",
  31587. "type": "number"
  31588. },
  31589. "tradeqty": {
  31590. "description": "成交数量",
  31591. "type": "integer"
  31592. },
  31593. "tradetime": {
  31594. "description": "成交时间",
  31595. "type": "string"
  31596. },
  31597. "tradetype": {
  31598. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31599. "type": "integer"
  31600. }
  31601. }
  31602. },
  31603. "models.QuotePrimaryMenu": {
  31604. "type": "object",
  31605. "properties": {
  31606. "Index": {
  31607. "description": "序号",
  31608. "type": "integer"
  31609. },
  31610. "Key": {
  31611. "description": "键名",
  31612. "type": "string"
  31613. },
  31614. "Name": {
  31615. "description": "菜单名称",
  31616. "type": "string"
  31617. },
  31618. "SubMenus": {
  31619. "description": "子菜单",
  31620. "type": "array",
  31621. "items": {
  31622. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31623. }
  31624. },
  31625. "SubTitleType": {
  31626. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31627. "type": "integer"
  31628. },
  31629. "TradeModes": {
  31630. "description": "包含市场交易类型",
  31631. "type": "string"
  31632. }
  31633. }
  31634. },
  31635. "models.QuoteSecondaryMenu": {
  31636. "type": "object",
  31637. "properties": {
  31638. "ExExchangeCode": {
  31639. "description": "外部交易所代码",
  31640. "type": "string"
  31641. },
  31642. "ExExchangeID": {
  31643. "description": "外部交易所ID",
  31644. "type": "integer"
  31645. },
  31646. "GoodsGroupIDs": {
  31647. "description": "商品组ID列表",
  31648. "type": "array",
  31649. "items": {
  31650. "type": "integer"
  31651. }
  31652. },
  31653. "Index": {
  31654. "description": "序号",
  31655. "type": "integer"
  31656. },
  31657. "MarketID": {
  31658. "description": "市场ID",
  31659. "type": "integer"
  31660. },
  31661. "MenuTitle": {
  31662. "description": "菜单标题(市场名称或外部交易所名称)",
  31663. "type": "string"
  31664. },
  31665. "TradeMode": {
  31666. "description": "交易模式",
  31667. "type": "integer"
  31668. }
  31669. }
  31670. },
  31671. "models.RoleMenu": {
  31672. "type": "object",
  31673. "properties": {
  31674. "hasright": {
  31675. "description": "是否有权限 0-没有权限 1-有权限",
  31676. "type": "integer"
  31677. },
  31678. "iconame": {
  31679. "description": "菜单图标",
  31680. "type": "string"
  31681. },
  31682. "menutype": {
  31683. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31684. "type": "integer"
  31685. },
  31686. "parentcode": {
  31687. "description": "上级资源代码",
  31688. "type": "string"
  31689. },
  31690. "remark": {
  31691. "description": "菜单备注",
  31692. "type": "string"
  31693. },
  31694. "resourcecode": {
  31695. "description": "菜单代码",
  31696. "type": "string"
  31697. },
  31698. "resourcelevel": {
  31699. "description": "级别",
  31700. "type": "integer"
  31701. },
  31702. "resourcename": {
  31703. "description": "菜单名称",
  31704. "type": "string"
  31705. },
  31706. "roleid": {
  31707. "description": "角色id",
  31708. "type": "integer"
  31709. },
  31710. "sort": {
  31711. "description": "排序",
  31712. "type": "integer"
  31713. },
  31714. "subMenu": {
  31715. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31716. "type": "array",
  31717. "items": {
  31718. "$ref": "#/definitions/models.RoleMenu"
  31719. }
  31720. },
  31721. "url": {
  31722. "description": "URL",
  31723. "type": "string"
  31724. },
  31725. "userid": {
  31726. "description": "用户id",
  31727. "type": "integer"
  31728. }
  31729. }
  31730. },
  31731. "models.SearchGoods": {
  31732. "type": "object",
  31733. "required": [
  31734. "goodscode",
  31735. "goodsid",
  31736. "goodsname",
  31737. "marketid",
  31738. "trademode"
  31739. ],
  31740. "properties": {
  31741. "goodscode": {
  31742. "description": "商品代码(内部)",
  31743. "type": "string"
  31744. },
  31745. "goodsid": {
  31746. "description": "商品ID(自增ID SEQ_GOODS)",
  31747. "type": "integer"
  31748. },
  31749. "goodsname": {
  31750. "description": "商品名称",
  31751. "type": "string"
  31752. },
  31753. "marketid": {
  31754. "description": "所属市场ID",
  31755. "type": "integer"
  31756. },
  31757. "marketname": {
  31758. "description": "市场名称",
  31759. "type": "string"
  31760. },
  31761. "trademode": {
  31762. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31763. "type": "integer"
  31764. }
  31765. }
  31766. },
  31767. "models.Systemparam": {
  31768. "type": "object",
  31769. "required": [
  31770. "paramcode"
  31771. ],
  31772. "properties": {
  31773. "loginid": {
  31774. "description": "更新用户账号,登录账号",
  31775. "type": "string"
  31776. },
  31777. "modifyflag": {
  31778. "description": "修改标志0 不允许修改 1 允许修改",
  31779. "type": "integer"
  31780. },
  31781. "paramcode": {
  31782. "description": "参数代码",
  31783. "type": "string"
  31784. },
  31785. "paramname": {
  31786. "description": "参数名",
  31787. "type": "string"
  31788. },
  31789. "paramtype": {
  31790. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31791. "type": "integer"
  31792. },
  31793. "paramvalue": {
  31794. "description": "参数值",
  31795. "type": "string"
  31796. },
  31797. "paramvalue2": {
  31798. "description": "参数值(CLOB)",
  31799. "type": "string"
  31800. },
  31801. "regexpress": {
  31802. "description": "正则表达式",
  31803. "type": "string"
  31804. },
  31805. "remark": {
  31806. "description": "备注",
  31807. "type": "string"
  31808. },
  31809. "serverip": {
  31810. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  31811. "type": "string"
  31812. },
  31813. "showflag": {
  31814. "description": "是否显示0 不显示 1 显示",
  31815. "type": "integer"
  31816. },
  31817. "updatetime": {
  31818. "description": "更新时间",
  31819. "type": "string"
  31820. },
  31821. "userid": {
  31822. "description": "更新用户ID",
  31823. "type": "integer"
  31824. }
  31825. }
  31826. },
  31827. "models.Szdz3convertconfig": {
  31828. "type": "object",
  31829. "required": [
  31830. "converttype",
  31831. "innergoodsid",
  31832. "outergoodscode"
  31833. ],
  31834. "properties": {
  31835. "canin": {
  31836. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  31837. "type": "integer"
  31838. },
  31839. "canout": {
  31840. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  31841. "type": "integer"
  31842. },
  31843. "converttype": {
  31844. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  31845. "type": "integer"
  31846. },
  31847. "createtime": {
  31848. "description": "创建时间",
  31849. "type": "string"
  31850. },
  31851. "creatorid": {
  31852. "description": "创建人",
  31853. "type": "integer"
  31854. },
  31855. "daymaxvalue": {
  31856. "description": "当日最大转入限制",
  31857. "type": "number"
  31858. },
  31859. "freezedays": {
  31860. "description": "冻结天数 [5:花生米转交易]",
  31861. "type": "integer"
  31862. },
  31863. "innergoodsid": {
  31864. "description": "内部商品ID[交易]",
  31865. "type": "integer"
  31866. },
  31867. "inratio": {
  31868. "description": "目标值",
  31869. "type": "integer"
  31870. },
  31871. "modifierid": {
  31872. "description": "修改人",
  31873. "type": "integer"
  31874. },
  31875. "modifytime": {
  31876. "description": "修改时间",
  31877. "type": "string"
  31878. },
  31879. "outergoodscode": {
  31880. "description": "外部商品代码[JD\\PD]",
  31881. "type": "string"
  31882. },
  31883. "outratio": {
  31884. "description": "源值",
  31885. "type": "integer"
  31886. },
  31887. "pddecimalplace": {
  31888. "description": "PD小数位",
  31889. "type": "integer"
  31890. },
  31891. "timemaxvalue": {
  31892. "description": "单次最大转入限制",
  31893. "type": "number"
  31894. },
  31895. "timeminvalue": {
  31896. "description": "单次最小转入限制",
  31897. "type": "number"
  31898. }
  31899. }
  31900. },
  31901. "models.Szdz3searchwhitelist": {
  31902. "type": "object",
  31903. "required": [
  31904. "userid"
  31905. ],
  31906. "properties": {
  31907. "createtime": {
  31908. "description": "创建时间",
  31909. "type": "string"
  31910. },
  31911. "creatorid": {
  31912. "description": "创建人",
  31913. "type": "integer"
  31914. },
  31915. "modifierid": {
  31916. "description": "修改人",
  31917. "type": "integer"
  31918. },
  31919. "modifytime": {
  31920. "description": "修改时间",
  31921. "type": "string"
  31922. },
  31923. "userid": {
  31924. "description": "用户ID",
  31925. "type": "integer"
  31926. }
  31927. }
  31928. },
  31929. "models.TBGoods": {
  31930. "type": "object",
  31931. "properties": {
  31932. "agreeunit": {
  31933. "description": "合约乘数",
  31934. "type": "number"
  31935. },
  31936. "enumdicname": {
  31937. "description": "单位名称",
  31938. "type": "string"
  31939. },
  31940. "goodscode": {
  31941. "description": "商品代码(内部)",
  31942. "type": "string"
  31943. },
  31944. "goodsid": {
  31945. "description": "商品ID(自增ID SEQ_GOODS)",
  31946. "type": "integer"
  31947. },
  31948. "goodsname": {
  31949. "description": "商品名称",
  31950. "type": "string"
  31951. }
  31952. }
  31953. },
  31954. "models.TBGoodsGroup": {
  31955. "type": "object",
  31956. "properties": {
  31957. "convertratio": {
  31958. "description": "折算系数",
  31959. "type": "number"
  31960. },
  31961. "enumdicname": {
  31962. "description": "单位名称",
  31963. "type": "string"
  31964. },
  31965. "exexchangecode": {
  31966. "description": "交易所代码",
  31967. "type": "string"
  31968. },
  31969. "exexchangename": {
  31970. "description": "交易所名称",
  31971. "type": "string"
  31972. },
  31973. "gdlst": {
  31974. "description": "商品列表",
  31975. "type": "array",
  31976. "items": {
  31977. "$ref": "#/definitions/models.TBGoods"
  31978. }
  31979. },
  31980. "goodsgroupid": {
  31981. "description": "商品组ID(自增ID)",
  31982. "type": "integer"
  31983. },
  31984. "goodsgroupname": {
  31985. "description": "商品组名称",
  31986. "type": "string"
  31987. },
  31988. "goodunitid": {
  31989. "description": "报价单位ID",
  31990. "type": "integer"
  31991. }
  31992. }
  31993. },
  31994. "models.TBMiddleGoods": {
  31995. "type": "object",
  31996. "properties": {
  31997. "areauserid": {
  31998. "description": "机构用户ID",
  31999. "type": "integer"
  32000. },
  32001. "enumdicname": {
  32002. "description": "单位名称",
  32003. "type": "string"
  32004. },
  32005. "goodsunitid": {
  32006. "description": "套保品种单位id",
  32007. "type": "integer"
  32008. },
  32009. "gplst": {
  32010. "description": "期货品种列表",
  32011. "type": "array",
  32012. "items": {
  32013. "$ref": "#/definitions/models.TBGoodsGroup"
  32014. }
  32015. },
  32016. "middlegoodscode": {
  32017. "description": "套保品种代码",
  32018. "type": "string"
  32019. },
  32020. "middlegoodsid": {
  32021. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32022. "type": "integer"
  32023. },
  32024. "middlegoodsname": {
  32025. "description": "套保品种名称",
  32026. "type": "string"
  32027. },
  32028. "needarbitrageratio": {
  32029. "description": "套利比率",
  32030. "type": "number"
  32031. },
  32032. "needhedgeratio": {
  32033. "description": "套保比率",
  32034. "type": "number"
  32035. },
  32036. "wdlst": {
  32037. "description": "商品信息列表(现货品类)",
  32038. "type": "array",
  32039. "items": {
  32040. "$ref": "#/definitions/models.TBWrstandard"
  32041. }
  32042. }
  32043. }
  32044. },
  32045. "models.TBWrstandard": {
  32046. "type": "object",
  32047. "properties": {
  32048. "convertratio": {
  32049. "description": "折算系数",
  32050. "type": "number"
  32051. },
  32052. "deliverygoodsname": {
  32053. "description": "品种名称",
  32054. "type": "string"
  32055. },
  32056. "enumdicname": {
  32057. "description": "单位名称",
  32058. "type": "string"
  32059. },
  32060. "vatrate": {
  32061. "description": "增值税率",
  32062. "type": "number"
  32063. },
  32064. "wrstandardcode": {
  32065. "description": "现货商品代码",
  32066. "type": "string"
  32067. },
  32068. "wrstandardid": {
  32069. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32070. "type": "integer"
  32071. },
  32072. "wrstandardname": {
  32073. "description": "现货商品名称",
  32074. "type": "string"
  32075. }
  32076. }
  32077. },
  32078. "models.Taaccount": {
  32079. "type": "object",
  32080. "required": [
  32081. "accountid",
  32082. "userid"
  32083. ],
  32084. "properties": {
  32085. "accountflag": {
  32086. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32087. "type": "integer"
  32088. },
  32089. "accountid": {
  32090. "description": "资金账户ID",
  32091. "type": "integer"
  32092. },
  32093. "accountname": {
  32094. "description": "账户名称",
  32095. "type": "string"
  32096. },
  32097. "balance": {
  32098. "description": "期初余额",
  32099. "type": "number"
  32100. },
  32101. "capitalbalance": {
  32102. "description": "本金余额[外部子账户实际出入金余额]",
  32103. "type": "number"
  32104. },
  32105. "changeflag": {
  32106. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32107. "type": "integer"
  32108. },
  32109. "changetime": {
  32110. "description": "账户状态变更时间",
  32111. "type": "string"
  32112. },
  32113. "closepl": {
  32114. "description": "今日平仓盈亏",
  32115. "type": "number"
  32116. },
  32117. "creditdecrease": {
  32118. "description": "今日授信减少",
  32119. "type": "number"
  32120. },
  32121. "creditincrease": {
  32122. "description": "今日授信增加",
  32123. "type": "number"
  32124. },
  32125. "curamount": {
  32126. "description": "总市值(从持仓中统计)",
  32127. "type": "number"
  32128. },
  32129. "currencyid": {
  32130. "description": "货币ID",
  32131. "type": "integer"
  32132. },
  32133. "currentbalance": {
  32134. "description": "期末余额",
  32135. "type": "number"
  32136. },
  32137. "freezecharge": {
  32138. "description": "手续费冻结",
  32139. "type": "number"
  32140. },
  32141. "freezemargin": {
  32142. "description": "冻结保证金",
  32143. "type": "number"
  32144. },
  32145. "fromaccountid": {
  32146. "description": "所属上级账户",
  32147. "type": "integer"
  32148. },
  32149. "inamount": {
  32150. "description": "今日入金金额(包括三方入金)",
  32151. "type": "number"
  32152. },
  32153. "ismain": {
  32154. "description": "是否母账号 0:不是母账户 1:是母账户",
  32155. "type": "integer"
  32156. },
  32157. "ismarketaccount": {
  32158. "description": "是否机构接单账号 0:不是 1:是",
  32159. "type": "integer"
  32160. },
  32161. "isreckonaccount": {
  32162. "description": "是否机构分润账号 0:不是 1:是",
  32163. "type": "integer"
  32164. },
  32165. "mortgagecredit": {
  32166. "description": "授信金额",
  32167. "type": "number"
  32168. },
  32169. "orifreezecharge": {
  32170. "description": "期初手续费冻结",
  32171. "type": "number"
  32172. },
  32173. "orifreezemargin": {
  32174. "description": "期初冻结保证金",
  32175. "type": "number"
  32176. },
  32177. "orimortgagecredit": {
  32178. "description": "期初授信金额",
  32179. "type": "number"
  32180. },
  32181. "oriothercredit": {
  32182. "description": "期初其它授信金额",
  32183. "type": "number"
  32184. },
  32185. "oriotherfreezemargin": {
  32186. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32187. "type": "number"
  32188. },
  32189. "orioutamountfreeze": {
  32190. "description": "期初出金冻结",
  32191. "type": "number"
  32192. },
  32193. "oriusedmargin": {
  32194. "description": "期初占用保证金",
  32195. "type": "number"
  32196. },
  32197. "othercredit": {
  32198. "description": "其它授信金额",
  32199. "type": "number"
  32200. },
  32201. "othercreditdecrease": {
  32202. "description": "今日其它授信减少",
  32203. "type": "number"
  32204. },
  32205. "othercreditincrease": {
  32206. "description": "今日其它授信增加",
  32207. "type": "number"
  32208. },
  32209. "otherfreezemargin": {
  32210. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32211. "type": "number"
  32212. },
  32213. "otherincome": {
  32214. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32215. "type": "number"
  32216. },
  32217. "otherpay": {
  32218. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32219. "type": "number"
  32220. },
  32221. "outamount": {
  32222. "description": "今日出金金额(包括三方出金)",
  32223. "type": "number"
  32224. },
  32225. "outamountfreeze": {
  32226. "description": "出金冻结",
  32227. "type": "number"
  32228. },
  32229. "outthreshold": {
  32230. "description": "出金阈值",
  32231. "type": "number"
  32232. },
  32233. "parentaccountid": {
  32234. "description": "所属根账号",
  32235. "type": "integer"
  32236. },
  32237. "paycharge": {
  32238. "description": "今日手续费支出",
  32239. "type": "number"
  32240. },
  32241. "relatedaccountstatus": {
  32242. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32243. "type": "integer"
  32244. },
  32245. "relateduserid": {
  32246. "description": "关联用户",
  32247. "type": "integer"
  32248. },
  32249. "remainamount": {
  32250. "description": "融资额(从融资合同中统计)",
  32251. "type": "number"
  32252. },
  32253. "serivcegroup": {
  32254. "description": "服务分组",
  32255. "type": "integer"
  32256. },
  32257. "signstatus": {
  32258. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32259. "type": "integer"
  32260. },
  32261. "sublevelpath": {
  32262. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32263. "type": "string"
  32264. },
  32265. "taaccounttype": {
  32266. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32267. "type": "integer"
  32268. },
  32269. "thirdinamount": {
  32270. "description": "今日三方入金",
  32271. "type": "number"
  32272. },
  32273. "thirdoutamount": {
  32274. "description": "今日三方出金",
  32275. "type": "number"
  32276. },
  32277. "tradestatus": {
  32278. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32279. "type": "integer"
  32280. },
  32281. "tradestatuschangetime": {
  32282. "description": "激活时间",
  32283. "type": "string"
  32284. },
  32285. "transferamount": {
  32286. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32287. "type": "number"
  32288. },
  32289. "usedmargin": {
  32290. "description": "占用保证金",
  32291. "type": "number"
  32292. },
  32293. "userid": {
  32294. "description": "用户ID",
  32295. "type": "integer"
  32296. }
  32297. }
  32298. },
  32299. "models.Tablecolumnconfig": {
  32300. "type": "object",
  32301. "required": [
  32302. "autoid"
  32303. ],
  32304. "properties": {
  32305. "aligntype": {
  32306. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32307. "type": "integer"
  32308. },
  32309. "autoid": {
  32310. "description": "AutoID",
  32311. "type": "integer"
  32312. },
  32313. "columnfield": {
  32314. "description": "列字段",
  32315. "type": "string"
  32316. },
  32317. "columntitle": {
  32318. "description": "列Title",
  32319. "type": "string"
  32320. },
  32321. "columnwidth": {
  32322. "description": "列宽",
  32323. "type": "string"
  32324. },
  32325. "formatterstring": {
  32326. "description": "格式化字符",
  32327. "type": "string"
  32328. },
  32329. "formattertype": {
  32330. "description": "格式化类型",
  32331. "type": "string"
  32332. },
  32333. "groupname": {
  32334. "description": "表头分组名称",
  32335. "type": "string"
  32336. },
  32337. "isshow": {
  32338. "description": "是否显示 - 0:不显示 1:显示",
  32339. "type": "integer"
  32340. },
  32341. "needsummary": {
  32342. "description": "是否需要汇总 - 0:不需要 1:需要",
  32343. "type": "integer"
  32344. },
  32345. "orderindex": {
  32346. "description": "顺序",
  32347. "type": "integer"
  32348. },
  32349. "remark": {
  32350. "description": "备注",
  32351. "type": "string"
  32352. },
  32353. "summarytype": {
  32354. "description": "汇总类型 - 1:加总 2:最后一个",
  32355. "type": "integer"
  32356. },
  32357. "tablekey": {
  32358. "description": "列表Key",
  32359. "type": "string"
  32360. }
  32361. }
  32362. },
  32363. "models.TjmdQuoteGoods": {
  32364. "type": "object",
  32365. "properties": {
  32366. "buyqty": {
  32367. "description": "买量(暂不做, 无值, 保留字段)",
  32368. "type": "number"
  32369. },
  32370. "goodscode": {
  32371. "description": "合约代码",
  32372. "type": "string"
  32373. },
  32374. "goodsgroupid": {
  32375. "description": "商品组ID(自增ID)",
  32376. "type": "integer"
  32377. },
  32378. "goodsgroupname": {
  32379. "description": "商品组名称",
  32380. "type": "string"
  32381. },
  32382. "goodsid": {
  32383. "description": "合约id",
  32384. "type": "integer"
  32385. },
  32386. "goodsname": {
  32387. "description": "合约名称",
  32388. "type": "string"
  32389. },
  32390. "refgoodscode": {
  32391. "description": "标的合约代码",
  32392. "type": "string"
  32393. },
  32394. "refgoodsid": {
  32395. "description": "标的合约id",
  32396. "type": "integer"
  32397. },
  32398. "refgoodsname": {
  32399. "description": "标的合约名称",
  32400. "type": "string"
  32401. },
  32402. "sellqty": {
  32403. "description": "卖量(暂不做, 无值, 保留字段)",
  32404. "type": "number"
  32405. }
  32406. }
  32407. },
  32408. "models.TjmdTodayAccountMargin": {
  32409. "type": "object",
  32410. "properties": {
  32411. "accountid": {
  32412. "description": "账号ID",
  32413. "type": "integer"
  32414. },
  32415. "goodsid": {
  32416. "description": "商品ID",
  32417. "type": "integer"
  32418. },
  32419. "infoc": {
  32420. "description": "配置参数",
  32421. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32422. },
  32423. "marketid": {
  32424. "description": "市场ID",
  32425. "type": "integer"
  32426. }
  32427. }
  32428. },
  32429. "models.TjmdTradeOrderDetail": {
  32430. "type": "object",
  32431. "properties": {
  32432. "buyorsell": {
  32433. "description": "买卖方向 0-买 1-卖",
  32434. "type": "integer"
  32435. },
  32436. "goodsid": {
  32437. "description": "商品id",
  32438. "type": "integer"
  32439. },
  32440. "marketmaxsub": {
  32441. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32442. "type": "number"
  32443. },
  32444. "orderid": {
  32445. "description": "委托单号",
  32446. "type": "string"
  32447. },
  32448. "orderprice": {
  32449. "description": "委托价格",
  32450. "type": "number"
  32451. },
  32452. "orderqty": {
  32453. "description": "委托数量",
  32454. "type": "integer"
  32455. },
  32456. "pricemode": {
  32457. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32458. "type": "integer"
  32459. },
  32460. "userid": {
  32461. "description": "用户id",
  32462. "type": "integer"
  32463. },
  32464. "username": {
  32465. "description": "用户名称(已脱敏)",
  32466. "type": "string"
  32467. }
  32468. }
  32469. },
  32470. "models.TjmdTransferApply": {
  32471. "type": "object",
  32472. "properties": {
  32473. "applyid": {
  32474. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32475. "type": "integer"
  32476. },
  32477. "applystatus": {
  32478. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32479. "type": "integer"
  32480. },
  32481. "applytime": {
  32482. "description": "申请时间(时间)",
  32483. "type": "string"
  32484. },
  32485. "auditremark": {
  32486. "description": "审核备注(拒绝原因?)",
  32487. "type": "string"
  32488. },
  32489. "buyorsell": {
  32490. "description": "买卖 - 0:买 1:卖",
  32491. "type": "integer"
  32492. },
  32493. "goodscode": {
  32494. "description": "商品代码",
  32495. "type": "string"
  32496. },
  32497. "goodsid": {
  32498. "description": "商品ID",
  32499. "type": "integer"
  32500. },
  32501. "goodsname": {
  32502. "description": "商品名称",
  32503. "type": "string"
  32504. },
  32505. "marketid": {
  32506. "description": "市场ID",
  32507. "type": "integer"
  32508. },
  32509. "qty": {
  32510. "description": "转让数量(数量)",
  32511. "type": "number"
  32512. },
  32513. "tradeid": {
  32514. "description": "成交单号(关联持仓)",
  32515. "type": "string"
  32516. },
  32517. "transferamount": {
  32518. "description": "转让总金额(金额)",
  32519. "type": "number"
  32520. },
  32521. "transferprice": {
  32522. "description": "转让价格(协议价格)",
  32523. "type": "number"
  32524. }
  32525. }
  32526. },
  32527. "models.TradeHolderDetail": {
  32528. "type": "object",
  32529. "properties": {
  32530. "accountid": {
  32531. "description": "账号ID",
  32532. "type": "integer"
  32533. },
  32534. "agreeunit": {
  32535. "description": "合约乘数",
  32536. "type": "number"
  32537. },
  32538. "buyorsell": {
  32539. "description": "方向 - 0:买 1:卖",
  32540. "type": "integer"
  32541. },
  32542. "currencyid": {
  32543. "description": "商品币种id",
  32544. "type": "integer"
  32545. },
  32546. "currencyname": {
  32547. "description": "币种名称",
  32548. "type": "string"
  32549. },
  32550. "decimalplace": {
  32551. "description": "商品价格小数位",
  32552. "type": "integer"
  32553. },
  32554. "enumdicname": {
  32555. "description": "商品单位名称",
  32556. "type": "string"
  32557. },
  32558. "expirecycle": {
  32559. "description": "行权周期(天) - 1:滚动行权时填写",
  32560. "type": "integer"
  32561. },
  32562. "expiredate": {
  32563. "description": "行权日(yyyyMMdd) - 到期日",
  32564. "type": "string"
  32565. },
  32566. "expiretype": {
  32567. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  32568. "type": "integer"
  32569. },
  32570. "freezeqty": {
  32571. "description": "冻结数量",
  32572. "type": "number"
  32573. },
  32574. "goodscode": {
  32575. "description": "商品代码",
  32576. "type": "string"
  32577. },
  32578. "goodsid": {
  32579. "description": "商品ID",
  32580. "type": "integer"
  32581. },
  32582. "goodsname": {
  32583. "description": "商品名称",
  32584. "type": "string"
  32585. },
  32586. "goodunitid": {
  32587. "description": "商品单位id",
  32588. "type": "integer"
  32589. },
  32590. "holderamount": {
  32591. "description": "持仓金额",
  32592. "type": "number"
  32593. },
  32594. "holdercredit": {
  32595. "description": "持仓授信金额",
  32596. "type": "number"
  32597. },
  32598. "holderdays": {
  32599. "description": "剩余冻结天数",
  32600. "type": "integer"
  32601. },
  32602. "holderprice": {
  32603. "description": "持仓价格",
  32604. "type": "number"
  32605. },
  32606. "holderqty": {
  32607. "description": "持仓数量",
  32608. "type": "number"
  32609. },
  32610. "isconfirmexercise": {
  32611. "description": "是否确认行权- 0:否 1:是",
  32612. "type": "integer"
  32613. },
  32614. "ispreexercise": {
  32615. "description": "是否预申报- 0:否 1:是 2:不可行权",
  32616. "type": "integer"
  32617. },
  32618. "marketid": {
  32619. "description": "市场id",
  32620. "type": "integer"
  32621. },
  32622. "marketname": {
  32623. "description": "市场名称",
  32624. "type": "string"
  32625. },
  32626. "openprice": {
  32627. "description": "建仓价格",
  32628. "type": "number"
  32629. },
  32630. "openqty": {
  32631. "description": "建仓数量",
  32632. "type": "number"
  32633. },
  32634. "optiontype": {
  32635. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32636. "type": "integer"
  32637. },
  32638. "preexerciseprice": {
  32639. "description": "预申报价格",
  32640. "type": "number"
  32641. },
  32642. "premium": {
  32643. "description": "权利金",
  32644. "type": "number"
  32645. },
  32646. "qtydecimalplace": {
  32647. "description": "商品成交量小数位",
  32648. "type": "integer"
  32649. },
  32650. "refgoodscode": {
  32651. "description": "标的合约代码",
  32652. "type": "string"
  32653. },
  32654. "refgoodsid": {
  32655. "description": "标的合约id",
  32656. "type": "integer"
  32657. },
  32658. "releaseamount": {
  32659. "description": "释放持仓金额",
  32660. "type": "number"
  32661. },
  32662. "releaseholdercredit": {
  32663. "description": "释放持仓授信金额",
  32664. "type": "number"
  32665. },
  32666. "taname": {
  32667. "description": "资金账号名称",
  32668. "type": "string"
  32669. },
  32670. "tradeamount": {
  32671. "description": "成交金额",
  32672. "type": "number"
  32673. },
  32674. "tradedate": {
  32675. "description": "交易日(yyyyMMdd)",
  32676. "type": "string"
  32677. },
  32678. "tradeid": {
  32679. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32680. "type": "string"
  32681. },
  32682. "trademode": {
  32683. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  32684. "type": "integer"
  32685. },
  32686. "tradeproperty": {
  32687. "description": "交易属性",
  32688. "type": "integer"
  32689. },
  32690. "tradetime": {
  32691. "description": "交易时间",
  32692. "type": "string"
  32693. },
  32694. "userid": {
  32695. "description": "用户id",
  32696. "type": "integer"
  32697. },
  32698. "username": {
  32699. "description": "用户名称",
  32700. "type": "string"
  32701. }
  32702. }
  32703. },
  32704. "models.UserCollectConfig": {
  32705. "type": "object",
  32706. "properties": {
  32707. "accountstatus": {
  32708. "description": "账户状态 - 1:正常 2:停用 3:注销",
  32709. "type": "integer"
  32710. },
  32711. "collectaccountname": {
  32712. "description": "收款人账户名称",
  32713. "type": "string"
  32714. },
  32715. "collectaccountno": {
  32716. "description": "收款人账户",
  32717. "type": "string"
  32718. },
  32719. "collectbankname": {
  32720. "description": "收款人开户行",
  32721. "type": "string"
  32722. },
  32723. "collectbranchbankname": {
  32724. "description": "收款人开户支行",
  32725. "type": "string"
  32726. },
  32727. "collectconfigid": {
  32728. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  32729. "type": "string"
  32730. },
  32731. "remark": {
  32732. "description": "备注",
  32733. "type": "string"
  32734. },
  32735. "userid": {
  32736. "description": "收款人用户ID",
  32737. "type": "integer"
  32738. }
  32739. }
  32740. },
  32741. "models.UserReceiveInfo": {
  32742. "type": "object",
  32743. "properties": {
  32744. "address": {
  32745. "description": "提货人详细地址",
  32746. "type": "string"
  32747. },
  32748. "autoid": {
  32749. "description": "AutoID",
  32750. "type": "integer"
  32751. },
  32752. "cardnum": {
  32753. "description": "证件号码(加密存储)",
  32754. "type": "string"
  32755. },
  32756. "cardtypeid": {
  32757. "description": "证件类型",
  32758. "type": "integer"
  32759. },
  32760. "cityid": {
  32761. "description": "市",
  32762. "type": "integer"
  32763. },
  32764. "cityname": {
  32765. "description": "城市名称",
  32766. "type": "string"
  32767. },
  32768. "countryid": {
  32769. "description": "国家",
  32770. "type": "integer"
  32771. },
  32772. "countryname": {
  32773. "description": "国家名称",
  32774. "type": "string"
  32775. },
  32776. "districtid": {
  32777. "description": "地区",
  32778. "type": "integer"
  32779. },
  32780. "districtname": {
  32781. "description": "地区名称",
  32782. "type": "string"
  32783. },
  32784. "hasencrypt": {
  32785. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32786. "type": "integer"
  32787. },
  32788. "isdefault": {
  32789. "description": "是否默认地址 - 0:否 1:是",
  32790. "type": "integer"
  32791. },
  32792. "phonenum": {
  32793. "description": "提货人联系方式(加密存储)",
  32794. "type": "string"
  32795. },
  32796. "provinceid": {
  32797. "description": "省",
  32798. "type": "integer"
  32799. },
  32800. "provincename": {
  32801. "description": "省名称",
  32802. "type": "string"
  32803. },
  32804. "receivername": {
  32805. "description": "提货人姓名",
  32806. "type": "string"
  32807. },
  32808. "takeremark": {
  32809. "description": "提货备注",
  32810. "type": "string"
  32811. },
  32812. "userid": {
  32813. "description": "用户ID",
  32814. "type": "integer"
  32815. }
  32816. }
  32817. },
  32818. "models.Useraccount": {
  32819. "type": "object",
  32820. "required": [
  32821. "userid"
  32822. ],
  32823. "properties": {
  32824. "accountname": {
  32825. "description": "账户名称(机构名称)",
  32826. "type": "string"
  32827. },
  32828. "accountstatus": {
  32829. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  32830. "type": "integer"
  32831. },
  32832. "applysrc": {
  32833. "description": "申请来源 - 1:管理端 2:终端",
  32834. "type": "integer"
  32835. },
  32836. "auditremark": {
  32837. "description": "审核备注",
  32838. "type": "string"
  32839. },
  32840. "auditsrc": {
  32841. "description": "审核来源 - 1:管理端 2:终端",
  32842. "type": "integer"
  32843. },
  32844. "audittime": {
  32845. "description": "审核时间",
  32846. "type": "string"
  32847. },
  32848. "audituserid": {
  32849. "description": "审核人",
  32850. "type": "integer"
  32851. },
  32852. "broker": {
  32853. "description": "所属经纪人ID",
  32854. "type": "integer"
  32855. },
  32856. "canceltime": {
  32857. "description": "销户时间",
  32858. "type": "string"
  32859. },
  32860. "canceluserid": {
  32861. "description": "销户人",
  32862. "type": "integer"
  32863. },
  32864. "canrecommend": {
  32865. "description": "是否可推荐 - 0:不可 1;可",
  32866. "type": "integer"
  32867. },
  32868. "createtime": {
  32869. "description": "创建时间",
  32870. "type": "string"
  32871. },
  32872. "creatorid": {
  32873. "description": "创建人",
  32874. "type": "integer"
  32875. },
  32876. "hasauth": {
  32877. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  32878. "type": "integer"
  32879. },
  32880. "isanonymous": {
  32881. "description": "是否匿名下单 - 0:否 1:是",
  32882. "type": "integer"
  32883. },
  32884. "maxinvestornum": {
  32885. "description": "最大用户数(经纪会员下投资者个数)",
  32886. "type": "integer"
  32887. },
  32888. "memberuserid": {
  32889. "description": "所属会员ID",
  32890. "type": "integer"
  32891. },
  32892. "modifierid": {
  32893. "description": "修改人",
  32894. "type": "integer"
  32895. },
  32896. "modifyremark": {
  32897. "description": "变更备注",
  32898. "type": "string"
  32899. },
  32900. "modifystatus": {
  32901. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  32902. "type": "integer"
  32903. },
  32904. "modifytime": {
  32905. "description": "修改时间",
  32906. "type": "string"
  32907. },
  32908. "parenttopuser": {
  32909. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  32910. "type": "string"
  32911. },
  32912. "parentuserid": {
  32913. "description": "所属机构ID",
  32914. "type": "integer"
  32915. },
  32916. "reckonaccountid": {
  32917. "description": "默认结算资金账号ID(机构分润使用) 作废",
  32918. "type": "integer"
  32919. },
  32920. "refercount": {
  32921. "description": "推荐总人数",
  32922. "type": "integer"
  32923. },
  32924. "refereeuserid": {
  32925. "description": "推荐人ID",
  32926. "type": "integer"
  32927. },
  32928. "refernum": {
  32929. "description": "推荐码",
  32930. "type": "string"
  32931. },
  32932. "rootuserid": {
  32933. "description": "根用户ID",
  32934. "type": "integer"
  32935. },
  32936. "subaccountlevel": {
  32937. "description": "子账户层数",
  32938. "type": "integer"
  32939. },
  32940. "subarealevelpath": {
  32941. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  32942. "type": "string"
  32943. },
  32944. "userid": {
  32945. "description": "用户ID",
  32946. "type": "integer"
  32947. },
  32948. "usertype": {
  32949. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32950. "type": "integer"
  32951. }
  32952. }
  32953. },
  32954. "models.Userfavoritegoods": {
  32955. "type": "object",
  32956. "required": [
  32957. "goodsid"
  32958. ],
  32959. "properties": {
  32960. "goodsid": {
  32961. "description": "商品ID",
  32962. "type": "integer"
  32963. }
  32964. }
  32965. },
  32966. "models.Userinfo": {
  32967. "type": "object",
  32968. "required": [
  32969. "userid"
  32970. ],
  32971. "properties": {
  32972. "address": {
  32973. "description": "地址",
  32974. "type": "string"
  32975. },
  32976. "attachment1": {
  32977. "description": "附件1",
  32978. "type": "string"
  32979. },
  32980. "attachment2": {
  32981. "description": "附件2",
  32982. "type": "string"
  32983. },
  32984. "bankaccount": {
  32985. "description": "银行帐号 (加密存储)",
  32986. "type": "string"
  32987. },
  32988. "bankaccountname": {
  32989. "description": "收款人名称",
  32990. "type": "string"
  32991. },
  32992. "bankcardfrontphotourl": {
  32993. "description": "银行卡正面照地址",
  32994. "type": "string"
  32995. },
  32996. "bankid": {
  32997. "description": "银行编码",
  32998. "type": "string"
  32999. },
  33000. "bankname": {
  33001. "description": "银行名称",
  33002. "type": "string"
  33003. },
  33004. "biznature": {
  33005. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33006. "type": "integer"
  33007. },
  33008. "bizscope": {
  33009. "description": "企业经营范围(企业)",
  33010. "type": "string"
  33011. },
  33012. "cardbackphotourl": {
  33013. "description": "证件背面图片地址",
  33014. "type": "string"
  33015. },
  33016. "cardfrontphotourl": {
  33017. "description": "证件正面图片地址",
  33018. "type": "string"
  33019. },
  33020. "cardnum": {
  33021. "description": "证件号码(加密存储)",
  33022. "type": "string"
  33023. },
  33024. "cardtypeid": {
  33025. "description": "证件类型ID",
  33026. "type": "integer"
  33027. },
  33028. "cityid": {
  33029. "description": "市",
  33030. "type": "integer"
  33031. },
  33032. "company": {
  33033. "description": "公司(个人)",
  33034. "type": "string"
  33035. },
  33036. "contactname": {
  33037. "description": "联系人",
  33038. "type": "string"
  33039. },
  33040. "countryid": {
  33041. "description": "国家",
  33042. "type": "integer"
  33043. },
  33044. "createtime": {
  33045. "description": "创建时间",
  33046. "type": "string"
  33047. },
  33048. "creatorid": {
  33049. "description": "创建人",
  33050. "type": "integer"
  33051. },
  33052. "customername": {
  33053. "description": "客户名称(企业名称)",
  33054. "type": "string"
  33055. },
  33056. "districtid": {
  33057. "description": "地区",
  33058. "type": "integer"
  33059. },
  33060. "email": {
  33061. "description": "邮件(加密存储)",
  33062. "type": "string"
  33063. },
  33064. "fax": {
  33065. "description": "传真(加密存储)",
  33066. "type": "string"
  33067. },
  33068. "halfbodyphotourl": {
  33069. "description": "半身照地址",
  33070. "type": "string"
  33071. },
  33072. "hasencrypt": {
  33073. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33074. "type": "integer"
  33075. },
  33076. "headurl": {
  33077. "description": "头像地址",
  33078. "type": "string"
  33079. },
  33080. "legalcardbackphotourl": {
  33081. "description": "法人身份证背面照地址",
  33082. "type": "string"
  33083. },
  33084. "legalcardfrontphotourl": {
  33085. "description": "法人身份证正面照地址",
  33086. "type": "string"
  33087. },
  33088. "legalpersonname": {
  33089. "description": "法人姓名(企业)",
  33090. "type": "string"
  33091. },
  33092. "mobile": {
  33093. "description": "手机号码(加密存储)",
  33094. "type": "string"
  33095. },
  33096. "mobile2": {
  33097. "description": "手机号码[明文-尚志]",
  33098. "type": "string"
  33099. },
  33100. "modifierid": {
  33101. "description": "修改人",
  33102. "type": "integer"
  33103. },
  33104. "modifiertime": {
  33105. "description": "修改时间",
  33106. "type": "string"
  33107. },
  33108. "needinvoice": {
  33109. "description": "是否需要发票 - 0:不需要 1:需要",
  33110. "type": "integer"
  33111. },
  33112. "nickname": {
  33113. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33114. "type": "string"
  33115. },
  33116. "openmode": {
  33117. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33118. "type": "integer"
  33119. },
  33120. "otherurl": {
  33121. "description": "其它图片地址[使用分号分隔]",
  33122. "type": "string"
  33123. },
  33124. "postalcode": {
  33125. "description": "邮政编码",
  33126. "type": "string"
  33127. },
  33128. "provinceid": {
  33129. "description": "省",
  33130. "type": "integer"
  33131. },
  33132. "qq": {
  33133. "description": "QQ(加密存储",
  33134. "type": "string"
  33135. },
  33136. "remark": {
  33137. "description": "备注",
  33138. "type": "string"
  33139. },
  33140. "sex": {
  33141. "description": "用户性别 0: 女 1: 男",
  33142. "type": "integer"
  33143. },
  33144. "signpdfurl": {
  33145. "description": "签约pdf文件",
  33146. "type": "string"
  33147. },
  33148. "telphone": {
  33149. "description": "联系电话(加密存储)",
  33150. "type": "string"
  33151. },
  33152. "userid": {
  33153. "description": "用户ID",
  33154. "type": "integer"
  33155. },
  33156. "userinfotype": {
  33157. "description": "用户信息类型 - 1:个人 2:企业",
  33158. "type": "integer"
  33159. },
  33160. "userstatus": {
  33161. "description": "用户状态 - 1:正常 2:注销",
  33162. "type": "integer"
  33163. },
  33164. "usertype": {
  33165. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33166. "type": "integer"
  33167. },
  33168. "wechat": {
  33169. "description": "微信(加密存储)",
  33170. "type": "string"
  33171. },
  33172. "wskhinfo": {
  33173. "description": "开户申请信息(JSON)",
  33174. "type": "string"
  33175. }
  33176. }
  33177. },
  33178. "models.WRSConverTDetail": {
  33179. "type": "object",
  33180. "properties": {
  33181. "convertratio": {
  33182. "description": "套保系数",
  33183. "type": "number"
  33184. },
  33185. "deliverygoodscode": {
  33186. "description": "现货商品代码",
  33187. "type": "string"
  33188. },
  33189. "deliverygoodsid": {
  33190. "description": "现货品种ID",
  33191. "type": "integer"
  33192. },
  33193. "deliverygoodsname": {
  33194. "description": "现货商品名称",
  33195. "type": "string"
  33196. },
  33197. "enumdicname": {
  33198. "description": "单位名称",
  33199. "type": "string"
  33200. },
  33201. "goodsunitid": {
  33202. "description": "套保品种单位id",
  33203. "type": "integer"
  33204. },
  33205. "middlegoodscode": {
  33206. "description": "套保品种代码",
  33207. "type": "string"
  33208. },
  33209. "middlegoodsid": {
  33210. "description": "套保品种ID",
  33211. "type": "integer"
  33212. },
  33213. "middlegoodsname": {
  33214. "description": "套保品种名称",
  33215. "type": "string"
  33216. },
  33217. "modifytime": {
  33218. "description": "修改时间",
  33219. "type": "string"
  33220. },
  33221. "wrstandardid": {
  33222. "description": "品类ID",
  33223. "type": "integer"
  33224. }
  33225. }
  33226. },
  33227. "models.WRStandardInfo": {
  33228. "type": "object",
  33229. "required": [
  33230. "wrstandardid"
  33231. ],
  33232. "properties": {
  33233. "areauserid": {
  33234. "description": "所属机构",
  33235. "type": "integer"
  33236. },
  33237. "convertfactor": {
  33238. "description": "标仓系数",
  33239. "type": "number"
  33240. },
  33241. "createtime": {
  33242. "description": "创建时间",
  33243. "type": "string"
  33244. },
  33245. "creatorid": {
  33246. "description": "创建人",
  33247. "type": "integer"
  33248. },
  33249. "deliverygoodsid": {
  33250. "description": "品种ID",
  33251. "type": "integer"
  33252. },
  33253. "deliverygoodsname": {
  33254. "description": "交割商品名称",
  33255. "type": "string"
  33256. },
  33257. "factoryitemjson": {
  33258. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33259. "type": "string"
  33260. },
  33261. "isvalid": {
  33262. "description": "是否有效 - 0:无效 1:有效",
  33263. "type": "integer"
  33264. },
  33265. "minivalue": {
  33266. "description": "最小变动值",
  33267. "type": "integer"
  33268. },
  33269. "minivaluedp": {
  33270. "description": "最小变动值小数位",
  33271. "type": "integer"
  33272. },
  33273. "realminivalue": {
  33274. "description": "实际最小变动值",
  33275. "type": "integer"
  33276. },
  33277. "realminivaluedp": {
  33278. "description": "实际最小变动值小数位",
  33279. "type": "integer"
  33280. },
  33281. "remark": {
  33282. "description": "备注",
  33283. "type": "string"
  33284. },
  33285. "unitid": {
  33286. "description": "单位ID",
  33287. "type": "integer"
  33288. },
  33289. "unitname": {
  33290. "description": "单位",
  33291. "type": "string"
  33292. },
  33293. "updatetime": {
  33294. "description": "更新时间",
  33295. "type": "string"
  33296. },
  33297. "updatorid": {
  33298. "description": "更新人",
  33299. "type": "integer"
  33300. },
  33301. "wrsstatus": {
  33302. "description": "状态 - 作废 - 0:未激活 1:正常",
  33303. "type": "integer"
  33304. },
  33305. "wrstandardcode": {
  33306. "description": "现货品类代码",
  33307. "type": "string"
  33308. },
  33309. "wrstandardid": {
  33310. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33311. "type": "integer"
  33312. },
  33313. "wrstandardname": {
  33314. "description": "现货品类名称",
  33315. "type": "string"
  33316. }
  33317. }
  33318. },
  33319. "models.WRTradeBargainApply": {
  33320. "type": "object",
  33321. "properties": {
  33322. "accountid": {
  33323. "description": "摘牌资金账号",
  33324. "type": "integer"
  33325. },
  33326. "applyprice": {
  33327. "description": "申请价格(议价价格)",
  33328. "type": "string"
  33329. },
  33330. "applyqty": {
  33331. "description": "摘牌数量(议价数量)",
  33332. "type": "number"
  33333. },
  33334. "applyremark": {
  33335. "description": "申请备注",
  33336. "type": "string"
  33337. },
  33338. "applystatus": {
  33339. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33340. "type": "integer"
  33341. },
  33342. "applytime": {
  33343. "description": "申请时间(议价时间)",
  33344. "type": "string"
  33345. },
  33346. "buyorsell": {
  33347. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33348. "type": "integer"
  33349. },
  33350. "confirmremark": {
  33351. "description": "确认备注",
  33352. "type": "string"
  33353. },
  33354. "confirmtime": {
  33355. "description": "确认时间",
  33356. "type": "string"
  33357. },
  33358. "confirmuserid": {
  33359. "description": "确认人",
  33360. "type": "integer"
  33361. },
  33362. "deliverygoodscode": {
  33363. "description": "品种代码",
  33364. "type": "string"
  33365. },
  33366. "deliverygoodsid": {
  33367. "description": "品种ID",
  33368. "type": "integer"
  33369. },
  33370. "deliverygoodsname": {
  33371. "description": "品种名称",
  33372. "type": "string"
  33373. },
  33374. "deliverymonth": {
  33375. "description": "交收月",
  33376. "type": "string"
  33377. },
  33378. "enumdicname": {
  33379. "description": "单位名称",
  33380. "type": "string"
  33381. },
  33382. "fixedprice": {
  33383. "description": "挂牌价格",
  33384. "type": "number"
  33385. },
  33386. "handlestatus": {
  33387. "description": "处理状态",
  33388. "type": "integer"
  33389. },
  33390. "marginvalue": {
  33391. "description": "履约保证金比例",
  33392. "type": "number"
  33393. },
  33394. "marketid": {
  33395. "description": "市场ID",
  33396. "type": "integer"
  33397. },
  33398. "matchaccountid": {
  33399. "description": "挂牌方资金账号",
  33400. "type": "integer"
  33401. },
  33402. "matchuserid": {
  33403. "description": "挂牌方用户id",
  33404. "type": "integer"
  33405. },
  33406. "matchusername": {
  33407. "description": "挂牌方用户名称(已脱敏)",
  33408. "type": "string"
  33409. },
  33410. "minivalue": {
  33411. "description": "现货商品最小变动值",
  33412. "type": "integer"
  33413. },
  33414. "optioncompare": {
  33415. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33416. "type": "string"
  33417. },
  33418. "orderqty": {
  33419. "description": "挂牌数量",
  33420. "type": "integer"
  33421. },
  33422. "refprice": {
  33423. "description": "参考价格",
  33424. "type": "string"
  33425. },
  33426. "retcode": {
  33427. "description": "委托返回代码",
  33428. "type": "integer"
  33429. },
  33430. "templatename": {
  33431. "description": "履约方式(履约模板名称)",
  33432. "type": "string"
  33433. },
  33434. "tradedate": {
  33435. "description": "交易日(yyyyMMdd)",
  33436. "type": "string"
  33437. },
  33438. "userid": {
  33439. "description": "摘牌人用户ID(议价人ID)",
  33440. "type": "integer"
  33441. },
  33442. "username": {
  33443. "description": "议价人名字(已脱敏)",
  33444. "type": "string"
  33445. },
  33446. "validtime": {
  33447. "description": "有效期限",
  33448. "type": "string"
  33449. },
  33450. "warehouseid": {
  33451. "description": "仓库ID",
  33452. "type": "integer"
  33453. },
  33454. "warehousename": {
  33455. "description": "仓库名称",
  33456. "type": "string"
  33457. },
  33458. "wrbargainid": {
  33459. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33460. "type": "string"
  33461. },
  33462. "wrfactortypeid": {
  33463. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33464. "type": "string"
  33465. },
  33466. "wrfactortypename": {
  33467. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33468. "type": "string"
  33469. },
  33470. "wrstandardcode": {
  33471. "description": "现货商品代码",
  33472. "type": "string"
  33473. },
  33474. "wrstandardid": {
  33475. "description": "现货商品ID",
  33476. "type": "integer"
  33477. },
  33478. "wrstandardname": {
  33479. "description": "商品名称",
  33480. "type": "string"
  33481. },
  33482. "wrtradeorderid": {
  33483. "description": "关联委托单ID",
  33484. "type": "string"
  33485. },
  33486. "wrtypename": {
  33487. "description": "商品",
  33488. "type": "string"
  33489. }
  33490. }
  33491. },
  33492. "models.Warehouseinfo": {
  33493. "type": "object",
  33494. "required": [
  33495. "autoid",
  33496. "warehousecode"
  33497. ],
  33498. "properties": {
  33499. "address": {
  33500. "description": "详细地址",
  33501. "type": "string"
  33502. },
  33503. "areauserid": {
  33504. "description": "所属机构",
  33505. "type": "integer"
  33506. },
  33507. "autoid": {
  33508. "description": "自增ID",
  33509. "type": "integer"
  33510. },
  33511. "cityid": {
  33512. "description": "市",
  33513. "type": "integer"
  33514. },
  33515. "contactname": {
  33516. "description": "联系人",
  33517. "type": "string"
  33518. },
  33519. "contactnum": {
  33520. "description": "联系电话",
  33521. "type": "string"
  33522. },
  33523. "countryid": {
  33524. "description": "国家",
  33525. "type": "integer"
  33526. },
  33527. "createtime": {
  33528. "description": "创建时间",
  33529. "type": "string"
  33530. },
  33531. "districtid": {
  33532. "description": "区",
  33533. "type": "integer"
  33534. },
  33535. "hasvideo": {
  33536. "description": "是否有视频 - 0:无 1:有",
  33537. "type": "integer"
  33538. },
  33539. "provinceid": {
  33540. "description": "省",
  33541. "type": "integer"
  33542. },
  33543. "remark": {
  33544. "description": "审核备注",
  33545. "type": "string"
  33546. },
  33547. "videourl": {
  33548. "description": "视频地址",
  33549. "type": "string"
  33550. },
  33551. "warehousecode": {
  33552. "description": "仓库代码",
  33553. "type": "string"
  33554. },
  33555. "warehousename": {
  33556. "description": "仓库名称",
  33557. "type": "string"
  33558. },
  33559. "warehousestatus": {
  33560. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  33561. "type": "integer"
  33562. },
  33563. "warehousetype": {
  33564. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  33565. "type": "integer"
  33566. }
  33567. }
  33568. },
  33569. "models.WrAverageTradePrice": {
  33570. "type": "object",
  33571. "properties": {
  33572. "averageprice": {
  33573. "description": "成交均价",
  33574. "type": "number"
  33575. },
  33576. "tradedate": {
  33577. "description": "交易日yyyymm",
  33578. "type": "string"
  33579. }
  33580. }
  33581. },
  33582. "models.WrBsGoodsInfo": {
  33583. "type": "object",
  33584. "properties": {
  33585. "buyorsell": {
  33586. "description": "买卖方向 0-买 1-卖",
  33587. "type": "integer"
  33588. },
  33589. "goodsid": {
  33590. "description": "交易合约ID",
  33591. "type": "integer"
  33592. },
  33593. "lstitem": {
  33594. "description": "商品信息项",
  33595. "type": "array",
  33596. "items": {
  33597. "$ref": "#/definitions/models.WrTypeItem"
  33598. }
  33599. },
  33600. "lststep": {
  33601. "description": "履约规则",
  33602. "type": "array",
  33603. "items": {
  33604. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33605. }
  33606. }
  33607. }
  33608. },
  33609. "models.WrBuybackDetail": {
  33610. "type": "object",
  33611. "properties": {
  33612. "buybackamount": {
  33613. "description": "回购金额",
  33614. "type": "number"
  33615. },
  33616. "buybackqty": {
  33617. "description": "回购数量",
  33618. "type": "number"
  33619. },
  33620. "buybackreleasemargin": {
  33621. "description": "回购释放保证金",
  33622. "type": "number"
  33623. },
  33624. "buybacktime": {
  33625. "description": "回购时间",
  33626. "type": "string"
  33627. },
  33628. "errordesc": {
  33629. "description": "错误描述",
  33630. "type": "string"
  33631. },
  33632. "handlestatus": {
  33633. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  33634. "type": "integer"
  33635. },
  33636. "relatedwrid": {
  33637. "description": "关联仓单ID",
  33638. "type": "integer"
  33639. },
  33640. "scfcontractid": {
  33641. "description": "SCF合同ID",
  33642. "type": "string"
  33643. },
  33644. "scfwrbuybackid": {
  33645. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  33646. "type": "integer"
  33647. },
  33648. "tradedate": {
  33649. "description": "交易日(yyyyMMdd)",
  33650. "type": "string"
  33651. }
  33652. }
  33653. },
  33654. "models.WrDeliveryAvalidHoldLB": {
  33655. "type": "object",
  33656. "properties": {
  33657. "accountid": {
  33658. "description": "资金账号",
  33659. "type": "integer"
  33660. },
  33661. "avalidqty": {
  33662. "description": "数量(可点选数量)",
  33663. "type": "number"
  33664. },
  33665. "deliverygoodsid": {
  33666. "description": "品种id",
  33667. "type": "integer"
  33668. },
  33669. "enumdicname": {
  33670. "description": "单位名称",
  33671. "type": "string"
  33672. },
  33673. "goodsid": {
  33674. "description": "x合约商品id",
  33675. "type": "integer"
  33676. },
  33677. "ladingbillid": {
  33678. "description": "提单id",
  33679. "type": "string"
  33680. },
  33681. "pgoodscode": {
  33682. "description": "p商品代码(点价合约)",
  33683. "type": "string"
  33684. },
  33685. "pgoodsid": {
  33686. "description": "p商品id(点价合约)",
  33687. "type": "integer"
  33688. },
  33689. "pgoodsname": {
  33690. "description": "p商品名称(点价合约)",
  33691. "type": "string"
  33692. },
  33693. "pricemove": {
  33694. "description": "升贴水",
  33695. "type": "number"
  33696. },
  33697. "subnum": {
  33698. "description": "提单子id",
  33699. "type": "integer"
  33700. },
  33701. "userid": {
  33702. "description": "用户id",
  33703. "type": "integer"
  33704. },
  33705. "username": {
  33706. "description": "仓单持有人",
  33707. "type": "string"
  33708. },
  33709. "warehousecode": {
  33710. "description": "仓库代码",
  33711. "type": "string"
  33712. },
  33713. "warehouseid": {
  33714. "description": "仓库id",
  33715. "type": "integer"
  33716. },
  33717. "warehousename": {
  33718. "description": "仓库名称",
  33719. "type": "string"
  33720. },
  33721. "wrfactortypeid": {
  33722. "description": "仓单要素id",
  33723. "type": "string"
  33724. },
  33725. "wrstandardcode": {
  33726. "description": "品代码",
  33727. "type": "string"
  33728. },
  33729. "wrstandardid": {
  33730. "description": "品类d",
  33731. "type": "integer"
  33732. },
  33733. "wrstandardname": {
  33734. "description": "品类名称",
  33735. "type": "string"
  33736. },
  33737. "wrtypename": {
  33738. "description": "商品",
  33739. "type": "string"
  33740. },
  33741. "xgoodscode": {
  33742. "description": "x合约代码",
  33743. "type": "string"
  33744. },
  33745. "xgoodsname": {
  33746. "description": "x合约名称",
  33747. "type": "string"
  33748. }
  33749. }
  33750. },
  33751. "models.WrDeliveryDetail": {
  33752. "type": "object",
  33753. "properties": {
  33754. "accountid": {
  33755. "description": "账号ID",
  33756. "type": "integer"
  33757. },
  33758. "averageprice": {
  33759. "description": "交割均价 = 交割金额 / 交割数量",
  33760. "type": "number"
  33761. },
  33762. "buyorsell": {
  33763. "description": "方向 - 0:买 1:卖",
  33764. "type": "integer"
  33765. },
  33766. "deliveryamount": {
  33767. "description": "货款金额(X总货款+P总货款)",
  33768. "type": "number"
  33769. },
  33770. "deliveryid": {
  33771. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  33772. "type": "string"
  33773. },
  33774. "deliveryorderid": {
  33775. "description": "申报单号",
  33776. "type": "string"
  33777. },
  33778. "deliverypricemove": {
  33779. "description": "升贴水(升贴水总额)",
  33780. "type": "number"
  33781. },
  33782. "deliveryqty": {
  33783. "description": "交收数量(点选数量)",
  33784. "type": "number"
  33785. },
  33786. "deliverystatus": {
  33787. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  33788. "type": "integer"
  33789. },
  33790. "deliverytime": {
  33791. "description": "交割时间",
  33792. "type": "string"
  33793. },
  33794. "deliverytotalamount": {
  33795. "description": "交收金额",
  33796. "type": "number"
  33797. },
  33798. "enumdicname": {
  33799. "description": "单位名称",
  33800. "type": "string"
  33801. },
  33802. "matchaccountid": {
  33803. "description": "对手账号ID",
  33804. "type": "integer"
  33805. },
  33806. "matchusername": {
  33807. "description": "对手方名称(仓单持有人)",
  33808. "type": "string"
  33809. },
  33810. "p1goodsremainamount": {
  33811. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33812. "type": "number"
  33813. },
  33814. "pdeliverycloseqty": {
  33815. "description": "p合约平仓数量",
  33816. "type": "number"
  33817. },
  33818. "pdeliveryprice": {
  33819. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33820. "type": "number"
  33821. },
  33822. "pgoodscode": {
  33823. "description": "商品代码",
  33824. "type": "string"
  33825. },
  33826. "pgoodsid": {
  33827. "description": "p点选合约id",
  33828. "type": "integer"
  33829. },
  33830. "pgoodsname": {
  33831. "description": "商品名称",
  33832. "type": "string"
  33833. },
  33834. "ppricemode": {
  33835. "description": "点价价格方式 - 1:商品价 2:固定值",
  33836. "type": "integer"
  33837. },
  33838. "tradedate": {
  33839. "description": "交易日(yyyymmdd)",
  33840. "type": "string"
  33841. },
  33842. "userid": {
  33843. "description": "用户id",
  33844. "type": "integer"
  33845. },
  33846. "username": {
  33847. "description": "用户名称",
  33848. "type": "string"
  33849. },
  33850. "warehousename": {
  33851. "description": "仓库名称",
  33852. "type": "string"
  33853. },
  33854. "wrfactortypeid": {
  33855. "description": "仓单要素类型ID",
  33856. "type": "string"
  33857. },
  33858. "wrtypename": {
  33859. "description": "商品",
  33860. "type": "string"
  33861. },
  33862. "xdeliverycloseqty": {
  33863. "description": "合约数量",
  33864. "type": "number"
  33865. },
  33866. "xgoodsamount": {
  33867. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  33868. "type": "number"
  33869. },
  33870. "xgoodscode": {
  33871. "description": "商品代码",
  33872. "type": "string"
  33873. },
  33874. "xgoodsid": {
  33875. "description": "x交易合约ID",
  33876. "type": "integer"
  33877. },
  33878. "xgoodsname": {
  33879. "description": "商品名称",
  33880. "type": "string"
  33881. }
  33882. }
  33883. },
  33884. "models.WrDeliveryGoodsSection": {
  33885. "type": "object",
  33886. "properties": {
  33887. "dglst": {
  33888. "description": "板块商品列表",
  33889. "type": "array",
  33890. "items": {
  33891. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  33892. }
  33893. },
  33894. "imagepath": {
  33895. "description": "图片地址",
  33896. "type": "string"
  33897. },
  33898. "orderindex": {
  33899. "description": "排序",
  33900. "type": "integer"
  33901. },
  33902. "sectionid": {
  33903. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  33904. "type": "integer"
  33905. },
  33906. "sectionname": {
  33907. "description": "版块名称",
  33908. "type": "string"
  33909. },
  33910. "sectiontype": {
  33911. "description": "版块类型 - 1:指数版块 2:普通版块",
  33912. "type": "integer"
  33913. }
  33914. }
  33915. },
  33916. "models.WrDeliveryGoodsSectionConfig": {
  33917. "type": "object",
  33918. "properties": {
  33919. "deliverygoodscode": {
  33920. "description": "现货商品代码",
  33921. "type": "string"
  33922. },
  33923. "deliverygoodsid": {
  33924. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  33925. "type": "integer"
  33926. },
  33927. "deliverygoodsname": {
  33928. "description": "现货商品名称",
  33929. "type": "string"
  33930. },
  33931. "orderindex": {
  33932. "description": "排序",
  33933. "type": "integer"
  33934. }
  33935. }
  33936. },
  33937. "models.WrFAProductDetail": {
  33938. "type": "object",
  33939. "properties": {
  33940. "accountid": {
  33941. "description": "资金账号",
  33942. "type": "integer"
  33943. },
  33944. "areauserid": {
  33945. "description": "金融机构ID",
  33946. "type": "integer"
  33947. },
  33948. "financingdays": {
  33949. "description": "天数(天)",
  33950. "type": "integer"
  33951. },
  33952. "interestminlen": {
  33953. "description": "最小起息天数",
  33954. "type": "integer"
  33955. },
  33956. "interestrate": {
  33957. "description": "利率",
  33958. "type": "number"
  33959. },
  33960. "interestratemode": {
  33961. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33962. "type": "integer"
  33963. },
  33964. "interestsettlemode": {
  33965. "description": "结息方式 - 1:按日结息 3:按月结息",
  33966. "type": "integer"
  33967. },
  33968. "interestsettlevalue": {
  33969. "description": "结息方式值",
  33970. "type": "integer"
  33971. },
  33972. "isautoloan": {
  33973. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  33974. "type": "integer"
  33975. },
  33976. "loantag": {
  33977. "description": "放款标识: \"放款快\" 或者为空",
  33978. "type": "string"
  33979. },
  33980. "marginratio": {
  33981. "description": "保证金比率质押率 - [仓单质押]",
  33982. "type": "number"
  33983. },
  33984. "productdetailid": {
  33985. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  33986. "type": "integer"
  33987. },
  33988. "productid": {
  33989. "description": "金融产品ID",
  33990. "type": "integer"
  33991. },
  33992. "productname": {
  33993. "description": "产品名称",
  33994. "type": "string"
  33995. },
  33996. "updatetime": {
  33997. "description": "更新时间",
  33998. "type": "string"
  33999. },
  34000. "username": {
  34001. "description": "融出方",
  34002. "type": "string"
  34003. }
  34004. }
  34005. },
  34006. "models.WrFactorTypeInfo": {
  34007. "type": "object",
  34008. "properties": {
  34009. "deliverygoodscode": {
  34010. "description": "品种代码",
  34011. "type": "string"
  34012. },
  34013. "deliverygoodsname": {
  34014. "description": "品种名称",
  34015. "type": "string"
  34016. },
  34017. "dgfactoryitemid": {
  34018. "description": "选择项id",
  34019. "type": "integer"
  34020. },
  34021. "dgfactoryitemtypeid": {
  34022. "description": "要素选择项ID (1-仓库 2-品牌)",
  34023. "type": "integer"
  34024. },
  34025. "dgfactoryitemvalue": {
  34026. "description": "要素项值",
  34027. "type": "string"
  34028. },
  34029. "itemtypename": {
  34030. "description": "要素项名称",
  34031. "type": "string"
  34032. },
  34033. "optioncompare": {
  34034. "description": "选择比较串",
  34035. "type": "string"
  34036. },
  34037. "warehouseid": {
  34038. "description": "仓库id",
  34039. "type": "integer"
  34040. },
  34041. "wrfactortypeid": {
  34042. "description": "仓单要素ID",
  34043. "type": "string"
  34044. },
  34045. "wrfactortypename": {
  34046. "description": "要素名称",
  34047. "type": "string"
  34048. },
  34049. "wrfactortypename2": {
  34050. "description": "要素名称(不含仓库)",
  34051. "type": "string"
  34052. },
  34053. "wrstandardcode": {
  34054. "description": "品类代码",
  34055. "type": "string"
  34056. },
  34057. "wrstandardid": {
  34058. "description": "品类id",
  34059. "type": "integer"
  34060. },
  34061. "wrstandardname": {
  34062. "description": "品类名称",
  34063. "type": "string"
  34064. }
  34065. }
  34066. },
  34067. "models.WrFilterItem": {
  34068. "type": "object",
  34069. "properties": {
  34070. "itemcode": {
  34071. "description": "代码",
  34072. "type": "string"
  34073. },
  34074. "itemid": {
  34075. "description": "项id",
  34076. "type": "integer"
  34077. },
  34078. "itemname": {
  34079. "description": "名称",
  34080. "type": "string"
  34081. },
  34082. "itemtype": {
  34083. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34084. "type": "integer"
  34085. }
  34086. }
  34087. },
  34088. "models.WrFinanceBuyApply": {
  34089. "type": "object",
  34090. "properties": {
  34091. "applydate": {
  34092. "description": "申请时间",
  34093. "type": "string"
  34094. },
  34095. "applystatus": {
  34096. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34097. "type": "integer"
  34098. },
  34099. "applyuserid": {
  34100. "description": "申请人",
  34101. "type": "integer"
  34102. },
  34103. "auditdate": {
  34104. "description": "审核时间",
  34105. "type": "string"
  34106. },
  34107. "auditremark": {
  34108. "description": "审核备注",
  34109. "type": "string"
  34110. },
  34111. "audituserid": {
  34112. "description": "审核人",
  34113. "type": "integer"
  34114. },
  34115. "buyaccountid": {
  34116. "description": "买方资金账号",
  34117. "type": "integer"
  34118. },
  34119. "buyorsell": {
  34120. "description": "买卖 - 0:买 1:卖",
  34121. "type": "integer"
  34122. },
  34123. "buyuserid": {
  34124. "description": "买方用户ID",
  34125. "type": "integer"
  34126. },
  34127. "buyusername": {
  34128. "description": "买方名称",
  34129. "type": "string"
  34130. },
  34131. "buywrtradeorderid": {
  34132. "description": "融资方买委托单ID",
  34133. "type": "string"
  34134. },
  34135. "deliverygoodscode": {
  34136. "description": "品种代码",
  34137. "type": "string"
  34138. },
  34139. "deliverygoodsid": {
  34140. "description": "品种ID",
  34141. "type": "integer"
  34142. },
  34143. "deliverygoodsname": {
  34144. "description": "品种名称",
  34145. "type": "string"
  34146. },
  34147. "deliverymonth": {
  34148. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34149. "type": "string"
  34150. },
  34151. "enumdicname": {
  34152. "description": "单位名称",
  34153. "type": "string"
  34154. },
  34155. "financeaccountid": {
  34156. "description": "融资方资金帐户ID",
  34157. "type": "integer"
  34158. },
  34159. "financeapplyid": {
  34160. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34161. "type": "string"
  34162. },
  34163. "financeareauserid": {
  34164. "description": "融资方用户ID",
  34165. "type": "string"
  34166. },
  34167. "financename": {
  34168. "description": "融出方名称",
  34169. "type": "string"
  34170. },
  34171. "financetype": {
  34172. "description": "融资类型 1-融资回购",
  34173. "type": "integer"
  34174. },
  34175. "financingdays": {
  34176. "description": "天数(天)",
  34177. "type": "integer"
  34178. },
  34179. "freezebuymargin": {
  34180. "description": "冻结融资保证金(买方)",
  34181. "type": "number"
  34182. },
  34183. "handleremark": {
  34184. "description": "处理备注",
  34185. "type": "string"
  34186. },
  34187. "handlestatus": {
  34188. "description": "处理状态",
  34189. "type": "integer"
  34190. },
  34191. "interestminlen": {
  34192. "description": "最小起息天数",
  34193. "type": "integer"
  34194. },
  34195. "interestrate": {
  34196. "description": "利率",
  34197. "type": "number"
  34198. },
  34199. "interestratemode": {
  34200. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34201. "type": "integer"
  34202. },
  34203. "interestsettlemode": {
  34204. "description": "结息方式 - 1:按日结息 3:按月结息",
  34205. "type": "integer"
  34206. },
  34207. "interestsettlevalue": {
  34208. "description": "结息方式值",
  34209. "type": "integer"
  34210. },
  34211. "isautoloan": {
  34212. "description": "是否自动放款 - 0:手动 1:自动",
  34213. "type": "integer"
  34214. },
  34215. "marginratio": {
  34216. "description": "保证金比率质押率 - [仓单质押]",
  34217. "type": "number"
  34218. },
  34219. "marketid": {
  34220. "description": "市场ID",
  34221. "type": "integer"
  34222. },
  34223. "minivalue": {
  34224. "description": "现货商品最小变动值",
  34225. "type": "integer"
  34226. },
  34227. "optioncompare": {
  34228. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34229. "type": "string"
  34230. },
  34231. "orderqty": {
  34232. "description": "委托数量(商品数量)",
  34233. "type": "number"
  34234. },
  34235. "productdetailid": {
  34236. "description": "产品组合ID",
  34237. "type": "integer"
  34238. },
  34239. "productid": {
  34240. "description": "金融产品ID",
  34241. "type": "integer"
  34242. },
  34243. "productname": {
  34244. "description": "产品名称",
  34245. "type": "string"
  34246. },
  34247. "remark": {
  34248. "description": "备注",
  34249. "type": "string"
  34250. },
  34251. "scfcontractid": {
  34252. "description": "仓单回购合同ID",
  34253. "type": "string"
  34254. },
  34255. "sellaccountid": {
  34256. "description": "卖方资金账号",
  34257. "type": "integer"
  34258. },
  34259. "selluserid": {
  34260. "description": "卖方用户ID",
  34261. "type": "integer"
  34262. },
  34263. "sellwrtradeorderid": {
  34264. "description": "卖方委托单ID",
  34265. "type": "string"
  34266. },
  34267. "tradeamount": {
  34268. "description": "成交金额(借款金额)",
  34269. "type": "number"
  34270. },
  34271. "tradedate": {
  34272. "description": "交易日(yyyyMMdd)",
  34273. "type": "string"
  34274. },
  34275. "tradeprice": {
  34276. "description": "成交价格",
  34277. "type": "number"
  34278. },
  34279. "warehouseid": {
  34280. "description": "仓库ID",
  34281. "type": "integer"
  34282. },
  34283. "warehousename": {
  34284. "description": "仓库名称",
  34285. "type": "string"
  34286. },
  34287. "wrfactortypeid": {
  34288. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34289. "type": "string"
  34290. },
  34291. "wrfactortypename": {
  34292. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34293. "type": "string"
  34294. },
  34295. "wrpricetype": {
  34296. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34297. "type": "integer"
  34298. },
  34299. "wrstandardcode": {
  34300. "description": "现货商品代码",
  34301. "type": "string"
  34302. },
  34303. "wrstandardid": {
  34304. "description": "现货商品ID",
  34305. "type": "integer"
  34306. },
  34307. "wrstandardname": {
  34308. "description": "商品名称",
  34309. "type": "string"
  34310. },
  34311. "wrtypename": {
  34312. "description": "商品",
  34313. "type": "string"
  34314. }
  34315. }
  34316. },
  34317. "models.WrFriendApply": {
  34318. "type": "object",
  34319. "properties": {
  34320. "applicantid": {
  34321. "description": "申请人",
  34322. "type": "integer"
  34323. },
  34324. "applyname": {
  34325. "description": "申请人名称",
  34326. "type": "string"
  34327. },
  34328. "applysrc": {
  34329. "description": "申请来源 - 1:管理端 2:终端",
  34330. "type": "integer"
  34331. },
  34332. "applystatus": {
  34333. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34334. "type": "integer"
  34335. },
  34336. "applytime": {
  34337. "description": "申请时间",
  34338. "type": "string"
  34339. },
  34340. "auditname": {
  34341. "description": "审核人名称",
  34342. "type": "string"
  34343. },
  34344. "auditorid": {
  34345. "description": "审核人",
  34346. "type": "integer"
  34347. },
  34348. "auditremark": {
  34349. "description": "审核备注",
  34350. "type": "string"
  34351. },
  34352. "auditsrc": {
  34353. "description": "审核来源 - 1:管理端 2:终端",
  34354. "type": "integer"
  34355. },
  34356. "audittime": {
  34357. "description": "审核时间",
  34358. "type": "string"
  34359. },
  34360. "friendapplyid": {
  34361. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34362. "type": "string"
  34363. },
  34364. "friendname": {
  34365. "description": "好友名字(已脱敏)",
  34366. "type": "string"
  34367. },
  34368. "frienduserid": {
  34369. "description": "好友用户ID",
  34370. "type": "string"
  34371. },
  34372. "remark": {
  34373. "description": "备注",
  34374. "type": "string"
  34375. },
  34376. "userid": {
  34377. "description": "申请人用户ID",
  34378. "type": "integer"
  34379. }
  34380. }
  34381. },
  34382. "models.WrFtDeliveryGoods": {
  34383. "type": "object",
  34384. "properties": {
  34385. "deliverygoodscode": {
  34386. "description": "品种代码",
  34387. "type": "string"
  34388. },
  34389. "deliverygoodsid": {
  34390. "description": "品种ID",
  34391. "type": "integer"
  34392. },
  34393. "deliverygoodsname": {
  34394. "description": "品种名称",
  34395. "type": "string"
  34396. },
  34397. "wdlst": {
  34398. "description": "商品列表",
  34399. "type": "array",
  34400. "items": {
  34401. "$ref": "#/definitions/models.WrFtWrstandard"
  34402. }
  34403. }
  34404. }
  34405. },
  34406. "models.WrFtWrstandard": {
  34407. "type": "object",
  34408. "properties": {
  34409. "enumdicname": {
  34410. "description": "单位名称",
  34411. "type": "string"
  34412. },
  34413. "minivalue": {
  34414. "description": "最小变动值",
  34415. "type": "integer"
  34416. },
  34417. "wrstandardcode": {
  34418. "description": "现货商品代码",
  34419. "type": "string"
  34420. },
  34421. "wrstandardid": {
  34422. "description": "现货商品ID",
  34423. "type": "integer"
  34424. },
  34425. "wrstandardname": {
  34426. "description": "商品名称",
  34427. "type": "string"
  34428. }
  34429. }
  34430. },
  34431. "models.WrGoodsInfo": {
  34432. "type": "object",
  34433. "properties": {
  34434. "haswr": {
  34435. "description": "0:仓单预售 1:仓单贸易",
  34436. "type": "integer"
  34437. },
  34438. "lstitem": {
  34439. "description": "商品信息项",
  34440. "type": "array",
  34441. "items": {
  34442. "$ref": "#/definitions/models.WrTypeItem"
  34443. }
  34444. },
  34445. "lststep": {
  34446. "description": "履约规则",
  34447. "type": "array",
  34448. "items": {
  34449. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34450. }
  34451. },
  34452. "marketid": {
  34453. "description": "市场id",
  34454. "type": "integer"
  34455. }
  34456. }
  34457. },
  34458. "models.WrGoodsPerformanceStep": {
  34459. "type": "object",
  34460. "properties": {
  34461. "autoid": {
  34462. "description": "AutoID",
  34463. "type": "integer"
  34464. },
  34465. "isauto": {
  34466. "description": "是否自动 - 0:不自动 1:自动",
  34467. "type": "integer"
  34468. },
  34469. "remark": {
  34470. "description": "备注",
  34471. "type": "string"
  34472. },
  34473. "stepdate": {
  34474. "description": "天数信息(T+N)",
  34475. "type": "string"
  34476. },
  34477. "stepdays": {
  34478. "description": "距离上一步天数",
  34479. "type": "integer"
  34480. },
  34481. "stepindex": {
  34482. "description": "步骤序号",
  34483. "type": "integer"
  34484. },
  34485. "stepinfo": {
  34486. "description": "步骤信息(步骤名称+步骤值)",
  34487. "type": "string"
  34488. },
  34489. "steptypeid": {
  34490. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34491. "type": "integer"
  34492. },
  34493. "steptypename": {
  34494. "description": "步骤名称",
  34495. "type": "string"
  34496. },
  34497. "stepvalue": {
  34498. "description": "步骤值",
  34499. "type": "number"
  34500. },
  34501. "templateid": {
  34502. "description": "履约计划模板ID",
  34503. "type": "integer"
  34504. }
  34505. }
  34506. },
  34507. "models.WrHoldLB": {
  34508. "type": "object",
  34509. "properties": {
  34510. "accountid": {
  34511. "description": "持有人帐户ID",
  34512. "type": "integer"
  34513. },
  34514. "createtime": {
  34515. "description": "创建时间(过户时间)",
  34516. "type": "string"
  34517. },
  34518. "deliverygoodscode": {
  34519. "description": "品种代码",
  34520. "type": "string"
  34521. },
  34522. "deliverygoodsid": {
  34523. "description": "品种ID",
  34524. "type": "integer"
  34525. },
  34526. "deliverygoodsname": {
  34527. "description": "品种名称",
  34528. "type": "string"
  34529. },
  34530. "enableqty": {
  34531. "description": "可用数量",
  34532. "type": "number"
  34533. },
  34534. "enumdicname": {
  34535. "description": "单位名称",
  34536. "type": "string"
  34537. },
  34538. "freezerqty": {
  34539. "description": "冻结数量",
  34540. "type": "number"
  34541. },
  34542. "ladingbillid": {
  34543. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34544. "type": "string"
  34545. },
  34546. "minivalue": {
  34547. "description": "现货商品最小变动值",
  34548. "type": "integer"
  34549. },
  34550. "optioncompare": {
  34551. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34552. "type": "string"
  34553. },
  34554. "parentsubnum": {
  34555. "description": "拆分父子单号",
  34556. "type": "integer"
  34557. },
  34558. "pledgeqty": {
  34559. "description": "质押数量",
  34560. "type": "number"
  34561. },
  34562. "qty": {
  34563. "description": "数量",
  34564. "type": "number"
  34565. },
  34566. "subnum": {
  34567. "description": "提单子单号",
  34568. "type": "integer"
  34569. },
  34570. "tradedate": {
  34571. "description": "交易日(yyyyMMdd)",
  34572. "type": "string"
  34573. },
  34574. "userid": {
  34575. "description": "持有人ID",
  34576. "type": "integer"
  34577. },
  34578. "warehouseid": {
  34579. "description": "仓库ID",
  34580. "type": "integer"
  34581. },
  34582. "warehousename": {
  34583. "description": "仓库名称",
  34584. "type": "string"
  34585. },
  34586. "wrfactortypeid": {
  34587. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34588. "type": "string"
  34589. },
  34590. "wrfactortypename": {
  34591. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34592. "type": "string"
  34593. },
  34594. "wrholdeno": {
  34595. "description": "仓单编号",
  34596. "type": "string"
  34597. },
  34598. "wrid": {
  34599. "description": "仓单变更ID",
  34600. "type": "string"
  34601. },
  34602. "wrstandardcode": {
  34603. "description": "现货商品代码",
  34604. "type": "string"
  34605. },
  34606. "wrstandardid": {
  34607. "description": "现货商品ID",
  34608. "type": "integer"
  34609. },
  34610. "wrstandardname": {
  34611. "description": "商品名称",
  34612. "type": "string"
  34613. },
  34614. "wrtypename": {
  34615. "description": "商品",
  34616. "type": "string"
  34617. }
  34618. }
  34619. },
  34620. "models.WrMarketTradeConfig": {
  34621. "type": "object",
  34622. "properties": {
  34623. "basisdownratio": {
  34624. "description": "浮动价基差下限比例(仓单贸易)",
  34625. "type": "number"
  34626. },
  34627. "basisupratio": {
  34628. "description": "浮动价基差上限比例(仓单贸易)",
  34629. "type": "number"
  34630. },
  34631. "buychargealgorithm": {
  34632. "description": "买方手续费收取方式 1:比率 2:固定",
  34633. "type": "integer"
  34634. },
  34635. "buychargealgorithm2": {
  34636. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34637. "type": "integer"
  34638. },
  34639. "buychargealgorithmvalue": {
  34640. "description": "买方手续费设置值(交易所部分)",
  34641. "type": "number"
  34642. },
  34643. "buychargealgorithmvalue2": {
  34644. "description": "买方手续费设置值(会员部分)",
  34645. "type": "number"
  34646. },
  34647. "buychargealgorithmvalue3": {
  34648. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  34649. "type": "number"
  34650. },
  34651. "buychargealgorithmvalue4": {
  34652. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  34653. "type": "number"
  34654. },
  34655. "buyfirstmarginalgorithm": {
  34656. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  34657. "type": "integer"
  34658. },
  34659. "buyfirstmarginvalue": {
  34660. "description": "买方出价保证金设置值 - [竞拍]",
  34661. "type": "number"
  34662. },
  34663. "buymarginalgorithm": {
  34664. "description": "买方保证金方式 - 1:比率 2:固定",
  34665. "type": "integer"
  34666. },
  34667. "buymarginvalue": {
  34668. "description": "买方保证金设置值",
  34669. "type": "number"
  34670. },
  34671. "buyreleaseratio": {
  34672. "description": "买方释放比率[2:分步履约]",
  34673. "type": "number"
  34674. },
  34675. "executemode": {
  34676. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  34677. "type": "integer"
  34678. },
  34679. "executeside": {
  34680. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  34681. "type": "integer"
  34682. },
  34683. "failedchargealgorithm": {
  34684. "description": "流拍手续费收取方式 1:比率 2:固定",
  34685. "type": "integer"
  34686. },
  34687. "failedchargevalue": {
  34688. "description": "流拍手续费设置值",
  34689. "type": "number"
  34690. },
  34691. "failedchargevalue2": {
  34692. "description": "流拍卖方手续费设置值",
  34693. "type": "number"
  34694. },
  34695. "holddays": {
  34696. "description": "合同期限[2:分步履约]",
  34697. "type": "integer"
  34698. },
  34699. "marketid": {
  34700. "description": "市场ID-仓单贸易、竞拍、预售",
  34701. "type": "integer"
  34702. },
  34703. "minqty": {
  34704. "description": "最小执行量[2:分步履约]",
  34705. "type": "number"
  34706. },
  34707. "modifierid": {
  34708. "description": "修改人",
  34709. "type": "integer"
  34710. },
  34711. "performancetempid": {
  34712. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  34713. "type": "integer"
  34714. },
  34715. "performancetempid2": {
  34716. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  34717. "type": "integer"
  34718. },
  34719. "performanceway": {
  34720. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  34721. "type": "integer"
  34722. },
  34723. "sellchargealgorithm": {
  34724. "description": "卖方手续费收取方式 1:比率 2:固定",
  34725. "type": "integer"
  34726. },
  34727. "sellchargealgorithm2": {
  34728. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34729. "type": "integer"
  34730. },
  34731. "sellchargealgorithmvalue": {
  34732. "description": "卖方手续费设置值(交易所部分)",
  34733. "type": "number"
  34734. },
  34735. "sellchargealgorithmvalue2": {
  34736. "description": "卖方手续费设置值(会员部分)",
  34737. "type": "number"
  34738. },
  34739. "sellchargealgorithmvalue3": {
  34740. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  34741. "type": "number"
  34742. },
  34743. "sellchargealgorithmvalue4": {
  34744. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  34745. "type": "number"
  34746. },
  34747. "sellmarginalgorithm": {
  34748. "description": "卖方保证金方式 - 1:比率 2:固定",
  34749. "type": "integer"
  34750. },
  34751. "sellmarginvalue": {
  34752. "description": "卖方保证金设置值",
  34753. "type": "number"
  34754. },
  34755. "sellmarginvalue2": {
  34756. "description": "卖方保证金设置值(无仓单)",
  34757. "type": "number"
  34758. },
  34759. "sellreleaseratio": {
  34760. "description": "卖方释放比率[2:分步履约]",
  34761. "type": "number"
  34762. },
  34763. "updatetime": {
  34764. "description": "更新时间",
  34765. "type": "string"
  34766. }
  34767. }
  34768. },
  34769. "models.WrOrderDetail": {
  34770. "type": "object",
  34771. "properties": {
  34772. "accountid": {
  34773. "description": "交易账号(资金账号)",
  34774. "type": "integer"
  34775. },
  34776. "allfriendsflag": {
  34777. "description": "是否全好友可见 - 0:否 1:是",
  34778. "type": "integer"
  34779. },
  34780. "amount": {
  34781. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  34782. "type": "number"
  34783. },
  34784. "buyorsell": {
  34785. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34786. "type": "integer"
  34787. },
  34788. "canbargain": {
  34789. "description": "是否可议价 - 0:不可 1:可",
  34790. "type": "integer"
  34791. },
  34792. "cancelqty": {
  34793. "description": "撤销数量",
  34794. "type": "number"
  34795. },
  34796. "canpart": {
  34797. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  34798. "type": "integer"
  34799. },
  34800. "delistminqty": {
  34801. "description": "起摘数量",
  34802. "type": "integer"
  34803. },
  34804. "deliverygoodscode": {
  34805. "description": "品种代码",
  34806. "type": "string"
  34807. },
  34808. "deliverygoodsid": {
  34809. "description": "品种ID",
  34810. "type": "integer"
  34811. },
  34812. "deliverygoodsname": {
  34813. "description": "品种名称",
  34814. "type": "string"
  34815. },
  34816. "deliverymonth": {
  34817. "description": "交收月",
  34818. "type": "string"
  34819. },
  34820. "enumdicname": {
  34821. "description": "单位名称",
  34822. "type": "string"
  34823. },
  34824. "fixedprice": {
  34825. "description": "固定价格 - [挂牌]",
  34826. "type": "number"
  34827. },
  34828. "freezemargin": {
  34829. "description": "冻结保证金(保证金)",
  34830. "type": "number"
  34831. },
  34832. "futupricemove": {
  34833. "description": "期货升贴水",
  34834. "type": "number"
  34835. },
  34836. "futushow": {
  34837. "description": "期货合约/升贴水",
  34838. "type": "string"
  34839. },
  34840. "goodscode": {
  34841. "description": "期货合约",
  34842. "type": "string"
  34843. },
  34844. "goodsid": {
  34845. "description": "期货商品id",
  34846. "type": "integer"
  34847. },
  34848. "goodsname": {
  34849. "description": "商品名称",
  34850. "type": "string"
  34851. },
  34852. "haswr": {
  34853. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34854. "type": "integer"
  34855. },
  34856. "isspecified": {
  34857. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  34858. "type": "integer"
  34859. },
  34860. "ladingbillid": {
  34861. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34862. "type": "string"
  34863. },
  34864. "marginvalue": {
  34865. "description": "保证金设置值(履约保证金)",
  34866. "type": "number"
  34867. },
  34868. "marketid": {
  34869. "description": "市场ID",
  34870. "type": "integer"
  34871. },
  34872. "matchusername": {
  34873. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  34874. "type": "string"
  34875. },
  34876. "minivalue": {
  34877. "description": "现货商品最小变动值",
  34878. "type": "integer"
  34879. },
  34880. "optioncompare": {
  34881. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34882. "type": "string"
  34883. },
  34884. "orderqty": {
  34885. "description": "委托数量",
  34886. "type": "number"
  34887. },
  34888. "ordertime": {
  34889. "description": "委托时间(挂牌时间)",
  34890. "type": "string"
  34891. },
  34892. "performancetemplateid": {
  34893. "description": "履约模板id",
  34894. "type": "integer"
  34895. },
  34896. "pricemove": {
  34897. "description": "升贴水(浮动价时填写) - [挂牌]",
  34898. "type": "number"
  34899. },
  34900. "taname": {
  34901. "description": "交易用户名称(资金账号名称)",
  34902. "type": "string"
  34903. },
  34904. "tradedate": {
  34905. "description": "交易日(yyyyMMdd)",
  34906. "type": "string"
  34907. },
  34908. "tradeprice": {
  34909. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  34910. "type": "number"
  34911. },
  34912. "tradeqty": {
  34913. "description": "成交数量",
  34914. "type": "number"
  34915. },
  34916. "userid": {
  34917. "description": "用户ID",
  34918. "type": "integer"
  34919. },
  34920. "validtime": {
  34921. "description": "挂牌有效期",
  34922. "type": "string"
  34923. },
  34924. "warehouseid": {
  34925. "description": "仓库ID",
  34926. "type": "integer"
  34927. },
  34928. "warehousename": {
  34929. "description": "仓库名称",
  34930. "type": "string"
  34931. },
  34932. "wrfactortypeid": {
  34933. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34934. "type": "string"
  34935. },
  34936. "wrfactortypename": {
  34937. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34938. "type": "string"
  34939. },
  34940. "wrpricetype": {
  34941. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34942. "type": "integer"
  34943. },
  34944. "wrstandardcode": {
  34945. "description": "现货商品代码",
  34946. "type": "string"
  34947. },
  34948. "wrstandardid": {
  34949. "description": "现货商品ID",
  34950. "type": "integer"
  34951. },
  34952. "wrstandardname": {
  34953. "description": "商品名称",
  34954. "type": "string"
  34955. },
  34956. "wrtradeorderid": {
  34957. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34958. "type": "string"
  34959. },
  34960. "wrtradeorderstatus": {
  34961. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败",
  34962. "type": "integer"
  34963. },
  34964. "wrtradetype": {
  34965. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34966. "type": "integer"
  34967. },
  34968. "wrtypename": {
  34969. "description": "商品",
  34970. "type": "string"
  34971. }
  34972. }
  34973. },
  34974. "models.WrOrderQuote": {
  34975. "type": "object",
  34976. "properties": {
  34977. "buyprice": {
  34978. "description": "买价",
  34979. "type": "number"
  34980. },
  34981. "buypricemove": {
  34982. "description": "买升贴水(基差)",
  34983. "type": "number"
  34984. },
  34985. "buyqty": {
  34986. "description": "买量",
  34987. "type": "number"
  34988. },
  34989. "deliverygoodscode": {
  34990. "description": "品种代码",
  34991. "type": "string"
  34992. },
  34993. "deliverygoodsid": {
  34994. "description": "品种id",
  34995. "type": "integer"
  34996. },
  34997. "deliverygoodsname": {
  34998. "description": "品种名称",
  34999. "type": "string"
  35000. },
  35001. "deliverymonth": {
  35002. "description": "交收月",
  35003. "type": "string"
  35004. },
  35005. "enumdicname": {
  35006. "description": "单位名称",
  35007. "type": "string"
  35008. },
  35009. "goodscode": {
  35010. "description": "商品合约(浮动价列表才有)",
  35011. "type": "string"
  35012. },
  35013. "goodsid": {
  35014. "description": "商品id(浮动价列表才有)",
  35015. "type": "integer"
  35016. },
  35017. "minivalue": {
  35018. "description": "现货商品最小变动值",
  35019. "type": "integer"
  35020. },
  35021. "sellprice": {
  35022. "description": "卖价",
  35023. "type": "number"
  35024. },
  35025. "sellpricemove": {
  35026. "description": "卖升贴水(基差)",
  35027. "type": "number"
  35028. },
  35029. "sellqty": {
  35030. "description": "卖量",
  35031. "type": "number"
  35032. },
  35033. "warehousecode": {
  35034. "description": "仓库代码",
  35035. "type": "string"
  35036. },
  35037. "warehouseid": {
  35038. "description": "仓库id",
  35039. "type": "integer"
  35040. },
  35041. "warehousename": {
  35042. "description": "仓库名称",
  35043. "type": "string"
  35044. },
  35045. "wrfactortypeid": {
  35046. "description": "仓单要素id",
  35047. "type": "string"
  35048. },
  35049. "wrfactortypename": {
  35050. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35051. "type": "string"
  35052. },
  35053. "wrgoodsname": {
  35054. "description": "商品(商品名称+仓库要素名称 拼接)",
  35055. "type": "string"
  35056. },
  35057. "wrstandardcode": {
  35058. "description": "商品代码",
  35059. "type": "string"
  35060. },
  35061. "wrstandardid": {
  35062. "description": "商品id",
  35063. "type": "integer"
  35064. },
  35065. "wrstandardname": {
  35066. "description": "商品名称",
  35067. "type": "string"
  35068. }
  35069. }
  35070. },
  35071. "models.WrOrderQuoteDetail": {
  35072. "type": "object",
  35073. "properties": {
  35074. "buyorsell": {
  35075. "description": "买卖 - 0:买 1:卖",
  35076. "type": "integer"
  35077. },
  35078. "delistminqty": {
  35079. "description": "起摘数量",
  35080. "type": "number"
  35081. },
  35082. "deliverymonth": {
  35083. "description": "交收月",
  35084. "type": "string"
  35085. },
  35086. "enumdicname": {
  35087. "description": "单位名称",
  35088. "type": "string"
  35089. },
  35090. "fixedprice": {
  35091. "description": "买(卖)价",
  35092. "type": "number"
  35093. },
  35094. "minivalue": {
  35095. "description": "现货商品最小变动值",
  35096. "type": "integer"
  35097. },
  35098. "orderqty": {
  35099. "description": "买(卖)量(=委托量-成交量)",
  35100. "type": "number"
  35101. },
  35102. "ordertime": {
  35103. "description": "委托时间",
  35104. "type": "string"
  35105. },
  35106. "pricemove": {
  35107. "description": "买(卖)升贴水- 基差",
  35108. "type": "number"
  35109. },
  35110. "userid": {
  35111. "description": "购买方(销售方)用户ID",
  35112. "type": "integer"
  35113. },
  35114. "username": {
  35115. "description": "购买方(销售方)",
  35116. "type": "string"
  35117. },
  35118. "wrtradeorderid": {
  35119. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35120. "type": "string"
  35121. }
  35122. }
  35123. },
  35124. "models.WrOutInApply": {
  35125. "type": "object",
  35126. "properties": {
  35127. "applyid": {
  35128. "description": "申请单id",
  35129. "type": "string"
  35130. },
  35131. "applystatus": {
  35132. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35133. "type": "integer"
  35134. },
  35135. "applytime": {
  35136. "description": "申请时间",
  35137. "type": "string"
  35138. },
  35139. "applytype": {
  35140. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35141. "type": "integer"
  35142. },
  35143. "deliverygoodscode": {
  35144. "description": "品种代码",
  35145. "type": "string"
  35146. },
  35147. "deliverygoodsid": {
  35148. "description": "品种ID",
  35149. "type": "integer"
  35150. },
  35151. "deliverygoodsname": {
  35152. "description": "品种名称",
  35153. "type": "string"
  35154. },
  35155. "enumdicname": {
  35156. "description": "单位名称",
  35157. "type": "string"
  35158. },
  35159. "expresscompany": {
  35160. "description": "物流公司",
  35161. "type": "string"
  35162. },
  35163. "expressnum": {
  35164. "description": "物流单号",
  35165. "type": "string"
  35166. },
  35167. "minivalue": {
  35168. "description": "现货商品最小变动值",
  35169. "type": "integer"
  35170. },
  35171. "optioncompare": {
  35172. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35173. "type": "string"
  35174. },
  35175. "qty": {
  35176. "description": "数量",
  35177. "type": "integer"
  35178. },
  35179. "userid": {
  35180. "description": "用户id",
  35181. "type": "integer"
  35182. },
  35183. "warehouseid": {
  35184. "description": "仓库ID",
  35185. "type": "integer"
  35186. },
  35187. "warehousename": {
  35188. "description": "仓库名称",
  35189. "type": "string"
  35190. },
  35191. "wrfactortypeid": {
  35192. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35193. "type": "string"
  35194. },
  35195. "wrfactortypename": {
  35196. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35197. "type": "string"
  35198. },
  35199. "wrstandardcode": {
  35200. "description": "现货商品代码",
  35201. "type": "string"
  35202. },
  35203. "wrstandardid": {
  35204. "description": "现货商品ID",
  35205. "type": "integer"
  35206. },
  35207. "wrstandardname": {
  35208. "description": "商品名称",
  35209. "type": "string"
  35210. },
  35211. "wrtypename": {
  35212. "description": "商品",
  35213. "type": "string"
  35214. }
  35215. }
  35216. },
  35217. "models.WrPerformancePlan": {
  35218. "type": "object",
  35219. "required": [
  35220. "userid"
  35221. ],
  35222. "properties": {
  35223. "activatemonth": {
  35224. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35225. "type": "string"
  35226. },
  35227. "amount": {
  35228. "description": "履约金额(总金额)",
  35229. "type": "number"
  35230. },
  35231. "buyaccountid": {
  35232. "description": "买方账号",
  35233. "type": "integer"
  35234. },
  35235. "buyerfreezeamount": {
  35236. "description": "履约冻结(买履约)",
  35237. "type": "number"
  35238. },
  35239. "buyerfreezeamountremain": {
  35240. "description": "履约冻结剩余(买履约)",
  35241. "type": "number"
  35242. },
  35243. "buyorsell": {
  35244. "description": "买卖方向 0-买 1-卖",
  35245. "type": "integer"
  35246. },
  35247. "buypaidamount": {
  35248. "description": "买方已冻/已扣金额 (已付金额)",
  35249. "type": "number"
  35250. },
  35251. "buyusername": {
  35252. "description": "买方名字",
  35253. "type": "string"
  35254. },
  35255. "contractid": {
  35256. "description": "合同ID",
  35257. "type": "integer"
  35258. },
  35259. "createtime": {
  35260. "description": "创建时间",
  35261. "type": "string"
  35262. },
  35263. "creatorid": {
  35264. "description": "创建人",
  35265. "type": "integer"
  35266. },
  35267. "curstepdeadline": {
  35268. "description": "当前步骤到期时间",
  35269. "type": "string"
  35270. },
  35271. "curstepid": {
  35272. "description": "当前步骤ID",
  35273. "type": "string"
  35274. },
  35275. "curstepname": {
  35276. "description": "当前步骤名称",
  35277. "type": "string"
  35278. },
  35279. "deliverygoodscode": {
  35280. "description": "品种代码",
  35281. "type": "string"
  35282. },
  35283. "deliverygoodsid": {
  35284. "description": "品种ID",
  35285. "type": "integer"
  35286. },
  35287. "deliverygoodsname": {
  35288. "description": "品种名称",
  35289. "type": "string"
  35290. },
  35291. "enumdicname": {
  35292. "description": "单位名称",
  35293. "type": "string"
  35294. },
  35295. "expressfee": {
  35296. "description": "运费",
  35297. "type": "number"
  35298. },
  35299. "expressfeeconfirmed": {
  35300. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35301. "type": "integer"
  35302. },
  35303. "hasovershort": {
  35304. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35305. "type": "integer"
  35306. },
  35307. "haswr": {
  35308. "description": "类型 0-仓单预售 1-仓单贸易",
  35309. "type": "integer"
  35310. },
  35311. "marketid": {
  35312. "description": "市场ID",
  35313. "type": "integer"
  35314. },
  35315. "middleaccountid": {
  35316. "description": "中间商资金账号ID",
  35317. "type": "integer"
  35318. },
  35319. "middleuserid": {
  35320. "description": "中间商用户ID",
  35321. "type": "integer"
  35322. },
  35323. "minivalue": {
  35324. "description": "现货商品最小变动值",
  35325. "type": "integer"
  35326. },
  35327. "optioncompare": {
  35328. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35329. "type": "string"
  35330. },
  35331. "overshortamount": {
  35332. "description": "溢短金额",
  35333. "type": "number"
  35334. },
  35335. "overshortqty": {
  35336. "description": "溢短数量",
  35337. "type": "number"
  35338. },
  35339. "paymenttype": {
  35340. "description": "付款方式 - 1:冻结 2:扣款",
  35341. "type": "integer"
  35342. },
  35343. "performanceplanid": {
  35344. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35345. "type": "string"
  35346. },
  35347. "performancestatus": {
  35348. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35349. "type": "integer"
  35350. },
  35351. "performancetype": {
  35352. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35353. "type": "integer"
  35354. },
  35355. "qty": {
  35356. "description": "履约数量",
  35357. "type": "number"
  35358. },
  35359. "relatedorderid": {
  35360. "description": "关联单号(履约类型的关联单号)",
  35361. "type": "string"
  35362. },
  35363. "remark": {
  35364. "description": "备注",
  35365. "type": "string"
  35366. },
  35367. "sellaccountid": {
  35368. "description": "卖方账号",
  35369. "type": "integer"
  35370. },
  35371. "sellerfreezeamount": {
  35372. "description": "履约冻结(卖履约)",
  35373. "type": "number"
  35374. },
  35375. "sellerfreezeamountremain": {
  35376. "description": "履约冻结剩余(卖履约)",
  35377. "type": "number"
  35378. },
  35379. "sellreceivedamount": {
  35380. "description": "卖方已收金额",
  35381. "type": "number"
  35382. },
  35383. "sellusername": {
  35384. "description": "卖方名字",
  35385. "type": "string"
  35386. },
  35387. "shipremark": {
  35388. "description": "发货备注[物流单号]",
  35389. "type": "string"
  35390. },
  35391. "starttime": {
  35392. "description": "开始时间",
  35393. "type": "string"
  35394. },
  35395. "steptypeid": {
  35396. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35397. "type": "integer"
  35398. },
  35399. "typename": {
  35400. "description": "履约类型 名称",
  35401. "type": "string"
  35402. },
  35403. "unpaidamount": {
  35404. "description": "剩余款(待支付金额)",
  35405. "type": "number"
  35406. },
  35407. "userid": {
  35408. "description": "用户id",
  35409. "type": "integer"
  35410. },
  35411. "warehouseid": {
  35412. "description": "仓库ID",
  35413. "type": "integer"
  35414. },
  35415. "warehousename": {
  35416. "description": "仓库名称",
  35417. "type": "string"
  35418. },
  35419. "wrfactortypeid": {
  35420. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35421. "type": "string"
  35422. },
  35423. "wrfactortypename": {
  35424. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35425. "type": "string"
  35426. },
  35427. "wrstandardcode": {
  35428. "description": "现货商品代码",
  35429. "type": "string"
  35430. },
  35431. "wrstandardid": {
  35432. "description": "现货商品ID",
  35433. "type": "integer"
  35434. },
  35435. "wrstandardname": {
  35436. "description": "商品名称",
  35437. "type": "string"
  35438. },
  35439. "wrtransferuserid": {
  35440. "description": "仓单受让用户",
  35441. "type": "integer"
  35442. },
  35443. "wrtypename": {
  35444. "description": "商品",
  35445. "type": "string"
  35446. }
  35447. }
  35448. },
  35449. "models.WrPerformancePlanStep": {
  35450. "type": "object",
  35451. "properties": {
  35452. "delaydays": {
  35453. "description": "延期申请天数",
  35454. "type": "integer"
  35455. },
  35456. "deliverygoodscode": {
  35457. "description": "品种代码",
  35458. "type": "string"
  35459. },
  35460. "deliverygoodsid": {
  35461. "description": "品种ID",
  35462. "type": "integer"
  35463. },
  35464. "deliverygoodsname": {
  35465. "description": "品种名称",
  35466. "type": "string"
  35467. },
  35468. "endtime": {
  35469. "description": "结束日期",
  35470. "type": "string"
  35471. },
  35472. "enumdicname": {
  35473. "description": "单位名称",
  35474. "type": "string"
  35475. },
  35476. "executeside": {
  35477. "description": "步骤执行方 - 1:买方 2:卖方",
  35478. "type": "integer"
  35479. },
  35480. "handlestatus": {
  35481. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35482. "type": "integer"
  35483. },
  35484. "isauto": {
  35485. "description": "是否自动 - 0:不自动 1:自动",
  35486. "type": "integer"
  35487. },
  35488. "islastreceivestep": {
  35489. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35490. "type": "integer"
  35491. },
  35492. "minivalue": {
  35493. "description": "现货商品最小变动值",
  35494. "type": "integer"
  35495. },
  35496. "optioncompare": {
  35497. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35498. "type": "string"
  35499. },
  35500. "overdays": {
  35501. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35502. "type": "integer"
  35503. },
  35504. "performancestepid": {
  35505. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  35506. "type": "string"
  35507. },
  35508. "planid": {
  35509. "description": "所属履约计划ID",
  35510. "type": "string"
  35511. },
  35512. "realamount": {
  35513. "description": "实际完成金额",
  35514. "type": "number"
  35515. },
  35516. "relatedorderid": {
  35517. "description": "关联单号",
  35518. "type": "string"
  35519. },
  35520. "remaindays": {
  35521. "description": "剩余天数",
  35522. "type": "integer"
  35523. },
  35524. "remark": {
  35525. "description": "错误备注",
  35526. "type": "string"
  35527. },
  35528. "starttime": {
  35529. "description": "开始日期",
  35530. "type": "string"
  35531. },
  35532. "stepamount": {
  35533. "description": "步骤金额",
  35534. "type": "number"
  35535. },
  35536. "stepdays": {
  35537. "description": "距离上一步天数(分钟)",
  35538. "type": "integer"
  35539. },
  35540. "stepindex": {
  35541. "description": "步骤序号",
  35542. "type": "integer"
  35543. },
  35544. "steplanchtype": {
  35545. "description": "步骤启动类型 - 1:系统自动 2:手动",
  35546. "type": "integer"
  35547. },
  35548. "stepremark": {
  35549. "description": "步骤备注",
  35550. "type": "string"
  35551. },
  35552. "stepstatus": {
  35553. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  35554. "type": "integer"
  35555. },
  35556. "steptypeid": {
  35557. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35558. "type": "integer"
  35559. },
  35560. "steptypename": {
  35561. "description": "步骤名称",
  35562. "type": "string"
  35563. },
  35564. "stepvalue": {
  35565. "description": "步骤值",
  35566. "type": "number"
  35567. },
  35568. "warehouseid": {
  35569. "description": "仓库ID",
  35570. "type": "integer"
  35571. },
  35572. "warehousename": {
  35573. "description": "仓库名称",
  35574. "type": "string"
  35575. },
  35576. "wrfactortypeid": {
  35577. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35578. "type": "string"
  35579. },
  35580. "wrfactortypename": {
  35581. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35582. "type": "string"
  35583. },
  35584. "wrstandardcode": {
  35585. "description": "现货商品代码",
  35586. "type": "string"
  35587. },
  35588. "wrstandardid": {
  35589. "description": "现货商品ID",
  35590. "type": "integer"
  35591. },
  35592. "wrstandardname": {
  35593. "description": "商品名称",
  35594. "type": "string"
  35595. },
  35596. "wrtypename": {
  35597. "description": "商品",
  35598. "type": "string"
  35599. }
  35600. }
  35601. },
  35602. "models.WrPerformanceStepType": {
  35603. "type": "object",
  35604. "properties": {
  35605. "canauto": {
  35606. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  35607. "type": "integer"
  35608. },
  35609. "steptypeid": {
  35610. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  35611. "type": "integer"
  35612. },
  35613. "steptypename": {
  35614. "description": "步骤类型名称",
  35615. "type": "string"
  35616. }
  35617. }
  35618. },
  35619. "models.WrPerformanceTemplateEx": {
  35620. "type": "object",
  35621. "properties": {
  35622. "autoid": {
  35623. "description": "AutoID 模板id",
  35624. "type": "integer"
  35625. },
  35626. "createtime": {
  35627. "description": "创建时间",
  35628. "type": "string"
  35629. },
  35630. "creatorid": {
  35631. "description": "创建人",
  35632. "type": "integer"
  35633. },
  35634. "lstStep": {
  35635. "description": "步骤信息列表",
  35636. "type": "array",
  35637. "items": {
  35638. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35639. }
  35640. },
  35641. "paymenttype": {
  35642. "description": "支付方式 - 1:冻结 2:扣款",
  35643. "type": "integer"
  35644. },
  35645. "takemode": {
  35646. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  35647. "type": "integer"
  35648. },
  35649. "templatename": {
  35650. "description": "模板名称",
  35651. "type": "string"
  35652. },
  35653. "templatetype": {
  35654. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  35655. "type": "integer"
  35656. },
  35657. "userid": {
  35658. "description": "所属用户",
  35659. "type": "integer"
  35660. }
  35661. }
  35662. },
  35663. "models.WrPosition": {
  35664. "type": "object",
  35665. "properties": {
  35666. "accountid": {
  35667. "description": "帐户ID",
  35668. "type": "integer"
  35669. },
  35670. "buyexcuteqty": {
  35671. "description": "采购履约中数量",
  35672. "type": "number"
  35673. },
  35674. "creditcurqty": {
  35675. "description": "授信当前数量(预售仓单:预售当前量)",
  35676. "type": "number"
  35677. },
  35678. "creditenableqty": {
  35679. "description": "授信可用数量(预售仓单: 可用数量)",
  35680. "type": "number"
  35681. },
  35682. "creditfreezeqty": {
  35683. "description": "授信冻结数量(预售仓单: 当前数量)",
  35684. "type": "number"
  35685. },
  35686. "credittotalqty": {
  35687. "description": "授信总数量(预售仓单:预售总量)",
  35688. "type": "number"
  35689. },
  35690. "credittradeqty": {
  35691. "description": "授信成交数量(预售仓单:成交总量)",
  35692. "type": "number"
  35693. },
  35694. "deliverygoodscode": {
  35695. "description": "品种代码",
  35696. "type": "string"
  35697. },
  35698. "deliverygoodsid": {
  35699. "description": "品种ID",
  35700. "type": "integer"
  35701. },
  35702. "deliverygoodsname": {
  35703. "description": "品种名称",
  35704. "type": "string"
  35705. },
  35706. "enalbeqty": {
  35707. "description": "可用数量",
  35708. "type": "number"
  35709. },
  35710. "enumdicname": {
  35711. "description": "单位名称",
  35712. "type": "string"
  35713. },
  35714. "freezeqty": {
  35715. "description": "总冻结数量",
  35716. "type": "number"
  35717. },
  35718. "haswr": {
  35719. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35720. "type": "integer"
  35721. },
  35722. "minivalue": {
  35723. "description": "现货商品最小变动值",
  35724. "type": "integer"
  35725. },
  35726. "modifytime": {
  35727. "description": "修改时间(过户时间)",
  35728. "type": "string"
  35729. },
  35730. "optioncompare": {
  35731. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35732. "type": "string"
  35733. },
  35734. "pledgeqty": {
  35735. "description": "质押数量",
  35736. "type": "number"
  35737. },
  35738. "querytype": {
  35739. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  35740. "type": "integer"
  35741. },
  35742. "sellexcuteqty": {
  35743. "description": "销售履约中数量",
  35744. "type": "number"
  35745. },
  35746. "totalqty": {
  35747. "description": "总数量(库存数量)",
  35748. "type": "number"
  35749. },
  35750. "warehouseid": {
  35751. "description": "仓库ID",
  35752. "type": "integer"
  35753. },
  35754. "warehousename": {
  35755. "description": "仓库名称",
  35756. "type": "string"
  35757. },
  35758. "wrfactortypeid": {
  35759. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35760. "type": "string"
  35761. },
  35762. "wrfactortypename": {
  35763. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35764. "type": "string"
  35765. },
  35766. "wrpositionid": {
  35767. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  35768. "type": "string"
  35769. },
  35770. "wrpositionno": {
  35771. "description": "仓单编号",
  35772. "type": "string"
  35773. },
  35774. "wrstandardcode": {
  35775. "description": "现货商品代码",
  35776. "type": "string"
  35777. },
  35778. "wrstandardid": {
  35779. "description": "现货商品ID",
  35780. "type": "integer"
  35781. },
  35782. "wrstandardname": {
  35783. "description": "商品名称",
  35784. "type": "string"
  35785. },
  35786. "wrtypename": {
  35787. "description": "商品",
  35788. "type": "string"
  35789. },
  35790. "wruserid": {
  35791. "description": "持有人ID",
  35792. "type": "integer"
  35793. }
  35794. }
  35795. },
  35796. "models.WrQuoteOrderMyq": {
  35797. "type": "object",
  35798. "properties": {
  35799. "buyorsell": {
  35800. "description": "买卖 - 0:买 1:卖",
  35801. "type": "integer"
  35802. },
  35803. "canbargain": {
  35804. "description": "是否可议价 - 0:不可 1:可",
  35805. "type": "integer"
  35806. },
  35807. "canpart": {
  35808. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  35809. "type": "integer"
  35810. },
  35811. "delistminqty": {
  35812. "description": "起摘数量",
  35813. "type": "number"
  35814. },
  35815. "deliverygoodscode": {
  35816. "description": "品种代码",
  35817. "type": "string"
  35818. },
  35819. "deliverygoodsid": {
  35820. "description": "品种ID",
  35821. "type": "integer"
  35822. },
  35823. "deliverygoodsname": {
  35824. "description": "品种名称",
  35825. "type": "string"
  35826. },
  35827. "deliverymonth": {
  35828. "description": "交收月",
  35829. "type": "string"
  35830. },
  35831. "enumdicname": {
  35832. "description": "单位名称",
  35833. "type": "string"
  35834. },
  35835. "fixedprice": {
  35836. "description": "买(卖)价",
  35837. "type": "number"
  35838. },
  35839. "goodscode": {
  35840. "description": "商品合约代码",
  35841. "type": "string"
  35842. },
  35843. "marginflag": {
  35844. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  35845. "type": "integer"
  35846. },
  35847. "marginvalue": {
  35848. "description": "保证金设置值",
  35849. "type": "number"
  35850. },
  35851. "minivalue": {
  35852. "description": "现货商品最小变动值",
  35853. "type": "integer"
  35854. },
  35855. "orderqty": {
  35856. "description": "买(卖)量(=委托量-成交量)",
  35857. "type": "number"
  35858. },
  35859. "ordertime": {
  35860. "description": "委托时间",
  35861. "type": "string"
  35862. },
  35863. "performancetemplateid": {
  35864. "description": "履约模板id",
  35865. "type": "integer"
  35866. },
  35867. "pricemove": {
  35868. "description": "买(卖)升贴水- 基差",
  35869. "type": "number"
  35870. },
  35871. "templatename": {
  35872. "description": "履约模板名称",
  35873. "type": "string"
  35874. },
  35875. "userid": {
  35876. "description": "购买方(销售方)用户ID",
  35877. "type": "integer"
  35878. },
  35879. "username": {
  35880. "description": "购买方(销售方)",
  35881. "type": "string"
  35882. },
  35883. "validtime": {
  35884. "description": "有效期限",
  35885. "type": "string"
  35886. },
  35887. "validtype": {
  35888. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35889. "type": "integer"
  35890. },
  35891. "warehousename": {
  35892. "description": "仓库名称",
  35893. "type": "string"
  35894. },
  35895. "wrfactortypeid": {
  35896. "description": "仓单要素id",
  35897. "type": "string"
  35898. },
  35899. "wrstandardcode": {
  35900. "description": "现货商品代码",
  35901. "type": "string"
  35902. },
  35903. "wrstandardid": {
  35904. "description": "现货商品ID",
  35905. "type": "integer"
  35906. },
  35907. "wrstandardname": {
  35908. "description": "商品名称",
  35909. "type": "string"
  35910. },
  35911. "wrtradeorderid": {
  35912. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35913. "type": "string"
  35914. },
  35915. "wrtypename": {
  35916. "description": "商品",
  35917. "type": "string"
  35918. }
  35919. }
  35920. },
  35921. "models.WrScfContract": {
  35922. "type": "object",
  35923. "properties": {
  35924. "borroweruserid": {
  35925. "description": "借款用户ID",
  35926. "type": "integer"
  35927. },
  35928. "buybackwrpositionqty": {
  35929. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  35930. "type": "number"
  35931. },
  35932. "closeinterest": {
  35933. "description": "已结利息 -\u003e 已结费用",
  35934. "type": "number"
  35935. },
  35936. "currisklevel": {
  35937. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35938. "type": "integer"
  35939. },
  35940. "deadline": {
  35941. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  35942. "type": "string"
  35943. },
  35944. "deliverygoodscode": {
  35945. "description": "品种代码",
  35946. "type": "string"
  35947. },
  35948. "deliverygoodsid": {
  35949. "description": "品种ID",
  35950. "type": "integer"
  35951. },
  35952. "deliverygoodsname": {
  35953. "description": "品种名称",
  35954. "type": "string"
  35955. },
  35956. "enumdicname": {
  35957. "description": "单位名称",
  35958. "type": "string"
  35959. },
  35960. "financingdays": {
  35961. "description": "天数(天)",
  35962. "type": "integer"
  35963. },
  35964. "initmargin": {
  35965. "description": "保证金 - [仓单回购]",
  35966. "type": "number"
  35967. },
  35968. "interestamount": {
  35969. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  35970. "type": "number"
  35971. },
  35972. "interestdebt": {
  35973. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  35974. "type": "number"
  35975. },
  35976. "interestminlen": {
  35977. "description": "最小起息天数",
  35978. "type": "integer"
  35979. },
  35980. "interestrate": {
  35981. "description": "利率",
  35982. "type": "number"
  35983. },
  35984. "interestratemode": {
  35985. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35986. "type": "integer"
  35987. },
  35988. "interestsettlemode": {
  35989. "description": "结息方式 - 1:按日结息 3:按月结息",
  35990. "type": "integer"
  35991. },
  35992. "interestsettlevalue": {
  35993. "description": "结息方式值",
  35994. "type": "integer"
  35995. },
  35996. "isautoloan": {
  35997. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  35998. "type": "integer"
  35999. },
  36000. "lastcloseinterestday": {
  36001. "description": "最近结息日(yyyyMMdd)",
  36002. "type": "string"
  36003. },
  36004. "lenderamount": {
  36005. "description": "贷款金额 -\u003e 借款金额",
  36006. "type": "number"
  36007. },
  36008. "lenderuserid": {
  36009. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36010. "type": "integer"
  36011. },
  36012. "lenderusername": {
  36013. "description": "融出方",
  36014. "type": "string"
  36015. },
  36016. "marginratio": {
  36017. "description": "保证金比率质押率 - [仓单质押]",
  36018. "type": "number"
  36019. },
  36020. "marketid": {
  36021. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36022. "type": "integer"
  36023. },
  36024. "minivalue": {
  36025. "description": "现货商品最小变动值",
  36026. "type": "integer"
  36027. },
  36028. "optioncompare": {
  36029. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36030. "type": "string"
  36031. },
  36032. "pricemove": {
  36033. "description": "估值升贴水值",
  36034. "type": "number"
  36035. },
  36036. "productdetailid": {
  36037. "description": "产品组合ID",
  36038. "type": "integer"
  36039. },
  36040. "productid": {
  36041. "description": "金融产品ID",
  36042. "type": "integer"
  36043. },
  36044. "productname": {
  36045. "description": "产品名称",
  36046. "type": "string"
  36047. },
  36048. "remainamount": {
  36049. "description": "合同剩余金额 -\u003e 剩余金额",
  36050. "type": "number"
  36051. },
  36052. "remainwrpositionqty": {
  36053. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36054. "type": "number"
  36055. },
  36056. "remark": {
  36057. "description": "备注",
  36058. "type": "string"
  36059. },
  36060. "scfcontractid": {
  36061. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36062. "type": "string"
  36063. },
  36064. "scfcontractstatus": {
  36065. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36066. "type": "integer"
  36067. },
  36068. "scfcontracttype": {
  36069. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36070. "type": "integer"
  36071. },
  36072. "startinterestday": {
  36073. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36074. "type": "string"
  36075. },
  36076. "totalinterest": {
  36077. "description": "已计利息 -\u003e 已计费用",
  36078. "type": "number"
  36079. },
  36080. "unpaidinterest": {
  36081. "description": "未结费用",
  36082. "type": "number"
  36083. },
  36084. "updatetime": {
  36085. "description": "更新时间",
  36086. "type": "string"
  36087. },
  36088. "warehouseid": {
  36089. "description": "仓库ID",
  36090. "type": "integer"
  36091. },
  36092. "warehousename": {
  36093. "description": "仓库名称",
  36094. "type": "string"
  36095. },
  36096. "wrfactortypeid": {
  36097. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36098. "type": "string"
  36099. },
  36100. "wrfactortypename": {
  36101. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36102. "type": "string"
  36103. },
  36104. "wrqty": {
  36105. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36106. "type": "number"
  36107. },
  36108. "wrstandardcode": {
  36109. "description": "现货商品代码",
  36110. "type": "string"
  36111. },
  36112. "wrstandardid": {
  36113. "description": "现货商品ID",
  36114. "type": "integer"
  36115. },
  36116. "wrstandardname": {
  36117. "description": "商品名称",
  36118. "type": "string"
  36119. },
  36120. "wrtypename": {
  36121. "description": "商品",
  36122. "type": "string"
  36123. }
  36124. }
  36125. },
  36126. "models.WrScfContractInterest": {
  36127. "type": "object",
  36128. "properties": {
  36129. "closeinterest": {
  36130. "description": "已结利息",
  36131. "type": "number"
  36132. },
  36133. "closeintereststatus": {
  36134. "description": "结息状态 - 1:未结 2:已结",
  36135. "type": "integer"
  36136. },
  36137. "closetime": {
  36138. "description": "结息时间",
  36139. "type": "string"
  36140. },
  36141. "closetradedate": {
  36142. "description": "结息交易日",
  36143. "type": "string"
  36144. },
  36145. "creatorid": {
  36146. "description": "操作人ID",
  36147. "type": "integer"
  36148. },
  36149. "dayrate": {
  36150. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36151. "type": "number"
  36152. },
  36153. "interest": {
  36154. "description": "利息",
  36155. "type": "number"
  36156. },
  36157. "interestamount": {
  36158. "description": "计息金额",
  36159. "type": "number"
  36160. },
  36161. "interestday": {
  36162. "description": "计息日(yyyyMMdd)",
  36163. "type": "string"
  36164. },
  36165. "scfcontractid": {
  36166. "description": "SCF合同ID",
  36167. "type": "string"
  36168. },
  36169. "scfcontractinterestid": {
  36170. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36171. "type": "integer"
  36172. },
  36173. "updatetime": {
  36174. "description": "更新时间",
  36175. "type": "string"
  36176. }
  36177. }
  36178. },
  36179. "models.WrSiteColumnDetail": {
  36180. "type": "object",
  36181. "properties": {
  36182. "brief": {
  36183. "description": "简介",
  36184. "type": "string"
  36185. },
  36186. "context": {
  36187. "description": "内容",
  36188. "type": "string"
  36189. },
  36190. "coverimage": {
  36191. "description": "封面图片",
  36192. "type": "string"
  36193. },
  36194. "creaedate": {
  36195. "description": "创建时间",
  36196. "type": "string"
  36197. },
  36198. "id": {
  36199. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36200. "type": "integer"
  36201. },
  36202. "istop": {
  36203. "description": "是否置顶 - 0:不置 1:置顶",
  36204. "type": "integer"
  36205. },
  36206. "publishdate": {
  36207. "description": "发布日期",
  36208. "type": "string"
  36209. },
  36210. "title": {
  36211. "description": "标题",
  36212. "type": "string"
  36213. },
  36214. "updatedate": {
  36215. "description": "修改时间",
  36216. "type": "string"
  36217. }
  36218. }
  36219. },
  36220. "models.WrSpecialMatchOrder": {
  36221. "type": "object",
  36222. "properties": {
  36223. "amount": {
  36224. "description": "金额 = 数量 * 价格",
  36225. "type": "number"
  36226. },
  36227. "buyorsell": {
  36228. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36229. "type": "integer"
  36230. },
  36231. "cancelqty": {
  36232. "description": "撤销数量",
  36233. "type": "number"
  36234. },
  36235. "deliverygoodscode": {
  36236. "description": "品种代码",
  36237. "type": "string"
  36238. },
  36239. "deliverygoodsid": {
  36240. "description": "品种ID",
  36241. "type": "integer"
  36242. },
  36243. "deliverygoodsname": {
  36244. "description": "品种名称",
  36245. "type": "string"
  36246. },
  36247. "enumdicname": {
  36248. "description": "单位名称",
  36249. "type": "string"
  36250. },
  36251. "fixedprice": {
  36252. "description": "固定价格(价格)",
  36253. "type": "number"
  36254. },
  36255. "haswr": {
  36256. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36257. "type": "integer"
  36258. },
  36259. "marketid": {
  36260. "description": "市场ID",
  36261. "type": "integer"
  36262. },
  36263. "matchuserid": {
  36264. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36265. "type": "integer"
  36266. },
  36267. "matchusername": {
  36268. "description": "指定方",
  36269. "type": "string"
  36270. },
  36271. "minivalue": {
  36272. "description": "现货商品最小变动值",
  36273. "type": "integer"
  36274. },
  36275. "optioncompare": {
  36276. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36277. "type": "string"
  36278. },
  36279. "orderqty": {
  36280. "description": "委托数量",
  36281. "type": "number"
  36282. },
  36283. "ordertime": {
  36284. "description": "委托时间",
  36285. "type": "string"
  36286. },
  36287. "pricemove": {
  36288. "description": "升贴水(浮动价时填写) - [挂牌]",
  36289. "type": "number"
  36290. },
  36291. "tradedate": {
  36292. "description": "交易日(yyyyMMdd)",
  36293. "type": "string"
  36294. },
  36295. "tradeprice": {
  36296. "description": "成交价格",
  36297. "type": "number"
  36298. },
  36299. "tradeqty": {
  36300. "description": "成交数量",
  36301. "type": "number"
  36302. },
  36303. "userid": {
  36304. "description": "用户ID",
  36305. "type": "integer"
  36306. },
  36307. "username": {
  36308. "description": "发起方",
  36309. "type": "string"
  36310. },
  36311. "warehouseid": {
  36312. "description": "仓库ID",
  36313. "type": "integer"
  36314. },
  36315. "warehousename": {
  36316. "description": "仓库名称",
  36317. "type": "string"
  36318. },
  36319. "wrfactortypeid": {
  36320. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36321. "type": "string"
  36322. },
  36323. "wrfactortypename": {
  36324. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36325. "type": "string"
  36326. },
  36327. "wrpricetype": {
  36328. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36329. "type": "integer"
  36330. },
  36331. "wrstandardcode": {
  36332. "description": "现货商品代码",
  36333. "type": "string"
  36334. },
  36335. "wrstandardid": {
  36336. "description": "现货商品ID",
  36337. "type": "integer"
  36338. },
  36339. "wrstandardname": {
  36340. "description": "商品名称",
  36341. "type": "string"
  36342. },
  36343. "wrtradeorderid": {
  36344. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36345. "type": "string"
  36346. },
  36347. "wrtradeorderstatus": {
  36348. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36349. "type": "integer"
  36350. },
  36351. "wrtradetype": {
  36352. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36353. "type": "integer"
  36354. },
  36355. "wrtypename": {
  36356. "description": "商品",
  36357. "type": "string"
  36358. }
  36359. }
  36360. },
  36361. "models.WrSpotGroupTradeSum": {
  36362. "type": "object",
  36363. "properties": {
  36364. "deliverygoodscode": {
  36365. "description": "现货品种代码",
  36366. "type": "string"
  36367. },
  36368. "deliverygoodsid": {
  36369. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36370. "type": "integer"
  36371. },
  36372. "deliverygoodsname": {
  36373. "description": "现货品种名称",
  36374. "type": "string"
  36375. },
  36376. "lastavgprice": {
  36377. "description": "上上个交易日价格(前2天价格)",
  36378. "type": "string"
  36379. },
  36380. "lastreckondate": {
  36381. "description": "上上个交易日(前2天交易日)",
  36382. "type": "string"
  36383. },
  36384. "reckondate": {
  36385. "description": "上个交易日(前1天交易日)",
  36386. "type": "string"
  36387. },
  36388. "todayavgprice": {
  36389. "description": "上个交易日价格(前1天价格)",
  36390. "type": "string"
  36391. },
  36392. "updown": {
  36393. "description": "涨跌",
  36394. "type": "string"
  36395. },
  36396. "updownratio": {
  36397. "description": "涨幅(已格式化, 直接显示即可)",
  36398. "type": "string"
  36399. }
  36400. }
  36401. },
  36402. "models.WrSpotGroupTradeSumDetail": {
  36403. "type": "object",
  36404. "properties": {
  36405. "deliverygoodsid": {
  36406. "description": "现货商品id",
  36407. "type": "integer"
  36408. },
  36409. "price": {
  36410. "description": "价格",
  36411. "type": "number"
  36412. },
  36413. "reckondate": {
  36414. "description": "日期(yyymmdd, 如:20211031)",
  36415. "type": "string"
  36416. }
  36417. }
  36418. },
  36419. "models.WrSpotGroupTradeSumEx": {
  36420. "type": "object",
  36421. "properties": {
  36422. "lst": {
  36423. "description": "指数列表",
  36424. "type": "array",
  36425. "items": {
  36426. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36427. }
  36428. },
  36429. "prereckondate": {
  36430. "description": "上上个交易日(yyymmdd)",
  36431. "type": "string"
  36432. },
  36433. "reckondate": {
  36434. "description": "上个交易日(yyyymmdd)",
  36435. "type": "string"
  36436. }
  36437. }
  36438. },
  36439. "models.WrStandardFactoryItem": {
  36440. "type": "object",
  36441. "properties": {
  36442. "dgfactoryitemid": {
  36443. "description": "选择项id",
  36444. "type": "integer"
  36445. },
  36446. "dgfactoryitemvalue": {
  36447. "description": "要素项值",
  36448. "type": "string"
  36449. },
  36450. "warehouseid": {
  36451. "description": "仓库id",
  36452. "type": "integer"
  36453. }
  36454. }
  36455. },
  36456. "models.WrStandardFactoryItemEx": {
  36457. "type": "object",
  36458. "properties": {
  36459. "dgfactoryitemtypeid": {
  36460. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36461. "type": "integer"
  36462. },
  36463. "itemlst": {
  36464. "description": "要素项列表",
  36465. "type": "array",
  36466. "items": {
  36467. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36468. }
  36469. },
  36470. "itemtypename": {
  36471. "description": "要素项类型名称",
  36472. "type": "string"
  36473. },
  36474. "wrstandardid": {
  36475. "description": "品类",
  36476. "type": "integer"
  36477. }
  36478. }
  36479. },
  36480. "models.WrTradeDetail": {
  36481. "type": "object",
  36482. "properties": {
  36483. "accountid": {
  36484. "description": "资金账号",
  36485. "type": "integer"
  36486. },
  36487. "buyorsell": {
  36488. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36489. "type": "integer"
  36490. },
  36491. "chargevalue": {
  36492. "description": "手续费",
  36493. "type": "number"
  36494. },
  36495. "deliverygoodscode": {
  36496. "description": "品种代码",
  36497. "type": "string"
  36498. },
  36499. "deliverygoodsid": {
  36500. "description": "品种ID",
  36501. "type": "integer"
  36502. },
  36503. "deliverygoodsname": {
  36504. "description": "品种名称",
  36505. "type": "string"
  36506. },
  36507. "deliverymonth": {
  36508. "description": "交收月",
  36509. "type": "string"
  36510. },
  36511. "enumdicname": {
  36512. "description": "单位名称",
  36513. "type": "string"
  36514. },
  36515. "haswr": {
  36516. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36517. "type": "integer"
  36518. },
  36519. "marketid": {
  36520. "description": "市场ID",
  36521. "type": "integer"
  36522. },
  36523. "matchaccountid": {
  36524. "description": "对手账号",
  36525. "type": "integer"
  36526. },
  36527. "matchusername": {
  36528. "description": "对手方",
  36529. "type": "string"
  36530. },
  36531. "minivalue": {
  36532. "description": "现货商品最小变动值",
  36533. "type": "integer"
  36534. },
  36535. "optioncompare": {
  36536. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36537. "type": "string"
  36538. },
  36539. "tradedate": {
  36540. "description": "交易日(yyyyMMdd)",
  36541. "type": "string"
  36542. },
  36543. "tradeprice": {
  36544. "description": "成交价格",
  36545. "type": "number"
  36546. },
  36547. "tradeqty": {
  36548. "description": "成交数量",
  36549. "type": "number"
  36550. },
  36551. "tradetime": {
  36552. "description": "成交时间",
  36553. "type": "string"
  36554. },
  36555. "userid": {
  36556. "description": "用户ID",
  36557. "type": "integer"
  36558. },
  36559. "warehouseid": {
  36560. "description": "仓库ID",
  36561. "type": "integer"
  36562. },
  36563. "warehousename": {
  36564. "description": "仓库名称",
  36565. "type": "string"
  36566. },
  36567. "wrfactortypeid": {
  36568. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36569. "type": "string"
  36570. },
  36571. "wrfactortypename": {
  36572. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36573. "type": "string"
  36574. },
  36575. "wrstandardcode": {
  36576. "description": "现货商品代码",
  36577. "type": "string"
  36578. },
  36579. "wrstandardid": {
  36580. "description": "现货商品ID",
  36581. "type": "integer"
  36582. },
  36583. "wrstandardname": {
  36584. "description": "商品名称",
  36585. "type": "string"
  36586. },
  36587. "wrtradedetailid": {
  36588. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  36589. "type": "string"
  36590. },
  36591. "wrtradetype": {
  36592. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36593. "type": "integer"
  36594. },
  36595. "wrtypename": {
  36596. "description": "商品",
  36597. "type": "string"
  36598. }
  36599. }
  36600. },
  36601. "models.WrTradeOrderDetail": {
  36602. "type": "object",
  36603. "properties": {
  36604. "buyorsell": {
  36605. "description": "买卖方向 0-买 1-卖",
  36606. "type": "integer"
  36607. },
  36608. "goodsid": {
  36609. "description": "商品id",
  36610. "type": "integer"
  36611. },
  36612. "orderid": {
  36613. "description": "委托单号",
  36614. "type": "string"
  36615. },
  36616. "orderprice": {
  36617. "description": "委托价格",
  36618. "type": "number"
  36619. },
  36620. "orderqty": {
  36621. "description": "委托数量",
  36622. "type": "integer"
  36623. },
  36624. "userid": {
  36625. "description": "用户id",
  36626. "type": "integer"
  36627. },
  36628. "username": {
  36629. "description": "用户名称(已脱敏)",
  36630. "type": "string"
  36631. }
  36632. }
  36633. },
  36634. "models.WrTypeItem": {
  36635. "type": "object",
  36636. "properties": {
  36637. "name": {
  36638. "description": "名称",
  36639. "type": "string"
  36640. },
  36641. "value": {
  36642. "description": "值",
  36643. "type": "string"
  36644. }
  36645. }
  36646. },
  36647. "models.WrUserFriend": {
  36648. "type": "object",
  36649. "properties": {
  36650. "friendname": {
  36651. "description": "朋友名称(已脱敏)",
  36652. "type": "string"
  36653. },
  36654. "frienduserid": {
  36655. "description": "朋友id",
  36656. "type": "integer"
  36657. },
  36658. "isfriend": {
  36659. "description": "是否好友 0-不是 1-是",
  36660. "type": "integer"
  36661. },
  36662. "userid": {
  36663. "description": "用户id",
  36664. "type": "integer"
  36665. }
  36666. }
  36667. },
  36668. "models.WrUserReceiptInfo": {
  36669. "type": "object",
  36670. "properties": {
  36671. "address": {
  36672. "description": "地址[发票类型:企业]",
  36673. "type": "string"
  36674. },
  36675. "autoid": {
  36676. "description": "AutoID",
  36677. "type": "integer"
  36678. },
  36679. "contactinfo": {
  36680. "description": "联系方式",
  36681. "type": "string"
  36682. },
  36683. "idnum": {
  36684. "description": "身份证号码[发票类型:个人]",
  36685. "type": "string"
  36686. },
  36687. "isdefault": {
  36688. "description": "是否默认地址 - 0:否 1:是",
  36689. "type": "integer"
  36690. },
  36691. "receiptaccount": {
  36692. "description": "发票帐号[发票类型:企业]",
  36693. "type": "string"
  36694. },
  36695. "receiptbank": {
  36696. "description": "发票开户行[发票类型:企业]",
  36697. "type": "string"
  36698. },
  36699. "receipttype": {
  36700. "description": "发票类型 - 1:个人 2:企业",
  36701. "type": "integer"
  36702. },
  36703. "taxpayerid": {
  36704. "description": "纳税人识别号",
  36705. "type": "string"
  36706. },
  36707. "userid": {
  36708. "description": "用户ID",
  36709. "type": "integer"
  36710. },
  36711. "username": {
  36712. "description": "户名(个人姓名或企业名称)",
  36713. "type": "string"
  36714. }
  36715. }
  36716. },
  36717. "models.XHBRAND": {
  36718. "type": "object",
  36719. "properties": {
  36720. "brandid": {
  36721. "description": "品牌id",
  36722. "type": "integer"
  36723. },
  36724. "brandname": {
  36725. "description": "品牌名称",
  36726. "type": "string"
  36727. },
  36728. "isvalid": {
  36729. "description": "是否有效 0-无效 1-有效",
  36730. "type": "integer"
  36731. }
  36732. }
  36733. },
  36734. "models.XHDeliveryGoods": {
  36735. "type": "object",
  36736. "properties": {
  36737. "areauserid": {
  36738. "description": "所属机构",
  36739. "type": "integer"
  36740. },
  36741. "bdlst": {
  36742. "description": "品牌列表",
  36743. "type": "array",
  36744. "items": {
  36745. "$ref": "#/definitions/models.XHBRAND"
  36746. }
  36747. },
  36748. "deliverygoodscode": {
  36749. "description": "现货品种代码",
  36750. "type": "string"
  36751. },
  36752. "deliverygoodsid": {
  36753. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36754. "type": "integer"
  36755. },
  36756. "deliverygoodsname": {
  36757. "description": "现货品种名称",
  36758. "type": "string"
  36759. },
  36760. "dgstatus": {
  36761. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  36762. "type": "integer"
  36763. },
  36764. "isvalid": {
  36765. "description": "是否有效 - 0:无效 1:有效",
  36766. "type": "integer"
  36767. },
  36768. "remark": {
  36769. "description": "备注",
  36770. "type": "string"
  36771. },
  36772. "unitid": {
  36773. "description": "单位id(目前看,数据库中是空值)",
  36774. "type": "integer"
  36775. },
  36776. "wdlst": {
  36777. "description": "品类(现货商品)列表",
  36778. "type": "array",
  36779. "items": {
  36780. "$ref": "#/definitions/models.XHWrstandard"
  36781. }
  36782. }
  36783. }
  36784. },
  36785. "models.XHMiddleGoods": {
  36786. "type": "object",
  36787. "properties": {
  36788. "convertratio": {
  36789. "description": "拆算系数",
  36790. "type": "number"
  36791. },
  36792. "costratio": {
  36793. "description": "成本权重",
  36794. "type": "number"
  36795. },
  36796. "deliverygoodsid": {
  36797. "description": "现货商品id",
  36798. "type": "integer"
  36799. },
  36800. "enumdicname": {
  36801. "description": "单位名称",
  36802. "type": "string"
  36803. },
  36804. "gplst": {
  36805. "description": "期货品种列表",
  36806. "type": "array",
  36807. "items": {
  36808. "$ref": "#/definitions/models.TBGoodsGroup"
  36809. }
  36810. },
  36811. "middlegoodscode": {
  36812. "description": "套保品种代码",
  36813. "type": "string"
  36814. },
  36815. "middlegoodsid": {
  36816. "description": "套保品种id",
  36817. "type": "integer"
  36818. },
  36819. "middlegoodsname": {
  36820. "description": "套保品种名称",
  36821. "type": "string"
  36822. },
  36823. "unitid": {
  36824. "description": "单位id",
  36825. "type": "integer"
  36826. }
  36827. }
  36828. },
  36829. "models.XHWrstandard": {
  36830. "type": "object",
  36831. "properties": {
  36832. "deliverygoodsid": {
  36833. "description": "品种ID",
  36834. "type": "integer"
  36835. },
  36836. "enumdicname": {
  36837. "description": "单位名称",
  36838. "type": "string"
  36839. },
  36840. "mglst": {
  36841. "description": "套保品列表",
  36842. "type": "array",
  36843. "items": {
  36844. "$ref": "#/definitions/models.XHMiddleGoods"
  36845. }
  36846. },
  36847. "unitid": {
  36848. "description": "单位id",
  36849. "type": "integer"
  36850. },
  36851. "vatrate": {
  36852. "description": "增值税率",
  36853. "type": "number"
  36854. },
  36855. "wrstandardcode": {
  36856. "description": "现货商品代码",
  36857. "type": "string"
  36858. },
  36859. "wrstandardid": {
  36860. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36861. "type": "integer"
  36862. },
  36863. "wrstandardname": {
  36864. "description": "现货商品名称",
  36865. "type": "string"
  36866. }
  36867. }
  36868. },
  36869. "order.QueryHisTradeDetailRsp": {
  36870. "type": "object",
  36871. "required": [
  36872. "accountid",
  36873. "buyorsell",
  36874. "goodsid",
  36875. "histradedate",
  36876. "marketid",
  36877. "memberuserid",
  36878. "orderid",
  36879. "tradeamount",
  36880. "tradedate",
  36881. "tradeid",
  36882. "tradeprice",
  36883. "tradeqty",
  36884. "tradetime"
  36885. ],
  36886. "properties": {
  36887. "accountid": {
  36888. "description": "账户ID[报价币种]",
  36889. "type": "integer"
  36890. },
  36891. "advanceratio": {
  36892. "description": "首付比率",
  36893. "type": "number"
  36894. },
  36895. "buildtype": {
  36896. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36897. "type": "integer"
  36898. },
  36899. "buyorsell": {
  36900. "description": "方向 - 0:买 1:卖",
  36901. "type": "integer"
  36902. },
  36903. "charge": {
  36904. "description": "手续费",
  36905. "type": "number"
  36906. },
  36907. "closecharge": {
  36908. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36909. "type": "number"
  36910. },
  36911. "closeexchagechargevalue": {
  36912. "description": "平仓交易所手续费设置值",
  36913. "type": "number"
  36914. },
  36915. "closefeealgorithm": {
  36916. "description": "平仓手续费收取方式 1:比率 2:固定",
  36917. "type": "integer"
  36918. },
  36919. "closememberchargevalue": {
  36920. "description": "平仓会员手续费设置值",
  36921. "type": "number"
  36922. },
  36923. "closepl": {
  36924. "description": "平仓盈亏",
  36925. "type": "number"
  36926. },
  36927. "closepl2": {
  36928. "description": "平仓盈亏[逐笔]",
  36929. "type": "number"
  36930. },
  36931. "closeqty": {
  36932. "description": "平仓数量(先建后平操作 需要记录)",
  36933. "type": "number"
  36934. },
  36935. "creditamount": {
  36936. "description": "授信金额",
  36937. "type": "number"
  36938. },
  36939. "decimalplace": {
  36940. "description": "商品报价小数位",
  36941. "type": "integer"
  36942. },
  36943. "enumdicname": {
  36944. "description": "单位名称",
  36945. "type": "string"
  36946. },
  36947. "gcaccountid": {
  36948. "description": "账户ID[合约币种]",
  36949. "type": "integer"
  36950. },
  36951. "goodscode": {
  36952. "description": "商品代码",
  36953. "type": "string"
  36954. },
  36955. "goodsid": {
  36956. "description": "商品ID",
  36957. "type": "integer"
  36958. },
  36959. "goodsname": {
  36960. "description": "商品名称",
  36961. "type": "string"
  36962. },
  36963. "goodunitid": {
  36964. "description": "商品单位id",
  36965. "type": "integer"
  36966. },
  36967. "histradedate": {
  36968. "description": "历史交易日",
  36969. "type": "string"
  36970. },
  36971. "intclosepl": {
  36972. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36973. "type": "integer"
  36974. },
  36975. "isconfirmexercise": {
  36976. "description": "是否确认行权- 0:否 1:是",
  36977. "type": "integer"
  36978. },
  36979. "ismain": {
  36980. "description": "是否主单 - 0:不是 1:是",
  36981. "type": "integer"
  36982. },
  36983. "ispreexercise": {
  36984. "description": "是否预申报- 0:否 1:是",
  36985. "type": "integer"
  36986. },
  36987. "isreckoned": {
  36988. "description": "是否结算 - 0:未结算 1:已结算",
  36989. "type": "integer"
  36990. },
  36991. "isvaliddata": {
  36992. "description": "是否有效 - 0:无效 1:有效",
  36993. "type": "integer"
  36994. },
  36995. "listingselecttype": {
  36996. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36997. "type": "integer"
  36998. },
  36999. "marketid": {
  37000. "description": "市场ID",
  37001. "type": "integer"
  37002. },
  37003. "marketname": {
  37004. "description": "市场名称",
  37005. "type": "string"
  37006. },
  37007. "matchaccountid": {
  37008. "description": "对手账号id",
  37009. "type": "integer"
  37010. },
  37011. "memberuserid": {
  37012. "description": "会员id 个人投资者 需要填写",
  37013. "type": "integer"
  37014. },
  37015. "opencharge": {
  37016. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37017. "type": "number"
  37018. },
  37019. "openexchagechargevalue": {
  37020. "description": "建仓交易所手续费设置值",
  37021. "type": "number"
  37022. },
  37023. "openfeealgorithm": {
  37024. "description": "建仓手续费收取方式 1:比率 2:固定",
  37025. "type": "integer"
  37026. },
  37027. "openmemberchargevalue": {
  37028. "description": "建仓会员手续费设置值",
  37029. "type": "number"
  37030. },
  37031. "openqty": {
  37032. "description": "开仓数量(先建后平操作 需要记录)",
  37033. "type": "number"
  37034. },
  37035. "optiontype": {
  37036. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37037. "type": "integer"
  37038. },
  37039. "orderid": {
  37040. "description": "委托单号",
  37041. "type": "string"
  37042. },
  37043. "payamount": {
  37044. "description": "支付金额(付款金额)",
  37045. "type": "number"
  37046. },
  37047. "performanceplanid": {
  37048. "description": "履约计划ID[期权]",
  37049. "type": "integer"
  37050. },
  37051. "performancestatus": {
  37052. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37053. "type": "integer"
  37054. },
  37055. "preexerciseprice": {
  37056. "description": "预申报价格",
  37057. "type": "number"
  37058. },
  37059. "premium": {
  37060. "description": "权利金 - [持仓单的权利金]",
  37061. "type": "number"
  37062. },
  37063. "qtydecimalplace": {
  37064. "description": "商品报价小数位",
  37065. "type": "integer"
  37066. },
  37067. "recvamount": {
  37068. "description": "到账金额 = 成交金额 - 手续费",
  37069. "type": "number"
  37070. },
  37071. "relatedouttradeid": {
  37072. "description": "关联外部成交单ID",
  37073. "type": "integer"
  37074. },
  37075. "status": {
  37076. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37077. "type": "integer"
  37078. },
  37079. "totalamount": {
  37080. "description": "订单总额 = 成交金额 + 手续费",
  37081. "type": "number"
  37082. },
  37083. "tradeamount": {
  37084. "description": "成交金额[账户币种,用于所有权]",
  37085. "type": "number"
  37086. },
  37087. "tradedate": {
  37088. "description": "交易日(yyyyMMdd)",
  37089. "type": "string"
  37090. },
  37091. "tradeid": {
  37092. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37093. "type": "string"
  37094. },
  37095. "trademode": {
  37096. "description": "交易模式",
  37097. "type": "integer"
  37098. },
  37099. "tradeprice": {
  37100. "description": "成交价格",
  37101. "type": "number"
  37102. },
  37103. "tradeproperty": {
  37104. "description": "交易属性",
  37105. "type": "integer"
  37106. },
  37107. "tradeqty": {
  37108. "description": "成交数量",
  37109. "type": "number"
  37110. },
  37111. "tradetime": {
  37112. "description": "成交时间",
  37113. "type": "string"
  37114. },
  37115. "tradetype": {
  37116. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37117. "type": "integer"
  37118. }
  37119. }
  37120. },
  37121. "order.QueryHisTradeOrderDetailRsp": {
  37122. "type": "object",
  37123. "required": [
  37124. "accountid",
  37125. "buildtype",
  37126. "buyorsell",
  37127. "goodsid",
  37128. "histradedate",
  37129. "marketid",
  37130. "memberuserid",
  37131. "operatetype",
  37132. "orderid",
  37133. "orderqty",
  37134. "ordertime",
  37135. "pricemode",
  37136. "tradedate",
  37137. "validtype"
  37138. ],
  37139. "properties": {
  37140. "accountid": {
  37141. "description": "账户ID[报价币种]",
  37142. "type": "integer"
  37143. },
  37144. "buildtype": {
  37145. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37146. "type": "integer"
  37147. },
  37148. "buyorsell": {
  37149. "description": "买卖 - 0:买 1:卖",
  37150. "type": "integer"
  37151. },
  37152. "cancelorderid": {
  37153. "description": "撤单单号(撤单时填写)",
  37154. "type": "string"
  37155. },
  37156. "cancelqty": {
  37157. "description": "撤单数量",
  37158. "type": "number"
  37159. },
  37160. "clientordertime": {
  37161. "description": "客户端委托时间",
  37162. "type": "string"
  37163. },
  37164. "clientticket": {
  37165. "description": "客户端流水号",
  37166. "type": "string"
  37167. },
  37168. "clienttype": {
  37169. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37170. "type": "integer"
  37171. },
  37172. "closeexchagechargevalue": {
  37173. "description": "平仓交易所手续费设置值",
  37174. "type": "number"
  37175. },
  37176. "closefeealgorithm": {
  37177. "description": "平仓手续费收取方式 1:比率 2:固定",
  37178. "type": "integer"
  37179. },
  37180. "closefreezecharge": {
  37181. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37182. "type": "number"
  37183. },
  37184. "closememberchargevalue": {
  37185. "description": "平仓会员手续费设置值",
  37186. "type": "number"
  37187. },
  37188. "closeqty": {
  37189. "description": "平仓数量(先建后平操作 需要记录)",
  37190. "type": "number"
  37191. },
  37192. "closetradeqty": {
  37193. "description": "平仓成交数量(先建后平操作,需要记录)",
  37194. "type": "number"
  37195. },
  37196. "closeunfreezecharge": {
  37197. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37198. "type": "number"
  37199. },
  37200. "decimalplace": {
  37201. "description": "商品报价小数位",
  37202. "type": "integer"
  37203. },
  37204. "delistingtype": {
  37205. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37206. "type": "integer"
  37207. },
  37208. "enumdicname": {
  37209. "description": "单位名称",
  37210. "type": "string"
  37211. },
  37212. "freezecharge": {
  37213. "description": "冻结手续费",
  37214. "type": "number"
  37215. },
  37216. "freezemargin": {
  37217. "description": "冻结保证金(冻结交易金额)",
  37218. "type": "number"
  37219. },
  37220. "gcaccountid": {
  37221. "description": "账户ID[合约币种]",
  37222. "type": "integer"
  37223. },
  37224. "goodscode": {
  37225. "description": "商品代码",
  37226. "type": "string"
  37227. },
  37228. "goodsid": {
  37229. "description": "商品ID",
  37230. "type": "integer"
  37231. },
  37232. "goodsname": {
  37233. "description": "商品名称",
  37234. "type": "string"
  37235. },
  37236. "goodunitid": {
  37237. "description": "商品单位id",
  37238. "type": "integer"
  37239. },
  37240. "histradedate": {
  37241. "description": "历史交易日",
  37242. "type": "string"
  37243. },
  37244. "isconfirmexercise": {
  37245. "description": "是否确认行权- 0:否 1:是",
  37246. "type": "integer"
  37247. },
  37248. "ispreexercise": {
  37249. "description": "是否预申报- 0:否 1:是",
  37250. "type": "integer"
  37251. },
  37252. "isvaliddata": {
  37253. "description": "是否有效 - 0:无效 1:有效",
  37254. "type": "integer"
  37255. },
  37256. "listingselecttype": {
  37257. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37258. "type": "integer"
  37259. },
  37260. "marginalgorithm": {
  37261. "description": "保证金收取方式 1:比率 2:固定",
  37262. "type": "integer"
  37263. },
  37264. "marginvalue": {
  37265. "description": "即市保证金设置值",
  37266. "type": "number"
  37267. },
  37268. "marketid": {
  37269. "description": "市场ID",
  37270. "type": "integer"
  37271. },
  37272. "marketmaxsub": {
  37273. "description": "市价最大偏移范围",
  37274. "type": "number"
  37275. },
  37276. "marketname": {
  37277. "description": "市场名称",
  37278. "type": "string"
  37279. },
  37280. "memberuserid": {
  37281. "description": "所属会员UserID",
  37282. "type": "integer"
  37283. },
  37284. "openexchagechargevalue": {
  37285. "description": "建仓交易所手续费设置值",
  37286. "type": "number"
  37287. },
  37288. "openfeealgorithm": {
  37289. "description": "建仓手续费收取方式 1:比率 2:固定",
  37290. "type": "integer"
  37291. },
  37292. "openfreezecharge": {
  37293. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37294. "type": "number"
  37295. },
  37296. "openmemberchargevalue": {
  37297. "description": "建仓会员手续费设置值",
  37298. "type": "number"
  37299. },
  37300. "openqty": {
  37301. "description": "开仓数量(先建后平操作,需要记录)",
  37302. "type": "number"
  37303. },
  37304. "opentradeqty": {
  37305. "description": "开仓成交数量(先建后平操作,需要记录)",
  37306. "type": "number"
  37307. },
  37308. "openunfreezecharge": {
  37309. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37310. "type": "number"
  37311. },
  37312. "operatetype": {
  37313. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37314. "type": "integer"
  37315. },
  37316. "operatorid": {
  37317. "description": "登录账号(LoginID)",
  37318. "type": "integer"
  37319. },
  37320. "optiontype": {
  37321. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37322. "type": "integer"
  37323. },
  37324. "orderid": {
  37325. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37326. "type": "string"
  37327. },
  37328. "orderprice": {
  37329. "description": "委托价格",
  37330. "type": "number"
  37331. },
  37332. "orderqty": {
  37333. "description": "委托数量",
  37334. "type": "number"
  37335. },
  37336. "ordersrc": {
  37337. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37338. "type": "integer"
  37339. },
  37340. "orderstatus": {
  37341. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37342. "type": "integer"
  37343. },
  37344. "ordertime": {
  37345. "description": "委托时间",
  37346. "type": "string"
  37347. },
  37348. "preexerciseprice": {
  37349. "description": "预申报价格",
  37350. "type": "number"
  37351. },
  37352. "premium": {
  37353. "description": "权利金",
  37354. "type": "number"
  37355. },
  37356. "preorderid": {
  37357. "description": "关联预埋单号(止盈止损单时填写)",
  37358. "type": "string"
  37359. },
  37360. "pricemode": {
  37361. "description": "取价方式 - 1:市价 2: 限价",
  37362. "type": "integer"
  37363. },
  37364. "qtydecimalplace": {
  37365. "description": "成交量小数位",
  37366. "type": "integer"
  37367. },
  37368. "quoteid": {
  37369. "description": "报价单ID",
  37370. "type": "integer"
  37371. },
  37372. "relatedid": {
  37373. "description": "关联单号(交割单)",
  37374. "type": "string"
  37375. },
  37376. "retcode": {
  37377. "description": "错误代码",
  37378. "type": "integer"
  37379. },
  37380. "sessionid": {
  37381. "description": "会话ID",
  37382. "type": "integer"
  37383. },
  37384. "tradedate": {
  37385. "description": "交易日(yyyyMMdd)",
  37386. "type": "string"
  37387. },
  37388. "trademode": {
  37389. "description": "交易模式",
  37390. "type": "integer"
  37391. },
  37392. "tradeproperty": {
  37393. "description": "交易属性",
  37394. "type": "integer"
  37395. },
  37396. "tradeqty": {
  37397. "description": "成交数量",
  37398. "type": "number"
  37399. },
  37400. "unfreezecharge": {
  37401. "description": "解冻手续费",
  37402. "type": "number"
  37403. },
  37404. "unfreezemargin": {
  37405. "description": "解冻保证金",
  37406. "type": "number"
  37407. },
  37408. "updatetime": {
  37409. "description": "更新时间",
  37410. "type": "string"
  37411. },
  37412. "uuid": {
  37413. "description": "发起端唯一id",
  37414. "type": "string"
  37415. },
  37416. "validtime": {
  37417. "description": "有效期限",
  37418. "type": "string"
  37419. },
  37420. "validtype": {
  37421. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37422. "type": "integer"
  37423. },
  37424. "volumetype": {
  37425. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37426. "type": "integer"
  37427. }
  37428. }
  37429. },
  37430. "order.QueryTradeDetailRsp": {
  37431. "type": "object",
  37432. "required": [
  37433. "accountid",
  37434. "buyorsell",
  37435. "goodsid",
  37436. "marketid",
  37437. "memberuserid",
  37438. "orderid",
  37439. "tradeamount",
  37440. "tradedate",
  37441. "tradeid",
  37442. "tradeprice",
  37443. "tradeqty",
  37444. "tradetime"
  37445. ],
  37446. "properties": {
  37447. "accountid": {
  37448. "description": "账户ID[报价币种]",
  37449. "type": "integer"
  37450. },
  37451. "advanceratio": {
  37452. "description": "首付比率",
  37453. "type": "number"
  37454. },
  37455. "buildtype": {
  37456. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37457. "type": "integer"
  37458. },
  37459. "buyorsell": {
  37460. "description": "方向 - 0:买 1:卖",
  37461. "type": "integer"
  37462. },
  37463. "charge": {
  37464. "description": "手续费",
  37465. "type": "number"
  37466. },
  37467. "closecharge": {
  37468. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37469. "type": "number"
  37470. },
  37471. "closeexchagechargevalue": {
  37472. "description": "平仓交易所手续费设置值",
  37473. "type": "number"
  37474. },
  37475. "closefeealgorithm": {
  37476. "description": "平仓手续费收取方式 1:比率 2:固定",
  37477. "type": "integer"
  37478. },
  37479. "closememberchargevalue": {
  37480. "description": "平仓会员手续费设置值",
  37481. "type": "number"
  37482. },
  37483. "closepl": {
  37484. "description": "平仓盈亏",
  37485. "type": "number"
  37486. },
  37487. "closepl2": {
  37488. "description": "平仓盈亏[逐笔]",
  37489. "type": "number"
  37490. },
  37491. "closeqty": {
  37492. "description": "平仓数量(先建后平操作 需要记录)",
  37493. "type": "number"
  37494. },
  37495. "creditamount": {
  37496. "description": "授信金额",
  37497. "type": "number"
  37498. },
  37499. "decimalplace": {
  37500. "description": "商品报价小数位",
  37501. "type": "integer"
  37502. },
  37503. "enumdicname": {
  37504. "description": "单位名称",
  37505. "type": "string"
  37506. },
  37507. "gcaccountid": {
  37508. "description": "账户ID[合约币种]",
  37509. "type": "integer"
  37510. },
  37511. "goodscode": {
  37512. "description": "商品代码",
  37513. "type": "string"
  37514. },
  37515. "goodsid": {
  37516. "description": "商品ID",
  37517. "type": "integer"
  37518. },
  37519. "goodsname": {
  37520. "description": "商品名称",
  37521. "type": "string"
  37522. },
  37523. "goodunitid": {
  37524. "description": "商品单位id",
  37525. "type": "integer"
  37526. },
  37527. "intclosepl": {
  37528. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37529. "type": "integer"
  37530. },
  37531. "isconfirmexercise": {
  37532. "description": "是否确认行权- 0:否 1:是",
  37533. "type": "integer"
  37534. },
  37535. "ismain": {
  37536. "description": "是否主单 - 0:不是 1:是",
  37537. "type": "integer"
  37538. },
  37539. "ispreexercise": {
  37540. "description": "是否预申报- 0:否 1:是",
  37541. "type": "integer"
  37542. },
  37543. "isreckoned": {
  37544. "description": "是否结算 - 0:未结算 1:已结算",
  37545. "type": "integer"
  37546. },
  37547. "listingselecttype": {
  37548. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37549. "type": "integer"
  37550. },
  37551. "marketid": {
  37552. "description": "市场ID",
  37553. "type": "integer"
  37554. },
  37555. "marketname": {
  37556. "description": "市场名称",
  37557. "type": "string"
  37558. },
  37559. "matchaccountid": {
  37560. "description": "对手账号id",
  37561. "type": "integer"
  37562. },
  37563. "memberuserid": {
  37564. "description": "会员id 个人投资者 需要填写",
  37565. "type": "integer"
  37566. },
  37567. "opencharge": {
  37568. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37569. "type": "number"
  37570. },
  37571. "openexchagechargevalue": {
  37572. "description": "建仓交易所手续费设置值",
  37573. "type": "number"
  37574. },
  37575. "openfeealgorithm": {
  37576. "description": "建仓手续费收取方式 1:比率 2:固定",
  37577. "type": "integer"
  37578. },
  37579. "openmemberchargevalue": {
  37580. "description": "建仓会员手续费设置值",
  37581. "type": "number"
  37582. },
  37583. "openqty": {
  37584. "description": "开仓数量(先建后平操作 需要记录)",
  37585. "type": "number"
  37586. },
  37587. "optiontype": {
  37588. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37589. "type": "integer"
  37590. },
  37591. "orderid": {
  37592. "description": "委托单号",
  37593. "type": "string"
  37594. },
  37595. "payamount": {
  37596. "description": "支付金额(付款金额)",
  37597. "type": "number"
  37598. },
  37599. "performanceplanid": {
  37600. "description": "履约计划ID[期权]",
  37601. "type": "integer"
  37602. },
  37603. "performancestatus": {
  37604. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37605. "type": "integer"
  37606. },
  37607. "preexerciseprice": {
  37608. "description": "预申报价格",
  37609. "type": "number"
  37610. },
  37611. "premium": {
  37612. "description": "权利金 - [持仓单的权利金]",
  37613. "type": "number"
  37614. },
  37615. "qtydecimalplace": {
  37616. "description": "商品报价小数位",
  37617. "type": "integer"
  37618. },
  37619. "recvamount": {
  37620. "description": "到账金额 = 成交金额 - 手续费",
  37621. "type": "number"
  37622. },
  37623. "relatedouttradeid": {
  37624. "description": "关联外部成交单ID",
  37625. "type": "integer"
  37626. },
  37627. "status": {
  37628. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37629. "type": "integer"
  37630. },
  37631. "totalamount": {
  37632. "description": "订单总额 = 成交金额 + 手续费",
  37633. "type": "number"
  37634. },
  37635. "tradeamount": {
  37636. "description": "成交金额[账户币种,用于所有权]",
  37637. "type": "number"
  37638. },
  37639. "tradedate": {
  37640. "description": "交易日(yyyyMMdd)",
  37641. "type": "string"
  37642. },
  37643. "tradeid": {
  37644. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37645. "type": "string"
  37646. },
  37647. "trademode": {
  37648. "description": "交易模式",
  37649. "type": "integer"
  37650. },
  37651. "tradeprice": {
  37652. "description": "成交价格",
  37653. "type": "number"
  37654. },
  37655. "tradeproperty": {
  37656. "description": "交易属性",
  37657. "type": "integer"
  37658. },
  37659. "tradeqty": {
  37660. "description": "成交数量",
  37661. "type": "number"
  37662. },
  37663. "tradetime": {
  37664. "description": "成交时间",
  37665. "type": "string"
  37666. },
  37667. "tradetype": {
  37668. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37669. "type": "integer"
  37670. }
  37671. }
  37672. },
  37673. "order.QueryTradeOrderDetailRsp": {
  37674. "type": "object",
  37675. "required": [
  37676. "accountid",
  37677. "buildtype",
  37678. "buyorsell",
  37679. "goodsid",
  37680. "marketid",
  37681. "operatetype",
  37682. "orderqty",
  37683. "ordertime",
  37684. "pricemode",
  37685. "tradedate",
  37686. "validtype"
  37687. ],
  37688. "properties": {
  37689. "accountid": {
  37690. "description": "账户ID[报价币种]",
  37691. "type": "integer"
  37692. },
  37693. "buildtype": {
  37694. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37695. "type": "integer"
  37696. },
  37697. "buyorsell": {
  37698. "description": "买卖 - 0:买 1:卖",
  37699. "type": "integer"
  37700. },
  37701. "cancelorderid": {
  37702. "description": "撤单单号(撤单时填写)",
  37703. "type": "string"
  37704. },
  37705. "cancelqty": {
  37706. "description": "撤单数量",
  37707. "type": "number"
  37708. },
  37709. "clienttype": {
  37710. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37711. "type": "integer"
  37712. },
  37713. "closefreezecharge": {
  37714. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37715. "type": "number"
  37716. },
  37717. "closeqty": {
  37718. "description": "平仓数量(先建后平操作 需要记录)",
  37719. "type": "number"
  37720. },
  37721. "closetradeqty": {
  37722. "description": "平仓成交数量(先建后平操作,需要记录)",
  37723. "type": "number"
  37724. },
  37725. "closeunfreezecharge": {
  37726. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37727. "type": "number"
  37728. },
  37729. "decimalplace": {
  37730. "description": "商品报价小数位",
  37731. "type": "integer"
  37732. },
  37733. "delistingtype": {
  37734. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37735. "type": "integer"
  37736. },
  37737. "enableqty": {
  37738. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  37739. "type": "number"
  37740. },
  37741. "enumdicname": {
  37742. "description": "单位名称",
  37743. "type": "string"
  37744. },
  37745. "freezecharge": {
  37746. "description": "冻结手续费",
  37747. "type": "number"
  37748. },
  37749. "freezemargin": {
  37750. "description": "冻结保证金(冻结交易金额)",
  37751. "type": "number"
  37752. },
  37753. "goodscode": {
  37754. "description": "商品代码",
  37755. "type": "string"
  37756. },
  37757. "goodsid": {
  37758. "description": "商品ID",
  37759. "type": "integer"
  37760. },
  37761. "goodsname": {
  37762. "description": "商品名称",
  37763. "type": "string"
  37764. },
  37765. "goodunitid": {
  37766. "description": "商品单位id",
  37767. "type": "integer"
  37768. },
  37769. "listingselecttype": {
  37770. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37771. "type": "integer"
  37772. },
  37773. "marketid": {
  37774. "description": "市场ID",
  37775. "type": "integer"
  37776. },
  37777. "marketname": {
  37778. "description": "市场名称",
  37779. "type": "string"
  37780. },
  37781. "openfreezecharge": {
  37782. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37783. "type": "number"
  37784. },
  37785. "openqty": {
  37786. "description": "开仓数量(先建后平操作,需要记录)",
  37787. "type": "number"
  37788. },
  37789. "opentradeqty": {
  37790. "description": "开仓成交数量(先建后平操作,需要记录)",
  37791. "type": "number"
  37792. },
  37793. "openunfreezecharge": {
  37794. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37795. "type": "number"
  37796. },
  37797. "operatetype": {
  37798. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37799. "type": "integer"
  37800. },
  37801. "operatorid": {
  37802. "description": "登录账号(LoginID)",
  37803. "type": "integer"
  37804. },
  37805. "orderid": {
  37806. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37807. "type": "string"
  37808. },
  37809. "orderprice": {
  37810. "description": "委托价格",
  37811. "type": "number"
  37812. },
  37813. "orderqty": {
  37814. "description": "委托数量",
  37815. "type": "number"
  37816. },
  37817. "ordersrc": {
  37818. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37819. "type": "integer"
  37820. },
  37821. "orderstatus": {
  37822. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37823. "type": "integer"
  37824. },
  37825. "ordertime": {
  37826. "description": "委托时间",
  37827. "type": "string"
  37828. },
  37829. "preorderid": {
  37830. "description": "关联预埋单号(止盈止损单时填写)",
  37831. "type": "string"
  37832. },
  37833. "pricemode": {
  37834. "description": "取价方式 - 1:市价 2: 限价",
  37835. "type": "integer"
  37836. },
  37837. "qtydecimalplace": {
  37838. "description": "商品报价小数位",
  37839. "type": "integer"
  37840. },
  37841. "relatedid": {
  37842. "description": "关联单号(交割单)",
  37843. "type": "string"
  37844. },
  37845. "tradedate": {
  37846. "description": "交易日(yyyyMMdd)",
  37847. "type": "string"
  37848. },
  37849. "trademode": {
  37850. "description": "交易模式",
  37851. "type": "integer"
  37852. },
  37853. "tradeqty": {
  37854. "description": "成交数量",
  37855. "type": "number"
  37856. },
  37857. "unfreezecharge": {
  37858. "description": "解冻手续费",
  37859. "type": "number"
  37860. },
  37861. "unfreezemargin": {
  37862. "description": "解冻保证金",
  37863. "type": "number"
  37864. },
  37865. "validtime": {
  37866. "description": "有效期限",
  37867. "type": "string"
  37868. },
  37869. "validtype": {
  37870. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37871. "type": "integer"
  37872. },
  37873. "volumetype": {
  37874. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37875. "type": "integer"
  37876. }
  37877. }
  37878. },
  37879. "order.QueryTradePositionRsp": {
  37880. "type": "object",
  37881. "required": [
  37882. "goodsid"
  37883. ],
  37884. "properties": {
  37885. "accountid": {
  37886. "description": "资金账户",
  37887. "type": "integer"
  37888. },
  37889. "agreeunit": {
  37890. "description": "合约单位",
  37891. "type": "number"
  37892. },
  37893. "averageprice": {
  37894. "description": "持仓均价",
  37895. "type": "number"
  37896. },
  37897. "buyorsell": {
  37898. "description": "方向 - 0:买 1:卖",
  37899. "type": "integer"
  37900. },
  37901. "closetotalqty": {
  37902. "description": "平仓总数量",
  37903. "type": "number"
  37904. },
  37905. "curholderamount": {
  37906. "description": "当前持仓总金额[商品币种]",
  37907. "type": "number"
  37908. },
  37909. "curpositionqty": {
  37910. "description": "当前持仓总数量",
  37911. "type": "number"
  37912. },
  37913. "currencyid": {
  37914. "description": "报价货币ID",
  37915. "type": "integer"
  37916. },
  37917. "curtdposition": {
  37918. "description": "期末今日头寸",
  37919. "type": "number"
  37920. },
  37921. "decimalplace": {
  37922. "description": "报价小数位",
  37923. "type": "integer"
  37924. },
  37925. "enableqty": {
  37926. "description": "可用量",
  37927. "type": "number"
  37928. },
  37929. "fretdposition": {
  37930. "description": "冻结今日头寸",
  37931. "type": "number"
  37932. },
  37933. "frozenqty": {
  37934. "description": "持仓冻结数量",
  37935. "type": "number"
  37936. },
  37937. "goodscode": {
  37938. "description": "商品代码",
  37939. "type": "string"
  37940. },
  37941. "goodsid": {
  37942. "description": "商品Id",
  37943. "type": "integer"
  37944. },
  37945. "goodsname": {
  37946. "description": "商品名称",
  37947. "type": "string"
  37948. },
  37949. "goodunit": {
  37950. "description": "报价单位",
  37951. "type": "string"
  37952. },
  37953. "goodunitid": {
  37954. "description": "报价单位ID",
  37955. "type": "integer"
  37956. },
  37957. "holderamount": {
  37958. "description": "期初持仓总金额[商品币种]",
  37959. "type": "number"
  37960. },
  37961. "lastprice": {
  37962. "description": "最新价",
  37963. "type": "number"
  37964. },
  37965. "marketamount": {
  37966. "description": "市值",
  37967. "type": "number"
  37968. },
  37969. "marketid": {
  37970. "description": "所属市场ID",
  37971. "type": "integer"
  37972. },
  37973. "openreqqty": {
  37974. "description": "开仓申请数量(用于比较最大持仓数量)",
  37975. "type": "number"
  37976. },
  37977. "opentotalqty": {
  37978. "description": "开仓总数量",
  37979. "type": "number"
  37980. },
  37981. "otherfrozenqty": {
  37982. "description": "持仓其他冻结数量(交割冻结)",
  37983. "type": "number"
  37984. },
  37985. "positionpl": {
  37986. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  37987. "type": "number"
  37988. },
  37989. "positionplrate": {
  37990. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  37991. "type": "number"
  37992. },
  37993. "positionqty": {
  37994. "description": "期初持仓数量",
  37995. "type": "number"
  37996. },
  37997. "qtydecimalplace": {
  37998. "description": "成交量小数位",
  37999. "type": "integer"
  38000. },
  38001. "refgoodscode": {
  38002. "description": "参考商品代码",
  38003. "type": "string"
  38004. },
  38005. "refgoodsid": {
  38006. "description": "参考商品ID",
  38007. "type": "integer"
  38008. },
  38009. "tnqty": {
  38010. "description": "T+N冻结总量",
  38011. "type": "number"
  38012. },
  38013. "tnusedqty": {
  38014. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38015. "type": "number"
  38016. },
  38017. "trademode": {
  38018. "description": "交易模式",
  38019. "type": "integer"
  38020. },
  38021. "tradeproperty": {
  38022. "description": "交易属性",
  38023. "type": "integer"
  38024. },
  38025. "usedmargin": {
  38026. "description": "占用保证金[商品币种]",
  38027. "type": "number"
  38028. }
  38029. }
  38030. },
  38031. "pb.GoodsMarginCfgStruct": {
  38032. "type": "object",
  38033. "properties": {
  38034. "CustomerTypeID": {
  38035. "description": "投资者客户类型",
  38036. "type": "integer"
  38037. },
  38038. "GoodsID": {
  38039. "description": "商品ID",
  38040. "type": "integer"
  38041. },
  38042. "IsDefault": {
  38043. "description": "是否默认标志位",
  38044. "type": "integer"
  38045. },
  38046. "LockMarginValue": {
  38047. "description": "锁仓保证金",
  38048. "type": "number"
  38049. },
  38050. "MarginAlgorithm": {
  38051. "description": "保证金计算方式",
  38052. "type": "integer"
  38053. },
  38054. "MarketMarginValue": {
  38055. "description": "即市保证金值",
  38056. "type": "number"
  38057. },
  38058. "RealMarginAlgorithm": {
  38059. "description": "实付保证金计算方式",
  38060. "type": "integer"
  38061. },
  38062. "RealMarginValue": {
  38063. "description": "实付比例",
  38064. "type": "number"
  38065. },
  38066. "ReckonMarginValue": {
  38067. "description": "结算保证金值",
  38068. "type": "number"
  38069. }
  38070. }
  38071. },
  38072. "quote.HistoryData": {
  38073. "type": "object",
  38074. "properties": {
  38075. "c": {
  38076. "description": "收盘价",
  38077. "type": "number"
  38078. },
  38079. "f": {
  38080. "description": "是否补充数据",
  38081. "type": "boolean"
  38082. },
  38083. "h": {
  38084. "description": "最高价",
  38085. "type": "number"
  38086. },
  38087. "hv": {
  38088. "description": "持仓量",
  38089. "type": "integer"
  38090. },
  38091. "l": {
  38092. "description": "最低价",
  38093. "type": "number"
  38094. },
  38095. "o": {
  38096. "description": "开盘价",
  38097. "type": "number"
  38098. },
  38099. "s": {
  38100. "description": "结算价,日线周期(包括)以上才有",
  38101. "type": "number"
  38102. },
  38103. "ts": {
  38104. "description": "时间",
  38105. "type": "string"
  38106. },
  38107. "tt": {
  38108. "description": "总金额",
  38109. "type": "number"
  38110. },
  38111. "tv": {
  38112. "description": "总量(成交量)",
  38113. "type": "integer"
  38114. }
  38115. }
  38116. },
  38117. "quote.HistoryTikData": {
  38118. "type": "object",
  38119. "properties": {
  38120. "AV": {
  38121. "description": "卖量",
  38122. "type": "integer"
  38123. },
  38124. "Ask": {
  38125. "description": "卖价",
  38126. "type": "number"
  38127. },
  38128. "BV": {
  38129. "description": "买量",
  38130. "type": "integer"
  38131. },
  38132. "Bid": {
  38133. "description": "买价",
  38134. "type": "number"
  38135. },
  38136. "HI": {
  38137. "description": "单笔持仓",
  38138. "type": "integer"
  38139. },
  38140. "HV": {
  38141. "description": "持仓量",
  38142. "type": "integer"
  38143. },
  38144. "PE": {
  38145. "description": "现价",
  38146. "type": "number"
  38147. },
  38148. "TDR": {
  38149. "description": "交易方向,0:买 1:卖",
  38150. "type": "integer"
  38151. },
  38152. "TK": {
  38153. "description": "交易类型",
  38154. "type": "integer"
  38155. },
  38156. "TS": {
  38157. "description": "行情时间文本",
  38158. "type": "string"
  38159. },
  38160. "TT": {
  38161. "description": "现金额",
  38162. "type": "number"
  38163. },
  38164. "Vol": {
  38165. "description": "现量",
  38166. "type": "integer"
  38167. }
  38168. }
  38169. },
  38170. "quote.QueryQuoteDayRsp": {
  38171. "type": "object",
  38172. "properties": {
  38173. "ask": {
  38174. "description": "卖1",
  38175. "type": "number"
  38176. },
  38177. "ask10": {
  38178. "description": "卖10",
  38179. "type": "number"
  38180. },
  38181. "ask2": {
  38182. "description": "卖2",
  38183. "type": "number"
  38184. },
  38185. "ask3": {
  38186. "description": "卖3",
  38187. "type": "number"
  38188. },
  38189. "ask4": {
  38190. "description": "卖4",
  38191. "type": "number"
  38192. },
  38193. "ask5": {
  38194. "description": "卖5",
  38195. "type": "number"
  38196. },
  38197. "ask6": {
  38198. "description": "卖6",
  38199. "type": "number"
  38200. },
  38201. "ask7": {
  38202. "description": "卖7",
  38203. "type": "number"
  38204. },
  38205. "ask8": {
  38206. "description": "卖8",
  38207. "type": "number"
  38208. },
  38209. "ask9": {
  38210. "description": "卖9",
  38211. "type": "number"
  38212. },
  38213. "askorderid": {
  38214. "description": "卖单号1",
  38215. "type": "integer"
  38216. },
  38217. "askorderid2": {
  38218. "description": "卖单号2",
  38219. "type": "integer"
  38220. },
  38221. "askorderid3": {
  38222. "description": "卖单号3",
  38223. "type": "integer"
  38224. },
  38225. "askorderid4": {
  38226. "description": "卖单号4",
  38227. "type": "integer"
  38228. },
  38229. "askorderid5": {
  38230. "description": "卖单号5",
  38231. "type": "integer"
  38232. },
  38233. "askordervolume": {
  38234. "description": "卖单量1",
  38235. "type": "integer"
  38236. },
  38237. "askordervolume10": {
  38238. "description": "卖单量10",
  38239. "type": "integer"
  38240. },
  38241. "askordervolume2": {
  38242. "description": "卖单量2",
  38243. "type": "integer"
  38244. },
  38245. "askordervolume3": {
  38246. "description": "卖单量3",
  38247. "type": "integer"
  38248. },
  38249. "askordervolume4": {
  38250. "description": "卖单量4",
  38251. "type": "integer"
  38252. },
  38253. "askordervolume5": {
  38254. "description": "卖单量5",
  38255. "type": "integer"
  38256. },
  38257. "askordervolume6": {
  38258. "description": "卖单量6",
  38259. "type": "integer"
  38260. },
  38261. "askordervolume7": {
  38262. "description": "卖单量7",
  38263. "type": "integer"
  38264. },
  38265. "askordervolume8": {
  38266. "description": "卖单量8",
  38267. "type": "integer"
  38268. },
  38269. "askordervolume9": {
  38270. "description": "卖单量9",
  38271. "type": "integer"
  38272. },
  38273. "askqueueinfo": {
  38274. "description": "大利市卖港股用",
  38275. "type": "string"
  38276. },
  38277. "askvolume": {
  38278. "description": "卖量1",
  38279. "type": "integer"
  38280. },
  38281. "askvolume10": {
  38282. "description": "卖量10",
  38283. "type": "integer"
  38284. },
  38285. "askvolume2": {
  38286. "description": "卖量2",
  38287. "type": "integer"
  38288. },
  38289. "askvolume3": {
  38290. "description": "卖量3",
  38291. "type": "integer"
  38292. },
  38293. "askvolume4": {
  38294. "description": "卖量4",
  38295. "type": "integer"
  38296. },
  38297. "askvolume5": {
  38298. "description": "卖量5",
  38299. "type": "integer"
  38300. },
  38301. "askvolume6": {
  38302. "description": "卖量6",
  38303. "type": "integer"
  38304. },
  38305. "askvolume7": {
  38306. "description": "卖量7",
  38307. "type": "integer"
  38308. },
  38309. "askvolume8": {
  38310. "description": "卖量8",
  38311. "type": "integer"
  38312. },
  38313. "askvolume9": {
  38314. "description": "卖量9",
  38315. "type": "integer"
  38316. },
  38317. "averageprice": {
  38318. "description": "均价",
  38319. "type": "number"
  38320. },
  38321. "bid": {
  38322. "description": "买1",
  38323. "type": "number"
  38324. },
  38325. "bid10": {
  38326. "description": "买10",
  38327. "type": "number"
  38328. },
  38329. "bid2": {
  38330. "description": "买2",
  38331. "type": "number"
  38332. },
  38333. "bid3": {
  38334. "description": "买3",
  38335. "type": "number"
  38336. },
  38337. "bid4": {
  38338. "description": "买4",
  38339. "type": "number"
  38340. },
  38341. "bid5": {
  38342. "description": "买5",
  38343. "type": "number"
  38344. },
  38345. "bid6": {
  38346. "description": "买6",
  38347. "type": "number"
  38348. },
  38349. "bid7": {
  38350. "description": "买7",
  38351. "type": "number"
  38352. },
  38353. "bid8": {
  38354. "description": "买8",
  38355. "type": "number"
  38356. },
  38357. "bid9": {
  38358. "description": "买9",
  38359. "type": "number"
  38360. },
  38361. "bidorderid": {
  38362. "description": "买单号1",
  38363. "type": "integer"
  38364. },
  38365. "bidorderid2": {
  38366. "description": "买单号2",
  38367. "type": "integer"
  38368. },
  38369. "bidorderid3": {
  38370. "description": "买单号3",
  38371. "type": "integer"
  38372. },
  38373. "bidorderid4": {
  38374. "description": "买单号4",
  38375. "type": "integer"
  38376. },
  38377. "bidorderid5": {
  38378. "description": "买单号5",
  38379. "type": "integer"
  38380. },
  38381. "bidordervolume": {
  38382. "description": "买单量1",
  38383. "type": "integer"
  38384. },
  38385. "bidordervolume10": {
  38386. "description": "买单量10",
  38387. "type": "integer"
  38388. },
  38389. "bidordervolume2": {
  38390. "description": "买单量2",
  38391. "type": "integer"
  38392. },
  38393. "bidordervolume3": {
  38394. "description": "买单量3",
  38395. "type": "integer"
  38396. },
  38397. "bidordervolume4": {
  38398. "description": "买单量4",
  38399. "type": "integer"
  38400. },
  38401. "bidordervolume5": {
  38402. "description": "买单量5",
  38403. "type": "integer"
  38404. },
  38405. "bidordervolume6": {
  38406. "description": "买单量6",
  38407. "type": "integer"
  38408. },
  38409. "bidordervolume7": {
  38410. "description": "买单量7",
  38411. "type": "integer"
  38412. },
  38413. "bidordervolume8": {
  38414. "description": "买单量8",
  38415. "type": "integer"
  38416. },
  38417. "bidordervolume9": {
  38418. "description": "买单量9",
  38419. "type": "integer"
  38420. },
  38421. "bidqueueinfo": {
  38422. "description": "大利市买港股用",
  38423. "type": "string"
  38424. },
  38425. "bidvolume": {
  38426. "description": "买量1",
  38427. "type": "integer"
  38428. },
  38429. "bidvolume10": {
  38430. "description": "买量10",
  38431. "type": "integer"
  38432. },
  38433. "bidvolume2": {
  38434. "description": "买量2",
  38435. "type": "integer"
  38436. },
  38437. "bidvolume3": {
  38438. "description": "买量3",
  38439. "type": "integer"
  38440. },
  38441. "bidvolume4": {
  38442. "description": "买量4",
  38443. "type": "integer"
  38444. },
  38445. "bidvolume5": {
  38446. "description": "买量5",
  38447. "type": "integer"
  38448. },
  38449. "bidvolume6": {
  38450. "description": "买量6",
  38451. "type": "integer"
  38452. },
  38453. "bidvolume7": {
  38454. "description": "买量7",
  38455. "type": "integer"
  38456. },
  38457. "bidvolume8": {
  38458. "description": "买量8",
  38459. "type": "integer"
  38460. },
  38461. "bidvolume9": {
  38462. "description": "买量9",
  38463. "type": "integer"
  38464. },
  38465. "calloptionpremiums": {
  38466. "description": "认购期权1",
  38467. "type": "integer"
  38468. },
  38469. "calloptionpremiums2": {
  38470. "description": "认购期权2",
  38471. "type": "integer"
  38472. },
  38473. "calloptionpremiums3": {
  38474. "description": "认购期权3",
  38475. "type": "integer"
  38476. },
  38477. "calloptionpremiums4": {
  38478. "description": "认购期权4",
  38479. "type": "integer"
  38480. },
  38481. "calloptionpremiums5": {
  38482. "description": "认购期权5",
  38483. "type": "integer"
  38484. },
  38485. "cleartime": {
  38486. "description": "清盘时间",
  38487. "type": "integer"
  38488. },
  38489. "exchangecode": {
  38490. "description": "交易所代码",
  38491. "type": "integer"
  38492. },
  38493. "exchangedate": {
  38494. "description": "交易日",
  38495. "type": "integer"
  38496. },
  38497. "goodscode": {
  38498. "description": "商品代码",
  38499. "type": "string"
  38500. },
  38501. "grepmarketprice": {
  38502. "description": "暗盘价 港股专用",
  38503. "type": "number"
  38504. },
  38505. "highest": {
  38506. "description": "最高价",
  38507. "type": "number"
  38508. },
  38509. "holdincrement": {
  38510. "description": "单笔持仓",
  38511. "type": "integer"
  38512. },
  38513. "holdvolume": {
  38514. "description": "持仓",
  38515. "type": "integer"
  38516. },
  38517. "iep": {
  38518. "description": "平衡价 港股专用",
  38519. "type": "number"
  38520. },
  38521. "iev": {
  38522. "description": "平衡量 港股专用",
  38523. "type": "number"
  38524. },
  38525. "inventory": {
  38526. "description": "库存",
  38527. "type": "integer"
  38528. },
  38529. "iscleared": {
  38530. "description": "是否清盘标志",
  38531. "type": "integer"
  38532. },
  38533. "issettled": {
  38534. "description": "是否结算标志",
  38535. "type": "integer"
  38536. },
  38537. "last": {
  38538. "description": "最新价",
  38539. "type": "number"
  38540. },
  38541. "lastlot": {
  38542. "description": "最新成交手数",
  38543. "type": "integer"
  38544. },
  38545. "lasttime": {
  38546. "description": "行情时间(只有现价变化行情时间才变化)",
  38547. "type": "string"
  38548. },
  38549. "lastturnover": {
  38550. "description": "最新成交金额",
  38551. "type": "number"
  38552. },
  38553. "lastvolume": {
  38554. "description": "最新成交量",
  38555. "type": "integer"
  38556. },
  38557. "limitdown": {
  38558. "description": "跌停价",
  38559. "type": "number"
  38560. },
  38561. "limitup": {
  38562. "description": "涨停价",
  38563. "type": "number"
  38564. },
  38565. "lowest": {
  38566. "description": "最低价",
  38567. "type": "number"
  38568. },
  38569. "nontotalholdervolume": {
  38570. "description": "非交易持仓量",
  38571. "type": "integer"
  38572. },
  38573. "nontotallot": {
  38574. "description": "非交易总手数",
  38575. "type": "integer"
  38576. },
  38577. "nontotalturnover": {
  38578. "description": "非交易总金额",
  38579. "type": "integer"
  38580. },
  38581. "nontotalvolume": {
  38582. "description": "非交易总量",
  38583. "type": "integer"
  38584. },
  38585. "opened": {
  38586. "description": "开盘价",
  38587. "type": "number"
  38588. },
  38589. "opentime": {
  38590. "description": "开盘时间",
  38591. "type": "string"
  38592. },
  38593. "orderid": {
  38594. "description": "序号",
  38595. "type": "integer"
  38596. },
  38597. "preclose": {
  38598. "description": "昨收",
  38599. "type": "number"
  38600. },
  38601. "preholdvolume": {
  38602. "description": "昨持仓",
  38603. "type": "integer"
  38604. },
  38605. "presettle": {
  38606. "description": "昨结价",
  38607. "type": "number"
  38608. },
  38609. "publictradetype": {
  38610. "description": "公共交易标志类型 港股专用",
  38611. "type": "string"
  38612. },
  38613. "putoptionpremiums": {
  38614. "description": "认沽期权1",
  38615. "type": "integer"
  38616. },
  38617. "putoptionpremiums2": {
  38618. "description": "认沽期权2",
  38619. "type": "integer"
  38620. },
  38621. "putoptionpremiums3": {
  38622. "description": "认沽期权3",
  38623. "type": "integer"
  38624. },
  38625. "putoptionpremiums4": {
  38626. "description": "认沽期权4",
  38627. "type": "integer"
  38628. },
  38629. "putoptionpremiums5": {
  38630. "description": "认沽期权5",
  38631. "type": "integer"
  38632. },
  38633. "settle": {
  38634. "description": "结算价",
  38635. "type": "number"
  38636. },
  38637. "strikeprice": {
  38638. "description": "发行价",
  38639. "type": "number"
  38640. },
  38641. "totalaskvolume": {
  38642. "description": "内盘",
  38643. "type": "integer"
  38644. },
  38645. "totalbidvolume": {
  38646. "description": "外盘",
  38647. "type": "integer"
  38648. },
  38649. "totallot": {
  38650. "description": "总手数",
  38651. "type": "integer"
  38652. },
  38653. "totalturnover": {
  38654. "description": "总金额",
  38655. "type": "number"
  38656. },
  38657. "totalvolume": {
  38658. "description": "总量",
  38659. "type": "integer"
  38660. },
  38661. "utclasttime": {
  38662. "description": "utc的行情时间",
  38663. "type": "string"
  38664. }
  38665. }
  38666. },
  38667. "quote.QueryTSDataRsp": {
  38668. "type": "object",
  38669. "properties": {
  38670. "Count": {
  38671. "description": "交易日应有数据个数",
  38672. "type": "integer"
  38673. },
  38674. "decimalPlace": {
  38675. "description": "小数位",
  38676. "type": "integer"
  38677. },
  38678. "endTime": {
  38679. "description": "结束时间",
  38680. "type": "string"
  38681. },
  38682. "goodsCode": {
  38683. "description": "商品代码",
  38684. "type": "string"
  38685. },
  38686. "historyDatas": {
  38687. "description": "历史数据",
  38688. "type": "array",
  38689. "items": {
  38690. "$ref": "#/definitions/quote.HistoryData"
  38691. }
  38692. },
  38693. "outGoodsCode": {
  38694. "description": "外部商品代码",
  38695. "type": "string"
  38696. },
  38697. "preSettle": {
  38698. "description": "昨结价",
  38699. "type": "number"
  38700. },
  38701. "runSteps": {
  38702. "description": "交易日开休市计划",
  38703. "type": "array",
  38704. "items": {
  38705. "$ref": "#/definitions/quote.TSDataRunStep"
  38706. }
  38707. },
  38708. "startTime": {
  38709. "description": "开始时间",
  38710. "type": "string"
  38711. },
  38712. "tradeDate": {
  38713. "description": "交易日",
  38714. "type": "string"
  38715. }
  38716. }
  38717. },
  38718. "quote.TSDataRunStep": {
  38719. "type": "object",
  38720. "properties": {
  38721. "end": {
  38722. "description": "真实结束时间",
  38723. "type": "string"
  38724. },
  38725. "endflag": {
  38726. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  38727. "type": "integer"
  38728. },
  38729. "endtime": {
  38730. "description": "结束时间(HH:mm)",
  38731. "type": "string"
  38732. },
  38733. "endweekday": {
  38734. "description": "结束周几",
  38735. "type": "integer"
  38736. },
  38737. "groupid": {
  38738. "description": "分组ID",
  38739. "type": "integer"
  38740. },
  38741. "runstep": {
  38742. "description": "运行阶段 - 2:连续交易",
  38743. "type": "integer"
  38744. },
  38745. "sectionid": {
  38746. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  38747. "type": "integer"
  38748. },
  38749. "start": {
  38750. "description": "真实开始时间",
  38751. "type": "string"
  38752. },
  38753. "startflag": {
  38754. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  38755. "type": "integer"
  38756. },
  38757. "starttime": {
  38758. "description": "起始时间(HH:mm)",
  38759. "type": "string"
  38760. },
  38761. "startweekday": {
  38762. "description": "起始周几",
  38763. "type": "integer"
  38764. },
  38765. "tradeweekday": {
  38766. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  38767. "type": "integer"
  38768. }
  38769. }
  38770. },
  38771. "szdz.QueryConvertLogRsp": {
  38772. "type": "object",
  38773. "required": [
  38774. "logid"
  38775. ],
  38776. "properties": {
  38777. "accountid": {
  38778. "description": "资金账户ID",
  38779. "type": "integer"
  38780. },
  38781. "clientticket": {
  38782. "description": "客户端流水号",
  38783. "type": "string"
  38784. },
  38785. "converttype": {
  38786. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  38787. "type": "integer"
  38788. },
  38789. "createtime": {
  38790. "description": "记账时间",
  38791. "type": "string"
  38792. },
  38793. "daymaxvalue": {
  38794. "description": "配置当日最大转入限制",
  38795. "type": "number"
  38796. },
  38797. "daymaxvalue2": {
  38798. "description": "配置当日最大转入限制(转入)",
  38799. "type": "number"
  38800. },
  38801. "goodscode": {
  38802. "description": "商品代码",
  38803. "type": "string"
  38804. },
  38805. "goodsname": {
  38806. "description": "商品名称",
  38807. "type": "string"
  38808. },
  38809. "handlestatus": {
  38810. "description": "处理状态",
  38811. "type": "integer"
  38812. },
  38813. "innergoodsid": {
  38814. "description": "内部商品ID",
  38815. "type": "integer"
  38816. },
  38817. "inratio": {
  38818. "description": "配置转入比值",
  38819. "type": "integer"
  38820. },
  38821. "invalue": {
  38822. "description": "目标值",
  38823. "type": "number"
  38824. },
  38825. "logid": {
  38826. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38827. "type": "integer"
  38828. },
  38829. "mobile": {
  38830. "description": "手机号码(加密存储)",
  38831. "type": "string"
  38832. },
  38833. "outergoodscode": {
  38834. "description": "外部商品代码[JD\\PD]",
  38835. "type": "string"
  38836. },
  38837. "outratio": {
  38838. "description": "配置转出比值",
  38839. "type": "integer"
  38840. },
  38841. "outvalue": {
  38842. "description": "源值",
  38843. "type": "number"
  38844. },
  38845. "pddecimalplace": {
  38846. "description": "PD小数位",
  38847. "type": "integer"
  38848. },
  38849. "qty": {
  38850. "description": "数量",
  38851. "type": "string"
  38852. },
  38853. "remark": {
  38854. "description": "备注",
  38855. "type": "string"
  38856. },
  38857. "sessionid": {
  38858. "description": "会话ID",
  38859. "type": "integer"
  38860. },
  38861. "timemaxvalue": {
  38862. "description": "配置单次最大转入限制",
  38863. "type": "number"
  38864. },
  38865. "timemaxvalue2": {
  38866. "description": "配置单次最大转入限制(转入)",
  38867. "type": "number"
  38868. },
  38869. "timeminvalue": {
  38870. "description": "配置单次最小数量限制",
  38871. "type": "number"
  38872. },
  38873. "timeminvalue2": {
  38874. "description": "配置单次最小数量限制(转入)",
  38875. "type": "number"
  38876. },
  38877. "tradedate": {
  38878. "description": "交易日(yyyyMMdd)",
  38879. "type": "string"
  38880. },
  38881. "userid": {
  38882. "description": "用户ID",
  38883. "type": "integer"
  38884. }
  38885. }
  38886. },
  38887. "szdz.QueryGoodsPickupRsp": {
  38888. "type": "object",
  38889. "required": [
  38890. "takeorderid"
  38891. ],
  38892. "properties": {
  38893. "accountid": {
  38894. "description": "账户ID",
  38895. "type": "integer"
  38896. },
  38897. "address": {
  38898. "description": "提货人详细地址",
  38899. "type": "string"
  38900. },
  38901. "auditer": {
  38902. "description": "审核人",
  38903. "type": "integer"
  38904. },
  38905. "audittime": {
  38906. "description": "审核时间",
  38907. "type": "string"
  38908. },
  38909. "cardnum": {
  38910. "description": "提货人证件号码",
  38911. "type": "string"
  38912. },
  38913. "cardtypeid": {
  38914. "description": "提货人证件类型",
  38915. "type": "integer"
  38916. },
  38917. "checkremark": {
  38918. "description": "审核备注",
  38919. "type": "string"
  38920. },
  38921. "goodscode": {
  38922. "description": "商品代码",
  38923. "type": "string"
  38924. },
  38925. "goodsid": {
  38926. "description": "商品ID",
  38927. "type": "integer"
  38928. },
  38929. "goodsname": {
  38930. "description": "商品名称",
  38931. "type": "string"
  38932. },
  38933. "handlestatus": {
  38934. "description": "处理状态",
  38935. "type": "integer"
  38936. },
  38937. "marketid": {
  38938. "description": "市场ID",
  38939. "type": "integer"
  38940. },
  38941. "phonenum": {
  38942. "description": "提货人联系方式",
  38943. "type": "string"
  38944. },
  38945. "qty": {
  38946. "description": "提货数量",
  38947. "type": "number"
  38948. },
  38949. "recivername": {
  38950. "description": "提货人姓名",
  38951. "type": "string"
  38952. },
  38953. "reqtime": {
  38954. "description": "更新时间",
  38955. "type": "string"
  38956. },
  38957. "takemode": {
  38958. "description": "提货方式 - 2:自提 3:配送",
  38959. "type": "integer"
  38960. },
  38961. "takeorderid": {
  38962. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  38963. "type": "string"
  38964. },
  38965. "takeorderstatus": {
  38966. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  38967. "type": "integer"
  38968. },
  38969. "takeremark": {
  38970. "description": "提货备注",
  38971. "type": "string"
  38972. },
  38973. "tradedate": {
  38974. "description": "交易日(yyyyMMdd)",
  38975. "type": "string"
  38976. },
  38977. "userid": {
  38978. "description": "用户ID",
  38979. "type": "integer"
  38980. }
  38981. }
  38982. },
  38983. "szdz.QueryRecieptOrderRsp": {
  38984. "type": "object",
  38985. "required": [
  38986. "ordertime"
  38987. ],
  38988. "properties": {
  38989. "accountName": {
  38990. "description": "所属账号名称(已脱敏)",
  38991. "type": "string"
  38992. },
  38993. "accountid": {
  38994. "description": "资金账号",
  38995. "type": "integer"
  38996. },
  38997. "buyorsell": {
  38998. "description": "方向 - 0:买 1:卖",
  38999. "type": "integer"
  39000. },
  39001. "enableqty": {
  39002. "description": "可摘数量",
  39003. "type": "integer"
  39004. },
  39005. "goodscode": {
  39006. "description": "商品代码",
  39007. "type": "string"
  39008. },
  39009. "goodsid": {
  39010. "description": "商品ID",
  39011. "type": "integer"
  39012. },
  39013. "goodsname": {
  39014. "description": "商品名称",
  39015. "type": "string"
  39016. },
  39017. "orderid": {
  39018. "description": "委托单号",
  39019. "type": "string"
  39020. },
  39021. "orderprice": {
  39022. "description": "委托价格",
  39023. "type": "number"
  39024. },
  39025. "ordertime": {
  39026. "description": "委托时间",
  39027. "type": "string"
  39028. },
  39029. "tradedate": {
  39030. "description": "交易日(yyyyMMdd)",
  39031. "type": "string"
  39032. }
  39033. }
  39034. },
  39035. "szdz.QuerySZDZTradePositionRsp": {
  39036. "type": "object",
  39037. "properties": {
  39038. "accountid": {
  39039. "description": "账号Id",
  39040. "type": "integer"
  39041. },
  39042. "agreeunit": {
  39043. "description": "合约单位",
  39044. "type": "number"
  39045. },
  39046. "averageprice": {
  39047. "description": "持仓均价",
  39048. "type": "number"
  39049. },
  39050. "buyorsell": {
  39051. "description": "方向 - 0:买 1:卖",
  39052. "type": "integer"
  39053. },
  39054. "closetotalqty": {
  39055. "description": "平仓总数量",
  39056. "type": "integer"
  39057. },
  39058. "curholderamount": {
  39059. "description": "当前持仓总金额",
  39060. "type": "number"
  39061. },
  39062. "curpositionqty": {
  39063. "description": "当前持仓总数量",
  39064. "type": "integer"
  39065. },
  39066. "currencyid": {
  39067. "description": "报价货币ID",
  39068. "type": "integer"
  39069. },
  39070. "curtdposition": {
  39071. "description": "期末今日头寸",
  39072. "type": "integer"
  39073. },
  39074. "decimalplace": {
  39075. "description": "报价小数位",
  39076. "type": "integer"
  39077. },
  39078. "enableqty": {
  39079. "description": "可用量",
  39080. "type": "integer"
  39081. },
  39082. "fretdposition": {
  39083. "description": "冻结今日头寸",
  39084. "type": "integer"
  39085. },
  39086. "frozenqty": {
  39087. "description": "持仓冻结数量",
  39088. "type": "integer"
  39089. },
  39090. "goodscode": {
  39091. "description": "商品代码(内部)",
  39092. "type": "string"
  39093. },
  39094. "goodsid": {
  39095. "description": "商品Id",
  39096. "type": "integer"
  39097. },
  39098. "goodsname": {
  39099. "description": "商品名称",
  39100. "type": "string"
  39101. },
  39102. "goodunit": {
  39103. "description": "报价单位",
  39104. "type": "string"
  39105. },
  39106. "goodunitid": {
  39107. "description": "报价单位ID",
  39108. "type": "integer"
  39109. },
  39110. "holderamount": {
  39111. "description": "期初持仓总金额",
  39112. "type": "number"
  39113. },
  39114. "marketid": {
  39115. "description": "市场ID",
  39116. "type": "integer"
  39117. },
  39118. "openreqqty": {
  39119. "description": "开仓申请数量",
  39120. "type": "integer"
  39121. },
  39122. "opentotalqty": {
  39123. "description": "开仓总数量",
  39124. "type": "integer"
  39125. },
  39126. "otherfrozenqty": {
  39127. "description": "持仓其他冻结数量(交割冻结)",
  39128. "type": "integer"
  39129. },
  39130. "positionqty": {
  39131. "description": "期初持仓数量",
  39132. "type": "integer"
  39133. },
  39134. "szdz3freezqty": {
  39135. "description": "尚志大宗转换冻结总数量",
  39136. "type": "integer"
  39137. },
  39138. "tnqty": {
  39139. "description": "T+N冻结总量",
  39140. "type": "integer"
  39141. },
  39142. "tnusedqty": {
  39143. "description": "T+N使用量",
  39144. "type": "integer"
  39145. },
  39146. "trademode": {
  39147. "description": "交易模式",
  39148. "type": "integer"
  39149. },
  39150. "usedmargin": {
  39151. "description": "占用保证金",
  39152. "type": "number"
  39153. }
  39154. }
  39155. },
  39156. "taaccount.QueryAmountLogRsp": {
  39157. "type": "object",
  39158. "required": [
  39159. "accountid",
  39160. "amount",
  39161. "amountadjusttype",
  39162. "autoid",
  39163. "balance",
  39164. "createtime",
  39165. "currentbalance",
  39166. "operatetype"
  39167. ],
  39168. "properties": {
  39169. "OPERATETYPENAME": {
  39170. "description": "资金操作类型名称",
  39171. "type": "string"
  39172. },
  39173. "accountid": {
  39174. "description": "资金账户ID",
  39175. "type": "integer"
  39176. },
  39177. "agoodscode": {
  39178. "description": "竞拍商品代码",
  39179. "type": "string"
  39180. },
  39181. "agoodsname": {
  39182. "description": "竞拍商品名称",
  39183. "type": "string"
  39184. },
  39185. "amount": {
  39186. "description": "资金金额",
  39187. "type": "number"
  39188. },
  39189. "amountadjusttype": {
  39190. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39191. "type": "integer"
  39192. },
  39193. "autoid": {
  39194. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39195. "type": "integer"
  39196. },
  39197. "balance": {
  39198. "description": "期初余额",
  39199. "type": "number"
  39200. },
  39201. "businesscode": {
  39202. "description": "业务编号",
  39203. "type": "integer"
  39204. },
  39205. "createtime": {
  39206. "description": "发生时间",
  39207. "type": "string"
  39208. },
  39209. "currencyid": {
  39210. "description": "币种ID",
  39211. "type": "integer"
  39212. },
  39213. "currentbalance": {
  39214. "description": "期末余额(变动后金额)",
  39215. "type": "number"
  39216. },
  39217. "dgoodscode": {
  39218. "description": "交割商品代码",
  39219. "type": "string"
  39220. },
  39221. "dgoodsname": {
  39222. "description": "交割商品名称",
  39223. "type": "string"
  39224. },
  39225. "goodscode": {
  39226. "description": "商品代码",
  39227. "type": "string"
  39228. },
  39229. "goodsid": {
  39230. "description": "商品ID",
  39231. "type": "integer"
  39232. },
  39233. "goodsname": {
  39234. "description": "商品名称",
  39235. "type": "string"
  39236. },
  39237. "marketid": {
  39238. "description": "市场ID",
  39239. "type": "integer"
  39240. },
  39241. "marketname": {
  39242. "description": "市场名称",
  39243. "type": "string"
  39244. },
  39245. "moneyticket": {
  39246. "description": "资金流水号:银行端流水号",
  39247. "type": "integer"
  39248. },
  39249. "operatetype": {
  39250. "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:营销收款",
  39251. "type": "integer"
  39252. },
  39253. "relationorderid": {
  39254. "description": "关联单号",
  39255. "type": "string"
  39256. },
  39257. "remark": {
  39258. "description": "备注",
  39259. "type": "string"
  39260. },
  39261. "trademode": {
  39262. "description": "交易模式",
  39263. "type": "integer"
  39264. }
  39265. }
  39266. },
  39267. "taaccount.QueryHisAmountLogRsp": {
  39268. "type": "object",
  39269. "required": [
  39270. "accountid",
  39271. "amount",
  39272. "amountadjusttype",
  39273. "autoid",
  39274. "balance",
  39275. "createtime",
  39276. "currentbalance",
  39277. "histradedate",
  39278. "operatetype"
  39279. ],
  39280. "properties": {
  39281. "OPERATETYPENAME": {
  39282. "description": "资金操作类型名称",
  39283. "type": "string"
  39284. },
  39285. "accountid": {
  39286. "description": "资金账户ID",
  39287. "type": "integer"
  39288. },
  39289. "agoodscode": {
  39290. "description": "竞拍商品代码",
  39291. "type": "string"
  39292. },
  39293. "agoodsname": {
  39294. "description": "竞拍商品名称",
  39295. "type": "string"
  39296. },
  39297. "amount": {
  39298. "description": "资金金额",
  39299. "type": "number"
  39300. },
  39301. "amountadjusttype": {
  39302. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39303. "type": "integer"
  39304. },
  39305. "autoid": {
  39306. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39307. "type": "integer"
  39308. },
  39309. "balance": {
  39310. "description": "期初余额",
  39311. "type": "number"
  39312. },
  39313. "businesscode": {
  39314. "description": "业务编号",
  39315. "type": "integer"
  39316. },
  39317. "createtime": {
  39318. "description": "发生时间",
  39319. "type": "string"
  39320. },
  39321. "currencyid": {
  39322. "description": "币种ID",
  39323. "type": "integer"
  39324. },
  39325. "currentbalance": {
  39326. "description": "期末余额(变动后金额)",
  39327. "type": "number"
  39328. },
  39329. "dgoodscode": {
  39330. "description": "交割商品代码",
  39331. "type": "string"
  39332. },
  39333. "dgoodsname": {
  39334. "description": "交割商品名称",
  39335. "type": "string"
  39336. },
  39337. "goodscode": {
  39338. "description": "商品代码",
  39339. "type": "string"
  39340. },
  39341. "goodsid": {
  39342. "description": "商品ID",
  39343. "type": "integer"
  39344. },
  39345. "goodsname": {
  39346. "description": "商品名称",
  39347. "type": "string"
  39348. },
  39349. "histradedate": {
  39350. "description": "历史交易日",
  39351. "type": "string"
  39352. },
  39353. "isvaliddata": {
  39354. "description": "是否有效 - 0:无效 1:有效",
  39355. "type": "integer"
  39356. },
  39357. "marketid": {
  39358. "description": "市场ID",
  39359. "type": "integer"
  39360. },
  39361. "marketname": {
  39362. "description": "市场名称",
  39363. "type": "string"
  39364. },
  39365. "moneyticket": {
  39366. "description": "资金流水号:银行端流水号",
  39367. "type": "integer"
  39368. },
  39369. "operatetype": {
  39370. "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:营销收款",
  39371. "type": "integer"
  39372. },
  39373. "relationorderid": {
  39374. "description": "关联单号",
  39375. "type": "string"
  39376. },
  39377. "remark": {
  39378. "description": "备注",
  39379. "type": "string"
  39380. },
  39381. "trademode": {
  39382. "description": "交易模式",
  39383. "type": "integer"
  39384. }
  39385. }
  39386. },
  39387. "trade.QueryRecieptOrderRsp": {
  39388. "type": "object",
  39389. "required": [
  39390. "ordertime"
  39391. ],
  39392. "properties": {
  39393. "accountName": {
  39394. "description": "所属账号名称(已脱敏)",
  39395. "type": "string"
  39396. },
  39397. "accountid": {
  39398. "description": "资金账号",
  39399. "type": "integer"
  39400. },
  39401. "buyorsell": {
  39402. "description": "方向 - 0:买 1:卖",
  39403. "type": "integer"
  39404. },
  39405. "enableqty": {
  39406. "description": "可摘数量",
  39407. "type": "integer"
  39408. },
  39409. "goodscode": {
  39410. "description": "商品代码",
  39411. "type": "string"
  39412. },
  39413. "goodsid": {
  39414. "description": "商品ID",
  39415. "type": "integer"
  39416. },
  39417. "goodsname": {
  39418. "description": "商品名称",
  39419. "type": "string"
  39420. },
  39421. "orderid": {
  39422. "description": "委托单号",
  39423. "type": "string"
  39424. },
  39425. "orderprice": {
  39426. "description": "委托价格",
  39427. "type": "number"
  39428. },
  39429. "ordertime": {
  39430. "description": "委托时间",
  39431. "type": "string"
  39432. },
  39433. "tradedate": {
  39434. "description": "交易日(yyyyMMdd)",
  39435. "type": "string"
  39436. }
  39437. }
  39438. },
  39439. "user.LoginQueryRsp": {
  39440. "type": "object",
  39441. "properties": {
  39442. "areaRoles": {
  39443. "description": "所属角色信息",
  39444. "type": "array",
  39445. "items": {
  39446. "$ref": "#/definitions/models.Arearole"
  39447. }
  39448. },
  39449. "externalExchanges": {
  39450. "description": "外部交易所",
  39451. "type": "array",
  39452. "items": {
  39453. "$ref": "#/definitions/models.Externalexchange"
  39454. }
  39455. },
  39456. "goodsgroups": {
  39457. "description": "商品组",
  39458. "type": "array",
  39459. "items": {
  39460. "$ref": "#/definitions/models.Goodsgroup"
  39461. }
  39462. },
  39463. "loginAccount": {
  39464. "description": "登录账号",
  39465. "$ref": "#/definitions/models.Loginaccount"
  39466. },
  39467. "markets": {
  39468. "description": "市场",
  39469. "type": "array",
  39470. "items": {
  39471. "$ref": "#/definitions/models.Market"
  39472. }
  39473. },
  39474. "systemParams": {
  39475. "description": "系统参数",
  39476. "type": "array",
  39477. "items": {
  39478. "$ref": "#/definitions/models.Systemparam"
  39479. }
  39480. },
  39481. "userAccount": {
  39482. "description": "用户账号",
  39483. "$ref": "#/definitions/models.Useraccount"
  39484. },
  39485. "userInfo": {
  39486. "description": "用户信息",
  39487. "$ref": "#/definitions/models.Userinfo"
  39488. },
  39489. "username": {
  39490. "description": "用户姓名",
  39491. "type": "string"
  39492. }
  39493. }
  39494. }
  39495. },
  39496. "securityDefinitions": {
  39497. "ApiKeyAuth": {
  39498. "type": "apiKey",
  39499. "name": "Authorization",
  39500. "in": "header"
  39501. }
  39502. }
  39503. }`
  39504. type swaggerInfo struct {
  39505. Version string
  39506. Host string
  39507. BasePath string
  39508. Schemes []string
  39509. Title string
  39510. Description string
  39511. }
  39512. // SwaggerInfo holds exported Swagger Info so clients can modify it
  39513. var SwaggerInfo = swaggerInfo{
  39514. Version: "1.0",
  39515. Host: "",
  39516. BasePath: "/api",
  39517. Schemes: []string{},
  39518. Title: "MTP2.0 查询服务 API",
  39519. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  39520. }
  39521. type s struct{}
  39522. func (s *s) ReadDoc() string {
  39523. sInfo := SwaggerInfo
  39524. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  39525. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  39526. "marshal": func(v interface{}) string {
  39527. a, _ := json.Marshal(v)
  39528. return string(a)
  39529. },
  39530. }).Parse(doc)
  39531. if err != nil {
  39532. return doc
  39533. }
  39534. var tpl bytes.Buffer
  39535. if err := t.Execute(&tpl, sInfo); err != nil {
  39536. return doc
  39537. }
  39538. return tpl.String()
  39539. }
  39540. func init() {
  39541. swag.Register(swag.Name, &s{})
  39542. }