docs.go 1.4 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175
  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:平安期货,不传默认返回风管云平台",
  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. "responses": {
  3730. "200": {
  3731. "description": "OK",
  3732. "schema": {
  3733. "type": "array",
  3734. "items": {
  3735. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3736. }
  3737. }
  3738. },
  3739. "500": {
  3740. "description": "Internal Server Error",
  3741. "schema": {
  3742. "$ref": "#/definitions/app.Response"
  3743. }
  3744. }
  3745. }
  3746. }
  3747. },
  3748. "/Ermcp3/QryTaFutureDataReport": {
  3749. "get": {
  3750. "security": [
  3751. {
  3752. "ApiKeyAuth": []
  3753. }
  3754. ],
  3755. "produces": [
  3756. "application/json"
  3757. ],
  3758. "tags": [
  3759. "企业风险管理v3(app)"
  3760. ],
  3761. "summary": "查询期货报表",
  3762. "parameters": [
  3763. {
  3764. "type": "integer",
  3765. "description": "用户ID",
  3766. "name": "userid",
  3767. "in": "query",
  3768. "required": true
  3769. },
  3770. {
  3771. "type": "integer",
  3772. "description": "查询类型 1-报表 2-报表明细",
  3773. "name": "querytype",
  3774. "in": "query",
  3775. "required": true
  3776. },
  3777. {
  3778. "type": "integer",
  3779. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3780. "name": "cycletype",
  3781. "in": "query",
  3782. "required": true
  3783. },
  3784. {
  3785. "type": "string",
  3786. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3787. "name": "cycletime",
  3788. "in": "query",
  3789. "required": true
  3790. },
  3791. {
  3792. "type": "integer",
  3793. "description": "币种id(查明细必填)",
  3794. "name": "currencyid",
  3795. "in": "query"
  3796. },
  3797. {
  3798. "type": "integer",
  3799. "description": "品种id(查明细必填)",
  3800. "name": "goodsgroupid",
  3801. "in": "query"
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "商品id(查明细必填)",
  3806. "name": "goodsid",
  3807. "in": "query"
  3808. },
  3809. {
  3810. "type": "integer",
  3811. "description": "买卖方向(查明细必填)",
  3812. "name": "buyorsell",
  3813. "in": "query"
  3814. }
  3815. ],
  3816. "responses": {
  3817. "200": {
  3818. "description": "OK",
  3819. "schema": {
  3820. "type": "array",
  3821. "items": {
  3822. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3823. }
  3824. }
  3825. },
  3826. "500": {
  3827. "description": "Internal Server Error",
  3828. "schema": {
  3829. "$ref": "#/definitions/app.Response"
  3830. }
  3831. }
  3832. }
  3833. }
  3834. },
  3835. "/Ermcp3/QueryAreaStock": {
  3836. "get": {
  3837. "security": [
  3838. {
  3839. "ApiKeyAuth": []
  3840. }
  3841. ],
  3842. "produces": [
  3843. "application/json"
  3844. ],
  3845. "tags": [
  3846. "企业风险管理v3(app)"
  3847. ],
  3848. "summary": "查询机构库存(库存管理/当前库存)",
  3849. "parameters": [
  3850. {
  3851. "type": "integer",
  3852. "description": "用户ID",
  3853. "name": "userid",
  3854. "in": "query",
  3855. "required": true
  3856. }
  3857. ],
  3858. "responses": {
  3859. "200": {
  3860. "description": "OK",
  3861. "schema": {
  3862. "type": "array",
  3863. "items": {
  3864. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3865. }
  3866. }
  3867. },
  3868. "500": {
  3869. "description": "Internal Server Error",
  3870. "schema": {
  3871. "$ref": "#/definitions/app.Response"
  3872. }
  3873. }
  3874. }
  3875. }
  3876. },
  3877. "/Ermcp3/QueryAreaStockApply": {
  3878. "get": {
  3879. "security": [
  3880. {
  3881. "ApiKeyAuth": []
  3882. }
  3883. ],
  3884. "produces": [
  3885. "application/json"
  3886. ],
  3887. "tags": [
  3888. "企业风险管理v3(app)"
  3889. ],
  3890. "summary": "查询库存申请(出入库记录|库存审核)",
  3891. "parameters": [
  3892. {
  3893. "type": "integer",
  3894. "description": "用户ID",
  3895. "name": "userid",
  3896. "in": "query",
  3897. "required": true
  3898. },
  3899. {
  3900. "type": "integer",
  3901. "description": "用户类型 2-机构 7-企业成员",
  3902. "name": "usertype",
  3903. "in": "query"
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "现货商品ID",
  3908. "name": "deliverygoodsid",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "string",
  3913. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3914. "name": "inouttype",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "integer",
  3919. "description": "合同ID",
  3920. "name": "spotcontractid",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "integer",
  3925. "description": "品类ID",
  3926. "name": "wrstandardid",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "品牌ID",
  3932. "name": "spotgoodsbrandid",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "仓库ID",
  3938. "name": "warehouseinfoid",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "string",
  3943. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3944. "name": "applystatus",
  3945. "in": "query"
  3946. }
  3947. ],
  3948. "responses": {
  3949. "200": {
  3950. "description": "OK",
  3951. "schema": {
  3952. "type": "array",
  3953. "items": {
  3954. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3955. }
  3956. }
  3957. },
  3958. "500": {
  3959. "description": "Internal Server Error",
  3960. "schema": {
  3961. "$ref": "#/definitions/app.Response"
  3962. }
  3963. }
  3964. }
  3965. }
  3966. },
  3967. "/Ermcp3/QueryAreaStockApplySum": {
  3968. "get": {
  3969. "security": [
  3970. {
  3971. "ApiKeyAuth": []
  3972. }
  3973. ],
  3974. "produces": [
  3975. "application/json"
  3976. ],
  3977. "tags": [
  3978. "企业风险管理v3(app)"
  3979. ],
  3980. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3981. "parameters": [
  3982. {
  3983. "type": "integer",
  3984. "description": "合同ID",
  3985. "name": "spotcontractid",
  3986. "in": "query",
  3987. "required": true
  3988. }
  3989. ],
  3990. "responses": {
  3991. "200": {
  3992. "description": "OK",
  3993. "schema": {
  3994. "type": "array",
  3995. "items": {
  3996. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3997. }
  3998. }
  3999. },
  4000. "500": {
  4001. "description": "Internal Server Error",
  4002. "schema": {
  4003. "$ref": "#/definitions/app.Response"
  4004. }
  4005. }
  4006. }
  4007. }
  4008. },
  4009. "/Ermcp3/QueryDGFactoryItem": {
  4010. "get": {
  4011. "security": [
  4012. {
  4013. "ApiKeyAuth": []
  4014. }
  4015. ],
  4016. "produces": [
  4017. "application/json"
  4018. ],
  4019. "tags": [
  4020. "企业风险管理v3(app)"
  4021. ],
  4022. "summary": "查询品种要素定义项",
  4023. "parameters": [
  4024. {
  4025. "type": "integer",
  4026. "description": "用户id",
  4027. "name": "userid",
  4028. "in": "query"
  4029. },
  4030. {
  4031. "type": "integer",
  4032. "description": "用户类型 2-机构 7-企业成员",
  4033. "name": "usertype",
  4034. "in": "query"
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4039. "name": "dgfactoryitemid",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "现货品种ID",
  4045. "name": "deliverygoodsid",
  4046. "in": "query"
  4047. },
  4048. {
  4049. "type": "integer",
  4050. "description": "要素项类型",
  4051. "name": "dgfactoryitemtypeid",
  4052. "in": "query"
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "顺序",
  4057. "name": "orderindex",
  4058. "in": "query"
  4059. }
  4060. ],
  4061. "responses": {
  4062. "200": {
  4063. "description": "OK",
  4064. "schema": {
  4065. "type": "array",
  4066. "items": {
  4067. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4068. }
  4069. }
  4070. },
  4071. "500": {
  4072. "description": "Internal Server Error",
  4073. "schema": {
  4074. "$ref": "#/definitions/app.Response"
  4075. }
  4076. }
  4077. }
  4078. }
  4079. },
  4080. "/Ermcp3/QueryDeliveryGoods": {
  4081. "get": {
  4082. "security": [
  4083. {
  4084. "ApiKeyAuth": []
  4085. }
  4086. ],
  4087. "produces": [
  4088. "application/json"
  4089. ],
  4090. "tags": [
  4091. "企业风险管理v3(app)"
  4092. ],
  4093. "summary": "查询现货商品",
  4094. "parameters": [
  4095. {
  4096. "type": "integer",
  4097. "description": "用户id",
  4098. "name": "userid",
  4099. "in": "query",
  4100. "required": true
  4101. },
  4102. {
  4103. "type": "integer",
  4104. "description": "用户类型 2-机构 7-企业成员",
  4105. "name": "usertype",
  4106. "in": "query"
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4111. "name": "excludecfg",
  4112. "in": "query"
  4113. }
  4114. ],
  4115. "responses": {
  4116. "200": {
  4117. "description": "OK",
  4118. "schema": {
  4119. "type": "array",
  4120. "items": {
  4121. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4122. }
  4123. }
  4124. },
  4125. "500": {
  4126. "description": "Internal Server Error",
  4127. "schema": {
  4128. "$ref": "#/definitions/app.Response"
  4129. }
  4130. }
  4131. }
  4132. }
  4133. },
  4134. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4135. "get": {
  4136. "security": [
  4137. {
  4138. "ApiKeyAuth": []
  4139. }
  4140. ],
  4141. "produces": [
  4142. "application/json"
  4143. ],
  4144. "tags": [
  4145. "企业风险管理v3(app)"
  4146. ],
  4147. "summary": "查询现货商品详情",
  4148. "parameters": [
  4149. {
  4150. "type": "integer",
  4151. "description": "用户id",
  4152. "name": "userid",
  4153. "in": "query",
  4154. "required": true
  4155. },
  4156. {
  4157. "type": "integer",
  4158. "description": "用户类型 2-机构 7-企业成员",
  4159. "name": "usertype",
  4160. "in": "query"
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "现货商品id",
  4165. "name": "deliverygoodsid",
  4166. "in": "query"
  4167. }
  4168. ],
  4169. "responses": {
  4170. "200": {
  4171. "description": "OK",
  4172. "schema": {
  4173. "type": "array",
  4174. "items": {
  4175. "$ref": "#/definitions/models.XHDeliveryGoods"
  4176. }
  4177. }
  4178. },
  4179. "500": {
  4180. "description": "Internal Server Error",
  4181. "schema": {
  4182. "$ref": "#/definitions/app.Response"
  4183. }
  4184. }
  4185. }
  4186. }
  4187. },
  4188. "/Ermcp3/QueryExposureDetail": {
  4189. "get": {
  4190. "security": [
  4191. {
  4192. "ApiKeyAuth": []
  4193. }
  4194. ],
  4195. "produces": [
  4196. "application/json"
  4197. ],
  4198. "tags": [
  4199. "企业风险管理v3(app)"
  4200. ],
  4201. "summary": "查询敞口现货明细",
  4202. "parameters": [
  4203. {
  4204. "type": "integer",
  4205. "description": "用户id",
  4206. "name": "userid",
  4207. "in": "query",
  4208. "required": true
  4209. },
  4210. {
  4211. "type": "integer",
  4212. "description": "用户类型 2-机构 7-企业成员",
  4213. "name": "usertype",
  4214. "in": "query"
  4215. },
  4216. {
  4217. "type": "integer",
  4218. "description": "套保商品",
  4219. "name": "middlegoodsid",
  4220. "in": "query",
  4221. "required": true
  4222. }
  4223. ],
  4224. "responses": {
  4225. "200": {
  4226. "description": "OK",
  4227. "schema": {
  4228. "type": "array",
  4229. "items": {
  4230. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4231. }
  4232. }
  4233. },
  4234. "500": {
  4235. "description": "Internal Server Error",
  4236. "schema": {
  4237. "$ref": "#/definitions/app.Response"
  4238. }
  4239. }
  4240. }
  4241. }
  4242. },
  4243. "/Ermcp3/QueryExposureSpot": {
  4244. "get": {
  4245. "security": [
  4246. {
  4247. "ApiKeyAuth": []
  4248. }
  4249. ],
  4250. "produces": [
  4251. "application/json"
  4252. ],
  4253. "tags": [
  4254. "企业风险管理v3(app)"
  4255. ],
  4256. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4257. "parameters": [
  4258. {
  4259. "type": "integer",
  4260. "description": "用户id",
  4261. "name": "userid",
  4262. "in": "query",
  4263. "required": true
  4264. },
  4265. {
  4266. "type": "integer",
  4267. "description": "用户类型 2-机构 7-企业成员",
  4268. "name": "usertype",
  4269. "in": "query"
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4279. }
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/Ermcp3/QueryExposureSpotDetail": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "企业风险管理v3(app)"
  4303. ],
  4304. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "用户id",
  4309. "name": "userid",
  4310. "in": "query",
  4311. "required": true
  4312. },
  4313. {
  4314. "type": "integer",
  4315. "description": "用户类型 2-机构 7-企业成员",
  4316. "name": "usertype",
  4317. "in": "query"
  4318. },
  4319. {
  4320. "type": "integer",
  4321. "description": "现货商品ID",
  4322. "name": "wrstandardid",
  4323. "in": "query",
  4324. "required": true
  4325. }
  4326. ],
  4327. "responses": {
  4328. "200": {
  4329. "description": "OK",
  4330. "schema": {
  4331. "type": "array",
  4332. "items": {
  4333. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4334. }
  4335. }
  4336. },
  4337. "500": {
  4338. "description": "Internal Server Error",
  4339. "schema": {
  4340. "$ref": "#/definitions/app.Response"
  4341. }
  4342. }
  4343. }
  4344. }
  4345. },
  4346. "/Ermcp3/QueryGoodsGroup": {
  4347. "get": {
  4348. "security": [
  4349. {
  4350. "ApiKeyAuth": []
  4351. }
  4352. ],
  4353. "produces": [
  4354. "application/json"
  4355. ],
  4356. "tags": [
  4357. "企业风险管理v3(app)"
  4358. ],
  4359. "summary": "查询期货商品组",
  4360. "parameters": [
  4361. {
  4362. "type": "integer",
  4363. "description": "用户id",
  4364. "name": "userid",
  4365. "in": "query",
  4366. "required": true
  4367. },
  4368. {
  4369. "type": "integer",
  4370. "description": "用户类型 2-机构 7-企业成员",
  4371. "name": "usertype",
  4372. "in": "query"
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "排除套保品中已关联的商品组 1-排除",
  4377. "name": "excludecfg",
  4378. "in": "query"
  4379. }
  4380. ],
  4381. "responses": {
  4382. "200": {
  4383. "description": "OK",
  4384. "schema": {
  4385. "type": "array",
  4386. "items": {
  4387. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4388. }
  4389. }
  4390. },
  4391. "500": {
  4392. "description": "Internal Server Error",
  4393. "schema": {
  4394. "$ref": "#/definitions/app.Response"
  4395. }
  4396. }
  4397. }
  4398. }
  4399. },
  4400. "/Ermcp3/QueryGoodsWrstandard": {
  4401. "get": {
  4402. "security": [
  4403. {
  4404. "ApiKeyAuth": []
  4405. }
  4406. ],
  4407. "produces": [
  4408. "application/json"
  4409. ],
  4410. "tags": [
  4411. "企业风险管理v3(app)"
  4412. ],
  4413. "summary": "查询商品品类",
  4414. "parameters": [
  4415. {
  4416. "type": "integer",
  4417. "description": "用户id",
  4418. "name": "userid",
  4419. "in": "query",
  4420. "required": true
  4421. },
  4422. {
  4423. "type": "integer",
  4424. "description": "用户类型 2-机构 7-企业成员",
  4425. "name": "usertype",
  4426. "in": "query"
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "现货商品id",
  4431. "name": "deliverygoodsid",
  4432. "in": "query"
  4433. }
  4434. ],
  4435. "responses": {
  4436. "200": {
  4437. "description": "OK",
  4438. "schema": {
  4439. "type": "array",
  4440. "items": {
  4441. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4442. }
  4443. }
  4444. },
  4445. "500": {
  4446. "description": "Internal Server Error",
  4447. "schema": {
  4448. "$ref": "#/definitions/app.Response"
  4449. }
  4450. }
  4451. }
  4452. }
  4453. },
  4454. "/Ermcp3/QueryGoodsbrand": {
  4455. "get": {
  4456. "security": [
  4457. {
  4458. "ApiKeyAuth": []
  4459. }
  4460. ],
  4461. "produces": [
  4462. "application/json"
  4463. ],
  4464. "tags": [
  4465. "企业风险管理v3(app)"
  4466. ],
  4467. "summary": "查询商品品牌",
  4468. "parameters": [
  4469. {
  4470. "type": "integer",
  4471. "description": "用户id",
  4472. "name": "userid",
  4473. "in": "query",
  4474. "required": true
  4475. },
  4476. {
  4477. "type": "integer",
  4478. "description": "用户类型 2-机构 7-企业成员",
  4479. "name": "usertype",
  4480. "in": "query"
  4481. }
  4482. ],
  4483. "responses": {
  4484. "200": {
  4485. "description": "OK",
  4486. "schema": {
  4487. "type": "array",
  4488. "items": {
  4489. "$ref": "#/definitions/models.Ermcp3Brand"
  4490. }
  4491. }
  4492. },
  4493. "500": {
  4494. "description": "Internal Server Error",
  4495. "schema": {
  4496. "$ref": "#/definitions/app.Response"
  4497. }
  4498. }
  4499. }
  4500. }
  4501. },
  4502. "/Ermcp3/QueryHedgePlan": {
  4503. "get": {
  4504. "security": [
  4505. {
  4506. "ApiKeyAuth": []
  4507. }
  4508. ],
  4509. "produces": [
  4510. "application/json"
  4511. ],
  4512. "tags": [
  4513. "企业风险管理v3(app)"
  4514. ],
  4515. "summary": "查询套保计划",
  4516. "parameters": [
  4517. {
  4518. "type": "integer",
  4519. "description": "用户ID",
  4520. "name": "userid",
  4521. "in": "query",
  4522. "required": true
  4523. },
  4524. {
  4525. "type": "integer",
  4526. "description": "用户类型 2-机构 7-企业成员",
  4527. "name": "usertype",
  4528. "in": "query"
  4529. },
  4530. {
  4531. "type": "string",
  4532. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4533. "name": "hedgeplanstatus",
  4534. "in": "query",
  4535. "required": true
  4536. }
  4537. ],
  4538. "responses": {
  4539. "200": {
  4540. "description": "OK",
  4541. "schema": {
  4542. "type": "array",
  4543. "items": {
  4544. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4545. }
  4546. }
  4547. },
  4548. "500": {
  4549. "description": "Internal Server Error",
  4550. "schema": {
  4551. "$ref": "#/definitions/app.Response"
  4552. }
  4553. }
  4554. }
  4555. }
  4556. },
  4557. "/Ermcp3/QueryInnerTradeLink": {
  4558. "get": {
  4559. "security": [
  4560. {
  4561. "ApiKeyAuth": []
  4562. }
  4563. ],
  4564. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4565. "produces": [
  4566. "application/json"
  4567. ],
  4568. "tags": [
  4569. "企业风险管理v3(app)"
  4570. ],
  4571. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4572. "parameters": [
  4573. {
  4574. "type": "integer",
  4575. "description": "外部成交单号",
  4576. "name": "outtradeid",
  4577. "in": "query",
  4578. "required": true
  4579. }
  4580. ],
  4581. "responses": {
  4582. "200": {
  4583. "description": "OK",
  4584. "schema": {
  4585. "type": "array",
  4586. "items": {
  4587. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4588. }
  4589. }
  4590. },
  4591. "500": {
  4592. "description": "Internal Server Error",
  4593. "schema": {
  4594. "$ref": "#/definitions/app.Response"
  4595. }
  4596. }
  4597. }
  4598. }
  4599. },
  4600. "/Ermcp3/QueryMiddleGoodsDetail": {
  4601. "get": {
  4602. "security": [
  4603. {
  4604. "ApiKeyAuth": []
  4605. }
  4606. ],
  4607. "produces": [
  4608. "application/json"
  4609. ],
  4610. "tags": [
  4611. "企业风险管理v3(app)"
  4612. ],
  4613. "summary": "查询套保品种详情(套保品种/商品详情)",
  4614. "parameters": [
  4615. {
  4616. "type": "integer",
  4617. "description": "用户id",
  4618. "name": "userid",
  4619. "in": "query",
  4620. "required": true
  4621. },
  4622. {
  4623. "type": "integer",
  4624. "description": "用户类型 2-机构 7-企业成员",
  4625. "name": "usertype",
  4626. "in": "query"
  4627. },
  4628. {
  4629. "type": "integer",
  4630. "description": "套保品种id",
  4631. "name": "middlegoodsid",
  4632. "in": "query"
  4633. }
  4634. ],
  4635. "responses": {
  4636. "200": {
  4637. "description": "OK",
  4638. "schema": {
  4639. "type": "array",
  4640. "items": {
  4641. "$ref": "#/definitions/models.TBMiddleGoods"
  4642. }
  4643. }
  4644. },
  4645. "500": {
  4646. "description": "Internal Server Error",
  4647. "schema": {
  4648. "$ref": "#/definitions/app.Response"
  4649. }
  4650. }
  4651. }
  4652. }
  4653. },
  4654. "/Ermcp3/QueryOutTradeLink": {
  4655. "get": {
  4656. "security": [
  4657. {
  4658. "ApiKeyAuth": []
  4659. }
  4660. ],
  4661. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4662. "produces": [
  4663. "application/json"
  4664. ],
  4665. "tags": [
  4666. "企业风险管理v3(app)"
  4667. ],
  4668. "summary": "查询外部成交单关联",
  4669. "parameters": [
  4670. {
  4671. "type": "integer",
  4672. "description": "用户ID(填登录用户的userid)",
  4673. "name": "userid",
  4674. "in": "query",
  4675. "required": true
  4676. },
  4677. {
  4678. "type": "string",
  4679. "description": "外部订单号(模糊匹配)",
  4680. "name": "outtradeid",
  4681. "in": "query"
  4682. },
  4683. {
  4684. "type": "string",
  4685. "description": "合约名称/代码(模糊匹配)",
  4686. "name": "goodsname",
  4687. "in": "query"
  4688. },
  4689. {
  4690. "type": "integer",
  4691. "description": "关联状态 0-未关联 1-已关联",
  4692. "name": "hasinnerorder",
  4693. "in": "query"
  4694. }
  4695. ],
  4696. "responses": {
  4697. "200": {
  4698. "description": "OK",
  4699. "schema": {
  4700. "type": "array",
  4701. "items": {
  4702. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4703. }
  4704. }
  4705. },
  4706. "500": {
  4707. "description": "Internal Server Error",
  4708. "schema": {
  4709. "$ref": "#/definitions/app.Response"
  4710. }
  4711. }
  4712. }
  4713. }
  4714. },
  4715. "/Ermcp3/QueryPaAreaAuditCfg": {
  4716. "get": {
  4717. "security": [
  4718. {
  4719. "ApiKeyAuth": []
  4720. }
  4721. ],
  4722. "produces": [
  4723. "application/json"
  4724. ],
  4725. "tags": [
  4726. "企业风险管理v3(app)"
  4727. ],
  4728. "summary": "查询审核设置",
  4729. "parameters": [
  4730. {
  4731. "type": "integer",
  4732. "description": "用户id",
  4733. "name": "userid",
  4734. "in": "query",
  4735. "required": true
  4736. }
  4737. ],
  4738. "responses": {
  4739. "200": {
  4740. "description": "OK",
  4741. "schema": {
  4742. "type": "array",
  4743. "items": {
  4744. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4745. }
  4746. }
  4747. },
  4748. "500": {
  4749. "description": "Internal Server Error",
  4750. "schema": {
  4751. "$ref": "#/definitions/app.Response"
  4752. }
  4753. }
  4754. }
  4755. }
  4756. },
  4757. "/Ermcp3/QueryPaAreaSubject": {
  4758. "get": {
  4759. "security": [
  4760. {
  4761. "ApiKeyAuth": []
  4762. }
  4763. ],
  4764. "produces": [
  4765. "application/json"
  4766. ],
  4767. "tags": [
  4768. "企业风险管理v3(app)"
  4769. ],
  4770. "summary": "查询交易主体",
  4771. "parameters": [
  4772. {
  4773. "type": "integer",
  4774. "description": "用户id",
  4775. "name": "userid",
  4776. "in": "query",
  4777. "required": true
  4778. },
  4779. {
  4780. "type": "integer",
  4781. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4782. "name": "subjectid",
  4783. "in": "query"
  4784. },
  4785. {
  4786. "type": "integer",
  4787. "description": "主体类型 - 1:交易主体 2:业务部门",
  4788. "name": "subjecttype",
  4789. "in": "query"
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "主体状态 - 1:正常 2: 停用",
  4794. "name": "subjectstatus",
  4795. "in": "query"
  4796. }
  4797. ],
  4798. "responses": {
  4799. "200": {
  4800. "description": "OK",
  4801. "schema": {
  4802. "type": "array",
  4803. "items": {
  4804. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4805. }
  4806. }
  4807. },
  4808. "500": {
  4809. "description": "Internal Server Error",
  4810. "schema": {
  4811. "$ref": "#/definitions/app.Response"
  4812. }
  4813. }
  4814. }
  4815. }
  4816. },
  4817. "/Ermcp3/QueryPaTradeLink": {
  4818. "get": {
  4819. "security": [
  4820. {
  4821. "ApiKeyAuth": []
  4822. }
  4823. ],
  4824. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4825. "produces": [
  4826. "application/json"
  4827. ],
  4828. "tags": [
  4829. "企业风险管理v3(app)"
  4830. ],
  4831. "summary": "查询期现单据关联",
  4832. "parameters": [
  4833. {
  4834. "type": "integer",
  4835. "description": "用户ID",
  4836. "name": "userid",
  4837. "in": "query",
  4838. "required": true
  4839. }
  4840. ],
  4841. "responses": {
  4842. "200": {
  4843. "description": "OK",
  4844. "schema": {
  4845. "type": "array",
  4846. "items": {
  4847. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4848. }
  4849. }
  4850. },
  4851. "500": {
  4852. "description": "Internal Server Error",
  4853. "schema": {
  4854. "$ref": "#/definitions/app.Response"
  4855. }
  4856. }
  4857. }
  4858. }
  4859. },
  4860. "/Ermcp3/QueryPaTradeLinkDetail": {
  4861. "get": {
  4862. "security": [
  4863. {
  4864. "ApiKeyAuth": []
  4865. }
  4866. ],
  4867. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4868. "produces": [
  4869. "application/json"
  4870. ],
  4871. "tags": [
  4872. "企业风险管理v3(app)"
  4873. ],
  4874. "summary": "查询期现关联记录",
  4875. "parameters": [
  4876. {
  4877. "type": "integer",
  4878. "description": "用户ID(填登录用户的userid)",
  4879. "name": "userid",
  4880. "in": "query",
  4881. "required": true
  4882. },
  4883. {
  4884. "type": "string",
  4885. "description": "期货订单号(模糊匹配)",
  4886. "name": "tradeid",
  4887. "in": "query"
  4888. },
  4889. {
  4890. "type": "string",
  4891. "description": "现货编号(模糊匹配)",
  4892. "name": "contractno",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "string",
  4897. "description": "期货账户(模糊匹配)",
  4898. "name": "taname",
  4899. "in": "query"
  4900. }
  4901. ],
  4902. "responses": {
  4903. "200": {
  4904. "description": "OK",
  4905. "schema": {
  4906. "type": "array",
  4907. "items": {
  4908. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4909. }
  4910. }
  4911. },
  4912. "500": {
  4913. "description": "Internal Server Error",
  4914. "schema": {
  4915. "$ref": "#/definitions/app.Response"
  4916. }
  4917. }
  4918. }
  4919. }
  4920. },
  4921. "/Ermcp3/QueryParamChangeApp": {
  4922. "get": {
  4923. "security": [
  4924. {
  4925. "ApiKeyAuth": []
  4926. }
  4927. ],
  4928. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4929. "produces": [
  4930. "application/json"
  4931. ],
  4932. "tags": [
  4933. "企业风险管理v3(app)"
  4934. ],
  4935. "summary": "查询现货商品参数变更申请(流水)",
  4936. "parameters": [
  4937. {
  4938. "type": "integer",
  4939. "description": "用户ID",
  4940. "name": "userid",
  4941. "in": "query",
  4942. "required": true
  4943. },
  4944. {
  4945. "type": "integer",
  4946. "description": "现货品种id",
  4947. "name": "deliverygoodsid",
  4948. "in": "query"
  4949. },
  4950. {
  4951. "type": "integer",
  4952. "description": "现货商品id",
  4953. "name": "wrstandardid",
  4954. "in": "query"
  4955. },
  4956. {
  4957. "type": "integer",
  4958. "description": "套保商品id",
  4959. "name": "middlegoodsid",
  4960. "in": "query"
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "操作类型 1:新增 2:修改",
  4965. "name": "operatetype",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4971. "name": "paramchangetype",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "string",
  4976. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4977. "name": "ftstatus",
  4978. "in": "query"
  4979. }
  4980. ],
  4981. "responses": {
  4982. "200": {
  4983. "description": "OK",
  4984. "schema": {
  4985. "type": "array",
  4986. "items": {
  4987. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  4988. }
  4989. }
  4990. },
  4991. "500": {
  4992. "description": "Internal Server Error",
  4993. "schema": {
  4994. "$ref": "#/definitions/app.Response"
  4995. }
  4996. }
  4997. }
  4998. }
  4999. },
  5000. "/Ermcp3/QueryRootUserAccount": {
  5001. "get": {
  5002. "security": [
  5003. {
  5004. "ApiKeyAuth": []
  5005. }
  5006. ],
  5007. "produces": [
  5008. "application/json"
  5009. ],
  5010. "tags": [
  5011. "企业风险管理v3(app)"
  5012. ],
  5013. "summary": "查询顶级用户信息",
  5014. "parameters": [
  5015. {
  5016. "type": "integer",
  5017. "description": "用户ID",
  5018. "name": "userid",
  5019. "in": "query",
  5020. "required": true
  5021. }
  5022. ],
  5023. "responses": {
  5024. "200": {
  5025. "description": "OK",
  5026. "schema": {
  5027. "type": "array",
  5028. "items": {
  5029. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5030. }
  5031. }
  5032. },
  5033. "500": {
  5034. "description": "Internal Server Error",
  5035. "schema": {
  5036. "$ref": "#/definitions/app.Response"
  5037. }
  5038. }
  5039. }
  5040. }
  5041. },
  5042. "/Ermcp3/QuerySCMiddleGoods": {
  5043. "get": {
  5044. "security": [
  5045. {
  5046. "ApiKeyAuth": []
  5047. }
  5048. ],
  5049. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5050. "produces": [
  5051. "application/json"
  5052. ],
  5053. "tags": [
  5054. "企业风险管理v3(app)"
  5055. ],
  5056. "summary": "查询现货订单",
  5057. "parameters": [
  5058. {
  5059. "type": "integer",
  5060. "description": "用户ID(填登录用户的userid)",
  5061. "name": "userid",
  5062. "in": "query",
  5063. "required": true
  5064. },
  5065. {
  5066. "type": "integer",
  5067. "description": "买卖方向 0-买 1-卖",
  5068. "name": "buyorsell",
  5069. "in": "query",
  5070. "required": true
  5071. },
  5072. {
  5073. "type": "integer",
  5074. "description": "商品组id",
  5075. "name": "goodsgroupid",
  5076. "in": "query",
  5077. "required": true
  5078. },
  5079. {
  5080. "type": "string",
  5081. "description": "现货编号(模糊匹配)",
  5082. "name": "contractno",
  5083. "in": "query"
  5084. },
  5085. {
  5086. "type": "string",
  5087. "description": "对手方(模糊匹配)",
  5088. "name": "customername",
  5089. "in": "query"
  5090. },
  5091. {
  5092. "type": "string",
  5093. "description": "现货商品名称(模糊匹配)",
  5094. "name": "wrstandardname",
  5095. "in": "query"
  5096. }
  5097. ],
  5098. "responses": {
  5099. "200": {
  5100. "description": "OK",
  5101. "schema": {
  5102. "type": "array",
  5103. "items": {
  5104. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5105. }
  5106. }
  5107. },
  5108. "500": {
  5109. "description": "Internal Server Error",
  5110. "schema": {
  5111. "$ref": "#/definitions/app.Response"
  5112. }
  5113. }
  5114. }
  5115. }
  5116. },
  5117. "/Ermcp3/QuerySpotContract": {
  5118. "get": {
  5119. "security": [
  5120. {
  5121. "ApiKeyAuth": []
  5122. }
  5123. ],
  5124. "produces": [
  5125. "application/json"
  5126. ],
  5127. "tags": [
  5128. "企业风险管理v3(app)"
  5129. ],
  5130. "summary": "查询现货合同",
  5131. "parameters": [
  5132. {
  5133. "type": "integer",
  5134. "description": "用户id(当指定contractid, userid可不填)",
  5135. "name": "userid",
  5136. "in": "query",
  5137. "required": true
  5138. },
  5139. {
  5140. "type": "integer",
  5141. "description": "用户类型 2-机构 7-企业成员",
  5142. "name": "usertype",
  5143. "in": "query"
  5144. },
  5145. {
  5146. "type": "integer",
  5147. "description": "合同类型 1-采购, -1-销售",
  5148. "name": "contracttype",
  5149. "in": "query"
  5150. },
  5151. {
  5152. "type": "integer",
  5153. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)",
  5154. "name": "querytype",
  5155. "in": "query",
  5156. "required": true
  5157. },
  5158. {
  5159. "type": "string",
  5160. "description": "合同ID(SpotContractId)",
  5161. "name": "contractid",
  5162. "in": "query"
  5163. }
  5164. ],
  5165. "responses": {
  5166. "200": {
  5167. "description": "OK",
  5168. "schema": {
  5169. "type": "array",
  5170. "items": {
  5171. "$ref": "#/definitions/models.Ermcp3Contract"
  5172. }
  5173. }
  5174. },
  5175. "500": {
  5176. "description": "Internal Server Error",
  5177. "schema": {
  5178. "$ref": "#/definitions/app.Response"
  5179. }
  5180. }
  5181. }
  5182. }
  5183. },
  5184. "/Ermcp3/QuerySpotContractBS": {
  5185. "get": {
  5186. "security": [
  5187. {
  5188. "ApiKeyAuth": []
  5189. }
  5190. ],
  5191. "produces": [
  5192. "application/json"
  5193. ],
  5194. "tags": [
  5195. "企业风险管理v3(app)"
  5196. ],
  5197. "summary": "查询合同(采购/销售)",
  5198. "parameters": [
  5199. {
  5200. "type": "integer",
  5201. "description": "用户id",
  5202. "name": "userid",
  5203. "in": "query",
  5204. "required": true
  5205. },
  5206. {
  5207. "type": "integer",
  5208. "description": "用户类型 2-机构 7-企业成员",
  5209. "name": "usertype",
  5210. "in": "query"
  5211. },
  5212. {
  5213. "type": "integer",
  5214. "description": "合同类型 1-采购, -1-销售",
  5215. "name": "contracttype",
  5216. "in": "query",
  5217. "required": true
  5218. },
  5219. {
  5220. "type": "integer",
  5221. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5222. "name": "querytype",
  5223. "in": "query",
  5224. "required": true
  5225. },
  5226. {
  5227. "type": "string",
  5228. "description": "合同ID(SpotContractId)",
  5229. "name": "contractid",
  5230. "in": "query"
  5231. }
  5232. ],
  5233. "responses": {
  5234. "200": {
  5235. "description": "OK",
  5236. "schema": {
  5237. "type": "array",
  5238. "items": {
  5239. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5240. }
  5241. }
  5242. },
  5243. "500": {
  5244. "description": "Internal Server Error",
  5245. "schema": {
  5246. "$ref": "#/definitions/app.Response"
  5247. }
  5248. }
  5249. }
  5250. }
  5251. },
  5252. "/Ermcp3/QuerySpotGoodsPrice": {
  5253. "get": {
  5254. "security": [
  5255. {
  5256. "ApiKeyAuth": []
  5257. }
  5258. ],
  5259. "produces": [
  5260. "application/json"
  5261. ],
  5262. "tags": [
  5263. "企业风险管理v3(app)"
  5264. ],
  5265. "summary": "查询现货市价(现货市价)",
  5266. "parameters": [
  5267. {
  5268. "type": "integer",
  5269. "description": "用户ID",
  5270. "name": "userid",
  5271. "in": "query",
  5272. "required": true
  5273. }
  5274. ],
  5275. "responses": {
  5276. "200": {
  5277. "description": "OK",
  5278. "schema": {
  5279. "type": "array",
  5280. "items": {
  5281. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5282. }
  5283. }
  5284. },
  5285. "500": {
  5286. "description": "Internal Server Error",
  5287. "schema": {
  5288. "$ref": "#/definitions/app.Response"
  5289. }
  5290. }
  5291. }
  5292. }
  5293. },
  5294. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5295. "get": {
  5296. "security": [
  5297. {
  5298. "ApiKeyAuth": []
  5299. }
  5300. ],
  5301. "produces": [
  5302. "application/json"
  5303. ],
  5304. "tags": [
  5305. "企业风险管理v3(app)"
  5306. ],
  5307. "summary": "查询现货市价详情(现货市价/详情)",
  5308. "parameters": [
  5309. {
  5310. "type": "integer",
  5311. "description": "用户ID",
  5312. "name": "userid",
  5313. "in": "query",
  5314. "required": true
  5315. },
  5316. {
  5317. "type": "integer",
  5318. "description": "现货商品ID",
  5319. "name": "deliverygoodsid",
  5320. "in": "query",
  5321. "required": true
  5322. },
  5323. {
  5324. "type": "integer",
  5325. "description": "品牌ID",
  5326. "name": "brandid",
  5327. "in": "query"
  5328. },
  5329. {
  5330. "type": "integer",
  5331. "description": "品类ID",
  5332. "name": "wrstandardid",
  5333. "in": "query"
  5334. }
  5335. ],
  5336. "responses": {
  5337. "200": {
  5338. "description": "OK",
  5339. "schema": {
  5340. "type": "array",
  5341. "items": {
  5342. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5343. }
  5344. }
  5345. },
  5346. "500": {
  5347. "description": "Internal Server Error",
  5348. "schema": {
  5349. "$ref": "#/definitions/app.Response"
  5350. }
  5351. }
  5352. }
  5353. }
  5354. },
  5355. "/Ermcp3/QuerySubTaaccount": {
  5356. "get": {
  5357. "security": [
  5358. {
  5359. "ApiKeyAuth": []
  5360. }
  5361. ],
  5362. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5363. "produces": [
  5364. "application/json"
  5365. ],
  5366. "tags": [
  5367. "企业风险管理v3(app)"
  5368. ],
  5369. "summary": "查询期货子账户",
  5370. "parameters": [
  5371. {
  5372. "type": "integer",
  5373. "description": "母账号id",
  5374. "name": "parentaccountid",
  5375. "in": "query"
  5376. },
  5377. {
  5378. "type": "string",
  5379. "description": "母账号代码",
  5380. "name": "parentaccountcode",
  5381. "in": "query"
  5382. }
  5383. ],
  5384. "responses": {
  5385. "200": {
  5386. "description": "OK",
  5387. "schema": {
  5388. "type": "array",
  5389. "items": {
  5390. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5391. }
  5392. }
  5393. },
  5394. "500": {
  5395. "description": "Internal Server Error",
  5396. "schema": {
  5397. "$ref": "#/definitions/app.Response"
  5398. }
  5399. }
  5400. }
  5401. }
  5402. },
  5403. "/Erms2/QueryArbitrageStrategy": {
  5404. "get": {
  5405. "security": [
  5406. {
  5407. "ApiKeyAuth": []
  5408. }
  5409. ],
  5410. "produces": [
  5411. "application/json"
  5412. ],
  5413. "tags": [
  5414. "风险管理"
  5415. ],
  5416. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5417. "parameters": [
  5418. {
  5419. "type": "integer",
  5420. "description": "账户ID",
  5421. "name": "userid",
  5422. "in": "query",
  5423. "required": true
  5424. },
  5425. {
  5426. "type": "string",
  5427. "description": "商品组ID(品种ID)",
  5428. "name": "goodsgroupid",
  5429. "in": "query"
  5430. }
  5431. ],
  5432. "responses": {
  5433. "200": {
  5434. "description": "OK",
  5435. "schema": {
  5436. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5437. }
  5438. },
  5439. "500": {
  5440. "description": "Internal Server Error",
  5441. "schema": {
  5442. "$ref": "#/definitions/app.Response"
  5443. }
  5444. }
  5445. }
  5446. }
  5447. },
  5448. "/Erms2/QueryInnerTradeDetail": {
  5449. "get": {
  5450. "security": [
  5451. {
  5452. "ApiKeyAuth": []
  5453. }
  5454. ],
  5455. "produces": [
  5456. "application/json"
  5457. ],
  5458. "tags": [
  5459. "风险管理"
  5460. ],
  5461. "summary": "查询内部成交单信息",
  5462. "parameters": [
  5463. {
  5464. "type": "integer",
  5465. "description": "资金账户",
  5466. "name": "accountid",
  5467. "in": "query",
  5468. "required": true
  5469. }
  5470. ],
  5471. "responses": {
  5472. "200": {
  5473. "description": "OK",
  5474. "schema": {
  5475. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5476. }
  5477. },
  5478. "500": {
  5479. "description": "Internal Server Error",
  5480. "schema": {
  5481. "$ref": "#/definitions/app.Response"
  5482. }
  5483. }
  5484. }
  5485. }
  5486. },
  5487. "/Erms2/QuerySpotContract": {
  5488. "get": {
  5489. "security": [
  5490. {
  5491. "ApiKeyAuth": []
  5492. }
  5493. ],
  5494. "produces": [
  5495. "application/json"
  5496. ],
  5497. "tags": [
  5498. "风险管理"
  5499. ],
  5500. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5501. "parameters": [
  5502. {
  5503. "type": "integer",
  5504. "description": "策略申请ID",
  5505. "name": "asapplyid",
  5506. "in": "query",
  5507. "required": true
  5508. },
  5509. {
  5510. "type": "integer",
  5511. "description": "现货合同ID",
  5512. "name": "spotcontractid",
  5513. "in": "query"
  5514. }
  5515. ],
  5516. "responses": {
  5517. "200": {
  5518. "description": "OK",
  5519. "schema": {
  5520. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5521. }
  5522. },
  5523. "500": {
  5524. "description": "Internal Server Error",
  5525. "schema": {
  5526. "$ref": "#/definitions/app.Response"
  5527. }
  5528. }
  5529. }
  5530. }
  5531. },
  5532. "/Erms3/AddErms2ASApply": {
  5533. "post": {
  5534. "security": [
  5535. {
  5536. "ApiKeyAuth": []
  5537. }
  5538. ],
  5539. "produces": [
  5540. "application/json"
  5541. ],
  5542. "tags": [
  5543. "风险管理v3"
  5544. ],
  5545. "summary": "新增期现套利业务申请",
  5546. "parameters": [
  5547. {
  5548. "description": "申请参数",
  5549. "name": "jsonBody",
  5550. "in": "body",
  5551. "required": true,
  5552. "schema": {
  5553. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5554. }
  5555. }
  5556. ],
  5557. "responses": {
  5558. "200": {
  5559. "description": "OK",
  5560. "schema": {
  5561. "$ref": "#/definitions/app.Response"
  5562. }
  5563. },
  5564. "500": {
  5565. "description": "Internal Server Error",
  5566. "schema": {
  5567. "$ref": "#/definitions/app.Response"
  5568. }
  5569. }
  5570. }
  5571. }
  5572. },
  5573. "/Erms3/AddErms2SpotTradeApply": {
  5574. "post": {
  5575. "security": [
  5576. {
  5577. "ApiKeyAuth": []
  5578. }
  5579. ],
  5580. "produces": [
  5581. "application/json"
  5582. ],
  5583. "tags": [
  5584. "风险管理v3"
  5585. ],
  5586. "summary": "新增现货贸易业务申请",
  5587. "parameters": [
  5588. {
  5589. "description": "申请参数",
  5590. "name": "jsonBody",
  5591. "in": "body",
  5592. "required": true,
  5593. "schema": {
  5594. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5595. }
  5596. }
  5597. ],
  5598. "responses": {
  5599. "200": {
  5600. "description": "OK",
  5601. "schema": {
  5602. "$ref": "#/definitions/app.Response"
  5603. }
  5604. },
  5605. "500": {
  5606. "description": "Internal Server Error",
  5607. "schema": {
  5608. "$ref": "#/definitions/app.Response"
  5609. }
  5610. }
  5611. }
  5612. }
  5613. },
  5614. "/Erms3/AddSpotContractApply": {
  5615. "post": {
  5616. "security": [
  5617. {
  5618. "ApiKeyAuth": []
  5619. }
  5620. ],
  5621. "produces": [
  5622. "application/json"
  5623. ],
  5624. "tags": [
  5625. "风险管理v3"
  5626. ],
  5627. "summary": "新增现货合同申请",
  5628. "parameters": [
  5629. {
  5630. "description": "申请参数",
  5631. "name": "jsonBody",
  5632. "in": "body",
  5633. "required": true,
  5634. "schema": {
  5635. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5636. }
  5637. }
  5638. ],
  5639. "responses": {
  5640. "200": {
  5641. "description": "OK",
  5642. "schema": {
  5643. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5644. }
  5645. },
  5646. "500": {
  5647. "description": "Internal Server Error",
  5648. "schema": {
  5649. "$ref": "#/definitions/app.Response"
  5650. }
  5651. }
  5652. }
  5653. }
  5654. },
  5655. "/Erms3/AddUserInfoApply": {
  5656. "post": {
  5657. "security": [
  5658. {
  5659. "ApiKeyAuth": []
  5660. }
  5661. ],
  5662. "produces": [
  5663. "application/json"
  5664. ],
  5665. "tags": [
  5666. "风险管理v3"
  5667. ],
  5668. "summary": "新增客户申请",
  5669. "parameters": [
  5670. {
  5671. "description": "用户信息",
  5672. "name": "jsonBody",
  5673. "in": "body",
  5674. "required": true,
  5675. "schema": {
  5676. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5677. }
  5678. }
  5679. ],
  5680. "responses": {
  5681. "200": {
  5682. "description": "OK",
  5683. "schema": {
  5684. "$ref": "#/definitions/app.Response"
  5685. }
  5686. },
  5687. "500": {
  5688. "description": "Internal Server Error",
  5689. "schema": {
  5690. "$ref": "#/definitions/app.Response"
  5691. }
  5692. }
  5693. }
  5694. }
  5695. },
  5696. "/Erms3/DeleteUserInfoApply": {
  5697. "get": {
  5698. "security": [
  5699. {
  5700. "ApiKeyAuth": []
  5701. }
  5702. ],
  5703. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5704. "produces": [
  5705. "application/json"
  5706. ],
  5707. "tags": [
  5708. "风险管理v3"
  5709. ],
  5710. "summary": "删除客户申请",
  5711. "parameters": [
  5712. {
  5713. "type": "integer",
  5714. "description": "用户ID",
  5715. "name": "userID",
  5716. "in": "query",
  5717. "required": true
  5718. }
  5719. ],
  5720. "responses": {
  5721. "200": {
  5722. "description": "OK",
  5723. "schema": {
  5724. "$ref": "#/definitions/app.Response"
  5725. }
  5726. },
  5727. "500": {
  5728. "description": "Internal Server Error",
  5729. "schema": {
  5730. "$ref": "#/definitions/app.Response"
  5731. }
  5732. }
  5733. }
  5734. }
  5735. },
  5736. "/Erms3/ModifyUserInfoApply": {
  5737. "post": {
  5738. "security": [
  5739. {
  5740. "ApiKeyAuth": []
  5741. }
  5742. ],
  5743. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5744. "produces": [
  5745. "application/json"
  5746. ],
  5747. "tags": [
  5748. "风险管理v3"
  5749. ],
  5750. "summary": "修改客户申请",
  5751. "parameters": [
  5752. {
  5753. "description": "用户信息",
  5754. "name": "jsonBody",
  5755. "in": "body",
  5756. "required": true,
  5757. "schema": {
  5758. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5759. }
  5760. }
  5761. ],
  5762. "responses": {
  5763. "200": {
  5764. "description": "OK",
  5765. "schema": {
  5766. "$ref": "#/definitions/app.Response"
  5767. }
  5768. },
  5769. "500": {
  5770. "description": "Internal Server Error",
  5771. "schema": {
  5772. "$ref": "#/definitions/app.Response"
  5773. }
  5774. }
  5775. }
  5776. }
  5777. },
  5778. "/Erms3/QueryBusinessInfo": {
  5779. "get": {
  5780. "security": [
  5781. {
  5782. "ApiKeyAuth": []
  5783. }
  5784. ],
  5785. "produces": [
  5786. "application/json"
  5787. ],
  5788. "tags": [
  5789. "风险管理v3"
  5790. ],
  5791. "summary": "查询业务表单数据",
  5792. "parameters": [
  5793. {
  5794. "type": "string",
  5795. "description": "资金账号ID列表,用逗号分隔",
  5796. "name": "accountids",
  5797. "in": "query",
  5798. "required": true
  5799. },
  5800. {
  5801. "type": "integer",
  5802. "description": "状态,0为未结束 1为已结束",
  5803. "name": "status",
  5804. "in": "query",
  5805. "required": true
  5806. }
  5807. ],
  5808. "responses": {
  5809. "200": {
  5810. "description": "OK",
  5811. "schema": {
  5812. "type": "array",
  5813. "items": {
  5814. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5815. }
  5816. }
  5817. },
  5818. "500": {
  5819. "description": "Internal Server Error",
  5820. "schema": {
  5821. "$ref": "#/definitions/app.Response"
  5822. }
  5823. }
  5824. }
  5825. }
  5826. },
  5827. "/Erms3/QueryPendingAuditContract": {
  5828. "get": {
  5829. "security": [
  5830. {
  5831. "ApiKeyAuth": []
  5832. }
  5833. ],
  5834. "produces": [
  5835. "application/json"
  5836. ],
  5837. "tags": [
  5838. "风险管理v3"
  5839. ],
  5840. "summary": "查询待审核合同",
  5841. "parameters": [
  5842. {
  5843. "type": "string",
  5844. "description": "资金账号ID列表,逗号隔开",
  5845. "name": "accountids",
  5846. "in": "query",
  5847. "required": true
  5848. },
  5849. {
  5850. "type": "integer",
  5851. "description": "合同类型 1-采购 -1-销售",
  5852. "name": "contracttype",
  5853. "in": "query",
  5854. "required": true
  5855. },
  5856. {
  5857. "type": "integer",
  5858. "description": "合同模式 1-普通 2-回购",
  5859. "name": "contractmode",
  5860. "in": "query",
  5861. "required": true
  5862. }
  5863. ],
  5864. "responses": {
  5865. "200": {
  5866. "description": "OK",
  5867. "schema": {
  5868. "type": "array",
  5869. "items": {
  5870. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5871. }
  5872. }
  5873. },
  5874. "500": {
  5875. "description": "Internal Server Error",
  5876. "schema": {
  5877. "$ref": "#/definitions/app.Response"
  5878. }
  5879. }
  5880. }
  5881. }
  5882. },
  5883. "/Erms3/QueryPendingBusiness": {
  5884. "get": {
  5885. "security": [
  5886. {
  5887. "ApiKeyAuth": []
  5888. }
  5889. ],
  5890. "produces": [
  5891. "application/json"
  5892. ],
  5893. "tags": [
  5894. "风险管理v3"
  5895. ],
  5896. "summary": "查询待审核基差贸易业务",
  5897. "parameters": [
  5898. {
  5899. "type": "string",
  5900. "description": "资金账号ID列表,逗号隔开",
  5901. "name": "accountids",
  5902. "in": "query",
  5903. "required": true
  5904. }
  5905. ],
  5906. "responses": {
  5907. "200": {
  5908. "description": "OK",
  5909. "schema": {
  5910. "type": "array",
  5911. "items": {
  5912. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5913. }
  5914. }
  5915. },
  5916. "500": {
  5917. "description": "Internal Server Error",
  5918. "schema": {
  5919. "$ref": "#/definitions/app.Response"
  5920. }
  5921. }
  5922. }
  5923. }
  5924. },
  5925. "/Erms3/QuerySpotContractAppleForm": {
  5926. "get": {
  5927. "security": [
  5928. {
  5929. "ApiKeyAuth": []
  5930. }
  5931. ],
  5932. "produces": [
  5933. "application/json"
  5934. ],
  5935. "tags": [
  5936. "风险管理v3"
  5937. ],
  5938. "summary": "查询合同申请表单数据",
  5939. "parameters": [
  5940. {
  5941. "type": "integer",
  5942. "description": "登录账号",
  5943. "name": "loginID",
  5944. "in": "query",
  5945. "required": true
  5946. }
  5947. ],
  5948. "responses": {
  5949. "200": {
  5950. "description": "OK",
  5951. "schema": {
  5952. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5953. }
  5954. },
  5955. "500": {
  5956. "description": "Internal Server Error",
  5957. "schema": {
  5958. "$ref": "#/definitions/app.Response"
  5959. }
  5960. }
  5961. }
  5962. }
  5963. },
  5964. "/Erms3/QuerySpotContractDetail": {
  5965. "get": {
  5966. "security": [
  5967. {
  5968. "ApiKeyAuth": []
  5969. }
  5970. ],
  5971. "produces": [
  5972. "application/json"
  5973. ],
  5974. "tags": [
  5975. "风险管理v3"
  5976. ],
  5977. "summary": "查询合同详细信息",
  5978. "parameters": [
  5979. {
  5980. "type": "string",
  5981. "description": "资金账号ID列表,用逗号分隔",
  5982. "name": "accountids",
  5983. "in": "query",
  5984. "required": true
  5985. },
  5986. {
  5987. "type": "integer",
  5988. "description": "合同类型,1为采购合同 -1为销售合同",
  5989. "name": "contracttype",
  5990. "in": "query",
  5991. "required": true
  5992. },
  5993. {
  5994. "type": "integer",
  5995. "description": "合同模式,1为普通合同 2为回购销售合同",
  5996. "name": "contractmode",
  5997. "in": "query",
  5998. "required": true
  5999. },
  6000. {
  6001. "type": "integer",
  6002. "description": "状态,0为履约中 1为已完成",
  6003. "name": "status",
  6004. "in": "query",
  6005. "required": true
  6006. }
  6007. ],
  6008. "responses": {
  6009. "200": {
  6010. "description": "OK",
  6011. "schema": {
  6012. "type": "array",
  6013. "items": {
  6014. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6015. }
  6016. }
  6017. },
  6018. "500": {
  6019. "description": "Internal Server Error",
  6020. "schema": {
  6021. "$ref": "#/definitions/app.Response"
  6022. }
  6023. }
  6024. }
  6025. }
  6026. },
  6027. "/Erms3/QueryUserInfoApplies": {
  6028. "get": {
  6029. "security": [
  6030. {
  6031. "ApiKeyAuth": []
  6032. }
  6033. ],
  6034. "produces": [
  6035. "application/json"
  6036. ],
  6037. "tags": [
  6038. "风险管理v3"
  6039. ],
  6040. "summary": "客户申请信息查询",
  6041. "parameters": [
  6042. {
  6043. "type": "integer",
  6044. "description": "页码",
  6045. "name": "page",
  6046. "in": "query"
  6047. },
  6048. {
  6049. "type": "integer",
  6050. "description": "每页条数",
  6051. "name": "pagesize",
  6052. "in": "query"
  6053. },
  6054. {
  6055. "type": "string",
  6056. "description": "客户名称,支持模糊查询",
  6057. "name": "userName",
  6058. "in": "query"
  6059. }
  6060. ],
  6061. "responses": {
  6062. "200": {
  6063. "description": "OK",
  6064. "schema": {
  6065. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6066. }
  6067. },
  6068. "500": {
  6069. "description": "Internal Server Error",
  6070. "schema": {
  6071. "$ref": "#/definitions/app.Response"
  6072. }
  6073. }
  6074. }
  6075. }
  6076. },
  6077. "/Erms3/QueryUserInfos": {
  6078. "get": {
  6079. "security": [
  6080. {
  6081. "ApiKeyAuth": []
  6082. }
  6083. ],
  6084. "produces": [
  6085. "application/json"
  6086. ],
  6087. "tags": [
  6088. "风险管理v3"
  6089. ],
  6090. "summary": "客户信息查询",
  6091. "parameters": [
  6092. {
  6093. "type": "integer",
  6094. "description": "页码",
  6095. "name": "page",
  6096. "in": "query"
  6097. },
  6098. {
  6099. "type": "integer",
  6100. "description": "每页条数",
  6101. "name": "pagesize",
  6102. "in": "query"
  6103. },
  6104. {
  6105. "type": "string",
  6106. "description": "客户名称,支持模糊查询",
  6107. "name": "userName",
  6108. "in": "query"
  6109. }
  6110. ],
  6111. "responses": {
  6112. "200": {
  6113. "description": "OK",
  6114. "schema": {
  6115. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6116. }
  6117. },
  6118. "500": {
  6119. "description": "Internal Server Error",
  6120. "schema": {
  6121. "$ref": "#/definitions/app.Response"
  6122. }
  6123. }
  6124. }
  6125. }
  6126. },
  6127. "/HSBY/GetHsbyMyCount": {
  6128. "get": {
  6129. "security": [
  6130. {
  6131. "ApiKeyAuth": []
  6132. }
  6133. ],
  6134. "description": "说明: 不包括已完成的数量。",
  6135. "produces": [
  6136. "application/json"
  6137. ],
  6138. "tags": [
  6139. "定制【海商报业】"
  6140. ],
  6141. "summary": "获取我的订单与包裹数量",
  6142. "parameters": [
  6143. {
  6144. "type": "string",
  6145. "description": "资金账户列表,格式:1,2,3",
  6146. "name": "accountIDs",
  6147. "in": "query",
  6148. "required": true
  6149. }
  6150. ],
  6151. "responses": {
  6152. "200": {
  6153. "description": "OK",
  6154. "schema": {
  6155. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6156. }
  6157. },
  6158. "500": {
  6159. "description": "Internal Server Error",
  6160. "schema": {
  6161. "$ref": "#/definitions/app.Response"
  6162. }
  6163. }
  6164. }
  6165. }
  6166. },
  6167. "/HSBY/QueryClientFixedADConfigs": {
  6168. "get": {
  6169. "security": [
  6170. {
  6171. "ApiKeyAuth": []
  6172. }
  6173. ],
  6174. "produces": [
  6175. "application/json"
  6176. ],
  6177. "tags": [
  6178. "定制【海商报业】"
  6179. ],
  6180. "summary": "获取终端固定广告配置",
  6181. "responses": {
  6182. "200": {
  6183. "description": "OK",
  6184. "schema": {
  6185. "$ref": "#/definitions/models.Clientfixedadconfig"
  6186. }
  6187. },
  6188. "500": {
  6189. "description": "Internal Server Error",
  6190. "schema": {
  6191. "$ref": "#/definitions/app.Response"
  6192. }
  6193. }
  6194. }
  6195. }
  6196. },
  6197. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6198. "get": {
  6199. "security": [
  6200. {
  6201. "ApiKeyAuth": []
  6202. }
  6203. ],
  6204. "produces": [
  6205. "application/json"
  6206. ],
  6207. "tags": [
  6208. "定制【海商报业】"
  6209. ],
  6210. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6211. "parameters": [
  6212. {
  6213. "type": "integer",
  6214. "description": "页码",
  6215. "name": "page",
  6216. "in": "query"
  6217. },
  6218. {
  6219. "type": "integer",
  6220. "description": "每页条数",
  6221. "name": "pagesize",
  6222. "in": "query"
  6223. },
  6224. {
  6225. "type": "string",
  6226. "description": "资金账户列表,格式:1,2,3",
  6227. "name": "accountIDs",
  6228. "in": "query",
  6229. "required": true
  6230. }
  6231. ],
  6232. "responses": {
  6233. "200": {
  6234. "description": "OK",
  6235. "schema": {
  6236. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6237. }
  6238. },
  6239. "500": {
  6240. "description": "Internal Server Error",
  6241. "schema": {
  6242. "$ref": "#/definitions/app.Response"
  6243. }
  6244. }
  6245. }
  6246. }
  6247. },
  6248. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6249. "get": {
  6250. "security": [
  6251. {
  6252. "ApiKeyAuth": []
  6253. }
  6254. ],
  6255. "description": "说明:查询结果已按委托价格和委托时间排序",
  6256. "produces": [
  6257. "application/json"
  6258. ],
  6259. "tags": [
  6260. "定制【海商报业】"
  6261. ],
  6262. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6263. "parameters": [
  6264. {
  6265. "type": "integer",
  6266. "description": "商品ID",
  6267. "name": "goodsID",
  6268. "in": "query",
  6269. "required": true
  6270. },
  6271. {
  6272. "type": "string",
  6273. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6274. "name": "accountIDs",
  6275. "in": "query"
  6276. },
  6277. {
  6278. "type": "integer",
  6279. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6280. "name": "buyOrSell",
  6281. "in": "query"
  6282. },
  6283. {
  6284. "type": "number",
  6285. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6286. "name": "price",
  6287. "in": "query"
  6288. },
  6289. {
  6290. "type": "integer",
  6291. "description": "档位,不传则默认为3档",
  6292. "name": "speed",
  6293. "in": "query"
  6294. }
  6295. ],
  6296. "responses": {
  6297. "200": {
  6298. "description": "OK",
  6299. "schema": {
  6300. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6301. }
  6302. },
  6303. "500": {
  6304. "description": "Internal Server Error",
  6305. "schema": {
  6306. "$ref": "#/definitions/app.Response"
  6307. }
  6308. }
  6309. }
  6310. }
  6311. },
  6312. "/HSBY/QueryHsbyListingGoodsDetail": {
  6313. "get": {
  6314. "security": [
  6315. {
  6316. "ApiKeyAuth": []
  6317. }
  6318. ],
  6319. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6320. "produces": [
  6321. "application/json"
  6322. ],
  6323. "tags": [
  6324. "定制【海商报业】"
  6325. ],
  6326. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6327. "parameters": [
  6328. {
  6329. "type": "integer",
  6330. "description": "商品ID",
  6331. "name": "goodsID",
  6332. "in": "query",
  6333. "required": true
  6334. },
  6335. {
  6336. "type": "integer",
  6337. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6338. "name": "accountID",
  6339. "in": "query"
  6340. }
  6341. ],
  6342. "responses": {
  6343. "200": {
  6344. "description": "OK",
  6345. "schema": {
  6346. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6347. }
  6348. },
  6349. "500": {
  6350. "description": "Internal Server Error",
  6351. "schema": {
  6352. "$ref": "#/definitions/app.Response"
  6353. }
  6354. }
  6355. }
  6356. }
  6357. },
  6358. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6359. "get": {
  6360. "security": [
  6361. {
  6362. "ApiKeyAuth": []
  6363. }
  6364. ],
  6365. "produces": [
  6366. "application/json"
  6367. ],
  6368. "tags": [
  6369. "定制【海商报业】"
  6370. ],
  6371. "summary": "查询三级市场(商城)商品信息详情",
  6372. "parameters": [
  6373. {
  6374. "type": "integer",
  6375. "description": "委托单号",
  6376. "name": "orderID",
  6377. "in": "query",
  6378. "required": true
  6379. },
  6380. {
  6381. "type": "integer",
  6382. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6383. "name": "accountID",
  6384. "in": "query"
  6385. }
  6386. ],
  6387. "responses": {
  6388. "200": {
  6389. "description": "OK",
  6390. "schema": {
  6391. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6392. }
  6393. },
  6394. "500": {
  6395. "description": "Internal Server Error",
  6396. "schema": {
  6397. "$ref": "#/definitions/app.Response"
  6398. }
  6399. }
  6400. }
  6401. }
  6402. },
  6403. "/HSBY/QueryHsbyMarketGoodses": {
  6404. "get": {
  6405. "security": [
  6406. {
  6407. "ApiKeyAuth": []
  6408. }
  6409. ],
  6410. "produces": [
  6411. "application/json"
  6412. ],
  6413. "tags": [
  6414. "定制【海商报业】"
  6415. ],
  6416. "summary": "查询特卖商品列表(三级商城)",
  6417. "parameters": [
  6418. {
  6419. "type": "integer",
  6420. "description": "页码",
  6421. "name": "page",
  6422. "in": "query"
  6423. },
  6424. {
  6425. "type": "integer",
  6426. "description": "每页条数",
  6427. "name": "pagesize",
  6428. "in": "query"
  6429. },
  6430. {
  6431. "type": "string",
  6432. "description": "市场ID列表,格式:1,2,3",
  6433. "name": "marketIDs",
  6434. "in": "query",
  6435. "required": true
  6436. },
  6437. {
  6438. "type": "integer",
  6439. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6440. "name": "accountID",
  6441. "in": "query",
  6442. "required": true
  6443. },
  6444. {
  6445. "type": "integer",
  6446. "description": "类别ID",
  6447. "name": "categoryID",
  6448. "in": "query"
  6449. },
  6450. {
  6451. "type": "string",
  6452. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6453. "name": "goodsIDs",
  6454. "in": "query"
  6455. },
  6456. {
  6457. "type": "integer",
  6458. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6459. "name": "couponTypeID",
  6460. "in": "query"
  6461. }
  6462. ],
  6463. "responses": {
  6464. "200": {
  6465. "description": "OK",
  6466. "schema": {
  6467. "$ref": "#/definitions/models.HsbyMarketGoods"
  6468. }
  6469. },
  6470. "500": {
  6471. "description": "Internal Server Error",
  6472. "schema": {
  6473. "$ref": "#/definitions/app.Response"
  6474. }
  6475. }
  6476. }
  6477. }
  6478. },
  6479. "/HSBY/QueryHsbyMarkets": {
  6480. "get": {
  6481. "security": [
  6482. {
  6483. "ApiKeyAuth": []
  6484. }
  6485. ],
  6486. "produces": [
  6487. "application/json"
  6488. ],
  6489. "tags": [
  6490. "定制【海商报业】"
  6491. ],
  6492. "summary": "查询海商报业相关市场信息",
  6493. "responses": {
  6494. "200": {
  6495. "description": "OK",
  6496. "schema": {
  6497. "$ref": "#/definitions/models.HsbyMarketInfo"
  6498. }
  6499. },
  6500. "500": {
  6501. "description": "Internal Server Error",
  6502. "schema": {
  6503. "$ref": "#/definitions/app.Response"
  6504. }
  6505. }
  6506. }
  6507. }
  6508. },
  6509. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6510. "get": {
  6511. "security": [
  6512. {
  6513. "ApiKeyAuth": []
  6514. }
  6515. ],
  6516. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6517. "produces": [
  6518. "application/json"
  6519. ],
  6520. "tags": [
  6521. "定制【海商报业】"
  6522. ],
  6523. "summary": "查询“我的订单”信息",
  6524. "parameters": [
  6525. {
  6526. "type": "string",
  6527. "description": "资金账户列表,格式:1,2,3",
  6528. "name": "accountIDs",
  6529. "in": "query",
  6530. "required": true
  6531. }
  6532. ],
  6533. "responses": {
  6534. "200": {
  6535. "description": "OK",
  6536. "schema": {
  6537. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6538. }
  6539. },
  6540. "500": {
  6541. "description": "Internal Server Error",
  6542. "schema": {
  6543. "$ref": "#/definitions/app.Response"
  6544. }
  6545. }
  6546. }
  6547. }
  6548. },
  6549. "/HSBY/QueryHsbyMyGoods": {
  6550. "get": {
  6551. "security": [
  6552. {
  6553. "ApiKeyAuth": []
  6554. }
  6555. ],
  6556. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6557. "produces": [
  6558. "application/json"
  6559. ],
  6560. "tags": [
  6561. "定制【海商报业】"
  6562. ],
  6563. "summary": "查询“我的商品”信息",
  6564. "parameters": [
  6565. {
  6566. "type": "string",
  6567. "description": "资金账户列表,格式:1,2,3",
  6568. "name": "accountIDs",
  6569. "in": "query",
  6570. "required": true
  6571. }
  6572. ],
  6573. "responses": {
  6574. "200": {
  6575. "description": "OK",
  6576. "schema": {
  6577. "$ref": "#/definitions/models.HsbyMyGoods"
  6578. }
  6579. },
  6580. "500": {
  6581. "description": "Internal Server Error",
  6582. "schema": {
  6583. "$ref": "#/definitions/app.Response"
  6584. }
  6585. }
  6586. }
  6587. }
  6588. },
  6589. "/HSBY/QueryHsbyMyPackages": {
  6590. "get": {
  6591. "security": [
  6592. {
  6593. "ApiKeyAuth": []
  6594. }
  6595. ],
  6596. "produces": [
  6597. "application/json"
  6598. ],
  6599. "tags": [
  6600. "定制【海商报业】"
  6601. ],
  6602. "summary": "查询我的包裹信息",
  6603. "parameters": [
  6604. {
  6605. "type": "string",
  6606. "description": "资金账户列表,格式:1,2,3",
  6607. "name": "accountIDs",
  6608. "in": "query",
  6609. "required": true
  6610. },
  6611. {
  6612. "type": "integer",
  6613. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6614. "name": "takeOrderStatus",
  6615. "in": "query"
  6616. }
  6617. ],
  6618. "responses": {
  6619. "200": {
  6620. "description": "OK",
  6621. "schema": {
  6622. "$ref": "#/definitions/models.HsbyMyPackage"
  6623. }
  6624. },
  6625. "500": {
  6626. "description": "Internal Server Error",
  6627. "schema": {
  6628. "$ref": "#/definitions/app.Response"
  6629. }
  6630. }
  6631. }
  6632. }
  6633. },
  6634. "/HSBY/QueryHsbyPreGoodsDetail": {
  6635. "get": {
  6636. "security": [
  6637. {
  6638. "ApiKeyAuth": []
  6639. }
  6640. ],
  6641. "produces": [
  6642. "application/json"
  6643. ],
  6644. "tags": [
  6645. "定制【海商报业】"
  6646. ],
  6647. "summary": "查询一级市场(预售)商品信息详情",
  6648. "parameters": [
  6649. {
  6650. "type": "integer",
  6651. "description": "商品ID",
  6652. "name": "goodsID",
  6653. "in": "query",
  6654. "required": true
  6655. },
  6656. {
  6657. "type": "integer",
  6658. "description": "资金账户,主要用于获取预售商品购买上限",
  6659. "name": "accountID",
  6660. "in": "query"
  6661. }
  6662. ],
  6663. "responses": {
  6664. "200": {
  6665. "description": "OK",
  6666. "schema": {
  6667. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6668. }
  6669. },
  6670. "500": {
  6671. "description": "Internal Server Error",
  6672. "schema": {
  6673. "$ref": "#/definitions/app.Response"
  6674. }
  6675. }
  6676. }
  6677. }
  6678. },
  6679. "/HSBY/QueryHsbyPreGoodses": {
  6680. "get": {
  6681. "security": [
  6682. {
  6683. "ApiKeyAuth": []
  6684. }
  6685. ],
  6686. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6687. "produces": [
  6688. "application/json"
  6689. ],
  6690. "tags": [
  6691. "定制【海商报业】"
  6692. ],
  6693. "summary": "查询新品上市商品列表(一级市场预售)",
  6694. "parameters": [
  6695. {
  6696. "type": "integer",
  6697. "description": "页码",
  6698. "name": "page",
  6699. "in": "query"
  6700. },
  6701. {
  6702. "type": "integer",
  6703. "description": "每页条数",
  6704. "name": "pagesize",
  6705. "in": "query"
  6706. },
  6707. {
  6708. "type": "string",
  6709. "description": "市场ID列表,格式:1,2,3",
  6710. "name": "marketIDs",
  6711. "in": "query",
  6712. "required": true
  6713. },
  6714. {
  6715. "type": "integer",
  6716. "description": "目的地(省)ID",
  6717. "name": "descProvinceID",
  6718. "in": "query"
  6719. },
  6720. {
  6721. "type": "integer",
  6722. "description": "目的地(市)ID",
  6723. "name": "descCityID",
  6724. "in": "query"
  6725. }
  6726. ],
  6727. "responses": {
  6728. "200": {
  6729. "description": "OK",
  6730. "schema": {
  6731. "$ref": "#/definitions/models.HsbyPreGoods"
  6732. }
  6733. },
  6734. "500": {
  6735. "description": "Internal Server Error",
  6736. "schema": {
  6737. "$ref": "#/definitions/app.Response"
  6738. }
  6739. }
  6740. }
  6741. }
  6742. },
  6743. "/HSBY/QueryHsbySellMyDetails": {
  6744. "get": {
  6745. "security": [
  6746. {
  6747. "ApiKeyAuth": []
  6748. }
  6749. ],
  6750. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6751. "produces": [
  6752. "application/json"
  6753. ],
  6754. "tags": [
  6755. "定制【海商报业】"
  6756. ],
  6757. "summary": "查询\"我的闲置\"单据信息",
  6758. "parameters": [
  6759. {
  6760. "type": "integer",
  6761. "description": "页码",
  6762. "name": "page",
  6763. "in": "query"
  6764. },
  6765. {
  6766. "type": "integer",
  6767. "description": "每页条数",
  6768. "name": "pagesize",
  6769. "in": "query"
  6770. },
  6771. {
  6772. "type": "string",
  6773. "description": "资金账户列表,格式:1,2,3",
  6774. "name": "accountIDs",
  6775. "in": "query",
  6776. "required": true
  6777. },
  6778. {
  6779. "type": "integer",
  6780. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6781. "name": "orderType",
  6782. "in": "query"
  6783. }
  6784. ],
  6785. "responses": {
  6786. "200": {
  6787. "description": "OK",
  6788. "schema": {
  6789. "$ref": "#/definitions/models.HsbySellMyDetail"
  6790. }
  6791. },
  6792. "500": {
  6793. "description": "Internal Server Error",
  6794. "schema": {
  6795. "$ref": "#/definitions/app.Response"
  6796. }
  6797. }
  6798. }
  6799. }
  6800. },
  6801. "/HSBY/QueryHsbyTopGoodses": {
  6802. "get": {
  6803. "security": [
  6804. {
  6805. "ApiKeyAuth": []
  6806. }
  6807. ],
  6808. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6809. "produces": [
  6810. "application/json"
  6811. ],
  6812. "tags": [
  6813. "定制【海商报业】"
  6814. ],
  6815. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6816. "parameters": [
  6817. {
  6818. "type": "integer",
  6819. "description": "页码",
  6820. "name": "page",
  6821. "in": "query"
  6822. },
  6823. {
  6824. "type": "integer",
  6825. "description": "每页条数",
  6826. "name": "pagesize",
  6827. "in": "query"
  6828. },
  6829. {
  6830. "type": "string",
  6831. "description": "市场ID列表,格式:1,2,3",
  6832. "name": "marketIDs",
  6833. "in": "query",
  6834. "required": true
  6835. },
  6836. {
  6837. "type": "integer",
  6838. "description": "目的地(省)ID",
  6839. "name": "descProvinceID",
  6840. "in": "query"
  6841. },
  6842. {
  6843. "type": "integer",
  6844. "description": "目的地(市)ID",
  6845. "name": "descCityID",
  6846. "in": "query"
  6847. }
  6848. ],
  6849. "responses": {
  6850. "200": {
  6851. "description": "OK",
  6852. "schema": {
  6853. "$ref": "#/definitions/models.HsbyTopGoods"
  6854. }
  6855. },
  6856. "500": {
  6857. "description": "Internal Server Error",
  6858. "schema": {
  6859. "$ref": "#/definitions/app.Response"
  6860. }
  6861. }
  6862. }
  6863. }
  6864. },
  6865. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6866. "get": {
  6867. "security": [
  6868. {
  6869. "ApiKeyAuth": []
  6870. }
  6871. ],
  6872. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6873. "produces": [
  6874. "application/json"
  6875. ],
  6876. "tags": [
  6877. "定制【海商报业】"
  6878. ],
  6879. "summary": "查询游客三级市场(商城)商品信息详情",
  6880. "parameters": [
  6881. {
  6882. "type": "integer",
  6883. "description": "商品ID",
  6884. "name": "goodsID",
  6885. "in": "query",
  6886. "required": true
  6887. }
  6888. ],
  6889. "responses": {
  6890. "200": {
  6891. "description": "OK",
  6892. "schema": {
  6893. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6894. }
  6895. },
  6896. "500": {
  6897. "description": "Internal Server Error",
  6898. "schema": {
  6899. "$ref": "#/definitions/app.Response"
  6900. }
  6901. }
  6902. }
  6903. }
  6904. },
  6905. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6906. "get": {
  6907. "security": [
  6908. {
  6909. "ApiKeyAuth": []
  6910. }
  6911. ],
  6912. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6913. "produces": [
  6914. "application/json"
  6915. ],
  6916. "tags": [
  6917. "定制【海商报业】"
  6918. ],
  6919. "summary": "查询游客特卖商品列表(三级商城)",
  6920. "parameters": [
  6921. {
  6922. "type": "integer",
  6923. "description": "页码",
  6924. "name": "page",
  6925. "in": "query"
  6926. },
  6927. {
  6928. "type": "integer",
  6929. "description": "每页条数",
  6930. "name": "pagesize",
  6931. "in": "query"
  6932. },
  6933. {
  6934. "type": "string",
  6935. "description": "市场ID列表,格式:1,2,3",
  6936. "name": "marketIDs",
  6937. "in": "query",
  6938. "required": true
  6939. },
  6940. {
  6941. "type": "integer",
  6942. "description": "类别ID",
  6943. "name": "categoryID",
  6944. "in": "query"
  6945. },
  6946. {
  6947. "type": "string",
  6948. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6949. "name": "goodsIDs",
  6950. "in": "query"
  6951. }
  6952. ],
  6953. "responses": {
  6954. "200": {
  6955. "description": "OK",
  6956. "schema": {
  6957. "$ref": "#/definitions/models.HsbyMarketGoods"
  6958. }
  6959. },
  6960. "500": {
  6961. "description": "Internal Server Error",
  6962. "schema": {
  6963. "$ref": "#/definitions/app.Response"
  6964. }
  6965. }
  6966. }
  6967. }
  6968. },
  6969. "/HSBY/QueryMyCollectionOrders": {
  6970. "get": {
  6971. "security": [
  6972. {
  6973. "ApiKeyAuth": []
  6974. }
  6975. ],
  6976. "produces": [
  6977. "application/json"
  6978. ],
  6979. "tags": [
  6980. "定制【海商报业】"
  6981. ],
  6982. "summary": "我的闲置中收款信息查询",
  6983. "parameters": [
  6984. {
  6985. "type": "integer",
  6986. "description": "页码",
  6987. "name": "page",
  6988. "in": "query"
  6989. },
  6990. {
  6991. "type": "integer",
  6992. "description": "每页条数",
  6993. "name": "pagesize",
  6994. "in": "query"
  6995. },
  6996. {
  6997. "type": "string",
  6998. "description": "资金账户,格式:1,2,3",
  6999. "name": "accountIDs",
  7000. "in": "query",
  7001. "required": true
  7002. }
  7003. ],
  7004. "responses": {
  7005. "200": {
  7006. "description": "OK",
  7007. "schema": {
  7008. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7009. }
  7010. },
  7011. "500": {
  7012. "description": "Internal Server Error",
  7013. "schema": {
  7014. "$ref": "#/definitions/app.Response"
  7015. }
  7016. }
  7017. }
  7018. }
  7019. },
  7020. "/HSBY/QueryMyCouponHolds": {
  7021. "get": {
  7022. "security": [
  7023. {
  7024. "ApiKeyAuth": []
  7025. }
  7026. ],
  7027. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7028. "produces": [
  7029. "application/json"
  7030. ],
  7031. "tags": [
  7032. "定制【海商报业】"
  7033. ],
  7034. "summary": "我的优惠卷持仓查询",
  7035. "parameters": [
  7036. {
  7037. "type": "string",
  7038. "description": "资金账户列表,格式:1,2,3",
  7039. "name": "accountIDs",
  7040. "in": "query",
  7041. "required": true
  7042. },
  7043. {
  7044. "type": "string",
  7045. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7046. "name": "holdStatus",
  7047. "in": "query"
  7048. }
  7049. ],
  7050. "responses": {
  7051. "200": {
  7052. "description": "OK",
  7053. "schema": {
  7054. "$ref": "#/definitions/models.MyCouponHold"
  7055. }
  7056. },
  7057. "500": {
  7058. "description": "Internal Server Error",
  7059. "schema": {
  7060. "$ref": "#/definitions/app.Response"
  7061. }
  7062. }
  7063. }
  7064. }
  7065. },
  7066. "/HSBY/QueryMyCoupons": {
  7067. "get": {
  7068. "security": [
  7069. {
  7070. "ApiKeyAuth": []
  7071. }
  7072. ],
  7073. "produces": [
  7074. "application/json"
  7075. ],
  7076. "tags": [
  7077. "定制【海商报业】"
  7078. ],
  7079. "summary": "我的优惠卷查询",
  7080. "parameters": [
  7081. {
  7082. "type": "string",
  7083. "description": "资金账户列表,格式:1,2,3",
  7084. "name": "accountIDs",
  7085. "in": "query",
  7086. "required": true
  7087. },
  7088. {
  7089. "type": "integer",
  7090. "description": "商品ID, 一般与sellUserID配套传入",
  7091. "name": "goodsID",
  7092. "in": "query"
  7093. },
  7094. {
  7095. "type": "integer",
  7096. "description": "卖方UserID",
  7097. "name": "sellUserID",
  7098. "in": "query"
  7099. }
  7100. ],
  7101. "responses": {
  7102. "200": {
  7103. "description": "OK",
  7104. "schema": {
  7105. "$ref": "#/definitions/models.MyCoupon"
  7106. }
  7107. },
  7108. "500": {
  7109. "description": "Internal Server Error",
  7110. "schema": {
  7111. "$ref": "#/definitions/app.Response"
  7112. }
  7113. }
  7114. }
  7115. }
  7116. },
  7117. "/HSBY/QueryMyPayOrders": {
  7118. "get": {
  7119. "security": [
  7120. {
  7121. "ApiKeyAuth": []
  7122. }
  7123. ],
  7124. "produces": [
  7125. "application/json"
  7126. ],
  7127. "tags": [
  7128. "定制【海商报业】"
  7129. ],
  7130. "summary": "获取我的订单中待付款信息",
  7131. "parameters": [
  7132. {
  7133. "type": "integer",
  7134. "description": "页码",
  7135. "name": "page",
  7136. "in": "query"
  7137. },
  7138. {
  7139. "type": "integer",
  7140. "description": "每页条数",
  7141. "name": "pagesize",
  7142. "in": "query"
  7143. },
  7144. {
  7145. "type": "string",
  7146. "description": "资金账户列表,格式:1,2,3",
  7147. "name": "accountIDs",
  7148. "in": "query",
  7149. "required": true
  7150. },
  7151. {
  7152. "type": "integer",
  7153. "description": "买方委托单号",
  7154. "name": "buyOrderID",
  7155. "in": "query"
  7156. },
  7157. {
  7158. "type": "integer",
  7159. "description": "卖方委托单号",
  7160. "name": "sellOrderID",
  7161. "in": "query"
  7162. }
  7163. ],
  7164. "responses": {
  7165. "200": {
  7166. "description": "OK",
  7167. "schema": {
  7168. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7169. }
  7170. },
  7171. "500": {
  7172. "description": "Internal Server Error",
  7173. "schema": {
  7174. "$ref": "#/definitions/app.Response"
  7175. }
  7176. }
  7177. }
  7178. }
  7179. },
  7180. "/HSBY/QueryMyUsedCoupon": {
  7181. "get": {
  7182. "security": [
  7183. {
  7184. "ApiKeyAuth": []
  7185. }
  7186. ],
  7187. "produces": [
  7188. "application/json"
  7189. ],
  7190. "tags": [
  7191. "定制【海商报业】"
  7192. ],
  7193. "summary": "已使用优惠卷查询",
  7194. "parameters": [
  7195. {
  7196. "type": "string",
  7197. "description": "资金账户列表,格式:1,2,3",
  7198. "name": "accountIDs",
  7199. "in": "query",
  7200. "required": true
  7201. }
  7202. ],
  7203. "responses": {
  7204. "200": {
  7205. "description": "OK",
  7206. "schema": {
  7207. "$ref": "#/definitions/models.MyUsedCoupon"
  7208. }
  7209. },
  7210. "500": {
  7211. "description": "Internal Server Error",
  7212. "schema": {
  7213. "$ref": "#/definitions/app.Response"
  7214. }
  7215. }
  7216. }
  7217. }
  7218. },
  7219. "/HSBY/QueryProvincesAndCities": {
  7220. "get": {
  7221. "security": [
  7222. {
  7223. "ApiKeyAuth": []
  7224. }
  7225. ],
  7226. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7227. "produces": [
  7228. "application/json"
  7229. ],
  7230. "tags": [
  7231. "定制【海商报业】"
  7232. ],
  7233. "summary": "查询省市信息(不包括区)",
  7234. "parameters": [
  7235. {
  7236. "type": "integer",
  7237. "description": "省ID",
  7238. "name": "provinceID",
  7239. "in": "query"
  7240. }
  7241. ],
  7242. "responses": {
  7243. "200": {
  7244. "description": "OK",
  7245. "schema": {
  7246. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7247. }
  7248. },
  7249. "500": {
  7250. "description": "Internal Server Error",
  7251. "schema": {
  7252. "$ref": "#/definitions/app.Response"
  7253. }
  7254. }
  7255. }
  7256. }
  7257. },
  7258. "/HSBY/SetHsbyMyPackagesStatus": {
  7259. "post": {
  7260. "security": [
  7261. {
  7262. "ApiKeyAuth": []
  7263. }
  7264. ],
  7265. "produces": [
  7266. "application/json"
  7267. ],
  7268. "tags": [
  7269. "定制【海商报业】"
  7270. ],
  7271. "summary": "设置我的包裹已收货状态",
  7272. "parameters": [
  7273. {
  7274. "type": "string",
  7275. "description": "提货单号",
  7276. "name": "takeOrderID",
  7277. "in": "query",
  7278. "required": true
  7279. },
  7280. {
  7281. "type": "integer",
  7282. "description": "资金账号",
  7283. "name": "accountID",
  7284. "in": "query",
  7285. "required": true
  7286. }
  7287. ],
  7288. "responses": {
  7289. "200": {
  7290. "description": "OK",
  7291. "schema": {
  7292. "$ref": "#/definitions/app.Response"
  7293. }
  7294. },
  7295. "500": {
  7296. "description": "Internal Server Error",
  7297. "schema": {
  7298. "$ref": "#/definitions/app.Response"
  7299. }
  7300. }
  7301. }
  7302. }
  7303. },
  7304. "/Market/GetAllExExchanges": {
  7305. "get": {
  7306. "security": [
  7307. {
  7308. "ApiKeyAuth": []
  7309. }
  7310. ],
  7311. "produces": [
  7312. "application/json"
  7313. ],
  7314. "tags": [
  7315. "通用市场"
  7316. ],
  7317. "summary": "获取所有外部交易所信息",
  7318. "responses": {
  7319. "200": {
  7320. "description": "OK",
  7321. "schema": {
  7322. "$ref": "#/definitions/models.Goods"
  7323. }
  7324. },
  7325. "500": {
  7326. "description": "Internal Server Error",
  7327. "schema": {
  7328. "$ref": "#/definitions/app.Response"
  7329. }
  7330. }
  7331. }
  7332. }
  7333. },
  7334. "/Market/QueryGoodsesByLoginID": {
  7335. "get": {
  7336. "security": [
  7337. {
  7338. "ApiKeyAuth": []
  7339. }
  7340. ],
  7341. "produces": [
  7342. "application/json"
  7343. ],
  7344. "tags": [
  7345. "通用市场"
  7346. ],
  7347. "summary": "获取登录账号有权限的商品信息",
  7348. "parameters": [
  7349. {
  7350. "type": "integer",
  7351. "description": "登录账号",
  7352. "name": "loginID",
  7353. "in": "query",
  7354. "required": true
  7355. },
  7356. {
  7357. "type": "string",
  7358. "description": "市场ID列表,格式:1,2,3",
  7359. "name": "marketIDs",
  7360. "in": "query"
  7361. }
  7362. ],
  7363. "responses": {
  7364. "200": {
  7365. "description": "OK",
  7366. "schema": {
  7367. "$ref": "#/definitions/models.Goods"
  7368. }
  7369. },
  7370. "500": {
  7371. "description": "Internal Server Error",
  7372. "schema": {
  7373. "$ref": "#/definitions/app.Response"
  7374. }
  7375. }
  7376. }
  7377. }
  7378. },
  7379. "/Market/QueryMarketRun": {
  7380. "get": {
  7381. "security": [
  7382. {
  7383. "ApiKeyAuth": []
  7384. }
  7385. ],
  7386. "produces": [
  7387. "application/json"
  7388. ],
  7389. "tags": [
  7390. "通用市场"
  7391. ],
  7392. "summary": "查询市场运行信息",
  7393. "parameters": [
  7394. {
  7395. "type": "integer",
  7396. "description": "市场ID,不传返回所有",
  7397. "name": "marketID",
  7398. "in": "query"
  7399. }
  7400. ],
  7401. "responses": {
  7402. "200": {
  7403. "description": "OK",
  7404. "schema": {
  7405. "$ref": "#/definitions/models.Marketrun"
  7406. }
  7407. },
  7408. "500": {
  7409. "description": "Internal Server Error",
  7410. "schema": {
  7411. "$ref": "#/definitions/app.Response"
  7412. }
  7413. }
  7414. }
  7415. }
  7416. },
  7417. "/Market/QueryMarketsByLoginID": {
  7418. "get": {
  7419. "security": [
  7420. {
  7421. "ApiKeyAuth": []
  7422. }
  7423. ],
  7424. "produces": [
  7425. "application/json"
  7426. ],
  7427. "tags": [
  7428. "通用市场"
  7429. ],
  7430. "summary": "获取登录账号有权限的市场信息",
  7431. "parameters": [
  7432. {
  7433. "type": "integer",
  7434. "description": "登录账号",
  7435. "name": "loginID",
  7436. "in": "query",
  7437. "required": true
  7438. }
  7439. ],
  7440. "responses": {
  7441. "200": {
  7442. "description": "OK",
  7443. "schema": {
  7444. "$ref": "#/definitions/models.Market"
  7445. }
  7446. },
  7447. "500": {
  7448. "description": "Internal Server Error",
  7449. "schema": {
  7450. "$ref": "#/definitions/app.Response"
  7451. }
  7452. }
  7453. }
  7454. }
  7455. },
  7456. "/Order/QueryHisTradeDetail": {
  7457. "get": {
  7458. "security": [
  7459. {
  7460. "ApiKeyAuth": []
  7461. }
  7462. ],
  7463. "produces": [
  7464. "application/json"
  7465. ],
  7466. "tags": [
  7467. "通用单据"
  7468. ],
  7469. "summary": "历史成交单查询(合约市场)",
  7470. "parameters": [
  7471. {
  7472. "type": "string",
  7473. "description": "资金账户 - 格式:1,2,3",
  7474. "name": "accountID",
  7475. "in": "query",
  7476. "required": true
  7477. },
  7478. {
  7479. "type": "integer",
  7480. "description": "成交单号",
  7481. "name": "tradeID",
  7482. "in": "query"
  7483. },
  7484. {
  7485. "type": "integer",
  7486. "description": "委托单号",
  7487. "name": "orderID",
  7488. "in": "query"
  7489. },
  7490. {
  7491. "type": "integer",
  7492. "description": "商品ID",
  7493. "name": "goodsID",
  7494. "in": "query"
  7495. },
  7496. {
  7497. "type": "string",
  7498. "description": "交易模式 - 格式:1,2,3",
  7499. "name": "tradeMode",
  7500. "in": "query"
  7501. },
  7502. {
  7503. "type": "integer",
  7504. "description": "委托单据类型",
  7505. "name": "buildType",
  7506. "in": "query"
  7507. },
  7508. {
  7509. "type": "string",
  7510. "description": "成交类别 - 格式:1,2,3",
  7511. "name": "tradeType",
  7512. "in": "query"
  7513. },
  7514. {
  7515. "type": "string",
  7516. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7517. "name": "startDate",
  7518. "in": "query"
  7519. },
  7520. {
  7521. "type": "string",
  7522. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7523. "name": "endDate",
  7524. "in": "query"
  7525. }
  7526. ],
  7527. "responses": {
  7528. "200": {
  7529. "description": "OK",
  7530. "schema": {
  7531. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7532. }
  7533. },
  7534. "500": {
  7535. "description": "Internal Server Error",
  7536. "schema": {
  7537. "$ref": "#/definitions/app.Response"
  7538. }
  7539. }
  7540. }
  7541. }
  7542. },
  7543. "/Order/QueryHisTradeOrderDetail": {
  7544. "get": {
  7545. "security": [
  7546. {
  7547. "ApiKeyAuth": []
  7548. }
  7549. ],
  7550. "produces": [
  7551. "application/json"
  7552. ],
  7553. "tags": [
  7554. "通用单据"
  7555. ],
  7556. "summary": "历史委托单查询请求(合约市场)",
  7557. "parameters": [
  7558. {
  7559. "type": "string",
  7560. "description": "资金账户 - 格式:1,2,3",
  7561. "name": "accountID",
  7562. "in": "query",
  7563. "required": true
  7564. },
  7565. {
  7566. "type": "string",
  7567. "description": "交易模式 - 格式:1,2,3",
  7568. "name": "tradeMode",
  7569. "in": "query"
  7570. },
  7571. {
  7572. "type": "string",
  7573. "description": "委托状态 - 格式:1,2,3",
  7574. "name": "orderStatus",
  7575. "in": "query"
  7576. },
  7577. {
  7578. "type": "integer",
  7579. "description": "委托单号",
  7580. "name": "orderID",
  7581. "in": "query"
  7582. },
  7583. {
  7584. "type": "string",
  7585. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7586. "name": "startDate",
  7587. "in": "query"
  7588. },
  7589. {
  7590. "type": "string",
  7591. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7592. "name": "endDate",
  7593. "in": "query"
  7594. }
  7595. ],
  7596. "responses": {
  7597. "200": {
  7598. "description": "OK",
  7599. "schema": {
  7600. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7601. }
  7602. },
  7603. "500": {
  7604. "description": "Internal Server Error",
  7605. "schema": {
  7606. "$ref": "#/definitions/app.Response"
  7607. }
  7608. }
  7609. }
  7610. }
  7611. },
  7612. "/Order/QueryTradeDetail": {
  7613. "get": {
  7614. "security": [
  7615. {
  7616. "ApiKeyAuth": []
  7617. }
  7618. ],
  7619. "produces": [
  7620. "application/json"
  7621. ],
  7622. "tags": [
  7623. "通用单据"
  7624. ],
  7625. "summary": "成交单查询(合约市场)",
  7626. "parameters": [
  7627. {
  7628. "type": "string",
  7629. "description": "资金账户 - 格式:1,2,3",
  7630. "name": "accountID",
  7631. "in": "query",
  7632. "required": true
  7633. },
  7634. {
  7635. "type": "integer",
  7636. "description": "成交单号",
  7637. "name": "tradeID",
  7638. "in": "query"
  7639. },
  7640. {
  7641. "type": "integer",
  7642. "description": "委托单号",
  7643. "name": "orderID",
  7644. "in": "query"
  7645. },
  7646. {
  7647. "type": "string",
  7648. "description": "交易模式 - 格式:1,2,3",
  7649. "name": "tradeMode",
  7650. "in": "query"
  7651. },
  7652. {
  7653. "type": "integer",
  7654. "description": "委托单据类型",
  7655. "name": "buildType",
  7656. "in": "query"
  7657. },
  7658. {
  7659. "type": "string",
  7660. "description": "成交类别 - 格式:1,2,3",
  7661. "name": "tradeType",
  7662. "in": "query"
  7663. },
  7664. {
  7665. "type": "integer",
  7666. "description": "商品ID",
  7667. "name": "goodsID",
  7668. "in": "query"
  7669. }
  7670. ],
  7671. "responses": {
  7672. "200": {
  7673. "description": "OK",
  7674. "schema": {
  7675. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7676. }
  7677. },
  7678. "500": {
  7679. "description": "Internal Server Error",
  7680. "schema": {
  7681. "$ref": "#/definitions/app.Response"
  7682. }
  7683. }
  7684. }
  7685. }
  7686. },
  7687. "/Order/QueryTradeHolderDetail": {
  7688. "get": {
  7689. "security": [
  7690. {
  7691. "ApiKeyAuth": []
  7692. }
  7693. ],
  7694. "produces": [
  7695. "application/json"
  7696. ],
  7697. "tags": [
  7698. "通用单据"
  7699. ],
  7700. "summary": "查询持仓明细",
  7701. "parameters": [
  7702. {
  7703. "type": "integer",
  7704. "description": "用户id",
  7705. "name": "userid",
  7706. "in": "query"
  7707. },
  7708. {
  7709. "type": "string",
  7710. "description": "资金账号, 格式 1,2,3",
  7711. "name": "accids",
  7712. "in": "query"
  7713. },
  7714. {
  7715. "type": "string",
  7716. "description": "交易模式, 格式 1,2,3",
  7717. "name": "trademodes",
  7718. "in": "query"
  7719. },
  7720. {
  7721. "type": "string",
  7722. "description": "市场id, 格式 1,2,3",
  7723. "name": "marketids",
  7724. "in": "query"
  7725. },
  7726. {
  7727. "type": "integer",
  7728. "description": "商品id",
  7729. "name": "goodsid",
  7730. "in": "query"
  7731. },
  7732. {
  7733. "type": "integer",
  7734. "description": "买卖方向 0-买 1-卖",
  7735. "name": "buyorsell",
  7736. "in": "query"
  7737. }
  7738. ],
  7739. "responses": {
  7740. "200": {
  7741. "description": "OK",
  7742. "schema": {
  7743. "type": "array",
  7744. "items": {
  7745. "$ref": "#/definitions/models.TradeHolderDetail"
  7746. }
  7747. }
  7748. },
  7749. "500": {
  7750. "description": "Internal Server Error",
  7751. "schema": {
  7752. "$ref": "#/definitions/app.Response"
  7753. }
  7754. }
  7755. }
  7756. }
  7757. },
  7758. "/Order/QueryTradeOrderDetail": {
  7759. "get": {
  7760. "security": [
  7761. {
  7762. "ApiKeyAuth": []
  7763. }
  7764. ],
  7765. "produces": [
  7766. "application/json"
  7767. ],
  7768. "tags": [
  7769. "通用单据"
  7770. ],
  7771. "summary": "委托单查询请求(合约市场)",
  7772. "parameters": [
  7773. {
  7774. "type": "string",
  7775. "description": "资金账户 - 格式:1,2,3",
  7776. "name": "accountID",
  7777. "in": "query",
  7778. "required": true
  7779. },
  7780. {
  7781. "type": "string",
  7782. "description": "交易模式 - 格式:1,2,3",
  7783. "name": "tradeMode",
  7784. "in": "query"
  7785. },
  7786. {
  7787. "type": "string",
  7788. "description": "委托状态 - 格式:1,2,3",
  7789. "name": "orderStatus",
  7790. "in": "query"
  7791. },
  7792. {
  7793. "type": "integer",
  7794. "description": "委托单号",
  7795. "name": "orderID",
  7796. "in": "query"
  7797. }
  7798. ],
  7799. "responses": {
  7800. "200": {
  7801. "description": "OK",
  7802. "schema": {
  7803. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7804. }
  7805. },
  7806. "500": {
  7807. "description": "Internal Server Error",
  7808. "schema": {
  7809. "$ref": "#/definitions/app.Response"
  7810. }
  7811. }
  7812. }
  7813. }
  7814. },
  7815. "/Order/QueryTradePosition": {
  7816. "get": {
  7817. "security": [
  7818. {
  7819. "ApiKeyAuth": []
  7820. }
  7821. ],
  7822. "produces": [
  7823. "application/json"
  7824. ],
  7825. "tags": [
  7826. "通用单据"
  7827. ],
  7828. "summary": "持仓汇总查询(合约市场)",
  7829. "parameters": [
  7830. {
  7831. "type": "string",
  7832. "description": "资金账户 - 格式:1,2,3",
  7833. "name": "accountID",
  7834. "in": "query",
  7835. "required": true
  7836. },
  7837. {
  7838. "type": "string",
  7839. "description": "交易模式 - 格式:1,2,3",
  7840. "name": "tradeMode",
  7841. "in": "query"
  7842. }
  7843. ],
  7844. "responses": {
  7845. "200": {
  7846. "description": "OK",
  7847. "schema": {
  7848. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7849. }
  7850. },
  7851. "500": {
  7852. "description": "Internal Server Error",
  7853. "schema": {
  7854. "$ref": "#/definitions/app.Response"
  7855. }
  7856. }
  7857. }
  7858. }
  7859. },
  7860. "/Qhj/QueryAccountInOutApply": {
  7861. "get": {
  7862. "security": [
  7863. {
  7864. "ApiKeyAuth": []
  7865. }
  7866. ],
  7867. "produces": [
  7868. "application/json"
  7869. ],
  7870. "tags": [
  7871. "大连千海金"
  7872. ],
  7873. "summary": "查询充值提现",
  7874. "parameters": [
  7875. {
  7876. "type": "integer",
  7877. "description": "用户ID",
  7878. "name": "userid",
  7879. "in": "query",
  7880. "required": true
  7881. },
  7882. {
  7883. "type": "string",
  7884. "description": "申请起始日期(格式yyyymmdd)",
  7885. "name": "begindate",
  7886. "in": "query"
  7887. },
  7888. {
  7889. "type": "string",
  7890. "description": "申请截止日期(格式yyyymmdd)",
  7891. "name": "enddate",
  7892. "in": "query"
  7893. },
  7894. {
  7895. "type": "string",
  7896. "description": "模糊搜索名称",
  7897. "name": "likename",
  7898. "in": "query"
  7899. }
  7900. ],
  7901. "responses": {
  7902. "200": {
  7903. "description": "OK",
  7904. "schema": {
  7905. "type": "array",
  7906. "items": {
  7907. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7908. }
  7909. }
  7910. },
  7911. "500": {
  7912. "description": "Internal Server Error",
  7913. "schema": {
  7914. "$ref": "#/definitions/app.Response"
  7915. }
  7916. }
  7917. }
  7918. }
  7919. },
  7920. "/Qhj/QueryAreaFinanceConfig": {
  7921. "get": {
  7922. "security": [
  7923. {
  7924. "ApiKeyAuth": []
  7925. }
  7926. ],
  7927. "produces": [
  7928. "application/json"
  7929. ],
  7930. "tags": [
  7931. "大连千海金"
  7932. ],
  7933. "summary": "查询企业配置表",
  7934. "parameters": [
  7935. {
  7936. "type": "integer",
  7937. "description": "机构用户ID 其他做市关系,都设置为 1",
  7938. "name": "userid",
  7939. "in": "query"
  7940. }
  7941. ],
  7942. "responses": {
  7943. "200": {
  7944. "description": "OK",
  7945. "schema": {
  7946. "type": "array",
  7947. "items": {
  7948. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7949. }
  7950. }
  7951. },
  7952. "500": {
  7953. "description": "Internal Server Error",
  7954. "schema": {
  7955. "$ref": "#/definitions/app.Response"
  7956. }
  7957. }
  7958. }
  7959. }
  7960. },
  7961. "/Qhj/QueryBankAccountSign": {
  7962. "get": {
  7963. "security": [
  7964. {
  7965. "ApiKeyAuth": []
  7966. }
  7967. ],
  7968. "produces": [
  7969. "application/json"
  7970. ],
  7971. "tags": [
  7972. "大连千海金"
  7973. ],
  7974. "summary": "查询签约银行信息(提现账户管理)",
  7975. "parameters": [
  7976. {
  7977. "type": "integer",
  7978. "description": "用户ID",
  7979. "name": "userid",
  7980. "in": "query",
  7981. "required": true
  7982. }
  7983. ],
  7984. "responses": {
  7985. "200": {
  7986. "description": "OK",
  7987. "schema": {
  7988. "type": "array",
  7989. "items": {
  7990. "$ref": "#/definitions/models.QhjBankAccountSign"
  7991. }
  7992. }
  7993. },
  7994. "500": {
  7995. "description": "Internal Server Error",
  7996. "schema": {
  7997. "$ref": "#/definitions/app.Response"
  7998. }
  7999. }
  8000. }
  8001. }
  8002. },
  8003. "/Qhj/QueryBankInfo": {
  8004. "get": {
  8005. "security": [
  8006. {
  8007. "ApiKeyAuth": []
  8008. }
  8009. ],
  8010. "produces": [
  8011. "application/json"
  8012. ],
  8013. "tags": [
  8014. "大连千海金"
  8015. ],
  8016. "summary": "查询开户行",
  8017. "responses": {
  8018. "200": {
  8019. "description": "OK",
  8020. "schema": {
  8021. "type": "array",
  8022. "items": {
  8023. "$ref": "#/definitions/models.QhjBankInfo"
  8024. }
  8025. }
  8026. },
  8027. "500": {
  8028. "description": "Internal Server Error",
  8029. "schema": {
  8030. "$ref": "#/definitions/app.Response"
  8031. }
  8032. }
  8033. }
  8034. }
  8035. },
  8036. "/Qhj/QueryBrokerApply": {
  8037. "get": {
  8038. "security": [
  8039. {
  8040. "ApiKeyAuth": []
  8041. }
  8042. ],
  8043. "produces": [
  8044. "application/json"
  8045. ],
  8046. "tags": [
  8047. "大连千海金"
  8048. ],
  8049. "summary": "查询经纪人申请",
  8050. "parameters": [
  8051. {
  8052. "type": "integer",
  8053. "description": "所属机构ID",
  8054. "name": "userid",
  8055. "in": "query"
  8056. },
  8057. {
  8058. "type": "string",
  8059. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8060. "name": "filterstatus",
  8061. "in": "query"
  8062. }
  8063. ],
  8064. "responses": {
  8065. "200": {
  8066. "description": "OK",
  8067. "schema": {
  8068. "type": "array",
  8069. "items": {
  8070. "$ref": "#/definitions/models.QhjBrokerApply"
  8071. }
  8072. }
  8073. },
  8074. "500": {
  8075. "description": "Internal Server Error",
  8076. "schema": {
  8077. "$ref": "#/definitions/app.Response"
  8078. }
  8079. }
  8080. }
  8081. }
  8082. },
  8083. "/Qhj/QueryBrokerApplyEx": {
  8084. "get": {
  8085. "security": [
  8086. {
  8087. "ApiKeyAuth": []
  8088. }
  8089. ],
  8090. "produces": [
  8091. "application/json"
  8092. ],
  8093. "tags": [
  8094. "大连千海金"
  8095. ],
  8096. "summary": "查询经纪人信息和申请记录",
  8097. "parameters": [
  8098. {
  8099. "type": "integer",
  8100. "description": "所属机构ID",
  8101. "name": "userid",
  8102. "in": "query"
  8103. }
  8104. ],
  8105. "responses": {
  8106. "200": {
  8107. "description": "OK",
  8108. "schema": {
  8109. "type": "array",
  8110. "items": {
  8111. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8112. }
  8113. }
  8114. },
  8115. "500": {
  8116. "description": "Internal Server Error",
  8117. "schema": {
  8118. "$ref": "#/definitions/app.Response"
  8119. }
  8120. }
  8121. }
  8122. }
  8123. },
  8124. "/Qhj/QueryBrokerRewardLog": {
  8125. "get": {
  8126. "security": [
  8127. {
  8128. "ApiKeyAuth": []
  8129. }
  8130. ],
  8131. "produces": [
  8132. "application/json"
  8133. ],
  8134. "tags": [
  8135. "大连千海金"
  8136. ],
  8137. "summary": "查询奖励流水(我的奖励)",
  8138. "parameters": [
  8139. {
  8140. "type": "integer",
  8141. "description": "用户ID",
  8142. "name": "userid",
  8143. "in": "query",
  8144. "required": true
  8145. },
  8146. {
  8147. "type": "string",
  8148. "description": "开始交易日(yyyymmdd)",
  8149. "name": "begindate",
  8150. "in": "query"
  8151. },
  8152. {
  8153. "type": "string",
  8154. "description": "结束交易日(yyyymmdd)",
  8155. "name": "enddate",
  8156. "in": "query"
  8157. }
  8158. ],
  8159. "responses": {
  8160. "200": {
  8161. "description": "OK",
  8162. "schema": {
  8163. "type": "array",
  8164. "items": {
  8165. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8166. }
  8167. }
  8168. },
  8169. "500": {
  8170. "description": "Internal Server Error",
  8171. "schema": {
  8172. "$ref": "#/definitions/app.Response"
  8173. }
  8174. }
  8175. }
  8176. }
  8177. },
  8178. "/Qhj/QueryContract": {
  8179. "get": {
  8180. "security": [
  8181. {
  8182. "ApiKeyAuth": []
  8183. }
  8184. ],
  8185. "produces": [
  8186. "application/json"
  8187. ],
  8188. "tags": [
  8189. "大连千海金"
  8190. ],
  8191. "summary": "查询融资明细(合同)",
  8192. "parameters": [
  8193. {
  8194. "type": "integer",
  8195. "description": "用户ID",
  8196. "name": "userid",
  8197. "in": "query"
  8198. },
  8199. {
  8200. "type": "integer",
  8201. "description": "scf合同id",
  8202. "name": "scfcontractid",
  8203. "in": "query"
  8204. }
  8205. ],
  8206. "responses": {
  8207. "200": {
  8208. "description": "OK",
  8209. "schema": {
  8210. "type": "array",
  8211. "items": {
  8212. "$ref": "#/definitions/models.QhjContract"
  8213. }
  8214. }
  8215. },
  8216. "500": {
  8217. "description": "Internal Server Error",
  8218. "schema": {
  8219. "$ref": "#/definitions/app.Response"
  8220. }
  8221. }
  8222. }
  8223. }
  8224. },
  8225. "/Qhj/QueryContractLog": {
  8226. "get": {
  8227. "security": [
  8228. {
  8229. "ApiKeyAuth": []
  8230. }
  8231. ],
  8232. "produces": [
  8233. "application/json"
  8234. ],
  8235. "tags": [
  8236. "大连千海金"
  8237. ],
  8238. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8239. "parameters": [
  8240. {
  8241. "type": "integer",
  8242. "description": "scf合同id",
  8243. "name": "scfcontractid",
  8244. "in": "query",
  8245. "required": true
  8246. },
  8247. {
  8248. "type": "string",
  8249. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8250. "name": "amounttype",
  8251. "in": "query"
  8252. }
  8253. ],
  8254. "responses": {
  8255. "200": {
  8256. "description": "OK",
  8257. "schema": {
  8258. "type": "array",
  8259. "items": {
  8260. "$ref": "#/definitions/models.QhjContractLog"
  8261. }
  8262. }
  8263. },
  8264. "500": {
  8265. "description": "Internal Server Error",
  8266. "schema": {
  8267. "$ref": "#/definitions/app.Response"
  8268. }
  8269. }
  8270. }
  8271. }
  8272. },
  8273. "/Qhj/QueryCusBankSignBank": {
  8274. "get": {
  8275. "security": [
  8276. {
  8277. "ApiKeyAuth": []
  8278. }
  8279. ],
  8280. "produces": [
  8281. "application/json"
  8282. ],
  8283. "tags": [
  8284. "大连千海金"
  8285. ],
  8286. "summary": "查询托管银行",
  8287. "responses": {
  8288. "200": {
  8289. "description": "OK",
  8290. "schema": {
  8291. "type": "array",
  8292. "items": {
  8293. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8294. }
  8295. }
  8296. },
  8297. "500": {
  8298. "description": "Internal Server Error",
  8299. "schema": {
  8300. "$ref": "#/definitions/app.Response"
  8301. }
  8302. }
  8303. }
  8304. }
  8305. },
  8306. "/Qhj/QueryCustomerInfo": {
  8307. "get": {
  8308. "security": [
  8309. {
  8310. "ApiKeyAuth": []
  8311. }
  8312. ],
  8313. "produces": [
  8314. "application/json"
  8315. ],
  8316. "tags": [
  8317. "大连千海金"
  8318. ],
  8319. "summary": "查询客户资料",
  8320. "parameters": [
  8321. {
  8322. "type": "integer",
  8323. "description": "用户ID",
  8324. "name": "userid",
  8325. "in": "query",
  8326. "required": true
  8327. },
  8328. {
  8329. "type": "integer",
  8330. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8331. "name": "querytype",
  8332. "in": "query",
  8333. "required": true
  8334. },
  8335. {
  8336. "type": "integer",
  8337. "description": "客户类型 1-个人 2-企业",
  8338. "name": "userinfotype",
  8339. "in": "query"
  8340. },
  8341. {
  8342. "type": "string",
  8343. "description": "客户名称(模糊匹配)",
  8344. "name": "customername",
  8345. "in": "query"
  8346. },
  8347. {
  8348. "type": "string",
  8349. "description": "昵称(模糊匹配)",
  8350. "name": "nickname",
  8351. "in": "query"
  8352. },
  8353. {
  8354. "type": "integer",
  8355. "description": "是否包含子级 1-包含",
  8356. "name": "includesub",
  8357. "in": "query"
  8358. }
  8359. ],
  8360. "responses": {
  8361. "200": {
  8362. "description": "OK",
  8363. "schema": {
  8364. "type": "array",
  8365. "items": {
  8366. "$ref": "#/definitions/models.QhjCustomer"
  8367. }
  8368. }
  8369. },
  8370. "500": {
  8371. "description": "Internal Server Error",
  8372. "schema": {
  8373. "$ref": "#/definitions/app.Response"
  8374. }
  8375. }
  8376. }
  8377. }
  8378. },
  8379. "/Qhj/QueryGoodsEx": {
  8380. "get": {
  8381. "security": [
  8382. {
  8383. "ApiKeyAuth": []
  8384. }
  8385. ],
  8386. "produces": [
  8387. "application/json"
  8388. ],
  8389. "tags": [
  8390. "大连千海金"
  8391. ],
  8392. "summary": "交易商品扩展表",
  8393. "parameters": [
  8394. {
  8395. "type": "integer",
  8396. "description": "商品id",
  8397. "name": "goodsid",
  8398. "in": "query"
  8399. }
  8400. ],
  8401. "responses": {
  8402. "200": {
  8403. "description": "OK",
  8404. "schema": {
  8405. "type": "array",
  8406. "items": {
  8407. "$ref": "#/definitions/models.Qhjgoodsex"
  8408. }
  8409. }
  8410. },
  8411. "500": {
  8412. "description": "Internal Server Error",
  8413. "schema": {
  8414. "$ref": "#/definitions/app.Response"
  8415. }
  8416. }
  8417. }
  8418. }
  8419. },
  8420. "/Qhj/QueryMyTeam": {
  8421. "get": {
  8422. "security": [
  8423. {
  8424. "ApiKeyAuth": []
  8425. }
  8426. ],
  8427. "produces": [
  8428. "application/json"
  8429. ],
  8430. "tags": [
  8431. "大连千海金"
  8432. ],
  8433. "summary": "查询我的团队",
  8434. "parameters": [
  8435. {
  8436. "type": "integer",
  8437. "description": "用户ID",
  8438. "name": "userid",
  8439. "in": "query",
  8440. "required": true
  8441. }
  8442. ],
  8443. "responses": {
  8444. "200": {
  8445. "description": "OK",
  8446. "schema": {
  8447. "type": "array",
  8448. "items": {
  8449. "$ref": "#/definitions/models.QhjMyTeamEx"
  8450. }
  8451. }
  8452. },
  8453. "500": {
  8454. "description": "Internal Server Error",
  8455. "schema": {
  8456. "$ref": "#/definitions/app.Response"
  8457. }
  8458. }
  8459. }
  8460. }
  8461. },
  8462. "/Qhj/QueryMyTeamOrder": {
  8463. "get": {
  8464. "security": [
  8465. {
  8466. "ApiKeyAuth": []
  8467. }
  8468. ],
  8469. "produces": [
  8470. "application/json"
  8471. ],
  8472. "tags": [
  8473. "大连千海金"
  8474. ],
  8475. "summary": "查询团队订单(我的团队/团队订单)",
  8476. "parameters": [
  8477. {
  8478. "type": "integer",
  8479. "description": "页码",
  8480. "name": "page",
  8481. "in": "query"
  8482. },
  8483. {
  8484. "type": "integer",
  8485. "description": "每页条数",
  8486. "name": "pagesize",
  8487. "in": "query"
  8488. },
  8489. {
  8490. "type": "integer",
  8491. "description": "用户ID",
  8492. "name": "userid",
  8493. "in": "query",
  8494. "required": true
  8495. },
  8496. {
  8497. "type": "integer",
  8498. "description": "交易模式",
  8499. "name": "trademode",
  8500. "in": "query"
  8501. },
  8502. {
  8503. "type": "string",
  8504. "description": "名称(模糊搜索账户)",
  8505. "name": "filtername",
  8506. "in": "query"
  8507. }
  8508. ],
  8509. "responses": {
  8510. "200": {
  8511. "description": "OK",
  8512. "schema": {
  8513. "type": "array",
  8514. "items": {
  8515. "$ref": "#/definitions/models.QhjTeamOrder"
  8516. }
  8517. }
  8518. },
  8519. "500": {
  8520. "description": "Internal Server Error",
  8521. "schema": {
  8522. "$ref": "#/definitions/app.Response"
  8523. }
  8524. }
  8525. }
  8526. }
  8527. },
  8528. "/Qhj/QueryParentAreaList": {
  8529. "get": {
  8530. "security": [
  8531. {
  8532. "ApiKeyAuth": []
  8533. }
  8534. ],
  8535. "produces": [
  8536. "application/json"
  8537. ],
  8538. "tags": [
  8539. "大连千海金"
  8540. ],
  8541. "summary": "查询所属机构列表",
  8542. "parameters": [
  8543. {
  8544. "type": "integer",
  8545. "description": "用户ID",
  8546. "name": "userid",
  8547. "in": "query",
  8548. "required": true
  8549. }
  8550. ],
  8551. "responses": {
  8552. "200": {
  8553. "description": "OK",
  8554. "schema": {
  8555. "type": "array",
  8556. "items": {
  8557. "$ref": "#/definitions/models.QhjParentAreaList"
  8558. }
  8559. }
  8560. },
  8561. "500": {
  8562. "description": "Internal Server Error",
  8563. "schema": {
  8564. "$ref": "#/definitions/app.Response"
  8565. }
  8566. }
  8567. }
  8568. }
  8569. },
  8570. "/Qhj/QueryPayOrder": {
  8571. "get": {
  8572. "security": [
  8573. {
  8574. "ApiKeyAuth": []
  8575. }
  8576. ],
  8577. "produces": [
  8578. "application/json"
  8579. ],
  8580. "tags": [
  8581. "大连千海金"
  8582. ],
  8583. "summary": "查询待付款单据",
  8584. "parameters": [
  8585. {
  8586. "type": "integer",
  8587. "description": "资金账号id",
  8588. "name": "accountid",
  8589. "in": "query",
  8590. "required": true
  8591. },
  8592. {
  8593. "type": "integer",
  8594. "description": "成交单号",
  8595. "name": "tradeid",
  8596. "in": "query"
  8597. },
  8598. {
  8599. "type": "string",
  8600. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8601. "name": "payflag",
  8602. "in": "query"
  8603. }
  8604. ],
  8605. "responses": {
  8606. "200": {
  8607. "description": "OK",
  8608. "schema": {
  8609. "type": "array",
  8610. "items": {
  8611. "$ref": "#/definitions/models.QhjPayOrder"
  8612. }
  8613. }
  8614. },
  8615. "500": {
  8616. "description": "Internal Server Error",
  8617. "schema": {
  8618. "$ref": "#/definitions/app.Response"
  8619. }
  8620. }
  8621. }
  8622. }
  8623. },
  8624. "/Qhj/QueryPickArea": {
  8625. "get": {
  8626. "security": [
  8627. {
  8628. "ApiKeyAuth": []
  8629. }
  8630. ],
  8631. "produces": [
  8632. "application/json"
  8633. ],
  8634. "tags": [
  8635. "大连千海金"
  8636. ],
  8637. "summary": "查询提货门店",
  8638. "parameters": [
  8639. {
  8640. "type": "integer",
  8641. "description": "用户ID",
  8642. "name": "userid",
  8643. "in": "query"
  8644. }
  8645. ],
  8646. "responses": {
  8647. "200": {
  8648. "description": "OK",
  8649. "schema": {
  8650. "type": "array",
  8651. "items": {
  8652. "$ref": "#/definitions/models.QhjPickArea"
  8653. }
  8654. }
  8655. },
  8656. "500": {
  8657. "description": "Internal Server Error",
  8658. "schema": {
  8659. "$ref": "#/definitions/app.Response"
  8660. }
  8661. }
  8662. }
  8663. }
  8664. },
  8665. "/Qhj/QueryPickGoods": {
  8666. "get": {
  8667. "security": [
  8668. {
  8669. "ApiKeyAuth": []
  8670. }
  8671. ],
  8672. "produces": [
  8673. "application/json"
  8674. ],
  8675. "tags": [
  8676. "大连千海金"
  8677. ],
  8678. "summary": "查询提货商品",
  8679. "parameters": [
  8680. {
  8681. "type": "integer",
  8682. "description": "交易商品id",
  8683. "name": "goodsid",
  8684. "in": "query",
  8685. "required": true
  8686. },
  8687. {
  8688. "type": "string",
  8689. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8690. "name": "status",
  8691. "in": "query"
  8692. }
  8693. ],
  8694. "responses": {
  8695. "200": {
  8696. "description": "OK",
  8697. "schema": {
  8698. "type": "array",
  8699. "items": {
  8700. "$ref": "#/definitions/models.QhjPickGoods"
  8701. }
  8702. }
  8703. },
  8704. "500": {
  8705. "description": "Internal Server Error",
  8706. "schema": {
  8707. "$ref": "#/definitions/app.Response"
  8708. }
  8709. }
  8710. }
  8711. }
  8712. },
  8713. "/Qhj/QueryRSTriggerLog": {
  8714. "get": {
  8715. "security": [
  8716. {
  8717. "ApiKeyAuth": []
  8718. }
  8719. ],
  8720. "produces": [
  8721. "application/json"
  8722. ],
  8723. "tags": [
  8724. "大连千海金"
  8725. ],
  8726. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8727. "parameters": [
  8728. {
  8729. "type": "integer",
  8730. "description": "用户ID",
  8731. "name": "userid",
  8732. "in": "query"
  8733. },
  8734. {
  8735. "type": "integer",
  8736. "description": "定投策略id",
  8737. "name": "regularlystrategyid",
  8738. "in": "query"
  8739. },
  8740. {
  8741. "type": "integer",
  8742. "description": "商品id",
  8743. "name": "goodsid",
  8744. "in": "query"
  8745. },
  8746. {
  8747. "type": "string",
  8748. "description": "开始交易日(yyyymmdd)",
  8749. "name": "begindate",
  8750. "in": "query"
  8751. },
  8752. {
  8753. "type": "string",
  8754. "description": "结束交易日(yyyymmdd)",
  8755. "name": "enddate",
  8756. "in": "query"
  8757. },
  8758. {
  8759. "type": "string",
  8760. "description": "名称(模糊搜索账户)",
  8761. "name": "filtername",
  8762. "in": "query"
  8763. }
  8764. ],
  8765. "responses": {
  8766. "200": {
  8767. "description": "OK",
  8768. "schema": {
  8769. "type": "array",
  8770. "items": {
  8771. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8772. }
  8773. }
  8774. },
  8775. "500": {
  8776. "description": "Internal Server Error",
  8777. "schema": {
  8778. "$ref": "#/definitions/app.Response"
  8779. }
  8780. }
  8781. }
  8782. }
  8783. },
  8784. "/Qhj/QueryRStrategy": {
  8785. "get": {
  8786. "security": [
  8787. {
  8788. "ApiKeyAuth": []
  8789. }
  8790. ],
  8791. "produces": [
  8792. "application/json"
  8793. ],
  8794. "tags": [
  8795. "大连千海金"
  8796. ],
  8797. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8798. "parameters": [
  8799. {
  8800. "type": "integer",
  8801. "description": "用户ID",
  8802. "name": "userid",
  8803. "in": "query"
  8804. },
  8805. {
  8806. "type": "integer",
  8807. "description": "商品id",
  8808. "name": "goodsid",
  8809. "in": "query"
  8810. },
  8811. {
  8812. "type": "string",
  8813. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8814. "name": "status",
  8815. "in": "query"
  8816. },
  8817. {
  8818. "type": "string",
  8819. "description": "名称(模糊搜索账户)",
  8820. "name": "filtername",
  8821. "in": "query"
  8822. }
  8823. ],
  8824. "responses": {
  8825. "200": {
  8826. "description": "OK",
  8827. "schema": {
  8828. "type": "array",
  8829. "items": {
  8830. "$ref": "#/definitions/models.QhjRStrategy"
  8831. }
  8832. }
  8833. },
  8834. "500": {
  8835. "description": "Internal Server Error",
  8836. "schema": {
  8837. "$ref": "#/definitions/app.Response"
  8838. }
  8839. }
  8840. }
  8841. }
  8842. },
  8843. "/Qhj/QueryReckonPriceLog": {
  8844. "get": {
  8845. "security": [
  8846. {
  8847. "ApiKeyAuth": []
  8848. }
  8849. ],
  8850. "produces": [
  8851. "application/json"
  8852. ],
  8853. "tags": [
  8854. "大连千海金"
  8855. ],
  8856. "summary": "查询定投价(结算价)",
  8857. "parameters": [
  8858. {
  8859. "type": "integer",
  8860. "description": "商品ID",
  8861. "name": "goodsid",
  8862. "in": "query"
  8863. },
  8864. {
  8865. "type": "string",
  8866. "description": "交易日 格式(yyyymmdd)",
  8867. "name": "tradedate",
  8868. "in": "query"
  8869. }
  8870. ],
  8871. "responses": {
  8872. "200": {
  8873. "description": "OK",
  8874. "schema": {
  8875. "type": "array",
  8876. "items": {
  8877. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8878. }
  8879. }
  8880. },
  8881. "500": {
  8882. "description": "Internal Server Error",
  8883. "schema": {
  8884. "$ref": "#/definitions/app.Response"
  8885. }
  8886. }
  8887. }
  8888. }
  8889. },
  8890. "/Qhj/QueryScoreLog": {
  8891. "get": {
  8892. "security": [
  8893. {
  8894. "ApiKeyAuth": []
  8895. }
  8896. ],
  8897. "produces": [
  8898. "application/json"
  8899. ],
  8900. "tags": [
  8901. "大连千海金"
  8902. ],
  8903. "summary": "查询积分流水(我的积分)",
  8904. "parameters": [
  8905. {
  8906. "type": "integer",
  8907. "description": "用户ID",
  8908. "name": "userid",
  8909. "in": "query",
  8910. "required": true
  8911. },
  8912. {
  8913. "type": "string",
  8914. "description": "开始交易日(yyyymmdd)",
  8915. "name": "begindate",
  8916. "in": "query"
  8917. },
  8918. {
  8919. "type": "string",
  8920. "description": "结束交易日(yyyymmdd)",
  8921. "name": "enddate",
  8922. "in": "query"
  8923. },
  8924. {
  8925. "type": "integer",
  8926. "description": "最近多少条",
  8927. "name": "lastnum",
  8928. "in": "query"
  8929. }
  8930. ],
  8931. "responses": {
  8932. "200": {
  8933. "description": "OK",
  8934. "schema": {
  8935. "type": "array",
  8936. "items": {
  8937. "$ref": "#/definitions/models.QhjScoreLog"
  8938. }
  8939. }
  8940. },
  8941. "500": {
  8942. "description": "Internal Server Error",
  8943. "schema": {
  8944. "$ref": "#/definitions/app.Response"
  8945. }
  8946. }
  8947. }
  8948. }
  8949. },
  8950. "/Qhj/QuerySiteColumnDetail": {
  8951. "get": {
  8952. "security": [
  8953. {
  8954. "ApiKeyAuth": []
  8955. }
  8956. ],
  8957. "produces": [
  8958. "application/json"
  8959. ],
  8960. "tags": [
  8961. "大连千海金"
  8962. ],
  8963. "summary": "查询资讯",
  8964. "parameters": [
  8965. {
  8966. "type": "integer",
  8967. "description": "用户ID",
  8968. "name": "userid",
  8969. "in": "query",
  8970. "required": true
  8971. }
  8972. ],
  8973. "responses": {
  8974. "200": {
  8975. "description": "OK",
  8976. "schema": {
  8977. "type": "array",
  8978. "items": {
  8979. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8980. }
  8981. }
  8982. },
  8983. "500": {
  8984. "description": "Internal Server Error",
  8985. "schema": {
  8986. "$ref": "#/definitions/app.Response"
  8987. }
  8988. }
  8989. }
  8990. }
  8991. },
  8992. "/Qhj/QueryTradeGoodsPickup": {
  8993. "get": {
  8994. "security": [
  8995. {
  8996. "ApiKeyAuth": []
  8997. }
  8998. ],
  8999. "produces": [
  9000. "application/json"
  9001. ],
  9002. "tags": [
  9003. "大连千海金"
  9004. ],
  9005. "summary": "查询提货",
  9006. "parameters": [
  9007. {
  9008. "type": "integer",
  9009. "description": "用户ID",
  9010. "name": "userid",
  9011. "in": "query",
  9012. "required": true
  9013. },
  9014. {
  9015. "type": "integer",
  9016. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9017. "name": "takeorderstatus",
  9018. "in": "query"
  9019. }
  9020. ],
  9021. "responses": {
  9022. "200": {
  9023. "description": "OK",
  9024. "schema": {
  9025. "type": "array",
  9026. "items": {
  9027. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9028. }
  9029. }
  9030. },
  9031. "500": {
  9032. "description": "Internal Server Error",
  9033. "schema": {
  9034. "$ref": "#/definitions/app.Response"
  9035. }
  9036. }
  9037. }
  9038. }
  9039. },
  9040. "/Qhj/QueryUserCollectConfig": {
  9041. "get": {
  9042. "security": [
  9043. {
  9044. "ApiKeyAuth": []
  9045. }
  9046. ],
  9047. "produces": [
  9048. "application/json"
  9049. ],
  9050. "tags": [
  9051. "大连千海金"
  9052. ],
  9053. "summary": "查询提现账户设置",
  9054. "parameters": [
  9055. {
  9056. "type": "integer",
  9057. "description": "用户ID",
  9058. "name": "userid",
  9059. "in": "query",
  9060. "required": true
  9061. }
  9062. ],
  9063. "responses": {
  9064. "200": {
  9065. "description": "OK",
  9066. "schema": {
  9067. "type": "array",
  9068. "items": {
  9069. "$ref": "#/definitions/models.UserCollectConfig"
  9070. }
  9071. }
  9072. },
  9073. "500": {
  9074. "description": "Internal Server Error",
  9075. "schema": {
  9076. "$ref": "#/definitions/app.Response"
  9077. }
  9078. }
  9079. }
  9080. }
  9081. },
  9082. "/Qhj/QueryUserReceiveInfo": {
  9083. "get": {
  9084. "security": [
  9085. {
  9086. "ApiKeyAuth": []
  9087. }
  9088. ],
  9089. "produces": [
  9090. "application/json"
  9091. ],
  9092. "tags": [
  9093. "大连千海金"
  9094. ],
  9095. "summary": "查询收货地址信息",
  9096. "parameters": [
  9097. {
  9098. "type": "integer",
  9099. "description": "用户ID",
  9100. "name": "userid",
  9101. "in": "query",
  9102. "required": true
  9103. }
  9104. ],
  9105. "responses": {
  9106. "200": {
  9107. "description": "OK",
  9108. "schema": {
  9109. "type": "array",
  9110. "items": {
  9111. "$ref": "#/definitions/models.UserReceiveInfo"
  9112. }
  9113. }
  9114. },
  9115. "500": {
  9116. "description": "Internal Server Error",
  9117. "schema": {
  9118. "$ref": "#/definitions/app.Response"
  9119. }
  9120. }
  9121. }
  9122. }
  9123. },
  9124. "/QhjMgr/QueryAccountInOutApply": {
  9125. "get": {
  9126. "security": [
  9127. {
  9128. "ApiKeyAuth": []
  9129. }
  9130. ],
  9131. "produces": [
  9132. "application/json"
  9133. ],
  9134. "tags": [
  9135. "大连千海金(PCWeb)"
  9136. ],
  9137. "summary": "查询充值提现",
  9138. "parameters": [
  9139. {
  9140. "type": "integer",
  9141. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9142. "name": "querytype",
  9143. "in": "query",
  9144. "required": true
  9145. },
  9146. {
  9147. "type": "integer",
  9148. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9149. "name": "applystatus",
  9150. "in": "query"
  9151. },
  9152. {
  9153. "type": "string",
  9154. "description": "申请起始日期(格式yyyymmdd)",
  9155. "name": "begindate",
  9156. "in": "query"
  9157. },
  9158. {
  9159. "type": "string",
  9160. "description": "申请截止日期(格式yyyymmdd)",
  9161. "name": "enddate",
  9162. "in": "query"
  9163. },
  9164. {
  9165. "type": "string",
  9166. "description": "模糊搜索名称",
  9167. "name": "likename",
  9168. "in": "query"
  9169. }
  9170. ],
  9171. "responses": {
  9172. "200": {
  9173. "description": "OK",
  9174. "schema": {
  9175. "type": "array",
  9176. "items": {
  9177. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9178. }
  9179. }
  9180. },
  9181. "500": {
  9182. "description": "Internal Server Error",
  9183. "schema": {
  9184. "$ref": "#/definitions/app.Response"
  9185. }
  9186. }
  9187. }
  9188. }
  9189. },
  9190. "/QhjMgr/QueryBrokerApply": {
  9191. "get": {
  9192. "security": [
  9193. {
  9194. "ApiKeyAuth": []
  9195. }
  9196. ],
  9197. "produces": [
  9198. "application/json"
  9199. ],
  9200. "tags": [
  9201. "大连千海金(PCWeb)"
  9202. ],
  9203. "summary": "查询经纪人申请",
  9204. "parameters": [
  9205. {
  9206. "type": "integer",
  9207. "description": "所属机构ID",
  9208. "name": "userid",
  9209. "in": "query"
  9210. },
  9211. {
  9212. "type": "string",
  9213. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9214. "name": "filterstatus",
  9215. "in": "query"
  9216. },
  9217. {
  9218. "type": "string",
  9219. "description": "名称(模糊匹配)",
  9220. "name": "filtername",
  9221. "in": "query"
  9222. },
  9223. {
  9224. "type": "integer",
  9225. "description": "是否包含子级 1-包含",
  9226. "name": "includesub",
  9227. "in": "query"
  9228. }
  9229. ],
  9230. "responses": {
  9231. "200": {
  9232. "description": "OK",
  9233. "schema": {
  9234. "type": "array",
  9235. "items": {
  9236. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9237. }
  9238. }
  9239. },
  9240. "500": {
  9241. "description": "Internal Server Error",
  9242. "schema": {
  9243. "$ref": "#/definitions/app.Response"
  9244. }
  9245. }
  9246. }
  9247. }
  9248. },
  9249. "/QhjMgr/QueryBrokerRewardReport": {
  9250. "get": {
  9251. "security": [
  9252. {
  9253. "ApiKeyAuth": []
  9254. }
  9255. ],
  9256. "produces": [
  9257. "application/json"
  9258. ],
  9259. "tags": [
  9260. "大连千海金(PCWeb)"
  9261. ],
  9262. "summary": "查询经纪人奖励报表(废弃)",
  9263. "parameters": [
  9264. {
  9265. "type": "integer",
  9266. "description": "所属机构ID",
  9267. "name": "userid",
  9268. "in": "query",
  9269. "required": true
  9270. },
  9271. {
  9272. "type": "integer",
  9273. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9274. "name": "cycletype",
  9275. "in": "query",
  9276. "required": true
  9277. },
  9278. {
  9279. "type": "string",
  9280. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9281. "name": "cycletime",
  9282. "in": "query",
  9283. "required": true
  9284. },
  9285. {
  9286. "type": "string",
  9287. "description": "名称(模糊匹配)",
  9288. "name": "filtername",
  9289. "in": "query"
  9290. },
  9291. {
  9292. "type": "integer",
  9293. "description": "是否包含子级 1-包含",
  9294. "name": "includesub",
  9295. "in": "query"
  9296. }
  9297. ],
  9298. "responses": {
  9299. "200": {
  9300. "description": "OK",
  9301. "schema": {
  9302. "type": "array",
  9303. "items": {
  9304. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9305. }
  9306. }
  9307. },
  9308. "500": {
  9309. "description": "Internal Server Error",
  9310. "schema": {
  9311. "$ref": "#/definitions/app.Response"
  9312. }
  9313. }
  9314. }
  9315. }
  9316. },
  9317. "/QhjMgr/QueryContract": {
  9318. "get": {
  9319. "security": [
  9320. {
  9321. "ApiKeyAuth": []
  9322. }
  9323. ],
  9324. "produces": [
  9325. "application/json"
  9326. ],
  9327. "tags": [
  9328. "大连千海金(PCWeb)"
  9329. ],
  9330. "summary": "查询融资信息(合同)",
  9331. "parameters": [
  9332. {
  9333. "type": "integer",
  9334. "description": "用户ID",
  9335. "name": "userid",
  9336. "in": "query"
  9337. },
  9338. {
  9339. "type": "integer",
  9340. "description": "商品id",
  9341. "name": "goodsid",
  9342. "in": "query"
  9343. },
  9344. {
  9345. "type": "string",
  9346. "description": "名称(模糊搜索账户)",
  9347. "name": "filtername",
  9348. "in": "query"
  9349. },
  9350. {
  9351. "type": "string",
  9352. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9353. "name": "risklevel",
  9354. "in": "query"
  9355. },
  9356. {
  9357. "type": "string",
  9358. "description": "开始交易日(yyyymmdd)",
  9359. "name": "begindate",
  9360. "in": "query"
  9361. },
  9362. {
  9363. "type": "string",
  9364. "description": "结束交易日(yyyymmdd)",
  9365. "name": "enddate",
  9366. "in": "query"
  9367. }
  9368. ],
  9369. "responses": {
  9370. "200": {
  9371. "description": "OK",
  9372. "schema": {
  9373. "type": "array",
  9374. "items": {
  9375. "$ref": "#/definitions/models.QhjMgrContract"
  9376. }
  9377. }
  9378. },
  9379. "500": {
  9380. "description": "Internal Server Error",
  9381. "schema": {
  9382. "$ref": "#/definitions/app.Response"
  9383. }
  9384. }
  9385. }
  9386. }
  9387. },
  9388. "/QhjMgr/QueryCustomerInfo": {
  9389. "get": {
  9390. "security": [
  9391. {
  9392. "ApiKeyAuth": []
  9393. }
  9394. ],
  9395. "produces": [
  9396. "application/json"
  9397. ],
  9398. "tags": [
  9399. "大连千海金(PCWeb)"
  9400. ],
  9401. "summary": "查询客户资料",
  9402. "parameters": [
  9403. {
  9404. "type": "integer",
  9405. "description": "用户ID",
  9406. "name": "userid",
  9407. "in": "query",
  9408. "required": true
  9409. },
  9410. {
  9411. "type": "integer",
  9412. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9413. "name": "querytype",
  9414. "in": "query",
  9415. "required": true
  9416. },
  9417. {
  9418. "type": "integer",
  9419. "description": "客户类型 1-个人 2-企业",
  9420. "name": "userinfotype",
  9421. "in": "query"
  9422. },
  9423. {
  9424. "type": "string",
  9425. "description": "客户名称(模糊匹配)",
  9426. "name": "customername",
  9427. "in": "query"
  9428. },
  9429. {
  9430. "type": "string",
  9431. "description": "昵称(模糊匹配)",
  9432. "name": "nickname",
  9433. "in": "query"
  9434. },
  9435. {
  9436. "type": "string",
  9437. "description": "所属客户经理(模糊匹配)",
  9438. "name": "brokername",
  9439. "in": "query"
  9440. },
  9441. {
  9442. "type": "string",
  9443. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9444. "name": "birthday",
  9445. "in": "query"
  9446. },
  9447. {
  9448. "type": "integer",
  9449. "description": "是否包含子级 1-包含",
  9450. "name": "includesub",
  9451. "in": "query"
  9452. }
  9453. ],
  9454. "responses": {
  9455. "200": {
  9456. "description": "OK",
  9457. "schema": {
  9458. "type": "array",
  9459. "items": {
  9460. "$ref": "#/definitions/models.QhjMgrCustomer"
  9461. }
  9462. }
  9463. },
  9464. "500": {
  9465. "description": "Internal Server Error",
  9466. "schema": {
  9467. "$ref": "#/definitions/app.Response"
  9468. }
  9469. }
  9470. }
  9471. }
  9472. },
  9473. "/QhjMgr/QueryPickGoods": {
  9474. "get": {
  9475. "security": [
  9476. {
  9477. "ApiKeyAuth": []
  9478. }
  9479. ],
  9480. "produces": [
  9481. "application/json"
  9482. ],
  9483. "tags": [
  9484. "大连千海金(PCWeb)"
  9485. ],
  9486. "summary": "查询提货商品",
  9487. "parameters": [
  9488. {
  9489. "type": "string",
  9490. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9491. "name": "status",
  9492. "in": "query"
  9493. }
  9494. ],
  9495. "responses": {
  9496. "200": {
  9497. "description": "OK",
  9498. "schema": {
  9499. "type": "array",
  9500. "items": {
  9501. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9502. }
  9503. }
  9504. },
  9505. "500": {
  9506. "description": "Internal Server Error",
  9507. "schema": {
  9508. "$ref": "#/definitions/app.Response"
  9509. }
  9510. }
  9511. }
  9512. }
  9513. },
  9514. "/QhjMgr/QuerySubArea": {
  9515. "get": {
  9516. "security": [
  9517. {
  9518. "ApiKeyAuth": []
  9519. }
  9520. ],
  9521. "produces": [
  9522. "application/json"
  9523. ],
  9524. "tags": [
  9525. "大连千海金(PCWeb)"
  9526. ],
  9527. "summary": "查询子机构列表",
  9528. "parameters": [
  9529. {
  9530. "type": "integer",
  9531. "description": "用户ID",
  9532. "name": "userid",
  9533. "in": "query",
  9534. "required": true
  9535. }
  9536. ],
  9537. "responses": {
  9538. "200": {
  9539. "description": "OK",
  9540. "schema": {
  9541. "type": "array",
  9542. "items": {
  9543. "$ref": "#/definitions/models.QhjMgrSubArea"
  9544. }
  9545. }
  9546. },
  9547. "500": {
  9548. "description": "Internal Server Error",
  9549. "schema": {
  9550. "$ref": "#/definitions/app.Response"
  9551. }
  9552. }
  9553. }
  9554. }
  9555. },
  9556. "/QhjMgr/QueryTradeDetail": {
  9557. "get": {
  9558. "security": [
  9559. {
  9560. "ApiKeyAuth": []
  9561. }
  9562. ],
  9563. "produces": [
  9564. "application/json"
  9565. ],
  9566. "tags": [
  9567. "大连千海金(PCWeb)"
  9568. ],
  9569. "summary": "查询成交明细",
  9570. "parameters": [
  9571. {
  9572. "type": "integer",
  9573. "description": "用户ID",
  9574. "name": "userid",
  9575. "in": "query",
  9576. "required": true
  9577. },
  9578. {
  9579. "type": "integer",
  9580. "description": "用户类型 1-个人 2-企业",
  9581. "name": "userinfotype",
  9582. "in": "query"
  9583. },
  9584. {
  9585. "type": "integer",
  9586. "description": "交易模式",
  9587. "name": "trademode",
  9588. "in": "query"
  9589. },
  9590. {
  9591. "type": "integer",
  9592. "description": "商品id",
  9593. "name": "goodsid",
  9594. "in": "query"
  9595. },
  9596. {
  9597. "type": "string",
  9598. "description": "名称(模糊搜索账户)",
  9599. "name": "filtername",
  9600. "in": "query"
  9601. },
  9602. {
  9603. "type": "string",
  9604. "description": "开始交易日(yyyymmdd)",
  9605. "name": "begindate",
  9606. "in": "query"
  9607. },
  9608. {
  9609. "type": "string",
  9610. "description": "结束交易日(yyyymmdd)",
  9611. "name": "enddate",
  9612. "in": "query"
  9613. },
  9614. {
  9615. "type": "integer",
  9616. "description": "是否包含子级 1-包含",
  9617. "name": "includesub",
  9618. "in": "query"
  9619. }
  9620. ],
  9621. "responses": {
  9622. "200": {
  9623. "description": "OK",
  9624. "schema": {
  9625. "type": "array",
  9626. "items": {
  9627. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9628. }
  9629. }
  9630. },
  9631. "500": {
  9632. "description": "Internal Server Error",
  9633. "schema": {
  9634. "$ref": "#/definitions/app.Response"
  9635. }
  9636. }
  9637. }
  9638. }
  9639. },
  9640. "/QhjMgr/QueryTradeOrderDetail": {
  9641. "get": {
  9642. "security": [
  9643. {
  9644. "ApiKeyAuth": []
  9645. }
  9646. ],
  9647. "produces": [
  9648. "application/json"
  9649. ],
  9650. "tags": [
  9651. "大连千海金(PCWeb)"
  9652. ],
  9653. "summary": "查询委托明细",
  9654. "parameters": [
  9655. {
  9656. "type": "integer",
  9657. "description": "用户ID",
  9658. "name": "userid",
  9659. "in": "query",
  9660. "required": true
  9661. },
  9662. {
  9663. "type": "integer",
  9664. "description": "用户类型 1-个人 2-企业",
  9665. "name": "userinfotype",
  9666. "in": "query"
  9667. },
  9668. {
  9669. "type": "integer",
  9670. "description": "交易模式",
  9671. "name": "trademode",
  9672. "in": "query"
  9673. },
  9674. {
  9675. "type": "integer",
  9676. "description": "商品id",
  9677. "name": "goodsid",
  9678. "in": "query"
  9679. },
  9680. {
  9681. "type": "string",
  9682. "description": "名称(模糊搜索账户)",
  9683. "name": "filtername",
  9684. "in": "query"
  9685. },
  9686. {
  9687. "type": "string",
  9688. "description": "开始交易日(yyyymmdd)",
  9689. "name": "begindate",
  9690. "in": "query"
  9691. },
  9692. {
  9693. "type": "string",
  9694. "description": "结束交易日(yyyymmdd)",
  9695. "name": "enddate",
  9696. "in": "query"
  9697. },
  9698. {
  9699. "type": "integer",
  9700. "description": "是否包含子级 1-包含",
  9701. "name": "includesub",
  9702. "in": "query"
  9703. }
  9704. ],
  9705. "responses": {
  9706. "200": {
  9707. "description": "OK",
  9708. "schema": {
  9709. "type": "array",
  9710. "items": {
  9711. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9712. }
  9713. }
  9714. },
  9715. "500": {
  9716. "description": "Internal Server Error",
  9717. "schema": {
  9718. "$ref": "#/definitions/app.Response"
  9719. }
  9720. }
  9721. }
  9722. }
  9723. },
  9724. "/QhjMgr/QueryTradePayOrder": {
  9725. "get": {
  9726. "security": [
  9727. {
  9728. "ApiKeyAuth": []
  9729. }
  9730. ],
  9731. "produces": [
  9732. "application/json"
  9733. ],
  9734. "tags": [
  9735. "大连千海金(PCWeb)"
  9736. ],
  9737. "summary": "查询待付款单",
  9738. "parameters": [
  9739. {
  9740. "type": "integer",
  9741. "description": "用户ID",
  9742. "name": "userid",
  9743. "in": "query",
  9744. "required": true
  9745. },
  9746. {
  9747. "type": "string",
  9748. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9749. "name": "payflag",
  9750. "in": "query"
  9751. },
  9752. {
  9753. "type": "integer",
  9754. "description": "用户类型 1-个人 2-企业",
  9755. "name": "userinfotype",
  9756. "in": "query"
  9757. },
  9758. {
  9759. "type": "integer",
  9760. "description": "交易模式",
  9761. "name": "trademode",
  9762. "in": "query"
  9763. },
  9764. {
  9765. "type": "integer",
  9766. "description": "商品id",
  9767. "name": "goodsid",
  9768. "in": "query"
  9769. },
  9770. {
  9771. "type": "string",
  9772. "description": "名称(模糊搜索账户)",
  9773. "name": "filtername",
  9774. "in": "query"
  9775. },
  9776. {
  9777. "type": "string",
  9778. "description": "开始交易日(yyyymmdd)",
  9779. "name": "begindate",
  9780. "in": "query"
  9781. },
  9782. {
  9783. "type": "string",
  9784. "description": "结束交易日(yyyymmdd)",
  9785. "name": "enddate",
  9786. "in": "query"
  9787. },
  9788. {
  9789. "type": "integer",
  9790. "description": "是否包含子级 1-包含",
  9791. "name": "includesub",
  9792. "in": "query"
  9793. }
  9794. ],
  9795. "responses": {
  9796. "200": {
  9797. "description": "OK",
  9798. "schema": {
  9799. "type": "array",
  9800. "items": {
  9801. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9802. }
  9803. }
  9804. },
  9805. "500": {
  9806. "description": "Internal Server Error",
  9807. "schema": {
  9808. "$ref": "#/definitions/app.Response"
  9809. }
  9810. }
  9811. }
  9812. }
  9813. },
  9814. "/QhjMgr/QueryTradePosition": {
  9815. "get": {
  9816. "security": [
  9817. {
  9818. "ApiKeyAuth": []
  9819. }
  9820. ],
  9821. "produces": [
  9822. "application/json"
  9823. ],
  9824. "tags": [
  9825. "大连千海金(PCWeb)"
  9826. ],
  9827. "summary": "查询持仓汇总",
  9828. "parameters": [
  9829. {
  9830. "type": "integer",
  9831. "description": "用户ID",
  9832. "name": "userid",
  9833. "in": "query",
  9834. "required": true
  9835. },
  9836. {
  9837. "type": "integer",
  9838. "description": "用户类型 1-个人 2-企业",
  9839. "name": "userinfotype",
  9840. "in": "query"
  9841. },
  9842. {
  9843. "type": "integer",
  9844. "description": "交易模式",
  9845. "name": "trademode",
  9846. "in": "query"
  9847. },
  9848. {
  9849. "type": "integer",
  9850. "description": "商品id",
  9851. "name": "goodsid",
  9852. "in": "query"
  9853. },
  9854. {
  9855. "type": "string",
  9856. "description": "名称(模糊搜索账户)",
  9857. "name": "filtername",
  9858. "in": "query"
  9859. },
  9860. {
  9861. "type": "integer",
  9862. "description": "是否包含子级 1-包含",
  9863. "name": "includesub",
  9864. "in": "query"
  9865. }
  9866. ],
  9867. "responses": {
  9868. "200": {
  9869. "description": "OK",
  9870. "schema": {
  9871. "type": "array",
  9872. "items": {
  9873. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9874. }
  9875. }
  9876. },
  9877. "500": {
  9878. "description": "Internal Server Error",
  9879. "schema": {
  9880. "$ref": "#/definitions/app.Response"
  9881. }
  9882. }
  9883. }
  9884. }
  9885. },
  9886. "/QhjSys/QueryAgreementChangeLog": {
  9887. "get": {
  9888. "security": [
  9889. {
  9890. "ApiKeyAuth": []
  9891. }
  9892. ],
  9893. "produces": [
  9894. "application/json"
  9895. ],
  9896. "tags": [
  9897. "大连千海金(协议和签约信息)"
  9898. ],
  9899. "summary": "查询协议配置变更流水",
  9900. "parameters": [
  9901. {
  9902. "type": "integer",
  9903. "description": "协议ID",
  9904. "name": "agreementid",
  9905. "in": "query"
  9906. },
  9907. {
  9908. "type": "integer",
  9909. "description": "协议版本号",
  9910. "name": "agreementversion",
  9911. "in": "query"
  9912. },
  9913. {
  9914. "type": "integer",
  9915. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9916. "name": "agreementtype",
  9917. "in": "query"
  9918. },
  9919. {
  9920. "type": "string",
  9921. "description": "协议编号(模糊匹配)",
  9922. "name": "agreementno",
  9923. "in": "query"
  9924. },
  9925. {
  9926. "type": "string",
  9927. "description": "协议名称(模糊匹配)",
  9928. "name": "agreementname",
  9929. "in": "query"
  9930. }
  9931. ],
  9932. "responses": {
  9933. "200": {
  9934. "description": "OK",
  9935. "schema": {
  9936. "type": "array",
  9937. "items": {
  9938. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9939. }
  9940. }
  9941. },
  9942. "500": {
  9943. "description": "Internal Server Error",
  9944. "schema": {
  9945. "$ref": "#/definitions/app.Response"
  9946. }
  9947. }
  9948. }
  9949. }
  9950. },
  9951. "/QhjSys/QueryAgreementConfig": {
  9952. "get": {
  9953. "security": [
  9954. {
  9955. "ApiKeyAuth": []
  9956. }
  9957. ],
  9958. "produces": [
  9959. "application/json"
  9960. ],
  9961. "tags": [
  9962. "大连千海金(协议和签约信息)"
  9963. ],
  9964. "summary": "查询协议配置",
  9965. "parameters": [
  9966. {
  9967. "type": "integer",
  9968. "description": "协议ID",
  9969. "name": "agreementid",
  9970. "in": "query"
  9971. },
  9972. {
  9973. "type": "integer",
  9974. "description": "协议版本号",
  9975. "name": "agreementversion",
  9976. "in": "query"
  9977. },
  9978. {
  9979. "type": "integer",
  9980. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9981. "name": "agreementtype",
  9982. "in": "query"
  9983. },
  9984. {
  9985. "type": "integer",
  9986. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9987. "name": "isvalid",
  9988. "in": "query"
  9989. },
  9990. {
  9991. "type": "string",
  9992. "description": "协议编号(模糊匹配)",
  9993. "name": "agreementno",
  9994. "in": "query"
  9995. },
  9996. {
  9997. "type": "string",
  9998. "description": "协议名称(模糊匹配)",
  9999. "name": "agreementname",
  10000. "in": "query"
  10001. }
  10002. ],
  10003. "responses": {
  10004. "200": {
  10005. "description": "OK",
  10006. "schema": {
  10007. "type": "array",
  10008. "items": {
  10009. "$ref": "#/definitions/models.QhjAgreementConfig"
  10010. }
  10011. }
  10012. },
  10013. "500": {
  10014. "description": "Internal Server Error",
  10015. "schema": {
  10016. "$ref": "#/definitions/app.Response"
  10017. }
  10018. }
  10019. }
  10020. }
  10021. },
  10022. "/QhjSys/QueryCustomerSignStatus": {
  10023. "get": {
  10024. "security": [
  10025. {
  10026. "ApiKeyAuth": []
  10027. }
  10028. ],
  10029. "produces": [
  10030. "application/json"
  10031. ],
  10032. "tags": [
  10033. "大连千海金(协议和签约信息)"
  10034. ],
  10035. "summary": "查询客户协议签约状态",
  10036. "parameters": [
  10037. {
  10038. "type": "integer",
  10039. "description": "客户ID",
  10040. "name": "userid",
  10041. "in": "query"
  10042. },
  10043. {
  10044. "type": "integer",
  10045. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10046. "name": "nodetype",
  10047. "in": "query"
  10048. },
  10049. {
  10050. "type": "integer",
  10051. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10052. "name": "goodsid",
  10053. "in": "query"
  10054. },
  10055. {
  10056. "type": "string",
  10057. "description": "创建交易日(yyyyMMdd)",
  10058. "name": "tradedate",
  10059. "in": "query"
  10060. },
  10061. {
  10062. "type": "string",
  10063. "description": "用户名称(模糊匹配)",
  10064. "name": "username",
  10065. "in": "query"
  10066. }
  10067. ],
  10068. "responses": {
  10069. "200": {
  10070. "description": "OK",
  10071. "schema": {
  10072. "type": "array",
  10073. "items": {
  10074. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10075. }
  10076. }
  10077. },
  10078. "500": {
  10079. "description": "Internal Server Error",
  10080. "schema": {
  10081. "$ref": "#/definitions/app.Response"
  10082. }
  10083. }
  10084. }
  10085. }
  10086. },
  10087. "/QhjSys/QueryNodeAgreementConfig": {
  10088. "get": {
  10089. "security": [
  10090. {
  10091. "ApiKeyAuth": []
  10092. }
  10093. ],
  10094. "produces": [
  10095. "application/json"
  10096. ],
  10097. "tags": [
  10098. "大连千海金(协议和签约信息)"
  10099. ],
  10100. "summary": "查询协议节点配置",
  10101. "parameters": [
  10102. {
  10103. "type": "integer",
  10104. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10105. "name": "configid",
  10106. "in": "query"
  10107. },
  10108. {
  10109. "type": "integer",
  10110. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10111. "name": "nodetype",
  10112. "in": "query"
  10113. },
  10114. {
  10115. "type": "integer",
  10116. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10117. "name": "goodsid",
  10118. "in": "query"
  10119. },
  10120. {
  10121. "type": "integer",
  10122. "description": "协议ID",
  10123. "name": "agreementid",
  10124. "in": "query"
  10125. },
  10126. {
  10127. "type": "integer",
  10128. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10129. "name": "agreementtype",
  10130. "in": "query"
  10131. },
  10132. {
  10133. "type": "integer",
  10134. "description": "协议版本号",
  10135. "name": "agreementversion",
  10136. "in": "query"
  10137. },
  10138. {
  10139. "type": "string",
  10140. "description": "协议编号(模糊匹配)",
  10141. "name": "agreementno",
  10142. "in": "query"
  10143. },
  10144. {
  10145. "type": "string",
  10146. "description": "协议名称(模糊匹配)",
  10147. "name": "agreementname",
  10148. "in": "query"
  10149. }
  10150. ],
  10151. "responses": {
  10152. "200": {
  10153. "description": "OK",
  10154. "schema": {
  10155. "type": "array",
  10156. "items": {
  10157. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10158. }
  10159. }
  10160. },
  10161. "500": {
  10162. "description": "Internal Server Error",
  10163. "schema": {
  10164. "$ref": "#/definitions/app.Response"
  10165. }
  10166. }
  10167. }
  10168. }
  10169. },
  10170. "/QhjSys/QueryQhjCustomerSignLog": {
  10171. "get": {
  10172. "security": [
  10173. {
  10174. "ApiKeyAuth": []
  10175. }
  10176. ],
  10177. "produces": [
  10178. "application/json"
  10179. ],
  10180. "tags": [
  10181. "大连千海金(协议和签约信息)"
  10182. ],
  10183. "summary": "查询客户协议签约流水",
  10184. "parameters": [
  10185. {
  10186. "type": "integer",
  10187. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10188. "name": "logid",
  10189. "in": "query"
  10190. },
  10191. {
  10192. "type": "integer",
  10193. "description": "客户ID",
  10194. "name": "userid",
  10195. "in": "query"
  10196. },
  10197. {
  10198. "type": "integer",
  10199. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10200. "name": "nodetype",
  10201. "in": "query"
  10202. },
  10203. {
  10204. "type": "integer",
  10205. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10206. "name": "goodsid",
  10207. "in": "query"
  10208. },
  10209. {
  10210. "type": "integer",
  10211. "description": "协议ID",
  10212. "name": "agreementid",
  10213. "in": "query"
  10214. },
  10215. {
  10216. "type": "string",
  10217. "description": "用户名称(模糊匹配)",
  10218. "name": "username",
  10219. "in": "query"
  10220. },
  10221. {
  10222. "type": "string",
  10223. "description": "协议编号(模糊匹配)",
  10224. "name": "agreementno",
  10225. "in": "query"
  10226. },
  10227. {
  10228. "type": "string",
  10229. "description": "协议名称(模糊匹配)",
  10230. "name": "agreementname",
  10231. "in": "query"
  10232. }
  10233. ],
  10234. "responses": {
  10235. "200": {
  10236. "description": "OK",
  10237. "schema": {
  10238. "type": "array",
  10239. "items": {
  10240. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10241. }
  10242. }
  10243. },
  10244. "500": {
  10245. "description": "Internal Server Error",
  10246. "schema": {
  10247. "$ref": "#/definitions/app.Response"
  10248. }
  10249. }
  10250. }
  10251. }
  10252. },
  10253. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10254. "get": {
  10255. "security": [
  10256. {
  10257. "ApiKeyAuth": []
  10258. }
  10259. ],
  10260. "produces": [
  10261. "application/json"
  10262. ],
  10263. "tags": [
  10264. "大连千海金(协议和签约信息)"
  10265. ],
  10266. "summary": "查询用户协议节点配置和状态",
  10267. "parameters": [
  10268. {
  10269. "type": "integer",
  10270. "description": "客户ID",
  10271. "name": "userid",
  10272. "in": "query"
  10273. },
  10274. {
  10275. "type": "integer",
  10276. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10277. "name": "configid",
  10278. "in": "query"
  10279. },
  10280. {
  10281. "type": "string",
  10282. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10283. "name": "nodetype",
  10284. "in": "query"
  10285. },
  10286. {
  10287. "type": "integer",
  10288. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10289. "name": "goodsid",
  10290. "in": "query"
  10291. },
  10292. {
  10293. "type": "integer",
  10294. "description": "协议ID",
  10295. "name": "agreementid",
  10296. "in": "query"
  10297. },
  10298. {
  10299. "type": "integer",
  10300. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10301. "name": "agreementtype",
  10302. "in": "query"
  10303. },
  10304. {
  10305. "type": "integer",
  10306. "description": "协议版本号",
  10307. "name": "agreementversion",
  10308. "in": "query"
  10309. },
  10310. {
  10311. "type": "string",
  10312. "description": "协议编号(模糊匹配)",
  10313. "name": "agreementno",
  10314. "in": "query"
  10315. },
  10316. {
  10317. "type": "string",
  10318. "description": "协议名称(模糊匹配)",
  10319. "name": "agreementname",
  10320. "in": "query"
  10321. }
  10322. ],
  10323. "responses": {
  10324. "200": {
  10325. "description": "OK",
  10326. "schema": {
  10327. "type": "array",
  10328. "items": {
  10329. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10330. }
  10331. }
  10332. },
  10333. "500": {
  10334. "description": "Internal Server Error",
  10335. "schema": {
  10336. "$ref": "#/definitions/app.Response"
  10337. }
  10338. }
  10339. }
  10340. }
  10341. },
  10342. "/Quote/QueryHistoryDatas": {
  10343. "get": {
  10344. "security": [
  10345. {
  10346. "ApiKeyAuth": []
  10347. }
  10348. ],
  10349. "produces": [
  10350. "application/json"
  10351. ],
  10352. "tags": [
  10353. "行情服务"
  10354. ],
  10355. "summary": "查询行情历史数据",
  10356. "parameters": [
  10357. {
  10358. "type": "integer",
  10359. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10360. "name": "cycleType",
  10361. "in": "query",
  10362. "required": true
  10363. },
  10364. {
  10365. "type": "string",
  10366. "description": "商品代码",
  10367. "name": "goodsCode",
  10368. "in": "query",
  10369. "required": true
  10370. },
  10371. {
  10372. "type": "string",
  10373. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10374. "name": "startTime",
  10375. "in": "query"
  10376. },
  10377. {
  10378. "type": "string",
  10379. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10380. "name": "endTime",
  10381. "in": "query"
  10382. },
  10383. {
  10384. "type": "integer",
  10385. "description": "条数",
  10386. "name": "count",
  10387. "in": "query"
  10388. },
  10389. {
  10390. "type": "boolean",
  10391. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10392. "name": "isAsc",
  10393. "in": "query"
  10394. }
  10395. ],
  10396. "responses": {
  10397. "200": {
  10398. "description": "OK",
  10399. "schema": {
  10400. "$ref": "#/definitions/quote.HistoryData"
  10401. }
  10402. },
  10403. "500": {
  10404. "description": "Internal Server Error",
  10405. "schema": {
  10406. "$ref": "#/definitions/app.Response"
  10407. }
  10408. }
  10409. }
  10410. }
  10411. },
  10412. "/Quote/QueryHistoryTikDatas": {
  10413. "get": {
  10414. "security": [
  10415. {
  10416. "ApiKeyAuth": []
  10417. }
  10418. ],
  10419. "produces": [
  10420. "application/json"
  10421. ],
  10422. "tags": [
  10423. "行情服务"
  10424. ],
  10425. "summary": "查询行情Tik数据",
  10426. "parameters": [
  10427. {
  10428. "type": "string",
  10429. "description": "商品代码",
  10430. "name": "goodsCode",
  10431. "in": "query",
  10432. "required": true
  10433. },
  10434. {
  10435. "type": "string",
  10436. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10437. "name": "startTime",
  10438. "in": "query"
  10439. },
  10440. {
  10441. "type": "string",
  10442. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10443. "name": "endTime",
  10444. "in": "query"
  10445. },
  10446. {
  10447. "type": "integer",
  10448. "description": "条数",
  10449. "name": "count",
  10450. "in": "query"
  10451. },
  10452. {
  10453. "type": "boolean",
  10454. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10455. "name": "isAsc",
  10456. "in": "query"
  10457. }
  10458. ],
  10459. "responses": {
  10460. "200": {
  10461. "description": "OK",
  10462. "schema": {
  10463. "$ref": "#/definitions/quote.HistoryTikData"
  10464. }
  10465. },
  10466. "500": {
  10467. "description": "Internal Server Error",
  10468. "schema": {
  10469. "$ref": "#/definitions/app.Response"
  10470. }
  10471. }
  10472. }
  10473. }
  10474. },
  10475. "/Quote/QueryQuoteDay": {
  10476. "get": {
  10477. "security": [
  10478. {
  10479. "ApiKeyAuth": []
  10480. }
  10481. ],
  10482. "produces": [
  10483. "application/json"
  10484. ],
  10485. "tags": [
  10486. "行情服务"
  10487. ],
  10488. "summary": "获取商品盘面信息",
  10489. "parameters": [
  10490. {
  10491. "type": "string",
  10492. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  10493. "name": "goodsCodes",
  10494. "in": "query",
  10495. "required": true
  10496. }
  10497. ],
  10498. "responses": {
  10499. "200": {
  10500. "description": "OK",
  10501. "schema": {
  10502. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10503. }
  10504. },
  10505. "500": {
  10506. "description": "Internal Server Error",
  10507. "schema": {
  10508. "$ref": "#/definitions/app.Response"
  10509. }
  10510. }
  10511. }
  10512. }
  10513. },
  10514. "/Quote/QueryTSData": {
  10515. "get": {
  10516. "security": [
  10517. {
  10518. "ApiKeyAuth": []
  10519. }
  10520. ],
  10521. "produces": [
  10522. "application/json"
  10523. ],
  10524. "tags": [
  10525. "行情服务"
  10526. ],
  10527. "summary": "分时图数据查询",
  10528. "parameters": [
  10529. {
  10530. "type": "string",
  10531. "description": "商品代码",
  10532. "name": "goodsCode",
  10533. "in": "query",
  10534. "required": true
  10535. }
  10536. ],
  10537. "responses": {
  10538. "200": {
  10539. "description": "OK",
  10540. "schema": {
  10541. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10542. }
  10543. },
  10544. "500": {
  10545. "description": "Internal Server Error",
  10546. "schema": {
  10547. "$ref": "#/definitions/app.Response"
  10548. }
  10549. }
  10550. }
  10551. }
  10552. },
  10553. "/SZDZ/QueryConvertConfig": {
  10554. "get": {
  10555. "security": [
  10556. {
  10557. "ApiKeyAuth": []
  10558. }
  10559. ],
  10560. "produces": [
  10561. "application/json"
  10562. ],
  10563. "tags": [
  10564. "定制【尚志大宗】"
  10565. ],
  10566. "summary": "查询交易系统转换设置",
  10567. "parameters": [
  10568. {
  10569. "type": "integer",
  10570. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10571. "name": "convertType",
  10572. "in": "query"
  10573. },
  10574. {
  10575. "type": "string",
  10576. "description": "外部商品代码[JD\\PD]",
  10577. "name": "outerGoodsCode",
  10578. "in": "query"
  10579. },
  10580. {
  10581. "type": "string",
  10582. "description": "内部商品ID列表[交易],格式:1,2,3",
  10583. "name": "innerGoodsIDs",
  10584. "in": "query"
  10585. }
  10586. ],
  10587. "responses": {
  10588. "200": {
  10589. "description": "OK",
  10590. "schema": {
  10591. "$ref": "#/definitions/models.Szdz3convertconfig"
  10592. }
  10593. },
  10594. "500": {
  10595. "description": "Internal Server Error",
  10596. "schema": {
  10597. "$ref": "#/definitions/app.Response"
  10598. }
  10599. }
  10600. }
  10601. }
  10602. },
  10603. "/SZDZ/QueryConvertLog": {
  10604. "get": {
  10605. "security": [
  10606. {
  10607. "ApiKeyAuth": []
  10608. }
  10609. ],
  10610. "produces": [
  10611. "application/json"
  10612. ],
  10613. "tags": [
  10614. "定制【尚志大宗】"
  10615. ],
  10616. "summary": "交易系统转换流水查询",
  10617. "parameters": [
  10618. {
  10619. "type": "string",
  10620. "description": "资金账户 - 格式:1,2,3",
  10621. "name": "accountID",
  10622. "in": "query",
  10623. "required": true
  10624. },
  10625. {
  10626. "type": "string",
  10627. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10628. "name": "startDate",
  10629. "in": "query"
  10630. },
  10631. {
  10632. "type": "string",
  10633. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10634. "name": "endDate",
  10635. "in": "query"
  10636. }
  10637. ],
  10638. "responses": {
  10639. "200": {
  10640. "description": "OK",
  10641. "schema": {
  10642. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10643. }
  10644. },
  10645. "500": {
  10646. "description": "Internal Server Error",
  10647. "schema": {
  10648. "$ref": "#/definitions/app.Response"
  10649. }
  10650. }
  10651. }
  10652. }
  10653. },
  10654. "/SZDZ/QueryGoodsPickup": {
  10655. "get": {
  10656. "security": [
  10657. {
  10658. "ApiKeyAuth": []
  10659. }
  10660. ],
  10661. "produces": [
  10662. "application/json"
  10663. ],
  10664. "tags": [
  10665. "定制【尚志大宗】"
  10666. ],
  10667. "summary": "商品提货单查询",
  10668. "parameters": [
  10669. {
  10670. "type": "string",
  10671. "description": "资金账户 - 格式:1,2,3",
  10672. "name": "accountID",
  10673. "in": "query",
  10674. "required": true
  10675. },
  10676. {
  10677. "type": "integer",
  10678. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10679. "name": "takeOrderStatus",
  10680. "in": "query"
  10681. }
  10682. ],
  10683. "responses": {
  10684. "200": {
  10685. "description": "OK",
  10686. "schema": {
  10687. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10688. }
  10689. },
  10690. "500": {
  10691. "description": "Internal Server Error",
  10692. "schema": {
  10693. "$ref": "#/definitions/app.Response"
  10694. }
  10695. }
  10696. }
  10697. }
  10698. },
  10699. "/SZDZ/QueryRecieptOrder": {
  10700. "get": {
  10701. "security": [
  10702. {
  10703. "ApiKeyAuth": []
  10704. }
  10705. ],
  10706. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10707. "produces": [
  10708. "application/json"
  10709. ],
  10710. "tags": [
  10711. "定制【尚志大宗】"
  10712. ],
  10713. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10714. "parameters": [
  10715. {
  10716. "type": "integer",
  10717. "description": "页码",
  10718. "name": "page",
  10719. "in": "query"
  10720. },
  10721. {
  10722. "type": "integer",
  10723. "description": "每页条数",
  10724. "name": "pagesize",
  10725. "in": "query"
  10726. },
  10727. {
  10728. "type": "integer",
  10729. "description": "商品ID",
  10730. "name": "goodsID",
  10731. "in": "query",
  10732. "required": true
  10733. },
  10734. {
  10735. "type": "string",
  10736. "description": "所属账户名称",
  10737. "name": "accountName",
  10738. "in": "query"
  10739. },
  10740. {
  10741. "type": "integer",
  10742. "description": "市场ID",
  10743. "name": "marketID",
  10744. "in": "query"
  10745. },
  10746. {
  10747. "type": "integer",
  10748. "description": "方向 - 0:买 1:卖",
  10749. "name": "buyorsell",
  10750. "in": "query",
  10751. "required": true
  10752. }
  10753. ],
  10754. "responses": {
  10755. "200": {
  10756. "description": "OK",
  10757. "schema": {
  10758. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10759. }
  10760. },
  10761. "500": {
  10762. "description": "Internal Server Error",
  10763. "schema": {
  10764. "$ref": "#/definitions/app.Response"
  10765. }
  10766. }
  10767. }
  10768. }
  10769. },
  10770. "/SZDZ/QuerySZDZTradePosition": {
  10771. "get": {
  10772. "security": [
  10773. {
  10774. "ApiKeyAuth": []
  10775. }
  10776. ],
  10777. "produces": [
  10778. "application/json"
  10779. ],
  10780. "tags": [
  10781. "定制【尚志大宗】"
  10782. ],
  10783. "summary": "持仓汇总查询(尚志大宗)",
  10784. "parameters": [
  10785. {
  10786. "type": "integer",
  10787. "description": "资金账户",
  10788. "name": "accountID",
  10789. "in": "query",
  10790. "required": true
  10791. }
  10792. ],
  10793. "responses": {
  10794. "200": {
  10795. "description": "OK",
  10796. "schema": {
  10797. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10798. }
  10799. },
  10800. "500": {
  10801. "description": "Internal Server Error",
  10802. "schema": {
  10803. "$ref": "#/definitions/app.Response"
  10804. }
  10805. }
  10806. }
  10807. }
  10808. },
  10809. "/SZDZ/SearchWhite": {
  10810. "get": {
  10811. "security": [
  10812. {
  10813. "ApiKeyAuth": []
  10814. }
  10815. ],
  10816. "produces": [
  10817. "application/json"
  10818. ],
  10819. "tags": [
  10820. "定制【尚志大宗】"
  10821. ],
  10822. "summary": "搜索白名单",
  10823. "parameters": [
  10824. {
  10825. "type": "integer",
  10826. "description": "用户ID",
  10827. "name": "userID",
  10828. "in": "query",
  10829. "required": true
  10830. }
  10831. ],
  10832. "responses": {
  10833. "200": {
  10834. "description": "OK",
  10835. "schema": {
  10836. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10837. }
  10838. },
  10839. "500": {
  10840. "description": "Internal Server Error",
  10841. "schema": {
  10842. "$ref": "#/definitions/app.Response"
  10843. }
  10844. }
  10845. }
  10846. }
  10847. },
  10848. "/Search/SearchGoodses": {
  10849. "get": {
  10850. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10851. "produces": [
  10852. "application/json"
  10853. ],
  10854. "tags": [
  10855. "检索服务"
  10856. ],
  10857. "summary": "检索商品信息",
  10858. "parameters": [
  10859. {
  10860. "type": "string",
  10861. "description": "检索内容",
  10862. "name": "content",
  10863. "in": "query",
  10864. "required": true
  10865. },
  10866. {
  10867. "type": "string",
  10868. "description": "交易模式,格式:1,2,3",
  10869. "name": "tradeModes",
  10870. "in": "query"
  10871. }
  10872. ],
  10873. "responses": {
  10874. "200": {
  10875. "description": "OK",
  10876. "schema": {
  10877. "$ref": "#/definitions/models.SearchGoods"
  10878. }
  10879. },
  10880. "500": {
  10881. "description": "Internal Server Error",
  10882. "schema": {
  10883. "$ref": "#/definitions/app.Response"
  10884. }
  10885. }
  10886. }
  10887. }
  10888. },
  10889. "/TaAccount/GetTaAccounts": {
  10890. "get": {
  10891. "security": [
  10892. {
  10893. "ApiKeyAuth": []
  10894. }
  10895. ],
  10896. "produces": [
  10897. "application/json"
  10898. ],
  10899. "tags": [
  10900. "资金账户"
  10901. ],
  10902. "summary": "获取资金账户信息",
  10903. "parameters": [
  10904. {
  10905. "type": "integer",
  10906. "description": "登录账户",
  10907. "name": "loginID",
  10908. "in": "query",
  10909. "required": true
  10910. },
  10911. {
  10912. "type": "integer",
  10913. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10914. "name": "taAccountType",
  10915. "in": "query"
  10916. }
  10917. ],
  10918. "responses": {
  10919. "200": {
  10920. "description": "OK",
  10921. "schema": {
  10922. "$ref": "#/definitions/models.Taaccount"
  10923. }
  10924. },
  10925. "500": {
  10926. "description": "Internal Server Error",
  10927. "schema": {
  10928. "$ref": "#/definitions/app.Response"
  10929. }
  10930. }
  10931. }
  10932. }
  10933. },
  10934. "/TaAccount/QueryAmountLog": {
  10935. "get": {
  10936. "security": [
  10937. {
  10938. "ApiKeyAuth": []
  10939. }
  10940. ],
  10941. "produces": [
  10942. "application/json"
  10943. ],
  10944. "tags": [
  10945. "资金账户"
  10946. ],
  10947. "summary": "资金流水查询(当前)",
  10948. "parameters": [
  10949. {
  10950. "type": "integer",
  10951. "description": "页码",
  10952. "name": "page",
  10953. "in": "query"
  10954. },
  10955. {
  10956. "type": "integer",
  10957. "description": "每页条数",
  10958. "name": "pagesize",
  10959. "in": "query"
  10960. },
  10961. {
  10962. "type": "string",
  10963. "description": "资金账户 - 格式:1,2,3",
  10964. "name": "accountID",
  10965. "in": "query",
  10966. "required": true
  10967. },
  10968. {
  10969. "type": "string",
  10970. "description": "资金操作类型 - 格式:1,2,3",
  10971. "name": "OperateType",
  10972. "in": "query"
  10973. }
  10974. ],
  10975. "responses": {
  10976. "200": {
  10977. "description": "OK",
  10978. "schema": {
  10979. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10980. }
  10981. },
  10982. "500": {
  10983. "description": "Internal Server Error",
  10984. "schema": {
  10985. "$ref": "#/definitions/app.Response"
  10986. }
  10987. }
  10988. }
  10989. }
  10990. },
  10991. "/TaAccount/QueryHisAmountLog": {
  10992. "get": {
  10993. "security": [
  10994. {
  10995. "ApiKeyAuth": []
  10996. }
  10997. ],
  10998. "produces": [
  10999. "application/json"
  11000. ],
  11001. "tags": [
  11002. "资金账户"
  11003. ],
  11004. "summary": "资金流水查询(历史)",
  11005. "parameters": [
  11006. {
  11007. "type": "integer",
  11008. "description": "页码",
  11009. "name": "page",
  11010. "in": "query"
  11011. },
  11012. {
  11013. "type": "integer",
  11014. "description": "每页条数",
  11015. "name": "pagesize",
  11016. "in": "query"
  11017. },
  11018. {
  11019. "type": "string",
  11020. "description": "资金账户 - 格式:1,2,3",
  11021. "name": "accountID",
  11022. "in": "query",
  11023. "required": true
  11024. },
  11025. {
  11026. "type": "string",
  11027. "description": "资金操作类型 - 格式:1,2,3",
  11028. "name": "OperateType",
  11029. "in": "query"
  11030. },
  11031. {
  11032. "type": "string",
  11033. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11034. "name": "startDate",
  11035. "in": "query"
  11036. },
  11037. {
  11038. "type": "string",
  11039. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11040. "name": "endDate",
  11041. "in": "query"
  11042. }
  11043. ],
  11044. "responses": {
  11045. "200": {
  11046. "description": "OK",
  11047. "schema": {
  11048. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11049. }
  11050. },
  11051. "500": {
  11052. "description": "Internal Server Error",
  11053. "schema": {
  11054. "$ref": "#/definitions/app.Response"
  11055. }
  11056. }
  11057. }
  11058. }
  11059. },
  11060. "/Tjmd/QueryQuoteGoodsList": {
  11061. "get": {
  11062. "security": [
  11063. {
  11064. "ApiKeyAuth": []
  11065. }
  11066. ],
  11067. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11068. "produces": [
  11069. "application/json"
  11070. ],
  11071. "tags": [
  11072. "天津麦顿"
  11073. ],
  11074. "summary": "查询掉期报价列表",
  11075. "parameters": [
  11076. {
  11077. "type": "integer",
  11078. "description": "用户类型",
  11079. "name": "usertype",
  11080. "in": "query",
  11081. "required": true
  11082. },
  11083. {
  11084. "type": "string",
  11085. "description": "市场id, 格式 1,2,3",
  11086. "name": "marketids",
  11087. "in": "query"
  11088. },
  11089. {
  11090. "type": "integer",
  11091. "description": "商品组id",
  11092. "name": "goodsgroupid",
  11093. "in": "query"
  11094. },
  11095. {
  11096. "type": "integer",
  11097. "description": "商品id",
  11098. "name": "goodsid",
  11099. "in": "query"
  11100. }
  11101. ],
  11102. "responses": {
  11103. "200": {
  11104. "description": "OK",
  11105. "schema": {
  11106. "type": "array",
  11107. "items": {
  11108. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11109. }
  11110. }
  11111. },
  11112. "500": {
  11113. "description": "Internal Server Error",
  11114. "schema": {
  11115. "$ref": "#/definitions/app.Response"
  11116. }
  11117. }
  11118. }
  11119. }
  11120. },
  11121. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11122. "get": {
  11123. "security": [
  11124. {
  11125. "ApiKeyAuth": []
  11126. }
  11127. ],
  11128. "produces": [
  11129. "application/json"
  11130. ],
  11131. "tags": [
  11132. "天津麦顿"
  11133. ],
  11134. "summary": "查询今日账户保证金配置",
  11135. "parameters": [
  11136. {
  11137. "type": "string",
  11138. "description": "市场id",
  11139. "name": "marketid",
  11140. "in": "query"
  11141. },
  11142. {
  11143. "type": "string",
  11144. "description": "商品id",
  11145. "name": "goodsid",
  11146. "in": "query"
  11147. },
  11148. {
  11149. "type": "string",
  11150. "description": "资金账号",
  11151. "name": "accountid",
  11152. "in": "query"
  11153. }
  11154. ],
  11155. "responses": {
  11156. "200": {
  11157. "description": "OK",
  11158. "schema": {
  11159. "type": "array",
  11160. "items": {
  11161. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11162. }
  11163. }
  11164. },
  11165. "500": {
  11166. "description": "Internal Server Error",
  11167. "schema": {
  11168. "$ref": "#/definitions/app.Response"
  11169. }
  11170. }
  11171. }
  11172. }
  11173. },
  11174. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11175. "get": {
  11176. "security": [
  11177. {
  11178. "ApiKeyAuth": []
  11179. }
  11180. ],
  11181. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11182. "produces": [
  11183. "application/json"
  11184. ],
  11185. "tags": [
  11186. "天津麦顿"
  11187. ],
  11188. "summary": "查询掉期买卖大厅",
  11189. "parameters": [
  11190. {
  11191. "type": "integer",
  11192. "description": "页码",
  11193. "name": "page",
  11194. "in": "query"
  11195. },
  11196. {
  11197. "type": "integer",
  11198. "description": "每页条数",
  11199. "name": "pagesize",
  11200. "in": "query"
  11201. },
  11202. {
  11203. "type": "integer",
  11204. "description": "用户id",
  11205. "name": "userid",
  11206. "in": "query",
  11207. "required": true
  11208. },
  11209. {
  11210. "type": "integer",
  11211. "description": "用户类型",
  11212. "name": "usertype",
  11213. "in": "query",
  11214. "required": true
  11215. },
  11216. {
  11217. "type": "string",
  11218. "description": "市场id, 格式 1,2,3",
  11219. "name": "marketids",
  11220. "in": "query"
  11221. },
  11222. {
  11223. "type": "integer",
  11224. "description": "商品id",
  11225. "name": "goodsid",
  11226. "in": "query",
  11227. "required": true
  11228. },
  11229. {
  11230. "type": "integer",
  11231. "description": "买卖方向 0-买 1-卖",
  11232. "name": "buyorsell",
  11233. "in": "query",
  11234. "required": true
  11235. }
  11236. ],
  11237. "responses": {
  11238. "200": {
  11239. "description": "OK",
  11240. "schema": {
  11241. "type": "array",
  11242. "items": {
  11243. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11244. }
  11245. }
  11246. },
  11247. "500": {
  11248. "description": "Internal Server Error",
  11249. "schema": {
  11250. "$ref": "#/definitions/app.Response"
  11251. }
  11252. }
  11253. }
  11254. }
  11255. },
  11256. "/Tjmd/QueryTjmdTransferApply": {
  11257. "get": {
  11258. "security": [
  11259. {
  11260. "ApiKeyAuth": []
  11261. }
  11262. ],
  11263. "produces": [
  11264. "application/json"
  11265. ],
  11266. "tags": [
  11267. "天津麦顿"
  11268. ],
  11269. "summary": "查询掉期协议单",
  11270. "parameters": [
  11271. {
  11272. "type": "integer",
  11273. "description": "类型 1-我的申请 2-对方申请",
  11274. "name": "applytype",
  11275. "in": "query",
  11276. "required": true
  11277. },
  11278. {
  11279. "type": "string",
  11280. "description": "市场id, 格式 1,2,3",
  11281. "name": "marketids",
  11282. "in": "query"
  11283. },
  11284. {
  11285. "type": "string",
  11286. "description": "资金账号, 格式 25000000001,25000000003",
  11287. "name": "accountids",
  11288. "in": "query"
  11289. }
  11290. ],
  11291. "responses": {
  11292. "200": {
  11293. "description": "OK",
  11294. "schema": {
  11295. "type": "array",
  11296. "items": {
  11297. "$ref": "#/definitions/models.TjmdTransferApply"
  11298. }
  11299. }
  11300. },
  11301. "500": {
  11302. "description": "Internal Server Error",
  11303. "schema": {
  11304. "$ref": "#/definitions/app.Response"
  11305. }
  11306. }
  11307. }
  11308. }
  11309. },
  11310. "/Trade/QueryRecieptOrder": {
  11311. "get": {
  11312. "security": [
  11313. {
  11314. "ApiKeyAuth": []
  11315. }
  11316. ],
  11317. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11318. "produces": [
  11319. "application/json"
  11320. ],
  11321. "tags": [
  11322. "通用交易"
  11323. ],
  11324. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11325. "parameters": [
  11326. {
  11327. "type": "integer",
  11328. "description": "页码",
  11329. "name": "page",
  11330. "in": "query"
  11331. },
  11332. {
  11333. "type": "integer",
  11334. "description": "每页条数",
  11335. "name": "pagesize",
  11336. "in": "query"
  11337. },
  11338. {
  11339. "type": "integer",
  11340. "description": "商品ID",
  11341. "name": "goodsID",
  11342. "in": "query",
  11343. "required": true
  11344. },
  11345. {
  11346. "type": "string",
  11347. "description": "所属账户名称",
  11348. "name": "accountName",
  11349. "in": "query"
  11350. },
  11351. {
  11352. "type": "integer",
  11353. "description": "市场ID",
  11354. "name": "marketID",
  11355. "in": "query"
  11356. },
  11357. {
  11358. "type": "integer",
  11359. "description": "方向 - 0:买 1:卖",
  11360. "name": "buyorsell",
  11361. "in": "query",
  11362. "required": true
  11363. }
  11364. ],
  11365. "responses": {
  11366. "200": {
  11367. "description": "OK",
  11368. "schema": {
  11369. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11370. }
  11371. },
  11372. "500": {
  11373. "description": "Internal Server Error",
  11374. "schema": {
  11375. "$ref": "#/definitions/app.Response"
  11376. }
  11377. }
  11378. }
  11379. }
  11380. },
  11381. "/User/AddMessageBoard": {
  11382. "post": {
  11383. "security": [
  11384. {
  11385. "ApiKeyAuth": []
  11386. }
  11387. ],
  11388. "produces": [
  11389. "application/json"
  11390. ],
  11391. "tags": [
  11392. "用户信息"
  11393. ],
  11394. "summary": "添加用户留言板信息",
  11395. "parameters": [
  11396. {
  11397. "type": "integer",
  11398. "description": "用户ID",
  11399. "name": "userID",
  11400. "in": "query",
  11401. "required": true
  11402. },
  11403. {
  11404. "type": "string",
  11405. "description": "留言信息",
  11406. "name": "message",
  11407. "in": "query",
  11408. "required": true
  11409. },
  11410. {
  11411. "type": "string",
  11412. "description": "联系电话",
  11413. "name": "contactNum",
  11414. "in": "query",
  11415. "required": true
  11416. }
  11417. ],
  11418. "responses": {
  11419. "200": {
  11420. "description": "OK",
  11421. "schema": {
  11422. "$ref": "#/definitions/app.Response"
  11423. }
  11424. },
  11425. "500": {
  11426. "description": "Internal Server Error",
  11427. "schema": {
  11428. "$ref": "#/definitions/app.Response"
  11429. }
  11430. }
  11431. }
  11432. }
  11433. },
  11434. "/User/AddUserFavoriteGoods": {
  11435. "post": {
  11436. "security": [
  11437. {
  11438. "ApiKeyAuth": []
  11439. }
  11440. ],
  11441. "produces": [
  11442. "application/json"
  11443. ],
  11444. "tags": [
  11445. "用户信息"
  11446. ],
  11447. "summary": "添加用户商品收藏信息",
  11448. "parameters": [
  11449. {
  11450. "type": "integer",
  11451. "description": "用户ID",
  11452. "name": "userID",
  11453. "in": "query",
  11454. "required": true
  11455. },
  11456. {
  11457. "type": "integer",
  11458. "description": "商品ID",
  11459. "name": "goodsID",
  11460. "in": "query",
  11461. "required": true
  11462. }
  11463. ],
  11464. "responses": {
  11465. "200": {
  11466. "description": "OK",
  11467. "schema": {
  11468. "$ref": "#/definitions/app.Response"
  11469. }
  11470. },
  11471. "500": {
  11472. "description": "Internal Server Error",
  11473. "schema": {
  11474. "$ref": "#/definitions/app.Response"
  11475. }
  11476. }
  11477. }
  11478. }
  11479. },
  11480. "/User/GetLoginID": {
  11481. "get": {
  11482. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11483. "produces": [
  11484. "application/json"
  11485. ],
  11486. "tags": [
  11487. "用户信息"
  11488. ],
  11489. "summary": "获取登录ID",
  11490. "parameters": [
  11491. {
  11492. "type": "string",
  11493. "description": "登录代码",
  11494. "name": "username",
  11495. "in": "query",
  11496. "required": true
  11497. }
  11498. ],
  11499. "responses": {
  11500. "200": {
  11501. "description": "OK",
  11502. "schema": {
  11503. "$ref": "#/definitions/app.Response"
  11504. }
  11505. },
  11506. "500": {
  11507. "description": "Internal Server Error",
  11508. "schema": {
  11509. "$ref": "#/definitions/app.Response"
  11510. }
  11511. }
  11512. }
  11513. }
  11514. },
  11515. "/User/GetUserAccount": {
  11516. "get": {
  11517. "security": [
  11518. {
  11519. "ApiKeyAuth": []
  11520. }
  11521. ],
  11522. "produces": [
  11523. "application/json"
  11524. ],
  11525. "tags": [
  11526. "用户信息"
  11527. ],
  11528. "summary": "获取用户账号信息",
  11529. "parameters": [
  11530. {
  11531. "type": "integer",
  11532. "description": "用户ID",
  11533. "name": "userID",
  11534. "in": "query",
  11535. "required": true
  11536. }
  11537. ],
  11538. "responses": {
  11539. "200": {
  11540. "description": "OK",
  11541. "schema": {
  11542. "$ref": "#/definitions/models.Useraccount"
  11543. }
  11544. },
  11545. "500": {
  11546. "description": "Internal Server Error",
  11547. "schema": {
  11548. "$ref": "#/definitions/app.Response"
  11549. }
  11550. }
  11551. }
  11552. }
  11553. },
  11554. "/User/GetUserAuthStatus": {
  11555. "get": {
  11556. "security": [
  11557. {
  11558. "ApiKeyAuth": []
  11559. }
  11560. ],
  11561. "produces": [
  11562. "application/json"
  11563. ],
  11564. "tags": [
  11565. "用户信息"
  11566. ],
  11567. "summary": "获取用户实名认证状态",
  11568. "parameters": [
  11569. {
  11570. "type": "integer",
  11571. "description": "用户ID",
  11572. "name": "userID",
  11573. "in": "query",
  11574. "required": true
  11575. }
  11576. ],
  11577. "responses": {
  11578. "200": {
  11579. "description": "OK",
  11580. "schema": {
  11581. "$ref": "#/definitions/app.Response"
  11582. }
  11583. },
  11584. "500": {
  11585. "description": "Internal Server Error",
  11586. "schema": {
  11587. "$ref": "#/definitions/app.Response"
  11588. }
  11589. }
  11590. }
  11591. }
  11592. },
  11593. "/User/LoginQuery": {
  11594. "get": {
  11595. "security": [
  11596. {
  11597. "ApiKeyAuth": []
  11598. }
  11599. ],
  11600. "produces": [
  11601. "application/json"
  11602. ],
  11603. "tags": [
  11604. "用户信息"
  11605. ],
  11606. "summary": "账户登录后信息查询",
  11607. "parameters": [
  11608. {
  11609. "type": "integer",
  11610. "description": "登录账号",
  11611. "name": "loginID",
  11612. "in": "query",
  11613. "required": true
  11614. }
  11615. ],
  11616. "responses": {
  11617. "200": {
  11618. "description": "OK",
  11619. "schema": {
  11620. "$ref": "#/definitions/user.LoginQueryRsp"
  11621. }
  11622. },
  11623. "500": {
  11624. "description": "Internal Server Error",
  11625. "schema": {
  11626. "$ref": "#/definitions/app.Response"
  11627. }
  11628. }
  11629. }
  11630. }
  11631. },
  11632. "/User/QueryMessageBoard": {
  11633. "get": {
  11634. "security": [
  11635. {
  11636. "ApiKeyAuth": []
  11637. }
  11638. ],
  11639. "produces": [
  11640. "application/json"
  11641. ],
  11642. "tags": [
  11643. "用户信息"
  11644. ],
  11645. "summary": "获取用户留言板信息",
  11646. "parameters": [
  11647. {
  11648. "type": "integer",
  11649. "description": "用户ID",
  11650. "name": "userID",
  11651. "in": "query",
  11652. "required": true
  11653. }
  11654. ],
  11655. "responses": {
  11656. "200": {
  11657. "description": "OK",
  11658. "schema": {
  11659. "$ref": "#/definitions/models.Messageboard"
  11660. }
  11661. },
  11662. "500": {
  11663. "description": "Internal Server Error",
  11664. "schema": {
  11665. "$ref": "#/definitions/app.Response"
  11666. }
  11667. }
  11668. }
  11669. }
  11670. },
  11671. "/User/QueryUserFavoriteGoodses": {
  11672. "get": {
  11673. "security": [
  11674. {
  11675. "ApiKeyAuth": []
  11676. }
  11677. ],
  11678. "produces": [
  11679. "application/json"
  11680. ],
  11681. "tags": [
  11682. "用户信息"
  11683. ],
  11684. "summary": "获取用户商品收藏信息",
  11685. "parameters": [
  11686. {
  11687. "type": "integer",
  11688. "description": "用户ID",
  11689. "name": "userID",
  11690. "in": "query",
  11691. "required": true
  11692. }
  11693. ],
  11694. "responses": {
  11695. "200": {
  11696. "description": "OK",
  11697. "schema": {
  11698. "$ref": "#/definitions/models.Userfavoritegoods"
  11699. }
  11700. },
  11701. "500": {
  11702. "description": "Internal Server Error",
  11703. "schema": {
  11704. "$ref": "#/definitions/app.Response"
  11705. }
  11706. }
  11707. }
  11708. }
  11709. },
  11710. "/User/QueryUserInfo": {
  11711. "get": {
  11712. "security": [
  11713. {
  11714. "ApiKeyAuth": []
  11715. }
  11716. ],
  11717. "produces": [
  11718. "application/json"
  11719. ],
  11720. "tags": [
  11721. "用户信息"
  11722. ],
  11723. "summary": "获取用户信息",
  11724. "parameters": [
  11725. {
  11726. "type": "integer",
  11727. "description": "用户ID",
  11728. "name": "userID",
  11729. "in": "query",
  11730. "required": true
  11731. },
  11732. {
  11733. "type": "boolean",
  11734. "description": "是否解密",
  11735. "name": "isDecrypt",
  11736. "in": "query"
  11737. }
  11738. ],
  11739. "responses": {
  11740. "200": {
  11741. "description": "OK",
  11742. "schema": {
  11743. "$ref": "#/definitions/models.Userinfo"
  11744. }
  11745. },
  11746. "500": {
  11747. "description": "Internal Server Error",
  11748. "schema": {
  11749. "$ref": "#/definitions/app.Response"
  11750. }
  11751. }
  11752. }
  11753. }
  11754. },
  11755. "/User/QueryUserReferNum": {
  11756. "get": {
  11757. "produces": [
  11758. "application/json"
  11759. ],
  11760. "tags": [
  11761. "用户信息"
  11762. ],
  11763. "summary": "获取用户邀请码",
  11764. "parameters": [
  11765. {
  11766. "type": "integer",
  11767. "description": "用户ID",
  11768. "name": "userID",
  11769. "in": "query",
  11770. "required": true
  11771. }
  11772. ],
  11773. "responses": {
  11774. "200": {
  11775. "description": "OK",
  11776. "schema": {
  11777. "$ref": "#/definitions/app.Response"
  11778. }
  11779. },
  11780. "500": {
  11781. "description": "Internal Server Error",
  11782. "schema": {
  11783. "$ref": "#/definitions/app.Response"
  11784. }
  11785. }
  11786. }
  11787. }
  11788. },
  11789. "/User/RemoveUserFavoriteGoods": {
  11790. "post": {
  11791. "security": [
  11792. {
  11793. "ApiKeyAuth": []
  11794. }
  11795. ],
  11796. "produces": [
  11797. "application/json"
  11798. ],
  11799. "tags": [
  11800. "用户信息"
  11801. ],
  11802. "summary": "移除用户商品收藏信息",
  11803. "parameters": [
  11804. {
  11805. "type": "integer",
  11806. "description": "用户ID",
  11807. "name": "userID",
  11808. "in": "query",
  11809. "required": true
  11810. },
  11811. {
  11812. "type": "integer",
  11813. "description": "商品ID",
  11814. "name": "goodsID",
  11815. "in": "query",
  11816. "required": true
  11817. }
  11818. ],
  11819. "responses": {
  11820. "200": {
  11821. "description": "OK",
  11822. "schema": {
  11823. "$ref": "#/definitions/app.Response"
  11824. }
  11825. },
  11826. "500": {
  11827. "description": "Internal Server Error",
  11828. "schema": {
  11829. "$ref": "#/definitions/app.Response"
  11830. }
  11831. }
  11832. }
  11833. }
  11834. },
  11835. "/User/UpdateUserAccountStatus": {
  11836. "post": {
  11837. "security": [
  11838. {
  11839. "ApiKeyAuth": []
  11840. }
  11841. ],
  11842. "produces": [
  11843. "application/json"
  11844. ],
  11845. "tags": [
  11846. "用户信息"
  11847. ],
  11848. "summary": "更新用户状态",
  11849. "parameters": [
  11850. {
  11851. "type": "integer",
  11852. "description": "用户ID",
  11853. "name": "userID",
  11854. "in": "query",
  11855. "required": true
  11856. },
  11857. {
  11858. "type": "integer",
  11859. "description": "账户状态 - 4:正常 6:注销(停用)",
  11860. "name": "accountStatus",
  11861. "in": "query",
  11862. "required": true
  11863. }
  11864. ],
  11865. "responses": {
  11866. "200": {
  11867. "description": "OK",
  11868. "schema": {
  11869. "$ref": "#/definitions/app.Response"
  11870. }
  11871. },
  11872. "500": {
  11873. "description": "Internal Server Error",
  11874. "schema": {
  11875. "$ref": "#/definitions/app.Response"
  11876. }
  11877. }
  11878. }
  11879. }
  11880. },
  11881. "/WRTrade/GetAllDeliveryGoods": {
  11882. "get": {
  11883. "security": [
  11884. {
  11885. "ApiKeyAuth": []
  11886. },
  11887. {
  11888. "ApiKeyAuth": []
  11889. }
  11890. ],
  11891. "produces": [
  11892. "application/json",
  11893. "application/json"
  11894. ],
  11895. "tags": [
  11896. "仓单贸易",
  11897. "仓单贸易"
  11898. ],
  11899. "summary": "获取带仓单分类的种类信息",
  11900. "responses": {
  11901. "200": {
  11902. "description": "OK",
  11903. "schema": {
  11904. "$ref": "#/definitions/app.Response"
  11905. }
  11906. },
  11907. "500": {
  11908. "description": "Internal Server Error",
  11909. "schema": {
  11910. "$ref": "#/definitions/app.Response"
  11911. }
  11912. }
  11913. }
  11914. }
  11915. },
  11916. "/WrTrade2/QueryFaProductDetail": {
  11917. "get": {
  11918. "security": [
  11919. {
  11920. "ApiKeyAuth": []
  11921. }
  11922. ],
  11923. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11924. "produces": [
  11925. "application/json"
  11926. ],
  11927. "tags": [
  11928. "仓单贸易v2"
  11929. ],
  11930. "summary": "查询融资产品列表",
  11931. "parameters": [
  11932. {
  11933. "type": "integer",
  11934. "description": "仓单要素id",
  11935. "name": "wrfactortypeid",
  11936. "in": "query",
  11937. "required": true
  11938. }
  11939. ],
  11940. "responses": {
  11941. "200": {
  11942. "description": "OK",
  11943. "schema": {
  11944. "type": "array",
  11945. "items": {
  11946. "$ref": "#/definitions/models.WrFAProductDetail"
  11947. }
  11948. }
  11949. },
  11950. "500": {
  11951. "description": "Internal Server Error",
  11952. "schema": {
  11953. "$ref": "#/definitions/app.Response"
  11954. }
  11955. }
  11956. }
  11957. }
  11958. },
  11959. "/WrTrade2/QueryFilterItem": {
  11960. "get": {
  11961. "security": [
  11962. {
  11963. "ApiKeyAuth": []
  11964. }
  11965. ],
  11966. "produces": [
  11967. "application/json"
  11968. ],
  11969. "tags": [
  11970. "仓单贸易v2"
  11971. ],
  11972. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11973. "parameters": [
  11974. {
  11975. "type": "string",
  11976. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11977. "name": "itype",
  11978. "in": "query",
  11979. "required": true
  11980. }
  11981. ],
  11982. "responses": {
  11983. "200": {
  11984. "description": "OK",
  11985. "schema": {
  11986. "type": "array",
  11987. "items": {
  11988. "$ref": "#/definitions/models.WrFilterItem"
  11989. }
  11990. }
  11991. },
  11992. "500": {
  11993. "description": "Internal Server Error",
  11994. "schema": {
  11995. "$ref": "#/definitions/app.Response"
  11996. }
  11997. }
  11998. }
  11999. }
  12000. },
  12001. "/WrTrade2/QueryFtDeliveryGoods": {
  12002. "get": {
  12003. "security": [
  12004. {
  12005. "ApiKeyAuth": []
  12006. }
  12007. ],
  12008. "produces": [
  12009. "application/json"
  12010. ],
  12011. "tags": [
  12012. "仓单贸易v2"
  12013. ],
  12014. "summary": "查询品种品类筛选框列表",
  12015. "responses": {
  12016. "200": {
  12017. "description": "OK",
  12018. "schema": {
  12019. "type": "array",
  12020. "items": {
  12021. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12022. }
  12023. }
  12024. },
  12025. "500": {
  12026. "description": "Internal Server Error",
  12027. "schema": {
  12028. "$ref": "#/definitions/app.Response"
  12029. }
  12030. }
  12031. }
  12032. }
  12033. },
  12034. "/WrTrade2/QueryHoldLB": {
  12035. "get": {
  12036. "security": [
  12037. {
  12038. "ApiKeyAuth": []
  12039. }
  12040. ],
  12041. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12042. "produces": [
  12043. "application/json"
  12044. ],
  12045. "tags": [
  12046. "仓单贸易v2"
  12047. ],
  12048. "summary": "查询仓单持有记录",
  12049. "parameters": [
  12050. {
  12051. "type": "integer",
  12052. "description": "资金账号",
  12053. "name": "accountid",
  12054. "in": "query",
  12055. "required": true
  12056. },
  12057. {
  12058. "type": "integer",
  12059. "description": "仓库id",
  12060. "name": "warehouseid",
  12061. "in": "query"
  12062. },
  12063. {
  12064. "type": "integer",
  12065. "description": "品种id",
  12066. "name": "deliverygoodsid",
  12067. "in": "query"
  12068. },
  12069. {
  12070. "type": "integer",
  12071. "description": "品类id",
  12072. "name": "wrstandardid",
  12073. "in": "query"
  12074. },
  12075. {
  12076. "type": "integer",
  12077. "description": "仓单要素id",
  12078. "name": "wrfactortypeid",
  12079. "in": "query"
  12080. },
  12081. {
  12082. "type": "string",
  12083. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12084. "name": "dgitemname",
  12085. "in": "query"
  12086. }
  12087. ],
  12088. "responses": {
  12089. "200": {
  12090. "description": "OK",
  12091. "schema": {
  12092. "type": "array",
  12093. "items": {
  12094. "$ref": "#/definitions/models.WrHoldLB"
  12095. }
  12096. }
  12097. },
  12098. "500": {
  12099. "description": "Internal Server Error",
  12100. "schema": {
  12101. "$ref": "#/definitions/app.Response"
  12102. }
  12103. }
  12104. }
  12105. }
  12106. },
  12107. "/WrTrade2/QueryOrderQuote": {
  12108. "get": {
  12109. "security": [
  12110. {
  12111. "ApiKeyAuth": []
  12112. }
  12113. ],
  12114. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12115. "produces": [
  12116. "application/json"
  12117. ],
  12118. "tags": [
  12119. "仓单贸易v2"
  12120. ],
  12121. "summary": "查询大厅行情列表",
  12122. "parameters": [
  12123. {
  12124. "type": "integer",
  12125. "description": "页码",
  12126. "name": "page",
  12127. "in": "query"
  12128. },
  12129. {
  12130. "type": "integer",
  12131. "description": "每页条数",
  12132. "name": "pagesize",
  12133. "in": "query"
  12134. },
  12135. {
  12136. "type": "integer",
  12137. "description": "仓单贸易市场id",
  12138. "name": "marketid",
  12139. "in": "query"
  12140. },
  12141. {
  12142. "type": "integer",
  12143. "description": "价格方式 - 1:固定价 2-浮动价",
  12144. "name": "wrpricetype",
  12145. "in": "query",
  12146. "required": true
  12147. },
  12148. {
  12149. "type": "integer",
  12150. "description": "0:仓单预售 1:仓单贸易",
  12151. "name": "haswr",
  12152. "in": "query",
  12153. "required": true
  12154. },
  12155. {
  12156. "type": "string",
  12157. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12158. "name": "dgitemname",
  12159. "in": "query"
  12160. },
  12161. {
  12162. "type": "integer",
  12163. "description": "仓库id(筛选条件)",
  12164. "name": "warehouseid",
  12165. "in": "query"
  12166. },
  12167. {
  12168. "type": "integer",
  12169. "description": "品种id",
  12170. "name": "deliverygoodsid",
  12171. "in": "query"
  12172. },
  12173. {
  12174. "type": "integer",
  12175. "description": "品类id",
  12176. "name": "wrstandardid",
  12177. "in": "query"
  12178. },
  12179. {
  12180. "type": "integer",
  12181. "description": "仓单要素id",
  12182. "name": "wrfactortypeid",
  12183. "in": "query"
  12184. },
  12185. {
  12186. "type": "string",
  12187. "description": "交收月(yyyy-mm) 仓单预售填写",
  12188. "name": "deliverymonth",
  12189. "in": "query"
  12190. }
  12191. ],
  12192. "responses": {
  12193. "200": {
  12194. "description": "OK",
  12195. "schema": {
  12196. "type": "array",
  12197. "items": {
  12198. "$ref": "#/definitions/models.WrOrderQuote"
  12199. }
  12200. }
  12201. },
  12202. "500": {
  12203. "description": "Internal Server Error",
  12204. "schema": {
  12205. "$ref": "#/definitions/app.Response"
  12206. }
  12207. }
  12208. }
  12209. }
  12210. },
  12211. "/WrTrade2/QueryOrderQuoteDetail": {
  12212. "get": {
  12213. "security": [
  12214. {
  12215. "ApiKeyAuth": []
  12216. }
  12217. ],
  12218. "produces": [
  12219. "application/json"
  12220. ],
  12221. "tags": [
  12222. "仓单贸易v2"
  12223. ],
  12224. "summary": "查询买卖大厅",
  12225. "parameters": [
  12226. {
  12227. "type": "integer",
  12228. "description": "页码",
  12229. "name": "page",
  12230. "in": "query"
  12231. },
  12232. {
  12233. "type": "integer",
  12234. "description": "每页条数",
  12235. "name": "pagesize",
  12236. "in": "query"
  12237. },
  12238. {
  12239. "type": "integer",
  12240. "description": "仓单贸易市场id",
  12241. "name": "marketid",
  12242. "in": "query"
  12243. },
  12244. {
  12245. "type": "integer",
  12246. "description": "价格方式 - 1:固定价 2-浮动价",
  12247. "name": "wrpricetype",
  12248. "in": "query",
  12249. "required": true
  12250. },
  12251. {
  12252. "type": "integer",
  12253. "description": "0:仓单预售 1:仓单贸易",
  12254. "name": "haswr",
  12255. "in": "query",
  12256. "required": true
  12257. },
  12258. {
  12259. "type": "integer",
  12260. "description": "仓单要素id",
  12261. "name": "wrfactortypeid",
  12262. "in": "query",
  12263. "required": true
  12264. },
  12265. {
  12266. "type": "integer",
  12267. "description": "期货商品id(浮动价方式时填)",
  12268. "name": "goodsid",
  12269. "in": "query"
  12270. },
  12271. {
  12272. "type": "integer",
  12273. "description": "买卖方向 0-买 1-卖",
  12274. "name": "buyorsell",
  12275. "in": "query",
  12276. "required": true
  12277. },
  12278. {
  12279. "type": "string",
  12280. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12281. "name": "deliverymonth",
  12282. "in": "query"
  12283. }
  12284. ],
  12285. "responses": {
  12286. "200": {
  12287. "description": "OK",
  12288. "schema": {
  12289. "type": "array",
  12290. "items": {
  12291. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12292. }
  12293. }
  12294. },
  12295. "500": {
  12296. "description": "Internal Server Error",
  12297. "schema": {
  12298. "$ref": "#/definitions/app.Response"
  12299. }
  12300. }
  12301. }
  12302. }
  12303. },
  12304. "/WrTrade2/QueryOrderQuoteMyq": {
  12305. "get": {
  12306. "security": [
  12307. {
  12308. "ApiKeyAuth": []
  12309. }
  12310. ],
  12311. "produces": [
  12312. "application/json"
  12313. ],
  12314. "tags": [
  12315. "仓单贸易v2"
  12316. ],
  12317. "summary": "查询贸易圈挂牌大厅",
  12318. "parameters": [
  12319. {
  12320. "type": "integer",
  12321. "description": "页码",
  12322. "name": "page",
  12323. "in": "query"
  12324. },
  12325. {
  12326. "type": "integer",
  12327. "description": "每页条数",
  12328. "name": "pagesize",
  12329. "in": "query"
  12330. },
  12331. {
  12332. "type": "integer",
  12333. "description": "用户id",
  12334. "name": "userid",
  12335. "in": "query",
  12336. "required": true
  12337. },
  12338. {
  12339. "type": "integer",
  12340. "description": "仓单贸易市场id",
  12341. "name": "marketid",
  12342. "in": "query"
  12343. },
  12344. {
  12345. "type": "integer",
  12346. "description": "0:仓单预售 1:仓单贸易",
  12347. "name": "haswr",
  12348. "in": "query",
  12349. "required": true
  12350. },
  12351. {
  12352. "type": "integer",
  12353. "description": "买卖方向 0-买 1-卖",
  12354. "name": "buyorsell",
  12355. "in": "query",
  12356. "required": true
  12357. },
  12358. {
  12359. "type": "integer",
  12360. "description": "品种id",
  12361. "name": "deliverygoodsid",
  12362. "in": "query"
  12363. },
  12364. {
  12365. "type": "integer",
  12366. "description": "品类id",
  12367. "name": "wrstandardid",
  12368. "in": "query"
  12369. },
  12370. {
  12371. "type": "string",
  12372. "description": "交收月(yyyy-mm) 仓单预售填写",
  12373. "name": "deliverymonth",
  12374. "in": "query"
  12375. },
  12376. {
  12377. "type": "string",
  12378. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12379. "name": "dgitemname",
  12380. "in": "query"
  12381. }
  12382. ],
  12383. "responses": {
  12384. "200": {
  12385. "description": "OK",
  12386. "schema": {
  12387. "type": "array",
  12388. "items": {
  12389. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12390. }
  12391. }
  12392. },
  12393. "500": {
  12394. "description": "Internal Server Error",
  12395. "schema": {
  12396. "$ref": "#/definitions/app.Response"
  12397. }
  12398. }
  12399. }
  12400. }
  12401. },
  12402. "/WrTrade2/QueryPerformancePlan": {
  12403. "get": {
  12404. "security": [
  12405. {
  12406. "ApiKeyAuth": []
  12407. }
  12408. ],
  12409. "produces": [
  12410. "application/json"
  12411. ],
  12412. "tags": [
  12413. "仓单贸易v2"
  12414. ],
  12415. "summary": "查询履约信息",
  12416. "parameters": [
  12417. {
  12418. "type": "integer",
  12419. "description": "用户id",
  12420. "name": "userid",
  12421. "in": "query",
  12422. "required": true
  12423. },
  12424. {
  12425. "type": "integer",
  12426. "description": "买卖方向 0-买 1-卖",
  12427. "name": "buyorsell",
  12428. "in": "query",
  12429. "required": true
  12430. }
  12431. ],
  12432. "responses": {
  12433. "200": {
  12434. "description": "OK",
  12435. "schema": {
  12436. "type": "array",
  12437. "items": {
  12438. "$ref": "#/definitions/models.WrPerformancePlan"
  12439. }
  12440. }
  12441. },
  12442. "500": {
  12443. "description": "Internal Server Error",
  12444. "schema": {
  12445. "$ref": "#/definitions/app.Response"
  12446. }
  12447. }
  12448. }
  12449. }
  12450. },
  12451. "/WrTrade2/QueryPermancePlanTmp": {
  12452. "get": {
  12453. "security": [
  12454. {
  12455. "ApiKeyAuth": []
  12456. }
  12457. ],
  12458. "description": "返回指定用户的模板和公共模板(用户id为空)",
  12459. "produces": [
  12460. "application/json"
  12461. ],
  12462. "tags": [
  12463. "仓单贸易v2"
  12464. ],
  12465. "summary": "查询履约模板",
  12466. "parameters": [
  12467. {
  12468. "type": "integer",
  12469. "description": "用户id",
  12470. "name": "userid",
  12471. "in": "query"
  12472. },
  12473. {
  12474. "type": "string",
  12475. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12476. "name": "tmptype",
  12477. "in": "query"
  12478. },
  12479. {
  12480. "type": "integer",
  12481. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12482. "name": "includepub",
  12483. "in": "query"
  12484. }
  12485. ],
  12486. "responses": {
  12487. "200": {
  12488. "description": "OK",
  12489. "schema": {
  12490. "type": "array",
  12491. "items": {
  12492. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12493. }
  12494. }
  12495. },
  12496. "500": {
  12497. "description": "Internal Server Error",
  12498. "schema": {
  12499. "$ref": "#/definitions/app.Response"
  12500. }
  12501. }
  12502. }
  12503. }
  12504. },
  12505. "/WrTrade2/QueryWrAverageTradePrice": {
  12506. "get": {
  12507. "security": [
  12508. {
  12509. "ApiKeyAuth": []
  12510. }
  12511. ],
  12512. "produces": [
  12513. "application/json"
  12514. ],
  12515. "tags": [
  12516. "仓单贸易v2"
  12517. ],
  12518. "summary": "查询成交价(历史走势)",
  12519. "parameters": [
  12520. {
  12521. "type": "integer",
  12522. "description": "页码",
  12523. "name": "page",
  12524. "in": "query"
  12525. },
  12526. {
  12527. "type": "integer",
  12528. "description": "每页条数",
  12529. "name": "pagesize",
  12530. "in": "query"
  12531. },
  12532. {
  12533. "type": "integer",
  12534. "description": "0:仓单预售 1:仓单贸易",
  12535. "name": "haswr",
  12536. "in": "query",
  12537. "required": true
  12538. },
  12539. {
  12540. "type": "integer",
  12541. "description": "仓单要素id",
  12542. "name": "wrfactortypeid",
  12543. "in": "query",
  12544. "required": true
  12545. }
  12546. ],
  12547. "responses": {
  12548. "200": {
  12549. "description": "OK",
  12550. "schema": {
  12551. "type": "array",
  12552. "items": {
  12553. "$ref": "#/definitions/models.WrAverageTradePrice"
  12554. }
  12555. }
  12556. },
  12557. "500": {
  12558. "description": "Internal Server Error",
  12559. "schema": {
  12560. "$ref": "#/definitions/app.Response"
  12561. }
  12562. }
  12563. }
  12564. }
  12565. },
  12566. "/WrTrade2/QueryWrBsGoodsInfo": {
  12567. "get": {
  12568. "security": [
  12569. {
  12570. "ApiKeyAuth": []
  12571. }
  12572. ],
  12573. "description": "合约交易/买卖大厅/详情",
  12574. "produces": [
  12575. "application/json"
  12576. ],
  12577. "tags": [
  12578. "仓单贸易v2"
  12579. ],
  12580. "summary": "查询合约交易买卖大厅详情",
  12581. "parameters": [
  12582. {
  12583. "type": "integer",
  12584. "description": "商品id",
  12585. "name": "goodsid",
  12586. "in": "query",
  12587. "required": true
  12588. }
  12589. ],
  12590. "responses": {
  12591. "200": {
  12592. "description": "OK",
  12593. "schema": {
  12594. "type": "array",
  12595. "items": {
  12596. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12597. }
  12598. }
  12599. },
  12600. "500": {
  12601. "description": "Internal Server Error",
  12602. "schema": {
  12603. "$ref": "#/definitions/app.Response"
  12604. }
  12605. }
  12606. }
  12607. }
  12608. },
  12609. "/WrTrade2/QueryWrBuybackDetail": {
  12610. "get": {
  12611. "security": [
  12612. {
  12613. "ApiKeyAuth": []
  12614. }
  12615. ],
  12616. "produces": [
  12617. "application/json"
  12618. ],
  12619. "tags": [
  12620. "仓单贸易v2"
  12621. ],
  12622. "summary": "查询仓单回购明细",
  12623. "parameters": [
  12624. {
  12625. "type": "integer",
  12626. "description": "融资合同id",
  12627. "name": "scfcontractid",
  12628. "in": "query"
  12629. }
  12630. ],
  12631. "responses": {
  12632. "200": {
  12633. "description": "OK",
  12634. "schema": {
  12635. "type": "array",
  12636. "items": {
  12637. "$ref": "#/definitions/models.WrBuybackDetail"
  12638. }
  12639. }
  12640. },
  12641. "500": {
  12642. "description": "Internal Server Error",
  12643. "schema": {
  12644. "$ref": "#/definitions/app.Response"
  12645. }
  12646. }
  12647. }
  12648. }
  12649. },
  12650. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12651. "get": {
  12652. "security": [
  12653. {
  12654. "ApiKeyAuth": []
  12655. }
  12656. ],
  12657. "produces": [
  12658. "application/json"
  12659. ],
  12660. "tags": [
  12661. "仓单贸易v2"
  12662. ],
  12663. "summary": "查询合约交收可点选仓单",
  12664. "parameters": [
  12665. {
  12666. "type": "integer",
  12667. "description": "资金账号",
  12668. "name": "accountid",
  12669. "in": "query",
  12670. "required": true
  12671. },
  12672. {
  12673. "type": "integer",
  12674. "description": "商品id",
  12675. "name": "goodsid",
  12676. "in": "query",
  12677. "required": true
  12678. }
  12679. ],
  12680. "responses": {
  12681. "200": {
  12682. "description": "OK",
  12683. "schema": {
  12684. "type": "array",
  12685. "items": {
  12686. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12687. }
  12688. }
  12689. },
  12690. "500": {
  12691. "description": "Internal Server Error",
  12692. "schema": {
  12693. "$ref": "#/definitions/app.Response"
  12694. }
  12695. }
  12696. }
  12697. }
  12698. },
  12699. "/WrTrade2/QueryWrDeliveryDetail": {
  12700. "get": {
  12701. "security": [
  12702. {
  12703. "ApiKeyAuth": []
  12704. }
  12705. ],
  12706. "produces": [
  12707. "application/json"
  12708. ],
  12709. "tags": [
  12710. "仓单贸易v2"
  12711. ],
  12712. "summary": "查询交收",
  12713. "parameters": [
  12714. {
  12715. "type": "integer",
  12716. "description": "用户id",
  12717. "name": "userid",
  12718. "in": "query",
  12719. "required": true
  12720. },
  12721. {
  12722. "type": "integer",
  12723. "description": "资金账号id",
  12724. "name": "accountid",
  12725. "in": "query"
  12726. }
  12727. ],
  12728. "responses": {
  12729. "200": {
  12730. "description": "OK",
  12731. "schema": {
  12732. "type": "array",
  12733. "items": {
  12734. "$ref": "#/definitions/models.WrDeliveryDetail"
  12735. }
  12736. }
  12737. },
  12738. "500": {
  12739. "description": "Internal Server Error",
  12740. "schema": {
  12741. "$ref": "#/definitions/app.Response"
  12742. }
  12743. }
  12744. }
  12745. }
  12746. },
  12747. "/WrTrade2/QueryWrFactorTypeInfo": {
  12748. "get": {
  12749. "security": [
  12750. {
  12751. "ApiKeyAuth": []
  12752. }
  12753. ],
  12754. "produces": [
  12755. "application/json"
  12756. ],
  12757. "tags": [
  12758. "仓单贸易v2"
  12759. ],
  12760. "summary": "查询仓单要素详细信息",
  12761. "parameters": [
  12762. {
  12763. "type": "integer",
  12764. "description": "仓单要素id",
  12765. "name": "wrfactortypeid",
  12766. "in": "query",
  12767. "required": true
  12768. }
  12769. ],
  12770. "responses": {
  12771. "200": {
  12772. "description": "OK",
  12773. "schema": {
  12774. "type": "array",
  12775. "items": {
  12776. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12777. }
  12778. }
  12779. },
  12780. "500": {
  12781. "description": "Internal Server Error",
  12782. "schema": {
  12783. "$ref": "#/definitions/app.Response"
  12784. }
  12785. }
  12786. }
  12787. }
  12788. },
  12789. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12790. "get": {
  12791. "security": [
  12792. {
  12793. "ApiKeyAuth": []
  12794. }
  12795. ],
  12796. "produces": [
  12797. "application/json"
  12798. ],
  12799. "tags": [
  12800. "仓单贸易v2"
  12801. ],
  12802. "summary": "查询仓单要素详细信息列表项",
  12803. "parameters": [
  12804. {
  12805. "type": "integer",
  12806. "description": "仓单要素id",
  12807. "name": "wrfactortypeid",
  12808. "in": "query",
  12809. "required": true
  12810. }
  12811. ],
  12812. "responses": {
  12813. "200": {
  12814. "description": "OK",
  12815. "schema": {
  12816. "type": "array",
  12817. "items": {
  12818. "$ref": "#/definitions/models.WrTypeItem"
  12819. }
  12820. }
  12821. },
  12822. "500": {
  12823. "description": "Internal Server Error",
  12824. "schema": {
  12825. "$ref": "#/definitions/app.Response"
  12826. }
  12827. }
  12828. }
  12829. }
  12830. },
  12831. "/WrTrade2/QueryWrFinanceBuyApply": {
  12832. "get": {
  12833. "security": [
  12834. {
  12835. "ApiKeyAuth": []
  12836. }
  12837. ],
  12838. "description": "页面 融资信息+ / 申请单",
  12839. "produces": [
  12840. "application/json"
  12841. ],
  12842. "tags": [
  12843. "仓单贸易v2"
  12844. ],
  12845. "summary": "查询融资购买申请",
  12846. "parameters": [
  12847. {
  12848. "type": "integer",
  12849. "description": "用户id",
  12850. "name": "userid",
  12851. "in": "query",
  12852. "required": true
  12853. }
  12854. ],
  12855. "responses": {
  12856. "200": {
  12857. "description": "OK",
  12858. "schema": {
  12859. "type": "array",
  12860. "items": {
  12861. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12862. }
  12863. }
  12864. },
  12865. "500": {
  12866. "description": "Internal Server Error",
  12867. "schema": {
  12868. "$ref": "#/definitions/app.Response"
  12869. }
  12870. }
  12871. }
  12872. }
  12873. },
  12874. "/WrTrade2/QueryWrFriendApply": {
  12875. "get": {
  12876. "security": [
  12877. {
  12878. "ApiKeyAuth": []
  12879. }
  12880. ],
  12881. "produces": [
  12882. "application/json"
  12883. ],
  12884. "tags": [
  12885. "仓单贸易v2"
  12886. ],
  12887. "summary": "查询好友申请记录",
  12888. "parameters": [
  12889. {
  12890. "type": "integer",
  12891. "description": "用户id",
  12892. "name": "userid",
  12893. "in": "query",
  12894. "required": true
  12895. }
  12896. ],
  12897. "responses": {
  12898. "200": {
  12899. "description": "OK",
  12900. "schema": {
  12901. "type": "array",
  12902. "items": {
  12903. "$ref": "#/definitions/models.WrFriendApply"
  12904. }
  12905. }
  12906. },
  12907. "500": {
  12908. "description": "Internal Server Error",
  12909. "schema": {
  12910. "$ref": "#/definitions/app.Response"
  12911. }
  12912. }
  12913. }
  12914. }
  12915. },
  12916. "/WrTrade2/QueryWrGoodsInfo": {
  12917. "get": {
  12918. "security": [
  12919. {
  12920. "ApiKeyAuth": []
  12921. }
  12922. ],
  12923. "produces": [
  12924. "application/json"
  12925. ],
  12926. "tags": [
  12927. "仓单贸易v2"
  12928. ],
  12929. "summary": "查询仓单商品信息",
  12930. "parameters": [
  12931. {
  12932. "type": "integer",
  12933. "description": "仓单贸易市场id",
  12934. "name": "marketid",
  12935. "in": "query"
  12936. },
  12937. {
  12938. "type": "integer",
  12939. "description": "0:仓单预售 1:仓单贸易",
  12940. "name": "haswr",
  12941. "in": "query",
  12942. "required": true
  12943. },
  12944. {
  12945. "type": "integer",
  12946. "description": "仓单要素id",
  12947. "name": "wrfactortypeid",
  12948. "in": "query",
  12949. "required": true
  12950. },
  12951. {
  12952. "type": "integer",
  12953. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12954. "name": "tmplateid",
  12955. "in": "query"
  12956. }
  12957. ],
  12958. "responses": {
  12959. "200": {
  12960. "description": "OK",
  12961. "schema": {
  12962. "type": "array",
  12963. "items": {
  12964. "$ref": "#/definitions/models.WrGoodsInfo"
  12965. }
  12966. }
  12967. },
  12968. "500": {
  12969. "description": "Internal Server Error",
  12970. "schema": {
  12971. "$ref": "#/definitions/app.Response"
  12972. }
  12973. }
  12974. }
  12975. }
  12976. },
  12977. "/WrTrade2/QueryWrMarketTradeConfig": {
  12978. "get": {
  12979. "security": [
  12980. {
  12981. "ApiKeyAuth": []
  12982. }
  12983. ],
  12984. "produces": [
  12985. "application/json"
  12986. ],
  12987. "tags": [
  12988. "仓单贸易v2"
  12989. ],
  12990. "summary": "查询市场交易参数配置",
  12991. "parameters": [
  12992. {
  12993. "type": "integer",
  12994. "description": "市场id",
  12995. "name": "marketid",
  12996. "in": "query"
  12997. }
  12998. ],
  12999. "responses": {
  13000. "200": {
  13001. "description": "OK",
  13002. "schema": {
  13003. "type": "array",
  13004. "items": {
  13005. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13006. }
  13007. }
  13008. },
  13009. "500": {
  13010. "description": "Internal Server Error",
  13011. "schema": {
  13012. "$ref": "#/definitions/app.Response"
  13013. }
  13014. }
  13015. }
  13016. }
  13017. },
  13018. "/WrTrade2/QueryWrOrderDetail": {
  13019. "get": {
  13020. "security": [
  13021. {
  13022. "ApiKeyAuth": []
  13023. }
  13024. ],
  13025. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13026. "produces": [
  13027. "application/json"
  13028. ],
  13029. "tags": [
  13030. "仓单贸易v2"
  13031. ],
  13032. "summary": "查询仓单委托单(挂单)",
  13033. "parameters": [
  13034. {
  13035. "type": "integer",
  13036. "description": "页码",
  13037. "name": "page",
  13038. "in": "query"
  13039. },
  13040. {
  13041. "type": "integer",
  13042. "description": "每页条数",
  13043. "name": "pagesize",
  13044. "in": "query"
  13045. },
  13046. {
  13047. "type": "integer",
  13048. "description": "用户id",
  13049. "name": "userid",
  13050. "in": "query",
  13051. "required": true
  13052. },
  13053. {
  13054. "type": "integer",
  13055. "description": "仓单贸易市场id",
  13056. "name": "marketid",
  13057. "in": "query"
  13058. },
  13059. {
  13060. "type": "integer",
  13061. "description": "0:仓单预售 1:仓单贸易",
  13062. "name": "haswr",
  13063. "in": "query",
  13064. "required": true
  13065. }
  13066. ],
  13067. "responses": {
  13068. "200": {
  13069. "description": "OK",
  13070. "schema": {
  13071. "type": "array",
  13072. "items": {
  13073. "$ref": "#/definitions/models.WrOrderDetail"
  13074. }
  13075. }
  13076. },
  13077. "500": {
  13078. "description": "Internal Server Error",
  13079. "schema": {
  13080. "$ref": "#/definitions/app.Response"
  13081. }
  13082. }
  13083. }
  13084. }
  13085. },
  13086. "/WrTrade2/QueryWrOutInApply": {
  13087. "get": {
  13088. "security": [
  13089. {
  13090. "ApiKeyAuth": []
  13091. }
  13092. ],
  13093. "produces": [
  13094. "application/json"
  13095. ],
  13096. "tags": [
  13097. "仓单贸易v2"
  13098. ],
  13099. "summary": "查询提货申请",
  13100. "parameters": [
  13101. {
  13102. "type": "integer",
  13103. "description": "用户id",
  13104. "name": "userid",
  13105. "in": "query",
  13106. "required": true
  13107. }
  13108. ],
  13109. "responses": {
  13110. "200": {
  13111. "description": "OK",
  13112. "schema": {
  13113. "type": "array",
  13114. "items": {
  13115. "$ref": "#/definitions/models.WrOutInApply"
  13116. }
  13117. }
  13118. },
  13119. "500": {
  13120. "description": "Internal Server Error",
  13121. "schema": {
  13122. "$ref": "#/definitions/app.Response"
  13123. }
  13124. }
  13125. }
  13126. }
  13127. },
  13128. "/WrTrade2/QueryWrPerformancePlanStep": {
  13129. "get": {
  13130. "security": [
  13131. {
  13132. "ApiKeyAuth": []
  13133. }
  13134. ],
  13135. "produces": [
  13136. "application/json"
  13137. ],
  13138. "tags": [
  13139. "仓单贸易v2"
  13140. ],
  13141. "summary": "查询履约信息详情",
  13142. "parameters": [
  13143. {
  13144. "type": "integer",
  13145. "description": "履约计划id(performanceplanid)",
  13146. "name": "planid",
  13147. "in": "query",
  13148. "required": true
  13149. },
  13150. {
  13151. "type": "integer",
  13152. "description": "当前步骤id",
  13153. "name": "curstepid",
  13154. "in": "query"
  13155. }
  13156. ],
  13157. "responses": {
  13158. "200": {
  13159. "description": "OK",
  13160. "schema": {
  13161. "type": "array",
  13162. "items": {
  13163. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13164. }
  13165. }
  13166. },
  13167. "500": {
  13168. "description": "Internal Server Error",
  13169. "schema": {
  13170. "$ref": "#/definitions/app.Response"
  13171. }
  13172. }
  13173. }
  13174. }
  13175. },
  13176. "/WrTrade2/QueryWrPerformanceStepType": {
  13177. "get": {
  13178. "security": [
  13179. {
  13180. "ApiKeyAuth": []
  13181. }
  13182. ],
  13183. "produces": [
  13184. "application/json"
  13185. ],
  13186. "tags": [
  13187. "仓单贸易v2"
  13188. ],
  13189. "summary": "查询履约步骤枚举",
  13190. "responses": {
  13191. "200": {
  13192. "description": "OK",
  13193. "schema": {
  13194. "type": "array",
  13195. "items": {
  13196. "$ref": "#/definitions/models.WrPerformanceStepType"
  13197. }
  13198. }
  13199. },
  13200. "500": {
  13201. "description": "Internal Server Error",
  13202. "schema": {
  13203. "$ref": "#/definitions/app.Response"
  13204. }
  13205. }
  13206. }
  13207. }
  13208. },
  13209. "/WrTrade2/QueryWrPosition": {
  13210. "get": {
  13211. "security": [
  13212. {
  13213. "ApiKeyAuth": []
  13214. }
  13215. ],
  13216. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13217. "produces": [
  13218. "application/json"
  13219. ],
  13220. "tags": [
  13221. "仓单贸易v2"
  13222. ],
  13223. "summary": "查询现货(预售)仓单持仓",
  13224. "parameters": [
  13225. {
  13226. "type": "integer",
  13227. "description": "用户id",
  13228. "name": "userid",
  13229. "in": "query",
  13230. "required": true
  13231. },
  13232. {
  13233. "type": "integer",
  13234. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13235. "name": "querytype",
  13236. "in": "query",
  13237. "required": true
  13238. },
  13239. {
  13240. "type": "integer",
  13241. "description": "0:仓单预售 1:仓单贸易",
  13242. "name": "haswr",
  13243. "in": "query",
  13244. "required": true
  13245. },
  13246. {
  13247. "type": "string",
  13248. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13249. "name": "dgitemname",
  13250. "in": "query"
  13251. },
  13252. {
  13253. "type": "integer",
  13254. "description": "仓库id(筛选条件)",
  13255. "name": "warehouseid",
  13256. "in": "query"
  13257. },
  13258. {
  13259. "type": "integer",
  13260. "description": "品种id",
  13261. "name": "deliverygoodsid",
  13262. "in": "query"
  13263. },
  13264. {
  13265. "type": "integer",
  13266. "description": "品类id",
  13267. "name": "wrstandardid",
  13268. "in": "query"
  13269. }
  13270. ],
  13271. "responses": {
  13272. "200": {
  13273. "description": "OK",
  13274. "schema": {
  13275. "type": "array",
  13276. "items": {
  13277. "$ref": "#/definitions/models.WrPosition"
  13278. }
  13279. }
  13280. },
  13281. "500": {
  13282. "description": "Internal Server Error",
  13283. "schema": {
  13284. "$ref": "#/definitions/app.Response"
  13285. }
  13286. }
  13287. }
  13288. }
  13289. },
  13290. "/WrTrade2/QueryWrScfContract": {
  13291. "get": {
  13292. "security": [
  13293. {
  13294. "ApiKeyAuth": []
  13295. }
  13296. ],
  13297. "produces": [
  13298. "application/json"
  13299. ],
  13300. "tags": [
  13301. "仓单贸易v2"
  13302. ],
  13303. "summary": "查询仓单贸易融资合同",
  13304. "parameters": [
  13305. {
  13306. "type": "integer",
  13307. "description": "用户id",
  13308. "name": "userid",
  13309. "in": "query",
  13310. "required": true
  13311. },
  13312. {
  13313. "type": "integer",
  13314. "description": "融资合同id",
  13315. "name": "scfcontractid",
  13316. "in": "query"
  13317. }
  13318. ],
  13319. "responses": {
  13320. "200": {
  13321. "description": "OK",
  13322. "schema": {
  13323. "type": "array",
  13324. "items": {
  13325. "$ref": "#/definitions/models.WrScfContract"
  13326. }
  13327. }
  13328. },
  13329. "500": {
  13330. "description": "Internal Server Error",
  13331. "schema": {
  13332. "$ref": "#/definitions/app.Response"
  13333. }
  13334. }
  13335. }
  13336. }
  13337. },
  13338. "/WrTrade2/QueryWrScfContractInterest": {
  13339. "get": {
  13340. "security": [
  13341. {
  13342. "ApiKeyAuth": []
  13343. }
  13344. ],
  13345. "produces": [
  13346. "application/json"
  13347. ],
  13348. "tags": [
  13349. "仓单贸易v2"
  13350. ],
  13351. "summary": "查询融资合同费用明细",
  13352. "parameters": [
  13353. {
  13354. "type": "integer",
  13355. "description": "融资合同id",
  13356. "name": "scfcontractid",
  13357. "in": "query"
  13358. }
  13359. ],
  13360. "responses": {
  13361. "200": {
  13362. "description": "OK",
  13363. "schema": {
  13364. "type": "array",
  13365. "items": {
  13366. "$ref": "#/definitions/models.WrScfContractInterest"
  13367. }
  13368. }
  13369. },
  13370. "500": {
  13371. "description": "Internal Server Error",
  13372. "schema": {
  13373. "$ref": "#/definitions/app.Response"
  13374. }
  13375. }
  13376. }
  13377. }
  13378. },
  13379. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13380. "get": {
  13381. "security": [
  13382. {
  13383. "ApiKeyAuth": []
  13384. }
  13385. ],
  13386. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13387. "produces": [
  13388. "application/json"
  13389. ],
  13390. "tags": [
  13391. "仓单贸易v2"
  13392. ],
  13393. "summary": "查询指定成交",
  13394. "parameters": [
  13395. {
  13396. "type": "integer",
  13397. "description": "页码",
  13398. "name": "page",
  13399. "in": "query"
  13400. },
  13401. {
  13402. "type": "integer",
  13403. "description": "每页条数",
  13404. "name": "pagesize",
  13405. "in": "query"
  13406. },
  13407. {
  13408. "type": "integer",
  13409. "description": "用户id",
  13410. "name": "userid",
  13411. "in": "query",
  13412. "required": true
  13413. },
  13414. {
  13415. "type": "integer",
  13416. "description": "仓单贸易市场id",
  13417. "name": "marketid",
  13418. "in": "query"
  13419. },
  13420. {
  13421. "type": "integer",
  13422. "description": "0:仓单预售 1:仓单贸易",
  13423. "name": "haswr",
  13424. "in": "query",
  13425. "required": true
  13426. }
  13427. ],
  13428. "responses": {
  13429. "200": {
  13430. "description": "OK",
  13431. "schema": {
  13432. "type": "array",
  13433. "items": {
  13434. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13435. }
  13436. }
  13437. },
  13438. "500": {
  13439. "description": "Internal Server Error",
  13440. "schema": {
  13441. "$ref": "#/definitions/app.Response"
  13442. }
  13443. }
  13444. }
  13445. }
  13446. },
  13447. "/WrTrade2/QueryWrStandardFactoryItem": {
  13448. "get": {
  13449. "security": [
  13450. {
  13451. "ApiKeyAuth": []
  13452. }
  13453. ],
  13454. "produces": [
  13455. "application/json"
  13456. ],
  13457. "tags": [
  13458. "仓单贸易v2"
  13459. ],
  13460. "summary": "查询品类要素定义项",
  13461. "parameters": [
  13462. {
  13463. "type": "integer",
  13464. "description": "品类id",
  13465. "name": "wrstandardid",
  13466. "in": "query",
  13467. "required": true
  13468. }
  13469. ],
  13470. "responses": {
  13471. "200": {
  13472. "description": "OK",
  13473. "schema": {
  13474. "type": "array",
  13475. "items": {
  13476. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13477. }
  13478. }
  13479. },
  13480. "500": {
  13481. "description": "Internal Server Error",
  13482. "schema": {
  13483. "$ref": "#/definitions/app.Response"
  13484. }
  13485. }
  13486. }
  13487. }
  13488. },
  13489. "/WrTrade2/QueryWrTradeBargainApply": {
  13490. "get": {
  13491. "security": [
  13492. {
  13493. "ApiKeyAuth": []
  13494. }
  13495. ],
  13496. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13497. "produces": [
  13498. "application/json"
  13499. ],
  13500. "tags": [
  13501. "仓单贸易v2"
  13502. ],
  13503. "summary": "查询议价单",
  13504. "parameters": [
  13505. {
  13506. "type": "integer",
  13507. "description": "议价人id(摘牌方)",
  13508. "name": "userid",
  13509. "in": "query"
  13510. },
  13511. {
  13512. "type": "integer",
  13513. "description": "挂牌方id(查对方议价时,填写此项)",
  13514. "name": "matchuserid",
  13515. "in": "query"
  13516. },
  13517. {
  13518. "type": "integer",
  13519. "description": "关联委托单id",
  13520. "name": "wrtradeorderid",
  13521. "in": "query"
  13522. },
  13523. {
  13524. "type": "integer",
  13525. "description": "0:仓单预售 1:仓单贸易",
  13526. "name": "haswr",
  13527. "in": "query",
  13528. "required": true
  13529. }
  13530. ],
  13531. "responses": {
  13532. "200": {
  13533. "description": "OK",
  13534. "schema": {
  13535. "type": "array",
  13536. "items": {
  13537. "$ref": "#/definitions/models.WRTradeBargainApply"
  13538. }
  13539. }
  13540. },
  13541. "500": {
  13542. "description": "Internal Server Error",
  13543. "schema": {
  13544. "$ref": "#/definitions/app.Response"
  13545. }
  13546. }
  13547. }
  13548. }
  13549. },
  13550. "/WrTrade2/QueryWrTradeDetail": {
  13551. "get": {
  13552. "security": [
  13553. {
  13554. "ApiKeyAuth": []
  13555. }
  13556. ],
  13557. "produces": [
  13558. "application/json"
  13559. ],
  13560. "tags": [
  13561. "仓单贸易v2"
  13562. ],
  13563. "summary": "查询仓单成交明细",
  13564. "parameters": [
  13565. {
  13566. "type": "integer",
  13567. "description": "页码",
  13568. "name": "page",
  13569. "in": "query"
  13570. },
  13571. {
  13572. "type": "integer",
  13573. "description": "每页条数",
  13574. "name": "pagesize",
  13575. "in": "query"
  13576. },
  13577. {
  13578. "type": "integer",
  13579. "description": "用户id",
  13580. "name": "userid",
  13581. "in": "query",
  13582. "required": true
  13583. },
  13584. {
  13585. "type": "integer",
  13586. "description": "仓单贸易市场id",
  13587. "name": "marketid",
  13588. "in": "query"
  13589. },
  13590. {
  13591. "type": "integer",
  13592. "description": "0:仓单预售 1:仓单贸易",
  13593. "name": "haswr",
  13594. "in": "query",
  13595. "required": true
  13596. }
  13597. ],
  13598. "responses": {
  13599. "200": {
  13600. "description": "OK",
  13601. "schema": {
  13602. "type": "array",
  13603. "items": {
  13604. "$ref": "#/definitions/models.WrTradeDetail"
  13605. }
  13606. }
  13607. },
  13608. "500": {
  13609. "description": "Internal Server Error",
  13610. "schema": {
  13611. "$ref": "#/definitions/app.Response"
  13612. }
  13613. }
  13614. }
  13615. }
  13616. },
  13617. "/WrTrade2/QueryWrTradeOrderDetail": {
  13618. "get": {
  13619. "security": [
  13620. {
  13621. "ApiKeyAuth": []
  13622. }
  13623. ],
  13624. "produces": [
  13625. "application/json"
  13626. ],
  13627. "tags": [
  13628. "仓单贸易v2"
  13629. ],
  13630. "summary": "查询合约交易买卖大厅",
  13631. "parameters": [
  13632. {
  13633. "type": "integer",
  13634. "description": "页码",
  13635. "name": "page",
  13636. "in": "query"
  13637. },
  13638. {
  13639. "type": "integer",
  13640. "description": "每页条数",
  13641. "name": "pagesize",
  13642. "in": "query"
  13643. },
  13644. {
  13645. "type": "integer",
  13646. "description": "商品id",
  13647. "name": "goodsid",
  13648. "in": "query",
  13649. "required": true
  13650. },
  13651. {
  13652. "type": "integer",
  13653. "description": "买卖方向 0-买 1-卖",
  13654. "name": "buyorsell",
  13655. "in": "query",
  13656. "required": true
  13657. }
  13658. ],
  13659. "responses": {
  13660. "200": {
  13661. "description": "OK",
  13662. "schema": {
  13663. "type": "array",
  13664. "items": {
  13665. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13666. }
  13667. }
  13668. },
  13669. "500": {
  13670. "description": "Internal Server Error",
  13671. "schema": {
  13672. "$ref": "#/definitions/app.Response"
  13673. }
  13674. }
  13675. }
  13676. }
  13677. },
  13678. "/WrTrade2/QueryWrUserFriend": {
  13679. "get": {
  13680. "security": [
  13681. {
  13682. "ApiKeyAuth": []
  13683. }
  13684. ],
  13685. "produces": [
  13686. "application/json"
  13687. ],
  13688. "tags": [
  13689. "仓单贸易v2"
  13690. ],
  13691. "summary": "查询我的朋友",
  13692. "parameters": [
  13693. {
  13694. "type": "integer",
  13695. "description": "用户id",
  13696. "name": "userid",
  13697. "in": "query",
  13698. "required": true
  13699. },
  13700. {
  13701. "type": "integer",
  13702. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13703. "name": "newuserid",
  13704. "in": "query"
  13705. }
  13706. ],
  13707. "responses": {
  13708. "200": {
  13709. "description": "OK",
  13710. "schema": {
  13711. "type": "array",
  13712. "items": {
  13713. "$ref": "#/definitions/models.WrUserFriend"
  13714. }
  13715. }
  13716. },
  13717. "500": {
  13718. "description": "Internal Server Error",
  13719. "schema": {
  13720. "$ref": "#/definitions/app.Response"
  13721. }
  13722. }
  13723. }
  13724. }
  13725. },
  13726. "/WrTrade2/QueryWrUserReceiptInfo": {
  13727. "get": {
  13728. "security": [
  13729. {
  13730. "ApiKeyAuth": []
  13731. }
  13732. ],
  13733. "produces": [
  13734. "application/json"
  13735. ],
  13736. "tags": [
  13737. "仓单贸易v2"
  13738. ],
  13739. "summary": "查询发票信息",
  13740. "parameters": [
  13741. {
  13742. "type": "integer",
  13743. "description": "用户id",
  13744. "name": "userid",
  13745. "in": "query"
  13746. },
  13747. {
  13748. "type": "integer",
  13749. "description": "发票类型 - 1:个人 2:企业",
  13750. "name": "receipttype",
  13751. "in": "query"
  13752. }
  13753. ],
  13754. "responses": {
  13755. "200": {
  13756. "description": "OK",
  13757. "schema": {
  13758. "type": "array",
  13759. "items": {
  13760. "$ref": "#/definitions/models.WrUserReceiptInfo"
  13761. }
  13762. }
  13763. },
  13764. "500": {
  13765. "description": "Internal Server Error",
  13766. "schema": {
  13767. "$ref": "#/definitions/app.Response"
  13768. }
  13769. }
  13770. }
  13771. }
  13772. },
  13773. "/ZJ/GetBankTip": {
  13774. "get": {
  13775. "produces": [
  13776. "application/json"
  13777. ],
  13778. "tags": [
  13779. "中江"
  13780. ],
  13781. "summary": "获取中江网银端出入金提示信息",
  13782. "responses": {
  13783. "200": {
  13784. "description": "OK",
  13785. "schema": {
  13786. "type": "string"
  13787. }
  13788. },
  13789. "500": {
  13790. "description": "Internal Server Error",
  13791. "schema": {
  13792. "$ref": "#/definitions/app.Response"
  13793. }
  13794. }
  13795. }
  13796. }
  13797. },
  13798. "/ZJ/GetCusBankChannels": {
  13799. "get": {
  13800. "produces": [
  13801. "application/json"
  13802. ],
  13803. "tags": [
  13804. "中江"
  13805. ],
  13806. "summary": "获取中江出入金渠道显示列表",
  13807. "responses": {
  13808. "200": {
  13809. "description": "OK",
  13810. "schema": {
  13811. "type": "array",
  13812. "items": {
  13813. "type": "string"
  13814. }
  13815. }
  13816. },
  13817. "500": {
  13818. "description": "Internal Server Error",
  13819. "schema": {
  13820. "$ref": "#/definitions/app.Response"
  13821. }
  13822. }
  13823. }
  13824. }
  13825. }
  13826. },
  13827. "definitions": {
  13828. "app.Response": {
  13829. "type": "object",
  13830. "properties": {
  13831. "code": {
  13832. "type": "integer"
  13833. },
  13834. "data": {
  13835. "type": "object"
  13836. },
  13837. "msg": {
  13838. "type": "string"
  13839. },
  13840. "page": {
  13841. "description": "页码",
  13842. "type": "integer"
  13843. },
  13844. "pagesize": {
  13845. "description": "每页条数",
  13846. "type": "integer"
  13847. },
  13848. "total": {
  13849. "description": "总条数",
  13850. "type": "integer"
  13851. }
  13852. }
  13853. },
  13854. "common.ClientMenu": {
  13855. "type": "object",
  13856. "properties": {
  13857. "children": {
  13858. "description": "子菜单列表",
  13859. "type": "array",
  13860. "items": {
  13861. "$ref": "#/definitions/common.ClientMenu"
  13862. }
  13863. },
  13864. "code": {
  13865. "description": "ID",
  13866. "type": "string"
  13867. },
  13868. "isshow": {
  13869. "description": "是否显示",
  13870. "type": "boolean"
  13871. },
  13872. "remark": {
  13873. "description": "备注",
  13874. "type": "string"
  13875. },
  13876. "rulekey": {
  13877. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13878. "type": "string"
  13879. },
  13880. "sort": {
  13881. "description": "排序",
  13882. "type": "integer"
  13883. },
  13884. "title": {
  13885. "description": "标题",
  13886. "type": "string"
  13887. },
  13888. "type": {
  13889. "description": "类型,1:菜单 2:按钮",
  13890. "type": "integer"
  13891. },
  13892. "url": {
  13893. "description": "URL",
  13894. "type": "string"
  13895. }
  13896. }
  13897. },
  13898. "common.PCWebMenu": {
  13899. "type": "object",
  13900. "properties": {
  13901. "auth": {
  13902. "description": "页面权限列表",
  13903. "type": "array",
  13904. "items": {
  13905. "$ref": "#/definitions/common.PCWebMenuAuth"
  13906. }
  13907. },
  13908. "children": {
  13909. "description": "子菜单列表",
  13910. "type": "array",
  13911. "items": {
  13912. "$ref": "#/definitions/common.PCWebMenu"
  13913. }
  13914. },
  13915. "code": {
  13916. "description": "ID,新版本中权限KEY也是这个字段",
  13917. "type": "string"
  13918. },
  13919. "component": {
  13920. "description": "路由组件",
  13921. "type": "string"
  13922. },
  13923. "isshow": {
  13924. "description": "是否显示",
  13925. "type": "boolean"
  13926. },
  13927. "path": {
  13928. "description": "路由路径",
  13929. "type": "string"
  13930. },
  13931. "remark": {
  13932. "description": "备注",
  13933. "type": "string"
  13934. },
  13935. "requireauth": {
  13936. "description": "是否需要权限判断",
  13937. "type": "boolean"
  13938. },
  13939. "sort": {
  13940. "description": "排序",
  13941. "type": "integer"
  13942. },
  13943. "title": {
  13944. "description": "标题",
  13945. "type": "string"
  13946. },
  13947. "url": {
  13948. "description": "URL",
  13949. "type": "string"
  13950. }
  13951. }
  13952. },
  13953. "common.PCWebMenuAuth": {
  13954. "type": "object",
  13955. "properties": {
  13956. "code": {
  13957. "description": "ID,新版本中权限KEY也是这个字段",
  13958. "type": "string"
  13959. },
  13960. "isshow": {
  13961. "description": "是否显示",
  13962. "type": "boolean"
  13963. },
  13964. "label": {
  13965. "description": "标题",
  13966. "type": "string"
  13967. },
  13968. "remark": {
  13969. "description": "备注",
  13970. "type": "string"
  13971. },
  13972. "requireauth": {
  13973. "description": "是否需要权限判断",
  13974. "type": "boolean"
  13975. }
  13976. }
  13977. },
  13978. "common.QueryImageConfigsRsp": {
  13979. "type": "object",
  13980. "required": [
  13981. "configid"
  13982. ],
  13983. "properties": {
  13984. "areauserid": {
  13985. "description": "所属机构ID",
  13986. "type": "integer"
  13987. },
  13988. "configid": {
  13989. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13990. "type": "integer"
  13991. },
  13992. "createdate": {
  13993. "description": "创建时间",
  13994. "type": "string"
  13995. },
  13996. "creatorid": {
  13997. "description": "创建人",
  13998. "type": "integer"
  13999. },
  14000. "imagepath": {
  14001. "description": "图片",
  14002. "type": "string"
  14003. },
  14004. "imagetype": {
  14005. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14006. "type": "integer"
  14007. },
  14008. "isshow": {
  14009. "description": "是否展示 - 0:不展示 1:展示",
  14010. "type": "integer"
  14011. },
  14012. "marketid": {
  14013. "description": "市场ID",
  14014. "type": "integer"
  14015. },
  14016. "modifierid": {
  14017. "description": "操作人",
  14018. "type": "integer"
  14019. },
  14020. "sort": {
  14021. "description": "排序",
  14022. "type": "integer"
  14023. },
  14024. "title": {
  14025. "description": "标题",
  14026. "type": "string"
  14027. },
  14028. "trademode": {
  14029. "description": "交易模式",
  14030. "type": "integer"
  14031. },
  14032. "updatedate": {
  14033. "description": "修改时间",
  14034. "type": "string"
  14035. },
  14036. "url": {
  14037. "description": "链接(地址或商品ID)",
  14038. "type": "string"
  14039. },
  14040. "urltype": {
  14041. "description": "链接类型 - 1:直接地址 2:商品ID",
  14042. "type": "integer"
  14043. }
  14044. }
  14045. },
  14046. "common.QueryNoticeRsp": {
  14047. "type": "object",
  14048. "required": [
  14049. "autoid"
  14050. ],
  14051. "properties": {
  14052. "auditoruserid": {
  14053. "description": "审核人",
  14054. "type": "integer"
  14055. },
  14056. "auditremark": {
  14057. "description": "审核备注",
  14058. "type": "string"
  14059. },
  14060. "audittime": {
  14061. "description": "审核日期",
  14062. "type": "string"
  14063. },
  14064. "autoid": {
  14065. "description": "自增ID",
  14066. "type": "integer"
  14067. },
  14068. "content": {
  14069. "description": "内容",
  14070. "type": "string"
  14071. },
  14072. "createtime": {
  14073. "description": "创建时间",
  14074. "type": "string"
  14075. },
  14076. "creatorid": {
  14077. "description": "建仓人",
  14078. "type": "integer"
  14079. },
  14080. "endtime": {
  14081. "description": "结束时间",
  14082. "type": "string"
  14083. },
  14084. "istop": {
  14085. "description": "是否置顶 - 0:不置顶 1:置顶",
  14086. "type": "integer"
  14087. },
  14088. "msgiconurl": {
  14089. "description": "消息图标Url",
  14090. "type": "string"
  14091. },
  14092. "msgtype": {
  14093. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14094. "type": "integer"
  14095. },
  14096. "publisher": {
  14097. "description": "消息发布者",
  14098. "type": "string"
  14099. },
  14100. "readed": {
  14101. "description": "是否已读",
  14102. "type": "boolean"
  14103. },
  14104. "scheduletime": {
  14105. "description": "计划发送时间",
  14106. "type": "string"
  14107. },
  14108. "sendtype": {
  14109. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14110. "type": "integer"
  14111. },
  14112. "sentstatus": {
  14113. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14114. "type": "integer"
  14115. },
  14116. "title": {
  14117. "description": "标题",
  14118. "type": "string"
  14119. },
  14120. "userid": {
  14121. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14122. "type": "integer"
  14123. }
  14124. }
  14125. },
  14126. "common.QueryProvincesAndCitiesRsp": {
  14127. "type": "object",
  14128. "properties": {
  14129. "cities": {
  14130. "description": "市",
  14131. "type": "array",
  14132. "items": {
  14133. "$ref": "#/definitions/models.Division"
  14134. }
  14135. },
  14136. "province": {
  14137. "description": "省",
  14138. "$ref": "#/definitions/models.Division"
  14139. }
  14140. }
  14141. },
  14142. "common.QueryTableDefineRsp": {
  14143. "type": "object",
  14144. "required": [
  14145. "tablekey"
  14146. ],
  14147. "properties": {
  14148. "columns": {
  14149. "description": "列头信息数组",
  14150. "type": "array",
  14151. "items": {
  14152. "$ref": "#/definitions/models.Tablecolumnconfig"
  14153. }
  14154. },
  14155. "remark": {
  14156. "description": "Remark",
  14157. "type": "string"
  14158. },
  14159. "tabelmenu": {
  14160. "description": "列表菜单",
  14161. "type": "string"
  14162. },
  14163. "tablekey": {
  14164. "description": "列表Key",
  14165. "type": "string"
  14166. },
  14167. "tablename": {
  14168. "description": "列表名称",
  14169. "type": "string"
  14170. },
  14171. "tabletype": {
  14172. "description": "列表类型 - 1:管理端 2:终端",
  14173. "type": "integer"
  14174. }
  14175. }
  14176. },
  14177. "common.QueryTraderMenuRsp": {
  14178. "type": "object",
  14179. "properties": {
  14180. "OperationMenu": {
  14181. "description": "功能菜单",
  14182. "type": "array",
  14183. "items": {
  14184. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14185. }
  14186. },
  14187. "QuoteMenu": {
  14188. "description": "报价牌分类菜单",
  14189. "type": "array",
  14190. "items": {
  14191. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14192. }
  14193. }
  14194. }
  14195. },
  14196. "cptrade.Cptradepositioncancel": {
  14197. "type": "object",
  14198. "required": [
  14199. "cancelid"
  14200. ],
  14201. "properties": {
  14202. "accountid": {
  14203. "description": "申请人账户ID",
  14204. "type": "integer"
  14205. },
  14206. "applystatus": {
  14207. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14208. "type": "integer"
  14209. },
  14210. "applytime": {
  14211. "description": "申请时间",
  14212. "type": "string"
  14213. },
  14214. "cancelid": {
  14215. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14216. "type": "integer"
  14217. },
  14218. "cancelqty": {
  14219. "description": "注销数量",
  14220. "type": "integer"
  14221. },
  14222. "createtime": {
  14223. "description": "创建时间",
  14224. "type": "string"
  14225. },
  14226. "creatorid": {
  14227. "description": "创建人ID",
  14228. "type": "integer"
  14229. },
  14230. "creatorname": {
  14231. "description": "创建人",
  14232. "type": "string"
  14233. },
  14234. "goodscode": {
  14235. "description": "订单商品代码",
  14236. "type": "string"
  14237. },
  14238. "goodsid": {
  14239. "description": "商品ID",
  14240. "type": "integer"
  14241. },
  14242. "goodsname": {
  14243. "description": "订单商品名称",
  14244. "type": "string"
  14245. },
  14246. "goodunit": {
  14247. "description": "报价单位",
  14248. "type": "string"
  14249. },
  14250. "handlestatus": {
  14251. "description": "处理状态",
  14252. "type": "integer"
  14253. },
  14254. "marketid": {
  14255. "description": "市场ID",
  14256. "type": "integer"
  14257. },
  14258. "marketname": {
  14259. "description": "市场名称",
  14260. "type": "string"
  14261. },
  14262. "tradedate": {
  14263. "description": "交易日(yyyyMMdd)",
  14264. "type": "string"
  14265. },
  14266. "userid": {
  14267. "description": "申请人ID",
  14268. "type": "integer"
  14269. }
  14270. }
  14271. },
  14272. "cptrade.Cptradepresaleapply": {
  14273. "type": "object",
  14274. "required": [
  14275. "applyid"
  14276. ],
  14277. "properties": {
  14278. "accountid": {
  14279. "description": "申请人账户ID",
  14280. "type": "integer"
  14281. },
  14282. "applyid": {
  14283. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14284. "type": "integer"
  14285. },
  14286. "applyremark": {
  14287. "description": "申请备注",
  14288. "type": "string"
  14289. },
  14290. "applystatus": {
  14291. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14292. "type": "integer"
  14293. },
  14294. "applytime": {
  14295. "description": "申请时间",
  14296. "type": "string"
  14297. },
  14298. "attachmenturl": {
  14299. "description": "附件地址",
  14300. "type": "string"
  14301. },
  14302. "endtime": {
  14303. "description": "预售结束时间",
  14304. "type": "string"
  14305. },
  14306. "goodscode": {
  14307. "description": "商品代码",
  14308. "type": "string"
  14309. },
  14310. "goodsid": {
  14311. "description": "商品ID",
  14312. "type": "integer"
  14313. },
  14314. "goodsname": {
  14315. "description": "商品名称",
  14316. "type": "string"
  14317. },
  14318. "goodunit": {
  14319. "description": "报价单位",
  14320. "type": "string"
  14321. },
  14322. "handlestatus": {
  14323. "description": "处理状态",
  14324. "type": "integer"
  14325. },
  14326. "marketid": {
  14327. "description": "预售市场ID",
  14328. "type": "integer"
  14329. },
  14330. "marketname": {
  14331. "description": "预售市场名称",
  14332. "type": "string"
  14333. },
  14334. "presaleqty": {
  14335. "description": "预售数量",
  14336. "type": "integer"
  14337. },
  14338. "relatedgoodscode": {
  14339. "description": "关联交易合约代码",
  14340. "type": "string"
  14341. },
  14342. "relatedgoodsid": {
  14343. "description": "关联交易合约ID",
  14344. "type": "integer"
  14345. },
  14346. "relatedgoodsname": {
  14347. "description": "关联交易合约名称",
  14348. "type": "string"
  14349. },
  14350. "starttime": {
  14351. "description": "预售开始时间",
  14352. "type": "string"
  14353. },
  14354. "tradedate": {
  14355. "description": "交易日(yyyyMMdd)",
  14356. "type": "string"
  14357. },
  14358. "trademode": {
  14359. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14360. "type": "integer"
  14361. },
  14362. "userid": {
  14363. "description": "申请人ID",
  14364. "type": "integer"
  14365. }
  14366. }
  14367. },
  14368. "cptrade.Cptradeusergoodsdata": {
  14369. "type": "object",
  14370. "required": [
  14371. "accountid",
  14372. "goodsid"
  14373. ],
  14374. "properties": {
  14375. "EnabledQty": {
  14376. "description": "可用量",
  14377. "type": "integer"
  14378. },
  14379. "GoodsCode": {
  14380. "description": "订单商品代码",
  14381. "type": "string"
  14382. },
  14383. "GoodsName": {
  14384. "description": "订单商品名称",
  14385. "type": "string"
  14386. },
  14387. "WRStandardCode": {
  14388. "description": "仓单标准代码",
  14389. "type": "string"
  14390. },
  14391. "WRStandardName": {
  14392. "description": "仓单标准名称",
  14393. "type": "string"
  14394. },
  14395. "accountid": {
  14396. "description": "账户ID",
  14397. "type": "integer"
  14398. },
  14399. "cancelqty": {
  14400. "description": "注销量",
  14401. "type": "integer"
  14402. },
  14403. "curpresaleqty": {
  14404. "description": "当前预售量",
  14405. "type": "integer"
  14406. },
  14407. "deliveryqty": {
  14408. "description": "交割量",
  14409. "type": "integer"
  14410. },
  14411. "freezeamount": {
  14412. "description": "冻结金额",
  14413. "type": "number"
  14414. },
  14415. "goodsid": {
  14416. "description": "商品ID",
  14417. "type": "integer"
  14418. },
  14419. "goodunit": {
  14420. "description": "报价单位",
  14421. "type": "string"
  14422. },
  14423. "hasspotfreeze": {
  14424. "description": "是否有现货冻结 - 0:否 1:有",
  14425. "type": "integer"
  14426. },
  14427. "inqty": {
  14428. "description": "转入量(总数量)",
  14429. "type": "integer"
  14430. },
  14431. "marketid": {
  14432. "description": "市场ID",
  14433. "type": "integer"
  14434. },
  14435. "presaledamount": {
  14436. "description": "已预售总金额",
  14437. "type": "integer"
  14438. },
  14439. "presaledqty": {
  14440. "description": "已预售量",
  14441. "type": "integer"
  14442. },
  14443. "userid": {
  14444. "description": "用户ID",
  14445. "type": "integer"
  14446. },
  14447. "wrstandardid": {
  14448. "description": "仓单标准ID",
  14449. "type": "integer"
  14450. }
  14451. }
  14452. },
  14453. "cptrade.QueryCPTradeMyBidRsp": {
  14454. "type": "object",
  14455. "required": [
  14456. "accountid",
  14457. "goodsid",
  14458. "marketid",
  14459. "orderid",
  14460. "orderqty",
  14461. "ordertime",
  14462. "tradeprice",
  14463. "tradeqty"
  14464. ],
  14465. "properties": {
  14466. "accountid": {
  14467. "description": "账户ID[报价币种]",
  14468. "type": "integer"
  14469. },
  14470. "goodsid": {
  14471. "description": "商品ID",
  14472. "type": "integer"
  14473. },
  14474. "goodunit": {
  14475. "description": "报价单位",
  14476. "type": "string"
  14477. },
  14478. "marketid": {
  14479. "description": "市场ID",
  14480. "type": "integer"
  14481. },
  14482. "orderid": {
  14483. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14484. "type": "integer"
  14485. },
  14486. "orderprice": {
  14487. "description": "委托价格",
  14488. "type": "number"
  14489. },
  14490. "orderqty": {
  14491. "description": "委托数量",
  14492. "type": "integer"
  14493. },
  14494. "ordertime": {
  14495. "description": "委托时间",
  14496. "type": "string"
  14497. },
  14498. "ordertotalprice": {
  14499. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14500. "type": "number"
  14501. },
  14502. "ordertotalweight": {
  14503. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14504. "type": "integer"
  14505. },
  14506. "totaltotalprice": {
  14507. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14508. "type": "number"
  14509. },
  14510. "tradeprice": {
  14511. "description": "成交价格",
  14512. "type": "number"
  14513. },
  14514. "tradeqty": {
  14515. "description": "成交数量",
  14516. "type": "integer"
  14517. }
  14518. }
  14519. },
  14520. "cptrade.QueryCPTradeOrderDetailRsq": {
  14521. "type": "object",
  14522. "required": [
  14523. "accountid",
  14524. "buildtype",
  14525. "buyorsell",
  14526. "goodsid",
  14527. "marketid",
  14528. "memberuserid",
  14529. "operatetype",
  14530. "orderqty",
  14531. "ordertime",
  14532. "pricemode",
  14533. "strorderid",
  14534. "tradedate",
  14535. "validtype"
  14536. ],
  14537. "properties": {
  14538. "accountid": {
  14539. "description": "账户ID[报价币种]",
  14540. "type": "integer"
  14541. },
  14542. "buildtype": {
  14543. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14544. "type": "integer"
  14545. },
  14546. "buyorsell": {
  14547. "description": "买卖 - 0:买 1:卖",
  14548. "type": "integer"
  14549. },
  14550. "cancelorderid": {
  14551. "description": "撤单单号(撤单时填写)",
  14552. "type": "integer"
  14553. },
  14554. "cancelqty": {
  14555. "description": "撤单数量",
  14556. "type": "integer"
  14557. },
  14558. "clientordertime": {
  14559. "description": "客户端委托时间",
  14560. "type": "string"
  14561. },
  14562. "clientticket": {
  14563. "description": "客户端流水号",
  14564. "type": "string"
  14565. },
  14566. "clienttype": {
  14567. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14568. "type": "integer"
  14569. },
  14570. "closeexchagechargevalue": {
  14571. "description": "平仓交易所手续费设置值",
  14572. "type": "number"
  14573. },
  14574. "closefeealgorithm": {
  14575. "description": "平仓手续费收取方式 1:比率 2:固定",
  14576. "type": "integer"
  14577. },
  14578. "closefreezecharge": {
  14579. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14580. "type": "number"
  14581. },
  14582. "closememberchargevalue": {
  14583. "description": "平仓会员手续费设置值",
  14584. "type": "number"
  14585. },
  14586. "closeqty": {
  14587. "description": "平仓数量(先建后平操作 需要记录)",
  14588. "type": "integer"
  14589. },
  14590. "closetradeqty": {
  14591. "description": "平仓成交数量(先建后平操作,需要记录)",
  14592. "type": "integer"
  14593. },
  14594. "closeunfreezecharge": {
  14595. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14596. "type": "number"
  14597. },
  14598. "delistingtype": {
  14599. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14600. "type": "integer"
  14601. },
  14602. "freezecharge": {
  14603. "description": "冻结手续费",
  14604. "type": "number"
  14605. },
  14606. "freezemargin": {
  14607. "description": "冻结保证金(冻结交易金额)",
  14608. "type": "number"
  14609. },
  14610. "gcaccountid": {
  14611. "description": "账户ID[合约币种]",
  14612. "type": "integer"
  14613. },
  14614. "goodsid": {
  14615. "description": "商品ID",
  14616. "type": "integer"
  14617. },
  14618. "isconfirmexercise": {
  14619. "description": "是否确认行权- 0:否 1:是",
  14620. "type": "integer"
  14621. },
  14622. "ispreexercise": {
  14623. "description": "是否预申报- 0:否 1:是",
  14624. "type": "integer"
  14625. },
  14626. "listingselecttype": {
  14627. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14628. "type": "integer"
  14629. },
  14630. "marginalgorithm": {
  14631. "description": "保证金收取方式 1:比率 2:固定",
  14632. "type": "integer"
  14633. },
  14634. "marginvalue": {
  14635. "description": "即市保证金设置值",
  14636. "type": "number"
  14637. },
  14638. "marketid": {
  14639. "description": "市场ID",
  14640. "type": "integer"
  14641. },
  14642. "marketmaxsub": {
  14643. "description": "市价最大偏移范围",
  14644. "type": "number"
  14645. },
  14646. "memberuserid": {
  14647. "description": "所属会员UserID",
  14648. "type": "integer"
  14649. },
  14650. "openexchagechargevalue": {
  14651. "description": "建仓交易所手续费设置值",
  14652. "type": "number"
  14653. },
  14654. "openfeealgorithm": {
  14655. "description": "建仓手续费收取方式 1:比率 2:固定",
  14656. "type": "integer"
  14657. },
  14658. "openfreezecharge": {
  14659. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14660. "type": "number"
  14661. },
  14662. "openmemberchargevalue": {
  14663. "description": "建仓会员手续费设置值",
  14664. "type": "number"
  14665. },
  14666. "openqty": {
  14667. "description": "开仓数量(先建后平操作,需要记录)",
  14668. "type": "integer"
  14669. },
  14670. "opentradeqty": {
  14671. "description": "开仓成交数量(先建后平操作,需要记录)",
  14672. "type": "integer"
  14673. },
  14674. "openunfreezecharge": {
  14675. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14676. "type": "number"
  14677. },
  14678. "operatetype": {
  14679. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14680. "type": "integer"
  14681. },
  14682. "operatorid": {
  14683. "description": "登录账号(LoginID)",
  14684. "type": "integer"
  14685. },
  14686. "optiontype": {
  14687. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14688. "type": "integer"
  14689. },
  14690. "orderprice": {
  14691. "description": "委托价格",
  14692. "type": "number"
  14693. },
  14694. "orderqty": {
  14695. "description": "委托数量",
  14696. "type": "integer"
  14697. },
  14698. "ordersrc": {
  14699. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14700. "type": "integer"
  14701. },
  14702. "orderstatus": {
  14703. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14704. "type": "integer"
  14705. },
  14706. "ordertime": {
  14707. "description": "委托时间",
  14708. "type": "string"
  14709. },
  14710. "preexerciseprice": {
  14711. "description": "预申报价格",
  14712. "type": "number"
  14713. },
  14714. "premium": {
  14715. "description": "权利金",
  14716. "type": "number"
  14717. },
  14718. "preorderid": {
  14719. "description": "关联预埋单号(止盈止损单时填写)",
  14720. "type": "integer"
  14721. },
  14722. "pricemode": {
  14723. "description": "取价方式 - 1:市价 2: 限价",
  14724. "type": "integer"
  14725. },
  14726. "quoteid": {
  14727. "description": "报价单ID",
  14728. "type": "integer"
  14729. },
  14730. "relatedid": {
  14731. "description": "关联单号(交割单)",
  14732. "type": "integer"
  14733. },
  14734. "retcode": {
  14735. "description": "错误代码",
  14736. "type": "integer"
  14737. },
  14738. "sessionid": {
  14739. "description": "会话ID",
  14740. "type": "integer"
  14741. },
  14742. "strorderid": {
  14743. "description": "委托单号",
  14744. "type": "string"
  14745. },
  14746. "tradedate": {
  14747. "description": "交易日(yyyyMMdd)",
  14748. "type": "string"
  14749. },
  14750. "tradeproperty": {
  14751. "description": "交易属性",
  14752. "type": "integer"
  14753. },
  14754. "tradeqty": {
  14755. "description": "成交数量",
  14756. "type": "integer"
  14757. },
  14758. "unfreezecharge": {
  14759. "description": "解冻手续费",
  14760. "type": "number"
  14761. },
  14762. "unfreezemargin": {
  14763. "description": "解冻保证金",
  14764. "type": "number"
  14765. },
  14766. "updatetime": {
  14767. "description": "更新时间",
  14768. "type": "string"
  14769. },
  14770. "uuid": {
  14771. "description": "发起端唯一id",
  14772. "type": "string"
  14773. },
  14774. "validtime": {
  14775. "description": "有效期限",
  14776. "type": "string"
  14777. },
  14778. "validtype": {
  14779. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14780. "type": "integer"
  14781. },
  14782. "volumetype": {
  14783. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14784. "type": "integer"
  14785. }
  14786. }
  14787. },
  14788. "cptrade.QueryMyCPTradeGoodsRsp": {
  14789. "type": "object",
  14790. "required": [
  14791. "goodscode",
  14792. "goodsid",
  14793. "goodsname",
  14794. "marketid",
  14795. "relatedgoodscode",
  14796. "relatedgoodsname"
  14797. ],
  14798. "properties": {
  14799. "accountid": {
  14800. "description": "卖方账户ID",
  14801. "type": "integer"
  14802. },
  14803. "agreeunit": {
  14804. "description": "合约单位",
  14805. "type": "number"
  14806. },
  14807. "applyid": {
  14808. "description": "关联申请ID",
  14809. "type": "integer"
  14810. },
  14811. "attachmenturl": {
  14812. "description": "附件地址",
  14813. "type": "string"
  14814. },
  14815. "createtime": {
  14816. "description": "创建时间",
  14817. "type": "string"
  14818. },
  14819. "currencyid": {
  14820. "description": "报价货币ID",
  14821. "type": "integer"
  14822. },
  14823. "decimalplace": {
  14824. "description": "报价小数位",
  14825. "type": "integer"
  14826. },
  14827. "endtime": {
  14828. "description": "预售结束时间",
  14829. "type": "string"
  14830. },
  14831. "floorprice": {
  14832. "description": "底价[大宗式竞拍]",
  14833. "type": "number"
  14834. },
  14835. "goodscode": {
  14836. "description": "商品代码(预售)",
  14837. "type": "string"
  14838. },
  14839. "goodsdetail": {
  14840. "description": "详情[大宗]",
  14841. "type": "string"
  14842. },
  14843. "goodsid": {
  14844. "description": "商品ID(自增ID SEQ_GOODS)",
  14845. "type": "integer"
  14846. },
  14847. "goodsname": {
  14848. "description": "商品名称(预售)",
  14849. "type": "string"
  14850. },
  14851. "goodunit": {
  14852. "description": "报价单位",
  14853. "type": "string"
  14854. },
  14855. "goodunitid": {
  14856. "description": "报价单位ID",
  14857. "type": "integer"
  14858. },
  14859. "marketid": {
  14860. "description": "所属市场ID",
  14861. "type": "integer"
  14862. },
  14863. "marketname": {
  14864. "description": "预售市场名称",
  14865. "type": "string"
  14866. },
  14867. "presaledamount": {
  14868. "description": "已预售总金额(预售结束时更新)",
  14869. "type": "number"
  14870. },
  14871. "presaledqty": {
  14872. "description": "已预售量(预售结束时更新)",
  14873. "type": "integer"
  14874. },
  14875. "presalemode": {
  14876. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14877. "type": "integer"
  14878. },
  14879. "presaleqty": {
  14880. "description": "预售数量",
  14881. "type": "integer"
  14882. },
  14883. "refprice": {
  14884. "description": "参考价格[一口价]",
  14885. "type": "number"
  14886. },
  14887. "relatedgoodscode": {
  14888. "description": "商品代码(订单)",
  14889. "type": "string"
  14890. },
  14891. "relatedgoodsid": {
  14892. "description": "关联交易合约ID",
  14893. "type": "integer"
  14894. },
  14895. "relatedgoodsname": {
  14896. "description": "商品名称(订单)",
  14897. "type": "string"
  14898. },
  14899. "relatedmarketid": {
  14900. "description": "关联交易合约市场ID",
  14901. "type": "integer"
  14902. },
  14903. "sellstatus": {
  14904. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14905. "type": "integer"
  14906. },
  14907. "startprice": {
  14908. "description": "起拍价[大宗式竞拍]",
  14909. "type": "number"
  14910. },
  14911. "starttime": {
  14912. "description": "预售开始时间",
  14913. "type": "string"
  14914. },
  14915. "tradedate": {
  14916. "description": "交易日(yyyyMMdd)",
  14917. "type": "string"
  14918. },
  14919. "tradeprice": {
  14920. "description": "成交价[大宗]",
  14921. "type": "number"
  14922. },
  14923. "userid": {
  14924. "description": "卖方用户ID",
  14925. "type": "integer"
  14926. }
  14927. }
  14928. },
  14929. "cptrade.QueryPresaleGoodsExRsp": {
  14930. "type": "object",
  14931. "required": [
  14932. "goodsid"
  14933. ],
  14934. "properties": {
  14935. "attachmenturl": {
  14936. "description": "附件地址",
  14937. "type": "string"
  14938. },
  14939. "createtime": {
  14940. "description": "创建时间",
  14941. "type": "string"
  14942. },
  14943. "endtime": {
  14944. "description": "预售结束时间",
  14945. "type": "string"
  14946. },
  14947. "floorprice": {
  14948. "description": "底价[大宗式竞拍]",
  14949. "type": "number"
  14950. },
  14951. "goodsdetail": {
  14952. "description": "详情[大宗]",
  14953. "type": "string"
  14954. },
  14955. "goodsid": {
  14956. "description": "商品ID(预售)",
  14957. "type": "integer"
  14958. },
  14959. "goodunit": {
  14960. "description": "报价单位",
  14961. "type": "string"
  14962. },
  14963. "marketid": {
  14964. "description": "预售市场ID - 根据预售模式选择市场",
  14965. "type": "integer"
  14966. },
  14967. "presaledamount": {
  14968. "description": "已预售总金额(预售结束时更新)",
  14969. "type": "number"
  14970. },
  14971. "presaledqty": {
  14972. "description": "已预售量(预售结束时更新)",
  14973. "type": "integer"
  14974. },
  14975. "presalemode": {
  14976. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14977. "type": "integer"
  14978. },
  14979. "presaleqty": {
  14980. "description": "预售数量",
  14981. "type": "integer"
  14982. },
  14983. "refprice": {
  14984. "description": "参考价格[一口价]",
  14985. "type": "number"
  14986. },
  14987. "relatedgoodsid": {
  14988. "description": "关联交易合约ID",
  14989. "type": "integer"
  14990. },
  14991. "relatedmarketid": {
  14992. "description": "关联交易合约市场ID",
  14993. "type": "integer"
  14994. },
  14995. "sellstatus": {
  14996. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14997. "type": "integer"
  14998. },
  14999. "startprice": {
  15000. "description": "起拍价[大宗式竞拍]",
  15001. "type": "number"
  15002. },
  15003. "starttime": {
  15004. "description": "预售开始时间",
  15005. "type": "string"
  15006. },
  15007. "tradedate": {
  15008. "description": "交易日(yyyyMMdd)",
  15009. "type": "string"
  15010. },
  15011. "tradeprice": {
  15012. "description": "成交价[大宗]",
  15013. "type": "number"
  15014. }
  15015. }
  15016. },
  15017. "delivery.QueryDeliveryRelationRsp": {
  15018. "type": "object",
  15019. "required": [
  15020. "begindate",
  15021. "enddate",
  15022. "goodsid",
  15023. "mindeliveryqty",
  15024. "xdeliveryratio"
  15025. ],
  15026. "properties": {
  15027. "begindate": {
  15028. "description": "起始日期(yyyyMMdd)",
  15029. "type": "string"
  15030. },
  15031. "buytemplateid": {
  15032. "description": "买履约计划模板ID",
  15033. "type": "integer"
  15034. },
  15035. "deliverygoodscode": {
  15036. "description": "品种代码",
  15037. "type": "string"
  15038. },
  15039. "deliverygoodsid": {
  15040. "description": "交割商品",
  15041. "type": "integer"
  15042. },
  15043. "deliverygoodsname": {
  15044. "description": "品种名称",
  15045. "type": "string"
  15046. },
  15047. "deliverymode": {
  15048. "description": "交割方式 - 1:点选式 2:申报式",
  15049. "type": "integer"
  15050. },
  15051. "deliverypricerule": {
  15052. "description": "交割价规则- 1:行情价 2:建仓价",
  15053. "type": "integer"
  15054. },
  15055. "deliverytype": {
  15056. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15057. "type": "integer"
  15058. },
  15059. "enddate": {
  15060. "description": "结束日期(yyyyMMdd)",
  15061. "type": "string"
  15062. },
  15063. "enumdicname": {
  15064. "description": "品类单位名称",
  15065. "type": "string"
  15066. },
  15067. "goodscode": {
  15068. "description": "商品代码",
  15069. "type": "string"
  15070. },
  15071. "goodsid": {
  15072. "description": "交易合约ID",
  15073. "type": "integer"
  15074. },
  15075. "goodsname": {
  15076. "description": "商品名称",
  15077. "type": "string"
  15078. },
  15079. "marketid": {
  15080. "description": "市场ID",
  15081. "type": "integer"
  15082. },
  15083. "mindeliveryqty": {
  15084. "description": "最小交割系数(K)",
  15085. "type": "integer"
  15086. },
  15087. "p2deliveryprice": {
  15088. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15089. "type": "number"
  15090. },
  15091. "p2deliveryratio": {
  15092. "description": "P2合约系数(p)",
  15093. "type": "integer"
  15094. },
  15095. "p2goodsid": {
  15096. "description": "P2合约ID",
  15097. "type": "integer"
  15098. },
  15099. "p2pricemode": {
  15100. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15101. "type": "integer"
  15102. },
  15103. "pdeliveryprice": {
  15104. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15105. "type": "number"
  15106. },
  15107. "pdeliveryratio": {
  15108. "description": "P合约系数(n)",
  15109. "type": "integer"
  15110. },
  15111. "pgoodscode": {
  15112. "description": "p合约代码",
  15113. "type": "string"
  15114. },
  15115. "pgoodsid": {
  15116. "description": "P合约ID",
  15117. "type": "integer"
  15118. },
  15119. "ppricemode": {
  15120. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15121. "type": "integer"
  15122. },
  15123. "rratio": {
  15124. "description": "兑换系数(R)",
  15125. "type": "integer"
  15126. },
  15127. "rratio1": {
  15128. "description": "兑换系数(交易合约)(R1)",
  15129. "type": "integer"
  15130. },
  15131. "rratio2": {
  15132. "description": "兑换系数(仓单标准)(R2)",
  15133. "type": "integer"
  15134. },
  15135. "selltemplateid": {
  15136. "description": "卖履约计划模板ID",
  15137. "type": "integer"
  15138. },
  15139. "wrstandardid": {
  15140. "description": "仓单标准ID",
  15141. "type": "integer"
  15142. },
  15143. "xdeliveryratio": {
  15144. "description": "交易合约系数(m)",
  15145. "type": "integer"
  15146. }
  15147. }
  15148. },
  15149. "ermcp.ExposureDetailRsp": {
  15150. "type": "object",
  15151. "properties": {
  15152. "areauserid": {
  15153. "description": "机构ID",
  15154. "type": "integer"
  15155. },
  15156. "changeQty": {
  15157. "description": "套保变动量",
  15158. "type": "number"
  15159. },
  15160. "contracttype": {
  15161. "description": "现货合同类型 - 1:采购 -1:销售",
  15162. "type": "integer"
  15163. },
  15164. "convertfactor": {
  15165. "description": "标仓系数",
  15166. "type": "number"
  15167. },
  15168. "convertratio": {
  15169. "description": "套保系数",
  15170. "type": "number"
  15171. },
  15172. "createtime": {
  15173. "description": "时间",
  15174. "type": "string"
  15175. },
  15176. "enumdicname": {
  15177. "description": "现货商品单位名称",
  15178. "type": "string"
  15179. },
  15180. "logtype": {
  15181. "description": "类型 - 1:套保计划 2:现货合同",
  15182. "type": "integer"
  15183. },
  15184. "middlegoodsId": {
  15185. "description": "套保商品id",
  15186. "type": "integer"
  15187. },
  15188. "middlegoodscode": {
  15189. "description": "套保商品代码",
  15190. "type": "string"
  15191. },
  15192. "middlegoodsname": {
  15193. "description": "套保商品名称",
  15194. "type": "string"
  15195. },
  15196. "qty": {
  15197. "description": "数量",
  15198. "type": "number"
  15199. },
  15200. "relateNo": {
  15201. "description": "现货合同/套保计划编号",
  15202. "type": "string"
  15203. },
  15204. "wrstandardcode": {
  15205. "description": "现货商品代码",
  15206. "type": "string"
  15207. },
  15208. "wrstandardid": {
  15209. "description": "现货商品ID",
  15210. "type": "integer"
  15211. },
  15212. "wrstandardname": {
  15213. "description": "现货商品名称",
  15214. "type": "string"
  15215. }
  15216. }
  15217. },
  15218. "ermcp.ExposureHedgePosDetailRsp": {
  15219. "type": "object",
  15220. "properties": {
  15221. "buyorsell": {
  15222. "description": "买卖方向 0-买 1-卖",
  15223. "type": "integer"
  15224. },
  15225. "channelbuildtype": {
  15226. "description": "开平方向 1-建仓 2-平仓",
  15227. "type": "integer"
  15228. },
  15229. "goodscode": {
  15230. "description": "商品代码",
  15231. "type": "string"
  15232. },
  15233. "goodsname": {
  15234. "description": "商品名称",
  15235. "type": "string"
  15236. },
  15237. "hedgegoodsid": {
  15238. "description": "商品id",
  15239. "type": "integer"
  15240. },
  15241. "tradeqty": {
  15242. "description": "数量(成交数量)",
  15243. "type": "integer"
  15244. },
  15245. "tradetime": {
  15246. "description": "时间(成交时间)",
  15247. "type": "string"
  15248. }
  15249. }
  15250. },
  15251. "ermcp.ExposureHedgePositionRsp": {
  15252. "type": "object",
  15253. "properties": {
  15254. "accountid": {
  15255. "description": "资金账号[外部母账户]",
  15256. "type": "integer"
  15257. },
  15258. "curbuyposition": {
  15259. "description": "期末买头寸",
  15260. "type": "integer"
  15261. },
  15262. "cursellposition": {
  15263. "description": "期末卖头寸",
  15264. "type": "integer"
  15265. },
  15266. "curtdbuyposition": {
  15267. "description": "期末今日买头寸",
  15268. "type": "integer"
  15269. },
  15270. "curtdsellposition": {
  15271. "description": "期末今日卖头寸",
  15272. "type": "integer"
  15273. },
  15274. "curydbuyposition": {
  15275. "description": "期末上日买头寸",
  15276. "type": "integer"
  15277. },
  15278. "curydsellposition": {
  15279. "description": "期末上日卖头寸",
  15280. "type": "integer"
  15281. },
  15282. "decreaseqty": {
  15283. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15284. "type": "integer"
  15285. },
  15286. "fretdbuyposition": {
  15287. "description": "冻结今日买头寸",
  15288. "type": "integer"
  15289. },
  15290. "fretdsellposition": {
  15291. "description": "冻结今日卖头寸",
  15292. "type": "integer"
  15293. },
  15294. "freydbuyposition": {
  15295. "description": "冻结上日买头寸",
  15296. "type": "integer"
  15297. },
  15298. "freydsellposition": {
  15299. "description": "冻结上日卖头寸",
  15300. "type": "integer"
  15301. },
  15302. "goodscode": {
  15303. "description": "商品代码",
  15304. "type": "string"
  15305. },
  15306. "goodsid": {
  15307. "description": "商品id",
  15308. "type": "integer"
  15309. },
  15310. "goodsname": {
  15311. "description": "商品名称",
  15312. "type": "string"
  15313. },
  15314. "hedgeaccountcode": {
  15315. "description": "对冲账号",
  15316. "type": "string"
  15317. },
  15318. "hedgegoodsid": {
  15319. "description": "对冲合约ID",
  15320. "type": "integer"
  15321. },
  15322. "increaseqty": {
  15323. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15324. "type": "integer"
  15325. },
  15326. "marketid": {
  15327. "description": "市场ID",
  15328. "type": "integer"
  15329. },
  15330. "relateduserid": {
  15331. "description": "关联用户id",
  15332. "type": "integer"
  15333. },
  15334. "totalcurqty": {
  15335. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15336. "type": "integer"
  15337. },
  15338. "totalydqty": {
  15339. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15340. "type": "integer"
  15341. },
  15342. "tradedate": {
  15343. "description": "交易日(yyyyMMdd)",
  15344. "type": "string"
  15345. },
  15346. "ydbuyposition": {
  15347. "description": "期初买头寸",
  15348. "type": "integer"
  15349. },
  15350. "ydsellposition": {
  15351. "description": "期初卖头寸",
  15352. "type": "integer"
  15353. }
  15354. }
  15355. },
  15356. "ermcp.ExposureSpotDetailRsp": {
  15357. "type": "object",
  15358. "properties": {
  15359. "contracttype": {
  15360. "description": "合同类型 1-采购 -1-销售",
  15361. "type": "integer"
  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. "qty": {
  15376. "description": "数量",
  15377. "type": "number"
  15378. },
  15379. "recordname": {
  15380. "description": "类型名称",
  15381. "type": "string"
  15382. },
  15383. "relatedid": {
  15384. "description": "套保计划ID/现货合同ID",
  15385. "type": "string"
  15386. },
  15387. "relatedno": {
  15388. "description": "编号",
  15389. "type": "string"
  15390. },
  15391. "strtime": {
  15392. "description": "时间",
  15393. "type": "string"
  15394. },
  15395. "wrstandardcode": {
  15396. "description": "现货商品代码",
  15397. "type": "string"
  15398. },
  15399. "wrstandardname": {
  15400. "description": "现货商品名称",
  15401. "type": "string"
  15402. }
  15403. }
  15404. },
  15405. "ermcp.ExposureSpotRsp": {
  15406. "type": "object",
  15407. "properties": {
  15408. "areauserid": {
  15409. "description": "所属机构",
  15410. "type": "integer"
  15411. },
  15412. "decreaseqty": {
  15413. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15414. "type": "number"
  15415. },
  15416. "increaseqty": {
  15417. "description": "增加数量=销售计划数量+采购已定价数量",
  15418. "type": "number"
  15419. },
  15420. "oritoalspotqty": {
  15421. "description": "昨日数量",
  15422. "type": "number"
  15423. },
  15424. "totalspotqty": {
  15425. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15426. "type": "number"
  15427. },
  15428. "updatetime": {
  15429. "description": "更新时间",
  15430. "type": "string"
  15431. },
  15432. "wrstandardcode": {
  15433. "description": "现货品种代码",
  15434. "type": "string"
  15435. },
  15436. "wrstandardid": {
  15437. "description": "现货商品ID",
  15438. "type": "integer"
  15439. },
  15440. "wrstandardname": {
  15441. "description": "现货品种",
  15442. "type": "string"
  15443. }
  15444. }
  15445. },
  15446. "ermcp.HisExposureRsp": {
  15447. "type": "object",
  15448. "properties": {
  15449. "data": {
  15450. "description": "历史敞口",
  15451. "type": "array",
  15452. "items": {
  15453. "$ref": "#/definitions/models.ErmcpHisExposure"
  15454. }
  15455. },
  15456. "enumdicname": {
  15457. "description": "单位名称",
  15458. "type": "string"
  15459. },
  15460. "middlegoodscode": {
  15461. "description": "套保品种代码",
  15462. "type": "string"
  15463. },
  15464. "middlegoodsid": {
  15465. "description": "套保品种ID",
  15466. "type": "integer"
  15467. },
  15468. "middlegoodsname": {
  15469. "description": "套保品种名称",
  15470. "type": "string"
  15471. }
  15472. }
  15473. },
  15474. "ermcp.PendingAuditCntRsp": {
  15475. "type": "object",
  15476. "properties": {
  15477. "areastockqty": {
  15478. "description": "待审核数量: 库存申请",
  15479. "type": "integer"
  15480. },
  15481. "businessdjqty": {
  15482. "description": "待审核数量: 点价",
  15483. "type": "integer"
  15484. },
  15485. "businessfpqty": {
  15486. "description": "待审核数量: 发票",
  15487. "type": "integer"
  15488. },
  15489. "businessjsqty": {
  15490. "description": "待审核数量: 结算",
  15491. "type": "integer"
  15492. },
  15493. "businesskxqty": {
  15494. "description": "待审核数量: 款项",
  15495. "type": "integer"
  15496. },
  15497. "hedgeplanqty": {
  15498. "description": "待审核数量: 套保计划",
  15499. "type": "integer"
  15500. },
  15501. "spotcontractqty": {
  15502. "description": "待审核数量: 现货合同",
  15503. "type": "integer"
  15504. },
  15505. "userqty": {
  15506. "description": "待审核数量: 用户",
  15507. "type": "integer"
  15508. }
  15509. }
  15510. },
  15511. "ermcp.QryAvalidGPRsp": {
  15512. "type": "object",
  15513. "properties": {
  15514. "goodsgroupid": {
  15515. "description": "期货品种id",
  15516. "type": "integer"
  15517. },
  15518. "goodsgroupname": {
  15519. "description": "期货品种名称",
  15520. "type": "string"
  15521. },
  15522. "goodunitid": {
  15523. "description": "品种单位id",
  15524. "type": "integer"
  15525. },
  15526. "goodunitname": {
  15527. "description": "品种单位名称",
  15528. "type": "string"
  15529. },
  15530. "outergroupcode": {
  15531. "description": "期货品种代码",
  15532. "type": "string"
  15533. }
  15534. }
  15535. },
  15536. "ermcp.QryBusinessDjRsp": {
  15537. "type": "object",
  15538. "properties": {
  15539. "amount": {
  15540. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15541. "type": "number"
  15542. },
  15543. "applyid": {
  15544. "description": "申请人",
  15545. "type": "string"
  15546. },
  15547. "applyname": {
  15548. "description": "申请人名称",
  15549. "type": "string"
  15550. },
  15551. "applystatus": {
  15552. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15553. "type": "integer"
  15554. },
  15555. "applytime": {
  15556. "description": "申请时间",
  15557. "type": "string"
  15558. },
  15559. "attachurl": {
  15560. "description": "附件",
  15561. "type": "string"
  15562. },
  15563. "auditid": {
  15564. "description": "审核人ID",
  15565. "type": "string"
  15566. },
  15567. "auditname": {
  15568. "description": "审核人名称",
  15569. "type": "string"
  15570. },
  15571. "audittime": {
  15572. "description": "审核时间",
  15573. "type": "string"
  15574. },
  15575. "buyusername": {
  15576. "description": "采购方名称",
  15577. "type": "string"
  15578. },
  15579. "contractno": {
  15580. "description": "合同编号",
  15581. "type": "string"
  15582. },
  15583. "contractstatus": {
  15584. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15585. "type": "integer"
  15586. },
  15587. "contracttype": {
  15588. "description": "现货合同类型 - 1:采购 -1:销售",
  15589. "type": "integer"
  15590. },
  15591. "deliverygoodscode": {
  15592. "description": "现货品种代码",
  15593. "type": "string"
  15594. },
  15595. "deliverygoodsid": {
  15596. "description": "现货商品ID",
  15597. "type": "integer"
  15598. },
  15599. "deliverygoodsname": {
  15600. "description": "现货品种名称",
  15601. "type": "string"
  15602. },
  15603. "enumdicname": {
  15604. "description": "单位名称",
  15605. "type": "string"
  15606. },
  15607. "goodscode": {
  15608. "description": "点价合约",
  15609. "type": "string"
  15610. },
  15611. "goodsname": {
  15612. "description": "商品名称",
  15613. "type": "string"
  15614. },
  15615. "operateapplyid": {
  15616. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15617. "type": "string"
  15618. },
  15619. "operateapplytype": {
  15620. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15621. "type": "integer"
  15622. },
  15623. "pricedPrice": {
  15624. "description": "点价价格(非必填)",
  15625. "type": "number"
  15626. },
  15627. "pricedQty": {
  15628. "description": "点价数量(非必填)",
  15629. "type": "number"
  15630. },
  15631. "pricemove": {
  15632. "description": "升贴水",
  15633. "type": "number"
  15634. },
  15635. "pricetype": {
  15636. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15637. "type": "integer"
  15638. },
  15639. "relatedid": {
  15640. "description": "现货合同ID",
  15641. "type": "string"
  15642. },
  15643. "sellusername": {
  15644. "description": "销售方名字",
  15645. "type": "string"
  15646. },
  15647. "userid": {
  15648. "description": "用户ID",
  15649. "type": "integer"
  15650. },
  15651. "wrstandardcode": {
  15652. "description": "品类代码",
  15653. "type": "string"
  15654. },
  15655. "wrstandardid": {
  15656. "description": "品类id",
  15657. "type": "integer"
  15658. },
  15659. "wrstandardname": {
  15660. "description": "品类名称",
  15661. "type": "string"
  15662. }
  15663. }
  15664. },
  15665. "ermcp.QryBussinessFpRsp": {
  15666. "type": "object",
  15667. "properties": {
  15668. "applyid": {
  15669. "description": "申请人",
  15670. "type": "string"
  15671. },
  15672. "applyname": {
  15673. "description": "申请人名称",
  15674. "type": "string"
  15675. },
  15676. "applystatus": {
  15677. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15678. "type": "integer"
  15679. },
  15680. "applytime": {
  15681. "description": "申请时间",
  15682. "type": "string"
  15683. },
  15684. "attachurl": {
  15685. "description": "附件",
  15686. "type": "string"
  15687. },
  15688. "auditid": {
  15689. "description": "审核人ID",
  15690. "type": "string"
  15691. },
  15692. "auditname": {
  15693. "description": "审核人名称",
  15694. "type": "string"
  15695. },
  15696. "audittime": {
  15697. "description": "审核时间",
  15698. "type": "string"
  15699. },
  15700. "buyusername": {
  15701. "description": "采购方名称",
  15702. "type": "string"
  15703. },
  15704. "contractno": {
  15705. "description": "合同编号",
  15706. "type": "string"
  15707. },
  15708. "contractstatus": {
  15709. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15710. "type": "integer"
  15711. },
  15712. "contracttype": {
  15713. "description": "现货合同类型 - 1:采购 -1:销售",
  15714. "type": "integer"
  15715. },
  15716. "deliverygoodscode": {
  15717. "description": "现货品种代码",
  15718. "type": "string"
  15719. },
  15720. "deliverygoodsid": {
  15721. "description": "现货商品ID",
  15722. "type": "integer"
  15723. },
  15724. "deliverygoodsname": {
  15725. "description": "现货品种名称",
  15726. "type": "string"
  15727. },
  15728. "enumdicname": {
  15729. "description": "单位名称",
  15730. "type": "string"
  15731. },
  15732. "goodscode": {
  15733. "description": "点价合约",
  15734. "type": "string"
  15735. },
  15736. "goodsname": {
  15737. "description": "商品名称",
  15738. "type": "string"
  15739. },
  15740. "invoiceAmount": {
  15741. "description": "已开收票金额(销售为开票,采购为收票)",
  15742. "type": "number"
  15743. },
  15744. "operateapplyid": {
  15745. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15746. "type": "string"
  15747. },
  15748. "operateapplytype": {
  15749. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15750. "type": "integer"
  15751. },
  15752. "pricemove": {
  15753. "description": "升贴水",
  15754. "type": "number"
  15755. },
  15756. "pricetype": {
  15757. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15758. "type": "integer"
  15759. },
  15760. "relatedid": {
  15761. "description": "现货合同ID",
  15762. "type": "string"
  15763. },
  15764. "sellusername": {
  15765. "description": "销售方名字",
  15766. "type": "string"
  15767. },
  15768. "userid": {
  15769. "description": "用户ID",
  15770. "type": "integer"
  15771. },
  15772. "wrstandardcode": {
  15773. "description": "品类代码",
  15774. "type": "string"
  15775. },
  15776. "wrstandardid": {
  15777. "description": "品类id",
  15778. "type": "integer"
  15779. },
  15780. "wrstandardname": {
  15781. "description": "品类名称",
  15782. "type": "string"
  15783. }
  15784. }
  15785. },
  15786. "ermcp.QryBussinessJsExRsp": {
  15787. "type": "object",
  15788. "properties": {
  15789. "applyid": {
  15790. "description": "申请人",
  15791. "type": "string"
  15792. },
  15793. "applyname": {
  15794. "description": "申请人名称",
  15795. "type": "string"
  15796. },
  15797. "applystatus": {
  15798. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15799. "type": "integer"
  15800. },
  15801. "applytime": {
  15802. "description": "申请时间",
  15803. "type": "string"
  15804. },
  15805. "attachurl": {
  15806. "description": "附件",
  15807. "type": "string"
  15808. },
  15809. "auditid": {
  15810. "description": "审核人ID",
  15811. "type": "string"
  15812. },
  15813. "auditname": {
  15814. "description": "审核人名称",
  15815. "type": "string"
  15816. },
  15817. "audittime": {
  15818. "description": "审核时间",
  15819. "type": "string"
  15820. },
  15821. "buyusername": {
  15822. "description": "采购方名称",
  15823. "type": "string"
  15824. },
  15825. "contractno": {
  15826. "description": "合同编号",
  15827. "type": "string"
  15828. },
  15829. "contractstatus": {
  15830. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15831. "type": "integer"
  15832. },
  15833. "contracttype": {
  15834. "description": "现货合同类型 - 1:采购 -1:销售",
  15835. "type": "integer"
  15836. },
  15837. "deliverygoodscode": {
  15838. "description": "现货品种代码",
  15839. "type": "string"
  15840. },
  15841. "deliverygoodsid": {
  15842. "description": "现货商品ID",
  15843. "type": "integer"
  15844. },
  15845. "deliverygoodsname": {
  15846. "description": "现货品种名称",
  15847. "type": "string"
  15848. },
  15849. "enumdicname": {
  15850. "description": "单位名称",
  15851. "type": "string"
  15852. },
  15853. "goodscode": {
  15854. "description": "点价合约",
  15855. "type": "string"
  15856. },
  15857. "goodsname": {
  15858. "description": "商品名称",
  15859. "type": "string"
  15860. },
  15861. "operateapplyid": {
  15862. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15863. "type": "string"
  15864. },
  15865. "operateapplytype": {
  15866. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15867. "type": "integer"
  15868. },
  15869. "pricemove": {
  15870. "description": "升贴水",
  15871. "type": "number"
  15872. },
  15873. "pricetype": {
  15874. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15875. "type": "integer"
  15876. },
  15877. "reckontype": {
  15878. "description": "结算类型",
  15879. "type": "string"
  15880. },
  15881. "reckonvalue": {
  15882. "description": "值",
  15883. "type": "number"
  15884. },
  15885. "relatedid": {
  15886. "description": "现货合同ID",
  15887. "type": "string"
  15888. },
  15889. "sellusername": {
  15890. "description": "销售方名字",
  15891. "type": "string"
  15892. },
  15893. "userid": {
  15894. "description": "用户ID",
  15895. "type": "integer"
  15896. },
  15897. "wrstandardcode": {
  15898. "description": "品类代码",
  15899. "type": "string"
  15900. },
  15901. "wrstandardid": {
  15902. "description": "品类id",
  15903. "type": "integer"
  15904. },
  15905. "wrstandardname": {
  15906. "description": "品类名称",
  15907. "type": "string"
  15908. }
  15909. }
  15910. },
  15911. "ermcp.QryBussinessJsRsp": {
  15912. "type": "object",
  15913. "properties": {
  15914. "addmargin": {
  15915. "description": "追加保证金(非必填)",
  15916. "type": "number"
  15917. },
  15918. "applyid": {
  15919. "description": "申请人",
  15920. "type": "string"
  15921. },
  15922. "applyname": {
  15923. "description": "申请人名称",
  15924. "type": "string"
  15925. },
  15926. "applystatus": {
  15927. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15928. "type": "integer"
  15929. },
  15930. "applytime": {
  15931. "description": "申请时间",
  15932. "type": "string"
  15933. },
  15934. "attachurl": {
  15935. "description": "附件",
  15936. "type": "string"
  15937. },
  15938. "auditid": {
  15939. "description": "审核人ID",
  15940. "type": "string"
  15941. },
  15942. "auditname": {
  15943. "description": "审核人名称",
  15944. "type": "string"
  15945. },
  15946. "audittime": {
  15947. "description": "审核时间",
  15948. "type": "string"
  15949. },
  15950. "buyusername": {
  15951. "description": "采购方名称",
  15952. "type": "string"
  15953. },
  15954. "contractno": {
  15955. "description": "合同编号",
  15956. "type": "string"
  15957. },
  15958. "contractstatus": {
  15959. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15960. "type": "integer"
  15961. },
  15962. "contracttype": {
  15963. "description": "现货合同类型 - 1:采购 -1:销售",
  15964. "type": "integer"
  15965. },
  15966. "decmargin": {
  15967. "description": "减少保证金(非必填)",
  15968. "type": "number"
  15969. },
  15970. "deliverygoodscode": {
  15971. "description": "现货品种代码",
  15972. "type": "string"
  15973. },
  15974. "deliverygoodsid": {
  15975. "description": "现货商品ID",
  15976. "type": "integer"
  15977. },
  15978. "deliverygoodsname": {
  15979. "description": "现货品种名称",
  15980. "type": "string"
  15981. },
  15982. "enumdicname": {
  15983. "description": "单位名称",
  15984. "type": "string"
  15985. },
  15986. "goodscode": {
  15987. "description": "点价合约",
  15988. "type": "string"
  15989. },
  15990. "goodsname": {
  15991. "description": "商品名称",
  15992. "type": "string"
  15993. },
  15994. "operateapplyid": {
  15995. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15996. "type": "string"
  15997. },
  15998. "operateapplytype": {
  15999. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16000. "type": "integer"
  16001. },
  16002. "pricemove": {
  16003. "description": "升贴水",
  16004. "type": "number"
  16005. },
  16006. "pricetype": {
  16007. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16008. "type": "integer"
  16009. },
  16010. "reckonadjustamount": {
  16011. "description": "结算调整金额(非必填)",
  16012. "type": "number"
  16013. },
  16014. "reckonosamount": {
  16015. "description": "结算溢短金额(非必填)",
  16016. "type": "number"
  16017. },
  16018. "reckonotheramount": {
  16019. "description": "结算其他费用(非必填)",
  16020. "type": "number"
  16021. },
  16022. "reckonrealqty": {
  16023. "description": "结算实际数量(非必填)",
  16024. "type": "number"
  16025. },
  16026. "relatedid": {
  16027. "description": "现货合同ID",
  16028. "type": "string"
  16029. },
  16030. "sellusername": {
  16031. "description": "销售方名字",
  16032. "type": "string"
  16033. },
  16034. "userid": {
  16035. "description": "用户ID",
  16036. "type": "integer"
  16037. },
  16038. "wrstandardcode": {
  16039. "description": "品类代码",
  16040. "type": "string"
  16041. },
  16042. "wrstandardid": {
  16043. "description": "品类id",
  16044. "type": "integer"
  16045. },
  16046. "wrstandardname": {
  16047. "description": "品类名称",
  16048. "type": "string"
  16049. }
  16050. }
  16051. },
  16052. "ermcp.QryBussinessKxRsp": {
  16053. "type": "object",
  16054. "properties": {
  16055. "applyid": {
  16056. "description": "申请人",
  16057. "type": "string"
  16058. },
  16059. "applyname": {
  16060. "description": "申请人名称",
  16061. "type": "string"
  16062. },
  16063. "applystatus": {
  16064. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16065. "type": "integer"
  16066. },
  16067. "applytime": {
  16068. "description": "申请时间",
  16069. "type": "string"
  16070. },
  16071. "attachurl": {
  16072. "description": "附件",
  16073. "type": "string"
  16074. },
  16075. "auditid": {
  16076. "description": "审核人ID",
  16077. "type": "string"
  16078. },
  16079. "auditname": {
  16080. "description": "审核人名称",
  16081. "type": "string"
  16082. },
  16083. "audittime": {
  16084. "description": "审核时间",
  16085. "type": "string"
  16086. },
  16087. "buyusername": {
  16088. "description": "采购方名称",
  16089. "type": "string"
  16090. },
  16091. "contractno": {
  16092. "description": "合同编号",
  16093. "type": "string"
  16094. },
  16095. "contractstatus": {
  16096. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16097. "type": "integer"
  16098. },
  16099. "contracttype": {
  16100. "description": "现货合同类型 - 1:采购 -1:销售",
  16101. "type": "integer"
  16102. },
  16103. "deductamount": {
  16104. "description": "退款(非必填)",
  16105. "type": "number"
  16106. },
  16107. "deliverygoodscode": {
  16108. "description": "现货品种代码",
  16109. "type": "string"
  16110. },
  16111. "deliverygoodsid": {
  16112. "description": "现货商品ID",
  16113. "type": "integer"
  16114. },
  16115. "deliverygoodsname": {
  16116. "description": "现货品种名称",
  16117. "type": "string"
  16118. },
  16119. "enumdicname": {
  16120. "description": "单位名称",
  16121. "type": "string"
  16122. },
  16123. "goodscode": {
  16124. "description": "点价合约",
  16125. "type": "string"
  16126. },
  16127. "goodsname": {
  16128. "description": "商品名称",
  16129. "type": "string"
  16130. },
  16131. "kxtype": {
  16132. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16133. "type": "integer"
  16134. },
  16135. "operateapplyid": {
  16136. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16137. "type": "string"
  16138. },
  16139. "operateapplytype": {
  16140. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16141. "type": "integer"
  16142. },
  16143. "payamount": {
  16144. "description": "收付款(非必填)",
  16145. "type": "number"
  16146. },
  16147. "pricemove": {
  16148. "description": "升贴水",
  16149. "type": "number"
  16150. },
  16151. "pricetype": {
  16152. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16153. "type": "integer"
  16154. },
  16155. "relatedid": {
  16156. "description": "现货合同ID",
  16157. "type": "string"
  16158. },
  16159. "sellusername": {
  16160. "description": "销售方名字",
  16161. "type": "string"
  16162. },
  16163. "userid": {
  16164. "description": "用户ID",
  16165. "type": "integer"
  16166. },
  16167. "wrstandardcode": {
  16168. "description": "品类代码",
  16169. "type": "string"
  16170. },
  16171. "wrstandardid": {
  16172. "description": "品类id",
  16173. "type": "integer"
  16174. },
  16175. "wrstandardname": {
  16176. "description": "品类名称",
  16177. "type": "string"
  16178. }
  16179. }
  16180. },
  16181. "ermcp.QryGGCovertCfgRsp": {
  16182. "type": "object",
  16183. "properties": {
  16184. "convertratio": {
  16185. "description": "折算系数",
  16186. "type": "number"
  16187. },
  16188. "destgoodsgroupid": {
  16189. "description": "目标品种ID",
  16190. "type": "integer"
  16191. },
  16192. "dstcode": {
  16193. "description": "目录品种代码",
  16194. "type": "string"
  16195. },
  16196. "dstexchangecode": {
  16197. "description": "目标期货交易所",
  16198. "type": "string"
  16199. },
  16200. "dstname": {
  16201. "description": "目标品种名称",
  16202. "type": "string"
  16203. },
  16204. "dstunitid": {
  16205. "description": "目标品种单位ID",
  16206. "type": "integer"
  16207. },
  16208. "dstunitidname": {
  16209. "description": "目标品种单位名称",
  16210. "type": "string"
  16211. },
  16212. "modifytime": {
  16213. "description": "修改时间",
  16214. "type": "string"
  16215. },
  16216. "srccode": {
  16217. "description": "源品种代码",
  16218. "type": "string"
  16219. },
  16220. "srcexchangecode": {
  16221. "description": "源期货交易所",
  16222. "type": "string"
  16223. },
  16224. "srcgoodsgroupid": {
  16225. "description": "源品种ID",
  16226. "type": "integer"
  16227. },
  16228. "srcname": {
  16229. "description": "源品种名称",
  16230. "type": "string"
  16231. },
  16232. "srcunitid": {
  16233. "description": "源品种单位ID",
  16234. "type": "integer"
  16235. },
  16236. "srcunitidname": {
  16237. "description": "源品种单位名称",
  16238. "type": "string"
  16239. }
  16240. }
  16241. },
  16242. "ermcp.QryMGChangeLogRsp": {
  16243. "type": "object",
  16244. "properties": {
  16245. "aftervalue": {
  16246. "description": "变更后",
  16247. "type": "number"
  16248. },
  16249. "applyid": {
  16250. "description": "操作人",
  16251. "type": "integer"
  16252. },
  16253. "applyname": {
  16254. "description": "操作人名称",
  16255. "type": "string"
  16256. },
  16257. "applysrc": {
  16258. "description": "操作来源 - 1:管理端 2:终端",
  16259. "type": "integer"
  16260. },
  16261. "beforevalue": {
  16262. "description": "变更前",
  16263. "type": "number"
  16264. },
  16265. "changelogtype": {
  16266. "description": "变更流水类型 - 1:套保比率变更",
  16267. "type": "integer"
  16268. },
  16269. "handlestatus": {
  16270. "description": "处理状态",
  16271. "type": "integer"
  16272. },
  16273. "logdatetime": {
  16274. "description": "流水日期",
  16275. "type": "string"
  16276. },
  16277. "logid": {
  16278. "description": "流水ID",
  16279. "type": "integer"
  16280. },
  16281. "logremark": {
  16282. "description": "流水备注",
  16283. "type": "string"
  16284. },
  16285. "middlegoodsid": {
  16286. "description": "套保品种ID",
  16287. "type": "integer"
  16288. },
  16289. "tradedate": {
  16290. "description": "交易日(yyyyMMdd)",
  16291. "type": "string"
  16292. },
  16293. "updatetime": {
  16294. "description": "更新时间",
  16295. "type": "string"
  16296. }
  16297. }
  16298. },
  16299. "ermcp.QryMiddleGoodsDetailRsp": {
  16300. "type": "object",
  16301. "properties": {
  16302. "cvList": {
  16303. "description": "期货品种折算列表",
  16304. "type": "array",
  16305. "items": {
  16306. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16307. }
  16308. },
  16309. "mg": {
  16310. "description": "套保品种基本信息",
  16311. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16312. },
  16313. "wrcList": {
  16314. "description": "现货品种列表(现货商品折算配置)",
  16315. "type": "array",
  16316. "items": {
  16317. "$ref": "#/definitions/models.WRSConverTDetail"
  16318. }
  16319. }
  16320. }
  16321. },
  16322. "ermcp.QryMiddleGoodsRsp": {
  16323. "type": "object",
  16324. "properties": {
  16325. "areauserid": {
  16326. "description": "机构用户ID",
  16327. "type": "integer"
  16328. },
  16329. "createtime": {
  16330. "description": "修改时间",
  16331. "type": "string"
  16332. },
  16333. "enumdicname": {
  16334. "description": "单位名称",
  16335. "type": "string"
  16336. },
  16337. "evaluateratio": {
  16338. "description": "估价系数",
  16339. "type": "number"
  16340. },
  16341. "goodsgroupid": {
  16342. "description": "关联期货品种ID",
  16343. "type": "integer"
  16344. },
  16345. "goodsunitid": {
  16346. "description": "单位ID",
  16347. "type": "integer"
  16348. },
  16349. "isvalid": {
  16350. "description": "状态 0-无效(停用) 1-有效(正常)",
  16351. "type": "integer"
  16352. },
  16353. "middlegoodscode": {
  16354. "description": "套保品种代码",
  16355. "type": "string"
  16356. },
  16357. "middlegoodsid": {
  16358. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16359. "type": "integer"
  16360. },
  16361. "middlegoodsname": {
  16362. "description": "套保品种名称",
  16363. "type": "string"
  16364. },
  16365. "modifytime": {
  16366. "description": "修改时间",
  16367. "type": "string"
  16368. },
  16369. "needarbitrageratio": {
  16370. "description": "套利比例",
  16371. "type": "number"
  16372. },
  16373. "needhedgeratio": {
  16374. "description": "套保比率",
  16375. "type": "number"
  16376. },
  16377. "qtydecimalplace": {
  16378. "description": "数量小数位",
  16379. "type": "integer"
  16380. },
  16381. "relatedgoodsid": {
  16382. "description": "关联交易商品ID",
  16383. "type": "integer"
  16384. },
  16385. "relatedgoodstype": {
  16386. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16387. "type": "integer"
  16388. },
  16389. "remark": {
  16390. "description": "备注",
  16391. "type": "string"
  16392. }
  16393. }
  16394. },
  16395. "ermcp.QryOPLogRsp": {
  16396. "type": "object",
  16397. "properties": {
  16398. "aftervalue": {
  16399. "description": "变更后",
  16400. "type": "number"
  16401. },
  16402. "applyid": {
  16403. "description": "操作人ID",
  16404. "type": "string"
  16405. },
  16406. "applyname": {
  16407. "description": "操作人名称",
  16408. "type": "string"
  16409. },
  16410. "beforevalue": {
  16411. "description": "变更前",
  16412. "type": "number"
  16413. },
  16414. "biztype": {
  16415. "description": "业务类型 - 1:套保计划 2:现货合同",
  16416. "type": "integer"
  16417. },
  16418. "contracttype": {
  16419. "description": "现货合同类型 - 1:采购 -1:销售",
  16420. "type": "integer"
  16421. },
  16422. "logvalue": {
  16423. "description": "数值",
  16424. "type": "number"
  16425. },
  16426. "operatelogtype": {
  16427. "description": "操作流水类型",
  16428. "type": "integer"
  16429. },
  16430. "operatelogtypedesc": {
  16431. "description": "操作流水类型名称",
  16432. "type": "string"
  16433. },
  16434. "relatedid": {
  16435. "description": "现货合同ID\\套保计划",
  16436. "type": "string"
  16437. },
  16438. "updatetime": {
  16439. "description": "更新时间",
  16440. "type": "string"
  16441. }
  16442. }
  16443. },
  16444. "ermcp.QryUserInfoRsp": {
  16445. "type": "object",
  16446. "properties": {
  16447. "address": {
  16448. "description": "通讯地址",
  16449. "type": "string"
  16450. },
  16451. "attachment1": {
  16452. "description": "附件1",
  16453. "type": "string"
  16454. },
  16455. "audittime": {
  16456. "description": "审核时间",
  16457. "type": "string"
  16458. },
  16459. "cardbackphotourl": {
  16460. "description": "证件反面图片地址",
  16461. "type": "string"
  16462. },
  16463. "cardfrontphotourl": {
  16464. "description": "证件正面图片地址",
  16465. "type": "string"
  16466. },
  16467. "cardnum": {
  16468. "description": "证件号码",
  16469. "type": "string"
  16470. },
  16471. "cardtype": {
  16472. "description": "证件类型",
  16473. "type": "integer"
  16474. },
  16475. "cardtypename": {
  16476. "description": "证件类型名称",
  16477. "type": "string"
  16478. },
  16479. "cityid": {
  16480. "description": "市",
  16481. "type": "integer"
  16482. },
  16483. "contactname": {
  16484. "description": "联系人",
  16485. "type": "string"
  16486. },
  16487. "countryid": {
  16488. "description": "国家",
  16489. "type": "integer"
  16490. },
  16491. "createtime": {
  16492. "description": "创建时间",
  16493. "type": "string"
  16494. },
  16495. "customername": {
  16496. "description": "企业名称",
  16497. "type": "string"
  16498. },
  16499. "districtid": {
  16500. "description": "区域",
  16501. "type": "integer"
  16502. },
  16503. "email": {
  16504. "description": "邮件",
  16505. "type": "string"
  16506. },
  16507. "legalpersonname": {
  16508. "description": "法人姓名(企业)",
  16509. "type": "string"
  16510. },
  16511. "memberuserid": {
  16512. "description": "所属机构ID",
  16513. "type": "integer"
  16514. },
  16515. "mobile": {
  16516. "description": "手机号码",
  16517. "type": "string"
  16518. },
  16519. "modifytime": {
  16520. "description": "修改时间",
  16521. "type": "string"
  16522. },
  16523. "nickname": {
  16524. "description": "昵称",
  16525. "type": "string"
  16526. },
  16527. "provinceid": {
  16528. "description": "省",
  16529. "type": "integer"
  16530. },
  16531. "remark": {
  16532. "description": "备注",
  16533. "type": "string"
  16534. },
  16535. "status": {
  16536. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16537. "type": "integer"
  16538. },
  16539. "statusdesc": {
  16540. "description": "账户状态中文描述",
  16541. "type": "string"
  16542. },
  16543. "taxpayernum": {
  16544. "description": "纳税人识别号",
  16545. "type": "string"
  16546. },
  16547. "telphone": {
  16548. "description": "联系电话",
  16549. "type": "string"
  16550. },
  16551. "userid": {
  16552. "description": "用户ID",
  16553. "type": "integer"
  16554. },
  16555. "userinfotype": {
  16556. "description": "客户类型",
  16557. "type": "string"
  16558. }
  16559. }
  16560. },
  16561. "ermcp.QryWarehouseRsp": {
  16562. "type": "object",
  16563. "properties": {
  16564. "address": {
  16565. "description": "详细地址",
  16566. "type": "string"
  16567. },
  16568. "areauserid": {
  16569. "description": "所属机构",
  16570. "type": "integer"
  16571. },
  16572. "autoid": {
  16573. "description": "自增ID(仓库ID)",
  16574. "type": "integer"
  16575. },
  16576. "cityid": {
  16577. "description": "市",
  16578. "type": "integer"
  16579. },
  16580. "contactname": {
  16581. "description": "联系人",
  16582. "type": "string"
  16583. },
  16584. "contactnum": {
  16585. "description": "联系电话",
  16586. "type": "string"
  16587. },
  16588. "countryid": {
  16589. "description": "国家",
  16590. "type": "integer"
  16591. },
  16592. "createtime": {
  16593. "description": "创建时间",
  16594. "type": "string"
  16595. },
  16596. "districtid": {
  16597. "description": "区",
  16598. "type": "integer"
  16599. },
  16600. "hasvideo": {
  16601. "description": "是否有视频 - 0:无 1:有",
  16602. "type": "integer"
  16603. },
  16604. "provinceid": {
  16605. "description": "省",
  16606. "type": "integer"
  16607. },
  16608. "remark": {
  16609. "description": "审核备注",
  16610. "type": "string"
  16611. },
  16612. "videourl": {
  16613. "description": "视频地址",
  16614. "type": "string"
  16615. },
  16616. "warehousecode": {
  16617. "description": "仓库代码",
  16618. "type": "string"
  16619. },
  16620. "warehousename": {
  16621. "description": "仓库名称",
  16622. "type": "string"
  16623. },
  16624. "warehousestatus": {
  16625. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16626. "type": "integer"
  16627. },
  16628. "warehousetype": {
  16629. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16630. "type": "integer"
  16631. }
  16632. }
  16633. },
  16634. "ermcp.QueryErmcpTradePositionRsp": {
  16635. "type": "object",
  16636. "properties": {
  16637. "agreeunit": {
  16638. "description": "合约单位",
  16639. "type": "number"
  16640. },
  16641. "buyorsell": {
  16642. "description": "方向 - 0:买 1:卖",
  16643. "type": "integer"
  16644. },
  16645. "curpositionqty": {
  16646. "description": "持仓(总仓数量, 期末头寸)",
  16647. "type": "integer"
  16648. },
  16649. "curtdposition": {
  16650. "description": "今仓数量(期末今日头寸)",
  16651. "type": "integer"
  16652. },
  16653. "curtdpositionenabled": {
  16654. "description": "今仓可用",
  16655. "type": "integer"
  16656. },
  16657. "decimalplace": {
  16658. "description": "报价小数位",
  16659. "type": "integer"
  16660. },
  16661. "enableqty": {
  16662. "description": "可用(总仓可用)",
  16663. "type": "integer"
  16664. },
  16665. "exexchangename": {
  16666. "description": "外部交易所名称",
  16667. "type": "string"
  16668. },
  16669. "goodscode": {
  16670. "description": "商品代码(内部)",
  16671. "type": "string"
  16672. },
  16673. "goodsid": {
  16674. "description": "商品ID(自增ID SEQ_GOODS)",
  16675. "type": "integer"
  16676. },
  16677. "goodsname": {
  16678. "description": "商品名称",
  16679. "type": "string"
  16680. },
  16681. "last": {
  16682. "description": "现价",
  16683. "type": "number"
  16684. },
  16685. "marketid": {
  16686. "description": "所属市场ID",
  16687. "type": "integer"
  16688. },
  16689. "openaverageprice": {
  16690. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16691. "type": "number"
  16692. },
  16693. "opencost": {
  16694. "description": "开仓成本",
  16695. "type": "number"
  16696. },
  16697. "openpl": {
  16698. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16699. "type": "number"
  16700. },
  16701. "outgoodscode": {
  16702. "description": "商品代码(外部)",
  16703. "type": "string"
  16704. },
  16705. "positionaverageprice": {
  16706. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16707. "type": "number"
  16708. },
  16709. "positioncost": {
  16710. "description": "持仓成本",
  16711. "type": "number"
  16712. },
  16713. "positionpl": {
  16714. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16715. "type": "number"
  16716. },
  16717. "positionplrate": {
  16718. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16719. "type": "number"
  16720. },
  16721. "usedmargin": {
  16722. "description": "占用保证金",
  16723. "type": "number"
  16724. }
  16725. }
  16726. },
  16727. "ermcp.RealtimeExposurePositionRsp": {
  16728. "type": "object",
  16729. "properties": {
  16730. "agreeunit": {
  16731. "description": "合约单位",
  16732. "type": "string"
  16733. },
  16734. "areauserid": {
  16735. "description": "所属机构id",
  16736. "type": "integer"
  16737. },
  16738. "convertratio": {
  16739. "description": "期货品种系数(折算系数)",
  16740. "type": "number"
  16741. },
  16742. "curqty": {
  16743. "description": "当前持仓",
  16744. "type": "integer"
  16745. },
  16746. "diffhedgeqty": {
  16747. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16748. "type": "number"
  16749. },
  16750. "diffqty": {
  16751. "description": "持仓变动量=当前持仓-昨日持仓",
  16752. "type": "integer"
  16753. },
  16754. "goodscode": {
  16755. "description": "商品代码",
  16756. "type": "string"
  16757. },
  16758. "goodsid": {
  16759. "description": "商品id",
  16760. "type": "integer"
  16761. },
  16762. "goodsname": {
  16763. "description": "商品名称",
  16764. "type": "string"
  16765. },
  16766. "middlegoodsid": {
  16767. "description": "套保商品id",
  16768. "type": "integer"
  16769. },
  16770. "ydqty": {
  16771. "description": "昨日持仓",
  16772. "type": "integer"
  16773. }
  16774. }
  16775. },
  16776. "ermcp.RealtimeExposureRsp": {
  16777. "type": "object",
  16778. "properties": {
  16779. "AreaUserID": {
  16780. "description": "所属机构",
  16781. "type": "integer"
  16782. },
  16783. "BuyFutureQty": {
  16784. "description": "买入期货数量",
  16785. "type": "number"
  16786. },
  16787. "BuyPlanQty": {
  16788. "description": "采购计划数量",
  16789. "type": "number"
  16790. },
  16791. "BuyPricedQty": {
  16792. "description": "采购合同已定价数量",
  16793. "type": "number"
  16794. },
  16795. "MiddleGoodsCode": {
  16796. "description": "套保品种代码",
  16797. "type": "string"
  16798. },
  16799. "MiddleGoodsHedgeRatio": {
  16800. "description": "套保比例",
  16801. "type": "number"
  16802. },
  16803. "MiddleGoodsID": {
  16804. "description": "套保品种",
  16805. "type": "integer"
  16806. },
  16807. "MiddleGoodsName": {
  16808. "description": "套保品种名称",
  16809. "type": "string"
  16810. },
  16811. "NeedHedgeExposoure": {
  16812. "description": "应套保敞口(套保敞口)",
  16813. "type": "number"
  16814. },
  16815. "NeedHedgeRatio": {
  16816. "description": "应套保敞口比例",
  16817. "type": "number"
  16818. },
  16819. "OriBuyFutureQty": {
  16820. "description": "期初买入期货数量",
  16821. "type": "number"
  16822. },
  16823. "OriBuyPlanQty": {
  16824. "description": "期初采购计划数量",
  16825. "type": "number"
  16826. },
  16827. "OriBuyPricedQty": {
  16828. "description": "期初采购合同已定价数量",
  16829. "type": "number"
  16830. },
  16831. "OriSellFutureQty": {
  16832. "description": "期初卖出期货数量",
  16833. "type": "number"
  16834. },
  16835. "OriSellPlanQty": {
  16836. "description": "期初销售计划数量",
  16837. "type": "number"
  16838. },
  16839. "OriSellPricedQty": {
  16840. "description": "期初销售合同已定价数量",
  16841. "type": "number"
  16842. },
  16843. "SellFutureQty": {
  16844. "description": "卖出期货数量",
  16845. "type": "number"
  16846. },
  16847. "SellPlanQty": {
  16848. "description": "销售计划数量",
  16849. "type": "number"
  16850. },
  16851. "SellPricedQty": {
  16852. "description": "销售合同已定价数量",
  16853. "type": "number"
  16854. },
  16855. "TotalExposure": {
  16856. "description": "总敞口 平安:净敞口",
  16857. "type": "number"
  16858. },
  16859. "TotalFutureQty": {
  16860. "description": "期货总量 平安:保值净持仓量",
  16861. "type": "number"
  16862. },
  16863. "TotalHedgeRatio": {
  16864. "description": "敞口比例",
  16865. "type": "number"
  16866. },
  16867. "TotalNeedHedgeQty": {
  16868. "description": "应套保总量(现货应套保总量)",
  16869. "type": "number"
  16870. },
  16871. "TotalSpotQty": {
  16872. "description": "现货总量 平安:采销定价净值",
  16873. "type": "number"
  16874. },
  16875. "arbitrageqty": {
  16876. "description": "套利量",
  16877. "type": "number"
  16878. },
  16879. "diffArbitrageQty": {
  16880. "description": "套利变动量",
  16881. "type": "number"
  16882. },
  16883. "diffExposoureQty": {
  16884. "description": "变动量(套保敞口)",
  16885. "type": "number"
  16886. },
  16887. "diffFutuQty": {
  16888. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  16889. "type": "number"
  16890. },
  16891. "diffHedgeQty": {
  16892. "description": "套保变动量",
  16893. "type": "number"
  16894. },
  16895. "diffQty": {
  16896. "description": "变动量(总敞口) 平安:净敞口今日变动",
  16897. "type": "number"
  16898. },
  16899. "diffSpotHedgeQty": {
  16900. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  16901. "type": "number"
  16902. },
  16903. "diffSpotQty": {
  16904. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  16905. "type": "number"
  16906. },
  16907. "enumdicname": {
  16908. "description": "单位名称",
  16909. "type": "string"
  16910. },
  16911. "hedgeqty": {
  16912. "description": "套保量",
  16913. "type": "number"
  16914. },
  16915. "needarbitrageqty": {
  16916. "description": "应套利量",
  16917. "type": "number"
  16918. },
  16919. "needarbitrageratio": {
  16920. "description": "套利比例",
  16921. "type": "number"
  16922. },
  16923. "needhedgeqty": {
  16924. "description": "应套保量",
  16925. "type": "number"
  16926. },
  16927. "oriTotalFutuQty": {
  16928. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16929. "type": "number"
  16930. },
  16931. "oriTotalSpotQty": {
  16932. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16933. "type": "number"
  16934. },
  16935. "oriarbitrageqty": {
  16936. "description": "期初套利量",
  16937. "type": "number"
  16938. },
  16939. "orihedgeqty": {
  16940. "description": "期初套保量",
  16941. "type": "number"
  16942. },
  16943. "orineedhedgeexposoure": {
  16944. "description": "期初套保敞口",
  16945. "type": "number"
  16946. },
  16947. "oritotalexposure": {
  16948. "description": "期初总敞口",
  16949. "type": "number"
  16950. },
  16951. "oritotalfutureqty": {
  16952. "description": "期初期货总量",
  16953. "type": "number"
  16954. },
  16955. "oritotalneedhedgeqty": {
  16956. "description": "期初现货应套保量",
  16957. "type": "number"
  16958. }
  16959. }
  16960. },
  16961. "erms2.QueryArbitrageStrategyRsp": {
  16962. "type": "object",
  16963. "required": [
  16964. "asapplyid"
  16965. ],
  16966. "properties": {
  16967. "applybasis": {
  16968. "description": "申请基差",
  16969. "type": "number"
  16970. },
  16971. "asapplyid": {
  16972. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  16973. "type": "string"
  16974. },
  16975. "asname": {
  16976. "description": "策略名称",
  16977. "type": "string"
  16978. },
  16979. "asno": {
  16980. "description": "策略编号",
  16981. "type": "string"
  16982. },
  16983. "basischangepl": {
  16984. "description": "基差变动损益[结算更新]",
  16985. "type": "number"
  16986. },
  16987. "biztype": {
  16988. "description": "业务类型 - 1:正向套利 -1:反向套利",
  16989. "type": "integer"
  16990. },
  16991. "closetradedate": {
  16992. "description": "完结交易日(yyyyMMdd)",
  16993. "type": "string"
  16994. },
  16995. "curbasis": {
  16996. "description": "当前基差[结算更新]",
  16997. "type": "number"
  16998. },
  16999. "deliverygoodsid": {
  17000. "description": "现货品种ID",
  17001. "type": "integer"
  17002. },
  17003. "futureavgprice": {
  17004. "description": "期货建仓均价",
  17005. "type": "number"
  17006. },
  17007. "futurecloseamount": {
  17008. "description": "期货平仓金额",
  17009. "type": "number"
  17010. },
  17011. "futurecloseqty": {
  17012. "description": "期货平仓数量",
  17013. "type": "number"
  17014. },
  17015. "futureopenamount": {
  17016. "description": "期货开仓金额",
  17017. "type": "number"
  17018. },
  17019. "futureopenqty": {
  17020. "description": "期货开仓数量",
  17021. "type": "number"
  17022. },
  17023. "futurepl": {
  17024. "description": "期货总盈亏[结算更新]",
  17025. "type": "number"
  17026. },
  17027. "futureqty": {
  17028. "description": "期货持仓数量",
  17029. "type": "number"
  17030. },
  17031. "futurequote": {
  17032. "description": "期货额度",
  17033. "type": "number"
  17034. },
  17035. "goodsgroupid": {
  17036. "description": "期货品种ID",
  17037. "type": "integer"
  17038. },
  17039. "marketid": {
  17040. "description": "市场ID",
  17041. "type": "integer"
  17042. },
  17043. "netexposure": {
  17044. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17045. "type": "number"
  17046. },
  17047. "netexposurepl": {
  17048. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17049. "type": "number"
  17050. },
  17051. "netexposurerate": {
  17052. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17053. "type": "number"
  17054. },
  17055. "openbasis": {
  17056. "description": "建仓基差",
  17057. "type": "number"
  17058. },
  17059. "pricedspotqty": {
  17060. "description": "已定价现货数量",
  17061. "type": "number"
  17062. },
  17063. "pricedspotqtynotax": {
  17064. "description": "已定价现货不含税数量",
  17065. "type": "number"
  17066. },
  17067. "remark": {
  17068. "description": "备注",
  17069. "type": "string"
  17070. },
  17071. "spotavgprice": {
  17072. "description": "现货均价",
  17073. "type": "number"
  17074. },
  17075. "spotbuyamount": {
  17076. "description": "现货采购金额",
  17077. "type": "number"
  17078. },
  17079. "spotbuyqty": {
  17080. "description": "现货采购数量",
  17081. "type": "number"
  17082. },
  17083. "spotpl": {
  17084. "description": "现货总盈亏[结算更新]",
  17085. "type": "number"
  17086. },
  17087. "spotquota": {
  17088. "description": "现货额度",
  17089. "type": "number"
  17090. },
  17091. "spotsellamount": {
  17092. "description": "现货销售金额",
  17093. "type": "number"
  17094. },
  17095. "spotsellqty": {
  17096. "description": "现货销售数量",
  17097. "type": "number"
  17098. },
  17099. "spotusedquota": {
  17100. "description": "现货占用资金",
  17101. "type": "number"
  17102. },
  17103. "strategystatus": {
  17104. "description": "策略状态 - 0:未结束 1:已结束",
  17105. "type": "integer"
  17106. },
  17107. "totalpl": {
  17108. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17109. "type": "number"
  17110. },
  17111. "tradedate": {
  17112. "description": "交易日(yyyyMMdd)",
  17113. "type": "string"
  17114. },
  17115. "updatetime": {
  17116. "description": "更新时间",
  17117. "type": "string"
  17118. },
  17119. "usedquota": {
  17120. "description": "已占用资金",
  17121. "type": "number"
  17122. },
  17123. "userid": {
  17124. "description": "所属机构",
  17125. "type": "integer"
  17126. }
  17127. }
  17128. },
  17129. "erms2.QueryInnerTradeDetailRsp": {
  17130. "type": "object",
  17131. "required": [
  17132. "asapplyid",
  17133. "buyorsell",
  17134. "goodscode",
  17135. "goodsgroupid",
  17136. "goodsgroupname",
  17137. "goodsname",
  17138. "tradeid"
  17139. ],
  17140. "properties": {
  17141. "accountid": {
  17142. "description": "账号ID",
  17143. "type": "integer"
  17144. },
  17145. "agreeunit": {
  17146. "description": "合约单位",
  17147. "type": "number"
  17148. },
  17149. "asapplyid": {
  17150. "description": "策略申请ID",
  17151. "type": "integer"
  17152. },
  17153. "asname": {
  17154. "description": "策略名称",
  17155. "type": "string"
  17156. },
  17157. "asno": {
  17158. "description": "策略编号",
  17159. "type": "string"
  17160. },
  17161. "buyorsell": {
  17162. "description": "方向 - 0:买 1:卖",
  17163. "type": "integer"
  17164. },
  17165. "channelbuildtype": {
  17166. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17167. "type": "integer"
  17168. },
  17169. "closetype": {
  17170. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17171. "type": "integer"
  17172. },
  17173. "decimalplace": {
  17174. "description": "报价小数位",
  17175. "type": "integer"
  17176. },
  17177. "detailtype": {
  17178. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17179. "type": "integer"
  17180. },
  17181. "exexchangecode": {
  17182. "description": "外部交易所代码",
  17183. "type": "string"
  17184. },
  17185. "exexchangename": {
  17186. "description": "外部交易所名称",
  17187. "type": "string"
  17188. },
  17189. "goodscode": {
  17190. "description": "商品代码(合约)",
  17191. "type": "string"
  17192. },
  17193. "goodsgroupid": {
  17194. "description": "商品组ID(品种ID)",
  17195. "type": "integer"
  17196. },
  17197. "goodsgroupname": {
  17198. "description": "商品组名称(品种)",
  17199. "type": "string"
  17200. },
  17201. "goodsid": {
  17202. "description": "商品ID",
  17203. "type": "integer"
  17204. },
  17205. "goodsname": {
  17206. "description": "商品名称(合约)",
  17207. "type": "string"
  17208. },
  17209. "goodunit": {
  17210. "description": "报价单位",
  17211. "type": "string"
  17212. },
  17213. "marketid": {
  17214. "description": "市场ID",
  17215. "type": "integer"
  17216. },
  17217. "orderid": {
  17218. "description": "委托单号",
  17219. "type": "string"
  17220. },
  17221. "outgoodscode": {
  17222. "description": "商品代码(外部)",
  17223. "type": "string"
  17224. },
  17225. "relatedouttradeid": {
  17226. "description": "关联外部成交单ID",
  17227. "type": "string"
  17228. },
  17229. "remark": {
  17230. "description": "备注",
  17231. "type": "string"
  17232. },
  17233. "spotcontractid": {
  17234. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17235. "type": "integer"
  17236. },
  17237. "spotcontractno": {
  17238. "description": "现货合同编号",
  17239. "type": "string"
  17240. },
  17241. "tradeid": {
  17242. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17243. "type": "string"
  17244. },
  17245. "tradeprice": {
  17246. "description": "成交价格",
  17247. "type": "number"
  17248. },
  17249. "tradeqty": {
  17250. "description": "成交数量",
  17251. "type": "integer"
  17252. },
  17253. "tradetime": {
  17254. "description": "成交时间",
  17255. "type": "string"
  17256. },
  17257. "updatetime": {
  17258. "description": "更新时间",
  17259. "type": "string"
  17260. }
  17261. }
  17262. },
  17263. "erms2.QuerySpotContractRsp": {
  17264. "type": "object",
  17265. "required": [
  17266. "spotcontractid"
  17267. ],
  17268. "properties": {
  17269. "accountid": {
  17270. "description": "资金账户ID",
  17271. "type": "integer"
  17272. },
  17273. "areauserid": {
  17274. "description": "所属机构",
  17275. "type": "integer"
  17276. },
  17277. "closedate": {
  17278. "description": "终止日期",
  17279. "type": "string"
  17280. },
  17281. "closeremark": {
  17282. "description": "结束备注",
  17283. "type": "string"
  17284. },
  17285. "closetradedate": {
  17286. "description": "完结交易日(yyyyMMdd)",
  17287. "type": "string"
  17288. },
  17289. "closetype": {
  17290. "description": "终止类型 - 1:违约 2:提前终止",
  17291. "type": "integer"
  17292. },
  17293. "contractamount": {
  17294. "description": "合同金额",
  17295. "type": "number"
  17296. },
  17297. "contractattachment": {
  17298. "description": "合同附件",
  17299. "type": "string"
  17300. },
  17301. "contractno": {
  17302. "description": "现货合同编号",
  17303. "type": "string"
  17304. },
  17305. "contractqty": {
  17306. "description": "合同数量(数值) (用于计算)",
  17307. "type": "number"
  17308. },
  17309. "contractqtychar": {
  17310. "description": "合同数量\\已订价数量 (用于显示)",
  17311. "type": "string"
  17312. },
  17313. "contractstatus": {
  17314. "description": "合同状态 - 0:未结束 1:已结束",
  17315. "type": "integer"
  17316. },
  17317. "contracttype": {
  17318. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17319. "type": "integer"
  17320. },
  17321. "customeraccountid": {
  17322. "description": "客户资金账户ID",
  17323. "type": "integer"
  17324. },
  17325. "customeruserid": {
  17326. "description": "客户ID",
  17327. "type": "integer"
  17328. },
  17329. "deliverygoodsdesc": {
  17330. "description": "品种说明",
  17331. "type": "string"
  17332. },
  17333. "deliverygoodsid": {
  17334. "description": "现货品种ID",
  17335. "type": "integer"
  17336. },
  17337. "handlestatus": {
  17338. "description": "处理状态",
  17339. "type": "integer"
  17340. },
  17341. "invoiceatt": {
  17342. "description": "发票附件",
  17343. "type": "string"
  17344. },
  17345. "invoicedatetime": {
  17346. "description": "开收票更新时间",
  17347. "type": "string"
  17348. },
  17349. "invoiceopentime": {
  17350. "description": "开票时间",
  17351. "type": "string"
  17352. },
  17353. "invoiceremark": {
  17354. "description": "发票备注",
  17355. "type": "string"
  17356. },
  17357. "invoicestatus": {
  17358. "description": "开收票状态 - 0:未开票 1:已开票",
  17359. "type": "integer"
  17360. },
  17361. "lastdate": {
  17362. "description": "交货时间",
  17363. "type": "string"
  17364. },
  17365. "marketid": {
  17366. "description": "市场ID",
  17367. "type": "integer"
  17368. },
  17369. "paydatetime": {
  17370. "description": "收付款更新时间",
  17371. "type": "string"
  17372. },
  17373. "payremark": {
  17374. "description": "收付款备注",
  17375. "type": "string"
  17376. },
  17377. "paystatus": {
  17378. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17379. "type": "integer"
  17380. },
  17381. "positionqty": {
  17382. "description": "头寸数量 - 合同数量去小数部分",
  17383. "type": "integer"
  17384. },
  17385. "producttype": {
  17386. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17387. "type": "integer"
  17388. },
  17389. "relatedqty": {
  17390. "description": "已关联数量",
  17391. "type": "number"
  17392. },
  17393. "relatedstatus": {
  17394. "description": "关联完结状态 - 0:未结束 1:已结束",
  17395. "type": "integer"
  17396. },
  17397. "remark": {
  17398. "description": "备注",
  17399. "type": "string"
  17400. },
  17401. "signdate": {
  17402. "description": "签订日期",
  17403. "type": "string"
  17404. },
  17405. "spotcontractid": {
  17406. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17407. "type": "string"
  17408. },
  17409. "spotdatetime": {
  17410. "description": "收发货更新时间",
  17411. "type": "string"
  17412. },
  17413. "spotprice": {
  17414. "description": "价格",
  17415. "type": "number"
  17416. },
  17417. "spotremark": {
  17418. "description": "收发货备注",
  17419. "type": "string"
  17420. },
  17421. "spotstatus": {
  17422. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17423. "type": "integer"
  17424. },
  17425. "tradedate": {
  17426. "description": "交易日(yyyyMMdd)",
  17427. "type": "string"
  17428. },
  17429. "userid": {
  17430. "description": "业务员用户ID",
  17431. "type": "integer"
  17432. },
  17433. "warehouseid": {
  17434. "description": "仓库ID",
  17435. "type": "integer"
  17436. },
  17437. "wrfactortypeid": {
  17438. "description": "仓单要素类型ID",
  17439. "type": "integer"
  17440. },
  17441. "wrstandardid": {
  17442. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17443. "type": "integer"
  17444. }
  17445. }
  17446. },
  17447. "erms3.AddErms2ASApplyReq": {
  17448. "type": "object",
  17449. "required": [
  17450. "asapplyid"
  17451. ],
  17452. "properties": {
  17453. "applybasis": {
  17454. "description": "申请基差",
  17455. "type": "number"
  17456. },
  17457. "applystatus": {
  17458. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17459. "type": "integer"
  17460. },
  17461. "asapplyid": {
  17462. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17463. "type": "integer"
  17464. },
  17465. "asname": {
  17466. "description": "策略名称",
  17467. "type": "string"
  17468. },
  17469. "asno": {
  17470. "description": "策略编号",
  17471. "type": "string"
  17472. },
  17473. "auditid": {
  17474. "description": "审核人",
  17475. "type": "integer"
  17476. },
  17477. "auditremark": {
  17478. "description": "审核备注",
  17479. "type": "string"
  17480. },
  17481. "audittime": {
  17482. "description": "审核时间",
  17483. "type": "string"
  17484. },
  17485. "biztype": {
  17486. "description": "业务类型 - 1:正向套利 2:反向套利",
  17487. "type": "integer"
  17488. },
  17489. "createtime": {
  17490. "description": "创建时间",
  17491. "type": "string"
  17492. },
  17493. "creatorid": {
  17494. "description": "创建人",
  17495. "type": "integer"
  17496. },
  17497. "deliverygoodsid": {
  17498. "description": "现货品种ID",
  17499. "type": "integer"
  17500. },
  17501. "futurequote": {
  17502. "description": "期货额度",
  17503. "type": "number"
  17504. },
  17505. "goodsgroupid": {
  17506. "description": "期货品种ID",
  17507. "type": "integer"
  17508. },
  17509. "marketid": {
  17510. "description": "市场ID",
  17511. "type": "integer"
  17512. },
  17513. "remark": {
  17514. "description": "备注",
  17515. "type": "string"
  17516. },
  17517. "spotquota": {
  17518. "description": "现货额度",
  17519. "type": "number"
  17520. },
  17521. "tradedate": {
  17522. "description": "交易日(yyyyMMdd)",
  17523. "type": "string"
  17524. },
  17525. "userid": {
  17526. "description": "所属机构",
  17527. "type": "integer"
  17528. }
  17529. }
  17530. },
  17531. "erms3.AddErms2SpotTradeApplyReq": {
  17532. "type": "object",
  17533. "required": [
  17534. "spottradeid"
  17535. ],
  17536. "properties": {
  17537. "applyjsondetail": {
  17538. "description": "申请明细(JSON)",
  17539. "type": "string"
  17540. },
  17541. "applystatus": {
  17542. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17543. "type": "integer"
  17544. },
  17545. "areauserid": {
  17546. "description": "所属机构",
  17547. "type": "integer"
  17548. },
  17549. "auditid": {
  17550. "description": "审核人",
  17551. "type": "integer"
  17552. },
  17553. "auditremark": {
  17554. "description": "审核备注",
  17555. "type": "string"
  17556. },
  17557. "audittime": {
  17558. "description": "审核时间",
  17559. "type": "string"
  17560. },
  17561. "createtime": {
  17562. "description": "创建时间",
  17563. "type": "string"
  17564. },
  17565. "creatorid": {
  17566. "description": "创建人",
  17567. "type": "integer"
  17568. },
  17569. "deliverygoodsid": {
  17570. "description": "现货品种ID",
  17571. "type": "integer"
  17572. },
  17573. "futureaccountid": {
  17574. "description": "期货资金账户",
  17575. "type": "integer"
  17576. },
  17577. "goodsgroupid": {
  17578. "description": "期货品种",
  17579. "type": "integer"
  17580. },
  17581. "marketid": {
  17582. "description": "市场ID",
  17583. "type": "integer"
  17584. },
  17585. "remark": {
  17586. "description": "备注",
  17587. "type": "string"
  17588. },
  17589. "spotaccountid": {
  17590. "description": "现货资金账户",
  17591. "type": "integer"
  17592. },
  17593. "spottradeid": {
  17594. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17595. "type": "integer"
  17596. },
  17597. "spottradename": {
  17598. "description": "业务名称",
  17599. "type": "string"
  17600. },
  17601. "spottradeno": {
  17602. "description": "业务编号",
  17603. "type": "string"
  17604. },
  17605. "tradedate": {
  17606. "description": "交易日(yyyyMMdd)",
  17607. "type": "string"
  17608. },
  17609. "wrstandardid": {
  17610. "description": "仓单标准ID",
  17611. "type": "integer"
  17612. }
  17613. }
  17614. },
  17615. "erms3.AddSpotContractApplyReq": {
  17616. "type": "object",
  17617. "required": [
  17618. "accountid",
  17619. "areauserid",
  17620. "contractno",
  17621. "contracttype",
  17622. "customeraccountid",
  17623. "customeruserid",
  17624. "details",
  17625. "orimargin",
  17626. "signdate"
  17627. ],
  17628. "properties": {
  17629. "accountid": {
  17630. "description": "资金账户ID",
  17631. "type": "integer"
  17632. },
  17633. "areauserid": {
  17634. "description": "所属机构",
  17635. "type": "integer"
  17636. },
  17637. "contractattachment": {
  17638. "description": "合同附件",
  17639. "type": "string"
  17640. },
  17641. "contractno": {
  17642. "description": "现货合同编号",
  17643. "type": "string"
  17644. },
  17645. "contracttype": {
  17646. "description": "现货合同类型 - 1:采购 -1:销售",
  17647. "type": "integer"
  17648. },
  17649. "creatorid": {
  17650. "description": "申请人",
  17651. "type": "integer"
  17652. },
  17653. "customeraccountid": {
  17654. "description": "客户资金账户ID",
  17655. "type": "integer"
  17656. },
  17657. "customeruserid": {
  17658. "description": "客户ID",
  17659. "type": "integer"
  17660. },
  17661. "details": {
  17662. "description": "明细",
  17663. "type": "array",
  17664. "items": {
  17665. "$ref": "#/definitions/erms3.SoptContractDetail"
  17666. }
  17667. },
  17668. "orimargin": {
  17669. "description": "初始保证金",
  17670. "type": "number"
  17671. },
  17672. "remark": {
  17673. "description": "备注",
  17674. "type": "string"
  17675. },
  17676. "signdate": {
  17677. "description": "签订日期",
  17678. "type": "string"
  17679. }
  17680. }
  17681. },
  17682. "erms3.AddSpotContractApplyRsp": {
  17683. "type": "object",
  17684. "required": [
  17685. "contractno"
  17686. ],
  17687. "properties": {
  17688. "contractno": {
  17689. "description": "现货合同编号",
  17690. "type": "string"
  17691. },
  17692. "spotcontractid": {
  17693. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17694. "type": "integer"
  17695. }
  17696. }
  17697. },
  17698. "erms3.AddUserInfoApplyReq": {
  17699. "type": "object",
  17700. "required": [
  17701. "userid"
  17702. ],
  17703. "properties": {
  17704. "accountid": {
  17705. "description": "交易系统帐号Id (加密存储)",
  17706. "type": "integer"
  17707. },
  17708. "areacode": {
  17709. "description": "机构代码",
  17710. "type": "string"
  17711. },
  17712. "areaid": {
  17713. "description": "机构Id",
  17714. "type": "integer"
  17715. },
  17716. "attachment1": {
  17717. "description": "附件1",
  17718. "type": "string"
  17719. },
  17720. "attachment2": {
  17721. "description": "附件2",
  17722. "type": "string"
  17723. },
  17724. "attachment3": {
  17725. "description": "附件3",
  17726. "type": "string"
  17727. },
  17728. "attachment4": {
  17729. "description": "附件4",
  17730. "type": "string"
  17731. },
  17732. "attachment5": {
  17733. "description": "附件5",
  17734. "type": "string"
  17735. },
  17736. "auditedby": {
  17737. "description": "审核人",
  17738. "type": "string"
  17739. },
  17740. "auditime": {
  17741. "description": "审核时间",
  17742. "type": "string"
  17743. },
  17744. "auditsrc": {
  17745. "description": "审核来源 - 1:管理端 2:终端",
  17746. "type": "integer"
  17747. },
  17748. "bankaccount": {
  17749. "description": "银行帐号 (加密存储)",
  17750. "type": "string"
  17751. },
  17752. "bankaccountname": {
  17753. "description": "收款人名称",
  17754. "type": "string"
  17755. },
  17756. "bankcardbackphotourl": {
  17757. "description": "银行卡背面照地址",
  17758. "type": "string"
  17759. },
  17760. "bankcardfrontphotourl": {
  17761. "description": "银行卡正面照地址",
  17762. "type": "string"
  17763. },
  17764. "bankid": {
  17765. "description": "银行编码",
  17766. "type": "string"
  17767. },
  17768. "bankname": {
  17769. "description": "银行名称",
  17770. "type": "string"
  17771. },
  17772. "bankpictureurl": {
  17773. "description": "银行卡正面地址",
  17774. "type": "string"
  17775. },
  17776. "biznature": {
  17777. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17778. "type": "integer"
  17779. },
  17780. "bizscope": {
  17781. "description": "企业经营范围(企业)",
  17782. "type": "string"
  17783. },
  17784. "biztype": {
  17785. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17786. "type": "integer"
  17787. },
  17788. "brokerid": {
  17789. "description": "经纪人ID(加密存储)",
  17790. "type": "string"
  17791. },
  17792. "cardaddress": {
  17793. "description": "证件地址 (加密存储)",
  17794. "type": "string"
  17795. },
  17796. "cardbackphotourl": {
  17797. "description": "背面证件照地址",
  17798. "type": "string"
  17799. },
  17800. "cardfrontphotourl": {
  17801. "description": "正面证件照地址",
  17802. "type": "string"
  17803. },
  17804. "cardnum": {
  17805. "description": "证件号码 (加密存储)",
  17806. "type": "string"
  17807. },
  17808. "cardtype": {
  17809. "description": "证件类型",
  17810. "type": "integer"
  17811. },
  17812. "cityid": {
  17813. "description": "市",
  17814. "type": "integer"
  17815. },
  17816. "company": {
  17817. "description": "公司(个人)",
  17818. "type": "string"
  17819. },
  17820. "contactcardbackphotourl": {
  17821. "description": "联系人证件背面图片地址",
  17822. "type": "string"
  17823. },
  17824. "contactcardfrontphotourl": {
  17825. "description": "联系人证件正面图片地址",
  17826. "type": "string"
  17827. },
  17828. "contactname": {
  17829. "description": "联系人",
  17830. "type": "string"
  17831. },
  17832. "countryid": {
  17833. "description": "国家",
  17834. "type": "integer"
  17835. },
  17836. "createtime": {
  17837. "description": "开户申请时间",
  17838. "type": "string"
  17839. },
  17840. "cusbankid": {
  17841. "description": "签约类型",
  17842. "type": "string"
  17843. },
  17844. "cusbankname": {
  17845. "description": "签约类型名称",
  17846. "type": "string"
  17847. },
  17848. "customername": {
  17849. "description": "客户名称(企业名称)",
  17850. "type": "string"
  17851. },
  17852. "districtid": {
  17853. "description": "地区",
  17854. "type": "integer"
  17855. },
  17856. "email": {
  17857. "description": "Email地址(加密存储)",
  17858. "type": "string"
  17859. },
  17860. "halfbodyphotourl": {
  17861. "description": "半身照地址",
  17862. "type": "string"
  17863. },
  17864. "headurl": {
  17865. "description": "头像地址",
  17866. "type": "string"
  17867. },
  17868. "ipaddress": {
  17869. "description": "IP地址",
  17870. "type": "string"
  17871. },
  17872. "isvalidate": {
  17873. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17874. "type": "string"
  17875. },
  17876. "legalcardbackphotourl": {
  17877. "description": "法人身份证背面照地址",
  17878. "type": "string"
  17879. },
  17880. "legalcardfrontphotourl": {
  17881. "description": "法人身份证正面照地址",
  17882. "type": "string"
  17883. },
  17884. "legalpersonname": {
  17885. "description": "法人姓名(企业)",
  17886. "type": "string"
  17887. },
  17888. "logincode": {
  17889. "description": "登录帐号 (加密存储)",
  17890. "type": "string"
  17891. },
  17892. "memberareaid": {
  17893. "description": "所属会员ID",
  17894. "type": "integer"
  17895. },
  17896. "mobile2": {
  17897. "description": "手机号码[明文-尚志]",
  17898. "type": "string"
  17899. },
  17900. "mobilephone": {
  17901. "description": "手机号码 (加密存储)",
  17902. "type": "string"
  17903. },
  17904. "modifiedby": {
  17905. "description": "修改人帐号",
  17906. "type": "integer"
  17907. },
  17908. "modifiedtime": {
  17909. "description": "修改时间",
  17910. "type": "string"
  17911. },
  17912. "nickname": {
  17913. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17914. "type": "string"
  17915. },
  17916. "openmode": {
  17917. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17918. "type": "integer"
  17919. },
  17920. "otherurl": {
  17921. "description": "其它图片地址[使用分号分隔]",
  17922. "type": "string"
  17923. },
  17924. "postalcode": {
  17925. "description": "邮政编码",
  17926. "type": "string"
  17927. },
  17928. "provinceid": {
  17929. "description": "省",
  17930. "type": "integer"
  17931. },
  17932. "proxystatementurl": {
  17933. "description": "授权委托书",
  17934. "type": "string"
  17935. },
  17936. "qq": {
  17937. "description": "QQ(加密存储",
  17938. "type": "string"
  17939. },
  17940. "referral": {
  17941. "description": "推荐人编码",
  17942. "type": "string"
  17943. },
  17944. "remark": {
  17945. "description": "备注",
  17946. "type": "string"
  17947. },
  17948. "removebeforestatus": {
  17949. "description": "REMOVEBEFORESTATUS",
  17950. "type": "integer"
  17951. },
  17952. "sex": {
  17953. "description": "性别 - 0:女 1:男",
  17954. "type": "integer"
  17955. },
  17956. "signedstatus": {
  17957. "description": "账户一号签签约状态",
  17958. "type": "integer"
  17959. },
  17960. "signpdfurl": {
  17961. "description": "签约pdf文件",
  17962. "type": "string"
  17963. },
  17964. "subbranch": {
  17965. "description": "开户支行",
  17966. "type": "string"
  17967. },
  17968. "taxpayernum": {
  17969. "description": "纳税人识别号",
  17970. "type": "string"
  17971. },
  17972. "telphone": {
  17973. "description": "联系电话(加密存储)",
  17974. "type": "string"
  17975. },
  17976. "userid": {
  17977. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17978. "type": "integer"
  17979. },
  17980. "userinfotype": {
  17981. "description": "用户信息类型 - 1:个人 2:企业",
  17982. "type": "integer"
  17983. },
  17984. "username": {
  17985. "description": "用户姓名",
  17986. "type": "string"
  17987. },
  17988. "userstate": {
  17989. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  17990. "type": "integer"
  17991. },
  17992. "usertype": {
  17993. "description": "用户类型 - 1:投资者 2:机构",
  17994. "type": "integer"
  17995. },
  17996. "videourl": {
  17997. "description": "视频地址",
  17998. "type": "string"
  17999. },
  18000. "wechat": {
  18001. "description": "微信号 (加密存储)",
  18002. "type": "string"
  18003. }
  18004. }
  18005. },
  18006. "erms3.CustomerInfo": {
  18007. "type": "object",
  18008. "required": [
  18009. "userid"
  18010. ],
  18011. "properties": {
  18012. "accountids": {
  18013. "description": "资金账户ID列表",
  18014. "type": "array",
  18015. "items": {
  18016. "type": "integer"
  18017. }
  18018. },
  18019. "customername": {
  18020. "description": "名称(企业名称)",
  18021. "type": "string"
  18022. },
  18023. "mobile": {
  18024. "description": "手机号码",
  18025. "type": "string"
  18026. },
  18027. "userid": {
  18028. "description": "用户ID",
  18029. "type": "integer"
  18030. }
  18031. }
  18032. },
  18033. "erms3.ModifyUserInfoApplyReq": {
  18034. "type": "object",
  18035. "required": [
  18036. "userid"
  18037. ],
  18038. "properties": {
  18039. "accountid": {
  18040. "description": "交易系统帐号Id (加密存储)",
  18041. "type": "integer"
  18042. },
  18043. "areacode": {
  18044. "description": "机构代码",
  18045. "type": "string"
  18046. },
  18047. "areaid": {
  18048. "description": "机构Id",
  18049. "type": "integer"
  18050. },
  18051. "attachment1": {
  18052. "description": "附件1",
  18053. "type": "string"
  18054. },
  18055. "attachment2": {
  18056. "description": "附件2",
  18057. "type": "string"
  18058. },
  18059. "attachment3": {
  18060. "description": "附件3",
  18061. "type": "string"
  18062. },
  18063. "attachment4": {
  18064. "description": "附件4",
  18065. "type": "string"
  18066. },
  18067. "attachment5": {
  18068. "description": "附件5",
  18069. "type": "string"
  18070. },
  18071. "auditedby": {
  18072. "description": "审核人",
  18073. "type": "string"
  18074. },
  18075. "auditime": {
  18076. "description": "审核时间",
  18077. "type": "string"
  18078. },
  18079. "auditsrc": {
  18080. "description": "审核来源 - 1:管理端 2:终端",
  18081. "type": "integer"
  18082. },
  18083. "bankaccount": {
  18084. "description": "银行帐号 (加密存储)",
  18085. "type": "string"
  18086. },
  18087. "bankaccountname": {
  18088. "description": "收款人名称",
  18089. "type": "string"
  18090. },
  18091. "bankcardbackphotourl": {
  18092. "description": "银行卡背面照地址",
  18093. "type": "string"
  18094. },
  18095. "bankcardfrontphotourl": {
  18096. "description": "银行卡正面照地址",
  18097. "type": "string"
  18098. },
  18099. "bankid": {
  18100. "description": "银行编码",
  18101. "type": "string"
  18102. },
  18103. "bankname": {
  18104. "description": "银行名称",
  18105. "type": "string"
  18106. },
  18107. "bankpictureurl": {
  18108. "description": "银行卡正面地址",
  18109. "type": "string"
  18110. },
  18111. "biznature": {
  18112. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18113. "type": "integer"
  18114. },
  18115. "bizscope": {
  18116. "description": "企业经营范围(企业)",
  18117. "type": "string"
  18118. },
  18119. "biztype": {
  18120. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18121. "type": "integer"
  18122. },
  18123. "brokerid": {
  18124. "description": "经纪人ID(加密存储)",
  18125. "type": "string"
  18126. },
  18127. "cardaddress": {
  18128. "description": "证件地址 (加密存储)",
  18129. "type": "string"
  18130. },
  18131. "cardbackphotourl": {
  18132. "description": "背面证件照地址",
  18133. "type": "string"
  18134. },
  18135. "cardfrontphotourl": {
  18136. "description": "正面证件照地址",
  18137. "type": "string"
  18138. },
  18139. "cardnum": {
  18140. "description": "证件号码 (加密存储)",
  18141. "type": "string"
  18142. },
  18143. "cardtype": {
  18144. "description": "证件类型",
  18145. "type": "integer"
  18146. },
  18147. "cityid": {
  18148. "description": "市",
  18149. "type": "integer"
  18150. },
  18151. "company": {
  18152. "description": "公司(个人)",
  18153. "type": "string"
  18154. },
  18155. "contactcardbackphotourl": {
  18156. "description": "联系人证件背面图片地址",
  18157. "type": "string"
  18158. },
  18159. "contactcardfrontphotourl": {
  18160. "description": "联系人证件正面图片地址",
  18161. "type": "string"
  18162. },
  18163. "contactname": {
  18164. "description": "联系人",
  18165. "type": "string"
  18166. },
  18167. "countryid": {
  18168. "description": "国家",
  18169. "type": "integer"
  18170. },
  18171. "createtime": {
  18172. "description": "开户申请时间",
  18173. "type": "string"
  18174. },
  18175. "cusbankid": {
  18176. "description": "签约类型",
  18177. "type": "string"
  18178. },
  18179. "cusbankname": {
  18180. "description": "签约类型名称",
  18181. "type": "string"
  18182. },
  18183. "customername": {
  18184. "description": "客户名称(企业名称)",
  18185. "type": "string"
  18186. },
  18187. "districtid": {
  18188. "description": "地区",
  18189. "type": "integer"
  18190. },
  18191. "email": {
  18192. "description": "Email地址(加密存储)",
  18193. "type": "string"
  18194. },
  18195. "halfbodyphotourl": {
  18196. "description": "半身照地址",
  18197. "type": "string"
  18198. },
  18199. "headurl": {
  18200. "description": "头像地址",
  18201. "type": "string"
  18202. },
  18203. "ipaddress": {
  18204. "description": "IP地址",
  18205. "type": "string"
  18206. },
  18207. "isvalidate": {
  18208. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18209. "type": "string"
  18210. },
  18211. "legalcardbackphotourl": {
  18212. "description": "法人身份证背面照地址",
  18213. "type": "string"
  18214. },
  18215. "legalcardfrontphotourl": {
  18216. "description": "法人身份证正面照地址",
  18217. "type": "string"
  18218. },
  18219. "legalpersonname": {
  18220. "description": "法人姓名(企业)",
  18221. "type": "string"
  18222. },
  18223. "logincode": {
  18224. "description": "登录帐号 (加密存储)",
  18225. "type": "string"
  18226. },
  18227. "memberareaid": {
  18228. "description": "所属会员ID",
  18229. "type": "integer"
  18230. },
  18231. "mobile2": {
  18232. "description": "手机号码[明文-尚志]",
  18233. "type": "string"
  18234. },
  18235. "mobilephone": {
  18236. "description": "手机号码 (加密存储)",
  18237. "type": "string"
  18238. },
  18239. "modifiedby": {
  18240. "description": "修改人帐号",
  18241. "type": "integer"
  18242. },
  18243. "modifiedtime": {
  18244. "description": "修改时间",
  18245. "type": "string"
  18246. },
  18247. "nickname": {
  18248. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18249. "type": "string"
  18250. },
  18251. "openmode": {
  18252. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18253. "type": "integer"
  18254. },
  18255. "otherurl": {
  18256. "description": "其它图片地址[使用分号分隔]",
  18257. "type": "string"
  18258. },
  18259. "postalcode": {
  18260. "description": "邮政编码",
  18261. "type": "string"
  18262. },
  18263. "provinceid": {
  18264. "description": "省",
  18265. "type": "integer"
  18266. },
  18267. "proxystatementurl": {
  18268. "description": "授权委托书",
  18269. "type": "string"
  18270. },
  18271. "qq": {
  18272. "description": "QQ(加密存储",
  18273. "type": "string"
  18274. },
  18275. "referral": {
  18276. "description": "推荐人编码",
  18277. "type": "string"
  18278. },
  18279. "remark": {
  18280. "description": "备注",
  18281. "type": "string"
  18282. },
  18283. "removebeforestatus": {
  18284. "description": "REMOVEBEFORESTATUS",
  18285. "type": "integer"
  18286. },
  18287. "sex": {
  18288. "description": "性别 - 0:女 1:男",
  18289. "type": "integer"
  18290. },
  18291. "signedstatus": {
  18292. "description": "账户一号签签约状态",
  18293. "type": "integer"
  18294. },
  18295. "signpdfurl": {
  18296. "description": "签约pdf文件",
  18297. "type": "string"
  18298. },
  18299. "subbranch": {
  18300. "description": "开户支行",
  18301. "type": "string"
  18302. },
  18303. "taxpayernum": {
  18304. "description": "纳税人识别号",
  18305. "type": "string"
  18306. },
  18307. "telphone": {
  18308. "description": "联系电话(加密存储)",
  18309. "type": "string"
  18310. },
  18311. "userid": {
  18312. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18313. "type": "integer"
  18314. },
  18315. "userinfotype": {
  18316. "description": "用户信息类型 - 1:个人 2:企业",
  18317. "type": "integer"
  18318. },
  18319. "username": {
  18320. "description": "用户姓名",
  18321. "type": "string"
  18322. },
  18323. "userstate": {
  18324. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18325. "type": "integer"
  18326. },
  18327. "usertype": {
  18328. "description": "用户类型 - 1:投资者 2:机构",
  18329. "type": "integer"
  18330. },
  18331. "videourl": {
  18332. "description": "视频地址",
  18333. "type": "string"
  18334. },
  18335. "wechat": {
  18336. "description": "微信号 (加密存储)",
  18337. "type": "string"
  18338. }
  18339. }
  18340. },
  18341. "erms3.QryAuditContractRsp": {
  18342. "type": "object",
  18343. "required": [
  18344. "matchcustomername",
  18345. "spotcontractid"
  18346. ],
  18347. "properties": {
  18348. "accountid": {
  18349. "description": "交易员ID",
  18350. "type": "string"
  18351. },
  18352. "applystatus": {
  18353. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18354. "type": "integer"
  18355. },
  18356. "curdeliveryqty": {
  18357. "description": "未交收量",
  18358. "type": "integer"
  18359. },
  18360. "customername": {
  18361. "description": "采购方ID",
  18362. "type": "string"
  18363. },
  18364. "deliverygoodsid": {
  18365. "description": "品种ID",
  18366. "type": "string"
  18367. },
  18368. "deliveryqty": {
  18369. "description": "交收量",
  18370. "type": "integer"
  18371. },
  18372. "enumdicname": {
  18373. "description": "单位名称",
  18374. "type": "string"
  18375. },
  18376. "matchaccountid": {
  18377. "description": "业务员ID",
  18378. "type": "string"
  18379. },
  18380. "matchcustomername": {
  18381. "description": "销售方ID",
  18382. "type": "string"
  18383. },
  18384. "pricedqty": {
  18385. "description": "定价量",
  18386. "type": "number"
  18387. },
  18388. "signdate": {
  18389. "description": "签订日期",
  18390. "type": "string"
  18391. },
  18392. "spotcontractid": {
  18393. "description": "合同ID",
  18394. "type": "string"
  18395. },
  18396. "totaldqty": {
  18397. "description": "合同量",
  18398. "type": "number"
  18399. },
  18400. "unpricedqty": {
  18401. "description": "未定价量",
  18402. "type": "number"
  18403. },
  18404. "wrstandardname": {
  18405. "description": "商品名称",
  18406. "type": "string"
  18407. }
  18408. }
  18409. },
  18410. "erms3.QryPendingBizRsp": {
  18411. "type": "object",
  18412. "properties": {
  18413. "accountid": {
  18414. "description": "现货账户",
  18415. "type": "string"
  18416. },
  18417. "areaname": {
  18418. "description": "所属部门",
  18419. "type": "string"
  18420. },
  18421. "bizid": {
  18422. "description": "业务ID",
  18423. "type": "string"
  18424. },
  18425. "bizname": {
  18426. "description": "业务名称",
  18427. "type": "string"
  18428. },
  18429. "status": {
  18430. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18431. "type": "integer"
  18432. },
  18433. "type": {
  18434. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18435. "type": "integer"
  18436. }
  18437. }
  18438. },
  18439. "erms3.QueryBusinessInfoRsp": {
  18440. "type": "object",
  18441. "properties": {
  18442. "businessid": {
  18443. "description": "业务ID.",
  18444. "type": "integer"
  18445. },
  18446. "buyamount": {
  18447. "description": "采购额.",
  18448. "type": "number"
  18449. },
  18450. "buyqty": {
  18451. "description": "采购量.",
  18452. "type": "string"
  18453. },
  18454. "futurepl": {
  18455. "description": "期货盈亏.",
  18456. "type": "number"
  18457. },
  18458. "futureqty": {
  18459. "description": "期货敞口.",
  18460. "type": "string"
  18461. },
  18462. "goodsid": {
  18463. "description": "商品名称/商品代码.",
  18464. "type": "string"
  18465. },
  18466. "hedgingqty": {
  18467. "description": "套保量.",
  18468. "type": "string"
  18469. },
  18470. "sellamount": {
  18471. "description": "销售额.",
  18472. "type": "number"
  18473. },
  18474. "sellqty": {
  18475. "description": "销售量.",
  18476. "type": "string"
  18477. },
  18478. "spotmarketvalue": {
  18479. "description": "现货市值.",
  18480. "type": "number"
  18481. },
  18482. "spotpl": {
  18483. "description": "浮动权益.",
  18484. "type": "number"
  18485. },
  18486. "spotqty": {
  18487. "description": "现货量.",
  18488. "type": "string"
  18489. },
  18490. "statu": {
  18491. "description": "状态,0-未结束 1-已结束.",
  18492. "type": "integer"
  18493. },
  18494. "totalpl": {
  18495. "description": "总盈亏.",
  18496. "type": "number"
  18497. },
  18498. "totalqty": {
  18499. "description": "总敞口.",
  18500. "type": "string"
  18501. },
  18502. "type": {
  18503. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18504. "type": "integer"
  18505. }
  18506. }
  18507. },
  18508. "erms3.QuerySpotContractAppleFormRsp": {
  18509. "type": "object",
  18510. "properties": {
  18511. "goodses": {
  18512. "description": "合约列表",
  18513. "type": "array",
  18514. "items": {
  18515. "$ref": "#/definitions/models.GoodsIDAndName"
  18516. }
  18517. },
  18518. "oppositeusers": {
  18519. "description": "对方账号列表",
  18520. "type": "array",
  18521. "items": {
  18522. "$ref": "#/definitions/erms3.CustomerInfo"
  18523. }
  18524. },
  18525. "ouruser": {
  18526. "description": "我方账号",
  18527. "$ref": "#/definitions/erms3.CustomerInfo"
  18528. },
  18529. "warehouseinfos": {
  18530. "description": "仓库信息列表",
  18531. "type": "array",
  18532. "items": {
  18533. "$ref": "#/definitions/models.Warehouseinfo"
  18534. }
  18535. },
  18536. "wrstandards": {
  18537. "description": "仓单标准列表",
  18538. "type": "array",
  18539. "items": {
  18540. "$ref": "#/definitions/models.WRStandardInfo"
  18541. }
  18542. }
  18543. }
  18544. },
  18545. "erms3.QuerySpotContractInfoRsp": {
  18546. "type": "object",
  18547. "properties": {
  18548. "accountid": {
  18549. "description": "表示交易员ID.",
  18550. "type": "integer"
  18551. },
  18552. "curdeliveryqty": {
  18553. "description": "表示未交收量.",
  18554. "type": "number"
  18555. },
  18556. "customername": {
  18557. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18558. "type": "string"
  18559. },
  18560. "deliverygoodsid": {
  18561. "description": "表示品种ID.",
  18562. "type": "string"
  18563. },
  18564. "deliveryqty": {
  18565. "description": "表示交收量.",
  18566. "type": "number"
  18567. },
  18568. "matchaccountid": {
  18569. "description": "表示业务员ID.",
  18570. "type": "integer"
  18571. },
  18572. "matchcustomername": {
  18573. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18574. "type": "string"
  18575. },
  18576. "priceqty": {
  18577. "description": "表示定价量.",
  18578. "type": "number"
  18579. },
  18580. "relatedbizid": {
  18581. "description": "表示业务ID.",
  18582. "type": "string"
  18583. },
  18584. "signdate": {
  18585. "description": "表示签订日期.",
  18586. "type": "string"
  18587. },
  18588. "spotcontractid": {
  18589. "description": "合同ID",
  18590. "type": "string"
  18591. },
  18592. "status": {
  18593. "description": "表示状态,0-履约中 1-已完成.",
  18594. "type": "integer"
  18595. },
  18596. "totalqty": {
  18597. "description": "表示合同量.",
  18598. "type": "number"
  18599. },
  18600. "unpricedqty": {
  18601. "description": "表示未定价量.",
  18602. "type": "number"
  18603. },
  18604. "wrstandardname": {
  18605. "description": "表示商品ID.",
  18606. "type": "string"
  18607. }
  18608. }
  18609. },
  18610. "erms3.QueryUserInfoAppliesRsp": {
  18611. "type": "object",
  18612. "required": [
  18613. "userid"
  18614. ],
  18615. "properties": {
  18616. "biznature": {
  18617. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18618. "type": "integer"
  18619. },
  18620. "contactname": {
  18621. "description": "联系人",
  18622. "type": "string"
  18623. },
  18624. "createtime": {
  18625. "description": "开户申请时间",
  18626. "type": "string"
  18627. },
  18628. "userid": {
  18629. "description": "用户ID(自增ID)",
  18630. "type": "integer"
  18631. },
  18632. "userinfotype": {
  18633. "description": "用户信息类型 - 1:个人 2:企业",
  18634. "type": "integer"
  18635. },
  18636. "username": {
  18637. "description": "用户姓名",
  18638. "type": "string"
  18639. },
  18640. "userstate": {
  18641. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18642. "type": "integer"
  18643. }
  18644. }
  18645. },
  18646. "erms3.QueryUserInfosRsp": {
  18647. "type": "object",
  18648. "required": [
  18649. "userid"
  18650. ],
  18651. "properties": {
  18652. "biznature": {
  18653. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18654. "type": "integer"
  18655. },
  18656. "contactname": {
  18657. "description": "联系人",
  18658. "type": "string"
  18659. },
  18660. "customername": {
  18661. "description": "客户名称(企业名称)",
  18662. "type": "string"
  18663. },
  18664. "userid": {
  18665. "description": "用户ID",
  18666. "type": "integer"
  18667. },
  18668. "userinfotype": {
  18669. "description": "用户信息类型 - 1:个人 2:企业",
  18670. "type": "integer"
  18671. },
  18672. "userstatus": {
  18673. "description": "用户状态 - 1:正常 2:注销",
  18674. "type": "integer"
  18675. }
  18676. }
  18677. },
  18678. "erms3.SoptContractDetail": {
  18679. "type": "object",
  18680. "required": [
  18681. "deliverygoodsid",
  18682. "producttype",
  18683. "unitname",
  18684. "warehouseid",
  18685. "wrstandardid",
  18686. "wrstandardname"
  18687. ],
  18688. "properties": {
  18689. "deliverygoodsdesc": {
  18690. "description": "现货品种说明",
  18691. "type": "string"
  18692. },
  18693. "deliverygoodsid": {
  18694. "description": "现货品种ID",
  18695. "type": "integer"
  18696. },
  18697. "deliverygoodsname": {
  18698. "description": "现货品种名称",
  18699. "type": "string"
  18700. },
  18701. "pointdesc": {
  18702. "description": "点价描述",
  18703. "type": "string"
  18704. },
  18705. "producttype": {
  18706. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18707. "type": "integer"
  18708. },
  18709. "producttypename": {
  18710. "description": "产品类型名称",
  18711. "type": "string"
  18712. },
  18713. "spotPointOrderVoList": {
  18714. "description": "点价列表",
  18715. "type": "array",
  18716. "items": {
  18717. "$ref": "#/definitions/erms3.SpotPointOrder"
  18718. }
  18719. },
  18720. "spotPriceOrderList": {
  18721. "description": "定价列表",
  18722. "type": "array",
  18723. "items": {
  18724. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18725. }
  18726. },
  18727. "unitname": {
  18728. "description": "单位名称",
  18729. "type": "string"
  18730. },
  18731. "warehouseid": {
  18732. "description": "仓库ID",
  18733. "type": "integer"
  18734. },
  18735. "warehousename": {
  18736. "description": "仓库名称",
  18737. "type": "string"
  18738. },
  18739. "wrstandardid": {
  18740. "description": "交易标的ID",
  18741. "type": "integer"
  18742. },
  18743. "wrstandardname": {
  18744. "description": "交易标的名称",
  18745. "type": "string"
  18746. }
  18747. }
  18748. },
  18749. "erms3.SpotPointOrder": {
  18750. "type": "object",
  18751. "required": [
  18752. "basic",
  18753. "goodsid",
  18754. "qty"
  18755. ],
  18756. "properties": {
  18757. "basic": {
  18758. "description": "基差",
  18759. "type": "number"
  18760. },
  18761. "deliveryenddate": {
  18762. "description": "交收结束日期",
  18763. "type": "string"
  18764. },
  18765. "deliverystartdate": {
  18766. "description": "交收开始日期",
  18767. "type": "string"
  18768. },
  18769. "enddate": {
  18770. "description": "点价结束日期",
  18771. "type": "string"
  18772. },
  18773. "goodsid": {
  18774. "description": "商品ID",
  18775. "type": "integer"
  18776. },
  18777. "goodsname": {
  18778. "description": "商品名称",
  18779. "type": "string"
  18780. },
  18781. "qty": {
  18782. "description": "数量",
  18783. "type": "number"
  18784. },
  18785. "startdate": {
  18786. "description": "点价开始日期",
  18787. "type": "string"
  18788. }
  18789. }
  18790. },
  18791. "erms3.SpotPriceOrder": {
  18792. "type": "object",
  18793. "required": [
  18794. "amount",
  18795. "price",
  18796. "qty"
  18797. ],
  18798. "properties": {
  18799. "amount": {
  18800. "description": "金额",
  18801. "type": "number"
  18802. },
  18803. "deliveryenddate": {
  18804. "description": "交收结束日期",
  18805. "type": "string"
  18806. },
  18807. "deliverystartdate": {
  18808. "description": "交收开始日期",
  18809. "type": "string"
  18810. },
  18811. "price": {
  18812. "description": "价格",
  18813. "type": "number"
  18814. },
  18815. "qty": {
  18816. "description": "数量",
  18817. "type": "number"
  18818. }
  18819. }
  18820. },
  18821. "hsby.GetHsbyMyCountRsp": {
  18822. "type": "object",
  18823. "properties": {
  18824. "myCouponCount": {
  18825. "description": "我的优惠卷数量",
  18826. "type": "integer"
  18827. },
  18828. "myOrderDetailListingCount": {
  18829. "description": "我的订单求购中数量",
  18830. "type": "integer"
  18831. },
  18832. "myOrderDetailPreCount": {
  18833. "description": "我的订单抢购中数量",
  18834. "type": "integer"
  18835. },
  18836. "myPackageUnReceiveCount": {
  18837. "description": "我的包裹待收货数量",
  18838. "type": "integer"
  18839. },
  18840. "myPackageUnSendCount": {
  18841. "description": "我的包裹待发货数量",
  18842. "type": "integer"
  18843. },
  18844. "myPayOrderCount": {
  18845. "description": "我的订单待付款数量",
  18846. "type": "integer"
  18847. }
  18848. }
  18849. },
  18850. "hsby.QueryProvincesAndCitiesRsp": {
  18851. "type": "object",
  18852. "properties": {
  18853. "cities": {
  18854. "description": "市",
  18855. "type": "array",
  18856. "items": {
  18857. "$ref": "#/definitions/models.Division"
  18858. }
  18859. },
  18860. "province": {
  18861. "description": "省",
  18862. "$ref": "#/definitions/models.Division"
  18863. }
  18864. }
  18865. },
  18866. "models.Arearole": {
  18867. "type": "object",
  18868. "required": [
  18869. "roletype",
  18870. "userid"
  18871. ],
  18872. "properties": {
  18873. "createtime": {
  18874. "description": "创建时间",
  18875. "type": "string"
  18876. },
  18877. "creatorid": {
  18878. "description": "创建人ID",
  18879. "type": "integer"
  18880. },
  18881. "fromuserid": {
  18882. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  18883. "type": "integer"
  18884. },
  18885. "isreturnscore": {
  18886. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  18887. "type": "integer"
  18888. },
  18889. "modifierid": {
  18890. "description": "修改人ID",
  18891. "type": "integer"
  18892. },
  18893. "modifytime": {
  18894. "description": "修改时间",
  18895. "type": "string"
  18896. },
  18897. "orgtype": {
  18898. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  18899. "type": "integer"
  18900. },
  18901. "outuserid": {
  18902. "description": "外部账户[场外期权做市商]",
  18903. "type": "string"
  18904. },
  18905. "parentuserid": {
  18906. "description": "上级组织机构(组织机构)",
  18907. "type": "integer"
  18908. },
  18909. "roletype": {
  18910. "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:门店",
  18911. "type": "integer"
  18912. },
  18913. "rootuserid": {
  18914. "description": "顶级组织机构用户ID(组织机构)",
  18915. "type": "integer"
  18916. },
  18917. "shoppassword": {
  18918. "description": "商城店铺登陆密码(商城店铺角色使用)",
  18919. "type": "string"
  18920. },
  18921. "sublevelpath": {
  18922. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  18923. "type": "string"
  18924. },
  18925. "suborgtype": {
  18926. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  18927. "type": "integer"
  18928. },
  18929. "tradeaccountid": {
  18930. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  18931. "type": "integer"
  18932. },
  18933. "transurl": {
  18934. "description": "物流地址(物流机构)",
  18935. "type": "string"
  18936. },
  18937. "userid": {
  18938. "description": "机构用户ID其他做市关系,都设置为 1",
  18939. "type": "integer"
  18940. }
  18941. }
  18942. },
  18943. "models.Clientfixedadconfig": {
  18944. "type": "object",
  18945. "required": [
  18946. "adsort",
  18947. "adtype"
  18948. ],
  18949. "properties": {
  18950. "adsort": {
  18951. "description": "排序",
  18952. "type": "integer"
  18953. },
  18954. "adtype": {
  18955. "description": "广告位类型 - 1:新品抢购(HSBY)",
  18956. "type": "integer"
  18957. },
  18958. "areauserid": {
  18959. "description": "所属机构ID",
  18960. "type": "integer"
  18961. },
  18962. "createdate": {
  18963. "description": "创建时间",
  18964. "type": "string"
  18965. },
  18966. "creatorid": {
  18967. "description": "创建人",
  18968. "type": "integer"
  18969. },
  18970. "imagepath": {
  18971. "description": "图片",
  18972. "type": "string"
  18973. },
  18974. "isshow": {
  18975. "description": "是否展示 - 0:不展示 1:展示",
  18976. "type": "integer"
  18977. },
  18978. "modifierid": {
  18979. "description": "操作人",
  18980. "type": "integer"
  18981. },
  18982. "recsize": {
  18983. "description": "推荐尺寸",
  18984. "type": "string"
  18985. },
  18986. "title": {
  18987. "description": "标题",
  18988. "type": "string"
  18989. },
  18990. "updatedate": {
  18991. "description": "更新时间",
  18992. "type": "string"
  18993. },
  18994. "urlcontent": {
  18995. "description": "链接(地址或商品ID)",
  18996. "type": "string"
  18997. },
  18998. "urltype": {
  18999. "description": "链接类型 - 1:直接地址 2:商品ID",
  19000. "type": "integer"
  19001. }
  19002. }
  19003. },
  19004. "models.Division": {
  19005. "type": "object",
  19006. "required": [
  19007. "autoid",
  19008. "divisioncode"
  19009. ],
  19010. "properties": {
  19011. "autoid": {
  19012. "description": "自增ID",
  19013. "type": "integer"
  19014. },
  19015. "divisioncode": {
  19016. "description": "行政代码",
  19017. "type": "string"
  19018. },
  19019. "divisionlevel": {
  19020. "description": "行政级别",
  19021. "type": "string"
  19022. },
  19023. "divisionname": {
  19024. "description": "行政名称",
  19025. "type": "string"
  19026. },
  19027. "modifierid": {
  19028. "description": "修改人",
  19029. "type": "integer"
  19030. },
  19031. "modifytime": {
  19032. "description": "修改时间",
  19033. "type": "string"
  19034. },
  19035. "parentcode": {
  19036. "description": "上级行政代码",
  19037. "type": "string"
  19038. },
  19039. "pathname": {
  19040. "description": "路径名称",
  19041. "type": "string"
  19042. },
  19043. "postcode": {
  19044. "description": "邮政编码",
  19045. "type": "string"
  19046. },
  19047. "separablename": {
  19048. "description": "可拆分的全称",
  19049. "type": "string"
  19050. },
  19051. "shortcode": {
  19052. "description": "地区简码",
  19053. "type": "string"
  19054. }
  19055. }
  19056. },
  19057. "models.Enumdicitem": {
  19058. "type": "object",
  19059. "required": [
  19060. "autoid",
  19061. "enumdiccode",
  19062. "enumdicid",
  19063. "enumitemname"
  19064. ],
  19065. "properties": {
  19066. "autoid": {
  19067. "description": "自增ID",
  19068. "type": "integer"
  19069. },
  19070. "bankmappedvalue": {
  19071. "description": "银行服务对应值",
  19072. "type": "string"
  19073. },
  19074. "enumdiccode": {
  19075. "description": "所属枚举代码",
  19076. "type": "string"
  19077. },
  19078. "enumdicid": {
  19079. "description": "所属枚举ID",
  19080. "type": "integer"
  19081. },
  19082. "enumdicname": {
  19083. "description": "枚举项名称",
  19084. "type": "string"
  19085. },
  19086. "enumitemname": {
  19087. "description": "枚举项值",
  19088. "type": "integer"
  19089. },
  19090. "enumitemstatus": {
  19091. "description": "枚举项状态 - 1.启用 2.不启用",
  19092. "type": "integer"
  19093. },
  19094. "enumitemvalue": {
  19095. "description": "通用值 - [币种通用简写]",
  19096. "type": "string"
  19097. },
  19098. "param1": {
  19099. "description": "参数1[币种:币种小数位]",
  19100. "type": "string"
  19101. },
  19102. "param2": {
  19103. "description": "参数1[币种:币种显示单位]",
  19104. "type": "string"
  19105. },
  19106. "remark": {
  19107. "description": "备注",
  19108. "type": "string"
  19109. }
  19110. }
  19111. },
  19112. "models.Ermcp3AreaSpot": {
  19113. "type": "object",
  19114. "properties": {
  19115. "areauserid": {
  19116. "description": "所属机构",
  19117. "type": "integer"
  19118. },
  19119. "convertratio": {
  19120. "description": "套保系数",
  19121. "type": "number"
  19122. },
  19123. "decreaseqty": {
  19124. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19125. "type": "number"
  19126. },
  19127. "enumdicname": {
  19128. "description": "单位名称",
  19129. "type": "string"
  19130. },
  19131. "increaseqty": {
  19132. "description": "增加数量=销售计划数量+采购已定价数量",
  19133. "type": "number"
  19134. },
  19135. "oritoalspotqty": {
  19136. "description": "昨日数量",
  19137. "type": "number"
  19138. },
  19139. "totalspotqty": {
  19140. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19141. "type": "number"
  19142. },
  19143. "unitid": {
  19144. "description": "现货商品单位id",
  19145. "type": "integer"
  19146. },
  19147. "updatetime": {
  19148. "description": "更新时间",
  19149. "type": "string"
  19150. },
  19151. "wrstandardcode": {
  19152. "description": "现货商品代码",
  19153. "type": "string"
  19154. },
  19155. "wrstandardid": {
  19156. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19157. "type": "integer"
  19158. },
  19159. "wrstandardname": {
  19160. "description": "现货商品名称",
  19161. "type": "string"
  19162. }
  19163. }
  19164. },
  19165. "models.Ermcp3AreaSpotDetail": {
  19166. "type": "object",
  19167. "properties": {
  19168. "contracttype": {
  19169. "description": "合同类型 1-采购 -1-销售",
  19170. "type": "integer"
  19171. },
  19172. "createtime": {
  19173. "description": "创建时间",
  19174. "type": "string"
  19175. },
  19176. "enumdicname": {
  19177. "description": "现货商品单位名称",
  19178. "type": "string"
  19179. },
  19180. "logtype": {
  19181. "description": "记录类型 1-套保 2-现货合同",
  19182. "type": "integer"
  19183. },
  19184. "qty": {
  19185. "description": "数量",
  19186. "type": "number"
  19187. },
  19188. "recordname": {
  19189. "description": "类型名称",
  19190. "type": "string"
  19191. },
  19192. "relatedid": {
  19193. "description": "套保计划ID/现货合同ID",
  19194. "type": "string"
  19195. },
  19196. "relatedno": {
  19197. "description": "编号",
  19198. "type": "string"
  19199. },
  19200. "strtime": {
  19201. "description": "时间",
  19202. "type": "string"
  19203. },
  19204. "wrstandardcode": {
  19205. "description": "现货商品代码",
  19206. "type": "string"
  19207. },
  19208. "wrstandardid": {
  19209. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19210. "type": "integer"
  19211. },
  19212. "wrstandardname": {
  19213. "description": "现货商品名称",
  19214. "type": "string"
  19215. }
  19216. }
  19217. },
  19218. "models.Ermcp3AreaSpotPLReport": {
  19219. "type": "object",
  19220. "properties": {
  19221. "accountid": {
  19222. "description": "期货账户ID (作废, 默认为0)",
  19223. "type": "integer"
  19224. },
  19225. "accountname": {
  19226. "description": "机构名称",
  19227. "type": "string"
  19228. },
  19229. "actualpl": {
  19230. "description": "现货损益",
  19231. "type": "number"
  19232. },
  19233. "areauserid": {
  19234. "description": "所属机构\\交易用户ID",
  19235. "type": "integer"
  19236. },
  19237. "begindate": {
  19238. "description": "开始交易日",
  19239. "type": "string"
  19240. },
  19241. "biztype": {
  19242. "description": "业务类型 - 1:套保 2:套利",
  19243. "type": "integer"
  19244. },
  19245. "brandname": {
  19246. "description": "品牌名称",
  19247. "type": "string"
  19248. },
  19249. "curamount": {
  19250. "description": "期末额",
  19251. "type": "number"
  19252. },
  19253. "curaverageprice": {
  19254. "description": "期末均价",
  19255. "type": "number"
  19256. },
  19257. "curbuyamount": {
  19258. "description": "期末采购总额",
  19259. "type": "number"
  19260. },
  19261. "curbuyqty": {
  19262. "description": "期末采购总量",
  19263. "type": "number"
  19264. },
  19265. "curmarketvalue": {
  19266. "description": "参考市值(期末市值)",
  19267. "type": "number"
  19268. },
  19269. "curqty": {
  19270. "description": "期末量",
  19271. "type": "number"
  19272. },
  19273. "currencyid": {
  19274. "description": "结算币种ID【原值】",
  19275. "type": "integer"
  19276. },
  19277. "currencyname": {
  19278. "description": "币种名称",
  19279. "type": "string"
  19280. },
  19281. "cursellamount": {
  19282. "description": "期末销售总额",
  19283. "type": "number"
  19284. },
  19285. "cursellqty": {
  19286. "description": "期末销售总量",
  19287. "type": "number"
  19288. },
  19289. "curspotprice": {
  19290. "description": "参考市价(最新价)",
  19291. "type": "number"
  19292. },
  19293. "cycletime": {
  19294. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19295. "type": "string"
  19296. },
  19297. "cycletype": {
  19298. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19299. "type": "integer"
  19300. },
  19301. "deliverygoodscode": {
  19302. "description": "现货商品代码",
  19303. "type": "string"
  19304. },
  19305. "deliverygoodsid": {
  19306. "description": "现货品种ID",
  19307. "type": "integer"
  19308. },
  19309. "deliverygoodsname": {
  19310. "description": "现货商品名称",
  19311. "type": "string"
  19312. },
  19313. "enddate": {
  19314. "description": "结束交易日",
  19315. "type": "string"
  19316. },
  19317. "enumdicname": {
  19318. "description": "现货商品单位名称",
  19319. "type": "string"
  19320. },
  19321. "floatpl": {
  19322. "description": "浮动损益",
  19323. "type": "number"
  19324. },
  19325. "goodsunitid": {
  19326. "description": "现货商品单位id",
  19327. "type": "integer"
  19328. },
  19329. "oriamount": {
  19330. "description": "期初额",
  19331. "type": "number"
  19332. },
  19333. "oriaverageprice": {
  19334. "description": "期初均价",
  19335. "type": "number"
  19336. },
  19337. "oribuyamount": {
  19338. "description": "期初采购总额",
  19339. "type": "number"
  19340. },
  19341. "oribuyqty": {
  19342. "description": "期初采购总量",
  19343. "type": "number"
  19344. },
  19345. "oriqty": {
  19346. "description": "期初量",
  19347. "type": "number"
  19348. },
  19349. "orisellamount": {
  19350. "description": "期初销售总额",
  19351. "type": "number"
  19352. },
  19353. "orisellqty": {
  19354. "description": "期初销售总量",
  19355. "type": "number"
  19356. },
  19357. "reckondate": {
  19358. "description": "日照时期(yyyyMMdd)",
  19359. "type": "string"
  19360. },
  19361. "spotgoodsbrandid": {
  19362. "description": "现货品牌ID",
  19363. "type": "integer"
  19364. },
  19365. "todaybuyamount": {
  19366. "description": "今日采购额(今采购额)",
  19367. "type": "number"
  19368. },
  19369. "todaybuyaverageprice": {
  19370. "description": "今日采购均价",
  19371. "type": "number"
  19372. },
  19373. "todaybuyqty": {
  19374. "description": "今日采购量(今采购量)",
  19375. "type": "number"
  19376. },
  19377. "todayinqty": {
  19378. "description": "今日入库量(今入库量)",
  19379. "type": "number"
  19380. },
  19381. "todayoutqty": {
  19382. "description": "今日出库量(今出库量)",
  19383. "type": "number"
  19384. },
  19385. "todaysellamount": {
  19386. "description": "今日销售额(今销售额)",
  19387. "type": "number"
  19388. },
  19389. "todaysellaverageprice": {
  19390. "description": "今日销售均价",
  19391. "type": "number"
  19392. },
  19393. "todaysellqty": {
  19394. "description": "今日销售量(今销售量)",
  19395. "type": "number"
  19396. },
  19397. "unitid": {
  19398. "description": "品类单位id",
  19399. "type": "integer"
  19400. },
  19401. "unitidname": {
  19402. "description": "品类单位名称",
  19403. "type": "string"
  19404. },
  19405. "updatetime": {
  19406. "description": "更新时间",
  19407. "type": "string"
  19408. },
  19409. "wrfactortypeid": {
  19410. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19411. "type": "integer"
  19412. },
  19413. "wrstandardcode": {
  19414. "description": "品类代码",
  19415. "type": "string"
  19416. },
  19417. "wrstandardid": {
  19418. "description": "现货品类ID",
  19419. "type": "integer"
  19420. },
  19421. "wrstandardname": {
  19422. "description": "品类名称",
  19423. "type": "string"
  19424. }
  19425. }
  19426. },
  19427. "models.Ermcp3AreaStock": {
  19428. "type": "object",
  19429. "required": [
  19430. "userid"
  19431. ],
  19432. "properties": {
  19433. "brandname": {
  19434. "description": "品牌名称",
  19435. "type": "string"
  19436. },
  19437. "curstock": {
  19438. "description": "期末库存量(今日量)",
  19439. "type": "number"
  19440. },
  19441. "deliverygoodscode": {
  19442. "description": "现货品种代码",
  19443. "type": "string"
  19444. },
  19445. "deliverygoodsid": {
  19446. "description": "现货品种id",
  19447. "type": "integer"
  19448. },
  19449. "deliverygoodsname": {
  19450. "description": "现货品种名称",
  19451. "type": "string"
  19452. },
  19453. "enumdicname": {
  19454. "description": "单位名称",
  19455. "type": "string"
  19456. },
  19457. "goodsunitid": {
  19458. "description": "现货商品单位id",
  19459. "type": "integer"
  19460. },
  19461. "oristock": {
  19462. "description": "期初库存量(昨日量)",
  19463. "type": "number"
  19464. },
  19465. "spotgoodsbrandid": {
  19466. "description": "现货品牌ID",
  19467. "type": "integer"
  19468. },
  19469. "todaybuyinqty": {
  19470. "description": "今日采购入库量",
  19471. "type": "number"
  19472. },
  19473. "todayproduceinqty": {
  19474. "description": "今日生产入库量",
  19475. "type": "number"
  19476. },
  19477. "todayproduceoutqty": {
  19478. "description": "今日生产出库量",
  19479. "type": "number"
  19480. },
  19481. "todayselloutqty": {
  19482. "description": "今日销售出库量",
  19483. "type": "number"
  19484. },
  19485. "unitid": {
  19486. "description": "单位id",
  19487. "type": "integer"
  19488. },
  19489. "updatetime": {
  19490. "description": "更新时间",
  19491. "type": "string"
  19492. },
  19493. "userid": {
  19494. "description": "机构ID",
  19495. "type": "integer"
  19496. },
  19497. "username": {
  19498. "description": "机构名称",
  19499. "type": "string"
  19500. },
  19501. "warehousecode": {
  19502. "description": "仓库代码",
  19503. "type": "string"
  19504. },
  19505. "warehouseinfoid": {
  19506. "description": "仓库ID",
  19507. "type": "string"
  19508. },
  19509. "warehousename": {
  19510. "description": "仓库名称",
  19511. "type": "string"
  19512. },
  19513. "warehousetype": {
  19514. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19515. "type": "integer"
  19516. },
  19517. "wrstandardcode": {
  19518. "description": "品类代码",
  19519. "type": "string"
  19520. },
  19521. "wrstandardid": {
  19522. "description": "品类ID",
  19523. "type": "string"
  19524. },
  19525. "wrstandardname": {
  19526. "description": "品类名称",
  19527. "type": "string"
  19528. }
  19529. }
  19530. },
  19531. "models.Ermcp3AreaStockApply": {
  19532. "type": "object",
  19533. "properties": {
  19534. "applyid": {
  19535. "description": "申请人",
  19536. "type": "integer"
  19537. },
  19538. "applyname": {
  19539. "description": "申请人名称",
  19540. "type": "string"
  19541. },
  19542. "applyremark": {
  19543. "description": "申请备注",
  19544. "type": "string"
  19545. },
  19546. "applysrc": {
  19547. "description": "申请来源 - 1:管理端 2:终端",
  19548. "type": "integer"
  19549. },
  19550. "applystatus": {
  19551. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19552. "type": "integer"
  19553. },
  19554. "applytime": {
  19555. "description": "申请时间",
  19556. "type": "string"
  19557. },
  19558. "auditid": {
  19559. "description": "审核人",
  19560. "type": "integer"
  19561. },
  19562. "auditname": {
  19563. "description": "审核人名称",
  19564. "type": "string"
  19565. },
  19566. "auditremark": {
  19567. "description": "审核备注",
  19568. "type": "string"
  19569. },
  19570. "auditsrc": {
  19571. "description": "审核来源 - 1:管理端 2:终端",
  19572. "type": "integer"
  19573. },
  19574. "audittime": {
  19575. "description": "审核时间",
  19576. "type": "string"
  19577. },
  19578. "audittradedate": {
  19579. "description": "审核交易日(yyyyMMdd)",
  19580. "type": "string"
  19581. },
  19582. "brandname": {
  19583. "description": "品牌名称",
  19584. "type": "string"
  19585. },
  19586. "buynickname": {
  19587. "description": "采购方昵称",
  19588. "type": "string"
  19589. },
  19590. "buyuserid": {
  19591. "description": "采购方userid",
  19592. "type": "integer"
  19593. },
  19594. "buyusername": {
  19595. "description": "采购方名称",
  19596. "type": "string"
  19597. },
  19598. "contractno": {
  19599. "description": "合同编号",
  19600. "type": "string"
  19601. },
  19602. "contractqty": {
  19603. "description": "合同量",
  19604. "type": "number"
  19605. },
  19606. "contracttype": {
  19607. "description": "现货合同类型 - 1:采购 -1:销售",
  19608. "type": "integer"
  19609. },
  19610. "deliverygoodscode": {
  19611. "description": "现货品种代码",
  19612. "type": "string"
  19613. },
  19614. "deliverygoodsid": {
  19615. "description": "现货品种id",
  19616. "type": "integer"
  19617. },
  19618. "deliverygoodsname": {
  19619. "description": "现货品种名称",
  19620. "type": "string"
  19621. },
  19622. "detailjson": {
  19623. "description": "明细数据",
  19624. "type": "string"
  19625. },
  19626. "enumdicname": {
  19627. "description": "现货商品单位名称",
  19628. "type": "string"
  19629. },
  19630. "inoutapplyid": {
  19631. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19632. "type": "string"
  19633. },
  19634. "inouttype": {
  19635. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19636. "type": "integer"
  19637. },
  19638. "pricetype": {
  19639. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19640. "type": "integer"
  19641. },
  19642. "qty": {
  19643. "description": "数量",
  19644. "type": "number"
  19645. },
  19646. "sellnickname": {
  19647. "description": "销售方昵称",
  19648. "type": "string"
  19649. },
  19650. "selluserid": {
  19651. "description": "销售方userid",
  19652. "type": "integer"
  19653. },
  19654. "sellusername": {
  19655. "description": "销售方名称",
  19656. "type": "string"
  19657. },
  19658. "spotcontractid": {
  19659. "description": "关联现货合同ID",
  19660. "type": "string"
  19661. },
  19662. "spotgoodsbrandid": {
  19663. "description": "现货品牌ID",
  19664. "type": "integer"
  19665. },
  19666. "unitid": {
  19667. "description": "单位id",
  19668. "type": "integer"
  19669. },
  19670. "userid": {
  19671. "description": "机构ID",
  19672. "type": "integer"
  19673. },
  19674. "warehousecode": {
  19675. "description": "仓库代码",
  19676. "type": "string"
  19677. },
  19678. "warehouseinfoid": {
  19679. "description": "现货仓库ID",
  19680. "type": "string"
  19681. },
  19682. "warehousename": {
  19683. "description": "仓库名称",
  19684. "type": "string"
  19685. },
  19686. "warehousetype": {
  19687. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19688. "type": "integer"
  19689. },
  19690. "wrstandardcode": {
  19691. "description": "品类代码",
  19692. "type": "string"
  19693. },
  19694. "wrstandardid": {
  19695. "description": "品类ID",
  19696. "type": "integer"
  19697. },
  19698. "wrstandardname": {
  19699. "description": "品类名称",
  19700. "type": "string"
  19701. }
  19702. }
  19703. },
  19704. "models.Ermcp3AreaStockApplySum": {
  19705. "type": "object",
  19706. "properties": {
  19707. "brandname": {
  19708. "description": "品牌名称",
  19709. "type": "string"
  19710. },
  19711. "inouttype": {
  19712. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19713. "type": "integer"
  19714. },
  19715. "spotcontractid": {
  19716. "description": "关联现货合同ID",
  19717. "type": "string"
  19718. },
  19719. "spotgoodsbrandid": {
  19720. "description": "品牌id",
  19721. "type": "integer"
  19722. },
  19723. "totalqty": {
  19724. "description": "总数量",
  19725. "type": "number"
  19726. },
  19727. "wrstandardid": {
  19728. "description": "品类id",
  19729. "type": "integer"
  19730. },
  19731. "wrstandardname": {
  19732. "description": "品类名称",
  19733. "type": "string"
  19734. }
  19735. }
  19736. },
  19737. "models.Ermcp3AreaStockReportEx": {
  19738. "type": "object",
  19739. "properties": {
  19740. "begindate": {
  19741. "description": "开始交易日",
  19742. "type": "string"
  19743. },
  19744. "brandname": {
  19745. "description": "品牌名称",
  19746. "type": "string"
  19747. },
  19748. "curstock": {
  19749. "description": "期末库存量",
  19750. "type": "number"
  19751. },
  19752. "cycletime": {
  19753. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19754. "type": "string"
  19755. },
  19756. "cycletype": {
  19757. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19758. "type": "integer"
  19759. },
  19760. "deliverygoodscode": {
  19761. "description": "现货品种代码",
  19762. "type": "string"
  19763. },
  19764. "deliverygoodsid": {
  19765. "description": "现货品种id",
  19766. "type": "integer"
  19767. },
  19768. "deliverygoodsname": {
  19769. "description": "现货品种名称",
  19770. "type": "string"
  19771. },
  19772. "diffqty": {
  19773. "description": "库存变化量 = 期末 - 期初",
  19774. "type": "number"
  19775. },
  19776. "enddate": {
  19777. "description": "结束交易日",
  19778. "type": "string"
  19779. },
  19780. "enumdicname": {
  19781. "description": "单位名称",
  19782. "type": "string"
  19783. },
  19784. "goodsunitid": {
  19785. "description": "现货单位id",
  19786. "type": "integer"
  19787. },
  19788. "oristock": {
  19789. "description": "期初库存量",
  19790. "type": "number"
  19791. },
  19792. "reckondate": {
  19793. "description": "日照时期(yyyyMMdd)",
  19794. "type": "string"
  19795. },
  19796. "spotgoodsbrandid": {
  19797. "description": "现货品牌ID",
  19798. "type": "integer"
  19799. },
  19800. "todaybuyinqty": {
  19801. "description": "今采购入库量",
  19802. "type": "number"
  19803. },
  19804. "todayproduceinqty": {
  19805. "description": "今内部入库量",
  19806. "type": "number"
  19807. },
  19808. "todayproduceoutqty": {
  19809. "description": "今内部出库量",
  19810. "type": "number"
  19811. },
  19812. "todayselloutqty": {
  19813. "description": "今销售出库量",
  19814. "type": "number"
  19815. },
  19816. "unbuyinqty": {
  19817. "description": "采购未入库量(数据库未找到相关字段?)",
  19818. "type": "number"
  19819. },
  19820. "unitid": {
  19821. "description": "品类单位id",
  19822. "type": "integer"
  19823. },
  19824. "unselloutqty": {
  19825. "description": "销售未出库量(数据库未找到相关字段?)",
  19826. "type": "number"
  19827. },
  19828. "updatetime": {
  19829. "description": "更新时间",
  19830. "type": "string"
  19831. },
  19832. "userid": {
  19833. "description": "机构ID",
  19834. "type": "integer"
  19835. },
  19836. "username": {
  19837. "description": "机构名称",
  19838. "type": "string"
  19839. },
  19840. "warehousecode": {
  19841. "description": "仓库代码",
  19842. "type": "string"
  19843. },
  19844. "warehouseinfoid": {
  19845. "description": "仓库ID",
  19846. "type": "string"
  19847. },
  19848. "warehousename": {
  19849. "description": "仓库名称",
  19850. "type": "string"
  19851. },
  19852. "warehousetype": {
  19853. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19854. "type": "integer"
  19855. },
  19856. "wrstandardcode": {
  19857. "description": "品类代码",
  19858. "type": "string"
  19859. },
  19860. "wrstandardid": {
  19861. "description": "品类ID",
  19862. "type": "integer"
  19863. },
  19864. "wrstandardname": {
  19865. "description": "品类名称",
  19866. "type": "string"
  19867. }
  19868. }
  19869. },
  19870. "models.Ermcp3ArealSumPL": {
  19871. "type": "object",
  19872. "properties": {
  19873. "accountname": {
  19874. "description": "机构名称",
  19875. "type": "string"
  19876. },
  19877. "areauserid": {
  19878. "description": "所属机构\\交易用户ID",
  19879. "type": "integer"
  19880. },
  19881. "begindate": {
  19882. "description": "开始交易日",
  19883. "type": "string"
  19884. },
  19885. "currencyid": {
  19886. "description": "结算币种ID",
  19887. "type": "integer"
  19888. },
  19889. "currencyname": {
  19890. "description": "币种名称",
  19891. "type": "string"
  19892. },
  19893. "cycletime": {
  19894. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19895. "type": "string"
  19896. },
  19897. "cycletype": {
  19898. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19899. "type": "integer"
  19900. },
  19901. "enddate": {
  19902. "description": "结束交易日",
  19903. "type": "string"
  19904. },
  19905. "enumdicname": {
  19906. "description": "单位名称(套保品种)",
  19907. "type": "string"
  19908. },
  19909. "futureactualpl": {
  19910. "description": "期货损益",
  19911. "type": "number"
  19912. },
  19913. "futurefloatpl": {
  19914. "description": "期货浮动损益",
  19915. "type": "number"
  19916. },
  19917. "futurespotratio": {
  19918. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  19919. "type": "number"
  19920. },
  19921. "goodsunitid": {
  19922. "description": "套保品种单位id",
  19923. "type": "integer"
  19924. },
  19925. "hedgeexposurepl": {
  19926. "description": "套保敞口损益",
  19927. "type": "number"
  19928. },
  19929. "middlegoodscode": {
  19930. "description": "套保品种代码",
  19931. "type": "string"
  19932. },
  19933. "middlegoodsid": {
  19934. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19935. "type": "integer"
  19936. },
  19937. "middlegoodsname": {
  19938. "description": "套保品种名称",
  19939. "type": "string"
  19940. },
  19941. "reckondate": {
  19942. "description": "日照时期(yyyyMMdd)",
  19943. "type": "string"
  19944. },
  19945. "spotactualpl": {
  19946. "description": "现货损益",
  19947. "type": "number"
  19948. },
  19949. "spotfloatpl": {
  19950. "description": "现货浮动损益",
  19951. "type": "number"
  19952. },
  19953. "sumactualpl": {
  19954. "description": "实际损益 = (ActualPL + FutureActualPL)",
  19955. "type": "number"
  19956. },
  19957. "sumpl": {
  19958. "description": "总敞口损益 | 汇总损益",
  19959. "type": "number"
  19960. },
  19961. "totalfutureqty": {
  19962. "description": "期货头寸总量",
  19963. "type": "number"
  19964. },
  19965. "totalneedhedgeqty": {
  19966. "description": "应套保总量",
  19967. "type": "number"
  19968. },
  19969. "totalspotqty": {
  19970. "description": "现货头寸总量",
  19971. "type": "number"
  19972. },
  19973. "updatetime": {
  19974. "description": "更新时间",
  19975. "type": "string"
  19976. }
  19977. }
  19978. },
  19979. "models.Ermcp3Brand": {
  19980. "type": "object",
  19981. "properties": {
  19982. "areauserid": {
  19983. "description": "用户id",
  19984. "type": "integer"
  19985. },
  19986. "brandid": {
  19987. "description": "品牌id",
  19988. "type": "integer"
  19989. },
  19990. "brandname": {
  19991. "description": "品牌名称",
  19992. "type": "string"
  19993. },
  19994. "deliverygoodsid": {
  19995. "description": "品种ID",
  19996. "type": "integer"
  19997. },
  19998. "isvalid": {
  19999. "description": "是否有效",
  20000. "type": "integer"
  20001. }
  20002. }
  20003. },
  20004. "models.Ermcp3Contract": {
  20005. "type": "object",
  20006. "properties": {
  20007. "accountid": {
  20008. "description": "期货账户id",
  20009. "type": "string"
  20010. },
  20011. "amount": {
  20012. "description": "金额 [1:一口价、3:暂定价]",
  20013. "type": "number"
  20014. },
  20015. "attachment": {
  20016. "description": "附件",
  20017. "type": "string"
  20018. },
  20019. "auditremark": {
  20020. "description": "审核意见",
  20021. "type": "string"
  20022. },
  20023. "audittime": {
  20024. "description": "审核时间",
  20025. "type": "string"
  20026. },
  20027. "biztype": {
  20028. "description": "业务类型 1-套保 2-套利",
  20029. "type": "integer"
  20030. },
  20031. "brandname": {
  20032. "description": "品牌名称",
  20033. "type": "string"
  20034. },
  20035. "buynickname": {
  20036. "description": "销售方昵称",
  20037. "type": "string"
  20038. },
  20039. "buyuserid": {
  20040. "description": "采购方ID",
  20041. "type": "integer"
  20042. },
  20043. "buyusername": {
  20044. "description": "采购方名称",
  20045. "type": "string"
  20046. },
  20047. "contracctstatus": {
  20048. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20049. "type": "integer"
  20050. },
  20051. "contractmargin": {
  20052. "description": "合同保证金",
  20053. "type": "number"
  20054. },
  20055. "contractno": {
  20056. "description": "现货合同编号",
  20057. "type": "string"
  20058. },
  20059. "contracttype": {
  20060. "description": "现货合同类型 - 1:采购 -1:销售",
  20061. "type": "integer"
  20062. },
  20063. "convertfactor": {
  20064. "description": "标仓系数(品类)",
  20065. "type": "number"
  20066. },
  20067. "createtime": {
  20068. "description": "创建时间",
  20069. "type": "string"
  20070. },
  20071. "currencyid": {
  20072. "description": "币种id",
  20073. "type": "integer"
  20074. },
  20075. "currencyname": {
  20076. "description": "币种名称",
  20077. "type": "string"
  20078. },
  20079. "deliveryenddate": {
  20080. "description": "交收期(结束)",
  20081. "type": "string"
  20082. },
  20083. "deliverygoodscode": {
  20084. "description": "现货品种代码",
  20085. "type": "string"
  20086. },
  20087. "deliverygoodsid": {
  20088. "description": "现货品种ID",
  20089. "type": "integer"
  20090. },
  20091. "deliverygoodsname": {
  20092. "description": "现货品种名称",
  20093. "type": "string"
  20094. },
  20095. "deliverystartdate": {
  20096. "description": "交收期(开始)",
  20097. "type": "string"
  20098. },
  20099. "enddate": {
  20100. "description": "点价结束日期 [2:点价 3:暂定价]",
  20101. "type": "string"
  20102. },
  20103. "enumdicname": {
  20104. "description": "单位名称",
  20105. "type": "string"
  20106. },
  20107. "goodscode": {
  20108. "description": "点价合约代码",
  20109. "type": "string"
  20110. },
  20111. "goodsid": {
  20112. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20113. "type": "integer"
  20114. },
  20115. "goodsname": {
  20116. "description": "点价商品名称",
  20117. "type": "string"
  20118. },
  20119. "margin": {
  20120. "description": "当前保证金",
  20121. "type": "number"
  20122. },
  20123. "meruserid": {
  20124. "description": "跟单员id",
  20125. "type": "integer"
  20126. },
  20127. "meruserlogincode": {
  20128. "description": "跟单员登录代码",
  20129. "type": "string"
  20130. },
  20131. "merusername": {
  20132. "description": "跟单员名称",
  20133. "type": "string"
  20134. },
  20135. "price": {
  20136. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20137. "type": "number"
  20138. },
  20139. "pricemove": {
  20140. "description": "升贴水 [2:点价 3:暂定价]",
  20141. "type": "number"
  20142. },
  20143. "pricetype": {
  20144. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20145. "type": "integer"
  20146. },
  20147. "producttype": {
  20148. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20149. "type": "integer"
  20150. },
  20151. "qty": {
  20152. "description": "数量",
  20153. "type": "number"
  20154. },
  20155. "remark": {
  20156. "description": "备注",
  20157. "type": "string"
  20158. },
  20159. "saleuserid": {
  20160. "description": "业务员id",
  20161. "type": "integer"
  20162. },
  20163. "saleuserlogincode": {
  20164. "description": "业务员登录代码",
  20165. "type": "string"
  20166. },
  20167. "saleusername": {
  20168. "description": "业务员名称",
  20169. "type": "string"
  20170. },
  20171. "sellnickname": {
  20172. "description": "采购方昵称",
  20173. "type": "string"
  20174. },
  20175. "selluserid": {
  20176. "description": "销售方ID",
  20177. "type": "integer"
  20178. },
  20179. "sellusername": {
  20180. "description": "销售方名称",
  20181. "type": "string"
  20182. },
  20183. "spotcontractid": {
  20184. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20185. "type": "string"
  20186. },
  20187. "spotgoodsbrandid": {
  20188. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20189. "type": "integer"
  20190. },
  20191. "spotgoodsdesc": {
  20192. "description": "商品型号",
  20193. "type": "string"
  20194. },
  20195. "startdate": {
  20196. "description": "点价开始日期 [2:点价 3:暂定价]",
  20197. "type": "string"
  20198. },
  20199. "subjectid": {
  20200. "description": "交易主体ID",
  20201. "type": "string"
  20202. },
  20203. "subjectname": {
  20204. "description": "交易主体名称",
  20205. "type": "string"
  20206. },
  20207. "tradeuserid": {
  20208. "description": "交易员id",
  20209. "type": "integer"
  20210. },
  20211. "tradeuserlogincode": {
  20212. "description": "交易员登录代码",
  20213. "type": "string"
  20214. },
  20215. "tradeusername": {
  20216. "description": "交易员名称",
  20217. "type": "string"
  20218. },
  20219. "unitid": {
  20220. "description": "单位id(取品类上的单位id)",
  20221. "type": "integer"
  20222. },
  20223. "updatetime": {
  20224. "description": "更新时间",
  20225. "type": "string"
  20226. },
  20227. "userid": {
  20228. "description": "所属机构ID",
  20229. "type": "integer"
  20230. },
  20231. "vatrate": {
  20232. "description": "增值税率",
  20233. "type": "number"
  20234. },
  20235. "wrstandardcode": {
  20236. "description": "品类代码",
  20237. "type": "string"
  20238. },
  20239. "wrstandardid": {
  20240. "description": "品类ID",
  20241. "type": "integer"
  20242. },
  20243. "wrstandardname": {
  20244. "description": "品类名称",
  20245. "type": "string"
  20246. }
  20247. }
  20248. },
  20249. "models.Ermcp3ExposureContractDetail": {
  20250. "type": "object",
  20251. "properties": {
  20252. "biztype": {
  20253. "description": "业务类型 1-套保 2-套利",
  20254. "type": "integer"
  20255. },
  20256. "brandname": {
  20257. "description": "品牌名称",
  20258. "type": "string"
  20259. },
  20260. "buyuserid": {
  20261. "description": "采购方id",
  20262. "type": "integer"
  20263. },
  20264. "buyusername": {
  20265. "description": "采购方名称",
  20266. "type": "string"
  20267. },
  20268. "contractno": {
  20269. "description": "合同编号",
  20270. "type": "string"
  20271. },
  20272. "contracttype": {
  20273. "description": "现货合同类型 - 1:采购 -1:销售",
  20274. "type": "integer"
  20275. },
  20276. "convertfactor": {
  20277. "description": "标仓系数",
  20278. "type": "number"
  20279. },
  20280. "convertratio": {
  20281. "description": "折算系数(套保品种)",
  20282. "type": "number"
  20283. },
  20284. "curqty": {
  20285. "description": "今定价量",
  20286. "type": "number"
  20287. },
  20288. "deliverygoodscode": {
  20289. "description": "现货商品代码",
  20290. "type": "string"
  20291. },
  20292. "deliverygoodsid": {
  20293. "description": "现货商品id",
  20294. "type": "integer"
  20295. },
  20296. "deliverygoodsname": {
  20297. "description": "现货商品名称",
  20298. "type": "string"
  20299. },
  20300. "diffhedgeqty": {
  20301. "description": "套保变动量",
  20302. "type": "number"
  20303. },
  20304. "diffneedhedgeqty": {
  20305. "description": "应套保变动量",
  20306. "type": "number"
  20307. },
  20308. "diffqty": {
  20309. "description": "套保品种今变动量",
  20310. "type": "number"
  20311. },
  20312. "enumdicname": {
  20313. "description": "单位名称",
  20314. "type": "string"
  20315. },
  20316. "mgunitname": {
  20317. "description": "套保品种单位名称",
  20318. "type": "string"
  20319. },
  20320. "middlegoodscode": {
  20321. "description": "套保品种代码",
  20322. "type": "string"
  20323. },
  20324. "middlegoodsid": {
  20325. "description": "套保品种id",
  20326. "type": "integer"
  20327. },
  20328. "middlegoodsname": {
  20329. "description": "套保品种名称",
  20330. "type": "string"
  20331. },
  20332. "needarbitrageratio": {
  20333. "description": "应套利比例",
  20334. "type": "number"
  20335. },
  20336. "needhedgeratio": {
  20337. "description": "应套保比例",
  20338. "type": "number"
  20339. },
  20340. "pricedqty": {
  20341. "description": "已定价量",
  20342. "type": "number"
  20343. },
  20344. "qty": {
  20345. "description": "合同量",
  20346. "type": "number"
  20347. },
  20348. "selluserid": {
  20349. "description": "销售方id",
  20350. "type": "integer"
  20351. },
  20352. "sellusername": {
  20353. "description": "销售方名称",
  20354. "type": "string"
  20355. },
  20356. "spotcontractid": {
  20357. "description": "合同id",
  20358. "type": "string"
  20359. },
  20360. "todaypricedqty": {
  20361. "description": "今定价量",
  20362. "type": "number"
  20363. },
  20364. "tradedate": {
  20365. "description": "交易日",
  20366. "type": "string"
  20367. },
  20368. "unitid": {
  20369. "description": "品类单位id",
  20370. "type": "integer"
  20371. },
  20372. "userid": {
  20373. "description": "机构id",
  20374. "type": "integer"
  20375. },
  20376. "username": {
  20377. "description": "交易用户",
  20378. "type": "string"
  20379. },
  20380. "wrstandardcode": {
  20381. "description": "品类代码",
  20382. "type": "string"
  20383. },
  20384. "wrstandardid": {
  20385. "description": "品类id",
  20386. "type": "integer"
  20387. },
  20388. "wrstandardname": {
  20389. "description": "品类名称",
  20390. "type": "string"
  20391. }
  20392. }
  20393. },
  20394. "models.Ermcp3ExposureDetail": {
  20395. "type": "object",
  20396. "properties": {
  20397. "areauserid": {
  20398. "description": "机构ID",
  20399. "type": "integer"
  20400. },
  20401. "changeQty": {
  20402. "description": "套保变动量",
  20403. "type": "number"
  20404. },
  20405. "contracttype": {
  20406. "description": "现货合同类型 - 1:采购 -1:销售",
  20407. "type": "integer"
  20408. },
  20409. "convertfactor": {
  20410. "description": "标仓系数",
  20411. "type": "number"
  20412. },
  20413. "convertratio": {
  20414. "description": "折算系数",
  20415. "type": "number"
  20416. },
  20417. "createtime": {
  20418. "description": "时间",
  20419. "type": "string"
  20420. },
  20421. "enumdicname": {
  20422. "description": "现货商品单位名称",
  20423. "type": "string"
  20424. },
  20425. "logtype": {
  20426. "description": "类型 - 1:套保计划 2:现货合同",
  20427. "type": "integer"
  20428. },
  20429. "mgunitid": {
  20430. "description": "套保品种单位id",
  20431. "type": "integer"
  20432. },
  20433. "mgunitidname": {
  20434. "description": "套保品种单位名称",
  20435. "type": "string"
  20436. },
  20437. "middlegoodsId": {
  20438. "description": "套保商品id",
  20439. "type": "integer"
  20440. },
  20441. "middlegoodscode": {
  20442. "description": "套保商品代码",
  20443. "type": "string"
  20444. },
  20445. "middlegoodsname": {
  20446. "description": "套保商品名称",
  20447. "type": "string"
  20448. },
  20449. "qty": {
  20450. "description": "数量",
  20451. "type": "number"
  20452. },
  20453. "relateNo": {
  20454. "description": "现货合同/套保计划编号",
  20455. "type": "string"
  20456. },
  20457. "unitid": {
  20458. "description": "现货商品单位id",
  20459. "type": "integer"
  20460. },
  20461. "wrstandardcode": {
  20462. "description": "现货商品代码",
  20463. "type": "string"
  20464. },
  20465. "wrstandardid": {
  20466. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20467. "type": "integer"
  20468. },
  20469. "wrstandardname": {
  20470. "description": "现货商品名称",
  20471. "type": "string"
  20472. }
  20473. }
  20474. },
  20475. "models.Ermcp3ExposureFutuDetail": {
  20476. "type": "object",
  20477. "properties": {
  20478. "accountid": {
  20479. "description": "交易账户id",
  20480. "type": "integer"
  20481. },
  20482. "accountname": {
  20483. "description": "交易账户",
  20484. "type": "string"
  20485. },
  20486. "begindate": {
  20487. "description": "开始交易日",
  20488. "type": "string"
  20489. },
  20490. "buyorsell": {
  20491. "description": "方向 0-买 1-卖",
  20492. "type": "integer"
  20493. },
  20494. "diffmgqty": {
  20495. "description": "套保品种今变化量",
  20496. "type": "number"
  20497. },
  20498. "diffneedqty": {
  20499. "description": "应套保总量变化量",
  20500. "type": "number"
  20501. },
  20502. "difftradeqty": {
  20503. "description": "交易品种今变化量",
  20504. "type": "number"
  20505. },
  20506. "enddate": {
  20507. "description": "结束交易日",
  20508. "type": "string"
  20509. },
  20510. "enumdicname": {
  20511. "description": "单位名称",
  20512. "type": "string"
  20513. },
  20514. "goodscode": {
  20515. "description": "商品代码",
  20516. "type": "string"
  20517. },
  20518. "goodsid": {
  20519. "description": "商品id",
  20520. "type": "integer"
  20521. },
  20522. "goodsname": {
  20523. "description": "商品名称",
  20524. "type": "string"
  20525. },
  20526. "holdqty": {
  20527. "description": "期末持仓量",
  20528. "type": "number"
  20529. },
  20530. "middlegoodscode": {
  20531. "description": "套保商品代码",
  20532. "type": "string"
  20533. },
  20534. "middlegoodsid": {
  20535. "description": "套保商品id",
  20536. "type": "integer"
  20537. },
  20538. "middlegoodsname": {
  20539. "description": "套保商品名称",
  20540. "type": "string"
  20541. },
  20542. "oriholdqty": {
  20543. "description": "期初持仓量",
  20544. "type": "number"
  20545. },
  20546. "todaycloseqty": {
  20547. "description": "今平仓量",
  20548. "type": "number"
  20549. },
  20550. "todayopenqty": {
  20551. "description": "今开仓量",
  20552. "type": "number"
  20553. },
  20554. "tradedate": {
  20555. "description": "交易日",
  20556. "type": "string"
  20557. }
  20558. }
  20559. },
  20560. "models.Ermcp3ExposureHedgeplanDetail": {
  20561. "type": "object",
  20562. "properties": {
  20563. "biztype": {
  20564. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20565. "type": "integer"
  20566. },
  20567. "changqty": {
  20568. "description": "应套保总量变化量",
  20569. "type": "number"
  20570. },
  20571. "contracttype": {
  20572. "description": "计划类型 - 1:采购 -1:销售",
  20573. "type": "integer"
  20574. },
  20575. "convertratio": {
  20576. "description": "折算系数(套保品种)",
  20577. "type": "number"
  20578. },
  20579. "deliverygoodscode": {
  20580. "description": "现货商品代码",
  20581. "type": "string"
  20582. },
  20583. "deliverygoodsid": {
  20584. "description": "现货商品id",
  20585. "type": "integer"
  20586. },
  20587. "deliverygoodsname": {
  20588. "description": "现货商吕名称",
  20589. "type": "string"
  20590. },
  20591. "dgunitid": {
  20592. "description": "现货商品单位id",
  20593. "type": "integer"
  20594. },
  20595. "dgunitidname": {
  20596. "description": "单位名称(现货商品)",
  20597. "type": "string"
  20598. },
  20599. "diffqty": {
  20600. "description": "套保品种今变动量",
  20601. "type": "number"
  20602. },
  20603. "enumdicname": {
  20604. "description": "单位名称(品类)",
  20605. "type": "string"
  20606. },
  20607. "hedgeplanid": {
  20608. "description": "套保计划id",
  20609. "type": "string"
  20610. },
  20611. "hedgeplanno": {
  20612. "description": "套保计划名称",
  20613. "type": "string"
  20614. },
  20615. "hedgeplanstatus": {
  20616. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20617. "type": "integer"
  20618. },
  20619. "mgunitidname": {
  20620. "description": "单位名称(套保商品)",
  20621. "type": "string"
  20622. },
  20623. "middlegoodscode": {
  20624. "description": "套保品种代码",
  20625. "type": "string"
  20626. },
  20627. "middlegoodsid": {
  20628. "description": "套保品种id",
  20629. "type": "integer"
  20630. },
  20631. "middlegoodsname": {
  20632. "description": "套保品种名称",
  20633. "type": "string"
  20634. },
  20635. "needarbitrageratio": {
  20636. "description": "应套利比例",
  20637. "type": "number"
  20638. },
  20639. "needhedgeratio": {
  20640. "description": "应套保比例",
  20641. "type": "number"
  20642. },
  20643. "pricedqty": {
  20644. "description": "已定价量",
  20645. "type": "number"
  20646. },
  20647. "qty": {
  20648. "description": "合同量",
  20649. "type": "number"
  20650. },
  20651. "tradedate": {
  20652. "description": "交易日(登记日)",
  20653. "type": "string"
  20654. },
  20655. "unitid": {
  20656. "description": "品类单位id",
  20657. "type": "integer"
  20658. },
  20659. "userid": {
  20660. "description": "机构id",
  20661. "type": "integer"
  20662. },
  20663. "wrstandardcode": {
  20664. "description": "品类代码",
  20665. "type": "string"
  20666. },
  20667. "wrstandardid": {
  20668. "description": "品类id",
  20669. "type": "integer"
  20670. },
  20671. "wrstandardname": {
  20672. "description": "品类名称",
  20673. "type": "string"
  20674. }
  20675. }
  20676. },
  20677. "models.Ermcp3ExposureParamChLog": {
  20678. "type": "object",
  20679. "properties": {
  20680. "accountid": {
  20681. "description": "期货账户ID (作废, 默认为0)",
  20682. "type": "integer"
  20683. },
  20684. "aftervalue": {
  20685. "description": "应套保\\套利量变更后(调整后应套保总量)",
  20686. "type": "number"
  20687. },
  20688. "areauserid": {
  20689. "description": "所属机构\\交易用户ID",
  20690. "type": "integer"
  20691. },
  20692. "beforevalue": {
  20693. "description": "应套保\\套利量变更前(调整前应套保总量)",
  20694. "type": "number"
  20695. },
  20696. "begindate": {
  20697. "description": "开始交易日",
  20698. "type": "string"
  20699. },
  20700. "changelogtype": {
  20701. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  20702. "type": "integer"
  20703. },
  20704. "curvalue": {
  20705. "description": "当前套保\\套利量(套保总量|套利总量)",
  20706. "type": "number"
  20707. },
  20708. "diffvalue": {
  20709. "description": "应套保总量变化量",
  20710. "type": "number"
  20711. },
  20712. "enddate": {
  20713. "description": "结束交易日",
  20714. "type": "string"
  20715. },
  20716. "logdatetime": {
  20717. "description": "流水日期",
  20718. "type": "string"
  20719. },
  20720. "logid": {
  20721. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  20722. "type": "string"
  20723. },
  20724. "middlegoodscode": {
  20725. "description": "套保品种代码",
  20726. "type": "string"
  20727. },
  20728. "middlegoodsid": {
  20729. "description": "套保品种",
  20730. "type": "integer"
  20731. },
  20732. "middlegoodsname": {
  20733. "description": "套保品种名称",
  20734. "type": "string"
  20735. },
  20736. "paramaftervalue": {
  20737. "description": "参数变更后(调整后参数值)",
  20738. "type": "number"
  20739. },
  20740. "parambeforevalue": {
  20741. "description": "参数变更前(调整前参数值)",
  20742. "type": "number"
  20743. },
  20744. "tradedate": {
  20745. "description": "交易日(yyyyMMdd)",
  20746. "type": "string"
  20747. }
  20748. }
  20749. },
  20750. "models.Ermcp3ExpourseReport": {
  20751. "type": "object",
  20752. "properties": {
  20753. "accountid": {
  20754. "description": "期货账户ID (作废, 默认为0)",
  20755. "type": "integer"
  20756. },
  20757. "accountname": {
  20758. "description": "机构名称",
  20759. "type": "string"
  20760. },
  20761. "arbitrageqty": {
  20762. "description": "套利量",
  20763. "type": "number"
  20764. },
  20765. "areauserid": {
  20766. "description": "所属机构\\交易用户ID",
  20767. "type": "integer"
  20768. },
  20769. "begindate": {
  20770. "description": "开始交易日",
  20771. "type": "string"
  20772. },
  20773. "buyfutureqty": {
  20774. "description": "买入期货数量",
  20775. "type": "number"
  20776. },
  20777. "buyplanqty": {
  20778. "description": "采购计划数量",
  20779. "type": "number"
  20780. },
  20781. "buypricedqty": {
  20782. "description": "采购合同已定价数量",
  20783. "type": "number"
  20784. },
  20785. "cycletime": {
  20786. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20787. "type": "string"
  20788. },
  20789. "cycletype": {
  20790. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20791. "type": "integer"
  20792. },
  20793. "diffexposure": {
  20794. "description": "变动量(套保敞口)",
  20795. "type": "number"
  20796. },
  20797. "difffutuqty": {
  20798. "description": "变动量(期货)",
  20799. "type": "number"
  20800. },
  20801. "diffhedgeqty": {
  20802. "description": "变动量(现货应套保总量)",
  20803. "type": "number"
  20804. },
  20805. "diffmgqtya": {
  20806. "description": "套保变动量",
  20807. "type": "number"
  20808. },
  20809. "diffmgqtyb": {
  20810. "description": "套利变动量",
  20811. "type": "number"
  20812. },
  20813. "diffqty": {
  20814. "description": "变动量(总敞口)",
  20815. "type": "number"
  20816. },
  20817. "diffspotqty": {
  20818. "description": "变动量(现货)",
  20819. "type": "number"
  20820. },
  20821. "enddate": {
  20822. "description": "结束交易日",
  20823. "type": "string"
  20824. },
  20825. "enumdicname": {
  20826. "description": "单位名称",
  20827. "type": "string"
  20828. },
  20829. "hedgeqty": {
  20830. "description": "套保量",
  20831. "type": "number"
  20832. },
  20833. "mgneedhedgeratio": {
  20834. "description": "套保比例(套保品的)",
  20835. "type": "number"
  20836. },
  20837. "middlegoodsid": {
  20838. "description": "套保品种ID",
  20839. "type": "integer"
  20840. },
  20841. "middlegoodsname": {
  20842. "description": "套保商品名称",
  20843. "type": "string"
  20844. },
  20845. "middlgoodscode": {
  20846. "description": "套保商品代码",
  20847. "type": "string"
  20848. },
  20849. "needarbitrageqty": {
  20850. "description": "应套利量",
  20851. "type": "number"
  20852. },
  20853. "needarbitrageratio": {
  20854. "description": "套利比例(套保品的)",
  20855. "type": "number"
  20856. },
  20857. "needhedgeexposoure": {
  20858. "description": "应套保敞口(套保敞口)",
  20859. "type": "number"
  20860. },
  20861. "needhedgeqty": {
  20862. "description": "应套保量",
  20863. "type": "number"
  20864. },
  20865. "needhedgeratio": {
  20866. "description": "应套保敞口比例",
  20867. "type": "number"
  20868. },
  20869. "oriarbitrageqty": {
  20870. "description": "期初套利量",
  20871. "type": "number"
  20872. },
  20873. "oribuyfutureqty": {
  20874. "description": "期初买入期货数量",
  20875. "type": "number"
  20876. },
  20877. "oribuyplanqty": {
  20878. "description": "期初采购计划数量",
  20879. "type": "number"
  20880. },
  20881. "oribuypricedqty": {
  20882. "description": "期初采购合同已定价数量",
  20883. "type": "number"
  20884. },
  20885. "orihedgeqty": {
  20886. "description": "期初套保量",
  20887. "type": "number"
  20888. },
  20889. "orineedarbitrageqty": {
  20890. "description": "期初应套利量",
  20891. "type": "number"
  20892. },
  20893. "orineedhedgeexposoure": {
  20894. "description": "期初应套保敞口",
  20895. "type": "number"
  20896. },
  20897. "orineedhedgeqty": {
  20898. "description": "期初应套保量",
  20899. "type": "number"
  20900. },
  20901. "orisellfutureqty": {
  20902. "description": "期初卖出期货数量",
  20903. "type": "number"
  20904. },
  20905. "orisellplanqty": {
  20906. "description": "期初销售计划数量",
  20907. "type": "number"
  20908. },
  20909. "orisellpricedqty": {
  20910. "description": "期初销售合同已定价数量",
  20911. "type": "number"
  20912. },
  20913. "oritotalexposure": {
  20914. "description": "期初实时总敞口",
  20915. "type": "number"
  20916. },
  20917. "oritotalfutureqty": {
  20918. "description": "期初期货头寸总量",
  20919. "type": "number"
  20920. },
  20921. "oritotalneedhedgeqty": {
  20922. "description": "期初应套保总量",
  20923. "type": "number"
  20924. },
  20925. "oritotalspotqty": {
  20926. "description": "期初现货头寸总量",
  20927. "type": "number"
  20928. },
  20929. "reckondate": {
  20930. "description": "日照时期(yyyyMMdd)",
  20931. "type": "string"
  20932. },
  20933. "sellfutureqty": {
  20934. "description": "卖出期货数量",
  20935. "type": "number"
  20936. },
  20937. "sellplanqty": {
  20938. "description": "销售计划数量",
  20939. "type": "number"
  20940. },
  20941. "sellpricedqty": {
  20942. "description": "销售合同已定价数量",
  20943. "type": "number"
  20944. },
  20945. "totalexposure": {
  20946. "description": "实时总敞口(总敞口)",
  20947. "type": "number"
  20948. },
  20949. "totalfutureqty": {
  20950. "description": "期货头寸总量(期货总量)",
  20951. "type": "number"
  20952. },
  20953. "totalhedgeratio": {
  20954. "description": "敞口比例",
  20955. "type": "number"
  20956. },
  20957. "totalneedhedgeqty": {
  20958. "description": "应套保总量(现货应套保总量)",
  20959. "type": "number"
  20960. },
  20961. "totalspotqty": {
  20962. "description": "现货头寸总量",
  20963. "type": "number"
  20964. },
  20965. "unitid": {
  20966. "description": "单位id",
  20967. "type": "integer"
  20968. },
  20969. "updatetime": {
  20970. "description": "更新时间",
  20971. "type": "string"
  20972. }
  20973. }
  20974. },
  20975. "models.Ermcp3FinanceReport": {
  20976. "type": "object",
  20977. "properties": {
  20978. "accountname": {
  20979. "description": "机构名称",
  20980. "type": "string"
  20981. },
  20982. "areauserid": {
  20983. "description": "所属机构\\交易用户ID",
  20984. "type": "integer"
  20985. },
  20986. "begindate": {
  20987. "description": "开始交易日",
  20988. "type": "string"
  20989. },
  20990. "biztype": {
  20991. "description": "业务类型 - 1:套保 2:套利",
  20992. "type": "integer"
  20993. },
  20994. "brandname": {
  20995. "description": "品牌名称",
  20996. "type": "string"
  20997. },
  20998. "buypreinvoicedamount": {
  20999. "description": "采购预收票额(预收票额)",
  21000. "type": "number"
  21001. },
  21002. "buyprepaidamount": {
  21003. "description": "采购预付款额(预付货款额)",
  21004. "type": "number"
  21005. },
  21006. "buytodayinvoiceamount": {
  21007. "description": "采购今收票额(今收票额)",
  21008. "type": "number"
  21009. },
  21010. "buytodayrefundamount": {
  21011. "description": "采购今收退款额(今收退款额)",
  21012. "type": "number"
  21013. },
  21014. "buytodaysettleamount": {
  21015. "description": "采购今付款额(今付货款额)",
  21016. "type": "number"
  21017. },
  21018. "buyuninvoicedamount": {
  21019. "description": "采购应收票额(应收票额)",
  21020. "type": "number"
  21021. },
  21022. "buyunpaidamount": {
  21023. "description": "采购应付款额(应付货款额)",
  21024. "type": "number"
  21025. },
  21026. "currencyid": {
  21027. "description": "结算币种ID",
  21028. "type": "integer"
  21029. },
  21030. "currencyname": {
  21031. "description": "币种名称",
  21032. "type": "string"
  21033. },
  21034. "cycletime": {
  21035. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21036. "type": "string"
  21037. },
  21038. "cycletype": {
  21039. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21040. "type": "integer"
  21041. },
  21042. "deliverygoodscode": {
  21043. "description": "现货品种代码",
  21044. "type": "string"
  21045. },
  21046. "deliverygoodsid": {
  21047. "description": "现货品种ID",
  21048. "type": "integer"
  21049. },
  21050. "deliverygoodsname": {
  21051. "description": "现货品种名称",
  21052. "type": "string"
  21053. },
  21054. "enddate": {
  21055. "description": "结束交易日",
  21056. "type": "string"
  21057. },
  21058. "reckondate": {
  21059. "description": "日照时期(yyyyMMdd)",
  21060. "type": "string"
  21061. },
  21062. "sellpreinvoicedamount": {
  21063. "description": "销售预开票额(预开票额)",
  21064. "type": "number"
  21065. },
  21066. "sellprepaidamount": {
  21067. "description": "销售预收款额(预收货款额)",
  21068. "type": "number"
  21069. },
  21070. "selltodayinvoiceamount": {
  21071. "description": "销售今开票额(今开票额)",
  21072. "type": "number"
  21073. },
  21074. "selltodayrefundamount": {
  21075. "description": "销售今付退款额(今付退款额)",
  21076. "type": "number"
  21077. },
  21078. "selltodaysettleamount": {
  21079. "description": "销售今收款额(今收货款额)",
  21080. "type": "number"
  21081. },
  21082. "selluninvoicedamount": {
  21083. "description": "销售应开票额(应开票额)",
  21084. "type": "number"
  21085. },
  21086. "sellunpaidamount": {
  21087. "description": "销售应收款额(应收货款额)",
  21088. "type": "number"
  21089. },
  21090. "spotgoodsbrandid": {
  21091. "description": "现货品牌ID",
  21092. "type": "integer"
  21093. },
  21094. "todaypaysum": {
  21095. "description": "今付款合计",
  21096. "type": "number"
  21097. },
  21098. "todayreceivesum": {
  21099. "description": "今收款合计",
  21100. "type": "number"
  21101. },
  21102. "updatetime": {
  21103. "description": "更新时间",
  21104. "type": "string"
  21105. },
  21106. "wrfactortypeid": {
  21107. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21108. "type": "integer"
  21109. },
  21110. "wrstandardcode": {
  21111. "description": "品类代码",
  21112. "type": "string"
  21113. },
  21114. "wrstandardid": {
  21115. "description": "现货商品ID",
  21116. "type": "integer"
  21117. },
  21118. "wrstandardname": {
  21119. "description": "品类名称",
  21120. "type": "string"
  21121. }
  21122. }
  21123. },
  21124. "models.Ermcp3GoodsGroup": {
  21125. "type": "object",
  21126. "required": [
  21127. "areauserid"
  21128. ],
  21129. "properties": {
  21130. "agreeunit": {
  21131. "description": "合约单位",
  21132. "type": "number"
  21133. },
  21134. "areauserid": {
  21135. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21136. "type": "integer"
  21137. },
  21138. "canshort": {
  21139. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21140. "type": "integer"
  21141. },
  21142. "closepricemode": {
  21143. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21144. "type": "integer"
  21145. },
  21146. "createtime": {
  21147. "description": "创建时间",
  21148. "type": "string"
  21149. },
  21150. "creatorid": {
  21151. "description": "创建人",
  21152. "type": "integer"
  21153. },
  21154. "currencyid": {
  21155. "description": "报价货币ID",
  21156. "type": "integer"
  21157. },
  21158. "decimalplace": {
  21159. "description": "报价小数位",
  21160. "type": "integer"
  21161. },
  21162. "enumdicname": {
  21163. "description": "单位名称",
  21164. "type": "string"
  21165. },
  21166. "exchangefullname": {
  21167. "description": "交易所全称",
  21168. "type": "string"
  21169. },
  21170. "excludecfg": {
  21171. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21172. "type": "integer"
  21173. },
  21174. "exexchangecode": {
  21175. "description": "交易所代码",
  21176. "type": "string"
  21177. },
  21178. "exexchangeid": {
  21179. "description": "外部交易所ID[通道交易]",
  21180. "type": "integer"
  21181. },
  21182. "exexchangename": {
  21183. "description": "交易所名称",
  21184. "type": "string"
  21185. },
  21186. "goodsgroupid": {
  21187. "description": "商品组ID(自增ID)",
  21188. "type": "integer"
  21189. },
  21190. "goodsgroupname": {
  21191. "description": "商品组名称",
  21192. "type": "string"
  21193. },
  21194. "goodsgroupstatus": {
  21195. "description": "商品组状态 - 1:正常 2:注销",
  21196. "type": "integer"
  21197. },
  21198. "goodunitid": {
  21199. "description": "报价单位ID",
  21200. "type": "integer"
  21201. },
  21202. "groupcategroyid": {
  21203. "description": "品种分类ID",
  21204. "type": "integer"
  21205. },
  21206. "innerdealmode": {
  21207. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21208. "type": "integer"
  21209. },
  21210. "marketid": {
  21211. "description": "所属市场ID",
  21212. "type": "integer"
  21213. },
  21214. "modifierid": {
  21215. "description": "修改人",
  21216. "type": "integer"
  21217. },
  21218. "modifytime": {
  21219. "description": "修改时间",
  21220. "type": "string"
  21221. },
  21222. "outerdealmode": {
  21223. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21224. "type": "integer"
  21225. },
  21226. "outergroupcode": {
  21227. "description": "外部商品组代码[通道交易]",
  21228. "type": "string"
  21229. },
  21230. "quoteminunit": {
  21231. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21232. "type": "integer"
  21233. },
  21234. "quotesourcegroupid": {
  21235. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21236. "type": "integer"
  21237. },
  21238. "syncgoodsqty": {
  21239. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21240. "type": "integer"
  21241. }
  21242. }
  21243. },
  21244. "models.Ermcp3HedgePlan": {
  21245. "type": "object",
  21246. "properties": {
  21247. "accountid": {
  21248. "description": "资金账号",
  21249. "type": "integer"
  21250. },
  21251. "areauserid": {
  21252. "description": "用户ID",
  21253. "type": "integer"
  21254. },
  21255. "auditid": {
  21256. "description": "审核id",
  21257. "type": "integer"
  21258. },
  21259. "auditname": {
  21260. "description": "审核人名称",
  21261. "type": "string"
  21262. },
  21263. "auditremark": {
  21264. "description": "审核备注",
  21265. "type": "string"
  21266. },
  21267. "auditsrc": {
  21268. "description": "审核来源 1-管理端 2-终端",
  21269. "type": "integer"
  21270. },
  21271. "audittime": {
  21272. "description": "审核时间",
  21273. "type": "string"
  21274. },
  21275. "contracttype": {
  21276. "description": "计划类型 - 1:采购 -1:销售",
  21277. "type": "integer"
  21278. },
  21279. "convertfactor": {
  21280. "description": "标仓系数",
  21281. "type": "number"
  21282. },
  21283. "createtime": {
  21284. "description": "创建时间",
  21285. "type": "string"
  21286. },
  21287. "currencyid": {
  21288. "description": "币种id",
  21289. "type": "integer"
  21290. },
  21291. "currencyname": {
  21292. "description": "币种名称",
  21293. "type": "string"
  21294. },
  21295. "deliverygoodscode": {
  21296. "description": "现货品种代码",
  21297. "type": "string"
  21298. },
  21299. "deliverygoodsid": {
  21300. "description": "现货品种ID",
  21301. "type": "integer"
  21302. },
  21303. "deliverygoodsname": {
  21304. "description": "现货品种名称",
  21305. "type": "string"
  21306. },
  21307. "enumdicname": {
  21308. "description": "单位名称(现货商品)",
  21309. "type": "string"
  21310. },
  21311. "hedgeplanid": {
  21312. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21313. "type": "string"
  21314. },
  21315. "hedgeplanno": {
  21316. "description": "套保计划编号(名称)",
  21317. "type": "string"
  21318. },
  21319. "hedgeplanstatus": {
  21320. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21321. "type": "integer"
  21322. },
  21323. "planqty": {
  21324. "description": "计划数量",
  21325. "type": "number"
  21326. },
  21327. "plantime": {
  21328. "description": "计划时间",
  21329. "type": "string"
  21330. },
  21331. "producttype": {
  21332. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21333. "type": "integer"
  21334. },
  21335. "remark": {
  21336. "description": "备注",
  21337. "type": "string"
  21338. },
  21339. "spotgoodsdesc": {
  21340. "description": "商品型号",
  21341. "type": "string"
  21342. },
  21343. "taaccountname": {
  21344. "description": "资金账号名称",
  21345. "type": "string"
  21346. },
  21347. "tradeuserid": {
  21348. "description": "交易用户id",
  21349. "type": "integer"
  21350. },
  21351. "tradeusername": {
  21352. "description": "交易用户名称",
  21353. "type": "string"
  21354. },
  21355. "unitid": {
  21356. "description": "单位id(现货商品)",
  21357. "type": "integer"
  21358. },
  21359. "updatetime": {
  21360. "description": "更新时间",
  21361. "type": "string"
  21362. },
  21363. "vatrate": {
  21364. "description": "增值税率",
  21365. "type": "number"
  21366. },
  21367. "wrstandardcode": {
  21368. "description": "品类代码",
  21369. "type": "string"
  21370. },
  21371. "wrstandardid": {
  21372. "description": "品类id",
  21373. "type": "integer"
  21374. },
  21375. "wrstandardname": {
  21376. "description": "品类名称",
  21377. "type": "string"
  21378. },
  21379. "wrunitid": {
  21380. "description": "品类单位id",
  21381. "type": "integer"
  21382. },
  21383. "wrunitidame": {
  21384. "description": "品类单位名称",
  21385. "type": "string"
  21386. }
  21387. }
  21388. },
  21389. "models.Ermcp3InnerTradeLink": {
  21390. "type": "object",
  21391. "properties": {
  21392. "accountid": {
  21393. "description": "期货账号代码 | 资金账号ID",
  21394. "type": "integer"
  21395. },
  21396. "buyorsell": {
  21397. "description": "方向 - 0:买 1:卖",
  21398. "type": "integer"
  21399. },
  21400. "channelbuildtype": {
  21401. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21402. "type": "integer"
  21403. },
  21404. "currencyid": {
  21405. "description": "币种id",
  21406. "type": "integer"
  21407. },
  21408. "currencyname": {
  21409. "description": "结算币种 名称",
  21410. "type": "string"
  21411. },
  21412. "goodscode": {
  21413. "description": "商品代码",
  21414. "type": "string"
  21415. },
  21416. "goodsid": {
  21417. "description": "商品ID",
  21418. "type": "integer"
  21419. },
  21420. "goodsname": {
  21421. "description": "商品名称",
  21422. "type": "string"
  21423. },
  21424. "outtradeid": {
  21425. "description": "外部成交单号",
  21426. "type": "string"
  21427. },
  21428. "taname": {
  21429. "description": "期货账户名称",
  21430. "type": "string"
  21431. },
  21432. "tradeid": {
  21433. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21434. "type": "string"
  21435. },
  21436. "tradeprice": {
  21437. "description": "成交价格",
  21438. "type": "number"
  21439. },
  21440. "tradeqty": {
  21441. "description": "期货成交数量",
  21442. "type": "integer"
  21443. },
  21444. "tradetime": {
  21445. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21446. "type": "string"
  21447. },
  21448. "username": {
  21449. "description": "用户名称",
  21450. "type": "string"
  21451. }
  21452. }
  21453. },
  21454. "models.Ermcp3OutTradeLink": {
  21455. "type": "object",
  21456. "properties": {
  21457. "buyorsell": {
  21458. "description": "买卖方向 - 0:买 1:卖",
  21459. "type": "integer"
  21460. },
  21461. "channelbuildtype": {
  21462. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21463. "type": "integer"
  21464. },
  21465. "currencyname": {
  21466. "description": "币种名称",
  21467. "type": "string"
  21468. },
  21469. "exexchangecode": {
  21470. "description": "交易所代码",
  21471. "type": "string"
  21472. },
  21473. "exexchangename": {
  21474. "description": "交易所名称",
  21475. "type": "string"
  21476. },
  21477. "goodscode": {
  21478. "description": "合约代码",
  21479. "type": "string"
  21480. },
  21481. "goodsid": {
  21482. "description": "合约id",
  21483. "type": "integer"
  21484. },
  21485. "goodsname": {
  21486. "description": "合约名称",
  21487. "type": "string"
  21488. },
  21489. "hasinnerorder": {
  21490. "description": "是否有内部单关联 - 0:无 1:有",
  21491. "type": "integer"
  21492. },
  21493. "hedgeaccountcode": {
  21494. "description": "外部账号 | 对冲账号",
  21495. "type": "string"
  21496. },
  21497. "outtradeid": {
  21498. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21499. "type": "string"
  21500. },
  21501. "tradeprice": {
  21502. "description": "成交价格",
  21503. "type": "number"
  21504. },
  21505. "tradeqty": {
  21506. "description": "成交数量",
  21507. "type": "integer"
  21508. },
  21509. "tradetime": {
  21510. "description": "成交时间",
  21511. "type": "string"
  21512. }
  21513. }
  21514. },
  21515. "models.Ermcp3PaAreaAuditCfg": {
  21516. "type": "object",
  21517. "properties": {
  21518. "areauserid": {
  21519. "description": "用户ID",
  21520. "type": "integer"
  21521. },
  21522. "buyinauditflag": {
  21523. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21524. "type": "integer"
  21525. },
  21526. "costratioauditflag": {
  21527. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21528. "type": "integer"
  21529. },
  21530. "customerauditflag": {
  21531. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21532. "type": "integer"
  21533. },
  21534. "deliveryauditflag": {
  21535. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21536. "type": "integer"
  21537. },
  21538. "invoiceauditflag": {
  21539. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21540. "type": "integer"
  21541. },
  21542. "mgneedhedgeratioauditflag": {
  21543. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21544. "type": "integer"
  21545. },
  21546. "moneyauditflag": {
  21547. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21548. "type": "integer"
  21549. },
  21550. "operatorid": {
  21551. "description": "操作人",
  21552. "type": "integer"
  21553. },
  21554. "operatorsrc": {
  21555. "description": "操作来源 - 1:管理端 2:终端",
  21556. "type": "integer"
  21557. },
  21558. "pointpriceauditflag": {
  21559. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21560. "type": "integer"
  21561. },
  21562. "produceinauditflag": {
  21563. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21564. "type": "integer"
  21565. },
  21566. "produceoutauditflag": {
  21567. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21568. "type": "integer"
  21569. },
  21570. "selloutauditflag": {
  21571. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21572. "type": "integer"
  21573. },
  21574. "sgconvertratioauditflag": {
  21575. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21576. "type": "integer"
  21577. },
  21578. "sgvtaratioauditflag": {
  21579. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21580. "type": "integer"
  21581. },
  21582. "spotcontractauditflag": {
  21583. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21584. "type": "integer"
  21585. },
  21586. "updatetime": {
  21587. "description": "更新时间",
  21588. "type": "string"
  21589. }
  21590. }
  21591. },
  21592. "models.Ermcp3PaAreaSubject": {
  21593. "type": "object",
  21594. "properties": {
  21595. "areauserid": {
  21596. "description": "所属机构",
  21597. "type": "integer"
  21598. },
  21599. "canmodify": {
  21600. "description": "是否可修改 - 0:否 1:是",
  21601. "type": "integer"
  21602. },
  21603. "createtime": {
  21604. "description": "创建时间",
  21605. "type": "string"
  21606. },
  21607. "creatorid": {
  21608. "description": "创建人ID",
  21609. "type": "string"
  21610. },
  21611. "creatorsrc": {
  21612. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21613. "type": "integer"
  21614. },
  21615. "modifierid": {
  21616. "description": "修改人",
  21617. "type": "string"
  21618. },
  21619. "modifiersrc": {
  21620. "description": "修改人来源 - 1:管理端 2:终端",
  21621. "type": "integer"
  21622. },
  21623. "modifytime": {
  21624. "description": "修改时间",
  21625. "type": "string"
  21626. },
  21627. "parentsubjectid": {
  21628. "description": "上级主体ID",
  21629. "type": "string"
  21630. },
  21631. "remark": {
  21632. "description": "备注",
  21633. "type": "string"
  21634. },
  21635. "subjectid": {
  21636. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21637. "type": "integer"
  21638. },
  21639. "subjectname": {
  21640. "description": "主体名称",
  21641. "type": "string"
  21642. },
  21643. "subjectstatus": {
  21644. "description": "主体状态 - 1:正常 2: 停用",
  21645. "type": "integer"
  21646. },
  21647. "subjecttype": {
  21648. "description": "主体类型 - 1:交易主体 2:业务部门",
  21649. "type": "integer"
  21650. }
  21651. }
  21652. },
  21653. "models.Ermcp3PaTradeLink": {
  21654. "type": "object",
  21655. "properties": {
  21656. "accountid": {
  21657. "description": "期货账户代码 | 账号ID",
  21658. "type": "integer"
  21659. },
  21660. "agreeunit": {
  21661. "description": "合约乘数",
  21662. "type": "number"
  21663. },
  21664. "buyorsell": {
  21665. "description": "方向 - 0:买 1:卖",
  21666. "type": "integer"
  21667. },
  21668. "channelbuildtype": {
  21669. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21670. "type": "integer"
  21671. },
  21672. "charge": {
  21673. "description": "手续费",
  21674. "type": "number"
  21675. },
  21676. "closepl": {
  21677. "description": "平仓盈亏",
  21678. "type": "number"
  21679. },
  21680. "closetype": {
  21681. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21682. "type": "integer"
  21683. },
  21684. "convertratio": {
  21685. "description": "折算系数",
  21686. "type": "number"
  21687. },
  21688. "enumdicname": {
  21689. "description": "单位名称",
  21690. "type": "string"
  21691. },
  21692. "executeprice": {
  21693. "description": "执行价 [期权]",
  21694. "type": "integer"
  21695. },
  21696. "goodscode": {
  21697. "description": "合约代码",
  21698. "type": "string"
  21699. },
  21700. "goodsgroupid": {
  21701. "description": "对冲品种ID[期货合约商品组ID]",
  21702. "type": "integer"
  21703. },
  21704. "goodsid": {
  21705. "description": "商品ID",
  21706. "type": "integer"
  21707. },
  21708. "goodsname": {
  21709. "description": "合约名称",
  21710. "type": "string"
  21711. },
  21712. "goodunitid": {
  21713. "description": "单位id",
  21714. "type": "integer"
  21715. },
  21716. "hedgeflag": {
  21717. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  21718. "type": "integer"
  21719. },
  21720. "marketid": {
  21721. "description": "市场ID",
  21722. "type": "integer"
  21723. },
  21724. "middlegoodsid": {
  21725. "description": "套保品种ID",
  21726. "type": "integer"
  21727. },
  21728. "middlegoodsqty": {
  21729. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  21730. "type": "number"
  21731. },
  21732. "optioncode": {
  21733. "description": "期权代码 [期权]",
  21734. "type": "string"
  21735. },
  21736. "ordertype": {
  21737. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  21738. "type": "integer"
  21739. },
  21740. "ordertypename": {
  21741. "description": "订单类型",
  21742. "type": "string"
  21743. },
  21744. "parentaccountid": {
  21745. "description": "所属母账户",
  21746. "type": "integer"
  21747. },
  21748. "premium": {
  21749. "description": "权利金 [期权]",
  21750. "type": "number"
  21751. },
  21752. "relatedlot": {
  21753. "description": "已关联数量(已关联数量手) | db:关联手数",
  21754. "type": "number"
  21755. },
  21756. "relatedouttradeid": {
  21757. "description": "关联外部成交单ID",
  21758. "type": "string"
  21759. },
  21760. "relatedqty": {
  21761. "description": "关联数量",
  21762. "type": "number"
  21763. },
  21764. "spotcontractid": {
  21765. "description": "现货合同ID [4:套期保值\\10\\11]",
  21766. "type": "string"
  21767. },
  21768. "taname": {
  21769. "description": "期货账户名称",
  21770. "type": "string"
  21771. },
  21772. "tradeamount": {
  21773. "description": "成交金额(账户)",
  21774. "type": "number"
  21775. },
  21776. "tradedate": {
  21777. "description": "交易日(yyyyMMdd)",
  21778. "type": "string"
  21779. },
  21780. "tradeid": {
  21781. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21782. "type": "string"
  21783. },
  21784. "tradelot": {
  21785. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  21786. "type": "integer"
  21787. },
  21788. "tradeprice": {
  21789. "description": "成交价格",
  21790. "type": "number"
  21791. },
  21792. "tradetime": {
  21793. "description": "时间 | db:成交时间",
  21794. "type": "string"
  21795. },
  21796. "tradetype": {
  21797. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21798. "type": "integer"
  21799. },
  21800. "userid": {
  21801. "description": "所属机构 - 所属母账户的UserID",
  21802. "type": "string"
  21803. },
  21804. "username": {
  21805. "description": "用户名称",
  21806. "type": "string"
  21807. }
  21808. }
  21809. },
  21810. "models.Ermcp3ParamChangeApp": {
  21811. "type": "object",
  21812. "properties": {
  21813. "aftervalue": {
  21814. "description": "变更后",
  21815. "type": "number"
  21816. },
  21817. "applicationid": {
  21818. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  21819. "type": "string"
  21820. },
  21821. "applyid": {
  21822. "description": "申请人",
  21823. "type": "string"
  21824. },
  21825. "applyname": {
  21826. "description": "申请人名称(代码)",
  21827. "type": "string"
  21828. },
  21829. "applyremark": {
  21830. "description": "申请备注",
  21831. "type": "string"
  21832. },
  21833. "applysrc": {
  21834. "description": "申请来源 - 1:管理端 2:终端",
  21835. "type": "integer"
  21836. },
  21837. "applystatus": {
  21838. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  21839. "type": "integer"
  21840. },
  21841. "applytime": {
  21842. "description": "申请时间",
  21843. "type": "string"
  21844. },
  21845. "areauserid": {
  21846. "description": "所属机构用户ID",
  21847. "type": "integer"
  21848. },
  21849. "auditid": {
  21850. "description": "审核人",
  21851. "type": "string"
  21852. },
  21853. "auditname": {
  21854. "description": "审核人名称(代码)",
  21855. "type": "string"
  21856. },
  21857. "auditremark": {
  21858. "description": "审核备注",
  21859. "type": "string"
  21860. },
  21861. "auditsrc": {
  21862. "description": "审核来源 - 1:管理端 2:终端",
  21863. "type": "integer"
  21864. },
  21865. "audittime": {
  21866. "description": "审核时间",
  21867. "type": "string"
  21868. },
  21869. "audittradedate": {
  21870. "description": "审核交易日(yyyyMMdd)",
  21871. "type": "string"
  21872. },
  21873. "beforevalue": {
  21874. "description": "变更前",
  21875. "type": "number"
  21876. },
  21877. "deliverygoodscode": {
  21878. "description": "品种代码",
  21879. "type": "string"
  21880. },
  21881. "deliverygoodsid": {
  21882. "description": "品种id",
  21883. "type": "integer"
  21884. },
  21885. "deliverygoodsname": {
  21886. "description": "品种名称",
  21887. "type": "string"
  21888. },
  21889. "middlegoodscode": {
  21890. "description": "套保品种代码",
  21891. "type": "string"
  21892. },
  21893. "middlegoodsid": {
  21894. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  21895. "type": "integer"
  21896. },
  21897. "middlegoodsname": {
  21898. "description": "套保品种名称",
  21899. "type": "string"
  21900. },
  21901. "operatetype": {
  21902. "description": "操作类型 - 1:新增 2:修改",
  21903. "type": "integer"
  21904. },
  21905. "paramchangetype": {
  21906. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  21907. "type": "integer"
  21908. },
  21909. "wrstandardcode": {
  21910. "description": "现货商品代码",
  21911. "type": "string"
  21912. },
  21913. "wrstandardid": {
  21914. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  21915. "type": "integer"
  21916. },
  21917. "wrstandardname": {
  21918. "description": "现货商品名称",
  21919. "type": "string"
  21920. }
  21921. }
  21922. },
  21923. "models.Ermcp3RootUserAccount": {
  21924. "type": "object",
  21925. "properties": {
  21926. "accountname": {
  21927. "description": "账户名称(机构名称)",
  21928. "type": "string"
  21929. },
  21930. "accountstatus": {
  21931. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21932. "type": "integer"
  21933. },
  21934. "applysrc": {
  21935. "description": "申请来源 - 1:管理端 2:终端",
  21936. "type": "integer"
  21937. },
  21938. "auditremark": {
  21939. "description": "审核备注",
  21940. "type": "string"
  21941. },
  21942. "auditsrc": {
  21943. "description": "审核来源 - 1:管理端 2:终端",
  21944. "type": "integer"
  21945. },
  21946. "audittime": {
  21947. "description": "审核时间",
  21948. "type": "string"
  21949. },
  21950. "audituserid": {
  21951. "description": "审核人",
  21952. "type": "integer"
  21953. },
  21954. "broker": {
  21955. "description": "所属经纪人ID",
  21956. "type": "integer"
  21957. },
  21958. "canceltime": {
  21959. "description": "销户时间",
  21960. "type": "string"
  21961. },
  21962. "canceluserid": {
  21963. "description": "销户人",
  21964. "type": "integer"
  21965. },
  21966. "canrecommend": {
  21967. "description": "是否可推荐 - 0:不可 1;可",
  21968. "type": "integer"
  21969. },
  21970. "createtime": {
  21971. "description": "创建时间",
  21972. "type": "string"
  21973. },
  21974. "creatorid": {
  21975. "description": "创建人",
  21976. "type": "integer"
  21977. },
  21978. "hasauth": {
  21979. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21980. "type": "integer"
  21981. },
  21982. "isanonymous": {
  21983. "description": "是否匿名下单 - 0:否 1:是",
  21984. "type": "integer"
  21985. },
  21986. "maxinvestornum": {
  21987. "description": "最大用户数(经纪会员下投资者个数)",
  21988. "type": "integer"
  21989. },
  21990. "memberuserid": {
  21991. "description": "所属会员ID",
  21992. "type": "integer"
  21993. },
  21994. "modifierid": {
  21995. "description": "修改人",
  21996. "type": "integer"
  21997. },
  21998. "modifyremark": {
  21999. "description": "变更备注",
  22000. "type": "string"
  22001. },
  22002. "modifystatus": {
  22003. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22004. "type": "integer"
  22005. },
  22006. "modifytime": {
  22007. "description": "修改时间",
  22008. "type": "string"
  22009. },
  22010. "parenttopuser": {
  22011. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22012. "type": "string"
  22013. },
  22014. "parentuserid": {
  22015. "description": "所属机构ID",
  22016. "type": "integer"
  22017. },
  22018. "reckonaccountid": {
  22019. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22020. "type": "integer"
  22021. },
  22022. "refercount": {
  22023. "description": "推荐总人数",
  22024. "type": "integer"
  22025. },
  22026. "refereeuserid": {
  22027. "description": "推荐人ID",
  22028. "type": "integer"
  22029. },
  22030. "refernum": {
  22031. "description": "推荐码",
  22032. "type": "string"
  22033. },
  22034. "rootuserid": {
  22035. "description": "根用户ID",
  22036. "type": "integer"
  22037. },
  22038. "subaccountlevel": {
  22039. "description": "子账户层数",
  22040. "type": "integer"
  22041. },
  22042. "subarealevelpath": {
  22043. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22044. "type": "string"
  22045. },
  22046. "userid": {
  22047. "description": "用户ID",
  22048. "type": "integer"
  22049. },
  22050. "usertype": {
  22051. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22052. "type": "integer"
  22053. }
  22054. }
  22055. },
  22056. "models.Ermcp3SCMiddleGoods": {
  22057. "type": "object",
  22058. "properties": {
  22059. "contractno": {
  22060. "description": "合同编号",
  22061. "type": "string"
  22062. },
  22063. "contracttype": {
  22064. "description": "合同类型 1:采购 -1:销售",
  22065. "type": "integer"
  22066. },
  22067. "customername": {
  22068. "description": "对手手名称",
  22069. "type": "string"
  22070. },
  22071. "customeruserid": {
  22072. "description": "对手id",
  22073. "type": "integer"
  22074. },
  22075. "deliverygoodscode": {
  22076. "description": "现货品种代码",
  22077. "type": "string"
  22078. },
  22079. "deliverygoodsid": {
  22080. "description": "现货品种ID",
  22081. "type": "integer"
  22082. },
  22083. "deliverygoodsname": {
  22084. "description": "现货品种名称",
  22085. "type": "string"
  22086. },
  22087. "enumdicname": {
  22088. "description": "现货单位名称",
  22089. "type": "string"
  22090. },
  22091. "middlegoodsid": {
  22092. "description": "套保品种ID",
  22093. "type": "integer"
  22094. },
  22095. "middlegoodspricedqty3": {
  22096. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22097. "type": "number"
  22098. },
  22099. "needhedgeratio": {
  22100. "description": "套保比例",
  22101. "type": "number"
  22102. },
  22103. "pricedqty": {
  22104. "description": "已定价量",
  22105. "type": "number"
  22106. },
  22107. "relatedmiddlegoodsqty": {
  22108. "description": "已关联量(套保品种)(期货)",
  22109. "type": "number"
  22110. },
  22111. "spotcontractid": {
  22112. "description": "合同编号",
  22113. "type": "string"
  22114. },
  22115. "unitid": {
  22116. "description": "现货单位id",
  22117. "type": "integer"
  22118. },
  22119. "userid": {
  22120. "description": "用户id",
  22121. "type": "integer"
  22122. },
  22123. "vatrate": {
  22124. "description": "增值税率",
  22125. "type": "number"
  22126. },
  22127. "wrstandardcode": {
  22128. "description": "现货商品代码",
  22129. "type": "string"
  22130. },
  22131. "wrstandardid": {
  22132. "description": "现货商品id",
  22133. "type": "integer"
  22134. },
  22135. "wrstandardname": {
  22136. "description": "现货商品名称",
  22137. "type": "string"
  22138. }
  22139. }
  22140. },
  22141. "models.Ermcp3SCMiddleGoodsReport": {
  22142. "type": "object",
  22143. "properties": {
  22144. "begindate": {
  22145. "description": "开始交易日",
  22146. "type": "string"
  22147. },
  22148. "contractno": {
  22149. "description": "合同编号",
  22150. "type": "string"
  22151. },
  22152. "contracttype": {
  22153. "description": "合同类型 1:采购 -1:销售",
  22154. "type": "integer"
  22155. },
  22156. "convertratio": {
  22157. "description": "折算系数",
  22158. "type": "number"
  22159. },
  22160. "cycletime": {
  22161. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22162. "type": "string"
  22163. },
  22164. "cycletype": {
  22165. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22166. "type": "integer"
  22167. },
  22168. "deliverygoodscode": {
  22169. "description": "品种代码",
  22170. "type": "string"
  22171. },
  22172. "deliverygoodsid": {
  22173. "description": "现货品种ID",
  22174. "type": "integer"
  22175. },
  22176. "deliverygoodsname": {
  22177. "description": "品种名称",
  22178. "type": "string"
  22179. },
  22180. "diffprice": {
  22181. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22182. "type": "number"
  22183. },
  22184. "diffqty": {
  22185. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22186. "type": "number"
  22187. },
  22188. "enddate": {
  22189. "description": "结束交易日",
  22190. "type": "string"
  22191. },
  22192. "hedgeplanqty": {
  22193. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22194. "type": "number"
  22195. },
  22196. "matchname": {
  22197. "description": "交易对手方(个人:用户名称 企业:简称)",
  22198. "type": "string"
  22199. },
  22200. "middlegoodscode": {
  22201. "description": "套保品种代码",
  22202. "type": "string"
  22203. },
  22204. "middlegoodsid": {
  22205. "description": "套保品种ID",
  22206. "type": "integer"
  22207. },
  22208. "middlegoodsname": {
  22209. "description": "套保品种名称",
  22210. "type": "string"
  22211. },
  22212. "middlegoodspricedqty": {
  22213. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22214. "type": "number"
  22215. },
  22216. "middlegoodspricedqty2": {
  22217. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22218. "type": "number"
  22219. },
  22220. "middlegoodspricedqty3": {
  22221. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22222. "type": "number"
  22223. },
  22224. "needhedgeratio": {
  22225. "description": "套保系数",
  22226. "type": "number"
  22227. },
  22228. "pricedamount": {
  22229. "description": "已定价额(现货)",
  22230. "type": "number"
  22231. },
  22232. "pricedamount2": {
  22233. "description": "已定价额(现货-基价额)",
  22234. "type": "number"
  22235. },
  22236. "pricedqty": {
  22237. "description": "已定价量(现货)",
  22238. "type": "number"
  22239. },
  22240. "reckondate": {
  22241. "description": "日照时期(yyyyMMdd)",
  22242. "type": "string"
  22243. },
  22244. "relatedmiddlegoodsamount": {
  22245. "description": "已关联额(期货)",
  22246. "type": "number"
  22247. },
  22248. "relatedmiddlegoodsqty": {
  22249. "description": "已关联量(套保品种)(期货)",
  22250. "type": "number"
  22251. },
  22252. "spotcontractid": {
  22253. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22254. "type": "string"
  22255. },
  22256. "todayavgfutuprice": {
  22257. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty",
  22258. "type": "number"
  22259. },
  22260. "todayavgprice": {
  22261. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22262. "type": "number"
  22263. },
  22264. "todayavgprice2": {
  22265. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22266. "type": "number"
  22267. },
  22268. "todaypricedamount": {
  22269. "description": "今日定价额(现货)",
  22270. "type": "number"
  22271. },
  22272. "todaypricedamount2": {
  22273. "description": "今日定价额(现货-基价额)",
  22274. "type": "number"
  22275. },
  22276. "todaypricedqty": {
  22277. "description": "今日定价量(现货)",
  22278. "type": "number"
  22279. },
  22280. "todayrelatedmiddlegoodsamount": {
  22281. "description": "今日关联额(期货)",
  22282. "type": "number"
  22283. },
  22284. "todayrelatedmiddlegoodsqty": {
  22285. "description": "今日关联量(期货)",
  22286. "type": "number"
  22287. },
  22288. "updatetime": {
  22289. "description": "更新时间",
  22290. "type": "string"
  22291. },
  22292. "userid": {
  22293. "description": "合同所属用户id",
  22294. "type": "integer"
  22295. },
  22296. "vatrate": {
  22297. "description": "增值税率",
  22298. "type": "number"
  22299. },
  22300. "wrstandardcode": {
  22301. "description": "商品(品类) 代码",
  22302. "type": "string"
  22303. },
  22304. "wrstandardid": {
  22305. "description": "现货商品ID",
  22306. "type": "integer"
  22307. },
  22308. "wrstandardname": {
  22309. "description": "商品(品类) 名称",
  22310. "type": "string"
  22311. }
  22312. }
  22313. },
  22314. "models.Ermcp3SellBuyContract": {
  22315. "type": "object",
  22316. "properties": {
  22317. "accountid": {
  22318. "description": "期货账户id",
  22319. "type": "string"
  22320. },
  22321. "accountname": {
  22322. "description": "账户名称",
  22323. "type": "string"
  22324. },
  22325. "attachment": {
  22326. "description": "附件",
  22327. "type": "string"
  22328. },
  22329. "audittime": {
  22330. "description": "审核时间",
  22331. "type": "string"
  22332. },
  22333. "biztype": {
  22334. "description": "业务类型 1-套保 2-套利",
  22335. "type": "integer"
  22336. },
  22337. "brandname": {
  22338. "description": "品牌名称",
  22339. "type": "string"
  22340. },
  22341. "contracctstatus": {
  22342. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22343. "type": "integer"
  22344. },
  22345. "contractmargin": {
  22346. "description": "合同保证金",
  22347. "type": "number"
  22348. },
  22349. "contractno": {
  22350. "description": "合同编号",
  22351. "type": "string"
  22352. },
  22353. "contracttype": {
  22354. "description": "合同类型 1-采购, -1-销售",
  22355. "type": "integer"
  22356. },
  22357. "convertfactor": {
  22358. "description": "标仓系数(品类)",
  22359. "type": "number"
  22360. },
  22361. "createtime": {
  22362. "description": "创建时间",
  22363. "type": "string"
  22364. },
  22365. "currencyid": {
  22366. "description": "币种id",
  22367. "type": "integer"
  22368. },
  22369. "currencyname": {
  22370. "description": "币种名称",
  22371. "type": "string"
  22372. },
  22373. "daikaiamount": {
  22374. "description": "应收(开)票额",
  22375. "type": "number"
  22376. },
  22377. "deliveryenddate": {
  22378. "description": "交割结束日",
  22379. "type": "string"
  22380. },
  22381. "deliverygoodscode": {
  22382. "description": "现货品种代码",
  22383. "type": "string"
  22384. },
  22385. "deliverygoodsid": {
  22386. "description": "现货商品ID",
  22387. "type": "integer"
  22388. },
  22389. "deliverygoodsname": {
  22390. "description": "现货品种名称",
  22391. "type": "string"
  22392. },
  22393. "deliverystartdate": {
  22394. "description": "交割开始日",
  22395. "type": "string"
  22396. },
  22397. "enddate": {
  22398. "description": "点价结束日",
  22399. "type": "string"
  22400. },
  22401. "enumdicname": {
  22402. "description": "单位名称",
  22403. "type": "string"
  22404. },
  22405. "goodscode": {
  22406. "description": "点价商品代码",
  22407. "type": "string"
  22408. },
  22409. "goodsid": {
  22410. "description": "点价商品ID",
  22411. "type": "integer"
  22412. },
  22413. "goodsname": {
  22414. "description": "点价商品名称",
  22415. "type": "string"
  22416. },
  22417. "invoiceamount": {
  22418. "description": "已开票额",
  22419. "type": "number"
  22420. },
  22421. "loanamount": {
  22422. "description": "贷款总额=已定价额+调整金额",
  22423. "type": "number"
  22424. },
  22425. "margin": {
  22426. "description": "保证金",
  22427. "type": "number"
  22428. },
  22429. "meruserid": {
  22430. "description": "跟单员id",
  22431. "type": "integer"
  22432. },
  22433. "meruserlogincode": {
  22434. "description": "跟单员登录代码",
  22435. "type": "string"
  22436. },
  22437. "merusername": {
  22438. "description": "跟单员名称",
  22439. "type": "string"
  22440. },
  22441. "nickname": {
  22442. "description": "账户昵称",
  22443. "type": "string"
  22444. },
  22445. "payamount": {
  22446. "description": "已收付额(收款或付款)",
  22447. "type": "number"
  22448. },
  22449. "preinvoiceamount": {
  22450. "description": "预收(开)票额",
  22451. "type": "number"
  22452. },
  22453. "prepayamount": {
  22454. "description": "预收付额",
  22455. "type": "number"
  22456. },
  22457. "price": {
  22458. "description": "价格",
  22459. "type": "number"
  22460. },
  22461. "pricedamount": {
  22462. "description": "已定价额",
  22463. "type": "number"
  22464. },
  22465. "pricedavg": {
  22466. "description": "已点均价",
  22467. "type": "number"
  22468. },
  22469. "pricedqty": {
  22470. "description": "已定价量",
  22471. "type": "number"
  22472. },
  22473. "pricemove": {
  22474. "description": "升贴水",
  22475. "type": "number"
  22476. },
  22477. "pricetype": {
  22478. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22479. "type": "integer"
  22480. },
  22481. "producttype": {
  22482. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22483. "type": "integer"
  22484. },
  22485. "qty": {
  22486. "description": "合同量",
  22487. "type": "number"
  22488. },
  22489. "reckonadjustamount": {
  22490. "description": "调整金额",
  22491. "type": "number"
  22492. },
  22493. "reckonedamount": {
  22494. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22495. "type": "number"
  22496. },
  22497. "reckonotheramount": {
  22498. "description": "其它费用",
  22499. "type": "number"
  22500. },
  22501. "reckonrealqty": {
  22502. "description": "已确定量",
  22503. "type": "number"
  22504. },
  22505. "remark": {
  22506. "description": "备注",
  22507. "type": "string"
  22508. },
  22509. "saleuserid": {
  22510. "description": "业务员id",
  22511. "type": "integer"
  22512. },
  22513. "saleuserlogincode": {
  22514. "description": "业务员登录代码",
  22515. "type": "string"
  22516. },
  22517. "saleusername": {
  22518. "description": "业务员名称",
  22519. "type": "string"
  22520. },
  22521. "spotcontractid": {
  22522. "description": "合同ID",
  22523. "type": "string"
  22524. },
  22525. "spotgoodsbrandid": {
  22526. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22527. "type": "integer"
  22528. },
  22529. "spotgoodsdesc": {
  22530. "description": "商品型号(商品规格)",
  22531. "type": "string"
  22532. },
  22533. "startdate": {
  22534. "description": "点价开始日",
  22535. "type": "string"
  22536. },
  22537. "subjectid": {
  22538. "description": "交易主体ID",
  22539. "type": "string"
  22540. },
  22541. "subjectname": {
  22542. "description": "交易主体名称",
  22543. "type": "string"
  22544. },
  22545. "totalamount": {
  22546. "description": "合计总额",
  22547. "type": "number"
  22548. },
  22549. "tradeuserid": {
  22550. "description": "交易员id",
  22551. "type": "integer"
  22552. },
  22553. "tradeuserlogincode": {
  22554. "description": "交易员登录代码",
  22555. "type": "string"
  22556. },
  22557. "tradeusername": {
  22558. "description": "交易员名称",
  22559. "type": "string"
  22560. },
  22561. "unpayamount": {
  22562. "description": "应收付款额(应支付或应收款)",
  22563. "type": "number"
  22564. },
  22565. "unpricedqty": {
  22566. "description": "未定价量",
  22567. "type": "number"
  22568. },
  22569. "unsureqty": {
  22570. "description": "未确定量",
  22571. "type": "number"
  22572. },
  22573. "userid": {
  22574. "description": "机构ID",
  22575. "type": "integer"
  22576. },
  22577. "vatrate": {
  22578. "description": "增值税率",
  22579. "type": "number"
  22580. },
  22581. "wrstandardcode": {
  22582. "description": "品类代码",
  22583. "type": "string"
  22584. },
  22585. "wrstandardid": {
  22586. "description": "品类ID",
  22587. "type": "integer"
  22588. },
  22589. "wrstandardname": {
  22590. "description": "品类名称",
  22591. "type": "string"
  22592. }
  22593. }
  22594. },
  22595. "models.Ermcp3SpotGoodsPrice": {
  22596. "type": "object",
  22597. "properties": {
  22598. "areauserid": {
  22599. "description": "所属机构id",
  22600. "type": "integer"
  22601. },
  22602. "brandname": {
  22603. "description": "品牌名称",
  22604. "type": "string"
  22605. },
  22606. "currencyid": {
  22607. "description": "报价货币ID",
  22608. "type": "integer"
  22609. },
  22610. "currencyname": {
  22611. "description": "币种名称",
  22612. "type": "string"
  22613. },
  22614. "deliverygoodscode": {
  22615. "description": "现货商品代码",
  22616. "type": "string"
  22617. },
  22618. "deliverygoodsid": {
  22619. "description": "现货商品id",
  22620. "type": "integer"
  22621. },
  22622. "deliverygoodsname": {
  22623. "description": "现货商品名称",
  22624. "type": "string"
  22625. },
  22626. "enumdicname": {
  22627. "description": "现货商品单位名称",
  22628. "type": "string"
  22629. },
  22630. "gbenumdicname": {
  22631. "description": "品类单位名称",
  22632. "type": "string"
  22633. },
  22634. "gmunitid": {
  22635. "description": "品类单位id",
  22636. "type": "integer"
  22637. },
  22638. "isvalid": {
  22639. "description": "是否有效 - 0:无效 1:有效",
  22640. "type": "integer"
  22641. },
  22642. "operateid": {
  22643. "description": "最后操作人",
  22644. "type": "integer"
  22645. },
  22646. "operatesrc": {
  22647. "description": "最后操作来源 - 1:管理端 2:终端",
  22648. "type": "integer"
  22649. },
  22650. "operatetime": {
  22651. "description": "最后操作时间",
  22652. "type": "string"
  22653. },
  22654. "operatorname": {
  22655. "description": "操作人名称",
  22656. "type": "string"
  22657. },
  22658. "spotgoodsbrandid": {
  22659. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22660. "type": "integer"
  22661. },
  22662. "spotgoodsprice": {
  22663. "description": "现货价格",
  22664. "type": "number"
  22665. },
  22666. "tradedate": {
  22667. "description": "交易日(yyyyMMdd)",
  22668. "type": "string"
  22669. },
  22670. "unitid": {
  22671. "description": "现货商品单位id",
  22672. "type": "integer"
  22673. },
  22674. "wrstandardcode": {
  22675. "description": "品类代码",
  22676. "type": "string"
  22677. },
  22678. "wrstandardid": {
  22679. "description": "现货品类ID(通用则为0)",
  22680. "type": "integer"
  22681. },
  22682. "wrstandardname": {
  22683. "description": "品类名称",
  22684. "type": "string"
  22685. }
  22686. }
  22687. },
  22688. "models.Ermcp3SpotGoodsPriceLog": {
  22689. "type": "object",
  22690. "properties": {
  22691. "areauserid": {
  22692. "description": "所属机构id",
  22693. "type": "integer"
  22694. },
  22695. "brandname": {
  22696. "description": "品牌名称",
  22697. "type": "string"
  22698. },
  22699. "currencyid": {
  22700. "description": "报价货币ID",
  22701. "type": "integer"
  22702. },
  22703. "deliverygoodscode": {
  22704. "description": "现货商品代码",
  22705. "type": "string"
  22706. },
  22707. "deliverygoodsid": {
  22708. "description": "现货商品id",
  22709. "type": "integer"
  22710. },
  22711. "deliverygoodsname": {
  22712. "description": "现货商品名称",
  22713. "type": "string"
  22714. },
  22715. "enumdicname": {
  22716. "description": "现货商品单位名称",
  22717. "type": "string"
  22718. },
  22719. "gbenumdicname": {
  22720. "description": "品类单位名称",
  22721. "type": "string"
  22722. },
  22723. "gmunitid": {
  22724. "description": "品类单位id",
  22725. "type": "integer"
  22726. },
  22727. "logid": {
  22728. "description": "日志id",
  22729. "type": "integer"
  22730. },
  22731. "operateid": {
  22732. "description": "最后操作人",
  22733. "type": "integer"
  22734. },
  22735. "operatesrc": {
  22736. "description": "最后操作来源 - 1:管理端 2:终端",
  22737. "type": "integer"
  22738. },
  22739. "operatetime": {
  22740. "description": "最后操作时间",
  22741. "type": "string"
  22742. },
  22743. "operatorname": {
  22744. "description": "操作人名称",
  22745. "type": "string"
  22746. },
  22747. "spotgoodsbrandid": {
  22748. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22749. "type": "integer"
  22750. },
  22751. "spotgoodsprice": {
  22752. "description": "现货价格",
  22753. "type": "number"
  22754. },
  22755. "tradedate": {
  22756. "description": "交易日(yyyyMMdd)",
  22757. "type": "string"
  22758. },
  22759. "unitid": {
  22760. "description": "现货商品单位id",
  22761. "type": "integer"
  22762. },
  22763. "wrstandardcode": {
  22764. "description": "品类代码",
  22765. "type": "string"
  22766. },
  22767. "wrstandardid": {
  22768. "description": "现货品类ID(通用则为0)",
  22769. "type": "integer"
  22770. },
  22771. "wrstandardname": {
  22772. "description": "品类名称",
  22773. "type": "string"
  22774. }
  22775. }
  22776. },
  22777. "models.Ermcp3SubTaaccount": {
  22778. "type": "object",
  22779. "properties": {
  22780. "accountid": {
  22781. "description": "资金账户ID",
  22782. "type": "integer"
  22783. },
  22784. "parentaccountcode": {
  22785. "description": "所属根账号代码(母账号代码)",
  22786. "type": "string"
  22787. },
  22788. "parentaccountid": {
  22789. "description": "所属根账号(母账号)",
  22790. "type": "integer"
  22791. },
  22792. "taname": {
  22793. "description": "资金账号名称",
  22794. "type": "string"
  22795. },
  22796. "tradestatus": {
  22797. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  22798. "type": "integer"
  22799. },
  22800. "username": {
  22801. "description": "交易用户",
  22802. "type": "string"
  22803. }
  22804. }
  22805. },
  22806. "models.Ermcp3TaFutuReDataReport": {
  22807. "type": "object",
  22808. "properties": {
  22809. "accountid": {
  22810. "description": "交易账户",
  22811. "type": "integer"
  22812. },
  22813. "accountname": {
  22814. "description": "交易账号名称",
  22815. "type": "string"
  22816. },
  22817. "agreeunit": {
  22818. "description": "商品合约单位",
  22819. "type": "number"
  22820. },
  22821. "begindate": {
  22822. "description": "开始交易日",
  22823. "type": "string"
  22824. },
  22825. "buyorsell": {
  22826. "description": "持仓方向",
  22827. "type": "integer"
  22828. },
  22829. "charge": {
  22830. "description": "手续费",
  22831. "type": "number"
  22832. },
  22833. "closeavgprice": {
  22834. "description": "平仓均价",
  22835. "type": "number"
  22836. },
  22837. "closepl": {
  22838. "description": "平仓损益",
  22839. "type": "number"
  22840. },
  22841. "currencyid": {
  22842. "description": "结算币种ID",
  22843. "type": "integer"
  22844. },
  22845. "currencyname": {
  22846. "description": "币种名称",
  22847. "type": "string"
  22848. },
  22849. "cycletime": {
  22850. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22851. "type": "string"
  22852. },
  22853. "cycletype": {
  22854. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22855. "type": "integer"
  22856. },
  22857. "enddate": {
  22858. "description": "结束交易日",
  22859. "type": "string"
  22860. },
  22861. "enumdicname": {
  22862. "description": "单位名称",
  22863. "type": "string"
  22864. },
  22865. "floatpl": {
  22866. "description": "浮动损益",
  22867. "type": "number"
  22868. },
  22869. "goodscode": {
  22870. "description": "交易合约代码",
  22871. "type": "string"
  22872. },
  22873. "goodsgroupid": {
  22874. "description": "交易品种",
  22875. "type": "integer"
  22876. },
  22877. "goodsgroupname": {
  22878. "description": "交易品种名称",
  22879. "type": "string"
  22880. },
  22881. "goodsgroupspotqty": {
  22882. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  22883. "type": "number"
  22884. },
  22885. "goodsid": {
  22886. "description": "交易合约",
  22887. "type": "integer"
  22888. },
  22889. "goodsname": {
  22890. "description": "交易合约名称",
  22891. "type": "string"
  22892. },
  22893. "goodunitid": {
  22894. "description": "交易合约单位id",
  22895. "type": "integer"
  22896. },
  22897. "holdamount": {
  22898. "description": "期末持仓额",
  22899. "type": "number"
  22900. },
  22901. "holdqty": {
  22902. "description": "期末持仓量",
  22903. "type": "number"
  22904. },
  22905. "lastholdamount": {
  22906. "description": "当前持仓额",
  22907. "type": "number"
  22908. },
  22909. "lastprice": {
  22910. "description": "最新价",
  22911. "type": "number"
  22912. },
  22913. "middlegoodsid": {
  22914. "description": "套保品种id",
  22915. "type": "integer"
  22916. },
  22917. "middlegoodsname": {
  22918. "description": "套保商品名称",
  22919. "type": "string"
  22920. },
  22921. "middlegoodsqty": {
  22922. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  22923. "type": "number"
  22924. },
  22925. "middlgoodscode": {
  22926. "description": "套保商品代码",
  22927. "type": "string"
  22928. },
  22929. "openamount": {
  22930. "description": "期末开仓额",
  22931. "type": "number"
  22932. },
  22933. "openavgprice": {
  22934. "description": "开仓均价",
  22935. "type": "number"
  22936. },
  22937. "oriholdamount": {
  22938. "description": "期初持仓额",
  22939. "type": "number"
  22940. },
  22941. "oriholdqty": {
  22942. "description": "期初持仓量",
  22943. "type": "number"
  22944. },
  22945. "oriopenamount": {
  22946. "description": "期初开仓额",
  22947. "type": "number"
  22948. },
  22949. "outergroupcode": {
  22950. "description": "交易品种代码",
  22951. "type": "string"
  22952. },
  22953. "qtydecimalplace": {
  22954. "description": "成交量小数位",
  22955. "type": "integer"
  22956. },
  22957. "reckondate": {
  22958. "description": "日照时期(yyyyMMdd)",
  22959. "type": "string"
  22960. },
  22961. "reckonholdamount": {
  22962. "description": "结算持仓额",
  22963. "type": "number"
  22964. },
  22965. "reckonpl": {
  22966. "description": "结算损益",
  22967. "type": "number"
  22968. },
  22969. "reckonpl2": {
  22970. "description": "结算逐笔盈亏",
  22971. "type": "number"
  22972. },
  22973. "reckonprice": {
  22974. "description": "结算价",
  22975. "type": "number"
  22976. },
  22977. "relateduserid": {
  22978. "description": "账户关联用户ID",
  22979. "type": "integer"
  22980. },
  22981. "todaycloseamount": {
  22982. "description": "今平仓额",
  22983. "type": "number"
  22984. },
  22985. "todaycloseqty": {
  22986. "description": "今平仓量",
  22987. "type": "number"
  22988. },
  22989. "todaygoodsgroupspotqty": {
  22990. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  22991. "type": "number"
  22992. },
  22993. "todaymiddlegoodsqty": {
  22994. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  22995. "type": "number"
  22996. },
  22997. "todayopenamount": {
  22998. "description": "今开仓额",
  22999. "type": "number"
  23000. },
  23001. "todayopenqty": {
  23002. "description": "今开仓量",
  23003. "type": "number"
  23004. },
  23005. "userid": {
  23006. "description": "账户所属用户ID",
  23007. "type": "integer"
  23008. }
  23009. }
  23010. },
  23011. "models.Ermcp3TradeLinkDetail": {
  23012. "type": "object",
  23013. "properties": {
  23014. "accountid": {
  23015. "description": "资金账号",
  23016. "type": "integer"
  23017. },
  23018. "agreeunit": {
  23019. "description": "合约乘数",
  23020. "type": "number"
  23021. },
  23022. "areauserid": {
  23023. "description": "所属机构",
  23024. "type": "string"
  23025. },
  23026. "bizsubjectid": {
  23027. "description": "归属业务部门ID - SubjectID",
  23028. "type": "string"
  23029. },
  23030. "buyorsell": {
  23031. "description": "方向 - 0:买 1:卖",
  23032. "type": "integer"
  23033. },
  23034. "channelbuildtype": {
  23035. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23036. "type": "integer"
  23037. },
  23038. "contractno": {
  23039. "description": "现货编号 (合同编号)",
  23040. "type": "string"
  23041. },
  23042. "convertratio": {
  23043. "description": "折算系数",
  23044. "type": "number"
  23045. },
  23046. "createtime": {
  23047. "description": "关联时间 | 创建时间",
  23048. "type": "string"
  23049. },
  23050. "creatorid": {
  23051. "description": "创建人ID",
  23052. "type": "string"
  23053. },
  23054. "creatorsrc": {
  23055. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23056. "type": "integer"
  23057. },
  23058. "enumdicname": {
  23059. "description": "单位名称",
  23060. "type": "string"
  23061. },
  23062. "goodscode": {
  23063. "description": "合约代码",
  23064. "type": "string"
  23065. },
  23066. "goodsgroupid": {
  23067. "description": "对冲品种ID[期货合约商品组ID]",
  23068. "type": "integer"
  23069. },
  23070. "goodsid": {
  23071. "description": "商品ID",
  23072. "type": "integer"
  23073. },
  23074. "goodsname": {
  23075. "description": "合约名称",
  23076. "type": "string"
  23077. },
  23078. "hedgeflag": {
  23079. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23080. "type": "integer"
  23081. },
  23082. "linkdetailid": {
  23083. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23084. "type": "string"
  23085. },
  23086. "linkstatus": {
  23087. "description": "关联状态 - 1:成功 2:失败",
  23088. "type": "integer"
  23089. },
  23090. "middlegoodsid": {
  23091. "description": "套保品种ID",
  23092. "type": "integer"
  23093. },
  23094. "relatedlot": {
  23095. "description": "关联手数",
  23096. "type": "number"
  23097. },
  23098. "relatedmode": {
  23099. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23100. "type": "integer"
  23101. },
  23102. "relatedqty": {
  23103. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23104. "type": "number"
  23105. },
  23106. "retcode": {
  23107. "description": "返回码",
  23108. "type": "integer"
  23109. },
  23110. "saleuserid": {
  23111. "description": "业务员ID",
  23112. "type": "string"
  23113. },
  23114. "spotcontractid": {
  23115. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23116. "type": "string"
  23117. },
  23118. "taname": {
  23119. "description": "期货账户",
  23120. "type": "string"
  23121. },
  23122. "tradedate": {
  23123. "description": "关联交易日(yyyyMMdd)",
  23124. "type": "string"
  23125. },
  23126. "tradeid": {
  23127. "description": "期货订单号 | 内部成交单ID",
  23128. "type": "string"
  23129. },
  23130. "tradelot": {
  23131. "description": "成交数量 | 成交手数",
  23132. "type": "integer"
  23133. },
  23134. "tradeprice": {
  23135. "description": "成交价格",
  23136. "type": "number"
  23137. },
  23138. "tradetime": {
  23139. "description": "期货成交时间",
  23140. "type": "string"
  23141. },
  23142. "tradetradedate": {
  23143. "description": "成交交易日(yyyyMMdd)",
  23144. "type": "string"
  23145. },
  23146. "username": {
  23147. "description": "用户名称",
  23148. "type": "string"
  23149. }
  23150. }
  23151. },
  23152. "models.Ermcp3Wrstandard": {
  23153. "type": "object",
  23154. "properties": {
  23155. "areauserid": {
  23156. "description": "所属机构",
  23157. "type": "integer"
  23158. },
  23159. "cantrade": {
  23160. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23161. "type": "integer"
  23162. },
  23163. "convertfactor": {
  23164. "description": "标仓系数",
  23165. "type": "number"
  23166. },
  23167. "createtime": {
  23168. "description": "创建时间",
  23169. "type": "string"
  23170. },
  23171. "creatorid": {
  23172. "description": "创建人",
  23173. "type": "integer"
  23174. },
  23175. "deliverygoodsid": {
  23176. "description": "现货品种ID",
  23177. "type": "integer"
  23178. },
  23179. "enumdicname": {
  23180. "description": "品类单位名称",
  23181. "type": "string"
  23182. },
  23183. "isvalid": {
  23184. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23185. "type": "integer"
  23186. },
  23187. "minivalue": {
  23188. "description": "最小变动值",
  23189. "type": "integer"
  23190. },
  23191. "minivaluedp": {
  23192. "description": "最小变动值小数位",
  23193. "type": "integer"
  23194. },
  23195. "realminivalue": {
  23196. "description": "实际最小变动值",
  23197. "type": "integer"
  23198. },
  23199. "realminivaluedp": {
  23200. "description": "实际最小变动值小数位",
  23201. "type": "integer"
  23202. },
  23203. "remark": {
  23204. "description": "备注",
  23205. "type": "string"
  23206. },
  23207. "unitid": {
  23208. "description": "品类单位ID",
  23209. "type": "integer"
  23210. },
  23211. "updatetime": {
  23212. "description": "更新时间",
  23213. "type": "string"
  23214. },
  23215. "wrstandardcode": {
  23216. "description": "品类代码",
  23217. "type": "string"
  23218. },
  23219. "wrstandardid": {
  23220. "description": "品类ID(SEQ_WRSTANDARD)",
  23221. "type": "integer"
  23222. },
  23223. "wrstandardname": {
  23224. "description": "品类名称",
  23225. "type": "string"
  23226. }
  23227. }
  23228. },
  23229. "models.ErmcpBizGroupEx": {
  23230. "type": "object",
  23231. "properties": {
  23232. "acclist": {
  23233. "description": "账号列表",
  23234. "type": "array",
  23235. "items": {
  23236. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23237. }
  23238. },
  23239. "bizgroupid": {
  23240. "description": "业务分组id",
  23241. "type": "integer"
  23242. },
  23243. "biztype": {
  23244. "description": "业务类型 1-套保 2-套利",
  23245. "type": "integer"
  23246. },
  23247. "wrlist": {
  23248. "description": "现货商品表",
  23249. "type": "array",
  23250. "items": {
  23251. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23252. }
  23253. }
  23254. }
  23255. },
  23256. "models.ErmcpBizGroupSpotGoods": {
  23257. "type": "object",
  23258. "properties": {
  23259. "areauserid": {
  23260. "description": "所属机构id",
  23261. "type": "integer"
  23262. },
  23263. "bizgroupid": {
  23264. "description": "分组id",
  23265. "type": "integer"
  23266. },
  23267. "biztype": {
  23268. "description": "业务类型 1-套保 2-套利",
  23269. "type": "integer"
  23270. },
  23271. "deliverygoodscode": {
  23272. "description": "现货商品代码",
  23273. "type": "string"
  23274. },
  23275. "deliverygoodsid": {
  23276. "description": "现货商品id",
  23277. "type": "integer"
  23278. },
  23279. "deliverygoodsname": {
  23280. "description": "现货商品名称",
  23281. "type": "string"
  23282. },
  23283. "unitid": {
  23284. "description": "现货商品单位id",
  23285. "type": "integer"
  23286. }
  23287. }
  23288. },
  23289. "models.ErmcpBizGroupTaAccount": {
  23290. "type": "object",
  23291. "properties": {
  23292. "accountid": {
  23293. "description": "账号id",
  23294. "type": "integer"
  23295. },
  23296. "accountname": {
  23297. "description": "账号名称",
  23298. "type": "string"
  23299. },
  23300. "areauserid": {
  23301. "description": "所属机构id",
  23302. "type": "integer"
  23303. },
  23304. "bizgroupid": {
  23305. "description": "业务分组id",
  23306. "type": "integer"
  23307. },
  23308. "ismain": {
  23309. "description": "是否主账号 1-是 0-否",
  23310. "type": "integer"
  23311. }
  23312. }
  23313. },
  23314. "models.ErmcpDGFactoryItem": {
  23315. "type": "object",
  23316. "properties": {
  23317. "areauserid": {
  23318. "description": "用户id",
  23319. "type": "integer"
  23320. },
  23321. "deliverygoodsid": {
  23322. "description": "现货品种ID",
  23323. "type": "integer"
  23324. },
  23325. "dgfactoryitemid": {
  23326. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23327. "type": "integer"
  23328. },
  23329. "dgfactoryitemtypeid": {
  23330. "description": "要素项类型",
  23331. "type": "integer"
  23332. },
  23333. "dgfactoryitemvalue": {
  23334. "description": "要素项值(类型为仓库时填写仓库名称)",
  23335. "type": "string"
  23336. },
  23337. "isvalid": {
  23338. "description": "是否有效 - 0:无效 1:有效",
  23339. "type": "integer"
  23340. },
  23341. "orderindex": {
  23342. "description": "顺序",
  23343. "type": "integer"
  23344. },
  23345. "warehouseid": {
  23346. "description": "仓库ID(类型为仓库时填写)",
  23347. "type": "integer"
  23348. }
  23349. }
  23350. },
  23351. "models.ErmcpDeliveryGoods": {
  23352. "type": "object",
  23353. "properties": {
  23354. "agreeunit": {
  23355. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23356. "type": "integer"
  23357. },
  23358. "areauserid": {
  23359. "description": "所属机构",
  23360. "type": "integer"
  23361. },
  23362. "auditflag": {
  23363. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23364. "type": "integer"
  23365. },
  23366. "categoryid": {
  23367. "description": "类别ID(SEQ_WRCATEGORY)",
  23368. "type": "integer"
  23369. },
  23370. "deliverygoodscode": {
  23371. "description": "现货品种代码",
  23372. "type": "string"
  23373. },
  23374. "deliverygoodsid": {
  23375. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23376. "type": "integer"
  23377. },
  23378. "deliverygoodsname": {
  23379. "description": "现货品种名称",
  23380. "type": "string"
  23381. },
  23382. "deliverygoodstype": {
  23383. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23384. "type": "integer"
  23385. },
  23386. "dgstatus": {
  23387. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23388. "type": "integer"
  23389. },
  23390. "enumdicname": {
  23391. "description": "现货品种单位名称",
  23392. "type": "string"
  23393. },
  23394. "goodsunitid": {
  23395. "description": "现货品种单位ID",
  23396. "type": "integer"
  23397. },
  23398. "isvalid": {
  23399. "description": "是否有效 - 0:无效 1:有效",
  23400. "type": "integer"
  23401. },
  23402. "qtydecimalplace": {
  23403. "description": "成交量小数位",
  23404. "type": "integer"
  23405. },
  23406. "remark": {
  23407. "description": "备注",
  23408. "type": "string"
  23409. },
  23410. "standardqty": {
  23411. "description": "标准数量(库位数量) [标准品特有]",
  23412. "type": "integer"
  23413. },
  23414. "standardqtyrange": {
  23415. "description": "标准数量偏差范围 [标准品特有]",
  23416. "type": "integer"
  23417. }
  23418. }
  23419. },
  23420. "models.ErmcpFuturesCompany": {
  23421. "type": "object",
  23422. "properties": {
  23423. "brokerid": {
  23424. "description": "经纪公司代码",
  23425. "type": "string"
  23426. },
  23427. "channeladdress": {
  23428. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23429. "type": "string"
  23430. },
  23431. "channelid": {
  23432. "description": "对冲渠道ID",
  23433. "type": "string"
  23434. },
  23435. "createtime": {
  23436. "description": "创建时间",
  23437. "type": "string"
  23438. },
  23439. "creatorid": {
  23440. "description": "创建人",
  23441. "type": "string"
  23442. },
  23443. "fcid": {
  23444. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23445. "type": "integer"
  23446. },
  23447. "fcname": {
  23448. "description": "期货公司名称",
  23449. "type": "string"
  23450. },
  23451. "isvalid": {
  23452. "description": "是否有效 - 0:无效 1:有效",
  23453. "type": "integer"
  23454. },
  23455. "mhpaddress": {
  23456. "description": "MHP服务地址(IP:Port)",
  23457. "type": "string"
  23458. },
  23459. "riskrulegroupid": {
  23460. "description": "风控规则组ID",
  23461. "type": "string"
  23462. },
  23463. "tradefeetmpid": {
  23464. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23465. "type": "string"
  23466. },
  23467. "trademargintmpid": {
  23468. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23469. "type": "string"
  23470. },
  23471. "traderatetmpid": {
  23472. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23473. "type": "string"
  23474. },
  23475. "updatetime": {
  23476. "description": "更新时间",
  23477. "type": "string"
  23478. },
  23479. "updatorid": {
  23480. "description": "更新人",
  23481. "type": "string"
  23482. }
  23483. }
  23484. },
  23485. "models.ErmcpGGConvertCfg": {
  23486. "type": "object",
  23487. "properties": {
  23488. "convertratio": {
  23489. "description": "折算系数",
  23490. "type": "number"
  23491. },
  23492. "destgoodsgroupid": {
  23493. "description": "目标品种ID",
  23494. "type": "integer"
  23495. },
  23496. "dstcode": {
  23497. "description": "目录品种代码",
  23498. "type": "string"
  23499. },
  23500. "dstexchangecode": {
  23501. "description": "目标期货交易所",
  23502. "type": "string"
  23503. },
  23504. "dstname": {
  23505. "description": "目标品种名称",
  23506. "type": "string"
  23507. },
  23508. "dstunitid": {
  23509. "description": "目标品种单位ID",
  23510. "type": "integer"
  23511. },
  23512. "dstunitidname": {
  23513. "description": "目标品种单位名称",
  23514. "type": "string"
  23515. },
  23516. "modifytime": {
  23517. "description": "修改时间",
  23518. "type": "string"
  23519. },
  23520. "srccode": {
  23521. "description": "源品种代码",
  23522. "type": "string"
  23523. },
  23524. "srcexchangecode": {
  23525. "description": "源期货交易所",
  23526. "type": "string"
  23527. },
  23528. "srcgoodsgroupid": {
  23529. "description": "源品种ID",
  23530. "type": "integer"
  23531. },
  23532. "srcname": {
  23533. "description": "源品种名称",
  23534. "type": "string"
  23535. },
  23536. "srcunitid": {
  23537. "description": "源品种单位ID",
  23538. "type": "integer"
  23539. },
  23540. "srcunitidname": {
  23541. "description": "源品种单位名称",
  23542. "type": "string"
  23543. }
  23544. }
  23545. },
  23546. "models.ErmcpGoods": {
  23547. "type": "object",
  23548. "required": [
  23549. "goodscode",
  23550. "goodsid",
  23551. "goodsname",
  23552. "marketid"
  23553. ],
  23554. "properties": {
  23555. "agreeunit": {
  23556. "description": "合约单位",
  23557. "type": "number"
  23558. },
  23559. "areauserid": {
  23560. "description": "所属机构",
  23561. "type": "integer"
  23562. },
  23563. "auditaccountid": {
  23564. "description": "审核操作员账号",
  23565. "type": "integer"
  23566. },
  23567. "audittime": {
  23568. "description": "审核时间",
  23569. "type": "string"
  23570. },
  23571. "cancelaccountid": {
  23572. "description": "注销操作员账号",
  23573. "type": "integer"
  23574. },
  23575. "canceltime": {
  23576. "description": "注销时间",
  23577. "type": "string"
  23578. },
  23579. "closepricemode": {
  23580. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23581. "type": "integer"
  23582. },
  23583. "closepriceparam": {
  23584. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23585. "type": "number"
  23586. },
  23587. "createtime": {
  23588. "description": "创建时间",
  23589. "type": "string"
  23590. },
  23591. "creatorid": {
  23592. "description": "创建人",
  23593. "type": "integer"
  23594. },
  23595. "currencyid": {
  23596. "description": "报价货币ID",
  23597. "type": "integer"
  23598. },
  23599. "cutmode": {
  23600. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23601. "type": "integer"
  23602. },
  23603. "decimalplace": {
  23604. "description": "报价小数位",
  23605. "type": "integer"
  23606. },
  23607. "delistingdate": {
  23608. "description": "商品退市时间(状态:退市) -- 已作废",
  23609. "type": "string"
  23610. },
  23611. "delistingmode": {
  23612. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23613. "type": "integer"
  23614. },
  23615. "deliveryflag": {
  23616. "description": "交割标志 - 0:不可交割 1:可交割",
  23617. "type": "integer"
  23618. },
  23619. "enumdicname": {
  23620. "description": "单位名称",
  23621. "type": "string"
  23622. },
  23623. "forceclosemode": {
  23624. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23625. "type": "integer"
  23626. },
  23627. "forceclosevalue": {
  23628. "description": "定期强平参数 [收益权]",
  23629. "type": "integer"
  23630. },
  23631. "goodscode": {
  23632. "description": "商品代码(内部)",
  23633. "type": "string"
  23634. },
  23635. "goodscurrencyid": {
  23636. "description": "合约货币ID",
  23637. "type": "integer"
  23638. },
  23639. "goodsgroupid": {
  23640. "description": "所属商品组ID",
  23641. "type": "integer"
  23642. },
  23643. "goodsid": {
  23644. "description": "商品ID(自增ID SEQ_GOODS)",
  23645. "type": "integer"
  23646. },
  23647. "goodsname": {
  23648. "description": "商品名称",
  23649. "type": "string"
  23650. },
  23651. "goodsquotetype": {
  23652. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23653. "type": "integer"
  23654. },
  23655. "goodsstatus": {
  23656. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23657. "type": "integer"
  23658. },
  23659. "goodstradetype": {
  23660. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23661. "type": "integer"
  23662. },
  23663. "goodunitid": {
  23664. "description": "报价单位ID",
  23665. "type": "integer"
  23666. },
  23667. "hasquoter": {
  23668. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23669. "type": "integer"
  23670. },
  23671. "hqprotecttime": {
  23672. "description": "行情保护时间(秒)",
  23673. "type": "integer"
  23674. },
  23675. "innerdealmode": {
  23676. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23677. "type": "integer"
  23678. },
  23679. "isbuylimited": {
  23680. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23681. "type": "integer"
  23682. },
  23683. "isvisible": {
  23684. "description": "游客是否可见 - 0:不可见 1:可见",
  23685. "type": "integer"
  23686. },
  23687. "lasttradedate": {
  23688. "description": "最后交易日期(状态:待退市)",
  23689. "type": "string"
  23690. },
  23691. "listingdate": {
  23692. "description": "交易开始日期",
  23693. "type": "string"
  23694. },
  23695. "marketid": {
  23696. "description": "所属市场ID",
  23697. "type": "integer"
  23698. },
  23699. "modifierid": {
  23700. "description": "修改人",
  23701. "type": "integer"
  23702. },
  23703. "modifystatus": {
  23704. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23705. "type": "integer"
  23706. },
  23707. "modifytime": {
  23708. "description": "修改时间",
  23709. "type": "string"
  23710. },
  23711. "outerdealmode": {
  23712. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23713. "type": "integer"
  23714. },
  23715. "outgoodscode": {
  23716. "description": "商品代码(外部)",
  23717. "type": "string"
  23718. },
  23719. "pictureurl": {
  23720. "description": "商品图片",
  23721. "type": "string"
  23722. },
  23723. "qtydecimalplace": {
  23724. "description": "成交量小数位",
  23725. "type": "integer"
  23726. },
  23727. "quotegear": {
  23728. "description": "行情档位(1-10)",
  23729. "type": "integer"
  23730. },
  23731. "quoteminunit": {
  23732. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23733. "type": "integer"
  23734. },
  23735. "quoteshowtype": {
  23736. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23737. "type": "integer"
  23738. },
  23739. "quoteshowtypeinterval": {
  23740. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23741. "type": "integer"
  23742. },
  23743. "relatedgoodsid": {
  23744. "description": "关联参考商品ID",
  23745. "type": "integer"
  23746. },
  23747. "remark": {
  23748. "description": "备注",
  23749. "type": "string"
  23750. },
  23751. "trademode": {
  23752. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23753. "type": "integer"
  23754. }
  23755. }
  23756. },
  23757. "models.ErmcpGoodsBrand": {
  23758. "type": "object",
  23759. "properties": {
  23760. "areauserid": {
  23761. "description": "所属机构",
  23762. "type": "integer"
  23763. },
  23764. "brandid": {
  23765. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  23766. "type": "integer"
  23767. },
  23768. "brandname": {
  23769. "description": "品牌名称",
  23770. "type": "string"
  23771. },
  23772. "createtime": {
  23773. "description": "创建时间",
  23774. "type": "string"
  23775. },
  23776. "creatorid": {
  23777. "description": "创建人",
  23778. "type": "integer"
  23779. },
  23780. "creatorsrc": {
  23781. "description": "创建人来源 - 1:管理端 2:终端",
  23782. "type": "integer"
  23783. },
  23784. "deliverygoodsid": {
  23785. "description": "现货品种ID",
  23786. "type": "integer"
  23787. },
  23788. "isvalid": {
  23789. "description": "是否有效 - 0:无效 1:有效",
  23790. "type": "integer"
  23791. },
  23792. "updatetime": {
  23793. "description": "更新时间",
  23794. "type": "string"
  23795. },
  23796. "updatorid": {
  23797. "description": "更新人",
  23798. "type": "integer"
  23799. },
  23800. "updatorsrc": {
  23801. "description": "更新人来源 - 1:管理端 2:终端",
  23802. "type": "integer"
  23803. },
  23804. "wrstandardid": {
  23805. "description": "现货商品ID",
  23806. "type": "integer"
  23807. }
  23808. }
  23809. },
  23810. "models.ErmcpGoodsModel": {
  23811. "type": "object",
  23812. "properties": {
  23813. "areauserid": {
  23814. "description": "所属机构",
  23815. "type": "integer"
  23816. },
  23817. "convertfactor": {
  23818. "description": "标仓系数",
  23819. "type": "number"
  23820. },
  23821. "createtime": {
  23822. "description": "创建时间",
  23823. "type": "string"
  23824. },
  23825. "creatorid": {
  23826. "description": "创建人",
  23827. "type": "integer"
  23828. },
  23829. "creatorsrc": {
  23830. "description": "创建人来源 - 1:管理端 2:终端",
  23831. "type": "integer"
  23832. },
  23833. "deliverygoodsid": {
  23834. "description": "现货品种ID",
  23835. "type": "integer"
  23836. },
  23837. "isvalid": {
  23838. "description": "是否有效 - 0:无效 1:有效",
  23839. "type": "integer"
  23840. },
  23841. "modelid": {
  23842. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  23843. "type": "integer"
  23844. },
  23845. "modelname": {
  23846. "description": "型号名称",
  23847. "type": "string"
  23848. },
  23849. "updatetime": {
  23850. "description": "更新时间",
  23851. "type": "string"
  23852. },
  23853. "updatorid": {
  23854. "description": "更新人",
  23855. "type": "integer"
  23856. },
  23857. "updatorsrc": {
  23858. "description": "更新人来源 - 1:管理端 2:终端",
  23859. "type": "integer"
  23860. },
  23861. "wrstandardid": {
  23862. "description": "现货商品ID",
  23863. "type": "integer"
  23864. }
  23865. }
  23866. },
  23867. "models.ErmcpHisExposure": {
  23868. "type": "object",
  23869. "properties": {
  23870. "needhedgeexposoure": {
  23871. "description": "应套保敞口",
  23872. "type": "number"
  23873. },
  23874. "reckondate": {
  23875. "description": "日照时期(yyyyMMdd)",
  23876. "type": "string"
  23877. },
  23878. "totalexposure": {
  23879. "description": "总敞口",
  23880. "type": "number"
  23881. }
  23882. }
  23883. },
  23884. "models.ErmcpLoginTaAccount": {
  23885. "type": "object",
  23886. "properties": {
  23887. "accountid": {
  23888. "description": "账号id",
  23889. "type": "integer"
  23890. },
  23891. "accountname": {
  23892. "description": "账号名称",
  23893. "type": "string"
  23894. }
  23895. }
  23896. },
  23897. "models.ErmcpLoginUser": {
  23898. "type": "object",
  23899. "properties": {
  23900. "acclist": {
  23901. "description": "关联资金账号",
  23902. "type": "array",
  23903. "items": {
  23904. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  23905. }
  23906. },
  23907. "accountname": {
  23908. "description": "用户名称",
  23909. "type": "string"
  23910. },
  23911. "clientroleid": {
  23912. "description": "角色id(usertype=2)",
  23913. "type": "integer"
  23914. },
  23915. "createtime": {
  23916. "description": "创建时间",
  23917. "type": "string"
  23918. },
  23919. "logincode": {
  23920. "description": "登录代码",
  23921. "type": "string"
  23922. },
  23923. "loginid": {
  23924. "description": "登录id(LOGINID)",
  23925. "type": "integer"
  23926. },
  23927. "loginname": {
  23928. "description": "登录名称(loginaccount表中的accountname字段)",
  23929. "type": "string"
  23930. },
  23931. "loginstatus": {
  23932. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  23933. "type": "integer"
  23934. },
  23935. "memberuserid": {
  23936. "description": "所属会员id",
  23937. "type": "integer"
  23938. },
  23939. "mobile": {
  23940. "description": "手机号",
  23941. "type": "string"
  23942. },
  23943. "modifytime": {
  23944. "description": "修改时间",
  23945. "type": "string"
  23946. },
  23947. "password": {
  23948. "description": "密码(不可解密)",
  23949. "type": "string"
  23950. },
  23951. "rolename": {
  23952. "description": "角色名称",
  23953. "type": "string"
  23954. },
  23955. "rolestatus": {
  23956. "description": "角色状态 1-启用 2-停用",
  23957. "type": "integer"
  23958. },
  23959. "roletype": {
  23960. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  23961. "type": "string"
  23962. },
  23963. "userid": {
  23964. "description": "用户id",
  23965. "type": "integer"
  23966. },
  23967. "usertype": {
  23968. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23969. "type": "integer"
  23970. }
  23971. }
  23972. },
  23973. "models.ErmcpLoginUserEx": {
  23974. "type": "object",
  23975. "properties": {
  23976. "accountstatus": {
  23977. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  23978. "type": "integer"
  23979. },
  23980. "mobile": {
  23981. "description": "手机号",
  23982. "type": "string"
  23983. },
  23984. "querytype": {
  23985. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  23986. "type": "integer"
  23987. },
  23988. "roleid": {
  23989. "description": "角色id(交易账户-\u003e用户id)",
  23990. "type": "integer"
  23991. },
  23992. "rolename": {
  23993. "description": "角色名称(交易账户-\u003e用户名称)",
  23994. "type": "string"
  23995. },
  23996. "userlist": {
  23997. "description": "用户列表",
  23998. "type": "array",
  23999. "items": {
  24000. "$ref": "#/definitions/models.ErmcpLoginUser"
  24001. }
  24002. },
  24003. "usertype": {
  24004. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24005. "type": "integer"
  24006. }
  24007. }
  24008. },
  24009. "models.ErmcpMiddleGoodsModel": {
  24010. "type": "object",
  24011. "properties": {
  24012. "areauserid": {
  24013. "description": "机构用户ID",
  24014. "type": "integer"
  24015. },
  24016. "createtime": {
  24017. "description": "修改时间",
  24018. "type": "string"
  24019. },
  24020. "enumdicname": {
  24021. "description": "单位名称",
  24022. "type": "string"
  24023. },
  24024. "evaluateratio": {
  24025. "description": "估价系数",
  24026. "type": "number"
  24027. },
  24028. "goodsgroupid": {
  24029. "description": "关联期货品种ID",
  24030. "type": "integer"
  24031. },
  24032. "goodsunitid": {
  24033. "description": "单位ID",
  24034. "type": "integer"
  24035. },
  24036. "isvalid": {
  24037. "description": "状态 0-无效(停用) 1-有效(正常)",
  24038. "type": "integer"
  24039. },
  24040. "middlegoodscode": {
  24041. "description": "套保品种代码",
  24042. "type": "string"
  24043. },
  24044. "middlegoodsid": {
  24045. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24046. "type": "integer"
  24047. },
  24048. "middlegoodsname": {
  24049. "description": "套保品种名称",
  24050. "type": "string"
  24051. },
  24052. "modifytime": {
  24053. "description": "修改时间",
  24054. "type": "string"
  24055. },
  24056. "needarbitrageratio": {
  24057. "description": "套利比例",
  24058. "type": "number"
  24059. },
  24060. "needhedgeratio": {
  24061. "description": "套保比率",
  24062. "type": "number"
  24063. },
  24064. "qtydecimalplace": {
  24065. "description": "数量小数位",
  24066. "type": "integer"
  24067. },
  24068. "relatedgoodsid": {
  24069. "description": "关联交易商品ID",
  24070. "type": "integer"
  24071. },
  24072. "relatedgoodstype": {
  24073. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24074. "type": "integer"
  24075. },
  24076. "remark": {
  24077. "description": "备注",
  24078. "type": "string"
  24079. }
  24080. }
  24081. },
  24082. "models.ErmcpMiddlegoodsRelateGoods": {
  24083. "type": "object",
  24084. "properties": {
  24085. "agreeunit": {
  24086. "description": "合约乘数",
  24087. "type": "number"
  24088. },
  24089. "convertratio": {
  24090. "description": "折算系数",
  24091. "type": "number"
  24092. },
  24093. "enumdicname": {
  24094. "description": "单位名称(交易商品)",
  24095. "type": "string"
  24096. },
  24097. "goodscode": {
  24098. "description": "交易商品代码",
  24099. "type": "string"
  24100. },
  24101. "goodsgroupid": {
  24102. "description": "交易品种id",
  24103. "type": "integer"
  24104. },
  24105. "goodsid": {
  24106. "description": "商品Id",
  24107. "type": "integer"
  24108. },
  24109. "goodsname": {
  24110. "description": "交易商品名称",
  24111. "type": "string"
  24112. },
  24113. "goodunitid": {
  24114. "description": "交易商品单位id",
  24115. "type": "integer"
  24116. },
  24117. "middlegoodsid": {
  24118. "description": "套保商品id",
  24119. "type": "integer"
  24120. },
  24121. "middlegoodsname": {
  24122. "description": "套保商品名称",
  24123. "type": "string"
  24124. },
  24125. "middlegoodsswcode": {
  24126. "description": "套保商品代码",
  24127. "type": "string"
  24128. },
  24129. "needarbitrageratio": {
  24130. "description": "应套利比例",
  24131. "type": "number"
  24132. },
  24133. "needhedgeratio": {
  24134. "description": "应套保比例",
  24135. "type": "number"
  24136. }
  24137. }
  24138. },
  24139. "models.ErmcpRole": {
  24140. "type": "object",
  24141. "properties": {
  24142. "areauserid": {
  24143. "description": "所属机构",
  24144. "type": "integer"
  24145. },
  24146. "autoid": {
  24147. "description": "角色ID(自增ID)",
  24148. "type": "integer"
  24149. },
  24150. "modifierid": {
  24151. "description": "修改人(创建人)",
  24152. "type": "integer"
  24153. },
  24154. "modifiername": {
  24155. "description": "修改人名称",
  24156. "type": "string"
  24157. },
  24158. "modifytime": {
  24159. "description": "修改时间(创建时间)",
  24160. "type": "string"
  24161. },
  24162. "rolename": {
  24163. "description": "角色名称",
  24164. "type": "string"
  24165. },
  24166. "rolestatus": {
  24167. "description": "角色状态 - 1:启用 2:停用",
  24168. "type": "integer"
  24169. },
  24170. "roletype": {
  24171. "description": "角色类型 - 1- 管理端 2- 交易端",
  24172. "type": "integer"
  24173. }
  24174. }
  24175. },
  24176. "models.ErmcpRoleMenu": {
  24177. "type": "object",
  24178. "properties": {
  24179. "iconame": {
  24180. "description": "菜单图标",
  24181. "type": "string"
  24182. },
  24183. "ishadrole": {
  24184. "description": "是否有权限",
  24185. "type": "boolean"
  24186. },
  24187. "menutype": {
  24188. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  24189. "type": "integer"
  24190. },
  24191. "parentcode": {
  24192. "description": "上级资源代码",
  24193. "type": "string"
  24194. },
  24195. "remark": {
  24196. "description": "菜单备注",
  24197. "type": "string"
  24198. },
  24199. "resourcecode": {
  24200. "description": "菜单代码",
  24201. "type": "string"
  24202. },
  24203. "resourcelevel": {
  24204. "description": "级别",
  24205. "type": "integer"
  24206. },
  24207. "resourcename": {
  24208. "description": "菜单名称",
  24209. "type": "string"
  24210. },
  24211. "roleid": {
  24212. "description": "角色id",
  24213. "type": "integer"
  24214. },
  24215. "sort": {
  24216. "description": "排序",
  24217. "type": "integer"
  24218. },
  24219. "url": {
  24220. "description": "URL",
  24221. "type": "string"
  24222. },
  24223. "userid": {
  24224. "description": "用户id",
  24225. "type": "integer"
  24226. }
  24227. }
  24228. },
  24229. "models.ErmcpRoleMenuEx": {
  24230. "type": "object",
  24231. "properties": {
  24232. "menu": {
  24233. "description": "父级菜单",
  24234. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24235. },
  24236. "subMenu": {
  24237. "description": "子级菜单",
  24238. "type": "array",
  24239. "items": {
  24240. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24241. }
  24242. }
  24243. }
  24244. },
  24245. "models.ErmcpTaAccount": {
  24246. "type": "object",
  24247. "properties": {
  24248. "accountid": {
  24249. "description": "账户id",
  24250. "type": "integer"
  24251. },
  24252. "accountname": {
  24253. "description": "账户名称",
  24254. "type": "string"
  24255. },
  24256. "currencyid": {
  24257. "description": "币种id",
  24258. "type": "integer"
  24259. },
  24260. "hedgeaccountcode": {
  24261. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24262. "type": "string"
  24263. },
  24264. "ismain": {
  24265. "description": "是否主账户 0-否 1-是",
  24266. "type": "integer"
  24267. },
  24268. "parentaccountid": {
  24269. "description": "父账户id",
  24270. "type": "integer"
  24271. },
  24272. "relateduserid": {
  24273. "description": "关联userid",
  24274. "type": "integer"
  24275. },
  24276. "tradefeetmpid": {
  24277. "description": "手续费模板id",
  24278. "type": "integer"
  24279. },
  24280. "tradefeetmpname": {
  24281. "description": "手续费模板名称",
  24282. "type": "string"
  24283. },
  24284. "trademargintmpid": {
  24285. "description": "保证金模板id",
  24286. "type": "integer"
  24287. },
  24288. "trademargintmpname": {
  24289. "description": "保证金模板名称",
  24290. "type": "string"
  24291. },
  24292. "traderatetmpid": {
  24293. "description": "汇率模板id",
  24294. "type": "integer"
  24295. },
  24296. "traderatetmpname": {
  24297. "description": "汇率模板名称",
  24298. "type": "string"
  24299. },
  24300. "tradestatus": {
  24301. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24302. "type": "integer"
  24303. },
  24304. "userid": {
  24305. "description": "用户id",
  24306. "type": "integer"
  24307. }
  24308. }
  24309. },
  24310. "models.ErmcpTaAccountEx": {
  24311. "type": "object",
  24312. "properties": {
  24313. "mainAcc": {
  24314. "description": "主账号",
  24315. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24316. },
  24317. "subacclist": {
  24318. "description": "子账号列表",
  24319. "type": "array",
  24320. "items": {
  24321. "$ref": "#/definitions/models.ErmcpTaAccount"
  24322. }
  24323. }
  24324. }
  24325. },
  24326. "models.ErmcpTaAccountInfo": {
  24327. "type": "object",
  24328. "properties": {
  24329. "accountid": {
  24330. "description": "资金账户ID",
  24331. "type": "integer"
  24332. },
  24333. "accountname": {
  24334. "description": "账户名称",
  24335. "type": "string"
  24336. },
  24337. "balance": {
  24338. "description": "期初余额",
  24339. "type": "number"
  24340. },
  24341. "capitalbalance": {
  24342. "description": "本金余额[外部子账户实际出入金余额]",
  24343. "type": "number"
  24344. },
  24345. "closepl": {
  24346. "description": "今日平仓盈亏",
  24347. "type": "number"
  24348. },
  24349. "creditdecrease": {
  24350. "description": "今日授信减少",
  24351. "type": "number"
  24352. },
  24353. "creditincrease": {
  24354. "description": "今日授信增加",
  24355. "type": "number"
  24356. },
  24357. "curdebt": {
  24358. "description": "期末欠款",
  24359. "type": "number"
  24360. },
  24361. "currencyid": {
  24362. "description": "货币ID",
  24363. "type": "integer"
  24364. },
  24365. "currentbalance": {
  24366. "description": "期末余额",
  24367. "type": "number"
  24368. },
  24369. "freezecharge": {
  24370. "description": "手续费冻结",
  24371. "type": "number"
  24372. },
  24373. "freezemargin": {
  24374. "description": "冻结保证金",
  24375. "type": "number"
  24376. },
  24377. "fromaccountid": {
  24378. "description": "所属上级账户",
  24379. "type": "integer"
  24380. },
  24381. "inamount": {
  24382. "description": "今日入金金额(包括三方入金)",
  24383. "type": "number"
  24384. },
  24385. "ismain": {
  24386. "description": "是否母账号 0:不是母账户 1:是母账户",
  24387. "type": "integer"
  24388. },
  24389. "mortgagecredit": {
  24390. "description": "授信金额",
  24391. "type": "number"
  24392. },
  24393. "oridebt": {
  24394. "description": "期初欠款",
  24395. "type": "number"
  24396. },
  24397. "orifreezecharge": {
  24398. "description": "期初手续费冻结",
  24399. "type": "number"
  24400. },
  24401. "orifreezemargin": {
  24402. "description": "期初冻结保证金",
  24403. "type": "number"
  24404. },
  24405. "orimortgagecredit": {
  24406. "description": "期初授信金额",
  24407. "type": "number"
  24408. },
  24409. "oriothercredit": {
  24410. "description": "期初其它授信金额",
  24411. "type": "number"
  24412. },
  24413. "oriotherfreezemargin": {
  24414. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24415. "type": "number"
  24416. },
  24417. "orioutamountfreeze": {
  24418. "description": "期初出金冻结",
  24419. "type": "number"
  24420. },
  24421. "oriusedmargin": {
  24422. "description": "期初占用保证金",
  24423. "type": "number"
  24424. },
  24425. "othercredit": {
  24426. "description": "其它授信金额",
  24427. "type": "number"
  24428. },
  24429. "othercreditdecrease": {
  24430. "description": "今日其它授信减少",
  24431. "type": "number"
  24432. },
  24433. "othercreditincrease": {
  24434. "description": "今日其它授信增加",
  24435. "type": "number"
  24436. },
  24437. "otherfreezemargin": {
  24438. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24439. "type": "number"
  24440. },
  24441. "outamount": {
  24442. "description": "今日出金金额(包括三方出金)",
  24443. "type": "number"
  24444. },
  24445. "outamountfreeze": {
  24446. "description": "出金冻结",
  24447. "type": "number"
  24448. },
  24449. "outthreshold": {
  24450. "description": "出金阈值",
  24451. "type": "number"
  24452. },
  24453. "parentaccountid": {
  24454. "description": "所属根账号",
  24455. "type": "integer"
  24456. },
  24457. "paycharge": {
  24458. "description": "今日手续费支出",
  24459. "type": "number"
  24460. },
  24461. "relateduserid": {
  24462. "description": "关联用户",
  24463. "type": "integer"
  24464. },
  24465. "signstatus": {
  24466. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24467. "type": "integer"
  24468. },
  24469. "sublevelpath": {
  24470. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24471. "type": "string"
  24472. },
  24473. "taaccounttype": {
  24474. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24475. "type": "integer"
  24476. },
  24477. "thirdinamount": {
  24478. "description": "今日三方入金",
  24479. "type": "number"
  24480. },
  24481. "thirdoutamount": {
  24482. "description": "今日三方出金",
  24483. "type": "number"
  24484. },
  24485. "tradestatus": {
  24486. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24487. "type": "integer"
  24488. },
  24489. "transferamount": {
  24490. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24491. "type": "number"
  24492. },
  24493. "usedmargin": {
  24494. "description": "占用保证金",
  24495. "type": "number"
  24496. },
  24497. "userid": {
  24498. "description": "用户ID",
  24499. "type": "integer"
  24500. }
  24501. }
  24502. },
  24503. "models.ErmcpTaAccountM": {
  24504. "type": "object",
  24505. "properties": {
  24506. "accountid": {
  24507. "description": "账户id",
  24508. "type": "integer"
  24509. },
  24510. "accountname": {
  24511. "description": "账户名称",
  24512. "type": "string"
  24513. },
  24514. "currencyid": {
  24515. "description": "币种id",
  24516. "type": "integer"
  24517. },
  24518. "fcid": {
  24519. "description": "期货公司id",
  24520. "type": "integer"
  24521. },
  24522. "fcname": {
  24523. "description": "期货公司代码",
  24524. "type": "string"
  24525. },
  24526. "hedgeaccountcode": {
  24527. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24528. "type": "string"
  24529. },
  24530. "ismain": {
  24531. "description": "是否主账户 0-否 1-是",
  24532. "type": "integer"
  24533. },
  24534. "parentaccountid": {
  24535. "description": "父账户id",
  24536. "type": "integer"
  24537. },
  24538. "relateduserid": {
  24539. "description": "关联userid",
  24540. "type": "integer"
  24541. },
  24542. "tradefeetmpid": {
  24543. "description": "手续费模板id",
  24544. "type": "integer"
  24545. },
  24546. "tradefeetmpname": {
  24547. "description": "手续费模板名称",
  24548. "type": "string"
  24549. },
  24550. "trademargintmpid": {
  24551. "description": "保证金模板id",
  24552. "type": "integer"
  24553. },
  24554. "trademargintmpname": {
  24555. "description": "保证金模板名称",
  24556. "type": "string"
  24557. },
  24558. "traderatetmpid": {
  24559. "description": "汇率模板id",
  24560. "type": "integer"
  24561. },
  24562. "traderatetmpname": {
  24563. "description": "汇率模板名称",
  24564. "type": "string"
  24565. },
  24566. "tradestatus": {
  24567. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24568. "type": "integer"
  24569. },
  24570. "userid": {
  24571. "description": "用户id",
  24572. "type": "integer"
  24573. }
  24574. }
  24575. },
  24576. "models.ErmcpTradeConfigTMP": {
  24577. "type": "object",
  24578. "properties": {
  24579. "areauserid": {
  24580. "description": "所属机构",
  24581. "type": "integer"
  24582. },
  24583. "basiccurrencyid": {
  24584. "description": "基本币种ID[汇率] - 目标币种",
  24585. "type": "integer"
  24586. },
  24587. "mainaccountid": {
  24588. "description": "主账户ID",
  24589. "type": "integer"
  24590. },
  24591. "modifierid": {
  24592. "description": "修改人",
  24593. "type": "integer"
  24594. },
  24595. "remark": {
  24596. "description": "备注",
  24597. "type": "string"
  24598. },
  24599. "tradeconfigtmpid": {
  24600. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24601. "type": "integer"
  24602. },
  24603. "tradeconfigtmpname": {
  24604. "description": "交易配置模板名称",
  24605. "type": "string"
  24606. },
  24607. "tradeconfigtmptype": {
  24608. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  24609. "type": "integer"
  24610. },
  24611. "updatetime": {
  24612. "description": "更新时间",
  24613. "type": "string"
  24614. }
  24615. }
  24616. },
  24617. "models.Externalexchange": {
  24618. "type": "object",
  24619. "required": [
  24620. "autoid"
  24621. ],
  24622. "properties": {
  24623. "autoid": {
  24624. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  24625. "type": "integer"
  24626. },
  24627. "exchangefullname": {
  24628. "description": "外部交易所全称",
  24629. "type": "string"
  24630. },
  24631. "exexchangecode": {
  24632. "description": "外部交易所代码",
  24633. "type": "string"
  24634. },
  24635. "exexchangename": {
  24636. "description": "外部交易所名称(简称)",
  24637. "type": "string"
  24638. },
  24639. "ismarketprice": {
  24640. "description": "是否支持市价 - 0:不支持 1:支持",
  24641. "type": "integer"
  24642. },
  24643. "quotegear": {
  24644. "description": "行情档位(1-10)",
  24645. "type": "integer"
  24646. },
  24647. "showbrokerflag": {
  24648. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  24649. "type": "integer"
  24650. },
  24651. "updatetime": {
  24652. "description": "更新时间",
  24653. "type": "string"
  24654. }
  24655. }
  24656. },
  24657. "models.Funcmenulist": {
  24658. "type": "object",
  24659. "required": [
  24660. "resourcecode"
  24661. ],
  24662. "properties": {
  24663. "iconame": {
  24664. "description": "菜单图标",
  24665. "type": "string"
  24666. },
  24667. "menutype": {
  24668. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  24669. "type": "integer"
  24670. },
  24671. "parentcode": {
  24672. "description": "上级资源代码",
  24673. "type": "string"
  24674. },
  24675. "remark": {
  24676. "description": "备注",
  24677. "type": "string"
  24678. },
  24679. "resourcecode": {
  24680. "description": "资源代码",
  24681. "type": "string"
  24682. },
  24683. "resourcelevel": {
  24684. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  24685. "type": "integer"
  24686. },
  24687. "resourcename": {
  24688. "description": "资源名",
  24689. "type": "string"
  24690. },
  24691. "sort": {
  24692. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  24693. "type": "integer"
  24694. },
  24695. "url": {
  24696. "description": "URL",
  24697. "type": "string"
  24698. }
  24699. }
  24700. },
  24701. "models.Goods": {
  24702. "type": "object",
  24703. "required": [
  24704. "goodscode",
  24705. "goodsid",
  24706. "goodsname",
  24707. "marketid"
  24708. ],
  24709. "properties": {
  24710. "agreeunit": {
  24711. "description": "合约单位",
  24712. "type": "number"
  24713. },
  24714. "areauserid": {
  24715. "description": "所属机构",
  24716. "type": "integer"
  24717. },
  24718. "auditaccountid": {
  24719. "description": "审核操作员账号",
  24720. "type": "integer"
  24721. },
  24722. "audittime": {
  24723. "description": "审核时间",
  24724. "type": "string"
  24725. },
  24726. "cancelaccountid": {
  24727. "description": "注销操作员账号",
  24728. "type": "integer"
  24729. },
  24730. "canceltime": {
  24731. "description": "注销时间",
  24732. "type": "string"
  24733. },
  24734. "closepricemode": {
  24735. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24736. "type": "integer"
  24737. },
  24738. "closepriceparam": {
  24739. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24740. "type": "number"
  24741. },
  24742. "createtime": {
  24743. "description": "创建时间",
  24744. "type": "string"
  24745. },
  24746. "creatorid": {
  24747. "description": "创建人",
  24748. "type": "integer"
  24749. },
  24750. "currencyid": {
  24751. "description": "报价货币ID",
  24752. "type": "integer"
  24753. },
  24754. "cutmode": {
  24755. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24756. "type": "integer"
  24757. },
  24758. "decimalplace": {
  24759. "description": "报价小数位",
  24760. "type": "integer"
  24761. },
  24762. "delistingdate": {
  24763. "description": "商品退市时间(状态:退市) -- 已作废",
  24764. "type": "string"
  24765. },
  24766. "delistingmode": {
  24767. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24768. "type": "integer"
  24769. },
  24770. "deliveryflag": {
  24771. "description": "交割标志 - 0:不可交割 1:可交割",
  24772. "type": "integer"
  24773. },
  24774. "forceclosemode": {
  24775. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24776. "type": "integer"
  24777. },
  24778. "forceclosevalue": {
  24779. "description": "定期强平参数 [收益权]",
  24780. "type": "integer"
  24781. },
  24782. "goodscode": {
  24783. "description": "商品代码(内部)",
  24784. "type": "string"
  24785. },
  24786. "goodscurrencyid": {
  24787. "description": "合约货币ID",
  24788. "type": "integer"
  24789. },
  24790. "goodsgroupid": {
  24791. "description": "所属商品组ID",
  24792. "type": "integer"
  24793. },
  24794. "goodsid": {
  24795. "description": "商品ID(自增ID SEQ_GOODS)",
  24796. "type": "integer"
  24797. },
  24798. "goodsname": {
  24799. "description": "商品名称",
  24800. "type": "string"
  24801. },
  24802. "goodsquotetype": {
  24803. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24804. "type": "integer"
  24805. },
  24806. "goodsstatus": {
  24807. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24808. "type": "integer"
  24809. },
  24810. "goodstradetype": {
  24811. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24812. "type": "integer"
  24813. },
  24814. "goodunitid": {
  24815. "description": "报价单位ID",
  24816. "type": "integer"
  24817. },
  24818. "hasquoter": {
  24819. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24820. "type": "integer"
  24821. },
  24822. "hqprotecttime": {
  24823. "description": "行情保护时间(秒)",
  24824. "type": "integer"
  24825. },
  24826. "innerdealmode": {
  24827. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24828. "type": "integer"
  24829. },
  24830. "isbuylimited": {
  24831. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24832. "type": "integer"
  24833. },
  24834. "isvisible": {
  24835. "description": "游客是否可见 - 0:不可见 1:可见",
  24836. "type": "integer"
  24837. },
  24838. "lasttradedate": {
  24839. "description": "最后交易日期(状态:待退市)",
  24840. "type": "string"
  24841. },
  24842. "listingdate": {
  24843. "description": "交易开始日期",
  24844. "type": "string"
  24845. },
  24846. "marketid": {
  24847. "description": "所属市场ID",
  24848. "type": "integer"
  24849. },
  24850. "modifierid": {
  24851. "description": "修改人",
  24852. "type": "integer"
  24853. },
  24854. "modifystatus": {
  24855. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24856. "type": "integer"
  24857. },
  24858. "modifytime": {
  24859. "description": "修改时间",
  24860. "type": "string"
  24861. },
  24862. "outerdealmode": {
  24863. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24864. "type": "integer"
  24865. },
  24866. "outgoodscode": {
  24867. "description": "商品代码(外部)",
  24868. "type": "string"
  24869. },
  24870. "pictureurl": {
  24871. "description": "商品图片",
  24872. "type": "string"
  24873. },
  24874. "qtydecimalplace": {
  24875. "description": "成交量小数位",
  24876. "type": "integer"
  24877. },
  24878. "quotegear": {
  24879. "description": "行情档位(1-10)",
  24880. "type": "integer"
  24881. },
  24882. "quoteminunit": {
  24883. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24884. "type": "integer"
  24885. },
  24886. "quoteshowtype": {
  24887. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24888. "type": "integer"
  24889. },
  24890. "quoteshowtypeinterval": {
  24891. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24892. "type": "integer"
  24893. },
  24894. "remark": {
  24895. "description": "备注",
  24896. "type": "string"
  24897. }
  24898. }
  24899. },
  24900. "models.GoodsIDAndName": {
  24901. "type": "object",
  24902. "required": [
  24903. "goodscode",
  24904. "goodsid",
  24905. "goodsname",
  24906. "marketid"
  24907. ],
  24908. "properties": {
  24909. "goodscode": {
  24910. "description": "商品代码(内部)",
  24911. "type": "string"
  24912. },
  24913. "goodsid": {
  24914. "description": "商品ID(自增ID SEQ_GOODS)",
  24915. "type": "integer"
  24916. },
  24917. "goodsname": {
  24918. "description": "商品名称",
  24919. "type": "string"
  24920. },
  24921. "marketid": {
  24922. "description": "所属市场ID",
  24923. "type": "integer"
  24924. }
  24925. }
  24926. },
  24927. "models.Goodsgroup": {
  24928. "type": "object",
  24929. "required": [
  24930. "goodsgroupid",
  24931. "goodsgroupname",
  24932. "goodsgroupstatus",
  24933. "marketid"
  24934. ],
  24935. "properties": {
  24936. "agreeunit": {
  24937. "description": "合约单位",
  24938. "type": "number"
  24939. },
  24940. "canshort": {
  24941. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24942. "type": "integer"
  24943. },
  24944. "closepricemode": {
  24945. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24946. "type": "integer"
  24947. },
  24948. "closepriceparam": {
  24949. "description": "强平最新价浮动比例 - 方式为2时使用",
  24950. "type": "number"
  24951. },
  24952. "createtime": {
  24953. "description": "创建时间",
  24954. "type": "string"
  24955. },
  24956. "creatorid": {
  24957. "description": "创建人",
  24958. "type": "integer"
  24959. },
  24960. "currencyid": {
  24961. "description": "报价货币ID",
  24962. "type": "integer"
  24963. },
  24964. "decimalplace": {
  24965. "description": "报价小数位",
  24966. "type": "integer"
  24967. },
  24968. "exercisetype": {
  24969. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  24970. "type": "integer"
  24971. },
  24972. "exexchangeid": {
  24973. "description": "外部交易所ID[通道交易]",
  24974. "type": "integer"
  24975. },
  24976. "goodsgroupid": {
  24977. "description": "商品组ID(自增ID)",
  24978. "type": "integer"
  24979. },
  24980. "goodsgroupname": {
  24981. "description": "商品组名称",
  24982. "type": "string"
  24983. },
  24984. "goodsgroupstatus": {
  24985. "description": "商品组状态 - 1:正常 2:注销",
  24986. "type": "integer"
  24987. },
  24988. "goodunitid": {
  24989. "description": "报价单位ID",
  24990. "type": "integer"
  24991. },
  24992. "innerdealmode": {
  24993. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24994. "type": "integer"
  24995. },
  24996. "isbuylimited": {
  24997. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24998. "type": "integer"
  24999. },
  25000. "marketid": {
  25001. "description": "所属市场ID",
  25002. "type": "integer"
  25003. },
  25004. "modifierid": {
  25005. "description": "修改人",
  25006. "type": "integer"
  25007. },
  25008. "modifytime": {
  25009. "description": "修改时间",
  25010. "type": "string"
  25011. },
  25012. "outerdealmode": {
  25013. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25014. "type": "integer"
  25015. },
  25016. "outergroupcode": {
  25017. "description": "外部商品组代码[通道交易]",
  25018. "type": "string"
  25019. },
  25020. "premiumdecimalplace": {
  25021. "description": "权利金小数位[场外期权]",
  25022. "type": "integer"
  25023. },
  25024. "premiumspreadalgorithm": {
  25025. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25026. "type": "integer"
  25027. },
  25028. "premiumspreadvalue": {
  25029. "description": "权利金点差值[场外期权]",
  25030. "type": "number"
  25031. },
  25032. "qtydecimalplace": {
  25033. "description": "成交量小数位",
  25034. "type": "integer"
  25035. },
  25036. "quotegear": {
  25037. "description": "行情档位(1-10)",
  25038. "type": "integer"
  25039. },
  25040. "quoteminunit": {
  25041. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25042. "type": "integer"
  25043. },
  25044. "quoterid": {
  25045. "description": "报价商ID[场外期权]",
  25046. "type": "integer"
  25047. },
  25048. "quotesourcegroupid": {
  25049. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25050. "type": "integer"
  25051. },
  25052. "syncgoodsqty": {
  25053. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25054. "type": "integer"
  25055. }
  25056. }
  25057. },
  25058. "models.Goodssortbypreposition": {
  25059. "type": "object",
  25060. "required": [
  25061. "goodscode",
  25062. "tradedate"
  25063. ],
  25064. "properties": {
  25065. "goodscode": {
  25066. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25067. "type": "string"
  25068. },
  25069. "goodsgroupcode": {
  25070. "description": "品种代码",
  25071. "type": "string"
  25072. },
  25073. "prepositionqty": {
  25074. "description": "昨持仓量",
  25075. "type": "integer"
  25076. },
  25077. "sortindex": {
  25078. "description": "排序",
  25079. "type": "integer"
  25080. },
  25081. "tradedate": {
  25082. "description": "交易日",
  25083. "type": "string"
  25084. },
  25085. "updatetime": {
  25086. "description": "更新时间",
  25087. "type": "string"
  25088. }
  25089. }
  25090. },
  25091. "models.Hedgeinnerholderdetail": {
  25092. "type": "object",
  25093. "required": [
  25094. "buyorsell",
  25095. "tradeid"
  25096. ],
  25097. "properties": {
  25098. "accountid": {
  25099. "description": "账号ID",
  25100. "type": "integer"
  25101. },
  25102. "buyorsell": {
  25103. "description": "方向 - 0:买 1:卖",
  25104. "type": "integer"
  25105. },
  25106. "freezeqty": {
  25107. "description": "冻结数量 - 按单平使用",
  25108. "type": "integer"
  25109. },
  25110. "goodsid": {
  25111. "description": "商品ID",
  25112. "type": "integer"
  25113. },
  25114. "holderamount": {
  25115. "description": "持仓金额 [商品币种]",
  25116. "type": "number"
  25117. },
  25118. "holderdays": {
  25119. "description": "剩余冻结天数",
  25120. "type": "integer"
  25121. },
  25122. "holderprice": {
  25123. "description": "持仓价格",
  25124. "type": "number"
  25125. },
  25126. "holderqty": {
  25127. "description": "持仓数量",
  25128. "type": "integer"
  25129. },
  25130. "marketid": {
  25131. "description": "市场ID",
  25132. "type": "integer"
  25133. },
  25134. "openprice": {
  25135. "description": "建仓价格",
  25136. "type": "number"
  25137. },
  25138. "openqty": {
  25139. "description": "建仓数量",
  25140. "type": "integer"
  25141. },
  25142. "parentaccountid": {
  25143. "description": "所属母账户",
  25144. "type": "integer"
  25145. },
  25146. "releaseamount": {
  25147. "description": "释放持仓金额[商品币种]",
  25148. "type": "number"
  25149. },
  25150. "tradeamount": {
  25151. "description": "成交金额[账户]",
  25152. "type": "number"
  25153. },
  25154. "tradedate": {
  25155. "description": "交易日(yyyyMMdd)",
  25156. "type": "string"
  25157. },
  25158. "tradeid": {
  25159. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25160. "type": "string"
  25161. },
  25162. "tradetime": {
  25163. "description": "交易时间",
  25164. "type": "string"
  25165. }
  25166. }
  25167. },
  25168. "models.Hedgemarketopenlog": {
  25169. "type": "object",
  25170. "required": [
  25171. "accountid"
  25172. ],
  25173. "properties": {
  25174. "accountid": {
  25175. "description": "资金账号[外部母账户]",
  25176. "type": "integer"
  25177. },
  25178. "fcname": {
  25179. "description": "期货公司名称",
  25180. "type": "string"
  25181. },
  25182. "handlestatus": {
  25183. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25184. "type": "integer"
  25185. },
  25186. "marketid": {
  25187. "description": "市场ID",
  25188. "type": "integer"
  25189. },
  25190. "status": {
  25191. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25192. "type": "integer"
  25193. },
  25194. "tradedate": {
  25195. "description": "交易日(yyyyMMdd)",
  25196. "type": "string"
  25197. },
  25198. "updatetime": {
  25199. "description": "更新时间",
  25200. "type": "string"
  25201. }
  25202. }
  25203. },
  25204. "models.HsbyBuyMyPayOrder": {
  25205. "type": "object",
  25206. "required": [
  25207. "goodscode",
  25208. "goodsname",
  25209. "tradeid",
  25210. "trademode"
  25211. ],
  25212. "properties": {
  25213. "agreeunit": {
  25214. "description": "合约单位",
  25215. "type": "number"
  25216. },
  25217. "buyaccountid": {
  25218. "description": "买方账号ID[报价币种]",
  25219. "type": "integer"
  25220. },
  25221. "buyorderid": {
  25222. "description": "买方委托单号",
  25223. "type": "string"
  25224. },
  25225. "createtime": {
  25226. "description": "创建时间",
  25227. "type": "string"
  25228. },
  25229. "currencysign": {
  25230. "description": "货币符号",
  25231. "type": "string"
  25232. },
  25233. "decimalplace": {
  25234. "description": "报价小数位",
  25235. "type": "integer"
  25236. },
  25237. "goodscode": {
  25238. "description": "商品代码(内部)",
  25239. "type": "string"
  25240. },
  25241. "goodsid": {
  25242. "description": "商品ID",
  25243. "type": "integer"
  25244. },
  25245. "goodsname": {
  25246. "description": "商品名称",
  25247. "type": "string"
  25248. },
  25249. "marketid": {
  25250. "description": "市场ID",
  25251. "type": "integer"
  25252. },
  25253. "offamount": {
  25254. "description": "优惠金额",
  25255. "type": "number"
  25256. },
  25257. "originalamount": {
  25258. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25259. "type": "number"
  25260. },
  25261. "payamount": {
  25262. "description": "支付金额 = TradeAmount + TradeCharge",
  25263. "type": "number"
  25264. },
  25265. "payflag": {
  25266. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25267. "type": "integer"
  25268. },
  25269. "paylimitedtime": {
  25270. "description": "支付期限",
  25271. "type": "string"
  25272. },
  25273. "paytime": {
  25274. "description": "付款时间",
  25275. "type": "string"
  25276. },
  25277. "picurls1": {
  25278. "description": "预售商品介绍图片[多张用逗号分隔]",
  25279. "type": "string"
  25280. },
  25281. "picurls2": {
  25282. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25283. "type": "string"
  25284. },
  25285. "sellaccountid": {
  25286. "description": "卖方账号ID[报价币种]",
  25287. "type": "integer"
  25288. },
  25289. "sellorderid": {
  25290. "description": "卖方委托单号",
  25291. "type": "string"
  25292. },
  25293. "tradeamount": {
  25294. "description": "成交金额",
  25295. "type": "number"
  25296. },
  25297. "tradecharge": {
  25298. "description": "成交手续费(买方)",
  25299. "type": "number"
  25300. },
  25301. "tradedate": {
  25302. "description": "交易日(yyyyMMdd)",
  25303. "type": "string"
  25304. },
  25305. "tradeid": {
  25306. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25307. "type": "string"
  25308. },
  25309. "trademode": {
  25310. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25311. "type": "integer"
  25312. },
  25313. "tradeprice": {
  25314. "description": "成交价格",
  25315. "type": "number"
  25316. },
  25317. "tradeqty": {
  25318. "description": "成交数量",
  25319. "type": "integer"
  25320. },
  25321. "vendorname1": {
  25322. "description": "预售商品供应商名称",
  25323. "type": "string"
  25324. },
  25325. "vendorname2": {
  25326. "description": "挂牌商品供应商名称",
  25327. "type": "string"
  25328. }
  25329. }
  25330. },
  25331. "models.HsbyBuyMyTradeDetail": {
  25332. "type": "object",
  25333. "required": [
  25334. "accountid",
  25335. "buyorsell",
  25336. "goodscode",
  25337. "goodsid",
  25338. "goodsname",
  25339. "marketid",
  25340. "orderid",
  25341. "qty",
  25342. "time",
  25343. "trademode"
  25344. ],
  25345. "properties": {
  25346. "accountid": {
  25347. "description": "账户ID[报价币种]",
  25348. "type": "integer"
  25349. },
  25350. "agreeunit": {
  25351. "description": "合约单位",
  25352. "type": "number"
  25353. },
  25354. "amount": {
  25355. "description": "金额 = 价格 * 数量 * 合约单位",
  25356. "type": "number"
  25357. },
  25358. "buyorsell": {
  25359. "description": "买卖 - 0:买 1:卖",
  25360. "type": "integer"
  25361. },
  25362. "currencysign": {
  25363. "description": "货币符号",
  25364. "type": "string"
  25365. },
  25366. "decimalplace": {
  25367. "description": "报价小数位",
  25368. "type": "integer"
  25369. },
  25370. "goodscode": {
  25371. "description": "商品代码(内部)",
  25372. "type": "string"
  25373. },
  25374. "goodsid": {
  25375. "description": "商品ID",
  25376. "type": "integer"
  25377. },
  25378. "goodsname": {
  25379. "description": "商品名称",
  25380. "type": "string"
  25381. },
  25382. "marketid": {
  25383. "description": "市场ID",
  25384. "type": "integer"
  25385. },
  25386. "orderamount": {
  25387. "description": "委托金额",
  25388. "type": "number"
  25389. },
  25390. "orderid": {
  25391. "description": "单号(成交单号)",
  25392. "type": "string"
  25393. },
  25394. "picurls1": {
  25395. "description": "预售商品介绍图片[多张用逗号分隔]",
  25396. "type": "string"
  25397. },
  25398. "picurls2": {
  25399. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25400. "type": "string"
  25401. },
  25402. "price": {
  25403. "description": "价格",
  25404. "type": "number"
  25405. },
  25406. "qty": {
  25407. "description": "数量",
  25408. "type": "integer"
  25409. },
  25410. "time": {
  25411. "description": "时间",
  25412. "type": "string"
  25413. },
  25414. "trademode": {
  25415. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25416. "type": "integer"
  25417. },
  25418. "vendorname1": {
  25419. "description": "预售商品供应商名称",
  25420. "type": "string"
  25421. },
  25422. "vendorname2": {
  25423. "description": "挂牌商品供应商名称",
  25424. "type": "string"
  25425. }
  25426. }
  25427. },
  25428. "models.HsbyGoodsOrderDetail": {
  25429. "type": "object",
  25430. "required": [
  25431. "buyorsell",
  25432. "orderid",
  25433. "ordertime"
  25434. ],
  25435. "properties": {
  25436. "buyorsell": {
  25437. "description": "买卖 - 0:买 1:卖",
  25438. "type": "integer"
  25439. },
  25440. "currencysign": {
  25441. "description": "货币符号",
  25442. "type": "string"
  25443. },
  25444. "customername": {
  25445. "description": "客户名称(企业名称),已脱敏",
  25446. "type": "string"
  25447. },
  25448. "enableqty": {
  25449. "description": "可用数量",
  25450. "type": "integer"
  25451. },
  25452. "goodunit": {
  25453. "description": "报价单位",
  25454. "type": "string"
  25455. },
  25456. "orderid": {
  25457. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25458. "type": "string"
  25459. },
  25460. "orderprice": {
  25461. "description": "委托价格",
  25462. "type": "number"
  25463. },
  25464. "ordertime": {
  25465. "description": "委托时间",
  25466. "type": "string"
  25467. }
  25468. }
  25469. },
  25470. "models.HsbyListingGoodsDetail": {
  25471. "type": "object",
  25472. "required": [
  25473. "goodscode",
  25474. "goodsid",
  25475. "goodsname",
  25476. "marketid",
  25477. "trademode"
  25478. ],
  25479. "properties": {
  25480. "agreeunit": {
  25481. "description": "合约单位",
  25482. "type": "number"
  25483. },
  25484. "buymaxqty": {
  25485. "description": "购买上限 [71] - 0为不限",
  25486. "type": "integer"
  25487. },
  25488. "currency": {
  25489. "description": "货币",
  25490. "type": "string"
  25491. },
  25492. "currencysign": {
  25493. "description": "货币符号",
  25494. "type": "string"
  25495. },
  25496. "decimalplace": {
  25497. "description": "报价小数位",
  25498. "type": "integer"
  25499. },
  25500. "desccityid": {
  25501. "description": "目的地(市)ID",
  25502. "type": "integer"
  25503. },
  25504. "descprovinceid": {
  25505. "description": "目的地(省)ID",
  25506. "type": "integer"
  25507. },
  25508. "goodscode": {
  25509. "description": "商品代码(内部)",
  25510. "type": "string"
  25511. },
  25512. "goodsdesc": {
  25513. "description": "商品详情",
  25514. "type": "string"
  25515. },
  25516. "goodsid": {
  25517. "description": "商品ID(自增ID SEQ_GOODS)",
  25518. "type": "integer"
  25519. },
  25520. "goodsname": {
  25521. "description": "商品名称",
  25522. "type": "string"
  25523. },
  25524. "goodsprice": {
  25525. "description": "商品价格",
  25526. "type": "number"
  25527. },
  25528. "hotindex": {
  25529. "description": "景点热度",
  25530. "type": "integer"
  25531. },
  25532. "last": {
  25533. "description": "现价",
  25534. "type": "number"
  25535. },
  25536. "limitdown": {
  25537. "description": "跌停价",
  25538. "type": "number"
  25539. },
  25540. "limitup": {
  25541. "description": "涨停价",
  25542. "type": "number"
  25543. },
  25544. "lotsize": {
  25545. "description": "手数最小变动单位",
  25546. "type": "integer"
  25547. },
  25548. "marketid": {
  25549. "description": "所属市场ID",
  25550. "type": "integer"
  25551. },
  25552. "picurls": {
  25553. "description": "介绍图片[多张用逗号分隔]",
  25554. "type": "string"
  25555. },
  25556. "quoteminunit": {
  25557. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25558. "type": "integer"
  25559. },
  25560. "stepvalue": {
  25561. "description": "价格最小变动单位",
  25562. "type": "number"
  25563. },
  25564. "trademode": {
  25565. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25566. "type": "integer"
  25567. },
  25568. "vendorattr": {
  25569. "description": "供应商附件(多张,逗号分隔)",
  25570. "type": "string"
  25571. },
  25572. "vendorname": {
  25573. "description": "供应商名称",
  25574. "type": "string"
  25575. },
  25576. "vendorphone": {
  25577. "description": "供应商客服电话",
  25578. "type": "string"
  25579. },
  25580. "videourls": {
  25581. "description": "介绍视频[多张用逗号分隔]",
  25582. "type": "string"
  25583. }
  25584. }
  25585. },
  25586. "models.HsbyMarketGoods": {
  25587. "type": "object",
  25588. "required": [
  25589. "accountid",
  25590. "buyorsell",
  25591. "goodscode",
  25592. "goodsid",
  25593. "goodsname",
  25594. "marketid",
  25595. "orderid",
  25596. "trademode"
  25597. ],
  25598. "properties": {
  25599. "accountid": {
  25600. "description": "账户ID[报价币种]",
  25601. "type": "integer"
  25602. },
  25603. "agreeunit": {
  25604. "description": "合约单位",
  25605. "type": "number"
  25606. },
  25607. "buyorsell": {
  25608. "description": "买卖 - 0:买 1:卖",
  25609. "type": "integer"
  25610. },
  25611. "categoryid": {
  25612. "description": "类别ID(WRCATEGORY)",
  25613. "type": "integer"
  25614. },
  25615. "currency": {
  25616. "description": "货币",
  25617. "type": "string"
  25618. },
  25619. "currencysign": {
  25620. "description": "货币符号",
  25621. "type": "string"
  25622. },
  25623. "customername": {
  25624. "description": "卖家名称",
  25625. "type": "string"
  25626. },
  25627. "decimalplace": {
  25628. "description": "报价小数位",
  25629. "type": "integer"
  25630. },
  25631. "goodscode": {
  25632. "description": "商品代码(内部)",
  25633. "type": "string"
  25634. },
  25635. "goodsid": {
  25636. "description": "商品ID",
  25637. "type": "integer"
  25638. },
  25639. "goodsname": {
  25640. "description": "商品名称",
  25641. "type": "string"
  25642. },
  25643. "goodsprice": {
  25644. "description": "商品价格",
  25645. "type": "number"
  25646. },
  25647. "hascoupon": {
  25648. "description": "是否可用优惠卷",
  25649. "type": "boolean"
  25650. },
  25651. "hotindex": {
  25652. "description": "景点热度",
  25653. "type": "integer"
  25654. },
  25655. "marketid": {
  25656. "description": "市场ID",
  25657. "type": "integer"
  25658. },
  25659. "orderid": {
  25660. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25661. "type": "string"
  25662. },
  25663. "orderprice": {
  25664. "description": "委托价格",
  25665. "type": "number"
  25666. },
  25667. "orderstatus": {
  25668. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25669. "type": "integer"
  25670. },
  25671. "picurls": {
  25672. "description": "介绍图片[多张用逗号分隔]",
  25673. "type": "string"
  25674. },
  25675. "quoteminunit": {
  25676. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25677. "type": "integer"
  25678. },
  25679. "sellUserID": {
  25680. "description": "卖方UserID",
  25681. "type": "integer"
  25682. },
  25683. "trademode": {
  25684. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25685. "type": "integer"
  25686. },
  25687. "videourls": {
  25688. "description": "介绍视频[多张用逗号分隔]",
  25689. "type": "string"
  25690. }
  25691. }
  25692. },
  25693. "models.HsbyMarketGoodsDetail": {
  25694. "type": "object",
  25695. "required": [
  25696. "accountid",
  25697. "buyorsell",
  25698. "goodscode",
  25699. "goodsid",
  25700. "goodsname",
  25701. "marketid",
  25702. "orderid",
  25703. "orderqty",
  25704. "trademode"
  25705. ],
  25706. "properties": {
  25707. "accountid": {
  25708. "description": "账户ID[报价币种]",
  25709. "type": "integer"
  25710. },
  25711. "agreeunit": {
  25712. "description": "合约单位",
  25713. "type": "number"
  25714. },
  25715. "buymaxqty": {
  25716. "description": "购买上限 [71] - 0为不限",
  25717. "type": "integer"
  25718. },
  25719. "buyorsell": {
  25720. "description": "买卖 - 0:买 1:卖",
  25721. "type": "integer"
  25722. },
  25723. "cancelqty": {
  25724. "description": "撤单数量",
  25725. "type": "integer"
  25726. },
  25727. "categoryid": {
  25728. "description": "类别ID(WRCATEGORY)",
  25729. "type": "integer"
  25730. },
  25731. "currency": {
  25732. "description": "货币",
  25733. "type": "string"
  25734. },
  25735. "currencysign": {
  25736. "description": "货币符号",
  25737. "type": "string"
  25738. },
  25739. "customername": {
  25740. "description": "卖家名称",
  25741. "type": "string"
  25742. },
  25743. "decimalplace": {
  25744. "description": "报价小数位",
  25745. "type": "integer"
  25746. },
  25747. "goodscode": {
  25748. "description": "商品代码(内部)",
  25749. "type": "string"
  25750. },
  25751. "goodsdesc": {
  25752. "description": "商品详情",
  25753. "type": "string"
  25754. },
  25755. "goodsid": {
  25756. "description": "商品ID",
  25757. "type": "integer"
  25758. },
  25759. "goodsname": {
  25760. "description": "商品名称",
  25761. "type": "string"
  25762. },
  25763. "goodsprice": {
  25764. "description": "商品价格",
  25765. "type": "number"
  25766. },
  25767. "hotindex": {
  25768. "description": "景点热度",
  25769. "type": "integer"
  25770. },
  25771. "lotsize": {
  25772. "description": "手数最小变动单位",
  25773. "type": "integer"
  25774. },
  25775. "marketid": {
  25776. "description": "市场ID",
  25777. "type": "integer"
  25778. },
  25779. "orderid": {
  25780. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25781. "type": "string"
  25782. },
  25783. "orderprice": {
  25784. "description": "委托价格",
  25785. "type": "number"
  25786. },
  25787. "orderqty": {
  25788. "description": "委托数量",
  25789. "type": "integer"
  25790. },
  25791. "orderstatus": {
  25792. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25793. "type": "integer"
  25794. },
  25795. "picurls": {
  25796. "description": "介绍图片[多张用逗号分隔]",
  25797. "type": "string"
  25798. },
  25799. "quoteminunit": {
  25800. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25801. "type": "integer"
  25802. },
  25803. "sellUserID": {
  25804. "description": "卖方UserID",
  25805. "type": "integer"
  25806. },
  25807. "trademode": {
  25808. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25809. "type": "integer"
  25810. },
  25811. "tradeqty": {
  25812. "description": "成交数量",
  25813. "type": "integer"
  25814. },
  25815. "vendorattr": {
  25816. "description": "供应商附件(多张,逗号分隔)",
  25817. "type": "string"
  25818. },
  25819. "vendorname": {
  25820. "description": "供应商名称",
  25821. "type": "string"
  25822. },
  25823. "vendorphone": {
  25824. "description": "供应商客服电话",
  25825. "type": "string"
  25826. },
  25827. "videourls": {
  25828. "description": "介绍视频[多张用逗号分隔]",
  25829. "type": "string"
  25830. }
  25831. }
  25832. },
  25833. "models.HsbyMarketInfo": {
  25834. "type": "object",
  25835. "required": [
  25836. "marketid",
  25837. "marketstatus",
  25838. "trademode"
  25839. ],
  25840. "properties": {
  25841. "marketid": {
  25842. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25843. "type": "integer"
  25844. },
  25845. "marketname": {
  25846. "description": "市场名称",
  25847. "type": "string"
  25848. },
  25849. "marketstatus": {
  25850. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25851. "type": "integer"
  25852. },
  25853. "trademode": {
  25854. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25855. "type": "integer"
  25856. }
  25857. }
  25858. },
  25859. "models.HsbyMyGoods": {
  25860. "type": "object",
  25861. "required": [
  25862. "accountid",
  25863. "goodscode",
  25864. "goodsid",
  25865. "goodsname",
  25866. "marketid",
  25867. "trademode"
  25868. ],
  25869. "properties": {
  25870. "accountid": {
  25871. "description": "账号Id",
  25872. "type": "integer"
  25873. },
  25874. "agreeunit": {
  25875. "description": "合约单位",
  25876. "type": "number"
  25877. },
  25878. "buyaverageprice": {
  25879. "description": "持仓均价",
  25880. "type": "number"
  25881. },
  25882. "buycurholderamount": {
  25883. "description": "买当前持仓总金额[商品币种]",
  25884. "type": "number"
  25885. },
  25886. "buycurpositionqty": {
  25887. "description": "买当前持仓总数量",
  25888. "type": "integer"
  25889. },
  25890. "buymaxqty": {
  25891. "description": "购买上限 [71] - 0为不限",
  25892. "type": "integer"
  25893. },
  25894. "currencysign": {
  25895. "description": "货币符号",
  25896. "type": "string"
  25897. },
  25898. "decimalplace": {
  25899. "description": "报价小数位",
  25900. "type": "integer"
  25901. },
  25902. "enableqty": {
  25903. "description": "可用数量",
  25904. "type": "integer"
  25905. },
  25906. "goodscode": {
  25907. "description": "商品代码(内部)",
  25908. "type": "string"
  25909. },
  25910. "goodsid": {
  25911. "description": "商品Id",
  25912. "type": "integer"
  25913. },
  25914. "goodsname": {
  25915. "description": "商品名称",
  25916. "type": "string"
  25917. },
  25918. "goodsprice": {
  25919. "description": "商品价格",
  25920. "type": "number"
  25921. },
  25922. "goodsstatus": {
  25923. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25924. "type": "integer"
  25925. },
  25926. "last": {
  25927. "description": "现价(仅使用于挂牌点选)",
  25928. "type": "number"
  25929. },
  25930. "limitdown": {
  25931. "description": "跌停价(仅使用于挂牌点选)",
  25932. "type": "number"
  25933. },
  25934. "limitup": {
  25935. "description": "涨停价(仅使用于挂牌点选)",
  25936. "type": "number"
  25937. },
  25938. "lotsize": {
  25939. "description": "手数最小变动单位",
  25940. "type": "integer"
  25941. },
  25942. "marketid": {
  25943. "description": "所属市场ID",
  25944. "type": "integer"
  25945. },
  25946. "picurls": {
  25947. "description": "介绍图片[多张用逗号分隔]",
  25948. "type": "string"
  25949. },
  25950. "quoteminunit": {
  25951. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25952. "type": "integer"
  25953. },
  25954. "stepvalue": {
  25955. "description": "价格最小变动单位",
  25956. "type": "number"
  25957. },
  25958. "trademode": {
  25959. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25960. "type": "integer"
  25961. }
  25962. }
  25963. },
  25964. "models.HsbyMyPackage": {
  25965. "type": "object",
  25966. "required": [
  25967. "goodscode",
  25968. "goodsname",
  25969. "takeorderid",
  25970. "trademode"
  25971. ],
  25972. "properties": {
  25973. "accountid": {
  25974. "description": "账户ID",
  25975. "type": "integer"
  25976. },
  25977. "address": {
  25978. "description": "提货人详细地址",
  25979. "type": "string"
  25980. },
  25981. "agreeunit": {
  25982. "description": "合约单位",
  25983. "type": "number"
  25984. },
  25985. "amount": {
  25986. "description": "提货金额",
  25987. "type": "number"
  25988. },
  25989. "auditer": {
  25990. "description": "审核人",
  25991. "type": "integer"
  25992. },
  25993. "audittime": {
  25994. "description": "审核时间",
  25995. "type": "string"
  25996. },
  25997. "averageprice": {
  25998. "description": "均价",
  25999. "type": "number"
  26000. },
  26001. "cardnum": {
  26002. "description": "提货人证件号码",
  26003. "type": "string"
  26004. },
  26005. "cardtypeid": {
  26006. "description": "提货人证件类型",
  26007. "type": "integer"
  26008. },
  26009. "checkremark": {
  26010. "description": "审核备注",
  26011. "type": "string"
  26012. },
  26013. "currencysign": {
  26014. "description": "货币符号",
  26015. "type": "string"
  26016. },
  26017. "decimalplace": {
  26018. "description": "报价小数位",
  26019. "type": "integer"
  26020. },
  26021. "goodscode": {
  26022. "description": "商品代码(内部)",
  26023. "type": "string"
  26024. },
  26025. "goodsid": {
  26026. "description": "商品ID",
  26027. "type": "integer"
  26028. },
  26029. "goodsname": {
  26030. "description": "商品名称",
  26031. "type": "string"
  26032. },
  26033. "handlestatus": {
  26034. "description": "处理状态",
  26035. "type": "integer"
  26036. },
  26037. "marketid": {
  26038. "description": "市场ID",
  26039. "type": "integer"
  26040. },
  26041. "phonenum": {
  26042. "description": "提货人联系方式",
  26043. "type": "string"
  26044. },
  26045. "picurls": {
  26046. "description": "介绍图片[多张用逗号分隔]",
  26047. "type": "string"
  26048. },
  26049. "qty": {
  26050. "description": "提货数量",
  26051. "type": "number"
  26052. },
  26053. "recivername": {
  26054. "description": "提货人姓名",
  26055. "type": "string"
  26056. },
  26057. "reqtime": {
  26058. "description": "更新时间",
  26059. "type": "string"
  26060. },
  26061. "takemode": {
  26062. "description": "提货方式 - 2:自提 3:配送",
  26063. "type": "integer"
  26064. },
  26065. "takeorderid": {
  26066. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26067. "type": "string"
  26068. },
  26069. "takeorderstatus": {
  26070. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26071. "type": "integer"
  26072. },
  26073. "takeremark": {
  26074. "description": "提货备注",
  26075. "type": "string"
  26076. },
  26077. "tradedate": {
  26078. "description": "交易日(yyyyMMdd)",
  26079. "type": "string"
  26080. },
  26081. "trademode": {
  26082. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26083. "type": "integer"
  26084. },
  26085. "userid": {
  26086. "description": "用户ID",
  26087. "type": "integer"
  26088. },
  26089. "vendorname": {
  26090. "description": "供应商名称",
  26091. "type": "string"
  26092. }
  26093. }
  26094. },
  26095. "models.HsbyPreGoods": {
  26096. "type": "object",
  26097. "required": [
  26098. "goodscode",
  26099. "goodsid",
  26100. "goodsname",
  26101. "marketid",
  26102. "trademode"
  26103. ],
  26104. "properties": {
  26105. "agreeunit": {
  26106. "description": "合约单位",
  26107. "type": "number"
  26108. },
  26109. "currency": {
  26110. "description": "货币",
  26111. "type": "string"
  26112. },
  26113. "currencysign": {
  26114. "description": "货币符号",
  26115. "type": "string"
  26116. },
  26117. "decimalplace": {
  26118. "description": "报价小数位",
  26119. "type": "integer"
  26120. },
  26121. "desccityid": {
  26122. "description": "目的地(市)",
  26123. "type": "integer"
  26124. },
  26125. "descprovinceid": {
  26126. "description": "目的地(省)",
  26127. "type": "integer"
  26128. },
  26129. "enableqty": {
  26130. "description": "剩余数量",
  26131. "type": "integer"
  26132. },
  26133. "goodscode": {
  26134. "description": "商品代码(内部)",
  26135. "type": "string"
  26136. },
  26137. "goodsid": {
  26138. "description": "商品ID(自增ID SEQ_GOODS)",
  26139. "type": "integer"
  26140. },
  26141. "goodsname": {
  26142. "description": "商品名称",
  26143. "type": "string"
  26144. },
  26145. "goodsstatus": {
  26146. "description": "商品状态- 2:未上市 3:上市",
  26147. "type": "integer"
  26148. },
  26149. "lasttradedate": {
  26150. "description": "最后交易日期(状态:待退市)",
  26151. "type": "string"
  26152. },
  26153. "listingdate": {
  26154. "description": "交易开始日期",
  26155. "type": "string"
  26156. },
  26157. "marketid": {
  26158. "description": "所属市场ID",
  26159. "type": "integer"
  26160. },
  26161. "picurls": {
  26162. "description": "介绍图片[多张用逗号分隔]",
  26163. "type": "string"
  26164. },
  26165. "presaledqty": {
  26166. "description": "已预售量(预售结束时更新)",
  26167. "type": "integer"
  26168. },
  26169. "presaleqty": {
  26170. "description": "预售数量",
  26171. "type": "integer"
  26172. },
  26173. "quoteminunit": {
  26174. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26175. "type": "integer"
  26176. },
  26177. "refprice": {
  26178. "description": "参考价格[一口价]",
  26179. "type": "number"
  26180. },
  26181. "relatedgoodsid": {
  26182. "description": "关联交易合约ID",
  26183. "type": "integer"
  26184. },
  26185. "trademode": {
  26186. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26187. "type": "integer"
  26188. },
  26189. "videourls": {
  26190. "description": "介绍视频[多张用逗号分隔]",
  26191. "type": "string"
  26192. }
  26193. }
  26194. },
  26195. "models.HsbyPreGoodsDetail": {
  26196. "type": "object",
  26197. "required": [
  26198. "goodscode",
  26199. "goodsid",
  26200. "goodsname",
  26201. "marketid",
  26202. "trademode"
  26203. ],
  26204. "properties": {
  26205. "agreeunit": {
  26206. "description": "合约单位",
  26207. "type": "number"
  26208. },
  26209. "buymaxqty": {
  26210. "description": "购买上限 [71] - 0为不限",
  26211. "type": "integer"
  26212. },
  26213. "currency": {
  26214. "description": "货币",
  26215. "type": "string"
  26216. },
  26217. "currencysign": {
  26218. "description": "货币符号",
  26219. "type": "string"
  26220. },
  26221. "customername": {
  26222. "description": "发行单位",
  26223. "type": "string"
  26224. },
  26225. "decimalplace": {
  26226. "description": "报价小数位",
  26227. "type": "integer"
  26228. },
  26229. "desccityid": {
  26230. "description": "目的地(市)ID",
  26231. "type": "integer"
  26232. },
  26233. "descprovinceid": {
  26234. "description": "目的地(省)ID",
  26235. "type": "integer"
  26236. },
  26237. "enableqty": {
  26238. "description": "剩余数量",
  26239. "type": "integer"
  26240. },
  26241. "goodscode": {
  26242. "description": "商品代码(内部)",
  26243. "type": "string"
  26244. },
  26245. "goodsdesc": {
  26246. "description": "商品详情",
  26247. "type": "string"
  26248. },
  26249. "goodsid": {
  26250. "description": "商品ID(自增ID SEQ_GOODS)",
  26251. "type": "integer"
  26252. },
  26253. "goodsname": {
  26254. "description": "商品名称",
  26255. "type": "string"
  26256. },
  26257. "goodsstatus": {
  26258. "description": "商品状态- 2:未上市 3:上市",
  26259. "type": "integer"
  26260. },
  26261. "goodunit": {
  26262. "description": "报价单位",
  26263. "type": "string"
  26264. },
  26265. "lasttradedate": {
  26266. "description": "最后交易日期(状态:待退市)",
  26267. "type": "string"
  26268. },
  26269. "listingdate": {
  26270. "description": "交易开始日期",
  26271. "type": "string"
  26272. },
  26273. "lotsize": {
  26274. "description": "手数最小变动单位",
  26275. "type": "integer"
  26276. },
  26277. "marketid": {
  26278. "description": "所属市场ID",
  26279. "type": "integer"
  26280. },
  26281. "picurls": {
  26282. "description": "介绍图片[多张用逗号分隔]",
  26283. "type": "string"
  26284. },
  26285. "presaledqty": {
  26286. "description": "已预售量(预售结束时更新)",
  26287. "type": "integer"
  26288. },
  26289. "presaleqty": {
  26290. "description": "预售数量",
  26291. "type": "integer"
  26292. },
  26293. "quoteminunit": {
  26294. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26295. "type": "integer"
  26296. },
  26297. "refprice": {
  26298. "description": "参考价格[一口价]",
  26299. "type": "number"
  26300. },
  26301. "relatedgoodsid": {
  26302. "description": "关联交易合约ID",
  26303. "type": "integer"
  26304. },
  26305. "stepvalue": {
  26306. "description": "价格最小变动单位",
  26307. "type": "number"
  26308. },
  26309. "trademode": {
  26310. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26311. "type": "integer"
  26312. },
  26313. "vendorattr": {
  26314. "description": "供应商附件(多张,逗号分隔)",
  26315. "type": "string"
  26316. },
  26317. "vendorname": {
  26318. "description": "供应商名称",
  26319. "type": "string"
  26320. },
  26321. "vendorphone": {
  26322. "description": "供应商客服电话",
  26323. "type": "string"
  26324. },
  26325. "videourls": {
  26326. "description": "介绍视频[多张用逗号分隔]",
  26327. "type": "string"
  26328. }
  26329. }
  26330. },
  26331. "models.HsbySellCollectionOrder": {
  26332. "type": "object",
  26333. "required": [
  26334. "goodscode",
  26335. "goodsname",
  26336. "tradeid",
  26337. "trademode"
  26338. ],
  26339. "properties": {
  26340. "agreeunit": {
  26341. "description": "合约单位",
  26342. "type": "number"
  26343. },
  26344. "buyaccountid": {
  26345. "description": "买方账号ID[报价币种]",
  26346. "type": "integer"
  26347. },
  26348. "buyorderid": {
  26349. "description": "买方委托单号",
  26350. "type": "string"
  26351. },
  26352. "createtime": {
  26353. "description": "创建时间",
  26354. "type": "string"
  26355. },
  26356. "currencysign": {
  26357. "description": "货币符号",
  26358. "type": "string"
  26359. },
  26360. "decimalplace": {
  26361. "description": "报价小数位",
  26362. "type": "integer"
  26363. },
  26364. "goodscode": {
  26365. "description": "商品代码(内部)",
  26366. "type": "string"
  26367. },
  26368. "goodsid": {
  26369. "description": "商品ID",
  26370. "type": "integer"
  26371. },
  26372. "goodsname": {
  26373. "description": "商品名称",
  26374. "type": "string"
  26375. },
  26376. "marketid": {
  26377. "description": "市场ID",
  26378. "type": "integer"
  26379. },
  26380. "offamount": {
  26381. "description": "优惠金额",
  26382. "type": "number"
  26383. },
  26384. "payamount": {
  26385. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26386. "type": "number"
  26387. },
  26388. "payflag": {
  26389. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26390. "type": "integer"
  26391. },
  26392. "paylimitedtime": {
  26393. "description": "支付期限",
  26394. "type": "string"
  26395. },
  26396. "paytime": {
  26397. "description": "付款时间",
  26398. "type": "string"
  26399. },
  26400. "picurls": {
  26401. "description": "商品介绍图片[多张用逗号分隔]",
  26402. "type": "string"
  26403. },
  26404. "sellaccountid": {
  26405. "description": "卖方账号ID[报价币种]",
  26406. "type": "integer"
  26407. },
  26408. "sellorderid": {
  26409. "description": "卖方委托单号",
  26410. "type": "string"
  26411. },
  26412. "tradeamount": {
  26413. "description": "成交金额",
  26414. "type": "number"
  26415. },
  26416. "tradecharge": {
  26417. "description": "成交手续费(买方)",
  26418. "type": "number"
  26419. },
  26420. "tradedate": {
  26421. "description": "交易日(yyyyMMdd)",
  26422. "type": "string"
  26423. },
  26424. "tradeid": {
  26425. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26426. "type": "string"
  26427. },
  26428. "trademode": {
  26429. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26430. "type": "integer"
  26431. },
  26432. "tradeprice": {
  26433. "description": "成交价格",
  26434. "type": "number"
  26435. },
  26436. "tradeqty": {
  26437. "description": "成交数量",
  26438. "type": "integer"
  26439. }
  26440. }
  26441. },
  26442. "models.HsbySellMyDetail": {
  26443. "type": "object",
  26444. "required": [
  26445. "accountid",
  26446. "buyorsell",
  26447. "goodscode",
  26448. "goodsid",
  26449. "goodsname",
  26450. "marketid",
  26451. "orderid",
  26452. "time",
  26453. "trademode"
  26454. ],
  26455. "properties": {
  26456. "accountid": {
  26457. "description": "账户ID[报价币种]",
  26458. "type": "integer"
  26459. },
  26460. "agreeunit": {
  26461. "description": "合约单位",
  26462. "type": "number"
  26463. },
  26464. "buyorsell": {
  26465. "description": "买卖 - 0:买 1:卖",
  26466. "type": "integer"
  26467. },
  26468. "currencysign": {
  26469. "description": "货币符号",
  26470. "type": "string"
  26471. },
  26472. "decimalplace": {
  26473. "description": "报价小数位",
  26474. "type": "integer"
  26475. },
  26476. "goodscode": {
  26477. "description": "商品代码(内部)",
  26478. "type": "string"
  26479. },
  26480. "goodsid": {
  26481. "description": "商品ID",
  26482. "type": "integer"
  26483. },
  26484. "goodsname": {
  26485. "description": "商品名称",
  26486. "type": "string"
  26487. },
  26488. "marketid": {
  26489. "description": "市场ID",
  26490. "type": "integer"
  26491. },
  26492. "orderid": {
  26493. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26494. "type": "string"
  26495. },
  26496. "ordertype": {
  26497. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26498. "type": "integer"
  26499. },
  26500. "picurls": {
  26501. "description": "介绍图片[多张用逗号分隔]",
  26502. "type": "string"
  26503. },
  26504. "price": {
  26505. "description": "价格",
  26506. "type": "number"
  26507. },
  26508. "qty": {
  26509. "description": "数量",
  26510. "type": "integer"
  26511. },
  26512. "time": {
  26513. "description": "时间",
  26514. "type": "string"
  26515. },
  26516. "trademode": {
  26517. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26518. "type": "integer"
  26519. },
  26520. "vendorname": {
  26521. "description": "供应商名称",
  26522. "type": "string"
  26523. }
  26524. }
  26525. },
  26526. "models.HsbyTopGoods": {
  26527. "type": "object",
  26528. "required": [
  26529. "goodscode",
  26530. "goodsid",
  26531. "goodsname",
  26532. "marketid",
  26533. "trademode"
  26534. ],
  26535. "properties": {
  26536. "agreeunit": {
  26537. "description": "合约单位",
  26538. "type": "number"
  26539. },
  26540. "currency": {
  26541. "description": "货币",
  26542. "type": "string"
  26543. },
  26544. "currencysign": {
  26545. "description": "货币符号",
  26546. "type": "string"
  26547. },
  26548. "decimalplace": {
  26549. "description": "报价小数位",
  26550. "type": "integer"
  26551. },
  26552. "desccityid": {
  26553. "description": "目的地(市)",
  26554. "type": "integer"
  26555. },
  26556. "descprovinceid": {
  26557. "description": "目的地(省)",
  26558. "type": "integer"
  26559. },
  26560. "goodscode": {
  26561. "description": "商品代码(内部)",
  26562. "type": "string"
  26563. },
  26564. "goodsid": {
  26565. "description": "商品ID(自增ID SEQ_GOODS)",
  26566. "type": "integer"
  26567. },
  26568. "goodsname": {
  26569. "description": "商品名称",
  26570. "type": "string"
  26571. },
  26572. "hotindex": {
  26573. "description": "景点热度",
  26574. "type": "integer"
  26575. },
  26576. "last": {
  26577. "description": "现价",
  26578. "type": "number"
  26579. },
  26580. "marketid": {
  26581. "description": "所属市场ID",
  26582. "type": "integer"
  26583. },
  26584. "picurls": {
  26585. "description": "介绍图片[多张用逗号分隔]",
  26586. "type": "string"
  26587. },
  26588. "quoteminunit": {
  26589. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26590. "type": "integer"
  26591. },
  26592. "trademode": {
  26593. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26594. "type": "integer"
  26595. },
  26596. "videourls": {
  26597. "description": "介绍视频[多张用逗号分隔]",
  26598. "type": "string"
  26599. }
  26600. }
  26601. },
  26602. "models.HybsMyBuyOrderDetail": {
  26603. "type": "object",
  26604. "required": [
  26605. "accountid",
  26606. "buyorsell",
  26607. "goodscode",
  26608. "goodsid",
  26609. "goodsname",
  26610. "marketid",
  26611. "orderid",
  26612. "orderqty",
  26613. "ordertime",
  26614. "trademode"
  26615. ],
  26616. "properties": {
  26617. "accountid": {
  26618. "description": "账户ID[报价币种]",
  26619. "type": "integer"
  26620. },
  26621. "agreeunit": {
  26622. "description": "合约单位",
  26623. "type": "number"
  26624. },
  26625. "buyorsell": {
  26626. "description": "买卖 - 0:买 1:卖",
  26627. "type": "integer"
  26628. },
  26629. "cancelqty": {
  26630. "description": "撤单数量",
  26631. "type": "integer"
  26632. },
  26633. "currencysign": {
  26634. "description": "货币符号",
  26635. "type": "string"
  26636. },
  26637. "decimalplace": {
  26638. "description": "报价小数位",
  26639. "type": "integer"
  26640. },
  26641. "goodscode": {
  26642. "description": "商品代码(内部)",
  26643. "type": "string"
  26644. },
  26645. "goodsid": {
  26646. "description": "商品ID",
  26647. "type": "integer"
  26648. },
  26649. "goodsname": {
  26650. "description": "商品名称",
  26651. "type": "string"
  26652. },
  26653. "listingselecttype": {
  26654. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26655. "type": "integer"
  26656. },
  26657. "marketid": {
  26658. "description": "市场ID",
  26659. "type": "integer"
  26660. },
  26661. "mybuystatus": {
  26662. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  26663. "type": "integer"
  26664. },
  26665. "orderamount": {
  26666. "description": "委托金额",
  26667. "type": "number"
  26668. },
  26669. "orderid": {
  26670. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26671. "type": "string"
  26672. },
  26673. "orderprice": {
  26674. "description": "委托价格",
  26675. "type": "number"
  26676. },
  26677. "orderqty": {
  26678. "description": "委托数量",
  26679. "type": "integer"
  26680. },
  26681. "orderstatus": {
  26682. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26683. "type": "integer"
  26684. },
  26685. "ordertime": {
  26686. "description": "委托时间",
  26687. "type": "string"
  26688. },
  26689. "picurls1": {
  26690. "description": "预售商品介绍图片[多张用逗号分隔]",
  26691. "type": "string"
  26692. },
  26693. "picurls2": {
  26694. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26695. "type": "string"
  26696. },
  26697. "trademode": {
  26698. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26699. "type": "integer"
  26700. },
  26701. "tradeqty": {
  26702. "description": "成交数量",
  26703. "type": "integer"
  26704. },
  26705. "vendorname1": {
  26706. "description": "预售商品供应商名称",
  26707. "type": "string"
  26708. },
  26709. "vendorname2": {
  26710. "description": "挂牌商品供应商名称",
  26711. "type": "string"
  26712. }
  26713. }
  26714. },
  26715. "models.Loginaccount": {
  26716. "type": "object",
  26717. "required": [
  26718. "loginid"
  26719. ],
  26720. "properties": {
  26721. "accountname": {
  26722. "description": "账户名称",
  26723. "type": "string"
  26724. },
  26725. "canoutin": {
  26726. "description": "是否可出入金 - 0:不可 1:可",
  26727. "type": "integer"
  26728. },
  26729. "clientroleid": {
  26730. "description": "终端角色ID",
  26731. "type": "integer"
  26732. },
  26733. "haslogined": {
  26734. "description": "是否已登录 - 0:未登录 1:已登录",
  26735. "type": "integer"
  26736. },
  26737. "hasupdatedpwd": {
  26738. "description": "是否已更改密码 - 0:未修改 1:已修改",
  26739. "type": "integer"
  26740. },
  26741. "lastloginip": {
  26742. "description": "最新登录地址",
  26743. "type": "string"
  26744. },
  26745. "lastloginmode": {
  26746. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26747. "type": "integer"
  26748. },
  26749. "lastloginremark": {
  26750. "description": "最新登录描述",
  26751. "type": "string"
  26752. },
  26753. "lastlogintime": {
  26754. "description": "最新登录时间",
  26755. "type": "string"
  26756. },
  26757. "logincode": {
  26758. "description": "登录代码",
  26759. "type": "string"
  26760. },
  26761. "loginfailnum": {
  26762. "description": "连续登录失败次数(登录成功时清零)",
  26763. "type": "integer"
  26764. },
  26765. "loginid": {
  26766. "description": "登陆账号",
  26767. "type": "integer"
  26768. },
  26769. "loginport": {
  26770. "description": "最新登录端口",
  26771. "type": "integer"
  26772. },
  26773. "loginstatus": {
  26774. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  26775. "type": "integer"
  26776. },
  26777. "loginusertype": {
  26778. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  26779. "type": "integer"
  26780. },
  26781. "mobile": {
  26782. "description": "手机号码(加密存储)",
  26783. "type": "string"
  26784. },
  26785. "modifierid": {
  26786. "description": "修改人",
  26787. "type": "integer"
  26788. },
  26789. "modifysrc": {
  26790. "description": "审核来源 - 1:管理端 2:终端",
  26791. "type": "integer"
  26792. },
  26793. "modifytime": {
  26794. "description": "修改时间",
  26795. "type": "string"
  26796. },
  26797. "password": {
  26798. "description": "登陆密码",
  26799. "type": "string"
  26800. },
  26801. "pwdwrongcount": {
  26802. "description": "密码错误次数",
  26803. "type": "integer"
  26804. },
  26805. "relateduserid": {
  26806. "description": "关联用户ID(机构)",
  26807. "type": "integer"
  26808. },
  26809. "taaccountrighttype": {
  26810. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  26811. "type": "integer"
  26812. },
  26813. "unfreezetime": {
  26814. "description": "账户解冻时间",
  26815. "type": "string"
  26816. },
  26817. "userid": {
  26818. "description": "用户ID",
  26819. "type": "integer"
  26820. }
  26821. }
  26822. },
  26823. "models.MainAccountInfo": {
  26824. "type": "object",
  26825. "properties": {
  26826. "accountid": {
  26827. "description": "账号id",
  26828. "type": "integer"
  26829. },
  26830. "accountname": {
  26831. "description": "账号名称(taaccount表中的名称)",
  26832. "type": "string"
  26833. },
  26834. "appid": {
  26835. "description": "AppID",
  26836. "type": "string"
  26837. },
  26838. "authcode": {
  26839. "description": "授权码",
  26840. "type": "string"
  26841. },
  26842. "brokerid": {
  26843. "description": "经纪商id",
  26844. "type": "string"
  26845. },
  26846. "fcid": {
  26847. "description": "期货公司id",
  26848. "type": "integer"
  26849. },
  26850. "fcname": {
  26851. "description": "期货公司代码",
  26852. "type": "string"
  26853. },
  26854. "hedgeaccountcode": {
  26855. "description": "外部账号代码(主账号登录代码)",
  26856. "type": "string"
  26857. },
  26858. "hedgeaccountpwd": {
  26859. "description": "密码",
  26860. "type": "string"
  26861. },
  26862. "ismain": {
  26863. "description": "是否主账号",
  26864. "type": "integer"
  26865. },
  26866. "relateduserid": {
  26867. "description": "关联用户id",
  26868. "type": "integer"
  26869. },
  26870. "userid": {
  26871. "description": "关联用户id",
  26872. "type": "integer"
  26873. }
  26874. }
  26875. },
  26876. "models.Market": {
  26877. "type": "object",
  26878. "required": [
  26879. "marketid",
  26880. "marketstatus",
  26881. "openmethod",
  26882. "reckonpricealgorithm",
  26883. "trademode",
  26884. "tradeproperty"
  26885. ],
  26886. "properties": {
  26887. "auctionwrtype": {
  26888. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  26889. "type": "integer"
  26890. },
  26891. "canacceptquote": {
  26892. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  26893. "type": "integer"
  26894. },
  26895. "cangoodsexercise": {
  26896. "description": "[期权]是否可现货行权- 0:否 1:是",
  26897. "type": "integer"
  26898. },
  26899. "cangoodsexercisetype": {
  26900. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  26901. "type": "integer"
  26902. },
  26903. "canmanualquotestrike": {
  26904. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  26905. "type": "integer"
  26906. },
  26907. "canmutistage": {
  26908. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  26909. "type": "integer"
  26910. },
  26911. "canpreexercise": {
  26912. "description": "[期权]是否可预申报- 0:否 1:是",
  26913. "type": "integer"
  26914. },
  26915. "clearinterval": {
  26916. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  26917. "type": "integer"
  26918. },
  26919. "contracttmp": {
  26920. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  26921. "type": "string"
  26922. },
  26923. "exchareaid": {
  26924. "description": "所属交易所,可以没有",
  26925. "type": "integer"
  26926. },
  26927. "goodstype": {
  26928. "description": "商品类型 - 1:交易商品 2:仓单商品",
  26929. "type": "integer"
  26930. },
  26931. "hasrebate": {
  26932. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  26933. "type": "integer"
  26934. },
  26935. "hastradecredit": {
  26936. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  26937. "type": "integer"
  26938. },
  26939. "haswr": {
  26940. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  26941. "type": "integer"
  26942. },
  26943. "isdeductmargin": {
  26944. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  26945. "type": "integer"
  26946. },
  26947. "isrecordsource": {
  26948. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  26949. "type": "integer"
  26950. },
  26951. "isreleasemargin": {
  26952. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  26953. "type": "integer"
  26954. },
  26955. "marginformula": {
  26956. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  26957. "type": "integer"
  26958. },
  26959. "marginformula2": {
  26960. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  26961. "type": "integer"
  26962. },
  26963. "marketid": {
  26964. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26965. "type": "integer"
  26966. },
  26967. "marketname": {
  26968. "description": "市场名称",
  26969. "type": "string"
  26970. },
  26971. "marketserviceid": {
  26972. "description": "市场服务ID",
  26973. "type": "integer"
  26974. },
  26975. "marketstatus": {
  26976. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26977. "type": "integer"
  26978. },
  26979. "markettype": {
  26980. "description": "市场类型- 1:非交易服务 2:交易服务",
  26981. "type": "integer"
  26982. },
  26983. "matchermode": {
  26984. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  26985. "type": "integer"
  26986. },
  26987. "openmethod": {
  26988. "description": "开盘模式 - 0 自动 1手动",
  26989. "type": "integer"
  26990. },
  26991. "otcuserid": {
  26992. "description": "场外期权做市商[场外期权]",
  26993. "type": "integer"
  26994. },
  26995. "outersynctime": {
  26996. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  26997. "type": "string"
  26998. },
  26999. "pendingflag": {
  27000. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27001. "type": "integer"
  27002. },
  27003. "pendingtime": {
  27004. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27005. "type": "string"
  27006. },
  27007. "performancetempid": {
  27008. "description": "履约计划模板ID - 作废",
  27009. "type": "integer"
  27010. },
  27011. "premiumquotemode": {
  27012. "description": "权利金报价方式 - 1:自动 2:手动",
  27013. "type": "integer"
  27014. },
  27015. "rebateratio": {
  27016. "description": "返利比率[竞价式]",
  27017. "type": "number"
  27018. },
  27019. "reckonorder": {
  27020. "description": "结算顺序",
  27021. "type": "integer"
  27022. },
  27023. "reckonpricealgorithm": {
  27024. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27025. "type": "integer"
  27026. },
  27027. "reckonpriceparam": {
  27028. "description": "结算价参数",
  27029. "type": "integer"
  27030. },
  27031. "reckontime": {
  27032. "description": "结算时间[通道交易-对冲](HH:mm)",
  27033. "type": "string"
  27034. },
  27035. "roleprioritytype": {
  27036. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27037. "type": "integer"
  27038. },
  27039. "selllistingauditflag": {
  27040. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27041. "type": "integer"
  27042. },
  27043. "trademarkettype": {
  27044. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27045. "type": "integer"
  27046. },
  27047. "trademode": {
  27048. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27049. "type": "integer"
  27050. },
  27051. "tradeproperty": {
  27052. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27053. "type": "integer"
  27054. },
  27055. "tradetype": {
  27056. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27057. "type": "integer"
  27058. }
  27059. }
  27060. },
  27061. "models.Marketrun": {
  27062. "type": "object",
  27063. "required": [
  27064. "marketid",
  27065. "nexttradedate",
  27066. "reckonflag",
  27067. "runstatus",
  27068. "tradedate",
  27069. "tradedate2"
  27070. ],
  27071. "properties": {
  27072. "afternexttradedate": {
  27073. "description": "下下交易日",
  27074. "type": "string"
  27075. },
  27076. "clearquoteflag": {
  27077. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27078. "type": "integer"
  27079. },
  27080. "lastreckondate": {
  27081. "description": "最新交易日(结算成功)",
  27082. "type": "string"
  27083. },
  27084. "machinedate": {
  27085. "description": "机器时间",
  27086. "type": "string"
  27087. },
  27088. "manualflag": {
  27089. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27090. "type": "integer"
  27091. },
  27092. "marketid": {
  27093. "description": "市场ID",
  27094. "type": "integer"
  27095. },
  27096. "nexttradedate": {
  27097. "description": "下一交易日",
  27098. "type": "string"
  27099. },
  27100. "pretradedate": {
  27101. "description": "上一交易日",
  27102. "type": "string"
  27103. },
  27104. "reckonflag": {
  27105. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27106. "type": "integer"
  27107. },
  27108. "runstatus": {
  27109. "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.今日免清算",
  27110. "type": "integer"
  27111. },
  27112. "sectionid": {
  27113. "description": "时间段号[多时段时用]",
  27114. "type": "integer"
  27115. },
  27116. "tradedate": {
  27117. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27118. "type": "string"
  27119. },
  27120. "tradedate2": {
  27121. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27122. "type": "string"
  27123. },
  27124. "updatetime": {
  27125. "description": "更新时间",
  27126. "type": "string"
  27127. }
  27128. }
  27129. },
  27130. "models.Messageboard": {
  27131. "type": "object",
  27132. "required": [
  27133. "messageboardid"
  27134. ],
  27135. "properties": {
  27136. "contactnum": {
  27137. "description": "联系电话",
  27138. "type": "string"
  27139. },
  27140. "createtime": {
  27141. "description": "创建时间",
  27142. "type": "string"
  27143. },
  27144. "message": {
  27145. "description": "留言信息",
  27146. "type": "string"
  27147. },
  27148. "messageboardid": {
  27149. "description": "留言簿ID(SEQ_MessageBoard)",
  27150. "type": "integer"
  27151. },
  27152. "userid": {
  27153. "description": "用户ID",
  27154. "type": "integer"
  27155. }
  27156. }
  27157. },
  27158. "models.MyCoupon": {
  27159. "type": "object",
  27160. "required": [
  27161. "accountid",
  27162. "coupontypeid"
  27163. ],
  27164. "properties": {
  27165. "accountid": {
  27166. "description": "资金账户ID",
  27167. "type": "integer"
  27168. },
  27169. "areauserid": {
  27170. "description": "所属机构",
  27171. "type": "integer"
  27172. },
  27173. "conditionvalue": {
  27174. "description": "条件阈值(可为0)",
  27175. "type": "number"
  27176. },
  27177. "couponcategroy": {
  27178. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27179. "type": "integer"
  27180. },
  27181. "couponname": {
  27182. "description": "优惠券名称",
  27183. "type": "string"
  27184. },
  27185. "coupontypeid": {
  27186. "description": "优惠券类型ID",
  27187. "type": "string"
  27188. },
  27189. "couponvalue": {
  27190. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27191. "type": "number"
  27192. },
  27193. "curfreezeqty": {
  27194. "description": "期末冻结数量",
  27195. "type": "integer"
  27196. },
  27197. "curqty": {
  27198. "description": "期末数量",
  27199. "type": "integer"
  27200. },
  27201. "isgeneral": {
  27202. "description": "是否通用券 - 0:否 1:是",
  27203. "type": "integer"
  27204. },
  27205. "isunusable": {
  27206. "description": "是否不可用",
  27207. "type": "boolean"
  27208. },
  27209. "limitedflag": {
  27210. "description": "是否指定商品 - 0:不限 1:限制",
  27211. "type": "integer"
  27212. },
  27213. "limitedgoodsids": {
  27214. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27215. "type": "string"
  27216. },
  27217. "orifreezeqty": {
  27218. "description": "期初冻结数量",
  27219. "type": "integer"
  27220. },
  27221. "oriqty": {
  27222. "description": "期初数量",
  27223. "type": "integer"
  27224. },
  27225. "reasontype": {
  27226. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27227. "type": "integer"
  27228. },
  27229. "todaydecrease": {
  27230. "description": "今日减少",
  27231. "type": "integer"
  27232. },
  27233. "todayincrease": {
  27234. "description": "今日增加",
  27235. "type": "integer"
  27236. },
  27237. "userid": {
  27238. "description": "用户ID",
  27239. "type": "integer"
  27240. },
  27241. "userscope": {
  27242. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27243. "type": "string"
  27244. }
  27245. }
  27246. },
  27247. "models.MyCouponHold": {
  27248. "type": "object",
  27249. "required": [
  27250. "couponholdid"
  27251. ],
  27252. "properties": {
  27253. "accountid": {
  27254. "description": "资金账户ID",
  27255. "type": "integer"
  27256. },
  27257. "conditionvalue": {
  27258. "description": "条件阈值(可为0)",
  27259. "type": "number"
  27260. },
  27261. "couponcategroy": {
  27262. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27263. "type": "integer"
  27264. },
  27265. "couponholdid": {
  27266. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27267. "type": "string"
  27268. },
  27269. "couponname": {
  27270. "description": "优惠券名称",
  27271. "type": "string"
  27272. },
  27273. "coupontypeid": {
  27274. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27275. "type": "string"
  27276. },
  27277. "couponvalue": {
  27278. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27279. "type": "number"
  27280. },
  27281. "createtime": {
  27282. "description": "创建时间",
  27283. "type": "string"
  27284. },
  27285. "enddate": {
  27286. "description": "结束日期",
  27287. "type": "string"
  27288. },
  27289. "giveapplyid": {
  27290. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27291. "type": "integer"
  27292. },
  27293. "holdstatus": {
  27294. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27295. "type": "integer"
  27296. },
  27297. "isgeneral": {
  27298. "description": "是否通用券 - 0:否 1:是",
  27299. "type": "integer"
  27300. },
  27301. "limitedflag": {
  27302. "description": "是否指定商品 - 0:不限 1:限制",
  27303. "type": "integer"
  27304. },
  27305. "limitedgoodsids": {
  27306. "description": "指定商品IDs[逗号分隔]",
  27307. "type": "string"
  27308. },
  27309. "qty": {
  27310. "description": "数量(按1平铺)",
  27311. "type": "integer"
  27312. },
  27313. "startdate": {
  27314. "description": "开始日期",
  27315. "type": "string"
  27316. },
  27317. "userid": {
  27318. "description": "用户ID",
  27319. "type": "integer"
  27320. },
  27321. "userscope": {
  27322. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27323. "type": "string"
  27324. }
  27325. }
  27326. },
  27327. "models.MyUsedCoupon": {
  27328. "type": "object",
  27329. "required": [
  27330. "coupontypeid",
  27331. "orderid"
  27332. ],
  27333. "properties": {
  27334. "accountid": {
  27335. "description": "资金账户ID(买方)",
  27336. "type": "integer"
  27337. },
  27338. "conditionvalue": {
  27339. "description": "条件阈值(可为0)",
  27340. "type": "number"
  27341. },
  27342. "couponcategroy": {
  27343. "description": "种类 - 1:现金券 2:折扣券",
  27344. "type": "integer"
  27345. },
  27346. "couponname": {
  27347. "description": "优惠券名称",
  27348. "type": "string"
  27349. },
  27350. "coupontypeid": {
  27351. "description": "优惠券类型ID(买方)",
  27352. "type": "string"
  27353. },
  27354. "couponvalue": {
  27355. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27356. "type": "number"
  27357. },
  27358. "createtime": {
  27359. "description": "创建时间",
  27360. "type": "string"
  27361. },
  27362. "goodsid": {
  27363. "description": "商品ID",
  27364. "type": "integer"
  27365. },
  27366. "handlestatus": {
  27367. "description": "处理状态",
  27368. "type": "integer"
  27369. },
  27370. "marketid": {
  27371. "description": "市场ID",
  27372. "type": "integer"
  27373. },
  27374. "offamount": {
  27375. "description": "优惠金额",
  27376. "type": "number"
  27377. },
  27378. "orderid": {
  27379. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27380. "type": "string"
  27381. },
  27382. "sellaccountid": {
  27383. "description": "资金账户ID(卖方)",
  27384. "type": "integer"
  27385. },
  27386. "tradeamount": {
  27387. "description": "成交金额",
  27388. "type": "number"
  27389. },
  27390. "tradeid": {
  27391. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27392. "type": "string"
  27393. },
  27394. "usedqty": {
  27395. "description": "使用数量",
  27396. "type": "integer"
  27397. }
  27398. }
  27399. },
  27400. "models.OperationPrimaryMenu": {
  27401. "type": "object",
  27402. "properties": {
  27403. "Children": {
  27404. "description": "二级功能菜单",
  27405. "type": "array",
  27406. "items": {
  27407. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27408. }
  27409. },
  27410. "Key": {
  27411. "description": "菜单KEY",
  27412. "type": "string"
  27413. },
  27414. "Label": {
  27415. "description": "菜单标题",
  27416. "type": "string"
  27417. }
  27418. }
  27419. },
  27420. "models.OperationSecondaryMenu": {
  27421. "type": "object",
  27422. "properties": {
  27423. "Key": {
  27424. "description": "菜单KEY",
  27425. "type": "string"
  27426. },
  27427. "Label": {
  27428. "description": "菜单标题",
  27429. "type": "string"
  27430. },
  27431. "TabList": {
  27432. "description": "三级功能菜单",
  27433. "type": "array",
  27434. "items": {
  27435. "$ref": "#/definitions/models.OperationTabMenu"
  27436. }
  27437. }
  27438. }
  27439. },
  27440. "models.OperationTabMenu": {
  27441. "type": "object",
  27442. "properties": {
  27443. "Key": {
  27444. "description": "菜单KEY",
  27445. "type": "string"
  27446. },
  27447. "Label": {
  27448. "description": "菜单标题",
  27449. "type": "string"
  27450. }
  27451. }
  27452. },
  27453. "models.QhjAccountOutInApply": {
  27454. "type": "object",
  27455. "properties": {
  27456. "accountcode": {
  27457. "description": "资金账号",
  27458. "type": "string"
  27459. },
  27460. "accountname": {
  27461. "description": "用户名称(名称)",
  27462. "type": "string"
  27463. },
  27464. "accountpwd": {
  27465. "description": "资金密码",
  27466. "type": "string"
  27467. },
  27468. "accountticket": {
  27469. "description": "最新账户服务流水号",
  27470. "type": "string"
  27471. },
  27472. "amount": {
  27473. "description": "金额",
  27474. "type": "number"
  27475. },
  27476. "applyremark": {
  27477. "description": "申请备注",
  27478. "type": "string"
  27479. },
  27480. "applystatus": {
  27481. "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: 复审通过,账户冻结金额检查中;",
  27482. "type": "integer"
  27483. },
  27484. "auditid": {
  27485. "description": "审核人",
  27486. "type": "integer"
  27487. },
  27488. "audittime": {
  27489. "description": "审核时间",
  27490. "type": "string"
  27491. },
  27492. "bank_apply_ticket": {
  27493. "description": "银行申请流水",
  27494. "type": "string"
  27495. },
  27496. "bankaccountname": {
  27497. "description": "银行账户名",
  27498. "type": "string"
  27499. },
  27500. "bankaccountno": {
  27501. "description": "银行卡号",
  27502. "type": "string"
  27503. },
  27504. "bankid": {
  27505. "description": "银行编号",
  27506. "type": "string"
  27507. },
  27508. "bankticket": {
  27509. "description": "银行流水",
  27510. "type": "string"
  27511. },
  27512. "branchbankid": {
  27513. "description": "银行支行号",
  27514. "type": "string"
  27515. },
  27516. "branchbankname": {
  27517. "description": "银行支行名称",
  27518. "type": "string"
  27519. },
  27520. "capamountout": {
  27521. "description": "出金(劣后本金) - 外部子账户",
  27522. "type": "number"
  27523. },
  27524. "certificatephotourl": {
  27525. "description": "凭证地址",
  27526. "type": "string"
  27527. },
  27528. "charge": {
  27529. "description": "手续费",
  27530. "type": "number"
  27531. },
  27532. "checkerrorflag": {
  27533. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27534. "type": "integer"
  27535. },
  27536. "currency": {
  27537. "description": "币种",
  27538. "type": "string"
  27539. },
  27540. "cusbankid": {
  27541. "description": "托管银行编号",
  27542. "type": "string"
  27543. },
  27544. "exchticket": {
  27545. "description": "银行服务流水号",
  27546. "type": "string"
  27547. },
  27548. "executetype": {
  27549. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27550. "type": "integer"
  27551. },
  27552. "extendinfo": {
  27553. "description": "扩展信息",
  27554. "type": "string"
  27555. },
  27556. "extoperateid": {
  27557. "description": "交易服务流水号",
  27558. "type": "integer"
  27559. },
  27560. "infamount": {
  27561. "description": "劣后金额(自有)",
  27562. "type": "number"
  27563. },
  27564. "logincode": {
  27565. "description": "登录账号(账号)",
  27566. "type": "string"
  27567. },
  27568. "netaddr": {
  27569. "description": "调转网址",
  27570. "type": "string"
  27571. },
  27572. "priamount": {
  27573. "description": "优先金额(授信)",
  27574. "type": "number"
  27575. },
  27576. "reauditid": {
  27577. "description": "复审人",
  27578. "type": "integer"
  27579. },
  27580. "reauditremark": {
  27581. "description": "复审备注",
  27582. "type": "string"
  27583. },
  27584. "reaudittime": {
  27585. "description": "复审时间",
  27586. "type": "string"
  27587. },
  27588. "relatedorderid": {
  27589. "description": "三方关联ID",
  27590. "type": "string"
  27591. },
  27592. "remark": {
  27593. "description": "备注",
  27594. "type": "string"
  27595. },
  27596. "remark2": {
  27597. "description": "备注(失败原因)",
  27598. "type": "string"
  27599. },
  27600. "soucreamount": {
  27601. "description": "原始出入金金额",
  27602. "type": "number"
  27603. },
  27604. "soucrecurrencyid": {
  27605. "description": "原始出入金币种",
  27606. "type": "integer"
  27607. },
  27608. "tradedate": {
  27609. "description": "交易日(yyyyMMdd)",
  27610. "type": "string"
  27611. },
  27612. "updatetime": {
  27613. "description": "更新时间(申请时间)",
  27614. "type": "string"
  27615. },
  27616. "userid": {
  27617. "description": "用户id",
  27618. "type": "integer"
  27619. },
  27620. "userinfotype": {
  27621. "description": "账户类型 1-个人 2-企业",
  27622. "type": "integer"
  27623. }
  27624. }
  27625. },
  27626. "models.QhjAgreementChangeLog": {
  27627. "type": "object",
  27628. "properties": {
  27629. "agreementcontent": {
  27630. "description": "协议内容",
  27631. "type": "string"
  27632. },
  27633. "agreementfrequency": {
  27634. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27635. "type": "integer"
  27636. },
  27637. "agreementid": {
  27638. "description": "协议ID",
  27639. "type": "integer"
  27640. },
  27641. "agreementname": {
  27642. "description": "协议名称",
  27643. "type": "string"
  27644. },
  27645. "agreementno": {
  27646. "description": "协议编号",
  27647. "type": "string"
  27648. },
  27649. "agreementtype": {
  27650. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27651. "type": "integer"
  27652. },
  27653. "agreementversion": {
  27654. "description": "协议版本号",
  27655. "type": "integer"
  27656. },
  27657. "logid": {
  27658. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  27659. "type": "integer"
  27660. },
  27661. "reviserid": {
  27662. "description": "修改人",
  27663. "type": "integer"
  27664. },
  27665. "revisersrc": {
  27666. "description": "修改来源 - 1:管理端 2:终端",
  27667. "type": "integer"
  27668. },
  27669. "updatetime": {
  27670. "description": "更新时间",
  27671. "type": "string"
  27672. }
  27673. }
  27674. },
  27675. "models.QhjAgreementConfig": {
  27676. "type": "object",
  27677. "properties": {
  27678. "agreementcontent": {
  27679. "description": "协议内容",
  27680. "type": "string"
  27681. },
  27682. "agreementfrequency": {
  27683. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27684. "type": "integer"
  27685. },
  27686. "agreementid": {
  27687. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  27688. "type": "integer"
  27689. },
  27690. "agreementname": {
  27691. "description": "协议名称",
  27692. "type": "string"
  27693. },
  27694. "agreementno": {
  27695. "description": "协议编号",
  27696. "type": "string"
  27697. },
  27698. "agreementtype": {
  27699. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27700. "type": "integer"
  27701. },
  27702. "agreementversion": {
  27703. "description": "协议版本号(从1开始每次修改加1)",
  27704. "type": "integer"
  27705. },
  27706. "createtime": {
  27707. "description": "创建时间",
  27708. "type": "string"
  27709. },
  27710. "creatorid": {
  27711. "description": "创建人",
  27712. "type": "integer"
  27713. },
  27714. "creatorsrc": {
  27715. "description": "创建来源 - 1:管理端 2:终端",
  27716. "type": "integer"
  27717. },
  27718. "isvalid": {
  27719. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  27720. "type": "integer"
  27721. },
  27722. "reviserid": {
  27723. "description": "修改人",
  27724. "type": "integer"
  27725. },
  27726. "revisersrc": {
  27727. "description": "修改来源 - 1:管理端 2:终端",
  27728. "type": "integer"
  27729. },
  27730. "updatetime": {
  27731. "description": "更新时间",
  27732. "type": "string"
  27733. }
  27734. }
  27735. },
  27736. "models.QhjAreaFinanceConfig": {
  27737. "type": "object",
  27738. "properties": {
  27739. "additionalratio": {
  27740. "description": "追加款比例",
  27741. "type": "number"
  27742. },
  27743. "advanceratio": {
  27744. "description": "预付款比例",
  27745. "type": "number"
  27746. },
  27747. "alarmratio": {
  27748. "description": "告警比例",
  27749. "type": "number"
  27750. },
  27751. "consumptiondirectreward": {
  27752. "description": "消费直推奖励值",
  27753. "type": "number"
  27754. },
  27755. "consumptionenabled": {
  27756. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  27757. "type": "integer"
  27758. },
  27759. "consumptionindirectreward": {
  27760. "description": "消费间推奖励值",
  27761. "type": "number"
  27762. },
  27763. "consumptionmodel": {
  27764. "description": "消费奖励方式 - 1:比率 2:固定",
  27765. "type": "integer"
  27766. },
  27767. "customerservicenum": {
  27768. "description": "客服电话",
  27769. "type": "string"
  27770. },
  27771. "dayinterestrate": {
  27772. "description": "日利率",
  27773. "type": "number"
  27774. },
  27775. "disableconsumptiontips": {
  27776. "description": "关闭消费奖励提示",
  27777. "type": "string"
  27778. },
  27779. "modifierid": {
  27780. "description": "修改人ID",
  27781. "type": "integer"
  27782. },
  27783. "modifysrc": {
  27784. "description": "审核来源 - 1:管理端 2:终端",
  27785. "type": "integer"
  27786. },
  27787. "modifytime": {
  27788. "description": "修改时间",
  27789. "type": "string"
  27790. },
  27791. "promotionvalue": {
  27792. "description": "推广奖励值(固定)",
  27793. "type": "number"
  27794. },
  27795. "scoreconfigvalue1": {
  27796. "description": "提货积分配置1",
  27797. "type": "integer"
  27798. },
  27799. "scoreconfigvalue2": {
  27800. "description": "提货积分配置2",
  27801. "type": "integer"
  27802. },
  27803. "userid": {
  27804. "description": "机构用户ID其他做市关系,都设置为 1",
  27805. "type": "integer"
  27806. },
  27807. "username": {
  27808. "description": "用户名称",
  27809. "type": "string"
  27810. }
  27811. }
  27812. },
  27813. "models.QhjBankAccountSign": {
  27814. "type": "object",
  27815. "properties": {
  27816. "accountcode": {
  27817. "description": "资金账号",
  27818. "type": "string"
  27819. },
  27820. "accountname": {
  27821. "description": "资金账号对应的账号名(UserName)",
  27822. "type": "string"
  27823. },
  27824. "accountname2": {
  27825. "description": "资金账号对应的账号名(UserName) - 密文",
  27826. "type": "string"
  27827. },
  27828. "accounttype": {
  27829. "description": "账户类型(UserType)",
  27830. "type": "integer"
  27831. },
  27832. "applicationtime": {
  27833. "description": "最后一次更新的时间",
  27834. "type": "string"
  27835. },
  27836. "applyexchticket": {
  27837. "description": "申请流水",
  27838. "type": "string"
  27839. },
  27840. "auditid": {
  27841. "description": "审核人",
  27842. "type": "integer"
  27843. },
  27844. "audittime": {
  27845. "description": "审核时间",
  27846. "type": "string"
  27847. },
  27848. "bankaccountname": {
  27849. "description": "签约银行卡账号名",
  27850. "type": "string"
  27851. },
  27852. "bankaccountname2": {
  27853. "description": "签约银行卡账号名 - 密文",
  27854. "type": "string"
  27855. },
  27856. "bankaccountno": {
  27857. "description": "银行卡号",
  27858. "type": "string"
  27859. },
  27860. "bankaccountno2": {
  27861. "description": "银行卡号 - 密文",
  27862. "type": "string"
  27863. },
  27864. "bankaccounttype": {
  27865. "description": "银行账户类型 - 1-对私; 2-对公",
  27866. "type": "integer"
  27867. },
  27868. "bankcardtype": {
  27869. "description": "银行卡类型",
  27870. "type": "integer"
  27871. },
  27872. "bankchildaccount": {
  27873. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  27874. "type": "string"
  27875. },
  27876. "bankcity": {
  27877. "description": "开户行城市",
  27878. "type": "string"
  27879. },
  27880. "bankid": {
  27881. "description": "签约银行ID",
  27882. "type": "string"
  27883. },
  27884. "bankname": {
  27885. "description": "签约银行名称",
  27886. "type": "string"
  27887. },
  27888. "bankprovince": {
  27889. "description": "开户行省份",
  27890. "type": "string"
  27891. },
  27892. "branchbankid": {
  27893. "description": "签约银行支行号",
  27894. "type": "string"
  27895. },
  27896. "branchbankname": {
  27897. "description": "签约银行支行名称",
  27898. "type": "string"
  27899. },
  27900. "cardno": {
  27901. "description": "证件号码",
  27902. "type": "string"
  27903. },
  27904. "cardno2": {
  27905. "description": "证件号码 - 密文",
  27906. "type": "string"
  27907. },
  27908. "cardtype": {
  27909. "description": "证件类型",
  27910. "type": "string"
  27911. },
  27912. "currency": {
  27913. "description": "币种",
  27914. "type": "string"
  27915. },
  27916. "cusbankid": {
  27917. "description": "托管银行编号",
  27918. "type": "string"
  27919. },
  27920. "direct": {
  27921. "description": "方向(可以判断那方先发起的签约)",
  27922. "type": "integer"
  27923. },
  27924. "exchticket": {
  27925. "description": "最后一次签约成功的流水号",
  27926. "type": "string"
  27927. },
  27928. "extendinfo": {
  27929. "description": "扩展信息(JSON字符串)",
  27930. "type": "string"
  27931. },
  27932. "mobilephone": {
  27933. "description": "手机号",
  27934. "type": "string"
  27935. },
  27936. "mobilephone2": {
  27937. "description": "手机号 - 密文",
  27938. "type": "string"
  27939. },
  27940. "netaddr": {
  27941. "description": "调转网址",
  27942. "type": "string"
  27943. },
  27944. "relateduserid": {
  27945. "description": "关联使用者userid",
  27946. "type": "integer"
  27947. },
  27948. "signstatus": {
  27949. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  27950. "type": "integer"
  27951. },
  27952. "updatetime": {
  27953. "description": "更新时间(签解约更新时间)",
  27954. "type": "string"
  27955. }
  27956. }
  27957. },
  27958. "models.QhjBankInfo": {
  27959. "type": "object",
  27960. "properties": {
  27961. "bankid": {
  27962. "description": "银行ID",
  27963. "type": "string"
  27964. },
  27965. "bankname": {
  27966. "description": "银行名称",
  27967. "type": "string"
  27968. },
  27969. "clearbankno": {
  27970. "description": "清算系统银行编号",
  27971. "type": "string"
  27972. },
  27973. "orderindex": {
  27974. "description": "排序顺序",
  27975. "type": "integer"
  27976. },
  27977. "status": {
  27978. "description": "状态 - 0:正常 1:注销",
  27979. "type": "integer"
  27980. }
  27981. }
  27982. },
  27983. "models.QhjBrokerApply": {
  27984. "type": "object",
  27985. "properties": {
  27986. "applicantid": {
  27987. "description": "申请人",
  27988. "type": "integer"
  27989. },
  27990. "applysrc": {
  27991. "description": "申请来源 - 1:管理端 2:终端",
  27992. "type": "integer"
  27993. },
  27994. "applystatus": {
  27995. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  27996. "type": "integer"
  27997. },
  27998. "applytime": {
  27999. "description": "申请时间",
  28000. "type": "string"
  28001. },
  28002. "auditorid": {
  28003. "description": "审核人",
  28004. "type": "integer"
  28005. },
  28006. "auditremark": {
  28007. "description": "审核备注",
  28008. "type": "string"
  28009. },
  28010. "auditsrc": {
  28011. "description": "审核来源 - 1:管理端 2:终端",
  28012. "type": "integer"
  28013. },
  28014. "audittime": {
  28015. "description": "审核时间",
  28016. "type": "string"
  28017. },
  28018. "audittradedate": {
  28019. "description": "审核交易日(yyyyMMdd)",
  28020. "type": "string"
  28021. },
  28022. "brokerapplyid": {
  28023. "description": "申请ID(SEQ_BROKERAPPLY)",
  28024. "type": "integer"
  28025. },
  28026. "cardbackphotourl": {
  28027. "description": "证件背面图片地址",
  28028. "type": "string"
  28029. },
  28030. "cardfrontphotourl": {
  28031. "description": "证件正面图片地址",
  28032. "type": "string"
  28033. },
  28034. "cardnum": {
  28035. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28036. "type": "string"
  28037. },
  28038. "customername": {
  28039. "description": "姓名",
  28040. "type": "string"
  28041. },
  28042. "logincode": {
  28043. "description": "登录代码",
  28044. "type": "string"
  28045. },
  28046. "mobile": {
  28047. "description": "手机号码",
  28048. "type": "string"
  28049. },
  28050. "parentuserid": {
  28051. "description": "所属机构id",
  28052. "type": "integer"
  28053. },
  28054. "parentusername": {
  28055. "description": "所属机构名称",
  28056. "type": "string"
  28057. },
  28058. "refereeuserid": {
  28059. "description": "推荐人id(经纪人)",
  28060. "type": "integer"
  28061. },
  28062. "refernum": {
  28063. "description": "推荐码",
  28064. "type": "string"
  28065. },
  28066. "remark": {
  28067. "description": "备注",
  28068. "type": "string"
  28069. },
  28070. "subarealevelpath": {
  28071. "description": "层级路径",
  28072. "type": "string"
  28073. },
  28074. "tradedate": {
  28075. "description": "交易日(yyyyMMdd)",
  28076. "type": "string"
  28077. },
  28078. "userid": {
  28079. "description": "申请人用户ID",
  28080. "type": "integer"
  28081. },
  28082. "userinfotype": {
  28083. "description": "用户类型 1-个人 2-企业",
  28084. "type": "integer"
  28085. },
  28086. "username": {
  28087. "description": "用户名称",
  28088. "type": "string"
  28089. }
  28090. }
  28091. },
  28092. "models.QhjBrokerApplyEx": {
  28093. "type": "object",
  28094. "properties": {
  28095. "applylist": {
  28096. "description": "经纪人申请记录(只返回最新一条)",
  28097. "type": "array",
  28098. "items": {
  28099. "$ref": "#/definitions/models.QhjBrokerApply"
  28100. }
  28101. },
  28102. "canrecommend": {
  28103. "description": "是否经纪人 0-不是 1-是",
  28104. "type": "integer"
  28105. },
  28106. "refernum": {
  28107. "description": "推荐码",
  28108. "type": "string"
  28109. },
  28110. "userid": {
  28111. "description": "用户id",
  28112. "type": "integer"
  28113. },
  28114. "userinfotype": {
  28115. "description": "用户类型 1-个人 2-企业",
  28116. "type": "integer"
  28117. }
  28118. }
  28119. },
  28120. "models.QhjBrokerRewardLog": {
  28121. "type": "object",
  28122. "properties": {
  28123. "accountid": {
  28124. "description": "资金账号ID",
  28125. "type": "integer"
  28126. },
  28127. "createtime": {
  28128. "description": "创建时间(时间)",
  28129. "type": "string"
  28130. },
  28131. "handlestatus": {
  28132. "description": "处理状态",
  28133. "type": "integer"
  28134. },
  28135. "logid": {
  28136. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28137. "type": "string"
  28138. },
  28139. "marketid": {
  28140. "description": "市场ID",
  28141. "type": "integer"
  28142. },
  28143. "mmaccountid": {
  28144. "description": "做市商资金账号ID",
  28145. "type": "string"
  28146. },
  28147. "mmuserid": {
  28148. "description": "做市商用户ID",
  28149. "type": "string"
  28150. },
  28151. "rewardamount": {
  28152. "description": "奖励金额",
  28153. "type": "number"
  28154. },
  28155. "rewardmodel": {
  28156. "description": "消费奖励方式 - 1:比率 2:固定",
  28157. "type": "integer"
  28158. },
  28159. "rewardtype": {
  28160. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28161. "type": "integer"
  28162. },
  28163. "rewardvalue": {
  28164. "description": "配置奖励值",
  28165. "type": "number"
  28166. },
  28167. "srcamount": {
  28168. "description": "成交金额 [消费奖励] (金额)",
  28169. "type": "number"
  28170. },
  28171. "srcgoodsid": {
  28172. "description": "来源商品ID [消费奖励]",
  28173. "type": "string"
  28174. },
  28175. "srctime": {
  28176. "description": "来源时间 (成交时间) [消费奖励]",
  28177. "type": "string"
  28178. },
  28179. "srctradeid": {
  28180. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28181. "type": "string"
  28182. },
  28183. "srcuserid": {
  28184. "description": "来源用户ID(推广账户)",
  28185. "type": "string"
  28186. },
  28187. "srcusername": {
  28188. "description": "推广账户名称",
  28189. "type": "string"
  28190. },
  28191. "tradedate": {
  28192. "description": "交易日(yyyyMMdd)",
  28193. "type": "string"
  28194. },
  28195. "userid": {
  28196. "description": "经纪人用户ID",
  28197. "type": "integer"
  28198. }
  28199. }
  28200. },
  28201. "models.QhjContract": {
  28202. "type": "object",
  28203. "properties": {
  28204. "contractconfirmtime": {
  28205. "description": "合同确认时间(时间)",
  28206. "type": "string"
  28207. },
  28208. "currisklevel": {
  28209. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28210. "type": "integer"
  28211. },
  28212. "decimalplace": {
  28213. "description": "商品报价小数位",
  28214. "type": "integer"
  28215. },
  28216. "enumdicname": {
  28217. "description": "单位名称",
  28218. "type": "string"
  28219. },
  28220. "goodscode": {
  28221. "description": "商品代码",
  28222. "type": "string"
  28223. },
  28224. "goodsid": {
  28225. "description": "商品ID [5:融资单]",
  28226. "type": "integer"
  28227. },
  28228. "goodsname": {
  28229. "description": "商品名称",
  28230. "type": "string"
  28231. },
  28232. "goodunitid": {
  28233. "description": "商品单位id",
  28234. "type": "integer"
  28235. },
  28236. "initmargin": {
  28237. "description": "初始保证金(首付款)",
  28238. "type": "number"
  28239. },
  28240. "lenderamount": {
  28241. "description": "贷款金额(总额|订单总额)",
  28242. "type": "number"
  28243. },
  28244. "marginratio": {
  28245. "description": "保证金比率(首付比例)",
  28246. "type": "number"
  28247. },
  28248. "payamount": {
  28249. "description": "已付(已付货款)",
  28250. "type": "number"
  28251. },
  28252. "reckonrecovermargin": {
  28253. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28254. "type": "number"
  28255. },
  28256. "recoveredmargin": {
  28257. "description": "已追缴保证金",
  28258. "type": "number"
  28259. },
  28260. "remainamount": {
  28261. "description": "合同剩余金额(融资额)",
  28262. "type": "number"
  28263. },
  28264. "scfcontractid": {
  28265. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28266. "type": "string"
  28267. },
  28268. "scfcontractstatus": {
  28269. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28270. "type": "integer"
  28271. },
  28272. "scfcontracttype": {
  28273. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28274. "type": "integer"
  28275. },
  28276. "totalinterest": {
  28277. "description": "已计总利息(利息)",
  28278. "type": "number"
  28279. },
  28280. "tradeprice": {
  28281. "description": "成交价格(成本价格)",
  28282. "type": "number"
  28283. },
  28284. "userid": {
  28285. "description": "用户ID",
  28286. "type": "integer"
  28287. },
  28288. "username": {
  28289. "description": "用户名称",
  28290. "type": "string"
  28291. },
  28292. "wrqty": {
  28293. "description": "仓单数量(数量)",
  28294. "type": "number"
  28295. }
  28296. }
  28297. },
  28298. "models.QhjContractLog": {
  28299. "type": "object",
  28300. "properties": {
  28301. "amount": {
  28302. "description": "支付金额",
  28303. "type": "number"
  28304. },
  28305. "amounttype": {
  28306. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28307. "type": "integer"
  28308. },
  28309. "logid": {
  28310. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28311. "type": "string"
  28312. },
  28313. "remainamount": {
  28314. "description": "剩余货款",
  28315. "type": "number"
  28316. },
  28317. "scfcontractid": {
  28318. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28319. "type": "integer"
  28320. },
  28321. "updatetime": {
  28322. "description": "更新时间",
  28323. "type": "string"
  28324. }
  28325. }
  28326. },
  28327. "models.QhjCusBankSignBankEx": {
  28328. "type": "object",
  28329. "properties": {
  28330. "banklst": {
  28331. "description": "银行列表",
  28332. "type": "array",
  28333. "items": {
  28334. "$ref": "#/definitions/models.QhjBankInfo"
  28335. }
  28336. },
  28337. "canallot": {
  28338. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28339. "type": "integer"
  28340. },
  28341. "canallotquery": {
  28342. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28343. "type": "integer"
  28344. },
  28345. "canbindcard": {
  28346. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28347. "type": "integer"
  28348. },
  28349. "caninamount": {
  28350. "description": "是否可入金 - 0:不可 1:可以",
  28351. "type": "integer"
  28352. },
  28353. "caninamount2": {
  28354. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28355. "type": "integer"
  28356. },
  28357. "canmodifybankcard": {
  28358. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28359. "type": "integer"
  28360. },
  28361. "canmodifyphone": {
  28362. "description": "是否可修改手机号 - 0:不可 1:可以",
  28363. "type": "integer"
  28364. },
  28365. "canmodifysigninfo": {
  28366. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28367. "type": "integer"
  28368. },
  28369. "canoutamount": {
  28370. "description": "是否可出金 - 0:不可 1:可以",
  28371. "type": "integer"
  28372. },
  28373. "canoutamount2": {
  28374. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28375. "type": "integer"
  28376. },
  28377. "canrelease": {
  28378. "description": "是否可解约 - 0:不可 1:可以",
  28379. "type": "integer"
  28380. },
  28381. "canrelease2": {
  28382. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28383. "type": "integer"
  28384. },
  28385. "cansign": {
  28386. "description": "是否可签约 - 0:不可 1:可以",
  28387. "type": "integer"
  28388. },
  28389. "cansign2": {
  28390. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28391. "type": "integer"
  28392. },
  28393. "currency": {
  28394. "description": "币种",
  28395. "type": "string"
  28396. },
  28397. "cusbankid": {
  28398. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28399. "type": "string"
  28400. },
  28401. "cusbankname": {
  28402. "description": "银行业务名称",
  28403. "type": "string"
  28404. },
  28405. "cusbankshortname": {
  28406. "description": "银行业务简称",
  28407. "type": "string"
  28408. },
  28409. "exchbankid": {
  28410. "description": "交易所开户银行ID",
  28411. "type": "string"
  28412. },
  28413. "exchpaybankaccname": {
  28414. "description": "交易所支出结算账户户名",
  28415. "type": "string"
  28416. },
  28417. "exchpaybankaccno": {
  28418. "description": "交易所支出结算账户",
  28419. "type": "string"
  28420. },
  28421. "isneedcheck": {
  28422. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28423. "type": "integer"
  28424. },
  28425. "isneedclear": {
  28426. "description": "是否需要清算 - 0:不需要 1:需要",
  28427. "type": "integer"
  28428. },
  28429. "lastcheckstatus": {
  28430. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28431. "type": "integer"
  28432. },
  28433. "lastchecktime": {
  28434. "description": "最后对账时间",
  28435. "type": "string"
  28436. },
  28437. "lastclearstatus": {
  28438. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28439. "type": "integer"
  28440. },
  28441. "lastcleartime": {
  28442. "description": "最后清算时间",
  28443. "type": "string"
  28444. },
  28445. "lastsignintime": {
  28446. "description": "最后签到时间",
  28447. "type": "string"
  28448. },
  28449. "lastsignouttime": {
  28450. "description": "最后签退时间",
  28451. "type": "string"
  28452. },
  28453. "riskinfo": {
  28454. "description": "签约风险提示书",
  28455. "type": "string"
  28456. },
  28457. "signstatus": {
  28458. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28459. "type": "integer"
  28460. },
  28461. "tradedate": {
  28462. "description": "交易日(yyyyMMdd)",
  28463. "type": "string"
  28464. },
  28465. "updatetime": {
  28466. "description": "当前签到/签退更新时间",
  28467. "type": "string"
  28468. }
  28469. }
  28470. },
  28471. "models.QhjCustomer": {
  28472. "type": "object",
  28473. "properties": {
  28474. "address": {
  28475. "description": "通讯地址",
  28476. "type": "string"
  28477. },
  28478. "attachment1": {
  28479. "description": "附件1",
  28480. "type": "string"
  28481. },
  28482. "audittime": {
  28483. "description": "审核时间",
  28484. "type": "string"
  28485. },
  28486. "cardbackphotourl": {
  28487. "description": "证件反面图片地址",
  28488. "type": "string"
  28489. },
  28490. "cardfrontphotourl": {
  28491. "description": "证件正面图片地址",
  28492. "type": "string"
  28493. },
  28494. "cardnum": {
  28495. "description": "证件号码",
  28496. "type": "string"
  28497. },
  28498. "cardtype": {
  28499. "description": "证件类型",
  28500. "type": "integer"
  28501. },
  28502. "cardtypename": {
  28503. "description": "证件类型名称",
  28504. "type": "string"
  28505. },
  28506. "cityid": {
  28507. "description": "市",
  28508. "type": "integer"
  28509. },
  28510. "cityname": {
  28511. "description": "城市名称",
  28512. "type": "string"
  28513. },
  28514. "contactname": {
  28515. "description": "联系人",
  28516. "type": "string"
  28517. },
  28518. "countryid": {
  28519. "description": "国家",
  28520. "type": "integer"
  28521. },
  28522. "countryname": {
  28523. "description": "国家名称",
  28524. "type": "string"
  28525. },
  28526. "createtime": {
  28527. "description": "创建时间",
  28528. "type": "string"
  28529. },
  28530. "customername": {
  28531. "description": "客户名称",
  28532. "type": "string"
  28533. },
  28534. "districtid": {
  28535. "description": "区域",
  28536. "type": "integer"
  28537. },
  28538. "districtname": {
  28539. "description": "地区名称",
  28540. "type": "string"
  28541. },
  28542. "email": {
  28543. "description": "邮件",
  28544. "type": "string"
  28545. },
  28546. "legalpersonname": {
  28547. "description": "法人姓名(企业)",
  28548. "type": "string"
  28549. },
  28550. "logincode": {
  28551. "description": "登录账号(代码)",
  28552. "type": "string"
  28553. },
  28554. "memberuserid": {
  28555. "description": "所属机构ID(所属会员)",
  28556. "type": "integer"
  28557. },
  28558. "memberusername": {
  28559. "description": "所属会员名称",
  28560. "type": "string"
  28561. },
  28562. "mobile": {
  28563. "description": "手机号码",
  28564. "type": "string"
  28565. },
  28566. "modifytime": {
  28567. "description": "修改时间",
  28568. "type": "string"
  28569. },
  28570. "nickname": {
  28571. "description": "昵称",
  28572. "type": "string"
  28573. },
  28574. "parentuserid": {
  28575. "description": "上级机构(所属机构)",
  28576. "type": "integer"
  28577. },
  28578. "parentusername": {
  28579. "description": "所属机构名称",
  28580. "type": "string"
  28581. },
  28582. "provinceid": {
  28583. "description": "省",
  28584. "type": "integer"
  28585. },
  28586. "provincename": {
  28587. "description": "省名称",
  28588. "type": "string"
  28589. },
  28590. "proxystatementurl": {
  28591. "description": "授权委托书",
  28592. "type": "string"
  28593. },
  28594. "remark": {
  28595. "description": "备注",
  28596. "type": "string"
  28597. },
  28598. "status": {
  28599. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28600. "type": "integer"
  28601. },
  28602. "statusdesc": {
  28603. "description": "账户状态中文描述",
  28604. "type": "string"
  28605. },
  28606. "taxpayernum": {
  28607. "description": "纳税人识别号",
  28608. "type": "string"
  28609. },
  28610. "telphone": {
  28611. "description": "联系电话",
  28612. "type": "string"
  28613. },
  28614. "userid": {
  28615. "description": "用户ID",
  28616. "type": "integer"
  28617. },
  28618. "userinfotype": {
  28619. "description": "客户类型 1-个人 2-企业",
  28620. "type": "integer"
  28621. },
  28622. "username": {
  28623. "description": "用户名称",
  28624. "type": "string"
  28625. }
  28626. }
  28627. },
  28628. "models.QhjCustomerSignLog": {
  28629. "type": "object",
  28630. "properties": {
  28631. "agreementcontent": {
  28632. "description": "协议内容",
  28633. "type": "string"
  28634. },
  28635. "agreementid": {
  28636. "description": "协议ID",
  28637. "type": "integer"
  28638. },
  28639. "agreementname": {
  28640. "description": "协议名称",
  28641. "type": "string"
  28642. },
  28643. "agreementno": {
  28644. "description": "协议编号",
  28645. "type": "string"
  28646. },
  28647. "agreementtype": {
  28648. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28649. "type": "integer"
  28650. },
  28651. "agreementversion": {
  28652. "description": "协议版本号",
  28653. "type": "integer"
  28654. },
  28655. "createtime": {
  28656. "description": "创建时间",
  28657. "type": "string"
  28658. },
  28659. "goodscode": {
  28660. "description": "商品代码",
  28661. "type": "string"
  28662. },
  28663. "goodsid": {
  28664. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28665. "type": "integer"
  28666. },
  28667. "goodsname": {
  28668. "description": "商品名称",
  28669. "type": "string"
  28670. },
  28671. "logid": {
  28672. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  28673. "type": "integer"
  28674. },
  28675. "nodetype": {
  28676. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28677. "type": "integer"
  28678. },
  28679. "signadressurl": {
  28680. "description": "签约文件地址",
  28681. "type": "string"
  28682. },
  28683. "signtimestamp": {
  28684. "description": "签约状态时间戳",
  28685. "type": "string"
  28686. },
  28687. "userid": {
  28688. "description": "客户ID",
  28689. "type": "integer"
  28690. },
  28691. "username": {
  28692. "description": "客户名称",
  28693. "type": "string"
  28694. }
  28695. }
  28696. },
  28697. "models.QhjCustomerSignStatus": {
  28698. "type": "object",
  28699. "properties": {
  28700. "createtime": {
  28701. "description": "创建时间",
  28702. "type": "string"
  28703. },
  28704. "goodscode": {
  28705. "description": "商品代码",
  28706. "type": "string"
  28707. },
  28708. "goodsid": {
  28709. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28710. "type": "integer"
  28711. },
  28712. "goodsname": {
  28713. "description": "商品名称",
  28714. "type": "string"
  28715. },
  28716. "nodetype": {
  28717. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  28718. "type": "integer"
  28719. },
  28720. "signtimestamp": {
  28721. "description": "签约状态时间戳",
  28722. "type": "string"
  28723. },
  28724. "tradedate": {
  28725. "description": "创建交易日(yyyyMMdd)",
  28726. "type": "string"
  28727. },
  28728. "updatetime": {
  28729. "description": "更新时间",
  28730. "type": "string"
  28731. },
  28732. "userid": {
  28733. "description": "客户ID",
  28734. "type": "integer"
  28735. },
  28736. "username": {
  28737. "description": "客户名称",
  28738. "type": "string"
  28739. }
  28740. }
  28741. },
  28742. "models.QhjMgrAccountOutInApply": {
  28743. "type": "object",
  28744. "properties": {
  28745. "accountcode": {
  28746. "description": "资金账号",
  28747. "type": "string"
  28748. },
  28749. "accountname": {
  28750. "description": "用户名称(名称)",
  28751. "type": "string"
  28752. },
  28753. "accountpwd": {
  28754. "description": "资金密码",
  28755. "type": "string"
  28756. },
  28757. "accountticket": {
  28758. "description": "最新账户服务流水号",
  28759. "type": "string"
  28760. },
  28761. "amount": {
  28762. "description": "金额",
  28763. "type": "number"
  28764. },
  28765. "applyremark": {
  28766. "description": "申请备注",
  28767. "type": "string"
  28768. },
  28769. "applystatus": {
  28770. "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: 复审通过,账户冻结金额检查中;",
  28771. "type": "integer"
  28772. },
  28773. "auditid": {
  28774. "description": "审核人",
  28775. "type": "integer"
  28776. },
  28777. "audittime": {
  28778. "description": "审核时间",
  28779. "type": "string"
  28780. },
  28781. "bank_apply_ticket": {
  28782. "description": "银行申请流水",
  28783. "type": "string"
  28784. },
  28785. "bankaccountname": {
  28786. "description": "银行账户名",
  28787. "type": "string"
  28788. },
  28789. "bankaccountno": {
  28790. "description": "银行卡号",
  28791. "type": "string"
  28792. },
  28793. "bankid": {
  28794. "description": "银行编号",
  28795. "type": "string"
  28796. },
  28797. "bankname": {
  28798. "description": "银行名称",
  28799. "type": "string"
  28800. },
  28801. "bankticket": {
  28802. "description": "银行流水",
  28803. "type": "string"
  28804. },
  28805. "branchbankid": {
  28806. "description": "银行支行号",
  28807. "type": "string"
  28808. },
  28809. "branchbankname": {
  28810. "description": "银行支行名称",
  28811. "type": "string"
  28812. },
  28813. "capamountout": {
  28814. "description": "出金(劣后本金) - 外部子账户",
  28815. "type": "number"
  28816. },
  28817. "certificatephotourl": {
  28818. "description": "凭证地址",
  28819. "type": "string"
  28820. },
  28821. "charge": {
  28822. "description": "手续费",
  28823. "type": "number"
  28824. },
  28825. "checkerrorflag": {
  28826. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  28827. "type": "integer"
  28828. },
  28829. "currency": {
  28830. "description": "币种",
  28831. "type": "string"
  28832. },
  28833. "cusbankid": {
  28834. "description": "托管银行编号",
  28835. "type": "string"
  28836. },
  28837. "exchticket": {
  28838. "description": "银行服务流水号",
  28839. "type": "string"
  28840. },
  28841. "executetype": {
  28842. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  28843. "type": "integer"
  28844. },
  28845. "extendinfo": {
  28846. "description": "扩展信息",
  28847. "type": "string"
  28848. },
  28849. "extoperateid": {
  28850. "description": "交易服务流水号",
  28851. "type": "integer"
  28852. },
  28853. "infamount": {
  28854. "description": "劣后金额(自有)",
  28855. "type": "number"
  28856. },
  28857. "logincode": {
  28858. "description": "登录账号(账号)",
  28859. "type": "string"
  28860. },
  28861. "netaddr": {
  28862. "description": "调转网址",
  28863. "type": "string"
  28864. },
  28865. "priamount": {
  28866. "description": "优先金额(授信)",
  28867. "type": "number"
  28868. },
  28869. "reauditid": {
  28870. "description": "复审人",
  28871. "type": "integer"
  28872. },
  28873. "reauditremark": {
  28874. "description": "复审备注",
  28875. "type": "string"
  28876. },
  28877. "reaudittime": {
  28878. "description": "复审时间",
  28879. "type": "string"
  28880. },
  28881. "relatedorderid": {
  28882. "description": "三方关联ID",
  28883. "type": "string"
  28884. },
  28885. "remark": {
  28886. "description": "备注",
  28887. "type": "string"
  28888. },
  28889. "remark2": {
  28890. "description": "备注(失败原因)",
  28891. "type": "string"
  28892. },
  28893. "soucreamount": {
  28894. "description": "原始出入金金额",
  28895. "type": "number"
  28896. },
  28897. "soucrecurrencyid": {
  28898. "description": "原始出入金币种",
  28899. "type": "integer"
  28900. },
  28901. "tradedate": {
  28902. "description": "交易日(yyyyMMdd)",
  28903. "type": "string"
  28904. },
  28905. "updatetime": {
  28906. "description": "更新时间(申请时间)",
  28907. "type": "string"
  28908. },
  28909. "userid": {
  28910. "description": "用户id",
  28911. "type": "integer"
  28912. },
  28913. "userinfotype": {
  28914. "description": "账户类型 1-个人 2-企业",
  28915. "type": "integer"
  28916. }
  28917. }
  28918. },
  28919. "models.QhjMgrBrokerApply": {
  28920. "type": "object",
  28921. "properties": {
  28922. "applicantid": {
  28923. "description": "申请人",
  28924. "type": "integer"
  28925. },
  28926. "applysrc": {
  28927. "description": "申请来源 - 1:管理端 2:终端",
  28928. "type": "integer"
  28929. },
  28930. "applystatus": {
  28931. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28932. "type": "integer"
  28933. },
  28934. "applytime": {
  28935. "description": "申请时间",
  28936. "type": "string"
  28937. },
  28938. "auditorid": {
  28939. "description": "审核人",
  28940. "type": "integer"
  28941. },
  28942. "auditremark": {
  28943. "description": "审核备注",
  28944. "type": "string"
  28945. },
  28946. "auditsrc": {
  28947. "description": "审核来源 - 1:管理端 2:终端",
  28948. "type": "integer"
  28949. },
  28950. "audittime": {
  28951. "description": "审核时间",
  28952. "type": "string"
  28953. },
  28954. "audittradedate": {
  28955. "description": "审核交易日(yyyyMMdd)",
  28956. "type": "string"
  28957. },
  28958. "brokerapplyid": {
  28959. "description": "申请ID(SEQ_BROKERAPPLY)",
  28960. "type": "integer"
  28961. },
  28962. "cardbackphotourl": {
  28963. "description": "证件背面图片地址",
  28964. "type": "string"
  28965. },
  28966. "cardfrontphotourl": {
  28967. "description": "证件正面图片地址",
  28968. "type": "string"
  28969. },
  28970. "cardnum": {
  28971. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28972. "type": "string"
  28973. },
  28974. "customername": {
  28975. "description": "姓名",
  28976. "type": "string"
  28977. },
  28978. "filterstatus": {
  28979. "description": "筛选条件",
  28980. "type": "string"
  28981. },
  28982. "logincode": {
  28983. "description": "登录代码",
  28984. "type": "string"
  28985. },
  28986. "mobile": {
  28987. "description": "手机号码",
  28988. "type": "string"
  28989. },
  28990. "parentuserid": {
  28991. "description": "所属机构id",
  28992. "type": "integer"
  28993. },
  28994. "parentusername": {
  28995. "description": "所属机构名称",
  28996. "type": "string"
  28997. },
  28998. "refereeuserid": {
  28999. "description": "推荐人id(经纪人)",
  29000. "type": "integer"
  29001. },
  29002. "refernum": {
  29003. "description": "推荐码",
  29004. "type": "string"
  29005. },
  29006. "remark": {
  29007. "description": "备注",
  29008. "type": "string"
  29009. },
  29010. "subarealevelpath": {
  29011. "description": "层级路径",
  29012. "type": "string"
  29013. },
  29014. "tradedate": {
  29015. "description": "交易日(yyyyMMdd)",
  29016. "type": "string"
  29017. },
  29018. "userid": {
  29019. "description": "申请人用户ID",
  29020. "type": "integer"
  29021. },
  29022. "userinfotype": {
  29023. "description": "用户类型 1-个人 2-企业",
  29024. "type": "integer"
  29025. },
  29026. "username": {
  29027. "description": "用户名称",
  29028. "type": "string"
  29029. }
  29030. }
  29031. },
  29032. "models.QhjMgrBrokerRewardReport": {
  29033. "type": "object",
  29034. "properties": {
  29035. "createtime": {
  29036. "description": "创建时间(注册时间)",
  29037. "type": "string"
  29038. },
  29039. "cycletime": {
  29040. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29041. "type": "string"
  29042. },
  29043. "cycletype": {
  29044. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29045. "type": "integer"
  29046. },
  29047. "directtotalnum": {
  29048. "description": "直推总人数【期末】",
  29049. "type": "integer"
  29050. },
  29051. "indirecttotalnum": {
  29052. "description": "间推总人数【期末】",
  29053. "type": "integer"
  29054. },
  29055. "mobile": {
  29056. "description": "电话号码",
  29057. "type": "string"
  29058. },
  29059. "refereeuserid": {
  29060. "description": "推荐人id(经纪人id)",
  29061. "type": "integer"
  29062. },
  29063. "refereeusername": {
  29064. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29065. "type": "string"
  29066. },
  29067. "refernum": {
  29068. "description": "推荐码",
  29069. "type": "string"
  29070. },
  29071. "subarealevelpath": {
  29072. "description": "用户层级路径",
  29073. "type": "string"
  29074. },
  29075. "todayrewardamount": {
  29076. "description": "奖励总金额【汇总】",
  29077. "type": "number"
  29078. },
  29079. "updatetime": {
  29080. "description": "更新时间",
  29081. "type": "string"
  29082. },
  29083. "userid": {
  29084. "description": "经纪人用户ID",
  29085. "type": "integer"
  29086. },
  29087. "userinfotype": {
  29088. "description": "用户类型 1-个人 2-企业",
  29089. "type": "integer"
  29090. },
  29091. "username": {
  29092. "description": "用户名称",
  29093. "type": "string"
  29094. }
  29095. }
  29096. },
  29097. "models.QhjMgrContract": {
  29098. "type": "object",
  29099. "properties": {
  29100. "contractconfirmtime": {
  29101. "description": "合同确认时间(时间)",
  29102. "type": "string"
  29103. },
  29104. "currisklevel": {
  29105. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29106. "type": "integer"
  29107. },
  29108. "decimalplace": {
  29109. "description": "商品报价小数位",
  29110. "type": "integer"
  29111. },
  29112. "enumdicname": {
  29113. "description": "单位名称",
  29114. "type": "string"
  29115. },
  29116. "goodscode": {
  29117. "description": "商品代码",
  29118. "type": "string"
  29119. },
  29120. "goodsid": {
  29121. "description": "商品ID [5:融资单]",
  29122. "type": "integer"
  29123. },
  29124. "goodsname": {
  29125. "description": "商品名称",
  29126. "type": "string"
  29127. },
  29128. "goodunitid": {
  29129. "description": "商品单位id",
  29130. "type": "integer"
  29131. },
  29132. "initmargin": {
  29133. "description": "初始保证金(首付款)",
  29134. "type": "number"
  29135. },
  29136. "lenderamount": {
  29137. "description": "贷款金额(总额|订单总额)",
  29138. "type": "number"
  29139. },
  29140. "logincode": {
  29141. "description": "账号(登录代码)",
  29142. "type": "string"
  29143. },
  29144. "marginratio": {
  29145. "description": "保证金比率(首付比例)",
  29146. "type": "number"
  29147. },
  29148. "mobile": {
  29149. "description": "电话号码(用户资料里的电话)",
  29150. "type": "string"
  29151. },
  29152. "payamount": {
  29153. "description": "已付(已付货款)",
  29154. "type": "number"
  29155. },
  29156. "reckonrecovermargin": {
  29157. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29158. "type": "number"
  29159. },
  29160. "recoveredmargin": {
  29161. "description": "已追缴保证金",
  29162. "type": "number"
  29163. },
  29164. "remainamount": {
  29165. "description": "合同剩余金额(融资额)",
  29166. "type": "number"
  29167. },
  29168. "scfcontractid": {
  29169. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29170. "type": "string"
  29171. },
  29172. "scfcontractstatus": {
  29173. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29174. "type": "integer"
  29175. },
  29176. "scfcontracttype": {
  29177. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29178. "type": "integer"
  29179. },
  29180. "totalinterest": {
  29181. "description": "已计总利息(利息)",
  29182. "type": "number"
  29183. },
  29184. "tradedate": {
  29185. "description": "交易日",
  29186. "type": "string"
  29187. },
  29188. "tradeprice": {
  29189. "description": "成交价格(成本价格)",
  29190. "type": "number"
  29191. },
  29192. "userid": {
  29193. "description": "用户ID",
  29194. "type": "integer"
  29195. },
  29196. "userinfotype": {
  29197. "description": "用户类型 1-个人 2-企业",
  29198. "type": "integer"
  29199. },
  29200. "username": {
  29201. "description": "用户名称",
  29202. "type": "string"
  29203. },
  29204. "wrqty": {
  29205. "description": "仓单数量(数量)",
  29206. "type": "number"
  29207. }
  29208. }
  29209. },
  29210. "models.QhjMgrCustomer": {
  29211. "type": "object",
  29212. "properties": {
  29213. "address": {
  29214. "description": "通讯地址",
  29215. "type": "string"
  29216. },
  29217. "attachment1": {
  29218. "description": "附件1",
  29219. "type": "string"
  29220. },
  29221. "audittime": {
  29222. "description": "审核时间",
  29223. "type": "string"
  29224. },
  29225. "birthday": {
  29226. "description": "生日",
  29227. "type": "string"
  29228. },
  29229. "brokerid": {
  29230. "description": "所属客户经理id",
  29231. "type": "integer"
  29232. },
  29233. "brokername": {
  29234. "description": "所属客户经理名称",
  29235. "type": "string"
  29236. },
  29237. "cardbackphotourl": {
  29238. "description": "证件反面图片地址",
  29239. "type": "string"
  29240. },
  29241. "cardfrontphotourl": {
  29242. "description": "证件正面图片地址",
  29243. "type": "string"
  29244. },
  29245. "cardnum": {
  29246. "description": "证件号码",
  29247. "type": "string"
  29248. },
  29249. "cardtype": {
  29250. "description": "证件类型",
  29251. "type": "integer"
  29252. },
  29253. "cardtypename": {
  29254. "description": "证件类型名称",
  29255. "type": "string"
  29256. },
  29257. "cityid": {
  29258. "description": "市",
  29259. "type": "integer"
  29260. },
  29261. "cityname": {
  29262. "description": "城市名称",
  29263. "type": "string"
  29264. },
  29265. "contactname": {
  29266. "description": "联系人",
  29267. "type": "string"
  29268. },
  29269. "countryid": {
  29270. "description": "国家",
  29271. "type": "integer"
  29272. },
  29273. "countryname": {
  29274. "description": "国家名称",
  29275. "type": "string"
  29276. },
  29277. "createtime": {
  29278. "description": "创建时间",
  29279. "type": "string"
  29280. },
  29281. "customername": {
  29282. "description": "客户名称",
  29283. "type": "string"
  29284. },
  29285. "districtid": {
  29286. "description": "区域",
  29287. "type": "integer"
  29288. },
  29289. "districtname": {
  29290. "description": "地区名称",
  29291. "type": "string"
  29292. },
  29293. "email": {
  29294. "description": "邮件",
  29295. "type": "string"
  29296. },
  29297. "legalpersonname": {
  29298. "description": "法人姓名(企业)",
  29299. "type": "string"
  29300. },
  29301. "logincode": {
  29302. "description": "登录账号(代码)",
  29303. "type": "string"
  29304. },
  29305. "memberuserid": {
  29306. "description": "所属机构ID(所属会员)",
  29307. "type": "integer"
  29308. },
  29309. "memberusername": {
  29310. "description": "所属会员名称",
  29311. "type": "string"
  29312. },
  29313. "mobile": {
  29314. "description": "手机号码",
  29315. "type": "string"
  29316. },
  29317. "modifytime": {
  29318. "description": "修改时间",
  29319. "type": "string"
  29320. },
  29321. "nickname": {
  29322. "description": "昵称",
  29323. "type": "string"
  29324. },
  29325. "parentuserid": {
  29326. "description": "上级机构(所属机构)",
  29327. "type": "integer"
  29328. },
  29329. "parentusername": {
  29330. "description": "所属机构名称",
  29331. "type": "string"
  29332. },
  29333. "provinceid": {
  29334. "description": "省",
  29335. "type": "integer"
  29336. },
  29337. "provincename": {
  29338. "description": "省名称",
  29339. "type": "string"
  29340. },
  29341. "proxystatementurl": {
  29342. "description": "授权委托书",
  29343. "type": "string"
  29344. },
  29345. "querytype": {
  29346. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29347. "type": "integer"
  29348. },
  29349. "remark": {
  29350. "description": "备注",
  29351. "type": "string"
  29352. },
  29353. "sex": {
  29354. "description": "性别 0-女 1-男",
  29355. "type": "integer"
  29356. },
  29357. "status": {
  29358. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29359. "type": "integer"
  29360. },
  29361. "statusdesc": {
  29362. "description": "账户状态中文描述",
  29363. "type": "string"
  29364. },
  29365. "taxpayernum": {
  29366. "description": "纳税人识别号",
  29367. "type": "string"
  29368. },
  29369. "telphone": {
  29370. "description": "联系电话",
  29371. "type": "string"
  29372. },
  29373. "userid": {
  29374. "description": "用户ID",
  29375. "type": "integer"
  29376. },
  29377. "userinfotype": {
  29378. "description": "客户类型 1-个人 2-企业",
  29379. "type": "integer"
  29380. },
  29381. "username": {
  29382. "description": "用户名称",
  29383. "type": "string"
  29384. }
  29385. }
  29386. },
  29387. "models.QhjMgrPickGoods": {
  29388. "type": "object",
  29389. "properties": {
  29390. "enumdicname": {
  29391. "description": "单位名称(提货商品)",
  29392. "type": "string"
  29393. },
  29394. "goodsid": {
  29395. "description": "商品id",
  29396. "type": "integer"
  29397. },
  29398. "imageaddress": {
  29399. "description": "图片",
  29400. "type": "string"
  29401. },
  29402. "modifierid": {
  29403. "description": "修改人",
  29404. "type": "integer"
  29405. },
  29406. "modifiername": {
  29407. "description": "修改人名称",
  29408. "type": "string"
  29409. },
  29410. "modifysrc": {
  29411. "description": "修改来源 - 1:管理端 2:终端",
  29412. "type": "integer"
  29413. },
  29414. "pickupgoodsagreeunit": {
  29415. "description": "合约乘数",
  29416. "type": "number"
  29417. },
  29418. "pickupgoodsdesc": {
  29419. "description": "描述",
  29420. "type": "string"
  29421. },
  29422. "pickupgoodsid": {
  29423. "description": "提货商品ID",
  29424. "type": "string"
  29425. },
  29426. "pickupgoodsname": {
  29427. "description": "提货商品名称",
  29428. "type": "string"
  29429. },
  29430. "pickupgoodsstatus": {
  29431. "description": "状态 - 1:正常 2:停用 3:注销",
  29432. "type": "integer"
  29433. },
  29434. "pickupgoodsunitid": {
  29435. "description": "单位ID",
  29436. "type": "integer"
  29437. },
  29438. "pickupratio": {
  29439. "description": "提货系数",
  29440. "type": "number"
  29441. },
  29442. "preparedays": {
  29443. "description": "备货期(天)",
  29444. "type": "integer"
  29445. },
  29446. "remark": {
  29447. "description": "备注",
  29448. "type": "string"
  29449. },
  29450. "updatetime": {
  29451. "description": "更新时间",
  29452. "type": "string"
  29453. }
  29454. }
  29455. },
  29456. "models.QhjMgrPositionRsp": {
  29457. "type": "object",
  29458. "properties": {
  29459. "accountid": {
  29460. "description": "账号Id",
  29461. "type": "integer"
  29462. },
  29463. "accountname": {
  29464. "description": "用户名称",
  29465. "type": "string"
  29466. },
  29467. "agreeunit": {
  29468. "description": "合约乘数",
  29469. "type": "number"
  29470. },
  29471. "averageprice": {
  29472. "description": "均价",
  29473. "type": "number"
  29474. },
  29475. "avialqty": {
  29476. "description": "可用数量",
  29477. "type": "number"
  29478. },
  29479. "decimalplace": {
  29480. "description": "报价小数位",
  29481. "type": "integer"
  29482. },
  29483. "enumdicname": {
  29484. "description": "单位名称(商品)",
  29485. "type": "string"
  29486. },
  29487. "frozenqty": {
  29488. "description": "冻结数量",
  29489. "type": "number"
  29490. },
  29491. "goodscode": {
  29492. "description": "商品代码(内部)",
  29493. "type": "string"
  29494. },
  29495. "goodsid": {
  29496. "description": "商品Id",
  29497. "type": "integer"
  29498. },
  29499. "goodsname": {
  29500. "description": "商品名称",
  29501. "type": "string"
  29502. },
  29503. "goodunitid": {
  29504. "description": "报价单位ID",
  29505. "type": "integer"
  29506. },
  29507. "holderamount": {
  29508. "description": "金额",
  29509. "type": "number"
  29510. },
  29511. "holderqty": {
  29512. "description": "持有数量",
  29513. "type": "number"
  29514. },
  29515. "holdertype": {
  29516. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29517. "type": "integer"
  29518. },
  29519. "logincode": {
  29520. "description": "登录代码(账户)",
  29521. "type": "string"
  29522. },
  29523. "marketid": {
  29524. "description": "市场id",
  29525. "type": "integer"
  29526. },
  29527. "qtydecimalplace": {
  29528. "description": "成交量小数位",
  29529. "type": "integer"
  29530. },
  29531. "trademode": {
  29532. "description": "交易模式",
  29533. "type": "integer"
  29534. },
  29535. "userid": {
  29536. "description": "用户id",
  29537. "type": "integer"
  29538. },
  29539. "userinfotype": {
  29540. "description": "账户类型 1-个人 2-企业",
  29541. "type": "integer"
  29542. }
  29543. }
  29544. },
  29545. "models.QhjMgrSubArea": {
  29546. "type": "object",
  29547. "properties": {
  29548. "accountname": {
  29549. "description": "账户名称(机构名称)",
  29550. "type": "string"
  29551. },
  29552. "memberuserid": {
  29553. "description": "所属会员ID",
  29554. "type": "integer"
  29555. },
  29556. "parenttopuser": {
  29557. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29558. "type": "string"
  29559. },
  29560. "parentuserid": {
  29561. "description": "所属机构ID",
  29562. "type": "integer"
  29563. },
  29564. "rootuserid": {
  29565. "description": "根用户ID",
  29566. "type": "string"
  29567. },
  29568. "subaccountlevel": {
  29569. "description": "子账户层数",
  29570. "type": "integer"
  29571. },
  29572. "subarealevelpath": {
  29573. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29574. "type": "string"
  29575. },
  29576. "userid": {
  29577. "description": "用户ID",
  29578. "type": "integer"
  29579. },
  29580. "usertype": {
  29581. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29582. "type": "integer"
  29583. }
  29584. }
  29585. },
  29586. "models.QhjMgrTradeDetailRsp": {
  29587. "type": "object",
  29588. "properties": {
  29589. "accountid": {
  29590. "description": "资金账号",
  29591. "type": "integer"
  29592. },
  29593. "accountname": {
  29594. "description": "用户名称",
  29595. "type": "string"
  29596. },
  29597. "agreeunit": {
  29598. "description": "合约乘数",
  29599. "type": "number"
  29600. },
  29601. "buyorsell": {
  29602. "description": "成交类型(方向) 0:买 1:卖",
  29603. "type": "integer"
  29604. },
  29605. "decimalplace": {
  29606. "description": "报价小数位",
  29607. "type": "integer"
  29608. },
  29609. "enumdicname": {
  29610. "description": "单位名称(商品)",
  29611. "type": "string"
  29612. },
  29613. "goodscode": {
  29614. "description": "商品代码(内部)",
  29615. "type": "string"
  29616. },
  29617. "goodsid": {
  29618. "description": "商品id",
  29619. "type": "integer"
  29620. },
  29621. "goodsname": {
  29622. "description": "商品名称",
  29623. "type": "string"
  29624. },
  29625. "goodunitid": {
  29626. "description": "报价单位ID",
  29627. "type": "integer"
  29628. },
  29629. "logincode": {
  29630. "description": "登录代码(账户)",
  29631. "type": "string"
  29632. },
  29633. "marketid": {
  29634. "description": "市场id",
  29635. "type": "integer"
  29636. },
  29637. "orderid": {
  29638. "description": "关联委托单号",
  29639. "type": "string"
  29640. },
  29641. "qtydecimalplace": {
  29642. "description": "成交量小数位",
  29643. "type": "integer"
  29644. },
  29645. "tradeamount": {
  29646. "description": "金额",
  29647. "type": "number"
  29648. },
  29649. "tradedate": {
  29650. "description": "交易日",
  29651. "type": "string"
  29652. },
  29653. "tradeid": {
  29654. "description": "成交单号",
  29655. "type": "string"
  29656. },
  29657. "trademode": {
  29658. "description": "交易模式",
  29659. "type": "integer"
  29660. },
  29661. "tradeprice": {
  29662. "description": "价格",
  29663. "type": "number"
  29664. },
  29665. "tradeqty": {
  29666. "description": "数量",
  29667. "type": "number"
  29668. },
  29669. "tradetime": {
  29670. "description": "成交时间",
  29671. "type": "string"
  29672. },
  29673. "userid": {
  29674. "description": "用户id",
  29675. "type": "integer"
  29676. },
  29677. "userinfotype": {
  29678. "description": "账户类型 1-个人 2-企业",
  29679. "type": "integer"
  29680. }
  29681. }
  29682. },
  29683. "models.QhjMgrTradeOrderDetailRsp": {
  29684. "type": "object",
  29685. "properties": {
  29686. "accountid": {
  29687. "description": "资金账号",
  29688. "type": "integer"
  29689. },
  29690. "accountname": {
  29691. "description": "用户名称",
  29692. "type": "string"
  29693. },
  29694. "agreeunit": {
  29695. "description": "合约乘数",
  29696. "type": "number"
  29697. },
  29698. "amount": {
  29699. "description": "金额",
  29700. "type": "number"
  29701. },
  29702. "decimalplace": {
  29703. "description": "报价小数位",
  29704. "type": "integer"
  29705. },
  29706. "enumdicname": {
  29707. "description": "单位名称(商品)",
  29708. "type": "string"
  29709. },
  29710. "goodscode": {
  29711. "description": "商品代码(内部)",
  29712. "type": "string"
  29713. },
  29714. "goodsid": {
  29715. "description": "商品id",
  29716. "type": "integer"
  29717. },
  29718. "goodsname": {
  29719. "description": "商品名称",
  29720. "type": "string"
  29721. },
  29722. "goodunitid": {
  29723. "description": "报价单位ID",
  29724. "type": "integer"
  29725. },
  29726. "logincode": {
  29727. "description": "登录代码(账户)",
  29728. "type": "string"
  29729. },
  29730. "marketid": {
  29731. "description": "市场id",
  29732. "type": "integer"
  29733. },
  29734. "orderid": {
  29735. "description": "关联委托单号",
  29736. "type": "string"
  29737. },
  29738. "orderprice": {
  29739. "description": "价格",
  29740. "type": "number"
  29741. },
  29742. "orderqty": {
  29743. "description": "数量",
  29744. "type": "number"
  29745. },
  29746. "orderstatus": {
  29747. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29748. "type": "integer"
  29749. },
  29750. "ordertime": {
  29751. "description": "委托时间",
  29752. "type": "string"
  29753. },
  29754. "qtydecimalplace": {
  29755. "description": "成交量小数位",
  29756. "type": "integer"
  29757. },
  29758. "tradedate": {
  29759. "description": "交易日",
  29760. "type": "string"
  29761. },
  29762. "trademode": {
  29763. "description": "交易模式",
  29764. "type": "integer"
  29765. },
  29766. "userid": {
  29767. "description": "用户id",
  29768. "type": "integer"
  29769. },
  29770. "userinfotype": {
  29771. "description": "账户类型 1-个人 2-企业",
  29772. "type": "integer"
  29773. }
  29774. }
  29775. },
  29776. "models.QhjMgrTradePayOrder": {
  29777. "type": "object",
  29778. "properties": {
  29779. "accountname": {
  29780. "description": "用户名称",
  29781. "type": "string"
  29782. },
  29783. "advanceratio": {
  29784. "description": "首付比率",
  29785. "type": "number"
  29786. },
  29787. "agreeunit": {
  29788. "description": "合约乘数",
  29789. "type": "number"
  29790. },
  29791. "buyaccountid": {
  29792. "description": "买方账号ID[报价币种]",
  29793. "type": "integer"
  29794. },
  29795. "buyorderid": {
  29796. "description": "买方委托单号(关联单号)",
  29797. "type": "string"
  29798. },
  29799. "createtime": {
  29800. "description": "创建时间",
  29801. "type": "string"
  29802. },
  29803. "decimalplace": {
  29804. "description": "报价小数位",
  29805. "type": "integer"
  29806. },
  29807. "enumdicname": {
  29808. "description": "单位名称(商品)",
  29809. "type": "string"
  29810. },
  29811. "goodscode": {
  29812. "description": "商品代码(内部)",
  29813. "type": "string"
  29814. },
  29815. "goodsid": {
  29816. "description": "商品ID",
  29817. "type": "integer"
  29818. },
  29819. "goodsname": {
  29820. "description": "商品名称",
  29821. "type": "string"
  29822. },
  29823. "goodunitid": {
  29824. "description": "报价单位ID",
  29825. "type": "integer"
  29826. },
  29827. "logincode": {
  29828. "description": "登录代码(账户)",
  29829. "type": "string"
  29830. },
  29831. "marketid": {
  29832. "description": "市场id",
  29833. "type": "integer"
  29834. },
  29835. "offamount": {
  29836. "description": "优惠金额",
  29837. "type": "number"
  29838. },
  29839. "operatetype": {
  29840. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  29841. "type": "integer"
  29842. },
  29843. "payamount": {
  29844. "description": "支付金额(金额)",
  29845. "type": "number"
  29846. },
  29847. "payflag": {
  29848. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29849. "type": "integer"
  29850. },
  29851. "paylimitedtime": {
  29852. "description": "支付期限",
  29853. "type": "string"
  29854. },
  29855. "paytime": {
  29856. "description": "付款时间",
  29857. "type": "string"
  29858. },
  29859. "qtydecimalplace": {
  29860. "description": "成交量小数位",
  29861. "type": "integer"
  29862. },
  29863. "sellaccountid": {
  29864. "description": "卖方账号ID[报价币种]",
  29865. "type": "integer"
  29866. },
  29867. "sellorderid": {
  29868. "description": "卖方委托单号",
  29869. "type": "string"
  29870. },
  29871. "tradeamount": {
  29872. "description": "成交金额(优惠后金额)",
  29873. "type": "number"
  29874. },
  29875. "tradecharge": {
  29876. "description": "成交手续费(买方)",
  29877. "type": "number"
  29878. },
  29879. "tradedate": {
  29880. "description": "交易日(yyyyMMdd)",
  29881. "type": "string"
  29882. },
  29883. "tradeid": {
  29884. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29885. "type": "string"
  29886. },
  29887. "trademode": {
  29888. "description": "交易模式",
  29889. "type": "integer"
  29890. },
  29891. "tradeprice": {
  29892. "description": "成交价格(价格)",
  29893. "type": "number"
  29894. },
  29895. "tradeqty": {
  29896. "description": "成交数量(数量)",
  29897. "type": "number"
  29898. },
  29899. "tradetime": {
  29900. "description": "成交时间",
  29901. "type": "string"
  29902. },
  29903. "userid": {
  29904. "description": "用户id",
  29905. "type": "integer"
  29906. },
  29907. "userinfotype": {
  29908. "description": "账户类型 1-个人 2-企业",
  29909. "type": "integer"
  29910. }
  29911. }
  29912. },
  29913. "models.QhjMyTeamEx": {
  29914. "type": "object",
  29915. "properties": {
  29916. "accountname": {
  29917. "description": "用户名称",
  29918. "type": "string"
  29919. },
  29920. "accountstatus": {
  29921. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29922. "type": "integer"
  29923. },
  29924. "createtime": {
  29925. "description": "创建时间",
  29926. "type": "string"
  29927. },
  29928. "mobile": {
  29929. "description": "手机号码",
  29930. "type": "string"
  29931. },
  29932. "refereeuserid": {
  29933. "description": "推荐人id",
  29934. "type": "integer"
  29935. },
  29936. "refernum": {
  29937. "description": "推荐码",
  29938. "type": "string"
  29939. },
  29940. "subList": {
  29941. "type": "array",
  29942. "items": {
  29943. "$ref": "#/definitions/models.QhjMyTeamEx"
  29944. }
  29945. },
  29946. "userid": {
  29947. "description": "用户id",
  29948. "type": "integer"
  29949. },
  29950. "userinfotype": {
  29951. "description": "用户类型 1-个人 2-企业",
  29952. "type": "integer"
  29953. }
  29954. }
  29955. },
  29956. "models.QhjNodeAgreementConfig": {
  29957. "type": "object",
  29958. "properties": {
  29959. "agreementcontent": {
  29960. "description": "协议内容",
  29961. "type": "string"
  29962. },
  29963. "agreementid": {
  29964. "description": "协议ID",
  29965. "type": "integer"
  29966. },
  29967. "agreementname": {
  29968. "description": "协议名称",
  29969. "type": "string"
  29970. },
  29971. "agreementno": {
  29972. "description": "协议编号",
  29973. "type": "string"
  29974. },
  29975. "agreementtype": {
  29976. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29977. "type": "integer"
  29978. },
  29979. "agreementversion": {
  29980. "description": "协议版本号",
  29981. "type": "integer"
  29982. },
  29983. "configid": {
  29984. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29985. "type": "integer"
  29986. },
  29987. "createtime": {
  29988. "description": "创建时间",
  29989. "type": "string"
  29990. },
  29991. "goodsid": {
  29992. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29993. "type": "integer"
  29994. },
  29995. "nodetype": {
  29996. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29997. "type": "integer"
  29998. }
  29999. }
  30000. },
  30001. "models.QhjParentAreaList": {
  30002. "type": "object",
  30003. "properties": {
  30004. "accountname": {
  30005. "description": "账户名称(机构名称)",
  30006. "type": "string"
  30007. },
  30008. "userid": {
  30009. "description": "用户ID",
  30010. "type": "integer"
  30011. },
  30012. "usertype": {
  30013. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30014. "type": "integer"
  30015. }
  30016. }
  30017. },
  30018. "models.QhjPayOrder": {
  30019. "type": "object",
  30020. "properties": {
  30021. "advanceratio": {
  30022. "description": "首付比率",
  30023. "type": "number"
  30024. },
  30025. "buyaccountid": {
  30026. "description": "买方账号ID[报价币种]",
  30027. "type": "integer"
  30028. },
  30029. "buyorderid": {
  30030. "description": "买方委托单号",
  30031. "type": "string"
  30032. },
  30033. "createtime": {
  30034. "description": "创建时间",
  30035. "type": "string"
  30036. },
  30037. "decimalplace": {
  30038. "description": "商品报价小数位",
  30039. "type": "integer"
  30040. },
  30041. "enumdicname": {
  30042. "description": "单位名称",
  30043. "type": "string"
  30044. },
  30045. "goodscode": {
  30046. "description": "商品代码",
  30047. "type": "string"
  30048. },
  30049. "goodsid": {
  30050. "description": "商品ID",
  30051. "type": "integer"
  30052. },
  30053. "goodsname": {
  30054. "description": "商品名称",
  30055. "type": "string"
  30056. },
  30057. "goodunitid": {
  30058. "description": "商品单位id",
  30059. "type": "integer"
  30060. },
  30061. "marketid": {
  30062. "description": "市场ID",
  30063. "type": "integer"
  30064. },
  30065. "offamount": {
  30066. "description": "优惠金额",
  30067. "type": "number"
  30068. },
  30069. "operatetype": {
  30070. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30071. "type": "integer"
  30072. },
  30073. "payamount": {
  30074. "description": "支付金额",
  30075. "type": "number"
  30076. },
  30077. "payflag": {
  30078. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30079. "type": "integer"
  30080. },
  30081. "paylimitedtime": {
  30082. "description": "支付期限",
  30083. "type": "string"
  30084. },
  30085. "paytime": {
  30086. "description": "付款时间",
  30087. "type": "string"
  30088. },
  30089. "qtydecimalplace": {
  30090. "description": "成交量小数位",
  30091. "type": "integer"
  30092. },
  30093. "sellaccountid": {
  30094. "description": "卖方账号ID[报价币种]",
  30095. "type": "integer"
  30096. },
  30097. "sellorderid": {
  30098. "description": "卖方委托单号",
  30099. "type": "string"
  30100. },
  30101. "tradeamount": {
  30102. "description": "成交金额(优惠后金额)",
  30103. "type": "number"
  30104. },
  30105. "tradecharge": {
  30106. "description": "成交手续费(买方)",
  30107. "type": "number"
  30108. },
  30109. "tradedate": {
  30110. "description": "交易日(yyyyMMdd)",
  30111. "type": "string"
  30112. },
  30113. "tradeid": {
  30114. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30115. "type": "string"
  30116. },
  30117. "tradeprice": {
  30118. "description": "成交价格",
  30119. "type": "number"
  30120. },
  30121. "tradeqty": {
  30122. "description": "成交数量",
  30123. "type": "number"
  30124. }
  30125. }
  30126. },
  30127. "models.QhjPickArea": {
  30128. "type": "object",
  30129. "properties": {
  30130. "address": {
  30131. "description": "详细地址",
  30132. "type": "string"
  30133. },
  30134. "cityid": {
  30135. "description": "市",
  30136. "type": "integer"
  30137. },
  30138. "cityname": {
  30139. "description": "城市名称",
  30140. "type": "string"
  30141. },
  30142. "countryid": {
  30143. "description": "国家",
  30144. "type": "integer"
  30145. },
  30146. "countryname": {
  30147. "description": "国家名称",
  30148. "type": "string"
  30149. },
  30150. "districtid": {
  30151. "description": "地区",
  30152. "type": "integer"
  30153. },
  30154. "districtname": {
  30155. "description": "地区名称",
  30156. "type": "string"
  30157. },
  30158. "fromuserid": {
  30159. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30160. "type": "integer"
  30161. },
  30162. "fromusername": {
  30163. "description": "所属机构名称",
  30164. "type": "string"
  30165. },
  30166. "provinceid": {
  30167. "description": "省",
  30168. "type": "integer"
  30169. },
  30170. "provincename": {
  30171. "description": "省名称",
  30172. "type": "string"
  30173. },
  30174. "suborgtype": {
  30175. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30176. "type": "integer"
  30177. },
  30178. "userid": {
  30179. "description": "机构用户ID 其他做市关系,都设置为 1",
  30180. "type": "integer"
  30181. },
  30182. "username": {
  30183. "description": "机构用户名称(门店门称)",
  30184. "type": "string"
  30185. }
  30186. }
  30187. },
  30188. "models.QhjPickGoods": {
  30189. "type": "object",
  30190. "properties": {
  30191. "enumdicname": {
  30192. "description": "单位名称(提货商品)",
  30193. "type": "string"
  30194. },
  30195. "goodsid": {
  30196. "description": "商品id",
  30197. "type": "integer"
  30198. },
  30199. "imageaddress": {
  30200. "description": "图片",
  30201. "type": "string"
  30202. },
  30203. "modifierid": {
  30204. "description": "修改人",
  30205. "type": "integer"
  30206. },
  30207. "modifiername": {
  30208. "description": "修改人名称",
  30209. "type": "string"
  30210. },
  30211. "modifysrc": {
  30212. "description": "修改来源 - 1:管理端 2:终端",
  30213. "type": "integer"
  30214. },
  30215. "pickupgoodsagreeunit": {
  30216. "description": "合约乘数",
  30217. "type": "number"
  30218. },
  30219. "pickupgoodsdesc": {
  30220. "description": "描述",
  30221. "type": "string"
  30222. },
  30223. "pickupgoodsid": {
  30224. "description": "提货商品ID",
  30225. "type": "string"
  30226. },
  30227. "pickupgoodsname": {
  30228. "description": "提货商品名称",
  30229. "type": "string"
  30230. },
  30231. "pickupgoodsstatus": {
  30232. "description": "状态 - 1:正常 2:停用 3:注销",
  30233. "type": "integer"
  30234. },
  30235. "pickupgoodsunitid": {
  30236. "description": "单位ID",
  30237. "type": "integer"
  30238. },
  30239. "pickupratio": {
  30240. "description": "提货系数",
  30241. "type": "number"
  30242. },
  30243. "preparedays": {
  30244. "description": "备货期(天)",
  30245. "type": "integer"
  30246. },
  30247. "remark": {
  30248. "description": "备注",
  30249. "type": "string"
  30250. },
  30251. "updatetime": {
  30252. "description": "更新时间",
  30253. "type": "string"
  30254. }
  30255. }
  30256. },
  30257. "models.QhjRSTriggerLog": {
  30258. "type": "object",
  30259. "properties": {
  30260. "accountid": {
  30261. "description": "用户资金账户",
  30262. "type": "integer"
  30263. },
  30264. "accountname": {
  30265. "description": "账号名称(ACCOUNTID对应的名称)",
  30266. "type": "string"
  30267. },
  30268. "currencyid": {
  30269. "description": "币种id",
  30270. "type": "integer"
  30271. },
  30272. "currencyname": {
  30273. "description": "币种名称",
  30274. "type": "string"
  30275. },
  30276. "decimalplace": {
  30277. "description": "商品报价小数位",
  30278. "type": "integer"
  30279. },
  30280. "enumdicname": {
  30281. "description": "单位名称",
  30282. "type": "string"
  30283. },
  30284. "goodscode": {
  30285. "description": "定投商品代码",
  30286. "type": "string"
  30287. },
  30288. "goodsid": {
  30289. "description": "定投商品ID",
  30290. "type": "integer"
  30291. },
  30292. "goodsname": {
  30293. "description": "定投商品名称",
  30294. "type": "string"
  30295. },
  30296. "goodunitid": {
  30297. "description": "定投商品单位id",
  30298. "type": "integer"
  30299. },
  30300. "logid": {
  30301. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30302. "type": "string"
  30303. },
  30304. "logincode": {
  30305. "description": "账号(登录代码)",
  30306. "type": "string"
  30307. },
  30308. "qtydecimalplace": {
  30309. "description": "成交量小数位",
  30310. "type": "integer"
  30311. },
  30312. "regularlycycle": {
  30313. "description": "定投频率 - 1:每周 2:每月",
  30314. "type": "integer"
  30315. },
  30316. "regularlycyclevalue": {
  30317. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30318. "type": "string"
  30319. },
  30320. "regularlymode": {
  30321. "description": "定投方式 - 1:按数量 2:按金额",
  30322. "type": "integer"
  30323. },
  30324. "regularlymodevalue": {
  30325. "description": "定投方式值 - 数量或金额",
  30326. "type": "number"
  30327. },
  30328. "regularlystrategyid": {
  30329. "description": "定投策略ID",
  30330. "type": "integer"
  30331. },
  30332. "retcode": {
  30333. "description": "错误码",
  30334. "type": "string"
  30335. },
  30336. "tradeid": {
  30337. "description": "成交单ID",
  30338. "type": "string"
  30339. },
  30340. "triggeramount": {
  30341. "description": "触发金额",
  30342. "type": "number"
  30343. },
  30344. "triggerqty": {
  30345. "description": "触发数量",
  30346. "type": "number"
  30347. },
  30348. "triggerstatus": {
  30349. "description": "触发状态 - 1:成功 2:失败",
  30350. "type": "integer"
  30351. },
  30352. "triggertime": {
  30353. "description": "触发时间",
  30354. "type": "string"
  30355. },
  30356. "triggertradedate": {
  30357. "description": "触发交易日",
  30358. "type": "string"
  30359. },
  30360. "userid": {
  30361. "description": "所属用户ID",
  30362. "type": "integer"
  30363. },
  30364. "userinfotype": {
  30365. "description": "用户类型 1-个人 2-企业",
  30366. "type": "integer"
  30367. },
  30368. "username": {
  30369. "description": "用户名称(userid对应的名称)",
  30370. "type": "string"
  30371. }
  30372. }
  30373. },
  30374. "models.QhjRStrategy": {
  30375. "type": "object",
  30376. "properties": {
  30377. "accountid": {
  30378. "description": "用户资金账户",
  30379. "type": "integer"
  30380. },
  30381. "accountname": {
  30382. "description": "账号名称(ACCOUNTID对应的名称)",
  30383. "type": "string"
  30384. },
  30385. "currencyid": {
  30386. "description": "币种id",
  30387. "type": "integer"
  30388. },
  30389. "currencyname": {
  30390. "description": "币种名称",
  30391. "type": "string"
  30392. },
  30393. "decimalplace": {
  30394. "description": "商品报价小数位",
  30395. "type": "integer"
  30396. },
  30397. "enumdicname": {
  30398. "description": "单位名称",
  30399. "type": "string"
  30400. },
  30401. "goodscode": {
  30402. "description": "定投商品代码",
  30403. "type": "string"
  30404. },
  30405. "goodsid": {
  30406. "description": "定投商品ID",
  30407. "type": "integer"
  30408. },
  30409. "goodsname": {
  30410. "description": "定投商品名称",
  30411. "type": "string"
  30412. },
  30413. "goodunitid": {
  30414. "description": "定投商品单位id",
  30415. "type": "integer"
  30416. },
  30417. "lasteffecttradedate": {
  30418. "description": "最新生效交易日",
  30419. "type": "string"
  30420. },
  30421. "laststoptradedate": {
  30422. "description": "最新暂停交易日",
  30423. "type": "string"
  30424. },
  30425. "lasttriggertradedate": {
  30426. "description": "最新触发交易日",
  30427. "type": "string"
  30428. },
  30429. "logincode": {
  30430. "description": "账号(登录代码)",
  30431. "type": "string"
  30432. },
  30433. "nexttriggeramount": {
  30434. "description": "下次触发金额",
  30435. "type": "number"
  30436. },
  30437. "nexttriggerdate": {
  30438. "description": "下次触发日期",
  30439. "type": "string"
  30440. },
  30441. "nexttriggerqty": {
  30442. "description": "下次触发数量 [按小数位放大值]",
  30443. "type": "number"
  30444. },
  30445. "qtydecimalplace": {
  30446. "description": "成交量小数位",
  30447. "type": "integer"
  30448. },
  30449. "regularlycycle": {
  30450. "description": "定投频率 - 1:每周 2:每月",
  30451. "type": "integer"
  30452. },
  30453. "regularlycyclevalue": {
  30454. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30455. "type": "string"
  30456. },
  30457. "regularlymode": {
  30458. "description": "定投方式 - 1:按数量 2:按金额",
  30459. "type": "integer"
  30460. },
  30461. "regularlymodevalue": {
  30462. "description": "定投方式值 - 数量或金额",
  30463. "type": "number"
  30464. },
  30465. "regularlystrategyid": {
  30466. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30467. "type": "integer"
  30468. },
  30469. "regularlystrategystatus": {
  30470. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30471. "type": "integer"
  30472. },
  30473. "remark": {
  30474. "description": "备注",
  30475. "type": "string"
  30476. },
  30477. "triggersuccesstimes": {
  30478. "description": "累计定投成功次数",
  30479. "type": "string"
  30480. },
  30481. "triggertotalamount": {
  30482. "description": "累计定投金额(成功)",
  30483. "type": "number"
  30484. },
  30485. "triggertotalqty": {
  30486. "description": "累计定投数量(成功) [按小数位放大值]",
  30487. "type": "number"
  30488. },
  30489. "triggertotaltimes": {
  30490. "description": "累计定投总次数",
  30491. "type": "string"
  30492. },
  30493. "updatesrc": {
  30494. "description": "更新来源 - 1:管理端 2:终端",
  30495. "type": "integer"
  30496. },
  30497. "updatetime": {
  30498. "description": "更新时间",
  30499. "type": "string"
  30500. },
  30501. "updatorid": {
  30502. "description": "更新人",
  30503. "type": "string"
  30504. },
  30505. "userid": {
  30506. "description": "所属用户ID",
  30507. "type": "integer"
  30508. },
  30509. "userinfotype": {
  30510. "description": "用户类型 1-个人 2-企业",
  30511. "type": "integer"
  30512. },
  30513. "username": {
  30514. "description": "用户名称(userid对应的名称)",
  30515. "type": "string"
  30516. }
  30517. }
  30518. },
  30519. "models.QhjReckonPriceLog": {
  30520. "type": "object",
  30521. "properties": {
  30522. "decimalplace": {
  30523. "description": "商品报价小数位",
  30524. "type": "integer"
  30525. },
  30526. "goodscode": {
  30527. "description": "商品代码",
  30528. "type": "string"
  30529. },
  30530. "goodsid": {
  30531. "description": "商品ID",
  30532. "type": "integer"
  30533. },
  30534. "goodsname": {
  30535. "description": "商品名称",
  30536. "type": "string"
  30537. },
  30538. "lastreckonprice": {
  30539. "description": "上日结算价",
  30540. "type": "number"
  30541. },
  30542. "nextdnlimitprice": {
  30543. "description": "下个交易日跌停价",
  30544. "type": "number"
  30545. },
  30546. "nexttrade": {
  30547. "description": "下个交易日",
  30548. "type": "string"
  30549. },
  30550. "nextuplimitprice": {
  30551. "description": "下个交易日涨停价",
  30552. "type": "number"
  30553. },
  30554. "reckonprice": {
  30555. "description": "今日结算价(定投价)",
  30556. "type": "number"
  30557. },
  30558. "reckontime": {
  30559. "description": "结算时间",
  30560. "type": "string"
  30561. },
  30562. "totalholderqty": {
  30563. "description": "总持仓数",
  30564. "type": "integer"
  30565. },
  30566. "totalstock": {
  30567. "description": "总库存",
  30568. "type": "integer"
  30569. },
  30570. "tradedate": {
  30571. "description": "交易日",
  30572. "type": "string"
  30573. },
  30574. "updowncount": {
  30575. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30576. "type": "integer"
  30577. },
  30578. "updownflag": {
  30579. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30580. "type": "integer"
  30581. },
  30582. "updownrate": {
  30583. "description": "今日涨跌幅",
  30584. "type": "number"
  30585. },
  30586. "updownrate_2d": {
  30587. "description": "连续两日涨跌幅",
  30588. "type": "number"
  30589. },
  30590. "updownrate_3d": {
  30591. "description": "连续三日涨跌幅",
  30592. "type": "number"
  30593. }
  30594. }
  30595. },
  30596. "models.QhjScoreLog": {
  30597. "type": "object",
  30598. "properties": {
  30599. "accountid": {
  30600. "description": "账户ID",
  30601. "type": "integer"
  30602. },
  30603. "createtime": {
  30604. "description": "创建时间(时间)",
  30605. "type": "string"
  30606. },
  30607. "goodsid": {
  30608. "description": "商品ID",
  30609. "type": "integer"
  30610. },
  30611. "hasuploaded": {
  30612. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  30613. "type": "integer"
  30614. },
  30615. "logid": {
  30616. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30617. "type": "string"
  30618. },
  30619. "marketid": {
  30620. "description": "市场ID",
  30621. "type": "integer"
  30622. },
  30623. "relatedamount": {
  30624. "description": "关联金额",
  30625. "type": "number"
  30626. },
  30627. "relatedorderid": {
  30628. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  30629. "type": "string"
  30630. },
  30631. "scoreconfigvalue1": {
  30632. "description": "积分配置1",
  30633. "type": "integer"
  30634. },
  30635. "scoreconfigvalue2": {
  30636. "description": "积分配置1",
  30637. "type": "integer"
  30638. },
  30639. "scoretype": {
  30640. "description": "积分类型 - 1:提货积分",
  30641. "type": "integer"
  30642. },
  30643. "scorevalue": {
  30644. "description": "积分",
  30645. "type": "number"
  30646. },
  30647. "tradedate": {
  30648. "description": "交易日(yyyyMMdd)",
  30649. "type": "string"
  30650. },
  30651. "uploadedtime": {
  30652. "description": "同步时间",
  30653. "type": "string"
  30654. },
  30655. "userid": {
  30656. "description": "用户ID",
  30657. "type": "integer"
  30658. }
  30659. }
  30660. },
  30661. "models.QhjSiteColumnDetail": {
  30662. "type": "object",
  30663. "properties": {
  30664. "author": {
  30665. "description": "作者",
  30666. "type": "string"
  30667. },
  30668. "brief": {
  30669. "description": "简介",
  30670. "type": "string"
  30671. },
  30672. "columnid": {
  30673. "description": "所属栏目",
  30674. "type": "integer"
  30675. },
  30676. "context": {
  30677. "description": "内容",
  30678. "type": "string"
  30679. },
  30680. "coverimage": {
  30681. "description": "封面图片",
  30682. "type": "string"
  30683. },
  30684. "creaedate": {
  30685. "description": "创建时间",
  30686. "type": "string"
  30687. },
  30688. "creatorid": {
  30689. "description": "创建人",
  30690. "type": "integer"
  30691. },
  30692. "hits": {
  30693. "description": "点击数",
  30694. "type": "integer"
  30695. },
  30696. "id": {
  30697. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  30698. "type": "integer"
  30699. },
  30700. "isshow": {
  30701. "description": "是否展示 - 0:不展示 1:展示",
  30702. "type": "integer"
  30703. },
  30704. "istop": {
  30705. "description": "是否置顶 - 0:不置 1:置顶",
  30706. "type": "integer"
  30707. },
  30708. "modifierid": {
  30709. "description": "操作人",
  30710. "type": "integer"
  30711. },
  30712. "publishdate": {
  30713. "description": "发布日期",
  30714. "type": "string"
  30715. },
  30716. "status": {
  30717. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  30718. "type": "integer"
  30719. },
  30720. "title": {
  30721. "description": "标题",
  30722. "type": "string"
  30723. },
  30724. "updatedate": {
  30725. "description": "修改时间",
  30726. "type": "string"
  30727. },
  30728. "userid": {
  30729. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  30730. "type": "integer"
  30731. },
  30732. "username": {
  30733. "description": "用户名称",
  30734. "type": "string"
  30735. }
  30736. }
  30737. },
  30738. "models.QhjTeamOrder": {
  30739. "type": "object",
  30740. "properties": {
  30741. "accountid": {
  30742. "description": "账户ID[报价币种]",
  30743. "type": "integer"
  30744. },
  30745. "accountname": {
  30746. "description": "账户名称",
  30747. "type": "string"
  30748. },
  30749. "agreeunit": {
  30750. "description": "合约乘数",
  30751. "type": "number"
  30752. },
  30753. "buyorsell": {
  30754. "description": "方向 - 0:买 1:卖",
  30755. "type": "integer"
  30756. },
  30757. "decimalplace": {
  30758. "description": "报价小数位",
  30759. "type": "integer"
  30760. },
  30761. "enumdicname": {
  30762. "description": "单位名称",
  30763. "type": "string"
  30764. },
  30765. "goodscode": {
  30766. "description": "商品代码(内部)",
  30767. "type": "string"
  30768. },
  30769. "goodsid": {
  30770. "description": "商品ID",
  30771. "type": "integer"
  30772. },
  30773. "goodsname": {
  30774. "description": "商品名称",
  30775. "type": "string"
  30776. },
  30777. "goodunitid": {
  30778. "description": "报价单位ID",
  30779. "type": "integer"
  30780. },
  30781. "marketid": {
  30782. "description": "市场ID",
  30783. "type": "integer"
  30784. },
  30785. "marketname": {
  30786. "description": "市场名称",
  30787. "type": "string"
  30788. },
  30789. "qtydecimalplace": {
  30790. "description": "成交量小数位",
  30791. "type": "integer"
  30792. },
  30793. "refereeuserid": {
  30794. "description": "推荐人ID",
  30795. "type": "integer"
  30796. },
  30797. "tradeamount": {
  30798. "description": "成交金额[账户币种,用于所有权]",
  30799. "type": "number"
  30800. },
  30801. "tradedate": {
  30802. "description": "交易日(yyyyMMdd)",
  30803. "type": "string"
  30804. },
  30805. "trademode": {
  30806. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30807. "type": "integer"
  30808. },
  30809. "tradeprice": {
  30810. "description": "成交价格",
  30811. "type": "number"
  30812. },
  30813. "tradeqty": {
  30814. "description": "成交数量",
  30815. "type": "number"
  30816. },
  30817. "tradetime": {
  30818. "description": "成交时间",
  30819. "type": "string"
  30820. },
  30821. "userid": {
  30822. "description": "用户ID",
  30823. "type": "integer"
  30824. }
  30825. }
  30826. },
  30827. "models.QhjTradeGoodsPickup": {
  30828. "type": "object",
  30829. "properties": {
  30830. "accountid": {
  30831. "description": "账户ID",
  30832. "type": "integer"
  30833. },
  30834. "address": {
  30835. "description": "提货人详细地址",
  30836. "type": "string"
  30837. },
  30838. "amount": {
  30839. "description": "提货金额",
  30840. "type": "number"
  30841. },
  30842. "artradedate": {
  30843. "description": "自动收货交易日(yyyyMMdd)",
  30844. "type": "string"
  30845. },
  30846. "auditer": {
  30847. "description": "审核人",
  30848. "type": "integer"
  30849. },
  30850. "auditsrc": {
  30851. "description": "更新来源 - 1:管理端 2:终端",
  30852. "type": "integer"
  30853. },
  30854. "audittime": {
  30855. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  30856. "type": "string"
  30857. },
  30858. "audittradedate": {
  30859. "description": "审核交易日(yyyyMMdd)",
  30860. "type": "string"
  30861. },
  30862. "cardnum": {
  30863. "description": "提货人证件号码",
  30864. "type": "string"
  30865. },
  30866. "cardtypeid": {
  30867. "description": "提货人证件类型",
  30868. "type": "integer"
  30869. },
  30870. "checkremark": {
  30871. "description": "审核备注",
  30872. "type": "string"
  30873. },
  30874. "cityid": {
  30875. "description": "市",
  30876. "type": "integer"
  30877. },
  30878. "cityname": {
  30879. "description": "城市名称",
  30880. "type": "string"
  30881. },
  30882. "confirmtime": {
  30883. "description": "取货时间 或 收货时间",
  30884. "type": "string"
  30885. },
  30886. "countryid": {
  30887. "description": "国家",
  30888. "type": "integer"
  30889. },
  30890. "countryname": {
  30891. "description": "国家名称",
  30892. "type": "string"
  30893. },
  30894. "decimalplace": {
  30895. "description": "商品报价小数位",
  30896. "type": "integer"
  30897. },
  30898. "districtid": {
  30899. "description": "地区",
  30900. "type": "integer"
  30901. },
  30902. "districtname": {
  30903. "description": "地区名称",
  30904. "type": "string"
  30905. },
  30906. "enumdicname": {
  30907. "description": "单位名称(提货商品)",
  30908. "type": "string"
  30909. },
  30910. "expresscompany": {
  30911. "description": "物流公司",
  30912. "type": "string"
  30913. },
  30914. "expressnum": {
  30915. "description": "物流单号",
  30916. "type": "string"
  30917. },
  30918. "goodsagreeunit": {
  30919. "description": "交易商品乘数",
  30920. "type": "number"
  30921. },
  30922. "goodscode": {
  30923. "description": "商品代码",
  30924. "type": "string"
  30925. },
  30926. "goodsid": {
  30927. "description": "商品ID",
  30928. "type": "integer"
  30929. },
  30930. "goodsname": {
  30931. "description": "商品名称",
  30932. "type": "string"
  30933. },
  30934. "goodsqty": {
  30935. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  30936. "type": "number"
  30937. },
  30938. "handlestatus": {
  30939. "description": "处理状态",
  30940. "type": "integer"
  30941. },
  30942. "logincode": {
  30943. "description": "账号(登录代码, 有可能为空)",
  30944. "type": "string"
  30945. },
  30946. "marketid": {
  30947. "description": "市场ID",
  30948. "type": "integer"
  30949. },
  30950. "phonenum": {
  30951. "description": "提货人联系方式",
  30952. "type": "string"
  30953. },
  30954. "pickupgoodsagreeunit": {
  30955. "description": "提货商品合约乘数",
  30956. "type": "number"
  30957. },
  30958. "pickupgoodsid": {
  30959. "description": "提货商品ID",
  30960. "type": "string"
  30961. },
  30962. "pickupgoodsname": {
  30963. "description": "提货商品名称",
  30964. "type": "string"
  30965. },
  30966. "pickupgoodsqty": {
  30967. "description": "提货商品手数(数量)",
  30968. "type": "number"
  30969. },
  30970. "pickupgoodsunitid": {
  30971. "description": "单位ID(提货商品)",
  30972. "type": "integer"
  30973. },
  30974. "pickupratio": {
  30975. "description": "提货系数",
  30976. "type": "number"
  30977. },
  30978. "preparedays": {
  30979. "description": "备货期(天)-提货单明细表",
  30980. "type": "integer"
  30981. },
  30982. "provinceid": {
  30983. "description": "省",
  30984. "type": "integer"
  30985. },
  30986. "provincename": {
  30987. "description": "省名称",
  30988. "type": "string"
  30989. },
  30990. "qty": {
  30991. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  30992. "type": "number"
  30993. },
  30994. "qtydecimalplace": {
  30995. "description": "商品数量小数位",
  30996. "type": "integer"
  30997. },
  30998. "recivername": {
  30999. "description": "提货人姓名",
  31000. "type": "string"
  31001. },
  31002. "reqtime": {
  31003. "description": "提货申请时间",
  31004. "type": "string"
  31005. },
  31006. "storeuserid": {
  31007. "description": "门店用户ID (千海金)",
  31008. "type": "integer"
  31009. },
  31010. "storeusername": {
  31011. "description": "门店用户名称",
  31012. "type": "string"
  31013. },
  31014. "takemode": {
  31015. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31016. "type": "integer"
  31017. },
  31018. "takeorderid": {
  31019. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31020. "type": "string"
  31021. },
  31022. "takeorderstatus": {
  31023. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31024. "type": "integer"
  31025. },
  31026. "takeremark": {
  31027. "description": "提货备注",
  31028. "type": "string"
  31029. },
  31030. "tradedate": {
  31031. "description": "交易日(yyyyMMdd)",
  31032. "type": "string"
  31033. },
  31034. "updatetime": {
  31035. "description": "更新时间",
  31036. "type": "string"
  31037. },
  31038. "userid": {
  31039. "description": "用户ID",
  31040. "type": "integer"
  31041. },
  31042. "userinfotype": {
  31043. "description": "客户类型 1-个人 2-企业",
  31044. "type": "integer"
  31045. },
  31046. "username": {
  31047. "description": "用户名称",
  31048. "type": "string"
  31049. }
  31050. }
  31051. },
  31052. "models.QhjUserNodeCfgAndStatus": {
  31053. "type": "object",
  31054. "properties": {
  31055. "agreementcontent": {
  31056. "description": "协议内容",
  31057. "type": "string"
  31058. },
  31059. "agreementid": {
  31060. "description": "协议ID",
  31061. "type": "integer"
  31062. },
  31063. "agreementname": {
  31064. "description": "协议名称",
  31065. "type": "string"
  31066. },
  31067. "agreementno": {
  31068. "description": "协议编号",
  31069. "type": "string"
  31070. },
  31071. "agreementtype": {
  31072. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31073. "type": "integer"
  31074. },
  31075. "agreementversion": {
  31076. "description": "协议版本号",
  31077. "type": "integer"
  31078. },
  31079. "configid": {
  31080. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31081. "type": "integer"
  31082. },
  31083. "createtime": {
  31084. "description": "创建时间",
  31085. "type": "string"
  31086. },
  31087. "goodsid": {
  31088. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31089. "type": "integer"
  31090. },
  31091. "nodetype": {
  31092. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31093. "type": "integer"
  31094. },
  31095. "signtimestamp": {
  31096. "description": "签约状态时间戳(最近一次)",
  31097. "type": "string"
  31098. },
  31099. "tradedate": {
  31100. "description": "签约交易日(yyyyMMdd)",
  31101. "type": "string"
  31102. },
  31103. "userid": {
  31104. "description": "客户ID",
  31105. "type": "integer"
  31106. }
  31107. }
  31108. },
  31109. "models.Qhjgoodsex": {
  31110. "type": "object",
  31111. "properties": {
  31112. "canfinance": {
  31113. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31114. "type": "integer"
  31115. },
  31116. "canregularlybuy": {
  31117. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31118. "type": "integer"
  31119. },
  31120. "defaulttradeuserid": {
  31121. "description": "默认交易用户ID",
  31122. "type": "integer"
  31123. },
  31124. "deliverygoodsid": {
  31125. "description": "现货品种ID",
  31126. "type": "integer"
  31127. },
  31128. "goodsid": {
  31129. "description": "商品ID(自增ID SEQ_GOODS)",
  31130. "type": "integer"
  31131. },
  31132. "minamount": {
  31133. "description": "最小购买金额",
  31134. "type": "number"
  31135. },
  31136. "regularlybuyminamount": {
  31137. "description": "定投最小金额",
  31138. "type": "number"
  31139. },
  31140. "regularlybuyminqty": {
  31141. "description": "定投最小数量",
  31142. "type": "number"
  31143. },
  31144. "spotgoodsbrandid": {
  31145. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31146. "type": "integer"
  31147. },
  31148. "visibilityforenterprise": {
  31149. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31150. "type": "integer"
  31151. },
  31152. "visibilityforpersonal": {
  31153. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31154. "type": "integer"
  31155. },
  31156. "wrstandardid": {
  31157. "description": "现货商品ID",
  31158. "type": "integer"
  31159. }
  31160. }
  31161. },
  31162. "models.QueryErrorInfosRsp": {
  31163. "type": "object",
  31164. "required": [
  31165. "errorid"
  31166. ],
  31167. "properties": {
  31168. "description": {
  31169. "description": "异常描述",
  31170. "type": "string"
  31171. },
  31172. "errorcode": {
  31173. "description": "异常代码",
  31174. "type": "string"
  31175. },
  31176. "errorid": {
  31177. "description": "异常ID",
  31178. "type": "integer"
  31179. },
  31180. "modulecode": {
  31181. "description": "所属模块",
  31182. "type": "string"
  31183. },
  31184. "operatecode": {
  31185. "description": "所属操作",
  31186. "type": "string"
  31187. },
  31188. "rownumber": {
  31189. "description": "行号",
  31190. "type": "string"
  31191. }
  31192. }
  31193. },
  31194. "models.QueryHedgeOrderDetailRsp": {
  31195. "type": "object",
  31196. "properties": {
  31197. "accountid": {
  31198. "description": "账户ID",
  31199. "type": "integer"
  31200. },
  31201. "buyorsell": {
  31202. "description": "买卖 - 0:买 1:卖",
  31203. "type": "integer"
  31204. },
  31205. "cancellogincode": {
  31206. "description": "撤单人",
  31207. "type": "string"
  31208. },
  31209. "channelbuildtype": {
  31210. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31211. "type": "integer"
  31212. },
  31213. "channelinnerorderstatus": {
  31214. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31215. "type": "integer"
  31216. },
  31217. "channeloperatetype": {
  31218. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31219. "type": "integer"
  31220. },
  31221. "closetype": {
  31222. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31223. "type": "integer"
  31224. },
  31225. "curexchangerate": {
  31226. "description": "当前汇率",
  31227. "type": "number"
  31228. },
  31229. "exchangefullname": {
  31230. "description": "外部交易所全称",
  31231. "type": "string"
  31232. },
  31233. "goodscode": {
  31234. "description": "商品代码(内部)",
  31235. "type": "string"
  31236. },
  31237. "goodsid": {
  31238. "description": "商品ID",
  31239. "type": "integer"
  31240. },
  31241. "goodsname": {
  31242. "description": "商品名称",
  31243. "type": "string"
  31244. },
  31245. "marketid": {
  31246. "description": "市场ID",
  31247. "type": "integer"
  31248. },
  31249. "openfreezemargin": {
  31250. "description": "冻结保证金(冻结交易金额)",
  31251. "type": "number"
  31252. },
  31253. "orderid": {
  31254. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31255. "type": "string"
  31256. },
  31257. "orderlogincode": {
  31258. "description": "委托人",
  31259. "type": "string"
  31260. },
  31261. "orderprice": {
  31262. "description": "委托价格(账户)",
  31263. "type": "number"
  31264. },
  31265. "orderqty": {
  31266. "description": "委托数量",
  31267. "type": "integer"
  31268. },
  31269. "ordertime": {
  31270. "description": "委托时间",
  31271. "type": "string"
  31272. },
  31273. "pricemode": {
  31274. "description": "取价方式 - 1:市价 2: 限价",
  31275. "type": "integer"
  31276. },
  31277. "tradedate": {
  31278. "description": "交易日(yyyyMMdd)",
  31279. "type": "string"
  31280. },
  31281. "tradeqty": {
  31282. "description": "成交数量",
  31283. "type": "integer"
  31284. }
  31285. }
  31286. },
  31287. "models.QueryHedgeTradeDetailRsp": {
  31288. "type": "object",
  31289. "properties": {
  31290. "accountid": {
  31291. "description": "账号ID",
  31292. "type": "integer"
  31293. },
  31294. "buyorsell": {
  31295. "description": "方向 - 0:买 1:卖",
  31296. "type": "integer"
  31297. },
  31298. "channelbuildtype": {
  31299. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31300. "type": "integer"
  31301. },
  31302. "closecharge": {
  31303. "description": "平仓手续费(账户)",
  31304. "type": "number"
  31305. },
  31306. "closecharge2": {
  31307. "description": "平仓手续费(商品)",
  31308. "type": "number"
  31309. },
  31310. "closepl": {
  31311. "description": "平仓盈亏(账户)",
  31312. "type": "number"
  31313. },
  31314. "closepl2": {
  31315. "description": "平仓盈亏(商品)",
  31316. "type": "number"
  31317. },
  31318. "closepl3": {
  31319. "description": "平仓盈亏(账户)(逐笔)",
  31320. "type": "number"
  31321. },
  31322. "closepl4": {
  31323. "description": "平仓盈亏(商品)(逐笔)",
  31324. "type": "number"
  31325. },
  31326. "closetype": {
  31327. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31328. "type": "integer"
  31329. },
  31330. "curexchangerate": {
  31331. "description": "当前汇率",
  31332. "type": "number"
  31333. },
  31334. "exchangefullname": {
  31335. "description": "外部交易所全称",
  31336. "type": "string"
  31337. },
  31338. "goodscode": {
  31339. "description": "商品代码(内部)",
  31340. "type": "string"
  31341. },
  31342. "goodsid": {
  31343. "description": "商品ID",
  31344. "type": "integer"
  31345. },
  31346. "goodsname": {
  31347. "description": "商品名称",
  31348. "type": "string"
  31349. },
  31350. "marketid": {
  31351. "description": "市场ID",
  31352. "type": "integer"
  31353. },
  31354. "opencharge": {
  31355. "description": "建仓手续费(账户)",
  31356. "type": "number"
  31357. },
  31358. "opencharge2": {
  31359. "description": "建仓手续费(商品)",
  31360. "type": "number"
  31361. },
  31362. "orderid": {
  31363. "description": "委托单号",
  31364. "type": "string"
  31365. },
  31366. "orderlogincode": {
  31367. "description": "委托人",
  31368. "type": "string"
  31369. },
  31370. "tradeamount": {
  31371. "description": "成交金额(账户)",
  31372. "type": "number"
  31373. },
  31374. "tradedate": {
  31375. "description": "交易日(yyyyMMdd)",
  31376. "type": "string"
  31377. },
  31378. "tradeid": {
  31379. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31380. "type": "string"
  31381. },
  31382. "tradeprice": {
  31383. "description": "成交价格",
  31384. "type": "number"
  31385. },
  31386. "tradeqty": {
  31387. "description": "成交数量",
  31388. "type": "integer"
  31389. },
  31390. "tradetime": {
  31391. "description": "成交时间",
  31392. "type": "string"
  31393. },
  31394. "tradetype": {
  31395. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31396. "type": "integer"
  31397. }
  31398. }
  31399. },
  31400. "models.QuotePrimaryMenu": {
  31401. "type": "object",
  31402. "properties": {
  31403. "Index": {
  31404. "description": "序号",
  31405. "type": "integer"
  31406. },
  31407. "Key": {
  31408. "description": "键名",
  31409. "type": "string"
  31410. },
  31411. "Name": {
  31412. "description": "菜单名称",
  31413. "type": "string"
  31414. },
  31415. "SubMenus": {
  31416. "description": "子菜单",
  31417. "type": "array",
  31418. "items": {
  31419. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31420. }
  31421. },
  31422. "SubTitleType": {
  31423. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31424. "type": "integer"
  31425. },
  31426. "TradeModes": {
  31427. "description": "包含市场交易类型",
  31428. "type": "string"
  31429. }
  31430. }
  31431. },
  31432. "models.QuoteSecondaryMenu": {
  31433. "type": "object",
  31434. "properties": {
  31435. "ExExchangeCode": {
  31436. "description": "外部交易所代码",
  31437. "type": "string"
  31438. },
  31439. "ExExchangeID": {
  31440. "description": "外部交易所ID",
  31441. "type": "integer"
  31442. },
  31443. "GoodsGroupIDs": {
  31444. "description": "商品组ID列表",
  31445. "type": "array",
  31446. "items": {
  31447. "type": "integer"
  31448. }
  31449. },
  31450. "Index": {
  31451. "description": "序号",
  31452. "type": "integer"
  31453. },
  31454. "MarketID": {
  31455. "description": "市场ID",
  31456. "type": "integer"
  31457. },
  31458. "MenuTitle": {
  31459. "description": "菜单标题(市场名称或外部交易所名称)",
  31460. "type": "string"
  31461. },
  31462. "TradeMode": {
  31463. "description": "交易模式",
  31464. "type": "integer"
  31465. }
  31466. }
  31467. },
  31468. "models.RoleMenu": {
  31469. "type": "object",
  31470. "properties": {
  31471. "hasright": {
  31472. "description": "是否有权限 0-没有权限 1-有权限",
  31473. "type": "integer"
  31474. },
  31475. "iconame": {
  31476. "description": "菜单图标",
  31477. "type": "string"
  31478. },
  31479. "menutype": {
  31480. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31481. "type": "integer"
  31482. },
  31483. "parentcode": {
  31484. "description": "上级资源代码",
  31485. "type": "string"
  31486. },
  31487. "remark": {
  31488. "description": "菜单备注",
  31489. "type": "string"
  31490. },
  31491. "resourcecode": {
  31492. "description": "菜单代码",
  31493. "type": "string"
  31494. },
  31495. "resourcelevel": {
  31496. "description": "级别",
  31497. "type": "integer"
  31498. },
  31499. "resourcename": {
  31500. "description": "菜单名称",
  31501. "type": "string"
  31502. },
  31503. "roleid": {
  31504. "description": "角色id",
  31505. "type": "integer"
  31506. },
  31507. "sort": {
  31508. "description": "排序",
  31509. "type": "integer"
  31510. },
  31511. "subMenu": {
  31512. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31513. "type": "array",
  31514. "items": {
  31515. "$ref": "#/definitions/models.RoleMenu"
  31516. }
  31517. },
  31518. "url": {
  31519. "description": "URL",
  31520. "type": "string"
  31521. },
  31522. "userid": {
  31523. "description": "用户id",
  31524. "type": "integer"
  31525. }
  31526. }
  31527. },
  31528. "models.SearchGoods": {
  31529. "type": "object",
  31530. "required": [
  31531. "goodscode",
  31532. "goodsid",
  31533. "goodsname",
  31534. "marketid",
  31535. "trademode"
  31536. ],
  31537. "properties": {
  31538. "goodscode": {
  31539. "description": "商品代码(内部)",
  31540. "type": "string"
  31541. },
  31542. "goodsid": {
  31543. "description": "商品ID(自增ID SEQ_GOODS)",
  31544. "type": "integer"
  31545. },
  31546. "goodsname": {
  31547. "description": "商品名称",
  31548. "type": "string"
  31549. },
  31550. "marketid": {
  31551. "description": "所属市场ID",
  31552. "type": "integer"
  31553. },
  31554. "marketname": {
  31555. "description": "市场名称",
  31556. "type": "string"
  31557. },
  31558. "trademode": {
  31559. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31560. "type": "integer"
  31561. }
  31562. }
  31563. },
  31564. "models.Systemparam": {
  31565. "type": "object",
  31566. "required": [
  31567. "paramcode"
  31568. ],
  31569. "properties": {
  31570. "loginid": {
  31571. "description": "更新用户账号,登录账号",
  31572. "type": "string"
  31573. },
  31574. "modifyflag": {
  31575. "description": "修改标志0 不允许修改 1 允许修改",
  31576. "type": "integer"
  31577. },
  31578. "paramcode": {
  31579. "description": "参数代码",
  31580. "type": "string"
  31581. },
  31582. "paramname": {
  31583. "description": "参数名",
  31584. "type": "string"
  31585. },
  31586. "paramtype": {
  31587. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31588. "type": "integer"
  31589. },
  31590. "paramvalue": {
  31591. "description": "参数值",
  31592. "type": "string"
  31593. },
  31594. "paramvalue2": {
  31595. "description": "参数值(CLOB)",
  31596. "type": "string"
  31597. },
  31598. "regexpress": {
  31599. "description": "正则表达式",
  31600. "type": "string"
  31601. },
  31602. "remark": {
  31603. "description": "备注",
  31604. "type": "string"
  31605. },
  31606. "serverip": {
  31607. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  31608. "type": "string"
  31609. },
  31610. "showflag": {
  31611. "description": "是否显示0 不显示 1 显示",
  31612. "type": "integer"
  31613. },
  31614. "updatetime": {
  31615. "description": "更新时间",
  31616. "type": "string"
  31617. },
  31618. "userid": {
  31619. "description": "更新用户ID",
  31620. "type": "integer"
  31621. }
  31622. }
  31623. },
  31624. "models.Szdz3convertconfig": {
  31625. "type": "object",
  31626. "required": [
  31627. "converttype",
  31628. "innergoodsid",
  31629. "outergoodscode"
  31630. ],
  31631. "properties": {
  31632. "canin": {
  31633. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  31634. "type": "integer"
  31635. },
  31636. "canout": {
  31637. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  31638. "type": "integer"
  31639. },
  31640. "converttype": {
  31641. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  31642. "type": "integer"
  31643. },
  31644. "createtime": {
  31645. "description": "创建时间",
  31646. "type": "string"
  31647. },
  31648. "creatorid": {
  31649. "description": "创建人",
  31650. "type": "integer"
  31651. },
  31652. "daymaxvalue": {
  31653. "description": "当日最大转入限制",
  31654. "type": "number"
  31655. },
  31656. "freezedays": {
  31657. "description": "冻结天数 [5:花生米转交易]",
  31658. "type": "integer"
  31659. },
  31660. "innergoodsid": {
  31661. "description": "内部商品ID[交易]",
  31662. "type": "integer"
  31663. },
  31664. "inratio": {
  31665. "description": "目标值",
  31666. "type": "integer"
  31667. },
  31668. "modifierid": {
  31669. "description": "修改人",
  31670. "type": "integer"
  31671. },
  31672. "modifytime": {
  31673. "description": "修改时间",
  31674. "type": "string"
  31675. },
  31676. "outergoodscode": {
  31677. "description": "外部商品代码[JD\\PD]",
  31678. "type": "string"
  31679. },
  31680. "outratio": {
  31681. "description": "源值",
  31682. "type": "integer"
  31683. },
  31684. "pddecimalplace": {
  31685. "description": "PD小数位",
  31686. "type": "integer"
  31687. },
  31688. "timemaxvalue": {
  31689. "description": "单次最大转入限制",
  31690. "type": "number"
  31691. },
  31692. "timeminvalue": {
  31693. "description": "单次最小转入限制",
  31694. "type": "number"
  31695. }
  31696. }
  31697. },
  31698. "models.Szdz3searchwhitelist": {
  31699. "type": "object",
  31700. "required": [
  31701. "userid"
  31702. ],
  31703. "properties": {
  31704. "createtime": {
  31705. "description": "创建时间",
  31706. "type": "string"
  31707. },
  31708. "creatorid": {
  31709. "description": "创建人",
  31710. "type": "integer"
  31711. },
  31712. "modifierid": {
  31713. "description": "修改人",
  31714. "type": "integer"
  31715. },
  31716. "modifytime": {
  31717. "description": "修改时间",
  31718. "type": "string"
  31719. },
  31720. "userid": {
  31721. "description": "用户ID",
  31722. "type": "integer"
  31723. }
  31724. }
  31725. },
  31726. "models.TBGoods": {
  31727. "type": "object",
  31728. "properties": {
  31729. "agreeunit": {
  31730. "description": "合约乘数",
  31731. "type": "number"
  31732. },
  31733. "enumdicname": {
  31734. "description": "单位名称",
  31735. "type": "string"
  31736. },
  31737. "goodscode": {
  31738. "description": "商品代码(内部)",
  31739. "type": "string"
  31740. },
  31741. "goodsid": {
  31742. "description": "商品ID(自增ID SEQ_GOODS)",
  31743. "type": "integer"
  31744. },
  31745. "goodsname": {
  31746. "description": "商品名称",
  31747. "type": "string"
  31748. }
  31749. }
  31750. },
  31751. "models.TBGoodsGroup": {
  31752. "type": "object",
  31753. "properties": {
  31754. "convertratio": {
  31755. "description": "折算系数",
  31756. "type": "number"
  31757. },
  31758. "enumdicname": {
  31759. "description": "单位名称",
  31760. "type": "string"
  31761. },
  31762. "exexchangecode": {
  31763. "description": "交易所代码",
  31764. "type": "string"
  31765. },
  31766. "exexchangename": {
  31767. "description": "交易所名称",
  31768. "type": "string"
  31769. },
  31770. "gdlst": {
  31771. "description": "商品列表",
  31772. "type": "array",
  31773. "items": {
  31774. "$ref": "#/definitions/models.TBGoods"
  31775. }
  31776. },
  31777. "goodsgroupid": {
  31778. "description": "商品组ID(自增ID)",
  31779. "type": "integer"
  31780. },
  31781. "goodsgroupname": {
  31782. "description": "商品组名称",
  31783. "type": "string"
  31784. },
  31785. "goodunitid": {
  31786. "description": "报价单位ID",
  31787. "type": "integer"
  31788. }
  31789. }
  31790. },
  31791. "models.TBMiddleGoods": {
  31792. "type": "object",
  31793. "properties": {
  31794. "areauserid": {
  31795. "description": "机构用户ID",
  31796. "type": "integer"
  31797. },
  31798. "enumdicname": {
  31799. "description": "单位名称",
  31800. "type": "string"
  31801. },
  31802. "gplst": {
  31803. "description": "期货品种列表",
  31804. "type": "array",
  31805. "items": {
  31806. "$ref": "#/definitions/models.TBGoodsGroup"
  31807. }
  31808. },
  31809. "middlegoodscode": {
  31810. "description": "套保品种代码",
  31811. "type": "string"
  31812. },
  31813. "middlegoodsid": {
  31814. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  31815. "type": "integer"
  31816. },
  31817. "middlegoodsname": {
  31818. "description": "套保品种名称",
  31819. "type": "string"
  31820. },
  31821. "needarbitrageratio": {
  31822. "description": "套利比率",
  31823. "type": "number"
  31824. },
  31825. "needhedgeratio": {
  31826. "description": "套保比率",
  31827. "type": "number"
  31828. },
  31829. "wdlst": {
  31830. "description": "商品信息列表(现货品类)",
  31831. "type": "array",
  31832. "items": {
  31833. "$ref": "#/definitions/models.TBWrstandard"
  31834. }
  31835. }
  31836. }
  31837. },
  31838. "models.TBWrstandard": {
  31839. "type": "object",
  31840. "properties": {
  31841. "convertratio": {
  31842. "description": "折算系数",
  31843. "type": "number"
  31844. },
  31845. "deliverygoodsname": {
  31846. "description": "品种名称",
  31847. "type": "string"
  31848. },
  31849. "enumdicname": {
  31850. "description": "单位名称",
  31851. "type": "string"
  31852. },
  31853. "vatrate": {
  31854. "description": "增值税率",
  31855. "type": "number"
  31856. },
  31857. "wrstandardcode": {
  31858. "description": "现货商品代码",
  31859. "type": "string"
  31860. },
  31861. "wrstandardid": {
  31862. "description": "现货商品ID(SEQ_WRSTANDARD)",
  31863. "type": "integer"
  31864. },
  31865. "wrstandardname": {
  31866. "description": "现货商品名称",
  31867. "type": "string"
  31868. }
  31869. }
  31870. },
  31871. "models.Taaccount": {
  31872. "type": "object",
  31873. "required": [
  31874. "accountid",
  31875. "userid"
  31876. ],
  31877. "properties": {
  31878. "accountflag": {
  31879. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  31880. "type": "integer"
  31881. },
  31882. "accountid": {
  31883. "description": "资金账户ID",
  31884. "type": "integer"
  31885. },
  31886. "accountname": {
  31887. "description": "账户名称",
  31888. "type": "string"
  31889. },
  31890. "balance": {
  31891. "description": "期初余额",
  31892. "type": "number"
  31893. },
  31894. "capitalbalance": {
  31895. "description": "本金余额[外部子账户实际出入金余额]",
  31896. "type": "number"
  31897. },
  31898. "changeflag": {
  31899. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  31900. "type": "integer"
  31901. },
  31902. "changetime": {
  31903. "description": "账户状态变更时间",
  31904. "type": "string"
  31905. },
  31906. "closepl": {
  31907. "description": "今日平仓盈亏",
  31908. "type": "number"
  31909. },
  31910. "creditdecrease": {
  31911. "description": "今日授信减少",
  31912. "type": "number"
  31913. },
  31914. "creditincrease": {
  31915. "description": "今日授信增加",
  31916. "type": "number"
  31917. },
  31918. "curamount": {
  31919. "description": "总市值(从持仓中统计)",
  31920. "type": "number"
  31921. },
  31922. "currencyid": {
  31923. "description": "货币ID",
  31924. "type": "integer"
  31925. },
  31926. "currentbalance": {
  31927. "description": "期末余额",
  31928. "type": "number"
  31929. },
  31930. "freezecharge": {
  31931. "description": "手续费冻结",
  31932. "type": "number"
  31933. },
  31934. "freezemargin": {
  31935. "description": "冻结保证金",
  31936. "type": "number"
  31937. },
  31938. "fromaccountid": {
  31939. "description": "所属上级账户",
  31940. "type": "integer"
  31941. },
  31942. "inamount": {
  31943. "description": "今日入金金额(包括三方入金)",
  31944. "type": "number"
  31945. },
  31946. "ismain": {
  31947. "description": "是否母账号 0:不是母账户 1:是母账户",
  31948. "type": "integer"
  31949. },
  31950. "ismarketaccount": {
  31951. "description": "是否机构接单账号 0:不是 1:是",
  31952. "type": "integer"
  31953. },
  31954. "isreckonaccount": {
  31955. "description": "是否机构分润账号 0:不是 1:是",
  31956. "type": "integer"
  31957. },
  31958. "mortgagecredit": {
  31959. "description": "授信金额",
  31960. "type": "number"
  31961. },
  31962. "orifreezecharge": {
  31963. "description": "期初手续费冻结",
  31964. "type": "number"
  31965. },
  31966. "orifreezemargin": {
  31967. "description": "期初冻结保证金",
  31968. "type": "number"
  31969. },
  31970. "orimortgagecredit": {
  31971. "description": "期初授信金额",
  31972. "type": "number"
  31973. },
  31974. "oriothercredit": {
  31975. "description": "期初其它授信金额",
  31976. "type": "number"
  31977. },
  31978. "oriotherfreezemargin": {
  31979. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  31980. "type": "number"
  31981. },
  31982. "orioutamountfreeze": {
  31983. "description": "期初出金冻结",
  31984. "type": "number"
  31985. },
  31986. "oriusedmargin": {
  31987. "description": "期初占用保证金",
  31988. "type": "number"
  31989. },
  31990. "othercredit": {
  31991. "description": "其它授信金额",
  31992. "type": "number"
  31993. },
  31994. "othercreditdecrease": {
  31995. "description": "今日其它授信减少",
  31996. "type": "number"
  31997. },
  31998. "othercreditincrease": {
  31999. "description": "今日其它授信增加",
  32000. "type": "number"
  32001. },
  32002. "otherfreezemargin": {
  32003. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32004. "type": "number"
  32005. },
  32006. "otherincome": {
  32007. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32008. "type": "number"
  32009. },
  32010. "otherpay": {
  32011. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32012. "type": "number"
  32013. },
  32014. "outamount": {
  32015. "description": "今日出金金额(包括三方出金)",
  32016. "type": "number"
  32017. },
  32018. "outamountfreeze": {
  32019. "description": "出金冻结",
  32020. "type": "number"
  32021. },
  32022. "outthreshold": {
  32023. "description": "出金阈值",
  32024. "type": "number"
  32025. },
  32026. "parentaccountid": {
  32027. "description": "所属根账号",
  32028. "type": "integer"
  32029. },
  32030. "paycharge": {
  32031. "description": "今日手续费支出",
  32032. "type": "number"
  32033. },
  32034. "relatedaccountstatus": {
  32035. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32036. "type": "integer"
  32037. },
  32038. "relateduserid": {
  32039. "description": "关联用户",
  32040. "type": "integer"
  32041. },
  32042. "remainamount": {
  32043. "description": "融资额(从融资合同中统计)",
  32044. "type": "number"
  32045. },
  32046. "serivcegroup": {
  32047. "description": "服务分组",
  32048. "type": "integer"
  32049. },
  32050. "signstatus": {
  32051. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32052. "type": "integer"
  32053. },
  32054. "sublevelpath": {
  32055. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32056. "type": "string"
  32057. },
  32058. "taaccounttype": {
  32059. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32060. "type": "integer"
  32061. },
  32062. "thirdinamount": {
  32063. "description": "今日三方入金",
  32064. "type": "number"
  32065. },
  32066. "thirdoutamount": {
  32067. "description": "今日三方出金",
  32068. "type": "number"
  32069. },
  32070. "tradestatus": {
  32071. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32072. "type": "integer"
  32073. },
  32074. "tradestatuschangetime": {
  32075. "description": "激活时间",
  32076. "type": "string"
  32077. },
  32078. "transferamount": {
  32079. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32080. "type": "number"
  32081. },
  32082. "usedmargin": {
  32083. "description": "占用保证金",
  32084. "type": "number"
  32085. },
  32086. "userid": {
  32087. "description": "用户ID",
  32088. "type": "integer"
  32089. }
  32090. }
  32091. },
  32092. "models.Tablecolumnconfig": {
  32093. "type": "object",
  32094. "required": [
  32095. "autoid"
  32096. ],
  32097. "properties": {
  32098. "aligntype": {
  32099. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32100. "type": "integer"
  32101. },
  32102. "autoid": {
  32103. "description": "AutoID",
  32104. "type": "integer"
  32105. },
  32106. "columnfield": {
  32107. "description": "列字段",
  32108. "type": "string"
  32109. },
  32110. "columntitle": {
  32111. "description": "列Title",
  32112. "type": "string"
  32113. },
  32114. "columnwidth": {
  32115. "description": "列宽",
  32116. "type": "string"
  32117. },
  32118. "formatterstring": {
  32119. "description": "格式化字符",
  32120. "type": "string"
  32121. },
  32122. "formattertype": {
  32123. "description": "格式化类型",
  32124. "type": "string"
  32125. },
  32126. "groupname": {
  32127. "description": "表头分组名称",
  32128. "type": "string"
  32129. },
  32130. "isshow": {
  32131. "description": "是否显示 - 0:不显示 1:显示",
  32132. "type": "integer"
  32133. },
  32134. "needsummary": {
  32135. "description": "是否需要汇总 - 0:不需要 1:需要",
  32136. "type": "integer"
  32137. },
  32138. "orderindex": {
  32139. "description": "顺序",
  32140. "type": "integer"
  32141. },
  32142. "remark": {
  32143. "description": "备注",
  32144. "type": "string"
  32145. },
  32146. "summarytype": {
  32147. "description": "汇总类型 - 1:加总 2:最后一个",
  32148. "type": "integer"
  32149. },
  32150. "tablekey": {
  32151. "description": "列表Key",
  32152. "type": "string"
  32153. }
  32154. }
  32155. },
  32156. "models.TjmdQuoteGoods": {
  32157. "type": "object",
  32158. "properties": {
  32159. "buyqty": {
  32160. "description": "买量(暂不做, 无值, 保留字段)",
  32161. "type": "number"
  32162. },
  32163. "goodscode": {
  32164. "description": "合约代码",
  32165. "type": "string"
  32166. },
  32167. "goodsgroupid": {
  32168. "description": "商品组ID(自增ID)",
  32169. "type": "integer"
  32170. },
  32171. "goodsgroupname": {
  32172. "description": "商品组名称",
  32173. "type": "string"
  32174. },
  32175. "goodsid": {
  32176. "description": "合约id",
  32177. "type": "integer"
  32178. },
  32179. "goodsname": {
  32180. "description": "合约名称",
  32181. "type": "string"
  32182. },
  32183. "refgoodscode": {
  32184. "description": "标的合约代码",
  32185. "type": "string"
  32186. },
  32187. "refgoodsid": {
  32188. "description": "标的合约id",
  32189. "type": "integer"
  32190. },
  32191. "refgoodsname": {
  32192. "description": "标的合约名称",
  32193. "type": "string"
  32194. },
  32195. "sellqty": {
  32196. "description": "卖量(暂不做, 无值, 保留字段)",
  32197. "type": "number"
  32198. }
  32199. }
  32200. },
  32201. "models.TjmdTodayAccountMargin": {
  32202. "type": "object",
  32203. "properties": {
  32204. "accountid": {
  32205. "description": "账号ID",
  32206. "type": "integer"
  32207. },
  32208. "goodsid": {
  32209. "description": "商品ID",
  32210. "type": "integer"
  32211. },
  32212. "infoc": {
  32213. "description": "配置参数",
  32214. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32215. },
  32216. "marketid": {
  32217. "description": "市场ID",
  32218. "type": "integer"
  32219. }
  32220. }
  32221. },
  32222. "models.TjmdTradeOrderDetail": {
  32223. "type": "object",
  32224. "properties": {
  32225. "buyorsell": {
  32226. "description": "买卖方向 0-买 1-卖",
  32227. "type": "integer"
  32228. },
  32229. "goodsid": {
  32230. "description": "商品id",
  32231. "type": "integer"
  32232. },
  32233. "marketmaxsub": {
  32234. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32235. "type": "number"
  32236. },
  32237. "orderid": {
  32238. "description": "委托单号",
  32239. "type": "string"
  32240. },
  32241. "orderprice": {
  32242. "description": "委托价格",
  32243. "type": "number"
  32244. },
  32245. "orderqty": {
  32246. "description": "委托数量",
  32247. "type": "integer"
  32248. },
  32249. "pricemode": {
  32250. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32251. "type": "integer"
  32252. },
  32253. "userid": {
  32254. "description": "用户id",
  32255. "type": "integer"
  32256. },
  32257. "username": {
  32258. "description": "用户名称(已脱敏)",
  32259. "type": "string"
  32260. }
  32261. }
  32262. },
  32263. "models.TjmdTransferApply": {
  32264. "type": "object",
  32265. "properties": {
  32266. "applyid": {
  32267. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32268. "type": "integer"
  32269. },
  32270. "applystatus": {
  32271. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32272. "type": "integer"
  32273. },
  32274. "applytime": {
  32275. "description": "申请时间(时间)",
  32276. "type": "string"
  32277. },
  32278. "auditremark": {
  32279. "description": "审核备注(拒绝原因?)",
  32280. "type": "string"
  32281. },
  32282. "buyorsell": {
  32283. "description": "买卖 - 0:买 1:卖",
  32284. "type": "integer"
  32285. },
  32286. "goodscode": {
  32287. "description": "商品代码",
  32288. "type": "string"
  32289. },
  32290. "goodsid": {
  32291. "description": "商品ID",
  32292. "type": "integer"
  32293. },
  32294. "goodsname": {
  32295. "description": "商品名称",
  32296. "type": "string"
  32297. },
  32298. "marketid": {
  32299. "description": "市场ID",
  32300. "type": "integer"
  32301. },
  32302. "qty": {
  32303. "description": "转让数量(数量)",
  32304. "type": "number"
  32305. },
  32306. "tradeid": {
  32307. "description": "成交单号(关联持仓)",
  32308. "type": "string"
  32309. },
  32310. "transferamount": {
  32311. "description": "转让总金额(金额)",
  32312. "type": "number"
  32313. },
  32314. "transferprice": {
  32315. "description": "转让价格(协议价格)",
  32316. "type": "number"
  32317. }
  32318. }
  32319. },
  32320. "models.TradeHolderDetail": {
  32321. "type": "object",
  32322. "properties": {
  32323. "accountid": {
  32324. "description": "账号ID",
  32325. "type": "integer"
  32326. },
  32327. "agreeunit": {
  32328. "description": "合约乘数",
  32329. "type": "number"
  32330. },
  32331. "buyorsell": {
  32332. "description": "方向 - 0:买 1:卖",
  32333. "type": "integer"
  32334. },
  32335. "currencyid": {
  32336. "description": "商品币种id",
  32337. "type": "integer"
  32338. },
  32339. "currencyname": {
  32340. "description": "币种名称",
  32341. "type": "string"
  32342. },
  32343. "decimalplace": {
  32344. "description": "商品价格小数位",
  32345. "type": "integer"
  32346. },
  32347. "enumdicname": {
  32348. "description": "商品单位名称",
  32349. "type": "string"
  32350. },
  32351. "expirecycle": {
  32352. "description": "行权周期(天) - 1:滚动行权时填写",
  32353. "type": "integer"
  32354. },
  32355. "expiredate": {
  32356. "description": "行权日(yyyyMMdd) - 到期日",
  32357. "type": "string"
  32358. },
  32359. "expiretype": {
  32360. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  32361. "type": "integer"
  32362. },
  32363. "freezeqty": {
  32364. "description": "冻结数量",
  32365. "type": "number"
  32366. },
  32367. "goodscode": {
  32368. "description": "商品代码",
  32369. "type": "string"
  32370. },
  32371. "goodsid": {
  32372. "description": "商品ID",
  32373. "type": "integer"
  32374. },
  32375. "goodsname": {
  32376. "description": "商品名称",
  32377. "type": "string"
  32378. },
  32379. "goodunitid": {
  32380. "description": "商品单位id",
  32381. "type": "integer"
  32382. },
  32383. "holderamount": {
  32384. "description": "持仓金额",
  32385. "type": "number"
  32386. },
  32387. "holdercredit": {
  32388. "description": "持仓授信金额",
  32389. "type": "number"
  32390. },
  32391. "holderdays": {
  32392. "description": "剩余冻结天数",
  32393. "type": "integer"
  32394. },
  32395. "holderprice": {
  32396. "description": "持仓价格",
  32397. "type": "number"
  32398. },
  32399. "holderqty": {
  32400. "description": "持仓数量",
  32401. "type": "number"
  32402. },
  32403. "isconfirmexercise": {
  32404. "description": "是否确认行权- 0:否 1:是",
  32405. "type": "integer"
  32406. },
  32407. "ispreexercise": {
  32408. "description": "是否预申报- 0:否 1:是 2:不可行权",
  32409. "type": "integer"
  32410. },
  32411. "marketid": {
  32412. "description": "市场id",
  32413. "type": "integer"
  32414. },
  32415. "marketname": {
  32416. "description": "市场名称",
  32417. "type": "string"
  32418. },
  32419. "openprice": {
  32420. "description": "建仓价格",
  32421. "type": "number"
  32422. },
  32423. "openqty": {
  32424. "description": "建仓数量",
  32425. "type": "number"
  32426. },
  32427. "optiontype": {
  32428. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32429. "type": "integer"
  32430. },
  32431. "preexerciseprice": {
  32432. "description": "预申报价格",
  32433. "type": "number"
  32434. },
  32435. "premium": {
  32436. "description": "权利金",
  32437. "type": "number"
  32438. },
  32439. "qtydecimalplace": {
  32440. "description": "商品成交量小数位",
  32441. "type": "integer"
  32442. },
  32443. "refgoodscode": {
  32444. "description": "标的合约代码",
  32445. "type": "string"
  32446. },
  32447. "refgoodsid": {
  32448. "description": "标的合约id",
  32449. "type": "integer"
  32450. },
  32451. "releaseamount": {
  32452. "description": "释放持仓金额",
  32453. "type": "number"
  32454. },
  32455. "releaseholdercredit": {
  32456. "description": "释放持仓授信金额",
  32457. "type": "number"
  32458. },
  32459. "taname": {
  32460. "description": "资金账号名称",
  32461. "type": "string"
  32462. },
  32463. "tradeamount": {
  32464. "description": "成交金额",
  32465. "type": "number"
  32466. },
  32467. "tradedate": {
  32468. "description": "交易日(yyyyMMdd)",
  32469. "type": "string"
  32470. },
  32471. "tradeid": {
  32472. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32473. "type": "string"
  32474. },
  32475. "trademode": {
  32476. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  32477. "type": "integer"
  32478. },
  32479. "tradeproperty": {
  32480. "description": "交易属性",
  32481. "type": "integer"
  32482. },
  32483. "tradetime": {
  32484. "description": "交易时间",
  32485. "type": "string"
  32486. },
  32487. "userid": {
  32488. "description": "用户id",
  32489. "type": "integer"
  32490. },
  32491. "username": {
  32492. "description": "用户名称",
  32493. "type": "string"
  32494. }
  32495. }
  32496. },
  32497. "models.UserCollectConfig": {
  32498. "type": "object",
  32499. "properties": {
  32500. "accountstatus": {
  32501. "description": "账户状态 - 1:正常 2:停用 3:注销",
  32502. "type": "integer"
  32503. },
  32504. "collectaccountname": {
  32505. "description": "收款人账户名称",
  32506. "type": "string"
  32507. },
  32508. "collectaccountno": {
  32509. "description": "收款人账户",
  32510. "type": "string"
  32511. },
  32512. "collectbankname": {
  32513. "description": "收款人开户行",
  32514. "type": "string"
  32515. },
  32516. "collectbranchbankname": {
  32517. "description": "收款人开户支行",
  32518. "type": "string"
  32519. },
  32520. "collectconfigid": {
  32521. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  32522. "type": "string"
  32523. },
  32524. "remark": {
  32525. "description": "备注",
  32526. "type": "string"
  32527. },
  32528. "userid": {
  32529. "description": "收款人用户ID",
  32530. "type": "integer"
  32531. }
  32532. }
  32533. },
  32534. "models.UserReceiveInfo": {
  32535. "type": "object",
  32536. "properties": {
  32537. "address": {
  32538. "description": "提货人详细地址",
  32539. "type": "string"
  32540. },
  32541. "autoid": {
  32542. "description": "AutoID",
  32543. "type": "integer"
  32544. },
  32545. "cardnum": {
  32546. "description": "证件号码(加密存储)",
  32547. "type": "string"
  32548. },
  32549. "cardtypeid": {
  32550. "description": "证件类型",
  32551. "type": "integer"
  32552. },
  32553. "cityid": {
  32554. "description": "市",
  32555. "type": "integer"
  32556. },
  32557. "cityname": {
  32558. "description": "城市名称",
  32559. "type": "string"
  32560. },
  32561. "countryid": {
  32562. "description": "国家",
  32563. "type": "integer"
  32564. },
  32565. "countryname": {
  32566. "description": "国家名称",
  32567. "type": "string"
  32568. },
  32569. "districtid": {
  32570. "description": "地区",
  32571. "type": "integer"
  32572. },
  32573. "districtname": {
  32574. "description": "地区名称",
  32575. "type": "string"
  32576. },
  32577. "hasencrypt": {
  32578. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32579. "type": "integer"
  32580. },
  32581. "isdefault": {
  32582. "description": "是否默认地址 - 0:否 1:是",
  32583. "type": "integer"
  32584. },
  32585. "phonenum": {
  32586. "description": "提货人联系方式(加密存储)",
  32587. "type": "string"
  32588. },
  32589. "provinceid": {
  32590. "description": "省",
  32591. "type": "integer"
  32592. },
  32593. "provincename": {
  32594. "description": "省名称",
  32595. "type": "string"
  32596. },
  32597. "receivername": {
  32598. "description": "提货人姓名",
  32599. "type": "string"
  32600. },
  32601. "takeremark": {
  32602. "description": "提货备注",
  32603. "type": "string"
  32604. },
  32605. "userid": {
  32606. "description": "用户ID",
  32607. "type": "integer"
  32608. }
  32609. }
  32610. },
  32611. "models.Useraccount": {
  32612. "type": "object",
  32613. "required": [
  32614. "userid"
  32615. ],
  32616. "properties": {
  32617. "accountname": {
  32618. "description": "账户名称(机构名称)",
  32619. "type": "string"
  32620. },
  32621. "accountstatus": {
  32622. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  32623. "type": "integer"
  32624. },
  32625. "applysrc": {
  32626. "description": "申请来源 - 1:管理端 2:终端",
  32627. "type": "integer"
  32628. },
  32629. "auditremark": {
  32630. "description": "审核备注",
  32631. "type": "string"
  32632. },
  32633. "auditsrc": {
  32634. "description": "审核来源 - 1:管理端 2:终端",
  32635. "type": "integer"
  32636. },
  32637. "audittime": {
  32638. "description": "审核时间",
  32639. "type": "string"
  32640. },
  32641. "audituserid": {
  32642. "description": "审核人",
  32643. "type": "integer"
  32644. },
  32645. "broker": {
  32646. "description": "所属经纪人ID",
  32647. "type": "integer"
  32648. },
  32649. "canceltime": {
  32650. "description": "销户时间",
  32651. "type": "string"
  32652. },
  32653. "canceluserid": {
  32654. "description": "销户人",
  32655. "type": "integer"
  32656. },
  32657. "canrecommend": {
  32658. "description": "是否可推荐 - 0:不可 1;可",
  32659. "type": "integer"
  32660. },
  32661. "createtime": {
  32662. "description": "创建时间",
  32663. "type": "string"
  32664. },
  32665. "creatorid": {
  32666. "description": "创建人",
  32667. "type": "integer"
  32668. },
  32669. "hasauth": {
  32670. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  32671. "type": "integer"
  32672. },
  32673. "isanonymous": {
  32674. "description": "是否匿名下单 - 0:否 1:是",
  32675. "type": "integer"
  32676. },
  32677. "maxinvestornum": {
  32678. "description": "最大用户数(经纪会员下投资者个数)",
  32679. "type": "integer"
  32680. },
  32681. "memberuserid": {
  32682. "description": "所属会员ID",
  32683. "type": "integer"
  32684. },
  32685. "modifierid": {
  32686. "description": "修改人",
  32687. "type": "integer"
  32688. },
  32689. "modifyremark": {
  32690. "description": "变更备注",
  32691. "type": "string"
  32692. },
  32693. "modifystatus": {
  32694. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  32695. "type": "integer"
  32696. },
  32697. "modifytime": {
  32698. "description": "修改时间",
  32699. "type": "string"
  32700. },
  32701. "parenttopuser": {
  32702. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  32703. "type": "string"
  32704. },
  32705. "parentuserid": {
  32706. "description": "所属机构ID",
  32707. "type": "integer"
  32708. },
  32709. "reckonaccountid": {
  32710. "description": "默认结算资金账号ID(机构分润使用) 作废",
  32711. "type": "integer"
  32712. },
  32713. "refercount": {
  32714. "description": "推荐总人数",
  32715. "type": "integer"
  32716. },
  32717. "refereeuserid": {
  32718. "description": "推荐人ID",
  32719. "type": "integer"
  32720. },
  32721. "refernum": {
  32722. "description": "推荐码",
  32723. "type": "string"
  32724. },
  32725. "rootuserid": {
  32726. "description": "根用户ID",
  32727. "type": "integer"
  32728. },
  32729. "subaccountlevel": {
  32730. "description": "子账户层数",
  32731. "type": "integer"
  32732. },
  32733. "subarealevelpath": {
  32734. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  32735. "type": "string"
  32736. },
  32737. "userid": {
  32738. "description": "用户ID",
  32739. "type": "integer"
  32740. },
  32741. "usertype": {
  32742. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32743. "type": "integer"
  32744. }
  32745. }
  32746. },
  32747. "models.Userfavoritegoods": {
  32748. "type": "object",
  32749. "required": [
  32750. "goodsid"
  32751. ],
  32752. "properties": {
  32753. "goodsid": {
  32754. "description": "商品ID",
  32755. "type": "integer"
  32756. }
  32757. }
  32758. },
  32759. "models.Userinfo": {
  32760. "type": "object",
  32761. "required": [
  32762. "userid"
  32763. ],
  32764. "properties": {
  32765. "address": {
  32766. "description": "地址",
  32767. "type": "string"
  32768. },
  32769. "attachment1": {
  32770. "description": "附件1",
  32771. "type": "string"
  32772. },
  32773. "attachment2": {
  32774. "description": "附件2",
  32775. "type": "string"
  32776. },
  32777. "bankaccount": {
  32778. "description": "银行帐号 (加密存储)",
  32779. "type": "string"
  32780. },
  32781. "bankaccountname": {
  32782. "description": "收款人名称",
  32783. "type": "string"
  32784. },
  32785. "bankcardfrontphotourl": {
  32786. "description": "银行卡正面照地址",
  32787. "type": "string"
  32788. },
  32789. "bankid": {
  32790. "description": "银行编码",
  32791. "type": "string"
  32792. },
  32793. "bankname": {
  32794. "description": "银行名称",
  32795. "type": "string"
  32796. },
  32797. "biznature": {
  32798. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  32799. "type": "integer"
  32800. },
  32801. "bizscope": {
  32802. "description": "企业经营范围(企业)",
  32803. "type": "string"
  32804. },
  32805. "cardbackphotourl": {
  32806. "description": "证件背面图片地址",
  32807. "type": "string"
  32808. },
  32809. "cardfrontphotourl": {
  32810. "description": "证件正面图片地址",
  32811. "type": "string"
  32812. },
  32813. "cardnum": {
  32814. "description": "证件号码(加密存储)",
  32815. "type": "string"
  32816. },
  32817. "cardtypeid": {
  32818. "description": "证件类型ID",
  32819. "type": "integer"
  32820. },
  32821. "cityid": {
  32822. "description": "市",
  32823. "type": "integer"
  32824. },
  32825. "company": {
  32826. "description": "公司(个人)",
  32827. "type": "string"
  32828. },
  32829. "contactname": {
  32830. "description": "联系人",
  32831. "type": "string"
  32832. },
  32833. "countryid": {
  32834. "description": "国家",
  32835. "type": "integer"
  32836. },
  32837. "createtime": {
  32838. "description": "创建时间",
  32839. "type": "string"
  32840. },
  32841. "creatorid": {
  32842. "description": "创建人",
  32843. "type": "integer"
  32844. },
  32845. "customername": {
  32846. "description": "客户名称(企业名称)",
  32847. "type": "string"
  32848. },
  32849. "districtid": {
  32850. "description": "地区",
  32851. "type": "integer"
  32852. },
  32853. "email": {
  32854. "description": "邮件(加密存储)",
  32855. "type": "string"
  32856. },
  32857. "fax": {
  32858. "description": "传真(加密存储)",
  32859. "type": "string"
  32860. },
  32861. "halfbodyphotourl": {
  32862. "description": "半身照地址",
  32863. "type": "string"
  32864. },
  32865. "hasencrypt": {
  32866. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32867. "type": "integer"
  32868. },
  32869. "headurl": {
  32870. "description": "头像地址",
  32871. "type": "string"
  32872. },
  32873. "legalcardbackphotourl": {
  32874. "description": "法人身份证背面照地址",
  32875. "type": "string"
  32876. },
  32877. "legalcardfrontphotourl": {
  32878. "description": "法人身份证正面照地址",
  32879. "type": "string"
  32880. },
  32881. "legalpersonname": {
  32882. "description": "法人姓名(企业)",
  32883. "type": "string"
  32884. },
  32885. "mobile": {
  32886. "description": "手机号码(加密存储)",
  32887. "type": "string"
  32888. },
  32889. "mobile2": {
  32890. "description": "手机号码[明文-尚志]",
  32891. "type": "string"
  32892. },
  32893. "modifierid": {
  32894. "description": "修改人",
  32895. "type": "integer"
  32896. },
  32897. "modifiertime": {
  32898. "description": "修改时间",
  32899. "type": "string"
  32900. },
  32901. "needinvoice": {
  32902. "description": "是否需要发票 - 0:不需要 1:需要",
  32903. "type": "integer"
  32904. },
  32905. "nickname": {
  32906. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  32907. "type": "string"
  32908. },
  32909. "openmode": {
  32910. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  32911. "type": "integer"
  32912. },
  32913. "otherurl": {
  32914. "description": "其它图片地址[使用分号分隔]",
  32915. "type": "string"
  32916. },
  32917. "postalcode": {
  32918. "description": "邮政编码",
  32919. "type": "string"
  32920. },
  32921. "provinceid": {
  32922. "description": "省",
  32923. "type": "integer"
  32924. },
  32925. "qq": {
  32926. "description": "QQ(加密存储",
  32927. "type": "string"
  32928. },
  32929. "remark": {
  32930. "description": "备注",
  32931. "type": "string"
  32932. },
  32933. "sex": {
  32934. "description": "用户性别 0: 女 1: 男",
  32935. "type": "integer"
  32936. },
  32937. "signpdfurl": {
  32938. "description": "签约pdf文件",
  32939. "type": "string"
  32940. },
  32941. "telphone": {
  32942. "description": "联系电话(加密存储)",
  32943. "type": "string"
  32944. },
  32945. "userid": {
  32946. "description": "用户ID",
  32947. "type": "integer"
  32948. },
  32949. "userinfotype": {
  32950. "description": "用户信息类型 - 1:个人 2:企业",
  32951. "type": "integer"
  32952. },
  32953. "userstatus": {
  32954. "description": "用户状态 - 1:正常 2:注销",
  32955. "type": "integer"
  32956. },
  32957. "usertype": {
  32958. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  32959. "type": "integer"
  32960. },
  32961. "wechat": {
  32962. "description": "微信(加密存储)",
  32963. "type": "string"
  32964. },
  32965. "wskhinfo": {
  32966. "description": "开户申请信息(JSON)",
  32967. "type": "string"
  32968. }
  32969. }
  32970. },
  32971. "models.WRSConverTDetail": {
  32972. "type": "object",
  32973. "properties": {
  32974. "convertratio": {
  32975. "description": "套保系数",
  32976. "type": "number"
  32977. },
  32978. "deliverygoodscode": {
  32979. "description": "现货商品代码",
  32980. "type": "string"
  32981. },
  32982. "deliverygoodsid": {
  32983. "description": "现货品种ID",
  32984. "type": "integer"
  32985. },
  32986. "deliverygoodsname": {
  32987. "description": "现货商品名称",
  32988. "type": "string"
  32989. },
  32990. "enumdicname": {
  32991. "description": "单位名称",
  32992. "type": "string"
  32993. },
  32994. "goodsunitid": {
  32995. "description": "套保品种单位id",
  32996. "type": "integer"
  32997. },
  32998. "middlegoodscode": {
  32999. "description": "套保品种代码",
  33000. "type": "string"
  33001. },
  33002. "middlegoodsid": {
  33003. "description": "套保品种ID",
  33004. "type": "integer"
  33005. },
  33006. "middlegoodsname": {
  33007. "description": "套保品种名称",
  33008. "type": "string"
  33009. },
  33010. "modifytime": {
  33011. "description": "修改时间",
  33012. "type": "string"
  33013. },
  33014. "wrstandardid": {
  33015. "description": "品类ID",
  33016. "type": "integer"
  33017. }
  33018. }
  33019. },
  33020. "models.WRStandardInfo": {
  33021. "type": "object",
  33022. "required": [
  33023. "wrstandardid"
  33024. ],
  33025. "properties": {
  33026. "areauserid": {
  33027. "description": "所属机构",
  33028. "type": "integer"
  33029. },
  33030. "convertfactor": {
  33031. "description": "标仓系数",
  33032. "type": "number"
  33033. },
  33034. "createtime": {
  33035. "description": "创建时间",
  33036. "type": "string"
  33037. },
  33038. "creatorid": {
  33039. "description": "创建人",
  33040. "type": "integer"
  33041. },
  33042. "deliverygoodsid": {
  33043. "description": "品种ID",
  33044. "type": "integer"
  33045. },
  33046. "deliverygoodsname": {
  33047. "description": "交割商品名称",
  33048. "type": "string"
  33049. },
  33050. "factoryitemjson": {
  33051. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33052. "type": "string"
  33053. },
  33054. "isvalid": {
  33055. "description": "是否有效 - 0:无效 1:有效",
  33056. "type": "integer"
  33057. },
  33058. "minivalue": {
  33059. "description": "最小变动值",
  33060. "type": "integer"
  33061. },
  33062. "minivaluedp": {
  33063. "description": "最小变动值小数位",
  33064. "type": "integer"
  33065. },
  33066. "realminivalue": {
  33067. "description": "实际最小变动值",
  33068. "type": "integer"
  33069. },
  33070. "realminivaluedp": {
  33071. "description": "实际最小变动值小数位",
  33072. "type": "integer"
  33073. },
  33074. "remark": {
  33075. "description": "备注",
  33076. "type": "string"
  33077. },
  33078. "unitid": {
  33079. "description": "单位ID",
  33080. "type": "integer"
  33081. },
  33082. "unitname": {
  33083. "description": "单位",
  33084. "type": "string"
  33085. },
  33086. "updatetime": {
  33087. "description": "更新时间",
  33088. "type": "string"
  33089. },
  33090. "updatorid": {
  33091. "description": "更新人",
  33092. "type": "integer"
  33093. },
  33094. "wrsstatus": {
  33095. "description": "状态 - 作废 - 0:未激活 1:正常",
  33096. "type": "integer"
  33097. },
  33098. "wrstandardcode": {
  33099. "description": "现货品类代码",
  33100. "type": "string"
  33101. },
  33102. "wrstandardid": {
  33103. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33104. "type": "integer"
  33105. },
  33106. "wrstandardname": {
  33107. "description": "现货品类名称",
  33108. "type": "string"
  33109. }
  33110. }
  33111. },
  33112. "models.WRTradeBargainApply": {
  33113. "type": "object",
  33114. "properties": {
  33115. "accountid": {
  33116. "description": "摘牌资金账号",
  33117. "type": "integer"
  33118. },
  33119. "applyprice": {
  33120. "description": "申请价格(议价价格)",
  33121. "type": "string"
  33122. },
  33123. "applyqty": {
  33124. "description": "摘牌数量(议价数量)",
  33125. "type": "number"
  33126. },
  33127. "applyremark": {
  33128. "description": "申请备注",
  33129. "type": "string"
  33130. },
  33131. "applystatus": {
  33132. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33133. "type": "integer"
  33134. },
  33135. "applytime": {
  33136. "description": "申请时间(议价时间)",
  33137. "type": "string"
  33138. },
  33139. "buyorsell": {
  33140. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33141. "type": "integer"
  33142. },
  33143. "confirmremark": {
  33144. "description": "确认备注",
  33145. "type": "string"
  33146. },
  33147. "confirmtime": {
  33148. "description": "确认时间",
  33149. "type": "string"
  33150. },
  33151. "confirmuserid": {
  33152. "description": "确认人",
  33153. "type": "integer"
  33154. },
  33155. "deliverygoodscode": {
  33156. "description": "品种代码",
  33157. "type": "string"
  33158. },
  33159. "deliverygoodsid": {
  33160. "description": "品种ID",
  33161. "type": "integer"
  33162. },
  33163. "deliverygoodsname": {
  33164. "description": "品种名称",
  33165. "type": "string"
  33166. },
  33167. "deliverymonth": {
  33168. "description": "交收月",
  33169. "type": "string"
  33170. },
  33171. "enumdicname": {
  33172. "description": "单位名称",
  33173. "type": "string"
  33174. },
  33175. "fixedprice": {
  33176. "description": "挂牌价格",
  33177. "type": "number"
  33178. },
  33179. "handlestatus": {
  33180. "description": "处理状态",
  33181. "type": "integer"
  33182. },
  33183. "marginvalue": {
  33184. "description": "履约保证金比例",
  33185. "type": "number"
  33186. },
  33187. "marketid": {
  33188. "description": "市场ID",
  33189. "type": "integer"
  33190. },
  33191. "matchaccountid": {
  33192. "description": "挂牌方资金账号",
  33193. "type": "integer"
  33194. },
  33195. "matchuserid": {
  33196. "description": "挂牌方用户id",
  33197. "type": "integer"
  33198. },
  33199. "matchusername": {
  33200. "description": "挂牌方用户名称(已脱敏)",
  33201. "type": "string"
  33202. },
  33203. "minivalue": {
  33204. "description": "现货商品最小变动值",
  33205. "type": "integer"
  33206. },
  33207. "optioncompare": {
  33208. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33209. "type": "string"
  33210. },
  33211. "orderqty": {
  33212. "description": "挂牌数量",
  33213. "type": "integer"
  33214. },
  33215. "refprice": {
  33216. "description": "参考价格",
  33217. "type": "string"
  33218. },
  33219. "retcode": {
  33220. "description": "委托返回代码",
  33221. "type": "integer"
  33222. },
  33223. "templatename": {
  33224. "description": "履约方式(履约模板名称)",
  33225. "type": "string"
  33226. },
  33227. "tradedate": {
  33228. "description": "交易日(yyyyMMdd)",
  33229. "type": "string"
  33230. },
  33231. "userid": {
  33232. "description": "摘牌人用户ID(议价人ID)",
  33233. "type": "integer"
  33234. },
  33235. "username": {
  33236. "description": "议价人名字(已脱敏)",
  33237. "type": "string"
  33238. },
  33239. "validtime": {
  33240. "description": "有效期限",
  33241. "type": "string"
  33242. },
  33243. "warehouseid": {
  33244. "description": "仓库ID",
  33245. "type": "integer"
  33246. },
  33247. "warehousename": {
  33248. "description": "仓库名称",
  33249. "type": "string"
  33250. },
  33251. "wrbargainid": {
  33252. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33253. "type": "string"
  33254. },
  33255. "wrfactortypeid": {
  33256. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33257. "type": "string"
  33258. },
  33259. "wrfactortypename": {
  33260. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33261. "type": "string"
  33262. },
  33263. "wrstandardcode": {
  33264. "description": "现货商品代码",
  33265. "type": "string"
  33266. },
  33267. "wrstandardid": {
  33268. "description": "现货商品ID",
  33269. "type": "integer"
  33270. },
  33271. "wrstandardname": {
  33272. "description": "商品名称",
  33273. "type": "string"
  33274. },
  33275. "wrtradeorderid": {
  33276. "description": "关联委托单ID",
  33277. "type": "string"
  33278. },
  33279. "wrtypename": {
  33280. "description": "商品",
  33281. "type": "string"
  33282. }
  33283. }
  33284. },
  33285. "models.Warehouseinfo": {
  33286. "type": "object",
  33287. "required": [
  33288. "autoid",
  33289. "warehousecode"
  33290. ],
  33291. "properties": {
  33292. "address": {
  33293. "description": "详细地址",
  33294. "type": "string"
  33295. },
  33296. "areauserid": {
  33297. "description": "所属机构",
  33298. "type": "integer"
  33299. },
  33300. "autoid": {
  33301. "description": "自增ID",
  33302. "type": "integer"
  33303. },
  33304. "cityid": {
  33305. "description": "市",
  33306. "type": "integer"
  33307. },
  33308. "contactname": {
  33309. "description": "联系人",
  33310. "type": "string"
  33311. },
  33312. "contactnum": {
  33313. "description": "联系电话",
  33314. "type": "string"
  33315. },
  33316. "countryid": {
  33317. "description": "国家",
  33318. "type": "integer"
  33319. },
  33320. "createtime": {
  33321. "description": "创建时间",
  33322. "type": "string"
  33323. },
  33324. "districtid": {
  33325. "description": "区",
  33326. "type": "integer"
  33327. },
  33328. "hasvideo": {
  33329. "description": "是否有视频 - 0:无 1:有",
  33330. "type": "integer"
  33331. },
  33332. "provinceid": {
  33333. "description": "省",
  33334. "type": "integer"
  33335. },
  33336. "remark": {
  33337. "description": "审核备注",
  33338. "type": "string"
  33339. },
  33340. "videourl": {
  33341. "description": "视频地址",
  33342. "type": "string"
  33343. },
  33344. "warehousecode": {
  33345. "description": "仓库代码",
  33346. "type": "string"
  33347. },
  33348. "warehousename": {
  33349. "description": "仓库名称",
  33350. "type": "string"
  33351. },
  33352. "warehousestatus": {
  33353. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  33354. "type": "integer"
  33355. },
  33356. "warehousetype": {
  33357. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  33358. "type": "integer"
  33359. }
  33360. }
  33361. },
  33362. "models.WrAverageTradePrice": {
  33363. "type": "object",
  33364. "properties": {
  33365. "averageprice": {
  33366. "description": "成交均价",
  33367. "type": "number"
  33368. },
  33369. "tradedate": {
  33370. "description": "交易日yyyymm",
  33371. "type": "string"
  33372. }
  33373. }
  33374. },
  33375. "models.WrBsGoodsInfo": {
  33376. "type": "object",
  33377. "properties": {
  33378. "buyorsell": {
  33379. "description": "买卖方向 0-买 1-卖",
  33380. "type": "integer"
  33381. },
  33382. "goodsid": {
  33383. "description": "交易合约ID",
  33384. "type": "integer"
  33385. },
  33386. "lstitem": {
  33387. "description": "商品信息项",
  33388. "type": "array",
  33389. "items": {
  33390. "$ref": "#/definitions/models.WrTypeItem"
  33391. }
  33392. },
  33393. "lststep": {
  33394. "description": "履约规则",
  33395. "type": "array",
  33396. "items": {
  33397. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33398. }
  33399. }
  33400. }
  33401. },
  33402. "models.WrBuybackDetail": {
  33403. "type": "object",
  33404. "properties": {
  33405. "buybackamount": {
  33406. "description": "回购金额",
  33407. "type": "number"
  33408. },
  33409. "buybackqty": {
  33410. "description": "回购数量",
  33411. "type": "number"
  33412. },
  33413. "buybackreleasemargin": {
  33414. "description": "回购释放保证金",
  33415. "type": "number"
  33416. },
  33417. "buybacktime": {
  33418. "description": "回购时间",
  33419. "type": "string"
  33420. },
  33421. "errordesc": {
  33422. "description": "错误描述",
  33423. "type": "string"
  33424. },
  33425. "handlestatus": {
  33426. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  33427. "type": "integer"
  33428. },
  33429. "relatedwrid": {
  33430. "description": "关联仓单ID",
  33431. "type": "integer"
  33432. },
  33433. "scfcontractid": {
  33434. "description": "SCF合同ID",
  33435. "type": "string"
  33436. },
  33437. "scfwrbuybackid": {
  33438. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  33439. "type": "integer"
  33440. },
  33441. "tradedate": {
  33442. "description": "交易日(yyyyMMdd)",
  33443. "type": "string"
  33444. }
  33445. }
  33446. },
  33447. "models.WrDeliveryAvalidHoldLB": {
  33448. "type": "object",
  33449. "properties": {
  33450. "accountid": {
  33451. "description": "资金账号",
  33452. "type": "integer"
  33453. },
  33454. "avalidqty": {
  33455. "description": "数量(可点选数量)",
  33456. "type": "number"
  33457. },
  33458. "deliverygoodsid": {
  33459. "description": "品种id",
  33460. "type": "integer"
  33461. },
  33462. "enumdicname": {
  33463. "description": "单位名称",
  33464. "type": "string"
  33465. },
  33466. "goodsid": {
  33467. "description": "x合约商品id",
  33468. "type": "integer"
  33469. },
  33470. "ladingbillid": {
  33471. "description": "提单id",
  33472. "type": "string"
  33473. },
  33474. "pgoodscode": {
  33475. "description": "p商品代码(点价合约)",
  33476. "type": "string"
  33477. },
  33478. "pgoodsid": {
  33479. "description": "p商品id(点价合约)",
  33480. "type": "integer"
  33481. },
  33482. "pgoodsname": {
  33483. "description": "p商品名称(点价合约)",
  33484. "type": "string"
  33485. },
  33486. "pricemove": {
  33487. "description": "升贴水",
  33488. "type": "number"
  33489. },
  33490. "subnum": {
  33491. "description": "提单子id",
  33492. "type": "integer"
  33493. },
  33494. "userid": {
  33495. "description": "用户id",
  33496. "type": "integer"
  33497. },
  33498. "username": {
  33499. "description": "仓单持有人",
  33500. "type": "string"
  33501. },
  33502. "warehousecode": {
  33503. "description": "仓库代码",
  33504. "type": "string"
  33505. },
  33506. "warehouseid": {
  33507. "description": "仓库id",
  33508. "type": "integer"
  33509. },
  33510. "warehousename": {
  33511. "description": "仓库名称",
  33512. "type": "string"
  33513. },
  33514. "wrfactortypeid": {
  33515. "description": "仓单要素id",
  33516. "type": "string"
  33517. },
  33518. "wrstandardcode": {
  33519. "description": "品代码",
  33520. "type": "string"
  33521. },
  33522. "wrstandardid": {
  33523. "description": "品类d",
  33524. "type": "integer"
  33525. },
  33526. "wrstandardname": {
  33527. "description": "品类名称",
  33528. "type": "string"
  33529. },
  33530. "wrtypename": {
  33531. "description": "商品",
  33532. "type": "string"
  33533. },
  33534. "xgoodscode": {
  33535. "description": "x合约代码",
  33536. "type": "string"
  33537. },
  33538. "xgoodsname": {
  33539. "description": "x合约名称",
  33540. "type": "string"
  33541. }
  33542. }
  33543. },
  33544. "models.WrDeliveryDetail": {
  33545. "type": "object",
  33546. "properties": {
  33547. "accountid": {
  33548. "description": "账号ID",
  33549. "type": "integer"
  33550. },
  33551. "averageprice": {
  33552. "description": "交割均价 = 交割金额 / 交割数量",
  33553. "type": "number"
  33554. },
  33555. "buyorsell": {
  33556. "description": "方向 - 0:买 1:卖",
  33557. "type": "integer"
  33558. },
  33559. "deliveryamount": {
  33560. "description": "货款金额(X总货款+P总货款)",
  33561. "type": "number"
  33562. },
  33563. "deliveryid": {
  33564. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  33565. "type": "string"
  33566. },
  33567. "deliveryorderid": {
  33568. "description": "申报单号",
  33569. "type": "string"
  33570. },
  33571. "deliverypricemove": {
  33572. "description": "升贴水(升贴水总额)",
  33573. "type": "number"
  33574. },
  33575. "deliveryqty": {
  33576. "description": "交收数量(点选数量)",
  33577. "type": "number"
  33578. },
  33579. "deliverystatus": {
  33580. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  33581. "type": "integer"
  33582. },
  33583. "deliverytime": {
  33584. "description": "交割时间",
  33585. "type": "string"
  33586. },
  33587. "deliverytotalamount": {
  33588. "description": "交收金额",
  33589. "type": "number"
  33590. },
  33591. "enumdicname": {
  33592. "description": "单位名称",
  33593. "type": "string"
  33594. },
  33595. "matchaccountid": {
  33596. "description": "对手账号ID",
  33597. "type": "integer"
  33598. },
  33599. "matchusername": {
  33600. "description": "对手方名称(仓单持有人)",
  33601. "type": "string"
  33602. },
  33603. "p1goodsremainamount": {
  33604. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33605. "type": "number"
  33606. },
  33607. "pdeliverycloseqty": {
  33608. "description": "p合约平仓数量",
  33609. "type": "number"
  33610. },
  33611. "pdeliveryprice": {
  33612. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33613. "type": "number"
  33614. },
  33615. "pgoodscode": {
  33616. "description": "商品代码",
  33617. "type": "string"
  33618. },
  33619. "pgoodsid": {
  33620. "description": "p点选合约id",
  33621. "type": "integer"
  33622. },
  33623. "pgoodsname": {
  33624. "description": "商品名称",
  33625. "type": "string"
  33626. },
  33627. "ppricemode": {
  33628. "description": "点价价格方式 - 1:商品价 2:固定值",
  33629. "type": "integer"
  33630. },
  33631. "tradedate": {
  33632. "description": "交易日(yyyymmdd)",
  33633. "type": "string"
  33634. },
  33635. "userid": {
  33636. "description": "用户id",
  33637. "type": "integer"
  33638. },
  33639. "username": {
  33640. "description": "用户名称",
  33641. "type": "string"
  33642. },
  33643. "warehousename": {
  33644. "description": "仓库名称",
  33645. "type": "string"
  33646. },
  33647. "wrfactortypeid": {
  33648. "description": "仓单要素类型ID",
  33649. "type": "string"
  33650. },
  33651. "wrtypename": {
  33652. "description": "商品",
  33653. "type": "string"
  33654. },
  33655. "xdeliverycloseqty": {
  33656. "description": "合约数量",
  33657. "type": "number"
  33658. },
  33659. "xgoodsamount": {
  33660. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  33661. "type": "number"
  33662. },
  33663. "xgoodscode": {
  33664. "description": "商品代码",
  33665. "type": "string"
  33666. },
  33667. "xgoodsid": {
  33668. "description": "x交易合约ID",
  33669. "type": "integer"
  33670. },
  33671. "xgoodsname": {
  33672. "description": "商品名称",
  33673. "type": "string"
  33674. }
  33675. }
  33676. },
  33677. "models.WrFAProductDetail": {
  33678. "type": "object",
  33679. "properties": {
  33680. "accountid": {
  33681. "description": "资金账号",
  33682. "type": "integer"
  33683. },
  33684. "areauserid": {
  33685. "description": "金融机构ID",
  33686. "type": "integer"
  33687. },
  33688. "financingdays": {
  33689. "description": "天数(天)",
  33690. "type": "integer"
  33691. },
  33692. "interestminlen": {
  33693. "description": "最小起息天数",
  33694. "type": "integer"
  33695. },
  33696. "interestrate": {
  33697. "description": "利率",
  33698. "type": "number"
  33699. },
  33700. "interestratemode": {
  33701. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33702. "type": "integer"
  33703. },
  33704. "interestsettlemode": {
  33705. "description": "结息方式 - 1:按日结息 3:按月结息",
  33706. "type": "integer"
  33707. },
  33708. "interestsettlevalue": {
  33709. "description": "结息方式值",
  33710. "type": "integer"
  33711. },
  33712. "isautoloan": {
  33713. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  33714. "type": "integer"
  33715. },
  33716. "loantag": {
  33717. "description": "放款标识: \"放款快\" 或者为空",
  33718. "type": "string"
  33719. },
  33720. "marginratio": {
  33721. "description": "保证金比率质押率 - [仓单质押]",
  33722. "type": "number"
  33723. },
  33724. "productdetailid": {
  33725. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  33726. "type": "integer"
  33727. },
  33728. "productid": {
  33729. "description": "金融产品ID",
  33730. "type": "integer"
  33731. },
  33732. "productname": {
  33733. "description": "产品名称",
  33734. "type": "string"
  33735. },
  33736. "updatetime": {
  33737. "description": "更新时间",
  33738. "type": "string"
  33739. },
  33740. "username": {
  33741. "description": "融出方",
  33742. "type": "string"
  33743. }
  33744. }
  33745. },
  33746. "models.WrFactorTypeInfo": {
  33747. "type": "object",
  33748. "properties": {
  33749. "deliverygoodscode": {
  33750. "description": "品种代码",
  33751. "type": "string"
  33752. },
  33753. "deliverygoodsname": {
  33754. "description": "品种名称",
  33755. "type": "string"
  33756. },
  33757. "dgfactoryitemid": {
  33758. "description": "选择项id",
  33759. "type": "integer"
  33760. },
  33761. "dgfactoryitemtypeid": {
  33762. "description": "要素选择项ID (1-仓库 2-品牌)",
  33763. "type": "integer"
  33764. },
  33765. "dgfactoryitemvalue": {
  33766. "description": "要素项值",
  33767. "type": "string"
  33768. },
  33769. "itemtypename": {
  33770. "description": "要素项名称",
  33771. "type": "string"
  33772. },
  33773. "optioncompare": {
  33774. "description": "选择比较串",
  33775. "type": "string"
  33776. },
  33777. "warehouseid": {
  33778. "description": "仓库id",
  33779. "type": "integer"
  33780. },
  33781. "wrfactortypeid": {
  33782. "description": "仓单要素ID",
  33783. "type": "string"
  33784. },
  33785. "wrfactortypename": {
  33786. "description": "要素名称",
  33787. "type": "string"
  33788. },
  33789. "wrfactortypename2": {
  33790. "description": "要素名称(不含仓库)",
  33791. "type": "string"
  33792. },
  33793. "wrstandardcode": {
  33794. "description": "品类代码",
  33795. "type": "string"
  33796. },
  33797. "wrstandardid": {
  33798. "description": "品类id",
  33799. "type": "integer"
  33800. },
  33801. "wrstandardname": {
  33802. "description": "品类名称",
  33803. "type": "string"
  33804. }
  33805. }
  33806. },
  33807. "models.WrFilterItem": {
  33808. "type": "object",
  33809. "properties": {
  33810. "itemcode": {
  33811. "description": "代码",
  33812. "type": "string"
  33813. },
  33814. "itemid": {
  33815. "description": "项id",
  33816. "type": "integer"
  33817. },
  33818. "itemname": {
  33819. "description": "名称",
  33820. "type": "string"
  33821. },
  33822. "itemtype": {
  33823. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  33824. "type": "integer"
  33825. }
  33826. }
  33827. },
  33828. "models.WrFinanceBuyApply": {
  33829. "type": "object",
  33830. "properties": {
  33831. "applydate": {
  33832. "description": "申请时间",
  33833. "type": "string"
  33834. },
  33835. "applystatus": {
  33836. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  33837. "type": "integer"
  33838. },
  33839. "applyuserid": {
  33840. "description": "申请人",
  33841. "type": "integer"
  33842. },
  33843. "auditdate": {
  33844. "description": "审核时间",
  33845. "type": "string"
  33846. },
  33847. "auditremark": {
  33848. "description": "审核备注",
  33849. "type": "string"
  33850. },
  33851. "audituserid": {
  33852. "description": "审核人",
  33853. "type": "integer"
  33854. },
  33855. "buyaccountid": {
  33856. "description": "买方资金账号",
  33857. "type": "integer"
  33858. },
  33859. "buyorsell": {
  33860. "description": "买卖 - 0:买 1:卖",
  33861. "type": "integer"
  33862. },
  33863. "buyuserid": {
  33864. "description": "买方用户ID",
  33865. "type": "integer"
  33866. },
  33867. "buyusername": {
  33868. "description": "买方名称",
  33869. "type": "string"
  33870. },
  33871. "buywrtradeorderid": {
  33872. "description": "融资方买委托单ID",
  33873. "type": "string"
  33874. },
  33875. "deliverygoodscode": {
  33876. "description": "品种代码",
  33877. "type": "string"
  33878. },
  33879. "deliverygoodsid": {
  33880. "description": "品种ID",
  33881. "type": "integer"
  33882. },
  33883. "deliverygoodsname": {
  33884. "description": "品种名称",
  33885. "type": "string"
  33886. },
  33887. "deliverymonth": {
  33888. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  33889. "type": "string"
  33890. },
  33891. "enumdicname": {
  33892. "description": "单位名称",
  33893. "type": "string"
  33894. },
  33895. "financeaccountid": {
  33896. "description": "融资方资金帐户ID",
  33897. "type": "integer"
  33898. },
  33899. "financeapplyid": {
  33900. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33901. "type": "string"
  33902. },
  33903. "financeareauserid": {
  33904. "description": "融资方用户ID",
  33905. "type": "string"
  33906. },
  33907. "financename": {
  33908. "description": "融出方名称",
  33909. "type": "string"
  33910. },
  33911. "financetype": {
  33912. "description": "融资类型 1-融资回购",
  33913. "type": "integer"
  33914. },
  33915. "financingdays": {
  33916. "description": "天数(天)",
  33917. "type": "integer"
  33918. },
  33919. "freezebuymargin": {
  33920. "description": "冻结融资保证金(买方)",
  33921. "type": "number"
  33922. },
  33923. "handleremark": {
  33924. "description": "处理备注",
  33925. "type": "string"
  33926. },
  33927. "handlestatus": {
  33928. "description": "处理状态",
  33929. "type": "integer"
  33930. },
  33931. "interestminlen": {
  33932. "description": "最小起息天数",
  33933. "type": "integer"
  33934. },
  33935. "interestrate": {
  33936. "description": "利率",
  33937. "type": "number"
  33938. },
  33939. "interestratemode": {
  33940. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33941. "type": "integer"
  33942. },
  33943. "interestsettlemode": {
  33944. "description": "结息方式 - 1:按日结息 3:按月结息",
  33945. "type": "integer"
  33946. },
  33947. "interestsettlevalue": {
  33948. "description": "结息方式值",
  33949. "type": "integer"
  33950. },
  33951. "isautoloan": {
  33952. "description": "是否自动放款 - 0:手动 1:自动",
  33953. "type": "integer"
  33954. },
  33955. "marginratio": {
  33956. "description": "保证金比率质押率 - [仓单质押]",
  33957. "type": "number"
  33958. },
  33959. "marketid": {
  33960. "description": "市场ID",
  33961. "type": "integer"
  33962. },
  33963. "minivalue": {
  33964. "description": "现货商品最小变动值",
  33965. "type": "integer"
  33966. },
  33967. "optioncompare": {
  33968. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33969. "type": "string"
  33970. },
  33971. "orderqty": {
  33972. "description": "委托数量(商品数量)",
  33973. "type": "number"
  33974. },
  33975. "productdetailid": {
  33976. "description": "产品组合ID",
  33977. "type": "integer"
  33978. },
  33979. "productid": {
  33980. "description": "金融产品ID",
  33981. "type": "integer"
  33982. },
  33983. "productname": {
  33984. "description": "产品名称",
  33985. "type": "string"
  33986. },
  33987. "remark": {
  33988. "description": "备注",
  33989. "type": "string"
  33990. },
  33991. "scfcontractid": {
  33992. "description": "仓单回购合同ID",
  33993. "type": "string"
  33994. },
  33995. "sellaccountid": {
  33996. "description": "卖方资金账号",
  33997. "type": "integer"
  33998. },
  33999. "selluserid": {
  34000. "description": "卖方用户ID",
  34001. "type": "integer"
  34002. },
  34003. "sellwrtradeorderid": {
  34004. "description": "卖方委托单ID",
  34005. "type": "string"
  34006. },
  34007. "tradeamount": {
  34008. "description": "成交金额(借款金额)",
  34009. "type": "number"
  34010. },
  34011. "tradedate": {
  34012. "description": "交易日(yyyyMMdd)",
  34013. "type": "string"
  34014. },
  34015. "tradeprice": {
  34016. "description": "成交价格",
  34017. "type": "number"
  34018. },
  34019. "warehouseid": {
  34020. "description": "仓库ID",
  34021. "type": "integer"
  34022. },
  34023. "warehousename": {
  34024. "description": "仓库名称",
  34025. "type": "string"
  34026. },
  34027. "wrfactortypeid": {
  34028. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34029. "type": "string"
  34030. },
  34031. "wrfactortypename": {
  34032. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34033. "type": "string"
  34034. },
  34035. "wrpricetype": {
  34036. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34037. "type": "integer"
  34038. },
  34039. "wrstandardcode": {
  34040. "description": "现货商品代码",
  34041. "type": "string"
  34042. },
  34043. "wrstandardid": {
  34044. "description": "现货商品ID",
  34045. "type": "integer"
  34046. },
  34047. "wrstandardname": {
  34048. "description": "商品名称",
  34049. "type": "string"
  34050. },
  34051. "wrtypename": {
  34052. "description": "商品",
  34053. "type": "string"
  34054. }
  34055. }
  34056. },
  34057. "models.WrFriendApply": {
  34058. "type": "object",
  34059. "properties": {
  34060. "applicantid": {
  34061. "description": "申请人",
  34062. "type": "integer"
  34063. },
  34064. "applyname": {
  34065. "description": "申请人名称",
  34066. "type": "string"
  34067. },
  34068. "applysrc": {
  34069. "description": "申请来源 - 1:管理端 2:终端",
  34070. "type": "integer"
  34071. },
  34072. "applystatus": {
  34073. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34074. "type": "integer"
  34075. },
  34076. "applytime": {
  34077. "description": "申请时间",
  34078. "type": "string"
  34079. },
  34080. "auditname": {
  34081. "description": "审核人名称",
  34082. "type": "string"
  34083. },
  34084. "auditorid": {
  34085. "description": "审核人",
  34086. "type": "integer"
  34087. },
  34088. "auditremark": {
  34089. "description": "审核备注",
  34090. "type": "string"
  34091. },
  34092. "auditsrc": {
  34093. "description": "审核来源 - 1:管理端 2:终端",
  34094. "type": "integer"
  34095. },
  34096. "audittime": {
  34097. "description": "审核时间",
  34098. "type": "string"
  34099. },
  34100. "friendapplyid": {
  34101. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34102. "type": "string"
  34103. },
  34104. "friendname": {
  34105. "description": "好友名字(已脱敏)",
  34106. "type": "string"
  34107. },
  34108. "frienduserid": {
  34109. "description": "好友用户ID",
  34110. "type": "string"
  34111. },
  34112. "remark": {
  34113. "description": "备注",
  34114. "type": "string"
  34115. },
  34116. "userid": {
  34117. "description": "申请人用户ID",
  34118. "type": "integer"
  34119. }
  34120. }
  34121. },
  34122. "models.WrFtDeliveryGoods": {
  34123. "type": "object",
  34124. "properties": {
  34125. "deliverygoodscode": {
  34126. "description": "品种代码",
  34127. "type": "string"
  34128. },
  34129. "deliverygoodsid": {
  34130. "description": "品种ID",
  34131. "type": "integer"
  34132. },
  34133. "deliverygoodsname": {
  34134. "description": "品种名称",
  34135. "type": "string"
  34136. },
  34137. "wdlst": {
  34138. "description": "商品列表",
  34139. "type": "array",
  34140. "items": {
  34141. "$ref": "#/definitions/models.WrFtWrstandard"
  34142. }
  34143. }
  34144. }
  34145. },
  34146. "models.WrFtWrstandard": {
  34147. "type": "object",
  34148. "properties": {
  34149. "enumdicname": {
  34150. "description": "单位名称",
  34151. "type": "string"
  34152. },
  34153. "minivalue": {
  34154. "description": "最小变动值",
  34155. "type": "integer"
  34156. },
  34157. "wrstandardcode": {
  34158. "description": "现货商品代码",
  34159. "type": "string"
  34160. },
  34161. "wrstandardid": {
  34162. "description": "现货商品ID",
  34163. "type": "integer"
  34164. },
  34165. "wrstandardname": {
  34166. "description": "商品名称",
  34167. "type": "string"
  34168. }
  34169. }
  34170. },
  34171. "models.WrGoodsInfo": {
  34172. "type": "object",
  34173. "properties": {
  34174. "haswr": {
  34175. "description": "0:仓单预售 1:仓单贸易",
  34176. "type": "integer"
  34177. },
  34178. "lstitem": {
  34179. "description": "商品信息项",
  34180. "type": "array",
  34181. "items": {
  34182. "$ref": "#/definitions/models.WrTypeItem"
  34183. }
  34184. },
  34185. "lststep": {
  34186. "description": "履约规则",
  34187. "type": "array",
  34188. "items": {
  34189. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34190. }
  34191. },
  34192. "marketid": {
  34193. "description": "市场id",
  34194. "type": "integer"
  34195. }
  34196. }
  34197. },
  34198. "models.WrGoodsPerformanceStep": {
  34199. "type": "object",
  34200. "properties": {
  34201. "autoid": {
  34202. "description": "AutoID",
  34203. "type": "integer"
  34204. },
  34205. "isauto": {
  34206. "description": "是否自动 - 0:不自动 1:自动",
  34207. "type": "integer"
  34208. },
  34209. "remark": {
  34210. "description": "备注",
  34211. "type": "string"
  34212. },
  34213. "stepdate": {
  34214. "description": "天数信息(T+N)",
  34215. "type": "string"
  34216. },
  34217. "stepdays": {
  34218. "description": "距离上一步天数",
  34219. "type": "integer"
  34220. },
  34221. "stepindex": {
  34222. "description": "步骤序号",
  34223. "type": "integer"
  34224. },
  34225. "stepinfo": {
  34226. "description": "步骤信息(步骤名称+步骤值)",
  34227. "type": "string"
  34228. },
  34229. "steptypeid": {
  34230. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34231. "type": "integer"
  34232. },
  34233. "steptypename": {
  34234. "description": "步骤名称",
  34235. "type": "string"
  34236. },
  34237. "stepvalue": {
  34238. "description": "步骤值",
  34239. "type": "number"
  34240. },
  34241. "templateid": {
  34242. "description": "履约计划模板ID",
  34243. "type": "integer"
  34244. }
  34245. }
  34246. },
  34247. "models.WrHoldLB": {
  34248. "type": "object",
  34249. "properties": {
  34250. "accountid": {
  34251. "description": "持有人帐户ID",
  34252. "type": "integer"
  34253. },
  34254. "createtime": {
  34255. "description": "创建时间(过户时间)",
  34256. "type": "string"
  34257. },
  34258. "deliverygoodscode": {
  34259. "description": "品种代码",
  34260. "type": "string"
  34261. },
  34262. "deliverygoodsid": {
  34263. "description": "品种ID",
  34264. "type": "integer"
  34265. },
  34266. "deliverygoodsname": {
  34267. "description": "品种名称",
  34268. "type": "string"
  34269. },
  34270. "enableqty": {
  34271. "description": "可用数量",
  34272. "type": "number"
  34273. },
  34274. "enumdicname": {
  34275. "description": "单位名称",
  34276. "type": "string"
  34277. },
  34278. "freezerqty": {
  34279. "description": "冻结数量",
  34280. "type": "number"
  34281. },
  34282. "ladingbillid": {
  34283. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34284. "type": "string"
  34285. },
  34286. "minivalue": {
  34287. "description": "现货商品最小变动值",
  34288. "type": "integer"
  34289. },
  34290. "optioncompare": {
  34291. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34292. "type": "string"
  34293. },
  34294. "parentsubnum": {
  34295. "description": "拆分父子单号",
  34296. "type": "integer"
  34297. },
  34298. "pledgeqty": {
  34299. "description": "质押数量",
  34300. "type": "number"
  34301. },
  34302. "qty": {
  34303. "description": "数量",
  34304. "type": "number"
  34305. },
  34306. "subnum": {
  34307. "description": "提单子单号",
  34308. "type": "integer"
  34309. },
  34310. "tradedate": {
  34311. "description": "交易日(yyyyMMdd)",
  34312. "type": "string"
  34313. },
  34314. "userid": {
  34315. "description": "持有人ID",
  34316. "type": "integer"
  34317. },
  34318. "warehouseid": {
  34319. "description": "仓库ID",
  34320. "type": "integer"
  34321. },
  34322. "warehousename": {
  34323. "description": "仓库名称",
  34324. "type": "string"
  34325. },
  34326. "wrfactortypeid": {
  34327. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34328. "type": "string"
  34329. },
  34330. "wrfactortypename": {
  34331. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34332. "type": "string"
  34333. },
  34334. "wrholdeno": {
  34335. "description": "仓单编号",
  34336. "type": "string"
  34337. },
  34338. "wrid": {
  34339. "description": "仓单变更ID",
  34340. "type": "string"
  34341. },
  34342. "wrstandardcode": {
  34343. "description": "现货商品代码",
  34344. "type": "string"
  34345. },
  34346. "wrstandardid": {
  34347. "description": "现货商品ID",
  34348. "type": "integer"
  34349. },
  34350. "wrstandardname": {
  34351. "description": "商品名称",
  34352. "type": "string"
  34353. },
  34354. "wrtypename": {
  34355. "description": "商品",
  34356. "type": "string"
  34357. }
  34358. }
  34359. },
  34360. "models.WrMarketTradeConfig": {
  34361. "type": "object",
  34362. "properties": {
  34363. "basisdownratio": {
  34364. "description": "浮动价基差下限比例(仓单贸易)",
  34365. "type": "number"
  34366. },
  34367. "basisupratio": {
  34368. "description": "浮动价基差上限比例(仓单贸易)",
  34369. "type": "number"
  34370. },
  34371. "buychargealgorithm": {
  34372. "description": "买方手续费收取方式 1:比率 2:固定",
  34373. "type": "integer"
  34374. },
  34375. "buychargealgorithm2": {
  34376. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34377. "type": "integer"
  34378. },
  34379. "buychargealgorithmvalue": {
  34380. "description": "买方手续费设置值(交易所部分)",
  34381. "type": "number"
  34382. },
  34383. "buychargealgorithmvalue2": {
  34384. "description": "买方手续费设置值(会员部分)",
  34385. "type": "number"
  34386. },
  34387. "buychargealgorithmvalue3": {
  34388. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  34389. "type": "number"
  34390. },
  34391. "buychargealgorithmvalue4": {
  34392. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  34393. "type": "number"
  34394. },
  34395. "buyfirstmarginalgorithm": {
  34396. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  34397. "type": "integer"
  34398. },
  34399. "buyfirstmarginvalue": {
  34400. "description": "买方出价保证金设置值 - [竞拍]",
  34401. "type": "number"
  34402. },
  34403. "buymarginalgorithm": {
  34404. "description": "买方保证金方式 - 1:比率 2:固定",
  34405. "type": "integer"
  34406. },
  34407. "buymarginvalue": {
  34408. "description": "买方保证金设置值",
  34409. "type": "number"
  34410. },
  34411. "buyreleaseratio": {
  34412. "description": "买方释放比率[2:分步履约]",
  34413. "type": "number"
  34414. },
  34415. "executemode": {
  34416. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  34417. "type": "integer"
  34418. },
  34419. "executeside": {
  34420. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  34421. "type": "integer"
  34422. },
  34423. "failedchargealgorithm": {
  34424. "description": "流拍手续费收取方式 1:比率 2:固定",
  34425. "type": "integer"
  34426. },
  34427. "failedchargevalue": {
  34428. "description": "流拍手续费设置值",
  34429. "type": "number"
  34430. },
  34431. "failedchargevalue2": {
  34432. "description": "流拍卖方手续费设置值",
  34433. "type": "number"
  34434. },
  34435. "holddays": {
  34436. "description": "合同期限[2:分步履约]",
  34437. "type": "integer"
  34438. },
  34439. "marketid": {
  34440. "description": "市场ID-仓单贸易、竞拍、预售",
  34441. "type": "integer"
  34442. },
  34443. "minqty": {
  34444. "description": "最小执行量[2:分步履约]",
  34445. "type": "number"
  34446. },
  34447. "modifierid": {
  34448. "description": "修改人",
  34449. "type": "integer"
  34450. },
  34451. "performancetempid": {
  34452. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  34453. "type": "integer"
  34454. },
  34455. "performancetempid2": {
  34456. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  34457. "type": "integer"
  34458. },
  34459. "performanceway": {
  34460. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  34461. "type": "integer"
  34462. },
  34463. "sellchargealgorithm": {
  34464. "description": "卖方手续费收取方式 1:比率 2:固定",
  34465. "type": "integer"
  34466. },
  34467. "sellchargealgorithm2": {
  34468. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34469. "type": "integer"
  34470. },
  34471. "sellchargealgorithmvalue": {
  34472. "description": "卖方手续费设置值(交易所部分)",
  34473. "type": "number"
  34474. },
  34475. "sellchargealgorithmvalue2": {
  34476. "description": "卖方手续费设置值(会员部分)",
  34477. "type": "number"
  34478. },
  34479. "sellchargealgorithmvalue3": {
  34480. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  34481. "type": "number"
  34482. },
  34483. "sellchargealgorithmvalue4": {
  34484. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  34485. "type": "number"
  34486. },
  34487. "sellmarginalgorithm": {
  34488. "description": "卖方保证金方式 - 1:比率 2:固定",
  34489. "type": "integer"
  34490. },
  34491. "sellmarginvalue": {
  34492. "description": "卖方保证金设置值",
  34493. "type": "number"
  34494. },
  34495. "sellmarginvalue2": {
  34496. "description": "卖方保证金设置值(无仓单)",
  34497. "type": "number"
  34498. },
  34499. "sellreleaseratio": {
  34500. "description": "卖方释放比率[2:分步履约]",
  34501. "type": "number"
  34502. },
  34503. "updatetime": {
  34504. "description": "更新时间",
  34505. "type": "string"
  34506. }
  34507. }
  34508. },
  34509. "models.WrOrderDetail": {
  34510. "type": "object",
  34511. "properties": {
  34512. "accountid": {
  34513. "description": "交易账号(资金账号)",
  34514. "type": "integer"
  34515. },
  34516. "allfriendsflag": {
  34517. "description": "是否全好友可见 - 0:否 1:是",
  34518. "type": "integer"
  34519. },
  34520. "amount": {
  34521. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  34522. "type": "number"
  34523. },
  34524. "buyorsell": {
  34525. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34526. "type": "integer"
  34527. },
  34528. "canbargain": {
  34529. "description": "是否可议价 - 0:不可 1:可",
  34530. "type": "integer"
  34531. },
  34532. "cancelqty": {
  34533. "description": "撤销数量",
  34534. "type": "number"
  34535. },
  34536. "canpart": {
  34537. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  34538. "type": "integer"
  34539. },
  34540. "delistminqty": {
  34541. "description": "起摘数量",
  34542. "type": "integer"
  34543. },
  34544. "deliverygoodscode": {
  34545. "description": "品种代码",
  34546. "type": "string"
  34547. },
  34548. "deliverygoodsid": {
  34549. "description": "品种ID",
  34550. "type": "integer"
  34551. },
  34552. "deliverygoodsname": {
  34553. "description": "品种名称",
  34554. "type": "string"
  34555. },
  34556. "deliverymonth": {
  34557. "description": "交收月",
  34558. "type": "string"
  34559. },
  34560. "enumdicname": {
  34561. "description": "单位名称",
  34562. "type": "string"
  34563. },
  34564. "fixedprice": {
  34565. "description": "固定价格 - [挂牌]",
  34566. "type": "number"
  34567. },
  34568. "freezemargin": {
  34569. "description": "冻结保证金(保证金)",
  34570. "type": "number"
  34571. },
  34572. "futupricemove": {
  34573. "description": "期货升贴水",
  34574. "type": "number"
  34575. },
  34576. "futushow": {
  34577. "description": "期货合约/升贴水",
  34578. "type": "string"
  34579. },
  34580. "goodscode": {
  34581. "description": "期货合约",
  34582. "type": "string"
  34583. },
  34584. "goodsid": {
  34585. "description": "期货商品id",
  34586. "type": "integer"
  34587. },
  34588. "goodsname": {
  34589. "description": "商品名称",
  34590. "type": "string"
  34591. },
  34592. "haswr": {
  34593. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34594. "type": "integer"
  34595. },
  34596. "isspecified": {
  34597. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  34598. "type": "integer"
  34599. },
  34600. "ladingbillid": {
  34601. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34602. "type": "string"
  34603. },
  34604. "marginvalue": {
  34605. "description": "保证金设置值(履约保证金)",
  34606. "type": "number"
  34607. },
  34608. "marketid": {
  34609. "description": "市场ID",
  34610. "type": "integer"
  34611. },
  34612. "matchusername": {
  34613. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  34614. "type": "string"
  34615. },
  34616. "minivalue": {
  34617. "description": "现货商品最小变动值",
  34618. "type": "integer"
  34619. },
  34620. "optioncompare": {
  34621. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34622. "type": "string"
  34623. },
  34624. "orderqty": {
  34625. "description": "委托数量",
  34626. "type": "number"
  34627. },
  34628. "ordertime": {
  34629. "description": "委托时间(挂牌时间)",
  34630. "type": "string"
  34631. },
  34632. "performancetemplateid": {
  34633. "description": "履约模板id",
  34634. "type": "integer"
  34635. },
  34636. "pricemove": {
  34637. "description": "升贴水(浮动价时填写) - [挂牌]",
  34638. "type": "number"
  34639. },
  34640. "taname": {
  34641. "description": "交易用户名称(资金账号名称)",
  34642. "type": "string"
  34643. },
  34644. "tradedate": {
  34645. "description": "交易日(yyyyMMdd)",
  34646. "type": "string"
  34647. },
  34648. "tradeprice": {
  34649. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  34650. "type": "number"
  34651. },
  34652. "tradeqty": {
  34653. "description": "成交数量",
  34654. "type": "number"
  34655. },
  34656. "userid": {
  34657. "description": "用户ID",
  34658. "type": "integer"
  34659. },
  34660. "validtime": {
  34661. "description": "挂牌有效期",
  34662. "type": "string"
  34663. },
  34664. "warehouseid": {
  34665. "description": "仓库ID",
  34666. "type": "integer"
  34667. },
  34668. "warehousename": {
  34669. "description": "仓库名称",
  34670. "type": "string"
  34671. },
  34672. "wrfactortypeid": {
  34673. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34674. "type": "string"
  34675. },
  34676. "wrfactortypename": {
  34677. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34678. "type": "string"
  34679. },
  34680. "wrpricetype": {
  34681. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34682. "type": "integer"
  34683. },
  34684. "wrstandardcode": {
  34685. "description": "现货商品代码",
  34686. "type": "string"
  34687. },
  34688. "wrstandardid": {
  34689. "description": "现货商品ID",
  34690. "type": "integer"
  34691. },
  34692. "wrstandardname": {
  34693. "description": "商品名称",
  34694. "type": "string"
  34695. },
  34696. "wrtradeorderid": {
  34697. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34698. "type": "string"
  34699. },
  34700. "wrtradeorderstatus": {
  34701. "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:撤单解冻贷款失败",
  34702. "type": "integer"
  34703. },
  34704. "wrtradetype": {
  34705. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34706. "type": "integer"
  34707. },
  34708. "wrtypename": {
  34709. "description": "商品",
  34710. "type": "string"
  34711. }
  34712. }
  34713. },
  34714. "models.WrOrderQuote": {
  34715. "type": "object",
  34716. "properties": {
  34717. "buyprice": {
  34718. "description": "买价",
  34719. "type": "number"
  34720. },
  34721. "buypricemove": {
  34722. "description": "买升贴水(基差)",
  34723. "type": "number"
  34724. },
  34725. "buyqty": {
  34726. "description": "买量",
  34727. "type": "number"
  34728. },
  34729. "deliverygoodscode": {
  34730. "description": "品种代码",
  34731. "type": "string"
  34732. },
  34733. "deliverygoodsid": {
  34734. "description": "品种id",
  34735. "type": "integer"
  34736. },
  34737. "deliverygoodsname": {
  34738. "description": "品种名称",
  34739. "type": "string"
  34740. },
  34741. "deliverymonth": {
  34742. "description": "交收月",
  34743. "type": "string"
  34744. },
  34745. "enumdicname": {
  34746. "description": "单位名称",
  34747. "type": "string"
  34748. },
  34749. "goodscode": {
  34750. "description": "商品合约(浮动价列表才有)",
  34751. "type": "string"
  34752. },
  34753. "goodsid": {
  34754. "description": "商品id(浮动价列表才有)",
  34755. "type": "integer"
  34756. },
  34757. "minivalue": {
  34758. "description": "现货商品最小变动值",
  34759. "type": "integer"
  34760. },
  34761. "sellprice": {
  34762. "description": "卖价",
  34763. "type": "number"
  34764. },
  34765. "sellpricemove": {
  34766. "description": "卖升贴水(基差)",
  34767. "type": "number"
  34768. },
  34769. "sellqty": {
  34770. "description": "卖量",
  34771. "type": "number"
  34772. },
  34773. "warehousecode": {
  34774. "description": "仓库代码",
  34775. "type": "string"
  34776. },
  34777. "warehouseid": {
  34778. "description": "仓库id",
  34779. "type": "integer"
  34780. },
  34781. "warehousename": {
  34782. "description": "仓库名称",
  34783. "type": "string"
  34784. },
  34785. "wrfactortypeid": {
  34786. "description": "仓单要素id",
  34787. "type": "string"
  34788. },
  34789. "wrfactortypename": {
  34790. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34791. "type": "string"
  34792. },
  34793. "wrgoodsname": {
  34794. "description": "商品(商品名称+仓库要素名称 拼接)",
  34795. "type": "string"
  34796. },
  34797. "wrstandardcode": {
  34798. "description": "商品代码",
  34799. "type": "string"
  34800. },
  34801. "wrstandardid": {
  34802. "description": "商品id",
  34803. "type": "integer"
  34804. },
  34805. "wrstandardname": {
  34806. "description": "商品名称",
  34807. "type": "string"
  34808. }
  34809. }
  34810. },
  34811. "models.WrOrderQuoteDetail": {
  34812. "type": "object",
  34813. "properties": {
  34814. "buyorsell": {
  34815. "description": "买卖 - 0:买 1:卖",
  34816. "type": "integer"
  34817. },
  34818. "delistminqty": {
  34819. "description": "起摘数量",
  34820. "type": "number"
  34821. },
  34822. "deliverymonth": {
  34823. "description": "交收月",
  34824. "type": "string"
  34825. },
  34826. "enumdicname": {
  34827. "description": "单位名称",
  34828. "type": "string"
  34829. },
  34830. "fixedprice": {
  34831. "description": "买(卖)价",
  34832. "type": "number"
  34833. },
  34834. "minivalue": {
  34835. "description": "现货商品最小变动值",
  34836. "type": "integer"
  34837. },
  34838. "orderqty": {
  34839. "description": "买(卖)量(=委托量-成交量)",
  34840. "type": "number"
  34841. },
  34842. "ordertime": {
  34843. "description": "委托时间",
  34844. "type": "string"
  34845. },
  34846. "pricemove": {
  34847. "description": "买(卖)升贴水- 基差",
  34848. "type": "number"
  34849. },
  34850. "userid": {
  34851. "description": "购买方(销售方)用户ID",
  34852. "type": "integer"
  34853. },
  34854. "username": {
  34855. "description": "购买方(销售方)",
  34856. "type": "string"
  34857. },
  34858. "wrtradeorderid": {
  34859. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34860. "type": "string"
  34861. }
  34862. }
  34863. },
  34864. "models.WrOutInApply": {
  34865. "type": "object",
  34866. "properties": {
  34867. "applyid": {
  34868. "description": "申请单id",
  34869. "type": "string"
  34870. },
  34871. "applystatus": {
  34872. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  34873. "type": "integer"
  34874. },
  34875. "applytime": {
  34876. "description": "申请时间",
  34877. "type": "string"
  34878. },
  34879. "applytype": {
  34880. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  34881. "type": "integer"
  34882. },
  34883. "deliverygoodscode": {
  34884. "description": "品种代码",
  34885. "type": "string"
  34886. },
  34887. "deliverygoodsid": {
  34888. "description": "品种ID",
  34889. "type": "integer"
  34890. },
  34891. "deliverygoodsname": {
  34892. "description": "品种名称",
  34893. "type": "string"
  34894. },
  34895. "enumdicname": {
  34896. "description": "单位名称",
  34897. "type": "string"
  34898. },
  34899. "expresscompany": {
  34900. "description": "物流公司",
  34901. "type": "string"
  34902. },
  34903. "expressnum": {
  34904. "description": "物流单号",
  34905. "type": "string"
  34906. },
  34907. "minivalue": {
  34908. "description": "现货商品最小变动值",
  34909. "type": "integer"
  34910. },
  34911. "optioncompare": {
  34912. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34913. "type": "string"
  34914. },
  34915. "qty": {
  34916. "description": "数量",
  34917. "type": "integer"
  34918. },
  34919. "userid": {
  34920. "description": "用户id",
  34921. "type": "integer"
  34922. },
  34923. "warehouseid": {
  34924. "description": "仓库ID",
  34925. "type": "integer"
  34926. },
  34927. "warehousename": {
  34928. "description": "仓库名称",
  34929. "type": "string"
  34930. },
  34931. "wrfactortypeid": {
  34932. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34933. "type": "string"
  34934. },
  34935. "wrfactortypename": {
  34936. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34937. "type": "string"
  34938. },
  34939. "wrstandardcode": {
  34940. "description": "现货商品代码",
  34941. "type": "string"
  34942. },
  34943. "wrstandardid": {
  34944. "description": "现货商品ID",
  34945. "type": "integer"
  34946. },
  34947. "wrstandardname": {
  34948. "description": "商品名称",
  34949. "type": "string"
  34950. },
  34951. "wrtypename": {
  34952. "description": "商品",
  34953. "type": "string"
  34954. }
  34955. }
  34956. },
  34957. "models.WrPerformancePlan": {
  34958. "type": "object",
  34959. "required": [
  34960. "userid"
  34961. ],
  34962. "properties": {
  34963. "activatemonth": {
  34964. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  34965. "type": "string"
  34966. },
  34967. "amount": {
  34968. "description": "履约金额(总金额)",
  34969. "type": "number"
  34970. },
  34971. "buyaccountid": {
  34972. "description": "买方账号",
  34973. "type": "integer"
  34974. },
  34975. "buyerfreezeamount": {
  34976. "description": "履约冻结(买履约)",
  34977. "type": "number"
  34978. },
  34979. "buyerfreezeamountremain": {
  34980. "description": "履约冻结剩余(买履约)",
  34981. "type": "number"
  34982. },
  34983. "buyorsell": {
  34984. "description": "买卖方向 0-买 1-卖",
  34985. "type": "integer"
  34986. },
  34987. "buypaidamount": {
  34988. "description": "买方已冻/已扣金额 (已付金额)",
  34989. "type": "number"
  34990. },
  34991. "buyusername": {
  34992. "description": "买方名字",
  34993. "type": "string"
  34994. },
  34995. "contractid": {
  34996. "description": "合同ID",
  34997. "type": "integer"
  34998. },
  34999. "createtime": {
  35000. "description": "创建时间",
  35001. "type": "string"
  35002. },
  35003. "creatorid": {
  35004. "description": "创建人",
  35005. "type": "integer"
  35006. },
  35007. "curstepdeadline": {
  35008. "description": "当前步骤到期时间",
  35009. "type": "string"
  35010. },
  35011. "curstepid": {
  35012. "description": "当前步骤ID",
  35013. "type": "string"
  35014. },
  35015. "curstepname": {
  35016. "description": "当前步骤名称",
  35017. "type": "string"
  35018. },
  35019. "deliverygoodscode": {
  35020. "description": "品种代码",
  35021. "type": "string"
  35022. },
  35023. "deliverygoodsid": {
  35024. "description": "品种ID",
  35025. "type": "integer"
  35026. },
  35027. "deliverygoodsname": {
  35028. "description": "品种名称",
  35029. "type": "string"
  35030. },
  35031. "enumdicname": {
  35032. "description": "单位名称",
  35033. "type": "string"
  35034. },
  35035. "expressfee": {
  35036. "description": "运费",
  35037. "type": "number"
  35038. },
  35039. "expressfeeconfirmed": {
  35040. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35041. "type": "integer"
  35042. },
  35043. "hasovershort": {
  35044. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35045. "type": "integer"
  35046. },
  35047. "haswr": {
  35048. "description": "类型 0-仓单预售 1-仓单贸易",
  35049. "type": "integer"
  35050. },
  35051. "marketid": {
  35052. "description": "市场ID",
  35053. "type": "integer"
  35054. },
  35055. "middleaccountid": {
  35056. "description": "中间商资金账号ID",
  35057. "type": "integer"
  35058. },
  35059. "middleuserid": {
  35060. "description": "中间商用户ID",
  35061. "type": "integer"
  35062. },
  35063. "minivalue": {
  35064. "description": "现货商品最小变动值",
  35065. "type": "integer"
  35066. },
  35067. "optioncompare": {
  35068. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35069. "type": "string"
  35070. },
  35071. "overshortamount": {
  35072. "description": "溢短金额",
  35073. "type": "number"
  35074. },
  35075. "overshortqty": {
  35076. "description": "溢短数量",
  35077. "type": "number"
  35078. },
  35079. "paymenttype": {
  35080. "description": "付款方式 - 1:冻结 2:扣款",
  35081. "type": "integer"
  35082. },
  35083. "performanceplanid": {
  35084. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35085. "type": "string"
  35086. },
  35087. "performancestatus": {
  35088. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35089. "type": "integer"
  35090. },
  35091. "performancetype": {
  35092. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35093. "type": "integer"
  35094. },
  35095. "qty": {
  35096. "description": "履约数量",
  35097. "type": "number"
  35098. },
  35099. "relatedorderid": {
  35100. "description": "关联单号(履约类型的关联单号)",
  35101. "type": "string"
  35102. },
  35103. "remark": {
  35104. "description": "备注",
  35105. "type": "string"
  35106. },
  35107. "sellaccountid": {
  35108. "description": "卖方账号",
  35109. "type": "integer"
  35110. },
  35111. "sellerfreezeamount": {
  35112. "description": "履约冻结(卖履约)",
  35113. "type": "number"
  35114. },
  35115. "sellerfreezeamountremain": {
  35116. "description": "履约冻结剩余(卖履约)",
  35117. "type": "number"
  35118. },
  35119. "sellreceivedamount": {
  35120. "description": "卖方已收金额",
  35121. "type": "number"
  35122. },
  35123. "sellusername": {
  35124. "description": "卖方名字",
  35125. "type": "string"
  35126. },
  35127. "shipremark": {
  35128. "description": "发货备注[物流单号]",
  35129. "type": "string"
  35130. },
  35131. "starttime": {
  35132. "description": "开始时间",
  35133. "type": "string"
  35134. },
  35135. "steptypeid": {
  35136. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35137. "type": "integer"
  35138. },
  35139. "typename": {
  35140. "description": "履约类型 名称",
  35141. "type": "string"
  35142. },
  35143. "unpaidamount": {
  35144. "description": "剩余款(待支付金额)",
  35145. "type": "number"
  35146. },
  35147. "userid": {
  35148. "description": "用户id",
  35149. "type": "integer"
  35150. },
  35151. "warehouseid": {
  35152. "description": "仓库ID",
  35153. "type": "integer"
  35154. },
  35155. "warehousename": {
  35156. "description": "仓库名称",
  35157. "type": "string"
  35158. },
  35159. "wrfactortypeid": {
  35160. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35161. "type": "string"
  35162. },
  35163. "wrfactortypename": {
  35164. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35165. "type": "string"
  35166. },
  35167. "wrstandardcode": {
  35168. "description": "现货商品代码",
  35169. "type": "string"
  35170. },
  35171. "wrstandardid": {
  35172. "description": "现货商品ID",
  35173. "type": "integer"
  35174. },
  35175. "wrstandardname": {
  35176. "description": "商品名称",
  35177. "type": "string"
  35178. },
  35179. "wrtransferuserid": {
  35180. "description": "仓单受让用户",
  35181. "type": "integer"
  35182. },
  35183. "wrtypename": {
  35184. "description": "商品",
  35185. "type": "string"
  35186. }
  35187. }
  35188. },
  35189. "models.WrPerformancePlanStep": {
  35190. "type": "object",
  35191. "properties": {
  35192. "delaydays": {
  35193. "description": "延期申请天数",
  35194. "type": "integer"
  35195. },
  35196. "deliverygoodscode": {
  35197. "description": "品种代码",
  35198. "type": "string"
  35199. },
  35200. "deliverygoodsid": {
  35201. "description": "品种ID",
  35202. "type": "integer"
  35203. },
  35204. "deliverygoodsname": {
  35205. "description": "品种名称",
  35206. "type": "string"
  35207. },
  35208. "endtime": {
  35209. "description": "结束日期",
  35210. "type": "string"
  35211. },
  35212. "enumdicname": {
  35213. "description": "单位名称",
  35214. "type": "string"
  35215. },
  35216. "executeside": {
  35217. "description": "步骤执行方 - 1:买方 2:卖方",
  35218. "type": "integer"
  35219. },
  35220. "handlestatus": {
  35221. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35222. "type": "integer"
  35223. },
  35224. "isauto": {
  35225. "description": "是否自动 - 0:不自动 1:自动",
  35226. "type": "integer"
  35227. },
  35228. "islastreceivestep": {
  35229. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35230. "type": "integer"
  35231. },
  35232. "minivalue": {
  35233. "description": "现货商品最小变动值",
  35234. "type": "integer"
  35235. },
  35236. "optioncompare": {
  35237. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35238. "type": "string"
  35239. },
  35240. "overdays": {
  35241. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35242. "type": "integer"
  35243. },
  35244. "performancestepid": {
  35245. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  35246. "type": "string"
  35247. },
  35248. "planid": {
  35249. "description": "所属履约计划ID",
  35250. "type": "string"
  35251. },
  35252. "realamount": {
  35253. "description": "实际完成金额",
  35254. "type": "number"
  35255. },
  35256. "relatedorderid": {
  35257. "description": "关联单号",
  35258. "type": "string"
  35259. },
  35260. "remaindays": {
  35261. "description": "剩余天数",
  35262. "type": "integer"
  35263. },
  35264. "remark": {
  35265. "description": "错误备注",
  35266. "type": "string"
  35267. },
  35268. "starttime": {
  35269. "description": "开始日期",
  35270. "type": "string"
  35271. },
  35272. "stepamount": {
  35273. "description": "步骤金额",
  35274. "type": "number"
  35275. },
  35276. "stepdays": {
  35277. "description": "距离上一步天数(分钟)",
  35278. "type": "integer"
  35279. },
  35280. "stepindex": {
  35281. "description": "步骤序号",
  35282. "type": "integer"
  35283. },
  35284. "steplanchtype": {
  35285. "description": "步骤启动类型 - 1:系统自动 2:手动",
  35286. "type": "integer"
  35287. },
  35288. "stepremark": {
  35289. "description": "步骤备注",
  35290. "type": "string"
  35291. },
  35292. "stepstatus": {
  35293. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  35294. "type": "integer"
  35295. },
  35296. "steptypeid": {
  35297. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35298. "type": "integer"
  35299. },
  35300. "steptypename": {
  35301. "description": "步骤名称",
  35302. "type": "string"
  35303. },
  35304. "stepvalue": {
  35305. "description": "步骤值",
  35306. "type": "number"
  35307. },
  35308. "warehouseid": {
  35309. "description": "仓库ID",
  35310. "type": "integer"
  35311. },
  35312. "warehousename": {
  35313. "description": "仓库名称",
  35314. "type": "string"
  35315. },
  35316. "wrfactortypeid": {
  35317. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35318. "type": "string"
  35319. },
  35320. "wrfactortypename": {
  35321. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35322. "type": "string"
  35323. },
  35324. "wrstandardcode": {
  35325. "description": "现货商品代码",
  35326. "type": "string"
  35327. },
  35328. "wrstandardid": {
  35329. "description": "现货商品ID",
  35330. "type": "integer"
  35331. },
  35332. "wrstandardname": {
  35333. "description": "商品名称",
  35334. "type": "string"
  35335. },
  35336. "wrtypename": {
  35337. "description": "商品",
  35338. "type": "string"
  35339. }
  35340. }
  35341. },
  35342. "models.WrPerformanceStepType": {
  35343. "type": "object",
  35344. "properties": {
  35345. "canauto": {
  35346. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  35347. "type": "integer"
  35348. },
  35349. "steptypeid": {
  35350. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  35351. "type": "integer"
  35352. },
  35353. "steptypename": {
  35354. "description": "步骤类型名称",
  35355. "type": "string"
  35356. }
  35357. }
  35358. },
  35359. "models.WrPerformanceTemplateEx": {
  35360. "type": "object",
  35361. "properties": {
  35362. "autoid": {
  35363. "description": "AutoID 模板id",
  35364. "type": "integer"
  35365. },
  35366. "createtime": {
  35367. "description": "创建时间",
  35368. "type": "string"
  35369. },
  35370. "creatorid": {
  35371. "description": "创建人",
  35372. "type": "integer"
  35373. },
  35374. "lstStep": {
  35375. "description": "步骤信息列表",
  35376. "type": "array",
  35377. "items": {
  35378. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35379. }
  35380. },
  35381. "paymenttype": {
  35382. "description": "支付方式 - 1:冻结 2:扣款",
  35383. "type": "integer"
  35384. },
  35385. "takemode": {
  35386. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  35387. "type": "integer"
  35388. },
  35389. "templatename": {
  35390. "description": "模板名称",
  35391. "type": "string"
  35392. },
  35393. "templatetype": {
  35394. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  35395. "type": "integer"
  35396. },
  35397. "userid": {
  35398. "description": "所属用户",
  35399. "type": "integer"
  35400. }
  35401. }
  35402. },
  35403. "models.WrPosition": {
  35404. "type": "object",
  35405. "properties": {
  35406. "accountid": {
  35407. "description": "帐户ID",
  35408. "type": "integer"
  35409. },
  35410. "buyexcuteqty": {
  35411. "description": "采购履约中数量",
  35412. "type": "number"
  35413. },
  35414. "creditcurqty": {
  35415. "description": "授信当前数量(预售仓单:预售当前量)",
  35416. "type": "number"
  35417. },
  35418. "creditenableqty": {
  35419. "description": "授信可用数量(预售仓单: 可用数量)",
  35420. "type": "number"
  35421. },
  35422. "creditfreezeqty": {
  35423. "description": "授信冻结数量(预售仓单: 当前数量)",
  35424. "type": "number"
  35425. },
  35426. "credittotalqty": {
  35427. "description": "授信总数量(预售仓单:预售总量)",
  35428. "type": "number"
  35429. },
  35430. "credittradeqty": {
  35431. "description": "授信成交数量(预售仓单:成交总量)",
  35432. "type": "number"
  35433. },
  35434. "deliverygoodscode": {
  35435. "description": "品种代码",
  35436. "type": "string"
  35437. },
  35438. "deliverygoodsid": {
  35439. "description": "品种ID",
  35440. "type": "integer"
  35441. },
  35442. "deliverygoodsname": {
  35443. "description": "品种名称",
  35444. "type": "string"
  35445. },
  35446. "enalbeqty": {
  35447. "description": "可用数量",
  35448. "type": "number"
  35449. },
  35450. "enumdicname": {
  35451. "description": "单位名称",
  35452. "type": "string"
  35453. },
  35454. "freezeqty": {
  35455. "description": "总冻结数量",
  35456. "type": "number"
  35457. },
  35458. "haswr": {
  35459. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35460. "type": "integer"
  35461. },
  35462. "minivalue": {
  35463. "description": "现货商品最小变动值",
  35464. "type": "integer"
  35465. },
  35466. "modifytime": {
  35467. "description": "修改时间(过户时间)",
  35468. "type": "string"
  35469. },
  35470. "optioncompare": {
  35471. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35472. "type": "string"
  35473. },
  35474. "pledgeqty": {
  35475. "description": "质押数量",
  35476. "type": "number"
  35477. },
  35478. "querytype": {
  35479. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  35480. "type": "integer"
  35481. },
  35482. "sellexcuteqty": {
  35483. "description": "销售履约中数量",
  35484. "type": "number"
  35485. },
  35486. "totalqty": {
  35487. "description": "总数量(库存数量)",
  35488. "type": "number"
  35489. },
  35490. "warehouseid": {
  35491. "description": "仓库ID",
  35492. "type": "integer"
  35493. },
  35494. "warehousename": {
  35495. "description": "仓库名称",
  35496. "type": "string"
  35497. },
  35498. "wrfactortypeid": {
  35499. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35500. "type": "string"
  35501. },
  35502. "wrfactortypename": {
  35503. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35504. "type": "string"
  35505. },
  35506. "wrpositionid": {
  35507. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  35508. "type": "string"
  35509. },
  35510. "wrpositionno": {
  35511. "description": "仓单编号",
  35512. "type": "string"
  35513. },
  35514. "wrstandardcode": {
  35515. "description": "现货商品代码",
  35516. "type": "string"
  35517. },
  35518. "wrstandardid": {
  35519. "description": "现货商品ID",
  35520. "type": "integer"
  35521. },
  35522. "wrstandardname": {
  35523. "description": "商品名称",
  35524. "type": "string"
  35525. },
  35526. "wrtypename": {
  35527. "description": "商品",
  35528. "type": "string"
  35529. },
  35530. "wruserid": {
  35531. "description": "持有人ID",
  35532. "type": "integer"
  35533. }
  35534. }
  35535. },
  35536. "models.WrQuoteOrderMyq": {
  35537. "type": "object",
  35538. "properties": {
  35539. "buyorsell": {
  35540. "description": "买卖 - 0:买 1:卖",
  35541. "type": "integer"
  35542. },
  35543. "canbargain": {
  35544. "description": "是否可议价 - 0:不可 1:可",
  35545. "type": "integer"
  35546. },
  35547. "canpart": {
  35548. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  35549. "type": "integer"
  35550. },
  35551. "delistminqty": {
  35552. "description": "起摘数量",
  35553. "type": "number"
  35554. },
  35555. "deliverygoodscode": {
  35556. "description": "品种代码",
  35557. "type": "string"
  35558. },
  35559. "deliverygoodsid": {
  35560. "description": "品种ID",
  35561. "type": "integer"
  35562. },
  35563. "deliverygoodsname": {
  35564. "description": "品种名称",
  35565. "type": "string"
  35566. },
  35567. "deliverymonth": {
  35568. "description": "交收月",
  35569. "type": "string"
  35570. },
  35571. "enumdicname": {
  35572. "description": "单位名称",
  35573. "type": "string"
  35574. },
  35575. "fixedprice": {
  35576. "description": "买(卖)价",
  35577. "type": "number"
  35578. },
  35579. "goodscode": {
  35580. "description": "商品合约代码",
  35581. "type": "string"
  35582. },
  35583. "marginflag": {
  35584. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  35585. "type": "integer"
  35586. },
  35587. "marginvalue": {
  35588. "description": "保证金设置值",
  35589. "type": "number"
  35590. },
  35591. "minivalue": {
  35592. "description": "现货商品最小变动值",
  35593. "type": "integer"
  35594. },
  35595. "orderqty": {
  35596. "description": "买(卖)量(=委托量-成交量)",
  35597. "type": "number"
  35598. },
  35599. "ordertime": {
  35600. "description": "委托时间",
  35601. "type": "string"
  35602. },
  35603. "performancetemplateid": {
  35604. "description": "履约模板id",
  35605. "type": "integer"
  35606. },
  35607. "pricemove": {
  35608. "description": "买(卖)升贴水- 基差",
  35609. "type": "number"
  35610. },
  35611. "templatename": {
  35612. "description": "履约模板名称",
  35613. "type": "string"
  35614. },
  35615. "userid": {
  35616. "description": "购买方(销售方)用户ID",
  35617. "type": "integer"
  35618. },
  35619. "username": {
  35620. "description": "购买方(销售方)",
  35621. "type": "string"
  35622. },
  35623. "validtime": {
  35624. "description": "有效期限",
  35625. "type": "string"
  35626. },
  35627. "validtype": {
  35628. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35629. "type": "integer"
  35630. },
  35631. "warehousename": {
  35632. "description": "仓库名称",
  35633. "type": "string"
  35634. },
  35635. "wrfactortypeid": {
  35636. "description": "仓单要素id",
  35637. "type": "string"
  35638. },
  35639. "wrstandardcode": {
  35640. "description": "现货商品代码",
  35641. "type": "string"
  35642. },
  35643. "wrstandardid": {
  35644. "description": "现货商品ID",
  35645. "type": "integer"
  35646. },
  35647. "wrstandardname": {
  35648. "description": "商品名称",
  35649. "type": "string"
  35650. },
  35651. "wrtradeorderid": {
  35652. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35653. "type": "string"
  35654. },
  35655. "wrtypename": {
  35656. "description": "商品",
  35657. "type": "string"
  35658. }
  35659. }
  35660. },
  35661. "models.WrScfContract": {
  35662. "type": "object",
  35663. "properties": {
  35664. "borroweruserid": {
  35665. "description": "借款用户ID",
  35666. "type": "integer"
  35667. },
  35668. "buybackwrpositionqty": {
  35669. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  35670. "type": "number"
  35671. },
  35672. "closeinterest": {
  35673. "description": "已结利息 -\u003e 已结费用",
  35674. "type": "number"
  35675. },
  35676. "currisklevel": {
  35677. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35678. "type": "integer"
  35679. },
  35680. "deadline": {
  35681. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  35682. "type": "string"
  35683. },
  35684. "deliverygoodscode": {
  35685. "description": "品种代码",
  35686. "type": "string"
  35687. },
  35688. "deliverygoodsid": {
  35689. "description": "品种ID",
  35690. "type": "integer"
  35691. },
  35692. "deliverygoodsname": {
  35693. "description": "品种名称",
  35694. "type": "string"
  35695. },
  35696. "enumdicname": {
  35697. "description": "单位名称",
  35698. "type": "string"
  35699. },
  35700. "financingdays": {
  35701. "description": "天数(天)",
  35702. "type": "integer"
  35703. },
  35704. "initmargin": {
  35705. "description": "保证金 - [仓单回购]",
  35706. "type": "number"
  35707. },
  35708. "interestamount": {
  35709. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  35710. "type": "number"
  35711. },
  35712. "interestdebt": {
  35713. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  35714. "type": "number"
  35715. },
  35716. "interestminlen": {
  35717. "description": "最小起息天数",
  35718. "type": "integer"
  35719. },
  35720. "interestrate": {
  35721. "description": "利率",
  35722. "type": "number"
  35723. },
  35724. "interestratemode": {
  35725. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35726. "type": "integer"
  35727. },
  35728. "interestsettlemode": {
  35729. "description": "结息方式 - 1:按日结息 3:按月结息",
  35730. "type": "integer"
  35731. },
  35732. "interestsettlevalue": {
  35733. "description": "结息方式值",
  35734. "type": "integer"
  35735. },
  35736. "isautoloan": {
  35737. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  35738. "type": "integer"
  35739. },
  35740. "lastcloseinterestday": {
  35741. "description": "最近结息日(yyyyMMdd)",
  35742. "type": "string"
  35743. },
  35744. "lenderamount": {
  35745. "description": "贷款金额 -\u003e 借款金额",
  35746. "type": "number"
  35747. },
  35748. "lenderuserid": {
  35749. "description": "贷款方用户ID -\u003e 融出方用户ID",
  35750. "type": "integer"
  35751. },
  35752. "lenderusername": {
  35753. "description": "融出方",
  35754. "type": "string"
  35755. },
  35756. "marginratio": {
  35757. "description": "保证金比率质押率 - [仓单质押]",
  35758. "type": "number"
  35759. },
  35760. "marketid": {
  35761. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  35762. "type": "integer"
  35763. },
  35764. "minivalue": {
  35765. "description": "现货商品最小变动值",
  35766. "type": "integer"
  35767. },
  35768. "optioncompare": {
  35769. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35770. "type": "string"
  35771. },
  35772. "pricemove": {
  35773. "description": "估值升贴水值",
  35774. "type": "number"
  35775. },
  35776. "productdetailid": {
  35777. "description": "产品组合ID",
  35778. "type": "integer"
  35779. },
  35780. "productid": {
  35781. "description": "金融产品ID",
  35782. "type": "integer"
  35783. },
  35784. "productname": {
  35785. "description": "产品名称",
  35786. "type": "string"
  35787. },
  35788. "remainamount": {
  35789. "description": "合同剩余金额 -\u003e 剩余金额",
  35790. "type": "number"
  35791. },
  35792. "remainwrpositionqty": {
  35793. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  35794. "type": "number"
  35795. },
  35796. "remark": {
  35797. "description": "备注",
  35798. "type": "string"
  35799. },
  35800. "scfcontractid": {
  35801. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35802. "type": "string"
  35803. },
  35804. "scfcontractstatus": {
  35805. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35806. "type": "integer"
  35807. },
  35808. "scfcontracttype": {
  35809. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  35810. "type": "integer"
  35811. },
  35812. "startinterestday": {
  35813. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  35814. "type": "string"
  35815. },
  35816. "totalinterest": {
  35817. "description": "已计利息 -\u003e 已计费用",
  35818. "type": "number"
  35819. },
  35820. "unpaidinterest": {
  35821. "description": "未结费用",
  35822. "type": "number"
  35823. },
  35824. "updatetime": {
  35825. "description": "更新时间",
  35826. "type": "string"
  35827. },
  35828. "warehouseid": {
  35829. "description": "仓库ID",
  35830. "type": "integer"
  35831. },
  35832. "warehousename": {
  35833. "description": "仓库名称",
  35834. "type": "string"
  35835. },
  35836. "wrfactortypeid": {
  35837. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35838. "type": "string"
  35839. },
  35840. "wrfactortypename": {
  35841. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35842. "type": "string"
  35843. },
  35844. "wrqty": {
  35845. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  35846. "type": "number"
  35847. },
  35848. "wrstandardcode": {
  35849. "description": "现货商品代码",
  35850. "type": "string"
  35851. },
  35852. "wrstandardid": {
  35853. "description": "现货商品ID",
  35854. "type": "integer"
  35855. },
  35856. "wrstandardname": {
  35857. "description": "商品名称",
  35858. "type": "string"
  35859. },
  35860. "wrtypename": {
  35861. "description": "商品",
  35862. "type": "string"
  35863. }
  35864. }
  35865. },
  35866. "models.WrScfContractInterest": {
  35867. "type": "object",
  35868. "properties": {
  35869. "closeinterest": {
  35870. "description": "已结利息",
  35871. "type": "number"
  35872. },
  35873. "closeintereststatus": {
  35874. "description": "结息状态 - 1:未结 2:已结",
  35875. "type": "integer"
  35876. },
  35877. "closetime": {
  35878. "description": "结息时间",
  35879. "type": "string"
  35880. },
  35881. "closetradedate": {
  35882. "description": "结息交易日",
  35883. "type": "string"
  35884. },
  35885. "creatorid": {
  35886. "description": "操作人ID",
  35887. "type": "integer"
  35888. },
  35889. "dayrate": {
  35890. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  35891. "type": "number"
  35892. },
  35893. "interest": {
  35894. "description": "利息",
  35895. "type": "number"
  35896. },
  35897. "interestamount": {
  35898. "description": "计息金额",
  35899. "type": "number"
  35900. },
  35901. "interestday": {
  35902. "description": "计息日(yyyyMMdd)",
  35903. "type": "string"
  35904. },
  35905. "scfcontractid": {
  35906. "description": "SCF合同ID",
  35907. "type": "string"
  35908. },
  35909. "scfcontractinterestid": {
  35910. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  35911. "type": "integer"
  35912. },
  35913. "updatetime": {
  35914. "description": "更新时间",
  35915. "type": "string"
  35916. }
  35917. }
  35918. },
  35919. "models.WrSpecialMatchOrder": {
  35920. "type": "object",
  35921. "properties": {
  35922. "amount": {
  35923. "description": "金额 = 数量 * 价格",
  35924. "type": "number"
  35925. },
  35926. "buyorsell": {
  35927. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35928. "type": "integer"
  35929. },
  35930. "cancelqty": {
  35931. "description": "撤销数量",
  35932. "type": "number"
  35933. },
  35934. "deliverygoodscode": {
  35935. "description": "品种代码",
  35936. "type": "string"
  35937. },
  35938. "deliverygoodsid": {
  35939. "description": "品种ID",
  35940. "type": "integer"
  35941. },
  35942. "deliverygoodsname": {
  35943. "description": "品种名称",
  35944. "type": "string"
  35945. },
  35946. "enumdicname": {
  35947. "description": "单位名称",
  35948. "type": "string"
  35949. },
  35950. "fixedprice": {
  35951. "description": "固定价格(价格)",
  35952. "type": "number"
  35953. },
  35954. "haswr": {
  35955. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35956. "type": "integer"
  35957. },
  35958. "marketid": {
  35959. "description": "市场ID",
  35960. "type": "integer"
  35961. },
  35962. "matchuserid": {
  35963. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  35964. "type": "integer"
  35965. },
  35966. "matchusername": {
  35967. "description": "指定方",
  35968. "type": "string"
  35969. },
  35970. "minivalue": {
  35971. "description": "现货商品最小变动值",
  35972. "type": "integer"
  35973. },
  35974. "optioncompare": {
  35975. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35976. "type": "string"
  35977. },
  35978. "orderqty": {
  35979. "description": "委托数量",
  35980. "type": "number"
  35981. },
  35982. "ordertime": {
  35983. "description": "委托时间",
  35984. "type": "string"
  35985. },
  35986. "pricemove": {
  35987. "description": "升贴水(浮动价时填写) - [挂牌]",
  35988. "type": "number"
  35989. },
  35990. "tradedate": {
  35991. "description": "交易日(yyyyMMdd)",
  35992. "type": "string"
  35993. },
  35994. "tradeprice": {
  35995. "description": "成交价格",
  35996. "type": "number"
  35997. },
  35998. "tradeqty": {
  35999. "description": "成交数量",
  36000. "type": "number"
  36001. },
  36002. "userid": {
  36003. "description": "用户ID",
  36004. "type": "integer"
  36005. },
  36006. "username": {
  36007. "description": "发起方",
  36008. "type": "string"
  36009. },
  36010. "warehouseid": {
  36011. "description": "仓库ID",
  36012. "type": "integer"
  36013. },
  36014. "warehousename": {
  36015. "description": "仓库名称",
  36016. "type": "string"
  36017. },
  36018. "wrfactortypeid": {
  36019. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36020. "type": "string"
  36021. },
  36022. "wrfactortypename": {
  36023. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36024. "type": "string"
  36025. },
  36026. "wrpricetype": {
  36027. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36028. "type": "integer"
  36029. },
  36030. "wrstandardcode": {
  36031. "description": "现货商品代码",
  36032. "type": "string"
  36033. },
  36034. "wrstandardid": {
  36035. "description": "现货商品ID",
  36036. "type": "integer"
  36037. },
  36038. "wrstandardname": {
  36039. "description": "商品名称",
  36040. "type": "string"
  36041. },
  36042. "wrtradeorderid": {
  36043. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36044. "type": "string"
  36045. },
  36046. "wrtradeorderstatus": {
  36047. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36048. "type": "integer"
  36049. },
  36050. "wrtradetype": {
  36051. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36052. "type": "integer"
  36053. },
  36054. "wrtypename": {
  36055. "description": "商品",
  36056. "type": "string"
  36057. }
  36058. }
  36059. },
  36060. "models.WrStandardFactoryItem": {
  36061. "type": "object",
  36062. "properties": {
  36063. "dgfactoryitemid": {
  36064. "description": "选择项id",
  36065. "type": "integer"
  36066. },
  36067. "dgfactoryitemvalue": {
  36068. "description": "要素项值",
  36069. "type": "string"
  36070. },
  36071. "warehouseid": {
  36072. "description": "仓库id",
  36073. "type": "integer"
  36074. }
  36075. }
  36076. },
  36077. "models.WrStandardFactoryItemEx": {
  36078. "type": "object",
  36079. "properties": {
  36080. "dgfactoryitemtypeid": {
  36081. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36082. "type": "integer"
  36083. },
  36084. "itemlst": {
  36085. "description": "要素项列表",
  36086. "type": "array",
  36087. "items": {
  36088. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36089. }
  36090. },
  36091. "itemtypename": {
  36092. "description": "要素项类型名称",
  36093. "type": "string"
  36094. },
  36095. "wrstandardid": {
  36096. "description": "品类",
  36097. "type": "integer"
  36098. }
  36099. }
  36100. },
  36101. "models.WrTradeDetail": {
  36102. "type": "object",
  36103. "properties": {
  36104. "accountid": {
  36105. "description": "资金账号",
  36106. "type": "integer"
  36107. },
  36108. "buyorsell": {
  36109. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36110. "type": "integer"
  36111. },
  36112. "chargevalue": {
  36113. "description": "手续费",
  36114. "type": "number"
  36115. },
  36116. "deliverygoodscode": {
  36117. "description": "品种代码",
  36118. "type": "string"
  36119. },
  36120. "deliverygoodsid": {
  36121. "description": "品种ID",
  36122. "type": "integer"
  36123. },
  36124. "deliverygoodsname": {
  36125. "description": "品种名称",
  36126. "type": "string"
  36127. },
  36128. "deliverymonth": {
  36129. "description": "交收月",
  36130. "type": "string"
  36131. },
  36132. "enumdicname": {
  36133. "description": "单位名称",
  36134. "type": "string"
  36135. },
  36136. "haswr": {
  36137. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36138. "type": "integer"
  36139. },
  36140. "marketid": {
  36141. "description": "市场ID",
  36142. "type": "integer"
  36143. },
  36144. "matchaccountid": {
  36145. "description": "对手账号",
  36146. "type": "integer"
  36147. },
  36148. "matchusername": {
  36149. "description": "对手方",
  36150. "type": "string"
  36151. },
  36152. "minivalue": {
  36153. "description": "现货商品最小变动值",
  36154. "type": "integer"
  36155. },
  36156. "optioncompare": {
  36157. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36158. "type": "string"
  36159. },
  36160. "tradedate": {
  36161. "description": "交易日(yyyyMMdd)",
  36162. "type": "string"
  36163. },
  36164. "tradeprice": {
  36165. "description": "成交价格",
  36166. "type": "number"
  36167. },
  36168. "tradeqty": {
  36169. "description": "成交数量",
  36170. "type": "number"
  36171. },
  36172. "tradetime": {
  36173. "description": "成交时间",
  36174. "type": "string"
  36175. },
  36176. "userid": {
  36177. "description": "用户ID",
  36178. "type": "integer"
  36179. },
  36180. "warehouseid": {
  36181. "description": "仓库ID",
  36182. "type": "integer"
  36183. },
  36184. "warehousename": {
  36185. "description": "仓库名称",
  36186. "type": "string"
  36187. },
  36188. "wrfactortypeid": {
  36189. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36190. "type": "string"
  36191. },
  36192. "wrfactortypename": {
  36193. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36194. "type": "string"
  36195. },
  36196. "wrstandardcode": {
  36197. "description": "现货商品代码",
  36198. "type": "string"
  36199. },
  36200. "wrstandardid": {
  36201. "description": "现货商品ID",
  36202. "type": "integer"
  36203. },
  36204. "wrstandardname": {
  36205. "description": "商品名称",
  36206. "type": "string"
  36207. },
  36208. "wrtradedetailid": {
  36209. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  36210. "type": "string"
  36211. },
  36212. "wrtradetype": {
  36213. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36214. "type": "integer"
  36215. },
  36216. "wrtypename": {
  36217. "description": "商品",
  36218. "type": "string"
  36219. }
  36220. }
  36221. },
  36222. "models.WrTradeOrderDetail": {
  36223. "type": "object",
  36224. "properties": {
  36225. "buyorsell": {
  36226. "description": "买卖方向 0-买 1-卖",
  36227. "type": "integer"
  36228. },
  36229. "goodsid": {
  36230. "description": "商品id",
  36231. "type": "integer"
  36232. },
  36233. "orderid": {
  36234. "description": "委托单号",
  36235. "type": "string"
  36236. },
  36237. "orderprice": {
  36238. "description": "委托价格",
  36239. "type": "number"
  36240. },
  36241. "orderqty": {
  36242. "description": "委托数量",
  36243. "type": "integer"
  36244. },
  36245. "userid": {
  36246. "description": "用户id",
  36247. "type": "integer"
  36248. },
  36249. "username": {
  36250. "description": "用户名称(已脱敏)",
  36251. "type": "string"
  36252. }
  36253. }
  36254. },
  36255. "models.WrTypeItem": {
  36256. "type": "object",
  36257. "properties": {
  36258. "name": {
  36259. "description": "名称",
  36260. "type": "string"
  36261. },
  36262. "value": {
  36263. "description": "值",
  36264. "type": "string"
  36265. }
  36266. }
  36267. },
  36268. "models.WrUserFriend": {
  36269. "type": "object",
  36270. "properties": {
  36271. "friendname": {
  36272. "description": "朋友名称(已脱敏)",
  36273. "type": "string"
  36274. },
  36275. "frienduserid": {
  36276. "description": "朋友id",
  36277. "type": "integer"
  36278. },
  36279. "isfriend": {
  36280. "description": "是否好友 0-不是 1-是",
  36281. "type": "integer"
  36282. },
  36283. "userid": {
  36284. "description": "用户id",
  36285. "type": "integer"
  36286. }
  36287. }
  36288. },
  36289. "models.WrUserReceiptInfo": {
  36290. "type": "object",
  36291. "properties": {
  36292. "address": {
  36293. "description": "地址[发票类型:企业]",
  36294. "type": "string"
  36295. },
  36296. "autoid": {
  36297. "description": "AutoID",
  36298. "type": "integer"
  36299. },
  36300. "contactinfo": {
  36301. "description": "联系方式",
  36302. "type": "string"
  36303. },
  36304. "idnum": {
  36305. "description": "身份证号码[发票类型:个人]",
  36306. "type": "string"
  36307. },
  36308. "isdefault": {
  36309. "description": "是否默认地址 - 0:否 1:是",
  36310. "type": "integer"
  36311. },
  36312. "receiptaccount": {
  36313. "description": "发票帐号[发票类型:企业]",
  36314. "type": "string"
  36315. },
  36316. "receiptbank": {
  36317. "description": "发票开户行[发票类型:企业]",
  36318. "type": "string"
  36319. },
  36320. "receipttype": {
  36321. "description": "发票类型 - 1:个人 2:企业",
  36322. "type": "integer"
  36323. },
  36324. "taxpayerid": {
  36325. "description": "纳税人识别号",
  36326. "type": "string"
  36327. },
  36328. "userid": {
  36329. "description": "用户ID",
  36330. "type": "integer"
  36331. },
  36332. "username": {
  36333. "description": "户名(个人姓名或企业名称)",
  36334. "type": "string"
  36335. }
  36336. }
  36337. },
  36338. "models.XHBRAND": {
  36339. "type": "object",
  36340. "properties": {
  36341. "brandid": {
  36342. "description": "品牌id",
  36343. "type": "integer"
  36344. },
  36345. "brandname": {
  36346. "description": "品牌名称",
  36347. "type": "string"
  36348. },
  36349. "isvalid": {
  36350. "description": "是否有效 0-无效 1-有效",
  36351. "type": "integer"
  36352. }
  36353. }
  36354. },
  36355. "models.XHDeliveryGoods": {
  36356. "type": "object",
  36357. "properties": {
  36358. "areauserid": {
  36359. "description": "所属机构",
  36360. "type": "integer"
  36361. },
  36362. "bdlst": {
  36363. "description": "品牌列表",
  36364. "type": "array",
  36365. "items": {
  36366. "$ref": "#/definitions/models.XHBRAND"
  36367. }
  36368. },
  36369. "deliverygoodscode": {
  36370. "description": "现货品种代码",
  36371. "type": "string"
  36372. },
  36373. "deliverygoodsid": {
  36374. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36375. "type": "integer"
  36376. },
  36377. "deliverygoodsname": {
  36378. "description": "现货品种名称",
  36379. "type": "string"
  36380. },
  36381. "dgstatus": {
  36382. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  36383. "type": "integer"
  36384. },
  36385. "isvalid": {
  36386. "description": "是否有效 - 0:无效 1:有效",
  36387. "type": "integer"
  36388. },
  36389. "remark": {
  36390. "description": "备注",
  36391. "type": "string"
  36392. },
  36393. "unitid": {
  36394. "description": "单位id(目前看,数据库中是空值)",
  36395. "type": "integer"
  36396. },
  36397. "wdlst": {
  36398. "description": "品类(现货商品)列表",
  36399. "type": "array",
  36400. "items": {
  36401. "$ref": "#/definitions/models.XHWrstandard"
  36402. }
  36403. }
  36404. }
  36405. },
  36406. "models.XHMiddleGoods": {
  36407. "type": "object",
  36408. "properties": {
  36409. "convertratio": {
  36410. "description": "拆算系数",
  36411. "type": "number"
  36412. },
  36413. "costratio": {
  36414. "description": "成本权重",
  36415. "type": "number"
  36416. },
  36417. "deliverygoodsid": {
  36418. "description": "现货商品id",
  36419. "type": "integer"
  36420. },
  36421. "enumdicname": {
  36422. "description": "单位名称",
  36423. "type": "string"
  36424. },
  36425. "gplst": {
  36426. "description": "期货品种列表",
  36427. "type": "array",
  36428. "items": {
  36429. "$ref": "#/definitions/models.TBGoodsGroup"
  36430. }
  36431. },
  36432. "middlegoodscode": {
  36433. "description": "套保品种代码",
  36434. "type": "string"
  36435. },
  36436. "middlegoodsid": {
  36437. "description": "套保品种id",
  36438. "type": "integer"
  36439. },
  36440. "middlegoodsname": {
  36441. "description": "套保品种名称",
  36442. "type": "string"
  36443. },
  36444. "unitid": {
  36445. "description": "单位id",
  36446. "type": "integer"
  36447. }
  36448. }
  36449. },
  36450. "models.XHWrstandard": {
  36451. "type": "object",
  36452. "properties": {
  36453. "deliverygoodsid": {
  36454. "description": "品种ID",
  36455. "type": "integer"
  36456. },
  36457. "enumdicname": {
  36458. "description": "单位名称",
  36459. "type": "string"
  36460. },
  36461. "mglst": {
  36462. "description": "套保品列表",
  36463. "type": "array",
  36464. "items": {
  36465. "$ref": "#/definitions/models.XHMiddleGoods"
  36466. }
  36467. },
  36468. "unitid": {
  36469. "description": "单位id",
  36470. "type": "integer"
  36471. },
  36472. "vatrate": {
  36473. "description": "增值税率",
  36474. "type": "number"
  36475. },
  36476. "wrstandardcode": {
  36477. "description": "现货商品代码",
  36478. "type": "string"
  36479. },
  36480. "wrstandardid": {
  36481. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36482. "type": "integer"
  36483. },
  36484. "wrstandardname": {
  36485. "description": "现货商品名称",
  36486. "type": "string"
  36487. }
  36488. }
  36489. },
  36490. "order.QueryHisTradeDetailRsp": {
  36491. "type": "object",
  36492. "required": [
  36493. "accountid",
  36494. "buyorsell",
  36495. "goodsid",
  36496. "histradedate",
  36497. "marketid",
  36498. "memberuserid",
  36499. "orderid",
  36500. "tradeamount",
  36501. "tradedate",
  36502. "tradeid",
  36503. "tradeprice",
  36504. "tradeqty",
  36505. "tradetime"
  36506. ],
  36507. "properties": {
  36508. "accountid": {
  36509. "description": "账户ID[报价币种]",
  36510. "type": "integer"
  36511. },
  36512. "advanceratio": {
  36513. "description": "首付比率",
  36514. "type": "number"
  36515. },
  36516. "buildtype": {
  36517. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36518. "type": "integer"
  36519. },
  36520. "buyorsell": {
  36521. "description": "方向 - 0:买 1:卖",
  36522. "type": "integer"
  36523. },
  36524. "charge": {
  36525. "description": "手续费",
  36526. "type": "number"
  36527. },
  36528. "closecharge": {
  36529. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36530. "type": "number"
  36531. },
  36532. "closeexchagechargevalue": {
  36533. "description": "平仓交易所手续费设置值",
  36534. "type": "number"
  36535. },
  36536. "closefeealgorithm": {
  36537. "description": "平仓手续费收取方式 1:比率 2:固定",
  36538. "type": "integer"
  36539. },
  36540. "closememberchargevalue": {
  36541. "description": "平仓会员手续费设置值",
  36542. "type": "number"
  36543. },
  36544. "closepl": {
  36545. "description": "平仓盈亏",
  36546. "type": "number"
  36547. },
  36548. "closepl2": {
  36549. "description": "平仓盈亏[逐笔]",
  36550. "type": "number"
  36551. },
  36552. "closeqty": {
  36553. "description": "平仓数量(先建后平操作 需要记录)",
  36554. "type": "number"
  36555. },
  36556. "creditamount": {
  36557. "description": "授信金额",
  36558. "type": "number"
  36559. },
  36560. "decimalplace": {
  36561. "description": "商品报价小数位",
  36562. "type": "integer"
  36563. },
  36564. "enumdicname": {
  36565. "description": "单位名称",
  36566. "type": "string"
  36567. },
  36568. "gcaccountid": {
  36569. "description": "账户ID[合约币种]",
  36570. "type": "integer"
  36571. },
  36572. "goodscode": {
  36573. "description": "商品代码",
  36574. "type": "string"
  36575. },
  36576. "goodsid": {
  36577. "description": "商品ID",
  36578. "type": "integer"
  36579. },
  36580. "goodsname": {
  36581. "description": "商品名称",
  36582. "type": "string"
  36583. },
  36584. "goodunitid": {
  36585. "description": "商品单位id",
  36586. "type": "integer"
  36587. },
  36588. "histradedate": {
  36589. "description": "历史交易日",
  36590. "type": "string"
  36591. },
  36592. "intclosepl": {
  36593. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36594. "type": "integer"
  36595. },
  36596. "isconfirmexercise": {
  36597. "description": "是否确认行权- 0:否 1:是",
  36598. "type": "integer"
  36599. },
  36600. "ismain": {
  36601. "description": "是否主单 - 0:不是 1:是",
  36602. "type": "integer"
  36603. },
  36604. "ispreexercise": {
  36605. "description": "是否预申报- 0:否 1:是",
  36606. "type": "integer"
  36607. },
  36608. "isreckoned": {
  36609. "description": "是否结算 - 0:未结算 1:已结算",
  36610. "type": "integer"
  36611. },
  36612. "isvaliddata": {
  36613. "description": "是否有效 - 0:无效 1:有效",
  36614. "type": "integer"
  36615. },
  36616. "listingselecttype": {
  36617. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36618. "type": "integer"
  36619. },
  36620. "marketid": {
  36621. "description": "市场ID",
  36622. "type": "integer"
  36623. },
  36624. "marketname": {
  36625. "description": "市场名称",
  36626. "type": "string"
  36627. },
  36628. "matchaccountid": {
  36629. "description": "对手账号id",
  36630. "type": "integer"
  36631. },
  36632. "memberuserid": {
  36633. "description": "会员id 个人投资者 需要填写",
  36634. "type": "integer"
  36635. },
  36636. "opencharge": {
  36637. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36638. "type": "number"
  36639. },
  36640. "openexchagechargevalue": {
  36641. "description": "建仓交易所手续费设置值",
  36642. "type": "number"
  36643. },
  36644. "openfeealgorithm": {
  36645. "description": "建仓手续费收取方式 1:比率 2:固定",
  36646. "type": "integer"
  36647. },
  36648. "openmemberchargevalue": {
  36649. "description": "建仓会员手续费设置值",
  36650. "type": "number"
  36651. },
  36652. "openqty": {
  36653. "description": "开仓数量(先建后平操作 需要记录)",
  36654. "type": "number"
  36655. },
  36656. "optiontype": {
  36657. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36658. "type": "integer"
  36659. },
  36660. "orderid": {
  36661. "description": "委托单号",
  36662. "type": "string"
  36663. },
  36664. "payamount": {
  36665. "description": "支付金额(付款金额)",
  36666. "type": "number"
  36667. },
  36668. "performanceplanid": {
  36669. "description": "履约计划ID[期权]",
  36670. "type": "integer"
  36671. },
  36672. "performancestatus": {
  36673. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36674. "type": "integer"
  36675. },
  36676. "preexerciseprice": {
  36677. "description": "预申报价格",
  36678. "type": "number"
  36679. },
  36680. "premium": {
  36681. "description": "权利金 - [持仓单的权利金]",
  36682. "type": "number"
  36683. },
  36684. "qtydecimalplace": {
  36685. "description": "商品报价小数位",
  36686. "type": "integer"
  36687. },
  36688. "recvamount": {
  36689. "description": "到账金额 = 成交金额 - 手续费",
  36690. "type": "number"
  36691. },
  36692. "relatedouttradeid": {
  36693. "description": "关联外部成交单ID",
  36694. "type": "integer"
  36695. },
  36696. "status": {
  36697. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36698. "type": "integer"
  36699. },
  36700. "totalamount": {
  36701. "description": "订单总额 = 成交金额 + 手续费",
  36702. "type": "number"
  36703. },
  36704. "tradeamount": {
  36705. "description": "成交金额[账户币种,用于所有权]",
  36706. "type": "number"
  36707. },
  36708. "tradedate": {
  36709. "description": "交易日(yyyyMMdd)",
  36710. "type": "string"
  36711. },
  36712. "tradeid": {
  36713. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36714. "type": "string"
  36715. },
  36716. "trademode": {
  36717. "description": "交易模式",
  36718. "type": "integer"
  36719. },
  36720. "tradeprice": {
  36721. "description": "成交价格",
  36722. "type": "number"
  36723. },
  36724. "tradeproperty": {
  36725. "description": "交易属性",
  36726. "type": "integer"
  36727. },
  36728. "tradeqty": {
  36729. "description": "成交数量",
  36730. "type": "number"
  36731. },
  36732. "tradetime": {
  36733. "description": "成交时间",
  36734. "type": "string"
  36735. },
  36736. "tradetype": {
  36737. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  36738. "type": "integer"
  36739. }
  36740. }
  36741. },
  36742. "order.QueryHisTradeOrderDetailRsp": {
  36743. "type": "object",
  36744. "required": [
  36745. "accountid",
  36746. "buildtype",
  36747. "buyorsell",
  36748. "goodsid",
  36749. "histradedate",
  36750. "marketid",
  36751. "memberuserid",
  36752. "operatetype",
  36753. "orderid",
  36754. "orderqty",
  36755. "ordertime",
  36756. "pricemode",
  36757. "tradedate",
  36758. "validtype"
  36759. ],
  36760. "properties": {
  36761. "accountid": {
  36762. "description": "账户ID[报价币种]",
  36763. "type": "integer"
  36764. },
  36765. "buildtype": {
  36766. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  36767. "type": "integer"
  36768. },
  36769. "buyorsell": {
  36770. "description": "买卖 - 0:买 1:卖",
  36771. "type": "integer"
  36772. },
  36773. "cancelorderid": {
  36774. "description": "撤单单号(撤单时填写)",
  36775. "type": "string"
  36776. },
  36777. "cancelqty": {
  36778. "description": "撤单数量",
  36779. "type": "number"
  36780. },
  36781. "clientordertime": {
  36782. "description": "客户端委托时间",
  36783. "type": "string"
  36784. },
  36785. "clientticket": {
  36786. "description": "客户端流水号",
  36787. "type": "string"
  36788. },
  36789. "clienttype": {
  36790. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  36791. "type": "integer"
  36792. },
  36793. "closeexchagechargevalue": {
  36794. "description": "平仓交易所手续费设置值",
  36795. "type": "number"
  36796. },
  36797. "closefeealgorithm": {
  36798. "description": "平仓手续费收取方式 1:比率 2:固定",
  36799. "type": "integer"
  36800. },
  36801. "closefreezecharge": {
  36802. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  36803. "type": "number"
  36804. },
  36805. "closememberchargevalue": {
  36806. "description": "平仓会员手续费设置值",
  36807. "type": "number"
  36808. },
  36809. "closeqty": {
  36810. "description": "平仓数量(先建后平操作 需要记录)",
  36811. "type": "number"
  36812. },
  36813. "closetradeqty": {
  36814. "description": "平仓成交数量(先建后平操作,需要记录)",
  36815. "type": "number"
  36816. },
  36817. "closeunfreezecharge": {
  36818. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  36819. "type": "number"
  36820. },
  36821. "decimalplace": {
  36822. "description": "商品报价小数位",
  36823. "type": "integer"
  36824. },
  36825. "delistingtype": {
  36826. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  36827. "type": "integer"
  36828. },
  36829. "enumdicname": {
  36830. "description": "单位名称",
  36831. "type": "string"
  36832. },
  36833. "freezecharge": {
  36834. "description": "冻结手续费",
  36835. "type": "number"
  36836. },
  36837. "freezemargin": {
  36838. "description": "冻结保证金(冻结交易金额)",
  36839. "type": "number"
  36840. },
  36841. "gcaccountid": {
  36842. "description": "账户ID[合约币种]",
  36843. "type": "integer"
  36844. },
  36845. "goodscode": {
  36846. "description": "商品代码",
  36847. "type": "string"
  36848. },
  36849. "goodsid": {
  36850. "description": "商品ID",
  36851. "type": "integer"
  36852. },
  36853. "goodsname": {
  36854. "description": "商品名称",
  36855. "type": "string"
  36856. },
  36857. "goodunitid": {
  36858. "description": "商品单位id",
  36859. "type": "integer"
  36860. },
  36861. "histradedate": {
  36862. "description": "历史交易日",
  36863. "type": "string"
  36864. },
  36865. "isconfirmexercise": {
  36866. "description": "是否确认行权- 0:否 1:是",
  36867. "type": "integer"
  36868. },
  36869. "ispreexercise": {
  36870. "description": "是否预申报- 0:否 1:是",
  36871. "type": "integer"
  36872. },
  36873. "isvaliddata": {
  36874. "description": "是否有效 - 0:无效 1:有效",
  36875. "type": "integer"
  36876. },
  36877. "listingselecttype": {
  36878. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36879. "type": "integer"
  36880. },
  36881. "marginalgorithm": {
  36882. "description": "保证金收取方式 1:比率 2:固定",
  36883. "type": "integer"
  36884. },
  36885. "marginvalue": {
  36886. "description": "即市保证金设置值",
  36887. "type": "number"
  36888. },
  36889. "marketid": {
  36890. "description": "市场ID",
  36891. "type": "integer"
  36892. },
  36893. "marketmaxsub": {
  36894. "description": "市价最大偏移范围",
  36895. "type": "number"
  36896. },
  36897. "marketname": {
  36898. "description": "市场名称",
  36899. "type": "string"
  36900. },
  36901. "memberuserid": {
  36902. "description": "所属会员UserID",
  36903. "type": "integer"
  36904. },
  36905. "openexchagechargevalue": {
  36906. "description": "建仓交易所手续费设置值",
  36907. "type": "number"
  36908. },
  36909. "openfeealgorithm": {
  36910. "description": "建仓手续费收取方式 1:比率 2:固定",
  36911. "type": "integer"
  36912. },
  36913. "openfreezecharge": {
  36914. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36915. "type": "number"
  36916. },
  36917. "openmemberchargevalue": {
  36918. "description": "建仓会员手续费设置值",
  36919. "type": "number"
  36920. },
  36921. "openqty": {
  36922. "description": "开仓数量(先建后平操作,需要记录)",
  36923. "type": "number"
  36924. },
  36925. "opentradeqty": {
  36926. "description": "开仓成交数量(先建后平操作,需要记录)",
  36927. "type": "number"
  36928. },
  36929. "openunfreezecharge": {
  36930. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36931. "type": "number"
  36932. },
  36933. "operatetype": {
  36934. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36935. "type": "integer"
  36936. },
  36937. "operatorid": {
  36938. "description": "登录账号(LoginID)",
  36939. "type": "integer"
  36940. },
  36941. "optiontype": {
  36942. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36943. "type": "integer"
  36944. },
  36945. "orderid": {
  36946. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36947. "type": "string"
  36948. },
  36949. "orderprice": {
  36950. "description": "委托价格",
  36951. "type": "number"
  36952. },
  36953. "orderqty": {
  36954. "description": "委托数量",
  36955. "type": "number"
  36956. },
  36957. "ordersrc": {
  36958. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36959. "type": "integer"
  36960. },
  36961. "orderstatus": {
  36962. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36963. "type": "integer"
  36964. },
  36965. "ordertime": {
  36966. "description": "委托时间",
  36967. "type": "string"
  36968. },
  36969. "preexerciseprice": {
  36970. "description": "预申报价格",
  36971. "type": "number"
  36972. },
  36973. "premium": {
  36974. "description": "权利金",
  36975. "type": "number"
  36976. },
  36977. "preorderid": {
  36978. "description": "关联预埋单号(止盈止损单时填写)",
  36979. "type": "string"
  36980. },
  36981. "pricemode": {
  36982. "description": "取价方式 - 1:市价 2: 限价",
  36983. "type": "integer"
  36984. },
  36985. "qtydecimalplace": {
  36986. "description": "成交量小数位",
  36987. "type": "integer"
  36988. },
  36989. "quoteid": {
  36990. "description": "报价单ID",
  36991. "type": "integer"
  36992. },
  36993. "relatedid": {
  36994. "description": "关联单号(交割单)",
  36995. "type": "string"
  36996. },
  36997. "retcode": {
  36998. "description": "错误代码",
  36999. "type": "integer"
  37000. },
  37001. "sessionid": {
  37002. "description": "会话ID",
  37003. "type": "integer"
  37004. },
  37005. "tradedate": {
  37006. "description": "交易日(yyyyMMdd)",
  37007. "type": "string"
  37008. },
  37009. "trademode": {
  37010. "description": "交易模式",
  37011. "type": "integer"
  37012. },
  37013. "tradeproperty": {
  37014. "description": "交易属性",
  37015. "type": "integer"
  37016. },
  37017. "tradeqty": {
  37018. "description": "成交数量",
  37019. "type": "number"
  37020. },
  37021. "unfreezecharge": {
  37022. "description": "解冻手续费",
  37023. "type": "number"
  37024. },
  37025. "unfreezemargin": {
  37026. "description": "解冻保证金",
  37027. "type": "number"
  37028. },
  37029. "updatetime": {
  37030. "description": "更新时间",
  37031. "type": "string"
  37032. },
  37033. "uuid": {
  37034. "description": "发起端唯一id",
  37035. "type": "string"
  37036. },
  37037. "validtime": {
  37038. "description": "有效期限",
  37039. "type": "string"
  37040. },
  37041. "validtype": {
  37042. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37043. "type": "integer"
  37044. },
  37045. "volumetype": {
  37046. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37047. "type": "integer"
  37048. }
  37049. }
  37050. },
  37051. "order.QueryTradeDetailRsp": {
  37052. "type": "object",
  37053. "required": [
  37054. "accountid",
  37055. "buyorsell",
  37056. "goodsid",
  37057. "marketid",
  37058. "memberuserid",
  37059. "orderid",
  37060. "tradeamount",
  37061. "tradedate",
  37062. "tradeid",
  37063. "tradeprice",
  37064. "tradeqty",
  37065. "tradetime"
  37066. ],
  37067. "properties": {
  37068. "accountid": {
  37069. "description": "账户ID[报价币种]",
  37070. "type": "integer"
  37071. },
  37072. "advanceratio": {
  37073. "description": "首付比率",
  37074. "type": "number"
  37075. },
  37076. "buildtype": {
  37077. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37078. "type": "integer"
  37079. },
  37080. "buyorsell": {
  37081. "description": "方向 - 0:买 1:卖",
  37082. "type": "integer"
  37083. },
  37084. "charge": {
  37085. "description": "手续费",
  37086. "type": "number"
  37087. },
  37088. "closecharge": {
  37089. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37090. "type": "number"
  37091. },
  37092. "closeexchagechargevalue": {
  37093. "description": "平仓交易所手续费设置值",
  37094. "type": "number"
  37095. },
  37096. "closefeealgorithm": {
  37097. "description": "平仓手续费收取方式 1:比率 2:固定",
  37098. "type": "integer"
  37099. },
  37100. "closememberchargevalue": {
  37101. "description": "平仓会员手续费设置值",
  37102. "type": "number"
  37103. },
  37104. "closepl": {
  37105. "description": "平仓盈亏",
  37106. "type": "number"
  37107. },
  37108. "closepl2": {
  37109. "description": "平仓盈亏[逐笔]",
  37110. "type": "number"
  37111. },
  37112. "closeqty": {
  37113. "description": "平仓数量(先建后平操作 需要记录)",
  37114. "type": "number"
  37115. },
  37116. "creditamount": {
  37117. "description": "授信金额",
  37118. "type": "number"
  37119. },
  37120. "decimalplace": {
  37121. "description": "商品报价小数位",
  37122. "type": "integer"
  37123. },
  37124. "enumdicname": {
  37125. "description": "单位名称",
  37126. "type": "string"
  37127. },
  37128. "gcaccountid": {
  37129. "description": "账户ID[合约币种]",
  37130. "type": "integer"
  37131. },
  37132. "goodscode": {
  37133. "description": "商品代码",
  37134. "type": "string"
  37135. },
  37136. "goodsid": {
  37137. "description": "商品ID",
  37138. "type": "integer"
  37139. },
  37140. "goodsname": {
  37141. "description": "商品名称",
  37142. "type": "string"
  37143. },
  37144. "goodunitid": {
  37145. "description": "商品单位id",
  37146. "type": "integer"
  37147. },
  37148. "intclosepl": {
  37149. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37150. "type": "integer"
  37151. },
  37152. "isconfirmexercise": {
  37153. "description": "是否确认行权- 0:否 1:是",
  37154. "type": "integer"
  37155. },
  37156. "ismain": {
  37157. "description": "是否主单 - 0:不是 1:是",
  37158. "type": "integer"
  37159. },
  37160. "ispreexercise": {
  37161. "description": "是否预申报- 0:否 1:是",
  37162. "type": "integer"
  37163. },
  37164. "isreckoned": {
  37165. "description": "是否结算 - 0:未结算 1:已结算",
  37166. "type": "integer"
  37167. },
  37168. "listingselecttype": {
  37169. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37170. "type": "integer"
  37171. },
  37172. "marketid": {
  37173. "description": "市场ID",
  37174. "type": "integer"
  37175. },
  37176. "marketname": {
  37177. "description": "市场名称",
  37178. "type": "string"
  37179. },
  37180. "matchaccountid": {
  37181. "description": "对手账号id",
  37182. "type": "integer"
  37183. },
  37184. "memberuserid": {
  37185. "description": "会员id 个人投资者 需要填写",
  37186. "type": "integer"
  37187. },
  37188. "opencharge": {
  37189. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37190. "type": "number"
  37191. },
  37192. "openexchagechargevalue": {
  37193. "description": "建仓交易所手续费设置值",
  37194. "type": "number"
  37195. },
  37196. "openfeealgorithm": {
  37197. "description": "建仓手续费收取方式 1:比率 2:固定",
  37198. "type": "integer"
  37199. },
  37200. "openmemberchargevalue": {
  37201. "description": "建仓会员手续费设置值",
  37202. "type": "number"
  37203. },
  37204. "openqty": {
  37205. "description": "开仓数量(先建后平操作 需要记录)",
  37206. "type": "number"
  37207. },
  37208. "optiontype": {
  37209. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37210. "type": "integer"
  37211. },
  37212. "orderid": {
  37213. "description": "委托单号",
  37214. "type": "string"
  37215. },
  37216. "payamount": {
  37217. "description": "支付金额(付款金额)",
  37218. "type": "number"
  37219. },
  37220. "performanceplanid": {
  37221. "description": "履约计划ID[期权]",
  37222. "type": "integer"
  37223. },
  37224. "performancestatus": {
  37225. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37226. "type": "integer"
  37227. },
  37228. "preexerciseprice": {
  37229. "description": "预申报价格",
  37230. "type": "number"
  37231. },
  37232. "premium": {
  37233. "description": "权利金 - [持仓单的权利金]",
  37234. "type": "number"
  37235. },
  37236. "qtydecimalplace": {
  37237. "description": "商品报价小数位",
  37238. "type": "integer"
  37239. },
  37240. "recvamount": {
  37241. "description": "到账金额 = 成交金额 - 手续费",
  37242. "type": "number"
  37243. },
  37244. "relatedouttradeid": {
  37245. "description": "关联外部成交单ID",
  37246. "type": "integer"
  37247. },
  37248. "status": {
  37249. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37250. "type": "integer"
  37251. },
  37252. "totalamount": {
  37253. "description": "订单总额 = 成交金额 + 手续费",
  37254. "type": "number"
  37255. },
  37256. "tradeamount": {
  37257. "description": "成交金额[账户币种,用于所有权]",
  37258. "type": "number"
  37259. },
  37260. "tradedate": {
  37261. "description": "交易日(yyyyMMdd)",
  37262. "type": "string"
  37263. },
  37264. "tradeid": {
  37265. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37266. "type": "string"
  37267. },
  37268. "trademode": {
  37269. "description": "交易模式",
  37270. "type": "integer"
  37271. },
  37272. "tradeprice": {
  37273. "description": "成交价格",
  37274. "type": "number"
  37275. },
  37276. "tradeproperty": {
  37277. "description": "交易属性",
  37278. "type": "integer"
  37279. },
  37280. "tradeqty": {
  37281. "description": "成交数量",
  37282. "type": "number"
  37283. },
  37284. "tradetime": {
  37285. "description": "成交时间",
  37286. "type": "string"
  37287. },
  37288. "tradetype": {
  37289. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37290. "type": "integer"
  37291. }
  37292. }
  37293. },
  37294. "order.QueryTradeOrderDetailRsp": {
  37295. "type": "object",
  37296. "required": [
  37297. "accountid",
  37298. "buildtype",
  37299. "buyorsell",
  37300. "goodsid",
  37301. "marketid",
  37302. "operatetype",
  37303. "orderqty",
  37304. "ordertime",
  37305. "pricemode",
  37306. "tradedate",
  37307. "validtype"
  37308. ],
  37309. "properties": {
  37310. "accountid": {
  37311. "description": "账户ID[报价币种]",
  37312. "type": "integer"
  37313. },
  37314. "buildtype": {
  37315. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37316. "type": "integer"
  37317. },
  37318. "buyorsell": {
  37319. "description": "买卖 - 0:买 1:卖",
  37320. "type": "integer"
  37321. },
  37322. "cancelorderid": {
  37323. "description": "撤单单号(撤单时填写)",
  37324. "type": "string"
  37325. },
  37326. "cancelqty": {
  37327. "description": "撤单数量",
  37328. "type": "number"
  37329. },
  37330. "clienttype": {
  37331. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37332. "type": "integer"
  37333. },
  37334. "closefreezecharge": {
  37335. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37336. "type": "number"
  37337. },
  37338. "closeqty": {
  37339. "description": "平仓数量(先建后平操作 需要记录)",
  37340. "type": "number"
  37341. },
  37342. "closetradeqty": {
  37343. "description": "平仓成交数量(先建后平操作,需要记录)",
  37344. "type": "number"
  37345. },
  37346. "closeunfreezecharge": {
  37347. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37348. "type": "number"
  37349. },
  37350. "decimalplace": {
  37351. "description": "商品报价小数位",
  37352. "type": "integer"
  37353. },
  37354. "delistingtype": {
  37355. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37356. "type": "integer"
  37357. },
  37358. "enableqty": {
  37359. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  37360. "type": "number"
  37361. },
  37362. "enumdicname": {
  37363. "description": "单位名称",
  37364. "type": "string"
  37365. },
  37366. "freezecharge": {
  37367. "description": "冻结手续费",
  37368. "type": "number"
  37369. },
  37370. "freezemargin": {
  37371. "description": "冻结保证金(冻结交易金额)",
  37372. "type": "number"
  37373. },
  37374. "goodscode": {
  37375. "description": "商品代码",
  37376. "type": "string"
  37377. },
  37378. "goodsid": {
  37379. "description": "商品ID",
  37380. "type": "integer"
  37381. },
  37382. "goodsname": {
  37383. "description": "商品名称",
  37384. "type": "string"
  37385. },
  37386. "goodunitid": {
  37387. "description": "商品单位id",
  37388. "type": "integer"
  37389. },
  37390. "listingselecttype": {
  37391. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37392. "type": "integer"
  37393. },
  37394. "marketid": {
  37395. "description": "市场ID",
  37396. "type": "integer"
  37397. },
  37398. "marketname": {
  37399. "description": "市场名称",
  37400. "type": "string"
  37401. },
  37402. "openfreezecharge": {
  37403. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37404. "type": "number"
  37405. },
  37406. "openqty": {
  37407. "description": "开仓数量(先建后平操作,需要记录)",
  37408. "type": "number"
  37409. },
  37410. "opentradeqty": {
  37411. "description": "开仓成交数量(先建后平操作,需要记录)",
  37412. "type": "number"
  37413. },
  37414. "openunfreezecharge": {
  37415. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37416. "type": "number"
  37417. },
  37418. "operatetype": {
  37419. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37420. "type": "integer"
  37421. },
  37422. "operatorid": {
  37423. "description": "登录账号(LoginID)",
  37424. "type": "integer"
  37425. },
  37426. "orderid": {
  37427. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37428. "type": "string"
  37429. },
  37430. "orderprice": {
  37431. "description": "委托价格",
  37432. "type": "number"
  37433. },
  37434. "orderqty": {
  37435. "description": "委托数量",
  37436. "type": "number"
  37437. },
  37438. "ordersrc": {
  37439. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37440. "type": "integer"
  37441. },
  37442. "orderstatus": {
  37443. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37444. "type": "integer"
  37445. },
  37446. "ordertime": {
  37447. "description": "委托时间",
  37448. "type": "string"
  37449. },
  37450. "preorderid": {
  37451. "description": "关联预埋单号(止盈止损单时填写)",
  37452. "type": "string"
  37453. },
  37454. "pricemode": {
  37455. "description": "取价方式 - 1:市价 2: 限价",
  37456. "type": "integer"
  37457. },
  37458. "qtydecimalplace": {
  37459. "description": "商品报价小数位",
  37460. "type": "integer"
  37461. },
  37462. "relatedid": {
  37463. "description": "关联单号(交割单)",
  37464. "type": "string"
  37465. },
  37466. "tradedate": {
  37467. "description": "交易日(yyyyMMdd)",
  37468. "type": "string"
  37469. },
  37470. "trademode": {
  37471. "description": "交易模式",
  37472. "type": "integer"
  37473. },
  37474. "tradeqty": {
  37475. "description": "成交数量",
  37476. "type": "number"
  37477. },
  37478. "unfreezecharge": {
  37479. "description": "解冻手续费",
  37480. "type": "number"
  37481. },
  37482. "unfreezemargin": {
  37483. "description": "解冻保证金",
  37484. "type": "number"
  37485. },
  37486. "validtime": {
  37487. "description": "有效期限",
  37488. "type": "string"
  37489. },
  37490. "validtype": {
  37491. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37492. "type": "integer"
  37493. },
  37494. "volumetype": {
  37495. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37496. "type": "integer"
  37497. }
  37498. }
  37499. },
  37500. "order.QueryTradePositionRsp": {
  37501. "type": "object",
  37502. "required": [
  37503. "goodsid"
  37504. ],
  37505. "properties": {
  37506. "accountid": {
  37507. "description": "资金账户",
  37508. "type": "integer"
  37509. },
  37510. "agreeunit": {
  37511. "description": "合约单位",
  37512. "type": "number"
  37513. },
  37514. "averageprice": {
  37515. "description": "持仓均价",
  37516. "type": "number"
  37517. },
  37518. "buyorsell": {
  37519. "description": "方向 - 0:买 1:卖",
  37520. "type": "integer"
  37521. },
  37522. "closetotalqty": {
  37523. "description": "平仓总数量",
  37524. "type": "number"
  37525. },
  37526. "curholderamount": {
  37527. "description": "当前持仓总金额[商品币种]",
  37528. "type": "number"
  37529. },
  37530. "curpositionqty": {
  37531. "description": "当前持仓总数量",
  37532. "type": "number"
  37533. },
  37534. "currencyid": {
  37535. "description": "报价货币ID",
  37536. "type": "integer"
  37537. },
  37538. "curtdposition": {
  37539. "description": "期末今日头寸",
  37540. "type": "number"
  37541. },
  37542. "decimalplace": {
  37543. "description": "报价小数位",
  37544. "type": "integer"
  37545. },
  37546. "enableqty": {
  37547. "description": "可用量",
  37548. "type": "number"
  37549. },
  37550. "fretdposition": {
  37551. "description": "冻结今日头寸",
  37552. "type": "number"
  37553. },
  37554. "frozenqty": {
  37555. "description": "持仓冻结数量",
  37556. "type": "number"
  37557. },
  37558. "goodscode": {
  37559. "description": "商品代码",
  37560. "type": "string"
  37561. },
  37562. "goodsid": {
  37563. "description": "商品Id",
  37564. "type": "integer"
  37565. },
  37566. "goodsname": {
  37567. "description": "商品名称",
  37568. "type": "string"
  37569. },
  37570. "goodunit": {
  37571. "description": "报价单位",
  37572. "type": "string"
  37573. },
  37574. "goodunitid": {
  37575. "description": "报价单位ID",
  37576. "type": "integer"
  37577. },
  37578. "holderamount": {
  37579. "description": "期初持仓总金额[商品币种]",
  37580. "type": "number"
  37581. },
  37582. "lastprice": {
  37583. "description": "最新价",
  37584. "type": "number"
  37585. },
  37586. "marketamount": {
  37587. "description": "市值",
  37588. "type": "number"
  37589. },
  37590. "marketid": {
  37591. "description": "所属市场ID",
  37592. "type": "integer"
  37593. },
  37594. "openreqqty": {
  37595. "description": "开仓申请数量(用于比较最大持仓数量)",
  37596. "type": "number"
  37597. },
  37598. "opentotalqty": {
  37599. "description": "开仓总数量",
  37600. "type": "number"
  37601. },
  37602. "otherfrozenqty": {
  37603. "description": "持仓其他冻结数量(交割冻结)",
  37604. "type": "number"
  37605. },
  37606. "positionpl": {
  37607. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  37608. "type": "number"
  37609. },
  37610. "positionplrate": {
  37611. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  37612. "type": "number"
  37613. },
  37614. "positionqty": {
  37615. "description": "期初持仓数量",
  37616. "type": "number"
  37617. },
  37618. "qtydecimalplace": {
  37619. "description": "成交量小数位",
  37620. "type": "integer"
  37621. },
  37622. "refgoodscode": {
  37623. "description": "参考商品代码",
  37624. "type": "string"
  37625. },
  37626. "refgoodsid": {
  37627. "description": "参考商品ID",
  37628. "type": "integer"
  37629. },
  37630. "tnqty": {
  37631. "description": "T+N冻结总量",
  37632. "type": "number"
  37633. },
  37634. "tnusedqty": {
  37635. "description": "T+N使用量(可以使用T+N的冻结数量)",
  37636. "type": "number"
  37637. },
  37638. "trademode": {
  37639. "description": "交易模式",
  37640. "type": "integer"
  37641. },
  37642. "tradeproperty": {
  37643. "description": "交易属性",
  37644. "type": "integer"
  37645. },
  37646. "usedmargin": {
  37647. "description": "占用保证金[商品币种]",
  37648. "type": "number"
  37649. }
  37650. }
  37651. },
  37652. "pb.GoodsMarginCfgStruct": {
  37653. "type": "object",
  37654. "properties": {
  37655. "CustomerTypeID": {
  37656. "description": "投资者客户类型",
  37657. "type": "integer"
  37658. },
  37659. "GoodsID": {
  37660. "description": "商品ID",
  37661. "type": "integer"
  37662. },
  37663. "IsDefault": {
  37664. "description": "是否默认标志位",
  37665. "type": "integer"
  37666. },
  37667. "LockMarginValue": {
  37668. "description": "锁仓保证金",
  37669. "type": "number"
  37670. },
  37671. "MarginAlgorithm": {
  37672. "description": "保证金计算方式",
  37673. "type": "integer"
  37674. },
  37675. "MarketMarginValue": {
  37676. "description": "即市保证金值",
  37677. "type": "number"
  37678. },
  37679. "RealMarginAlgorithm": {
  37680. "description": "实付保证金计算方式",
  37681. "type": "integer"
  37682. },
  37683. "RealMarginValue": {
  37684. "description": "实付比例",
  37685. "type": "number"
  37686. },
  37687. "ReckonMarginValue": {
  37688. "description": "结算保证金值",
  37689. "type": "number"
  37690. }
  37691. }
  37692. },
  37693. "quote.HistoryData": {
  37694. "type": "object",
  37695. "properties": {
  37696. "c": {
  37697. "description": "收盘价",
  37698. "type": "number"
  37699. },
  37700. "f": {
  37701. "description": "是否补充数据",
  37702. "type": "boolean"
  37703. },
  37704. "h": {
  37705. "description": "最高价",
  37706. "type": "number"
  37707. },
  37708. "hv": {
  37709. "description": "持仓量",
  37710. "type": "integer"
  37711. },
  37712. "l": {
  37713. "description": "最低价",
  37714. "type": "number"
  37715. },
  37716. "o": {
  37717. "description": "开盘价",
  37718. "type": "number"
  37719. },
  37720. "s": {
  37721. "description": "结算价,日线周期(包括)以上才有",
  37722. "type": "number"
  37723. },
  37724. "ts": {
  37725. "description": "时间",
  37726. "type": "string"
  37727. },
  37728. "tt": {
  37729. "description": "总金额",
  37730. "type": "number"
  37731. },
  37732. "tv": {
  37733. "description": "总量(成交量)",
  37734. "type": "integer"
  37735. }
  37736. }
  37737. },
  37738. "quote.HistoryTikData": {
  37739. "type": "object",
  37740. "properties": {
  37741. "AV": {
  37742. "description": "卖量",
  37743. "type": "integer"
  37744. },
  37745. "Ask": {
  37746. "description": "卖价",
  37747. "type": "number"
  37748. },
  37749. "BV": {
  37750. "description": "买量",
  37751. "type": "integer"
  37752. },
  37753. "Bid": {
  37754. "description": "买价",
  37755. "type": "number"
  37756. },
  37757. "HI": {
  37758. "description": "单笔持仓",
  37759. "type": "integer"
  37760. },
  37761. "HV": {
  37762. "description": "持仓量",
  37763. "type": "integer"
  37764. },
  37765. "PE": {
  37766. "description": "现价",
  37767. "type": "number"
  37768. },
  37769. "TDR": {
  37770. "description": "交易方向,0:买 1:卖",
  37771. "type": "integer"
  37772. },
  37773. "TK": {
  37774. "description": "交易类型",
  37775. "type": "integer"
  37776. },
  37777. "TS": {
  37778. "description": "行情时间文本",
  37779. "type": "string"
  37780. },
  37781. "TT": {
  37782. "description": "现金额",
  37783. "type": "number"
  37784. },
  37785. "Vol": {
  37786. "description": "现量",
  37787. "type": "integer"
  37788. }
  37789. }
  37790. },
  37791. "quote.QueryQuoteDayRsp": {
  37792. "type": "object",
  37793. "properties": {
  37794. "ask": {
  37795. "description": "卖1",
  37796. "type": "number"
  37797. },
  37798. "ask10": {
  37799. "description": "卖10",
  37800. "type": "number"
  37801. },
  37802. "ask2": {
  37803. "description": "卖2",
  37804. "type": "number"
  37805. },
  37806. "ask3": {
  37807. "description": "卖3",
  37808. "type": "number"
  37809. },
  37810. "ask4": {
  37811. "description": "卖4",
  37812. "type": "number"
  37813. },
  37814. "ask5": {
  37815. "description": "卖5",
  37816. "type": "number"
  37817. },
  37818. "ask6": {
  37819. "description": "卖6",
  37820. "type": "number"
  37821. },
  37822. "ask7": {
  37823. "description": "卖7",
  37824. "type": "number"
  37825. },
  37826. "ask8": {
  37827. "description": "卖8",
  37828. "type": "number"
  37829. },
  37830. "ask9": {
  37831. "description": "卖9",
  37832. "type": "number"
  37833. },
  37834. "askorderid": {
  37835. "description": "卖单号1",
  37836. "type": "integer"
  37837. },
  37838. "askorderid2": {
  37839. "description": "卖单号2",
  37840. "type": "integer"
  37841. },
  37842. "askorderid3": {
  37843. "description": "卖单号3",
  37844. "type": "integer"
  37845. },
  37846. "askorderid4": {
  37847. "description": "卖单号4",
  37848. "type": "integer"
  37849. },
  37850. "askorderid5": {
  37851. "description": "卖单号5",
  37852. "type": "integer"
  37853. },
  37854. "askordervolume": {
  37855. "description": "卖单量1",
  37856. "type": "integer"
  37857. },
  37858. "askordervolume10": {
  37859. "description": "卖单量10",
  37860. "type": "integer"
  37861. },
  37862. "askordervolume2": {
  37863. "description": "卖单量2",
  37864. "type": "integer"
  37865. },
  37866. "askordervolume3": {
  37867. "description": "卖单量3",
  37868. "type": "integer"
  37869. },
  37870. "askordervolume4": {
  37871. "description": "卖单量4",
  37872. "type": "integer"
  37873. },
  37874. "askordervolume5": {
  37875. "description": "卖单量5",
  37876. "type": "integer"
  37877. },
  37878. "askordervolume6": {
  37879. "description": "卖单量6",
  37880. "type": "integer"
  37881. },
  37882. "askordervolume7": {
  37883. "description": "卖单量7",
  37884. "type": "integer"
  37885. },
  37886. "askordervolume8": {
  37887. "description": "卖单量8",
  37888. "type": "integer"
  37889. },
  37890. "askordervolume9": {
  37891. "description": "卖单量9",
  37892. "type": "integer"
  37893. },
  37894. "askqueueinfo": {
  37895. "description": "大利市卖港股用",
  37896. "type": "string"
  37897. },
  37898. "askvolume": {
  37899. "description": "卖量1",
  37900. "type": "integer"
  37901. },
  37902. "askvolume10": {
  37903. "description": "卖量10",
  37904. "type": "integer"
  37905. },
  37906. "askvolume2": {
  37907. "description": "卖量2",
  37908. "type": "integer"
  37909. },
  37910. "askvolume3": {
  37911. "description": "卖量3",
  37912. "type": "integer"
  37913. },
  37914. "askvolume4": {
  37915. "description": "卖量4",
  37916. "type": "integer"
  37917. },
  37918. "askvolume5": {
  37919. "description": "卖量5",
  37920. "type": "integer"
  37921. },
  37922. "askvolume6": {
  37923. "description": "卖量6",
  37924. "type": "integer"
  37925. },
  37926. "askvolume7": {
  37927. "description": "卖量7",
  37928. "type": "integer"
  37929. },
  37930. "askvolume8": {
  37931. "description": "卖量8",
  37932. "type": "integer"
  37933. },
  37934. "askvolume9": {
  37935. "description": "卖量9",
  37936. "type": "integer"
  37937. },
  37938. "averageprice": {
  37939. "description": "均价",
  37940. "type": "number"
  37941. },
  37942. "bid": {
  37943. "description": "买1",
  37944. "type": "number"
  37945. },
  37946. "bid10": {
  37947. "description": "买10",
  37948. "type": "number"
  37949. },
  37950. "bid2": {
  37951. "description": "买2",
  37952. "type": "number"
  37953. },
  37954. "bid3": {
  37955. "description": "买3",
  37956. "type": "number"
  37957. },
  37958. "bid4": {
  37959. "description": "买4",
  37960. "type": "number"
  37961. },
  37962. "bid5": {
  37963. "description": "买5",
  37964. "type": "number"
  37965. },
  37966. "bid6": {
  37967. "description": "买6",
  37968. "type": "number"
  37969. },
  37970. "bid7": {
  37971. "description": "买7",
  37972. "type": "number"
  37973. },
  37974. "bid8": {
  37975. "description": "买8",
  37976. "type": "number"
  37977. },
  37978. "bid9": {
  37979. "description": "买9",
  37980. "type": "number"
  37981. },
  37982. "bidorderid": {
  37983. "description": "买单号1",
  37984. "type": "integer"
  37985. },
  37986. "bidorderid2": {
  37987. "description": "买单号2",
  37988. "type": "integer"
  37989. },
  37990. "bidorderid3": {
  37991. "description": "买单号3",
  37992. "type": "integer"
  37993. },
  37994. "bidorderid4": {
  37995. "description": "买单号4",
  37996. "type": "integer"
  37997. },
  37998. "bidorderid5": {
  37999. "description": "买单号5",
  38000. "type": "integer"
  38001. },
  38002. "bidordervolume": {
  38003. "description": "买单量1",
  38004. "type": "integer"
  38005. },
  38006. "bidordervolume10": {
  38007. "description": "买单量10",
  38008. "type": "integer"
  38009. },
  38010. "bidordervolume2": {
  38011. "description": "买单量2",
  38012. "type": "integer"
  38013. },
  38014. "bidordervolume3": {
  38015. "description": "买单量3",
  38016. "type": "integer"
  38017. },
  38018. "bidordervolume4": {
  38019. "description": "买单量4",
  38020. "type": "integer"
  38021. },
  38022. "bidordervolume5": {
  38023. "description": "买单量5",
  38024. "type": "integer"
  38025. },
  38026. "bidordervolume6": {
  38027. "description": "买单量6",
  38028. "type": "integer"
  38029. },
  38030. "bidordervolume7": {
  38031. "description": "买单量7",
  38032. "type": "integer"
  38033. },
  38034. "bidordervolume8": {
  38035. "description": "买单量8",
  38036. "type": "integer"
  38037. },
  38038. "bidordervolume9": {
  38039. "description": "买单量9",
  38040. "type": "integer"
  38041. },
  38042. "bidqueueinfo": {
  38043. "description": "大利市买港股用",
  38044. "type": "string"
  38045. },
  38046. "bidvolume": {
  38047. "description": "买量1",
  38048. "type": "integer"
  38049. },
  38050. "bidvolume10": {
  38051. "description": "买量10",
  38052. "type": "integer"
  38053. },
  38054. "bidvolume2": {
  38055. "description": "买量2",
  38056. "type": "integer"
  38057. },
  38058. "bidvolume3": {
  38059. "description": "买量3",
  38060. "type": "integer"
  38061. },
  38062. "bidvolume4": {
  38063. "description": "买量4",
  38064. "type": "integer"
  38065. },
  38066. "bidvolume5": {
  38067. "description": "买量5",
  38068. "type": "integer"
  38069. },
  38070. "bidvolume6": {
  38071. "description": "买量6",
  38072. "type": "integer"
  38073. },
  38074. "bidvolume7": {
  38075. "description": "买量7",
  38076. "type": "integer"
  38077. },
  38078. "bidvolume8": {
  38079. "description": "买量8",
  38080. "type": "integer"
  38081. },
  38082. "bidvolume9": {
  38083. "description": "买量9",
  38084. "type": "integer"
  38085. },
  38086. "calloptionpremiums": {
  38087. "description": "认购期权1",
  38088. "type": "integer"
  38089. },
  38090. "calloptionpremiums2": {
  38091. "description": "认购期权2",
  38092. "type": "integer"
  38093. },
  38094. "calloptionpremiums3": {
  38095. "description": "认购期权3",
  38096. "type": "integer"
  38097. },
  38098. "calloptionpremiums4": {
  38099. "description": "认购期权4",
  38100. "type": "integer"
  38101. },
  38102. "calloptionpremiums5": {
  38103. "description": "认购期权5",
  38104. "type": "integer"
  38105. },
  38106. "cleartime": {
  38107. "description": "清盘时间",
  38108. "type": "integer"
  38109. },
  38110. "exchangecode": {
  38111. "description": "交易所代码",
  38112. "type": "integer"
  38113. },
  38114. "exchangedate": {
  38115. "description": "交易日",
  38116. "type": "integer"
  38117. },
  38118. "goodscode": {
  38119. "description": "商品代码",
  38120. "type": "string"
  38121. },
  38122. "grepmarketprice": {
  38123. "description": "暗盘价 港股专用",
  38124. "type": "number"
  38125. },
  38126. "highest": {
  38127. "description": "最高价",
  38128. "type": "number"
  38129. },
  38130. "holdincrement": {
  38131. "description": "单笔持仓",
  38132. "type": "integer"
  38133. },
  38134. "holdvolume": {
  38135. "description": "持仓",
  38136. "type": "integer"
  38137. },
  38138. "iep": {
  38139. "description": "平衡价 港股专用",
  38140. "type": "number"
  38141. },
  38142. "iev": {
  38143. "description": "平衡量 港股专用",
  38144. "type": "number"
  38145. },
  38146. "inventory": {
  38147. "description": "库存",
  38148. "type": "integer"
  38149. },
  38150. "iscleared": {
  38151. "description": "是否清盘标志",
  38152. "type": "integer"
  38153. },
  38154. "issettled": {
  38155. "description": "是否结算标志",
  38156. "type": "integer"
  38157. },
  38158. "last": {
  38159. "description": "最新价",
  38160. "type": "number"
  38161. },
  38162. "lastlot": {
  38163. "description": "最新成交手数",
  38164. "type": "integer"
  38165. },
  38166. "lasttime": {
  38167. "description": "行情时间(只有现价变化行情时间才变化)",
  38168. "type": "string"
  38169. },
  38170. "lastturnover": {
  38171. "description": "最新成交金额",
  38172. "type": "number"
  38173. },
  38174. "lastvolume": {
  38175. "description": "最新成交量",
  38176. "type": "integer"
  38177. },
  38178. "limitdown": {
  38179. "description": "跌停价",
  38180. "type": "number"
  38181. },
  38182. "limitup": {
  38183. "description": "涨停价",
  38184. "type": "number"
  38185. },
  38186. "lowest": {
  38187. "description": "最低价",
  38188. "type": "number"
  38189. },
  38190. "nontotalholdervolume": {
  38191. "description": "非交易持仓量",
  38192. "type": "integer"
  38193. },
  38194. "nontotallot": {
  38195. "description": "非交易总手数",
  38196. "type": "integer"
  38197. },
  38198. "nontotalturnover": {
  38199. "description": "非交易总金额",
  38200. "type": "integer"
  38201. },
  38202. "nontotalvolume": {
  38203. "description": "非交易总量",
  38204. "type": "integer"
  38205. },
  38206. "opened": {
  38207. "description": "开盘价",
  38208. "type": "number"
  38209. },
  38210. "opentime": {
  38211. "description": "开盘时间",
  38212. "type": "string"
  38213. },
  38214. "orderid": {
  38215. "description": "序号",
  38216. "type": "integer"
  38217. },
  38218. "preclose": {
  38219. "description": "昨收",
  38220. "type": "number"
  38221. },
  38222. "preholdvolume": {
  38223. "description": "昨持仓",
  38224. "type": "integer"
  38225. },
  38226. "presettle": {
  38227. "description": "昨结价",
  38228. "type": "number"
  38229. },
  38230. "publictradetype": {
  38231. "description": "公共交易标志类型 港股专用",
  38232. "type": "string"
  38233. },
  38234. "putoptionpremiums": {
  38235. "description": "认沽期权1",
  38236. "type": "integer"
  38237. },
  38238. "putoptionpremiums2": {
  38239. "description": "认沽期权2",
  38240. "type": "integer"
  38241. },
  38242. "putoptionpremiums3": {
  38243. "description": "认沽期权3",
  38244. "type": "integer"
  38245. },
  38246. "putoptionpremiums4": {
  38247. "description": "认沽期权4",
  38248. "type": "integer"
  38249. },
  38250. "putoptionpremiums5": {
  38251. "description": "认沽期权5",
  38252. "type": "integer"
  38253. },
  38254. "settle": {
  38255. "description": "结算价",
  38256. "type": "number"
  38257. },
  38258. "strikeprice": {
  38259. "description": "发行价",
  38260. "type": "number"
  38261. },
  38262. "totalaskvolume": {
  38263. "description": "内盘",
  38264. "type": "integer"
  38265. },
  38266. "totalbidvolume": {
  38267. "description": "外盘",
  38268. "type": "integer"
  38269. },
  38270. "totallot": {
  38271. "description": "总手数",
  38272. "type": "integer"
  38273. },
  38274. "totalturnover": {
  38275. "description": "总金额",
  38276. "type": "number"
  38277. },
  38278. "totalvolume": {
  38279. "description": "总量",
  38280. "type": "integer"
  38281. },
  38282. "utclasttime": {
  38283. "description": "utc的行情时间",
  38284. "type": "string"
  38285. }
  38286. }
  38287. },
  38288. "quote.QueryTSDataRsp": {
  38289. "type": "object",
  38290. "properties": {
  38291. "Count": {
  38292. "description": "交易日应有数据个数",
  38293. "type": "integer"
  38294. },
  38295. "decimalPlace": {
  38296. "description": "小数位",
  38297. "type": "integer"
  38298. },
  38299. "endTime": {
  38300. "description": "结束时间",
  38301. "type": "string"
  38302. },
  38303. "goodsCode": {
  38304. "description": "商品代码",
  38305. "type": "string"
  38306. },
  38307. "historyDatas": {
  38308. "description": "历史数据",
  38309. "type": "array",
  38310. "items": {
  38311. "$ref": "#/definitions/quote.HistoryData"
  38312. }
  38313. },
  38314. "outGoodsCode": {
  38315. "description": "外部商品代码",
  38316. "type": "string"
  38317. },
  38318. "preSettle": {
  38319. "description": "昨结价",
  38320. "type": "number"
  38321. },
  38322. "runSteps": {
  38323. "description": "交易日开休市计划",
  38324. "type": "array",
  38325. "items": {
  38326. "$ref": "#/definitions/quote.TSDataRunStep"
  38327. }
  38328. },
  38329. "startTime": {
  38330. "description": "开始时间",
  38331. "type": "string"
  38332. },
  38333. "tradeDate": {
  38334. "description": "交易日",
  38335. "type": "string"
  38336. }
  38337. }
  38338. },
  38339. "quote.TSDataRunStep": {
  38340. "type": "object",
  38341. "properties": {
  38342. "end": {
  38343. "description": "真实结束时间",
  38344. "type": "string"
  38345. },
  38346. "endflag": {
  38347. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  38348. "type": "integer"
  38349. },
  38350. "endtime": {
  38351. "description": "结束时间(HH:mm)",
  38352. "type": "string"
  38353. },
  38354. "endweekday": {
  38355. "description": "结束周几",
  38356. "type": "integer"
  38357. },
  38358. "groupid": {
  38359. "description": "分组ID",
  38360. "type": "integer"
  38361. },
  38362. "runstep": {
  38363. "description": "运行阶段 - 2:连续交易",
  38364. "type": "integer"
  38365. },
  38366. "sectionid": {
  38367. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  38368. "type": "integer"
  38369. },
  38370. "start": {
  38371. "description": "真实开始时间",
  38372. "type": "string"
  38373. },
  38374. "startflag": {
  38375. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  38376. "type": "integer"
  38377. },
  38378. "starttime": {
  38379. "description": "起始时间(HH:mm)",
  38380. "type": "string"
  38381. },
  38382. "startweekday": {
  38383. "description": "起始周几",
  38384. "type": "integer"
  38385. },
  38386. "tradeweekday": {
  38387. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  38388. "type": "integer"
  38389. }
  38390. }
  38391. },
  38392. "szdz.QueryConvertLogRsp": {
  38393. "type": "object",
  38394. "required": [
  38395. "logid"
  38396. ],
  38397. "properties": {
  38398. "accountid": {
  38399. "description": "资金账户ID",
  38400. "type": "integer"
  38401. },
  38402. "clientticket": {
  38403. "description": "客户端流水号",
  38404. "type": "string"
  38405. },
  38406. "converttype": {
  38407. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  38408. "type": "integer"
  38409. },
  38410. "createtime": {
  38411. "description": "记账时间",
  38412. "type": "string"
  38413. },
  38414. "daymaxvalue": {
  38415. "description": "配置当日最大转入限制",
  38416. "type": "number"
  38417. },
  38418. "daymaxvalue2": {
  38419. "description": "配置当日最大转入限制(转入)",
  38420. "type": "number"
  38421. },
  38422. "goodscode": {
  38423. "description": "商品代码",
  38424. "type": "string"
  38425. },
  38426. "goodsname": {
  38427. "description": "商品名称",
  38428. "type": "string"
  38429. },
  38430. "handlestatus": {
  38431. "description": "处理状态",
  38432. "type": "integer"
  38433. },
  38434. "innergoodsid": {
  38435. "description": "内部商品ID",
  38436. "type": "integer"
  38437. },
  38438. "inratio": {
  38439. "description": "配置转入比值",
  38440. "type": "integer"
  38441. },
  38442. "invalue": {
  38443. "description": "目标值",
  38444. "type": "number"
  38445. },
  38446. "logid": {
  38447. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38448. "type": "integer"
  38449. },
  38450. "mobile": {
  38451. "description": "手机号码(加密存储)",
  38452. "type": "string"
  38453. },
  38454. "outergoodscode": {
  38455. "description": "外部商品代码[JD\\PD]",
  38456. "type": "string"
  38457. },
  38458. "outratio": {
  38459. "description": "配置转出比值",
  38460. "type": "integer"
  38461. },
  38462. "outvalue": {
  38463. "description": "源值",
  38464. "type": "number"
  38465. },
  38466. "pddecimalplace": {
  38467. "description": "PD小数位",
  38468. "type": "integer"
  38469. },
  38470. "qty": {
  38471. "description": "数量",
  38472. "type": "string"
  38473. },
  38474. "remark": {
  38475. "description": "备注",
  38476. "type": "string"
  38477. },
  38478. "sessionid": {
  38479. "description": "会话ID",
  38480. "type": "integer"
  38481. },
  38482. "timemaxvalue": {
  38483. "description": "配置单次最大转入限制",
  38484. "type": "number"
  38485. },
  38486. "timemaxvalue2": {
  38487. "description": "配置单次最大转入限制(转入)",
  38488. "type": "number"
  38489. },
  38490. "timeminvalue": {
  38491. "description": "配置单次最小数量限制",
  38492. "type": "number"
  38493. },
  38494. "timeminvalue2": {
  38495. "description": "配置单次最小数量限制(转入)",
  38496. "type": "number"
  38497. },
  38498. "tradedate": {
  38499. "description": "交易日(yyyyMMdd)",
  38500. "type": "string"
  38501. },
  38502. "userid": {
  38503. "description": "用户ID",
  38504. "type": "integer"
  38505. }
  38506. }
  38507. },
  38508. "szdz.QueryGoodsPickupRsp": {
  38509. "type": "object",
  38510. "required": [
  38511. "takeorderid"
  38512. ],
  38513. "properties": {
  38514. "accountid": {
  38515. "description": "账户ID",
  38516. "type": "integer"
  38517. },
  38518. "address": {
  38519. "description": "提货人详细地址",
  38520. "type": "string"
  38521. },
  38522. "auditer": {
  38523. "description": "审核人",
  38524. "type": "integer"
  38525. },
  38526. "audittime": {
  38527. "description": "审核时间",
  38528. "type": "string"
  38529. },
  38530. "cardnum": {
  38531. "description": "提货人证件号码",
  38532. "type": "string"
  38533. },
  38534. "cardtypeid": {
  38535. "description": "提货人证件类型",
  38536. "type": "integer"
  38537. },
  38538. "checkremark": {
  38539. "description": "审核备注",
  38540. "type": "string"
  38541. },
  38542. "goodscode": {
  38543. "description": "商品代码",
  38544. "type": "string"
  38545. },
  38546. "goodsid": {
  38547. "description": "商品ID",
  38548. "type": "integer"
  38549. },
  38550. "goodsname": {
  38551. "description": "商品名称",
  38552. "type": "string"
  38553. },
  38554. "handlestatus": {
  38555. "description": "处理状态",
  38556. "type": "integer"
  38557. },
  38558. "marketid": {
  38559. "description": "市场ID",
  38560. "type": "integer"
  38561. },
  38562. "phonenum": {
  38563. "description": "提货人联系方式",
  38564. "type": "string"
  38565. },
  38566. "qty": {
  38567. "description": "提货数量",
  38568. "type": "number"
  38569. },
  38570. "recivername": {
  38571. "description": "提货人姓名",
  38572. "type": "string"
  38573. },
  38574. "reqtime": {
  38575. "description": "更新时间",
  38576. "type": "string"
  38577. },
  38578. "takemode": {
  38579. "description": "提货方式 - 2:自提 3:配送",
  38580. "type": "integer"
  38581. },
  38582. "takeorderid": {
  38583. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  38584. "type": "string"
  38585. },
  38586. "takeorderstatus": {
  38587. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  38588. "type": "integer"
  38589. },
  38590. "takeremark": {
  38591. "description": "提货备注",
  38592. "type": "string"
  38593. },
  38594. "tradedate": {
  38595. "description": "交易日(yyyyMMdd)",
  38596. "type": "string"
  38597. },
  38598. "userid": {
  38599. "description": "用户ID",
  38600. "type": "integer"
  38601. }
  38602. }
  38603. },
  38604. "szdz.QueryRecieptOrderRsp": {
  38605. "type": "object",
  38606. "required": [
  38607. "ordertime"
  38608. ],
  38609. "properties": {
  38610. "accountName": {
  38611. "description": "所属账号名称(已脱敏)",
  38612. "type": "string"
  38613. },
  38614. "accountid": {
  38615. "description": "资金账号",
  38616. "type": "integer"
  38617. },
  38618. "buyorsell": {
  38619. "description": "方向 - 0:买 1:卖",
  38620. "type": "integer"
  38621. },
  38622. "enableqty": {
  38623. "description": "可摘数量",
  38624. "type": "integer"
  38625. },
  38626. "goodscode": {
  38627. "description": "商品代码",
  38628. "type": "string"
  38629. },
  38630. "goodsid": {
  38631. "description": "商品ID",
  38632. "type": "integer"
  38633. },
  38634. "goodsname": {
  38635. "description": "商品名称",
  38636. "type": "string"
  38637. },
  38638. "orderid": {
  38639. "description": "委托单号",
  38640. "type": "string"
  38641. },
  38642. "orderprice": {
  38643. "description": "委托价格",
  38644. "type": "number"
  38645. },
  38646. "ordertime": {
  38647. "description": "委托时间",
  38648. "type": "string"
  38649. },
  38650. "tradedate": {
  38651. "description": "交易日(yyyyMMdd)",
  38652. "type": "string"
  38653. }
  38654. }
  38655. },
  38656. "szdz.QuerySZDZTradePositionRsp": {
  38657. "type": "object",
  38658. "properties": {
  38659. "accountid": {
  38660. "description": "账号Id",
  38661. "type": "integer"
  38662. },
  38663. "agreeunit": {
  38664. "description": "合约单位",
  38665. "type": "number"
  38666. },
  38667. "averageprice": {
  38668. "description": "持仓均价",
  38669. "type": "number"
  38670. },
  38671. "buyorsell": {
  38672. "description": "方向 - 0:买 1:卖",
  38673. "type": "integer"
  38674. },
  38675. "closetotalqty": {
  38676. "description": "平仓总数量",
  38677. "type": "integer"
  38678. },
  38679. "curholderamount": {
  38680. "description": "当前持仓总金额",
  38681. "type": "number"
  38682. },
  38683. "curpositionqty": {
  38684. "description": "当前持仓总数量",
  38685. "type": "integer"
  38686. },
  38687. "currencyid": {
  38688. "description": "报价货币ID",
  38689. "type": "integer"
  38690. },
  38691. "curtdposition": {
  38692. "description": "期末今日头寸",
  38693. "type": "integer"
  38694. },
  38695. "decimalplace": {
  38696. "description": "报价小数位",
  38697. "type": "integer"
  38698. },
  38699. "enableqty": {
  38700. "description": "可用量",
  38701. "type": "integer"
  38702. },
  38703. "fretdposition": {
  38704. "description": "冻结今日头寸",
  38705. "type": "integer"
  38706. },
  38707. "frozenqty": {
  38708. "description": "持仓冻结数量",
  38709. "type": "integer"
  38710. },
  38711. "goodscode": {
  38712. "description": "商品代码(内部)",
  38713. "type": "string"
  38714. },
  38715. "goodsid": {
  38716. "description": "商品Id",
  38717. "type": "integer"
  38718. },
  38719. "goodsname": {
  38720. "description": "商品名称",
  38721. "type": "string"
  38722. },
  38723. "goodunit": {
  38724. "description": "报价单位",
  38725. "type": "string"
  38726. },
  38727. "goodunitid": {
  38728. "description": "报价单位ID",
  38729. "type": "integer"
  38730. },
  38731. "holderamount": {
  38732. "description": "期初持仓总金额",
  38733. "type": "number"
  38734. },
  38735. "marketid": {
  38736. "description": "市场ID",
  38737. "type": "integer"
  38738. },
  38739. "openreqqty": {
  38740. "description": "开仓申请数量",
  38741. "type": "integer"
  38742. },
  38743. "opentotalqty": {
  38744. "description": "开仓总数量",
  38745. "type": "integer"
  38746. },
  38747. "otherfrozenqty": {
  38748. "description": "持仓其他冻结数量(交割冻结)",
  38749. "type": "integer"
  38750. },
  38751. "positionqty": {
  38752. "description": "期初持仓数量",
  38753. "type": "integer"
  38754. },
  38755. "szdz3freezqty": {
  38756. "description": "尚志大宗转换冻结总数量",
  38757. "type": "integer"
  38758. },
  38759. "tnqty": {
  38760. "description": "T+N冻结总量",
  38761. "type": "integer"
  38762. },
  38763. "tnusedqty": {
  38764. "description": "T+N使用量",
  38765. "type": "integer"
  38766. },
  38767. "trademode": {
  38768. "description": "交易模式",
  38769. "type": "integer"
  38770. },
  38771. "usedmargin": {
  38772. "description": "占用保证金",
  38773. "type": "number"
  38774. }
  38775. }
  38776. },
  38777. "taaccount.QueryAmountLogRsp": {
  38778. "type": "object",
  38779. "required": [
  38780. "accountid",
  38781. "amount",
  38782. "amountadjusttype",
  38783. "autoid",
  38784. "balance",
  38785. "createtime",
  38786. "currentbalance",
  38787. "operatetype"
  38788. ],
  38789. "properties": {
  38790. "OPERATETYPENAME": {
  38791. "description": "资金操作类型名称",
  38792. "type": "string"
  38793. },
  38794. "accountid": {
  38795. "description": "资金账户ID",
  38796. "type": "integer"
  38797. },
  38798. "agoodscode": {
  38799. "description": "竞拍商品代码",
  38800. "type": "string"
  38801. },
  38802. "agoodsname": {
  38803. "description": "竞拍商品名称",
  38804. "type": "string"
  38805. },
  38806. "amount": {
  38807. "description": "资金金额",
  38808. "type": "number"
  38809. },
  38810. "amountadjusttype": {
  38811. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38812. "type": "integer"
  38813. },
  38814. "autoid": {
  38815. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38816. "type": "integer"
  38817. },
  38818. "balance": {
  38819. "description": "期初余额",
  38820. "type": "number"
  38821. },
  38822. "businesscode": {
  38823. "description": "业务编号",
  38824. "type": "integer"
  38825. },
  38826. "createtime": {
  38827. "description": "发生时间",
  38828. "type": "string"
  38829. },
  38830. "currencyid": {
  38831. "description": "币种ID",
  38832. "type": "integer"
  38833. },
  38834. "currentbalance": {
  38835. "description": "期末余额(变动后金额)",
  38836. "type": "number"
  38837. },
  38838. "dgoodscode": {
  38839. "description": "交割商品代码",
  38840. "type": "string"
  38841. },
  38842. "dgoodsname": {
  38843. "description": "交割商品名称",
  38844. "type": "string"
  38845. },
  38846. "goodscode": {
  38847. "description": "商品代码",
  38848. "type": "string"
  38849. },
  38850. "goodsid": {
  38851. "description": "商品ID",
  38852. "type": "integer"
  38853. },
  38854. "goodsname": {
  38855. "description": "商品名称",
  38856. "type": "string"
  38857. },
  38858. "marketid": {
  38859. "description": "市场ID",
  38860. "type": "integer"
  38861. },
  38862. "marketname": {
  38863. "description": "市场名称",
  38864. "type": "string"
  38865. },
  38866. "moneyticket": {
  38867. "description": "资金流水号:银行端流水号",
  38868. "type": "integer"
  38869. },
  38870. "operatetype": {
  38871. "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:营销收款",
  38872. "type": "integer"
  38873. },
  38874. "relationorderid": {
  38875. "description": "关联单号",
  38876. "type": "string"
  38877. },
  38878. "remark": {
  38879. "description": "备注",
  38880. "type": "string"
  38881. },
  38882. "trademode": {
  38883. "description": "交易模式",
  38884. "type": "integer"
  38885. }
  38886. }
  38887. },
  38888. "taaccount.QueryHisAmountLogRsp": {
  38889. "type": "object",
  38890. "required": [
  38891. "accountid",
  38892. "amount",
  38893. "amountadjusttype",
  38894. "autoid",
  38895. "balance",
  38896. "createtime",
  38897. "currentbalance",
  38898. "histradedate",
  38899. "operatetype"
  38900. ],
  38901. "properties": {
  38902. "OPERATETYPENAME": {
  38903. "description": "资金操作类型名称",
  38904. "type": "string"
  38905. },
  38906. "accountid": {
  38907. "description": "资金账户ID",
  38908. "type": "integer"
  38909. },
  38910. "agoodscode": {
  38911. "description": "竞拍商品代码",
  38912. "type": "string"
  38913. },
  38914. "agoodsname": {
  38915. "description": "竞拍商品名称",
  38916. "type": "string"
  38917. },
  38918. "amount": {
  38919. "description": "资金金额",
  38920. "type": "number"
  38921. },
  38922. "amountadjusttype": {
  38923. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38924. "type": "integer"
  38925. },
  38926. "autoid": {
  38927. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38928. "type": "integer"
  38929. },
  38930. "balance": {
  38931. "description": "期初余额",
  38932. "type": "number"
  38933. },
  38934. "businesscode": {
  38935. "description": "业务编号",
  38936. "type": "integer"
  38937. },
  38938. "createtime": {
  38939. "description": "发生时间",
  38940. "type": "string"
  38941. },
  38942. "currencyid": {
  38943. "description": "币种ID",
  38944. "type": "integer"
  38945. },
  38946. "currentbalance": {
  38947. "description": "期末余额(变动后金额)",
  38948. "type": "number"
  38949. },
  38950. "dgoodscode": {
  38951. "description": "交割商品代码",
  38952. "type": "string"
  38953. },
  38954. "dgoodsname": {
  38955. "description": "交割商品名称",
  38956. "type": "string"
  38957. },
  38958. "goodscode": {
  38959. "description": "商品代码",
  38960. "type": "string"
  38961. },
  38962. "goodsid": {
  38963. "description": "商品ID",
  38964. "type": "integer"
  38965. },
  38966. "goodsname": {
  38967. "description": "商品名称",
  38968. "type": "string"
  38969. },
  38970. "histradedate": {
  38971. "description": "历史交易日",
  38972. "type": "string"
  38973. },
  38974. "isvaliddata": {
  38975. "description": "是否有效 - 0:无效 1:有效",
  38976. "type": "integer"
  38977. },
  38978. "marketid": {
  38979. "description": "市场ID",
  38980. "type": "integer"
  38981. },
  38982. "marketname": {
  38983. "description": "市场名称",
  38984. "type": "string"
  38985. },
  38986. "moneyticket": {
  38987. "description": "资金流水号:银行端流水号",
  38988. "type": "integer"
  38989. },
  38990. "operatetype": {
  38991. "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:营销收款",
  38992. "type": "integer"
  38993. },
  38994. "relationorderid": {
  38995. "description": "关联单号",
  38996. "type": "string"
  38997. },
  38998. "remark": {
  38999. "description": "备注",
  39000. "type": "string"
  39001. },
  39002. "trademode": {
  39003. "description": "交易模式",
  39004. "type": "integer"
  39005. }
  39006. }
  39007. },
  39008. "trade.QueryRecieptOrderRsp": {
  39009. "type": "object",
  39010. "required": [
  39011. "ordertime"
  39012. ],
  39013. "properties": {
  39014. "accountName": {
  39015. "description": "所属账号名称(已脱敏)",
  39016. "type": "string"
  39017. },
  39018. "accountid": {
  39019. "description": "资金账号",
  39020. "type": "integer"
  39021. },
  39022. "buyorsell": {
  39023. "description": "方向 - 0:买 1:卖",
  39024. "type": "integer"
  39025. },
  39026. "enableqty": {
  39027. "description": "可摘数量",
  39028. "type": "integer"
  39029. },
  39030. "goodscode": {
  39031. "description": "商品代码",
  39032. "type": "string"
  39033. },
  39034. "goodsid": {
  39035. "description": "商品ID",
  39036. "type": "integer"
  39037. },
  39038. "goodsname": {
  39039. "description": "商品名称",
  39040. "type": "string"
  39041. },
  39042. "orderid": {
  39043. "description": "委托单号",
  39044. "type": "string"
  39045. },
  39046. "orderprice": {
  39047. "description": "委托价格",
  39048. "type": "number"
  39049. },
  39050. "ordertime": {
  39051. "description": "委托时间",
  39052. "type": "string"
  39053. },
  39054. "tradedate": {
  39055. "description": "交易日(yyyyMMdd)",
  39056. "type": "string"
  39057. }
  39058. }
  39059. },
  39060. "user.LoginQueryRsp": {
  39061. "type": "object",
  39062. "properties": {
  39063. "areaRoles": {
  39064. "description": "所属角色信息",
  39065. "type": "array",
  39066. "items": {
  39067. "$ref": "#/definitions/models.Arearole"
  39068. }
  39069. },
  39070. "externalExchanges": {
  39071. "description": "外部交易所",
  39072. "type": "array",
  39073. "items": {
  39074. "$ref": "#/definitions/models.Externalexchange"
  39075. }
  39076. },
  39077. "goodsgroups": {
  39078. "description": "商品组",
  39079. "type": "array",
  39080. "items": {
  39081. "$ref": "#/definitions/models.Goodsgroup"
  39082. }
  39083. },
  39084. "loginAccount": {
  39085. "description": "登录账号",
  39086. "$ref": "#/definitions/models.Loginaccount"
  39087. },
  39088. "markets": {
  39089. "description": "市场",
  39090. "type": "array",
  39091. "items": {
  39092. "$ref": "#/definitions/models.Market"
  39093. }
  39094. },
  39095. "systemParams": {
  39096. "description": "系统参数",
  39097. "type": "array",
  39098. "items": {
  39099. "$ref": "#/definitions/models.Systemparam"
  39100. }
  39101. },
  39102. "userAccount": {
  39103. "description": "用户账号",
  39104. "$ref": "#/definitions/models.Useraccount"
  39105. },
  39106. "userInfo": {
  39107. "description": "用户信息",
  39108. "$ref": "#/definitions/models.Userinfo"
  39109. },
  39110. "username": {
  39111. "description": "用户姓名",
  39112. "type": "string"
  39113. }
  39114. }
  39115. }
  39116. },
  39117. "securityDefinitions": {
  39118. "ApiKeyAuth": {
  39119. "type": "apiKey",
  39120. "name": "Authorization",
  39121. "in": "header"
  39122. }
  39123. }
  39124. }`
  39125. type swaggerInfo struct {
  39126. Version string
  39127. Host string
  39128. BasePath string
  39129. Schemes []string
  39130. Title string
  39131. Description string
  39132. }
  39133. // SwaggerInfo holds exported Swagger Info so clients can modify it
  39134. var SwaggerInfo = swaggerInfo{
  39135. Version: "1.0",
  39136. Host: "",
  39137. BasePath: "/api",
  39138. Schemes: []string{},
  39139. Title: "MTP2.0 查询服务 API",
  39140. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  39141. }
  39142. type s struct{}
  39143. func (s *s) ReadDoc() string {
  39144. sInfo := SwaggerInfo
  39145. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  39146. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  39147. "marshal": func(v interface{}) string {
  39148. a, _ := json.Marshal(v)
  39149. return string(a)
  39150. },
  39151. }).Parse(doc)
  39152. if err != nil {
  39153. return doc
  39154. }
  39155. var tpl bytes.Buffer
  39156. if err := t.Execute(&tpl, sInfo); err != nil {
  39157. return doc
  39158. }
  39159. return tpl.String()
  39160. }
  39161. func init() {
  39162. swag.Register(swag.Name, &s{})
  39163. }