docs.go 1.6 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetPCWebMenus": {
  481. "get": {
  482. "security": [
  483. {
  484. "ApiKeyAuth": []
  485. }
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "通用服务"
  492. ],
  493. "summary": "获取PCWeb交易端菜单",
  494. "parameters": [
  495. {
  496. "type": "integer",
  497. "description": "登录账号",
  498. "name": "loginID",
  499. "in": "query",
  500. "required": true
  501. },
  502. {
  503. "type": "string",
  504. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  505. "name": "name",
  506. "in": "query"
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "OK",
  512. "schema": {
  513. "type": "array",
  514. "items": {
  515. "$ref": "#/definitions/common.PCWebMenu"
  516. }
  517. }
  518. },
  519. "500": {
  520. "description": "Internal Server Error",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. }
  525. }
  526. }
  527. },
  528. "/Common/GetServerTime": {
  529. "get": {
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "通用服务"
  535. ],
  536. "summary": "获取服务器时间",
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/NoticeReaded": {
  554. "post": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告设置已读请求",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "登录账号",
  571. "name": "loginID",
  572. "in": "query",
  573. "required": true
  574. },
  575. {
  576. "type": "integer",
  577. "description": "通知公告ID",
  578. "name": "noticeID",
  579. "in": "query",
  580. "required": true
  581. }
  582. ],
  583. "responses": {
  584. "200": {
  585. "description": "OK",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. },
  590. "500": {
  591. "description": "Internal Server Error",
  592. "schema": {
  593. "$ref": "#/definitions/app.Response"
  594. }
  595. }
  596. }
  597. }
  598. },
  599. "/Common/QueryErrorInfos": {
  600. "get": {
  601. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "获取数据库错误信息",
  609. "parameters": [
  610. {
  611. "type": "string",
  612. "description": "起始行号前索引",
  613. "name": "rowNumber",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryImageConfigs": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询轮播图配置信息",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "用户id",
  646. "name": "userId",
  647. "in": "query"
  648. },
  649. {
  650. "type": "integer",
  651. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  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": "integer",
  914. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  915. "name": "userid",
  916. "in": "query"
  917. },
  918. {
  919. "type": "string",
  920. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  921. "name": "lastUpdateTime",
  922. "in": "query"
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/models.ErmcpGoods"
  930. }
  931. },
  932. "500": {
  933. "description": "Internal Server Error",
  934. "schema": {
  935. "$ref": "#/definitions/app.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/Ermcp/GetErmcpGoodsSortByPosition": {
  942. "get": {
  943. "security": [
  944. {
  945. "ApiKeyAuth": []
  946. }
  947. ],
  948. "produces": [
  949. "application/json"
  950. ],
  951. "tags": [
  952. "企业风险管理(app)"
  953. ],
  954. "summary": "查询企业风管期货主力、次主力商品信息",
  955. "parameters": [
  956. {
  957. "type": "string",
  958. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  959. "name": "sortIndex",
  960. "in": "query"
  961. }
  962. ],
  963. "responses": {
  964. "200": {
  965. "description": "OK",
  966. "schema": {
  967. "$ref": "#/definitions/models.Goodssortbypreposition"
  968. }
  969. },
  970. "500": {
  971. "description": "Internal Server Error",
  972. "schema": {
  973. "$ref": "#/definitions/app.Response"
  974. }
  975. }
  976. }
  977. }
  978. },
  979. "/Ermcp/GetErmcpOutAccountStatus": {
  980. "get": {
  981. "security": [
  982. {
  983. "ApiKeyAuth": []
  984. }
  985. ],
  986. "produces": [
  987. "application/json"
  988. ],
  989. "tags": [
  990. "企业风险管理(app)"
  991. ],
  992. "summary": "获取目标登录账号当前对冲账号在线状态",
  993. "parameters": [
  994. {
  995. "type": "integer",
  996. "description": "登录账号",
  997. "name": "loginID",
  998. "in": "query",
  999. "required": true
  1000. }
  1001. ],
  1002. "responses": {
  1003. "200": {
  1004. "description": "OK",
  1005. "schema": {
  1006. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1007. }
  1008. },
  1009. "500": {
  1010. "description": "Internal Server Error",
  1011. "schema": {
  1012. "$ref": "#/definitions/app.Response"
  1013. }
  1014. }
  1015. }
  1016. }
  1017. },
  1018. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1019. "get": {
  1020. "security": [
  1021. {
  1022. "ApiKeyAuth": []
  1023. }
  1024. ],
  1025. "produces": [
  1026. "application/json"
  1027. ],
  1028. "tags": [
  1029. "企业风险管理(app)"
  1030. ],
  1031. "summary": "获取企业风管终端权限",
  1032. "parameters": [
  1033. {
  1034. "type": "integer",
  1035. "description": "登录账号",
  1036. "name": "loginID",
  1037. "in": "query",
  1038. "required": true
  1039. }
  1040. ],
  1041. "responses": {
  1042. "200": {
  1043. "description": "OK",
  1044. "schema": {
  1045. "$ref": "#/definitions/models.Funcmenulist"
  1046. }
  1047. },
  1048. "500": {
  1049. "description": "Internal Server Error",
  1050. "schema": {
  1051. "$ref": "#/definitions/app.Response"
  1052. }
  1053. }
  1054. }
  1055. }
  1056. },
  1057. "/Ermcp/QueryAccMgrBizGroupSet": {
  1058. "get": {
  1059. "security": [
  1060. {
  1061. "ApiKeyAuth": []
  1062. }
  1063. ],
  1064. "produces": [
  1065. "application/json"
  1066. ],
  1067. "tags": [
  1068. "企业风险管理(app)"
  1069. ],
  1070. "summary": "查询业务类型分组(账户管理/账户设置)",
  1071. "parameters": [
  1072. {
  1073. "type": "integer",
  1074. "description": "用户ID",
  1075. "name": "userid",
  1076. "in": "query",
  1077. "required": true
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "现货商品id",
  1082. "name": "deliverygoodsid",
  1083. "in": "query"
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "type": "array",
  1091. "items": {
  1092. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1093. }
  1094. }
  1095. },
  1096. "500": {
  1097. "description": "Internal Server Error",
  1098. "schema": {
  1099. "$ref": "#/definitions/app.Response"
  1100. }
  1101. }
  1102. }
  1103. }
  1104. },
  1105. "/Ermcp/QueryAccMgrLoginUser": {
  1106. "get": {
  1107. "security": [
  1108. {
  1109. "ApiKeyAuth": []
  1110. }
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "企业风险管理(app)"
  1117. ],
  1118. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1119. "parameters": [
  1120. {
  1121. "type": "integer",
  1122. "description": "用户ID",
  1123. "name": "userid",
  1124. "in": "query",
  1125. "required": true
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "用户类型 2-机构 7-企业成员",
  1130. "name": "usertype",
  1131. "in": "query"
  1132. },
  1133. {
  1134. "type": "integer",
  1135. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1136. "name": "querytype",
  1137. "in": "query",
  1138. "required": true
  1139. }
  1140. ],
  1141. "responses": {
  1142. "200": {
  1143. "description": "OK",
  1144. "schema": {
  1145. "type": "array",
  1146. "items": {
  1147. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1148. }
  1149. }
  1150. },
  1151. "500": {
  1152. "description": "Internal Server Error",
  1153. "schema": {
  1154. "$ref": "#/definitions/app.Response"
  1155. }
  1156. }
  1157. }
  1158. }
  1159. },
  1160. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1161. "get": {
  1162. "security": [
  1163. {
  1164. "ApiKeyAuth": []
  1165. }
  1166. ],
  1167. "produces": [
  1168. "application/json"
  1169. ],
  1170. "tags": [
  1171. "企业风险管理(app)"
  1172. ],
  1173. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1174. "parameters": [
  1175. {
  1176. "type": "integer",
  1177. "description": "用户ID",
  1178. "name": "userid",
  1179. "in": "query"
  1180. },
  1181. {
  1182. "type": "integer",
  1183. "description": "主账号id",
  1184. "name": "accountid",
  1185. "in": "query"
  1186. }
  1187. ],
  1188. "responses": {
  1189. "200": {
  1190. "description": "OK",
  1191. "schema": {
  1192. "type": "array",
  1193. "items": {
  1194. "$ref": "#/definitions/models.MainAccountInfo"
  1195. }
  1196. }
  1197. },
  1198. "500": {
  1199. "description": "Internal Server Error",
  1200. "schema": {
  1201. "$ref": "#/definitions/app.Response"
  1202. }
  1203. }
  1204. }
  1205. }
  1206. },
  1207. "/Ermcp/QueryAccMgrRole": {
  1208. "get": {
  1209. "security": [
  1210. {
  1211. "ApiKeyAuth": []
  1212. }
  1213. ],
  1214. "produces": [
  1215. "application/json"
  1216. ],
  1217. "tags": [
  1218. "企业风险管理(app)"
  1219. ],
  1220. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1221. "parameters": [
  1222. {
  1223. "type": "integer",
  1224. "description": "用户ID",
  1225. "name": "userid",
  1226. "in": "query",
  1227. "required": true
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRole"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrRoleMenu": {
  1250. "get": {
  1251. "security": [
  1252. {
  1253. "ApiKeyAuth": []
  1254. }
  1255. ],
  1256. "produces": [
  1257. "application/json"
  1258. ],
  1259. "tags": [
  1260. "企业风险管理(app)"
  1261. ],
  1262. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1263. "parameters": [
  1264. {
  1265. "type": "integer",
  1266. "description": "用户ID",
  1267. "name": "userid",
  1268. "in": "query",
  1269. "required": true
  1270. },
  1271. {
  1272. "type": "string",
  1273. "description": "角色id(可多个,逗号隔开)",
  1274. "name": "roleid",
  1275. "in": "query"
  1276. },
  1277. {
  1278. "type": "integer",
  1279. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1280. "name": "menutype",
  1281. "in": "query"
  1282. }
  1283. ],
  1284. "responses": {
  1285. "200": {
  1286. "description": "OK",
  1287. "schema": {
  1288. "type": "array",
  1289. "items": {
  1290. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1291. }
  1292. }
  1293. },
  1294. "500": {
  1295. "description": "Internal Server Error",
  1296. "schema": {
  1297. "$ref": "#/definitions/app.Response"
  1298. }
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1304. "get": {
  1305. "security": [
  1306. {
  1307. "ApiKeyAuth": []
  1308. }
  1309. ],
  1310. "produces": [
  1311. "application/json"
  1312. ],
  1313. "tags": [
  1314. "企业风险管理(app)"
  1315. ],
  1316. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1317. "parameters": [
  1318. {
  1319. "type": "integer",
  1320. "description": "用户ID",
  1321. "name": "userid",
  1322. "in": "query",
  1323. "required": true
  1324. },
  1325. {
  1326. "type": "integer",
  1327. "description": "账号id",
  1328. "name": "accountid",
  1329. "in": "query"
  1330. }
  1331. ],
  1332. "responses": {
  1333. "200": {
  1334. "description": "OK",
  1335. "schema": {
  1336. "type": "array",
  1337. "items": {
  1338. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1339. }
  1340. }
  1341. },
  1342. "500": {
  1343. "description": "Internal Server Error",
  1344. "schema": {
  1345. "$ref": "#/definitions/app.Response"
  1346. }
  1347. }
  1348. }
  1349. }
  1350. },
  1351. "/Ermcp/QueryAccMgrTaaccount": {
  1352. "get": {
  1353. "security": [
  1354. {
  1355. "ApiKeyAuth": []
  1356. }
  1357. ],
  1358. "produces": [
  1359. "application/json"
  1360. ],
  1361. "tags": [
  1362. "企业风险管理(app)"
  1363. ],
  1364. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1365. "parameters": [
  1366. {
  1367. "type": "integer",
  1368. "description": "用户ID",
  1369. "name": "userid",
  1370. "in": "query",
  1371. "required": true
  1372. }
  1373. ],
  1374. "responses": {
  1375. "200": {
  1376. "description": "OK",
  1377. "schema": {
  1378. "type": "array",
  1379. "items": {
  1380. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1381. }
  1382. }
  1383. },
  1384. "500": {
  1385. "description": "Internal Server Error",
  1386. "schema": {
  1387. "$ref": "#/definitions/app.Response"
  1388. }
  1389. }
  1390. }
  1391. }
  1392. },
  1393. "/Ermcp/QueryAvaildGoodsGroup": {
  1394. "get": {
  1395. "security": [
  1396. {
  1397. "ApiKeyAuth": []
  1398. }
  1399. ],
  1400. "produces": [
  1401. "application/json"
  1402. ],
  1403. "tags": [
  1404. "企业风险管理(app)"
  1405. ],
  1406. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1407. "parameters": [
  1408. {
  1409. "type": "integer",
  1410. "description": "所属机构ID",
  1411. "name": "userid",
  1412. "in": "query",
  1413. "required": true
  1414. }
  1415. ],
  1416. "responses": {
  1417. "200": {
  1418. "description": "OK",
  1419. "schema": {
  1420. "type": "array",
  1421. "items": {
  1422. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1423. }
  1424. }
  1425. },
  1426. "500": {
  1427. "description": "Internal Server Error",
  1428. "schema": {
  1429. "$ref": "#/definitions/app.Response"
  1430. }
  1431. }
  1432. }
  1433. }
  1434. },
  1435. "/Ermcp/QueryBusinessDj": {
  1436. "get": {
  1437. "security": [
  1438. {
  1439. "ApiKeyAuth": []
  1440. }
  1441. ],
  1442. "produces": [
  1443. "application/json"
  1444. ],
  1445. "tags": [
  1446. "企业风险管理(app)"
  1447. ],
  1448. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1449. "parameters": [
  1450. {
  1451. "type": "integer",
  1452. "description": "用户ID",
  1453. "name": "UserId",
  1454. "in": "query",
  1455. "required": true
  1456. },
  1457. {
  1458. "type": "integer",
  1459. "description": "用户类型 2-机构 7-企业成员",
  1460. "name": "usertype",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "现货合同ID, 不填则查所有",
  1466. "name": "relatedid",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1472. "name": "applystatus",
  1473. "in": "query"
  1474. }
  1475. ],
  1476. "responses": {
  1477. "200": {
  1478. "description": "OK",
  1479. "schema": {
  1480. "type": "array",
  1481. "items": {
  1482. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1483. }
  1484. }
  1485. },
  1486. "500": {
  1487. "description": "Internal Server Error",
  1488. "schema": {
  1489. "$ref": "#/definitions/app.Response"
  1490. }
  1491. }
  1492. }
  1493. }
  1494. },
  1495. "/Ermcp/QueryBusinessFp": {
  1496. "get": {
  1497. "security": [
  1498. {
  1499. "ApiKeyAuth": []
  1500. }
  1501. ],
  1502. "produces": [
  1503. "application/json"
  1504. ],
  1505. "tags": [
  1506. "企业风险管理(app)"
  1507. ],
  1508. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1509. "parameters": [
  1510. {
  1511. "type": "integer",
  1512. "description": "用户ID",
  1513. "name": "UserId",
  1514. "in": "query",
  1515. "required": true
  1516. },
  1517. {
  1518. "type": "integer",
  1519. "description": "用户类型 2-机构 7-企业成员",
  1520. "name": "usertype",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "现货合同ID, 不填则查所有",
  1526. "name": "relatedid",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1532. "name": "applystatus",
  1533. "in": "query"
  1534. }
  1535. ],
  1536. "responses": {
  1537. "200": {
  1538. "description": "OK",
  1539. "schema": {
  1540. "type": "array",
  1541. "items": {
  1542. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1543. }
  1544. }
  1545. },
  1546. "500": {
  1547. "description": "Internal Server Error",
  1548. "schema": {
  1549. "$ref": "#/definitions/app.Response"
  1550. }
  1551. }
  1552. }
  1553. }
  1554. },
  1555. "/Ermcp/QueryBusinessJs": {
  1556. "get": {
  1557. "security": [
  1558. {
  1559. "ApiKeyAuth": []
  1560. }
  1561. ],
  1562. "produces": [
  1563. "application/json"
  1564. ],
  1565. "tags": [
  1566. "企业风险管理(app)"
  1567. ],
  1568. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1569. "parameters": [
  1570. {
  1571. "type": "integer",
  1572. "description": "用户ID",
  1573. "name": "UserId",
  1574. "in": "query",
  1575. "required": true
  1576. },
  1577. {
  1578. "type": "integer",
  1579. "description": "用户类型 2-机构 7-企业成员",
  1580. "name": "usertype",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "现货合同ID, 不填则查所有",
  1586. "name": "relatedid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "操作申请id",
  1592. "name": "operateapplyid",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1598. "name": "applystatus",
  1599. "in": "query"
  1600. }
  1601. ],
  1602. "responses": {
  1603. "200": {
  1604. "description": "OK",
  1605. "schema": {
  1606. "type": "array",
  1607. "items": {
  1608. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1609. }
  1610. }
  1611. },
  1612. "500": {
  1613. "description": "Internal Server Error",
  1614. "schema": {
  1615. "$ref": "#/definitions/app.Response"
  1616. }
  1617. }
  1618. }
  1619. }
  1620. },
  1621. "/Ermcp/QueryBusinessJsEx": {
  1622. "get": {
  1623. "security": [
  1624. {
  1625. "ApiKeyAuth": []
  1626. }
  1627. ],
  1628. "produces": [
  1629. "application/json"
  1630. ],
  1631. "tags": [
  1632. "企业风险管理(app)"
  1633. ],
  1634. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1635. "parameters": [
  1636. {
  1637. "type": "integer",
  1638. "description": "用户ID",
  1639. "name": "UserId",
  1640. "in": "query",
  1641. "required": true
  1642. },
  1643. {
  1644. "type": "integer",
  1645. "description": "用户类型 2-机构 7-企业成员",
  1646. "name": "usertype",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "现货合同ID, 不填则查所有",
  1652. "name": "relatedid",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1658. "name": "applystatus",
  1659. "in": "query"
  1660. }
  1661. ],
  1662. "responses": {
  1663. "200": {
  1664. "description": "OK",
  1665. "schema": {
  1666. "type": "array",
  1667. "items": {
  1668. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1669. }
  1670. }
  1671. },
  1672. "500": {
  1673. "description": "Internal Server Error",
  1674. "schema": {
  1675. "$ref": "#/definitions/app.Response"
  1676. }
  1677. }
  1678. }
  1679. }
  1680. },
  1681. "/Ermcp/QueryBusinessKx": {
  1682. "get": {
  1683. "security": [
  1684. {
  1685. "ApiKeyAuth": []
  1686. }
  1687. ],
  1688. "produces": [
  1689. "application/json"
  1690. ],
  1691. "tags": [
  1692. "企业风险管理(app)"
  1693. ],
  1694. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1695. "parameters": [
  1696. {
  1697. "type": "integer",
  1698. "description": "用户ID",
  1699. "name": "UserId",
  1700. "in": "query",
  1701. "required": true
  1702. },
  1703. {
  1704. "type": "integer",
  1705. "description": "用户类型 2-机构 7-企业成员",
  1706. "name": "usertype",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "现货合同ID, 不填则查所有",
  1712. "name": "relatedid",
  1713. "in": "query"
  1714. },
  1715. {
  1716. "type": "string",
  1717. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1718. "name": "applystatus",
  1719. "in": "query"
  1720. }
  1721. ],
  1722. "responses": {
  1723. "200": {
  1724. "description": "OK",
  1725. "schema": {
  1726. "type": "array",
  1727. "items": {
  1728. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1729. }
  1730. }
  1731. },
  1732. "500": {
  1733. "description": "Internal Server Error",
  1734. "schema": {
  1735. "$ref": "#/definitions/app.Response"
  1736. }
  1737. }
  1738. }
  1739. }
  1740. },
  1741. "/Ermcp/QueryChangeLog": {
  1742. "get": {
  1743. "security": [
  1744. {
  1745. "ApiKeyAuth": []
  1746. }
  1747. ],
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "企业风险管理(app)"
  1753. ],
  1754. "summary": "查询变更记录",
  1755. "parameters": [
  1756. {
  1757. "type": "string",
  1758. "description": "合同ID",
  1759. "name": "RelatedId",
  1760. "in": "query",
  1761. "required": true
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "type": "array",
  1769. "items": {
  1770. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1771. }
  1772. }
  1773. },
  1774. "500": {
  1775. "description": "Internal Server Error",
  1776. "schema": {
  1777. "$ref": "#/definitions/app.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/Ermcp/QueryErmcpHisOrderDetails": {
  1784. "get": {
  1785. "security": [
  1786. {
  1787. "ApiKeyAuth": []
  1788. }
  1789. ],
  1790. "produces": [
  1791. "application/json"
  1792. ],
  1793. "tags": [
  1794. "企业风险管理(app)"
  1795. ],
  1796. "summary": "获取企业风管期货历史委托单信息",
  1797. "parameters": [
  1798. {
  1799. "type": "integer",
  1800. "description": "资金账户ID",
  1801. "name": "accountID",
  1802. "in": "query",
  1803. "required": true
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "startDate",
  1809. "in": "query"
  1810. },
  1811. {
  1812. "type": "string",
  1813. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1814. "name": "endDate",
  1815. "in": "query"
  1816. }
  1817. ],
  1818. "responses": {
  1819. "200": {
  1820. "description": "OK",
  1821. "schema": {
  1822. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1823. }
  1824. },
  1825. "500": {
  1826. "description": "Internal Server Error",
  1827. "schema": {
  1828. "$ref": "#/definitions/app.Response"
  1829. }
  1830. }
  1831. }
  1832. }
  1833. },
  1834. "/Ermcp/QueryErmcpHisTradeDetails": {
  1835. "get": {
  1836. "security": [
  1837. {
  1838. "ApiKeyAuth": []
  1839. }
  1840. ],
  1841. "produces": [
  1842. "application/json"
  1843. ],
  1844. "tags": [
  1845. "企业风险管理(app)"
  1846. ],
  1847. "summary": "获取企业风管期货历史成交单信息",
  1848. "parameters": [
  1849. {
  1850. "type": "integer",
  1851. "description": "资金账户ID",
  1852. "name": "accountID",
  1853. "in": "query",
  1854. "required": true
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "商品ID",
  1859. "name": "goodsID",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "买卖方向,0:买 1:卖",
  1865. "name": "buyOrSell",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "integer",
  1870. "description": "关联委托单号",
  1871. "name": "orderID",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "startDate",
  1878. "in": "query"
  1879. },
  1880. {
  1881. "type": "string",
  1882. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1883. "name": "endDate",
  1884. "in": "query"
  1885. }
  1886. ],
  1887. "responses": {
  1888. "200": {
  1889. "description": "OK",
  1890. "schema": {
  1891. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1892. }
  1893. },
  1894. "500": {
  1895. "description": "Internal Server Error",
  1896. "schema": {
  1897. "$ref": "#/definitions/app.Response"
  1898. }
  1899. }
  1900. }
  1901. }
  1902. },
  1903. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1904. "get": {
  1905. "security": [
  1906. {
  1907. "ApiKeyAuth": []
  1908. }
  1909. ],
  1910. "produces": [
  1911. "application/json"
  1912. ],
  1913. "tags": [
  1914. "企业风险管理(app)"
  1915. ],
  1916. "summary": "获取企业风管期货内部持仓单信息",
  1917. "parameters": [
  1918. {
  1919. "type": "integer",
  1920. "description": "资金账户ID",
  1921. "name": "accountID",
  1922. "in": "query",
  1923. "required": true
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "商品ID",
  1928. "name": "goodsID",
  1929. "in": "query"
  1930. },
  1931. {
  1932. "type": "integer",
  1933. "description": "买卖方向,0:买 1:卖",
  1934. "name": "buyOrSell",
  1935. "in": "query"
  1936. }
  1937. ],
  1938. "responses": {
  1939. "200": {
  1940. "description": "OK",
  1941. "schema": {
  1942. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1943. }
  1944. },
  1945. "500": {
  1946. "description": "Internal Server Error",
  1947. "schema": {
  1948. "$ref": "#/definitions/app.Response"
  1949. }
  1950. }
  1951. }
  1952. }
  1953. },
  1954. "/Ermcp/QueryErmcpOrderDetails": {
  1955. "get": {
  1956. "security": [
  1957. {
  1958. "ApiKeyAuth": []
  1959. }
  1960. ],
  1961. "produces": [
  1962. "application/json"
  1963. ],
  1964. "tags": [
  1965. "企业风险管理(app)"
  1966. ],
  1967. "summary": "获取企业风管期货委托单信息",
  1968. "parameters": [
  1969. {
  1970. "type": "integer",
  1971. "description": "资金账户ID",
  1972. "name": "accountID",
  1973. "in": "query",
  1974. "required": true
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "OK",
  1980. "schema": {
  1981. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1982. }
  1983. },
  1984. "500": {
  1985. "description": "Internal Server Error",
  1986. "schema": {
  1987. "$ref": "#/definitions/app.Response"
  1988. }
  1989. }
  1990. }
  1991. }
  1992. },
  1993. "/Ermcp/QueryErmcpTradeDetails": {
  1994. "get": {
  1995. "security": [
  1996. {
  1997. "ApiKeyAuth": []
  1998. }
  1999. ],
  2000. "produces": [
  2001. "application/json"
  2002. ],
  2003. "tags": [
  2004. "企业风险管理(app)"
  2005. ],
  2006. "summary": "获取企业风管期货成交单信息",
  2007. "parameters": [
  2008. {
  2009. "type": "integer",
  2010. "description": "资金账户ID",
  2011. "name": "accountID",
  2012. "in": "query",
  2013. "required": true
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "商品ID",
  2018. "name": "goodsID",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "买卖方向,0:买 1:卖",
  2024. "name": "buyOrSell",
  2025. "in": "query"
  2026. },
  2027. {
  2028. "type": "integer",
  2029. "description": "关联委托单号",
  2030. "name": "orderID",
  2031. "in": "query"
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2039. }
  2040. },
  2041. "500": {
  2042. "description": "Internal Server Error",
  2043. "schema": {
  2044. "$ref": "#/definitions/app.Response"
  2045. }
  2046. }
  2047. }
  2048. }
  2049. },
  2050. "/Ermcp/QueryErmcpTradePosition": {
  2051. "get": {
  2052. "security": [
  2053. {
  2054. "ApiKeyAuth": []
  2055. }
  2056. ],
  2057. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2058. "produces": [
  2059. "application/json"
  2060. ],
  2061. "tags": [
  2062. "企业风险管理(app)"
  2063. ],
  2064. "summary": "获取企业风管期货持仓头寸信息",
  2065. "parameters": [
  2066. {
  2067. "type": "integer",
  2068. "description": "资金账户ID",
  2069. "name": "accountID",
  2070. "in": "query",
  2071. "required": true
  2072. },
  2073. {
  2074. "type": "integer",
  2075. "description": "所属市场ID",
  2076. "name": "marketID",
  2077. "in": "query"
  2078. }
  2079. ],
  2080. "responses": {
  2081. "200": {
  2082. "description": "OK",
  2083. "schema": {
  2084. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2085. }
  2086. },
  2087. "500": {
  2088. "description": "Internal Server Error",
  2089. "schema": {
  2090. "$ref": "#/definitions/app.Response"
  2091. }
  2092. }
  2093. }
  2094. }
  2095. },
  2096. "/Ermcp/QueryExposureDetail": {
  2097. "get": {
  2098. "security": [
  2099. {
  2100. "ApiKeyAuth": []
  2101. }
  2102. ],
  2103. "produces": [
  2104. "application/json"
  2105. ],
  2106. "tags": [
  2107. "企业风险管理(app)"
  2108. ],
  2109. "summary": "查询敞口现货明细",
  2110. "parameters": [
  2111. {
  2112. "type": "integer",
  2113. "description": "所属机构ID",
  2114. "name": "areaUserId",
  2115. "in": "query",
  2116. "required": true
  2117. },
  2118. {
  2119. "type": "integer",
  2120. "description": "套保商品",
  2121. "name": "middleGoodsId",
  2122. "in": "query",
  2123. "required": true
  2124. }
  2125. ],
  2126. "responses": {
  2127. "200": {
  2128. "description": "OK",
  2129. "schema": {
  2130. "type": "array",
  2131. "items": {
  2132. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2133. }
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/app.Response"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/Ermcp/QueryExposureGoods": {
  2146. "get": {
  2147. "security": [
  2148. {
  2149. "ApiKeyAuth": []
  2150. }
  2151. ],
  2152. "produces": [
  2153. "application/json"
  2154. ],
  2155. "tags": [
  2156. "企业风险管理(app)"
  2157. ],
  2158. "summary": "查询敞口主力合约",
  2159. "parameters": [
  2160. {
  2161. "type": "integer",
  2162. "description": "套保商品id",
  2163. "name": "middlegoodsid",
  2164. "in": "query",
  2165. "required": true
  2166. }
  2167. ],
  2168. "responses": {
  2169. "200": {
  2170. "description": "OK",
  2171. "schema": {
  2172. "type": "array",
  2173. "items": {
  2174. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2175. }
  2176. }
  2177. },
  2178. "500": {
  2179. "description": "Internal Server Error",
  2180. "schema": {
  2181. "$ref": "#/definitions/app.Response"
  2182. }
  2183. }
  2184. }
  2185. }
  2186. },
  2187. "/Ermcp/QueryExposureHedgePosition": {
  2188. "get": {
  2189. "security": [
  2190. {
  2191. "ApiKeyAuth": []
  2192. }
  2193. ],
  2194. "produces": [
  2195. "application/json"
  2196. ],
  2197. "tags": [
  2198. "企业风险管理(app)"
  2199. ],
  2200. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2201. "parameters": [
  2202. {
  2203. "type": "integer",
  2204. "description": "用户id",
  2205. "name": "userid",
  2206. "in": "query",
  2207. "required": true
  2208. }
  2209. ],
  2210. "responses": {
  2211. "200": {
  2212. "description": "OK",
  2213. "schema": {
  2214. "type": "array",
  2215. "items": {
  2216. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2217. }
  2218. }
  2219. },
  2220. "500": {
  2221. "description": "Internal Server Error",
  2222. "schema": {
  2223. "$ref": "#/definitions/app.Response"
  2224. }
  2225. }
  2226. }
  2227. }
  2228. },
  2229. "/Ermcp/QueryExposureHedgePositionDetail": {
  2230. "get": {
  2231. "security": [
  2232. {
  2233. "ApiKeyAuth": []
  2234. }
  2235. ],
  2236. "produces": [
  2237. "application/json"
  2238. ],
  2239. "tags": [
  2240. "企业风险管理(app)"
  2241. ],
  2242. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2243. "parameters": [
  2244. {
  2245. "type": "integer",
  2246. "description": "所属机构ID",
  2247. "name": "userid",
  2248. "in": "query",
  2249. "required": true
  2250. },
  2251. {
  2252. "type": "integer",
  2253. "description": "商品id",
  2254. "name": "goodsId",
  2255. "in": "query",
  2256. "required": true
  2257. }
  2258. ],
  2259. "responses": {
  2260. "200": {
  2261. "description": "OK",
  2262. "schema": {
  2263. "type": "array",
  2264. "items": {
  2265. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2266. }
  2267. }
  2268. },
  2269. "500": {
  2270. "description": "Internal Server Error",
  2271. "schema": {
  2272. "$ref": "#/definitions/app.Response"
  2273. }
  2274. }
  2275. }
  2276. }
  2277. },
  2278. "/Ermcp/QueryExposureSpot": {
  2279. "get": {
  2280. "security": [
  2281. {
  2282. "ApiKeyAuth": []
  2283. }
  2284. ],
  2285. "produces": [
  2286. "application/json"
  2287. ],
  2288. "tags": [
  2289. "企业风险管理(app)"
  2290. ],
  2291. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2292. "parameters": [
  2293. {
  2294. "type": "integer",
  2295. "description": "所属机构ID",
  2296. "name": "areaUserId",
  2297. "in": "query",
  2298. "required": true
  2299. }
  2300. ],
  2301. "responses": {
  2302. "200": {
  2303. "description": "OK",
  2304. "schema": {
  2305. "type": "array",
  2306. "items": {
  2307. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2308. }
  2309. }
  2310. },
  2311. "500": {
  2312. "description": "Internal Server Error",
  2313. "schema": {
  2314. "$ref": "#/definitions/app.Response"
  2315. }
  2316. }
  2317. }
  2318. }
  2319. },
  2320. "/Ermcp/QueryExposureSpotDetail": {
  2321. "get": {
  2322. "security": [
  2323. {
  2324. "ApiKeyAuth": []
  2325. }
  2326. ],
  2327. "produces": [
  2328. "application/json"
  2329. ],
  2330. "tags": [
  2331. "企业风险管理(app)"
  2332. ],
  2333. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2334. "parameters": [
  2335. {
  2336. "type": "integer",
  2337. "description": "所属机构ID",
  2338. "name": "areaUserId",
  2339. "in": "query",
  2340. "required": true
  2341. },
  2342. {
  2343. "type": "integer",
  2344. "description": "现货品种ID",
  2345. "name": "wrstandardId",
  2346. "in": "query",
  2347. "required": true
  2348. }
  2349. ],
  2350. "responses": {
  2351. "200": {
  2352. "description": "OK",
  2353. "schema": {
  2354. "type": "array",
  2355. "items": {
  2356. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2357. }
  2358. }
  2359. },
  2360. "500": {
  2361. "description": "Internal Server Error",
  2362. "schema": {
  2363. "$ref": "#/definitions/app.Response"
  2364. }
  2365. }
  2366. }
  2367. }
  2368. },
  2369. "/Ermcp/QueryFuturesCompany": {
  2370. "get": {
  2371. "security": [
  2372. {
  2373. "ApiKeyAuth": []
  2374. }
  2375. ],
  2376. "produces": [
  2377. "application/json"
  2378. ],
  2379. "tags": [
  2380. "企业风险管理(app)"
  2381. ],
  2382. "summary": "查询期货公司",
  2383. "responses": {
  2384. "200": {
  2385. "description": "OK",
  2386. "schema": {
  2387. "type": "array",
  2388. "items": {
  2389. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2390. }
  2391. }
  2392. },
  2393. "500": {
  2394. "description": "Internal Server Error",
  2395. "schema": {
  2396. "$ref": "#/definitions/app.Response"
  2397. }
  2398. }
  2399. }
  2400. }
  2401. },
  2402. "/Ermcp/QueryGGConvertConfig": {
  2403. "get": {
  2404. "security": [
  2405. {
  2406. "ApiKeyAuth": []
  2407. }
  2408. ],
  2409. "produces": [
  2410. "application/json"
  2411. ],
  2412. "tags": [
  2413. "企业风险管理(app)"
  2414. ],
  2415. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2416. "parameters": [
  2417. {
  2418. "type": "integer",
  2419. "description": "品种id(不填则查所有)",
  2420. "name": "goodsgroupid",
  2421. "in": "query"
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "type": "array",
  2429. "items": {
  2430. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2431. }
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/Ermcp/QueryGoodsBrand": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "企业风险管理(app)"
  2455. ],
  2456. "summary": "查询商品品牌",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "用户ID",
  2461. "name": "userid",
  2462. "in": "query",
  2463. "required": true
  2464. },
  2465. {
  2466. "type": "integer",
  2467. "description": "现货商品ID",
  2468. "name": "wrstandardid",
  2469. "in": "query"
  2470. }
  2471. ],
  2472. "responses": {
  2473. "200": {
  2474. "description": "OK",
  2475. "schema": {
  2476. "type": "array",
  2477. "items": {
  2478. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2479. }
  2480. }
  2481. },
  2482. "500": {
  2483. "description": "Internal Server Error",
  2484. "schema": {
  2485. "$ref": "#/definitions/app.Response"
  2486. }
  2487. }
  2488. }
  2489. }
  2490. },
  2491. "/Ermcp/QueryGoodsModel": {
  2492. "get": {
  2493. "security": [
  2494. {
  2495. "ApiKeyAuth": []
  2496. }
  2497. ],
  2498. "produces": [
  2499. "application/json"
  2500. ],
  2501. "tags": [
  2502. "企业风险管理(app)"
  2503. ],
  2504. "summary": "查询商品型号",
  2505. "parameters": [
  2506. {
  2507. "type": "integer",
  2508. "description": "用户ID",
  2509. "name": "userid",
  2510. "in": "query",
  2511. "required": true
  2512. }
  2513. ],
  2514. "responses": {
  2515. "200": {
  2516. "description": "OK",
  2517. "schema": {
  2518. "type": "array",
  2519. "items": {
  2520. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2521. }
  2522. }
  2523. },
  2524. "500": {
  2525. "description": "Internal Server Error",
  2526. "schema": {
  2527. "$ref": "#/definitions/app.Response"
  2528. }
  2529. }
  2530. }
  2531. }
  2532. },
  2533. "/Ermcp/QueryHisExposure": {
  2534. "get": {
  2535. "security": [
  2536. {
  2537. "ApiKeyAuth": []
  2538. }
  2539. ],
  2540. "produces": [
  2541. "application/json"
  2542. ],
  2543. "tags": [
  2544. "企业风险管理(app)"
  2545. ],
  2546. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2547. "parameters": [
  2548. {
  2549. "type": "integer",
  2550. "description": "用户id",
  2551. "name": "userid",
  2552. "in": "query",
  2553. "required": true
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "每个品种记录数",
  2558. "name": "lastNum",
  2559. "in": "query",
  2560. "required": true
  2561. }
  2562. ],
  2563. "responses": {
  2564. "200": {
  2565. "description": "OK",
  2566. "schema": {
  2567. "type": "array",
  2568. "items": {
  2569. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2570. }
  2571. }
  2572. },
  2573. "500": {
  2574. "description": "Internal Server Error",
  2575. "schema": {
  2576. "$ref": "#/definitions/app.Response"
  2577. }
  2578. }
  2579. }
  2580. }
  2581. },
  2582. "/Ermcp/QueryMiddleGoods": {
  2583. "get": {
  2584. "security": [
  2585. {
  2586. "ApiKeyAuth": []
  2587. }
  2588. ],
  2589. "produces": [
  2590. "application/json"
  2591. ],
  2592. "tags": [
  2593. "企业风险管理(app)"
  2594. ],
  2595. "summary": "查询套保品种(菜单:套保品种)",
  2596. "parameters": [
  2597. {
  2598. "type": "integer",
  2599. "description": "所属机构ID",
  2600. "name": "userid",
  2601. "in": "query",
  2602. "required": true
  2603. },
  2604. {
  2605. "type": "integer",
  2606. "description": "状态 0-停用 1-正常",
  2607. "name": "status",
  2608. "in": "query",
  2609. "required": true
  2610. }
  2611. ],
  2612. "responses": {
  2613. "200": {
  2614. "description": "OK",
  2615. "schema": {
  2616. "type": "array",
  2617. "items": {
  2618. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2619. }
  2620. }
  2621. },
  2622. "500": {
  2623. "description": "Internal Server Error",
  2624. "schema": {
  2625. "$ref": "#/definitions/app.Response"
  2626. }
  2627. }
  2628. }
  2629. }
  2630. },
  2631. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2632. "get": {
  2633. "security": [
  2634. {
  2635. "ApiKeyAuth": []
  2636. }
  2637. ],
  2638. "produces": [
  2639. "application/json"
  2640. ],
  2641. "tags": [
  2642. "企业风险管理(app)"
  2643. ],
  2644. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2645. "parameters": [
  2646. {
  2647. "type": "integer",
  2648. "description": "所属机构ID",
  2649. "name": "userid",
  2650. "in": "query",
  2651. "required": true
  2652. },
  2653. {
  2654. "type": "integer",
  2655. "description": "套保品种id",
  2656. "name": "middlegoodsid",
  2657. "in": "query",
  2658. "required": true
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "OK",
  2664. "schema": {
  2665. "type": "array",
  2666. "items": {
  2667. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2668. }
  2669. }
  2670. },
  2671. "500": {
  2672. "description": "Internal Server Error",
  2673. "schema": {
  2674. "$ref": "#/definitions/app.Response"
  2675. }
  2676. }
  2677. }
  2678. }
  2679. },
  2680. "/Ermcp/QueryMiddleGoodsDetail": {
  2681. "get": {
  2682. "security": [
  2683. {
  2684. "ApiKeyAuth": []
  2685. }
  2686. ],
  2687. "produces": [
  2688. "application/json"
  2689. ],
  2690. "tags": [
  2691. "企业风险管理(app)"
  2692. ],
  2693. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2694. "parameters": [
  2695. {
  2696. "type": "integer",
  2697. "description": "所属机构ID",
  2698. "name": "userid",
  2699. "in": "query",
  2700. "required": true
  2701. },
  2702. {
  2703. "type": "integer",
  2704. "description": "套保品种id",
  2705. "name": "middlegoodsid",
  2706. "in": "query"
  2707. }
  2708. ],
  2709. "responses": {
  2710. "200": {
  2711. "description": "OK",
  2712. "schema": {
  2713. "type": "array",
  2714. "items": {
  2715. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2716. }
  2717. }
  2718. },
  2719. "500": {
  2720. "description": "Internal Server Error",
  2721. "schema": {
  2722. "$ref": "#/definitions/app.Response"
  2723. }
  2724. }
  2725. }
  2726. }
  2727. },
  2728. "/Ermcp/QueryPendingAuditInfo": {
  2729. "get": {
  2730. "security": [
  2731. {
  2732. "ApiKeyAuth": []
  2733. }
  2734. ],
  2735. "produces": [
  2736. "application/json"
  2737. ],
  2738. "tags": [
  2739. "企业风险管理(app)"
  2740. ],
  2741. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2742. "parameters": [
  2743. {
  2744. "type": "integer",
  2745. "description": "用户ID",
  2746. "name": "UserId",
  2747. "in": "query",
  2748. "required": true
  2749. }
  2750. ],
  2751. "responses": {
  2752. "200": {
  2753. "description": "OK",
  2754. "schema": {
  2755. "type": "array",
  2756. "items": {
  2757. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2758. }
  2759. }
  2760. },
  2761. "500": {
  2762. "description": "Internal Server Error",
  2763. "schema": {
  2764. "$ref": "#/definitions/app.Response"
  2765. }
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "/Ermcp/QueryRealtimeExposure": {
  2771. "get": {
  2772. "security": [
  2773. {
  2774. "ApiKeyAuth": []
  2775. }
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "企业风险管理(app)"
  2782. ],
  2783. "summary": "查询实时敞口",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "所属机构ID",
  2788. "name": "userid",
  2789. "in": "query",
  2790. "required": true
  2791. }
  2792. ],
  2793. "responses": {
  2794. "200": {
  2795. "description": "OK",
  2796. "schema": {
  2797. "type": "array",
  2798. "items": {
  2799. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2800. }
  2801. }
  2802. },
  2803. "500": {
  2804. "description": "Internal Server Error",
  2805. "schema": {
  2806. "$ref": "#/definitions/app.Response"
  2807. }
  2808. }
  2809. }
  2810. }
  2811. },
  2812. "/Ermcp/QueryRealtimeExposurePosition": {
  2813. "get": {
  2814. "security": [
  2815. {
  2816. "ApiKeyAuth": []
  2817. }
  2818. ],
  2819. "produces": [
  2820. "application/json"
  2821. ],
  2822. "tags": [
  2823. "企业风险管理(app)"
  2824. ],
  2825. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2826. "parameters": [
  2827. {
  2828. "type": "integer",
  2829. "description": "用户id",
  2830. "name": "userid",
  2831. "in": "query",
  2832. "required": true
  2833. },
  2834. {
  2835. "type": "integer",
  2836. "description": "套保商品ID",
  2837. "name": "middleGoodsId",
  2838. "in": "query",
  2839. "required": true
  2840. }
  2841. ],
  2842. "responses": {
  2843. "200": {
  2844. "description": "OK",
  2845. "schema": {
  2846. "type": "array",
  2847. "items": {
  2848. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2849. }
  2850. }
  2851. },
  2852. "500": {
  2853. "description": "Internal Server Error",
  2854. "schema": {
  2855. "$ref": "#/definitions/app.Response"
  2856. }
  2857. }
  2858. }
  2859. }
  2860. },
  2861. "/Ermcp/QueryRoleMenu": {
  2862. "get": {
  2863. "security": [
  2864. {
  2865. "ApiKeyAuth": []
  2866. }
  2867. ],
  2868. "produces": [
  2869. "application/json"
  2870. ],
  2871. "tags": [
  2872. "企业风险管理(app)"
  2873. ],
  2874. "summary": "查询角色菜单和权限",
  2875. "parameters": [
  2876. {
  2877. "type": "integer",
  2878. "description": "登录ID",
  2879. "name": "loginid",
  2880. "in": "query",
  2881. "required": true
  2882. },
  2883. {
  2884. "type": "integer",
  2885. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2886. "name": "menutype",
  2887. "in": "query"
  2888. }
  2889. ],
  2890. "responses": {
  2891. "200": {
  2892. "description": "OK",
  2893. "schema": {
  2894. "type": "array",
  2895. "items": {
  2896. "$ref": "#/definitions/models.RoleMenu"
  2897. }
  2898. }
  2899. },
  2900. "500": {
  2901. "description": "Internal Server Error",
  2902. "schema": {
  2903. "$ref": "#/definitions/app.Response"
  2904. }
  2905. }
  2906. }
  2907. }
  2908. },
  2909. "/Ermcp/QueryTradeConfigTMP": {
  2910. "get": {
  2911. "security": [
  2912. {
  2913. "ApiKeyAuth": []
  2914. }
  2915. ],
  2916. "produces": [
  2917. "application/json"
  2918. ],
  2919. "tags": [
  2920. "企业风险管理(app)"
  2921. ],
  2922. "summary": "查询交易模板配置",
  2923. "parameters": [
  2924. {
  2925. "type": "integer",
  2926. "description": "所属机构id",
  2927. "name": "areauserid",
  2928. "in": "query"
  2929. }
  2930. ],
  2931. "responses": {
  2932. "200": {
  2933. "description": "OK",
  2934. "schema": {
  2935. "type": "array",
  2936. "items": {
  2937. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2938. }
  2939. }
  2940. },
  2941. "500": {
  2942. "description": "Internal Server Error",
  2943. "schema": {
  2944. "$ref": "#/definitions/app.Response"
  2945. }
  2946. }
  2947. }
  2948. }
  2949. },
  2950. "/Ermcp/QueryUserInfo": {
  2951. "get": {
  2952. "security": [
  2953. {
  2954. "ApiKeyAuth": []
  2955. }
  2956. ],
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "企业风险管理(app)"
  2962. ],
  2963. "summary": "查询客户资料",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "所属机构用户ID",
  2968. "name": "MemberUserID",
  2969. "in": "query",
  2970. "required": true
  2971. },
  2972. {
  2973. "type": "integer",
  2974. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2975. "name": "queryType",
  2976. "in": "query",
  2977. "required": true
  2978. }
  2979. ],
  2980. "responses": {
  2981. "200": {
  2982. "description": "OK",
  2983. "schema": {
  2984. "type": "array",
  2985. "items": {
  2986. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2987. }
  2988. }
  2989. },
  2990. "500": {
  2991. "description": "Internal Server Error",
  2992. "schema": {
  2993. "$ref": "#/definitions/app.Response"
  2994. }
  2995. }
  2996. }
  2997. }
  2998. },
  2999. "/Ermcp/QueryWarehouseInfo": {
  3000. "get": {
  3001. "security": [
  3002. {
  3003. "ApiKeyAuth": []
  3004. }
  3005. ],
  3006. "produces": [
  3007. "application/json"
  3008. ],
  3009. "tags": [
  3010. "企业风险管理(app)"
  3011. ],
  3012. "summary": "查询仓库信息",
  3013. "parameters": [
  3014. {
  3015. "type": "integer",
  3016. "description": "用户ID",
  3017. "name": "userid",
  3018. "in": "query",
  3019. "required": true
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3024. "name": "status",
  3025. "in": "query"
  3026. }
  3027. ],
  3028. "responses": {
  3029. "200": {
  3030. "description": "OK",
  3031. "schema": {
  3032. "type": "array",
  3033. "items": {
  3034. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3035. }
  3036. }
  3037. },
  3038. "500": {
  3039. "description": "Internal Server Error",
  3040. "schema": {
  3041. "$ref": "#/definitions/app.Response"
  3042. }
  3043. }
  3044. }
  3045. }
  3046. },
  3047. "/Ermcp3/QryAreaExpourseContractDetail": {
  3048. "get": {
  3049. "security": [
  3050. {
  3051. "ApiKeyAuth": []
  3052. }
  3053. ],
  3054. "produces": [
  3055. "application/json"
  3056. ],
  3057. "tags": [
  3058. "企业风险管理v3(app)"
  3059. ],
  3060. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3061. "parameters": [
  3062. {
  3063. "type": "integer",
  3064. "description": "用户ID",
  3065. "name": "userid",
  3066. "in": "query",
  3067. "required": true
  3068. },
  3069. {
  3070. "type": "integer",
  3071. "description": "套保商品id",
  3072. "name": "middlegoodsid",
  3073. "in": "query",
  3074. "required": true
  3075. },
  3076. {
  3077. "type": "integer",
  3078. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3079. "name": "cycletype",
  3080. "in": "query",
  3081. "required": true
  3082. },
  3083. {
  3084. "type": "string",
  3085. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3086. "name": "cycletime",
  3087. "in": "query",
  3088. "required": true
  3089. }
  3090. ],
  3091. "responses": {
  3092. "200": {
  3093. "description": "OK",
  3094. "schema": {
  3095. "type": "array",
  3096. "items": {
  3097. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3098. }
  3099. }
  3100. },
  3101. "500": {
  3102. "description": "Internal Server Error",
  3103. "schema": {
  3104. "$ref": "#/definitions/app.Response"
  3105. }
  3106. }
  3107. }
  3108. }
  3109. },
  3110. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3111. "get": {
  3112. "security": [
  3113. {
  3114. "ApiKeyAuth": []
  3115. }
  3116. ],
  3117. "produces": [
  3118. "application/json"
  3119. ],
  3120. "tags": [
  3121. "企业风险管理v3(app)"
  3122. ],
  3123. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3124. "parameters": [
  3125. {
  3126. "type": "integer",
  3127. "description": "用户ID",
  3128. "name": "userid",
  3129. "in": "query",
  3130. "required": true
  3131. },
  3132. {
  3133. "type": "integer",
  3134. "description": "套保商品id",
  3135. "name": "middlegoodsid",
  3136. "in": "query",
  3137. "required": true
  3138. },
  3139. {
  3140. "type": "integer",
  3141. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3142. "name": "cycletype",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "string",
  3148. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3149. "name": "cycletime",
  3150. "in": "query",
  3151. "required": true
  3152. }
  3153. ],
  3154. "responses": {
  3155. "200": {
  3156. "description": "OK",
  3157. "schema": {
  3158. "type": "array",
  3159. "items": {
  3160. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3161. }
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "produces": [
  3181. "application/json"
  3182. ],
  3183. "tags": [
  3184. "企业风险管理v3(app)"
  3185. ],
  3186. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3187. "parameters": [
  3188. {
  3189. "type": "integer",
  3190. "description": "用户ID",
  3191. "name": "userid",
  3192. "in": "query",
  3193. "required": true
  3194. },
  3195. {
  3196. "type": "integer",
  3197. "description": "套保商品id",
  3198. "name": "middlegoodsid",
  3199. "in": "query",
  3200. "required": true
  3201. },
  3202. {
  3203. "type": "integer",
  3204. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3205. "name": "cycletype",
  3206. "in": "query",
  3207. "required": true
  3208. },
  3209. {
  3210. "type": "string",
  3211. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3212. "name": "cycletime",
  3213. "in": "query",
  3214. "required": true
  3215. }
  3216. ],
  3217. "responses": {
  3218. "200": {
  3219. "description": "OK",
  3220. "schema": {
  3221. "type": "array",
  3222. "items": {
  3223. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3224. }
  3225. }
  3226. },
  3227. "500": {
  3228. "description": "Internal Server Error",
  3229. "schema": {
  3230. "$ref": "#/definitions/app.Response"
  3231. }
  3232. }
  3233. }
  3234. }
  3235. },
  3236. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3237. "get": {
  3238. "security": [
  3239. {
  3240. "ApiKeyAuth": []
  3241. }
  3242. ],
  3243. "produces": [
  3244. "application/json"
  3245. ],
  3246. "tags": [
  3247. "企业风险管理v3(app)"
  3248. ],
  3249. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3250. "parameters": [
  3251. {
  3252. "type": "integer",
  3253. "description": "用户ID",
  3254. "name": "userid",
  3255. "in": "query",
  3256. "required": true
  3257. },
  3258. {
  3259. "type": "integer",
  3260. "description": "套保商品id",
  3261. "name": "middlegoodsid",
  3262. "in": "query",
  3263. "required": true
  3264. },
  3265. {
  3266. "type": "integer",
  3267. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3268. "name": "cycletype",
  3269. "in": "query",
  3270. "required": true
  3271. },
  3272. {
  3273. "type": "string",
  3274. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3275. "name": "cycletime",
  3276. "in": "query",
  3277. "required": true
  3278. }
  3279. ],
  3280. "responses": {
  3281. "200": {
  3282. "description": "OK",
  3283. "schema": {
  3284. "type": "array",
  3285. "items": {
  3286. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3287. }
  3288. }
  3289. },
  3290. "500": {
  3291. "description": "Internal Server Error",
  3292. "schema": {
  3293. "$ref": "#/definitions/app.Response"
  3294. }
  3295. }
  3296. }
  3297. }
  3298. },
  3299. "/Ermcp3/QryAreaExpourseReport": {
  3300. "get": {
  3301. "security": [
  3302. {
  3303. "ApiKeyAuth": []
  3304. }
  3305. ],
  3306. "produces": [
  3307. "application/json"
  3308. ],
  3309. "tags": [
  3310. "企业风险管理v3(app)"
  3311. ],
  3312. "summary": "查询敞口报表",
  3313. "parameters": [
  3314. {
  3315. "type": "integer",
  3316. "description": "用户ID",
  3317. "name": "userid",
  3318. "in": "query",
  3319. "required": true
  3320. },
  3321. {
  3322. "type": "integer",
  3323. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3324. "name": "querytype",
  3325. "in": "query",
  3326. "required": true
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3331. "name": "cycletype",
  3332. "in": "query",
  3333. "required": true
  3334. },
  3335. {
  3336. "type": "string",
  3337. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3338. "name": "cycletime",
  3339. "in": "query",
  3340. "required": true
  3341. }
  3342. ],
  3343. "responses": {
  3344. "200": {
  3345. "description": "OK",
  3346. "schema": {
  3347. "type": "array",
  3348. "items": {
  3349. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3350. }
  3351. }
  3352. },
  3353. "500": {
  3354. "description": "Internal Server Error",
  3355. "schema": {
  3356. "$ref": "#/definitions/app.Response"
  3357. }
  3358. }
  3359. }
  3360. }
  3361. },
  3362. "/Ermcp3/QryAreaSpotplReport": {
  3363. "get": {
  3364. "security": [
  3365. {
  3366. "ApiKeyAuth": []
  3367. }
  3368. ],
  3369. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3370. "produces": [
  3371. "application/json"
  3372. ],
  3373. "tags": [
  3374. "企业风险管理v3(app)"
  3375. ],
  3376. "summary": "查询现货报表",
  3377. "parameters": [
  3378. {
  3379. "type": "integer",
  3380. "description": "用户ID",
  3381. "name": "userid",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "查询类型 1-报表 2-报表明细",
  3388. "name": "querytype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "integer",
  3394. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3395. "name": "cycletype",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "string",
  3401. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3402. "name": "cycletime",
  3403. "in": "query",
  3404. "required": true
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "现货品种id(明细必填)",
  3409. "name": "deliverygoodsid",
  3410. "in": "query"
  3411. },
  3412. {
  3413. "type": "integer",
  3414. "description": "币种id(明细必填)",
  3415. "name": "currencyid",
  3416. "in": "query"
  3417. },
  3418. {
  3419. "type": "integer",
  3420. "description": "日/周/月报表汇总维度 1:品种+品类",
  3421. "name": "sumflag",
  3422. "in": "query"
  3423. }
  3424. ],
  3425. "responses": {
  3426. "200": {
  3427. "description": "OK",
  3428. "schema": {
  3429. "type": "array",
  3430. "items": {
  3431. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3432. }
  3433. }
  3434. },
  3435. "500": {
  3436. "description": "Internal Server Error",
  3437. "schema": {
  3438. "$ref": "#/definitions/app.Response"
  3439. }
  3440. }
  3441. }
  3442. }
  3443. },
  3444. "/Ermcp3/QryAreaStockReport": {
  3445. "get": {
  3446. "security": [
  3447. {
  3448. "ApiKeyAuth": []
  3449. }
  3450. ],
  3451. "produces": [
  3452. "application/json"
  3453. ],
  3454. "tags": [
  3455. "企业风险管理v3(app)"
  3456. ],
  3457. "summary": "查询库存报表",
  3458. "parameters": [
  3459. {
  3460. "type": "integer",
  3461. "description": "用户ID",
  3462. "name": "userid",
  3463. "in": "query",
  3464. "required": true
  3465. },
  3466. {
  3467. "type": "integer",
  3468. "description": "查询类型 1-报表 2-报表明细",
  3469. "name": "querytype",
  3470. "in": "query",
  3471. "required": true
  3472. },
  3473. {
  3474. "type": "integer",
  3475. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3476. "name": "cycletype",
  3477. "in": "query",
  3478. "required": true
  3479. },
  3480. {
  3481. "type": "string",
  3482. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3483. "name": "cycletime",
  3484. "in": "query",
  3485. "required": true
  3486. },
  3487. {
  3488. "type": "string",
  3489. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3490. "name": "sumfields",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "品种ID",
  3496. "name": "deliverygoodsid",
  3497. "in": "query"
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "品类ID",
  3502. "name": "wrstandardid",
  3503. "in": "query"
  3504. },
  3505. {
  3506. "type": "integer",
  3507. "description": "品牌ID",
  3508. "name": "spotgoodsbrandid",
  3509. "in": "query"
  3510. },
  3511. {
  3512. "type": "integer",
  3513. "description": "仓库ID",
  3514. "name": "warehouseinfoid",
  3515. "in": "query"
  3516. }
  3517. ],
  3518. "responses": {
  3519. "200": {
  3520. "description": "OK",
  3521. "schema": {
  3522. "type": "array",
  3523. "items": {
  3524. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3525. }
  3526. }
  3527. },
  3528. "500": {
  3529. "description": "Internal Server Error",
  3530. "schema": {
  3531. "$ref": "#/definitions/app.Response"
  3532. }
  3533. }
  3534. }
  3535. }
  3536. },
  3537. "/Ermcp3/QryAreaSumPL": {
  3538. "get": {
  3539. "security": [
  3540. {
  3541. "ApiKeyAuth": []
  3542. }
  3543. ],
  3544. "produces": [
  3545. "application/json"
  3546. ],
  3547. "tags": [
  3548. "企业风险管理v3(app)"
  3549. ],
  3550. "summary": "查询汇总损益表",
  3551. "parameters": [
  3552. {
  3553. "type": "integer",
  3554. "description": "用户ID",
  3555. "name": "userid",
  3556. "in": "query",
  3557. "required": true
  3558. },
  3559. {
  3560. "type": "integer",
  3561. "description": "查询类型 1-报表 2-报表明细",
  3562. "name": "querytype",
  3563. "in": "query",
  3564. "required": true
  3565. },
  3566. {
  3567. "type": "integer",
  3568. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3569. "name": "cycletype",
  3570. "in": "query",
  3571. "required": true
  3572. },
  3573. {
  3574. "type": "string",
  3575. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3576. "name": "cycletime",
  3577. "in": "query",
  3578. "required": true
  3579. },
  3580. {
  3581. "type": "integer",
  3582. "description": "币种id(明细必填)",
  3583. "name": "currencyid",
  3584. "in": "query"
  3585. }
  3586. ],
  3587. "responses": {
  3588. "200": {
  3589. "description": "OK",
  3590. "schema": {
  3591. "type": "array",
  3592. "items": {
  3593. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3594. }
  3595. }
  3596. },
  3597. "500": {
  3598. "description": "Internal Server Error",
  3599. "schema": {
  3600. "$ref": "#/definitions/app.Response"
  3601. }
  3602. }
  3603. }
  3604. }
  3605. },
  3606. "/Ermcp3/QryFinanceReport": {
  3607. "get": {
  3608. "security": [
  3609. {
  3610. "ApiKeyAuth": []
  3611. }
  3612. ],
  3613. "produces": [
  3614. "application/json"
  3615. ],
  3616. "tags": [
  3617. "企业风险管理v3(app)"
  3618. ],
  3619. "summary": "查询财务报表",
  3620. "parameters": [
  3621. {
  3622. "type": "integer",
  3623. "description": "用户ID",
  3624. "name": "userid",
  3625. "in": "query",
  3626. "required": true
  3627. },
  3628. {
  3629. "type": "integer",
  3630. "description": "查询类型 1-报表 2-报表明细",
  3631. "name": "querytype",
  3632. "in": "query",
  3633. "required": true
  3634. },
  3635. {
  3636. "type": "integer",
  3637. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3638. "name": "cycletype",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3645. "name": "cycletime",
  3646. "in": "query",
  3647. "required": true
  3648. },
  3649. {
  3650. "type": "integer",
  3651. "description": "币种id(报表明细必填)",
  3652. "name": "currencyid",
  3653. "in": "query"
  3654. },
  3655. {
  3656. "type": "string",
  3657. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3658. "name": "sumfields",
  3659. "in": "query"
  3660. }
  3661. ],
  3662. "responses": {
  3663. "200": {
  3664. "description": "OK",
  3665. "schema": {
  3666. "type": "array",
  3667. "items": {
  3668. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3669. }
  3670. }
  3671. },
  3672. "500": {
  3673. "description": "Internal Server Error",
  3674. "schema": {
  3675. "$ref": "#/definitions/app.Response"
  3676. }
  3677. }
  3678. }
  3679. }
  3680. },
  3681. "/Ermcp3/QrySCMiddleGoodsReport": {
  3682. "get": {
  3683. "security": [
  3684. {
  3685. "ApiKeyAuth": []
  3686. }
  3687. ],
  3688. "produces": [
  3689. "application/json"
  3690. ],
  3691. "tags": [
  3692. "企业风险管理v3(app)"
  3693. ],
  3694. "summary": "查询定价报表",
  3695. "parameters": [
  3696. {
  3697. "type": "integer",
  3698. "description": "用户ID",
  3699. "name": "userid",
  3700. "in": "query",
  3701. "required": true
  3702. },
  3703. {
  3704. "type": "integer",
  3705. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3706. "name": "cycletype",
  3707. "in": "query",
  3708. "required": true
  3709. },
  3710. {
  3711. "type": "string",
  3712. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3713. "name": "cycletime",
  3714. "in": "query",
  3715. "required": true
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "合同id",
  3720. "name": "spotcontractid",
  3721. "in": "query"
  3722. },
  3723. {
  3724. "type": "integer",
  3725. "description": "套保品种id",
  3726. "name": "middlegoodsid",
  3727. "in": "query"
  3728. },
  3729. {
  3730. "type": "integer",
  3731. "description": "现货品种id",
  3732. "name": "deliverygoodsid",
  3733. "in": "query"
  3734. },
  3735. {
  3736. "type": "integer",
  3737. "description": "现货商品id",
  3738. "name": "wrstandardid",
  3739. "in": "query"
  3740. },
  3741. {
  3742. "type": "string",
  3743. "description": "合同编号(模糊匹配)",
  3744. "name": "contractno",
  3745. "in": "query"
  3746. }
  3747. ],
  3748. "responses": {
  3749. "200": {
  3750. "description": "OK",
  3751. "schema": {
  3752. "type": "array",
  3753. "items": {
  3754. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3755. }
  3756. }
  3757. },
  3758. "500": {
  3759. "description": "Internal Server Error",
  3760. "schema": {
  3761. "$ref": "#/definitions/app.Response"
  3762. }
  3763. }
  3764. }
  3765. }
  3766. },
  3767. "/Ermcp3/QryTaFutureDataReport": {
  3768. "get": {
  3769. "security": [
  3770. {
  3771. "ApiKeyAuth": []
  3772. }
  3773. ],
  3774. "produces": [
  3775. "application/json"
  3776. ],
  3777. "tags": [
  3778. "企业风险管理v3(app)"
  3779. ],
  3780. "summary": "查询期货报表",
  3781. "parameters": [
  3782. {
  3783. "type": "integer",
  3784. "description": "用户ID",
  3785. "name": "userid",
  3786. "in": "query",
  3787. "required": true
  3788. },
  3789. {
  3790. "type": "integer",
  3791. "description": "查询类型 1-报表 2-报表明细",
  3792. "name": "querytype",
  3793. "in": "query",
  3794. "required": true
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3799. "name": "cycletype",
  3800. "in": "query",
  3801. "required": true
  3802. },
  3803. {
  3804. "type": "string",
  3805. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3806. "name": "cycletime",
  3807. "in": "query",
  3808. "required": true
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "币种id(查明细必填)",
  3813. "name": "currencyid",
  3814. "in": "query"
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "品种id(查明细必填)",
  3819. "name": "goodsgroupid",
  3820. "in": "query"
  3821. },
  3822. {
  3823. "type": "integer",
  3824. "description": "商品id(查明细必填)",
  3825. "name": "goodsid",
  3826. "in": "query"
  3827. },
  3828. {
  3829. "type": "integer",
  3830. "description": "买卖方向(查明细必填)",
  3831. "name": "buyorsell",
  3832. "in": "query"
  3833. }
  3834. ],
  3835. "responses": {
  3836. "200": {
  3837. "description": "OK",
  3838. "schema": {
  3839. "type": "array",
  3840. "items": {
  3841. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3842. }
  3843. }
  3844. },
  3845. "500": {
  3846. "description": "Internal Server Error",
  3847. "schema": {
  3848. "$ref": "#/definitions/app.Response"
  3849. }
  3850. }
  3851. }
  3852. }
  3853. },
  3854. "/Ermcp3/QueryAreaStock": {
  3855. "get": {
  3856. "security": [
  3857. {
  3858. "ApiKeyAuth": []
  3859. }
  3860. ],
  3861. "produces": [
  3862. "application/json"
  3863. ],
  3864. "tags": [
  3865. "企业风险管理v3(app)"
  3866. ],
  3867. "summary": "查询机构库存(库存管理/当前库存)",
  3868. "parameters": [
  3869. {
  3870. "type": "integer",
  3871. "description": "用户ID",
  3872. "name": "userid",
  3873. "in": "query",
  3874. "required": true
  3875. }
  3876. ],
  3877. "responses": {
  3878. "200": {
  3879. "description": "OK",
  3880. "schema": {
  3881. "type": "array",
  3882. "items": {
  3883. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3884. }
  3885. }
  3886. },
  3887. "500": {
  3888. "description": "Internal Server Error",
  3889. "schema": {
  3890. "$ref": "#/definitions/app.Response"
  3891. }
  3892. }
  3893. }
  3894. }
  3895. },
  3896. "/Ermcp3/QueryAreaStockApply": {
  3897. "get": {
  3898. "security": [
  3899. {
  3900. "ApiKeyAuth": []
  3901. }
  3902. ],
  3903. "produces": [
  3904. "application/json"
  3905. ],
  3906. "tags": [
  3907. "企业风险管理v3(app)"
  3908. ],
  3909. "summary": "查询库存申请(出入库记录|库存审核)",
  3910. "parameters": [
  3911. {
  3912. "type": "integer",
  3913. "description": "用户ID",
  3914. "name": "userid",
  3915. "in": "query",
  3916. "required": true
  3917. },
  3918. {
  3919. "type": "integer",
  3920. "description": "用户类型 2-机构 7-企业成员",
  3921. "name": "usertype",
  3922. "in": "query"
  3923. },
  3924. {
  3925. "type": "integer",
  3926. "description": "现货商品ID",
  3927. "name": "deliverygoodsid",
  3928. "in": "query"
  3929. },
  3930. {
  3931. "type": "string",
  3932. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3933. "name": "inouttype",
  3934. "in": "query"
  3935. },
  3936. {
  3937. "type": "integer",
  3938. "description": "合同ID",
  3939. "name": "spotcontractid",
  3940. "in": "query"
  3941. },
  3942. {
  3943. "type": "integer",
  3944. "description": "品类ID",
  3945. "name": "wrstandardid",
  3946. "in": "query"
  3947. },
  3948. {
  3949. "type": "integer",
  3950. "description": "品牌ID",
  3951. "name": "spotgoodsbrandid",
  3952. "in": "query"
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "仓库ID",
  3957. "name": "warehouseinfoid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3963. "name": "applystatus",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QueryAreaStockApplySum": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "合同ID",
  4004. "name": "spotcontractid",
  4005. "in": "query",
  4006. "required": true
  4007. }
  4008. ],
  4009. "responses": {
  4010. "200": {
  4011. "description": "OK",
  4012. "schema": {
  4013. "type": "array",
  4014. "items": {
  4015. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4016. }
  4017. }
  4018. },
  4019. "500": {
  4020. "description": "Internal Server Error",
  4021. "schema": {
  4022. "$ref": "#/definitions/app.Response"
  4023. }
  4024. }
  4025. }
  4026. }
  4027. },
  4028. "/Ermcp3/QueryDGFactoryItem": {
  4029. "get": {
  4030. "security": [
  4031. {
  4032. "ApiKeyAuth": []
  4033. }
  4034. ],
  4035. "produces": [
  4036. "application/json"
  4037. ],
  4038. "tags": [
  4039. "企业风险管理v3(app)"
  4040. ],
  4041. "summary": "查询品种要素定义项",
  4042. "parameters": [
  4043. {
  4044. "type": "integer",
  4045. "description": "用户id",
  4046. "name": "userid",
  4047. "in": "query"
  4048. },
  4049. {
  4050. "type": "integer",
  4051. "description": "用户类型 2-机构 7-企业成员",
  4052. "name": "usertype",
  4053. "in": "query"
  4054. },
  4055. {
  4056. "type": "integer",
  4057. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4058. "name": "dgfactoryitemid",
  4059. "in": "query"
  4060. },
  4061. {
  4062. "type": "integer",
  4063. "description": "现货品种ID",
  4064. "name": "deliverygoodsid",
  4065. "in": "query"
  4066. },
  4067. {
  4068. "type": "integer",
  4069. "description": "要素项类型",
  4070. "name": "dgfactoryitemtypeid",
  4071. "in": "query"
  4072. },
  4073. {
  4074. "type": "integer",
  4075. "description": "顺序",
  4076. "name": "orderindex",
  4077. "in": "query"
  4078. }
  4079. ],
  4080. "responses": {
  4081. "200": {
  4082. "description": "OK",
  4083. "schema": {
  4084. "type": "array",
  4085. "items": {
  4086. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4087. }
  4088. }
  4089. },
  4090. "500": {
  4091. "description": "Internal Server Error",
  4092. "schema": {
  4093. "$ref": "#/definitions/app.Response"
  4094. }
  4095. }
  4096. }
  4097. }
  4098. },
  4099. "/Ermcp3/QueryDeliveryGoods": {
  4100. "get": {
  4101. "security": [
  4102. {
  4103. "ApiKeyAuth": []
  4104. }
  4105. ],
  4106. "produces": [
  4107. "application/json"
  4108. ],
  4109. "tags": [
  4110. "企业风险管理v3(app)"
  4111. ],
  4112. "summary": "查询现货商品",
  4113. "parameters": [
  4114. {
  4115. "type": "integer",
  4116. "description": "用户id",
  4117. "name": "userid",
  4118. "in": "query",
  4119. "required": true
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "用户类型 2-机构 7-企业成员",
  4124. "name": "usertype",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4130. "name": "excludecfg",
  4131. "in": "query"
  4132. }
  4133. ],
  4134. "responses": {
  4135. "200": {
  4136. "description": "OK",
  4137. "schema": {
  4138. "type": "array",
  4139. "items": {
  4140. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4141. }
  4142. }
  4143. },
  4144. "500": {
  4145. "description": "Internal Server Error",
  4146. "schema": {
  4147. "$ref": "#/definitions/app.Response"
  4148. }
  4149. }
  4150. }
  4151. }
  4152. },
  4153. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4154. "get": {
  4155. "security": [
  4156. {
  4157. "ApiKeyAuth": []
  4158. }
  4159. ],
  4160. "produces": [
  4161. "application/json"
  4162. ],
  4163. "tags": [
  4164. "企业风险管理v3(app)"
  4165. ],
  4166. "summary": "查询现货商品详情",
  4167. "parameters": [
  4168. {
  4169. "type": "integer",
  4170. "description": "用户id",
  4171. "name": "userid",
  4172. "in": "query",
  4173. "required": true
  4174. },
  4175. {
  4176. "type": "integer",
  4177. "description": "用户类型 2-机构 7-企业成员",
  4178. "name": "usertype",
  4179. "in": "query"
  4180. },
  4181. {
  4182. "type": "integer",
  4183. "description": "现货商品id",
  4184. "name": "deliverygoodsid",
  4185. "in": "query"
  4186. },
  4187. {
  4188. "type": "integer",
  4189. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4190. "name": "filtersubempty",
  4191. "in": "query"
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "type": "array",
  4199. "items": {
  4200. "$ref": "#/definitions/models.XHDeliveryGoods"
  4201. }
  4202. }
  4203. },
  4204. "500": {
  4205. "description": "Internal Server Error",
  4206. "schema": {
  4207. "$ref": "#/definitions/app.Response"
  4208. }
  4209. }
  4210. }
  4211. }
  4212. },
  4213. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4214. "get": {
  4215. "security": [
  4216. {
  4217. "ApiKeyAuth": []
  4218. }
  4219. ],
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "企业风险管理v3(app)"
  4225. ],
  4226. "summary": "查询现货合同期现配置信息",
  4227. "parameters": [
  4228. {
  4229. "type": "string",
  4230. "description": "合同id",
  4231. "name": "spotcontractid",
  4232. "in": "query",
  4233. "required": true
  4234. }
  4235. ],
  4236. "responses": {
  4237. "200": {
  4238. "description": "OK",
  4239. "schema": {
  4240. "type": "array",
  4241. "items": {
  4242. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4243. }
  4244. }
  4245. },
  4246. "500": {
  4247. "description": "Internal Server Error",
  4248. "schema": {
  4249. "$ref": "#/definitions/app.Response"
  4250. }
  4251. }
  4252. }
  4253. }
  4254. },
  4255. "/Ermcp3/QueryExposureDetail": {
  4256. "get": {
  4257. "security": [
  4258. {
  4259. "ApiKeyAuth": []
  4260. }
  4261. ],
  4262. "produces": [
  4263. "application/json"
  4264. ],
  4265. "tags": [
  4266. "企业风险管理v3(app)"
  4267. ],
  4268. "summary": "查询敞口现货明细",
  4269. "parameters": [
  4270. {
  4271. "type": "integer",
  4272. "description": "用户id",
  4273. "name": "userid",
  4274. "in": "query",
  4275. "required": true
  4276. },
  4277. {
  4278. "type": "integer",
  4279. "description": "用户类型 2-机构 7-企业成员",
  4280. "name": "usertype",
  4281. "in": "query"
  4282. },
  4283. {
  4284. "type": "integer",
  4285. "description": "套保商品",
  4286. "name": "middlegoodsid",
  4287. "in": "query",
  4288. "required": true
  4289. }
  4290. ],
  4291. "responses": {
  4292. "200": {
  4293. "description": "OK",
  4294. "schema": {
  4295. "type": "array",
  4296. "items": {
  4297. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4298. }
  4299. }
  4300. },
  4301. "500": {
  4302. "description": "Internal Server Error",
  4303. "schema": {
  4304. "$ref": "#/definitions/app.Response"
  4305. }
  4306. }
  4307. }
  4308. }
  4309. },
  4310. "/Ermcp3/QueryExposureSpot": {
  4311. "get": {
  4312. "security": [
  4313. {
  4314. "ApiKeyAuth": []
  4315. }
  4316. ],
  4317. "produces": [
  4318. "application/json"
  4319. ],
  4320. "tags": [
  4321. "企业风险管理v3(app)"
  4322. ],
  4323. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4324. "parameters": [
  4325. {
  4326. "type": "integer",
  4327. "description": "用户id",
  4328. "name": "userid",
  4329. "in": "query",
  4330. "required": true
  4331. },
  4332. {
  4333. "type": "integer",
  4334. "description": "用户类型 2-机构 7-企业成员",
  4335. "name": "usertype",
  4336. "in": "query"
  4337. }
  4338. ],
  4339. "responses": {
  4340. "200": {
  4341. "description": "OK",
  4342. "schema": {
  4343. "type": "array",
  4344. "items": {
  4345. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4346. }
  4347. }
  4348. },
  4349. "500": {
  4350. "description": "Internal Server Error",
  4351. "schema": {
  4352. "$ref": "#/definitions/app.Response"
  4353. }
  4354. }
  4355. }
  4356. }
  4357. },
  4358. "/Ermcp3/QueryExposureSpotDetail": {
  4359. "get": {
  4360. "security": [
  4361. {
  4362. "ApiKeyAuth": []
  4363. }
  4364. ],
  4365. "produces": [
  4366. "application/json"
  4367. ],
  4368. "tags": [
  4369. "企业风险管理v3(app)"
  4370. ],
  4371. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4372. "parameters": [
  4373. {
  4374. "type": "integer",
  4375. "description": "用户id",
  4376. "name": "userid",
  4377. "in": "query",
  4378. "required": true
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "用户类型 2-机构 7-企业成员",
  4383. "name": "usertype",
  4384. "in": "query"
  4385. },
  4386. {
  4387. "type": "integer",
  4388. "description": "现货商品ID",
  4389. "name": "wrstandardid",
  4390. "in": "query",
  4391. "required": true
  4392. }
  4393. ],
  4394. "responses": {
  4395. "200": {
  4396. "description": "OK",
  4397. "schema": {
  4398. "type": "array",
  4399. "items": {
  4400. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4401. }
  4402. }
  4403. },
  4404. "500": {
  4405. "description": "Internal Server Error",
  4406. "schema": {
  4407. "$ref": "#/definitions/app.Response"
  4408. }
  4409. }
  4410. }
  4411. }
  4412. },
  4413. "/Ermcp3/QueryGoodsGroup": {
  4414. "get": {
  4415. "security": [
  4416. {
  4417. "ApiKeyAuth": []
  4418. }
  4419. ],
  4420. "produces": [
  4421. "application/json"
  4422. ],
  4423. "tags": [
  4424. "企业风险管理v3(app)"
  4425. ],
  4426. "summary": "查询期货商品组",
  4427. "parameters": [
  4428. {
  4429. "type": "integer",
  4430. "description": "用户id",
  4431. "name": "userid",
  4432. "in": "query",
  4433. "required": true
  4434. },
  4435. {
  4436. "type": "integer",
  4437. "description": "用户类型 2-机构 7-企业成员",
  4438. "name": "usertype",
  4439. "in": "query"
  4440. },
  4441. {
  4442. "type": "integer",
  4443. "description": "排除套保品中已关联的商品组 1-排除",
  4444. "name": "excludecfg",
  4445. "in": "query"
  4446. }
  4447. ],
  4448. "responses": {
  4449. "200": {
  4450. "description": "OK",
  4451. "schema": {
  4452. "type": "array",
  4453. "items": {
  4454. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4455. }
  4456. }
  4457. },
  4458. "500": {
  4459. "description": "Internal Server Error",
  4460. "schema": {
  4461. "$ref": "#/definitions/app.Response"
  4462. }
  4463. }
  4464. }
  4465. }
  4466. },
  4467. "/Ermcp3/QueryGoodsWrstandard": {
  4468. "get": {
  4469. "security": [
  4470. {
  4471. "ApiKeyAuth": []
  4472. }
  4473. ],
  4474. "produces": [
  4475. "application/json"
  4476. ],
  4477. "tags": [
  4478. "企业风险管理v3(app)"
  4479. ],
  4480. "summary": "查询商品品类",
  4481. "parameters": [
  4482. {
  4483. "type": "integer",
  4484. "description": "用户id",
  4485. "name": "userid",
  4486. "in": "query",
  4487. "required": true
  4488. },
  4489. {
  4490. "type": "integer",
  4491. "description": "用户类型 2-机构 7-企业成员",
  4492. "name": "usertype",
  4493. "in": "query"
  4494. },
  4495. {
  4496. "type": "integer",
  4497. "description": "现货商品id",
  4498. "name": "deliverygoodsid",
  4499. "in": "query"
  4500. }
  4501. ],
  4502. "responses": {
  4503. "200": {
  4504. "description": "OK",
  4505. "schema": {
  4506. "type": "array",
  4507. "items": {
  4508. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4509. }
  4510. }
  4511. },
  4512. "500": {
  4513. "description": "Internal Server Error",
  4514. "schema": {
  4515. "$ref": "#/definitions/app.Response"
  4516. }
  4517. }
  4518. }
  4519. }
  4520. },
  4521. "/Ermcp3/QueryGoodsbrand": {
  4522. "get": {
  4523. "security": [
  4524. {
  4525. "ApiKeyAuth": []
  4526. }
  4527. ],
  4528. "produces": [
  4529. "application/json"
  4530. ],
  4531. "tags": [
  4532. "企业风险管理v3(app)"
  4533. ],
  4534. "summary": "查询商品品牌",
  4535. "parameters": [
  4536. {
  4537. "type": "integer",
  4538. "description": "用户id",
  4539. "name": "userid",
  4540. "in": "query",
  4541. "required": true
  4542. },
  4543. {
  4544. "type": "integer",
  4545. "description": "用户类型 2-机构 7-企业成员",
  4546. "name": "usertype",
  4547. "in": "query"
  4548. }
  4549. ],
  4550. "responses": {
  4551. "200": {
  4552. "description": "OK",
  4553. "schema": {
  4554. "type": "array",
  4555. "items": {
  4556. "$ref": "#/definitions/models.Ermcp3Brand"
  4557. }
  4558. }
  4559. },
  4560. "500": {
  4561. "description": "Internal Server Error",
  4562. "schema": {
  4563. "$ref": "#/definitions/app.Response"
  4564. }
  4565. }
  4566. }
  4567. }
  4568. },
  4569. "/Ermcp3/QueryHPMiddleGoods": {
  4570. "get": {
  4571. "security": [
  4572. {
  4573. "ApiKeyAuth": []
  4574. }
  4575. ],
  4576. "produces": [
  4577. "application/json"
  4578. ],
  4579. "tags": [
  4580. "企业风险管理v3(app)"
  4581. ],
  4582. "summary": "查询可关联套保计划",
  4583. "parameters": [
  4584. {
  4585. "type": "integer",
  4586. "description": "用户ID(填登录用户的userid)",
  4587. "name": "userid",
  4588. "in": "query",
  4589. "required": true
  4590. },
  4591. {
  4592. "type": "integer",
  4593. "description": "买卖方向 0-买 1-卖",
  4594. "name": "buyorsell",
  4595. "in": "query",
  4596. "required": true
  4597. },
  4598. {
  4599. "type": "integer",
  4600. "description": "商品组id",
  4601. "name": "goodsgroupid",
  4602. "in": "query",
  4603. "required": true
  4604. },
  4605. {
  4606. "type": "string",
  4607. "description": "套保计划编号(模糊匹配)",
  4608. "name": "hedgeplanno",
  4609. "in": "query"
  4610. },
  4611. {
  4612. "type": "string",
  4613. "description": "现货商品名称(模糊匹配)",
  4614. "name": "wrstandardname",
  4615. "in": "query"
  4616. }
  4617. ],
  4618. "responses": {
  4619. "200": {
  4620. "description": "OK",
  4621. "schema": {
  4622. "type": "array",
  4623. "items": {
  4624. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4625. }
  4626. }
  4627. },
  4628. "500": {
  4629. "description": "Internal Server Error",
  4630. "schema": {
  4631. "$ref": "#/definitions/app.Response"
  4632. }
  4633. }
  4634. }
  4635. }
  4636. },
  4637. "/Ermcp3/QueryHedgePlan": {
  4638. "get": {
  4639. "security": [
  4640. {
  4641. "ApiKeyAuth": []
  4642. }
  4643. ],
  4644. "produces": [
  4645. "application/json"
  4646. ],
  4647. "tags": [
  4648. "企业风险管理v3(app)"
  4649. ],
  4650. "summary": "查询套保计划",
  4651. "parameters": [
  4652. {
  4653. "type": "integer",
  4654. "description": "用户ID",
  4655. "name": "userid",
  4656. "in": "query",
  4657. "required": true
  4658. },
  4659. {
  4660. "type": "integer",
  4661. "description": "用户类型 2-机构 7-企业成员",
  4662. "name": "usertype",
  4663. "in": "query"
  4664. },
  4665. {
  4666. "type": "string",
  4667. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4668. "name": "hedgeplanstatus",
  4669. "in": "query",
  4670. "required": true
  4671. }
  4672. ],
  4673. "responses": {
  4674. "200": {
  4675. "description": "OK",
  4676. "schema": {
  4677. "type": "array",
  4678. "items": {
  4679. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4680. }
  4681. }
  4682. },
  4683. "500": {
  4684. "description": "Internal Server Error",
  4685. "schema": {
  4686. "$ref": "#/definitions/app.Response"
  4687. }
  4688. }
  4689. }
  4690. }
  4691. },
  4692. "/Ermcp3/QueryInnerTradeLink": {
  4693. "get": {
  4694. "security": [
  4695. {
  4696. "ApiKeyAuth": []
  4697. }
  4698. ],
  4699. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4700. "produces": [
  4701. "application/json"
  4702. ],
  4703. "tags": [
  4704. "企业风险管理v3(app)"
  4705. ],
  4706. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4707. "parameters": [
  4708. {
  4709. "type": "integer",
  4710. "description": "外部成交单号",
  4711. "name": "outtradeid",
  4712. "in": "query",
  4713. "required": true
  4714. }
  4715. ],
  4716. "responses": {
  4717. "200": {
  4718. "description": "OK",
  4719. "schema": {
  4720. "type": "array",
  4721. "items": {
  4722. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4723. }
  4724. }
  4725. },
  4726. "500": {
  4727. "description": "Internal Server Error",
  4728. "schema": {
  4729. "$ref": "#/definitions/app.Response"
  4730. }
  4731. }
  4732. }
  4733. }
  4734. },
  4735. "/Ermcp3/QueryMiddleGoodsDetail": {
  4736. "get": {
  4737. "security": [
  4738. {
  4739. "ApiKeyAuth": []
  4740. }
  4741. ],
  4742. "produces": [
  4743. "application/json"
  4744. ],
  4745. "tags": [
  4746. "企业风险管理v3(app)"
  4747. ],
  4748. "summary": "查询套保品种详情(套保品种/商品详情)",
  4749. "parameters": [
  4750. {
  4751. "type": "integer",
  4752. "description": "用户id",
  4753. "name": "userid",
  4754. "in": "query",
  4755. "required": true
  4756. },
  4757. {
  4758. "type": "integer",
  4759. "description": "用户类型 2-机构 7-企业成员",
  4760. "name": "usertype",
  4761. "in": "query"
  4762. },
  4763. {
  4764. "type": "integer",
  4765. "description": "套保品种id",
  4766. "name": "middlegoodsid",
  4767. "in": "query"
  4768. }
  4769. ],
  4770. "responses": {
  4771. "200": {
  4772. "description": "OK",
  4773. "schema": {
  4774. "type": "array",
  4775. "items": {
  4776. "$ref": "#/definitions/models.TBMiddleGoods"
  4777. }
  4778. }
  4779. },
  4780. "500": {
  4781. "description": "Internal Server Error",
  4782. "schema": {
  4783. "$ref": "#/definitions/app.Response"
  4784. }
  4785. }
  4786. }
  4787. }
  4788. },
  4789. "/Ermcp3/QueryOutTradeLink": {
  4790. "get": {
  4791. "security": [
  4792. {
  4793. "ApiKeyAuth": []
  4794. }
  4795. ],
  4796. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4797. "produces": [
  4798. "application/json"
  4799. ],
  4800. "tags": [
  4801. "企业风险管理v3(app)"
  4802. ],
  4803. "summary": "查询外部成交单关联",
  4804. "parameters": [
  4805. {
  4806. "type": "integer",
  4807. "description": "用户ID(填登录用户的userid)",
  4808. "name": "userid",
  4809. "in": "query",
  4810. "required": true
  4811. },
  4812. {
  4813. "type": "string",
  4814. "description": "外部订单号(模糊匹配)",
  4815. "name": "outtradeid",
  4816. "in": "query"
  4817. },
  4818. {
  4819. "type": "string",
  4820. "description": "合约名称/代码(模糊匹配)",
  4821. "name": "goodsname",
  4822. "in": "query"
  4823. },
  4824. {
  4825. "type": "integer",
  4826. "description": "关联状态 0-未关联 1-已关联",
  4827. "name": "hasinnerorder",
  4828. "in": "query"
  4829. }
  4830. ],
  4831. "responses": {
  4832. "200": {
  4833. "description": "OK",
  4834. "schema": {
  4835. "type": "array",
  4836. "items": {
  4837. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4838. }
  4839. }
  4840. },
  4841. "500": {
  4842. "description": "Internal Server Error",
  4843. "schema": {
  4844. "$ref": "#/definitions/app.Response"
  4845. }
  4846. }
  4847. }
  4848. }
  4849. },
  4850. "/Ermcp3/QueryPaAreaAuditCfg": {
  4851. "get": {
  4852. "security": [
  4853. {
  4854. "ApiKeyAuth": []
  4855. }
  4856. ],
  4857. "produces": [
  4858. "application/json"
  4859. ],
  4860. "tags": [
  4861. "企业风险管理v3(app)"
  4862. ],
  4863. "summary": "查询审核设置",
  4864. "parameters": [
  4865. {
  4866. "type": "integer",
  4867. "description": "用户id",
  4868. "name": "userid",
  4869. "in": "query",
  4870. "required": true
  4871. }
  4872. ],
  4873. "responses": {
  4874. "200": {
  4875. "description": "OK",
  4876. "schema": {
  4877. "type": "array",
  4878. "items": {
  4879. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4880. }
  4881. }
  4882. },
  4883. "500": {
  4884. "description": "Internal Server Error",
  4885. "schema": {
  4886. "$ref": "#/definitions/app.Response"
  4887. }
  4888. }
  4889. }
  4890. }
  4891. },
  4892. "/Ermcp3/QueryPaAreaSubject": {
  4893. "get": {
  4894. "security": [
  4895. {
  4896. "ApiKeyAuth": []
  4897. }
  4898. ],
  4899. "produces": [
  4900. "application/json"
  4901. ],
  4902. "tags": [
  4903. "企业风险管理v3(app)"
  4904. ],
  4905. "summary": "查询交易主体",
  4906. "parameters": [
  4907. {
  4908. "type": "integer",
  4909. "description": "用户id",
  4910. "name": "userid",
  4911. "in": "query",
  4912. "required": true
  4913. },
  4914. {
  4915. "type": "integer",
  4916. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4917. "name": "subjectid",
  4918. "in": "query"
  4919. },
  4920. {
  4921. "type": "integer",
  4922. "description": "主体类型 - 1:交易主体 2:业务部门",
  4923. "name": "subjecttype",
  4924. "in": "query"
  4925. },
  4926. {
  4927. "type": "integer",
  4928. "description": "主体状态 - 1:正常 2: 停用",
  4929. "name": "subjectstatus",
  4930. "in": "query"
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "type": "array",
  4938. "items": {
  4939. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4940. }
  4941. }
  4942. },
  4943. "500": {
  4944. "description": "Internal Server Error",
  4945. "schema": {
  4946. "$ref": "#/definitions/app.Response"
  4947. }
  4948. }
  4949. }
  4950. }
  4951. },
  4952. "/Ermcp3/QueryPaTradeLink": {
  4953. "get": {
  4954. "security": [
  4955. {
  4956. "ApiKeyAuth": []
  4957. }
  4958. ],
  4959. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4960. "produces": [
  4961. "application/json"
  4962. ],
  4963. "tags": [
  4964. "企业风险管理v3(app)"
  4965. ],
  4966. "summary": "查询期现单据关联",
  4967. "parameters": [
  4968. {
  4969. "type": "integer",
  4970. "description": "用户ID",
  4971. "name": "userid",
  4972. "in": "query",
  4973. "required": true
  4974. }
  4975. ],
  4976. "responses": {
  4977. "200": {
  4978. "description": "OK",
  4979. "schema": {
  4980. "type": "array",
  4981. "items": {
  4982. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4983. }
  4984. }
  4985. },
  4986. "500": {
  4987. "description": "Internal Server Error",
  4988. "schema": {
  4989. "$ref": "#/definitions/app.Response"
  4990. }
  4991. }
  4992. }
  4993. }
  4994. },
  4995. "/Ermcp3/QueryPaTradeLinkDetail": {
  4996. "get": {
  4997. "security": [
  4998. {
  4999. "ApiKeyAuth": []
  5000. }
  5001. ],
  5002. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5003. "produces": [
  5004. "application/json"
  5005. ],
  5006. "tags": [
  5007. "企业风险管理v3(app)"
  5008. ],
  5009. "summary": "查询期现关联记录",
  5010. "parameters": [
  5011. {
  5012. "type": "integer",
  5013. "description": "用户ID(填登录用户的userid)",
  5014. "name": "userid",
  5015. "in": "query",
  5016. "required": true
  5017. },
  5018. {
  5019. "type": "integer",
  5020. "description": "关联状态 1:成功 2:失败 3:解绑",
  5021. "name": "linkstatus",
  5022. "in": "query"
  5023. },
  5024. {
  5025. "type": "string",
  5026. "description": "期货订单号(模糊匹配)",
  5027. "name": "tradeid",
  5028. "in": "query"
  5029. },
  5030. {
  5031. "type": "string",
  5032. "description": "现货编号(模糊匹配)",
  5033. "name": "contractno",
  5034. "in": "query"
  5035. },
  5036. {
  5037. "type": "string",
  5038. "description": "期货账户(模糊匹配)",
  5039. "name": "taname",
  5040. "in": "query"
  5041. }
  5042. ],
  5043. "responses": {
  5044. "200": {
  5045. "description": "OK",
  5046. "schema": {
  5047. "type": "array",
  5048. "items": {
  5049. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5050. }
  5051. }
  5052. },
  5053. "500": {
  5054. "description": "Internal Server Error",
  5055. "schema": {
  5056. "$ref": "#/definitions/app.Response"
  5057. }
  5058. }
  5059. }
  5060. }
  5061. },
  5062. "/Ermcp3/QueryParamChangeApp": {
  5063. "get": {
  5064. "security": [
  5065. {
  5066. "ApiKeyAuth": []
  5067. }
  5068. ],
  5069. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5070. "produces": [
  5071. "application/json"
  5072. ],
  5073. "tags": [
  5074. "企业风险管理v3(app)"
  5075. ],
  5076. "summary": "查询现货商品参数变更申请(流水)",
  5077. "parameters": [
  5078. {
  5079. "type": "integer",
  5080. "description": "用户ID",
  5081. "name": "userid",
  5082. "in": "query",
  5083. "required": true
  5084. },
  5085. {
  5086. "type": "integer",
  5087. "description": "现货品种id",
  5088. "name": "deliverygoodsid",
  5089. "in": "query"
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "现货商品id",
  5094. "name": "wrstandardid",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "integer",
  5099. "description": "套保商品id",
  5100. "name": "middlegoodsid",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "integer",
  5105. "description": "操作类型 1:新增 2:修改",
  5106. "name": "operatetype",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "integer",
  5111. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5112. "name": "paramchangetype",
  5113. "in": "query"
  5114. },
  5115. {
  5116. "type": "string",
  5117. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5118. "name": "ftstatus",
  5119. "in": "query"
  5120. }
  5121. ],
  5122. "responses": {
  5123. "200": {
  5124. "description": "OK",
  5125. "schema": {
  5126. "type": "array",
  5127. "items": {
  5128. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5129. }
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/Ermcp3/QueryRootUserAccount": {
  5142. "get": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "produces": [
  5149. "application/json"
  5150. ],
  5151. "tags": [
  5152. "企业风险管理v3(app)"
  5153. ],
  5154. "summary": "查询顶级用户信息",
  5155. "parameters": [
  5156. {
  5157. "type": "integer",
  5158. "description": "用户ID",
  5159. "name": "userid",
  5160. "in": "query",
  5161. "required": true
  5162. }
  5163. ],
  5164. "responses": {
  5165. "200": {
  5166. "description": "OK",
  5167. "schema": {
  5168. "type": "array",
  5169. "items": {
  5170. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5171. }
  5172. }
  5173. },
  5174. "500": {
  5175. "description": "Internal Server Error",
  5176. "schema": {
  5177. "$ref": "#/definitions/app.Response"
  5178. }
  5179. }
  5180. }
  5181. }
  5182. },
  5183. "/Ermcp3/QuerySCMiddleGoods": {
  5184. "get": {
  5185. "security": [
  5186. {
  5187. "ApiKeyAuth": []
  5188. }
  5189. ],
  5190. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5191. "produces": [
  5192. "application/json"
  5193. ],
  5194. "tags": [
  5195. "企业风险管理v3(app)"
  5196. ],
  5197. "summary": "查询现货订单",
  5198. "parameters": [
  5199. {
  5200. "type": "integer",
  5201. "description": "用户ID(填登录用户的userid)",
  5202. "name": "userid",
  5203. "in": "query",
  5204. "required": true
  5205. },
  5206. {
  5207. "type": "integer",
  5208. "description": "买卖方向 0-买 1-卖",
  5209. "name": "buyorsell",
  5210. "in": "query",
  5211. "required": true
  5212. },
  5213. {
  5214. "type": "integer",
  5215. "description": "商品组id",
  5216. "name": "goodsgroupid",
  5217. "in": "query",
  5218. "required": true
  5219. },
  5220. {
  5221. "type": "integer",
  5222. "description": "业务类型 1:套保 2:套利",
  5223. "name": "biztype",
  5224. "in": "query"
  5225. },
  5226. {
  5227. "type": "string",
  5228. "description": "现货编号(模糊匹配)",
  5229. "name": "contractno",
  5230. "in": "query"
  5231. },
  5232. {
  5233. "type": "string",
  5234. "description": "对手方(模糊匹配)",
  5235. "name": "customername",
  5236. "in": "query"
  5237. },
  5238. {
  5239. "type": "string",
  5240. "description": "现货商品名称(模糊匹配)",
  5241. "name": "wrstandardname",
  5242. "in": "query"
  5243. }
  5244. ],
  5245. "responses": {
  5246. "200": {
  5247. "description": "OK",
  5248. "schema": {
  5249. "type": "array",
  5250. "items": {
  5251. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5252. }
  5253. }
  5254. },
  5255. "500": {
  5256. "description": "Internal Server Error",
  5257. "schema": {
  5258. "$ref": "#/definitions/app.Response"
  5259. }
  5260. }
  5261. }
  5262. }
  5263. },
  5264. "/Ermcp3/QuerySpotContract": {
  5265. "get": {
  5266. "security": [
  5267. {
  5268. "ApiKeyAuth": []
  5269. }
  5270. ],
  5271. "produces": [
  5272. "application/json"
  5273. ],
  5274. "tags": [
  5275. "企业风险管理v3(app)"
  5276. ],
  5277. "summary": "查询现货合同",
  5278. "parameters": [
  5279. {
  5280. "type": "integer",
  5281. "description": "用户id(当指定contractid, userid可不填)",
  5282. "name": "userid",
  5283. "in": "query",
  5284. "required": true
  5285. },
  5286. {
  5287. "type": "integer",
  5288. "description": "用户类型 2-机构 7-企业成员",
  5289. "name": "usertype",
  5290. "in": "query"
  5291. },
  5292. {
  5293. "type": "integer",
  5294. "description": "合同类型 1-采购, -1-销售",
  5295. "name": "contracttype",
  5296. "in": "query"
  5297. },
  5298. {
  5299. "type": "string",
  5300. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5301. "name": "querytype",
  5302. "in": "query"
  5303. },
  5304. {
  5305. "type": "string",
  5306. "description": "合同ID(SpotContractId)",
  5307. "name": "contractid",
  5308. "in": "query"
  5309. },
  5310. {
  5311. "type": "string",
  5312. "description": "合同编号(模糊匹配)",
  5313. "name": "contractno",
  5314. "in": "query"
  5315. },
  5316. {
  5317. "type": "string",
  5318. "description": "商品名称(模糊匹配)",
  5319. "name": "wrstandardname",
  5320. "in": "query"
  5321. },
  5322. {
  5323. "type": "string",
  5324. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5325. "name": "status",
  5326. "in": "query"
  5327. },
  5328. {
  5329. "type": "integer",
  5330. "description": "是否只查今日的合同 1-查今日合同",
  5331. "name": "istoday",
  5332. "in": "query"
  5333. }
  5334. ],
  5335. "responses": {
  5336. "200": {
  5337. "description": "OK",
  5338. "schema": {
  5339. "type": "array",
  5340. "items": {
  5341. "$ref": "#/definitions/models.Ermcp3Contract"
  5342. }
  5343. }
  5344. },
  5345. "500": {
  5346. "description": "Internal Server Error",
  5347. "schema": {
  5348. "$ref": "#/definitions/app.Response"
  5349. }
  5350. }
  5351. }
  5352. }
  5353. },
  5354. "/Ermcp3/QuerySpotContractBS": {
  5355. "get": {
  5356. "security": [
  5357. {
  5358. "ApiKeyAuth": []
  5359. }
  5360. ],
  5361. "produces": [
  5362. "application/json"
  5363. ],
  5364. "tags": [
  5365. "企业风险管理v3(app)"
  5366. ],
  5367. "summary": "查询合同(采购/销售)",
  5368. "parameters": [
  5369. {
  5370. "type": "integer",
  5371. "description": "用户id",
  5372. "name": "userid",
  5373. "in": "query",
  5374. "required": true
  5375. },
  5376. {
  5377. "type": "integer",
  5378. "description": "用户类型 2-机构 7-企业成员",
  5379. "name": "usertype",
  5380. "in": "query"
  5381. },
  5382. {
  5383. "type": "integer",
  5384. "description": "合同类型 1-采购, -1-销售",
  5385. "name": "contracttype",
  5386. "in": "query",
  5387. "required": true
  5388. },
  5389. {
  5390. "type": "integer",
  5391. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5392. "name": "querytype",
  5393. "in": "query"
  5394. },
  5395. {
  5396. "type": "string",
  5397. "description": "合同ID(SpotContractId)",
  5398. "name": "contractid",
  5399. "in": "query"
  5400. },
  5401. {
  5402. "type": "string",
  5403. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5404. "name": "status",
  5405. "in": "query"
  5406. },
  5407. {
  5408. "type": "integer",
  5409. "description": "是否只查今日的合同 1-查今日合同",
  5410. "name": "istoday",
  5411. "in": "query"
  5412. }
  5413. ],
  5414. "responses": {
  5415. "200": {
  5416. "description": "OK",
  5417. "schema": {
  5418. "type": "array",
  5419. "items": {
  5420. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5421. }
  5422. }
  5423. },
  5424. "500": {
  5425. "description": "Internal Server Error",
  5426. "schema": {
  5427. "$ref": "#/definitions/app.Response"
  5428. }
  5429. }
  5430. }
  5431. }
  5432. },
  5433. "/Ermcp3/QuerySpotGoodsPrice": {
  5434. "get": {
  5435. "security": [
  5436. {
  5437. "ApiKeyAuth": []
  5438. }
  5439. ],
  5440. "produces": [
  5441. "application/json"
  5442. ],
  5443. "tags": [
  5444. "企业风险管理v3(app)"
  5445. ],
  5446. "summary": "查询现货市价(现货市价)",
  5447. "parameters": [
  5448. {
  5449. "type": "integer",
  5450. "description": "用户ID",
  5451. "name": "userid",
  5452. "in": "query",
  5453. "required": true
  5454. }
  5455. ],
  5456. "responses": {
  5457. "200": {
  5458. "description": "OK",
  5459. "schema": {
  5460. "type": "array",
  5461. "items": {
  5462. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5463. }
  5464. }
  5465. },
  5466. "500": {
  5467. "description": "Internal Server Error",
  5468. "schema": {
  5469. "$ref": "#/definitions/app.Response"
  5470. }
  5471. }
  5472. }
  5473. }
  5474. },
  5475. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5476. "get": {
  5477. "security": [
  5478. {
  5479. "ApiKeyAuth": []
  5480. }
  5481. ],
  5482. "produces": [
  5483. "application/json"
  5484. ],
  5485. "tags": [
  5486. "企业风险管理v3(app)"
  5487. ],
  5488. "summary": "查询现货市价详情(现货市价/详情)",
  5489. "parameters": [
  5490. {
  5491. "type": "integer",
  5492. "description": "用户ID",
  5493. "name": "userid",
  5494. "in": "query",
  5495. "required": true
  5496. },
  5497. {
  5498. "type": "integer",
  5499. "description": "现货商品ID",
  5500. "name": "deliverygoodsid",
  5501. "in": "query",
  5502. "required": true
  5503. },
  5504. {
  5505. "type": "integer",
  5506. "description": "品牌ID",
  5507. "name": "brandid",
  5508. "in": "query"
  5509. },
  5510. {
  5511. "type": "integer",
  5512. "description": "品类ID",
  5513. "name": "wrstandardid",
  5514. "in": "query"
  5515. }
  5516. ],
  5517. "responses": {
  5518. "200": {
  5519. "description": "OK",
  5520. "schema": {
  5521. "type": "array",
  5522. "items": {
  5523. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5524. }
  5525. }
  5526. },
  5527. "500": {
  5528. "description": "Internal Server Error",
  5529. "schema": {
  5530. "$ref": "#/definitions/app.Response"
  5531. }
  5532. }
  5533. }
  5534. }
  5535. },
  5536. "/Ermcp3/QuerySubTaaccount": {
  5537. "get": {
  5538. "security": [
  5539. {
  5540. "ApiKeyAuth": []
  5541. }
  5542. ],
  5543. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5544. "produces": [
  5545. "application/json"
  5546. ],
  5547. "tags": [
  5548. "企业风险管理v3(app)"
  5549. ],
  5550. "summary": "查询期货子账户",
  5551. "parameters": [
  5552. {
  5553. "type": "integer",
  5554. "description": "母账号id",
  5555. "name": "parentaccountid",
  5556. "in": "query"
  5557. },
  5558. {
  5559. "type": "string",
  5560. "description": "母账号代码",
  5561. "name": "parentaccountcode",
  5562. "in": "query"
  5563. }
  5564. ],
  5565. "responses": {
  5566. "200": {
  5567. "description": "OK",
  5568. "schema": {
  5569. "type": "array",
  5570. "items": {
  5571. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5572. }
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5585. "get": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "企业风险管理v8"
  5596. ],
  5597. "summary": "现货成交明细查询",
  5598. "parameters": [
  5599. {
  5600. "type": "integer",
  5601. "description": "套期项目ID",
  5602. "name": "hedgeditemid",
  5603. "in": "query",
  5604. "required": true
  5605. }
  5606. ],
  5607. "responses": {
  5608. "200": {
  5609. "description": "OK",
  5610. "schema": {
  5611. "type": "array",
  5612. "items": {
  5613. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5614. }
  5615. }
  5616. },
  5617. "500": {
  5618. "description": "Internal Server Error",
  5619. "schema": {
  5620. "$ref": "#/definitions/app.Response"
  5621. }
  5622. }
  5623. }
  5624. }
  5625. },
  5626. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5627. "get": {
  5628. "security": [
  5629. {
  5630. "ApiKeyAuth": []
  5631. }
  5632. ],
  5633. "produces": [
  5634. "application/json"
  5635. ],
  5636. "tags": [
  5637. "企业风险管理v8"
  5638. ],
  5639. "summary": "套期计划明细查询",
  5640. "parameters": [
  5641. {
  5642. "type": "integer",
  5643. "description": "套期项目ID",
  5644. "name": "hedgeditemid",
  5645. "in": "query",
  5646. "required": true
  5647. }
  5648. ],
  5649. "responses": {
  5650. "200": {
  5651. "description": "OK",
  5652. "schema": {
  5653. "type": "array",
  5654. "items": {
  5655. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5656. }
  5657. }
  5658. },
  5659. "500": {
  5660. "description": "Internal Server Error",
  5661. "schema": {
  5662. "$ref": "#/definitions/app.Response"
  5663. }
  5664. }
  5665. }
  5666. }
  5667. },
  5668. "/Ermcp8/QueryERMCPJRLinkPos": {
  5669. "get": {
  5670. "security": [
  5671. {
  5672. "ApiKeyAuth": []
  5673. }
  5674. ],
  5675. "produces": [
  5676. "application/json"
  5677. ],
  5678. "tags": [
  5679. "企业风险管理v8"
  5680. ],
  5681. "summary": "期货持仓明细查询",
  5682. "parameters": [
  5683. {
  5684. "type": "integer",
  5685. "description": "套期项目ID",
  5686. "name": "hedgeditemid",
  5687. "in": "query",
  5688. "required": true
  5689. }
  5690. ],
  5691. "responses": {
  5692. "200": {
  5693. "description": "OK",
  5694. "schema": {
  5695. "type": "array",
  5696. "items": {
  5697. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  5698. }
  5699. }
  5700. },
  5701. "500": {
  5702. "description": "Internal Server Error",
  5703. "schema": {
  5704. "$ref": "#/definitions/app.Response"
  5705. }
  5706. }
  5707. }
  5708. }
  5709. },
  5710. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  5711. "get": {
  5712. "security": [
  5713. {
  5714. "ApiKeyAuth": []
  5715. }
  5716. ],
  5717. "produces": [
  5718. "application/json"
  5719. ],
  5720. "tags": [
  5721. "企业风险管理v8"
  5722. ],
  5723. "summary": "期货成交单明细查询",
  5724. "parameters": [
  5725. {
  5726. "type": "integer",
  5727. "description": "套期项目ID",
  5728. "name": "hedgeditemid",
  5729. "in": "query",
  5730. "required": true
  5731. }
  5732. ],
  5733. "responses": {
  5734. "200": {
  5735. "description": "OK",
  5736. "schema": {
  5737. "type": "array",
  5738. "items": {
  5739. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  5740. }
  5741. }
  5742. },
  5743. "500": {
  5744. "description": "Internal Server Error",
  5745. "schema": {
  5746. "$ref": "#/definitions/app.Response"
  5747. }
  5748. }
  5749. }
  5750. }
  5751. },
  5752. "/Ermcp8/QueryErmcp2AreaExposure": {
  5753. "get": {
  5754. "security": [
  5755. {
  5756. "ApiKeyAuth": []
  5757. }
  5758. ],
  5759. "produces": [
  5760. "application/json"
  5761. ],
  5762. "tags": [
  5763. "企业风险管理v8"
  5764. ],
  5765. "summary": "企业敞口查询",
  5766. "parameters": [
  5767. {
  5768. "type": "string",
  5769. "description": "用户ID",
  5770. "name": "userid",
  5771. "in": "query",
  5772. "required": true
  5773. }
  5774. ],
  5775. "responses": {
  5776. "200": {
  5777. "description": "OK",
  5778. "schema": {
  5779. "type": "array",
  5780. "items": {
  5781. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  5782. }
  5783. }
  5784. },
  5785. "500": {
  5786. "description": "Internal Server Error",
  5787. "schema": {
  5788. "$ref": "#/definitions/app.Response"
  5789. }
  5790. }
  5791. }
  5792. }
  5793. },
  5794. "/Ermcp8/QueryErmcp2HedgedItem": {
  5795. "get": {
  5796. "security": [
  5797. {
  5798. "ApiKeyAuth": []
  5799. }
  5800. ],
  5801. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  5802. "produces": [
  5803. "application/json"
  5804. ],
  5805. "tags": [
  5806. "企业风险管理v8"
  5807. ],
  5808. "summary": "查询被套期项目信息",
  5809. "parameters": [
  5810. {
  5811. "type": "string",
  5812. "description": "用户ID",
  5813. "name": "userid",
  5814. "in": "query",
  5815. "required": true
  5816. },
  5817. {
  5818. "type": "integer",
  5819. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  5820. "name": "hedgedtype",
  5821. "in": "query"
  5822. },
  5823. {
  5824. "type": "integer",
  5825. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5826. "name": "hedgeditemstatus",
  5827. "in": "query"
  5828. }
  5829. ],
  5830. "responses": {
  5831. "200": {
  5832. "description": "OK",
  5833. "schema": {
  5834. "type": "array",
  5835. "items": {
  5836. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  5837. }
  5838. }
  5839. },
  5840. "500": {
  5841. "description": "Internal Server Error",
  5842. "schema": {
  5843. "$ref": "#/definitions/app.Response"
  5844. }
  5845. }
  5846. }
  5847. }
  5848. },
  5849. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  5850. "get": {
  5851. "security": [
  5852. {
  5853. "ApiKeyAuth": []
  5854. }
  5855. ],
  5856. "produces": [
  5857. "application/json"
  5858. ],
  5859. "tags": [
  5860. "企业风险管理v8"
  5861. ],
  5862. "summary": "现货合同关联被套期项目查询",
  5863. "parameters": [
  5864. {
  5865. "type": "integer",
  5866. "description": "现货合同ID",
  5867. "name": "spotcontractid",
  5868. "in": "query",
  5869. "required": true
  5870. }
  5871. ],
  5872. "responses": {
  5873. "200": {
  5874. "description": "OK",
  5875. "schema": {
  5876. "type": "array",
  5877. "items": {
  5878. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  5879. }
  5880. }
  5881. },
  5882. "500": {
  5883. "description": "Internal Server Error",
  5884. "schema": {
  5885. "$ref": "#/definitions/app.Response"
  5886. }
  5887. }
  5888. }
  5889. }
  5890. },
  5891. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  5892. "get": {
  5893. "security": [
  5894. {
  5895. "ApiKeyAuth": []
  5896. }
  5897. ],
  5898. "produces": [
  5899. "application/json"
  5900. ],
  5901. "tags": [
  5902. "企业风险管理v8"
  5903. ],
  5904. "summary": "敞口明细 - 计划变动明细",
  5905. "parameters": [
  5906. {
  5907. "type": "integer",
  5908. "description": "用户ID",
  5909. "name": "userid",
  5910. "in": "query",
  5911. "required": true
  5912. },
  5913. {
  5914. "type": "integer",
  5915. "description": "套保品种ID",
  5916. "name": "middlegoodsid",
  5917. "in": "query",
  5918. "required": true
  5919. }
  5920. ],
  5921. "responses": {
  5922. "200": {
  5923. "description": "OK",
  5924. "schema": {
  5925. "type": "array",
  5926. "items": {
  5927. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  5928. }
  5929. }
  5930. },
  5931. "500": {
  5932. "description": "Internal Server Error",
  5933. "schema": {
  5934. "$ref": "#/definitions/app.Response"
  5935. }
  5936. }
  5937. }
  5938. }
  5939. },
  5940. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  5941. "get": {
  5942. "security": [
  5943. {
  5944. "ApiKeyAuth": []
  5945. }
  5946. ],
  5947. "produces": [
  5948. "application/json"
  5949. ],
  5950. "tags": [
  5951. "企业风险管理v8"
  5952. ],
  5953. "summary": "敞口明细 - 现货变动明细查询",
  5954. "parameters": [
  5955. {
  5956. "type": "integer",
  5957. "description": "用户ID",
  5958. "name": "userid",
  5959. "in": "query",
  5960. "required": true
  5961. },
  5962. {
  5963. "type": "integer",
  5964. "description": "套保品种ID",
  5965. "name": "middlegoodsid",
  5966. "in": "query",
  5967. "required": true
  5968. }
  5969. ],
  5970. "responses": {
  5971. "200": {
  5972. "description": "OK",
  5973. "schema": {
  5974. "type": "array",
  5975. "items": {
  5976. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  5977. }
  5978. }
  5979. },
  5980. "500": {
  5981. "description": "Internal Server Error",
  5982. "schema": {
  5983. "$ref": "#/definitions/app.Response"
  5984. }
  5985. }
  5986. }
  5987. }
  5988. },
  5989. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  5990. "get": {
  5991. "security": [
  5992. {
  5993. "ApiKeyAuth": []
  5994. }
  5995. ],
  5996. "produces": [
  5997. "application/json"
  5998. ],
  5999. "tags": [
  6000. "企业风险管理v8"
  6001. ],
  6002. "summary": "可关联项目查询",
  6003. "parameters": [
  6004. {
  6005. "type": "integer",
  6006. "description": "用户ID",
  6007. "name": "userid",
  6008. "in": "query",
  6009. "required": true
  6010. },
  6011. {
  6012. "type": "integer",
  6013. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6014. "name": "spottype",
  6015. "in": "query",
  6016. "required": true
  6017. },
  6018. {
  6019. "type": "integer",
  6020. "description": "现货商品ID",
  6021. "name": "wrstandardid",
  6022. "in": "query"
  6023. }
  6024. ],
  6025. "responses": {
  6026. "200": {
  6027. "description": "OK",
  6028. "schema": {
  6029. "type": "array",
  6030. "items": {
  6031. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6032. }
  6033. }
  6034. },
  6035. "500": {
  6036. "description": "Internal Server Error",
  6037. "schema": {
  6038. "$ref": "#/definitions/app.Response"
  6039. }
  6040. }
  6041. }
  6042. }
  6043. },
  6044. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6045. "get": {
  6046. "security": [
  6047. {
  6048. "ApiKeyAuth": []
  6049. }
  6050. ],
  6051. "produces": [
  6052. "application/json"
  6053. ],
  6054. "tags": [
  6055. "企业风险管理v8"
  6056. ],
  6057. "summary": "套期项目报表查询",
  6058. "parameters": [
  6059. {
  6060. "type": "integer",
  6061. "description": "用户ID",
  6062. "name": "userid",
  6063. "in": "query",
  6064. "required": true
  6065. },
  6066. {
  6067. "type": "integer",
  6068. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6069. "name": "cycletype",
  6070. "in": "query"
  6071. },
  6072. {
  6073. "type": "string",
  6074. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6075. "name": "cycletime",
  6076. "in": "query",
  6077. "required": true
  6078. },
  6079. {
  6080. "type": "integer",
  6081. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6082. "name": "hedgedtype",
  6083. "in": "query"
  6084. },
  6085. {
  6086. "type": "integer",
  6087. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6088. "name": "hedgeditemstatus",
  6089. "in": "query"
  6090. },
  6091. {
  6092. "type": "string",
  6093. "description": "项目编号,模糊查询",
  6094. "name": "hedgeditemnum",
  6095. "in": "query"
  6096. },
  6097. {
  6098. "type": "integer",
  6099. "description": "现货商品ID",
  6100. "name": "wrstandardid",
  6101. "in": "query"
  6102. }
  6103. ],
  6104. "responses": {
  6105. "200": {
  6106. "description": "OK",
  6107. "schema": {
  6108. "type": "array",
  6109. "items": {
  6110. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6111. }
  6112. }
  6113. },
  6114. "500": {
  6115. "description": "Internal Server Error",
  6116. "schema": {
  6117. "$ref": "#/definitions/app.Response"
  6118. }
  6119. }
  6120. }
  6121. }
  6122. },
  6123. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6124. "get": {
  6125. "security": [
  6126. {
  6127. "ApiKeyAuth": []
  6128. }
  6129. ],
  6130. "produces": [
  6131. "application/json"
  6132. ],
  6133. "tags": [
  6134. "企业风险管理v8"
  6135. ],
  6136. "summary": "查询执行中项目查询信息",
  6137. "parameters": [
  6138. {
  6139. "type": "string",
  6140. "description": "用户ID",
  6141. "name": "userid",
  6142. "in": "query",
  6143. "required": true
  6144. }
  6145. ],
  6146. "responses": {
  6147. "200": {
  6148. "description": "OK",
  6149. "schema": {
  6150. "type": "array",
  6151. "items": {
  6152. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6153. }
  6154. }
  6155. },
  6156. "500": {
  6157. "description": "Internal Server Error",
  6158. "schema": {
  6159. "$ref": "#/definitions/app.Response"
  6160. }
  6161. }
  6162. }
  6163. }
  6164. },
  6165. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6166. "get": {
  6167. "security": [
  6168. {
  6169. "ApiKeyAuth": []
  6170. }
  6171. ],
  6172. "produces": [
  6173. "application/json"
  6174. ],
  6175. "tags": [
  6176. "企业风险管理v8"
  6177. ],
  6178. "summary": "内部成交单可关联项目查询",
  6179. "parameters": [
  6180. {
  6181. "type": "integer",
  6182. "description": "企业ID",
  6183. "name": "areauserid",
  6184. "in": "query",
  6185. "required": true
  6186. },
  6187. {
  6188. "type": "integer",
  6189. "description": "期货合约ID",
  6190. "name": "goodsid",
  6191. "in": "query",
  6192. "required": true
  6193. },
  6194. {
  6195. "type": "integer",
  6196. "description": "交易用户ID",
  6197. "name": "tradeuserid",
  6198. "in": "query",
  6199. "required": true
  6200. }
  6201. ],
  6202. "responses": {
  6203. "200": {
  6204. "description": "OK",
  6205. "schema": {
  6206. "type": "array",
  6207. "items": {
  6208. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6209. }
  6210. }
  6211. },
  6212. "500": {
  6213. "description": "Internal Server Error",
  6214. "schema": {
  6215. "$ref": "#/definitions/app.Response"
  6216. }
  6217. }
  6218. }
  6219. }
  6220. },
  6221. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6222. "get": {
  6223. "security": [
  6224. {
  6225. "ApiKeyAuth": []
  6226. }
  6227. ],
  6228. "produces": [
  6229. "application/json"
  6230. ],
  6231. "tags": [
  6232. "企业风险管理v8"
  6233. ],
  6234. "summary": "内部未关联成交单查询",
  6235. "parameters": [
  6236. {
  6237. "type": "integer",
  6238. "description": "用户编号",
  6239. "name": "userid",
  6240. "in": "query",
  6241. "required": true
  6242. },
  6243. {
  6244. "type": "string",
  6245. "description": "起始日期(格式yyyymmdd)",
  6246. "name": "begindate",
  6247. "in": "query"
  6248. },
  6249. {
  6250. "type": "string",
  6251. "description": "终止日期(格式yyyymmdd)",
  6252. "name": "enddate",
  6253. "in": "query"
  6254. },
  6255. {
  6256. "type": "string",
  6257. "description": "合约代码",
  6258. "name": "goodscode",
  6259. "in": "query"
  6260. },
  6261. {
  6262. "type": "string",
  6263. "description": "合约名称",
  6264. "name": "goodsname",
  6265. "in": "query"
  6266. },
  6267. {
  6268. "type": "integer",
  6269. "description": "成交单号",
  6270. "name": "tradeid",
  6271. "in": "query"
  6272. },
  6273. {
  6274. "type": "integer",
  6275. "description": "方向 - 0:买 1:卖",
  6276. "name": "buyorsell",
  6277. "in": "query"
  6278. },
  6279. {
  6280. "type": "string",
  6281. "description": "套期主体",
  6282. "name": "accountname",
  6283. "in": "query"
  6284. }
  6285. ],
  6286. "responses": {
  6287. "200": {
  6288. "description": "OK",
  6289. "schema": {
  6290. "type": "array",
  6291. "items": {
  6292. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6293. }
  6294. }
  6295. },
  6296. "500": {
  6297. "description": "Internal Server Error",
  6298. "schema": {
  6299. "$ref": "#/definitions/app.Response"
  6300. }
  6301. }
  6302. }
  6303. }
  6304. },
  6305. "/Ermcp8/QueryMarketCalendar": {
  6306. "get": {
  6307. "security": [
  6308. {
  6309. "ApiKeyAuth": []
  6310. }
  6311. ],
  6312. "produces": [
  6313. "application/json"
  6314. ],
  6315. "tags": [
  6316. "企业风险管理v8"
  6317. ],
  6318. "summary": "市场节假日查询",
  6319. "parameters": [
  6320. {
  6321. "type": "integer",
  6322. "description": "市场ID",
  6323. "name": "marketid",
  6324. "in": "query"
  6325. }
  6326. ],
  6327. "responses": {
  6328. "200": {
  6329. "description": "OK",
  6330. "schema": {
  6331. "type": "array",
  6332. "items": {
  6333. "$ref": "#/definitions/models.Marketcalendar"
  6334. }
  6335. }
  6336. },
  6337. "500": {
  6338. "description": "Internal Server Error",
  6339. "schema": {
  6340. "$ref": "#/definitions/app.Response"
  6341. }
  6342. }
  6343. }
  6344. }
  6345. },
  6346. "/Ermcp8/QueryPatradeLinkDetail": {
  6347. "get": {
  6348. "security": [
  6349. {
  6350. "ApiKeyAuth": []
  6351. }
  6352. ],
  6353. "produces": [
  6354. "application/json"
  6355. ],
  6356. "tags": [
  6357. "企业风险管理v8"
  6358. ],
  6359. "summary": "敞口明细 - 期货变动明细",
  6360. "parameters": [
  6361. {
  6362. "type": "integer",
  6363. "description": "用户ID",
  6364. "name": "userid",
  6365. "in": "query",
  6366. "required": true
  6367. },
  6368. {
  6369. "type": "integer",
  6370. "description": "套保品种ID",
  6371. "name": "middlegoodsid",
  6372. "in": "query",
  6373. "required": true
  6374. }
  6375. ],
  6376. "responses": {
  6377. "200": {
  6378. "description": "OK",
  6379. "schema": {
  6380. "type": "array",
  6381. "items": {
  6382. "$ref": "#/definitions/models.Patradelinkdetail"
  6383. }
  6384. }
  6385. },
  6386. "500": {
  6387. "description": "Internal Server Error",
  6388. "schema": {
  6389. "$ref": "#/definitions/app.Response"
  6390. }
  6391. }
  6392. }
  6393. }
  6394. },
  6395. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6396. "get": {
  6397. "security": [
  6398. {
  6399. "ApiKeyAuth": []
  6400. }
  6401. ],
  6402. "produces": [
  6403. "application/json"
  6404. ],
  6405. "tags": [
  6406. "企业风险管理v8"
  6407. ],
  6408. "summary": "未关联购销计划",
  6409. "parameters": [
  6410. {
  6411. "type": "integer",
  6412. "description": "企业ID",
  6413. "name": "areauserid",
  6414. "in": "query",
  6415. "required": true
  6416. },
  6417. {
  6418. "type": "integer",
  6419. "description": "计划类型 - 1:采购 -1:销售",
  6420. "name": "contracttype",
  6421. "in": "query"
  6422. },
  6423. {
  6424. "type": "string",
  6425. "description": "计划编号,模糊查询",
  6426. "name": "hedgeplanno",
  6427. "in": "query"
  6428. },
  6429. {
  6430. "type": "string",
  6431. "description": "现货商品,模糊查询",
  6432. "name": "wrstandardname",
  6433. "in": "query"
  6434. }
  6435. ],
  6436. "responses": {
  6437. "200": {
  6438. "description": "OK",
  6439. "schema": {
  6440. "type": "array",
  6441. "items": {
  6442. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6443. }
  6444. }
  6445. },
  6446. "500": {
  6447. "description": "Internal Server Error",
  6448. "schema": {
  6449. "$ref": "#/definitions/app.Response"
  6450. }
  6451. }
  6452. }
  6453. }
  6454. },
  6455. "/Ermcp8/QueryUnLinkSpotContract": {
  6456. "get": {
  6457. "security": [
  6458. {
  6459. "ApiKeyAuth": []
  6460. }
  6461. ],
  6462. "produces": [
  6463. "application/json"
  6464. ],
  6465. "tags": [
  6466. "企业风险管理v8"
  6467. ],
  6468. "summary": "未关联合同查询",
  6469. "parameters": [
  6470. {
  6471. "type": "integer",
  6472. "description": "用户ID",
  6473. "name": "userid",
  6474. "in": "query",
  6475. "required": true
  6476. },
  6477. {
  6478. "type": "integer",
  6479. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6480. "name": "pricetype",
  6481. "in": "query"
  6482. },
  6483. {
  6484. "type": "string",
  6485. "description": "合同编号, 模拟查询",
  6486. "name": "contractno",
  6487. "in": "query"
  6488. },
  6489. {
  6490. "type": "string",
  6491. "description": "对手方, 模拟查询",
  6492. "name": "customername",
  6493. "in": "query"
  6494. },
  6495. {
  6496. "type": "integer",
  6497. "description": "项合同类型 - 1:采购 -1:销售",
  6498. "name": "contracttype",
  6499. "in": "query"
  6500. }
  6501. ],
  6502. "responses": {
  6503. "200": {
  6504. "description": "OK",
  6505. "schema": {
  6506. "type": "array",
  6507. "items": {
  6508. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6509. }
  6510. }
  6511. },
  6512. "500": {
  6513. "description": "Internal Server Error",
  6514. "schema": {
  6515. "$ref": "#/definitions/app.Response"
  6516. }
  6517. }
  6518. }
  6519. }
  6520. },
  6521. "/Erms2/QueryArbitrageStrategy": {
  6522. "get": {
  6523. "security": [
  6524. {
  6525. "ApiKeyAuth": []
  6526. }
  6527. ],
  6528. "produces": [
  6529. "application/json"
  6530. ],
  6531. "tags": [
  6532. "风险管理"
  6533. ],
  6534. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6535. "parameters": [
  6536. {
  6537. "type": "integer",
  6538. "description": "账户ID",
  6539. "name": "userid",
  6540. "in": "query",
  6541. "required": true
  6542. },
  6543. {
  6544. "type": "string",
  6545. "description": "商品组ID(品种ID)",
  6546. "name": "goodsgroupid",
  6547. "in": "query"
  6548. }
  6549. ],
  6550. "responses": {
  6551. "200": {
  6552. "description": "OK",
  6553. "schema": {
  6554. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6555. }
  6556. },
  6557. "500": {
  6558. "description": "Internal Server Error",
  6559. "schema": {
  6560. "$ref": "#/definitions/app.Response"
  6561. }
  6562. }
  6563. }
  6564. }
  6565. },
  6566. "/Erms2/QueryInnerTradeDetail": {
  6567. "get": {
  6568. "security": [
  6569. {
  6570. "ApiKeyAuth": []
  6571. }
  6572. ],
  6573. "produces": [
  6574. "application/json"
  6575. ],
  6576. "tags": [
  6577. "风险管理"
  6578. ],
  6579. "summary": "查询内部成交单信息",
  6580. "parameters": [
  6581. {
  6582. "type": "integer",
  6583. "description": "资金账户",
  6584. "name": "accountid",
  6585. "in": "query",
  6586. "required": true
  6587. }
  6588. ],
  6589. "responses": {
  6590. "200": {
  6591. "description": "OK",
  6592. "schema": {
  6593. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6594. }
  6595. },
  6596. "500": {
  6597. "description": "Internal Server Error",
  6598. "schema": {
  6599. "$ref": "#/definitions/app.Response"
  6600. }
  6601. }
  6602. }
  6603. }
  6604. },
  6605. "/Erms2/QuerySpotContract": {
  6606. "get": {
  6607. "security": [
  6608. {
  6609. "ApiKeyAuth": []
  6610. }
  6611. ],
  6612. "produces": [
  6613. "application/json"
  6614. ],
  6615. "tags": [
  6616. "风险管理"
  6617. ],
  6618. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6619. "parameters": [
  6620. {
  6621. "type": "integer",
  6622. "description": "策略申请ID",
  6623. "name": "asapplyid",
  6624. "in": "query",
  6625. "required": true
  6626. },
  6627. {
  6628. "type": "integer",
  6629. "description": "现货合同ID",
  6630. "name": "spotcontractid",
  6631. "in": "query"
  6632. }
  6633. ],
  6634. "responses": {
  6635. "200": {
  6636. "description": "OK",
  6637. "schema": {
  6638. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6639. }
  6640. },
  6641. "500": {
  6642. "description": "Internal Server Error",
  6643. "schema": {
  6644. "$ref": "#/definitions/app.Response"
  6645. }
  6646. }
  6647. }
  6648. }
  6649. },
  6650. "/Erms3/AddErms2ASApply": {
  6651. "post": {
  6652. "security": [
  6653. {
  6654. "ApiKeyAuth": []
  6655. }
  6656. ],
  6657. "produces": [
  6658. "application/json"
  6659. ],
  6660. "tags": [
  6661. "风险管理v3"
  6662. ],
  6663. "summary": "新增期现套利业务申请",
  6664. "parameters": [
  6665. {
  6666. "description": "申请参数",
  6667. "name": "jsonBody",
  6668. "in": "body",
  6669. "required": true,
  6670. "schema": {
  6671. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6672. }
  6673. }
  6674. ],
  6675. "responses": {
  6676. "200": {
  6677. "description": "OK",
  6678. "schema": {
  6679. "$ref": "#/definitions/app.Response"
  6680. }
  6681. },
  6682. "500": {
  6683. "description": "Internal Server Error",
  6684. "schema": {
  6685. "$ref": "#/definitions/app.Response"
  6686. }
  6687. }
  6688. }
  6689. }
  6690. },
  6691. "/Erms3/AddErms2SpotTradeApply": {
  6692. "post": {
  6693. "security": [
  6694. {
  6695. "ApiKeyAuth": []
  6696. }
  6697. ],
  6698. "produces": [
  6699. "application/json"
  6700. ],
  6701. "tags": [
  6702. "风险管理v3"
  6703. ],
  6704. "summary": "新增现货贸易业务申请",
  6705. "parameters": [
  6706. {
  6707. "description": "申请参数",
  6708. "name": "jsonBody",
  6709. "in": "body",
  6710. "required": true,
  6711. "schema": {
  6712. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  6713. }
  6714. }
  6715. ],
  6716. "responses": {
  6717. "200": {
  6718. "description": "OK",
  6719. "schema": {
  6720. "$ref": "#/definitions/app.Response"
  6721. }
  6722. },
  6723. "500": {
  6724. "description": "Internal Server Error",
  6725. "schema": {
  6726. "$ref": "#/definitions/app.Response"
  6727. }
  6728. }
  6729. }
  6730. }
  6731. },
  6732. "/Erms3/AddSpotContractApply": {
  6733. "post": {
  6734. "security": [
  6735. {
  6736. "ApiKeyAuth": []
  6737. }
  6738. ],
  6739. "produces": [
  6740. "application/json"
  6741. ],
  6742. "tags": [
  6743. "风险管理v3"
  6744. ],
  6745. "summary": "新增现货合同申请",
  6746. "parameters": [
  6747. {
  6748. "description": "申请参数",
  6749. "name": "jsonBody",
  6750. "in": "body",
  6751. "required": true,
  6752. "schema": {
  6753. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  6754. }
  6755. }
  6756. ],
  6757. "responses": {
  6758. "200": {
  6759. "description": "OK",
  6760. "schema": {
  6761. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  6762. }
  6763. },
  6764. "500": {
  6765. "description": "Internal Server Error",
  6766. "schema": {
  6767. "$ref": "#/definitions/app.Response"
  6768. }
  6769. }
  6770. }
  6771. }
  6772. },
  6773. "/Erms3/AddUserInfoApply": {
  6774. "post": {
  6775. "security": [
  6776. {
  6777. "ApiKeyAuth": []
  6778. }
  6779. ],
  6780. "produces": [
  6781. "application/json"
  6782. ],
  6783. "tags": [
  6784. "风险管理v3"
  6785. ],
  6786. "summary": "新增客户申请",
  6787. "parameters": [
  6788. {
  6789. "description": "用户信息",
  6790. "name": "jsonBody",
  6791. "in": "body",
  6792. "required": true,
  6793. "schema": {
  6794. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  6795. }
  6796. }
  6797. ],
  6798. "responses": {
  6799. "200": {
  6800. "description": "OK",
  6801. "schema": {
  6802. "$ref": "#/definitions/app.Response"
  6803. }
  6804. },
  6805. "500": {
  6806. "description": "Internal Server Error",
  6807. "schema": {
  6808. "$ref": "#/definitions/app.Response"
  6809. }
  6810. }
  6811. }
  6812. }
  6813. },
  6814. "/Erms3/DeleteUserInfoApply": {
  6815. "get": {
  6816. "security": [
  6817. {
  6818. "ApiKeyAuth": []
  6819. }
  6820. ],
  6821. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  6822. "produces": [
  6823. "application/json"
  6824. ],
  6825. "tags": [
  6826. "风险管理v3"
  6827. ],
  6828. "summary": "删除客户申请",
  6829. "parameters": [
  6830. {
  6831. "type": "integer",
  6832. "description": "用户ID",
  6833. "name": "userID",
  6834. "in": "query",
  6835. "required": true
  6836. }
  6837. ],
  6838. "responses": {
  6839. "200": {
  6840. "description": "OK",
  6841. "schema": {
  6842. "$ref": "#/definitions/app.Response"
  6843. }
  6844. },
  6845. "500": {
  6846. "description": "Internal Server Error",
  6847. "schema": {
  6848. "$ref": "#/definitions/app.Response"
  6849. }
  6850. }
  6851. }
  6852. }
  6853. },
  6854. "/Erms3/ModifyUserInfoApply": {
  6855. "post": {
  6856. "security": [
  6857. {
  6858. "ApiKeyAuth": []
  6859. }
  6860. ],
  6861. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  6862. "produces": [
  6863. "application/json"
  6864. ],
  6865. "tags": [
  6866. "风险管理v3"
  6867. ],
  6868. "summary": "修改客户申请",
  6869. "parameters": [
  6870. {
  6871. "description": "用户信息",
  6872. "name": "jsonBody",
  6873. "in": "body",
  6874. "required": true,
  6875. "schema": {
  6876. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  6877. }
  6878. }
  6879. ],
  6880. "responses": {
  6881. "200": {
  6882. "description": "OK",
  6883. "schema": {
  6884. "$ref": "#/definitions/app.Response"
  6885. }
  6886. },
  6887. "500": {
  6888. "description": "Internal Server Error",
  6889. "schema": {
  6890. "$ref": "#/definitions/app.Response"
  6891. }
  6892. }
  6893. }
  6894. }
  6895. },
  6896. "/Erms3/QueryBusinessInfo": {
  6897. "get": {
  6898. "security": [
  6899. {
  6900. "ApiKeyAuth": []
  6901. }
  6902. ],
  6903. "produces": [
  6904. "application/json"
  6905. ],
  6906. "tags": [
  6907. "风险管理v3"
  6908. ],
  6909. "summary": "查询业务表单数据",
  6910. "parameters": [
  6911. {
  6912. "type": "string",
  6913. "description": "资金账号ID列表,用逗号分隔",
  6914. "name": "accountids",
  6915. "in": "query",
  6916. "required": true
  6917. },
  6918. {
  6919. "type": "integer",
  6920. "description": "状态,0为未结束 1为已结束",
  6921. "name": "status",
  6922. "in": "query",
  6923. "required": true
  6924. }
  6925. ],
  6926. "responses": {
  6927. "200": {
  6928. "description": "OK",
  6929. "schema": {
  6930. "type": "array",
  6931. "items": {
  6932. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  6933. }
  6934. }
  6935. },
  6936. "500": {
  6937. "description": "Internal Server Error",
  6938. "schema": {
  6939. "$ref": "#/definitions/app.Response"
  6940. }
  6941. }
  6942. }
  6943. }
  6944. },
  6945. "/Erms3/QueryPendingAuditContract": {
  6946. "get": {
  6947. "security": [
  6948. {
  6949. "ApiKeyAuth": []
  6950. }
  6951. ],
  6952. "produces": [
  6953. "application/json"
  6954. ],
  6955. "tags": [
  6956. "风险管理v3"
  6957. ],
  6958. "summary": "查询待审核合同",
  6959. "parameters": [
  6960. {
  6961. "type": "string",
  6962. "description": "资金账号ID列表,逗号隔开",
  6963. "name": "accountids",
  6964. "in": "query",
  6965. "required": true
  6966. },
  6967. {
  6968. "type": "integer",
  6969. "description": "合同类型 1-采购 -1-销售",
  6970. "name": "contracttype",
  6971. "in": "query",
  6972. "required": true
  6973. },
  6974. {
  6975. "type": "integer",
  6976. "description": "合同模式 1-普通 2-回购",
  6977. "name": "contractmode",
  6978. "in": "query",
  6979. "required": true
  6980. }
  6981. ],
  6982. "responses": {
  6983. "200": {
  6984. "description": "OK",
  6985. "schema": {
  6986. "type": "array",
  6987. "items": {
  6988. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  6989. }
  6990. }
  6991. },
  6992. "500": {
  6993. "description": "Internal Server Error",
  6994. "schema": {
  6995. "$ref": "#/definitions/app.Response"
  6996. }
  6997. }
  6998. }
  6999. }
  7000. },
  7001. "/Erms3/QueryPendingBusiness": {
  7002. "get": {
  7003. "security": [
  7004. {
  7005. "ApiKeyAuth": []
  7006. }
  7007. ],
  7008. "produces": [
  7009. "application/json"
  7010. ],
  7011. "tags": [
  7012. "风险管理v3"
  7013. ],
  7014. "summary": "查询待审核基差贸易业务",
  7015. "parameters": [
  7016. {
  7017. "type": "string",
  7018. "description": "资金账号ID列表,逗号隔开",
  7019. "name": "accountids",
  7020. "in": "query",
  7021. "required": true
  7022. }
  7023. ],
  7024. "responses": {
  7025. "200": {
  7026. "description": "OK",
  7027. "schema": {
  7028. "type": "array",
  7029. "items": {
  7030. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7031. }
  7032. }
  7033. },
  7034. "500": {
  7035. "description": "Internal Server Error",
  7036. "schema": {
  7037. "$ref": "#/definitions/app.Response"
  7038. }
  7039. }
  7040. }
  7041. }
  7042. },
  7043. "/Erms3/QuerySpotContractAppleForm": {
  7044. "get": {
  7045. "security": [
  7046. {
  7047. "ApiKeyAuth": []
  7048. }
  7049. ],
  7050. "produces": [
  7051. "application/json"
  7052. ],
  7053. "tags": [
  7054. "风险管理v3"
  7055. ],
  7056. "summary": "查询合同申请表单数据",
  7057. "parameters": [
  7058. {
  7059. "type": "integer",
  7060. "description": "登录账号",
  7061. "name": "loginID",
  7062. "in": "query",
  7063. "required": true
  7064. }
  7065. ],
  7066. "responses": {
  7067. "200": {
  7068. "description": "OK",
  7069. "schema": {
  7070. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7071. }
  7072. },
  7073. "500": {
  7074. "description": "Internal Server Error",
  7075. "schema": {
  7076. "$ref": "#/definitions/app.Response"
  7077. }
  7078. }
  7079. }
  7080. }
  7081. },
  7082. "/Erms3/QuerySpotContractDetail": {
  7083. "get": {
  7084. "security": [
  7085. {
  7086. "ApiKeyAuth": []
  7087. }
  7088. ],
  7089. "produces": [
  7090. "application/json"
  7091. ],
  7092. "tags": [
  7093. "风险管理v3"
  7094. ],
  7095. "summary": "查询合同详细信息",
  7096. "parameters": [
  7097. {
  7098. "type": "string",
  7099. "description": "资金账号ID列表,用逗号分隔",
  7100. "name": "accountids",
  7101. "in": "query",
  7102. "required": true
  7103. },
  7104. {
  7105. "type": "integer",
  7106. "description": "合同类型,1为采购合同 -1为销售合同",
  7107. "name": "contracttype",
  7108. "in": "query",
  7109. "required": true
  7110. },
  7111. {
  7112. "type": "integer",
  7113. "description": "合同模式,1为普通合同 2为回购销售合同",
  7114. "name": "contractmode",
  7115. "in": "query",
  7116. "required": true
  7117. },
  7118. {
  7119. "type": "integer",
  7120. "description": "状态,0为履约中 1为已完成",
  7121. "name": "status",
  7122. "in": "query",
  7123. "required": true
  7124. }
  7125. ],
  7126. "responses": {
  7127. "200": {
  7128. "description": "OK",
  7129. "schema": {
  7130. "type": "array",
  7131. "items": {
  7132. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7133. }
  7134. }
  7135. },
  7136. "500": {
  7137. "description": "Internal Server Error",
  7138. "schema": {
  7139. "$ref": "#/definitions/app.Response"
  7140. }
  7141. }
  7142. }
  7143. }
  7144. },
  7145. "/Erms3/QueryUserInfoApplies": {
  7146. "get": {
  7147. "security": [
  7148. {
  7149. "ApiKeyAuth": []
  7150. }
  7151. ],
  7152. "produces": [
  7153. "application/json"
  7154. ],
  7155. "tags": [
  7156. "风险管理v3"
  7157. ],
  7158. "summary": "客户申请信息查询",
  7159. "parameters": [
  7160. {
  7161. "type": "integer",
  7162. "description": "页码",
  7163. "name": "page",
  7164. "in": "query"
  7165. },
  7166. {
  7167. "type": "integer",
  7168. "description": "每页条数",
  7169. "name": "pagesize",
  7170. "in": "query"
  7171. },
  7172. {
  7173. "type": "string",
  7174. "description": "客户名称,支持模糊查询",
  7175. "name": "userName",
  7176. "in": "query"
  7177. }
  7178. ],
  7179. "responses": {
  7180. "200": {
  7181. "description": "OK",
  7182. "schema": {
  7183. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7184. }
  7185. },
  7186. "500": {
  7187. "description": "Internal Server Error",
  7188. "schema": {
  7189. "$ref": "#/definitions/app.Response"
  7190. }
  7191. }
  7192. }
  7193. }
  7194. },
  7195. "/Erms3/QueryUserInfos": {
  7196. "get": {
  7197. "security": [
  7198. {
  7199. "ApiKeyAuth": []
  7200. }
  7201. ],
  7202. "produces": [
  7203. "application/json"
  7204. ],
  7205. "tags": [
  7206. "风险管理v3"
  7207. ],
  7208. "summary": "客户信息查询",
  7209. "parameters": [
  7210. {
  7211. "type": "integer",
  7212. "description": "页码",
  7213. "name": "page",
  7214. "in": "query"
  7215. },
  7216. {
  7217. "type": "integer",
  7218. "description": "每页条数",
  7219. "name": "pagesize",
  7220. "in": "query"
  7221. },
  7222. {
  7223. "type": "string",
  7224. "description": "客户名称,支持模糊查询",
  7225. "name": "userName",
  7226. "in": "query"
  7227. }
  7228. ],
  7229. "responses": {
  7230. "200": {
  7231. "description": "OK",
  7232. "schema": {
  7233. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7234. }
  7235. },
  7236. "500": {
  7237. "description": "Internal Server Error",
  7238. "schema": {
  7239. "$ref": "#/definitions/app.Response"
  7240. }
  7241. }
  7242. }
  7243. }
  7244. },
  7245. "/HSBY/GetHsbyMyCount": {
  7246. "get": {
  7247. "security": [
  7248. {
  7249. "ApiKeyAuth": []
  7250. }
  7251. ],
  7252. "description": "说明: 不包括已完成的数量。",
  7253. "produces": [
  7254. "application/json"
  7255. ],
  7256. "tags": [
  7257. "定制【海商报业】"
  7258. ],
  7259. "summary": "获取我的订单与包裹数量",
  7260. "parameters": [
  7261. {
  7262. "type": "string",
  7263. "description": "资金账户列表,格式:1,2,3",
  7264. "name": "accountIDs",
  7265. "in": "query",
  7266. "required": true
  7267. }
  7268. ],
  7269. "responses": {
  7270. "200": {
  7271. "description": "OK",
  7272. "schema": {
  7273. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  7274. }
  7275. },
  7276. "500": {
  7277. "description": "Internal Server Error",
  7278. "schema": {
  7279. "$ref": "#/definitions/app.Response"
  7280. }
  7281. }
  7282. }
  7283. }
  7284. },
  7285. "/HSBY/QueryClientFixedADConfigs": {
  7286. "get": {
  7287. "security": [
  7288. {
  7289. "ApiKeyAuth": []
  7290. }
  7291. ],
  7292. "produces": [
  7293. "application/json"
  7294. ],
  7295. "tags": [
  7296. "定制【海商报业】"
  7297. ],
  7298. "summary": "获取终端固定广告配置",
  7299. "responses": {
  7300. "200": {
  7301. "description": "OK",
  7302. "schema": {
  7303. "$ref": "#/definitions/models.Clientfixedadconfig"
  7304. }
  7305. },
  7306. "500": {
  7307. "description": "Internal Server Error",
  7308. "schema": {
  7309. "$ref": "#/definitions/app.Response"
  7310. }
  7311. }
  7312. }
  7313. }
  7314. },
  7315. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  7316. "get": {
  7317. "security": [
  7318. {
  7319. "ApiKeyAuth": []
  7320. }
  7321. ],
  7322. "produces": [
  7323. "application/json"
  7324. ],
  7325. "tags": [
  7326. "定制【海商报业】"
  7327. ],
  7328. "summary": "查询\"我的订单 - 已完成\"单据信息",
  7329. "parameters": [
  7330. {
  7331. "type": "integer",
  7332. "description": "页码",
  7333. "name": "page",
  7334. "in": "query"
  7335. },
  7336. {
  7337. "type": "integer",
  7338. "description": "每页条数",
  7339. "name": "pagesize",
  7340. "in": "query"
  7341. },
  7342. {
  7343. "type": "string",
  7344. "description": "资金账户列表,格式:1,2,3",
  7345. "name": "accountIDs",
  7346. "in": "query",
  7347. "required": true
  7348. }
  7349. ],
  7350. "responses": {
  7351. "200": {
  7352. "description": "OK",
  7353. "schema": {
  7354. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  7355. }
  7356. },
  7357. "500": {
  7358. "description": "Internal Server Error",
  7359. "schema": {
  7360. "$ref": "#/definitions/app.Response"
  7361. }
  7362. }
  7363. }
  7364. }
  7365. },
  7366. "/HSBY/QueryHsbyGoodsOrderDetails": {
  7367. "get": {
  7368. "security": [
  7369. {
  7370. "ApiKeyAuth": []
  7371. }
  7372. ],
  7373. "description": "说明:查询结果已按委托价格和委托时间排序",
  7374. "produces": [
  7375. "application/json"
  7376. ],
  7377. "tags": [
  7378. "定制【海商报业】"
  7379. ],
  7380. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  7381. "parameters": [
  7382. {
  7383. "type": "integer",
  7384. "description": "商品ID",
  7385. "name": "goodsID",
  7386. "in": "query",
  7387. "required": true
  7388. },
  7389. {
  7390. "type": "string",
  7391. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  7392. "name": "accountIDs",
  7393. "in": "query"
  7394. },
  7395. {
  7396. "type": "integer",
  7397. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  7398. "name": "buyOrSell",
  7399. "in": "query"
  7400. },
  7401. {
  7402. "type": "number",
  7403. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  7404. "name": "price",
  7405. "in": "query"
  7406. },
  7407. {
  7408. "type": "integer",
  7409. "description": "档位,不传则默认为3档",
  7410. "name": "speed",
  7411. "in": "query"
  7412. }
  7413. ],
  7414. "responses": {
  7415. "200": {
  7416. "description": "OK",
  7417. "schema": {
  7418. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  7419. }
  7420. },
  7421. "500": {
  7422. "description": "Internal Server Error",
  7423. "schema": {
  7424. "$ref": "#/definitions/app.Response"
  7425. }
  7426. }
  7427. }
  7428. }
  7429. },
  7430. "/HSBY/QueryHsbyListingGoodsDetail": {
  7431. "get": {
  7432. "security": [
  7433. {
  7434. "ApiKeyAuth": []
  7435. }
  7436. ],
  7437. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  7438. "produces": [
  7439. "application/json"
  7440. ],
  7441. "tags": [
  7442. "定制【海商报业】"
  7443. ],
  7444. "summary": "查询二级市场(挂牌点选)商品信息详情",
  7445. "parameters": [
  7446. {
  7447. "type": "integer",
  7448. "description": "商品ID",
  7449. "name": "goodsID",
  7450. "in": "query",
  7451. "required": true
  7452. },
  7453. {
  7454. "type": "integer",
  7455. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  7456. "name": "accountID",
  7457. "in": "query"
  7458. }
  7459. ],
  7460. "responses": {
  7461. "200": {
  7462. "description": "OK",
  7463. "schema": {
  7464. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  7465. }
  7466. },
  7467. "500": {
  7468. "description": "Internal Server Error",
  7469. "schema": {
  7470. "$ref": "#/definitions/app.Response"
  7471. }
  7472. }
  7473. }
  7474. }
  7475. },
  7476. "/HSBY/QueryHsbyMarketGoodsDetail": {
  7477. "get": {
  7478. "security": [
  7479. {
  7480. "ApiKeyAuth": []
  7481. }
  7482. ],
  7483. "produces": [
  7484. "application/json"
  7485. ],
  7486. "tags": [
  7487. "定制【海商报业】"
  7488. ],
  7489. "summary": "查询三级市场(商城)商品信息详情",
  7490. "parameters": [
  7491. {
  7492. "type": "integer",
  7493. "description": "委托单号",
  7494. "name": "orderID",
  7495. "in": "query",
  7496. "required": true
  7497. },
  7498. {
  7499. "type": "integer",
  7500. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  7501. "name": "accountID",
  7502. "in": "query"
  7503. }
  7504. ],
  7505. "responses": {
  7506. "200": {
  7507. "description": "OK",
  7508. "schema": {
  7509. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7510. }
  7511. },
  7512. "500": {
  7513. "description": "Internal Server Error",
  7514. "schema": {
  7515. "$ref": "#/definitions/app.Response"
  7516. }
  7517. }
  7518. }
  7519. }
  7520. },
  7521. "/HSBY/QueryHsbyMarketGoodses": {
  7522. "get": {
  7523. "security": [
  7524. {
  7525. "ApiKeyAuth": []
  7526. }
  7527. ],
  7528. "produces": [
  7529. "application/json"
  7530. ],
  7531. "tags": [
  7532. "定制【海商报业】"
  7533. ],
  7534. "summary": "查询特卖商品列表(三级商城)",
  7535. "parameters": [
  7536. {
  7537. "type": "integer",
  7538. "description": "页码",
  7539. "name": "page",
  7540. "in": "query"
  7541. },
  7542. {
  7543. "type": "integer",
  7544. "description": "每页条数",
  7545. "name": "pagesize",
  7546. "in": "query"
  7547. },
  7548. {
  7549. "type": "string",
  7550. "description": "市场ID列表,格式:1,2,3",
  7551. "name": "marketIDs",
  7552. "in": "query",
  7553. "required": true
  7554. },
  7555. {
  7556. "type": "integer",
  7557. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  7558. "name": "accountID",
  7559. "in": "query",
  7560. "required": true
  7561. },
  7562. {
  7563. "type": "integer",
  7564. "description": "类别ID",
  7565. "name": "categoryID",
  7566. "in": "query"
  7567. },
  7568. {
  7569. "type": "string",
  7570. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7571. "name": "goodsIDs",
  7572. "in": "query"
  7573. },
  7574. {
  7575. "type": "integer",
  7576. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  7577. "name": "couponTypeID",
  7578. "in": "query"
  7579. }
  7580. ],
  7581. "responses": {
  7582. "200": {
  7583. "description": "OK",
  7584. "schema": {
  7585. "$ref": "#/definitions/models.HsbyMarketGoods"
  7586. }
  7587. },
  7588. "500": {
  7589. "description": "Internal Server Error",
  7590. "schema": {
  7591. "$ref": "#/definitions/app.Response"
  7592. }
  7593. }
  7594. }
  7595. }
  7596. },
  7597. "/HSBY/QueryHsbyMarkets": {
  7598. "get": {
  7599. "security": [
  7600. {
  7601. "ApiKeyAuth": []
  7602. }
  7603. ],
  7604. "produces": [
  7605. "application/json"
  7606. ],
  7607. "tags": [
  7608. "定制【海商报业】"
  7609. ],
  7610. "summary": "查询海商报业相关市场信息",
  7611. "responses": {
  7612. "200": {
  7613. "description": "OK",
  7614. "schema": {
  7615. "$ref": "#/definitions/models.HsbyMarketInfo"
  7616. }
  7617. },
  7618. "500": {
  7619. "description": "Internal Server Error",
  7620. "schema": {
  7621. "$ref": "#/definitions/app.Response"
  7622. }
  7623. }
  7624. }
  7625. }
  7626. },
  7627. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  7628. "get": {
  7629. "security": [
  7630. {
  7631. "ApiKeyAuth": []
  7632. }
  7633. ],
  7634. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  7635. "produces": [
  7636. "application/json"
  7637. ],
  7638. "tags": [
  7639. "定制【海商报业】"
  7640. ],
  7641. "summary": "查询“我的订单”信息",
  7642. "parameters": [
  7643. {
  7644. "type": "string",
  7645. "description": "资金账户列表,格式:1,2,3",
  7646. "name": "accountIDs",
  7647. "in": "query",
  7648. "required": true
  7649. }
  7650. ],
  7651. "responses": {
  7652. "200": {
  7653. "description": "OK",
  7654. "schema": {
  7655. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  7656. }
  7657. },
  7658. "500": {
  7659. "description": "Internal Server Error",
  7660. "schema": {
  7661. "$ref": "#/definitions/app.Response"
  7662. }
  7663. }
  7664. }
  7665. }
  7666. },
  7667. "/HSBY/QueryHsbyMyGoods": {
  7668. "get": {
  7669. "security": [
  7670. {
  7671. "ApiKeyAuth": []
  7672. }
  7673. ],
  7674. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  7675. "produces": [
  7676. "application/json"
  7677. ],
  7678. "tags": [
  7679. "定制【海商报业】"
  7680. ],
  7681. "summary": "查询“我的商品”信息",
  7682. "parameters": [
  7683. {
  7684. "type": "string",
  7685. "description": "资金账户列表,格式:1,2,3",
  7686. "name": "accountIDs",
  7687. "in": "query",
  7688. "required": true
  7689. }
  7690. ],
  7691. "responses": {
  7692. "200": {
  7693. "description": "OK",
  7694. "schema": {
  7695. "$ref": "#/definitions/models.HsbyMyGoods"
  7696. }
  7697. },
  7698. "500": {
  7699. "description": "Internal Server Error",
  7700. "schema": {
  7701. "$ref": "#/definitions/app.Response"
  7702. }
  7703. }
  7704. }
  7705. }
  7706. },
  7707. "/HSBY/QueryHsbyMyPackages": {
  7708. "get": {
  7709. "security": [
  7710. {
  7711. "ApiKeyAuth": []
  7712. }
  7713. ],
  7714. "produces": [
  7715. "application/json"
  7716. ],
  7717. "tags": [
  7718. "定制【海商报业】"
  7719. ],
  7720. "summary": "查询我的包裹信息",
  7721. "parameters": [
  7722. {
  7723. "type": "string",
  7724. "description": "资金账户列表,格式:1,2,3",
  7725. "name": "accountIDs",
  7726. "in": "query",
  7727. "required": true
  7728. },
  7729. {
  7730. "type": "integer",
  7731. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7732. "name": "takeOrderStatus",
  7733. "in": "query"
  7734. }
  7735. ],
  7736. "responses": {
  7737. "200": {
  7738. "description": "OK",
  7739. "schema": {
  7740. "$ref": "#/definitions/models.HsbyMyPackage"
  7741. }
  7742. },
  7743. "500": {
  7744. "description": "Internal Server Error",
  7745. "schema": {
  7746. "$ref": "#/definitions/app.Response"
  7747. }
  7748. }
  7749. }
  7750. }
  7751. },
  7752. "/HSBY/QueryHsbyPreGoodsDetail": {
  7753. "get": {
  7754. "security": [
  7755. {
  7756. "ApiKeyAuth": []
  7757. }
  7758. ],
  7759. "produces": [
  7760. "application/json"
  7761. ],
  7762. "tags": [
  7763. "定制【海商报业】"
  7764. ],
  7765. "summary": "查询一级市场(预售)商品信息详情",
  7766. "parameters": [
  7767. {
  7768. "type": "integer",
  7769. "description": "商品ID",
  7770. "name": "goodsID",
  7771. "in": "query",
  7772. "required": true
  7773. },
  7774. {
  7775. "type": "integer",
  7776. "description": "资金账户,主要用于获取预售商品购买上限",
  7777. "name": "accountID",
  7778. "in": "query"
  7779. }
  7780. ],
  7781. "responses": {
  7782. "200": {
  7783. "description": "OK",
  7784. "schema": {
  7785. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  7786. }
  7787. },
  7788. "500": {
  7789. "description": "Internal Server Error",
  7790. "schema": {
  7791. "$ref": "#/definitions/app.Response"
  7792. }
  7793. }
  7794. }
  7795. }
  7796. },
  7797. "/HSBY/QueryHsbyPreGoodses": {
  7798. "get": {
  7799. "security": [
  7800. {
  7801. "ApiKeyAuth": []
  7802. }
  7803. ],
  7804. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  7805. "produces": [
  7806. "application/json"
  7807. ],
  7808. "tags": [
  7809. "定制【海商报业】"
  7810. ],
  7811. "summary": "查询新品上市商品列表(一级市场预售)",
  7812. "parameters": [
  7813. {
  7814. "type": "integer",
  7815. "description": "页码",
  7816. "name": "page",
  7817. "in": "query"
  7818. },
  7819. {
  7820. "type": "integer",
  7821. "description": "每页条数",
  7822. "name": "pagesize",
  7823. "in": "query"
  7824. },
  7825. {
  7826. "type": "string",
  7827. "description": "市场ID列表,格式:1,2,3",
  7828. "name": "marketIDs",
  7829. "in": "query",
  7830. "required": true
  7831. },
  7832. {
  7833. "type": "integer",
  7834. "description": "目的地(省)ID",
  7835. "name": "descProvinceID",
  7836. "in": "query"
  7837. },
  7838. {
  7839. "type": "integer",
  7840. "description": "目的地(市)ID",
  7841. "name": "descCityID",
  7842. "in": "query"
  7843. }
  7844. ],
  7845. "responses": {
  7846. "200": {
  7847. "description": "OK",
  7848. "schema": {
  7849. "$ref": "#/definitions/models.HsbyPreGoods"
  7850. }
  7851. },
  7852. "500": {
  7853. "description": "Internal Server Error",
  7854. "schema": {
  7855. "$ref": "#/definitions/app.Response"
  7856. }
  7857. }
  7858. }
  7859. }
  7860. },
  7861. "/HSBY/QueryHsbySellMyDetails": {
  7862. "get": {
  7863. "security": [
  7864. {
  7865. "ApiKeyAuth": []
  7866. }
  7867. ],
  7868. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  7869. "produces": [
  7870. "application/json"
  7871. ],
  7872. "tags": [
  7873. "定制【海商报业】"
  7874. ],
  7875. "summary": "查询\"我的闲置\"单据信息",
  7876. "parameters": [
  7877. {
  7878. "type": "integer",
  7879. "description": "页码",
  7880. "name": "page",
  7881. "in": "query"
  7882. },
  7883. {
  7884. "type": "integer",
  7885. "description": "每页条数",
  7886. "name": "pagesize",
  7887. "in": "query"
  7888. },
  7889. {
  7890. "type": "string",
  7891. "description": "资金账户列表,格式:1,2,3",
  7892. "name": "accountIDs",
  7893. "in": "query",
  7894. "required": true
  7895. },
  7896. {
  7897. "type": "integer",
  7898. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  7899. "name": "orderType",
  7900. "in": "query"
  7901. }
  7902. ],
  7903. "responses": {
  7904. "200": {
  7905. "description": "OK",
  7906. "schema": {
  7907. "$ref": "#/definitions/models.HsbySellMyDetail"
  7908. }
  7909. },
  7910. "500": {
  7911. "description": "Internal Server Error",
  7912. "schema": {
  7913. "$ref": "#/definitions/app.Response"
  7914. }
  7915. }
  7916. }
  7917. }
  7918. },
  7919. "/HSBY/QueryHsbyTopGoodses": {
  7920. "get": {
  7921. "security": [
  7922. {
  7923. "ApiKeyAuth": []
  7924. }
  7925. ],
  7926. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  7927. "produces": [
  7928. "application/json"
  7929. ],
  7930. "tags": [
  7931. "定制【海商报业】"
  7932. ],
  7933. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  7934. "parameters": [
  7935. {
  7936. "type": "integer",
  7937. "description": "页码",
  7938. "name": "page",
  7939. "in": "query"
  7940. },
  7941. {
  7942. "type": "integer",
  7943. "description": "每页条数",
  7944. "name": "pagesize",
  7945. "in": "query"
  7946. },
  7947. {
  7948. "type": "string",
  7949. "description": "市场ID列表,格式:1,2,3",
  7950. "name": "marketIDs",
  7951. "in": "query",
  7952. "required": true
  7953. },
  7954. {
  7955. "type": "integer",
  7956. "description": "目的地(省)ID",
  7957. "name": "descProvinceID",
  7958. "in": "query"
  7959. },
  7960. {
  7961. "type": "integer",
  7962. "description": "目的地(市)ID",
  7963. "name": "descCityID",
  7964. "in": "query"
  7965. }
  7966. ],
  7967. "responses": {
  7968. "200": {
  7969. "description": "OK",
  7970. "schema": {
  7971. "$ref": "#/definitions/models.HsbyTopGoods"
  7972. }
  7973. },
  7974. "500": {
  7975. "description": "Internal Server Error",
  7976. "schema": {
  7977. "$ref": "#/definitions/app.Response"
  7978. }
  7979. }
  7980. }
  7981. }
  7982. },
  7983. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  7984. "get": {
  7985. "security": [
  7986. {
  7987. "ApiKeyAuth": []
  7988. }
  7989. ],
  7990. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  7991. "produces": [
  7992. "application/json"
  7993. ],
  7994. "tags": [
  7995. "定制【海商报业】"
  7996. ],
  7997. "summary": "查询游客三级市场(商城)商品信息详情",
  7998. "parameters": [
  7999. {
  8000. "type": "integer",
  8001. "description": "商品ID",
  8002. "name": "goodsID",
  8003. "in": "query",
  8004. "required": true
  8005. }
  8006. ],
  8007. "responses": {
  8008. "200": {
  8009. "description": "OK",
  8010. "schema": {
  8011. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  8012. }
  8013. },
  8014. "500": {
  8015. "description": "Internal Server Error",
  8016. "schema": {
  8017. "$ref": "#/definitions/app.Response"
  8018. }
  8019. }
  8020. }
  8021. }
  8022. },
  8023. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  8024. "get": {
  8025. "security": [
  8026. {
  8027. "ApiKeyAuth": []
  8028. }
  8029. ],
  8030. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  8031. "produces": [
  8032. "application/json"
  8033. ],
  8034. "tags": [
  8035. "定制【海商报业】"
  8036. ],
  8037. "summary": "查询游客特卖商品列表(三级商城)",
  8038. "parameters": [
  8039. {
  8040. "type": "integer",
  8041. "description": "页码",
  8042. "name": "page",
  8043. "in": "query"
  8044. },
  8045. {
  8046. "type": "integer",
  8047. "description": "每页条数",
  8048. "name": "pagesize",
  8049. "in": "query"
  8050. },
  8051. {
  8052. "type": "string",
  8053. "description": "市场ID列表,格式:1,2,3",
  8054. "name": "marketIDs",
  8055. "in": "query",
  8056. "required": true
  8057. },
  8058. {
  8059. "type": "integer",
  8060. "description": "类别ID",
  8061. "name": "categoryID",
  8062. "in": "query"
  8063. },
  8064. {
  8065. "type": "string",
  8066. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  8067. "name": "goodsIDs",
  8068. "in": "query"
  8069. }
  8070. ],
  8071. "responses": {
  8072. "200": {
  8073. "description": "OK",
  8074. "schema": {
  8075. "$ref": "#/definitions/models.HsbyMarketGoods"
  8076. }
  8077. },
  8078. "500": {
  8079. "description": "Internal Server Error",
  8080. "schema": {
  8081. "$ref": "#/definitions/app.Response"
  8082. }
  8083. }
  8084. }
  8085. }
  8086. },
  8087. "/HSBY/QueryMyCollectionOrders": {
  8088. "get": {
  8089. "security": [
  8090. {
  8091. "ApiKeyAuth": []
  8092. }
  8093. ],
  8094. "produces": [
  8095. "application/json"
  8096. ],
  8097. "tags": [
  8098. "定制【海商报业】"
  8099. ],
  8100. "summary": "我的闲置中收款信息查询",
  8101. "parameters": [
  8102. {
  8103. "type": "integer",
  8104. "description": "页码",
  8105. "name": "page",
  8106. "in": "query"
  8107. },
  8108. {
  8109. "type": "integer",
  8110. "description": "每页条数",
  8111. "name": "pagesize",
  8112. "in": "query"
  8113. },
  8114. {
  8115. "type": "string",
  8116. "description": "资金账户,格式:1,2,3",
  8117. "name": "accountIDs",
  8118. "in": "query",
  8119. "required": true
  8120. }
  8121. ],
  8122. "responses": {
  8123. "200": {
  8124. "description": "OK",
  8125. "schema": {
  8126. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  8127. }
  8128. },
  8129. "500": {
  8130. "description": "Internal Server Error",
  8131. "schema": {
  8132. "$ref": "#/definitions/app.Response"
  8133. }
  8134. }
  8135. }
  8136. }
  8137. },
  8138. "/HSBY/QueryMyCouponHolds": {
  8139. "get": {
  8140. "security": [
  8141. {
  8142. "ApiKeyAuth": []
  8143. }
  8144. ],
  8145. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  8146. "produces": [
  8147. "application/json"
  8148. ],
  8149. "tags": [
  8150. "定制【海商报业】"
  8151. ],
  8152. "summary": "我的优惠卷持仓查询",
  8153. "parameters": [
  8154. {
  8155. "type": "string",
  8156. "description": "资金账户列表,格式:1,2,3",
  8157. "name": "accountIDs",
  8158. "in": "query",
  8159. "required": true
  8160. },
  8161. {
  8162. "type": "string",
  8163. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  8164. "name": "holdStatus",
  8165. "in": "query"
  8166. }
  8167. ],
  8168. "responses": {
  8169. "200": {
  8170. "description": "OK",
  8171. "schema": {
  8172. "$ref": "#/definitions/models.MyCouponHold"
  8173. }
  8174. },
  8175. "500": {
  8176. "description": "Internal Server Error",
  8177. "schema": {
  8178. "$ref": "#/definitions/app.Response"
  8179. }
  8180. }
  8181. }
  8182. }
  8183. },
  8184. "/HSBY/QueryMyCoupons": {
  8185. "get": {
  8186. "security": [
  8187. {
  8188. "ApiKeyAuth": []
  8189. }
  8190. ],
  8191. "produces": [
  8192. "application/json"
  8193. ],
  8194. "tags": [
  8195. "定制【海商报业】"
  8196. ],
  8197. "summary": "我的优惠卷查询",
  8198. "parameters": [
  8199. {
  8200. "type": "string",
  8201. "description": "资金账户列表,格式:1,2,3",
  8202. "name": "accountIDs",
  8203. "in": "query",
  8204. "required": true
  8205. },
  8206. {
  8207. "type": "integer",
  8208. "description": "商品ID, 一般与sellUserID配套传入",
  8209. "name": "goodsID",
  8210. "in": "query"
  8211. },
  8212. {
  8213. "type": "integer",
  8214. "description": "卖方UserID",
  8215. "name": "sellUserID",
  8216. "in": "query"
  8217. }
  8218. ],
  8219. "responses": {
  8220. "200": {
  8221. "description": "OK",
  8222. "schema": {
  8223. "$ref": "#/definitions/models.MyCoupon"
  8224. }
  8225. },
  8226. "500": {
  8227. "description": "Internal Server Error",
  8228. "schema": {
  8229. "$ref": "#/definitions/app.Response"
  8230. }
  8231. }
  8232. }
  8233. }
  8234. },
  8235. "/HSBY/QueryMyPayOrders": {
  8236. "get": {
  8237. "security": [
  8238. {
  8239. "ApiKeyAuth": []
  8240. }
  8241. ],
  8242. "produces": [
  8243. "application/json"
  8244. ],
  8245. "tags": [
  8246. "定制【海商报业】"
  8247. ],
  8248. "summary": "获取我的订单中待付款信息",
  8249. "parameters": [
  8250. {
  8251. "type": "integer",
  8252. "description": "页码",
  8253. "name": "page",
  8254. "in": "query"
  8255. },
  8256. {
  8257. "type": "integer",
  8258. "description": "每页条数",
  8259. "name": "pagesize",
  8260. "in": "query"
  8261. },
  8262. {
  8263. "type": "string",
  8264. "description": "资金账户列表,格式:1,2,3",
  8265. "name": "accountIDs",
  8266. "in": "query",
  8267. "required": true
  8268. },
  8269. {
  8270. "type": "integer",
  8271. "description": "买方委托单号",
  8272. "name": "buyOrderID",
  8273. "in": "query"
  8274. },
  8275. {
  8276. "type": "integer",
  8277. "description": "卖方委托单号",
  8278. "name": "sellOrderID",
  8279. "in": "query"
  8280. }
  8281. ],
  8282. "responses": {
  8283. "200": {
  8284. "description": "OK",
  8285. "schema": {
  8286. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  8287. }
  8288. },
  8289. "500": {
  8290. "description": "Internal Server Error",
  8291. "schema": {
  8292. "$ref": "#/definitions/app.Response"
  8293. }
  8294. }
  8295. }
  8296. }
  8297. },
  8298. "/HSBY/QueryMyUsedCoupon": {
  8299. "get": {
  8300. "security": [
  8301. {
  8302. "ApiKeyAuth": []
  8303. }
  8304. ],
  8305. "produces": [
  8306. "application/json"
  8307. ],
  8308. "tags": [
  8309. "定制【海商报业】"
  8310. ],
  8311. "summary": "已使用优惠卷查询",
  8312. "parameters": [
  8313. {
  8314. "type": "string",
  8315. "description": "资金账户列表,格式:1,2,3",
  8316. "name": "accountIDs",
  8317. "in": "query",
  8318. "required": true
  8319. }
  8320. ],
  8321. "responses": {
  8322. "200": {
  8323. "description": "OK",
  8324. "schema": {
  8325. "$ref": "#/definitions/models.MyUsedCoupon"
  8326. }
  8327. },
  8328. "500": {
  8329. "description": "Internal Server Error",
  8330. "schema": {
  8331. "$ref": "#/definitions/app.Response"
  8332. }
  8333. }
  8334. }
  8335. }
  8336. },
  8337. "/HSBY/QueryProvincesAndCities": {
  8338. "get": {
  8339. "security": [
  8340. {
  8341. "ApiKeyAuth": []
  8342. }
  8343. ],
  8344. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  8345. "produces": [
  8346. "application/json"
  8347. ],
  8348. "tags": [
  8349. "定制【海商报业】"
  8350. ],
  8351. "summary": "查询省市信息(不包括区)",
  8352. "parameters": [
  8353. {
  8354. "type": "integer",
  8355. "description": "省ID",
  8356. "name": "provinceID",
  8357. "in": "query"
  8358. }
  8359. ],
  8360. "responses": {
  8361. "200": {
  8362. "description": "OK",
  8363. "schema": {
  8364. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  8365. }
  8366. },
  8367. "500": {
  8368. "description": "Internal Server Error",
  8369. "schema": {
  8370. "$ref": "#/definitions/app.Response"
  8371. }
  8372. }
  8373. }
  8374. }
  8375. },
  8376. "/HSBY/SetHsbyMyPackagesStatus": {
  8377. "post": {
  8378. "security": [
  8379. {
  8380. "ApiKeyAuth": []
  8381. }
  8382. ],
  8383. "produces": [
  8384. "application/json"
  8385. ],
  8386. "tags": [
  8387. "定制【海商报业】"
  8388. ],
  8389. "summary": "设置我的包裹已收货状态",
  8390. "parameters": [
  8391. {
  8392. "type": "string",
  8393. "description": "提货单号",
  8394. "name": "takeOrderID",
  8395. "in": "query",
  8396. "required": true
  8397. },
  8398. {
  8399. "type": "integer",
  8400. "description": "资金账号",
  8401. "name": "accountID",
  8402. "in": "query",
  8403. "required": true
  8404. }
  8405. ],
  8406. "responses": {
  8407. "200": {
  8408. "description": "OK",
  8409. "schema": {
  8410. "$ref": "#/definitions/app.Response"
  8411. }
  8412. },
  8413. "500": {
  8414. "description": "Internal Server Error",
  8415. "schema": {
  8416. "$ref": "#/definitions/app.Response"
  8417. }
  8418. }
  8419. }
  8420. }
  8421. },
  8422. "/Market/GetAllExExchanges": {
  8423. "get": {
  8424. "security": [
  8425. {
  8426. "ApiKeyAuth": []
  8427. }
  8428. ],
  8429. "produces": [
  8430. "application/json"
  8431. ],
  8432. "tags": [
  8433. "通用市场"
  8434. ],
  8435. "summary": "获取所有外部交易所信息",
  8436. "responses": {
  8437. "200": {
  8438. "description": "OK",
  8439. "schema": {
  8440. "$ref": "#/definitions/models.Goods"
  8441. }
  8442. },
  8443. "500": {
  8444. "description": "Internal Server Error",
  8445. "schema": {
  8446. "$ref": "#/definitions/app.Response"
  8447. }
  8448. }
  8449. }
  8450. }
  8451. },
  8452. "/Market/QueryGoodsesByLoginID": {
  8453. "get": {
  8454. "security": [
  8455. {
  8456. "ApiKeyAuth": []
  8457. }
  8458. ],
  8459. "produces": [
  8460. "application/json"
  8461. ],
  8462. "tags": [
  8463. "通用市场"
  8464. ],
  8465. "summary": "获取登录账号有权限的商品信息",
  8466. "parameters": [
  8467. {
  8468. "type": "integer",
  8469. "description": "登录账号",
  8470. "name": "loginID",
  8471. "in": "query",
  8472. "required": true
  8473. },
  8474. {
  8475. "type": "string",
  8476. "description": "市场ID列表,格式:1,2,3",
  8477. "name": "marketIDs",
  8478. "in": "query"
  8479. }
  8480. ],
  8481. "responses": {
  8482. "200": {
  8483. "description": "OK",
  8484. "schema": {
  8485. "$ref": "#/definitions/models.Goods"
  8486. }
  8487. },
  8488. "500": {
  8489. "description": "Internal Server Error",
  8490. "schema": {
  8491. "$ref": "#/definitions/app.Response"
  8492. }
  8493. }
  8494. }
  8495. }
  8496. },
  8497. "/Market/QueryMarketRun": {
  8498. "get": {
  8499. "security": [
  8500. {
  8501. "ApiKeyAuth": []
  8502. }
  8503. ],
  8504. "produces": [
  8505. "application/json"
  8506. ],
  8507. "tags": [
  8508. "通用市场"
  8509. ],
  8510. "summary": "查询市场运行信息",
  8511. "parameters": [
  8512. {
  8513. "type": "integer",
  8514. "description": "市场ID,不传返回所有",
  8515. "name": "marketID",
  8516. "in": "query"
  8517. }
  8518. ],
  8519. "responses": {
  8520. "200": {
  8521. "description": "OK",
  8522. "schema": {
  8523. "$ref": "#/definitions/models.Marketrun"
  8524. }
  8525. },
  8526. "500": {
  8527. "description": "Internal Server Error",
  8528. "schema": {
  8529. "$ref": "#/definitions/app.Response"
  8530. }
  8531. }
  8532. }
  8533. }
  8534. },
  8535. "/Market/QueryMarketsByLoginID": {
  8536. "get": {
  8537. "security": [
  8538. {
  8539. "ApiKeyAuth": []
  8540. }
  8541. ],
  8542. "produces": [
  8543. "application/json"
  8544. ],
  8545. "tags": [
  8546. "通用市场"
  8547. ],
  8548. "summary": "获取登录账号有权限的市场信息",
  8549. "parameters": [
  8550. {
  8551. "type": "integer",
  8552. "description": "登录账号",
  8553. "name": "loginID",
  8554. "in": "query",
  8555. "required": true
  8556. }
  8557. ],
  8558. "responses": {
  8559. "200": {
  8560. "description": "OK",
  8561. "schema": {
  8562. "$ref": "#/definitions/models.Market"
  8563. }
  8564. },
  8565. "500": {
  8566. "description": "Internal Server Error",
  8567. "schema": {
  8568. "$ref": "#/definitions/app.Response"
  8569. }
  8570. }
  8571. }
  8572. }
  8573. },
  8574. "/Order/QueryHisTradeDetail": {
  8575. "get": {
  8576. "security": [
  8577. {
  8578. "ApiKeyAuth": []
  8579. }
  8580. ],
  8581. "produces": [
  8582. "application/json"
  8583. ],
  8584. "tags": [
  8585. "通用单据"
  8586. ],
  8587. "summary": "历史成交单查询(合约市场)",
  8588. "parameters": [
  8589. {
  8590. "type": "string",
  8591. "description": "资金账户 - 格式:1,2,3",
  8592. "name": "accountID",
  8593. "in": "query",
  8594. "required": true
  8595. },
  8596. {
  8597. "type": "integer",
  8598. "description": "成交单号",
  8599. "name": "tradeID",
  8600. "in": "query"
  8601. },
  8602. {
  8603. "type": "integer",
  8604. "description": "委托单号",
  8605. "name": "orderID",
  8606. "in": "query"
  8607. },
  8608. {
  8609. "type": "integer",
  8610. "description": "商品ID",
  8611. "name": "goodsID",
  8612. "in": "query"
  8613. },
  8614. {
  8615. "type": "string",
  8616. "description": "交易模式 - 格式:1,2,3",
  8617. "name": "tradeMode",
  8618. "in": "query"
  8619. },
  8620. {
  8621. "type": "integer",
  8622. "description": "委托单据类型",
  8623. "name": "buildType",
  8624. "in": "query"
  8625. },
  8626. {
  8627. "type": "string",
  8628. "description": "成交类别 - 格式:1,2,3",
  8629. "name": "tradeType",
  8630. "in": "query"
  8631. },
  8632. {
  8633. "type": "string",
  8634. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8635. "name": "startDate",
  8636. "in": "query"
  8637. },
  8638. {
  8639. "type": "string",
  8640. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8641. "name": "endDate",
  8642. "in": "query"
  8643. }
  8644. ],
  8645. "responses": {
  8646. "200": {
  8647. "description": "OK",
  8648. "schema": {
  8649. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8650. }
  8651. },
  8652. "500": {
  8653. "description": "Internal Server Error",
  8654. "schema": {
  8655. "$ref": "#/definitions/app.Response"
  8656. }
  8657. }
  8658. }
  8659. }
  8660. },
  8661. "/Order/QueryHisTradeOrderDetail": {
  8662. "get": {
  8663. "security": [
  8664. {
  8665. "ApiKeyAuth": []
  8666. }
  8667. ],
  8668. "produces": [
  8669. "application/json"
  8670. ],
  8671. "tags": [
  8672. "通用单据"
  8673. ],
  8674. "summary": "历史委托单查询请求(合约市场)",
  8675. "parameters": [
  8676. {
  8677. "type": "string",
  8678. "description": "资金账户 - 格式:1,2,3",
  8679. "name": "accountID",
  8680. "in": "query",
  8681. "required": true
  8682. },
  8683. {
  8684. "type": "string",
  8685. "description": "交易模式 - 格式:1,2,3",
  8686. "name": "tradeMode",
  8687. "in": "query"
  8688. },
  8689. {
  8690. "type": "string",
  8691. "description": "委托状态 - 格式:1,2,3",
  8692. "name": "orderStatus",
  8693. "in": "query"
  8694. },
  8695. {
  8696. "type": "integer",
  8697. "description": "委托单号",
  8698. "name": "orderID",
  8699. "in": "query"
  8700. },
  8701. {
  8702. "type": "string",
  8703. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8704. "name": "startDate",
  8705. "in": "query"
  8706. },
  8707. {
  8708. "type": "string",
  8709. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8710. "name": "endDate",
  8711. "in": "query"
  8712. }
  8713. ],
  8714. "responses": {
  8715. "200": {
  8716. "description": "OK",
  8717. "schema": {
  8718. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8719. }
  8720. },
  8721. "500": {
  8722. "description": "Internal Server Error",
  8723. "schema": {
  8724. "$ref": "#/definitions/app.Response"
  8725. }
  8726. }
  8727. }
  8728. }
  8729. },
  8730. "/Order/QueryTradeDetail": {
  8731. "get": {
  8732. "security": [
  8733. {
  8734. "ApiKeyAuth": []
  8735. }
  8736. ],
  8737. "produces": [
  8738. "application/json"
  8739. ],
  8740. "tags": [
  8741. "通用单据"
  8742. ],
  8743. "summary": "成交单查询(合约市场)",
  8744. "parameters": [
  8745. {
  8746. "type": "string",
  8747. "description": "资金账户 - 格式:1,2,3",
  8748. "name": "accountID",
  8749. "in": "query",
  8750. "required": true
  8751. },
  8752. {
  8753. "type": "integer",
  8754. "description": "成交单号",
  8755. "name": "tradeID",
  8756. "in": "query"
  8757. },
  8758. {
  8759. "type": "integer",
  8760. "description": "委托单号",
  8761. "name": "orderID",
  8762. "in": "query"
  8763. },
  8764. {
  8765. "type": "string",
  8766. "description": "交易模式 - 格式:1,2,3",
  8767. "name": "tradeMode",
  8768. "in": "query"
  8769. },
  8770. {
  8771. "type": "integer",
  8772. "description": "委托单据类型",
  8773. "name": "buildType",
  8774. "in": "query"
  8775. },
  8776. {
  8777. "type": "string",
  8778. "description": "成交类别 - 格式:1,2,3",
  8779. "name": "tradeType",
  8780. "in": "query"
  8781. },
  8782. {
  8783. "type": "integer",
  8784. "description": "商品ID",
  8785. "name": "goodsID",
  8786. "in": "query"
  8787. }
  8788. ],
  8789. "responses": {
  8790. "200": {
  8791. "description": "OK",
  8792. "schema": {
  8793. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8794. }
  8795. },
  8796. "500": {
  8797. "description": "Internal Server Error",
  8798. "schema": {
  8799. "$ref": "#/definitions/app.Response"
  8800. }
  8801. }
  8802. }
  8803. }
  8804. },
  8805. "/Order/QueryTradeHolderDetail": {
  8806. "get": {
  8807. "security": [
  8808. {
  8809. "ApiKeyAuth": []
  8810. }
  8811. ],
  8812. "produces": [
  8813. "application/json"
  8814. ],
  8815. "tags": [
  8816. "通用单据"
  8817. ],
  8818. "summary": "查询持仓明细",
  8819. "parameters": [
  8820. {
  8821. "type": "integer",
  8822. "description": "用户id",
  8823. "name": "userid",
  8824. "in": "query"
  8825. },
  8826. {
  8827. "type": "string",
  8828. "description": "资金账号, 格式 1,2,3",
  8829. "name": "accids",
  8830. "in": "query"
  8831. },
  8832. {
  8833. "type": "string",
  8834. "description": "交易模式, 格式 1,2,3",
  8835. "name": "trademodes",
  8836. "in": "query"
  8837. },
  8838. {
  8839. "type": "string",
  8840. "description": "市场id, 格式 1,2,3",
  8841. "name": "marketids",
  8842. "in": "query"
  8843. },
  8844. {
  8845. "type": "integer",
  8846. "description": "商品id",
  8847. "name": "goodsid",
  8848. "in": "query"
  8849. },
  8850. {
  8851. "type": "integer",
  8852. "description": "买卖方向 0-买 1-卖",
  8853. "name": "buyorsell",
  8854. "in": "query"
  8855. }
  8856. ],
  8857. "responses": {
  8858. "200": {
  8859. "description": "OK",
  8860. "schema": {
  8861. "type": "array",
  8862. "items": {
  8863. "$ref": "#/definitions/models.TradeHolderDetail"
  8864. }
  8865. }
  8866. },
  8867. "500": {
  8868. "description": "Internal Server Error",
  8869. "schema": {
  8870. "$ref": "#/definitions/app.Response"
  8871. }
  8872. }
  8873. }
  8874. }
  8875. },
  8876. "/Order/QueryTradeOrderDetail": {
  8877. "get": {
  8878. "security": [
  8879. {
  8880. "ApiKeyAuth": []
  8881. }
  8882. ],
  8883. "produces": [
  8884. "application/json"
  8885. ],
  8886. "tags": [
  8887. "通用单据"
  8888. ],
  8889. "summary": "委托单查询请求(合约市场)",
  8890. "parameters": [
  8891. {
  8892. "type": "string",
  8893. "description": "资金账户 - 格式:1,2,3",
  8894. "name": "accountID",
  8895. "in": "query",
  8896. "required": true
  8897. },
  8898. {
  8899. "type": "string",
  8900. "description": "交易模式 - 格式:1,2,3",
  8901. "name": "tradeMode",
  8902. "in": "query"
  8903. },
  8904. {
  8905. "type": "string",
  8906. "description": "委托状态 - 格式:1,2,3",
  8907. "name": "orderStatus",
  8908. "in": "query"
  8909. },
  8910. {
  8911. "type": "integer",
  8912. "description": "委托单号",
  8913. "name": "orderID",
  8914. "in": "query"
  8915. }
  8916. ],
  8917. "responses": {
  8918. "200": {
  8919. "description": "OK",
  8920. "schema": {
  8921. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  8922. }
  8923. },
  8924. "500": {
  8925. "description": "Internal Server Error",
  8926. "schema": {
  8927. "$ref": "#/definitions/app.Response"
  8928. }
  8929. }
  8930. }
  8931. }
  8932. },
  8933. "/Order/QueryTradePosition": {
  8934. "get": {
  8935. "security": [
  8936. {
  8937. "ApiKeyAuth": []
  8938. }
  8939. ],
  8940. "produces": [
  8941. "application/json"
  8942. ],
  8943. "tags": [
  8944. "通用单据"
  8945. ],
  8946. "summary": "持仓汇总查询(合约市场)",
  8947. "parameters": [
  8948. {
  8949. "type": "string",
  8950. "description": "资金账户 - 格式:1,2,3",
  8951. "name": "accountID",
  8952. "in": "query",
  8953. "required": true
  8954. },
  8955. {
  8956. "type": "string",
  8957. "description": "交易模式 - 格式:1,2,3",
  8958. "name": "tradeMode",
  8959. "in": "query"
  8960. }
  8961. ],
  8962. "responses": {
  8963. "200": {
  8964. "description": "OK",
  8965. "schema": {
  8966. "$ref": "#/definitions/order.QueryTradePositionRsp"
  8967. }
  8968. },
  8969. "500": {
  8970. "description": "Internal Server Error",
  8971. "schema": {
  8972. "$ref": "#/definitions/app.Response"
  8973. }
  8974. }
  8975. }
  8976. }
  8977. },
  8978. "/Qhj/QueryAccountInOutApply": {
  8979. "get": {
  8980. "security": [
  8981. {
  8982. "ApiKeyAuth": []
  8983. }
  8984. ],
  8985. "produces": [
  8986. "application/json"
  8987. ],
  8988. "tags": [
  8989. "大连千海金"
  8990. ],
  8991. "summary": "查询充值提现",
  8992. "parameters": [
  8993. {
  8994. "type": "integer",
  8995. "description": "用户ID",
  8996. "name": "userid",
  8997. "in": "query",
  8998. "required": true
  8999. },
  9000. {
  9001. "type": "string",
  9002. "description": "申请起始日期(格式yyyymmdd)",
  9003. "name": "begindate",
  9004. "in": "query"
  9005. },
  9006. {
  9007. "type": "string",
  9008. "description": "申请截止日期(格式yyyymmdd)",
  9009. "name": "enddate",
  9010. "in": "query"
  9011. },
  9012. {
  9013. "type": "string",
  9014. "description": "模糊搜索名称",
  9015. "name": "likename",
  9016. "in": "query"
  9017. }
  9018. ],
  9019. "responses": {
  9020. "200": {
  9021. "description": "OK",
  9022. "schema": {
  9023. "type": "array",
  9024. "items": {
  9025. "$ref": "#/definitions/models.QhjAccountOutInApply"
  9026. }
  9027. }
  9028. },
  9029. "500": {
  9030. "description": "Internal Server Error",
  9031. "schema": {
  9032. "$ref": "#/definitions/app.Response"
  9033. }
  9034. }
  9035. }
  9036. }
  9037. },
  9038. "/Qhj/QueryAreaFinanceConfig": {
  9039. "get": {
  9040. "security": [
  9041. {
  9042. "ApiKeyAuth": []
  9043. }
  9044. ],
  9045. "produces": [
  9046. "application/json"
  9047. ],
  9048. "tags": [
  9049. "大连千海金"
  9050. ],
  9051. "summary": "查询企业配置表",
  9052. "parameters": [
  9053. {
  9054. "type": "integer",
  9055. "description": "机构用户ID 其他做市关系,都设置为 1",
  9056. "name": "userid",
  9057. "in": "query"
  9058. }
  9059. ],
  9060. "responses": {
  9061. "200": {
  9062. "description": "OK",
  9063. "schema": {
  9064. "type": "array",
  9065. "items": {
  9066. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  9067. }
  9068. }
  9069. },
  9070. "500": {
  9071. "description": "Internal Server Error",
  9072. "schema": {
  9073. "$ref": "#/definitions/app.Response"
  9074. }
  9075. }
  9076. }
  9077. }
  9078. },
  9079. "/Qhj/QueryBankAccountSign": {
  9080. "get": {
  9081. "security": [
  9082. {
  9083. "ApiKeyAuth": []
  9084. }
  9085. ],
  9086. "produces": [
  9087. "application/json"
  9088. ],
  9089. "tags": [
  9090. "大连千海金"
  9091. ],
  9092. "summary": "查询签约银行信息(提现账户管理)",
  9093. "parameters": [
  9094. {
  9095. "type": "integer",
  9096. "description": "用户ID",
  9097. "name": "userid",
  9098. "in": "query",
  9099. "required": true
  9100. }
  9101. ],
  9102. "responses": {
  9103. "200": {
  9104. "description": "OK",
  9105. "schema": {
  9106. "type": "array",
  9107. "items": {
  9108. "$ref": "#/definitions/models.QhjBankAccountSign"
  9109. }
  9110. }
  9111. },
  9112. "500": {
  9113. "description": "Internal Server Error",
  9114. "schema": {
  9115. "$ref": "#/definitions/app.Response"
  9116. }
  9117. }
  9118. }
  9119. }
  9120. },
  9121. "/Qhj/QueryBankInfo": {
  9122. "get": {
  9123. "security": [
  9124. {
  9125. "ApiKeyAuth": []
  9126. }
  9127. ],
  9128. "produces": [
  9129. "application/json"
  9130. ],
  9131. "tags": [
  9132. "大连千海金"
  9133. ],
  9134. "summary": "查询开户行",
  9135. "responses": {
  9136. "200": {
  9137. "description": "OK",
  9138. "schema": {
  9139. "type": "array",
  9140. "items": {
  9141. "$ref": "#/definitions/models.QhjBankInfo"
  9142. }
  9143. }
  9144. },
  9145. "500": {
  9146. "description": "Internal Server Error",
  9147. "schema": {
  9148. "$ref": "#/definitions/app.Response"
  9149. }
  9150. }
  9151. }
  9152. }
  9153. },
  9154. "/Qhj/QueryBrokerApply": {
  9155. "get": {
  9156. "security": [
  9157. {
  9158. "ApiKeyAuth": []
  9159. }
  9160. ],
  9161. "produces": [
  9162. "application/json"
  9163. ],
  9164. "tags": [
  9165. "大连千海金"
  9166. ],
  9167. "summary": "查询经纪人申请",
  9168. "parameters": [
  9169. {
  9170. "type": "integer",
  9171. "description": "所属机构ID",
  9172. "name": "userid",
  9173. "in": "query"
  9174. },
  9175. {
  9176. "type": "string",
  9177. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9178. "name": "filterstatus",
  9179. "in": "query"
  9180. }
  9181. ],
  9182. "responses": {
  9183. "200": {
  9184. "description": "OK",
  9185. "schema": {
  9186. "type": "array",
  9187. "items": {
  9188. "$ref": "#/definitions/models.QhjBrokerApply"
  9189. }
  9190. }
  9191. },
  9192. "500": {
  9193. "description": "Internal Server Error",
  9194. "schema": {
  9195. "$ref": "#/definitions/app.Response"
  9196. }
  9197. }
  9198. }
  9199. }
  9200. },
  9201. "/Qhj/QueryBrokerApplyEx": {
  9202. "get": {
  9203. "security": [
  9204. {
  9205. "ApiKeyAuth": []
  9206. }
  9207. ],
  9208. "produces": [
  9209. "application/json"
  9210. ],
  9211. "tags": [
  9212. "大连千海金"
  9213. ],
  9214. "summary": "查询经纪人信息和申请记录",
  9215. "parameters": [
  9216. {
  9217. "type": "integer",
  9218. "description": "所属机构ID",
  9219. "name": "userid",
  9220. "in": "query"
  9221. }
  9222. ],
  9223. "responses": {
  9224. "200": {
  9225. "description": "OK",
  9226. "schema": {
  9227. "type": "array",
  9228. "items": {
  9229. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  9230. }
  9231. }
  9232. },
  9233. "500": {
  9234. "description": "Internal Server Error",
  9235. "schema": {
  9236. "$ref": "#/definitions/app.Response"
  9237. }
  9238. }
  9239. }
  9240. }
  9241. },
  9242. "/Qhj/QueryBrokerRewardLog": {
  9243. "get": {
  9244. "security": [
  9245. {
  9246. "ApiKeyAuth": []
  9247. }
  9248. ],
  9249. "produces": [
  9250. "application/json"
  9251. ],
  9252. "tags": [
  9253. "大连千海金"
  9254. ],
  9255. "summary": "查询奖励流水(我的奖励)",
  9256. "parameters": [
  9257. {
  9258. "type": "integer",
  9259. "description": "用户ID",
  9260. "name": "userid",
  9261. "in": "query",
  9262. "required": true
  9263. },
  9264. {
  9265. "type": "string",
  9266. "description": "开始交易日(yyyymmdd)",
  9267. "name": "begindate",
  9268. "in": "query"
  9269. },
  9270. {
  9271. "type": "string",
  9272. "description": "结束交易日(yyyymmdd)",
  9273. "name": "enddate",
  9274. "in": "query"
  9275. }
  9276. ],
  9277. "responses": {
  9278. "200": {
  9279. "description": "OK",
  9280. "schema": {
  9281. "type": "array",
  9282. "items": {
  9283. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  9284. }
  9285. }
  9286. },
  9287. "500": {
  9288. "description": "Internal Server Error",
  9289. "schema": {
  9290. "$ref": "#/definitions/app.Response"
  9291. }
  9292. }
  9293. }
  9294. }
  9295. },
  9296. "/Qhj/QueryContract": {
  9297. "get": {
  9298. "security": [
  9299. {
  9300. "ApiKeyAuth": []
  9301. }
  9302. ],
  9303. "produces": [
  9304. "application/json"
  9305. ],
  9306. "tags": [
  9307. "大连千海金"
  9308. ],
  9309. "summary": "查询融资明细(合同)",
  9310. "parameters": [
  9311. {
  9312. "type": "integer",
  9313. "description": "用户ID",
  9314. "name": "userid",
  9315. "in": "query"
  9316. },
  9317. {
  9318. "type": "integer",
  9319. "description": "scf合同id",
  9320. "name": "scfcontractid",
  9321. "in": "query"
  9322. }
  9323. ],
  9324. "responses": {
  9325. "200": {
  9326. "description": "OK",
  9327. "schema": {
  9328. "type": "array",
  9329. "items": {
  9330. "$ref": "#/definitions/models.QhjContract"
  9331. }
  9332. }
  9333. },
  9334. "500": {
  9335. "description": "Internal Server Error",
  9336. "schema": {
  9337. "$ref": "#/definitions/app.Response"
  9338. }
  9339. }
  9340. }
  9341. }
  9342. },
  9343. "/Qhj/QueryContractLog": {
  9344. "get": {
  9345. "security": [
  9346. {
  9347. "ApiKeyAuth": []
  9348. }
  9349. ],
  9350. "produces": [
  9351. "application/json"
  9352. ],
  9353. "tags": [
  9354. "大连千海金"
  9355. ],
  9356. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  9357. "parameters": [
  9358. {
  9359. "type": "integer",
  9360. "description": "scf合同id",
  9361. "name": "scfcontractid",
  9362. "in": "query",
  9363. "required": true
  9364. },
  9365. {
  9366. "type": "string",
  9367. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  9368. "name": "amounttype",
  9369. "in": "query"
  9370. }
  9371. ],
  9372. "responses": {
  9373. "200": {
  9374. "description": "OK",
  9375. "schema": {
  9376. "type": "array",
  9377. "items": {
  9378. "$ref": "#/definitions/models.QhjContractLog"
  9379. }
  9380. }
  9381. },
  9382. "500": {
  9383. "description": "Internal Server Error",
  9384. "schema": {
  9385. "$ref": "#/definitions/app.Response"
  9386. }
  9387. }
  9388. }
  9389. }
  9390. },
  9391. "/Qhj/QueryCusBankSignBank": {
  9392. "get": {
  9393. "security": [
  9394. {
  9395. "ApiKeyAuth": []
  9396. }
  9397. ],
  9398. "produces": [
  9399. "application/json"
  9400. ],
  9401. "tags": [
  9402. "大连千海金"
  9403. ],
  9404. "summary": "查询托管银行",
  9405. "responses": {
  9406. "200": {
  9407. "description": "OK",
  9408. "schema": {
  9409. "type": "array",
  9410. "items": {
  9411. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  9412. }
  9413. }
  9414. },
  9415. "500": {
  9416. "description": "Internal Server Error",
  9417. "schema": {
  9418. "$ref": "#/definitions/app.Response"
  9419. }
  9420. }
  9421. }
  9422. }
  9423. },
  9424. "/Qhj/QueryCustomerInfo": {
  9425. "get": {
  9426. "security": [
  9427. {
  9428. "ApiKeyAuth": []
  9429. }
  9430. ],
  9431. "produces": [
  9432. "application/json"
  9433. ],
  9434. "tags": [
  9435. "大连千海金"
  9436. ],
  9437. "summary": "查询客户资料",
  9438. "parameters": [
  9439. {
  9440. "type": "integer",
  9441. "description": "用户ID",
  9442. "name": "userid",
  9443. "in": "query",
  9444. "required": true
  9445. },
  9446. {
  9447. "type": "integer",
  9448. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9449. "name": "querytype",
  9450. "in": "query",
  9451. "required": true
  9452. },
  9453. {
  9454. "type": "integer",
  9455. "description": "客户类型 1-个人 2-企业",
  9456. "name": "userinfotype",
  9457. "in": "query"
  9458. },
  9459. {
  9460. "type": "string",
  9461. "description": "客户名称(模糊匹配)",
  9462. "name": "customername",
  9463. "in": "query"
  9464. },
  9465. {
  9466. "type": "string",
  9467. "description": "昵称(模糊匹配)",
  9468. "name": "nickname",
  9469. "in": "query"
  9470. },
  9471. {
  9472. "type": "integer",
  9473. "description": "是否包含子级 1-包含",
  9474. "name": "includesub",
  9475. "in": "query"
  9476. }
  9477. ],
  9478. "responses": {
  9479. "200": {
  9480. "description": "OK",
  9481. "schema": {
  9482. "type": "array",
  9483. "items": {
  9484. "$ref": "#/definitions/models.QhjCustomer"
  9485. }
  9486. }
  9487. },
  9488. "500": {
  9489. "description": "Internal Server Error",
  9490. "schema": {
  9491. "$ref": "#/definitions/app.Response"
  9492. }
  9493. }
  9494. }
  9495. }
  9496. },
  9497. "/Qhj/QueryGoodsEx": {
  9498. "get": {
  9499. "security": [
  9500. {
  9501. "ApiKeyAuth": []
  9502. }
  9503. ],
  9504. "produces": [
  9505. "application/json"
  9506. ],
  9507. "tags": [
  9508. "大连千海金"
  9509. ],
  9510. "summary": "交易商品扩展表",
  9511. "parameters": [
  9512. {
  9513. "type": "integer",
  9514. "description": "商品id",
  9515. "name": "goodsid",
  9516. "in": "query"
  9517. }
  9518. ],
  9519. "responses": {
  9520. "200": {
  9521. "description": "OK",
  9522. "schema": {
  9523. "type": "array",
  9524. "items": {
  9525. "$ref": "#/definitions/models.Qhjgoodsex"
  9526. }
  9527. }
  9528. },
  9529. "500": {
  9530. "description": "Internal Server Error",
  9531. "schema": {
  9532. "$ref": "#/definitions/app.Response"
  9533. }
  9534. }
  9535. }
  9536. }
  9537. },
  9538. "/Qhj/QueryMyTeam": {
  9539. "get": {
  9540. "security": [
  9541. {
  9542. "ApiKeyAuth": []
  9543. }
  9544. ],
  9545. "produces": [
  9546. "application/json"
  9547. ],
  9548. "tags": [
  9549. "大连千海金"
  9550. ],
  9551. "summary": "查询我的团队",
  9552. "parameters": [
  9553. {
  9554. "type": "integer",
  9555. "description": "用户ID",
  9556. "name": "userid",
  9557. "in": "query",
  9558. "required": true
  9559. }
  9560. ],
  9561. "responses": {
  9562. "200": {
  9563. "description": "OK",
  9564. "schema": {
  9565. "type": "array",
  9566. "items": {
  9567. "$ref": "#/definitions/models.QhjMyTeamEx"
  9568. }
  9569. }
  9570. },
  9571. "500": {
  9572. "description": "Internal Server Error",
  9573. "schema": {
  9574. "$ref": "#/definitions/app.Response"
  9575. }
  9576. }
  9577. }
  9578. }
  9579. },
  9580. "/Qhj/QueryMyTeamOrder": {
  9581. "get": {
  9582. "security": [
  9583. {
  9584. "ApiKeyAuth": []
  9585. }
  9586. ],
  9587. "produces": [
  9588. "application/json"
  9589. ],
  9590. "tags": [
  9591. "大连千海金"
  9592. ],
  9593. "summary": "查询团队订单(我的团队/团队订单)",
  9594. "parameters": [
  9595. {
  9596. "type": "integer",
  9597. "description": "页码",
  9598. "name": "page",
  9599. "in": "query"
  9600. },
  9601. {
  9602. "type": "integer",
  9603. "description": "每页条数",
  9604. "name": "pagesize",
  9605. "in": "query"
  9606. },
  9607. {
  9608. "type": "integer",
  9609. "description": "用户ID",
  9610. "name": "userid",
  9611. "in": "query",
  9612. "required": true
  9613. },
  9614. {
  9615. "type": "integer",
  9616. "description": "交易模式",
  9617. "name": "trademode",
  9618. "in": "query"
  9619. },
  9620. {
  9621. "type": "string",
  9622. "description": "名称(模糊搜索账户)",
  9623. "name": "filtername",
  9624. "in": "query"
  9625. }
  9626. ],
  9627. "responses": {
  9628. "200": {
  9629. "description": "OK",
  9630. "schema": {
  9631. "type": "array",
  9632. "items": {
  9633. "$ref": "#/definitions/models.QhjTeamOrder"
  9634. }
  9635. }
  9636. },
  9637. "500": {
  9638. "description": "Internal Server Error",
  9639. "schema": {
  9640. "$ref": "#/definitions/app.Response"
  9641. }
  9642. }
  9643. }
  9644. }
  9645. },
  9646. "/Qhj/QueryParentAreaList": {
  9647. "get": {
  9648. "security": [
  9649. {
  9650. "ApiKeyAuth": []
  9651. }
  9652. ],
  9653. "produces": [
  9654. "application/json"
  9655. ],
  9656. "tags": [
  9657. "大连千海金"
  9658. ],
  9659. "summary": "查询所属机构列表",
  9660. "parameters": [
  9661. {
  9662. "type": "integer",
  9663. "description": "用户ID",
  9664. "name": "userid",
  9665. "in": "query",
  9666. "required": true
  9667. }
  9668. ],
  9669. "responses": {
  9670. "200": {
  9671. "description": "OK",
  9672. "schema": {
  9673. "type": "array",
  9674. "items": {
  9675. "$ref": "#/definitions/models.QhjParentAreaList"
  9676. }
  9677. }
  9678. },
  9679. "500": {
  9680. "description": "Internal Server Error",
  9681. "schema": {
  9682. "$ref": "#/definitions/app.Response"
  9683. }
  9684. }
  9685. }
  9686. }
  9687. },
  9688. "/Qhj/QueryPayOrder": {
  9689. "get": {
  9690. "security": [
  9691. {
  9692. "ApiKeyAuth": []
  9693. }
  9694. ],
  9695. "produces": [
  9696. "application/json"
  9697. ],
  9698. "tags": [
  9699. "大连千海金"
  9700. ],
  9701. "summary": "查询待付款单据",
  9702. "parameters": [
  9703. {
  9704. "type": "integer",
  9705. "description": "资金账号id",
  9706. "name": "accountid",
  9707. "in": "query",
  9708. "required": true
  9709. },
  9710. {
  9711. "type": "integer",
  9712. "description": "成交单号",
  9713. "name": "tradeid",
  9714. "in": "query"
  9715. },
  9716. {
  9717. "type": "string",
  9718. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9719. "name": "payflag",
  9720. "in": "query"
  9721. }
  9722. ],
  9723. "responses": {
  9724. "200": {
  9725. "description": "OK",
  9726. "schema": {
  9727. "type": "array",
  9728. "items": {
  9729. "$ref": "#/definitions/models.QhjPayOrder"
  9730. }
  9731. }
  9732. },
  9733. "500": {
  9734. "description": "Internal Server Error",
  9735. "schema": {
  9736. "$ref": "#/definitions/app.Response"
  9737. }
  9738. }
  9739. }
  9740. }
  9741. },
  9742. "/Qhj/QueryPickArea": {
  9743. "get": {
  9744. "security": [
  9745. {
  9746. "ApiKeyAuth": []
  9747. }
  9748. ],
  9749. "produces": [
  9750. "application/json"
  9751. ],
  9752. "tags": [
  9753. "大连千海金"
  9754. ],
  9755. "summary": "查询提货门店",
  9756. "parameters": [
  9757. {
  9758. "type": "integer",
  9759. "description": "用户ID",
  9760. "name": "userid",
  9761. "in": "query"
  9762. }
  9763. ],
  9764. "responses": {
  9765. "200": {
  9766. "description": "OK",
  9767. "schema": {
  9768. "type": "array",
  9769. "items": {
  9770. "$ref": "#/definitions/models.QhjPickArea"
  9771. }
  9772. }
  9773. },
  9774. "500": {
  9775. "description": "Internal Server Error",
  9776. "schema": {
  9777. "$ref": "#/definitions/app.Response"
  9778. }
  9779. }
  9780. }
  9781. }
  9782. },
  9783. "/Qhj/QueryPickGoods": {
  9784. "get": {
  9785. "security": [
  9786. {
  9787. "ApiKeyAuth": []
  9788. }
  9789. ],
  9790. "produces": [
  9791. "application/json"
  9792. ],
  9793. "tags": [
  9794. "大连千海金"
  9795. ],
  9796. "summary": "查询提货商品",
  9797. "parameters": [
  9798. {
  9799. "type": "integer",
  9800. "description": "交易商品id",
  9801. "name": "goodsid",
  9802. "in": "query",
  9803. "required": true
  9804. },
  9805. {
  9806. "type": "string",
  9807. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9808. "name": "status",
  9809. "in": "query"
  9810. }
  9811. ],
  9812. "responses": {
  9813. "200": {
  9814. "description": "OK",
  9815. "schema": {
  9816. "type": "array",
  9817. "items": {
  9818. "$ref": "#/definitions/models.QhjPickGoods"
  9819. }
  9820. }
  9821. },
  9822. "500": {
  9823. "description": "Internal Server Error",
  9824. "schema": {
  9825. "$ref": "#/definitions/app.Response"
  9826. }
  9827. }
  9828. }
  9829. }
  9830. },
  9831. "/Qhj/QueryRSTriggerLog": {
  9832. "get": {
  9833. "security": [
  9834. {
  9835. "ApiKeyAuth": []
  9836. }
  9837. ],
  9838. "produces": [
  9839. "application/json"
  9840. ],
  9841. "tags": [
  9842. "大连千海金"
  9843. ],
  9844. "summary": "查询定投记录(定投管理/详情/定投记录)",
  9845. "parameters": [
  9846. {
  9847. "type": "integer",
  9848. "description": "用户ID",
  9849. "name": "userid",
  9850. "in": "query"
  9851. },
  9852. {
  9853. "type": "integer",
  9854. "description": "定投策略id",
  9855. "name": "regularlystrategyid",
  9856. "in": "query"
  9857. },
  9858. {
  9859. "type": "integer",
  9860. "description": "商品id",
  9861. "name": "goodsid",
  9862. "in": "query"
  9863. },
  9864. {
  9865. "type": "string",
  9866. "description": "开始交易日(yyyymmdd)",
  9867. "name": "begindate",
  9868. "in": "query"
  9869. },
  9870. {
  9871. "type": "string",
  9872. "description": "结束交易日(yyyymmdd)",
  9873. "name": "enddate",
  9874. "in": "query"
  9875. },
  9876. {
  9877. "type": "string",
  9878. "description": "名称(模糊搜索账户)",
  9879. "name": "filtername",
  9880. "in": "query"
  9881. }
  9882. ],
  9883. "responses": {
  9884. "200": {
  9885. "description": "OK",
  9886. "schema": {
  9887. "type": "array",
  9888. "items": {
  9889. "$ref": "#/definitions/models.QhjRSTriggerLog"
  9890. }
  9891. }
  9892. },
  9893. "500": {
  9894. "description": "Internal Server Error",
  9895. "schema": {
  9896. "$ref": "#/definitions/app.Response"
  9897. }
  9898. }
  9899. }
  9900. }
  9901. },
  9902. "/Qhj/QueryRStrategy": {
  9903. "get": {
  9904. "security": [
  9905. {
  9906. "ApiKeyAuth": []
  9907. }
  9908. ],
  9909. "produces": [
  9910. "application/json"
  9911. ],
  9912. "tags": [
  9913. "大连千海金"
  9914. ],
  9915. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  9916. "parameters": [
  9917. {
  9918. "type": "integer",
  9919. "description": "用户ID",
  9920. "name": "userid",
  9921. "in": "query"
  9922. },
  9923. {
  9924. "type": "integer",
  9925. "description": "商品id",
  9926. "name": "goodsid",
  9927. "in": "query"
  9928. },
  9929. {
  9930. "type": "string",
  9931. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  9932. "name": "status",
  9933. "in": "query"
  9934. },
  9935. {
  9936. "type": "string",
  9937. "description": "名称(模糊搜索账户)",
  9938. "name": "filtername",
  9939. "in": "query"
  9940. }
  9941. ],
  9942. "responses": {
  9943. "200": {
  9944. "description": "OK",
  9945. "schema": {
  9946. "type": "array",
  9947. "items": {
  9948. "$ref": "#/definitions/models.QhjRStrategy"
  9949. }
  9950. }
  9951. },
  9952. "500": {
  9953. "description": "Internal Server Error",
  9954. "schema": {
  9955. "$ref": "#/definitions/app.Response"
  9956. }
  9957. }
  9958. }
  9959. }
  9960. },
  9961. "/Qhj/QueryReckonPriceLog": {
  9962. "get": {
  9963. "security": [
  9964. {
  9965. "ApiKeyAuth": []
  9966. }
  9967. ],
  9968. "produces": [
  9969. "application/json"
  9970. ],
  9971. "tags": [
  9972. "大连千海金"
  9973. ],
  9974. "summary": "查询定投价(结算价)",
  9975. "parameters": [
  9976. {
  9977. "type": "integer",
  9978. "description": "商品ID",
  9979. "name": "goodsid",
  9980. "in": "query"
  9981. },
  9982. {
  9983. "type": "string",
  9984. "description": "交易日 格式(yyyymmdd)",
  9985. "name": "tradedate",
  9986. "in": "query"
  9987. }
  9988. ],
  9989. "responses": {
  9990. "200": {
  9991. "description": "OK",
  9992. "schema": {
  9993. "type": "array",
  9994. "items": {
  9995. "$ref": "#/definitions/models.QhjReckonPriceLog"
  9996. }
  9997. }
  9998. },
  9999. "500": {
  10000. "description": "Internal Server Error",
  10001. "schema": {
  10002. "$ref": "#/definitions/app.Response"
  10003. }
  10004. }
  10005. }
  10006. }
  10007. },
  10008. "/Qhj/QueryScoreLog": {
  10009. "get": {
  10010. "security": [
  10011. {
  10012. "ApiKeyAuth": []
  10013. }
  10014. ],
  10015. "produces": [
  10016. "application/json"
  10017. ],
  10018. "tags": [
  10019. "大连千海金"
  10020. ],
  10021. "summary": "查询积分流水(我的积分)",
  10022. "parameters": [
  10023. {
  10024. "type": "integer",
  10025. "description": "用户ID",
  10026. "name": "userid",
  10027. "in": "query",
  10028. "required": true
  10029. },
  10030. {
  10031. "type": "string",
  10032. "description": "开始交易日(yyyymmdd)",
  10033. "name": "begindate",
  10034. "in": "query"
  10035. },
  10036. {
  10037. "type": "string",
  10038. "description": "结束交易日(yyyymmdd)",
  10039. "name": "enddate",
  10040. "in": "query"
  10041. },
  10042. {
  10043. "type": "integer",
  10044. "description": "最近多少条",
  10045. "name": "lastnum",
  10046. "in": "query"
  10047. }
  10048. ],
  10049. "responses": {
  10050. "200": {
  10051. "description": "OK",
  10052. "schema": {
  10053. "type": "array",
  10054. "items": {
  10055. "$ref": "#/definitions/models.QhjScoreLog"
  10056. }
  10057. }
  10058. },
  10059. "500": {
  10060. "description": "Internal Server Error",
  10061. "schema": {
  10062. "$ref": "#/definitions/app.Response"
  10063. }
  10064. }
  10065. }
  10066. }
  10067. },
  10068. "/Qhj/QuerySiteColumnDetail": {
  10069. "get": {
  10070. "security": [
  10071. {
  10072. "ApiKeyAuth": []
  10073. }
  10074. ],
  10075. "produces": [
  10076. "application/json"
  10077. ],
  10078. "tags": [
  10079. "大连千海金"
  10080. ],
  10081. "summary": "查询资讯",
  10082. "parameters": [
  10083. {
  10084. "type": "integer",
  10085. "description": "用户ID",
  10086. "name": "userid",
  10087. "in": "query",
  10088. "required": true
  10089. }
  10090. ],
  10091. "responses": {
  10092. "200": {
  10093. "description": "OK",
  10094. "schema": {
  10095. "type": "array",
  10096. "items": {
  10097. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10098. }
  10099. }
  10100. },
  10101. "500": {
  10102. "description": "Internal Server Error",
  10103. "schema": {
  10104. "$ref": "#/definitions/app.Response"
  10105. }
  10106. }
  10107. }
  10108. }
  10109. },
  10110. "/Qhj/QueryTradeGoodsPickup": {
  10111. "get": {
  10112. "security": [
  10113. {
  10114. "ApiKeyAuth": []
  10115. }
  10116. ],
  10117. "produces": [
  10118. "application/json"
  10119. ],
  10120. "tags": [
  10121. "大连千海金"
  10122. ],
  10123. "summary": "查询提货",
  10124. "parameters": [
  10125. {
  10126. "type": "integer",
  10127. "description": "用户ID",
  10128. "name": "userid",
  10129. "in": "query",
  10130. "required": true
  10131. },
  10132. {
  10133. "type": "integer",
  10134. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  10135. "name": "takeorderstatus",
  10136. "in": "query"
  10137. }
  10138. ],
  10139. "responses": {
  10140. "200": {
  10141. "description": "OK",
  10142. "schema": {
  10143. "type": "array",
  10144. "items": {
  10145. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  10146. }
  10147. }
  10148. },
  10149. "500": {
  10150. "description": "Internal Server Error",
  10151. "schema": {
  10152. "$ref": "#/definitions/app.Response"
  10153. }
  10154. }
  10155. }
  10156. }
  10157. },
  10158. "/Qhj/QueryUserCollectConfig": {
  10159. "get": {
  10160. "security": [
  10161. {
  10162. "ApiKeyAuth": []
  10163. }
  10164. ],
  10165. "produces": [
  10166. "application/json"
  10167. ],
  10168. "tags": [
  10169. "大连千海金"
  10170. ],
  10171. "summary": "查询提现账户设置",
  10172. "parameters": [
  10173. {
  10174. "type": "integer",
  10175. "description": "用户ID",
  10176. "name": "userid",
  10177. "in": "query",
  10178. "required": true
  10179. }
  10180. ],
  10181. "responses": {
  10182. "200": {
  10183. "description": "OK",
  10184. "schema": {
  10185. "type": "array",
  10186. "items": {
  10187. "$ref": "#/definitions/models.UserCollectConfig"
  10188. }
  10189. }
  10190. },
  10191. "500": {
  10192. "description": "Internal Server Error",
  10193. "schema": {
  10194. "$ref": "#/definitions/app.Response"
  10195. }
  10196. }
  10197. }
  10198. }
  10199. },
  10200. "/Qhj/QueryUserReceiveInfo": {
  10201. "get": {
  10202. "security": [
  10203. {
  10204. "ApiKeyAuth": []
  10205. }
  10206. ],
  10207. "produces": [
  10208. "application/json"
  10209. ],
  10210. "tags": [
  10211. "大连千海金"
  10212. ],
  10213. "summary": "查询收货地址信息",
  10214. "parameters": [
  10215. {
  10216. "type": "integer",
  10217. "description": "用户ID",
  10218. "name": "userid",
  10219. "in": "query",
  10220. "required": true
  10221. }
  10222. ],
  10223. "responses": {
  10224. "200": {
  10225. "description": "OK",
  10226. "schema": {
  10227. "type": "array",
  10228. "items": {
  10229. "$ref": "#/definitions/models.UserReceiveInfo"
  10230. }
  10231. }
  10232. },
  10233. "500": {
  10234. "description": "Internal Server Error",
  10235. "schema": {
  10236. "$ref": "#/definitions/app.Response"
  10237. }
  10238. }
  10239. }
  10240. }
  10241. },
  10242. "/QhjMgr/QueryAccountInOutApply": {
  10243. "get": {
  10244. "security": [
  10245. {
  10246. "ApiKeyAuth": []
  10247. }
  10248. ],
  10249. "produces": [
  10250. "application/json"
  10251. ],
  10252. "tags": [
  10253. "大连千海金(PCWeb)"
  10254. ],
  10255. "summary": "查询充值提现",
  10256. "parameters": [
  10257. {
  10258. "type": "integer",
  10259. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  10260. "name": "querytype",
  10261. "in": "query",
  10262. "required": true
  10263. },
  10264. {
  10265. "type": "integer",
  10266. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10267. "name": "applystatus",
  10268. "in": "query"
  10269. },
  10270. {
  10271. "type": "string",
  10272. "description": "申请起始日期(格式yyyymmdd)",
  10273. "name": "begindate",
  10274. "in": "query"
  10275. },
  10276. {
  10277. "type": "string",
  10278. "description": "申请截止日期(格式yyyymmdd)",
  10279. "name": "enddate",
  10280. "in": "query"
  10281. },
  10282. {
  10283. "type": "string",
  10284. "description": "模糊搜索名称",
  10285. "name": "likename",
  10286. "in": "query"
  10287. }
  10288. ],
  10289. "responses": {
  10290. "200": {
  10291. "description": "OK",
  10292. "schema": {
  10293. "type": "array",
  10294. "items": {
  10295. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  10296. }
  10297. }
  10298. },
  10299. "500": {
  10300. "description": "Internal Server Error",
  10301. "schema": {
  10302. "$ref": "#/definitions/app.Response"
  10303. }
  10304. }
  10305. }
  10306. }
  10307. },
  10308. "/QhjMgr/QueryBrokerApply": {
  10309. "get": {
  10310. "security": [
  10311. {
  10312. "ApiKeyAuth": []
  10313. }
  10314. ],
  10315. "produces": [
  10316. "application/json"
  10317. ],
  10318. "tags": [
  10319. "大连千海金(PCWeb)"
  10320. ],
  10321. "summary": "查询经纪人申请",
  10322. "parameters": [
  10323. {
  10324. "type": "integer",
  10325. "description": "所属机构ID",
  10326. "name": "userid",
  10327. "in": "query"
  10328. },
  10329. {
  10330. "type": "string",
  10331. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10332. "name": "filterstatus",
  10333. "in": "query"
  10334. },
  10335. {
  10336. "type": "string",
  10337. "description": "名称(模糊匹配)",
  10338. "name": "filtername",
  10339. "in": "query"
  10340. },
  10341. {
  10342. "type": "integer",
  10343. "description": "是否包含子级 1-包含",
  10344. "name": "includesub",
  10345. "in": "query"
  10346. }
  10347. ],
  10348. "responses": {
  10349. "200": {
  10350. "description": "OK",
  10351. "schema": {
  10352. "type": "array",
  10353. "items": {
  10354. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  10355. }
  10356. }
  10357. },
  10358. "500": {
  10359. "description": "Internal Server Error",
  10360. "schema": {
  10361. "$ref": "#/definitions/app.Response"
  10362. }
  10363. }
  10364. }
  10365. }
  10366. },
  10367. "/QhjMgr/QueryBrokerRewardReport": {
  10368. "get": {
  10369. "security": [
  10370. {
  10371. "ApiKeyAuth": []
  10372. }
  10373. ],
  10374. "produces": [
  10375. "application/json"
  10376. ],
  10377. "tags": [
  10378. "大连千海金(PCWeb)"
  10379. ],
  10380. "summary": "查询经纪人奖励报表(废弃)",
  10381. "parameters": [
  10382. {
  10383. "type": "integer",
  10384. "description": "所属机构ID",
  10385. "name": "userid",
  10386. "in": "query",
  10387. "required": true
  10388. },
  10389. {
  10390. "type": "integer",
  10391. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10392. "name": "cycletype",
  10393. "in": "query",
  10394. "required": true
  10395. },
  10396. {
  10397. "type": "string",
  10398. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  10399. "name": "cycletime",
  10400. "in": "query",
  10401. "required": true
  10402. },
  10403. {
  10404. "type": "string",
  10405. "description": "名称(模糊匹配)",
  10406. "name": "filtername",
  10407. "in": "query"
  10408. },
  10409. {
  10410. "type": "integer",
  10411. "description": "是否包含子级 1-包含",
  10412. "name": "includesub",
  10413. "in": "query"
  10414. }
  10415. ],
  10416. "responses": {
  10417. "200": {
  10418. "description": "OK",
  10419. "schema": {
  10420. "type": "array",
  10421. "items": {
  10422. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  10423. }
  10424. }
  10425. },
  10426. "500": {
  10427. "description": "Internal Server Error",
  10428. "schema": {
  10429. "$ref": "#/definitions/app.Response"
  10430. }
  10431. }
  10432. }
  10433. }
  10434. },
  10435. "/QhjMgr/QueryContract": {
  10436. "get": {
  10437. "security": [
  10438. {
  10439. "ApiKeyAuth": []
  10440. }
  10441. ],
  10442. "produces": [
  10443. "application/json"
  10444. ],
  10445. "tags": [
  10446. "大连千海金(PCWeb)"
  10447. ],
  10448. "summary": "查询融资信息(合同)",
  10449. "parameters": [
  10450. {
  10451. "type": "integer",
  10452. "description": "用户ID",
  10453. "name": "userid",
  10454. "in": "query"
  10455. },
  10456. {
  10457. "type": "integer",
  10458. "description": "商品id",
  10459. "name": "goodsid",
  10460. "in": "query"
  10461. },
  10462. {
  10463. "type": "string",
  10464. "description": "名称(模糊搜索账户)",
  10465. "name": "filtername",
  10466. "in": "query"
  10467. },
  10468. {
  10469. "type": "string",
  10470. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  10471. "name": "risklevel",
  10472. "in": "query"
  10473. },
  10474. {
  10475. "type": "string",
  10476. "description": "开始交易日(yyyymmdd)",
  10477. "name": "begindate",
  10478. "in": "query"
  10479. },
  10480. {
  10481. "type": "string",
  10482. "description": "结束交易日(yyyymmdd)",
  10483. "name": "enddate",
  10484. "in": "query"
  10485. }
  10486. ],
  10487. "responses": {
  10488. "200": {
  10489. "description": "OK",
  10490. "schema": {
  10491. "type": "array",
  10492. "items": {
  10493. "$ref": "#/definitions/models.QhjMgrContract"
  10494. }
  10495. }
  10496. },
  10497. "500": {
  10498. "description": "Internal Server Error",
  10499. "schema": {
  10500. "$ref": "#/definitions/app.Response"
  10501. }
  10502. }
  10503. }
  10504. }
  10505. },
  10506. "/QhjMgr/QueryCustomerInfo": {
  10507. "get": {
  10508. "security": [
  10509. {
  10510. "ApiKeyAuth": []
  10511. }
  10512. ],
  10513. "produces": [
  10514. "application/json"
  10515. ],
  10516. "tags": [
  10517. "大连千海金(PCWeb)"
  10518. ],
  10519. "summary": "查询客户资料",
  10520. "parameters": [
  10521. {
  10522. "type": "integer",
  10523. "description": "用户ID",
  10524. "name": "userid",
  10525. "in": "query",
  10526. "required": true
  10527. },
  10528. {
  10529. "type": "integer",
  10530. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10531. "name": "querytype",
  10532. "in": "query",
  10533. "required": true
  10534. },
  10535. {
  10536. "type": "integer",
  10537. "description": "客户类型 1-个人 2-企业",
  10538. "name": "userinfotype",
  10539. "in": "query"
  10540. },
  10541. {
  10542. "type": "string",
  10543. "description": "客户名称(模糊匹配)",
  10544. "name": "customername",
  10545. "in": "query"
  10546. },
  10547. {
  10548. "type": "string",
  10549. "description": "昵称(模糊匹配)",
  10550. "name": "nickname",
  10551. "in": "query"
  10552. },
  10553. {
  10554. "type": "string",
  10555. "description": "所属客户经理(模糊匹配)",
  10556. "name": "brokername",
  10557. "in": "query"
  10558. },
  10559. {
  10560. "type": "string",
  10561. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  10562. "name": "birthday",
  10563. "in": "query"
  10564. },
  10565. {
  10566. "type": "integer",
  10567. "description": "是否包含子级 1-包含",
  10568. "name": "includesub",
  10569. "in": "query"
  10570. }
  10571. ],
  10572. "responses": {
  10573. "200": {
  10574. "description": "OK",
  10575. "schema": {
  10576. "type": "array",
  10577. "items": {
  10578. "$ref": "#/definitions/models.QhjMgrCustomer"
  10579. }
  10580. }
  10581. },
  10582. "500": {
  10583. "description": "Internal Server Error",
  10584. "schema": {
  10585. "$ref": "#/definitions/app.Response"
  10586. }
  10587. }
  10588. }
  10589. }
  10590. },
  10591. "/QhjMgr/QueryPickGoods": {
  10592. "get": {
  10593. "security": [
  10594. {
  10595. "ApiKeyAuth": []
  10596. }
  10597. ],
  10598. "produces": [
  10599. "application/json"
  10600. ],
  10601. "tags": [
  10602. "大连千海金(PCWeb)"
  10603. ],
  10604. "summary": "查询提货商品",
  10605. "parameters": [
  10606. {
  10607. "type": "string",
  10608. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10609. "name": "status",
  10610. "in": "query"
  10611. }
  10612. ],
  10613. "responses": {
  10614. "200": {
  10615. "description": "OK",
  10616. "schema": {
  10617. "type": "array",
  10618. "items": {
  10619. "$ref": "#/definitions/models.QhjMgrPickGoods"
  10620. }
  10621. }
  10622. },
  10623. "500": {
  10624. "description": "Internal Server Error",
  10625. "schema": {
  10626. "$ref": "#/definitions/app.Response"
  10627. }
  10628. }
  10629. }
  10630. }
  10631. },
  10632. "/QhjMgr/QuerySubArea": {
  10633. "get": {
  10634. "security": [
  10635. {
  10636. "ApiKeyAuth": []
  10637. }
  10638. ],
  10639. "produces": [
  10640. "application/json"
  10641. ],
  10642. "tags": [
  10643. "大连千海金(PCWeb)"
  10644. ],
  10645. "summary": "查询子机构列表",
  10646. "parameters": [
  10647. {
  10648. "type": "integer",
  10649. "description": "用户ID",
  10650. "name": "userid",
  10651. "in": "query",
  10652. "required": true
  10653. }
  10654. ],
  10655. "responses": {
  10656. "200": {
  10657. "description": "OK",
  10658. "schema": {
  10659. "type": "array",
  10660. "items": {
  10661. "$ref": "#/definitions/models.QhjMgrSubArea"
  10662. }
  10663. }
  10664. },
  10665. "500": {
  10666. "description": "Internal Server Error",
  10667. "schema": {
  10668. "$ref": "#/definitions/app.Response"
  10669. }
  10670. }
  10671. }
  10672. }
  10673. },
  10674. "/QhjMgr/QueryTradeDetail": {
  10675. "get": {
  10676. "security": [
  10677. {
  10678. "ApiKeyAuth": []
  10679. }
  10680. ],
  10681. "produces": [
  10682. "application/json"
  10683. ],
  10684. "tags": [
  10685. "大连千海金(PCWeb)"
  10686. ],
  10687. "summary": "查询成交明细",
  10688. "parameters": [
  10689. {
  10690. "type": "integer",
  10691. "description": "用户ID",
  10692. "name": "userid",
  10693. "in": "query",
  10694. "required": true
  10695. },
  10696. {
  10697. "type": "integer",
  10698. "description": "用户类型 1-个人 2-企业",
  10699. "name": "userinfotype",
  10700. "in": "query"
  10701. },
  10702. {
  10703. "type": "integer",
  10704. "description": "交易模式",
  10705. "name": "trademode",
  10706. "in": "query"
  10707. },
  10708. {
  10709. "type": "integer",
  10710. "description": "商品id",
  10711. "name": "goodsid",
  10712. "in": "query"
  10713. },
  10714. {
  10715. "type": "string",
  10716. "description": "名称(模糊搜索账户)",
  10717. "name": "filtername",
  10718. "in": "query"
  10719. },
  10720. {
  10721. "type": "string",
  10722. "description": "开始交易日(yyyymmdd)",
  10723. "name": "begindate",
  10724. "in": "query"
  10725. },
  10726. {
  10727. "type": "string",
  10728. "description": "结束交易日(yyyymmdd)",
  10729. "name": "enddate",
  10730. "in": "query"
  10731. },
  10732. {
  10733. "type": "integer",
  10734. "description": "是否包含子级 1-包含",
  10735. "name": "includesub",
  10736. "in": "query"
  10737. }
  10738. ],
  10739. "responses": {
  10740. "200": {
  10741. "description": "OK",
  10742. "schema": {
  10743. "type": "array",
  10744. "items": {
  10745. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  10746. }
  10747. }
  10748. },
  10749. "500": {
  10750. "description": "Internal Server Error",
  10751. "schema": {
  10752. "$ref": "#/definitions/app.Response"
  10753. }
  10754. }
  10755. }
  10756. }
  10757. },
  10758. "/QhjMgr/QueryTradeOrderDetail": {
  10759. "get": {
  10760. "security": [
  10761. {
  10762. "ApiKeyAuth": []
  10763. }
  10764. ],
  10765. "produces": [
  10766. "application/json"
  10767. ],
  10768. "tags": [
  10769. "大连千海金(PCWeb)"
  10770. ],
  10771. "summary": "查询委托明细",
  10772. "parameters": [
  10773. {
  10774. "type": "integer",
  10775. "description": "用户ID",
  10776. "name": "userid",
  10777. "in": "query",
  10778. "required": true
  10779. },
  10780. {
  10781. "type": "integer",
  10782. "description": "用户类型 1-个人 2-企业",
  10783. "name": "userinfotype",
  10784. "in": "query"
  10785. },
  10786. {
  10787. "type": "integer",
  10788. "description": "交易模式",
  10789. "name": "trademode",
  10790. "in": "query"
  10791. },
  10792. {
  10793. "type": "integer",
  10794. "description": "商品id",
  10795. "name": "goodsid",
  10796. "in": "query"
  10797. },
  10798. {
  10799. "type": "string",
  10800. "description": "名称(模糊搜索账户)",
  10801. "name": "filtername",
  10802. "in": "query"
  10803. },
  10804. {
  10805. "type": "string",
  10806. "description": "开始交易日(yyyymmdd)",
  10807. "name": "begindate",
  10808. "in": "query"
  10809. },
  10810. {
  10811. "type": "string",
  10812. "description": "结束交易日(yyyymmdd)",
  10813. "name": "enddate",
  10814. "in": "query"
  10815. },
  10816. {
  10817. "type": "integer",
  10818. "description": "是否包含子级 1-包含",
  10819. "name": "includesub",
  10820. "in": "query"
  10821. }
  10822. ],
  10823. "responses": {
  10824. "200": {
  10825. "description": "OK",
  10826. "schema": {
  10827. "type": "array",
  10828. "items": {
  10829. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  10830. }
  10831. }
  10832. },
  10833. "500": {
  10834. "description": "Internal Server Error",
  10835. "schema": {
  10836. "$ref": "#/definitions/app.Response"
  10837. }
  10838. }
  10839. }
  10840. }
  10841. },
  10842. "/QhjMgr/QueryTradePayOrder": {
  10843. "get": {
  10844. "security": [
  10845. {
  10846. "ApiKeyAuth": []
  10847. }
  10848. ],
  10849. "produces": [
  10850. "application/json"
  10851. ],
  10852. "tags": [
  10853. "大连千海金(PCWeb)"
  10854. ],
  10855. "summary": "查询待付款单",
  10856. "parameters": [
  10857. {
  10858. "type": "integer",
  10859. "description": "用户ID",
  10860. "name": "userid",
  10861. "in": "query",
  10862. "required": true
  10863. },
  10864. {
  10865. "type": "string",
  10866. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10867. "name": "payflag",
  10868. "in": "query"
  10869. },
  10870. {
  10871. "type": "integer",
  10872. "description": "用户类型 1-个人 2-企业",
  10873. "name": "userinfotype",
  10874. "in": "query"
  10875. },
  10876. {
  10877. "type": "integer",
  10878. "description": "交易模式",
  10879. "name": "trademode",
  10880. "in": "query"
  10881. },
  10882. {
  10883. "type": "integer",
  10884. "description": "商品id",
  10885. "name": "goodsid",
  10886. "in": "query"
  10887. },
  10888. {
  10889. "type": "string",
  10890. "description": "名称(模糊搜索账户)",
  10891. "name": "filtername",
  10892. "in": "query"
  10893. },
  10894. {
  10895. "type": "string",
  10896. "description": "开始交易日(yyyymmdd)",
  10897. "name": "begindate",
  10898. "in": "query"
  10899. },
  10900. {
  10901. "type": "string",
  10902. "description": "结束交易日(yyyymmdd)",
  10903. "name": "enddate",
  10904. "in": "query"
  10905. },
  10906. {
  10907. "type": "integer",
  10908. "description": "是否包含子级 1-包含",
  10909. "name": "includesub",
  10910. "in": "query"
  10911. }
  10912. ],
  10913. "responses": {
  10914. "200": {
  10915. "description": "OK",
  10916. "schema": {
  10917. "type": "array",
  10918. "items": {
  10919. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  10920. }
  10921. }
  10922. },
  10923. "500": {
  10924. "description": "Internal Server Error",
  10925. "schema": {
  10926. "$ref": "#/definitions/app.Response"
  10927. }
  10928. }
  10929. }
  10930. }
  10931. },
  10932. "/QhjMgr/QueryTradePosition": {
  10933. "get": {
  10934. "security": [
  10935. {
  10936. "ApiKeyAuth": []
  10937. }
  10938. ],
  10939. "produces": [
  10940. "application/json"
  10941. ],
  10942. "tags": [
  10943. "大连千海金(PCWeb)"
  10944. ],
  10945. "summary": "查询持仓汇总",
  10946. "parameters": [
  10947. {
  10948. "type": "integer",
  10949. "description": "用户ID",
  10950. "name": "userid",
  10951. "in": "query",
  10952. "required": true
  10953. },
  10954. {
  10955. "type": "integer",
  10956. "description": "用户类型 1-个人 2-企业",
  10957. "name": "userinfotype",
  10958. "in": "query"
  10959. },
  10960. {
  10961. "type": "integer",
  10962. "description": "交易模式",
  10963. "name": "trademode",
  10964. "in": "query"
  10965. },
  10966. {
  10967. "type": "integer",
  10968. "description": "商品id",
  10969. "name": "goodsid",
  10970. "in": "query"
  10971. },
  10972. {
  10973. "type": "string",
  10974. "description": "名称(模糊搜索账户)",
  10975. "name": "filtername",
  10976. "in": "query"
  10977. },
  10978. {
  10979. "type": "integer",
  10980. "description": "是否包含子级 1-包含",
  10981. "name": "includesub",
  10982. "in": "query"
  10983. }
  10984. ],
  10985. "responses": {
  10986. "200": {
  10987. "description": "OK",
  10988. "schema": {
  10989. "type": "array",
  10990. "items": {
  10991. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  10992. }
  10993. }
  10994. },
  10995. "500": {
  10996. "description": "Internal Server Error",
  10997. "schema": {
  10998. "$ref": "#/definitions/app.Response"
  10999. }
  11000. }
  11001. }
  11002. }
  11003. },
  11004. "/QhjSys/QueryAgreementChangeLog": {
  11005. "get": {
  11006. "security": [
  11007. {
  11008. "ApiKeyAuth": []
  11009. }
  11010. ],
  11011. "produces": [
  11012. "application/json"
  11013. ],
  11014. "tags": [
  11015. "大连千海金(协议和签约信息)"
  11016. ],
  11017. "summary": "查询协议配置变更流水",
  11018. "parameters": [
  11019. {
  11020. "type": "integer",
  11021. "description": "协议ID",
  11022. "name": "agreementid",
  11023. "in": "query"
  11024. },
  11025. {
  11026. "type": "integer",
  11027. "description": "协议版本号",
  11028. "name": "agreementversion",
  11029. "in": "query"
  11030. },
  11031. {
  11032. "type": "integer",
  11033. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11034. "name": "agreementtype",
  11035. "in": "query"
  11036. },
  11037. {
  11038. "type": "string",
  11039. "description": "协议编号(模糊匹配)",
  11040. "name": "agreementno",
  11041. "in": "query"
  11042. },
  11043. {
  11044. "type": "string",
  11045. "description": "协议名称(模糊匹配)",
  11046. "name": "agreementname",
  11047. "in": "query"
  11048. }
  11049. ],
  11050. "responses": {
  11051. "200": {
  11052. "description": "OK",
  11053. "schema": {
  11054. "type": "array",
  11055. "items": {
  11056. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  11057. }
  11058. }
  11059. },
  11060. "500": {
  11061. "description": "Internal Server Error",
  11062. "schema": {
  11063. "$ref": "#/definitions/app.Response"
  11064. }
  11065. }
  11066. }
  11067. }
  11068. },
  11069. "/QhjSys/QueryAgreementConfig": {
  11070. "get": {
  11071. "security": [
  11072. {
  11073. "ApiKeyAuth": []
  11074. }
  11075. ],
  11076. "produces": [
  11077. "application/json"
  11078. ],
  11079. "tags": [
  11080. "大连千海金(协议和签约信息)"
  11081. ],
  11082. "summary": "查询协议配置",
  11083. "parameters": [
  11084. {
  11085. "type": "integer",
  11086. "description": "协议ID",
  11087. "name": "agreementid",
  11088. "in": "query"
  11089. },
  11090. {
  11091. "type": "integer",
  11092. "description": "协议版本号",
  11093. "name": "agreementversion",
  11094. "in": "query"
  11095. },
  11096. {
  11097. "type": "integer",
  11098. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11099. "name": "agreementtype",
  11100. "in": "query"
  11101. },
  11102. {
  11103. "type": "integer",
  11104. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11105. "name": "isvalid",
  11106. "in": "query"
  11107. },
  11108. {
  11109. "type": "string",
  11110. "description": "协议编号(模糊匹配)",
  11111. "name": "agreementno",
  11112. "in": "query"
  11113. },
  11114. {
  11115. "type": "string",
  11116. "description": "协议名称(模糊匹配)",
  11117. "name": "agreementname",
  11118. "in": "query"
  11119. }
  11120. ],
  11121. "responses": {
  11122. "200": {
  11123. "description": "OK",
  11124. "schema": {
  11125. "type": "array",
  11126. "items": {
  11127. "$ref": "#/definitions/models.QhjAgreementConfig"
  11128. }
  11129. }
  11130. },
  11131. "500": {
  11132. "description": "Internal Server Error",
  11133. "schema": {
  11134. "$ref": "#/definitions/app.Response"
  11135. }
  11136. }
  11137. }
  11138. }
  11139. },
  11140. "/QhjSys/QueryCustomerSignStatus": {
  11141. "get": {
  11142. "security": [
  11143. {
  11144. "ApiKeyAuth": []
  11145. }
  11146. ],
  11147. "produces": [
  11148. "application/json"
  11149. ],
  11150. "tags": [
  11151. "大连千海金(协议和签约信息)"
  11152. ],
  11153. "summary": "查询客户协议签约状态",
  11154. "parameters": [
  11155. {
  11156. "type": "integer",
  11157. "description": "客户ID",
  11158. "name": "userid",
  11159. "in": "query"
  11160. },
  11161. {
  11162. "type": "integer",
  11163. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  11164. "name": "nodetype",
  11165. "in": "query"
  11166. },
  11167. {
  11168. "type": "integer",
  11169. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11170. "name": "goodsid",
  11171. "in": "query"
  11172. },
  11173. {
  11174. "type": "string",
  11175. "description": "创建交易日(yyyyMMdd)",
  11176. "name": "tradedate",
  11177. "in": "query"
  11178. },
  11179. {
  11180. "type": "string",
  11181. "description": "用户名称(模糊匹配)",
  11182. "name": "username",
  11183. "in": "query"
  11184. }
  11185. ],
  11186. "responses": {
  11187. "200": {
  11188. "description": "OK",
  11189. "schema": {
  11190. "type": "array",
  11191. "items": {
  11192. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  11193. }
  11194. }
  11195. },
  11196. "500": {
  11197. "description": "Internal Server Error",
  11198. "schema": {
  11199. "$ref": "#/definitions/app.Response"
  11200. }
  11201. }
  11202. }
  11203. }
  11204. },
  11205. "/QhjSys/QueryNodeAgreementConfig": {
  11206. "get": {
  11207. "security": [
  11208. {
  11209. "ApiKeyAuth": []
  11210. }
  11211. ],
  11212. "produces": [
  11213. "application/json"
  11214. ],
  11215. "tags": [
  11216. "大连千海金(协议和签约信息)"
  11217. ],
  11218. "summary": "查询协议节点配置",
  11219. "parameters": [
  11220. {
  11221. "type": "integer",
  11222. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11223. "name": "configid",
  11224. "in": "query"
  11225. },
  11226. {
  11227. "type": "integer",
  11228. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11229. "name": "nodetype",
  11230. "in": "query"
  11231. },
  11232. {
  11233. "type": "integer",
  11234. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11235. "name": "goodsid",
  11236. "in": "query"
  11237. },
  11238. {
  11239. "type": "integer",
  11240. "description": "协议ID",
  11241. "name": "agreementid",
  11242. "in": "query"
  11243. },
  11244. {
  11245. "type": "integer",
  11246. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11247. "name": "agreementtype",
  11248. "in": "query"
  11249. },
  11250. {
  11251. "type": "integer",
  11252. "description": "协议版本号",
  11253. "name": "agreementversion",
  11254. "in": "query"
  11255. },
  11256. {
  11257. "type": "string",
  11258. "description": "协议编号(模糊匹配)",
  11259. "name": "agreementno",
  11260. "in": "query"
  11261. },
  11262. {
  11263. "type": "string",
  11264. "description": "协议名称(模糊匹配)",
  11265. "name": "agreementname",
  11266. "in": "query"
  11267. }
  11268. ],
  11269. "responses": {
  11270. "200": {
  11271. "description": "OK",
  11272. "schema": {
  11273. "type": "array",
  11274. "items": {
  11275. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  11276. }
  11277. }
  11278. },
  11279. "500": {
  11280. "description": "Internal Server Error",
  11281. "schema": {
  11282. "$ref": "#/definitions/app.Response"
  11283. }
  11284. }
  11285. }
  11286. }
  11287. },
  11288. "/QhjSys/QueryQhjCustomerSignLog": {
  11289. "get": {
  11290. "security": [
  11291. {
  11292. "ApiKeyAuth": []
  11293. }
  11294. ],
  11295. "produces": [
  11296. "application/json"
  11297. ],
  11298. "tags": [
  11299. "大连千海金(协议和签约信息)"
  11300. ],
  11301. "summary": "查询客户协议签约流水",
  11302. "parameters": [
  11303. {
  11304. "type": "integer",
  11305. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  11306. "name": "logid",
  11307. "in": "query"
  11308. },
  11309. {
  11310. "type": "integer",
  11311. "description": "客户ID",
  11312. "name": "userid",
  11313. "in": "query"
  11314. },
  11315. {
  11316. "type": "integer",
  11317. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11318. "name": "nodetype",
  11319. "in": "query"
  11320. },
  11321. {
  11322. "type": "integer",
  11323. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11324. "name": "goodsid",
  11325. "in": "query"
  11326. },
  11327. {
  11328. "type": "integer",
  11329. "description": "协议ID",
  11330. "name": "agreementid",
  11331. "in": "query"
  11332. },
  11333. {
  11334. "type": "string",
  11335. "description": "用户名称(模糊匹配)",
  11336. "name": "username",
  11337. "in": "query"
  11338. },
  11339. {
  11340. "type": "string",
  11341. "description": "协议编号(模糊匹配)",
  11342. "name": "agreementno",
  11343. "in": "query"
  11344. },
  11345. {
  11346. "type": "string",
  11347. "description": "协议名称(模糊匹配)",
  11348. "name": "agreementname",
  11349. "in": "query"
  11350. }
  11351. ],
  11352. "responses": {
  11353. "200": {
  11354. "description": "OK",
  11355. "schema": {
  11356. "type": "array",
  11357. "items": {
  11358. "$ref": "#/definitions/models.QhjCustomerSignLog"
  11359. }
  11360. }
  11361. },
  11362. "500": {
  11363. "description": "Internal Server Error",
  11364. "schema": {
  11365. "$ref": "#/definitions/app.Response"
  11366. }
  11367. }
  11368. }
  11369. }
  11370. },
  11371. "/QhjSys/QueryUserNodeCfgAndStatus": {
  11372. "get": {
  11373. "security": [
  11374. {
  11375. "ApiKeyAuth": []
  11376. }
  11377. ],
  11378. "produces": [
  11379. "application/json"
  11380. ],
  11381. "tags": [
  11382. "大连千海金(协议和签约信息)"
  11383. ],
  11384. "summary": "查询用户协议节点配置和状态",
  11385. "parameters": [
  11386. {
  11387. "type": "integer",
  11388. "description": "客户ID",
  11389. "name": "userid",
  11390. "in": "query"
  11391. },
  11392. {
  11393. "type": "integer",
  11394. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11395. "name": "configid",
  11396. "in": "query"
  11397. },
  11398. {
  11399. "type": "string",
  11400. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11401. "name": "nodetype",
  11402. "in": "query"
  11403. },
  11404. {
  11405. "type": "integer",
  11406. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11407. "name": "goodsid",
  11408. "in": "query"
  11409. },
  11410. {
  11411. "type": "integer",
  11412. "description": "协议ID",
  11413. "name": "agreementid",
  11414. "in": "query"
  11415. },
  11416. {
  11417. "type": "integer",
  11418. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11419. "name": "agreementtype",
  11420. "in": "query"
  11421. },
  11422. {
  11423. "type": "integer",
  11424. "description": "协议版本号",
  11425. "name": "agreementversion",
  11426. "in": "query"
  11427. },
  11428. {
  11429. "type": "string",
  11430. "description": "协议编号(模糊匹配)",
  11431. "name": "agreementno",
  11432. "in": "query"
  11433. },
  11434. {
  11435. "type": "string",
  11436. "description": "协议名称(模糊匹配)",
  11437. "name": "agreementname",
  11438. "in": "query"
  11439. }
  11440. ],
  11441. "responses": {
  11442. "200": {
  11443. "description": "OK",
  11444. "schema": {
  11445. "type": "array",
  11446. "items": {
  11447. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  11448. }
  11449. }
  11450. },
  11451. "500": {
  11452. "description": "Internal Server Error",
  11453. "schema": {
  11454. "$ref": "#/definitions/app.Response"
  11455. }
  11456. }
  11457. }
  11458. }
  11459. },
  11460. "/Quote/QueryHistoryDatas": {
  11461. "get": {
  11462. "security": [
  11463. {
  11464. "ApiKeyAuth": []
  11465. }
  11466. ],
  11467. "produces": [
  11468. "application/json"
  11469. ],
  11470. "tags": [
  11471. "行情服务"
  11472. ],
  11473. "summary": "查询行情历史数据",
  11474. "parameters": [
  11475. {
  11476. "type": "integer",
  11477. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  11478. "name": "cycleType",
  11479. "in": "query",
  11480. "required": true
  11481. },
  11482. {
  11483. "type": "string",
  11484. "description": "商品代码",
  11485. "name": "goodsCode",
  11486. "in": "query",
  11487. "required": true
  11488. },
  11489. {
  11490. "type": "string",
  11491. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11492. "name": "startTime",
  11493. "in": "query"
  11494. },
  11495. {
  11496. "type": "string",
  11497. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11498. "name": "endTime",
  11499. "in": "query"
  11500. },
  11501. {
  11502. "type": "integer",
  11503. "description": "条数",
  11504. "name": "count",
  11505. "in": "query"
  11506. },
  11507. {
  11508. "type": "boolean",
  11509. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11510. "name": "isAsc",
  11511. "in": "query"
  11512. }
  11513. ],
  11514. "responses": {
  11515. "200": {
  11516. "description": "OK",
  11517. "schema": {
  11518. "$ref": "#/definitions/quote.HistoryData"
  11519. }
  11520. },
  11521. "500": {
  11522. "description": "Internal Server Error",
  11523. "schema": {
  11524. "$ref": "#/definitions/app.Response"
  11525. }
  11526. }
  11527. }
  11528. }
  11529. },
  11530. "/Quote/QueryHistoryTikDatas": {
  11531. "get": {
  11532. "security": [
  11533. {
  11534. "ApiKeyAuth": []
  11535. }
  11536. ],
  11537. "produces": [
  11538. "application/json"
  11539. ],
  11540. "tags": [
  11541. "行情服务"
  11542. ],
  11543. "summary": "查询行情Tik数据",
  11544. "parameters": [
  11545. {
  11546. "type": "string",
  11547. "description": "商品代码",
  11548. "name": "goodsCode",
  11549. "in": "query",
  11550. "required": true
  11551. },
  11552. {
  11553. "type": "string",
  11554. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11555. "name": "startTime",
  11556. "in": "query"
  11557. },
  11558. {
  11559. "type": "string",
  11560. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11561. "name": "endTime",
  11562. "in": "query"
  11563. },
  11564. {
  11565. "type": "integer",
  11566. "description": "条数",
  11567. "name": "count",
  11568. "in": "query"
  11569. },
  11570. {
  11571. "type": "boolean",
  11572. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11573. "name": "isAsc",
  11574. "in": "query"
  11575. }
  11576. ],
  11577. "responses": {
  11578. "200": {
  11579. "description": "OK",
  11580. "schema": {
  11581. "$ref": "#/definitions/quote.HistoryTikData"
  11582. }
  11583. },
  11584. "500": {
  11585. "description": "Internal Server Error",
  11586. "schema": {
  11587. "$ref": "#/definitions/app.Response"
  11588. }
  11589. }
  11590. }
  11591. }
  11592. },
  11593. "/Quote/QueryQuoteDay": {
  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": "string",
  11610. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  11611. "name": "goodsCodes",
  11612. "in": "query"
  11613. }
  11614. ],
  11615. "responses": {
  11616. "200": {
  11617. "description": "OK",
  11618. "schema": {
  11619. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  11620. }
  11621. },
  11622. "500": {
  11623. "description": "Internal Server Error",
  11624. "schema": {
  11625. "$ref": "#/definitions/app.Response"
  11626. }
  11627. }
  11628. }
  11629. }
  11630. },
  11631. "/Quote/QueryTSData": {
  11632. "get": {
  11633. "security": [
  11634. {
  11635. "ApiKeyAuth": []
  11636. }
  11637. ],
  11638. "produces": [
  11639. "application/json"
  11640. ],
  11641. "tags": [
  11642. "行情服务"
  11643. ],
  11644. "summary": "分时图数据查询",
  11645. "parameters": [
  11646. {
  11647. "type": "string",
  11648. "description": "商品代码",
  11649. "name": "goodsCode",
  11650. "in": "query",
  11651. "required": true
  11652. }
  11653. ],
  11654. "responses": {
  11655. "200": {
  11656. "description": "OK",
  11657. "schema": {
  11658. "$ref": "#/definitions/quote.QueryTSDataRsp"
  11659. }
  11660. },
  11661. "500": {
  11662. "description": "Internal Server Error",
  11663. "schema": {
  11664. "$ref": "#/definitions/app.Response"
  11665. }
  11666. }
  11667. }
  11668. }
  11669. },
  11670. "/SZDZ/QueryConvertConfig": {
  11671. "get": {
  11672. "security": [
  11673. {
  11674. "ApiKeyAuth": []
  11675. }
  11676. ],
  11677. "produces": [
  11678. "application/json"
  11679. ],
  11680. "tags": [
  11681. "定制【尚志大宗】"
  11682. ],
  11683. "summary": "查询交易系统转换设置",
  11684. "parameters": [
  11685. {
  11686. "type": "integer",
  11687. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11688. "name": "convertType",
  11689. "in": "query"
  11690. },
  11691. {
  11692. "type": "string",
  11693. "description": "外部商品代码[JD\\PD]",
  11694. "name": "outerGoodsCode",
  11695. "in": "query"
  11696. },
  11697. {
  11698. "type": "string",
  11699. "description": "内部商品ID列表[交易],格式:1,2,3",
  11700. "name": "innerGoodsIDs",
  11701. "in": "query"
  11702. }
  11703. ],
  11704. "responses": {
  11705. "200": {
  11706. "description": "OK",
  11707. "schema": {
  11708. "$ref": "#/definitions/models.Szdz3convertconfig"
  11709. }
  11710. },
  11711. "500": {
  11712. "description": "Internal Server Error",
  11713. "schema": {
  11714. "$ref": "#/definitions/app.Response"
  11715. }
  11716. }
  11717. }
  11718. }
  11719. },
  11720. "/SZDZ/QueryConvertLog": {
  11721. "get": {
  11722. "security": [
  11723. {
  11724. "ApiKeyAuth": []
  11725. }
  11726. ],
  11727. "produces": [
  11728. "application/json"
  11729. ],
  11730. "tags": [
  11731. "定制【尚志大宗】"
  11732. ],
  11733. "summary": "交易系统转换流水查询",
  11734. "parameters": [
  11735. {
  11736. "type": "string",
  11737. "description": "资金账户 - 格式:1,2,3",
  11738. "name": "accountID",
  11739. "in": "query",
  11740. "required": true
  11741. },
  11742. {
  11743. "type": "string",
  11744. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11745. "name": "startDate",
  11746. "in": "query"
  11747. },
  11748. {
  11749. "type": "string",
  11750. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11751. "name": "endDate",
  11752. "in": "query"
  11753. }
  11754. ],
  11755. "responses": {
  11756. "200": {
  11757. "description": "OK",
  11758. "schema": {
  11759. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  11760. }
  11761. },
  11762. "500": {
  11763. "description": "Internal Server Error",
  11764. "schema": {
  11765. "$ref": "#/definitions/app.Response"
  11766. }
  11767. }
  11768. }
  11769. }
  11770. },
  11771. "/SZDZ/QueryGoodsPickup": {
  11772. "get": {
  11773. "security": [
  11774. {
  11775. "ApiKeyAuth": []
  11776. }
  11777. ],
  11778. "produces": [
  11779. "application/json"
  11780. ],
  11781. "tags": [
  11782. "定制【尚志大宗】"
  11783. ],
  11784. "summary": "商品提货单查询",
  11785. "parameters": [
  11786. {
  11787. "type": "string",
  11788. "description": "资金账户 - 格式:1,2,3",
  11789. "name": "accountID",
  11790. "in": "query",
  11791. "required": true
  11792. },
  11793. {
  11794. "type": "integer",
  11795. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11796. "name": "takeOrderStatus",
  11797. "in": "query"
  11798. }
  11799. ],
  11800. "responses": {
  11801. "200": {
  11802. "description": "OK",
  11803. "schema": {
  11804. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  11805. }
  11806. },
  11807. "500": {
  11808. "description": "Internal Server Error",
  11809. "schema": {
  11810. "$ref": "#/definitions/app.Response"
  11811. }
  11812. }
  11813. }
  11814. }
  11815. },
  11816. "/SZDZ/QueryRecieptOrder": {
  11817. "get": {
  11818. "security": [
  11819. {
  11820. "ApiKeyAuth": []
  11821. }
  11822. ],
  11823. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11824. "produces": [
  11825. "application/json"
  11826. ],
  11827. "tags": [
  11828. "定制【尚志大宗】"
  11829. ],
  11830. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  11831. "parameters": [
  11832. {
  11833. "type": "integer",
  11834. "description": "页码",
  11835. "name": "page",
  11836. "in": "query"
  11837. },
  11838. {
  11839. "type": "integer",
  11840. "description": "每页条数",
  11841. "name": "pagesize",
  11842. "in": "query"
  11843. },
  11844. {
  11845. "type": "integer",
  11846. "description": "商品ID",
  11847. "name": "goodsID",
  11848. "in": "query",
  11849. "required": true
  11850. },
  11851. {
  11852. "type": "string",
  11853. "description": "所属账户名称",
  11854. "name": "accountName",
  11855. "in": "query"
  11856. },
  11857. {
  11858. "type": "integer",
  11859. "description": "市场ID",
  11860. "name": "marketID",
  11861. "in": "query"
  11862. },
  11863. {
  11864. "type": "integer",
  11865. "description": "方向 - 0:买 1:卖",
  11866. "name": "buyorsell",
  11867. "in": "query",
  11868. "required": true
  11869. }
  11870. ],
  11871. "responses": {
  11872. "200": {
  11873. "description": "OK",
  11874. "schema": {
  11875. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  11876. }
  11877. },
  11878. "500": {
  11879. "description": "Internal Server Error",
  11880. "schema": {
  11881. "$ref": "#/definitions/app.Response"
  11882. }
  11883. }
  11884. }
  11885. }
  11886. },
  11887. "/SZDZ/QuerySZDZTradePosition": {
  11888. "get": {
  11889. "security": [
  11890. {
  11891. "ApiKeyAuth": []
  11892. }
  11893. ],
  11894. "produces": [
  11895. "application/json"
  11896. ],
  11897. "tags": [
  11898. "定制【尚志大宗】"
  11899. ],
  11900. "summary": "持仓汇总查询(尚志大宗)",
  11901. "parameters": [
  11902. {
  11903. "type": "integer",
  11904. "description": "资金账户",
  11905. "name": "accountID",
  11906. "in": "query",
  11907. "required": true
  11908. }
  11909. ],
  11910. "responses": {
  11911. "200": {
  11912. "description": "OK",
  11913. "schema": {
  11914. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  11915. }
  11916. },
  11917. "500": {
  11918. "description": "Internal Server Error",
  11919. "schema": {
  11920. "$ref": "#/definitions/app.Response"
  11921. }
  11922. }
  11923. }
  11924. }
  11925. },
  11926. "/SZDZ/SearchWhite": {
  11927. "get": {
  11928. "security": [
  11929. {
  11930. "ApiKeyAuth": []
  11931. }
  11932. ],
  11933. "produces": [
  11934. "application/json"
  11935. ],
  11936. "tags": [
  11937. "定制【尚志大宗】"
  11938. ],
  11939. "summary": "搜索白名单",
  11940. "parameters": [
  11941. {
  11942. "type": "integer",
  11943. "description": "用户ID",
  11944. "name": "userID",
  11945. "in": "query",
  11946. "required": true
  11947. }
  11948. ],
  11949. "responses": {
  11950. "200": {
  11951. "description": "OK",
  11952. "schema": {
  11953. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  11954. }
  11955. },
  11956. "500": {
  11957. "description": "Internal Server Error",
  11958. "schema": {
  11959. "$ref": "#/definitions/app.Response"
  11960. }
  11961. }
  11962. }
  11963. }
  11964. },
  11965. "/Search/SearchGoodses": {
  11966. "get": {
  11967. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  11968. "produces": [
  11969. "application/json"
  11970. ],
  11971. "tags": [
  11972. "检索服务"
  11973. ],
  11974. "summary": "检索商品信息",
  11975. "parameters": [
  11976. {
  11977. "type": "string",
  11978. "description": "检索内容",
  11979. "name": "content",
  11980. "in": "query",
  11981. "required": true
  11982. },
  11983. {
  11984. "type": "string",
  11985. "description": "交易模式,格式:1,2,3",
  11986. "name": "tradeModes",
  11987. "in": "query"
  11988. }
  11989. ],
  11990. "responses": {
  11991. "200": {
  11992. "description": "OK",
  11993. "schema": {
  11994. "$ref": "#/definitions/models.SearchGoods"
  11995. }
  11996. },
  11997. "500": {
  11998. "description": "Internal Server Error",
  11999. "schema": {
  12000. "$ref": "#/definitions/app.Response"
  12001. }
  12002. }
  12003. }
  12004. }
  12005. },
  12006. "/TaAccount/GetTaAccounts": {
  12007. "get": {
  12008. "security": [
  12009. {
  12010. "ApiKeyAuth": []
  12011. }
  12012. ],
  12013. "produces": [
  12014. "application/json"
  12015. ],
  12016. "tags": [
  12017. "资金账户"
  12018. ],
  12019. "summary": "获取资金账户信息",
  12020. "parameters": [
  12021. {
  12022. "type": "integer",
  12023. "description": "登录账户",
  12024. "name": "loginID",
  12025. "in": "query",
  12026. "required": true
  12027. },
  12028. {
  12029. "type": "integer",
  12030. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  12031. "name": "taAccountType",
  12032. "in": "query"
  12033. }
  12034. ],
  12035. "responses": {
  12036. "200": {
  12037. "description": "OK",
  12038. "schema": {
  12039. "$ref": "#/definitions/models.Taaccount"
  12040. }
  12041. },
  12042. "500": {
  12043. "description": "Internal Server Error",
  12044. "schema": {
  12045. "$ref": "#/definitions/app.Response"
  12046. }
  12047. }
  12048. }
  12049. }
  12050. },
  12051. "/TaAccount/QueryAmountLog": {
  12052. "get": {
  12053. "security": [
  12054. {
  12055. "ApiKeyAuth": []
  12056. }
  12057. ],
  12058. "produces": [
  12059. "application/json"
  12060. ],
  12061. "tags": [
  12062. "资金账户"
  12063. ],
  12064. "summary": "资金流水查询(当前)",
  12065. "parameters": [
  12066. {
  12067. "type": "integer",
  12068. "description": "页码",
  12069. "name": "page",
  12070. "in": "query"
  12071. },
  12072. {
  12073. "type": "integer",
  12074. "description": "每页条数",
  12075. "name": "pagesize",
  12076. "in": "query"
  12077. },
  12078. {
  12079. "type": "string",
  12080. "description": "资金账户 - 格式:1,2,3",
  12081. "name": "accountID",
  12082. "in": "query",
  12083. "required": true
  12084. },
  12085. {
  12086. "type": "string",
  12087. "description": "资金操作类型 - 格式:1,2,3",
  12088. "name": "OperateType",
  12089. "in": "query"
  12090. }
  12091. ],
  12092. "responses": {
  12093. "200": {
  12094. "description": "OK",
  12095. "schema": {
  12096. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12097. }
  12098. },
  12099. "500": {
  12100. "description": "Internal Server Error",
  12101. "schema": {
  12102. "$ref": "#/definitions/app.Response"
  12103. }
  12104. }
  12105. }
  12106. }
  12107. },
  12108. "/TaAccount/QueryHisAmountLog": {
  12109. "get": {
  12110. "security": [
  12111. {
  12112. "ApiKeyAuth": []
  12113. }
  12114. ],
  12115. "produces": [
  12116. "application/json"
  12117. ],
  12118. "tags": [
  12119. "资金账户"
  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": "string",
  12137. "description": "资金账户 - 格式:1,2,3",
  12138. "name": "accountID",
  12139. "in": "query",
  12140. "required": true
  12141. },
  12142. {
  12143. "type": "string",
  12144. "description": "资金操作类型 - 格式:1,2,3",
  12145. "name": "OperateType",
  12146. "in": "query"
  12147. },
  12148. {
  12149. "type": "string",
  12150. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12151. "name": "startDate",
  12152. "in": "query"
  12153. },
  12154. {
  12155. "type": "string",
  12156. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12157. "name": "endDate",
  12158. "in": "query"
  12159. }
  12160. ],
  12161. "responses": {
  12162. "200": {
  12163. "description": "OK",
  12164. "schema": {
  12165. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  12166. }
  12167. },
  12168. "500": {
  12169. "description": "Internal Server Error",
  12170. "schema": {
  12171. "$ref": "#/definitions/app.Response"
  12172. }
  12173. }
  12174. }
  12175. }
  12176. },
  12177. "/TaAccount/QueryRelatedTaAccount": {
  12178. "get": {
  12179. "security": [
  12180. {
  12181. "ApiKeyAuth": []
  12182. }
  12183. ],
  12184. "produces": [
  12185. "application/json"
  12186. ],
  12187. "tags": [
  12188. "资金账户"
  12189. ],
  12190. "summary": "查询关联资金账户信息",
  12191. "parameters": [
  12192. {
  12193. "type": "integer",
  12194. "description": "关联UserID",
  12195. "name": "relateduserid",
  12196. "in": "query",
  12197. "required": true
  12198. }
  12199. ],
  12200. "responses": {
  12201. "200": {
  12202. "description": "OK",
  12203. "schema": {
  12204. "type": "array",
  12205. "items": {
  12206. "$ref": "#/definitions/models.RelatedTaAccount"
  12207. }
  12208. }
  12209. },
  12210. "500": {
  12211. "description": "Internal Server Error",
  12212. "schema": {
  12213. "$ref": "#/definitions/app.Response"
  12214. }
  12215. }
  12216. }
  12217. }
  12218. },
  12219. "/Tjmd/QueryQuoteGoodsList": {
  12220. "get": {
  12221. "security": [
  12222. {
  12223. "ApiKeyAuth": []
  12224. }
  12225. ],
  12226. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  12227. "produces": [
  12228. "application/json"
  12229. ],
  12230. "tags": [
  12231. "天津麦顿"
  12232. ],
  12233. "summary": "查询掉期报价列表",
  12234. "parameters": [
  12235. {
  12236. "type": "integer",
  12237. "description": "用户类型",
  12238. "name": "usertype",
  12239. "in": "query",
  12240. "required": true
  12241. },
  12242. {
  12243. "type": "string",
  12244. "description": "市场id, 格式 1,2,3",
  12245. "name": "marketids",
  12246. "in": "query"
  12247. },
  12248. {
  12249. "type": "integer",
  12250. "description": "商品组id",
  12251. "name": "goodsgroupid",
  12252. "in": "query"
  12253. },
  12254. {
  12255. "type": "integer",
  12256. "description": "商品id",
  12257. "name": "goodsid",
  12258. "in": "query"
  12259. }
  12260. ],
  12261. "responses": {
  12262. "200": {
  12263. "description": "OK",
  12264. "schema": {
  12265. "type": "array",
  12266. "items": {
  12267. "$ref": "#/definitions/models.TjmdQuoteGoods"
  12268. }
  12269. }
  12270. },
  12271. "500": {
  12272. "description": "Internal Server Error",
  12273. "schema": {
  12274. "$ref": "#/definitions/app.Response"
  12275. }
  12276. }
  12277. }
  12278. }
  12279. },
  12280. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  12281. "get": {
  12282. "security": [
  12283. {
  12284. "ApiKeyAuth": []
  12285. }
  12286. ],
  12287. "produces": [
  12288. "application/json"
  12289. ],
  12290. "tags": [
  12291. "天津麦顿"
  12292. ],
  12293. "summary": "掉期商品订单详情(交易确认书)",
  12294. "parameters": [
  12295. {
  12296. "type": "string",
  12297. "description": "成交单号",
  12298. "name": "tradeid",
  12299. "in": "query",
  12300. "required": true
  12301. }
  12302. ],
  12303. "responses": {
  12304. "200": {
  12305. "description": "OK",
  12306. "schema": {
  12307. "type": "array",
  12308. "items": {
  12309. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  12310. }
  12311. }
  12312. },
  12313. "500": {
  12314. "description": "Internal Server Error",
  12315. "schema": {
  12316. "$ref": "#/definitions/app.Response"
  12317. }
  12318. }
  12319. }
  12320. }
  12321. },
  12322. "/Tjmd/QueryTjmdMarketSection": {
  12323. "get": {
  12324. "security": [
  12325. {
  12326. "ApiKeyAuth": []
  12327. }
  12328. ],
  12329. "produces": [
  12330. "application/json"
  12331. ],
  12332. "tags": [
  12333. "天津麦顿"
  12334. ],
  12335. "summary": "查询市场板块",
  12336. "responses": {
  12337. "200": {
  12338. "description": "OK",
  12339. "schema": {
  12340. "type": "array",
  12341. "items": {
  12342. "$ref": "#/definitions/models.TjmdMarketSection"
  12343. }
  12344. }
  12345. },
  12346. "500": {
  12347. "description": "Internal Server Error",
  12348. "schema": {
  12349. "$ref": "#/definitions/app.Response"
  12350. }
  12351. }
  12352. }
  12353. }
  12354. },
  12355. "/Tjmd/QueryTjmdTodayAccountMargin": {
  12356. "get": {
  12357. "security": [
  12358. {
  12359. "ApiKeyAuth": []
  12360. }
  12361. ],
  12362. "produces": [
  12363. "application/json"
  12364. ],
  12365. "tags": [
  12366. "天津麦顿"
  12367. ],
  12368. "summary": "查询今日账户保证金配置",
  12369. "parameters": [
  12370. {
  12371. "type": "string",
  12372. "description": "市场id",
  12373. "name": "marketid",
  12374. "in": "query"
  12375. },
  12376. {
  12377. "type": "string",
  12378. "description": "商品id",
  12379. "name": "goodsid",
  12380. "in": "query"
  12381. },
  12382. {
  12383. "type": "string",
  12384. "description": "资金账号",
  12385. "name": "accountid",
  12386. "in": "query"
  12387. }
  12388. ],
  12389. "responses": {
  12390. "200": {
  12391. "description": "OK",
  12392. "schema": {
  12393. "type": "array",
  12394. "items": {
  12395. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  12396. }
  12397. }
  12398. },
  12399. "500": {
  12400. "description": "Internal Server Error",
  12401. "schema": {
  12402. "$ref": "#/definitions/app.Response"
  12403. }
  12404. }
  12405. }
  12406. }
  12407. },
  12408. "/Tjmd/QueryTjmdTradeOrderDetail": {
  12409. "get": {
  12410. "security": [
  12411. {
  12412. "ApiKeyAuth": []
  12413. }
  12414. ],
  12415. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  12416. "produces": [
  12417. "application/json"
  12418. ],
  12419. "tags": [
  12420. "天津麦顿"
  12421. ],
  12422. "summary": "查询掉期买卖大厅",
  12423. "parameters": [
  12424. {
  12425. "type": "integer",
  12426. "description": "页码",
  12427. "name": "page",
  12428. "in": "query"
  12429. },
  12430. {
  12431. "type": "integer",
  12432. "description": "每页条数",
  12433. "name": "pagesize",
  12434. "in": "query"
  12435. },
  12436. {
  12437. "type": "integer",
  12438. "description": "用户id",
  12439. "name": "userid",
  12440. "in": "query",
  12441. "required": true
  12442. },
  12443. {
  12444. "type": "integer",
  12445. "description": "用户类型",
  12446. "name": "usertype",
  12447. "in": "query",
  12448. "required": true
  12449. },
  12450. {
  12451. "type": "string",
  12452. "description": "市场id, 格式 1,2,3",
  12453. "name": "marketids",
  12454. "in": "query"
  12455. },
  12456. {
  12457. "type": "integer",
  12458. "description": "商品id",
  12459. "name": "goodsid",
  12460. "in": "query",
  12461. "required": true
  12462. },
  12463. {
  12464. "type": "integer",
  12465. "description": "买卖方向 0-买 1-卖",
  12466. "name": "buyorsell",
  12467. "in": "query",
  12468. "required": true
  12469. }
  12470. ],
  12471. "responses": {
  12472. "200": {
  12473. "description": "OK",
  12474. "schema": {
  12475. "type": "array",
  12476. "items": {
  12477. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  12478. }
  12479. }
  12480. },
  12481. "500": {
  12482. "description": "Internal Server Error",
  12483. "schema": {
  12484. "$ref": "#/definitions/app.Response"
  12485. }
  12486. }
  12487. }
  12488. }
  12489. },
  12490. "/Tjmd/QueryTjmdTransferApply": {
  12491. "get": {
  12492. "security": [
  12493. {
  12494. "ApiKeyAuth": []
  12495. }
  12496. ],
  12497. "produces": [
  12498. "application/json"
  12499. ],
  12500. "tags": [
  12501. "天津麦顿"
  12502. ],
  12503. "summary": "查询掉期协议单",
  12504. "parameters": [
  12505. {
  12506. "type": "integer",
  12507. "description": "类型 1-我的申请 2-对方申请",
  12508. "name": "applytype",
  12509. "in": "query",
  12510. "required": true
  12511. },
  12512. {
  12513. "type": "string",
  12514. "description": "市场id, 格式 1,2,3",
  12515. "name": "marketids",
  12516. "in": "query"
  12517. },
  12518. {
  12519. "type": "string",
  12520. "description": "资金账号, 格式 25000000001,25000000003",
  12521. "name": "accountids",
  12522. "in": "query"
  12523. },
  12524. {
  12525. "type": "string",
  12526. "description": "开始交易日(yyyymmdd)",
  12527. "name": "begindate",
  12528. "in": "query"
  12529. },
  12530. {
  12531. "type": "string",
  12532. "description": "结束交易日(yyyymmdd)",
  12533. "name": "enddate",
  12534. "in": "query"
  12535. }
  12536. ],
  12537. "responses": {
  12538. "200": {
  12539. "description": "OK",
  12540. "schema": {
  12541. "type": "array",
  12542. "items": {
  12543. "$ref": "#/definitions/models.TjmdTransferApply"
  12544. }
  12545. }
  12546. },
  12547. "500": {
  12548. "description": "Internal Server Error",
  12549. "schema": {
  12550. "$ref": "#/definitions/app.Response"
  12551. }
  12552. }
  12553. }
  12554. }
  12555. },
  12556. "/Trade/QueryRecieptOrder": {
  12557. "get": {
  12558. "security": [
  12559. {
  12560. "ApiKeyAuth": []
  12561. }
  12562. ],
  12563. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12564. "produces": [
  12565. "application/json"
  12566. ],
  12567. "tags": [
  12568. "通用交易"
  12569. ],
  12570. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  12571. "parameters": [
  12572. {
  12573. "type": "integer",
  12574. "description": "页码",
  12575. "name": "page",
  12576. "in": "query"
  12577. },
  12578. {
  12579. "type": "integer",
  12580. "description": "每页条数",
  12581. "name": "pagesize",
  12582. "in": "query"
  12583. },
  12584. {
  12585. "type": "integer",
  12586. "description": "商品ID",
  12587. "name": "goodsID",
  12588. "in": "query",
  12589. "required": true
  12590. },
  12591. {
  12592. "type": "string",
  12593. "description": "所属账户名称",
  12594. "name": "accountName",
  12595. "in": "query"
  12596. },
  12597. {
  12598. "type": "integer",
  12599. "description": "市场ID",
  12600. "name": "marketID",
  12601. "in": "query"
  12602. },
  12603. {
  12604. "type": "integer",
  12605. "description": "方向 - 0:买 1:卖",
  12606. "name": "buyorsell",
  12607. "in": "query",
  12608. "required": true
  12609. }
  12610. ],
  12611. "responses": {
  12612. "200": {
  12613. "description": "OK",
  12614. "schema": {
  12615. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  12616. }
  12617. },
  12618. "500": {
  12619. "description": "Internal Server Error",
  12620. "schema": {
  12621. "$ref": "#/definitions/app.Response"
  12622. }
  12623. }
  12624. }
  12625. }
  12626. },
  12627. "/User/AddMessageBoard": {
  12628. "post": {
  12629. "security": [
  12630. {
  12631. "ApiKeyAuth": []
  12632. }
  12633. ],
  12634. "produces": [
  12635. "application/json"
  12636. ],
  12637. "tags": [
  12638. "用户信息"
  12639. ],
  12640. "summary": "添加用户留言板信息",
  12641. "parameters": [
  12642. {
  12643. "type": "integer",
  12644. "description": "用户ID",
  12645. "name": "userID",
  12646. "in": "query",
  12647. "required": true
  12648. },
  12649. {
  12650. "type": "string",
  12651. "description": "留言信息",
  12652. "name": "message",
  12653. "in": "query",
  12654. "required": true
  12655. },
  12656. {
  12657. "type": "string",
  12658. "description": "联系电话",
  12659. "name": "contactNum",
  12660. "in": "query",
  12661. "required": true
  12662. }
  12663. ],
  12664. "responses": {
  12665. "200": {
  12666. "description": "OK",
  12667. "schema": {
  12668. "$ref": "#/definitions/app.Response"
  12669. }
  12670. },
  12671. "500": {
  12672. "description": "Internal Server Error",
  12673. "schema": {
  12674. "$ref": "#/definitions/app.Response"
  12675. }
  12676. }
  12677. }
  12678. }
  12679. },
  12680. "/User/AddUserFavoriteGoods": {
  12681. "post": {
  12682. "security": [
  12683. {
  12684. "ApiKeyAuth": []
  12685. }
  12686. ],
  12687. "produces": [
  12688. "application/json"
  12689. ],
  12690. "tags": [
  12691. "用户信息"
  12692. ],
  12693. "summary": "添加用户商品收藏信息",
  12694. "parameters": [
  12695. {
  12696. "type": "integer",
  12697. "description": "用户ID",
  12698. "name": "userID",
  12699. "in": "query",
  12700. "required": true
  12701. },
  12702. {
  12703. "type": "integer",
  12704. "description": "商品ID",
  12705. "name": "goodsID",
  12706. "in": "query",
  12707. "required": true
  12708. }
  12709. ],
  12710. "responses": {
  12711. "200": {
  12712. "description": "OK",
  12713. "schema": {
  12714. "$ref": "#/definitions/app.Response"
  12715. }
  12716. },
  12717. "500": {
  12718. "description": "Internal Server Error",
  12719. "schema": {
  12720. "$ref": "#/definitions/app.Response"
  12721. }
  12722. }
  12723. }
  12724. }
  12725. },
  12726. "/User/GetLoginID": {
  12727. "get": {
  12728. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  12729. "produces": [
  12730. "application/json"
  12731. ],
  12732. "tags": [
  12733. "用户信息"
  12734. ],
  12735. "summary": "获取登录ID",
  12736. "parameters": [
  12737. {
  12738. "type": "string",
  12739. "description": "登录代码",
  12740. "name": "username",
  12741. "in": "query",
  12742. "required": true
  12743. }
  12744. ],
  12745. "responses": {
  12746. "200": {
  12747. "description": "OK",
  12748. "schema": {
  12749. "$ref": "#/definitions/app.Response"
  12750. }
  12751. },
  12752. "500": {
  12753. "description": "Internal Server Error",
  12754. "schema": {
  12755. "$ref": "#/definitions/app.Response"
  12756. }
  12757. }
  12758. }
  12759. }
  12760. },
  12761. "/User/GetUserAccount": {
  12762. "get": {
  12763. "security": [
  12764. {
  12765. "ApiKeyAuth": []
  12766. }
  12767. ],
  12768. "produces": [
  12769. "application/json"
  12770. ],
  12771. "tags": [
  12772. "用户信息"
  12773. ],
  12774. "summary": "获取用户账号信息",
  12775. "parameters": [
  12776. {
  12777. "type": "integer",
  12778. "description": "用户ID",
  12779. "name": "userID",
  12780. "in": "query",
  12781. "required": true
  12782. }
  12783. ],
  12784. "responses": {
  12785. "200": {
  12786. "description": "OK",
  12787. "schema": {
  12788. "$ref": "#/definitions/models.Useraccount"
  12789. }
  12790. },
  12791. "500": {
  12792. "description": "Internal Server Error",
  12793. "schema": {
  12794. "$ref": "#/definitions/app.Response"
  12795. }
  12796. }
  12797. }
  12798. }
  12799. },
  12800. "/User/GetUserAuthStatus": {
  12801. "get": {
  12802. "security": [
  12803. {
  12804. "ApiKeyAuth": []
  12805. }
  12806. ],
  12807. "produces": [
  12808. "application/json"
  12809. ],
  12810. "tags": [
  12811. "用户信息"
  12812. ],
  12813. "summary": "获取用户实名认证状态",
  12814. "parameters": [
  12815. {
  12816. "type": "integer",
  12817. "description": "用户ID",
  12818. "name": "userID",
  12819. "in": "query",
  12820. "required": true
  12821. }
  12822. ],
  12823. "responses": {
  12824. "200": {
  12825. "description": "OK",
  12826. "schema": {
  12827. "$ref": "#/definitions/app.Response"
  12828. }
  12829. },
  12830. "500": {
  12831. "description": "Internal Server Error",
  12832. "schema": {
  12833. "$ref": "#/definitions/app.Response"
  12834. }
  12835. }
  12836. }
  12837. }
  12838. },
  12839. "/User/LoginQuery": {
  12840. "get": {
  12841. "security": [
  12842. {
  12843. "ApiKeyAuth": []
  12844. }
  12845. ],
  12846. "produces": [
  12847. "application/json"
  12848. ],
  12849. "tags": [
  12850. "用户信息"
  12851. ],
  12852. "summary": "账户登录后信息查询",
  12853. "parameters": [
  12854. {
  12855. "type": "integer",
  12856. "description": "登录账号",
  12857. "name": "loginID",
  12858. "in": "query",
  12859. "required": true
  12860. }
  12861. ],
  12862. "responses": {
  12863. "200": {
  12864. "description": "OK",
  12865. "schema": {
  12866. "$ref": "#/definitions/user.LoginQueryRsp"
  12867. }
  12868. },
  12869. "500": {
  12870. "description": "Internal Server Error",
  12871. "schema": {
  12872. "$ref": "#/definitions/app.Response"
  12873. }
  12874. }
  12875. }
  12876. }
  12877. },
  12878. "/User/QueryMessageBoard": {
  12879. "get": {
  12880. "security": [
  12881. {
  12882. "ApiKeyAuth": []
  12883. }
  12884. ],
  12885. "produces": [
  12886. "application/json"
  12887. ],
  12888. "tags": [
  12889. "用户信息"
  12890. ],
  12891. "summary": "获取用户留言板信息",
  12892. "parameters": [
  12893. {
  12894. "type": "integer",
  12895. "description": "用户ID",
  12896. "name": "userID",
  12897. "in": "query",
  12898. "required": true
  12899. }
  12900. ],
  12901. "responses": {
  12902. "200": {
  12903. "description": "OK",
  12904. "schema": {
  12905. "$ref": "#/definitions/models.Messageboard"
  12906. }
  12907. },
  12908. "500": {
  12909. "description": "Internal Server Error",
  12910. "schema": {
  12911. "$ref": "#/definitions/app.Response"
  12912. }
  12913. }
  12914. }
  12915. }
  12916. },
  12917. "/User/QueryUserFavoriteGoodses": {
  12918. "get": {
  12919. "security": [
  12920. {
  12921. "ApiKeyAuth": []
  12922. }
  12923. ],
  12924. "produces": [
  12925. "application/json"
  12926. ],
  12927. "tags": [
  12928. "用户信息"
  12929. ],
  12930. "summary": "获取用户商品收藏信息",
  12931. "parameters": [
  12932. {
  12933. "type": "integer",
  12934. "description": "用户ID",
  12935. "name": "userID",
  12936. "in": "query",
  12937. "required": true
  12938. }
  12939. ],
  12940. "responses": {
  12941. "200": {
  12942. "description": "OK",
  12943. "schema": {
  12944. "$ref": "#/definitions/models.Userfavoritegoods"
  12945. }
  12946. },
  12947. "500": {
  12948. "description": "Internal Server Error",
  12949. "schema": {
  12950. "$ref": "#/definitions/app.Response"
  12951. }
  12952. }
  12953. }
  12954. }
  12955. },
  12956. "/User/QueryUserInfo": {
  12957. "get": {
  12958. "security": [
  12959. {
  12960. "ApiKeyAuth": []
  12961. }
  12962. ],
  12963. "produces": [
  12964. "application/json"
  12965. ],
  12966. "tags": [
  12967. "用户信息"
  12968. ],
  12969. "summary": "获取用户信息",
  12970. "parameters": [
  12971. {
  12972. "type": "integer",
  12973. "description": "用户ID",
  12974. "name": "userID",
  12975. "in": "query",
  12976. "required": true
  12977. },
  12978. {
  12979. "type": "boolean",
  12980. "description": "是否解密",
  12981. "name": "isDecrypt",
  12982. "in": "query"
  12983. }
  12984. ],
  12985. "responses": {
  12986. "200": {
  12987. "description": "OK",
  12988. "schema": {
  12989. "$ref": "#/definitions/models.Userinfo"
  12990. }
  12991. },
  12992. "500": {
  12993. "description": "Internal Server Error",
  12994. "schema": {
  12995. "$ref": "#/definitions/app.Response"
  12996. }
  12997. }
  12998. }
  12999. }
  13000. },
  13001. "/User/QueryUserReferNum": {
  13002. "get": {
  13003. "produces": [
  13004. "application/json"
  13005. ],
  13006. "tags": [
  13007. "用户信息"
  13008. ],
  13009. "summary": "获取用户邀请码",
  13010. "parameters": [
  13011. {
  13012. "type": "integer",
  13013. "description": "用户ID",
  13014. "name": "userID",
  13015. "in": "query",
  13016. "required": true
  13017. }
  13018. ],
  13019. "responses": {
  13020. "200": {
  13021. "description": "OK",
  13022. "schema": {
  13023. "$ref": "#/definitions/app.Response"
  13024. }
  13025. },
  13026. "500": {
  13027. "description": "Internal Server Error",
  13028. "schema": {
  13029. "$ref": "#/definitions/app.Response"
  13030. }
  13031. }
  13032. }
  13033. }
  13034. },
  13035. "/User/RemoveUserFavoriteGoods": {
  13036. "post": {
  13037. "security": [
  13038. {
  13039. "ApiKeyAuth": []
  13040. }
  13041. ],
  13042. "produces": [
  13043. "application/json"
  13044. ],
  13045. "tags": [
  13046. "用户信息"
  13047. ],
  13048. "summary": "移除用户商品收藏信息",
  13049. "parameters": [
  13050. {
  13051. "type": "integer",
  13052. "description": "用户ID",
  13053. "name": "userID",
  13054. "in": "query",
  13055. "required": true
  13056. },
  13057. {
  13058. "type": "integer",
  13059. "description": "商品ID",
  13060. "name": "goodsID",
  13061. "in": "query",
  13062. "required": true
  13063. }
  13064. ],
  13065. "responses": {
  13066. "200": {
  13067. "description": "OK",
  13068. "schema": {
  13069. "$ref": "#/definitions/app.Response"
  13070. }
  13071. },
  13072. "500": {
  13073. "description": "Internal Server Error",
  13074. "schema": {
  13075. "$ref": "#/definitions/app.Response"
  13076. }
  13077. }
  13078. }
  13079. }
  13080. },
  13081. "/User/UpdateUserAccountStatus": {
  13082. "post": {
  13083. "security": [
  13084. {
  13085. "ApiKeyAuth": []
  13086. }
  13087. ],
  13088. "produces": [
  13089. "application/json"
  13090. ],
  13091. "tags": [
  13092. "用户信息"
  13093. ],
  13094. "summary": "更新用户状态",
  13095. "parameters": [
  13096. {
  13097. "type": "integer",
  13098. "description": "用户ID",
  13099. "name": "userID",
  13100. "in": "query",
  13101. "required": true
  13102. },
  13103. {
  13104. "type": "integer",
  13105. "description": "账户状态 - 4:正常 6:注销(停用)",
  13106. "name": "accountStatus",
  13107. "in": "query",
  13108. "required": true
  13109. }
  13110. ],
  13111. "responses": {
  13112. "200": {
  13113. "description": "OK",
  13114. "schema": {
  13115. "$ref": "#/definitions/app.Response"
  13116. }
  13117. },
  13118. "500": {
  13119. "description": "Internal Server Error",
  13120. "schema": {
  13121. "$ref": "#/definitions/app.Response"
  13122. }
  13123. }
  13124. }
  13125. }
  13126. },
  13127. "/WRTrade/GetAllDeliveryGoods": {
  13128. "get": {
  13129. "security": [
  13130. {
  13131. "ApiKeyAuth": []
  13132. }
  13133. ],
  13134. "produces": [
  13135. "application/json"
  13136. ],
  13137. "tags": [
  13138. "仓单贸易",
  13139. "仓单贸易"
  13140. ],
  13141. "summary": "获取带仓单分类的种类信息",
  13142. "responses": {
  13143. "200": {
  13144. "description": "OK",
  13145. "schema": {
  13146. "$ref": "#/definitions/app.Response"
  13147. }
  13148. },
  13149. "500": {
  13150. "description": "Internal Server Error",
  13151. "schema": {
  13152. "$ref": "#/definitions/app.Response"
  13153. }
  13154. }
  13155. }
  13156. }
  13157. },
  13158. "/WrTrade2/InsertXhcpSellBackApply": {
  13159. "post": {
  13160. "security": [
  13161. {
  13162. "ApiKeyAuth": []
  13163. }
  13164. ],
  13165. "produces": [
  13166. "application/json"
  13167. ],
  13168. "tags": [
  13169. "仓单贸易v2"
  13170. ],
  13171. "summary": "新增回收申请(新会陈皮)",
  13172. "parameters": [
  13173. {
  13174. "description": "回收申请",
  13175. "name": "jsonBody",
  13176. "in": "body",
  13177. "required": true,
  13178. "schema": {
  13179. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  13180. }
  13181. }
  13182. ],
  13183. "responses": {
  13184. "200": {
  13185. "description": "OK",
  13186. "schema": {
  13187. "$ref": "#/definitions/app.Response"
  13188. }
  13189. },
  13190. "500": {
  13191. "description": "Internal Server Error",
  13192. "schema": {
  13193. "$ref": "#/definitions/app.Response"
  13194. }
  13195. }
  13196. }
  13197. }
  13198. },
  13199. "/WrTrade2/QueryDeliveryGoodsSection": {
  13200. "get": {
  13201. "security": [
  13202. {
  13203. "ApiKeyAuth": []
  13204. }
  13205. ],
  13206. "produces": [
  13207. "application/json"
  13208. ],
  13209. "tags": [
  13210. "仓单贸易v2"
  13211. ],
  13212. "summary": "查询板块(分类)",
  13213. "responses": {
  13214. "200": {
  13215. "description": "OK",
  13216. "schema": {
  13217. "type": "array",
  13218. "items": {
  13219. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  13220. }
  13221. }
  13222. },
  13223. "500": {
  13224. "description": "Internal Server Error",
  13225. "schema": {
  13226. "$ref": "#/definitions/app.Response"
  13227. }
  13228. }
  13229. }
  13230. }
  13231. },
  13232. "/WrTrade2/QueryFaProductDetail": {
  13233. "get": {
  13234. "security": [
  13235. {
  13236. "ApiKeyAuth": []
  13237. }
  13238. ],
  13239. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  13240. "produces": [
  13241. "application/json"
  13242. ],
  13243. "tags": [
  13244. "仓单贸易v2"
  13245. ],
  13246. "summary": "查询融资产品列表",
  13247. "parameters": [
  13248. {
  13249. "type": "integer",
  13250. "description": "仓单要素id",
  13251. "name": "wrfactortypeid",
  13252. "in": "query",
  13253. "required": true
  13254. }
  13255. ],
  13256. "responses": {
  13257. "200": {
  13258. "description": "OK",
  13259. "schema": {
  13260. "type": "array",
  13261. "items": {
  13262. "$ref": "#/definitions/models.WrFAProductDetail"
  13263. }
  13264. }
  13265. },
  13266. "500": {
  13267. "description": "Internal Server Error",
  13268. "schema": {
  13269. "$ref": "#/definitions/app.Response"
  13270. }
  13271. }
  13272. }
  13273. }
  13274. },
  13275. "/WrTrade2/QueryFilterItem": {
  13276. "get": {
  13277. "security": [
  13278. {
  13279. "ApiKeyAuth": []
  13280. }
  13281. ],
  13282. "produces": [
  13283. "application/json"
  13284. ],
  13285. "tags": [
  13286. "仓单贸易v2"
  13287. ],
  13288. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  13289. "parameters": [
  13290. {
  13291. "type": "string",
  13292. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  13293. "name": "itype",
  13294. "in": "query",
  13295. "required": true
  13296. }
  13297. ],
  13298. "responses": {
  13299. "200": {
  13300. "description": "OK",
  13301. "schema": {
  13302. "type": "array",
  13303. "items": {
  13304. "$ref": "#/definitions/models.WrFilterItem"
  13305. }
  13306. }
  13307. },
  13308. "500": {
  13309. "description": "Internal Server Error",
  13310. "schema": {
  13311. "$ref": "#/definitions/app.Response"
  13312. }
  13313. }
  13314. }
  13315. }
  13316. },
  13317. "/WrTrade2/QueryFtDeliveryGoods": {
  13318. "get": {
  13319. "security": [
  13320. {
  13321. "ApiKeyAuth": []
  13322. }
  13323. ],
  13324. "produces": [
  13325. "application/json"
  13326. ],
  13327. "tags": [
  13328. "仓单贸易v2"
  13329. ],
  13330. "summary": "查询品种品类筛选框列表",
  13331. "responses": {
  13332. "200": {
  13333. "description": "OK",
  13334. "schema": {
  13335. "type": "array",
  13336. "items": {
  13337. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  13338. }
  13339. }
  13340. },
  13341. "500": {
  13342. "description": "Internal Server Error",
  13343. "schema": {
  13344. "$ref": "#/definitions/app.Response"
  13345. }
  13346. }
  13347. }
  13348. }
  13349. },
  13350. "/WrTrade2/QueryHoldLB": {
  13351. "get": {
  13352. "security": [
  13353. {
  13354. "ApiKeyAuth": []
  13355. }
  13356. ],
  13357. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  13358. "produces": [
  13359. "application/json"
  13360. ],
  13361. "tags": [
  13362. "仓单贸易v2"
  13363. ],
  13364. "summary": "查询仓单持有记录",
  13365. "parameters": [
  13366. {
  13367. "type": "integer",
  13368. "description": "资金账号",
  13369. "name": "accountid",
  13370. "in": "query",
  13371. "required": true
  13372. },
  13373. {
  13374. "type": "integer",
  13375. "description": "仓库id",
  13376. "name": "warehouseid",
  13377. "in": "query"
  13378. },
  13379. {
  13380. "type": "integer",
  13381. "description": "品种id",
  13382. "name": "deliverygoodsid",
  13383. "in": "query"
  13384. },
  13385. {
  13386. "type": "integer",
  13387. "description": "品类id",
  13388. "name": "wrstandardid",
  13389. "in": "query"
  13390. },
  13391. {
  13392. "type": "integer",
  13393. "description": "仓单要素id",
  13394. "name": "wrfactortypeid",
  13395. "in": "query"
  13396. },
  13397. {
  13398. "type": "string",
  13399. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13400. "name": "dgitemname",
  13401. "in": "query"
  13402. }
  13403. ],
  13404. "responses": {
  13405. "200": {
  13406. "description": "OK",
  13407. "schema": {
  13408. "type": "array",
  13409. "items": {
  13410. "$ref": "#/definitions/models.WrHoldLB"
  13411. }
  13412. }
  13413. },
  13414. "500": {
  13415. "description": "Internal Server Error",
  13416. "schema": {
  13417. "$ref": "#/definitions/app.Response"
  13418. }
  13419. }
  13420. }
  13421. }
  13422. },
  13423. "/WrTrade2/QueryOrderQuote": {
  13424. "get": {
  13425. "security": [
  13426. {
  13427. "ApiKeyAuth": []
  13428. }
  13429. ],
  13430. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  13431. "produces": [
  13432. "application/json"
  13433. ],
  13434. "tags": [
  13435. "仓单贸易v2"
  13436. ],
  13437. "summary": "查询大厅行情列表",
  13438. "parameters": [
  13439. {
  13440. "type": "integer",
  13441. "description": "页码",
  13442. "name": "page",
  13443. "in": "query"
  13444. },
  13445. {
  13446. "type": "integer",
  13447. "description": "每页条数",
  13448. "name": "pagesize",
  13449. "in": "query"
  13450. },
  13451. {
  13452. "type": "integer",
  13453. "description": "仓单贸易市场id",
  13454. "name": "marketid",
  13455. "in": "query"
  13456. },
  13457. {
  13458. "type": "integer",
  13459. "description": "价格方式 - 1:固定价 2-浮动价",
  13460. "name": "wrpricetype",
  13461. "in": "query",
  13462. "required": true
  13463. },
  13464. {
  13465. "type": "integer",
  13466. "description": "0:仓单预售 1:仓单贸易",
  13467. "name": "haswr",
  13468. "in": "query"
  13469. },
  13470. {
  13471. "type": "string",
  13472. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13473. "name": "dgitemname",
  13474. "in": "query"
  13475. },
  13476. {
  13477. "type": "integer",
  13478. "description": "仓库id(筛选条件)",
  13479. "name": "warehouseid",
  13480. "in": "query"
  13481. },
  13482. {
  13483. "type": "integer",
  13484. "description": "品种id",
  13485. "name": "deliverygoodsid",
  13486. "in": "query"
  13487. },
  13488. {
  13489. "type": "integer",
  13490. "description": "品类id",
  13491. "name": "wrstandardid",
  13492. "in": "query"
  13493. },
  13494. {
  13495. "type": "integer",
  13496. "description": "品牌id(dgfactoryitemid)",
  13497. "name": "brandid",
  13498. "in": "query"
  13499. },
  13500. {
  13501. "type": "integer",
  13502. "description": "年份id(dgfactoryitemid)",
  13503. "name": "yearsid",
  13504. "in": "query"
  13505. },
  13506. {
  13507. "type": "integer",
  13508. "description": "仓单要素id",
  13509. "name": "wrfactortypeid",
  13510. "in": "query"
  13511. },
  13512. {
  13513. "type": "string",
  13514. "description": "交收月(yyyy-mm) 仓单预售填写",
  13515. "name": "deliverymonth",
  13516. "in": "query"
  13517. }
  13518. ],
  13519. "responses": {
  13520. "200": {
  13521. "description": "OK",
  13522. "schema": {
  13523. "type": "array",
  13524. "items": {
  13525. "$ref": "#/definitions/models.WrOrderQuote"
  13526. }
  13527. }
  13528. },
  13529. "500": {
  13530. "description": "Internal Server Error",
  13531. "schema": {
  13532. "$ref": "#/definitions/app.Response"
  13533. }
  13534. }
  13535. }
  13536. }
  13537. },
  13538. "/WrTrade2/QueryOrderQuoteDetail": {
  13539. "get": {
  13540. "security": [
  13541. {
  13542. "ApiKeyAuth": []
  13543. }
  13544. ],
  13545. "produces": [
  13546. "application/json"
  13547. ],
  13548. "tags": [
  13549. "仓单贸易v2"
  13550. ],
  13551. "summary": "查询买卖大厅",
  13552. "parameters": [
  13553. {
  13554. "type": "integer",
  13555. "description": "页码",
  13556. "name": "page",
  13557. "in": "query"
  13558. },
  13559. {
  13560. "type": "integer",
  13561. "description": "每页条数",
  13562. "name": "pagesize",
  13563. "in": "query"
  13564. },
  13565. {
  13566. "type": "integer",
  13567. "description": "仓单贸易市场id",
  13568. "name": "marketid",
  13569. "in": "query"
  13570. },
  13571. {
  13572. "type": "integer",
  13573. "description": "价格方式 - 1:固定价 2-浮动价",
  13574. "name": "wrpricetype",
  13575. "in": "query",
  13576. "required": true
  13577. },
  13578. {
  13579. "type": "integer",
  13580. "description": "0:仓单预售 1:仓单贸易",
  13581. "name": "haswr",
  13582. "in": "query"
  13583. },
  13584. {
  13585. "type": "integer",
  13586. "description": "仓单要素id",
  13587. "name": "wrfactortypeid",
  13588. "in": "query",
  13589. "required": true
  13590. },
  13591. {
  13592. "type": "integer",
  13593. "description": "期货商品id(浮动价方式时填)",
  13594. "name": "goodsid",
  13595. "in": "query"
  13596. },
  13597. {
  13598. "type": "integer",
  13599. "description": "买卖方向 0-买 1-卖",
  13600. "name": "buyorsell",
  13601. "in": "query",
  13602. "required": true
  13603. },
  13604. {
  13605. "type": "string",
  13606. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  13607. "name": "deliverymonth",
  13608. "in": "query"
  13609. }
  13610. ],
  13611. "responses": {
  13612. "200": {
  13613. "description": "OK",
  13614. "schema": {
  13615. "type": "array",
  13616. "items": {
  13617. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  13618. }
  13619. }
  13620. },
  13621. "500": {
  13622. "description": "Internal Server Error",
  13623. "schema": {
  13624. "$ref": "#/definitions/app.Response"
  13625. }
  13626. }
  13627. }
  13628. }
  13629. },
  13630. "/WrTrade2/QueryOrderQuoteMyq": {
  13631. "get": {
  13632. "security": [
  13633. {
  13634. "ApiKeyAuth": []
  13635. }
  13636. ],
  13637. "produces": [
  13638. "application/json"
  13639. ],
  13640. "tags": [
  13641. "仓单贸易v2"
  13642. ],
  13643. "summary": "查询贸易圈挂牌大厅",
  13644. "parameters": [
  13645. {
  13646. "type": "integer",
  13647. "description": "页码",
  13648. "name": "page",
  13649. "in": "query"
  13650. },
  13651. {
  13652. "type": "integer",
  13653. "description": "每页条数",
  13654. "name": "pagesize",
  13655. "in": "query"
  13656. },
  13657. {
  13658. "type": "integer",
  13659. "description": "用户id",
  13660. "name": "userid",
  13661. "in": "query",
  13662. "required": true
  13663. },
  13664. {
  13665. "type": "integer",
  13666. "description": "仓单贸易市场id",
  13667. "name": "marketid",
  13668. "in": "query"
  13669. },
  13670. {
  13671. "type": "integer",
  13672. "description": "0:仓单预售 1:仓单贸易",
  13673. "name": "haswr",
  13674. "in": "query"
  13675. },
  13676. {
  13677. "type": "integer",
  13678. "description": "买卖方向 0-买 1-卖",
  13679. "name": "buyorsell",
  13680. "in": "query",
  13681. "required": true
  13682. },
  13683. {
  13684. "type": "integer",
  13685. "description": "品种id",
  13686. "name": "deliverygoodsid",
  13687. "in": "query"
  13688. },
  13689. {
  13690. "type": "integer",
  13691. "description": "品类id",
  13692. "name": "wrstandardid",
  13693. "in": "query"
  13694. },
  13695. {
  13696. "type": "string",
  13697. "description": "交收月(yyyy-mm) 仓单预售填写",
  13698. "name": "deliverymonth",
  13699. "in": "query"
  13700. },
  13701. {
  13702. "type": "string",
  13703. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13704. "name": "dgitemname",
  13705. "in": "query"
  13706. }
  13707. ],
  13708. "responses": {
  13709. "200": {
  13710. "description": "OK",
  13711. "schema": {
  13712. "type": "array",
  13713. "items": {
  13714. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  13715. }
  13716. }
  13717. },
  13718. "500": {
  13719. "description": "Internal Server Error",
  13720. "schema": {
  13721. "$ref": "#/definitions/app.Response"
  13722. }
  13723. }
  13724. }
  13725. }
  13726. },
  13727. "/WrTrade2/QueryPerformancePlan": {
  13728. "get": {
  13729. "security": [
  13730. {
  13731. "ApiKeyAuth": []
  13732. }
  13733. ],
  13734. "produces": [
  13735. "application/json"
  13736. ],
  13737. "tags": [
  13738. "仓单贸易v2"
  13739. ],
  13740. "summary": "查询履约信息",
  13741. "parameters": [
  13742. {
  13743. "type": "integer",
  13744. "description": "用户id",
  13745. "name": "userid",
  13746. "in": "query",
  13747. "required": true
  13748. },
  13749. {
  13750. "type": "integer",
  13751. "description": "买卖方向 0-买 1-卖",
  13752. "name": "buyorsell",
  13753. "in": "query",
  13754. "required": true
  13755. },
  13756. {
  13757. "type": "string",
  13758. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  13759. "name": "status",
  13760. "in": "query"
  13761. },
  13762. {
  13763. "type": "string",
  13764. "description": "开始交易日(yyyymmdd)",
  13765. "name": "begindate",
  13766. "in": "query"
  13767. },
  13768. {
  13769. "type": "string",
  13770. "description": "结束交易日(yyyymmdd)",
  13771. "name": "enddate",
  13772. "in": "query"
  13773. }
  13774. ],
  13775. "responses": {
  13776. "200": {
  13777. "description": "OK",
  13778. "schema": {
  13779. "type": "array",
  13780. "items": {
  13781. "$ref": "#/definitions/models.WrPerformancePlan"
  13782. }
  13783. }
  13784. },
  13785. "500": {
  13786. "description": "Internal Server Error",
  13787. "schema": {
  13788. "$ref": "#/definitions/app.Response"
  13789. }
  13790. }
  13791. }
  13792. }
  13793. },
  13794. "/WrTrade2/QueryPermancePlanTmp": {
  13795. "get": {
  13796. "security": [
  13797. {
  13798. "ApiKeyAuth": []
  13799. }
  13800. ],
  13801. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  13802. "produces": [
  13803. "application/json"
  13804. ],
  13805. "tags": [
  13806. "仓单贸易v2"
  13807. ],
  13808. "summary": "查询履约模板",
  13809. "parameters": [
  13810. {
  13811. "type": "integer",
  13812. "description": "用户id",
  13813. "name": "userid",
  13814. "in": "query"
  13815. },
  13816. {
  13817. "type": "string",
  13818. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  13819. "name": "tmptype",
  13820. "in": "query"
  13821. },
  13822. {
  13823. "type": "integer",
  13824. "description": "是否包含公共模板(用户id为空的) 1-包含",
  13825. "name": "includepub",
  13826. "in": "query"
  13827. },
  13828. {
  13829. "type": "integer",
  13830. "description": "市场id(天津麦顿指定此参数,其它不用)",
  13831. "name": "marketid",
  13832. "in": "query"
  13833. }
  13834. ],
  13835. "responses": {
  13836. "200": {
  13837. "description": "OK",
  13838. "schema": {
  13839. "type": "array",
  13840. "items": {
  13841. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  13842. }
  13843. }
  13844. },
  13845. "500": {
  13846. "description": "Internal Server Error",
  13847. "schema": {
  13848. "$ref": "#/definitions/app.Response"
  13849. }
  13850. }
  13851. }
  13852. }
  13853. },
  13854. "/WrTrade2/QuerySiteColumnDetail": {
  13855. "get": {
  13856. "security": [
  13857. {
  13858. "ApiKeyAuth": []
  13859. }
  13860. ],
  13861. "produces": [
  13862. "application/json"
  13863. ],
  13864. "tags": [
  13865. "仓单贸易v2"
  13866. ],
  13867. "summary": "查询资讯",
  13868. "parameters": [
  13869. {
  13870. "type": "integer",
  13871. "description": "页码",
  13872. "name": "page",
  13873. "in": "query"
  13874. },
  13875. {
  13876. "type": "integer",
  13877. "description": "每页条数",
  13878. "name": "pagesize",
  13879. "in": "query"
  13880. },
  13881. {
  13882. "type": "integer",
  13883. "description": "所属栏目id",
  13884. "name": "columnid",
  13885. "in": "query"
  13886. }
  13887. ],
  13888. "responses": {
  13889. "200": {
  13890. "description": "OK",
  13891. "schema": {
  13892. "type": "array",
  13893. "items": {
  13894. "$ref": "#/definitions/models.WrSiteColumnDetail"
  13895. }
  13896. }
  13897. },
  13898. "500": {
  13899. "description": "Internal Server Error",
  13900. "schema": {
  13901. "$ref": "#/definitions/app.Response"
  13902. }
  13903. }
  13904. }
  13905. }
  13906. },
  13907. "/WrTrade2/QuerySpotGroupTradeSum": {
  13908. "get": {
  13909. "security": [
  13910. {
  13911. "ApiKeyAuth": []
  13912. }
  13913. ],
  13914. "produces": [
  13915. "application/json"
  13916. ],
  13917. "tags": [
  13918. "仓单贸易v2"
  13919. ],
  13920. "summary": "查询指数",
  13921. "responses": {
  13922. "200": {
  13923. "description": "OK",
  13924. "schema": {
  13925. "type": "array",
  13926. "items": {
  13927. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  13928. }
  13929. }
  13930. },
  13931. "500": {
  13932. "description": "Internal Server Error",
  13933. "schema": {
  13934. "$ref": "#/definitions/app.Response"
  13935. }
  13936. }
  13937. }
  13938. }
  13939. },
  13940. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  13941. "get": {
  13942. "security": [
  13943. {
  13944. "ApiKeyAuth": []
  13945. }
  13946. ],
  13947. "description": "查询的结果将会按日期 从小到大 排序",
  13948. "produces": [
  13949. "application/json"
  13950. ],
  13951. "tags": [
  13952. "仓单贸易v2"
  13953. ],
  13954. "summary": "查询指数详细(价格走势图)",
  13955. "parameters": [
  13956. {
  13957. "type": "integer",
  13958. "description": "现货商品id",
  13959. "name": "deliverygoodsid",
  13960. "in": "query",
  13961. "required": true
  13962. },
  13963. {
  13964. "type": "integer",
  13965. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  13966. "name": "lastnum",
  13967. "in": "query"
  13968. }
  13969. ],
  13970. "responses": {
  13971. "200": {
  13972. "description": "OK",
  13973. "schema": {
  13974. "type": "array",
  13975. "items": {
  13976. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  13977. }
  13978. }
  13979. },
  13980. "500": {
  13981. "description": "Internal Server Error",
  13982. "schema": {
  13983. "$ref": "#/definitions/app.Response"
  13984. }
  13985. }
  13986. }
  13987. }
  13988. },
  13989. "/WrTrade2/QueryWrAverageTradePrice": {
  13990. "get": {
  13991. "security": [
  13992. {
  13993. "ApiKeyAuth": []
  13994. }
  13995. ],
  13996. "produces": [
  13997. "application/json"
  13998. ],
  13999. "tags": [
  14000. "仓单贸易v2"
  14001. ],
  14002. "summary": "查询成交价(历史走势)",
  14003. "parameters": [
  14004. {
  14005. "type": "integer",
  14006. "description": "页码",
  14007. "name": "page",
  14008. "in": "query"
  14009. },
  14010. {
  14011. "type": "integer",
  14012. "description": "每页条数",
  14013. "name": "pagesize",
  14014. "in": "query"
  14015. },
  14016. {
  14017. "type": "integer",
  14018. "description": "0:仓单预售 1:仓单贸易",
  14019. "name": "haswr",
  14020. "in": "query",
  14021. "required": true
  14022. },
  14023. {
  14024. "type": "integer",
  14025. "description": "仓单要素id",
  14026. "name": "wrfactortypeid",
  14027. "in": "query",
  14028. "required": true
  14029. }
  14030. ],
  14031. "responses": {
  14032. "200": {
  14033. "description": "OK",
  14034. "schema": {
  14035. "type": "array",
  14036. "items": {
  14037. "$ref": "#/definitions/models.WrAverageTradePrice"
  14038. }
  14039. }
  14040. },
  14041. "500": {
  14042. "description": "Internal Server Error",
  14043. "schema": {
  14044. "$ref": "#/definitions/app.Response"
  14045. }
  14046. }
  14047. }
  14048. }
  14049. },
  14050. "/WrTrade2/QueryWrBrandAndYears": {
  14051. "get": {
  14052. "security": [
  14053. {
  14054. "ApiKeyAuth": []
  14055. }
  14056. ],
  14057. "produces": [
  14058. "application/json"
  14059. ],
  14060. "tags": [
  14061. "仓单贸易v2"
  14062. ],
  14063. "summary": "查询品牌和年份",
  14064. "responses": {
  14065. "200": {
  14066. "description": "OK",
  14067. "schema": {
  14068. "type": "array",
  14069. "items": {
  14070. "$ref": "#/definitions/models.WrBrandAndYears"
  14071. }
  14072. }
  14073. },
  14074. "500": {
  14075. "description": "Internal Server Error",
  14076. "schema": {
  14077. "$ref": "#/definitions/app.Response"
  14078. }
  14079. }
  14080. }
  14081. }
  14082. },
  14083. "/WrTrade2/QueryWrBsGoodsInfo": {
  14084. "get": {
  14085. "security": [
  14086. {
  14087. "ApiKeyAuth": []
  14088. }
  14089. ],
  14090. "description": "合约交易/买卖大厅/详情",
  14091. "produces": [
  14092. "application/json"
  14093. ],
  14094. "tags": [
  14095. "仓单贸易v2"
  14096. ],
  14097. "summary": "查询合约交易买卖大厅详情",
  14098. "parameters": [
  14099. {
  14100. "type": "integer",
  14101. "description": "商品id",
  14102. "name": "goodsid",
  14103. "in": "query",
  14104. "required": true
  14105. }
  14106. ],
  14107. "responses": {
  14108. "200": {
  14109. "description": "OK",
  14110. "schema": {
  14111. "type": "array",
  14112. "items": {
  14113. "$ref": "#/definitions/models.WrBsGoodsInfo"
  14114. }
  14115. }
  14116. },
  14117. "500": {
  14118. "description": "Internal Server Error",
  14119. "schema": {
  14120. "$ref": "#/definitions/app.Response"
  14121. }
  14122. }
  14123. }
  14124. }
  14125. },
  14126. "/WrTrade2/QueryWrBuybackDetail": {
  14127. "get": {
  14128. "security": [
  14129. {
  14130. "ApiKeyAuth": []
  14131. }
  14132. ],
  14133. "produces": [
  14134. "application/json"
  14135. ],
  14136. "tags": [
  14137. "仓单贸易v2"
  14138. ],
  14139. "summary": "查询仓单回购明细",
  14140. "parameters": [
  14141. {
  14142. "type": "integer",
  14143. "description": "融资合同id",
  14144. "name": "scfcontractid",
  14145. "in": "query"
  14146. }
  14147. ],
  14148. "responses": {
  14149. "200": {
  14150. "description": "OK",
  14151. "schema": {
  14152. "type": "array",
  14153. "items": {
  14154. "$ref": "#/definitions/models.WrBuybackDetail"
  14155. }
  14156. }
  14157. },
  14158. "500": {
  14159. "description": "Internal Server Error",
  14160. "schema": {
  14161. "$ref": "#/definitions/app.Response"
  14162. }
  14163. }
  14164. }
  14165. }
  14166. },
  14167. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  14168. "get": {
  14169. "security": [
  14170. {
  14171. "ApiKeyAuth": []
  14172. }
  14173. ],
  14174. "produces": [
  14175. "application/json"
  14176. ],
  14177. "tags": [
  14178. "仓单贸易v2"
  14179. ],
  14180. "summary": "查询固定广告配置",
  14181. "responses": {
  14182. "200": {
  14183. "description": "OK",
  14184. "schema": {
  14185. "type": "array",
  14186. "items": {
  14187. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  14188. }
  14189. }
  14190. },
  14191. "500": {
  14192. "description": "Internal Server Error",
  14193. "schema": {
  14194. "$ref": "#/definitions/app.Response"
  14195. }
  14196. }
  14197. }
  14198. }
  14199. },
  14200. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  14201. "get": {
  14202. "security": [
  14203. {
  14204. "ApiKeyAuth": []
  14205. }
  14206. ],
  14207. "produces": [
  14208. "application/json"
  14209. ],
  14210. "tags": [
  14211. "仓单贸易v2"
  14212. ],
  14213. "summary": "查询合约交收可点选仓单",
  14214. "parameters": [
  14215. {
  14216. "type": "integer",
  14217. "description": "资金账号",
  14218. "name": "accountid",
  14219. "in": "query",
  14220. "required": true
  14221. },
  14222. {
  14223. "type": "integer",
  14224. "description": "商品id",
  14225. "name": "goodsid",
  14226. "in": "query",
  14227. "required": true
  14228. }
  14229. ],
  14230. "responses": {
  14231. "200": {
  14232. "description": "OK",
  14233. "schema": {
  14234. "type": "array",
  14235. "items": {
  14236. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  14237. }
  14238. }
  14239. },
  14240. "500": {
  14241. "description": "Internal Server Error",
  14242. "schema": {
  14243. "$ref": "#/definitions/app.Response"
  14244. }
  14245. }
  14246. }
  14247. }
  14248. },
  14249. "/WrTrade2/QueryWrDeliveryDetail": {
  14250. "get": {
  14251. "security": [
  14252. {
  14253. "ApiKeyAuth": []
  14254. }
  14255. ],
  14256. "produces": [
  14257. "application/json"
  14258. ],
  14259. "tags": [
  14260. "仓单贸易v2"
  14261. ],
  14262. "summary": "查询交收",
  14263. "parameters": [
  14264. {
  14265. "type": "integer",
  14266. "description": "用户id",
  14267. "name": "userid",
  14268. "in": "query",
  14269. "required": true
  14270. },
  14271. {
  14272. "type": "integer",
  14273. "description": "资金账号id",
  14274. "name": "accountid",
  14275. "in": "query"
  14276. },
  14277. {
  14278. "type": "string",
  14279. "description": "开始交易日(yyyymmdd)",
  14280. "name": "begindate",
  14281. "in": "query"
  14282. },
  14283. {
  14284. "type": "string",
  14285. "description": "结束交易日(yyyymmdd)",
  14286. "name": "enddate",
  14287. "in": "query"
  14288. }
  14289. ],
  14290. "responses": {
  14291. "200": {
  14292. "description": "OK",
  14293. "schema": {
  14294. "type": "array",
  14295. "items": {
  14296. "$ref": "#/definitions/models.WrDeliveryDetail"
  14297. }
  14298. }
  14299. },
  14300. "500": {
  14301. "description": "Internal Server Error",
  14302. "schema": {
  14303. "$ref": "#/definitions/app.Response"
  14304. }
  14305. }
  14306. }
  14307. }
  14308. },
  14309. "/WrTrade2/QueryWrDraftUserInfo": {
  14310. "get": {
  14311. "security": [
  14312. {
  14313. "ApiKeyAuth": []
  14314. }
  14315. ],
  14316. "produces": [
  14317. "application/json"
  14318. ],
  14319. "tags": [
  14320. "仓单贸易v2"
  14321. ],
  14322. "summary": "查询实名认证信息",
  14323. "parameters": [
  14324. {
  14325. "type": "integer",
  14326. "description": "用户ID",
  14327. "name": "userid",
  14328. "in": "query",
  14329. "required": true
  14330. },
  14331. {
  14332. "type": "integer",
  14333. "description": "用户状态 1:正常 2:注销",
  14334. "name": "userstatus",
  14335. "in": "query"
  14336. }
  14337. ],
  14338. "responses": {
  14339. "200": {
  14340. "description": "OK",
  14341. "schema": {
  14342. "type": "array",
  14343. "items": {
  14344. "$ref": "#/definitions/models.WrDraftUserInfo"
  14345. }
  14346. }
  14347. },
  14348. "500": {
  14349. "description": "Internal Server Error",
  14350. "schema": {
  14351. "$ref": "#/definitions/app.Response"
  14352. }
  14353. }
  14354. }
  14355. }
  14356. },
  14357. "/WrTrade2/QueryWrFactorTypeInfo": {
  14358. "get": {
  14359. "security": [
  14360. {
  14361. "ApiKeyAuth": []
  14362. }
  14363. ],
  14364. "produces": [
  14365. "application/json"
  14366. ],
  14367. "tags": [
  14368. "仓单贸易v2"
  14369. ],
  14370. "summary": "查询仓单要素详细信息",
  14371. "parameters": [
  14372. {
  14373. "type": "integer",
  14374. "description": "仓单要素id",
  14375. "name": "wrfactortypeid",
  14376. "in": "query",
  14377. "required": true
  14378. }
  14379. ],
  14380. "responses": {
  14381. "200": {
  14382. "description": "OK",
  14383. "schema": {
  14384. "type": "array",
  14385. "items": {
  14386. "$ref": "#/definitions/models.WrFactorTypeInfo"
  14387. }
  14388. }
  14389. },
  14390. "500": {
  14391. "description": "Internal Server Error",
  14392. "schema": {
  14393. "$ref": "#/definitions/app.Response"
  14394. }
  14395. }
  14396. }
  14397. }
  14398. },
  14399. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  14400. "get": {
  14401. "security": [
  14402. {
  14403. "ApiKeyAuth": []
  14404. }
  14405. ],
  14406. "produces": [
  14407. "application/json"
  14408. ],
  14409. "tags": [
  14410. "仓单贸易v2"
  14411. ],
  14412. "summary": "查询仓单要素详细信息列表项",
  14413. "parameters": [
  14414. {
  14415. "type": "integer",
  14416. "description": "仓单要素id",
  14417. "name": "wrfactortypeid",
  14418. "in": "query",
  14419. "required": true
  14420. }
  14421. ],
  14422. "responses": {
  14423. "200": {
  14424. "description": "OK",
  14425. "schema": {
  14426. "type": "array",
  14427. "items": {
  14428. "$ref": "#/definitions/models.WrTypeItem"
  14429. }
  14430. }
  14431. },
  14432. "500": {
  14433. "description": "Internal Server Error",
  14434. "schema": {
  14435. "$ref": "#/definitions/app.Response"
  14436. }
  14437. }
  14438. }
  14439. }
  14440. },
  14441. "/WrTrade2/QueryWrFinanceBuyApply": {
  14442. "get": {
  14443. "security": [
  14444. {
  14445. "ApiKeyAuth": []
  14446. }
  14447. ],
  14448. "description": "页面 融资信息+ / 申请单",
  14449. "produces": [
  14450. "application/json"
  14451. ],
  14452. "tags": [
  14453. "仓单贸易v2"
  14454. ],
  14455. "summary": "查询融资购买申请",
  14456. "parameters": [
  14457. {
  14458. "type": "integer",
  14459. "description": "用户id",
  14460. "name": "userid",
  14461. "in": "query",
  14462. "required": true
  14463. }
  14464. ],
  14465. "responses": {
  14466. "200": {
  14467. "description": "OK",
  14468. "schema": {
  14469. "type": "array",
  14470. "items": {
  14471. "$ref": "#/definitions/models.WrFinanceBuyApply"
  14472. }
  14473. }
  14474. },
  14475. "500": {
  14476. "description": "Internal Server Error",
  14477. "schema": {
  14478. "$ref": "#/definitions/app.Response"
  14479. }
  14480. }
  14481. }
  14482. }
  14483. },
  14484. "/WrTrade2/QueryWrFriendApply": {
  14485. "get": {
  14486. "security": [
  14487. {
  14488. "ApiKeyAuth": []
  14489. }
  14490. ],
  14491. "produces": [
  14492. "application/json"
  14493. ],
  14494. "tags": [
  14495. "仓单贸易v2"
  14496. ],
  14497. "summary": "查询好友申请记录",
  14498. "parameters": [
  14499. {
  14500. "type": "integer",
  14501. "description": "用户id",
  14502. "name": "userid",
  14503. "in": "query",
  14504. "required": true
  14505. }
  14506. ],
  14507. "responses": {
  14508. "200": {
  14509. "description": "OK",
  14510. "schema": {
  14511. "type": "array",
  14512. "items": {
  14513. "$ref": "#/definitions/models.WrFriendApply"
  14514. }
  14515. }
  14516. },
  14517. "500": {
  14518. "description": "Internal Server Error",
  14519. "schema": {
  14520. "$ref": "#/definitions/app.Response"
  14521. }
  14522. }
  14523. }
  14524. }
  14525. },
  14526. "/WrTrade2/QueryWrGoodsInfo": {
  14527. "get": {
  14528. "security": [
  14529. {
  14530. "ApiKeyAuth": []
  14531. }
  14532. ],
  14533. "produces": [
  14534. "application/json"
  14535. ],
  14536. "tags": [
  14537. "仓单贸易v2"
  14538. ],
  14539. "summary": "查询仓单商品信息",
  14540. "parameters": [
  14541. {
  14542. "type": "integer",
  14543. "description": "仓单贸易市场id",
  14544. "name": "marketid",
  14545. "in": "query"
  14546. },
  14547. {
  14548. "type": "integer",
  14549. "description": "0:仓单预售 1:仓单贸易",
  14550. "name": "haswr",
  14551. "in": "query",
  14552. "required": true
  14553. },
  14554. {
  14555. "type": "integer",
  14556. "description": "仓单要素id",
  14557. "name": "wrfactortypeid",
  14558. "in": "query",
  14559. "required": true
  14560. },
  14561. {
  14562. "type": "integer",
  14563. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  14564. "name": "tmplateid",
  14565. "in": "query"
  14566. }
  14567. ],
  14568. "responses": {
  14569. "200": {
  14570. "description": "OK",
  14571. "schema": {
  14572. "type": "array",
  14573. "items": {
  14574. "$ref": "#/definitions/models.WrGoodsInfo"
  14575. }
  14576. }
  14577. },
  14578. "500": {
  14579. "description": "Internal Server Error",
  14580. "schema": {
  14581. "$ref": "#/definitions/app.Response"
  14582. }
  14583. }
  14584. }
  14585. }
  14586. },
  14587. "/WrTrade2/QueryWrMarketTradeConfig": {
  14588. "get": {
  14589. "security": [
  14590. {
  14591. "ApiKeyAuth": []
  14592. }
  14593. ],
  14594. "produces": [
  14595. "application/json"
  14596. ],
  14597. "tags": [
  14598. "仓单贸易v2"
  14599. ],
  14600. "summary": "查询市场交易参数配置",
  14601. "parameters": [
  14602. {
  14603. "type": "integer",
  14604. "description": "市场id",
  14605. "name": "marketid",
  14606. "in": "query"
  14607. }
  14608. ],
  14609. "responses": {
  14610. "200": {
  14611. "description": "OK",
  14612. "schema": {
  14613. "type": "array",
  14614. "items": {
  14615. "$ref": "#/definitions/models.WrMarketTradeConfig"
  14616. }
  14617. }
  14618. },
  14619. "500": {
  14620. "description": "Internal Server Error",
  14621. "schema": {
  14622. "$ref": "#/definitions/app.Response"
  14623. }
  14624. }
  14625. }
  14626. }
  14627. },
  14628. "/WrTrade2/QueryWrOrderDetail": {
  14629. "get": {
  14630. "security": [
  14631. {
  14632. "ApiKeyAuth": []
  14633. }
  14634. ],
  14635. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  14636. "produces": [
  14637. "application/json"
  14638. ],
  14639. "tags": [
  14640. "仓单贸易v2"
  14641. ],
  14642. "summary": "查询仓单委托单",
  14643. "parameters": [
  14644. {
  14645. "type": "integer",
  14646. "description": "页码",
  14647. "name": "page",
  14648. "in": "query"
  14649. },
  14650. {
  14651. "type": "integer",
  14652. "description": "每页条数",
  14653. "name": "pagesize",
  14654. "in": "query"
  14655. },
  14656. {
  14657. "type": "integer",
  14658. "description": "用户id",
  14659. "name": "userid",
  14660. "in": "query",
  14661. "required": true
  14662. },
  14663. {
  14664. "type": "integer",
  14665. "description": "仓单贸易市场id",
  14666. "name": "marketid",
  14667. "in": "query"
  14668. },
  14669. {
  14670. "type": "integer",
  14671. "description": "0:仓单预售 1:仓单贸易",
  14672. "name": "haswr",
  14673. "in": "query",
  14674. "required": true
  14675. },
  14676. {
  14677. "type": "integer",
  14678. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  14679. "name": "bcancel",
  14680. "in": "query"
  14681. },
  14682. {
  14683. "type": "integer",
  14684. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  14685. "name": "wrtradetype",
  14686. "in": "query"
  14687. },
  14688. {
  14689. "type": "string",
  14690. "description": "开始交易日(yyyymmdd)",
  14691. "name": "begindate",
  14692. "in": "query"
  14693. },
  14694. {
  14695. "type": "string",
  14696. "description": "结束交易日(yyyymmdd)",
  14697. "name": "enddate",
  14698. "in": "query"
  14699. }
  14700. ],
  14701. "responses": {
  14702. "200": {
  14703. "description": "OK",
  14704. "schema": {
  14705. "type": "array",
  14706. "items": {
  14707. "$ref": "#/definitions/models.WrOrderDetail"
  14708. }
  14709. }
  14710. },
  14711. "500": {
  14712. "description": "Internal Server Error",
  14713. "schema": {
  14714. "$ref": "#/definitions/app.Response"
  14715. }
  14716. }
  14717. }
  14718. }
  14719. },
  14720. "/WrTrade2/QueryWrOutInApply": {
  14721. "get": {
  14722. "security": [
  14723. {
  14724. "ApiKeyAuth": []
  14725. }
  14726. ],
  14727. "produces": [
  14728. "application/json"
  14729. ],
  14730. "tags": [
  14731. "仓单贸易v2"
  14732. ],
  14733. "summary": "查询提货申请",
  14734. "parameters": [
  14735. {
  14736. "type": "integer",
  14737. "description": "用户id",
  14738. "name": "userid",
  14739. "in": "query",
  14740. "required": true
  14741. },
  14742. {
  14743. "type": "string",
  14744. "description": "开始交易日(yyyymmdd)",
  14745. "name": "begindate",
  14746. "in": "query"
  14747. },
  14748. {
  14749. "type": "string",
  14750. "description": "结束交易日(yyyymmdd)",
  14751. "name": "enddate",
  14752. "in": "query"
  14753. }
  14754. ],
  14755. "responses": {
  14756. "200": {
  14757. "description": "OK",
  14758. "schema": {
  14759. "type": "array",
  14760. "items": {
  14761. "$ref": "#/definitions/models.WrOutInApply"
  14762. }
  14763. }
  14764. },
  14765. "500": {
  14766. "description": "Internal Server Error",
  14767. "schema": {
  14768. "$ref": "#/definitions/app.Response"
  14769. }
  14770. }
  14771. }
  14772. }
  14773. },
  14774. "/WrTrade2/QueryWrPerformancePlanStep": {
  14775. "get": {
  14776. "security": [
  14777. {
  14778. "ApiKeyAuth": []
  14779. }
  14780. ],
  14781. "produces": [
  14782. "application/json"
  14783. ],
  14784. "tags": [
  14785. "仓单贸易v2"
  14786. ],
  14787. "summary": "查询履约信息详情",
  14788. "parameters": [
  14789. {
  14790. "type": "integer",
  14791. "description": "履约计划id(performanceplanid)",
  14792. "name": "planid",
  14793. "in": "query",
  14794. "required": true
  14795. },
  14796. {
  14797. "type": "integer",
  14798. "description": "当前步骤id",
  14799. "name": "curstepid",
  14800. "in": "query"
  14801. }
  14802. ],
  14803. "responses": {
  14804. "200": {
  14805. "description": "OK",
  14806. "schema": {
  14807. "type": "array",
  14808. "items": {
  14809. "$ref": "#/definitions/models.WrPerformancePlanStep"
  14810. }
  14811. }
  14812. },
  14813. "500": {
  14814. "description": "Internal Server Error",
  14815. "schema": {
  14816. "$ref": "#/definitions/app.Response"
  14817. }
  14818. }
  14819. }
  14820. }
  14821. },
  14822. "/WrTrade2/QueryWrPerformanceStepType": {
  14823. "get": {
  14824. "security": [
  14825. {
  14826. "ApiKeyAuth": []
  14827. }
  14828. ],
  14829. "produces": [
  14830. "application/json"
  14831. ],
  14832. "tags": [
  14833. "仓单贸易v2"
  14834. ],
  14835. "summary": "查询履约步骤枚举",
  14836. "responses": {
  14837. "200": {
  14838. "description": "OK",
  14839. "schema": {
  14840. "type": "array",
  14841. "items": {
  14842. "$ref": "#/definitions/models.WrPerformanceStepType"
  14843. }
  14844. }
  14845. },
  14846. "500": {
  14847. "description": "Internal Server Error",
  14848. "schema": {
  14849. "$ref": "#/definitions/app.Response"
  14850. }
  14851. }
  14852. }
  14853. }
  14854. },
  14855. "/WrTrade2/QueryWrPosition": {
  14856. "get": {
  14857. "security": [
  14858. {
  14859. "ApiKeyAuth": []
  14860. }
  14861. ],
  14862. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  14863. "produces": [
  14864. "application/json"
  14865. ],
  14866. "tags": [
  14867. "仓单贸易v2"
  14868. ],
  14869. "summary": "查询现货(预售)仓单持仓",
  14870. "parameters": [
  14871. {
  14872. "type": "integer",
  14873. "description": "用户id",
  14874. "name": "userid",
  14875. "in": "query",
  14876. "required": true
  14877. },
  14878. {
  14879. "type": "integer",
  14880. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  14881. "name": "querytype",
  14882. "in": "query",
  14883. "required": true
  14884. },
  14885. {
  14886. "type": "integer",
  14887. "description": "0:仓单预售 1:仓单贸易",
  14888. "name": "haswr",
  14889. "in": "query",
  14890. "required": true
  14891. },
  14892. {
  14893. "type": "string",
  14894. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14895. "name": "dgitemname",
  14896. "in": "query"
  14897. },
  14898. {
  14899. "type": "integer",
  14900. "description": "仓库id(筛选条件)",
  14901. "name": "warehouseid",
  14902. "in": "query"
  14903. },
  14904. {
  14905. "type": "integer",
  14906. "description": "品种id",
  14907. "name": "deliverygoodsid",
  14908. "in": "query"
  14909. },
  14910. {
  14911. "type": "integer",
  14912. "description": "品类id",
  14913. "name": "wrstandardid",
  14914. "in": "query"
  14915. }
  14916. ],
  14917. "responses": {
  14918. "200": {
  14919. "description": "OK",
  14920. "schema": {
  14921. "type": "array",
  14922. "items": {
  14923. "$ref": "#/definitions/models.WrPosition"
  14924. }
  14925. }
  14926. },
  14927. "500": {
  14928. "description": "Internal Server Error",
  14929. "schema": {
  14930. "$ref": "#/definitions/app.Response"
  14931. }
  14932. }
  14933. }
  14934. }
  14935. },
  14936. "/WrTrade2/QueryWrPreSaleInfo": {
  14937. "get": {
  14938. "security": [
  14939. {
  14940. "ApiKeyAuth": []
  14941. }
  14942. ],
  14943. "produces": [
  14944. "application/json"
  14945. ],
  14946. "tags": [
  14947. "仓单贸易v2"
  14948. ],
  14949. "summary": "查询新品发布",
  14950. "parameters": [
  14951. {
  14952. "type": "integer",
  14953. "description": "市场id",
  14954. "name": "marketid",
  14955. "in": "query"
  14956. },
  14957. {
  14958. "type": "string",
  14959. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  14960. "name": "presalestatus",
  14961. "in": "query"
  14962. },
  14963. {
  14964. "type": "integer",
  14965. "description": "摇号标识 - 0:未摇号 1:已摇号",
  14966. "name": "lotteryflag",
  14967. "in": "query"
  14968. },
  14969. {
  14970. "type": "integer",
  14971. "description": "最近多少条记录(按创建时间倒序)",
  14972. "name": "lastnum",
  14973. "in": "query"
  14974. }
  14975. ],
  14976. "responses": {
  14977. "200": {
  14978. "description": "OK",
  14979. "schema": {
  14980. "type": "array",
  14981. "items": {
  14982. "$ref": "#/definitions/models.WrPreSaleInfo"
  14983. }
  14984. }
  14985. },
  14986. "500": {
  14987. "description": "Internal Server Error",
  14988. "schema": {
  14989. "$ref": "#/definitions/app.Response"
  14990. }
  14991. }
  14992. }
  14993. }
  14994. },
  14995. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  14996. "get": {
  14997. "security": [
  14998. {
  14999. "ApiKeyAuth": []
  15000. }
  15001. ],
  15002. "produces": [
  15003. "application/json"
  15004. ],
  15005. "tags": [
  15006. "仓单贸易v2"
  15007. ],
  15008. "summary": "查询价格走势",
  15009. "parameters": [
  15010. {
  15011. "type": "integer",
  15012. "description": "市场id",
  15013. "name": "marketid",
  15014. "in": "query",
  15015. "required": true
  15016. },
  15017. {
  15018. "type": "integer",
  15019. "description": "现货商品id",
  15020. "name": "wrstandardid",
  15021. "in": "query",
  15022. "required": true
  15023. },
  15024. {
  15025. "type": "string",
  15026. "description": "开始交易日(yyyymmdd)",
  15027. "name": "begindate",
  15028. "in": "query"
  15029. },
  15030. {
  15031. "type": "string",
  15032. "description": "结束交易日(yyyymmdd)",
  15033. "name": "enddate",
  15034. "in": "query"
  15035. },
  15036. {
  15037. "type": "integer",
  15038. "description": "最近多少条记录(按交易日倒序)",
  15039. "name": "lastnum",
  15040. "in": "query"
  15041. },
  15042. {
  15043. "type": "boolean",
  15044. "description": "是否今日",
  15045. "name": "istoday",
  15046. "in": "query"
  15047. }
  15048. ],
  15049. "responses": {
  15050. "200": {
  15051. "description": "OK",
  15052. "schema": {
  15053. "type": "array",
  15054. "items": {
  15055. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  15056. }
  15057. }
  15058. },
  15059. "500": {
  15060. "description": "Internal Server Error",
  15061. "schema": {
  15062. "$ref": "#/definitions/app.Response"
  15063. }
  15064. }
  15065. }
  15066. }
  15067. },
  15068. "/WrTrade2/QueryWrScfContract": {
  15069. "get": {
  15070. "security": [
  15071. {
  15072. "ApiKeyAuth": []
  15073. }
  15074. ],
  15075. "produces": [
  15076. "application/json"
  15077. ],
  15078. "tags": [
  15079. "仓单贸易v2"
  15080. ],
  15081. "summary": "查询仓单贸易融资合同",
  15082. "parameters": [
  15083. {
  15084. "type": "integer",
  15085. "description": "用户id",
  15086. "name": "userid",
  15087. "in": "query",
  15088. "required": true
  15089. },
  15090. {
  15091. "type": "integer",
  15092. "description": "融资合同id",
  15093. "name": "scfcontractid",
  15094. "in": "query"
  15095. }
  15096. ],
  15097. "responses": {
  15098. "200": {
  15099. "description": "OK",
  15100. "schema": {
  15101. "type": "array",
  15102. "items": {
  15103. "$ref": "#/definitions/models.WrScfContract"
  15104. }
  15105. }
  15106. },
  15107. "500": {
  15108. "description": "Internal Server Error",
  15109. "schema": {
  15110. "$ref": "#/definitions/app.Response"
  15111. }
  15112. }
  15113. }
  15114. }
  15115. },
  15116. "/WrTrade2/QueryWrScfContractInterest": {
  15117. "get": {
  15118. "security": [
  15119. {
  15120. "ApiKeyAuth": []
  15121. }
  15122. ],
  15123. "produces": [
  15124. "application/json"
  15125. ],
  15126. "tags": [
  15127. "仓单贸易v2"
  15128. ],
  15129. "summary": "查询融资合同费用明细",
  15130. "parameters": [
  15131. {
  15132. "type": "integer",
  15133. "description": "融资合同id",
  15134. "name": "scfcontractid",
  15135. "in": "query"
  15136. }
  15137. ],
  15138. "responses": {
  15139. "200": {
  15140. "description": "OK",
  15141. "schema": {
  15142. "type": "array",
  15143. "items": {
  15144. "$ref": "#/definitions/models.WrScfContractInterest"
  15145. }
  15146. }
  15147. },
  15148. "500": {
  15149. "description": "Internal Server Error",
  15150. "schema": {
  15151. "$ref": "#/definitions/app.Response"
  15152. }
  15153. }
  15154. }
  15155. }
  15156. },
  15157. "/WrTrade2/QueryWrSearchUser": {
  15158. "get": {
  15159. "security": [
  15160. {
  15161. "ApiKeyAuth": []
  15162. }
  15163. ],
  15164. "produces": [
  15165. "application/json"
  15166. ],
  15167. "tags": [
  15168. "仓单贸易v2"
  15169. ],
  15170. "summary": "查询用户",
  15171. "parameters": [
  15172. {
  15173. "type": "string",
  15174. "description": "用户名称(模糊匹配)",
  15175. "name": "username",
  15176. "in": "query",
  15177. "required": true
  15178. }
  15179. ],
  15180. "responses": {
  15181. "200": {
  15182. "description": "OK",
  15183. "schema": {
  15184. "type": "array",
  15185. "items": {
  15186. "$ref": "#/definitions/models.WrSearchUser"
  15187. }
  15188. }
  15189. },
  15190. "500": {
  15191. "description": "Internal Server Error",
  15192. "schema": {
  15193. "$ref": "#/definitions/app.Response"
  15194. }
  15195. }
  15196. }
  15197. }
  15198. },
  15199. "/WrTrade2/QueryWrSpecialMatchOrder": {
  15200. "get": {
  15201. "security": [
  15202. {
  15203. "ApiKeyAuth": []
  15204. }
  15205. ],
  15206. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  15207. "produces": [
  15208. "application/json"
  15209. ],
  15210. "tags": [
  15211. "仓单贸易v2"
  15212. ],
  15213. "summary": "查询指定成交",
  15214. "parameters": [
  15215. {
  15216. "type": "integer",
  15217. "description": "页码",
  15218. "name": "page",
  15219. "in": "query"
  15220. },
  15221. {
  15222. "type": "integer",
  15223. "description": "每页条数",
  15224. "name": "pagesize",
  15225. "in": "query"
  15226. },
  15227. {
  15228. "type": "integer",
  15229. "description": "用户id",
  15230. "name": "userid",
  15231. "in": "query",
  15232. "required": true
  15233. },
  15234. {
  15235. "type": "integer",
  15236. "description": "仓单贸易市场id",
  15237. "name": "marketid",
  15238. "in": "query"
  15239. },
  15240. {
  15241. "type": "integer",
  15242. "description": "0:仓单预售 1:仓单贸易",
  15243. "name": "haswr",
  15244. "in": "query",
  15245. "required": true
  15246. },
  15247. {
  15248. "type": "integer",
  15249. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  15250. "name": "isspecified",
  15251. "in": "query"
  15252. }
  15253. ],
  15254. "responses": {
  15255. "200": {
  15256. "description": "OK",
  15257. "schema": {
  15258. "type": "array",
  15259. "items": {
  15260. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  15261. }
  15262. }
  15263. },
  15264. "500": {
  15265. "description": "Internal Server Error",
  15266. "schema": {
  15267. "$ref": "#/definitions/app.Response"
  15268. }
  15269. }
  15270. }
  15271. }
  15272. },
  15273. "/WrTrade2/QueryWrStandardFactoryItem": {
  15274. "get": {
  15275. "security": [
  15276. {
  15277. "ApiKeyAuth": []
  15278. }
  15279. ],
  15280. "produces": [
  15281. "application/json"
  15282. ],
  15283. "tags": [
  15284. "仓单贸易v2"
  15285. ],
  15286. "summary": "查询品类要素定义项",
  15287. "parameters": [
  15288. {
  15289. "type": "integer",
  15290. "description": "品类id",
  15291. "name": "wrstandardid",
  15292. "in": "query",
  15293. "required": true
  15294. }
  15295. ],
  15296. "responses": {
  15297. "200": {
  15298. "description": "OK",
  15299. "schema": {
  15300. "type": "array",
  15301. "items": {
  15302. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  15303. }
  15304. }
  15305. },
  15306. "500": {
  15307. "description": "Internal Server Error",
  15308. "schema": {
  15309. "$ref": "#/definitions/app.Response"
  15310. }
  15311. }
  15312. }
  15313. }
  15314. },
  15315. "/WrTrade2/QueryWrTradeBargainApply": {
  15316. "get": {
  15317. "security": [
  15318. {
  15319. "ApiKeyAuth": []
  15320. }
  15321. ],
  15322. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  15323. "produces": [
  15324. "application/json"
  15325. ],
  15326. "tags": [
  15327. "仓单贸易v2"
  15328. ],
  15329. "summary": "查询议价单",
  15330. "parameters": [
  15331. {
  15332. "type": "integer",
  15333. "description": "议价人id(摘牌方)",
  15334. "name": "userid",
  15335. "in": "query"
  15336. },
  15337. {
  15338. "type": "integer",
  15339. "description": "挂牌方id(查对方议价时,填写此项)",
  15340. "name": "matchuserid",
  15341. "in": "query"
  15342. },
  15343. {
  15344. "type": "integer",
  15345. "description": "关联委托单id",
  15346. "name": "wrtradeorderid",
  15347. "in": "query"
  15348. },
  15349. {
  15350. "type": "integer",
  15351. "description": "0:仓单预售 1:仓单贸易",
  15352. "name": "haswr",
  15353. "in": "query",
  15354. "required": true
  15355. },
  15356. {
  15357. "type": "string",
  15358. "description": "开始交易日(yyyymmdd)",
  15359. "name": "begindate",
  15360. "in": "query"
  15361. },
  15362. {
  15363. "type": "string",
  15364. "description": "结束交易日(yyyymmdd)",
  15365. "name": "enddate",
  15366. "in": "query"
  15367. }
  15368. ],
  15369. "responses": {
  15370. "200": {
  15371. "description": "OK",
  15372. "schema": {
  15373. "type": "array",
  15374. "items": {
  15375. "$ref": "#/definitions/models.WRTradeBargainApply"
  15376. }
  15377. }
  15378. },
  15379. "500": {
  15380. "description": "Internal Server Error",
  15381. "schema": {
  15382. "$ref": "#/definitions/app.Response"
  15383. }
  15384. }
  15385. }
  15386. }
  15387. },
  15388. "/WrTrade2/QueryWrTradeDetail": {
  15389. "get": {
  15390. "security": [
  15391. {
  15392. "ApiKeyAuth": []
  15393. }
  15394. ],
  15395. "produces": [
  15396. "application/json"
  15397. ],
  15398. "tags": [
  15399. "仓单贸易v2"
  15400. ],
  15401. "summary": "查询仓单成交明细",
  15402. "parameters": [
  15403. {
  15404. "type": "integer",
  15405. "description": "页码",
  15406. "name": "page",
  15407. "in": "query"
  15408. },
  15409. {
  15410. "type": "integer",
  15411. "description": "每页条数",
  15412. "name": "pagesize",
  15413. "in": "query"
  15414. },
  15415. {
  15416. "type": "integer",
  15417. "description": "用户id",
  15418. "name": "userid",
  15419. "in": "query",
  15420. "required": true
  15421. },
  15422. {
  15423. "type": "integer",
  15424. "description": "仓单贸易市场id",
  15425. "name": "marketid",
  15426. "in": "query"
  15427. },
  15428. {
  15429. "type": "integer",
  15430. "description": "0:仓单预售 1:仓单贸易",
  15431. "name": "haswr",
  15432. "in": "query",
  15433. "required": true
  15434. },
  15435. {
  15436. "type": "string",
  15437. "description": "开始交易日(yyyymmdd)",
  15438. "name": "begindate",
  15439. "in": "query"
  15440. },
  15441. {
  15442. "type": "string",
  15443. "description": "结束交易日(yyyymmdd)",
  15444. "name": "enddate",
  15445. "in": "query"
  15446. }
  15447. ],
  15448. "responses": {
  15449. "200": {
  15450. "description": "OK",
  15451. "schema": {
  15452. "type": "array",
  15453. "items": {
  15454. "$ref": "#/definitions/models.WrTradeDetail"
  15455. }
  15456. }
  15457. },
  15458. "500": {
  15459. "description": "Internal Server Error",
  15460. "schema": {
  15461. "$ref": "#/definitions/app.Response"
  15462. }
  15463. }
  15464. }
  15465. }
  15466. },
  15467. "/WrTrade2/QueryWrTradeOrderDetail": {
  15468. "get": {
  15469. "security": [
  15470. {
  15471. "ApiKeyAuth": []
  15472. }
  15473. ],
  15474. "produces": [
  15475. "application/json"
  15476. ],
  15477. "tags": [
  15478. "仓单贸易v2"
  15479. ],
  15480. "summary": "查询合约交易买卖大厅",
  15481. "parameters": [
  15482. {
  15483. "type": "integer",
  15484. "description": "页码",
  15485. "name": "page",
  15486. "in": "query"
  15487. },
  15488. {
  15489. "type": "integer",
  15490. "description": "每页条数",
  15491. "name": "pagesize",
  15492. "in": "query"
  15493. },
  15494. {
  15495. "type": "integer",
  15496. "description": "商品id",
  15497. "name": "goodsid",
  15498. "in": "query",
  15499. "required": true
  15500. },
  15501. {
  15502. "type": "integer",
  15503. "description": "买卖方向 0-买 1-卖",
  15504. "name": "buyorsell",
  15505. "in": "query",
  15506. "required": true
  15507. }
  15508. ],
  15509. "responses": {
  15510. "200": {
  15511. "description": "OK",
  15512. "schema": {
  15513. "type": "array",
  15514. "items": {
  15515. "$ref": "#/definitions/models.WrTradeOrderDetail"
  15516. }
  15517. }
  15518. },
  15519. "500": {
  15520. "description": "Internal Server Error",
  15521. "schema": {
  15522. "$ref": "#/definitions/app.Response"
  15523. }
  15524. }
  15525. }
  15526. }
  15527. },
  15528. "/WrTrade2/QueryWrTradeQuote": {
  15529. "get": {
  15530. "security": [
  15531. {
  15532. "ApiKeyAuth": []
  15533. }
  15534. ],
  15535. "produces": [
  15536. "application/json"
  15537. ],
  15538. "tags": [
  15539. "仓单贸易v2"
  15540. ],
  15541. "summary": "查询仓单贸易成交行情",
  15542. "parameters": [
  15543. {
  15544. "type": "integer",
  15545. "description": "现货商品id",
  15546. "name": "wrstandardid",
  15547. "in": "query",
  15548. "required": true
  15549. },
  15550. {
  15551. "type": "string",
  15552. "description": "开始日期(yyyymmdd)",
  15553. "name": "begindate",
  15554. "in": "query",
  15555. "required": true
  15556. },
  15557. {
  15558. "type": "string",
  15559. "description": "结束日期(yyyymmdd)",
  15560. "name": "enddate",
  15561. "in": "query",
  15562. "required": true
  15563. },
  15564. {
  15565. "type": "integer",
  15566. "description": "市场id",
  15567. "name": "marketid",
  15568. "in": "query"
  15569. }
  15570. ],
  15571. "responses": {
  15572. "200": {
  15573. "description": "OK",
  15574. "schema": {
  15575. "type": "array",
  15576. "items": {
  15577. "$ref": "#/definitions/models.Wrtradetradequote"
  15578. }
  15579. }
  15580. },
  15581. "500": {
  15582. "description": "Internal Server Error",
  15583. "schema": {
  15584. "$ref": "#/definitions/app.Response"
  15585. }
  15586. }
  15587. }
  15588. }
  15589. },
  15590. "/WrTrade2/QueryWrUserFriend": {
  15591. "get": {
  15592. "security": [
  15593. {
  15594. "ApiKeyAuth": []
  15595. }
  15596. ],
  15597. "produces": [
  15598. "application/json"
  15599. ],
  15600. "tags": [
  15601. "仓单贸易v2"
  15602. ],
  15603. "summary": "查询我的朋友",
  15604. "parameters": [
  15605. {
  15606. "type": "integer",
  15607. "description": "用户id",
  15608. "name": "userid",
  15609. "in": "query",
  15610. "required": true
  15611. },
  15612. {
  15613. "type": "integer",
  15614. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  15615. "name": "newuserid",
  15616. "in": "query"
  15617. }
  15618. ],
  15619. "responses": {
  15620. "200": {
  15621. "description": "OK",
  15622. "schema": {
  15623. "type": "array",
  15624. "items": {
  15625. "$ref": "#/definitions/models.WrUserFriend"
  15626. }
  15627. }
  15628. },
  15629. "500": {
  15630. "description": "Internal Server Error",
  15631. "schema": {
  15632. "$ref": "#/definitions/app.Response"
  15633. }
  15634. }
  15635. }
  15636. }
  15637. },
  15638. "/WrTrade2/QueryWrUserReceiptInfo": {
  15639. "get": {
  15640. "security": [
  15641. {
  15642. "ApiKeyAuth": []
  15643. }
  15644. ],
  15645. "produces": [
  15646. "application/json"
  15647. ],
  15648. "tags": [
  15649. "仓单贸易v2"
  15650. ],
  15651. "summary": "查询发票信息",
  15652. "parameters": [
  15653. {
  15654. "type": "integer",
  15655. "description": "用户id",
  15656. "name": "userid",
  15657. "in": "query"
  15658. },
  15659. {
  15660. "type": "integer",
  15661. "description": "发票类型 - 1:个人 2:企业",
  15662. "name": "receipttype",
  15663. "in": "query"
  15664. }
  15665. ],
  15666. "responses": {
  15667. "200": {
  15668. "description": "OK",
  15669. "schema": {
  15670. "type": "array",
  15671. "items": {
  15672. "$ref": "#/definitions/models.WrUserReceiptInfo"
  15673. }
  15674. }
  15675. },
  15676. "500": {
  15677. "description": "Internal Server Error",
  15678. "schema": {
  15679. "$ref": "#/definitions/app.Response"
  15680. }
  15681. }
  15682. }
  15683. }
  15684. },
  15685. "/WrTrade2/QueryXhcpSellBackApply": {
  15686. "get": {
  15687. "security": [
  15688. {
  15689. "ApiKeyAuth": []
  15690. }
  15691. ],
  15692. "produces": [
  15693. "application/json"
  15694. ],
  15695. "tags": [
  15696. "仓单贸易v2"
  15697. ],
  15698. "summary": "查询我的回收申请(新会陈皮)",
  15699. "parameters": [
  15700. {
  15701. "type": "integer",
  15702. "description": "用户ID",
  15703. "name": "userid",
  15704. "in": "query",
  15705. "required": true
  15706. }
  15707. ],
  15708. "responses": {
  15709. "200": {
  15710. "description": "OK",
  15711. "schema": {
  15712. "type": "array",
  15713. "items": {
  15714. "$ref": "#/definitions/models.Xhcpsellbackapply"
  15715. }
  15716. }
  15717. },
  15718. "500": {
  15719. "description": "Internal Server Error",
  15720. "schema": {
  15721. "$ref": "#/definitions/app.Response"
  15722. }
  15723. }
  15724. }
  15725. }
  15726. },
  15727. "/ZJ/GetBankTip": {
  15728. "get": {
  15729. "produces": [
  15730. "application/json"
  15731. ],
  15732. "tags": [
  15733. "中江"
  15734. ],
  15735. "summary": "获取中江网银端出入金提示信息",
  15736. "responses": {
  15737. "200": {
  15738. "description": "OK",
  15739. "schema": {
  15740. "type": "string"
  15741. }
  15742. },
  15743. "500": {
  15744. "description": "Internal Server Error",
  15745. "schema": {
  15746. "$ref": "#/definitions/app.Response"
  15747. }
  15748. }
  15749. }
  15750. }
  15751. },
  15752. "/ZJ/GetCusBankChannels": {
  15753. "get": {
  15754. "produces": [
  15755. "application/json"
  15756. ],
  15757. "tags": [
  15758. "中江"
  15759. ],
  15760. "summary": "获取中江出入金渠道显示列表",
  15761. "responses": {
  15762. "200": {
  15763. "description": "OK",
  15764. "schema": {
  15765. "type": "array",
  15766. "items": {
  15767. "type": "string"
  15768. }
  15769. }
  15770. },
  15771. "500": {
  15772. "description": "Internal Server Error",
  15773. "schema": {
  15774. "$ref": "#/definitions/app.Response"
  15775. }
  15776. }
  15777. }
  15778. }
  15779. }
  15780. },
  15781. "definitions": {
  15782. "app.Response": {
  15783. "type": "object",
  15784. "properties": {
  15785. "code": {
  15786. "type": "integer"
  15787. },
  15788. "data": {
  15789. "type": "object"
  15790. },
  15791. "msg": {
  15792. "type": "string"
  15793. },
  15794. "page": {
  15795. "description": "页码",
  15796. "type": "integer"
  15797. },
  15798. "pagesize": {
  15799. "description": "每页条数",
  15800. "type": "integer"
  15801. },
  15802. "total": {
  15803. "description": "总条数",
  15804. "type": "integer"
  15805. }
  15806. }
  15807. },
  15808. "common.ClientMenu": {
  15809. "type": "object",
  15810. "properties": {
  15811. "children": {
  15812. "description": "子菜单列表",
  15813. "type": "array",
  15814. "items": {
  15815. "$ref": "#/definitions/common.ClientMenu"
  15816. }
  15817. },
  15818. "code": {
  15819. "description": "ID",
  15820. "type": "string"
  15821. },
  15822. "isshow": {
  15823. "description": "是否显示",
  15824. "type": "boolean"
  15825. },
  15826. "remark": {
  15827. "description": "备注",
  15828. "type": "string"
  15829. },
  15830. "rulekey": {
  15831. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  15832. "type": "string"
  15833. },
  15834. "sort": {
  15835. "description": "排序",
  15836. "type": "integer"
  15837. },
  15838. "title": {
  15839. "description": "标题",
  15840. "type": "string"
  15841. },
  15842. "type": {
  15843. "description": "类型,1:菜单 2:按钮",
  15844. "type": "integer"
  15845. },
  15846. "url": {
  15847. "description": "URL",
  15848. "type": "string"
  15849. }
  15850. }
  15851. },
  15852. "common.PCWebMenu": {
  15853. "type": "object",
  15854. "properties": {
  15855. "auth": {
  15856. "description": "页面权限列表",
  15857. "type": "array",
  15858. "items": {
  15859. "$ref": "#/definitions/common.PCWebMenuAuth"
  15860. }
  15861. },
  15862. "children": {
  15863. "description": "子菜单列表",
  15864. "type": "array",
  15865. "items": {
  15866. "$ref": "#/definitions/common.PCWebMenu"
  15867. }
  15868. },
  15869. "code": {
  15870. "description": "ID,新版本中权限KEY也是这个字段",
  15871. "type": "string"
  15872. },
  15873. "component": {
  15874. "description": "路由组件",
  15875. "type": "string"
  15876. },
  15877. "isshow": {
  15878. "description": "是否显示",
  15879. "type": "boolean"
  15880. },
  15881. "path": {
  15882. "description": "路由路径",
  15883. "type": "string"
  15884. },
  15885. "remark": {
  15886. "description": "备注",
  15887. "type": "string"
  15888. },
  15889. "rulekey": {
  15890. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15891. "type": "string"
  15892. },
  15893. "sort": {
  15894. "description": "排序",
  15895. "type": "integer"
  15896. },
  15897. "title": {
  15898. "description": "标题",
  15899. "type": "string"
  15900. },
  15901. "url": {
  15902. "description": "URL",
  15903. "type": "string"
  15904. }
  15905. }
  15906. },
  15907. "common.PCWebMenuAuth": {
  15908. "type": "object",
  15909. "properties": {
  15910. "code": {
  15911. "description": "ID,新版本中权限KEY也是这个字段",
  15912. "type": "string"
  15913. },
  15914. "isshow": {
  15915. "description": "是否显示",
  15916. "type": "boolean"
  15917. },
  15918. "label": {
  15919. "description": "标题",
  15920. "type": "string"
  15921. },
  15922. "remark": {
  15923. "description": "备注",
  15924. "type": "string"
  15925. },
  15926. "rulekey": {
  15927. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15928. "type": "string"
  15929. }
  15930. }
  15931. },
  15932. "common.QueryImageConfigsRsp": {
  15933. "type": "object",
  15934. "required": [
  15935. "configid"
  15936. ],
  15937. "properties": {
  15938. "areauserid": {
  15939. "description": "所属机构ID",
  15940. "type": "integer"
  15941. },
  15942. "configid": {
  15943. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  15944. "type": "integer"
  15945. },
  15946. "createdate": {
  15947. "description": "创建时间",
  15948. "type": "string"
  15949. },
  15950. "creatorid": {
  15951. "description": "创建人",
  15952. "type": "integer"
  15953. },
  15954. "imagedetailpath": {
  15955. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  15956. "type": "string"
  15957. },
  15958. "imagepath": {
  15959. "description": "图片",
  15960. "type": "string"
  15961. },
  15962. "imagetype": {
  15963. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  15964. "type": "integer"
  15965. },
  15966. "isshow": {
  15967. "description": "是否展示 - 0:不展示 1:展示",
  15968. "type": "integer"
  15969. },
  15970. "marketid": {
  15971. "description": "市场ID",
  15972. "type": "integer"
  15973. },
  15974. "modifierid": {
  15975. "description": "操作人",
  15976. "type": "integer"
  15977. },
  15978. "sort": {
  15979. "description": "排序",
  15980. "type": "integer"
  15981. },
  15982. "title": {
  15983. "description": "标题",
  15984. "type": "string"
  15985. },
  15986. "trademode": {
  15987. "description": "交易模式",
  15988. "type": "integer"
  15989. },
  15990. "updatedate": {
  15991. "description": "修改时间",
  15992. "type": "string"
  15993. },
  15994. "url": {
  15995. "description": "链接(地址或商品ID)",
  15996. "type": "string"
  15997. },
  15998. "urltype": {
  15999. "description": "链接类型 - 1:直接地址 2:商品ID",
  16000. "type": "integer"
  16001. }
  16002. }
  16003. },
  16004. "common.QueryNoticeRsp": {
  16005. "type": "object",
  16006. "required": [
  16007. "autoid"
  16008. ],
  16009. "properties": {
  16010. "auditoruserid": {
  16011. "description": "审核人",
  16012. "type": "integer"
  16013. },
  16014. "auditremark": {
  16015. "description": "审核备注",
  16016. "type": "string"
  16017. },
  16018. "audittime": {
  16019. "description": "审核日期",
  16020. "type": "string"
  16021. },
  16022. "autoid": {
  16023. "description": "自增ID",
  16024. "type": "integer"
  16025. },
  16026. "content": {
  16027. "description": "内容",
  16028. "type": "string"
  16029. },
  16030. "createtime": {
  16031. "description": "创建时间",
  16032. "type": "string"
  16033. },
  16034. "creatorid": {
  16035. "description": "建仓人",
  16036. "type": "integer"
  16037. },
  16038. "endtime": {
  16039. "description": "结束时间",
  16040. "type": "string"
  16041. },
  16042. "istop": {
  16043. "description": "是否置顶 - 0:不置顶 1:置顶",
  16044. "type": "integer"
  16045. },
  16046. "msgiconurl": {
  16047. "description": "消息图标Url",
  16048. "type": "string"
  16049. },
  16050. "msgtype": {
  16051. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  16052. "type": "integer"
  16053. },
  16054. "publisher": {
  16055. "description": "消息发布者",
  16056. "type": "string"
  16057. },
  16058. "readed": {
  16059. "description": "是否已读",
  16060. "type": "boolean"
  16061. },
  16062. "scheduletime": {
  16063. "description": "计划发送时间",
  16064. "type": "string"
  16065. },
  16066. "sendtype": {
  16067. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  16068. "type": "integer"
  16069. },
  16070. "sentstatus": {
  16071. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  16072. "type": "integer"
  16073. },
  16074. "title": {
  16075. "description": "标题",
  16076. "type": "string"
  16077. },
  16078. "userid": {
  16079. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  16080. "type": "integer"
  16081. }
  16082. }
  16083. },
  16084. "common.QueryProvincesAndCitiesRsp": {
  16085. "type": "object",
  16086. "properties": {
  16087. "cities": {
  16088. "description": "市",
  16089. "type": "array",
  16090. "items": {
  16091. "$ref": "#/definitions/models.Division"
  16092. }
  16093. },
  16094. "province": {
  16095. "description": "省",
  16096. "$ref": "#/definitions/models.Division"
  16097. }
  16098. }
  16099. },
  16100. "common.QueryTableDefineRsp": {
  16101. "type": "object",
  16102. "required": [
  16103. "tablekey"
  16104. ],
  16105. "properties": {
  16106. "columns": {
  16107. "description": "列头信息数组",
  16108. "type": "array",
  16109. "items": {
  16110. "$ref": "#/definitions/models.Tablecolumnconfig"
  16111. }
  16112. },
  16113. "remark": {
  16114. "description": "Remark",
  16115. "type": "string"
  16116. },
  16117. "tabelmenu": {
  16118. "description": "列表菜单",
  16119. "type": "string"
  16120. },
  16121. "tablekey": {
  16122. "description": "列表Key",
  16123. "type": "string"
  16124. },
  16125. "tablename": {
  16126. "description": "列表名称",
  16127. "type": "string"
  16128. },
  16129. "tabletype": {
  16130. "description": "列表类型 - 1:管理端 2:终端",
  16131. "type": "integer"
  16132. }
  16133. }
  16134. },
  16135. "common.QueryTraderMenuRsp": {
  16136. "type": "object",
  16137. "properties": {
  16138. "OperationMenu": {
  16139. "description": "功能菜单",
  16140. "type": "array",
  16141. "items": {
  16142. "$ref": "#/definitions/models.OperationPrimaryMenu"
  16143. }
  16144. },
  16145. "QuoteMenu": {
  16146. "description": "报价牌分类菜单",
  16147. "type": "array",
  16148. "items": {
  16149. "$ref": "#/definitions/models.QuotePrimaryMenu"
  16150. }
  16151. }
  16152. }
  16153. },
  16154. "cptrade.Cptradepositioncancel": {
  16155. "type": "object",
  16156. "required": [
  16157. "cancelid"
  16158. ],
  16159. "properties": {
  16160. "accountid": {
  16161. "description": "申请人账户ID",
  16162. "type": "integer"
  16163. },
  16164. "applystatus": {
  16165. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16166. "type": "integer"
  16167. },
  16168. "applytime": {
  16169. "description": "申请时间",
  16170. "type": "string"
  16171. },
  16172. "cancelid": {
  16173. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16174. "type": "integer"
  16175. },
  16176. "cancelqty": {
  16177. "description": "注销数量",
  16178. "type": "integer"
  16179. },
  16180. "createtime": {
  16181. "description": "创建时间",
  16182. "type": "string"
  16183. },
  16184. "creatorid": {
  16185. "description": "创建人ID",
  16186. "type": "integer"
  16187. },
  16188. "creatorname": {
  16189. "description": "创建人",
  16190. "type": "string"
  16191. },
  16192. "goodscode": {
  16193. "description": "订单商品代码",
  16194. "type": "string"
  16195. },
  16196. "goodsid": {
  16197. "description": "商品ID",
  16198. "type": "integer"
  16199. },
  16200. "goodsname": {
  16201. "description": "订单商品名称",
  16202. "type": "string"
  16203. },
  16204. "goodunit": {
  16205. "description": "报价单位",
  16206. "type": "string"
  16207. },
  16208. "handlestatus": {
  16209. "description": "处理状态",
  16210. "type": "integer"
  16211. },
  16212. "marketid": {
  16213. "description": "市场ID",
  16214. "type": "integer"
  16215. },
  16216. "marketname": {
  16217. "description": "市场名称",
  16218. "type": "string"
  16219. },
  16220. "tradedate": {
  16221. "description": "交易日(yyyyMMdd)",
  16222. "type": "string"
  16223. },
  16224. "userid": {
  16225. "description": "申请人ID",
  16226. "type": "integer"
  16227. }
  16228. }
  16229. },
  16230. "cptrade.Cptradepresaleapply": {
  16231. "type": "object",
  16232. "required": [
  16233. "applyid"
  16234. ],
  16235. "properties": {
  16236. "accountid": {
  16237. "description": "申请人账户ID",
  16238. "type": "integer"
  16239. },
  16240. "applyid": {
  16241. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16242. "type": "integer"
  16243. },
  16244. "applyremark": {
  16245. "description": "申请备注",
  16246. "type": "string"
  16247. },
  16248. "applystatus": {
  16249. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16250. "type": "integer"
  16251. },
  16252. "applytime": {
  16253. "description": "申请时间",
  16254. "type": "string"
  16255. },
  16256. "attachmenturl": {
  16257. "description": "附件地址",
  16258. "type": "string"
  16259. },
  16260. "endtime": {
  16261. "description": "预售结束时间",
  16262. "type": "string"
  16263. },
  16264. "goodscode": {
  16265. "description": "商品代码",
  16266. "type": "string"
  16267. },
  16268. "goodsid": {
  16269. "description": "商品ID",
  16270. "type": "integer"
  16271. },
  16272. "goodsname": {
  16273. "description": "商品名称",
  16274. "type": "string"
  16275. },
  16276. "goodunit": {
  16277. "description": "报价单位",
  16278. "type": "string"
  16279. },
  16280. "handlestatus": {
  16281. "description": "处理状态",
  16282. "type": "integer"
  16283. },
  16284. "marketid": {
  16285. "description": "预售市场ID",
  16286. "type": "integer"
  16287. },
  16288. "marketname": {
  16289. "description": "预售市场名称",
  16290. "type": "string"
  16291. },
  16292. "presaleqty": {
  16293. "description": "预售数量",
  16294. "type": "integer"
  16295. },
  16296. "relatedgoodscode": {
  16297. "description": "关联交易合约代码",
  16298. "type": "string"
  16299. },
  16300. "relatedgoodsid": {
  16301. "description": "关联交易合约ID",
  16302. "type": "integer"
  16303. },
  16304. "relatedgoodsname": {
  16305. "description": "关联交易合约名称",
  16306. "type": "string"
  16307. },
  16308. "starttime": {
  16309. "description": "预售开始时间",
  16310. "type": "string"
  16311. },
  16312. "tradedate": {
  16313. "description": "交易日(yyyyMMdd)",
  16314. "type": "string"
  16315. },
  16316. "trademode": {
  16317. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  16318. "type": "integer"
  16319. },
  16320. "userid": {
  16321. "description": "申请人ID",
  16322. "type": "integer"
  16323. }
  16324. }
  16325. },
  16326. "cptrade.Cptradeusergoodsdata": {
  16327. "type": "object",
  16328. "required": [
  16329. "accountid",
  16330. "goodsid"
  16331. ],
  16332. "properties": {
  16333. "EnabledQty": {
  16334. "description": "可用量",
  16335. "type": "integer"
  16336. },
  16337. "GoodsCode": {
  16338. "description": "订单商品代码",
  16339. "type": "string"
  16340. },
  16341. "GoodsName": {
  16342. "description": "订单商品名称",
  16343. "type": "string"
  16344. },
  16345. "WRStandardCode": {
  16346. "description": "仓单标准代码",
  16347. "type": "string"
  16348. },
  16349. "WRStandardName": {
  16350. "description": "仓单标准名称",
  16351. "type": "string"
  16352. },
  16353. "accountid": {
  16354. "description": "账户ID",
  16355. "type": "integer"
  16356. },
  16357. "cancelqty": {
  16358. "description": "注销量",
  16359. "type": "integer"
  16360. },
  16361. "curpresaleqty": {
  16362. "description": "当前预售量",
  16363. "type": "integer"
  16364. },
  16365. "deliveryqty": {
  16366. "description": "交割量",
  16367. "type": "integer"
  16368. },
  16369. "freezeamount": {
  16370. "description": "冻结金额",
  16371. "type": "number"
  16372. },
  16373. "goodsid": {
  16374. "description": "商品ID",
  16375. "type": "integer"
  16376. },
  16377. "goodunit": {
  16378. "description": "报价单位",
  16379. "type": "string"
  16380. },
  16381. "hasspotfreeze": {
  16382. "description": "是否有现货冻结 - 0:否 1:有",
  16383. "type": "integer"
  16384. },
  16385. "inqty": {
  16386. "description": "转入量(总数量)",
  16387. "type": "integer"
  16388. },
  16389. "marketid": {
  16390. "description": "市场ID",
  16391. "type": "integer"
  16392. },
  16393. "presaledamount": {
  16394. "description": "已预售总金额",
  16395. "type": "integer"
  16396. },
  16397. "presaledqty": {
  16398. "description": "已预售量",
  16399. "type": "integer"
  16400. },
  16401. "userid": {
  16402. "description": "用户ID",
  16403. "type": "integer"
  16404. },
  16405. "wrstandardid": {
  16406. "description": "仓单标准ID",
  16407. "type": "integer"
  16408. }
  16409. }
  16410. },
  16411. "cptrade.QueryCPTradeMyBidRsp": {
  16412. "type": "object",
  16413. "required": [
  16414. "accountid",
  16415. "goodsid",
  16416. "marketid",
  16417. "orderid",
  16418. "orderqty",
  16419. "ordertime",
  16420. "tradeprice",
  16421. "tradeqty"
  16422. ],
  16423. "properties": {
  16424. "accountid": {
  16425. "description": "账户ID[报价币种]",
  16426. "type": "integer"
  16427. },
  16428. "goodsid": {
  16429. "description": "商品ID",
  16430. "type": "integer"
  16431. },
  16432. "goodunit": {
  16433. "description": "报价单位",
  16434. "type": "string"
  16435. },
  16436. "marketid": {
  16437. "description": "市场ID",
  16438. "type": "integer"
  16439. },
  16440. "orderid": {
  16441. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16442. "type": "integer"
  16443. },
  16444. "orderprice": {
  16445. "description": "委托价格",
  16446. "type": "number"
  16447. },
  16448. "orderqty": {
  16449. "description": "委托数量",
  16450. "type": "integer"
  16451. },
  16452. "ordertime": {
  16453. "description": "委托时间",
  16454. "type": "string"
  16455. },
  16456. "ordertotalprice": {
  16457. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  16458. "type": "number"
  16459. },
  16460. "ordertotalweight": {
  16461. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  16462. "type": "integer"
  16463. },
  16464. "totaltotalprice": {
  16465. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  16466. "type": "number"
  16467. },
  16468. "tradeprice": {
  16469. "description": "成交价格",
  16470. "type": "number"
  16471. },
  16472. "tradeqty": {
  16473. "description": "成交数量",
  16474. "type": "integer"
  16475. }
  16476. }
  16477. },
  16478. "cptrade.QueryCPTradeOrderDetailRsq": {
  16479. "type": "object",
  16480. "required": [
  16481. "accountid",
  16482. "buildtype",
  16483. "buyorsell",
  16484. "goodsid",
  16485. "marketid",
  16486. "memberuserid",
  16487. "operatetype",
  16488. "orderqty",
  16489. "ordertime",
  16490. "pricemode",
  16491. "strorderid",
  16492. "tradedate",
  16493. "validtype"
  16494. ],
  16495. "properties": {
  16496. "accountid": {
  16497. "description": "账户ID[报价币种]",
  16498. "type": "integer"
  16499. },
  16500. "buildtype": {
  16501. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16502. "type": "integer"
  16503. },
  16504. "buyorsell": {
  16505. "description": "买卖 - 0:买 1:卖",
  16506. "type": "integer"
  16507. },
  16508. "cancelorderid": {
  16509. "description": "撤单单号(撤单时填写)",
  16510. "type": "integer"
  16511. },
  16512. "cancelqty": {
  16513. "description": "撤单数量",
  16514. "type": "integer"
  16515. },
  16516. "clientordertime": {
  16517. "description": "客户端委托时间",
  16518. "type": "string"
  16519. },
  16520. "clientticket": {
  16521. "description": "客户端流水号",
  16522. "type": "string"
  16523. },
  16524. "clienttype": {
  16525. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16526. "type": "integer"
  16527. },
  16528. "closeexchagechargevalue": {
  16529. "description": "平仓交易所手续费设置值",
  16530. "type": "number"
  16531. },
  16532. "closefeealgorithm": {
  16533. "description": "平仓手续费收取方式 1:比率 2:固定",
  16534. "type": "integer"
  16535. },
  16536. "closefreezecharge": {
  16537. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16538. "type": "number"
  16539. },
  16540. "closememberchargevalue": {
  16541. "description": "平仓会员手续费设置值",
  16542. "type": "number"
  16543. },
  16544. "closeqty": {
  16545. "description": "平仓数量(先建后平操作 需要记录)",
  16546. "type": "integer"
  16547. },
  16548. "closetradeqty": {
  16549. "description": "平仓成交数量(先建后平操作,需要记录)",
  16550. "type": "integer"
  16551. },
  16552. "closeunfreezecharge": {
  16553. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16554. "type": "number"
  16555. },
  16556. "delistingtype": {
  16557. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16558. "type": "integer"
  16559. },
  16560. "freezecharge": {
  16561. "description": "冻结手续费",
  16562. "type": "number"
  16563. },
  16564. "freezemargin": {
  16565. "description": "冻结保证金(冻结交易金额)",
  16566. "type": "number"
  16567. },
  16568. "gcaccountid": {
  16569. "description": "账户ID[合约币种]",
  16570. "type": "integer"
  16571. },
  16572. "goodsid": {
  16573. "description": "商品ID",
  16574. "type": "integer"
  16575. },
  16576. "isconfirmexercise": {
  16577. "description": "是否确认行权- 0:否 1:是",
  16578. "type": "integer"
  16579. },
  16580. "ispreexercise": {
  16581. "description": "是否预申报- 0:否 1:是",
  16582. "type": "integer"
  16583. },
  16584. "listingselecttype": {
  16585. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16586. "type": "integer"
  16587. },
  16588. "marginalgorithm": {
  16589. "description": "保证金收取方式 1:比率 2:固定",
  16590. "type": "integer"
  16591. },
  16592. "marginvalue": {
  16593. "description": "即市保证金设置值",
  16594. "type": "number"
  16595. },
  16596. "marketid": {
  16597. "description": "市场ID",
  16598. "type": "integer"
  16599. },
  16600. "marketmaxsub": {
  16601. "description": "市价最大偏移范围",
  16602. "type": "number"
  16603. },
  16604. "memberuserid": {
  16605. "description": "所属会员UserID",
  16606. "type": "integer"
  16607. },
  16608. "openexchagechargevalue": {
  16609. "description": "建仓交易所手续费设置值",
  16610. "type": "number"
  16611. },
  16612. "openfeealgorithm": {
  16613. "description": "建仓手续费收取方式 1:比率 2:固定",
  16614. "type": "integer"
  16615. },
  16616. "openfreezecharge": {
  16617. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16618. "type": "number"
  16619. },
  16620. "openmemberchargevalue": {
  16621. "description": "建仓会员手续费设置值",
  16622. "type": "number"
  16623. },
  16624. "openqty": {
  16625. "description": "开仓数量(先建后平操作,需要记录)",
  16626. "type": "integer"
  16627. },
  16628. "opentradeqty": {
  16629. "description": "开仓成交数量(先建后平操作,需要记录)",
  16630. "type": "integer"
  16631. },
  16632. "openunfreezecharge": {
  16633. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16634. "type": "number"
  16635. },
  16636. "operatetype": {
  16637. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16638. "type": "integer"
  16639. },
  16640. "operatorid": {
  16641. "description": "登录账号(LoginID)",
  16642. "type": "integer"
  16643. },
  16644. "optiontype": {
  16645. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16646. "type": "integer"
  16647. },
  16648. "orderprice": {
  16649. "description": "委托价格",
  16650. "type": "number"
  16651. },
  16652. "orderqty": {
  16653. "description": "委托数量",
  16654. "type": "integer"
  16655. },
  16656. "ordersrc": {
  16657. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16658. "type": "integer"
  16659. },
  16660. "orderstatus": {
  16661. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16662. "type": "integer"
  16663. },
  16664. "ordertime": {
  16665. "description": "委托时间",
  16666. "type": "string"
  16667. },
  16668. "preexerciseprice": {
  16669. "description": "预申报价格",
  16670. "type": "number"
  16671. },
  16672. "premium": {
  16673. "description": "权利金",
  16674. "type": "number"
  16675. },
  16676. "preorderid": {
  16677. "description": "关联预埋单号(止盈止损单时填写)",
  16678. "type": "integer"
  16679. },
  16680. "pricemode": {
  16681. "description": "取价方式 - 1:市价 2: 限价",
  16682. "type": "integer"
  16683. },
  16684. "quoteid": {
  16685. "description": "报价单ID",
  16686. "type": "integer"
  16687. },
  16688. "relatedid": {
  16689. "description": "关联单号(交割单)",
  16690. "type": "integer"
  16691. },
  16692. "retcode": {
  16693. "description": "错误代码",
  16694. "type": "integer"
  16695. },
  16696. "sessionid": {
  16697. "description": "会话ID",
  16698. "type": "integer"
  16699. },
  16700. "strorderid": {
  16701. "description": "委托单号",
  16702. "type": "string"
  16703. },
  16704. "tradedate": {
  16705. "description": "交易日(yyyyMMdd)",
  16706. "type": "string"
  16707. },
  16708. "tradeproperty": {
  16709. "description": "交易属性",
  16710. "type": "integer"
  16711. },
  16712. "tradeqty": {
  16713. "description": "成交数量",
  16714. "type": "integer"
  16715. },
  16716. "unfreezecharge": {
  16717. "description": "解冻手续费",
  16718. "type": "number"
  16719. },
  16720. "unfreezemargin": {
  16721. "description": "解冻保证金",
  16722. "type": "number"
  16723. },
  16724. "updatetime": {
  16725. "description": "更新时间",
  16726. "type": "string"
  16727. },
  16728. "uuid": {
  16729. "description": "发起端唯一id",
  16730. "type": "string"
  16731. },
  16732. "validtime": {
  16733. "description": "有效期限",
  16734. "type": "string"
  16735. },
  16736. "validtype": {
  16737. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16738. "type": "integer"
  16739. },
  16740. "volumetype": {
  16741. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16742. "type": "integer"
  16743. }
  16744. }
  16745. },
  16746. "cptrade.QueryMyCPTradeGoodsRsp": {
  16747. "type": "object",
  16748. "required": [
  16749. "goodscode",
  16750. "goodsid",
  16751. "goodsname",
  16752. "marketid",
  16753. "relatedgoodscode",
  16754. "relatedgoodsname"
  16755. ],
  16756. "properties": {
  16757. "accountid": {
  16758. "description": "卖方账户ID",
  16759. "type": "integer"
  16760. },
  16761. "agreeunit": {
  16762. "description": "合约单位",
  16763. "type": "number"
  16764. },
  16765. "applyid": {
  16766. "description": "关联申请ID",
  16767. "type": "integer"
  16768. },
  16769. "attachmenturl": {
  16770. "description": "附件地址",
  16771. "type": "string"
  16772. },
  16773. "createtime": {
  16774. "description": "创建时间",
  16775. "type": "string"
  16776. },
  16777. "currencyid": {
  16778. "description": "报价货币ID",
  16779. "type": "integer"
  16780. },
  16781. "decimalplace": {
  16782. "description": "报价小数位",
  16783. "type": "integer"
  16784. },
  16785. "endtime": {
  16786. "description": "预售结束时间",
  16787. "type": "string"
  16788. },
  16789. "floorprice": {
  16790. "description": "底价[大宗式竞拍]",
  16791. "type": "number"
  16792. },
  16793. "goodscode": {
  16794. "description": "商品代码(预售)",
  16795. "type": "string"
  16796. },
  16797. "goodsdetail": {
  16798. "description": "详情[大宗]",
  16799. "type": "string"
  16800. },
  16801. "goodsid": {
  16802. "description": "商品ID(自增ID SEQ_GOODS)",
  16803. "type": "integer"
  16804. },
  16805. "goodsname": {
  16806. "description": "商品名称(预售)",
  16807. "type": "string"
  16808. },
  16809. "goodunit": {
  16810. "description": "报价单位",
  16811. "type": "string"
  16812. },
  16813. "goodunitid": {
  16814. "description": "报价单位ID",
  16815. "type": "integer"
  16816. },
  16817. "marketid": {
  16818. "description": "所属市场ID",
  16819. "type": "integer"
  16820. },
  16821. "marketname": {
  16822. "description": "预售市场名称",
  16823. "type": "string"
  16824. },
  16825. "presaledamount": {
  16826. "description": "已预售总金额(预售结束时更新)",
  16827. "type": "number"
  16828. },
  16829. "presaledqty": {
  16830. "description": "已预售量(预售结束时更新)",
  16831. "type": "integer"
  16832. },
  16833. "presalemode": {
  16834. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16835. "type": "integer"
  16836. },
  16837. "presaleqty": {
  16838. "description": "预售数量",
  16839. "type": "integer"
  16840. },
  16841. "refprice": {
  16842. "description": "参考价格[一口价]",
  16843. "type": "number"
  16844. },
  16845. "relatedgoodscode": {
  16846. "description": "商品代码(订单)",
  16847. "type": "string"
  16848. },
  16849. "relatedgoodsid": {
  16850. "description": "关联交易合约ID",
  16851. "type": "integer"
  16852. },
  16853. "relatedgoodsname": {
  16854. "description": "商品名称(订单)",
  16855. "type": "string"
  16856. },
  16857. "relatedmarketid": {
  16858. "description": "关联交易合约市场ID",
  16859. "type": "integer"
  16860. },
  16861. "sellstatus": {
  16862. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16863. "type": "integer"
  16864. },
  16865. "startprice": {
  16866. "description": "起拍价[大宗式竞拍]",
  16867. "type": "number"
  16868. },
  16869. "starttime": {
  16870. "description": "预售开始时间",
  16871. "type": "string"
  16872. },
  16873. "tradedate": {
  16874. "description": "交易日(yyyyMMdd)",
  16875. "type": "string"
  16876. },
  16877. "tradeprice": {
  16878. "description": "成交价[大宗]",
  16879. "type": "number"
  16880. },
  16881. "userid": {
  16882. "description": "卖方用户ID",
  16883. "type": "integer"
  16884. }
  16885. }
  16886. },
  16887. "cptrade.QueryPresaleGoodsExRsp": {
  16888. "type": "object",
  16889. "required": [
  16890. "goodsid"
  16891. ],
  16892. "properties": {
  16893. "attachmenturl": {
  16894. "description": "附件地址",
  16895. "type": "string"
  16896. },
  16897. "createtime": {
  16898. "description": "创建时间",
  16899. "type": "string"
  16900. },
  16901. "endtime": {
  16902. "description": "预售结束时间",
  16903. "type": "string"
  16904. },
  16905. "floorprice": {
  16906. "description": "底价[大宗式竞拍]",
  16907. "type": "number"
  16908. },
  16909. "goodsdetail": {
  16910. "description": "详情[大宗]",
  16911. "type": "string"
  16912. },
  16913. "goodsid": {
  16914. "description": "商品ID(预售)",
  16915. "type": "integer"
  16916. },
  16917. "goodunit": {
  16918. "description": "报价单位",
  16919. "type": "string"
  16920. },
  16921. "marketid": {
  16922. "description": "预售市场ID - 根据预售模式选择市场",
  16923. "type": "integer"
  16924. },
  16925. "presaledamount": {
  16926. "description": "已预售总金额(预售结束时更新)",
  16927. "type": "number"
  16928. },
  16929. "presaledqty": {
  16930. "description": "已预售量(预售结束时更新)",
  16931. "type": "integer"
  16932. },
  16933. "presalemode": {
  16934. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16935. "type": "integer"
  16936. },
  16937. "presaleqty": {
  16938. "description": "预售数量",
  16939. "type": "integer"
  16940. },
  16941. "refprice": {
  16942. "description": "参考价格[一口价]",
  16943. "type": "number"
  16944. },
  16945. "relatedgoodsid": {
  16946. "description": "关联交易合约ID",
  16947. "type": "integer"
  16948. },
  16949. "relatedmarketid": {
  16950. "description": "关联交易合约市场ID",
  16951. "type": "integer"
  16952. },
  16953. "sellstatus": {
  16954. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16955. "type": "integer"
  16956. },
  16957. "startprice": {
  16958. "description": "起拍价[大宗式竞拍]",
  16959. "type": "number"
  16960. },
  16961. "starttime": {
  16962. "description": "预售开始时间",
  16963. "type": "string"
  16964. },
  16965. "tradedate": {
  16966. "description": "交易日(yyyyMMdd)",
  16967. "type": "string"
  16968. },
  16969. "tradeprice": {
  16970. "description": "成交价[大宗]",
  16971. "type": "number"
  16972. }
  16973. }
  16974. },
  16975. "delivery.QueryDeliveryRelationRsp": {
  16976. "type": "object",
  16977. "required": [
  16978. "begindate",
  16979. "enddate",
  16980. "goodsid",
  16981. "mindeliveryqty",
  16982. "xdeliveryratio"
  16983. ],
  16984. "properties": {
  16985. "begindate": {
  16986. "description": "起始日期(yyyyMMdd)",
  16987. "type": "string"
  16988. },
  16989. "buytemplateid": {
  16990. "description": "买履约计划模板ID",
  16991. "type": "integer"
  16992. },
  16993. "deliverygoodscode": {
  16994. "description": "品种代码",
  16995. "type": "string"
  16996. },
  16997. "deliverygoodsid": {
  16998. "description": "交割商品",
  16999. "type": "integer"
  17000. },
  17001. "deliverygoodsname": {
  17002. "description": "品种名称",
  17003. "type": "string"
  17004. },
  17005. "deliverymode": {
  17006. "description": "交割方式 - 1:点选式 2:申报式",
  17007. "type": "integer"
  17008. },
  17009. "deliverypricerule": {
  17010. "description": "交割价规则- 1:行情价 2:建仓价",
  17011. "type": "integer"
  17012. },
  17013. "deliverytype": {
  17014. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  17015. "type": "integer"
  17016. },
  17017. "enddate": {
  17018. "description": "结束日期(yyyyMMdd)",
  17019. "type": "string"
  17020. },
  17021. "enumdicname": {
  17022. "description": "品类单位名称",
  17023. "type": "string"
  17024. },
  17025. "goodscode": {
  17026. "description": "商品代码",
  17027. "type": "string"
  17028. },
  17029. "goodsid": {
  17030. "description": "交易合约ID",
  17031. "type": "integer"
  17032. },
  17033. "goodsname": {
  17034. "description": "商品名称",
  17035. "type": "string"
  17036. },
  17037. "marketid": {
  17038. "description": "市场ID",
  17039. "type": "integer"
  17040. },
  17041. "mindeliveryqty": {
  17042. "description": "最小交割系数(K)",
  17043. "type": "integer"
  17044. },
  17045. "p2deliveryprice": {
  17046. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  17047. "type": "number"
  17048. },
  17049. "p2deliveryratio": {
  17050. "description": "P2合约系数(p)",
  17051. "type": "integer"
  17052. },
  17053. "p2goodsid": {
  17054. "description": "P2合约ID",
  17055. "type": "integer"
  17056. },
  17057. "p2pricemode": {
  17058. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  17059. "type": "integer"
  17060. },
  17061. "pdeliveryprice": {
  17062. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  17063. "type": "number"
  17064. },
  17065. "pdeliveryratio": {
  17066. "description": "P合约系数(n)",
  17067. "type": "integer"
  17068. },
  17069. "pgoodscode": {
  17070. "description": "p合约代码",
  17071. "type": "string"
  17072. },
  17073. "pgoodsid": {
  17074. "description": "P合约ID",
  17075. "type": "integer"
  17076. },
  17077. "ppricemode": {
  17078. "description": "P合约价格方式 - 1:商品价 2:固定值",
  17079. "type": "integer"
  17080. },
  17081. "rratio": {
  17082. "description": "兑换系数(R)",
  17083. "type": "integer"
  17084. },
  17085. "rratio1": {
  17086. "description": "兑换系数(交易合约)(R1)",
  17087. "type": "integer"
  17088. },
  17089. "rratio2": {
  17090. "description": "兑换系数(仓单标准)(R2)",
  17091. "type": "integer"
  17092. },
  17093. "selltemplateid": {
  17094. "description": "卖履约计划模板ID",
  17095. "type": "integer"
  17096. },
  17097. "wrstandardid": {
  17098. "description": "仓单标准ID",
  17099. "type": "integer"
  17100. },
  17101. "xdeliveryratio": {
  17102. "description": "交易合约系数(m)",
  17103. "type": "integer"
  17104. }
  17105. }
  17106. },
  17107. "ermcp.ExposureDetailRsp": {
  17108. "type": "object",
  17109. "properties": {
  17110. "areauserid": {
  17111. "description": "机构ID",
  17112. "type": "integer"
  17113. },
  17114. "changeQty": {
  17115. "description": "套保变动量",
  17116. "type": "number"
  17117. },
  17118. "contracttype": {
  17119. "description": "现货合同类型 - 1:采购 -1:销售",
  17120. "type": "integer"
  17121. },
  17122. "convertfactor": {
  17123. "description": "标仓系数",
  17124. "type": "number"
  17125. },
  17126. "convertratio": {
  17127. "description": "套保系数",
  17128. "type": "number"
  17129. },
  17130. "createtime": {
  17131. "description": "时间",
  17132. "type": "string"
  17133. },
  17134. "enumdicname": {
  17135. "description": "现货商品单位名称",
  17136. "type": "string"
  17137. },
  17138. "logtype": {
  17139. "description": "类型 - 1:套保计划 2:现货合同",
  17140. "type": "integer"
  17141. },
  17142. "middlegoodsId": {
  17143. "description": "套保商品id",
  17144. "type": "integer"
  17145. },
  17146. "middlegoodscode": {
  17147. "description": "套保商品代码",
  17148. "type": "string"
  17149. },
  17150. "middlegoodsname": {
  17151. "description": "套保商品名称",
  17152. "type": "string"
  17153. },
  17154. "qty": {
  17155. "description": "数量",
  17156. "type": "number"
  17157. },
  17158. "relateNo": {
  17159. "description": "现货合同/套保计划编号",
  17160. "type": "string"
  17161. },
  17162. "wrstandardcode": {
  17163. "description": "现货商品代码",
  17164. "type": "string"
  17165. },
  17166. "wrstandardid": {
  17167. "description": "现货商品ID",
  17168. "type": "integer"
  17169. },
  17170. "wrstandardname": {
  17171. "description": "现货商品名称",
  17172. "type": "string"
  17173. }
  17174. }
  17175. },
  17176. "ermcp.ExposureHedgePosDetailRsp": {
  17177. "type": "object",
  17178. "properties": {
  17179. "buyorsell": {
  17180. "description": "买卖方向 0-买 1-卖",
  17181. "type": "integer"
  17182. },
  17183. "channelbuildtype": {
  17184. "description": "开平方向 1-建仓 2-平仓",
  17185. "type": "integer"
  17186. },
  17187. "goodscode": {
  17188. "description": "商品代码",
  17189. "type": "string"
  17190. },
  17191. "goodsname": {
  17192. "description": "商品名称",
  17193. "type": "string"
  17194. },
  17195. "hedgegoodsid": {
  17196. "description": "商品id",
  17197. "type": "integer"
  17198. },
  17199. "tradeqty": {
  17200. "description": "数量(成交数量)",
  17201. "type": "integer"
  17202. },
  17203. "tradetime": {
  17204. "description": "时间(成交时间)",
  17205. "type": "string"
  17206. }
  17207. }
  17208. },
  17209. "ermcp.ExposureHedgePositionRsp": {
  17210. "type": "object",
  17211. "properties": {
  17212. "accountid": {
  17213. "description": "资金账号[外部母账户]",
  17214. "type": "integer"
  17215. },
  17216. "curbuyposition": {
  17217. "description": "期末买头寸",
  17218. "type": "integer"
  17219. },
  17220. "cursellposition": {
  17221. "description": "期末卖头寸",
  17222. "type": "integer"
  17223. },
  17224. "curtdbuyposition": {
  17225. "description": "期末今日买头寸",
  17226. "type": "integer"
  17227. },
  17228. "curtdsellposition": {
  17229. "description": "期末今日卖头寸",
  17230. "type": "integer"
  17231. },
  17232. "curydbuyposition": {
  17233. "description": "期末上日买头寸",
  17234. "type": "integer"
  17235. },
  17236. "curydsellposition": {
  17237. "description": "期末上日卖头寸",
  17238. "type": "integer"
  17239. },
  17240. "decreaseqty": {
  17241. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17242. "type": "integer"
  17243. },
  17244. "fretdbuyposition": {
  17245. "description": "冻结今日买头寸",
  17246. "type": "integer"
  17247. },
  17248. "fretdsellposition": {
  17249. "description": "冻结今日卖头寸",
  17250. "type": "integer"
  17251. },
  17252. "freydbuyposition": {
  17253. "description": "冻结上日买头寸",
  17254. "type": "integer"
  17255. },
  17256. "freydsellposition": {
  17257. "description": "冻结上日卖头寸",
  17258. "type": "integer"
  17259. },
  17260. "goodscode": {
  17261. "description": "商品代码",
  17262. "type": "string"
  17263. },
  17264. "goodsid": {
  17265. "description": "商品id",
  17266. "type": "integer"
  17267. },
  17268. "goodsname": {
  17269. "description": "商品名称",
  17270. "type": "string"
  17271. },
  17272. "hedgeaccountcode": {
  17273. "description": "对冲账号",
  17274. "type": "string"
  17275. },
  17276. "hedgegoodsid": {
  17277. "description": "对冲合约ID",
  17278. "type": "integer"
  17279. },
  17280. "increaseqty": {
  17281. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17282. "type": "integer"
  17283. },
  17284. "marketid": {
  17285. "description": "市场ID",
  17286. "type": "integer"
  17287. },
  17288. "relateduserid": {
  17289. "description": "关联用户id",
  17290. "type": "integer"
  17291. },
  17292. "totalcurqty": {
  17293. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17294. "type": "integer"
  17295. },
  17296. "totalydqty": {
  17297. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17298. "type": "integer"
  17299. },
  17300. "tradedate": {
  17301. "description": "交易日(yyyyMMdd)",
  17302. "type": "string"
  17303. },
  17304. "ydbuyposition": {
  17305. "description": "期初买头寸",
  17306. "type": "integer"
  17307. },
  17308. "ydsellposition": {
  17309. "description": "期初卖头寸",
  17310. "type": "integer"
  17311. }
  17312. }
  17313. },
  17314. "ermcp.ExposureSpotDetailRsp": {
  17315. "type": "object",
  17316. "properties": {
  17317. "contracttype": {
  17318. "description": "合同类型 1-采购 -1-销售",
  17319. "type": "integer"
  17320. },
  17321. "createtime": {
  17322. "description": "创建时间",
  17323. "type": "string"
  17324. },
  17325. "enumdicname": {
  17326. "description": "现货商品单位名称",
  17327. "type": "string"
  17328. },
  17329. "logtype": {
  17330. "description": "记录类型 1-套保 2-现货合同",
  17331. "type": "integer"
  17332. },
  17333. "qty": {
  17334. "description": "数量",
  17335. "type": "number"
  17336. },
  17337. "recordname": {
  17338. "description": "类型名称",
  17339. "type": "string"
  17340. },
  17341. "relatedid": {
  17342. "description": "套保计划ID/现货合同ID",
  17343. "type": "string"
  17344. },
  17345. "relatedno": {
  17346. "description": "编号",
  17347. "type": "string"
  17348. },
  17349. "strtime": {
  17350. "description": "时间",
  17351. "type": "string"
  17352. },
  17353. "wrstandardcode": {
  17354. "description": "现货商品代码",
  17355. "type": "string"
  17356. },
  17357. "wrstandardname": {
  17358. "description": "现货商品名称",
  17359. "type": "string"
  17360. }
  17361. }
  17362. },
  17363. "ermcp.ExposureSpotRsp": {
  17364. "type": "object",
  17365. "properties": {
  17366. "areauserid": {
  17367. "description": "所属机构",
  17368. "type": "integer"
  17369. },
  17370. "decreaseqty": {
  17371. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17372. "type": "number"
  17373. },
  17374. "increaseqty": {
  17375. "description": "增加数量=销售计划数量+采购已定价数量",
  17376. "type": "number"
  17377. },
  17378. "oritoalspotqty": {
  17379. "description": "昨日数量",
  17380. "type": "number"
  17381. },
  17382. "totalspotqty": {
  17383. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17384. "type": "number"
  17385. },
  17386. "updatetime": {
  17387. "description": "更新时间",
  17388. "type": "string"
  17389. },
  17390. "wrstandardcode": {
  17391. "description": "现货品种代码",
  17392. "type": "string"
  17393. },
  17394. "wrstandardid": {
  17395. "description": "现货商品ID",
  17396. "type": "integer"
  17397. },
  17398. "wrstandardname": {
  17399. "description": "现货品种",
  17400. "type": "string"
  17401. }
  17402. }
  17403. },
  17404. "ermcp.HisExposureRsp": {
  17405. "type": "object",
  17406. "properties": {
  17407. "data": {
  17408. "description": "历史敞口",
  17409. "type": "array",
  17410. "items": {
  17411. "$ref": "#/definitions/models.ErmcpHisExposure"
  17412. }
  17413. },
  17414. "enumdicname": {
  17415. "description": "单位名称",
  17416. "type": "string"
  17417. },
  17418. "middlegoodscode": {
  17419. "description": "套保品种代码",
  17420. "type": "string"
  17421. },
  17422. "middlegoodsid": {
  17423. "description": "套保品种ID",
  17424. "type": "integer"
  17425. },
  17426. "middlegoodsname": {
  17427. "description": "套保品种名称",
  17428. "type": "string"
  17429. }
  17430. }
  17431. },
  17432. "ermcp.PendingAuditCntRsp": {
  17433. "type": "object",
  17434. "properties": {
  17435. "areastockqty": {
  17436. "description": "待审核数量: 库存申请",
  17437. "type": "integer"
  17438. },
  17439. "businessdjqty": {
  17440. "description": "待审核数量: 点价",
  17441. "type": "integer"
  17442. },
  17443. "businessfpqty": {
  17444. "description": "待审核数量: 发票",
  17445. "type": "integer"
  17446. },
  17447. "businessjsqty": {
  17448. "description": "待审核数量: 结算",
  17449. "type": "integer"
  17450. },
  17451. "businesskxqty": {
  17452. "description": "待审核数量: 款项",
  17453. "type": "integer"
  17454. },
  17455. "hedgeplanqty": {
  17456. "description": "待审核数量: 套保计划",
  17457. "type": "integer"
  17458. },
  17459. "spotcontractqty": {
  17460. "description": "待审核数量: 现货合同",
  17461. "type": "integer"
  17462. },
  17463. "userqty": {
  17464. "description": "待审核数量: 用户",
  17465. "type": "integer"
  17466. }
  17467. }
  17468. },
  17469. "ermcp.QryAvalidGPRsp": {
  17470. "type": "object",
  17471. "properties": {
  17472. "goodsgroupid": {
  17473. "description": "期货品种id",
  17474. "type": "integer"
  17475. },
  17476. "goodsgroupname": {
  17477. "description": "期货品种名称",
  17478. "type": "string"
  17479. },
  17480. "goodunitid": {
  17481. "description": "品种单位id",
  17482. "type": "integer"
  17483. },
  17484. "goodunitname": {
  17485. "description": "品种单位名称",
  17486. "type": "string"
  17487. },
  17488. "outergroupcode": {
  17489. "description": "期货品种代码",
  17490. "type": "string"
  17491. }
  17492. }
  17493. },
  17494. "ermcp.QryBusinessDjRsp": {
  17495. "type": "object",
  17496. "properties": {
  17497. "amount": {
  17498. "description": "点价金额=(点价价格+升贴水)*点价数量",
  17499. "type": "number"
  17500. },
  17501. "applyid": {
  17502. "description": "申请人",
  17503. "type": "string"
  17504. },
  17505. "applyname": {
  17506. "description": "申请人名称",
  17507. "type": "string"
  17508. },
  17509. "applystatus": {
  17510. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17511. "type": "integer"
  17512. },
  17513. "applytime": {
  17514. "description": "申请时间",
  17515. "type": "string"
  17516. },
  17517. "attachurl": {
  17518. "description": "附件",
  17519. "type": "string"
  17520. },
  17521. "auditid": {
  17522. "description": "审核人ID",
  17523. "type": "string"
  17524. },
  17525. "auditname": {
  17526. "description": "审核人名称",
  17527. "type": "string"
  17528. },
  17529. "auditremark": {
  17530. "description": "审核备注",
  17531. "type": "string"
  17532. },
  17533. "audittime": {
  17534. "description": "审核时间",
  17535. "type": "string"
  17536. },
  17537. "buyusername": {
  17538. "description": "采购方名称",
  17539. "type": "string"
  17540. },
  17541. "contractno": {
  17542. "description": "合同编号",
  17543. "type": "string"
  17544. },
  17545. "contractstatus": {
  17546. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17547. "type": "integer"
  17548. },
  17549. "contracttype": {
  17550. "description": "现货合同类型 - 1:采购 -1:销售",
  17551. "type": "integer"
  17552. },
  17553. "deliverygoodscode": {
  17554. "description": "现货品种代码",
  17555. "type": "string"
  17556. },
  17557. "deliverygoodsid": {
  17558. "description": "现货商品ID",
  17559. "type": "integer"
  17560. },
  17561. "deliverygoodsname": {
  17562. "description": "现货品种名称",
  17563. "type": "string"
  17564. },
  17565. "enumdicname": {
  17566. "description": "单位名称",
  17567. "type": "string"
  17568. },
  17569. "goodscode": {
  17570. "description": "点价合约",
  17571. "type": "string"
  17572. },
  17573. "goodsname": {
  17574. "description": "商品名称",
  17575. "type": "string"
  17576. },
  17577. "operateapplyid": {
  17578. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17579. "type": "string"
  17580. },
  17581. "operateapplytype": {
  17582. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17583. "type": "integer"
  17584. },
  17585. "pricedPrice": {
  17586. "description": "点价价格(非必填)",
  17587. "type": "number"
  17588. },
  17589. "pricedQty": {
  17590. "description": "点价数量(非必填)",
  17591. "type": "number"
  17592. },
  17593. "pricemove": {
  17594. "description": "升贴水",
  17595. "type": "number"
  17596. },
  17597. "pricetype": {
  17598. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17599. "type": "integer"
  17600. },
  17601. "relatedid": {
  17602. "description": "现货合同ID",
  17603. "type": "string"
  17604. },
  17605. "sellusername": {
  17606. "description": "销售方名字",
  17607. "type": "string"
  17608. },
  17609. "userid": {
  17610. "description": "用户ID",
  17611. "type": "integer"
  17612. },
  17613. "wrstandardcode": {
  17614. "description": "品类代码",
  17615. "type": "string"
  17616. },
  17617. "wrstandardid": {
  17618. "description": "品类id",
  17619. "type": "integer"
  17620. },
  17621. "wrstandardname": {
  17622. "description": "品类名称",
  17623. "type": "string"
  17624. }
  17625. }
  17626. },
  17627. "ermcp.QryBussinessFpRsp": {
  17628. "type": "object",
  17629. "properties": {
  17630. "applyid": {
  17631. "description": "申请人",
  17632. "type": "string"
  17633. },
  17634. "applyname": {
  17635. "description": "申请人名称",
  17636. "type": "string"
  17637. },
  17638. "applystatus": {
  17639. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17640. "type": "integer"
  17641. },
  17642. "applytime": {
  17643. "description": "申请时间",
  17644. "type": "string"
  17645. },
  17646. "attachurl": {
  17647. "description": "附件",
  17648. "type": "string"
  17649. },
  17650. "auditid": {
  17651. "description": "审核人ID",
  17652. "type": "string"
  17653. },
  17654. "auditname": {
  17655. "description": "审核人名称",
  17656. "type": "string"
  17657. },
  17658. "auditremark": {
  17659. "description": "审核备注",
  17660. "type": "string"
  17661. },
  17662. "audittime": {
  17663. "description": "审核时间",
  17664. "type": "string"
  17665. },
  17666. "buyusername": {
  17667. "description": "采购方名称",
  17668. "type": "string"
  17669. },
  17670. "contractno": {
  17671. "description": "合同编号",
  17672. "type": "string"
  17673. },
  17674. "contractstatus": {
  17675. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17676. "type": "integer"
  17677. },
  17678. "contracttype": {
  17679. "description": "现货合同类型 - 1:采购 -1:销售",
  17680. "type": "integer"
  17681. },
  17682. "deliverygoodscode": {
  17683. "description": "现货品种代码",
  17684. "type": "string"
  17685. },
  17686. "deliverygoodsid": {
  17687. "description": "现货商品ID",
  17688. "type": "integer"
  17689. },
  17690. "deliverygoodsname": {
  17691. "description": "现货品种名称",
  17692. "type": "string"
  17693. },
  17694. "enumdicname": {
  17695. "description": "单位名称",
  17696. "type": "string"
  17697. },
  17698. "goodscode": {
  17699. "description": "点价合约",
  17700. "type": "string"
  17701. },
  17702. "goodsname": {
  17703. "description": "商品名称",
  17704. "type": "string"
  17705. },
  17706. "invoiceamount": {
  17707. "description": "已开收票金额(销售为开票,采购为收票)",
  17708. "type": "number"
  17709. },
  17710. "operateapplyid": {
  17711. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17712. "type": "string"
  17713. },
  17714. "operateapplytype": {
  17715. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17716. "type": "integer"
  17717. },
  17718. "pricemove": {
  17719. "description": "升贴水",
  17720. "type": "number"
  17721. },
  17722. "pricetype": {
  17723. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17724. "type": "integer"
  17725. },
  17726. "relatedid": {
  17727. "description": "现货合同ID",
  17728. "type": "string"
  17729. },
  17730. "sellusername": {
  17731. "description": "销售方名字",
  17732. "type": "string"
  17733. },
  17734. "userid": {
  17735. "description": "用户ID",
  17736. "type": "integer"
  17737. },
  17738. "wrstandardcode": {
  17739. "description": "品类代码",
  17740. "type": "string"
  17741. },
  17742. "wrstandardid": {
  17743. "description": "品类id",
  17744. "type": "integer"
  17745. },
  17746. "wrstandardname": {
  17747. "description": "品类名称",
  17748. "type": "string"
  17749. }
  17750. }
  17751. },
  17752. "ermcp.QryBussinessJsExRsp": {
  17753. "type": "object",
  17754. "properties": {
  17755. "applyid": {
  17756. "description": "申请人",
  17757. "type": "string"
  17758. },
  17759. "applyname": {
  17760. "description": "申请人名称",
  17761. "type": "string"
  17762. },
  17763. "applystatus": {
  17764. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17765. "type": "integer"
  17766. },
  17767. "applytime": {
  17768. "description": "申请时间",
  17769. "type": "string"
  17770. },
  17771. "attachurl": {
  17772. "description": "附件",
  17773. "type": "string"
  17774. },
  17775. "auditid": {
  17776. "description": "审核人ID",
  17777. "type": "string"
  17778. },
  17779. "auditname": {
  17780. "description": "审核人名称",
  17781. "type": "string"
  17782. },
  17783. "auditremark": {
  17784. "description": "审核备注",
  17785. "type": "string"
  17786. },
  17787. "audittime": {
  17788. "description": "审核时间",
  17789. "type": "string"
  17790. },
  17791. "buyusername": {
  17792. "description": "采购方名称",
  17793. "type": "string"
  17794. },
  17795. "contractno": {
  17796. "description": "合同编号",
  17797. "type": "string"
  17798. },
  17799. "contractstatus": {
  17800. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17801. "type": "integer"
  17802. },
  17803. "contracttype": {
  17804. "description": "现货合同类型 - 1:采购 -1:销售",
  17805. "type": "integer"
  17806. },
  17807. "deliverygoodscode": {
  17808. "description": "现货品种代码",
  17809. "type": "string"
  17810. },
  17811. "deliverygoodsid": {
  17812. "description": "现货商品ID",
  17813. "type": "integer"
  17814. },
  17815. "deliverygoodsname": {
  17816. "description": "现货品种名称",
  17817. "type": "string"
  17818. },
  17819. "enumdicname": {
  17820. "description": "单位名称",
  17821. "type": "string"
  17822. },
  17823. "goodscode": {
  17824. "description": "点价合约",
  17825. "type": "string"
  17826. },
  17827. "goodsname": {
  17828. "description": "商品名称",
  17829. "type": "string"
  17830. },
  17831. "operateapplyid": {
  17832. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17833. "type": "string"
  17834. },
  17835. "operateapplytype": {
  17836. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17837. "type": "integer"
  17838. },
  17839. "pricemove": {
  17840. "description": "升贴水",
  17841. "type": "number"
  17842. },
  17843. "pricetype": {
  17844. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17845. "type": "integer"
  17846. },
  17847. "reckontype": {
  17848. "description": "结算类型",
  17849. "type": "string"
  17850. },
  17851. "reckonvalue": {
  17852. "description": "值",
  17853. "type": "number"
  17854. },
  17855. "relatedid": {
  17856. "description": "现货合同ID",
  17857. "type": "string"
  17858. },
  17859. "sellusername": {
  17860. "description": "销售方名字",
  17861. "type": "string"
  17862. },
  17863. "userid": {
  17864. "description": "用户ID",
  17865. "type": "integer"
  17866. },
  17867. "wrstandardcode": {
  17868. "description": "品类代码",
  17869. "type": "string"
  17870. },
  17871. "wrstandardid": {
  17872. "description": "品类id",
  17873. "type": "integer"
  17874. },
  17875. "wrstandardname": {
  17876. "description": "品类名称",
  17877. "type": "string"
  17878. }
  17879. }
  17880. },
  17881. "ermcp.QryBussinessJsRsp": {
  17882. "type": "object",
  17883. "properties": {
  17884. "addmargin": {
  17885. "description": "追加保证金(非必填)",
  17886. "type": "number"
  17887. },
  17888. "applyid": {
  17889. "description": "申请人",
  17890. "type": "string"
  17891. },
  17892. "applyname": {
  17893. "description": "申请人名称",
  17894. "type": "string"
  17895. },
  17896. "applystatus": {
  17897. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17898. "type": "integer"
  17899. },
  17900. "applytime": {
  17901. "description": "申请时间",
  17902. "type": "string"
  17903. },
  17904. "attachurl": {
  17905. "description": "附件",
  17906. "type": "string"
  17907. },
  17908. "auditid": {
  17909. "description": "审核人ID",
  17910. "type": "string"
  17911. },
  17912. "auditname": {
  17913. "description": "审核人名称",
  17914. "type": "string"
  17915. },
  17916. "auditremark": {
  17917. "description": "审核备注",
  17918. "type": "string"
  17919. },
  17920. "audittime": {
  17921. "description": "审核时间",
  17922. "type": "string"
  17923. },
  17924. "buyusername": {
  17925. "description": "采购方名称",
  17926. "type": "string"
  17927. },
  17928. "contractno": {
  17929. "description": "合同编号",
  17930. "type": "string"
  17931. },
  17932. "contractstatus": {
  17933. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17934. "type": "integer"
  17935. },
  17936. "contracttype": {
  17937. "description": "现货合同类型 - 1:采购 -1:销售",
  17938. "type": "integer"
  17939. },
  17940. "decmargin": {
  17941. "description": "减少保证金(非必填)",
  17942. "type": "number"
  17943. },
  17944. "deliverygoodscode": {
  17945. "description": "现货品种代码",
  17946. "type": "string"
  17947. },
  17948. "deliverygoodsid": {
  17949. "description": "现货商品ID",
  17950. "type": "integer"
  17951. },
  17952. "deliverygoodsname": {
  17953. "description": "现货品种名称",
  17954. "type": "string"
  17955. },
  17956. "enumdicname": {
  17957. "description": "单位名称",
  17958. "type": "string"
  17959. },
  17960. "goodscode": {
  17961. "description": "点价合约",
  17962. "type": "string"
  17963. },
  17964. "goodsname": {
  17965. "description": "商品名称",
  17966. "type": "string"
  17967. },
  17968. "operateapplyid": {
  17969. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17970. "type": "string"
  17971. },
  17972. "operateapplytype": {
  17973. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17974. "type": "integer"
  17975. },
  17976. "pricemove": {
  17977. "description": "升贴水",
  17978. "type": "number"
  17979. },
  17980. "pricetype": {
  17981. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17982. "type": "integer"
  17983. },
  17984. "reckonadjustamount": {
  17985. "description": "结算调整金额(非必填)",
  17986. "type": "number"
  17987. },
  17988. "reckonosamount": {
  17989. "description": "结算溢短金额(非必填)",
  17990. "type": "number"
  17991. },
  17992. "reckonotheramount": {
  17993. "description": "结算其他费用(非必填)",
  17994. "type": "number"
  17995. },
  17996. "reckonrealqty": {
  17997. "description": "结算实际数量(非必填)",
  17998. "type": "number"
  17999. },
  18000. "relatedid": {
  18001. "description": "现货合同ID",
  18002. "type": "string"
  18003. },
  18004. "sellusername": {
  18005. "description": "销售方名字",
  18006. "type": "string"
  18007. },
  18008. "userid": {
  18009. "description": "用户ID",
  18010. "type": "integer"
  18011. },
  18012. "wrstandardcode": {
  18013. "description": "品类代码",
  18014. "type": "string"
  18015. },
  18016. "wrstandardid": {
  18017. "description": "品类id",
  18018. "type": "integer"
  18019. },
  18020. "wrstandardname": {
  18021. "description": "品类名称",
  18022. "type": "string"
  18023. }
  18024. }
  18025. },
  18026. "ermcp.QryBussinessKxRsp": {
  18027. "type": "object",
  18028. "properties": {
  18029. "applyid": {
  18030. "description": "申请人",
  18031. "type": "string"
  18032. },
  18033. "applyname": {
  18034. "description": "申请人名称",
  18035. "type": "string"
  18036. },
  18037. "applystatus": {
  18038. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18039. "type": "integer"
  18040. },
  18041. "applytime": {
  18042. "description": "申请时间",
  18043. "type": "string"
  18044. },
  18045. "attachurl": {
  18046. "description": "附件",
  18047. "type": "string"
  18048. },
  18049. "auditid": {
  18050. "description": "审核人ID",
  18051. "type": "string"
  18052. },
  18053. "auditname": {
  18054. "description": "审核人名称",
  18055. "type": "string"
  18056. },
  18057. "auditremark": {
  18058. "description": "审核备注",
  18059. "type": "string"
  18060. },
  18061. "audittime": {
  18062. "description": "审核时间",
  18063. "type": "string"
  18064. },
  18065. "buyusername": {
  18066. "description": "采购方名称",
  18067. "type": "string"
  18068. },
  18069. "contractno": {
  18070. "description": "合同编号",
  18071. "type": "string"
  18072. },
  18073. "contractstatus": {
  18074. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18075. "type": "integer"
  18076. },
  18077. "contracttype": {
  18078. "description": "现货合同类型 - 1:采购 -1:销售",
  18079. "type": "integer"
  18080. },
  18081. "deductamount": {
  18082. "description": "退款(非必填)",
  18083. "type": "number"
  18084. },
  18085. "deliverygoodscode": {
  18086. "description": "现货品种代码",
  18087. "type": "string"
  18088. },
  18089. "deliverygoodsid": {
  18090. "description": "现货商品ID",
  18091. "type": "integer"
  18092. },
  18093. "deliverygoodsname": {
  18094. "description": "现货品种名称",
  18095. "type": "string"
  18096. },
  18097. "enumdicname": {
  18098. "description": "单位名称",
  18099. "type": "string"
  18100. },
  18101. "goodscode": {
  18102. "description": "点价合约",
  18103. "type": "string"
  18104. },
  18105. "goodsname": {
  18106. "description": "商品名称",
  18107. "type": "string"
  18108. },
  18109. "kxtype": {
  18110. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  18111. "type": "integer"
  18112. },
  18113. "operateapplyid": {
  18114. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18115. "type": "string"
  18116. },
  18117. "operateapplytype": {
  18118. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18119. "type": "integer"
  18120. },
  18121. "payamount": {
  18122. "description": "收付款(非必填)",
  18123. "type": "number"
  18124. },
  18125. "pricemove": {
  18126. "description": "升贴水",
  18127. "type": "number"
  18128. },
  18129. "pricetype": {
  18130. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18131. "type": "integer"
  18132. },
  18133. "relatedid": {
  18134. "description": "现货合同ID",
  18135. "type": "string"
  18136. },
  18137. "sellusername": {
  18138. "description": "销售方名字",
  18139. "type": "string"
  18140. },
  18141. "userid": {
  18142. "description": "用户ID",
  18143. "type": "integer"
  18144. },
  18145. "wrstandardcode": {
  18146. "description": "品类代码",
  18147. "type": "string"
  18148. },
  18149. "wrstandardid": {
  18150. "description": "品类id",
  18151. "type": "integer"
  18152. },
  18153. "wrstandardname": {
  18154. "description": "品类名称",
  18155. "type": "string"
  18156. }
  18157. }
  18158. },
  18159. "ermcp.QryGGCovertCfgRsp": {
  18160. "type": "object",
  18161. "properties": {
  18162. "convertratio": {
  18163. "description": "折算系数",
  18164. "type": "number"
  18165. },
  18166. "destgoodsgroupid": {
  18167. "description": "目标品种ID",
  18168. "type": "integer"
  18169. },
  18170. "dstcode": {
  18171. "description": "目录品种代码",
  18172. "type": "string"
  18173. },
  18174. "dstexchangecode": {
  18175. "description": "目标期货交易所",
  18176. "type": "string"
  18177. },
  18178. "dstname": {
  18179. "description": "目标品种名称",
  18180. "type": "string"
  18181. },
  18182. "dstunitid": {
  18183. "description": "目标品种单位ID",
  18184. "type": "integer"
  18185. },
  18186. "dstunitidname": {
  18187. "description": "目标品种单位名称",
  18188. "type": "string"
  18189. },
  18190. "modifytime": {
  18191. "description": "修改时间",
  18192. "type": "string"
  18193. },
  18194. "srccode": {
  18195. "description": "源品种代码",
  18196. "type": "string"
  18197. },
  18198. "srcexchangecode": {
  18199. "description": "源期货交易所",
  18200. "type": "string"
  18201. },
  18202. "srcgoodsgroupid": {
  18203. "description": "源品种ID",
  18204. "type": "integer"
  18205. },
  18206. "srcname": {
  18207. "description": "源品种名称",
  18208. "type": "string"
  18209. },
  18210. "srcunitid": {
  18211. "description": "源品种单位ID",
  18212. "type": "integer"
  18213. },
  18214. "srcunitidname": {
  18215. "description": "源品种单位名称",
  18216. "type": "string"
  18217. }
  18218. }
  18219. },
  18220. "ermcp.QryMGChangeLogRsp": {
  18221. "type": "object",
  18222. "properties": {
  18223. "aftervalue": {
  18224. "description": "变更后",
  18225. "type": "number"
  18226. },
  18227. "applyid": {
  18228. "description": "操作人",
  18229. "type": "integer"
  18230. },
  18231. "applyname": {
  18232. "description": "操作人名称",
  18233. "type": "string"
  18234. },
  18235. "applysrc": {
  18236. "description": "操作来源 - 1:管理端 2:终端",
  18237. "type": "integer"
  18238. },
  18239. "beforevalue": {
  18240. "description": "变更前",
  18241. "type": "number"
  18242. },
  18243. "changelogtype": {
  18244. "description": "变更流水类型 - 1:套保比率变更",
  18245. "type": "integer"
  18246. },
  18247. "handlestatus": {
  18248. "description": "处理状态",
  18249. "type": "integer"
  18250. },
  18251. "logdatetime": {
  18252. "description": "流水日期",
  18253. "type": "string"
  18254. },
  18255. "logid": {
  18256. "description": "流水ID",
  18257. "type": "integer"
  18258. },
  18259. "logremark": {
  18260. "description": "流水备注",
  18261. "type": "string"
  18262. },
  18263. "middlegoodsid": {
  18264. "description": "套保品种ID",
  18265. "type": "integer"
  18266. },
  18267. "tradedate": {
  18268. "description": "交易日(yyyyMMdd)",
  18269. "type": "string"
  18270. },
  18271. "updatetime": {
  18272. "description": "更新时间",
  18273. "type": "string"
  18274. }
  18275. }
  18276. },
  18277. "ermcp.QryMiddleGoodsDetailRsp": {
  18278. "type": "object",
  18279. "properties": {
  18280. "cvList": {
  18281. "description": "期货品种折算列表",
  18282. "type": "array",
  18283. "items": {
  18284. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18285. }
  18286. },
  18287. "mg": {
  18288. "description": "套保品种基本信息",
  18289. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18290. },
  18291. "wrcList": {
  18292. "description": "现货品种列表(现货商品折算配置)",
  18293. "type": "array",
  18294. "items": {
  18295. "$ref": "#/definitions/models.WRSConverTDetail"
  18296. }
  18297. }
  18298. }
  18299. },
  18300. "ermcp.QryMiddleGoodsRsp": {
  18301. "type": "object",
  18302. "properties": {
  18303. "areauserid": {
  18304. "description": "机构用户ID",
  18305. "type": "integer"
  18306. },
  18307. "createtime": {
  18308. "description": "修改时间",
  18309. "type": "string"
  18310. },
  18311. "enumdicname": {
  18312. "description": "单位名称",
  18313. "type": "string"
  18314. },
  18315. "evaluateratio": {
  18316. "description": "估价系数",
  18317. "type": "number"
  18318. },
  18319. "goodsgroupid": {
  18320. "description": "关联期货品种ID",
  18321. "type": "integer"
  18322. },
  18323. "goodsunitid": {
  18324. "description": "单位ID",
  18325. "type": "integer"
  18326. },
  18327. "isvalid": {
  18328. "description": "状态 0-无效(停用) 1-有效(正常)",
  18329. "type": "integer"
  18330. },
  18331. "middlegoodscode": {
  18332. "description": "套保品种代码",
  18333. "type": "string"
  18334. },
  18335. "middlegoodsid": {
  18336. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18337. "type": "integer"
  18338. },
  18339. "middlegoodsname": {
  18340. "description": "套保品种名称",
  18341. "type": "string"
  18342. },
  18343. "modifytime": {
  18344. "description": "修改时间",
  18345. "type": "string"
  18346. },
  18347. "needarbitrageratio": {
  18348. "description": "套利比例",
  18349. "type": "number"
  18350. },
  18351. "needhedgeratio": {
  18352. "description": "套保比率",
  18353. "type": "number"
  18354. },
  18355. "qtydecimalplace": {
  18356. "description": "数量小数位",
  18357. "type": "integer"
  18358. },
  18359. "relatedgoodsid": {
  18360. "description": "关联交易商品ID",
  18361. "type": "integer"
  18362. },
  18363. "relatedgoodstype": {
  18364. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18365. "type": "integer"
  18366. },
  18367. "remark": {
  18368. "description": "备注",
  18369. "type": "string"
  18370. }
  18371. }
  18372. },
  18373. "ermcp.QryOPLogRsp": {
  18374. "type": "object",
  18375. "properties": {
  18376. "aftervalue": {
  18377. "description": "变更后",
  18378. "type": "number"
  18379. },
  18380. "applyid": {
  18381. "description": "操作人ID",
  18382. "type": "string"
  18383. },
  18384. "applyname": {
  18385. "description": "操作人名称",
  18386. "type": "string"
  18387. },
  18388. "beforevalue": {
  18389. "description": "变更前",
  18390. "type": "number"
  18391. },
  18392. "biztype": {
  18393. "description": "业务类型 - 1:套保计划 2:现货合同",
  18394. "type": "integer"
  18395. },
  18396. "contracttype": {
  18397. "description": "现货合同类型 - 1:采购 -1:销售",
  18398. "type": "integer"
  18399. },
  18400. "logvalue": {
  18401. "description": "数值",
  18402. "type": "number"
  18403. },
  18404. "operatelogtype": {
  18405. "description": "操作流水类型",
  18406. "type": "integer"
  18407. },
  18408. "operatelogtypedesc": {
  18409. "description": "操作流水类型名称",
  18410. "type": "string"
  18411. },
  18412. "relatedid": {
  18413. "description": "现货合同ID\\套保计划",
  18414. "type": "string"
  18415. },
  18416. "updatetime": {
  18417. "description": "更新时间",
  18418. "type": "string"
  18419. }
  18420. }
  18421. },
  18422. "ermcp.QryUserInfoRsp": {
  18423. "type": "object",
  18424. "properties": {
  18425. "address": {
  18426. "description": "通讯地址",
  18427. "type": "string"
  18428. },
  18429. "attachment1": {
  18430. "description": "附件1",
  18431. "type": "string"
  18432. },
  18433. "audittime": {
  18434. "description": "审核时间",
  18435. "type": "string"
  18436. },
  18437. "cardbackphotourl": {
  18438. "description": "证件反面图片地址",
  18439. "type": "string"
  18440. },
  18441. "cardfrontphotourl": {
  18442. "description": "证件正面图片地址",
  18443. "type": "string"
  18444. },
  18445. "cardnum": {
  18446. "description": "证件号码",
  18447. "type": "string"
  18448. },
  18449. "cardtype": {
  18450. "description": "证件类型",
  18451. "type": "integer"
  18452. },
  18453. "cardtypename": {
  18454. "description": "证件类型名称",
  18455. "type": "string"
  18456. },
  18457. "cityid": {
  18458. "description": "市",
  18459. "type": "integer"
  18460. },
  18461. "contactname": {
  18462. "description": "联系人",
  18463. "type": "string"
  18464. },
  18465. "countryid": {
  18466. "description": "国家",
  18467. "type": "integer"
  18468. },
  18469. "createtime": {
  18470. "description": "创建时间",
  18471. "type": "string"
  18472. },
  18473. "customername": {
  18474. "description": "企业名称",
  18475. "type": "string"
  18476. },
  18477. "districtid": {
  18478. "description": "区域",
  18479. "type": "integer"
  18480. },
  18481. "email": {
  18482. "description": "邮件",
  18483. "type": "string"
  18484. },
  18485. "legalpersonname": {
  18486. "description": "法人姓名(企业)",
  18487. "type": "string"
  18488. },
  18489. "memberuserid": {
  18490. "description": "所属机构ID",
  18491. "type": "integer"
  18492. },
  18493. "mobile": {
  18494. "description": "手机号码",
  18495. "type": "string"
  18496. },
  18497. "modifytime": {
  18498. "description": "修改时间",
  18499. "type": "string"
  18500. },
  18501. "nickname": {
  18502. "description": "昵称",
  18503. "type": "string"
  18504. },
  18505. "provinceid": {
  18506. "description": "省",
  18507. "type": "integer"
  18508. },
  18509. "remark": {
  18510. "description": "备注",
  18511. "type": "string"
  18512. },
  18513. "status": {
  18514. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18515. "type": "integer"
  18516. },
  18517. "statusdesc": {
  18518. "description": "账户状态中文描述",
  18519. "type": "string"
  18520. },
  18521. "taxpayernum": {
  18522. "description": "纳税人识别号",
  18523. "type": "string"
  18524. },
  18525. "telphone": {
  18526. "description": "联系电话",
  18527. "type": "string"
  18528. },
  18529. "userid": {
  18530. "description": "用户ID",
  18531. "type": "integer"
  18532. },
  18533. "userinfotype": {
  18534. "description": "客户类型",
  18535. "type": "string"
  18536. }
  18537. }
  18538. },
  18539. "ermcp.QryWarehouseRsp": {
  18540. "type": "object",
  18541. "properties": {
  18542. "address": {
  18543. "description": "详细地址",
  18544. "type": "string"
  18545. },
  18546. "areauserid": {
  18547. "description": "所属机构",
  18548. "type": "integer"
  18549. },
  18550. "autoid": {
  18551. "description": "自增ID(仓库ID)",
  18552. "type": "integer"
  18553. },
  18554. "cityid": {
  18555. "description": "市",
  18556. "type": "integer"
  18557. },
  18558. "contactname": {
  18559. "description": "联系人",
  18560. "type": "string"
  18561. },
  18562. "contactnum": {
  18563. "description": "联系电话",
  18564. "type": "string"
  18565. },
  18566. "countryid": {
  18567. "description": "国家",
  18568. "type": "integer"
  18569. },
  18570. "createtime": {
  18571. "description": "创建时间",
  18572. "type": "string"
  18573. },
  18574. "districtid": {
  18575. "description": "区",
  18576. "type": "integer"
  18577. },
  18578. "hasvideo": {
  18579. "description": "是否有视频 - 0:无 1:有",
  18580. "type": "integer"
  18581. },
  18582. "provinceid": {
  18583. "description": "省",
  18584. "type": "integer"
  18585. },
  18586. "remark": {
  18587. "description": "审核备注",
  18588. "type": "string"
  18589. },
  18590. "videourl": {
  18591. "description": "视频地址",
  18592. "type": "string"
  18593. },
  18594. "warehousecode": {
  18595. "description": "仓库代码",
  18596. "type": "string"
  18597. },
  18598. "warehousename": {
  18599. "description": "仓库名称",
  18600. "type": "string"
  18601. },
  18602. "warehousestatus": {
  18603. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18604. "type": "integer"
  18605. },
  18606. "warehousetype": {
  18607. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18608. "type": "integer"
  18609. }
  18610. }
  18611. },
  18612. "ermcp.QueryErmcpTradePositionRsp": {
  18613. "type": "object",
  18614. "properties": {
  18615. "agreeunit": {
  18616. "description": "合约单位",
  18617. "type": "number"
  18618. },
  18619. "buyorsell": {
  18620. "description": "方向 - 0:买 1:卖",
  18621. "type": "integer"
  18622. },
  18623. "curpositionqty": {
  18624. "description": "持仓(总仓数量, 期末头寸)",
  18625. "type": "integer"
  18626. },
  18627. "curtdposition": {
  18628. "description": "今仓数量(期末今日头寸)",
  18629. "type": "integer"
  18630. },
  18631. "curtdpositionenabled": {
  18632. "description": "今仓可用",
  18633. "type": "integer"
  18634. },
  18635. "decimalplace": {
  18636. "description": "报价小数位",
  18637. "type": "integer"
  18638. },
  18639. "enableqty": {
  18640. "description": "可用(总仓可用)",
  18641. "type": "integer"
  18642. },
  18643. "exexchangename": {
  18644. "description": "外部交易所名称",
  18645. "type": "string"
  18646. },
  18647. "exexehangecode": {
  18648. "description": "外部交易所代码",
  18649. "type": "string"
  18650. },
  18651. "exexehangeid": {
  18652. "description": "外部交易所id",
  18653. "type": "integer"
  18654. },
  18655. "goodscode": {
  18656. "description": "商品代码(内部)",
  18657. "type": "string"
  18658. },
  18659. "goodsid": {
  18660. "description": "商品ID(自增ID SEQ_GOODS)",
  18661. "type": "integer"
  18662. },
  18663. "goodsname": {
  18664. "description": "商品名称",
  18665. "type": "string"
  18666. },
  18667. "last": {
  18668. "description": "现价",
  18669. "type": "number"
  18670. },
  18671. "marketid": {
  18672. "description": "所属市场ID",
  18673. "type": "integer"
  18674. },
  18675. "openaverageprice": {
  18676. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  18677. "type": "number"
  18678. },
  18679. "opencost": {
  18680. "description": "开仓成本",
  18681. "type": "number"
  18682. },
  18683. "openpl": {
  18684. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18685. "type": "number"
  18686. },
  18687. "outgoodscode": {
  18688. "description": "商品代码(外部)",
  18689. "type": "string"
  18690. },
  18691. "positionaverageprice": {
  18692. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  18693. "type": "number"
  18694. },
  18695. "positioncost": {
  18696. "description": "持仓成本",
  18697. "type": "number"
  18698. },
  18699. "positionpl": {
  18700. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18701. "type": "number"
  18702. },
  18703. "positionplrate": {
  18704. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  18705. "type": "number"
  18706. },
  18707. "usedmargin": {
  18708. "description": "占用保证金",
  18709. "type": "number"
  18710. }
  18711. }
  18712. },
  18713. "ermcp.RealtimeExposurePositionRsp": {
  18714. "type": "object",
  18715. "properties": {
  18716. "agreeunit": {
  18717. "description": "合约单位",
  18718. "type": "string"
  18719. },
  18720. "areauserid": {
  18721. "description": "所属机构id",
  18722. "type": "integer"
  18723. },
  18724. "convertratio": {
  18725. "description": "期货品种系数(折算系数)",
  18726. "type": "number"
  18727. },
  18728. "curhedgeqty": {
  18729. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  18730. "type": "number"
  18731. },
  18732. "curqty": {
  18733. "description": "当前持仓",
  18734. "type": "integer"
  18735. },
  18736. "diffhedgeqty": {
  18737. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18738. "type": "number"
  18739. },
  18740. "diffqty": {
  18741. "description": "持仓变动量=当前持仓-昨日持仓",
  18742. "type": "integer"
  18743. },
  18744. "goodscode": {
  18745. "description": "商品代码",
  18746. "type": "string"
  18747. },
  18748. "goodsid": {
  18749. "description": "商品id",
  18750. "type": "integer"
  18751. },
  18752. "goodsname": {
  18753. "description": "商品名称",
  18754. "type": "string"
  18755. },
  18756. "hedgeaccountcode": {
  18757. "description": "对冲账号(只有外部账号才有值)",
  18758. "type": "string"
  18759. },
  18760. "middlegoodscode": {
  18761. "description": "套保商品代码",
  18762. "type": "string"
  18763. },
  18764. "middlegoodsid": {
  18765. "description": "套保商品id",
  18766. "type": "integer"
  18767. },
  18768. "middlegoodsname": {
  18769. "description": "套保商品名称",
  18770. "type": "string"
  18771. },
  18772. "ydqty": {
  18773. "description": "昨日持仓",
  18774. "type": "integer"
  18775. }
  18776. }
  18777. },
  18778. "ermcp.RealtimeExposureRsp": {
  18779. "type": "object",
  18780. "properties": {
  18781. "AreaUserID": {
  18782. "description": "所属机构",
  18783. "type": "integer"
  18784. },
  18785. "BuyFutureQty": {
  18786. "description": "买入期货数量",
  18787. "type": "number"
  18788. },
  18789. "BuyPlanQty": {
  18790. "description": "采购计划数量",
  18791. "type": "number"
  18792. },
  18793. "BuyPricedQty": {
  18794. "description": "采购合同已定价数量",
  18795. "type": "number"
  18796. },
  18797. "MiddleGoodsCode": {
  18798. "description": "套保品种代码",
  18799. "type": "string"
  18800. },
  18801. "MiddleGoodsHedgeRatio": {
  18802. "description": "套保比例",
  18803. "type": "number"
  18804. },
  18805. "MiddleGoodsID": {
  18806. "description": "套保品种",
  18807. "type": "integer"
  18808. },
  18809. "MiddleGoodsName": {
  18810. "description": "套保品种名称",
  18811. "type": "string"
  18812. },
  18813. "NeedHedgeExposoure": {
  18814. "description": "应套保敞口(套保敞口)",
  18815. "type": "number"
  18816. },
  18817. "NeedHedgeRatio": {
  18818. "description": "应套保敞口比例",
  18819. "type": "number"
  18820. },
  18821. "OriBuyFutureQty": {
  18822. "description": "期初买入期货数量",
  18823. "type": "number"
  18824. },
  18825. "OriBuyPlanQty": {
  18826. "description": "期初采购计划数量",
  18827. "type": "number"
  18828. },
  18829. "OriBuyPricedQty": {
  18830. "description": "期初采购合同已定价数量",
  18831. "type": "number"
  18832. },
  18833. "OriSellFutureQty": {
  18834. "description": "期初卖出期货数量",
  18835. "type": "number"
  18836. },
  18837. "OriSellPlanQty": {
  18838. "description": "期初销售计划数量",
  18839. "type": "number"
  18840. },
  18841. "OriSellPricedQty": {
  18842. "description": "期初销售合同已定价数量",
  18843. "type": "number"
  18844. },
  18845. "OriTotalSpotQty": {
  18846. "description": "期初现货总量",
  18847. "type": "number"
  18848. },
  18849. "SellFutureQty": {
  18850. "description": "卖出期货数量",
  18851. "type": "number"
  18852. },
  18853. "SellPlanQty": {
  18854. "description": "销售计划数量",
  18855. "type": "number"
  18856. },
  18857. "SellPricedQty": {
  18858. "description": "销售合同已定价数量",
  18859. "type": "number"
  18860. },
  18861. "TotalExposure": {
  18862. "description": "总敞口 平安:净敞口",
  18863. "type": "number"
  18864. },
  18865. "TotalFutureQty": {
  18866. "description": "期货总量 平安:保值净持仓量",
  18867. "type": "number"
  18868. },
  18869. "TotalHedgeRatio": {
  18870. "description": "敞口比例",
  18871. "type": "number"
  18872. },
  18873. "TotalNeedHedgeQty": {
  18874. "description": "应套保总量(现货应套保总量)",
  18875. "type": "number"
  18876. },
  18877. "TotalSpotQty": {
  18878. "description": "现货总量 平安:采销定价净值",
  18879. "type": "number"
  18880. },
  18881. "arbitrageqty": {
  18882. "description": "套利量",
  18883. "type": "number"
  18884. },
  18885. "diffArbitrageQty": {
  18886. "description": "套利变动量",
  18887. "type": "number"
  18888. },
  18889. "diffExposoureQty": {
  18890. "description": "变动量(套保敞口)",
  18891. "type": "number"
  18892. },
  18893. "diffFutuQty": {
  18894. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  18895. "type": "number"
  18896. },
  18897. "diffHedgeQty": {
  18898. "description": "套保变动量",
  18899. "type": "number"
  18900. },
  18901. "diffQty": {
  18902. "description": "变动量(总敞口) 平安:净敞口今日变动",
  18903. "type": "number"
  18904. },
  18905. "diffSpotHedgeQty": {
  18906. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  18907. "type": "number"
  18908. },
  18909. "diffSpotQty": {
  18910. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  18911. "type": "number"
  18912. },
  18913. "enumdicname": {
  18914. "description": "单位名称",
  18915. "type": "string"
  18916. },
  18917. "hedgeqty": {
  18918. "description": "套保量",
  18919. "type": "number"
  18920. },
  18921. "needarbitrageqty": {
  18922. "description": "应套利量",
  18923. "type": "number"
  18924. },
  18925. "needarbitrageratio": {
  18926. "description": "套利比例",
  18927. "type": "number"
  18928. },
  18929. "needhedgeqty": {
  18930. "description": "应套保量",
  18931. "type": "number"
  18932. },
  18933. "oriarbitrageqty": {
  18934. "description": "期初套利量",
  18935. "type": "number"
  18936. },
  18937. "orihedgeqty": {
  18938. "description": "期初套保量",
  18939. "type": "number"
  18940. },
  18941. "orineedhedgeexposoure": {
  18942. "description": "期初套保敞口",
  18943. "type": "number"
  18944. },
  18945. "oritotalexposure": {
  18946. "description": "期初总敞口",
  18947. "type": "number"
  18948. },
  18949. "oritotalfutureqty": {
  18950. "description": "期初期货总量",
  18951. "type": "number"
  18952. },
  18953. "oritotalneedhedgeqty": {
  18954. "description": "期初现货应套保量",
  18955. "type": "number"
  18956. }
  18957. }
  18958. },
  18959. "erms2.QueryArbitrageStrategyRsp": {
  18960. "type": "object",
  18961. "required": [
  18962. "asapplyid"
  18963. ],
  18964. "properties": {
  18965. "applybasis": {
  18966. "description": "申请基差",
  18967. "type": "number"
  18968. },
  18969. "asapplyid": {
  18970. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  18971. "type": "string"
  18972. },
  18973. "asname": {
  18974. "description": "策略名称",
  18975. "type": "string"
  18976. },
  18977. "asno": {
  18978. "description": "策略编号",
  18979. "type": "string"
  18980. },
  18981. "basischangepl": {
  18982. "description": "基差变动损益[结算更新]",
  18983. "type": "number"
  18984. },
  18985. "biztype": {
  18986. "description": "业务类型 - 1:正向套利 -1:反向套利",
  18987. "type": "integer"
  18988. },
  18989. "closetradedate": {
  18990. "description": "完结交易日(yyyyMMdd)",
  18991. "type": "string"
  18992. },
  18993. "curbasis": {
  18994. "description": "当前基差[结算更新]",
  18995. "type": "number"
  18996. },
  18997. "deliverygoodsid": {
  18998. "description": "现货品种ID",
  18999. "type": "integer"
  19000. },
  19001. "futureavgprice": {
  19002. "description": "期货建仓均价",
  19003. "type": "number"
  19004. },
  19005. "futurecloseamount": {
  19006. "description": "期货平仓金额",
  19007. "type": "number"
  19008. },
  19009. "futurecloseqty": {
  19010. "description": "期货平仓数量",
  19011. "type": "number"
  19012. },
  19013. "futureopenamount": {
  19014. "description": "期货开仓金额",
  19015. "type": "number"
  19016. },
  19017. "futureopenqty": {
  19018. "description": "期货开仓数量",
  19019. "type": "number"
  19020. },
  19021. "futurepl": {
  19022. "description": "期货总盈亏[结算更新]",
  19023. "type": "number"
  19024. },
  19025. "futureqty": {
  19026. "description": "期货持仓数量",
  19027. "type": "number"
  19028. },
  19029. "futurequote": {
  19030. "description": "期货额度",
  19031. "type": "number"
  19032. },
  19033. "goodsgroupid": {
  19034. "description": "期货品种ID",
  19035. "type": "integer"
  19036. },
  19037. "marketid": {
  19038. "description": "市场ID",
  19039. "type": "integer"
  19040. },
  19041. "netexposure": {
  19042. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  19043. "type": "number"
  19044. },
  19045. "netexposurepl": {
  19046. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  19047. "type": "number"
  19048. },
  19049. "netexposurerate": {
  19050. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  19051. "type": "number"
  19052. },
  19053. "openbasis": {
  19054. "description": "建仓基差",
  19055. "type": "number"
  19056. },
  19057. "pricedspotqty": {
  19058. "description": "已定价现货数量",
  19059. "type": "number"
  19060. },
  19061. "pricedspotqtynotax": {
  19062. "description": "已定价现货不含税数量",
  19063. "type": "number"
  19064. },
  19065. "remark": {
  19066. "description": "备注",
  19067. "type": "string"
  19068. },
  19069. "spotavgprice": {
  19070. "description": "现货均价",
  19071. "type": "number"
  19072. },
  19073. "spotbuyamount": {
  19074. "description": "现货采购金额",
  19075. "type": "number"
  19076. },
  19077. "spotbuyqty": {
  19078. "description": "现货采购数量",
  19079. "type": "number"
  19080. },
  19081. "spotpl": {
  19082. "description": "现货总盈亏[结算更新]",
  19083. "type": "number"
  19084. },
  19085. "spotquota": {
  19086. "description": "现货额度",
  19087. "type": "number"
  19088. },
  19089. "spotsellamount": {
  19090. "description": "现货销售金额",
  19091. "type": "number"
  19092. },
  19093. "spotsellqty": {
  19094. "description": "现货销售数量",
  19095. "type": "number"
  19096. },
  19097. "spotusedquota": {
  19098. "description": "现货占用资金",
  19099. "type": "number"
  19100. },
  19101. "strategystatus": {
  19102. "description": "策略状态 - 0:未结束 1:已结束",
  19103. "type": "integer"
  19104. },
  19105. "totalpl": {
  19106. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  19107. "type": "number"
  19108. },
  19109. "tradedate": {
  19110. "description": "交易日(yyyyMMdd)",
  19111. "type": "string"
  19112. },
  19113. "updatetime": {
  19114. "description": "更新时间",
  19115. "type": "string"
  19116. },
  19117. "usedquota": {
  19118. "description": "已占用资金",
  19119. "type": "number"
  19120. },
  19121. "userid": {
  19122. "description": "所属机构",
  19123. "type": "integer"
  19124. }
  19125. }
  19126. },
  19127. "erms2.QueryInnerTradeDetailRsp": {
  19128. "type": "object",
  19129. "required": [
  19130. "asapplyid",
  19131. "buyorsell",
  19132. "goodscode",
  19133. "goodsgroupid",
  19134. "goodsgroupname",
  19135. "goodsname",
  19136. "tradeid"
  19137. ],
  19138. "properties": {
  19139. "accountid": {
  19140. "description": "账号ID",
  19141. "type": "integer"
  19142. },
  19143. "agreeunit": {
  19144. "description": "合约单位",
  19145. "type": "number"
  19146. },
  19147. "asapplyid": {
  19148. "description": "策略申请ID",
  19149. "type": "integer"
  19150. },
  19151. "asname": {
  19152. "description": "策略名称",
  19153. "type": "string"
  19154. },
  19155. "asno": {
  19156. "description": "策略编号",
  19157. "type": "string"
  19158. },
  19159. "buyorsell": {
  19160. "description": "方向 - 0:买 1:卖",
  19161. "type": "integer"
  19162. },
  19163. "channelbuildtype": {
  19164. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19165. "type": "integer"
  19166. },
  19167. "closetype": {
  19168. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19169. "type": "integer"
  19170. },
  19171. "decimalplace": {
  19172. "description": "报价小数位",
  19173. "type": "integer"
  19174. },
  19175. "detailtype": {
  19176. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19177. "type": "integer"
  19178. },
  19179. "exexchangecode": {
  19180. "description": "外部交易所代码",
  19181. "type": "string"
  19182. },
  19183. "exexchangename": {
  19184. "description": "外部交易所名称",
  19185. "type": "string"
  19186. },
  19187. "goodscode": {
  19188. "description": "商品代码(合约)",
  19189. "type": "string"
  19190. },
  19191. "goodsgroupid": {
  19192. "description": "商品组ID(品种ID)",
  19193. "type": "integer"
  19194. },
  19195. "goodsgroupname": {
  19196. "description": "商品组名称(品种)",
  19197. "type": "string"
  19198. },
  19199. "goodsid": {
  19200. "description": "商品ID",
  19201. "type": "integer"
  19202. },
  19203. "goodsname": {
  19204. "description": "商品名称(合约)",
  19205. "type": "string"
  19206. },
  19207. "goodunit": {
  19208. "description": "报价单位",
  19209. "type": "string"
  19210. },
  19211. "marketid": {
  19212. "description": "市场ID",
  19213. "type": "integer"
  19214. },
  19215. "orderid": {
  19216. "description": "委托单号",
  19217. "type": "string"
  19218. },
  19219. "outgoodscode": {
  19220. "description": "商品代码(外部)",
  19221. "type": "string"
  19222. },
  19223. "relatedouttradeid": {
  19224. "description": "关联外部成交单ID",
  19225. "type": "string"
  19226. },
  19227. "remark": {
  19228. "description": "备注",
  19229. "type": "string"
  19230. },
  19231. "spotcontractid": {
  19232. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19233. "type": "integer"
  19234. },
  19235. "spotcontractno": {
  19236. "description": "现货合同编号",
  19237. "type": "string"
  19238. },
  19239. "tradeid": {
  19240. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19241. "type": "string"
  19242. },
  19243. "tradeprice": {
  19244. "description": "成交价格",
  19245. "type": "number"
  19246. },
  19247. "tradeqty": {
  19248. "description": "成交数量",
  19249. "type": "integer"
  19250. },
  19251. "tradetime": {
  19252. "description": "成交时间",
  19253. "type": "string"
  19254. },
  19255. "updatetime": {
  19256. "description": "更新时间",
  19257. "type": "string"
  19258. }
  19259. }
  19260. },
  19261. "erms2.QuerySpotContractRsp": {
  19262. "type": "object",
  19263. "required": [
  19264. "spotcontractid"
  19265. ],
  19266. "properties": {
  19267. "accountid": {
  19268. "description": "资金账户ID",
  19269. "type": "integer"
  19270. },
  19271. "areauserid": {
  19272. "description": "所属机构",
  19273. "type": "integer"
  19274. },
  19275. "closedate": {
  19276. "description": "终止日期",
  19277. "type": "string"
  19278. },
  19279. "closeremark": {
  19280. "description": "结束备注",
  19281. "type": "string"
  19282. },
  19283. "closetradedate": {
  19284. "description": "完结交易日(yyyyMMdd)",
  19285. "type": "string"
  19286. },
  19287. "closetype": {
  19288. "description": "终止类型 - 1:违约 2:提前终止",
  19289. "type": "integer"
  19290. },
  19291. "contractamount": {
  19292. "description": "合同金额",
  19293. "type": "number"
  19294. },
  19295. "contractattachment": {
  19296. "description": "合同附件",
  19297. "type": "string"
  19298. },
  19299. "contractno": {
  19300. "description": "现货合同编号",
  19301. "type": "string"
  19302. },
  19303. "contractqty": {
  19304. "description": "合同数量(数值) (用于计算)",
  19305. "type": "number"
  19306. },
  19307. "contractqtychar": {
  19308. "description": "合同数量\\已订价数量 (用于显示)",
  19309. "type": "string"
  19310. },
  19311. "contractstatus": {
  19312. "description": "合同状态 - 0:未结束 1:已结束",
  19313. "type": "integer"
  19314. },
  19315. "contracttype": {
  19316. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19317. "type": "integer"
  19318. },
  19319. "customeraccountid": {
  19320. "description": "客户资金账户ID",
  19321. "type": "integer"
  19322. },
  19323. "customeruserid": {
  19324. "description": "客户ID",
  19325. "type": "integer"
  19326. },
  19327. "deliverygoodsdesc": {
  19328. "description": "品种说明",
  19329. "type": "string"
  19330. },
  19331. "deliverygoodsid": {
  19332. "description": "现货品种ID",
  19333. "type": "integer"
  19334. },
  19335. "handlestatus": {
  19336. "description": "处理状态",
  19337. "type": "integer"
  19338. },
  19339. "invoiceatt": {
  19340. "description": "发票附件",
  19341. "type": "string"
  19342. },
  19343. "invoicedatetime": {
  19344. "description": "开收票更新时间",
  19345. "type": "string"
  19346. },
  19347. "invoiceopentime": {
  19348. "description": "开票时间",
  19349. "type": "string"
  19350. },
  19351. "invoiceremark": {
  19352. "description": "发票备注",
  19353. "type": "string"
  19354. },
  19355. "invoicestatus": {
  19356. "description": "开收票状态 - 0:未开票 1:已开票",
  19357. "type": "integer"
  19358. },
  19359. "lastdate": {
  19360. "description": "交货时间",
  19361. "type": "string"
  19362. },
  19363. "marketid": {
  19364. "description": "市场ID",
  19365. "type": "integer"
  19366. },
  19367. "paydatetime": {
  19368. "description": "收付款更新时间",
  19369. "type": "string"
  19370. },
  19371. "payremark": {
  19372. "description": "收付款备注",
  19373. "type": "string"
  19374. },
  19375. "paystatus": {
  19376. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19377. "type": "integer"
  19378. },
  19379. "positionqty": {
  19380. "description": "头寸数量 - 合同数量去小数部分",
  19381. "type": "integer"
  19382. },
  19383. "producttype": {
  19384. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19385. "type": "integer"
  19386. },
  19387. "relatedqty": {
  19388. "description": "已关联数量",
  19389. "type": "number"
  19390. },
  19391. "relatedstatus": {
  19392. "description": "关联完结状态 - 0:未结束 1:已结束",
  19393. "type": "integer"
  19394. },
  19395. "remark": {
  19396. "description": "备注",
  19397. "type": "string"
  19398. },
  19399. "signdate": {
  19400. "description": "签订日期",
  19401. "type": "string"
  19402. },
  19403. "spotcontractid": {
  19404. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  19405. "type": "string"
  19406. },
  19407. "spotdatetime": {
  19408. "description": "收发货更新时间",
  19409. "type": "string"
  19410. },
  19411. "spotprice": {
  19412. "description": "价格",
  19413. "type": "number"
  19414. },
  19415. "spotremark": {
  19416. "description": "收发货备注",
  19417. "type": "string"
  19418. },
  19419. "spotstatus": {
  19420. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  19421. "type": "integer"
  19422. },
  19423. "tradedate": {
  19424. "description": "交易日(yyyyMMdd)",
  19425. "type": "string"
  19426. },
  19427. "userid": {
  19428. "description": "业务员用户ID",
  19429. "type": "integer"
  19430. },
  19431. "warehouseid": {
  19432. "description": "仓库ID",
  19433. "type": "integer"
  19434. },
  19435. "wrfactortypeid": {
  19436. "description": "仓单要素类型ID",
  19437. "type": "integer"
  19438. },
  19439. "wrstandardid": {
  19440. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19441. "type": "integer"
  19442. }
  19443. }
  19444. },
  19445. "erms3.AddErms2ASApplyReq": {
  19446. "type": "object",
  19447. "required": [
  19448. "asapplyid"
  19449. ],
  19450. "properties": {
  19451. "applybasis": {
  19452. "description": "申请基差",
  19453. "type": "number"
  19454. },
  19455. "applystatus": {
  19456. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19457. "type": "integer"
  19458. },
  19459. "asapplyid": {
  19460. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  19461. "type": "integer"
  19462. },
  19463. "asname": {
  19464. "description": "策略名称",
  19465. "type": "string"
  19466. },
  19467. "asno": {
  19468. "description": "策略编号",
  19469. "type": "string"
  19470. },
  19471. "auditid": {
  19472. "description": "审核人",
  19473. "type": "integer"
  19474. },
  19475. "auditremark": {
  19476. "description": "审核备注",
  19477. "type": "string"
  19478. },
  19479. "audittime": {
  19480. "description": "审核时间",
  19481. "type": "string"
  19482. },
  19483. "biztype": {
  19484. "description": "业务类型 - 1:正向套利 2:反向套利",
  19485. "type": "integer"
  19486. },
  19487. "createtime": {
  19488. "description": "创建时间",
  19489. "type": "string"
  19490. },
  19491. "creatorid": {
  19492. "description": "创建人",
  19493. "type": "integer"
  19494. },
  19495. "deliverygoodsid": {
  19496. "description": "现货品种ID",
  19497. "type": "integer"
  19498. },
  19499. "futurequote": {
  19500. "description": "期货额度",
  19501. "type": "number"
  19502. },
  19503. "goodsgroupid": {
  19504. "description": "期货品种ID",
  19505. "type": "integer"
  19506. },
  19507. "marketid": {
  19508. "description": "市场ID",
  19509. "type": "integer"
  19510. },
  19511. "remark": {
  19512. "description": "备注",
  19513. "type": "string"
  19514. },
  19515. "spotquota": {
  19516. "description": "现货额度",
  19517. "type": "number"
  19518. },
  19519. "tradedate": {
  19520. "description": "交易日(yyyyMMdd)",
  19521. "type": "string"
  19522. },
  19523. "userid": {
  19524. "description": "所属机构",
  19525. "type": "integer"
  19526. }
  19527. }
  19528. },
  19529. "erms3.AddErms2SpotTradeApplyReq": {
  19530. "type": "object",
  19531. "required": [
  19532. "spottradeid"
  19533. ],
  19534. "properties": {
  19535. "applyjsondetail": {
  19536. "description": "申请明细(JSON)",
  19537. "type": "string"
  19538. },
  19539. "applystatus": {
  19540. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19541. "type": "integer"
  19542. },
  19543. "areauserid": {
  19544. "description": "所属机构",
  19545. "type": "integer"
  19546. },
  19547. "auditid": {
  19548. "description": "审核人",
  19549. "type": "integer"
  19550. },
  19551. "auditremark": {
  19552. "description": "审核备注",
  19553. "type": "string"
  19554. },
  19555. "audittime": {
  19556. "description": "审核时间",
  19557. "type": "string"
  19558. },
  19559. "createtime": {
  19560. "description": "创建时间",
  19561. "type": "string"
  19562. },
  19563. "creatorid": {
  19564. "description": "创建人",
  19565. "type": "integer"
  19566. },
  19567. "deliverygoodsid": {
  19568. "description": "现货品种ID",
  19569. "type": "integer"
  19570. },
  19571. "futureaccountid": {
  19572. "description": "期货资金账户",
  19573. "type": "integer"
  19574. },
  19575. "goodsgroupid": {
  19576. "description": "期货品种",
  19577. "type": "integer"
  19578. },
  19579. "marketid": {
  19580. "description": "市场ID",
  19581. "type": "integer"
  19582. },
  19583. "remark": {
  19584. "description": "备注",
  19585. "type": "string"
  19586. },
  19587. "spotaccountid": {
  19588. "description": "现货资金账户",
  19589. "type": "integer"
  19590. },
  19591. "spottradeid": {
  19592. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  19593. "type": "integer"
  19594. },
  19595. "spottradename": {
  19596. "description": "业务名称",
  19597. "type": "string"
  19598. },
  19599. "spottradeno": {
  19600. "description": "业务编号",
  19601. "type": "string"
  19602. },
  19603. "tradedate": {
  19604. "description": "交易日(yyyyMMdd)",
  19605. "type": "string"
  19606. },
  19607. "wrstandardid": {
  19608. "description": "仓单标准ID",
  19609. "type": "integer"
  19610. }
  19611. }
  19612. },
  19613. "erms3.AddSpotContractApplyReq": {
  19614. "type": "object",
  19615. "required": [
  19616. "accountid",
  19617. "areauserid",
  19618. "contractno",
  19619. "contracttype",
  19620. "customeraccountid",
  19621. "customeruserid",
  19622. "details",
  19623. "orimargin",
  19624. "signdate"
  19625. ],
  19626. "properties": {
  19627. "accountid": {
  19628. "description": "资金账户ID",
  19629. "type": "integer"
  19630. },
  19631. "areauserid": {
  19632. "description": "所属机构",
  19633. "type": "integer"
  19634. },
  19635. "contractattachment": {
  19636. "description": "合同附件",
  19637. "type": "string"
  19638. },
  19639. "contractno": {
  19640. "description": "现货合同编号",
  19641. "type": "string"
  19642. },
  19643. "contracttype": {
  19644. "description": "现货合同类型 - 1:采购 -1:销售",
  19645. "type": "integer"
  19646. },
  19647. "creatorid": {
  19648. "description": "申请人",
  19649. "type": "integer"
  19650. },
  19651. "customeraccountid": {
  19652. "description": "客户资金账户ID",
  19653. "type": "integer"
  19654. },
  19655. "customeruserid": {
  19656. "description": "客户ID",
  19657. "type": "integer"
  19658. },
  19659. "details": {
  19660. "description": "明细",
  19661. "type": "array",
  19662. "items": {
  19663. "$ref": "#/definitions/erms3.SoptContractDetail"
  19664. }
  19665. },
  19666. "orimargin": {
  19667. "description": "初始保证金",
  19668. "type": "number"
  19669. },
  19670. "remark": {
  19671. "description": "备注",
  19672. "type": "string"
  19673. },
  19674. "signdate": {
  19675. "description": "签订日期",
  19676. "type": "string"
  19677. }
  19678. }
  19679. },
  19680. "erms3.AddSpotContractApplyRsp": {
  19681. "type": "object",
  19682. "required": [
  19683. "contractno"
  19684. ],
  19685. "properties": {
  19686. "contractno": {
  19687. "description": "现货合同编号",
  19688. "type": "string"
  19689. },
  19690. "spotcontractid": {
  19691. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  19692. "type": "integer"
  19693. }
  19694. }
  19695. },
  19696. "erms3.AddUserInfoApplyReq": {
  19697. "type": "object",
  19698. "required": [
  19699. "userid"
  19700. ],
  19701. "properties": {
  19702. "accountid": {
  19703. "description": "交易系统帐号Id (加密存储)",
  19704. "type": "integer"
  19705. },
  19706. "areacode": {
  19707. "description": "机构代码",
  19708. "type": "string"
  19709. },
  19710. "areaid": {
  19711. "description": "机构Id",
  19712. "type": "integer"
  19713. },
  19714. "attachment1": {
  19715. "description": "附件1",
  19716. "type": "string"
  19717. },
  19718. "attachment2": {
  19719. "description": "附件2",
  19720. "type": "string"
  19721. },
  19722. "attachment3": {
  19723. "description": "附件3",
  19724. "type": "string"
  19725. },
  19726. "attachment4": {
  19727. "description": "附件4",
  19728. "type": "string"
  19729. },
  19730. "attachment5": {
  19731. "description": "附件5",
  19732. "type": "string"
  19733. },
  19734. "auditedby": {
  19735. "description": "审核人",
  19736. "type": "string"
  19737. },
  19738. "auditime": {
  19739. "description": "审核时间",
  19740. "type": "string"
  19741. },
  19742. "auditsrc": {
  19743. "description": "审核来源 - 1:管理端 2:终端",
  19744. "type": "integer"
  19745. },
  19746. "bankaccount": {
  19747. "description": "银行帐号 (加密存储)",
  19748. "type": "string"
  19749. },
  19750. "bankaccountname": {
  19751. "description": "收款人名称",
  19752. "type": "string"
  19753. },
  19754. "bankcardbackphotourl": {
  19755. "description": "银行卡背面照地址",
  19756. "type": "string"
  19757. },
  19758. "bankcardfrontphotourl": {
  19759. "description": "银行卡正面照地址",
  19760. "type": "string"
  19761. },
  19762. "bankid": {
  19763. "description": "银行编码",
  19764. "type": "string"
  19765. },
  19766. "bankname": {
  19767. "description": "银行名称",
  19768. "type": "string"
  19769. },
  19770. "bankpictureurl": {
  19771. "description": "银行卡正面地址",
  19772. "type": "string"
  19773. },
  19774. "biznature": {
  19775. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19776. "type": "integer"
  19777. },
  19778. "bizscope": {
  19779. "description": "企业经营范围(企业)",
  19780. "type": "string"
  19781. },
  19782. "biztype": {
  19783. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19784. "type": "integer"
  19785. },
  19786. "brokerid": {
  19787. "description": "经纪人ID(加密存储)",
  19788. "type": "string"
  19789. },
  19790. "cardaddress": {
  19791. "description": "证件地址 (加密存储)",
  19792. "type": "string"
  19793. },
  19794. "cardbackphotourl": {
  19795. "description": "背面证件照地址",
  19796. "type": "string"
  19797. },
  19798. "cardfrontphotourl": {
  19799. "description": "正面证件照地址",
  19800. "type": "string"
  19801. },
  19802. "cardnum": {
  19803. "description": "证件号码 (加密存储)",
  19804. "type": "string"
  19805. },
  19806. "cardtype": {
  19807. "description": "证件类型",
  19808. "type": "integer"
  19809. },
  19810. "cityid": {
  19811. "description": "市",
  19812. "type": "integer"
  19813. },
  19814. "company": {
  19815. "description": "公司(个人)",
  19816. "type": "string"
  19817. },
  19818. "contactcardbackphotourl": {
  19819. "description": "联系人证件背面图片地址",
  19820. "type": "string"
  19821. },
  19822. "contactcardfrontphotourl": {
  19823. "description": "联系人证件正面图片地址",
  19824. "type": "string"
  19825. },
  19826. "contactname": {
  19827. "description": "联系人",
  19828. "type": "string"
  19829. },
  19830. "countryid": {
  19831. "description": "国家",
  19832. "type": "integer"
  19833. },
  19834. "createtime": {
  19835. "description": "开户申请时间",
  19836. "type": "string"
  19837. },
  19838. "cusbankid": {
  19839. "description": "签约类型",
  19840. "type": "string"
  19841. },
  19842. "cusbankname": {
  19843. "description": "签约类型名称",
  19844. "type": "string"
  19845. },
  19846. "customername": {
  19847. "description": "客户名称(企业名称)",
  19848. "type": "string"
  19849. },
  19850. "districtid": {
  19851. "description": "地区",
  19852. "type": "integer"
  19853. },
  19854. "email": {
  19855. "description": "Email地址(加密存储)",
  19856. "type": "string"
  19857. },
  19858. "halfbodyphotourl": {
  19859. "description": "半身照地址",
  19860. "type": "string"
  19861. },
  19862. "headurl": {
  19863. "description": "头像地址",
  19864. "type": "string"
  19865. },
  19866. "ipaddress": {
  19867. "description": "IP地址",
  19868. "type": "string"
  19869. },
  19870. "isvalidate": {
  19871. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  19872. "type": "string"
  19873. },
  19874. "legalcardbackphotourl": {
  19875. "description": "法人身份证背面照地址",
  19876. "type": "string"
  19877. },
  19878. "legalcardfrontphotourl": {
  19879. "description": "法人身份证正面照地址",
  19880. "type": "string"
  19881. },
  19882. "legalpersonname": {
  19883. "description": "法人姓名(企业)",
  19884. "type": "string"
  19885. },
  19886. "logincode": {
  19887. "description": "登录帐号 (加密存储)",
  19888. "type": "string"
  19889. },
  19890. "memberareaid": {
  19891. "description": "所属会员ID",
  19892. "type": "integer"
  19893. },
  19894. "mobile2": {
  19895. "description": "手机号码[明文-尚志]",
  19896. "type": "string"
  19897. },
  19898. "mobilephone": {
  19899. "description": "手机号码 (加密存储)",
  19900. "type": "string"
  19901. },
  19902. "modifiedby": {
  19903. "description": "修改人帐号",
  19904. "type": "integer"
  19905. },
  19906. "modifiedtime": {
  19907. "description": "修改时间",
  19908. "type": "string"
  19909. },
  19910. "nickname": {
  19911. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  19912. "type": "string"
  19913. },
  19914. "openmode": {
  19915. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  19916. "type": "integer"
  19917. },
  19918. "otherurl": {
  19919. "description": "其它图片地址[使用分号分隔]",
  19920. "type": "string"
  19921. },
  19922. "postalcode": {
  19923. "description": "邮政编码",
  19924. "type": "string"
  19925. },
  19926. "provinceid": {
  19927. "description": "省",
  19928. "type": "integer"
  19929. },
  19930. "proxystatementurl": {
  19931. "description": "授权委托书",
  19932. "type": "string"
  19933. },
  19934. "qq": {
  19935. "description": "QQ(加密存储",
  19936. "type": "string"
  19937. },
  19938. "referral": {
  19939. "description": "推荐人编码",
  19940. "type": "string"
  19941. },
  19942. "remark": {
  19943. "description": "备注",
  19944. "type": "string"
  19945. },
  19946. "removebeforestatus": {
  19947. "description": "REMOVEBEFORESTATUS",
  19948. "type": "integer"
  19949. },
  19950. "sex": {
  19951. "description": "性别 - 0:女 1:男",
  19952. "type": "integer"
  19953. },
  19954. "signedstatus": {
  19955. "description": "账户一号签签约状态",
  19956. "type": "integer"
  19957. },
  19958. "signpdfurl": {
  19959. "description": "签约pdf文件",
  19960. "type": "string"
  19961. },
  19962. "subbranch": {
  19963. "description": "开户支行",
  19964. "type": "string"
  19965. },
  19966. "taxpayernum": {
  19967. "description": "纳税人识别号",
  19968. "type": "string"
  19969. },
  19970. "telphone": {
  19971. "description": "联系电话(加密存储)",
  19972. "type": "string"
  19973. },
  19974. "userid": {
  19975. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19976. "type": "integer"
  19977. },
  19978. "userinfotype": {
  19979. "description": "用户信息类型 - 1:个人 2:企业",
  19980. "type": "integer"
  19981. },
  19982. "username": {
  19983. "description": "用户姓名",
  19984. "type": "string"
  19985. },
  19986. "userstate": {
  19987. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19988. "type": "integer"
  19989. },
  19990. "usertype": {
  19991. "description": "用户类型 - 1:投资者 2:机构",
  19992. "type": "integer"
  19993. },
  19994. "videourl": {
  19995. "description": "视频地址",
  19996. "type": "string"
  19997. },
  19998. "wechat": {
  19999. "description": "微信号 (加密存储)",
  20000. "type": "string"
  20001. }
  20002. }
  20003. },
  20004. "erms3.CustomerInfo": {
  20005. "type": "object",
  20006. "required": [
  20007. "userid"
  20008. ],
  20009. "properties": {
  20010. "accountids": {
  20011. "description": "资金账户ID列表",
  20012. "type": "array",
  20013. "items": {
  20014. "type": "integer"
  20015. }
  20016. },
  20017. "customername": {
  20018. "description": "名称(企业名称)",
  20019. "type": "string"
  20020. },
  20021. "mobile": {
  20022. "description": "手机号码",
  20023. "type": "string"
  20024. },
  20025. "userid": {
  20026. "description": "用户ID",
  20027. "type": "integer"
  20028. }
  20029. }
  20030. },
  20031. "erms3.ModifyUserInfoApplyReq": {
  20032. "type": "object",
  20033. "required": [
  20034. "userid"
  20035. ],
  20036. "properties": {
  20037. "accountid": {
  20038. "description": "交易系统帐号Id (加密存储)",
  20039. "type": "integer"
  20040. },
  20041. "areacode": {
  20042. "description": "机构代码",
  20043. "type": "string"
  20044. },
  20045. "areaid": {
  20046. "description": "机构Id",
  20047. "type": "integer"
  20048. },
  20049. "attachment1": {
  20050. "description": "附件1",
  20051. "type": "string"
  20052. },
  20053. "attachment2": {
  20054. "description": "附件2",
  20055. "type": "string"
  20056. },
  20057. "attachment3": {
  20058. "description": "附件3",
  20059. "type": "string"
  20060. },
  20061. "attachment4": {
  20062. "description": "附件4",
  20063. "type": "string"
  20064. },
  20065. "attachment5": {
  20066. "description": "附件5",
  20067. "type": "string"
  20068. },
  20069. "auditedby": {
  20070. "description": "审核人",
  20071. "type": "string"
  20072. },
  20073. "auditime": {
  20074. "description": "审核时间",
  20075. "type": "string"
  20076. },
  20077. "auditsrc": {
  20078. "description": "审核来源 - 1:管理端 2:终端",
  20079. "type": "integer"
  20080. },
  20081. "bankaccount": {
  20082. "description": "银行帐号 (加密存储)",
  20083. "type": "string"
  20084. },
  20085. "bankaccountname": {
  20086. "description": "收款人名称",
  20087. "type": "string"
  20088. },
  20089. "bankcardbackphotourl": {
  20090. "description": "银行卡背面照地址",
  20091. "type": "string"
  20092. },
  20093. "bankcardfrontphotourl": {
  20094. "description": "银行卡正面照地址",
  20095. "type": "string"
  20096. },
  20097. "bankid": {
  20098. "description": "银行编码",
  20099. "type": "string"
  20100. },
  20101. "bankname": {
  20102. "description": "银行名称",
  20103. "type": "string"
  20104. },
  20105. "bankpictureurl": {
  20106. "description": "银行卡正面地址",
  20107. "type": "string"
  20108. },
  20109. "biznature": {
  20110. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20111. "type": "integer"
  20112. },
  20113. "bizscope": {
  20114. "description": "企业经营范围(企业)",
  20115. "type": "string"
  20116. },
  20117. "biztype": {
  20118. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20119. "type": "integer"
  20120. },
  20121. "brokerid": {
  20122. "description": "经纪人ID(加密存储)",
  20123. "type": "string"
  20124. },
  20125. "cardaddress": {
  20126. "description": "证件地址 (加密存储)",
  20127. "type": "string"
  20128. },
  20129. "cardbackphotourl": {
  20130. "description": "背面证件照地址",
  20131. "type": "string"
  20132. },
  20133. "cardfrontphotourl": {
  20134. "description": "正面证件照地址",
  20135. "type": "string"
  20136. },
  20137. "cardnum": {
  20138. "description": "证件号码 (加密存储)",
  20139. "type": "string"
  20140. },
  20141. "cardtype": {
  20142. "description": "证件类型",
  20143. "type": "integer"
  20144. },
  20145. "cityid": {
  20146. "description": "市",
  20147. "type": "integer"
  20148. },
  20149. "company": {
  20150. "description": "公司(个人)",
  20151. "type": "string"
  20152. },
  20153. "contactcardbackphotourl": {
  20154. "description": "联系人证件背面图片地址",
  20155. "type": "string"
  20156. },
  20157. "contactcardfrontphotourl": {
  20158. "description": "联系人证件正面图片地址",
  20159. "type": "string"
  20160. },
  20161. "contactname": {
  20162. "description": "联系人",
  20163. "type": "string"
  20164. },
  20165. "countryid": {
  20166. "description": "国家",
  20167. "type": "integer"
  20168. },
  20169. "createtime": {
  20170. "description": "开户申请时间",
  20171. "type": "string"
  20172. },
  20173. "cusbankid": {
  20174. "description": "签约类型",
  20175. "type": "string"
  20176. },
  20177. "cusbankname": {
  20178. "description": "签约类型名称",
  20179. "type": "string"
  20180. },
  20181. "customername": {
  20182. "description": "客户名称(企业名称)",
  20183. "type": "string"
  20184. },
  20185. "districtid": {
  20186. "description": "地区",
  20187. "type": "integer"
  20188. },
  20189. "email": {
  20190. "description": "Email地址(加密存储)",
  20191. "type": "string"
  20192. },
  20193. "halfbodyphotourl": {
  20194. "description": "半身照地址",
  20195. "type": "string"
  20196. },
  20197. "headurl": {
  20198. "description": "头像地址",
  20199. "type": "string"
  20200. },
  20201. "ipaddress": {
  20202. "description": "IP地址",
  20203. "type": "string"
  20204. },
  20205. "isvalidate": {
  20206. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20207. "type": "string"
  20208. },
  20209. "legalcardbackphotourl": {
  20210. "description": "法人身份证背面照地址",
  20211. "type": "string"
  20212. },
  20213. "legalcardfrontphotourl": {
  20214. "description": "法人身份证正面照地址",
  20215. "type": "string"
  20216. },
  20217. "legalpersonname": {
  20218. "description": "法人姓名(企业)",
  20219. "type": "string"
  20220. },
  20221. "logincode": {
  20222. "description": "登录帐号 (加密存储)",
  20223. "type": "string"
  20224. },
  20225. "memberareaid": {
  20226. "description": "所属会员ID",
  20227. "type": "integer"
  20228. },
  20229. "mobile2": {
  20230. "description": "手机号码[明文-尚志]",
  20231. "type": "string"
  20232. },
  20233. "mobilephone": {
  20234. "description": "手机号码 (加密存储)",
  20235. "type": "string"
  20236. },
  20237. "modifiedby": {
  20238. "description": "修改人帐号",
  20239. "type": "integer"
  20240. },
  20241. "modifiedtime": {
  20242. "description": "修改时间",
  20243. "type": "string"
  20244. },
  20245. "nickname": {
  20246. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20247. "type": "string"
  20248. },
  20249. "openmode": {
  20250. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20251. "type": "integer"
  20252. },
  20253. "otherurl": {
  20254. "description": "其它图片地址[使用分号分隔]",
  20255. "type": "string"
  20256. },
  20257. "postalcode": {
  20258. "description": "邮政编码",
  20259. "type": "string"
  20260. },
  20261. "provinceid": {
  20262. "description": "省",
  20263. "type": "integer"
  20264. },
  20265. "proxystatementurl": {
  20266. "description": "授权委托书",
  20267. "type": "string"
  20268. },
  20269. "qq": {
  20270. "description": "QQ(加密存储",
  20271. "type": "string"
  20272. },
  20273. "referral": {
  20274. "description": "推荐人编码",
  20275. "type": "string"
  20276. },
  20277. "remark": {
  20278. "description": "备注",
  20279. "type": "string"
  20280. },
  20281. "removebeforestatus": {
  20282. "description": "REMOVEBEFORESTATUS",
  20283. "type": "integer"
  20284. },
  20285. "sex": {
  20286. "description": "性别 - 0:女 1:男",
  20287. "type": "integer"
  20288. },
  20289. "signedstatus": {
  20290. "description": "账户一号签签约状态",
  20291. "type": "integer"
  20292. },
  20293. "signpdfurl": {
  20294. "description": "签约pdf文件",
  20295. "type": "string"
  20296. },
  20297. "subbranch": {
  20298. "description": "开户支行",
  20299. "type": "string"
  20300. },
  20301. "taxpayernum": {
  20302. "description": "纳税人识别号",
  20303. "type": "string"
  20304. },
  20305. "telphone": {
  20306. "description": "联系电话(加密存储)",
  20307. "type": "string"
  20308. },
  20309. "userid": {
  20310. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20311. "type": "integer"
  20312. },
  20313. "userinfotype": {
  20314. "description": "用户信息类型 - 1:个人 2:企业",
  20315. "type": "integer"
  20316. },
  20317. "username": {
  20318. "description": "用户姓名",
  20319. "type": "string"
  20320. },
  20321. "userstate": {
  20322. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20323. "type": "integer"
  20324. },
  20325. "usertype": {
  20326. "description": "用户类型 - 1:投资者 2:机构",
  20327. "type": "integer"
  20328. },
  20329. "videourl": {
  20330. "description": "视频地址",
  20331. "type": "string"
  20332. },
  20333. "wechat": {
  20334. "description": "微信号 (加密存储)",
  20335. "type": "string"
  20336. }
  20337. }
  20338. },
  20339. "erms3.QryAuditContractRsp": {
  20340. "type": "object",
  20341. "required": [
  20342. "matchcustomername",
  20343. "spotcontractid"
  20344. ],
  20345. "properties": {
  20346. "accountid": {
  20347. "description": "交易员ID",
  20348. "type": "string"
  20349. },
  20350. "applystatus": {
  20351. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20352. "type": "integer"
  20353. },
  20354. "curdeliveryqty": {
  20355. "description": "未交收量",
  20356. "type": "integer"
  20357. },
  20358. "customername": {
  20359. "description": "采购方ID",
  20360. "type": "string"
  20361. },
  20362. "deliverygoodsid": {
  20363. "description": "品种ID",
  20364. "type": "string"
  20365. },
  20366. "deliveryqty": {
  20367. "description": "交收量",
  20368. "type": "integer"
  20369. },
  20370. "enumdicname": {
  20371. "description": "单位名称",
  20372. "type": "string"
  20373. },
  20374. "matchaccountid": {
  20375. "description": "业务员ID",
  20376. "type": "string"
  20377. },
  20378. "matchcustomername": {
  20379. "description": "销售方ID",
  20380. "type": "string"
  20381. },
  20382. "pricedqty": {
  20383. "description": "定价量",
  20384. "type": "number"
  20385. },
  20386. "signdate": {
  20387. "description": "签订日期",
  20388. "type": "string"
  20389. },
  20390. "spotcontractid": {
  20391. "description": "合同ID",
  20392. "type": "string"
  20393. },
  20394. "totaldqty": {
  20395. "description": "合同量",
  20396. "type": "number"
  20397. },
  20398. "unpricedqty": {
  20399. "description": "未定价量",
  20400. "type": "number"
  20401. },
  20402. "wrstandardname": {
  20403. "description": "商品名称",
  20404. "type": "string"
  20405. }
  20406. }
  20407. },
  20408. "erms3.QryPendingBizRsp": {
  20409. "type": "object",
  20410. "properties": {
  20411. "accountid": {
  20412. "description": "现货账户",
  20413. "type": "string"
  20414. },
  20415. "areaname": {
  20416. "description": "所属部门",
  20417. "type": "string"
  20418. },
  20419. "bizid": {
  20420. "description": "业务ID",
  20421. "type": "string"
  20422. },
  20423. "bizname": {
  20424. "description": "业务名称",
  20425. "type": "string"
  20426. },
  20427. "status": {
  20428. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20429. "type": "integer"
  20430. },
  20431. "type": {
  20432. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20433. "type": "integer"
  20434. }
  20435. }
  20436. },
  20437. "erms3.QueryBusinessInfoRsp": {
  20438. "type": "object",
  20439. "properties": {
  20440. "businessid": {
  20441. "description": "业务ID.",
  20442. "type": "integer"
  20443. },
  20444. "buyamount": {
  20445. "description": "采购额.",
  20446. "type": "number"
  20447. },
  20448. "buyqty": {
  20449. "description": "采购量.",
  20450. "type": "string"
  20451. },
  20452. "futurepl": {
  20453. "description": "期货盈亏.",
  20454. "type": "number"
  20455. },
  20456. "futureqty": {
  20457. "description": "期货敞口.",
  20458. "type": "string"
  20459. },
  20460. "goodsid": {
  20461. "description": "商品名称/商品代码.",
  20462. "type": "string"
  20463. },
  20464. "hedgingqty": {
  20465. "description": "套保量.",
  20466. "type": "string"
  20467. },
  20468. "sellamount": {
  20469. "description": "销售额.",
  20470. "type": "number"
  20471. },
  20472. "sellqty": {
  20473. "description": "销售量.",
  20474. "type": "string"
  20475. },
  20476. "spotmarketvalue": {
  20477. "description": "现货市值.",
  20478. "type": "number"
  20479. },
  20480. "spotpl": {
  20481. "description": "浮动权益.",
  20482. "type": "number"
  20483. },
  20484. "spotqty": {
  20485. "description": "现货量.",
  20486. "type": "string"
  20487. },
  20488. "statu": {
  20489. "description": "状态,0-未结束 1-已结束.",
  20490. "type": "integer"
  20491. },
  20492. "totalpl": {
  20493. "description": "总盈亏.",
  20494. "type": "number"
  20495. },
  20496. "totalqty": {
  20497. "description": "总敞口.",
  20498. "type": "string"
  20499. },
  20500. "type": {
  20501. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  20502. "type": "integer"
  20503. }
  20504. }
  20505. },
  20506. "erms3.QuerySpotContractAppleFormRsp": {
  20507. "type": "object",
  20508. "properties": {
  20509. "goodses": {
  20510. "description": "合约列表",
  20511. "type": "array",
  20512. "items": {
  20513. "$ref": "#/definitions/models.GoodsIDAndName"
  20514. }
  20515. },
  20516. "oppositeusers": {
  20517. "description": "对方账号列表",
  20518. "type": "array",
  20519. "items": {
  20520. "$ref": "#/definitions/erms3.CustomerInfo"
  20521. }
  20522. },
  20523. "ouruser": {
  20524. "description": "我方账号",
  20525. "$ref": "#/definitions/erms3.CustomerInfo"
  20526. },
  20527. "warehouseinfos": {
  20528. "description": "仓库信息列表",
  20529. "type": "array",
  20530. "items": {
  20531. "$ref": "#/definitions/models.Warehouseinfo"
  20532. }
  20533. },
  20534. "wrstandards": {
  20535. "description": "仓单标准列表",
  20536. "type": "array",
  20537. "items": {
  20538. "$ref": "#/definitions/models.WRStandardInfo"
  20539. }
  20540. }
  20541. }
  20542. },
  20543. "erms3.QuerySpotContractInfoRsp": {
  20544. "type": "object",
  20545. "properties": {
  20546. "accountid": {
  20547. "description": "表示交易员ID.",
  20548. "type": "integer"
  20549. },
  20550. "curdeliveryqty": {
  20551. "description": "表示未交收量.",
  20552. "type": "number"
  20553. },
  20554. "customername": {
  20555. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  20556. "type": "string"
  20557. },
  20558. "deliverygoodsid": {
  20559. "description": "表示品种ID.",
  20560. "type": "string"
  20561. },
  20562. "deliveryqty": {
  20563. "description": "表示交收量.",
  20564. "type": "number"
  20565. },
  20566. "matchaccountid": {
  20567. "description": "表示业务员ID.",
  20568. "type": "integer"
  20569. },
  20570. "matchcustomername": {
  20571. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  20572. "type": "string"
  20573. },
  20574. "priceqty": {
  20575. "description": "表示定价量.",
  20576. "type": "number"
  20577. },
  20578. "relatedbizid": {
  20579. "description": "表示业务ID.",
  20580. "type": "string"
  20581. },
  20582. "signdate": {
  20583. "description": "表示签订日期.",
  20584. "type": "string"
  20585. },
  20586. "spotcontractid": {
  20587. "description": "合同ID",
  20588. "type": "string"
  20589. },
  20590. "status": {
  20591. "description": "表示状态,0-履约中 1-已完成.",
  20592. "type": "integer"
  20593. },
  20594. "totalqty": {
  20595. "description": "表示合同量.",
  20596. "type": "number"
  20597. },
  20598. "unpricedqty": {
  20599. "description": "表示未定价量.",
  20600. "type": "number"
  20601. },
  20602. "wrstandardname": {
  20603. "description": "表示商品ID.",
  20604. "type": "string"
  20605. }
  20606. }
  20607. },
  20608. "erms3.QueryUserInfoAppliesRsp": {
  20609. "type": "object",
  20610. "required": [
  20611. "userid"
  20612. ],
  20613. "properties": {
  20614. "biznature": {
  20615. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20616. "type": "integer"
  20617. },
  20618. "contactname": {
  20619. "description": "联系人",
  20620. "type": "string"
  20621. },
  20622. "createtime": {
  20623. "description": "开户申请时间",
  20624. "type": "string"
  20625. },
  20626. "userid": {
  20627. "description": "用户ID(自增ID)",
  20628. "type": "integer"
  20629. },
  20630. "userinfotype": {
  20631. "description": "用户信息类型 - 1:个人 2:企业",
  20632. "type": "integer"
  20633. },
  20634. "username": {
  20635. "description": "用户姓名",
  20636. "type": "string"
  20637. },
  20638. "userstate": {
  20639. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20640. "type": "integer"
  20641. }
  20642. }
  20643. },
  20644. "erms3.QueryUserInfosRsp": {
  20645. "type": "object",
  20646. "required": [
  20647. "userid"
  20648. ],
  20649. "properties": {
  20650. "biznature": {
  20651. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20652. "type": "integer"
  20653. },
  20654. "contactname": {
  20655. "description": "联系人",
  20656. "type": "string"
  20657. },
  20658. "customername": {
  20659. "description": "客户名称(企业名称)",
  20660. "type": "string"
  20661. },
  20662. "userid": {
  20663. "description": "用户ID",
  20664. "type": "integer"
  20665. },
  20666. "userinfotype": {
  20667. "description": "用户信息类型 - 1:个人 2:企业",
  20668. "type": "integer"
  20669. },
  20670. "userstatus": {
  20671. "description": "用户状态 - 1:正常 2:注销",
  20672. "type": "integer"
  20673. }
  20674. }
  20675. },
  20676. "erms3.SoptContractDetail": {
  20677. "type": "object",
  20678. "required": [
  20679. "deliverygoodsid",
  20680. "producttype",
  20681. "unitname",
  20682. "warehouseid",
  20683. "wrstandardid",
  20684. "wrstandardname"
  20685. ],
  20686. "properties": {
  20687. "deliverygoodsdesc": {
  20688. "description": "现货品种说明",
  20689. "type": "string"
  20690. },
  20691. "deliverygoodsid": {
  20692. "description": "现货品种ID",
  20693. "type": "integer"
  20694. },
  20695. "deliverygoodsname": {
  20696. "description": "现货品种名称",
  20697. "type": "string"
  20698. },
  20699. "pointdesc": {
  20700. "description": "点价描述",
  20701. "type": "string"
  20702. },
  20703. "producttype": {
  20704. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20705. "type": "integer"
  20706. },
  20707. "producttypename": {
  20708. "description": "产品类型名称",
  20709. "type": "string"
  20710. },
  20711. "spotPointOrderVoList": {
  20712. "description": "点价列表",
  20713. "type": "array",
  20714. "items": {
  20715. "$ref": "#/definitions/erms3.SpotPointOrder"
  20716. }
  20717. },
  20718. "spotPriceOrderList": {
  20719. "description": "定价列表",
  20720. "type": "array",
  20721. "items": {
  20722. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20723. }
  20724. },
  20725. "unitname": {
  20726. "description": "单位名称",
  20727. "type": "string"
  20728. },
  20729. "warehouseid": {
  20730. "description": "仓库ID",
  20731. "type": "integer"
  20732. },
  20733. "warehousename": {
  20734. "description": "仓库名称",
  20735. "type": "string"
  20736. },
  20737. "wrstandardid": {
  20738. "description": "交易标的ID",
  20739. "type": "integer"
  20740. },
  20741. "wrstandardname": {
  20742. "description": "交易标的名称",
  20743. "type": "string"
  20744. }
  20745. }
  20746. },
  20747. "erms3.SpotPointOrder": {
  20748. "type": "object",
  20749. "required": [
  20750. "basic",
  20751. "goodsid",
  20752. "qty"
  20753. ],
  20754. "properties": {
  20755. "basic": {
  20756. "description": "基差",
  20757. "type": "number"
  20758. },
  20759. "deliveryenddate": {
  20760. "description": "交收结束日期",
  20761. "type": "string"
  20762. },
  20763. "deliverystartdate": {
  20764. "description": "交收开始日期",
  20765. "type": "string"
  20766. },
  20767. "enddate": {
  20768. "description": "点价结束日期",
  20769. "type": "string"
  20770. },
  20771. "goodsid": {
  20772. "description": "商品ID",
  20773. "type": "integer"
  20774. },
  20775. "goodsname": {
  20776. "description": "商品名称",
  20777. "type": "string"
  20778. },
  20779. "qty": {
  20780. "description": "数量",
  20781. "type": "number"
  20782. },
  20783. "startdate": {
  20784. "description": "点价开始日期",
  20785. "type": "string"
  20786. }
  20787. }
  20788. },
  20789. "erms3.SpotPriceOrder": {
  20790. "type": "object",
  20791. "required": [
  20792. "amount",
  20793. "price",
  20794. "qty"
  20795. ],
  20796. "properties": {
  20797. "amount": {
  20798. "description": "金额",
  20799. "type": "number"
  20800. },
  20801. "deliveryenddate": {
  20802. "description": "交收结束日期",
  20803. "type": "string"
  20804. },
  20805. "deliverystartdate": {
  20806. "description": "交收开始日期",
  20807. "type": "string"
  20808. },
  20809. "price": {
  20810. "description": "价格",
  20811. "type": "number"
  20812. },
  20813. "qty": {
  20814. "description": "数量",
  20815. "type": "number"
  20816. }
  20817. }
  20818. },
  20819. "hsby.GetHsbyMyCountRsp": {
  20820. "type": "object",
  20821. "properties": {
  20822. "myCouponCount": {
  20823. "description": "我的优惠卷数量",
  20824. "type": "integer"
  20825. },
  20826. "myOrderDetailListingCount": {
  20827. "description": "我的订单求购中数量",
  20828. "type": "integer"
  20829. },
  20830. "myOrderDetailPreCount": {
  20831. "description": "我的订单抢购中数量",
  20832. "type": "integer"
  20833. },
  20834. "myPackageUnReceiveCount": {
  20835. "description": "我的包裹待收货数量",
  20836. "type": "integer"
  20837. },
  20838. "myPackageUnSendCount": {
  20839. "description": "我的包裹待发货数量",
  20840. "type": "integer"
  20841. },
  20842. "myPayOrderCount": {
  20843. "description": "我的订单待付款数量",
  20844. "type": "integer"
  20845. }
  20846. }
  20847. },
  20848. "hsby.QueryProvincesAndCitiesRsp": {
  20849. "type": "object",
  20850. "properties": {
  20851. "cities": {
  20852. "description": "市",
  20853. "type": "array",
  20854. "items": {
  20855. "$ref": "#/definitions/models.Division"
  20856. }
  20857. },
  20858. "province": {
  20859. "description": "省",
  20860. "$ref": "#/definitions/models.Division"
  20861. }
  20862. }
  20863. },
  20864. "models.Arearole": {
  20865. "type": "object",
  20866. "required": [
  20867. "roletype",
  20868. "userid"
  20869. ],
  20870. "properties": {
  20871. "createtime": {
  20872. "description": "创建时间",
  20873. "type": "string"
  20874. },
  20875. "creatorid": {
  20876. "description": "创建人ID",
  20877. "type": "integer"
  20878. },
  20879. "fromuserid": {
  20880. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20881. "type": "integer"
  20882. },
  20883. "isreturnscore": {
  20884. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  20885. "type": "integer"
  20886. },
  20887. "modifierid": {
  20888. "description": "修改人ID",
  20889. "type": "integer"
  20890. },
  20891. "modifytime": {
  20892. "description": "修改时间",
  20893. "type": "string"
  20894. },
  20895. "orgtype": {
  20896. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  20897. "type": "integer"
  20898. },
  20899. "outuserid": {
  20900. "description": "外部账户[场外期权做市商]",
  20901. "type": "string"
  20902. },
  20903. "parentuserid": {
  20904. "description": "上级组织机构(组织机构)",
  20905. "type": "integer"
  20906. },
  20907. "roletype": {
  20908. "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:门店",
  20909. "type": "integer"
  20910. },
  20911. "rootuserid": {
  20912. "description": "顶级组织机构用户ID(组织机构)",
  20913. "type": "integer"
  20914. },
  20915. "shoppassword": {
  20916. "description": "商城店铺登陆密码(商城店铺角色使用)",
  20917. "type": "string"
  20918. },
  20919. "sublevelpath": {
  20920. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  20921. "type": "string"
  20922. },
  20923. "suborgtype": {
  20924. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  20925. "type": "integer"
  20926. },
  20927. "tradeaccountid": {
  20928. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  20929. "type": "integer"
  20930. },
  20931. "transurl": {
  20932. "description": "物流地址(物流机构)",
  20933. "type": "string"
  20934. },
  20935. "userid": {
  20936. "description": "机构用户ID其他做市关系,都设置为 1",
  20937. "type": "integer"
  20938. }
  20939. }
  20940. },
  20941. "models.Clientfixedadconfig": {
  20942. "type": "object",
  20943. "required": [
  20944. "adsort",
  20945. "adtype"
  20946. ],
  20947. "properties": {
  20948. "adsort": {
  20949. "description": "排序",
  20950. "type": "integer"
  20951. },
  20952. "adtype": {
  20953. "description": "广告位类型 - 1:新品抢购(HSBY)",
  20954. "type": "integer"
  20955. },
  20956. "areauserid": {
  20957. "description": "所属机构ID",
  20958. "type": "integer"
  20959. },
  20960. "createdate": {
  20961. "description": "创建时间",
  20962. "type": "string"
  20963. },
  20964. "creatorid": {
  20965. "description": "创建人",
  20966. "type": "integer"
  20967. },
  20968. "imagepath": {
  20969. "description": "图片",
  20970. "type": "string"
  20971. },
  20972. "isshow": {
  20973. "description": "是否展示 - 0:不展示 1:展示",
  20974. "type": "integer"
  20975. },
  20976. "modifierid": {
  20977. "description": "操作人",
  20978. "type": "integer"
  20979. },
  20980. "recsize": {
  20981. "description": "推荐尺寸",
  20982. "type": "string"
  20983. },
  20984. "title": {
  20985. "description": "标题",
  20986. "type": "string"
  20987. },
  20988. "updatedate": {
  20989. "description": "更新时间",
  20990. "type": "string"
  20991. },
  20992. "urlcontent": {
  20993. "description": "链接(地址或商品ID)",
  20994. "type": "string"
  20995. },
  20996. "urltype": {
  20997. "description": "链接类型 - 1:直接地址 2:商品ID",
  20998. "type": "integer"
  20999. }
  21000. }
  21001. },
  21002. "models.DgFactoryItem": {
  21003. "type": "object",
  21004. "properties": {
  21005. "dgfactoryitemid": {
  21006. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  21007. "type": "integer"
  21008. },
  21009. "dgfactoryitemtypeid": {
  21010. "description": "要素项类型",
  21011. "type": "integer"
  21012. },
  21013. "dgfactoryitemvalue": {
  21014. "description": "要素项值(类型为仓库时填写仓库名称)",
  21015. "type": "string"
  21016. },
  21017. "orderindex": {
  21018. "description": "顺序",
  21019. "type": "integer"
  21020. }
  21021. }
  21022. },
  21023. "models.Division": {
  21024. "type": "object",
  21025. "required": [
  21026. "autoid",
  21027. "divisioncode"
  21028. ],
  21029. "properties": {
  21030. "autoid": {
  21031. "description": "自增ID",
  21032. "type": "integer"
  21033. },
  21034. "divisioncode": {
  21035. "description": "行政代码",
  21036. "type": "string"
  21037. },
  21038. "divisionlevel": {
  21039. "description": "行政级别",
  21040. "type": "string"
  21041. },
  21042. "divisionname": {
  21043. "description": "行政名称",
  21044. "type": "string"
  21045. },
  21046. "modifierid": {
  21047. "description": "修改人",
  21048. "type": "integer"
  21049. },
  21050. "modifytime": {
  21051. "description": "修改时间",
  21052. "type": "string"
  21053. },
  21054. "parentcode": {
  21055. "description": "上级行政代码",
  21056. "type": "string"
  21057. },
  21058. "pathname": {
  21059. "description": "路径名称",
  21060. "type": "string"
  21061. },
  21062. "postcode": {
  21063. "description": "邮政编码",
  21064. "type": "string"
  21065. },
  21066. "separablename": {
  21067. "description": "可拆分的全称",
  21068. "type": "string"
  21069. },
  21070. "shortcode": {
  21071. "description": "地区简码",
  21072. "type": "string"
  21073. }
  21074. }
  21075. },
  21076. "models.Enumdicitem": {
  21077. "type": "object",
  21078. "required": [
  21079. "autoid",
  21080. "enumdiccode",
  21081. "enumdicid",
  21082. "enumitemname"
  21083. ],
  21084. "properties": {
  21085. "autoid": {
  21086. "description": "自增ID",
  21087. "type": "integer"
  21088. },
  21089. "bankmappedvalue": {
  21090. "description": "银行服务对应值",
  21091. "type": "string"
  21092. },
  21093. "enumdiccode": {
  21094. "description": "所属枚举代码",
  21095. "type": "string"
  21096. },
  21097. "enumdicid": {
  21098. "description": "所属枚举ID",
  21099. "type": "integer"
  21100. },
  21101. "enumdicname": {
  21102. "description": "枚举项名称",
  21103. "type": "string"
  21104. },
  21105. "enumitemname": {
  21106. "description": "枚举项值",
  21107. "type": "integer"
  21108. },
  21109. "enumitemstatus": {
  21110. "description": "枚举项状态 - 1.启用 2.不启用",
  21111. "type": "integer"
  21112. },
  21113. "enumitemvalue": {
  21114. "description": "通用值 - [币种通用简写]",
  21115. "type": "string"
  21116. },
  21117. "param1": {
  21118. "description": "参数1[币种:币种小数位]",
  21119. "type": "string"
  21120. },
  21121. "param2": {
  21122. "description": "参数1[币种:币种显示单位]",
  21123. "type": "string"
  21124. },
  21125. "remark": {
  21126. "description": "备注",
  21127. "type": "string"
  21128. }
  21129. }
  21130. },
  21131. "models.Ermcp2AreaExposure": {
  21132. "type": "object",
  21133. "properties": {
  21134. "areauserid": {
  21135. "description": "所属机构",
  21136. "type": "integer"
  21137. },
  21138. "enumdicname": {
  21139. "description": "单位",
  21140. "type": "string"
  21141. },
  21142. "futureqty": {
  21143. "description": "期货套期量",
  21144. "type": "number"
  21145. },
  21146. "futureqtychange": {
  21147. "description": "期货变动量 = FutureQty - OriFutureQty",
  21148. "type": "number"
  21149. },
  21150. "goodsunitid": {
  21151. "description": "单位ID",
  21152. "type": "integer"
  21153. },
  21154. "hedgedspotexposure": {
  21155. "description": "被套期现货敞口量",
  21156. "type": "number"
  21157. },
  21158. "hedgedspratio": {
  21159. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21160. "type": "number"
  21161. },
  21162. "hedgedtotalexposourechange": {
  21163. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21164. "type": "number"
  21165. },
  21166. "hedgedtotalexposure": {
  21167. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21168. "type": "number"
  21169. },
  21170. "hedgeplanqty": {
  21171. "description": "套期计划量",
  21172. "type": "number"
  21173. },
  21174. "hedgeplanqtychange": {
  21175. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21176. "type": "number"
  21177. },
  21178. "hedgespotqty": {
  21179. "description": "被套期现货量",
  21180. "type": "number"
  21181. },
  21182. "middlegoodsid": {
  21183. "description": "套保品种",
  21184. "type": "integer"
  21185. },
  21186. "middlegoodsname": {
  21187. "description": "套保品种名称",
  21188. "type": "string"
  21189. },
  21190. "orifutureqty": {
  21191. "description": "期初期货套期量",
  21192. "type": "number"
  21193. },
  21194. "orihedgedspotexposure": {
  21195. "description": "期初被套期现货敞口量",
  21196. "type": "number"
  21197. },
  21198. "orihedgedtotalexposure": {
  21199. "description": "期初套期敞口量",
  21200. "type": "number"
  21201. },
  21202. "orihedgeplanqty": {
  21203. "description": "期初套期计划量",
  21204. "type": "number"
  21205. },
  21206. "orihedgespotqty": {
  21207. "description": "期初被套期现货量",
  21208. "type": "number"
  21209. },
  21210. "orispotexposure": {
  21211. "description": "期初现货敞口量",
  21212. "type": "number"
  21213. },
  21214. "orispotqty": {
  21215. "description": "期初现货总量",
  21216. "type": "number"
  21217. },
  21218. "oritotalexposure": {
  21219. "description": "期初总敞口量",
  21220. "type": "number"
  21221. },
  21222. "spotexposure": {
  21223. "description": "现货敞口量",
  21224. "type": "number"
  21225. },
  21226. "spotqty": {
  21227. "description": "现货总量",
  21228. "type": "number"
  21229. },
  21230. "spotqtychange": {
  21231. "description": "现货变动量 = SpotQty - OriSpotQty",
  21232. "type": "number"
  21233. },
  21234. "spratio": {
  21235. "description": "总期现比例 = 期货套期量/现货敞口量",
  21236. "type": "number"
  21237. },
  21238. "totalexposure": {
  21239. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  21240. "type": "number"
  21241. },
  21242. "totalexposurechange": {
  21243. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  21244. "type": "number"
  21245. },
  21246. "updatetime": {
  21247. "description": "更新时间 --DATE",
  21248. "type": "string"
  21249. }
  21250. }
  21251. },
  21252. "models.Ermcp2hedgeditem": {
  21253. "type": "object",
  21254. "properties": {
  21255. "accountname": {
  21256. "description": "套期主体",
  21257. "type": "string"
  21258. },
  21259. "applyid": {
  21260. "description": "申请人",
  21261. "type": "integer"
  21262. },
  21263. "applysrc": {
  21264. "description": "申请来源 - 1:管理端 2:终端",
  21265. "type": "integer"
  21266. },
  21267. "areauserid": {
  21268. "description": "企业ID",
  21269. "type": "integer"
  21270. },
  21271. "auditid": {
  21272. "description": "审核人",
  21273. "type": "integer"
  21274. },
  21275. "auditremark": {
  21276. "description": "审核备注",
  21277. "type": "string"
  21278. },
  21279. "auditsrc": {
  21280. "description": "审核来源 - 1:管理端 2:终端",
  21281. "type": "integer"
  21282. },
  21283. "audittime": {
  21284. "description": "审核时间",
  21285. "type": "string"
  21286. },
  21287. "audittradedate": {
  21288. "description": "审核交易日(yyyyMMdd)",
  21289. "type": "string"
  21290. },
  21291. "createtime": {
  21292. "description": "申请时间",
  21293. "type": "string"
  21294. },
  21295. "curprice": {
  21296. "description": "当前市场价",
  21297. "type": "number"
  21298. },
  21299. "curstock": {
  21300. "description": "期末库存量 = 采购总量 - 销售总量",
  21301. "type": "number"
  21302. },
  21303. "deliverygoodsid": {
  21304. "description": "现货品种ID",
  21305. "type": "integer"
  21306. },
  21307. "enddate": {
  21308. "description": "完成日期",
  21309. "type": "string"
  21310. },
  21311. "endtradedate": {
  21312. "description": "完成交易日",
  21313. "type": "string"
  21314. },
  21315. "enumdicname": {
  21316. "description": "单位",
  21317. "type": "string"
  21318. },
  21319. "exeamount": {
  21320. "description": "执行市价总额",
  21321. "type": "number"
  21322. },
  21323. "exeavgprice": {
  21324. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  21325. "type": "number"
  21326. },
  21327. "execontractamount": {
  21328. "description": "执行定价总额",
  21329. "type": "number"
  21330. },
  21331. "exeqty": {
  21332. "description": "执行现货量",
  21333. "type": "number"
  21334. },
  21335. "exerestamount": {
  21336. "description": "执行剩余市价总额【现货贸易】",
  21337. "type": "number"
  21338. },
  21339. "futurefloatpl": {
  21340. "description": "期货浮动损益",
  21341. "type": "number"
  21342. },
  21343. "futurehedgepl": {
  21344. "description": "期货实际损益",
  21345. "type": "number"
  21346. },
  21347. "futurehedgeplchange": {
  21348. "description": "期货实际损益变动",
  21349. "type": "number"
  21350. },
  21351. "futurepl": {
  21352. "description": "期货套期损益",
  21353. "type": "number"
  21354. },
  21355. "futureplchange": {
  21356. "description": "期货套期损益变动",
  21357. "type": "number"
  21358. },
  21359. "hedgeamount": {
  21360. "description": "套期市价总额",
  21361. "type": "number"
  21362. },
  21363. "hedgecontractamount": {
  21364. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  21365. "type": "number"
  21366. },
  21367. "hedgeditemid": {
  21368. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21369. "type": "string"
  21370. },
  21371. "hedgeditemname": {
  21372. "description": "项目名称",
  21373. "type": "string"
  21374. },
  21375. "hedgeditemnum": {
  21376. "description": "项目编号",
  21377. "type": "string"
  21378. },
  21379. "hedgeditemstatus": {
  21380. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21381. "type": "integer"
  21382. },
  21383. "hedgedtype": {
  21384. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21385. "type": "integer"
  21386. },
  21387. "hedgeqty": {
  21388. "description": "套期现货量",
  21389. "type": "number"
  21390. },
  21391. "hedgerate": {
  21392. "description": "套保比率",
  21393. "type": "number"
  21394. },
  21395. "hedgerestamount": {
  21396. "description": "套期剩余市价总额【现货贸易】",
  21397. "type": "number"
  21398. },
  21399. "hedgesumpl": {
  21400. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  21401. "type": "number"
  21402. },
  21403. "middlegoodslist": {
  21404. "description": "套期商品列表",
  21405. "type": "array",
  21406. "items": {
  21407. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  21408. }
  21409. },
  21410. "oriavgprice": {
  21411. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  21412. "type": "number"
  21413. },
  21414. "orifuturehedgepl": {
  21415. "description": "期初期货实际损益",
  21416. "type": "number"
  21417. },
  21418. "orifuturepl": {
  21419. "description": "期初期货套期损益",
  21420. "type": "number"
  21421. },
  21422. "orispothedgepl": {
  21423. "description": "期初现货实际损益",
  21424. "type": "number"
  21425. },
  21426. "orispotpl": {
  21427. "description": "期初现货套期损益",
  21428. "type": "number"
  21429. },
  21430. "planenddate": {
  21431. "description": "计划结束日期",
  21432. "type": "string"
  21433. },
  21434. "planstartdate": {
  21435. "description": "计划开始日期",
  21436. "type": "string"
  21437. },
  21438. "remark": {
  21439. "description": "备注",
  21440. "type": "string"
  21441. },
  21442. "spotbookamount": {
  21443. "description": "现货账面总额",
  21444. "type": "number"
  21445. },
  21446. "spotfloatpl": {
  21447. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21448. "type": "number"
  21449. },
  21450. "spothedgepl": {
  21451. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21452. "type": "number"
  21453. },
  21454. "spothedgeplchange": {
  21455. "description": "现货实际损益变动",
  21456. "type": "number"
  21457. },
  21458. "spotpl": {
  21459. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  21460. "type": "number"
  21461. },
  21462. "spotplchange": {
  21463. "description": "现货套期损益变动",
  21464. "type": "number"
  21465. },
  21466. "spottradepl": {
  21467. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  21468. "type": "number"
  21469. },
  21470. "sumobspl": {
  21471. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  21472. "type": "number"
  21473. },
  21474. "tradeuserid": {
  21475. "description": "交易用户ID",
  21476. "type": "integer"
  21477. },
  21478. "unexeqty": {
  21479. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21480. "type": "number"
  21481. },
  21482. "updatetime": {
  21483. "description": "更新时间",
  21484. "type": "string"
  21485. },
  21486. "vatpl": {
  21487. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  21488. "type": "number"
  21489. },
  21490. "vatrate": {
  21491. "description": "增值税",
  21492. "type": "number"
  21493. },
  21494. "wrstandardid": {
  21495. "description": "现货商品ID",
  21496. "type": "integer"
  21497. },
  21498. "wrstandardname": {
  21499. "description": "商品名称",
  21500. "type": "string"
  21501. }
  21502. }
  21503. },
  21504. "models.Ermcp2hedgeditemlink": {
  21505. "type": "object",
  21506. "required": [
  21507. "relatedspotcontractid"
  21508. ],
  21509. "properties": {
  21510. "areauserid": {
  21511. "description": "企业ID",
  21512. "type": "integer"
  21513. },
  21514. "createtime": {
  21515. "description": "[关联时间]创建时间",
  21516. "type": "string"
  21517. },
  21518. "customeruserid": {
  21519. "description": "对手方 【3:采购合同 4:销售合同】",
  21520. "type": "integer"
  21521. },
  21522. "deliverygoodsid": {
  21523. "description": "现货品种ID",
  21524. "type": "integer"
  21525. },
  21526. "enumdicname": {
  21527. "description": "单位",
  21528. "type": "string"
  21529. },
  21530. "hedgeditemid": {
  21531. "description": "被套期项目ID",
  21532. "type": "integer"
  21533. },
  21534. "hedgeditemlinkid": {
  21535. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  21536. "type": "integer"
  21537. },
  21538. "hedgeditemnum": {
  21539. "description": "项目编号",
  21540. "type": "string"
  21541. },
  21542. "hedgedtype": {
  21543. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21544. "type": "integer"
  21545. },
  21546. "relatedamount": {
  21547. "description": "市价总额 = 关联数量 * 期初市场价",
  21548. "type": "number"
  21549. },
  21550. "relatedhedgeplanid": {
  21551. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21552. "type": "integer"
  21553. },
  21554. "relatedqty": {
  21555. "description": "关联数量",
  21556. "type": "number"
  21557. },
  21558. "relatedspotcontractid": {
  21559. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21560. "type": "integer"
  21561. },
  21562. "relatedtype": {
  21563. "description": "关联类型 - 1:套期关联 2:执行关联",
  21564. "type": "integer"
  21565. },
  21566. "spotgoodsbrandid": {
  21567. "description": "现货品牌ID",
  21568. "type": "integer"
  21569. },
  21570. "spotpricedamount": {
  21571. "description": "[关联定价总额]定价总额",
  21572. "type": "number"
  21573. },
  21574. "spotpricedavgprice": {
  21575. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  21576. "type": "number"
  21577. },
  21578. "spottype": {
  21579. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21580. "type": "integer"
  21581. },
  21582. "tradeuserid": {
  21583. "description": "交易用户ID",
  21584. "type": "integer"
  21585. },
  21586. "unexeqty": {
  21587. "description": "未执行现货量【项目关联时值】",
  21588. "type": "number"
  21589. },
  21590. "wrstandardid": {
  21591. "description": "现货商品ID",
  21592. "type": "integer"
  21593. },
  21594. "wrstandardname": {
  21595. "description": "现货商品",
  21596. "type": "string"
  21597. }
  21598. }
  21599. },
  21600. "models.Ermcp2hedgeditemsDetail": {
  21601. "type": "object",
  21602. "properties": {
  21603. "accountname": {
  21604. "description": "套期主体",
  21605. "type": "string"
  21606. },
  21607. "areauserid": {
  21608. "description": "企业ID",
  21609. "type": "integer"
  21610. },
  21611. "createtime": {
  21612. "description": "[日期时间]创建时间",
  21613. "type": "string"
  21614. },
  21615. "customeruserid": {
  21616. "description": "对手方 【3:采购合同 4:销售合同】",
  21617. "type": "integer"
  21618. },
  21619. "deliverygoodsid": {
  21620. "description": "现货品种ID",
  21621. "type": "integer"
  21622. },
  21623. "enumdicname": {
  21624. "description": "单位",
  21625. "type": "string"
  21626. },
  21627. "hedgeditemid": {
  21628. "description": "被套期项目ID",
  21629. "type": "string"
  21630. },
  21631. "hedgeditemspotid": {
  21632. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21633. "type": "string"
  21634. },
  21635. "hedgedtype": {
  21636. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21637. "type": "integer"
  21638. },
  21639. "hedgeplanno": {
  21640. "description": "计划编号",
  21641. "type": "string"
  21642. },
  21643. "middlegoodschange": {
  21644. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  21645. "type": "number"
  21646. },
  21647. "oriavgprice": {
  21648. "description": "期初市场价[当初市场价]",
  21649. "type": "number"
  21650. },
  21651. "relatedamount": {
  21652. "description": "市价总额 = 关联数量 * 期初市场价",
  21653. "type": "number"
  21654. },
  21655. "relatedhedgeplanid": {
  21656. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21657. "type": "integer"
  21658. },
  21659. "relatedqty": {
  21660. "description": "[期间变化量]关联数量",
  21661. "type": "number"
  21662. },
  21663. "relatedspotcontractid": {
  21664. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21665. "type": "integer"
  21666. },
  21667. "relatedtype": {
  21668. "description": "关联类型 - 1:套期关联 2:执行关联",
  21669. "type": "integer"
  21670. },
  21671. "spotgoodsbrandid": {
  21672. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21673. "type": "integer"
  21674. },
  21675. "spotpricedamount": {
  21676. "description": "定价总额",
  21677. "type": "number"
  21678. },
  21679. "spotpricedavgprice": {
  21680. "description": "现货均价 = 定价总额 / 关联数量",
  21681. "type": "number"
  21682. },
  21683. "spottype": {
  21684. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21685. "type": "integer"
  21686. },
  21687. "tradeuserid": {
  21688. "description": "交易用户ID",
  21689. "type": "integer"
  21690. },
  21691. "unexeqty": {
  21692. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21693. "type": "number"
  21694. },
  21695. "wrstandardid": {
  21696. "description": "现货商品ID",
  21697. "type": "integer"
  21698. },
  21699. "wrstandardname": {
  21700. "description": "现货商品",
  21701. "type": "string"
  21702. }
  21703. }
  21704. },
  21705. "models.Ermcp2hedgeditemspot": {
  21706. "type": "object",
  21707. "required": [
  21708. "hedgeditemid"
  21709. ],
  21710. "properties": {
  21711. "areauserid": {
  21712. "description": "企业ID",
  21713. "type": "integer"
  21714. },
  21715. "createtime": {
  21716. "description": "创建时间",
  21717. "type": "string"
  21718. },
  21719. "customeruserid": {
  21720. "description": "对手方 【3:采购合同 4:销售合同】",
  21721. "type": "integer"
  21722. },
  21723. "deliverygoodsid": {
  21724. "description": "现货品种ID",
  21725. "type": "integer"
  21726. },
  21727. "enumdicname": {
  21728. "description": "单位",
  21729. "type": "string"
  21730. },
  21731. "hedgeditemid": {
  21732. "description": "被套期项目ID",
  21733. "type": "string"
  21734. },
  21735. "hedgeditemspotid": {
  21736. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21737. "type": "string"
  21738. },
  21739. "hedgedtype": {
  21740. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21741. "type": "integer"
  21742. },
  21743. "hedgeplanno": {
  21744. "description": "计划编号",
  21745. "type": "string"
  21746. },
  21747. "oriavgprice": {
  21748. "description": "期初市场价[当初市场价]",
  21749. "type": "number"
  21750. },
  21751. "relatedamount": {
  21752. "description": "市价总额 = 关联数量 * 期初市场价",
  21753. "type": "number"
  21754. },
  21755. "relatedhedgeplanid": {
  21756. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21757. "type": "integer"
  21758. },
  21759. "relatedqty": {
  21760. "description": "关联数量[数量]",
  21761. "type": "number"
  21762. },
  21763. "relatedspotcontractid": {
  21764. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21765. "type": "integer"
  21766. },
  21767. "relatedtype": {
  21768. "description": "关联类型 - 1:套期关联 2:执行关联",
  21769. "type": "integer"
  21770. },
  21771. "spotgoodsbrandid": {
  21772. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21773. "type": "integer"
  21774. },
  21775. "spotpricedamount": {
  21776. "description": "定价总额",
  21777. "type": "number"
  21778. },
  21779. "spotpricedavgprice": {
  21780. "description": "现货均价 = 定价总额 / 关联数量",
  21781. "type": "number"
  21782. },
  21783. "spottype": {
  21784. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21785. "type": "integer"
  21786. },
  21787. "tradeuserid": {
  21788. "description": "交易用户ID",
  21789. "type": "integer"
  21790. },
  21791. "wrstandardid": {
  21792. "description": "现货商品ID",
  21793. "type": "integer"
  21794. },
  21795. "wrstandardname": {
  21796. "description": "现货商品",
  21797. "type": "string"
  21798. }
  21799. }
  21800. },
  21801. "models.Ermcp2hedgeditemspotDetail": {
  21802. "type": "object",
  21803. "required": [
  21804. "hedgeditemid"
  21805. ],
  21806. "properties": {
  21807. "accountname": {
  21808. "description": "对手方",
  21809. "type": "string"
  21810. },
  21811. "areauserid": {
  21812. "description": "企业ID",
  21813. "type": "integer"
  21814. },
  21815. "brandname": {
  21816. "description": "品牌",
  21817. "type": "string"
  21818. },
  21819. "contractno": {
  21820. "description": "合同编号",
  21821. "type": "string"
  21822. },
  21823. "createtime": {
  21824. "description": "创建时间",
  21825. "type": "string"
  21826. },
  21827. "customeruserid": {
  21828. "description": "对手方 【3:采购合同 4:销售合同】",
  21829. "type": "integer"
  21830. },
  21831. "deliverygoodsid": {
  21832. "description": "现货品种ID",
  21833. "type": "integer"
  21834. },
  21835. "enumdicname": {
  21836. "description": "单位",
  21837. "type": "string"
  21838. },
  21839. "hedgeditemid": {
  21840. "description": "被套期项目ID",
  21841. "type": "string"
  21842. },
  21843. "hedgeditemspotid": {
  21844. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21845. "type": "string"
  21846. },
  21847. "hedgedtype": {
  21848. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21849. "type": "integer"
  21850. },
  21851. "oriavgprice": {
  21852. "description": "期初市场价[当初市场价]",
  21853. "type": "number"
  21854. },
  21855. "relatedamount": {
  21856. "description": "市价总额 = 关联数量 * 期初市场价",
  21857. "type": "number"
  21858. },
  21859. "relatedhedgeplanid": {
  21860. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21861. "type": "integer"
  21862. },
  21863. "relatedqty": {
  21864. "description": "关联数量[数量]",
  21865. "type": "number"
  21866. },
  21867. "relatedspotcontractid": {
  21868. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21869. "type": "integer"
  21870. },
  21871. "relatedtype": {
  21872. "description": "关联类型 - 1:套期关联 2:执行关联",
  21873. "type": "integer"
  21874. },
  21875. "spotgoodsbrandid": {
  21876. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21877. "type": "integer"
  21878. },
  21879. "spotpricedamount": {
  21880. "description": "定价总额[金额]",
  21881. "type": "number"
  21882. },
  21883. "spotpricedavgprice": {
  21884. "description": "现货均价 = 定价总额 / 关联数量",
  21885. "type": "number"
  21886. },
  21887. "spottype": {
  21888. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21889. "type": "integer"
  21890. },
  21891. "tradeuserid": {
  21892. "description": "交易用户ID",
  21893. "type": "integer"
  21894. },
  21895. "wrstandardid": {
  21896. "description": "现货商品ID",
  21897. "type": "integer"
  21898. },
  21899. "wrstandardname": {
  21900. "description": "现货商品",
  21901. "type": "string"
  21902. }
  21903. }
  21904. },
  21905. "models.Ermcp2himiddlegoods": {
  21906. "type": "object",
  21907. "required": [
  21908. "hedgeditemid",
  21909. "middlegoodsid"
  21910. ],
  21911. "properties": {
  21912. "futurehedgeqty": {
  21913. "description": "期货持仓套期量",
  21914. "type": "number"
  21915. },
  21916. "hedgeditemid": {
  21917. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21918. "type": "integer"
  21919. },
  21920. "hiexpsoure": {
  21921. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  21922. "type": "number"
  21923. },
  21924. "middlegoodscode": {
  21925. "description": "套保商品代码",
  21926. "type": "string"
  21927. },
  21928. "middlegoodsid": {
  21929. "description": "套保品种ID",
  21930. "type": "integer"
  21931. },
  21932. "middlegoodsname": {
  21933. "description": "套保商品名称",
  21934. "type": "string"
  21935. },
  21936. "unexehedgeqty": {
  21937. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  21938. "type": "number"
  21939. }
  21940. }
  21941. },
  21942. "models.Ermcp2stockspotchangelog": {
  21943. "type": "object",
  21944. "properties": {
  21945. "accountname": {
  21946. "description": "套期主体",
  21947. "type": "string"
  21948. },
  21949. "aftervalue": {
  21950. "description": "现货量",
  21951. "type": "number"
  21952. },
  21953. "beforevalue": {
  21954. "description": "变更前现货量",
  21955. "type": "number"
  21956. },
  21957. "contractno": {
  21958. "description": "[编号]现货合同编号",
  21959. "type": "string"
  21960. },
  21961. "contracttype": {
  21962. "description": "现货合同类型 - 1:采购 -1:销售",
  21963. "type": "integer"
  21964. },
  21965. "createtime": {
  21966. "description": "创建时间",
  21967. "type": "string"
  21968. },
  21969. "customerusername": {
  21970. "description": "对手方",
  21971. "type": "string"
  21972. },
  21973. "deliverygoodsid": {
  21974. "description": "现货品种ID",
  21975. "type": "integer"
  21976. },
  21977. "exetype": {
  21978. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  21979. "type": "integer"
  21980. },
  21981. "logid": {
  21982. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  21983. "type": "string"
  21984. },
  21985. "logvalue": {
  21986. "description": "[期间变化量]现货量变更值",
  21987. "type": "number"
  21988. },
  21989. "middlegoodschange": {
  21990. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  21991. "type": "number"
  21992. },
  21993. "operatelogtype": {
  21994. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  21995. "type": "integer"
  21996. },
  21997. "relatedid": {
  21998. "description": "现货合同ID",
  21999. "type": "integer"
  22000. },
  22001. "spotgoodsbrandid": {
  22002. "description": "现货品牌ID",
  22003. "type": "integer"
  22004. },
  22005. "tradedate": {
  22006. "description": "交易日(yyyyMMdd)",
  22007. "type": "string"
  22008. },
  22009. "userid": {
  22010. "description": "机构ID",
  22011. "type": "integer"
  22012. },
  22013. "warehouseinfoid": {
  22014. "description": "仓库ID",
  22015. "type": "integer"
  22016. },
  22017. "wrfactortypeid": {
  22018. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22019. "type": "integer"
  22020. },
  22021. "wrstandardid": {
  22022. "description": "现货商品ID",
  22023. "type": "integer"
  22024. },
  22025. "wrstandardname": {
  22026. "description": "商品名称",
  22027. "type": "string"
  22028. }
  22029. }
  22030. },
  22031. "models.Ermcp3AreaSpot": {
  22032. "type": "object",
  22033. "properties": {
  22034. "areauserid": {
  22035. "description": "所属机构",
  22036. "type": "integer"
  22037. },
  22038. "convertratio": {
  22039. "description": "套保系数",
  22040. "type": "number"
  22041. },
  22042. "decreaseqty": {
  22043. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  22044. "type": "number"
  22045. },
  22046. "enumdicname": {
  22047. "description": "单位名称",
  22048. "type": "string"
  22049. },
  22050. "increaseqty": {
  22051. "description": "增加数量=销售计划数量+采购已定价数量",
  22052. "type": "number"
  22053. },
  22054. "oritoalspotqty": {
  22055. "description": "昨日数量",
  22056. "type": "number"
  22057. },
  22058. "totalspotqty": {
  22059. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  22060. "type": "number"
  22061. },
  22062. "unitid": {
  22063. "description": "现货商品单位id",
  22064. "type": "integer"
  22065. },
  22066. "updatetime": {
  22067. "description": "更新时间",
  22068. "type": "string"
  22069. },
  22070. "wrstandardcode": {
  22071. "description": "现货商品代码",
  22072. "type": "string"
  22073. },
  22074. "wrstandardid": {
  22075. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22076. "type": "integer"
  22077. },
  22078. "wrstandardname": {
  22079. "description": "现货商品名称",
  22080. "type": "string"
  22081. }
  22082. }
  22083. },
  22084. "models.Ermcp3AreaSpotDetail": {
  22085. "type": "object",
  22086. "properties": {
  22087. "contracttype": {
  22088. "description": "合同类型 1-采购 -1-销售",
  22089. "type": "integer"
  22090. },
  22091. "createtime": {
  22092. "description": "创建时间",
  22093. "type": "string"
  22094. },
  22095. "enumdicname": {
  22096. "description": "现货商品单位名称",
  22097. "type": "string"
  22098. },
  22099. "logtype": {
  22100. "description": "记录类型 1-套保 2-现货合同",
  22101. "type": "integer"
  22102. },
  22103. "qty": {
  22104. "description": "数量",
  22105. "type": "number"
  22106. },
  22107. "recordname": {
  22108. "description": "类型名称",
  22109. "type": "string"
  22110. },
  22111. "relatedid": {
  22112. "description": "套保计划ID/现货合同ID",
  22113. "type": "string"
  22114. },
  22115. "relatedno": {
  22116. "description": "编号",
  22117. "type": "string"
  22118. },
  22119. "strtime": {
  22120. "description": "时间",
  22121. "type": "string"
  22122. },
  22123. "wrstandardcode": {
  22124. "description": "现货商品代码",
  22125. "type": "string"
  22126. },
  22127. "wrstandardid": {
  22128. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22129. "type": "integer"
  22130. },
  22131. "wrstandardname": {
  22132. "description": "现货商品名称",
  22133. "type": "string"
  22134. }
  22135. }
  22136. },
  22137. "models.Ermcp3AreaSpotPLReport": {
  22138. "type": "object",
  22139. "properties": {
  22140. "accountid": {
  22141. "description": "期货账户ID (作废, 默认为0)",
  22142. "type": "integer"
  22143. },
  22144. "accountname": {
  22145. "description": "机构名称",
  22146. "type": "string"
  22147. },
  22148. "actualpl": {
  22149. "description": "现货损益",
  22150. "type": "number"
  22151. },
  22152. "areauserid": {
  22153. "description": "所属机构\\交易用户ID",
  22154. "type": "integer"
  22155. },
  22156. "begindate": {
  22157. "description": "开始交易日",
  22158. "type": "string"
  22159. },
  22160. "biztype": {
  22161. "description": "业务类型 - 1:套保 2:套利",
  22162. "type": "integer"
  22163. },
  22164. "brandname": {
  22165. "description": "品牌名称",
  22166. "type": "string"
  22167. },
  22168. "curamount": {
  22169. "description": "期末额",
  22170. "type": "number"
  22171. },
  22172. "curaverageprice": {
  22173. "description": "期末均价",
  22174. "type": "number"
  22175. },
  22176. "curbuyamount": {
  22177. "description": "期末采购总额",
  22178. "type": "number"
  22179. },
  22180. "curbuyqty": {
  22181. "description": "期末采购总量",
  22182. "type": "number"
  22183. },
  22184. "curmarketvalue": {
  22185. "description": "参考市值(期末市值)",
  22186. "type": "number"
  22187. },
  22188. "curqty": {
  22189. "description": "期末量",
  22190. "type": "number"
  22191. },
  22192. "currencyid": {
  22193. "description": "结算币种ID【原值】",
  22194. "type": "integer"
  22195. },
  22196. "currencyname": {
  22197. "description": "币种名称",
  22198. "type": "string"
  22199. },
  22200. "cursellamount": {
  22201. "description": "期末销售总额",
  22202. "type": "number"
  22203. },
  22204. "cursellqty": {
  22205. "description": "期末销售总量",
  22206. "type": "number"
  22207. },
  22208. "curspotprice": {
  22209. "description": "参考市价(最新价)",
  22210. "type": "number"
  22211. },
  22212. "cycletime": {
  22213. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22214. "type": "string"
  22215. },
  22216. "cycletype": {
  22217. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22218. "type": "integer"
  22219. },
  22220. "deliverygoodscode": {
  22221. "description": "现货品种代码",
  22222. "type": "string"
  22223. },
  22224. "deliverygoodsid": {
  22225. "description": "现货品种ID",
  22226. "type": "integer"
  22227. },
  22228. "deliverygoodsname": {
  22229. "description": "现货品种名称",
  22230. "type": "string"
  22231. },
  22232. "enddate": {
  22233. "description": "结束交易日",
  22234. "type": "string"
  22235. },
  22236. "enumdicname": {
  22237. "description": "现货品种单位名称(作废)",
  22238. "type": "string"
  22239. },
  22240. "floatpl": {
  22241. "description": "浮动损益",
  22242. "type": "number"
  22243. },
  22244. "goodsunitid": {
  22245. "description": "现货品种单位id(作废)",
  22246. "type": "integer"
  22247. },
  22248. "oriamount": {
  22249. "description": "期初额",
  22250. "type": "number"
  22251. },
  22252. "oriaverageprice": {
  22253. "description": "期初均价",
  22254. "type": "number"
  22255. },
  22256. "oribuyamount": {
  22257. "description": "期初采购总额",
  22258. "type": "number"
  22259. },
  22260. "oribuyqty": {
  22261. "description": "期初采购总量",
  22262. "type": "number"
  22263. },
  22264. "oriqty": {
  22265. "description": "期初量",
  22266. "type": "number"
  22267. },
  22268. "orisellamount": {
  22269. "description": "期初销售总额",
  22270. "type": "number"
  22271. },
  22272. "orisellqty": {
  22273. "description": "期初销售总量",
  22274. "type": "number"
  22275. },
  22276. "reckondate": {
  22277. "description": "日照时期(yyyyMMdd)",
  22278. "type": "string"
  22279. },
  22280. "spotgoodsbrandid": {
  22281. "description": "现货品牌ID",
  22282. "type": "integer"
  22283. },
  22284. "todaybuyamount": {
  22285. "description": "今日采购额(今采购额)",
  22286. "type": "number"
  22287. },
  22288. "todaybuyaverageprice": {
  22289. "description": "今日采购均价",
  22290. "type": "number"
  22291. },
  22292. "todaybuyqty": {
  22293. "description": "今日采购量(今采购量)",
  22294. "type": "number"
  22295. },
  22296. "todayinqty": {
  22297. "description": "今日入库量(今入库量)",
  22298. "type": "number"
  22299. },
  22300. "todayoutqty": {
  22301. "description": "今日出库量(今出库量)",
  22302. "type": "number"
  22303. },
  22304. "todaysellamount": {
  22305. "description": "今日销售额(今销售额)",
  22306. "type": "number"
  22307. },
  22308. "todaysellaverageprice": {
  22309. "description": "今日销售均价",
  22310. "type": "number"
  22311. },
  22312. "todaysellqty": {
  22313. "description": "今日销售量(今销售量)",
  22314. "type": "number"
  22315. },
  22316. "unitid": {
  22317. "description": "品类单位id",
  22318. "type": "integer"
  22319. },
  22320. "unitidname": {
  22321. "description": "品类单位名称",
  22322. "type": "string"
  22323. },
  22324. "updatetime": {
  22325. "description": "更新时间",
  22326. "type": "string"
  22327. },
  22328. "wrfactortypeid": {
  22329. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22330. "type": "integer"
  22331. },
  22332. "wrstandardcode": {
  22333. "description": "现货商品(品类)代码",
  22334. "type": "string"
  22335. },
  22336. "wrstandardid": {
  22337. "description": "现货品类ID",
  22338. "type": "integer"
  22339. },
  22340. "wrstandardname": {
  22341. "description": "现货商品(品类)名称",
  22342. "type": "string"
  22343. }
  22344. }
  22345. },
  22346. "models.Ermcp3AreaStock": {
  22347. "type": "object",
  22348. "required": [
  22349. "userid"
  22350. ],
  22351. "properties": {
  22352. "brandname": {
  22353. "description": "品牌名称",
  22354. "type": "string"
  22355. },
  22356. "curstock": {
  22357. "description": "期末库存量(今日量)",
  22358. "type": "number"
  22359. },
  22360. "deliverygoodscode": {
  22361. "description": "现货品种代码",
  22362. "type": "string"
  22363. },
  22364. "deliverygoodsid": {
  22365. "description": "现货品种id",
  22366. "type": "integer"
  22367. },
  22368. "deliverygoodsname": {
  22369. "description": "现货品种名称",
  22370. "type": "string"
  22371. },
  22372. "enumdicname": {
  22373. "description": "单位名称",
  22374. "type": "string"
  22375. },
  22376. "goodsunitid": {
  22377. "description": "现货商品单位id",
  22378. "type": "integer"
  22379. },
  22380. "oristock": {
  22381. "description": "期初库存量(昨日量)",
  22382. "type": "number"
  22383. },
  22384. "spotgoodsbrandid": {
  22385. "description": "现货品牌ID",
  22386. "type": "integer"
  22387. },
  22388. "todaybuyinqty": {
  22389. "description": "今日采购入库量",
  22390. "type": "number"
  22391. },
  22392. "todayproduceinqty": {
  22393. "description": "今日生产入库量",
  22394. "type": "number"
  22395. },
  22396. "todayproduceoutqty": {
  22397. "description": "今日生产出库量",
  22398. "type": "number"
  22399. },
  22400. "todayselloutqty": {
  22401. "description": "今日销售出库量",
  22402. "type": "number"
  22403. },
  22404. "unitid": {
  22405. "description": "单位id",
  22406. "type": "integer"
  22407. },
  22408. "updatetime": {
  22409. "description": "更新时间",
  22410. "type": "string"
  22411. },
  22412. "userid": {
  22413. "description": "机构ID",
  22414. "type": "integer"
  22415. },
  22416. "username": {
  22417. "description": "机构名称",
  22418. "type": "string"
  22419. },
  22420. "warehousecode": {
  22421. "description": "仓库代码",
  22422. "type": "string"
  22423. },
  22424. "warehouseinfoid": {
  22425. "description": "仓库ID",
  22426. "type": "string"
  22427. },
  22428. "warehousename": {
  22429. "description": "仓库名称",
  22430. "type": "string"
  22431. },
  22432. "warehousetype": {
  22433. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22434. "type": "integer"
  22435. },
  22436. "wrstandardcode": {
  22437. "description": "品类代码",
  22438. "type": "string"
  22439. },
  22440. "wrstandardid": {
  22441. "description": "品类ID",
  22442. "type": "string"
  22443. },
  22444. "wrstandardname": {
  22445. "description": "品类名称",
  22446. "type": "string"
  22447. }
  22448. }
  22449. },
  22450. "models.Ermcp3AreaStockApply": {
  22451. "type": "object",
  22452. "properties": {
  22453. "applyid": {
  22454. "description": "申请人",
  22455. "type": "integer"
  22456. },
  22457. "applyname": {
  22458. "description": "申请人名称",
  22459. "type": "string"
  22460. },
  22461. "applyremark": {
  22462. "description": "申请备注",
  22463. "type": "string"
  22464. },
  22465. "applysrc": {
  22466. "description": "申请来源 - 1:管理端 2:终端",
  22467. "type": "integer"
  22468. },
  22469. "applystatus": {
  22470. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22471. "type": "integer"
  22472. },
  22473. "applytime": {
  22474. "description": "申请时间",
  22475. "type": "string"
  22476. },
  22477. "auditid": {
  22478. "description": "审核人",
  22479. "type": "integer"
  22480. },
  22481. "auditname": {
  22482. "description": "审核人名称",
  22483. "type": "string"
  22484. },
  22485. "auditremark": {
  22486. "description": "审核备注",
  22487. "type": "string"
  22488. },
  22489. "auditsrc": {
  22490. "description": "审核来源 - 1:管理端 2:终端",
  22491. "type": "integer"
  22492. },
  22493. "audittime": {
  22494. "description": "审核时间",
  22495. "type": "string"
  22496. },
  22497. "audittradedate": {
  22498. "description": "审核交易日(yyyyMMdd)",
  22499. "type": "string"
  22500. },
  22501. "brandname": {
  22502. "description": "品牌名称",
  22503. "type": "string"
  22504. },
  22505. "buynickname": {
  22506. "description": "采购方昵称",
  22507. "type": "string"
  22508. },
  22509. "buyuserid": {
  22510. "description": "采购方userid",
  22511. "type": "integer"
  22512. },
  22513. "buyusername": {
  22514. "description": "采购方名称",
  22515. "type": "string"
  22516. },
  22517. "contractno": {
  22518. "description": "合同编号",
  22519. "type": "string"
  22520. },
  22521. "contractqty": {
  22522. "description": "合同量",
  22523. "type": "number"
  22524. },
  22525. "contracttype": {
  22526. "description": "现货合同类型 - 1:采购 -1:销售",
  22527. "type": "integer"
  22528. },
  22529. "deliverygoodscode": {
  22530. "description": "现货品种代码",
  22531. "type": "string"
  22532. },
  22533. "deliverygoodsid": {
  22534. "description": "现货品种id",
  22535. "type": "integer"
  22536. },
  22537. "deliverygoodsname": {
  22538. "description": "现货品种名称",
  22539. "type": "string"
  22540. },
  22541. "detailjson": {
  22542. "description": "明细数据",
  22543. "type": "string"
  22544. },
  22545. "enumdicname": {
  22546. "description": "现货商品单位名称",
  22547. "type": "string"
  22548. },
  22549. "inoutapplyid": {
  22550. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  22551. "type": "string"
  22552. },
  22553. "inouttype": {
  22554. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22555. "type": "integer"
  22556. },
  22557. "pricetype": {
  22558. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22559. "type": "integer"
  22560. },
  22561. "qty": {
  22562. "description": "数量",
  22563. "type": "number"
  22564. },
  22565. "sellnickname": {
  22566. "description": "销售方昵称",
  22567. "type": "string"
  22568. },
  22569. "selluserid": {
  22570. "description": "销售方userid",
  22571. "type": "integer"
  22572. },
  22573. "sellusername": {
  22574. "description": "销售方名称",
  22575. "type": "string"
  22576. },
  22577. "spotcontractid": {
  22578. "description": "关联现货合同ID",
  22579. "type": "string"
  22580. },
  22581. "spotgoodsbrandid": {
  22582. "description": "现货品牌ID",
  22583. "type": "integer"
  22584. },
  22585. "unitid": {
  22586. "description": "单位id",
  22587. "type": "integer"
  22588. },
  22589. "userid": {
  22590. "description": "机构ID",
  22591. "type": "integer"
  22592. },
  22593. "warehousecode": {
  22594. "description": "仓库代码",
  22595. "type": "string"
  22596. },
  22597. "warehouseinfoid": {
  22598. "description": "现货仓库ID",
  22599. "type": "string"
  22600. },
  22601. "warehousename": {
  22602. "description": "仓库名称",
  22603. "type": "string"
  22604. },
  22605. "warehousetype": {
  22606. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22607. "type": "integer"
  22608. },
  22609. "wrstandardcode": {
  22610. "description": "品类代码",
  22611. "type": "string"
  22612. },
  22613. "wrstandardid": {
  22614. "description": "品类ID",
  22615. "type": "integer"
  22616. },
  22617. "wrstandardname": {
  22618. "description": "品类名称",
  22619. "type": "string"
  22620. }
  22621. }
  22622. },
  22623. "models.Ermcp3AreaStockApplySum": {
  22624. "type": "object",
  22625. "properties": {
  22626. "brandname": {
  22627. "description": "品牌名称",
  22628. "type": "string"
  22629. },
  22630. "inouttype": {
  22631. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22632. "type": "integer"
  22633. },
  22634. "spotcontractid": {
  22635. "description": "关联现货合同ID",
  22636. "type": "string"
  22637. },
  22638. "spotgoodsbrandid": {
  22639. "description": "品牌id",
  22640. "type": "integer"
  22641. },
  22642. "totalqty": {
  22643. "description": "总数量",
  22644. "type": "number"
  22645. },
  22646. "wrstandardid": {
  22647. "description": "品类id",
  22648. "type": "integer"
  22649. },
  22650. "wrstandardname": {
  22651. "description": "品类名称",
  22652. "type": "string"
  22653. }
  22654. }
  22655. },
  22656. "models.Ermcp3AreaStockReportEx": {
  22657. "type": "object",
  22658. "properties": {
  22659. "begindate": {
  22660. "description": "开始交易日",
  22661. "type": "string"
  22662. },
  22663. "brandname": {
  22664. "description": "品牌名称",
  22665. "type": "string"
  22666. },
  22667. "curstock": {
  22668. "description": "期末库存量",
  22669. "type": "number"
  22670. },
  22671. "cycletime": {
  22672. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22673. "type": "string"
  22674. },
  22675. "cycletype": {
  22676. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22677. "type": "integer"
  22678. },
  22679. "deliverygoodscode": {
  22680. "description": "现货品种代码",
  22681. "type": "string"
  22682. },
  22683. "deliverygoodsid": {
  22684. "description": "现货品种id",
  22685. "type": "integer"
  22686. },
  22687. "deliverygoodsname": {
  22688. "description": "现货品种名称",
  22689. "type": "string"
  22690. },
  22691. "diffqty": {
  22692. "description": "库存变化量 = 期末 - 期初",
  22693. "type": "number"
  22694. },
  22695. "enddate": {
  22696. "description": "结束交易日",
  22697. "type": "string"
  22698. },
  22699. "enumdicname": {
  22700. "description": "单位名称",
  22701. "type": "string"
  22702. },
  22703. "goodsunitid": {
  22704. "description": "现货单位id",
  22705. "type": "integer"
  22706. },
  22707. "oristock": {
  22708. "description": "期初库存量",
  22709. "type": "number"
  22710. },
  22711. "reckondate": {
  22712. "description": "日照时期(yyyyMMdd)",
  22713. "type": "string"
  22714. },
  22715. "spotgoodsbrandid": {
  22716. "description": "现货品牌ID",
  22717. "type": "integer"
  22718. },
  22719. "todaybuyinqty": {
  22720. "description": "今采购入库量",
  22721. "type": "number"
  22722. },
  22723. "todayproduceinqty": {
  22724. "description": "今内部入库量",
  22725. "type": "number"
  22726. },
  22727. "todayproduceoutqty": {
  22728. "description": "今内部出库量",
  22729. "type": "number"
  22730. },
  22731. "todayselloutqty": {
  22732. "description": "今销售出库量",
  22733. "type": "number"
  22734. },
  22735. "unbuyinqty": {
  22736. "description": "采购未入库量(数据库未找到相关字段?)",
  22737. "type": "number"
  22738. },
  22739. "unitid": {
  22740. "description": "品类单位id",
  22741. "type": "integer"
  22742. },
  22743. "unselloutqty": {
  22744. "description": "销售未出库量(数据库未找到相关字段?)",
  22745. "type": "number"
  22746. },
  22747. "updatetime": {
  22748. "description": "更新时间",
  22749. "type": "string"
  22750. },
  22751. "userid": {
  22752. "description": "机构ID",
  22753. "type": "integer"
  22754. },
  22755. "username": {
  22756. "description": "机构名称",
  22757. "type": "string"
  22758. },
  22759. "warehousecode": {
  22760. "description": "仓库代码",
  22761. "type": "string"
  22762. },
  22763. "warehouseinfoid": {
  22764. "description": "仓库ID",
  22765. "type": "string"
  22766. },
  22767. "warehousename": {
  22768. "description": "仓库名称",
  22769. "type": "string"
  22770. },
  22771. "warehousetype": {
  22772. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22773. "type": "integer"
  22774. },
  22775. "wrstandardcode": {
  22776. "description": "品类代码",
  22777. "type": "string"
  22778. },
  22779. "wrstandardid": {
  22780. "description": "品类ID",
  22781. "type": "integer"
  22782. },
  22783. "wrstandardname": {
  22784. "description": "品类名称",
  22785. "type": "string"
  22786. }
  22787. }
  22788. },
  22789. "models.Ermcp3ArealSumPL": {
  22790. "type": "object",
  22791. "properties": {
  22792. "accountname": {
  22793. "description": "机构名称",
  22794. "type": "string"
  22795. },
  22796. "areauserid": {
  22797. "description": "所属机构\\交易用户ID",
  22798. "type": "integer"
  22799. },
  22800. "begindate": {
  22801. "description": "开始交易日",
  22802. "type": "string"
  22803. },
  22804. "currencyid": {
  22805. "description": "结算币种ID",
  22806. "type": "integer"
  22807. },
  22808. "currencyname": {
  22809. "description": "币种名称",
  22810. "type": "string"
  22811. },
  22812. "cycletime": {
  22813. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22814. "type": "string"
  22815. },
  22816. "cycletype": {
  22817. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22818. "type": "integer"
  22819. },
  22820. "enddate": {
  22821. "description": "结束交易日",
  22822. "type": "string"
  22823. },
  22824. "enumdicname": {
  22825. "description": "单位名称(套保品种)",
  22826. "type": "string"
  22827. },
  22828. "futureactualpl": {
  22829. "description": "期货损益",
  22830. "type": "number"
  22831. },
  22832. "futurefloatpl": {
  22833. "description": "期货浮动损益",
  22834. "type": "number"
  22835. },
  22836. "futurespotratio": {
  22837. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  22838. "type": "number"
  22839. },
  22840. "goodsunitid": {
  22841. "description": "套保品种单位id",
  22842. "type": "integer"
  22843. },
  22844. "hedgeexposurepl": {
  22845. "description": "套保敞口损益",
  22846. "type": "number"
  22847. },
  22848. "middlegoodscode": {
  22849. "description": "套保品种代码",
  22850. "type": "string"
  22851. },
  22852. "middlegoodsid": {
  22853. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  22854. "type": "integer"
  22855. },
  22856. "middlegoodsname": {
  22857. "description": "套保品种名称",
  22858. "type": "string"
  22859. },
  22860. "reckondate": {
  22861. "description": "日照时期(yyyyMMdd)",
  22862. "type": "string"
  22863. },
  22864. "spotactualpl": {
  22865. "description": "现货损益",
  22866. "type": "number"
  22867. },
  22868. "spotfloatpl": {
  22869. "description": "现货浮动损益",
  22870. "type": "number"
  22871. },
  22872. "sumactualpl": {
  22873. "description": "实际损益 = (ActualPL + FutureActualPL)",
  22874. "type": "number"
  22875. },
  22876. "sumpl": {
  22877. "description": "总敞口损益 | 汇总损益",
  22878. "type": "number"
  22879. },
  22880. "totalfutureqty": {
  22881. "description": "期货头寸总量",
  22882. "type": "number"
  22883. },
  22884. "totalneedhedgeqty": {
  22885. "description": "应套保总量",
  22886. "type": "number"
  22887. },
  22888. "totalspotqty": {
  22889. "description": "现货头寸总量",
  22890. "type": "number"
  22891. },
  22892. "updatetime": {
  22893. "description": "更新时间",
  22894. "type": "string"
  22895. }
  22896. }
  22897. },
  22898. "models.Ermcp3Brand": {
  22899. "type": "object",
  22900. "properties": {
  22901. "areauserid": {
  22902. "description": "用户id",
  22903. "type": "integer"
  22904. },
  22905. "brandid": {
  22906. "description": "品牌id",
  22907. "type": "integer"
  22908. },
  22909. "brandname": {
  22910. "description": "品牌名称",
  22911. "type": "string"
  22912. },
  22913. "deliverygoodsid": {
  22914. "description": "品种ID",
  22915. "type": "integer"
  22916. },
  22917. "isvalid": {
  22918. "description": "是否有效",
  22919. "type": "integer"
  22920. }
  22921. }
  22922. },
  22923. "models.Ermcp3Contract": {
  22924. "type": "object",
  22925. "properties": {
  22926. "accountid": {
  22927. "description": "期货账户id",
  22928. "type": "string"
  22929. },
  22930. "amount": {
  22931. "description": "金额 [1:一口价、3:暂定价]",
  22932. "type": "number"
  22933. },
  22934. "attachment": {
  22935. "description": "附件",
  22936. "type": "string"
  22937. },
  22938. "auditremark": {
  22939. "description": "审核意见",
  22940. "type": "string"
  22941. },
  22942. "audittime": {
  22943. "description": "审核时间",
  22944. "type": "string"
  22945. },
  22946. "biztype": {
  22947. "description": "业务类型 1-套保 2-套利",
  22948. "type": "integer"
  22949. },
  22950. "brandname": {
  22951. "description": "品牌名称",
  22952. "type": "string"
  22953. },
  22954. "buynickname": {
  22955. "description": "销售方昵称",
  22956. "type": "string"
  22957. },
  22958. "buyuserid": {
  22959. "description": "采购方ID",
  22960. "type": "integer"
  22961. },
  22962. "buyusername": {
  22963. "description": "采购方名称",
  22964. "type": "string"
  22965. },
  22966. "contracctstatus": {
  22967. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22968. "type": "integer"
  22969. },
  22970. "contractmargin": {
  22971. "description": "合同保证金",
  22972. "type": "number"
  22973. },
  22974. "contractno": {
  22975. "description": "现货合同编号",
  22976. "type": "string"
  22977. },
  22978. "contracttype": {
  22979. "description": "现货合同类型 - 1:采购 -1:销售",
  22980. "type": "integer"
  22981. },
  22982. "convertfactor": {
  22983. "description": "标仓系数(品类)",
  22984. "type": "number"
  22985. },
  22986. "createtime": {
  22987. "description": "创建时间",
  22988. "type": "string"
  22989. },
  22990. "currencyid": {
  22991. "description": "币种id",
  22992. "type": "integer"
  22993. },
  22994. "currencyname": {
  22995. "description": "币种名称",
  22996. "type": "string"
  22997. },
  22998. "deliveryenddate": {
  22999. "description": "交收期(结束)",
  23000. "type": "string"
  23001. },
  23002. "deliverygoodscode": {
  23003. "description": "现货品种代码",
  23004. "type": "string"
  23005. },
  23006. "deliverygoodsid": {
  23007. "description": "现货品种ID",
  23008. "type": "integer"
  23009. },
  23010. "deliverygoodsname": {
  23011. "description": "现货品种名称",
  23012. "type": "string"
  23013. },
  23014. "deliverystartdate": {
  23015. "description": "交收期(开始)",
  23016. "type": "string"
  23017. },
  23018. "enddate": {
  23019. "description": "点价结束日期 [2:点价 3:暂定价]",
  23020. "type": "string"
  23021. },
  23022. "enumdicname": {
  23023. "description": "单位名称",
  23024. "type": "string"
  23025. },
  23026. "goodscode": {
  23027. "description": "点价合约代码",
  23028. "type": "string"
  23029. },
  23030. "goodsid": {
  23031. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  23032. "type": "integer"
  23033. },
  23034. "goodsname": {
  23035. "description": "点价商品名称",
  23036. "type": "string"
  23037. },
  23038. "margin": {
  23039. "description": "当前保证金",
  23040. "type": "number"
  23041. },
  23042. "meruserid": {
  23043. "description": "跟单员id",
  23044. "type": "integer"
  23045. },
  23046. "meruserlogincode": {
  23047. "description": "跟单员登录代码",
  23048. "type": "string"
  23049. },
  23050. "merusername": {
  23051. "description": "跟单员名称",
  23052. "type": "string"
  23053. },
  23054. "pointdesc": {
  23055. "description": "点价备注",
  23056. "type": "string"
  23057. },
  23058. "price": {
  23059. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  23060. "type": "number"
  23061. },
  23062. "pricemove": {
  23063. "description": "升贴水 [2:点价 3:暂定价]",
  23064. "type": "number"
  23065. },
  23066. "pricetype": {
  23067. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23068. "type": "integer"
  23069. },
  23070. "producttype": {
  23071. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23072. "type": "integer"
  23073. },
  23074. "qty": {
  23075. "description": "数量",
  23076. "type": "number"
  23077. },
  23078. "remark": {
  23079. "description": "备注",
  23080. "type": "string"
  23081. },
  23082. "saleuserid": {
  23083. "description": "业务员id",
  23084. "type": "integer"
  23085. },
  23086. "saleuserlogincode": {
  23087. "description": "业务员登录代码",
  23088. "type": "string"
  23089. },
  23090. "saleusername": {
  23091. "description": "业务员名称",
  23092. "type": "string"
  23093. },
  23094. "sellnickname": {
  23095. "description": "采购方昵称",
  23096. "type": "string"
  23097. },
  23098. "selluserid": {
  23099. "description": "销售方ID",
  23100. "type": "integer"
  23101. },
  23102. "sellusername": {
  23103. "description": "销售方名称",
  23104. "type": "string"
  23105. },
  23106. "spotcontractid": {
  23107. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23108. "type": "string"
  23109. },
  23110. "spotgoodsbrandid": {
  23111. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23112. "type": "integer"
  23113. },
  23114. "spotgoodsdesc": {
  23115. "description": "商品型号",
  23116. "type": "string"
  23117. },
  23118. "startdate": {
  23119. "description": "点价开始日期 [2:点价 3:暂定价]",
  23120. "type": "string"
  23121. },
  23122. "subjectid": {
  23123. "description": "交易主体ID",
  23124. "type": "integer"
  23125. },
  23126. "subjectname": {
  23127. "description": "交易主体名称",
  23128. "type": "string"
  23129. },
  23130. "tradeuserid": {
  23131. "description": "交易员id",
  23132. "type": "integer"
  23133. },
  23134. "tradeuserlogincode": {
  23135. "description": "交易员登录代码",
  23136. "type": "string"
  23137. },
  23138. "tradeusername": {
  23139. "description": "交易员名称",
  23140. "type": "string"
  23141. },
  23142. "unitid": {
  23143. "description": "单位id(取品类上的单位id)",
  23144. "type": "integer"
  23145. },
  23146. "updatetime": {
  23147. "description": "更新时间",
  23148. "type": "string"
  23149. },
  23150. "userid": {
  23151. "description": "所属机构ID",
  23152. "type": "integer"
  23153. },
  23154. "vatrate": {
  23155. "description": "增值税率",
  23156. "type": "number"
  23157. },
  23158. "wrstandardcode": {
  23159. "description": "品类代码",
  23160. "type": "string"
  23161. },
  23162. "wrstandardid": {
  23163. "description": "品类ID",
  23164. "type": "integer"
  23165. },
  23166. "wrstandardname": {
  23167. "description": "品类名称",
  23168. "type": "string"
  23169. }
  23170. }
  23171. },
  23172. "models.Ermcp3ContractMiddleGoodsCfg": {
  23173. "type": "object",
  23174. "properties": {
  23175. "agreeunit": {
  23176. "description": "合约乘数",
  23177. "type": "number"
  23178. },
  23179. "convertratio": {
  23180. "description": "期货品种系数",
  23181. "type": "number"
  23182. },
  23183. "covertqty": {
  23184. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  23185. "type": "integer"
  23186. },
  23187. "middlegoodsid": {
  23188. "description": "套保品种ID",
  23189. "type": "integer"
  23190. },
  23191. "middlegoodspricedqty3": {
  23192. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23193. "type": "string",
  23194. "example": "0"
  23195. },
  23196. "pendingpricedqty": {
  23197. "description": "待点价量",
  23198. "type": "string",
  23199. "example": "0"
  23200. },
  23201. "relatedmiddlegoodsqty": {
  23202. "description": "已关联量(套保品种-期货)",
  23203. "type": "string",
  23204. "example": "0"
  23205. },
  23206. "spotcontractid": {
  23207. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23208. "type": "string"
  23209. }
  23210. }
  23211. },
  23212. "models.Ermcp3ExposureContractDetail": {
  23213. "type": "object",
  23214. "properties": {
  23215. "biztype": {
  23216. "description": "业务类型 1-套保 2-套利",
  23217. "type": "integer"
  23218. },
  23219. "brandname": {
  23220. "description": "品牌名称",
  23221. "type": "string"
  23222. },
  23223. "buyuserid": {
  23224. "description": "采购方id",
  23225. "type": "integer"
  23226. },
  23227. "buyusername": {
  23228. "description": "采购方名称",
  23229. "type": "string"
  23230. },
  23231. "contractno": {
  23232. "description": "合同编号",
  23233. "type": "string"
  23234. },
  23235. "contracttype": {
  23236. "description": "现货合同类型 - 1:采购 -1:销售",
  23237. "type": "integer"
  23238. },
  23239. "convertfactor": {
  23240. "description": "标仓系数",
  23241. "type": "number"
  23242. },
  23243. "convertratio": {
  23244. "description": "折算系数(套保品种)",
  23245. "type": "number"
  23246. },
  23247. "curqty": {
  23248. "description": "今定价量",
  23249. "type": "number"
  23250. },
  23251. "deliverygoodscode": {
  23252. "description": "现货品种代码",
  23253. "type": "string"
  23254. },
  23255. "deliverygoodsid": {
  23256. "description": "现货品种id",
  23257. "type": "integer"
  23258. },
  23259. "deliverygoodsname": {
  23260. "description": "现货品种名称",
  23261. "type": "string"
  23262. },
  23263. "diffhedgeqty": {
  23264. "description": "套保变动量",
  23265. "type": "number"
  23266. },
  23267. "diffneedhedgeqty": {
  23268. "description": "应套保变动量",
  23269. "type": "number"
  23270. },
  23271. "diffqty": {
  23272. "description": "套保品种今变动量",
  23273. "type": "number"
  23274. },
  23275. "enumdicname": {
  23276. "description": "单位名称",
  23277. "type": "string"
  23278. },
  23279. "mgunitname": {
  23280. "description": "套保品种单位名称",
  23281. "type": "string"
  23282. },
  23283. "middlegoodscode": {
  23284. "description": "套保品种代码",
  23285. "type": "string"
  23286. },
  23287. "middlegoodsid": {
  23288. "description": "套保品种id",
  23289. "type": "integer"
  23290. },
  23291. "middlegoodsname": {
  23292. "description": "套保品种名称",
  23293. "type": "string"
  23294. },
  23295. "needarbitrageratio": {
  23296. "description": "应套利比例",
  23297. "type": "number"
  23298. },
  23299. "needhedgeratio": {
  23300. "description": "应套保比例",
  23301. "type": "number"
  23302. },
  23303. "pricedqty": {
  23304. "description": "已定价量",
  23305. "type": "number"
  23306. },
  23307. "qty": {
  23308. "description": "合同量",
  23309. "type": "number"
  23310. },
  23311. "reckondate": {
  23312. "description": "交易日(reckondate)",
  23313. "type": "string"
  23314. },
  23315. "selluserid": {
  23316. "description": "销售方id",
  23317. "type": "integer"
  23318. },
  23319. "sellusername": {
  23320. "description": "销售方名称",
  23321. "type": "string"
  23322. },
  23323. "spotcontractid": {
  23324. "description": "合同id",
  23325. "type": "string"
  23326. },
  23327. "todaypricedqty": {
  23328. "description": "今定价量",
  23329. "type": "number"
  23330. },
  23331. "tradedate": {
  23332. "description": "交易日",
  23333. "type": "string"
  23334. },
  23335. "unitid": {
  23336. "description": "品类单位id",
  23337. "type": "integer"
  23338. },
  23339. "userid": {
  23340. "description": "机构id",
  23341. "type": "integer"
  23342. },
  23343. "username": {
  23344. "description": "交易用户",
  23345. "type": "string"
  23346. },
  23347. "wrstandardcode": {
  23348. "description": "现货商品代码",
  23349. "type": "string"
  23350. },
  23351. "wrstandardid": {
  23352. "description": "现货商品id",
  23353. "type": "integer"
  23354. },
  23355. "wrstandardname": {
  23356. "description": "现货商品名称",
  23357. "type": "string"
  23358. }
  23359. }
  23360. },
  23361. "models.Ermcp3ExposureDetail": {
  23362. "type": "object",
  23363. "properties": {
  23364. "areauserid": {
  23365. "description": "机构ID",
  23366. "type": "integer"
  23367. },
  23368. "changeQty": {
  23369. "description": "套保变动量",
  23370. "type": "number"
  23371. },
  23372. "contracttype": {
  23373. "description": "现货合同类型 - 1:采购 -1:销售",
  23374. "type": "integer"
  23375. },
  23376. "convertfactor": {
  23377. "description": "标仓系数",
  23378. "type": "number"
  23379. },
  23380. "convertratio": {
  23381. "description": "折算系数",
  23382. "type": "number"
  23383. },
  23384. "createtime": {
  23385. "description": "时间",
  23386. "type": "string"
  23387. },
  23388. "enumdicname": {
  23389. "description": "现货商品单位名称",
  23390. "type": "string"
  23391. },
  23392. "logtype": {
  23393. "description": "类型 - 1:套保计划 2:现货合同",
  23394. "type": "integer"
  23395. },
  23396. "mgunitid": {
  23397. "description": "套保品种单位id",
  23398. "type": "integer"
  23399. },
  23400. "mgunitidname": {
  23401. "description": "套保品种单位名称",
  23402. "type": "string"
  23403. },
  23404. "middlegoodsId": {
  23405. "description": "套保商品id",
  23406. "type": "integer"
  23407. },
  23408. "middlegoodscode": {
  23409. "description": "套保商品代码",
  23410. "type": "string"
  23411. },
  23412. "middlegoodsname": {
  23413. "description": "套保商品名称",
  23414. "type": "string"
  23415. },
  23416. "qty": {
  23417. "description": "数量",
  23418. "type": "number"
  23419. },
  23420. "relateNo": {
  23421. "description": "现货合同/套保计划编号",
  23422. "type": "string"
  23423. },
  23424. "unitid": {
  23425. "description": "现货商品单位id",
  23426. "type": "integer"
  23427. },
  23428. "wrstandardcode": {
  23429. "description": "现货商品代码",
  23430. "type": "string"
  23431. },
  23432. "wrstandardid": {
  23433. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23434. "type": "integer"
  23435. },
  23436. "wrstandardname": {
  23437. "description": "现货商品名称",
  23438. "type": "string"
  23439. }
  23440. }
  23441. },
  23442. "models.Ermcp3ExposureFutuDetail": {
  23443. "type": "object",
  23444. "properties": {
  23445. "accountid": {
  23446. "description": "交易账户id",
  23447. "type": "integer"
  23448. },
  23449. "accountname": {
  23450. "description": "交易账户",
  23451. "type": "string"
  23452. },
  23453. "begindate": {
  23454. "description": "开始交易日",
  23455. "type": "string"
  23456. },
  23457. "buyorsell": {
  23458. "description": "方向 0-买 1-卖",
  23459. "type": "integer"
  23460. },
  23461. "diffmgqty": {
  23462. "description": "套保品种今变化量",
  23463. "type": "number"
  23464. },
  23465. "diffneedqty": {
  23466. "description": "应套保总量变化量",
  23467. "type": "number"
  23468. },
  23469. "difftradeqty": {
  23470. "description": "交易品种今变化量",
  23471. "type": "number"
  23472. },
  23473. "enddate": {
  23474. "description": "结束交易日",
  23475. "type": "string"
  23476. },
  23477. "enumdicname": {
  23478. "description": "单位名称",
  23479. "type": "string"
  23480. },
  23481. "goodscode": {
  23482. "description": "商品代码",
  23483. "type": "string"
  23484. },
  23485. "goodsid": {
  23486. "description": "商品id",
  23487. "type": "integer"
  23488. },
  23489. "goodsname": {
  23490. "description": "商品名称",
  23491. "type": "string"
  23492. },
  23493. "holdqty": {
  23494. "description": "期末持仓量",
  23495. "type": "number"
  23496. },
  23497. "middlegoodscode": {
  23498. "description": "套保商品代码",
  23499. "type": "string"
  23500. },
  23501. "middlegoodsid": {
  23502. "description": "套保商品id",
  23503. "type": "integer"
  23504. },
  23505. "middlegoodsname": {
  23506. "description": "套保商品名称",
  23507. "type": "string"
  23508. },
  23509. "oriholdqty": {
  23510. "description": "期初持仓量",
  23511. "type": "number"
  23512. },
  23513. "reckondate": {
  23514. "description": "交易日(RECKONDATE)",
  23515. "type": "string"
  23516. },
  23517. "todaycloseqty": {
  23518. "description": "今平仓量",
  23519. "type": "number"
  23520. },
  23521. "todayopenqty": {
  23522. "description": "今开仓量",
  23523. "type": "number"
  23524. },
  23525. "tradedate": {
  23526. "description": "交易日(RECKONDATE)",
  23527. "type": "string"
  23528. },
  23529. "username": {
  23530. "description": "用户名称(交易用户)",
  23531. "type": "string"
  23532. }
  23533. }
  23534. },
  23535. "models.Ermcp3ExposureHedgeplanDetail": {
  23536. "type": "object",
  23537. "properties": {
  23538. "biztype": {
  23539. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  23540. "type": "integer"
  23541. },
  23542. "changqty": {
  23543. "description": "应套保总量变化量",
  23544. "type": "number"
  23545. },
  23546. "contracttype": {
  23547. "description": "计划类型 - 1:采购 -1:销售",
  23548. "type": "integer"
  23549. },
  23550. "convertratio": {
  23551. "description": "折算系数(套保品种)",
  23552. "type": "number"
  23553. },
  23554. "deliverygoodscode": {
  23555. "description": "现货商品代码",
  23556. "type": "string"
  23557. },
  23558. "deliverygoodsid": {
  23559. "description": "现货商品id",
  23560. "type": "integer"
  23561. },
  23562. "deliverygoodsname": {
  23563. "description": "现货商吕名称",
  23564. "type": "string"
  23565. },
  23566. "dgunitid": {
  23567. "description": "现货商品单位id",
  23568. "type": "integer"
  23569. },
  23570. "dgunitidname": {
  23571. "description": "单位名称(现货商品)",
  23572. "type": "string"
  23573. },
  23574. "diffqty": {
  23575. "description": "套保品种今变动量",
  23576. "type": "number"
  23577. },
  23578. "enumdicname": {
  23579. "description": "单位名称(品类)",
  23580. "type": "string"
  23581. },
  23582. "hedgeplanid": {
  23583. "description": "套保计划id",
  23584. "type": "string"
  23585. },
  23586. "hedgeplanno": {
  23587. "description": "套保计划名称",
  23588. "type": "string"
  23589. },
  23590. "hedgeplanstatus": {
  23591. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23592. "type": "integer"
  23593. },
  23594. "mgunitidname": {
  23595. "description": "单位名称(套保商品)",
  23596. "type": "string"
  23597. },
  23598. "middlegoodscode": {
  23599. "description": "套保品种代码",
  23600. "type": "string"
  23601. },
  23602. "middlegoodsid": {
  23603. "description": "套保品种id",
  23604. "type": "integer"
  23605. },
  23606. "middlegoodsname": {
  23607. "description": "套保品种名称",
  23608. "type": "string"
  23609. },
  23610. "needarbitrageratio": {
  23611. "description": "应套利比例",
  23612. "type": "number"
  23613. },
  23614. "needhedgeratio": {
  23615. "description": "应套保比例",
  23616. "type": "number"
  23617. },
  23618. "pricedqty": {
  23619. "description": "已定价量",
  23620. "type": "number"
  23621. },
  23622. "qty": {
  23623. "description": "合同量",
  23624. "type": "number"
  23625. },
  23626. "reckondate": {
  23627. "description": "交易日(reckondate)",
  23628. "type": "string"
  23629. },
  23630. "tradedate": {
  23631. "description": "交易日(登记日)",
  23632. "type": "string"
  23633. },
  23634. "unitid": {
  23635. "description": "品类单位id",
  23636. "type": "integer"
  23637. },
  23638. "userid": {
  23639. "description": "机构id",
  23640. "type": "integer"
  23641. },
  23642. "wrstandardcode": {
  23643. "description": "品类代码",
  23644. "type": "string"
  23645. },
  23646. "wrstandardid": {
  23647. "description": "品类id",
  23648. "type": "integer"
  23649. },
  23650. "wrstandardname": {
  23651. "description": "品类名称",
  23652. "type": "string"
  23653. }
  23654. }
  23655. },
  23656. "models.Ermcp3ExposureParamChLog": {
  23657. "type": "object",
  23658. "properties": {
  23659. "accountid": {
  23660. "description": "期货账户ID (作废, 默认为0)",
  23661. "type": "integer"
  23662. },
  23663. "aftervalue": {
  23664. "description": "应套保\\套利量变更后(调整后应套保总量)",
  23665. "type": "number"
  23666. },
  23667. "areauserid": {
  23668. "description": "所属机构\\交易用户ID",
  23669. "type": "integer"
  23670. },
  23671. "beforevalue": {
  23672. "description": "应套保\\套利量变更前(调整前应套保总量)",
  23673. "type": "number"
  23674. },
  23675. "begindate": {
  23676. "description": "开始交易日",
  23677. "type": "string"
  23678. },
  23679. "changelogtype": {
  23680. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  23681. "type": "integer"
  23682. },
  23683. "curvalue": {
  23684. "description": "当前套保\\套利量(套保总量|套利总量)",
  23685. "type": "number"
  23686. },
  23687. "diffvalue": {
  23688. "description": "应套保总量变化量",
  23689. "type": "number"
  23690. },
  23691. "enddate": {
  23692. "description": "结束交易日",
  23693. "type": "string"
  23694. },
  23695. "logdatetime": {
  23696. "description": "流水日期",
  23697. "type": "string"
  23698. },
  23699. "logid": {
  23700. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  23701. "type": "string"
  23702. },
  23703. "middlegoodscode": {
  23704. "description": "套保品种代码",
  23705. "type": "string"
  23706. },
  23707. "middlegoodsid": {
  23708. "description": "套保品种",
  23709. "type": "integer"
  23710. },
  23711. "middlegoodsname": {
  23712. "description": "套保品种名称",
  23713. "type": "string"
  23714. },
  23715. "paramaftervalue": {
  23716. "description": "参数变更后(调整后参数值)",
  23717. "type": "number"
  23718. },
  23719. "parambeforevalue": {
  23720. "description": "参数变更前(调整前参数值)",
  23721. "type": "number"
  23722. },
  23723. "reckondate": {
  23724. "description": "交易日(reckondate)",
  23725. "type": "string"
  23726. },
  23727. "tradedate": {
  23728. "description": "交易日(yyyyMMdd)",
  23729. "type": "string"
  23730. }
  23731. }
  23732. },
  23733. "models.Ermcp3ExpourseReport": {
  23734. "type": "object",
  23735. "properties": {
  23736. "accountid": {
  23737. "description": "期货账户ID (作废, 默认为0)",
  23738. "type": "integer"
  23739. },
  23740. "accountname": {
  23741. "description": "机构名称",
  23742. "type": "string"
  23743. },
  23744. "arbitrageqty": {
  23745. "description": "套利量",
  23746. "type": "number"
  23747. },
  23748. "areauserid": {
  23749. "description": "所属机构\\交易用户ID",
  23750. "type": "integer"
  23751. },
  23752. "begindate": {
  23753. "description": "开始交易日",
  23754. "type": "string"
  23755. },
  23756. "buyfutureqty": {
  23757. "description": "买入期货数量",
  23758. "type": "number"
  23759. },
  23760. "buyplanqty": {
  23761. "description": "采购计划数量",
  23762. "type": "number"
  23763. },
  23764. "buypricedqty": {
  23765. "description": "采购合同已定价数量",
  23766. "type": "number"
  23767. },
  23768. "cycletime": {
  23769. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23770. "type": "string"
  23771. },
  23772. "cycletype": {
  23773. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23774. "type": "integer"
  23775. },
  23776. "diffexposure": {
  23777. "description": "变动量(套保敞口)",
  23778. "type": "number"
  23779. },
  23780. "difffutuqty": {
  23781. "description": "变动量(期货)",
  23782. "type": "number"
  23783. },
  23784. "diffhedgeqty": {
  23785. "description": "变动量(现货应套保总量)",
  23786. "type": "number"
  23787. },
  23788. "diffmgqtya": {
  23789. "description": "套保变动量",
  23790. "type": "number"
  23791. },
  23792. "diffmgqtyb": {
  23793. "description": "套利变动量",
  23794. "type": "number"
  23795. },
  23796. "diffneedqty": {
  23797. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  23798. "type": "number"
  23799. },
  23800. "diffqty": {
  23801. "description": "变动量(总敞口)",
  23802. "type": "number"
  23803. },
  23804. "diffspotqty": {
  23805. "description": "变动量(现货) | 除税变动量",
  23806. "type": "number"
  23807. },
  23808. "enddate": {
  23809. "description": "结束交易日",
  23810. "type": "string"
  23811. },
  23812. "enumdicname": {
  23813. "description": "单位名称",
  23814. "type": "string"
  23815. },
  23816. "hedgeqty": {
  23817. "description": "套保量",
  23818. "type": "number"
  23819. },
  23820. "mgneedhedgeratio": {
  23821. "description": "套保比例(套保品的)",
  23822. "type": "number"
  23823. },
  23824. "middlegoodsid": {
  23825. "description": "套保品种ID",
  23826. "type": "integer"
  23827. },
  23828. "middlegoodsname": {
  23829. "description": "套保商品名称",
  23830. "type": "string"
  23831. },
  23832. "middlgoodscode": {
  23833. "description": "套保商品代码",
  23834. "type": "string"
  23835. },
  23836. "needarbitrageqty": {
  23837. "description": "应套利量",
  23838. "type": "number"
  23839. },
  23840. "needarbitrageratio": {
  23841. "description": "套利比例(套保品的)",
  23842. "type": "number"
  23843. },
  23844. "needhedgeexposoure": {
  23845. "description": "应套保敞口(套保敞口)",
  23846. "type": "number"
  23847. },
  23848. "needhedgeqty": {
  23849. "description": "应套保量",
  23850. "type": "number"
  23851. },
  23852. "needhedgeratio": {
  23853. "description": "应套保敞口比例",
  23854. "type": "number"
  23855. },
  23856. "needqty": {
  23857. "description": "应套总量 = 应套保量 + 应套利量",
  23858. "type": "number"
  23859. },
  23860. "oriarbitrageqty": {
  23861. "description": "期初套利量",
  23862. "type": "number"
  23863. },
  23864. "oribuyfutureqty": {
  23865. "description": "期初买入期货数量",
  23866. "type": "number"
  23867. },
  23868. "oribuyplanqty": {
  23869. "description": "期初采购计划数量",
  23870. "type": "number"
  23871. },
  23872. "oribuypricedqty": {
  23873. "description": "期初采购合同已定价数量",
  23874. "type": "number"
  23875. },
  23876. "orihedgeqty": {
  23877. "description": "期初套保量",
  23878. "type": "number"
  23879. },
  23880. "orineedarbitrageqty": {
  23881. "description": "期初应套利量",
  23882. "type": "number"
  23883. },
  23884. "orineedhedgeexposoure": {
  23885. "description": "期初应套保敞口",
  23886. "type": "number"
  23887. },
  23888. "orineedhedgeqty": {
  23889. "description": "期初应套保量",
  23890. "type": "number"
  23891. },
  23892. "orisellfutureqty": {
  23893. "description": "期初卖出期货数量",
  23894. "type": "number"
  23895. },
  23896. "orisellplanqty": {
  23897. "description": "期初销售计划数量",
  23898. "type": "number"
  23899. },
  23900. "orisellpricedqty": {
  23901. "description": "期初销售合同已定价数量",
  23902. "type": "number"
  23903. },
  23904. "oritotalexposure": {
  23905. "description": "期初实时总敞口",
  23906. "type": "number"
  23907. },
  23908. "oritotalfutureqty": {
  23909. "description": "期初期货头寸总量",
  23910. "type": "number"
  23911. },
  23912. "oritotalneedhedgeqty": {
  23913. "description": "期初应套保总量",
  23914. "type": "number"
  23915. },
  23916. "oritotalspotqty": {
  23917. "description": "期初现货头寸总量",
  23918. "type": "number"
  23919. },
  23920. "reckondate": {
  23921. "description": "日照时期(yyyyMMdd)",
  23922. "type": "string"
  23923. },
  23924. "sellfutureqty": {
  23925. "description": "卖出期货数量",
  23926. "type": "number"
  23927. },
  23928. "sellplanqty": {
  23929. "description": "销售计划数量",
  23930. "type": "number"
  23931. },
  23932. "sellpricedqty": {
  23933. "description": "销售合同已定价数量",
  23934. "type": "number"
  23935. },
  23936. "totalexposure": {
  23937. "description": "实时总敞口(总敞口)",
  23938. "type": "number"
  23939. },
  23940. "totalfutureqty": {
  23941. "description": "期货头寸总量(期货总量)",
  23942. "type": "number"
  23943. },
  23944. "totalhedgeratio": {
  23945. "description": "敞口比例",
  23946. "type": "number"
  23947. },
  23948. "totalneedhedgeqty": {
  23949. "description": "应套保总量(现货应套保总量)",
  23950. "type": "number"
  23951. },
  23952. "totalspotqty": {
  23953. "description": "现货头寸总量 | 除税总量",
  23954. "type": "number"
  23955. },
  23956. "unitid": {
  23957. "description": "单位id",
  23958. "type": "integer"
  23959. },
  23960. "updatetime": {
  23961. "description": "更新时间",
  23962. "type": "string"
  23963. }
  23964. }
  23965. },
  23966. "models.Ermcp3FinanceReport": {
  23967. "type": "object",
  23968. "properties": {
  23969. "accountname": {
  23970. "description": "机构名称",
  23971. "type": "string"
  23972. },
  23973. "areauserid": {
  23974. "description": "所属机构\\交易用户ID",
  23975. "type": "integer"
  23976. },
  23977. "begindate": {
  23978. "description": "开始交易日",
  23979. "type": "string"
  23980. },
  23981. "biztype": {
  23982. "description": "业务类型 - 1:套保 2:套利",
  23983. "type": "integer"
  23984. },
  23985. "brandname": {
  23986. "description": "品牌名称",
  23987. "type": "string"
  23988. },
  23989. "buypreinvoicedamount": {
  23990. "description": "采购预收票额(预收票额)",
  23991. "type": "number"
  23992. },
  23993. "buyprepaidamount": {
  23994. "description": "采购预付款额(预付货款额)",
  23995. "type": "number"
  23996. },
  23997. "buytodayinvoiceamount": {
  23998. "description": "采购今收票额(今收票额)",
  23999. "type": "number"
  24000. },
  24001. "buytodayrefundamount": {
  24002. "description": "采购今收退款额(今收退款额)",
  24003. "type": "number"
  24004. },
  24005. "buytodaysettleamount": {
  24006. "description": "采购今付款额(今付货款额)",
  24007. "type": "number"
  24008. },
  24009. "buyuninvoicedamount": {
  24010. "description": "采购应收票额(应收票额)",
  24011. "type": "number"
  24012. },
  24013. "buyunpaidamount": {
  24014. "description": "采购应付款额(应付货款额)",
  24015. "type": "number"
  24016. },
  24017. "currencyid": {
  24018. "description": "结算币种ID",
  24019. "type": "integer"
  24020. },
  24021. "currencyname": {
  24022. "description": "币种名称",
  24023. "type": "string"
  24024. },
  24025. "cycletime": {
  24026. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24027. "type": "string"
  24028. },
  24029. "cycletype": {
  24030. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24031. "type": "integer"
  24032. },
  24033. "deliverygoodscode": {
  24034. "description": "现货品种代码",
  24035. "type": "string"
  24036. },
  24037. "deliverygoodsid": {
  24038. "description": "现货品种ID",
  24039. "type": "integer"
  24040. },
  24041. "deliverygoodsname": {
  24042. "description": "现货品种名称",
  24043. "type": "string"
  24044. },
  24045. "enddate": {
  24046. "description": "结束交易日",
  24047. "type": "string"
  24048. },
  24049. "reckondate": {
  24050. "description": "日照时期(yyyyMMdd)",
  24051. "type": "string"
  24052. },
  24053. "sellpreinvoicedamount": {
  24054. "description": "销售预开票额(预开票额)",
  24055. "type": "number"
  24056. },
  24057. "sellprepaidamount": {
  24058. "description": "销售预收款额(预收货款额)",
  24059. "type": "number"
  24060. },
  24061. "selltodayinvoiceamount": {
  24062. "description": "销售今开票额(今开票额)",
  24063. "type": "number"
  24064. },
  24065. "selltodayrefundamount": {
  24066. "description": "销售今付退款额(今付退款额)",
  24067. "type": "number"
  24068. },
  24069. "selltodaysettleamount": {
  24070. "description": "销售今收款额(今收货款额)",
  24071. "type": "number"
  24072. },
  24073. "selluninvoicedamount": {
  24074. "description": "销售应开票额(应开票额)",
  24075. "type": "number"
  24076. },
  24077. "sellunpaidamount": {
  24078. "description": "销售应收款额(应收货款额)",
  24079. "type": "number"
  24080. },
  24081. "spotgoodsbrandid": {
  24082. "description": "现货品牌ID",
  24083. "type": "integer"
  24084. },
  24085. "todaypaysum": {
  24086. "description": "今付款合计",
  24087. "type": "number"
  24088. },
  24089. "todayreceivesum": {
  24090. "description": "今收款合计",
  24091. "type": "number"
  24092. },
  24093. "updatetime": {
  24094. "description": "更新时间",
  24095. "type": "string"
  24096. },
  24097. "wrfactortypeid": {
  24098. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24099. "type": "integer"
  24100. },
  24101. "wrstandardcode": {
  24102. "description": "品类代码",
  24103. "type": "string"
  24104. },
  24105. "wrstandardid": {
  24106. "description": "现货商品ID",
  24107. "type": "integer"
  24108. },
  24109. "wrstandardname": {
  24110. "description": "品类名称",
  24111. "type": "string"
  24112. }
  24113. }
  24114. },
  24115. "models.Ermcp3GoodsGroup": {
  24116. "type": "object",
  24117. "required": [
  24118. "areauserid"
  24119. ],
  24120. "properties": {
  24121. "agreeunit": {
  24122. "description": "合约单位",
  24123. "type": "number"
  24124. },
  24125. "areauserid": {
  24126. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  24127. "type": "integer"
  24128. },
  24129. "canshort": {
  24130. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24131. "type": "integer"
  24132. },
  24133. "closepricemode": {
  24134. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24135. "type": "integer"
  24136. },
  24137. "createtime": {
  24138. "description": "创建时间",
  24139. "type": "string"
  24140. },
  24141. "creatorid": {
  24142. "description": "创建人",
  24143. "type": "integer"
  24144. },
  24145. "currencyid": {
  24146. "description": "报价货币ID",
  24147. "type": "integer"
  24148. },
  24149. "decimalplace": {
  24150. "description": "报价小数位",
  24151. "type": "integer"
  24152. },
  24153. "enumdicname": {
  24154. "description": "单位名称",
  24155. "type": "string"
  24156. },
  24157. "exchangefullname": {
  24158. "description": "交易所全称",
  24159. "type": "string"
  24160. },
  24161. "excludecfg": {
  24162. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  24163. "type": "integer"
  24164. },
  24165. "exexchangecode": {
  24166. "description": "交易所代码",
  24167. "type": "string"
  24168. },
  24169. "exexchangeid": {
  24170. "description": "外部交易所ID[通道交易]",
  24171. "type": "integer"
  24172. },
  24173. "exexchangename": {
  24174. "description": "交易所名称",
  24175. "type": "string"
  24176. },
  24177. "goodsgroupid": {
  24178. "description": "商品组ID(自增ID)",
  24179. "type": "integer"
  24180. },
  24181. "goodsgroupname": {
  24182. "description": "商品组名称",
  24183. "type": "string"
  24184. },
  24185. "goodsgroupstatus": {
  24186. "description": "商品组状态 - 1:正常 2:注销",
  24187. "type": "integer"
  24188. },
  24189. "goodunitid": {
  24190. "description": "报价单位ID",
  24191. "type": "integer"
  24192. },
  24193. "groupcategroyid": {
  24194. "description": "品种分类ID",
  24195. "type": "integer"
  24196. },
  24197. "innerdealmode": {
  24198. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24199. "type": "integer"
  24200. },
  24201. "marketid": {
  24202. "description": "所属市场ID",
  24203. "type": "integer"
  24204. },
  24205. "modifierid": {
  24206. "description": "修改人",
  24207. "type": "integer"
  24208. },
  24209. "modifytime": {
  24210. "description": "修改时间",
  24211. "type": "string"
  24212. },
  24213. "outerdealmode": {
  24214. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24215. "type": "integer"
  24216. },
  24217. "outergroupcode": {
  24218. "description": "外部商品组代码[通道交易]",
  24219. "type": "string"
  24220. },
  24221. "quoteminunit": {
  24222. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24223. "type": "integer"
  24224. },
  24225. "quotesourcegroupid": {
  24226. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24227. "type": "integer"
  24228. },
  24229. "syncgoodsqty": {
  24230. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24231. "type": "integer"
  24232. }
  24233. }
  24234. },
  24235. "models.Ermcp3HPMiddleGoods": {
  24236. "type": "object",
  24237. "properties": {
  24238. "biztype": {
  24239. "description": "业务类型 1:套保 2:套利",
  24240. "type": "integer"
  24241. },
  24242. "contracttype": {
  24243. "description": "合同类型 1:采购 -1:销售",
  24244. "type": "integer"
  24245. },
  24246. "convertratio": {
  24247. "description": "折算系数",
  24248. "type": "number"
  24249. },
  24250. "customername": {
  24251. "description": "对手手名称",
  24252. "type": "string"
  24253. },
  24254. "customeruserid": {
  24255. "description": "对手id",
  24256. "type": "integer"
  24257. },
  24258. "enumdicname": {
  24259. "description": "现货单位名称",
  24260. "type": "string"
  24261. },
  24262. "hedgeplanid": {
  24263. "description": "计划id",
  24264. "type": "string"
  24265. },
  24266. "hedgeplanno": {
  24267. "description": "计划编号",
  24268. "type": "string"
  24269. },
  24270. "middlegoodsid": {
  24271. "description": "套保品种ID",
  24272. "type": "integer"
  24273. },
  24274. "middlegoodsplanqty3": {
  24275. "description": "应套保计划量",
  24276. "type": "number"
  24277. },
  24278. "needhedgeratio": {
  24279. "description": "套保比例",
  24280. "type": "number"
  24281. },
  24282. "pricedqty": {
  24283. "description": "已定价量",
  24284. "type": "number"
  24285. },
  24286. "relatedmiddlegoodsqty": {
  24287. "description": "已关联量(套保品种)(期货)",
  24288. "type": "number"
  24289. },
  24290. "unitid": {
  24291. "description": "现货单位id",
  24292. "type": "integer"
  24293. },
  24294. "userid": {
  24295. "description": "用户id",
  24296. "type": "integer"
  24297. },
  24298. "vatrate": {
  24299. "description": "增值税率",
  24300. "type": "number"
  24301. },
  24302. "wrstandardcode": {
  24303. "description": "现货商品代码",
  24304. "type": "string"
  24305. },
  24306. "wrstandardid": {
  24307. "description": "现货商品id",
  24308. "type": "integer"
  24309. },
  24310. "wrstandardname": {
  24311. "description": "现货商品名称",
  24312. "type": "string"
  24313. }
  24314. }
  24315. },
  24316. "models.Ermcp3HedgePlan": {
  24317. "type": "object",
  24318. "properties": {
  24319. "accountid": {
  24320. "description": "资金账号",
  24321. "type": "integer"
  24322. },
  24323. "areauserid": {
  24324. "description": "用户ID",
  24325. "type": "integer"
  24326. },
  24327. "auditid": {
  24328. "description": "审核id",
  24329. "type": "integer"
  24330. },
  24331. "auditname": {
  24332. "description": "审核人名称",
  24333. "type": "string"
  24334. },
  24335. "auditremark": {
  24336. "description": "审核备注",
  24337. "type": "string"
  24338. },
  24339. "auditsrc": {
  24340. "description": "审核来源 1-管理端 2-终端",
  24341. "type": "integer"
  24342. },
  24343. "audittime": {
  24344. "description": "审核时间",
  24345. "type": "string"
  24346. },
  24347. "contracttype": {
  24348. "description": "计划类型 - 1:采购 -1:销售",
  24349. "type": "integer"
  24350. },
  24351. "convertfactor": {
  24352. "description": "标仓系数",
  24353. "type": "number"
  24354. },
  24355. "createtime": {
  24356. "description": "创建时间",
  24357. "type": "string"
  24358. },
  24359. "currencyid": {
  24360. "description": "币种id",
  24361. "type": "integer"
  24362. },
  24363. "currencyname": {
  24364. "description": "币种名称",
  24365. "type": "string"
  24366. },
  24367. "deliverygoodscode": {
  24368. "description": "现货品种代码",
  24369. "type": "string"
  24370. },
  24371. "deliverygoodsid": {
  24372. "description": "现货品种ID",
  24373. "type": "integer"
  24374. },
  24375. "deliverygoodsname": {
  24376. "description": "现货品种名称",
  24377. "type": "string"
  24378. },
  24379. "enumdicname": {
  24380. "description": "单位名称(现货商品)",
  24381. "type": "string"
  24382. },
  24383. "hedgeplanid": {
  24384. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  24385. "type": "string"
  24386. },
  24387. "hedgeplanno": {
  24388. "description": "套保计划编号(名称)",
  24389. "type": "string"
  24390. },
  24391. "hedgeplanstatus": {
  24392. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24393. "type": "integer"
  24394. },
  24395. "planqty": {
  24396. "description": "计划数量",
  24397. "type": "number"
  24398. },
  24399. "plantime": {
  24400. "description": "计划时间",
  24401. "type": "string"
  24402. },
  24403. "producttype": {
  24404. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24405. "type": "integer"
  24406. },
  24407. "remark": {
  24408. "description": "备注",
  24409. "type": "string"
  24410. },
  24411. "spotgoodsdesc": {
  24412. "description": "商品型号",
  24413. "type": "string"
  24414. },
  24415. "taaccountname": {
  24416. "description": "资金账号名称",
  24417. "type": "string"
  24418. },
  24419. "tradeuserid": {
  24420. "description": "交易用户id",
  24421. "type": "integer"
  24422. },
  24423. "tradeusername": {
  24424. "description": "交易用户名称",
  24425. "type": "string"
  24426. },
  24427. "unitid": {
  24428. "description": "单位id(现货商品)",
  24429. "type": "integer"
  24430. },
  24431. "updatetime": {
  24432. "description": "更新时间",
  24433. "type": "string"
  24434. },
  24435. "vatrate": {
  24436. "description": "增值税率",
  24437. "type": "number"
  24438. },
  24439. "wrstandardcode": {
  24440. "description": "品类代码",
  24441. "type": "string"
  24442. },
  24443. "wrstandardid": {
  24444. "description": "品类id",
  24445. "type": "integer"
  24446. },
  24447. "wrstandardname": {
  24448. "description": "品类名称",
  24449. "type": "string"
  24450. },
  24451. "wrunitid": {
  24452. "description": "品类单位id",
  24453. "type": "integer"
  24454. },
  24455. "wrunitidame": {
  24456. "description": "品类单位名称",
  24457. "type": "string"
  24458. }
  24459. }
  24460. },
  24461. "models.Ermcp3InnerTradeLink": {
  24462. "type": "object",
  24463. "properties": {
  24464. "accountid": {
  24465. "description": "期货账号代码 | 资金账号ID",
  24466. "type": "integer"
  24467. },
  24468. "buyorsell": {
  24469. "description": "方向 - 0:买 1:卖",
  24470. "type": "integer"
  24471. },
  24472. "channelbuildtype": {
  24473. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24474. "type": "integer"
  24475. },
  24476. "currencyid": {
  24477. "description": "币种id",
  24478. "type": "integer"
  24479. },
  24480. "currencyname": {
  24481. "description": "结算币种 名称",
  24482. "type": "string"
  24483. },
  24484. "goodscode": {
  24485. "description": "商品代码",
  24486. "type": "string"
  24487. },
  24488. "goodsid": {
  24489. "description": "商品ID",
  24490. "type": "integer"
  24491. },
  24492. "goodsname": {
  24493. "description": "商品名称",
  24494. "type": "string"
  24495. },
  24496. "outtradeid": {
  24497. "description": "外部成交单号",
  24498. "type": "string"
  24499. },
  24500. "taname": {
  24501. "description": "期货账户名称",
  24502. "type": "string"
  24503. },
  24504. "tradeid": {
  24505. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24506. "type": "string"
  24507. },
  24508. "tradeprice": {
  24509. "description": "成交价格",
  24510. "type": "number"
  24511. },
  24512. "tradeqty": {
  24513. "description": "期货成交数量",
  24514. "type": "integer"
  24515. },
  24516. "tradetime": {
  24517. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  24518. "type": "string"
  24519. },
  24520. "username": {
  24521. "description": "用户名称",
  24522. "type": "string"
  24523. }
  24524. }
  24525. },
  24526. "models.Ermcp3OutTradeLink": {
  24527. "type": "object",
  24528. "properties": {
  24529. "buyorsell": {
  24530. "description": "买卖方向 - 0:买 1:卖",
  24531. "type": "integer"
  24532. },
  24533. "channelbuildtype": {
  24534. "description": "开平标志- 0:无 1:建仓 2:平仓",
  24535. "type": "integer"
  24536. },
  24537. "currencyname": {
  24538. "description": "币种名称",
  24539. "type": "string"
  24540. },
  24541. "exexchangecode": {
  24542. "description": "交易所代码",
  24543. "type": "string"
  24544. },
  24545. "exexchangename": {
  24546. "description": "交易所名称",
  24547. "type": "string"
  24548. },
  24549. "goodscode": {
  24550. "description": "合约代码",
  24551. "type": "string"
  24552. },
  24553. "goodsid": {
  24554. "description": "合约id",
  24555. "type": "integer"
  24556. },
  24557. "goodsname": {
  24558. "description": "合约名称",
  24559. "type": "string"
  24560. },
  24561. "hasinnerorder": {
  24562. "description": "是否有内部单关联 - 0:无 1:有",
  24563. "type": "integer"
  24564. },
  24565. "hedgeaccountcode": {
  24566. "description": "外部账号 | 对冲账号",
  24567. "type": "string"
  24568. },
  24569. "outtradeid": {
  24570. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24571. "type": "string"
  24572. },
  24573. "tradeprice": {
  24574. "description": "成交价格",
  24575. "type": "number"
  24576. },
  24577. "tradeqty": {
  24578. "description": "成交数量",
  24579. "type": "integer"
  24580. },
  24581. "tradetime": {
  24582. "description": "成交时间",
  24583. "type": "string"
  24584. }
  24585. }
  24586. },
  24587. "models.Ermcp3PaAreaAuditCfg": {
  24588. "type": "object",
  24589. "properties": {
  24590. "areauserid": {
  24591. "description": "用户ID",
  24592. "type": "integer"
  24593. },
  24594. "buyinauditflag": {
  24595. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  24596. "type": "integer"
  24597. },
  24598. "costratioauditflag": {
  24599. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  24600. "type": "integer"
  24601. },
  24602. "customerauditflag": {
  24603. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  24604. "type": "integer"
  24605. },
  24606. "deliveryauditflag": {
  24607. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  24608. "type": "integer"
  24609. },
  24610. "invoiceauditflag": {
  24611. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  24612. "type": "integer"
  24613. },
  24614. "mgneedhedgeratioauditflag": {
  24615. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  24616. "type": "integer"
  24617. },
  24618. "moneyauditflag": {
  24619. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  24620. "type": "integer"
  24621. },
  24622. "operatorid": {
  24623. "description": "操作人",
  24624. "type": "integer"
  24625. },
  24626. "operatorsrc": {
  24627. "description": "操作来源 - 1:管理端 2:终端",
  24628. "type": "integer"
  24629. },
  24630. "pointpriceauditflag": {
  24631. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  24632. "type": "integer"
  24633. },
  24634. "produceinauditflag": {
  24635. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  24636. "type": "integer"
  24637. },
  24638. "produceoutauditflag": {
  24639. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  24640. "type": "integer"
  24641. },
  24642. "selloutauditflag": {
  24643. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  24644. "type": "integer"
  24645. },
  24646. "sgconvertratioauditflag": {
  24647. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  24648. "type": "integer"
  24649. },
  24650. "sgvtaratioauditflag": {
  24651. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  24652. "type": "integer"
  24653. },
  24654. "spotcontractauditflag": {
  24655. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  24656. "type": "integer"
  24657. },
  24658. "updatetime": {
  24659. "description": "更新时间",
  24660. "type": "string"
  24661. }
  24662. }
  24663. },
  24664. "models.Ermcp3PaAreaSubject": {
  24665. "type": "object",
  24666. "properties": {
  24667. "areauserid": {
  24668. "description": "所属机构",
  24669. "type": "integer"
  24670. },
  24671. "canmodify": {
  24672. "description": "是否可修改 - 0:否 1:是",
  24673. "type": "integer"
  24674. },
  24675. "createtime": {
  24676. "description": "创建时间",
  24677. "type": "string"
  24678. },
  24679. "creatorid": {
  24680. "description": "创建人ID",
  24681. "type": "string"
  24682. },
  24683. "creatorsrc": {
  24684. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24685. "type": "integer"
  24686. },
  24687. "modifierid": {
  24688. "description": "修改人",
  24689. "type": "string"
  24690. },
  24691. "modifiersrc": {
  24692. "description": "修改人来源 - 1:管理端 2:终端",
  24693. "type": "integer"
  24694. },
  24695. "modifytime": {
  24696. "description": "修改时间",
  24697. "type": "string"
  24698. },
  24699. "parentsubjectid": {
  24700. "description": "上级主体ID",
  24701. "type": "string"
  24702. },
  24703. "remark": {
  24704. "description": "备注",
  24705. "type": "string"
  24706. },
  24707. "subjectid": {
  24708. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  24709. "type": "integer"
  24710. },
  24711. "subjectname": {
  24712. "description": "主体名称",
  24713. "type": "string"
  24714. },
  24715. "subjectstatus": {
  24716. "description": "主体状态 - 1:正常 2: 停用",
  24717. "type": "integer"
  24718. },
  24719. "subjecttype": {
  24720. "description": "主体类型 - 1:交易主体 2:业务部门",
  24721. "type": "integer"
  24722. }
  24723. }
  24724. },
  24725. "models.Ermcp3PaTradeLink": {
  24726. "type": "object",
  24727. "properties": {
  24728. "accountid": {
  24729. "description": "期货账户代码 | 账号ID",
  24730. "type": "integer"
  24731. },
  24732. "agreeunit": {
  24733. "description": "合约乘数",
  24734. "type": "number"
  24735. },
  24736. "buyorsell": {
  24737. "description": "方向 - 0:买 1:卖",
  24738. "type": "integer"
  24739. },
  24740. "channelbuildtype": {
  24741. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24742. "type": "integer"
  24743. },
  24744. "charge": {
  24745. "description": "手续费",
  24746. "type": "number"
  24747. },
  24748. "closepl": {
  24749. "description": "平仓盈亏",
  24750. "type": "number"
  24751. },
  24752. "closetype": {
  24753. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24754. "type": "integer"
  24755. },
  24756. "convertratio": {
  24757. "description": "折算系数",
  24758. "type": "number"
  24759. },
  24760. "enumdicname": {
  24761. "description": "单位名称",
  24762. "type": "string"
  24763. },
  24764. "executeprice": {
  24765. "description": "执行价 [期权]",
  24766. "type": "integer"
  24767. },
  24768. "goodscode": {
  24769. "description": "合约代码",
  24770. "type": "string"
  24771. },
  24772. "goodsgroupid": {
  24773. "description": "对冲品种ID[期货合约商品组ID]",
  24774. "type": "integer"
  24775. },
  24776. "goodsid": {
  24777. "description": "商品ID",
  24778. "type": "integer"
  24779. },
  24780. "goodsname": {
  24781. "description": "合约名称",
  24782. "type": "string"
  24783. },
  24784. "goodunitid": {
  24785. "description": "单位id",
  24786. "type": "integer"
  24787. },
  24788. "hedgeflag": {
  24789. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  24790. "type": "integer"
  24791. },
  24792. "marketid": {
  24793. "description": "市场ID",
  24794. "type": "integer"
  24795. },
  24796. "middlegoodsid": {
  24797. "description": "套保品种ID",
  24798. "type": "integer"
  24799. },
  24800. "middlegoodsqty": {
  24801. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  24802. "type": "number"
  24803. },
  24804. "optioncode": {
  24805. "description": "期权代码 [期权]",
  24806. "type": "string"
  24807. },
  24808. "ordertype": {
  24809. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  24810. "type": "integer"
  24811. },
  24812. "ordertypename": {
  24813. "description": "订单类型",
  24814. "type": "string"
  24815. },
  24816. "parentaccountid": {
  24817. "description": "所属母账户",
  24818. "type": "integer"
  24819. },
  24820. "premium": {
  24821. "description": "权利金 [期权]",
  24822. "type": "number"
  24823. },
  24824. "relatedlot": {
  24825. "description": "已关联数量(已关联数量手) | db:关联手数",
  24826. "type": "number"
  24827. },
  24828. "relatedouttradeid": {
  24829. "description": "关联外部成交单ID",
  24830. "type": "string"
  24831. },
  24832. "relatedqty": {
  24833. "description": "关联数量",
  24834. "type": "number"
  24835. },
  24836. "spotcontractid": {
  24837. "description": "现货合同ID [4:套期保值\\10\\11]",
  24838. "type": "string"
  24839. },
  24840. "taname": {
  24841. "description": "期货账户名称",
  24842. "type": "string"
  24843. },
  24844. "tradeamount": {
  24845. "description": "成交金额(账户)",
  24846. "type": "number"
  24847. },
  24848. "tradedate": {
  24849. "description": "交易日(yyyyMMdd)",
  24850. "type": "string"
  24851. },
  24852. "tradeid": {
  24853. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24854. "type": "string"
  24855. },
  24856. "tradelot": {
  24857. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  24858. "type": "integer"
  24859. },
  24860. "tradeprice": {
  24861. "description": "成交价格",
  24862. "type": "number"
  24863. },
  24864. "tradetime": {
  24865. "description": "时间 | db:成交时间",
  24866. "type": "string"
  24867. },
  24868. "tradetype": {
  24869. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  24870. "type": "integer"
  24871. },
  24872. "userid": {
  24873. "description": "所属机构 - 所属母账户的UserID",
  24874. "type": "string"
  24875. },
  24876. "username": {
  24877. "description": "用户名称",
  24878. "type": "string"
  24879. }
  24880. }
  24881. },
  24882. "models.Ermcp3ParamChangeApp": {
  24883. "type": "object",
  24884. "properties": {
  24885. "aftervalue": {
  24886. "description": "变更后",
  24887. "type": "number"
  24888. },
  24889. "applicationid": {
  24890. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  24891. "type": "string"
  24892. },
  24893. "applyid": {
  24894. "description": "申请人",
  24895. "type": "string"
  24896. },
  24897. "applyname": {
  24898. "description": "申请人名称(代码)",
  24899. "type": "string"
  24900. },
  24901. "applyremark": {
  24902. "description": "申请备注",
  24903. "type": "string"
  24904. },
  24905. "applysrc": {
  24906. "description": "申请来源 - 1:管理端 2:终端",
  24907. "type": "integer"
  24908. },
  24909. "applystatus": {
  24910. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24911. "type": "integer"
  24912. },
  24913. "applytime": {
  24914. "description": "申请时间",
  24915. "type": "string"
  24916. },
  24917. "areauserid": {
  24918. "description": "所属机构用户ID",
  24919. "type": "integer"
  24920. },
  24921. "auditid": {
  24922. "description": "审核人",
  24923. "type": "string"
  24924. },
  24925. "auditname": {
  24926. "description": "审核人名称(代码)",
  24927. "type": "string"
  24928. },
  24929. "auditremark": {
  24930. "description": "审核备注",
  24931. "type": "string"
  24932. },
  24933. "auditsrc": {
  24934. "description": "审核来源 - 1:管理端 2:终端",
  24935. "type": "integer"
  24936. },
  24937. "audittime": {
  24938. "description": "审核时间",
  24939. "type": "string"
  24940. },
  24941. "audittradedate": {
  24942. "description": "审核交易日(yyyyMMdd)",
  24943. "type": "string"
  24944. },
  24945. "beforevalue": {
  24946. "description": "变更前",
  24947. "type": "number"
  24948. },
  24949. "deliverygoodscode": {
  24950. "description": "品种代码",
  24951. "type": "string"
  24952. },
  24953. "deliverygoodsid": {
  24954. "description": "品种id",
  24955. "type": "integer"
  24956. },
  24957. "deliverygoodsname": {
  24958. "description": "品种名称",
  24959. "type": "string"
  24960. },
  24961. "middlegoodscode": {
  24962. "description": "套保品种代码",
  24963. "type": "string"
  24964. },
  24965. "middlegoodsid": {
  24966. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  24967. "type": "integer"
  24968. },
  24969. "middlegoodsname": {
  24970. "description": "套保品种名称",
  24971. "type": "string"
  24972. },
  24973. "operatetype": {
  24974. "description": "操作类型 - 1:新增 2:修改",
  24975. "type": "integer"
  24976. },
  24977. "paramchangetype": {
  24978. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  24979. "type": "integer"
  24980. },
  24981. "wrstandardcode": {
  24982. "description": "现货商品代码",
  24983. "type": "string"
  24984. },
  24985. "wrstandardid": {
  24986. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  24987. "type": "integer"
  24988. },
  24989. "wrstandardname": {
  24990. "description": "现货商品名称",
  24991. "type": "string"
  24992. }
  24993. }
  24994. },
  24995. "models.Ermcp3RootUserAccount": {
  24996. "type": "object",
  24997. "properties": {
  24998. "accountname": {
  24999. "description": "账户名称(机构名称)",
  25000. "type": "string"
  25001. },
  25002. "accountstatus": {
  25003. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25004. "type": "integer"
  25005. },
  25006. "applysrc": {
  25007. "description": "申请来源 - 1:管理端 2:终端",
  25008. "type": "integer"
  25009. },
  25010. "auditremark": {
  25011. "description": "审核备注",
  25012. "type": "string"
  25013. },
  25014. "auditsrc": {
  25015. "description": "审核来源 - 1:管理端 2:终端",
  25016. "type": "integer"
  25017. },
  25018. "audittime": {
  25019. "description": "审核时间",
  25020. "type": "string"
  25021. },
  25022. "audituserid": {
  25023. "description": "审核人",
  25024. "type": "integer"
  25025. },
  25026. "broker": {
  25027. "description": "所属经纪人ID",
  25028. "type": "integer"
  25029. },
  25030. "canceltime": {
  25031. "description": "销户时间",
  25032. "type": "string"
  25033. },
  25034. "canceluserid": {
  25035. "description": "销户人",
  25036. "type": "integer"
  25037. },
  25038. "canrecommend": {
  25039. "description": "是否可推荐 - 0:不可 1;可",
  25040. "type": "integer"
  25041. },
  25042. "createtime": {
  25043. "description": "创建时间",
  25044. "type": "string"
  25045. },
  25046. "creatorid": {
  25047. "description": "创建人",
  25048. "type": "integer"
  25049. },
  25050. "hasauth": {
  25051. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25052. "type": "integer"
  25053. },
  25054. "isanonymous": {
  25055. "description": "是否匿名下单 - 0:否 1:是",
  25056. "type": "integer"
  25057. },
  25058. "maxinvestornum": {
  25059. "description": "最大用户数(经纪会员下投资者个数)",
  25060. "type": "integer"
  25061. },
  25062. "memberuserid": {
  25063. "description": "所属会员ID",
  25064. "type": "integer"
  25065. },
  25066. "modifierid": {
  25067. "description": "修改人",
  25068. "type": "integer"
  25069. },
  25070. "modifyremark": {
  25071. "description": "变更备注",
  25072. "type": "string"
  25073. },
  25074. "modifystatus": {
  25075. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25076. "type": "integer"
  25077. },
  25078. "modifytime": {
  25079. "description": "修改时间",
  25080. "type": "string"
  25081. },
  25082. "nickname": {
  25083. "description": "昵称",
  25084. "type": "string"
  25085. },
  25086. "parenttopuser": {
  25087. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25088. "type": "string"
  25089. },
  25090. "parentuserid": {
  25091. "description": "所属机构ID",
  25092. "type": "integer"
  25093. },
  25094. "reckonaccountid": {
  25095. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25096. "type": "integer"
  25097. },
  25098. "refercount": {
  25099. "description": "推荐总人数",
  25100. "type": "integer"
  25101. },
  25102. "refereeuserid": {
  25103. "description": "推荐人ID",
  25104. "type": "integer"
  25105. },
  25106. "refernum": {
  25107. "description": "推荐码",
  25108. "type": "string"
  25109. },
  25110. "rootuserid": {
  25111. "description": "根用户ID",
  25112. "type": "integer"
  25113. },
  25114. "subaccountlevel": {
  25115. "description": "子账户层数",
  25116. "type": "integer"
  25117. },
  25118. "subarealevelpath": {
  25119. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25120. "type": "string"
  25121. },
  25122. "userid": {
  25123. "description": "用户ID",
  25124. "type": "integer"
  25125. },
  25126. "usertype": {
  25127. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25128. "type": "integer"
  25129. }
  25130. }
  25131. },
  25132. "models.Ermcp3SCMiddleGoods": {
  25133. "type": "object",
  25134. "properties": {
  25135. "biztype": {
  25136. "description": "业务类型 1:套保 2:套利",
  25137. "type": "integer"
  25138. },
  25139. "contractno": {
  25140. "description": "合同编号",
  25141. "type": "string"
  25142. },
  25143. "contracttype": {
  25144. "description": "合同类型 1:采购 -1:销售",
  25145. "type": "integer"
  25146. },
  25147. "convertratio": {
  25148. "description": "折算系数",
  25149. "type": "number"
  25150. },
  25151. "customername": {
  25152. "description": "对手手名称",
  25153. "type": "string"
  25154. },
  25155. "customeruserid": {
  25156. "description": "对手id",
  25157. "type": "integer"
  25158. },
  25159. "deliverygoodscode": {
  25160. "description": "现货品种代码",
  25161. "type": "string"
  25162. },
  25163. "deliverygoodsid": {
  25164. "description": "现货品种ID",
  25165. "type": "integer"
  25166. },
  25167. "deliverygoodsname": {
  25168. "description": "现货品种名称",
  25169. "type": "string"
  25170. },
  25171. "enumdicname": {
  25172. "description": "现货单位名称",
  25173. "type": "string"
  25174. },
  25175. "middlegoodsid": {
  25176. "description": "套保品种ID",
  25177. "type": "integer"
  25178. },
  25179. "middlegoodspricedqty3": {
  25180. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  25181. "type": "number"
  25182. },
  25183. "needhedgeratio": {
  25184. "description": "套保比例",
  25185. "type": "number"
  25186. },
  25187. "pricedqty": {
  25188. "description": "已定价量",
  25189. "type": "number"
  25190. },
  25191. "relatedmiddlegoodsqty": {
  25192. "description": "已关联量(套保品种)(期货)",
  25193. "type": "number"
  25194. },
  25195. "spotcontractid": {
  25196. "description": "合同编号",
  25197. "type": "string"
  25198. },
  25199. "unitid": {
  25200. "description": "现货单位id",
  25201. "type": "integer"
  25202. },
  25203. "userid": {
  25204. "description": "用户id",
  25205. "type": "integer"
  25206. },
  25207. "vatrate": {
  25208. "description": "增值税率",
  25209. "type": "number"
  25210. },
  25211. "wrstandardcode": {
  25212. "description": "现货商品代码",
  25213. "type": "string"
  25214. },
  25215. "wrstandardid": {
  25216. "description": "现货商品id",
  25217. "type": "integer"
  25218. },
  25219. "wrstandardname": {
  25220. "description": "现货商品名称",
  25221. "type": "string"
  25222. }
  25223. }
  25224. },
  25225. "models.Ermcp3SCMiddleGoodsReport": {
  25226. "type": "object",
  25227. "properties": {
  25228. "begindate": {
  25229. "description": "开始交易日",
  25230. "type": "string"
  25231. },
  25232. "contractno": {
  25233. "description": "合同编号",
  25234. "type": "string"
  25235. },
  25236. "contracttype": {
  25237. "description": "合同类型 1:采购 -1:销售",
  25238. "type": "integer"
  25239. },
  25240. "convertratio": {
  25241. "description": "折算系数",
  25242. "type": "number"
  25243. },
  25244. "cycletime": {
  25245. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25246. "type": "string"
  25247. },
  25248. "cycletype": {
  25249. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25250. "type": "integer"
  25251. },
  25252. "deliverygoodscode": {
  25253. "description": "品种代码",
  25254. "type": "string"
  25255. },
  25256. "deliverygoodsid": {
  25257. "description": "现货品种ID",
  25258. "type": "integer"
  25259. },
  25260. "deliverygoodsname": {
  25261. "description": "品种名称",
  25262. "type": "string"
  25263. },
  25264. "diffprice": {
  25265. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  25266. "type": "number"
  25267. },
  25268. "diffqty": {
  25269. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  25270. "type": "number"
  25271. },
  25272. "enddate": {
  25273. "description": "结束交易日",
  25274. "type": "string"
  25275. },
  25276. "hedgeplanqty": {
  25277. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  25278. "type": "number"
  25279. },
  25280. "matchname": {
  25281. "description": "交易对手方(个人:用户名称 企业:简称)",
  25282. "type": "string"
  25283. },
  25284. "matchnickname": {
  25285. "description": "交易对手方昵称",
  25286. "type": "string"
  25287. },
  25288. "middlegoodscode": {
  25289. "description": "套保品种代码",
  25290. "type": "string"
  25291. },
  25292. "middlegoodsid": {
  25293. "description": "套保品种ID",
  25294. "type": "integer"
  25295. },
  25296. "middlegoodsname": {
  25297. "description": "套保品种名称",
  25298. "type": "string"
  25299. },
  25300. "middlegoodspricedqty": {
  25301. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  25302. "type": "number"
  25303. },
  25304. "middlegoodspricedqty2": {
  25305. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  25306. "type": "number"
  25307. },
  25308. "middlegoodspricedqty3": {
  25309. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  25310. "type": "number"
  25311. },
  25312. "needhedgeratio": {
  25313. "description": "套保系数",
  25314. "type": "number"
  25315. },
  25316. "pricedamount": {
  25317. "description": "已定价额(现货)",
  25318. "type": "number"
  25319. },
  25320. "pricedamount2": {
  25321. "description": "已定价额(现货-基价额)",
  25322. "type": "number"
  25323. },
  25324. "pricedqty": {
  25325. "description": "已定价量(现货)",
  25326. "type": "number"
  25327. },
  25328. "reckondate": {
  25329. "description": "日照时期(yyyyMMdd)",
  25330. "type": "string"
  25331. },
  25332. "relatedmiddlegoodsamount": {
  25333. "description": "已关联额(期货)",
  25334. "type": "number"
  25335. },
  25336. "relatedmiddlegoodsqty": {
  25337. "description": "已关联量(套保品种)(期货)",
  25338. "type": "number"
  25339. },
  25340. "spotcontractid": {
  25341. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25342. "type": "string"
  25343. },
  25344. "todayavgfutuprice": {
  25345. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  25346. "type": "number"
  25347. },
  25348. "todayavgprice": {
  25349. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  25350. "type": "number"
  25351. },
  25352. "todayavgprice2": {
  25353. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  25354. "type": "number"
  25355. },
  25356. "todaypricedamount": {
  25357. "description": "今日定价额(现货)",
  25358. "type": "number"
  25359. },
  25360. "todaypricedamount2": {
  25361. "description": "今日定价额(现货-基价额)",
  25362. "type": "number"
  25363. },
  25364. "todaypricedqty": {
  25365. "description": "今日定价量(现货)",
  25366. "type": "number"
  25367. },
  25368. "todayrelatedfutureqty": {
  25369. "description": "今日关联量(期货)",
  25370. "type": "number"
  25371. },
  25372. "todayrelatedmiddlegoodsamount": {
  25373. "description": "今日关联额(期货)",
  25374. "type": "number"
  25375. },
  25376. "todayrelatedmiddlegoodsqty": {
  25377. "description": "今日关联量(套保品-期货)",
  25378. "type": "number"
  25379. },
  25380. "updatetime": {
  25381. "description": "更新时间",
  25382. "type": "string"
  25383. },
  25384. "userid": {
  25385. "description": "合同所属用户id",
  25386. "type": "integer"
  25387. },
  25388. "vatrate": {
  25389. "description": "增值税率",
  25390. "type": "number"
  25391. },
  25392. "wrstandardcode": {
  25393. "description": "商品(品类) 代码",
  25394. "type": "string"
  25395. },
  25396. "wrstandardid": {
  25397. "description": "现货商品ID",
  25398. "type": "integer"
  25399. },
  25400. "wrstandardname": {
  25401. "description": "商品(品类) 名称",
  25402. "type": "string"
  25403. }
  25404. }
  25405. },
  25406. "models.Ermcp3SellBuyContract": {
  25407. "type": "object",
  25408. "properties": {
  25409. "accountid": {
  25410. "description": "期货账户id",
  25411. "type": "string"
  25412. },
  25413. "accountname": {
  25414. "description": "账户名称",
  25415. "type": "string"
  25416. },
  25417. "attachment": {
  25418. "description": "附件",
  25419. "type": "string"
  25420. },
  25421. "audittime": {
  25422. "description": "审核时间",
  25423. "type": "string"
  25424. },
  25425. "bizsubjectid": {
  25426. "description": "归属业务部门ID - SubjectID",
  25427. "type": "integer"
  25428. },
  25429. "biztype": {
  25430. "description": "业务类型 1-套保 2-套利",
  25431. "type": "integer"
  25432. },
  25433. "brandname": {
  25434. "description": "品牌名称",
  25435. "type": "string"
  25436. },
  25437. "contracctstatus": {
  25438. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25439. "type": "integer"
  25440. },
  25441. "contractmargin": {
  25442. "description": "合同保证金",
  25443. "type": "number"
  25444. },
  25445. "contractno": {
  25446. "description": "合同编号",
  25447. "type": "string"
  25448. },
  25449. "contracttype": {
  25450. "description": "合同类型 1-采购, -1-销售",
  25451. "type": "integer"
  25452. },
  25453. "convertfactor": {
  25454. "description": "标仓系数(品类)",
  25455. "type": "number"
  25456. },
  25457. "createtime": {
  25458. "description": "创建时间",
  25459. "type": "string"
  25460. },
  25461. "currencyid": {
  25462. "description": "币种id",
  25463. "type": "integer"
  25464. },
  25465. "currencyname": {
  25466. "description": "币种名称",
  25467. "type": "string"
  25468. },
  25469. "daikaiamount": {
  25470. "description": "应收(开)票额 | 未收票额",
  25471. "type": "number"
  25472. },
  25473. "deliveryenddate": {
  25474. "description": "交割结束日",
  25475. "type": "string"
  25476. },
  25477. "deliverygoodscode": {
  25478. "description": "现货品种代码",
  25479. "type": "string"
  25480. },
  25481. "deliverygoodsid": {
  25482. "description": "现货商品ID",
  25483. "type": "integer"
  25484. },
  25485. "deliverygoodsname": {
  25486. "description": "现货品种名称",
  25487. "type": "string"
  25488. },
  25489. "deliverystartdate": {
  25490. "description": "交割开始日",
  25491. "type": "string"
  25492. },
  25493. "enddate": {
  25494. "description": "点价结束日",
  25495. "type": "string"
  25496. },
  25497. "enumdicname": {
  25498. "description": "单位名称",
  25499. "type": "string"
  25500. },
  25501. "goodscode": {
  25502. "description": "点价商品代码",
  25503. "type": "string"
  25504. },
  25505. "goodsgroupid": {
  25506. "description": "点价商品组id",
  25507. "type": "integer"
  25508. },
  25509. "goodsid": {
  25510. "description": "点价商品ID",
  25511. "type": "integer"
  25512. },
  25513. "goodsname": {
  25514. "description": "点价商品名称",
  25515. "type": "string"
  25516. },
  25517. "invoiceamount": {
  25518. "description": "已开票额",
  25519. "type": "number"
  25520. },
  25521. "loanamount": {
  25522. "description": "贷款总额=已定价额+调整金额",
  25523. "type": "number"
  25524. },
  25525. "margin": {
  25526. "description": "保证金",
  25527. "type": "number"
  25528. },
  25529. "meruserid": {
  25530. "description": "跟单员id",
  25531. "type": "integer"
  25532. },
  25533. "meruserlogincode": {
  25534. "description": "跟单员登录代码",
  25535. "type": "string"
  25536. },
  25537. "merusername": {
  25538. "description": "跟单员名称",
  25539. "type": "string"
  25540. },
  25541. "nickname": {
  25542. "description": "账户昵称",
  25543. "type": "string"
  25544. },
  25545. "orireckonrealqty": {
  25546. "description": "应交收量",
  25547. "type": "number"
  25548. },
  25549. "payamount": {
  25550. "description": "已收付额(收款或付款)",
  25551. "type": "number"
  25552. },
  25553. "preinvoiceamount": {
  25554. "description": "预收(开)票额",
  25555. "type": "number"
  25556. },
  25557. "prepayamount": {
  25558. "description": "预收付额",
  25559. "type": "number"
  25560. },
  25561. "price": {
  25562. "description": "价格",
  25563. "type": "number"
  25564. },
  25565. "pricedamount": {
  25566. "description": "已定价额",
  25567. "type": "number"
  25568. },
  25569. "pricedavg": {
  25570. "description": "已点均价",
  25571. "type": "number"
  25572. },
  25573. "pricedqty": {
  25574. "description": "已定价量",
  25575. "type": "number"
  25576. },
  25577. "pricemove": {
  25578. "description": "升贴水",
  25579. "type": "number"
  25580. },
  25581. "pricetype": {
  25582. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25583. "type": "integer"
  25584. },
  25585. "producttype": {
  25586. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25587. "type": "integer"
  25588. },
  25589. "qty": {
  25590. "description": "合同量",
  25591. "type": "number"
  25592. },
  25593. "reckonadjustamount": {
  25594. "description": "调整金额",
  25595. "type": "number"
  25596. },
  25597. "reckonedamount": {
  25598. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  25599. "type": "number"
  25600. },
  25601. "reckonotheramount": {
  25602. "description": "其它费用",
  25603. "type": "number"
  25604. },
  25605. "reckonrealqty": {
  25606. "description": "已交收量",
  25607. "type": "number"
  25608. },
  25609. "remark": {
  25610. "description": "备注",
  25611. "type": "string"
  25612. },
  25613. "saleuserid": {
  25614. "description": "业务员id",
  25615. "type": "integer"
  25616. },
  25617. "saleuserlogincode": {
  25618. "description": "业务员登录代码",
  25619. "type": "string"
  25620. },
  25621. "saleusername": {
  25622. "description": "业务员名称",
  25623. "type": "string"
  25624. },
  25625. "spotcontractid": {
  25626. "description": "合同ID",
  25627. "type": "string"
  25628. },
  25629. "spotgoodsbrandid": {
  25630. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25631. "type": "integer"
  25632. },
  25633. "spotgoodsdesc": {
  25634. "description": "商品型号(商品规格)",
  25635. "type": "string"
  25636. },
  25637. "startdate": {
  25638. "description": "点价开始日",
  25639. "type": "string"
  25640. },
  25641. "subjectid": {
  25642. "description": "交易主体ID",
  25643. "type": "integer"
  25644. },
  25645. "subjectname": {
  25646. "description": "交易主体名称",
  25647. "type": "string"
  25648. },
  25649. "totalamount": {
  25650. "description": "合计总额",
  25651. "type": "number"
  25652. },
  25653. "tradeuserid": {
  25654. "description": "交易员id",
  25655. "type": "integer"
  25656. },
  25657. "tradeuserlogincode": {
  25658. "description": "交易员登录代码",
  25659. "type": "string"
  25660. },
  25661. "tradeusername": {
  25662. "description": "交易员名称",
  25663. "type": "string"
  25664. },
  25665. "unpayamount": {
  25666. "description": "应收付款额(应支付或应收款) | 未付款额",
  25667. "type": "number"
  25668. },
  25669. "unpricedqty": {
  25670. "description": "未定价量",
  25671. "type": "number"
  25672. },
  25673. "unsureqty": {
  25674. "description": "未确定量 | 未交收量",
  25675. "type": "number"
  25676. },
  25677. "userid": {
  25678. "description": "机构ID",
  25679. "type": "integer"
  25680. },
  25681. "vatrate": {
  25682. "description": "增值税率",
  25683. "type": "number"
  25684. },
  25685. "wrstandardcode": {
  25686. "description": "品类代码",
  25687. "type": "string"
  25688. },
  25689. "wrstandardid": {
  25690. "description": "品类ID",
  25691. "type": "integer"
  25692. },
  25693. "wrstandardname": {
  25694. "description": "品类名称",
  25695. "type": "string"
  25696. }
  25697. }
  25698. },
  25699. "models.Ermcp3SpotGoodsPrice": {
  25700. "type": "object",
  25701. "properties": {
  25702. "areauserid": {
  25703. "description": "所属机构id",
  25704. "type": "integer"
  25705. },
  25706. "brandname": {
  25707. "description": "品牌名称",
  25708. "type": "string"
  25709. },
  25710. "currencyid": {
  25711. "description": "报价货币ID",
  25712. "type": "integer"
  25713. },
  25714. "currencyname": {
  25715. "description": "币种名称",
  25716. "type": "string"
  25717. },
  25718. "deliverygoodscode": {
  25719. "description": "现货商品代码",
  25720. "type": "string"
  25721. },
  25722. "deliverygoodsid": {
  25723. "description": "现货商品id",
  25724. "type": "integer"
  25725. },
  25726. "deliverygoodsname": {
  25727. "description": "现货商品名称",
  25728. "type": "string"
  25729. },
  25730. "enumdicname": {
  25731. "description": "现货商品单位名称",
  25732. "type": "string"
  25733. },
  25734. "gbenumdicname": {
  25735. "description": "品类单位名称",
  25736. "type": "string"
  25737. },
  25738. "gmunitid": {
  25739. "description": "品类单位id",
  25740. "type": "integer"
  25741. },
  25742. "isvalid": {
  25743. "description": "是否有效 - 0:无效 1:有效",
  25744. "type": "integer"
  25745. },
  25746. "operateid": {
  25747. "description": "最后操作人",
  25748. "type": "integer"
  25749. },
  25750. "operatesrc": {
  25751. "description": "最后操作来源 - 1:管理端 2:终端",
  25752. "type": "integer"
  25753. },
  25754. "operatetime": {
  25755. "description": "最后操作时间",
  25756. "type": "string"
  25757. },
  25758. "operatorname": {
  25759. "description": "操作人名称",
  25760. "type": "string"
  25761. },
  25762. "spotgoodsbrandid": {
  25763. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25764. "type": "integer"
  25765. },
  25766. "spotgoodsprice": {
  25767. "description": "现货价格",
  25768. "type": "number"
  25769. },
  25770. "tradedate": {
  25771. "description": "交易日(yyyyMMdd)",
  25772. "type": "string"
  25773. },
  25774. "unitid": {
  25775. "description": "现货商品单位id",
  25776. "type": "integer"
  25777. },
  25778. "wrstandardcode": {
  25779. "description": "品类代码",
  25780. "type": "string"
  25781. },
  25782. "wrstandardid": {
  25783. "description": "现货品类ID(通用则为0)",
  25784. "type": "integer"
  25785. },
  25786. "wrstandardname": {
  25787. "description": "品类名称",
  25788. "type": "string"
  25789. }
  25790. }
  25791. },
  25792. "models.Ermcp3SpotGoodsPriceLog": {
  25793. "type": "object",
  25794. "properties": {
  25795. "areauserid": {
  25796. "description": "所属机构id",
  25797. "type": "integer"
  25798. },
  25799. "brandname": {
  25800. "description": "品牌名称",
  25801. "type": "string"
  25802. },
  25803. "currencyid": {
  25804. "description": "报价货币ID",
  25805. "type": "integer"
  25806. },
  25807. "deliverygoodscode": {
  25808. "description": "现货商品代码",
  25809. "type": "string"
  25810. },
  25811. "deliverygoodsid": {
  25812. "description": "现货商品id",
  25813. "type": "integer"
  25814. },
  25815. "deliverygoodsname": {
  25816. "description": "现货商品名称",
  25817. "type": "string"
  25818. },
  25819. "enumdicname": {
  25820. "description": "现货商品单位名称",
  25821. "type": "string"
  25822. },
  25823. "gbenumdicname": {
  25824. "description": "品类单位名称",
  25825. "type": "string"
  25826. },
  25827. "gmunitid": {
  25828. "description": "品类单位id",
  25829. "type": "integer"
  25830. },
  25831. "logid": {
  25832. "description": "日志id",
  25833. "type": "integer"
  25834. },
  25835. "operateid": {
  25836. "description": "最后操作人",
  25837. "type": "integer"
  25838. },
  25839. "operatesrc": {
  25840. "description": "最后操作来源 - 1:管理端 2:终端",
  25841. "type": "integer"
  25842. },
  25843. "operatetime": {
  25844. "description": "最后操作时间",
  25845. "type": "string"
  25846. },
  25847. "operatorname": {
  25848. "description": "操作人名称",
  25849. "type": "string"
  25850. },
  25851. "spotgoodsbrandid": {
  25852. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25853. "type": "integer"
  25854. },
  25855. "spotgoodsprice": {
  25856. "description": "现货价格",
  25857. "type": "number"
  25858. },
  25859. "tradedate": {
  25860. "description": "交易日(yyyyMMdd)",
  25861. "type": "string"
  25862. },
  25863. "unitid": {
  25864. "description": "现货商品单位id",
  25865. "type": "integer"
  25866. },
  25867. "wrstandardcode": {
  25868. "description": "品类代码",
  25869. "type": "string"
  25870. },
  25871. "wrstandardid": {
  25872. "description": "现货品类ID(通用则为0)",
  25873. "type": "integer"
  25874. },
  25875. "wrstandardname": {
  25876. "description": "品类名称",
  25877. "type": "string"
  25878. }
  25879. }
  25880. },
  25881. "models.Ermcp3SubTaaccount": {
  25882. "type": "object",
  25883. "properties": {
  25884. "accountid": {
  25885. "description": "资金账户ID",
  25886. "type": "integer"
  25887. },
  25888. "parentaccountcode": {
  25889. "description": "所属根账号代码(母账号代码)",
  25890. "type": "string"
  25891. },
  25892. "parentaccountid": {
  25893. "description": "所属根账号(母账号)",
  25894. "type": "integer"
  25895. },
  25896. "taname": {
  25897. "description": "资金账号名称",
  25898. "type": "string"
  25899. },
  25900. "tradestatus": {
  25901. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  25902. "type": "integer"
  25903. },
  25904. "username": {
  25905. "description": "交易用户",
  25906. "type": "string"
  25907. }
  25908. }
  25909. },
  25910. "models.Ermcp3TaFutuReDataReport": {
  25911. "type": "object",
  25912. "properties": {
  25913. "accountid": {
  25914. "description": "交易账户",
  25915. "type": "integer"
  25916. },
  25917. "accountname": {
  25918. "description": "交易账号名称",
  25919. "type": "string"
  25920. },
  25921. "agreeunit": {
  25922. "description": "商品合约单位",
  25923. "type": "number"
  25924. },
  25925. "begindate": {
  25926. "description": "开始交易日",
  25927. "type": "string"
  25928. },
  25929. "buyorsell": {
  25930. "description": "持仓方向",
  25931. "type": "integer"
  25932. },
  25933. "charge": {
  25934. "description": "手续费",
  25935. "type": "number"
  25936. },
  25937. "closeavgprice": {
  25938. "description": "平仓均价",
  25939. "type": "number"
  25940. },
  25941. "closepl": {
  25942. "description": "平仓损益",
  25943. "type": "number"
  25944. },
  25945. "currencyid": {
  25946. "description": "结算币种ID",
  25947. "type": "integer"
  25948. },
  25949. "currencyname": {
  25950. "description": "币种名称",
  25951. "type": "string"
  25952. },
  25953. "cycletime": {
  25954. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25955. "type": "string"
  25956. },
  25957. "cycletype": {
  25958. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25959. "type": "integer"
  25960. },
  25961. "enddate": {
  25962. "description": "结束交易日",
  25963. "type": "string"
  25964. },
  25965. "enumdicname": {
  25966. "description": "单位名称",
  25967. "type": "string"
  25968. },
  25969. "floatpl": {
  25970. "description": "浮动损益",
  25971. "type": "number"
  25972. },
  25973. "goodscode": {
  25974. "description": "交易合约代码",
  25975. "type": "string"
  25976. },
  25977. "goodsgroupid": {
  25978. "description": "交易品种",
  25979. "type": "integer"
  25980. },
  25981. "goodsgroupname": {
  25982. "description": "交易品种名称",
  25983. "type": "string"
  25984. },
  25985. "goodsgroupspotqty": {
  25986. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  25987. "type": "number"
  25988. },
  25989. "goodsid": {
  25990. "description": "交易合约",
  25991. "type": "integer"
  25992. },
  25993. "goodsname": {
  25994. "description": "交易合约名称",
  25995. "type": "string"
  25996. },
  25997. "goodunitid": {
  25998. "description": "交易合约单位id",
  25999. "type": "integer"
  26000. },
  26001. "holdamount": {
  26002. "description": "期末持仓额",
  26003. "type": "number"
  26004. },
  26005. "holdqty": {
  26006. "description": "期末持仓量",
  26007. "type": "number"
  26008. },
  26009. "lastholdamount": {
  26010. "description": "当前持仓额",
  26011. "type": "number"
  26012. },
  26013. "lastprice": {
  26014. "description": "最新价",
  26015. "type": "number"
  26016. },
  26017. "middlegoodsid": {
  26018. "description": "套保品种id",
  26019. "type": "integer"
  26020. },
  26021. "middlegoodsname": {
  26022. "description": "套保商品名称",
  26023. "type": "string"
  26024. },
  26025. "middlegoodsqty": {
  26026. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  26027. "type": "number"
  26028. },
  26029. "middlgoodscode": {
  26030. "description": "套保商品代码",
  26031. "type": "string"
  26032. },
  26033. "openamount": {
  26034. "description": "期末开仓额",
  26035. "type": "number"
  26036. },
  26037. "openavgprice": {
  26038. "description": "开仓均价",
  26039. "type": "number"
  26040. },
  26041. "oriholdamount": {
  26042. "description": "期初持仓额",
  26043. "type": "number"
  26044. },
  26045. "oriholdqty": {
  26046. "description": "期初持仓量",
  26047. "type": "number"
  26048. },
  26049. "oriopenamount": {
  26050. "description": "期初开仓额",
  26051. "type": "number"
  26052. },
  26053. "outergroupcode": {
  26054. "description": "交易品种代码",
  26055. "type": "string"
  26056. },
  26057. "qtydecimalplace": {
  26058. "description": "成交量小数位",
  26059. "type": "integer"
  26060. },
  26061. "reckondate": {
  26062. "description": "日照时期(yyyyMMdd)",
  26063. "type": "string"
  26064. },
  26065. "reckonholdamount": {
  26066. "description": "结算持仓额",
  26067. "type": "number"
  26068. },
  26069. "reckonpl": {
  26070. "description": "结算损益",
  26071. "type": "number"
  26072. },
  26073. "reckonpl2": {
  26074. "description": "结算逐笔盈亏",
  26075. "type": "number"
  26076. },
  26077. "reckonprice": {
  26078. "description": "结算价",
  26079. "type": "number"
  26080. },
  26081. "relateduserid": {
  26082. "description": "账户关联用户ID",
  26083. "type": "integer"
  26084. },
  26085. "todaycloseamount": {
  26086. "description": "今平仓额",
  26087. "type": "number"
  26088. },
  26089. "todaycloseqty": {
  26090. "description": "今平仓量",
  26091. "type": "number"
  26092. },
  26093. "todaygoodsgroupspotqty": {
  26094. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  26095. "type": "number"
  26096. },
  26097. "todaymiddlegoodsqty": {
  26098. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  26099. "type": "number"
  26100. },
  26101. "todayopenamount": {
  26102. "description": "今开仓额",
  26103. "type": "number"
  26104. },
  26105. "todayopenqty": {
  26106. "description": "今开仓量",
  26107. "type": "number"
  26108. },
  26109. "userid": {
  26110. "description": "账户所属用户ID",
  26111. "type": "integer"
  26112. }
  26113. }
  26114. },
  26115. "models.Ermcp3TradeLinkDetail": {
  26116. "type": "object",
  26117. "properties": {
  26118. "accountid": {
  26119. "description": "资金账号",
  26120. "type": "integer"
  26121. },
  26122. "agreeunit": {
  26123. "description": "合约乘数",
  26124. "type": "number"
  26125. },
  26126. "areauserid": {
  26127. "description": "所属机构",
  26128. "type": "string"
  26129. },
  26130. "bizsubjectid": {
  26131. "description": "归属业务部门ID - SubjectID",
  26132. "type": "string"
  26133. },
  26134. "buyorsell": {
  26135. "description": "方向 - 0:买 1:卖",
  26136. "type": "integer"
  26137. },
  26138. "channelbuildtype": {
  26139. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26140. "type": "integer"
  26141. },
  26142. "contractno": {
  26143. "description": "现货编号 (合同编号)",
  26144. "type": "string"
  26145. },
  26146. "convertratio": {
  26147. "description": "折算系数",
  26148. "type": "number"
  26149. },
  26150. "createtime": {
  26151. "description": "关联时间 | 创建时间",
  26152. "type": "string"
  26153. },
  26154. "creatorid": {
  26155. "description": "创建人ID",
  26156. "type": "string"
  26157. },
  26158. "creatorsrc": {
  26159. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26160. "type": "integer"
  26161. },
  26162. "enumdicname": {
  26163. "description": "单位名称",
  26164. "type": "string"
  26165. },
  26166. "goodscode": {
  26167. "description": "合约代码",
  26168. "type": "string"
  26169. },
  26170. "goodsgroupid": {
  26171. "description": "对冲品种ID[期货合约商品组ID]",
  26172. "type": "integer"
  26173. },
  26174. "goodsid": {
  26175. "description": "商品ID",
  26176. "type": "integer"
  26177. },
  26178. "goodsname": {
  26179. "description": "合约名称",
  26180. "type": "string"
  26181. },
  26182. "hedgeflag": {
  26183. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26184. "type": "integer"
  26185. },
  26186. "linkdetailid": {
  26187. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26188. "type": "string"
  26189. },
  26190. "linkstatus": {
  26191. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26192. "type": "integer"
  26193. },
  26194. "middlegoodscode": {
  26195. "description": "套保品种代码",
  26196. "type": "string"
  26197. },
  26198. "middlegoodsid": {
  26199. "description": "套保品种ID",
  26200. "type": "integer"
  26201. },
  26202. "middlegoodsname": {
  26203. "description": "套保品种名称",
  26204. "type": "string"
  26205. },
  26206. "relatedlot": {
  26207. "description": "关联手数",
  26208. "type": "number"
  26209. },
  26210. "relatedmode": {
  26211. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26212. "type": "integer"
  26213. },
  26214. "relatedqty": {
  26215. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26216. "type": "number"
  26217. },
  26218. "retcode": {
  26219. "description": "返回码",
  26220. "type": "integer"
  26221. },
  26222. "saleuserid": {
  26223. "description": "业务员ID",
  26224. "type": "string"
  26225. },
  26226. "spotcontractid": {
  26227. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  26228. "type": "string"
  26229. },
  26230. "taname": {
  26231. "description": "期货账户",
  26232. "type": "string"
  26233. },
  26234. "tradedate": {
  26235. "description": "关联交易日(yyyyMMdd)",
  26236. "type": "string"
  26237. },
  26238. "tradeid": {
  26239. "description": "期货订单号 | 内部成交单ID",
  26240. "type": "string"
  26241. },
  26242. "tradelot": {
  26243. "description": "成交数量 | 成交手数",
  26244. "type": "integer"
  26245. },
  26246. "tradeprice": {
  26247. "description": "成交价格",
  26248. "type": "number"
  26249. },
  26250. "tradetime": {
  26251. "description": "期货成交时间",
  26252. "type": "string"
  26253. },
  26254. "tradetradedate": {
  26255. "description": "成交交易日(yyyyMMdd)",
  26256. "type": "string"
  26257. },
  26258. "username": {
  26259. "description": "用户名称",
  26260. "type": "string"
  26261. }
  26262. }
  26263. },
  26264. "models.Ermcp3Wrstandard": {
  26265. "type": "object",
  26266. "properties": {
  26267. "areauserid": {
  26268. "description": "所属机构",
  26269. "type": "integer"
  26270. },
  26271. "cantrade": {
  26272. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  26273. "type": "integer"
  26274. },
  26275. "convertfactor": {
  26276. "description": "标仓系数",
  26277. "type": "number"
  26278. },
  26279. "createtime": {
  26280. "description": "创建时间",
  26281. "type": "string"
  26282. },
  26283. "creatorid": {
  26284. "description": "创建人",
  26285. "type": "integer"
  26286. },
  26287. "deliverygoodsid": {
  26288. "description": "现货品种ID",
  26289. "type": "integer"
  26290. },
  26291. "enumdicname": {
  26292. "description": "品类单位名称",
  26293. "type": "string"
  26294. },
  26295. "isvalid": {
  26296. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  26297. "type": "integer"
  26298. },
  26299. "minivalue": {
  26300. "description": "最小变动值",
  26301. "type": "integer"
  26302. },
  26303. "minivaluedp": {
  26304. "description": "最小变动值小数位",
  26305. "type": "integer"
  26306. },
  26307. "realminivalue": {
  26308. "description": "实际最小变动值",
  26309. "type": "integer"
  26310. },
  26311. "realminivaluedp": {
  26312. "description": "实际最小变动值小数位",
  26313. "type": "integer"
  26314. },
  26315. "remark": {
  26316. "description": "备注",
  26317. "type": "string"
  26318. },
  26319. "unitid": {
  26320. "description": "品类单位ID",
  26321. "type": "integer"
  26322. },
  26323. "updatetime": {
  26324. "description": "更新时间",
  26325. "type": "string"
  26326. },
  26327. "wrstandardcode": {
  26328. "description": "品类代码",
  26329. "type": "string"
  26330. },
  26331. "wrstandardid": {
  26332. "description": "品类ID(SEQ_WRSTANDARD)",
  26333. "type": "integer"
  26334. },
  26335. "wrstandardname": {
  26336. "description": "品类名称",
  26337. "type": "string"
  26338. }
  26339. }
  26340. },
  26341. "models.Ermcp8EnableHedgeditem": {
  26342. "type": "object",
  26343. "properties": {
  26344. "accountname": {
  26345. "description": "套期主体",
  26346. "type": "string"
  26347. },
  26348. "hedgeditemid": {
  26349. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26350. "type": "string"
  26351. },
  26352. "hedgeditemname": {
  26353. "description": "项目名称",
  26354. "type": "string"
  26355. },
  26356. "hedgeditemnum": {
  26357. "description": "项目编号",
  26358. "type": "string"
  26359. },
  26360. "hedgedtype": {
  26361. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26362. "type": "integer"
  26363. },
  26364. "planenddate": {
  26365. "description": "计划结束日期",
  26366. "type": "string"
  26367. },
  26368. "planstartdate": {
  26369. "description": "计划开始日期",
  26370. "type": "string"
  26371. },
  26372. "wrstandardid": {
  26373. "description": "现货商品ID",
  26374. "type": "integer"
  26375. }
  26376. }
  26377. },
  26378. "models.Ermcp8HedgeditemReport": {
  26379. "type": "object",
  26380. "properties": {
  26381. "accountname": {
  26382. "description": "套期主体",
  26383. "type": "string"
  26384. },
  26385. "areauserid": {
  26386. "description": "企业ID",
  26387. "type": "integer"
  26388. },
  26389. "curprice": {
  26390. "description": "[当日现货市场价]当前市场价",
  26391. "type": "number"
  26392. },
  26393. "enumdicname": {
  26394. "description": "单位",
  26395. "type": "string"
  26396. },
  26397. "exeamount": {
  26398. "description": "[执行现货金额]执行市价总额",
  26399. "type": "number"
  26400. },
  26401. "exeavgprice": {
  26402. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  26403. "type": "number"
  26404. },
  26405. "exeqty": {
  26406. "description": "[执行数量]执行现货量",
  26407. "type": "number"
  26408. },
  26409. "futurehedgepl": {
  26410. "description": "期货实际损益",
  26411. "type": "number"
  26412. },
  26413. "futurehedgeplchange": {
  26414. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  26415. "type": "number"
  26416. },
  26417. "futurepl": {
  26418. "description": "期货套期损益",
  26419. "type": "number"
  26420. },
  26421. "futureplchange": {
  26422. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  26423. "type": "number"
  26424. },
  26425. "hedgeamount": {
  26426. "description": "[套期现货金额]套期市价总额",
  26427. "type": "number"
  26428. },
  26429. "hedgeditemnum": {
  26430. "description": "项目编号,模糊查询",
  26431. "type": "string"
  26432. },
  26433. "hedgeditemstatus": {
  26434. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26435. "type": "integer"
  26436. },
  26437. "hedgedtype": {
  26438. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26439. "type": "integer"
  26440. },
  26441. "hedgeqty": {
  26442. "description": "[套期数量]套期现货量",
  26443. "type": "number"
  26444. },
  26445. "oriavgprice": {
  26446. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  26447. "type": "number"
  26448. },
  26449. "orifuturehedgepl": {
  26450. "description": "期初期货实际损益",
  26451. "type": "number"
  26452. },
  26453. "orifuturepl": {
  26454. "description": "期初期货套期损益",
  26455. "type": "number"
  26456. },
  26457. "orispothedgepl": {
  26458. "description": "期初现货实际损益",
  26459. "type": "number"
  26460. },
  26461. "orispotpl": {
  26462. "description": "期初现货套期损益",
  26463. "type": "number"
  26464. },
  26465. "planenddate": {
  26466. "description": "计划结束日期",
  26467. "type": "string"
  26468. },
  26469. "planstartdate": {
  26470. "description": "计划开始日期",
  26471. "type": "string"
  26472. },
  26473. "spothedgepl": {
  26474. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26475. "type": "number"
  26476. },
  26477. "spothedgeplchange": {
  26478. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  26479. "type": "number"
  26480. },
  26481. "spotpl": {
  26482. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26483. "type": "number"
  26484. },
  26485. "spotplchange": {
  26486. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  26487. "type": "number"
  26488. },
  26489. "tradeuserid": {
  26490. "description": "交易用户ID",
  26491. "type": "integer"
  26492. },
  26493. "unexeqty": {
  26494. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26495. "type": "number"
  26496. },
  26497. "wrstandardcode": {
  26498. "description": "现货品类代码",
  26499. "type": "string"
  26500. },
  26501. "wrstandardid": {
  26502. "description": "现货商品ID",
  26503. "type": "integer"
  26504. },
  26505. "wrstandardname": {
  26506. "description": "[现货商品]现货品类名称",
  26507. "type": "string"
  26508. }
  26509. }
  26510. },
  26511. "models.Ermcp8RunningHedgeditem": {
  26512. "type": "object",
  26513. "properties": {
  26514. "accountname": {
  26515. "description": "套期主体",
  26516. "type": "string"
  26517. },
  26518. "applyid": {
  26519. "description": "申请人",
  26520. "type": "integer"
  26521. },
  26522. "applysrc": {
  26523. "description": "申请来源 - 1:管理端 2:终端",
  26524. "type": "integer"
  26525. },
  26526. "areauserid": {
  26527. "description": "企业ID",
  26528. "type": "integer"
  26529. },
  26530. "auditid": {
  26531. "description": "审核人",
  26532. "type": "integer"
  26533. },
  26534. "auditremark": {
  26535. "description": "审核备注",
  26536. "type": "string"
  26537. },
  26538. "auditsrc": {
  26539. "description": "审核来源 - 1:管理端 2:终端",
  26540. "type": "integer"
  26541. },
  26542. "audittime": {
  26543. "description": "审核时间",
  26544. "type": "string"
  26545. },
  26546. "audittradedate": {
  26547. "description": "审核交易日(yyyyMMdd)",
  26548. "type": "string"
  26549. },
  26550. "createtime": {
  26551. "description": "申请时间",
  26552. "type": "string"
  26553. },
  26554. "curprice": {
  26555. "description": "当前市场价",
  26556. "type": "number"
  26557. },
  26558. "curstock": {
  26559. "description": "期末库存量 = 采购总量 - 销售总量",
  26560. "type": "number"
  26561. },
  26562. "deliverygoodsid": {
  26563. "description": "现货品种ID",
  26564. "type": "integer"
  26565. },
  26566. "enddate": {
  26567. "description": "完成日期",
  26568. "type": "string"
  26569. },
  26570. "endtradedate": {
  26571. "description": "完成交易日",
  26572. "type": "string"
  26573. },
  26574. "enumdicname": {
  26575. "description": "单位",
  26576. "type": "string"
  26577. },
  26578. "exeamount": {
  26579. "description": "执行市价总额",
  26580. "type": "number"
  26581. },
  26582. "exeavgprice": {
  26583. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  26584. "type": "number"
  26585. },
  26586. "execontractamount": {
  26587. "description": "执行定价总额",
  26588. "type": "number"
  26589. },
  26590. "exeqty": {
  26591. "description": "执行现货量",
  26592. "type": "number"
  26593. },
  26594. "exerestamount": {
  26595. "description": "执行剩余市价总额【现货贸易】",
  26596. "type": "number"
  26597. },
  26598. "futurefloatpl": {
  26599. "description": "期货浮动损益",
  26600. "type": "number"
  26601. },
  26602. "futurehedgepl": {
  26603. "description": "期货实际损益",
  26604. "type": "number"
  26605. },
  26606. "futurehedgeplchange": {
  26607. "description": "期货实际损益变动",
  26608. "type": "number"
  26609. },
  26610. "futurepl": {
  26611. "description": "期货套期损益",
  26612. "type": "number"
  26613. },
  26614. "futureplchange": {
  26615. "description": "期货套期损益变动",
  26616. "type": "number"
  26617. },
  26618. "hedgeamount": {
  26619. "description": "套期市价总额",
  26620. "type": "number"
  26621. },
  26622. "hedgecontractamount": {
  26623. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  26624. "type": "number"
  26625. },
  26626. "hedgeditemid": {
  26627. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26628. "type": "string"
  26629. },
  26630. "hedgeditemname": {
  26631. "description": "项目名称",
  26632. "type": "string"
  26633. },
  26634. "hedgeditemnum": {
  26635. "description": "项目编号",
  26636. "type": "string"
  26637. },
  26638. "hedgeditemstatus": {
  26639. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26640. "type": "integer"
  26641. },
  26642. "hedgedtype": {
  26643. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26644. "type": "integer"
  26645. },
  26646. "hedgeqty": {
  26647. "description": "套期现货量",
  26648. "type": "number"
  26649. },
  26650. "hedgerate": {
  26651. "description": "套保比率",
  26652. "type": "number"
  26653. },
  26654. "hedgerestamount": {
  26655. "description": "套期剩余市价总额【现货贸易】",
  26656. "type": "number"
  26657. },
  26658. "hedgesumpl": {
  26659. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  26660. "type": "number"
  26661. },
  26662. "middlegoodslist": {
  26663. "description": "套期商品列表",
  26664. "type": "array",
  26665. "items": {
  26666. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  26667. }
  26668. },
  26669. "oriavgprice": {
  26670. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  26671. "type": "number"
  26672. },
  26673. "orifuturehedgepl": {
  26674. "description": "期初期货实际损益",
  26675. "type": "number"
  26676. },
  26677. "orifuturepl": {
  26678. "description": "期初期货套期损益",
  26679. "type": "number"
  26680. },
  26681. "orispothedgepl": {
  26682. "description": "期初现货实际损益",
  26683. "type": "number"
  26684. },
  26685. "orispotpl": {
  26686. "description": "期初现货套期损益",
  26687. "type": "number"
  26688. },
  26689. "planenddate": {
  26690. "description": "计划结束日期",
  26691. "type": "string"
  26692. },
  26693. "planstartdate": {
  26694. "description": "计划开始日期",
  26695. "type": "string"
  26696. },
  26697. "remark": {
  26698. "description": "备注",
  26699. "type": "string"
  26700. },
  26701. "spotbookamount": {
  26702. "description": "现货账面总额",
  26703. "type": "number"
  26704. },
  26705. "spotfloatpl": {
  26706. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26707. "type": "number"
  26708. },
  26709. "spothedgepl": {
  26710. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26711. "type": "number"
  26712. },
  26713. "spothedgeplchange": {
  26714. "description": "现货实际损益变动",
  26715. "type": "number"
  26716. },
  26717. "spotpl": {
  26718. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26719. "type": "number"
  26720. },
  26721. "spotplchange": {
  26722. "description": "现货套期损益变动",
  26723. "type": "number"
  26724. },
  26725. "spottradepl": {
  26726. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  26727. "type": "number"
  26728. },
  26729. "sumobspl": {
  26730. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  26731. "type": "number"
  26732. },
  26733. "tradeuserid": {
  26734. "description": "交易用户ID",
  26735. "type": "integer"
  26736. },
  26737. "unexeqty": {
  26738. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26739. "type": "number"
  26740. },
  26741. "updatetime": {
  26742. "description": "更新时间",
  26743. "type": "string"
  26744. },
  26745. "vatpl": {
  26746. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  26747. "type": "number"
  26748. },
  26749. "vatrate": {
  26750. "description": "增值税",
  26751. "type": "number"
  26752. },
  26753. "wrstandardid": {
  26754. "description": "现货商品ID",
  26755. "type": "integer"
  26756. },
  26757. "wrstandardname": {
  26758. "description": "商品名称",
  26759. "type": "string"
  26760. }
  26761. }
  26762. },
  26763. "models.ErmcpBizGroupEx": {
  26764. "type": "object",
  26765. "properties": {
  26766. "acclist": {
  26767. "description": "账号列表",
  26768. "type": "array",
  26769. "items": {
  26770. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  26771. }
  26772. },
  26773. "bizgroupid": {
  26774. "description": "业务分组id",
  26775. "type": "integer"
  26776. },
  26777. "biztype": {
  26778. "description": "业务类型 1-套保 2-套利",
  26779. "type": "integer"
  26780. },
  26781. "wrlist": {
  26782. "description": "现货商品表",
  26783. "type": "array",
  26784. "items": {
  26785. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  26786. }
  26787. }
  26788. }
  26789. },
  26790. "models.ErmcpBizGroupSpotGoods": {
  26791. "type": "object",
  26792. "properties": {
  26793. "areauserid": {
  26794. "description": "所属机构id",
  26795. "type": "integer"
  26796. },
  26797. "bizgroupid": {
  26798. "description": "分组id",
  26799. "type": "integer"
  26800. },
  26801. "biztype": {
  26802. "description": "业务类型 1-套保 2-套利",
  26803. "type": "integer"
  26804. },
  26805. "deliverygoodscode": {
  26806. "description": "现货商品代码",
  26807. "type": "string"
  26808. },
  26809. "deliverygoodsid": {
  26810. "description": "现货商品id",
  26811. "type": "integer"
  26812. },
  26813. "deliverygoodsname": {
  26814. "description": "现货商品名称",
  26815. "type": "string"
  26816. },
  26817. "unitid": {
  26818. "description": "现货商品单位id",
  26819. "type": "integer"
  26820. }
  26821. }
  26822. },
  26823. "models.ErmcpBizGroupTaAccount": {
  26824. "type": "object",
  26825. "properties": {
  26826. "accountid": {
  26827. "description": "账号id",
  26828. "type": "integer"
  26829. },
  26830. "accountname": {
  26831. "description": "账号名称",
  26832. "type": "string"
  26833. },
  26834. "areauserid": {
  26835. "description": "所属机构id",
  26836. "type": "integer"
  26837. },
  26838. "bizgroupid": {
  26839. "description": "业务分组id",
  26840. "type": "integer"
  26841. },
  26842. "ismain": {
  26843. "description": "是否主账号 1-是 0-否",
  26844. "type": "integer"
  26845. }
  26846. }
  26847. },
  26848. "models.ErmcpDGFactoryItem": {
  26849. "type": "object",
  26850. "properties": {
  26851. "areauserid": {
  26852. "description": "用户id",
  26853. "type": "integer"
  26854. },
  26855. "deliverygoodsid": {
  26856. "description": "现货品种ID",
  26857. "type": "integer"
  26858. },
  26859. "dgfactoryitemid": {
  26860. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  26861. "type": "integer"
  26862. },
  26863. "dgfactoryitemtypeid": {
  26864. "description": "要素项类型",
  26865. "type": "integer"
  26866. },
  26867. "dgfactoryitemvalue": {
  26868. "description": "要素项值(类型为仓库时填写仓库名称)",
  26869. "type": "string"
  26870. },
  26871. "isvalid": {
  26872. "description": "是否有效 - 0:无效 1:有效",
  26873. "type": "integer"
  26874. },
  26875. "orderindex": {
  26876. "description": "顺序",
  26877. "type": "integer"
  26878. },
  26879. "warehouseid": {
  26880. "description": "仓库ID(类型为仓库时填写)",
  26881. "type": "integer"
  26882. }
  26883. }
  26884. },
  26885. "models.ErmcpDeliveryGoods": {
  26886. "type": "object",
  26887. "properties": {
  26888. "agreeunit": {
  26889. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  26890. "type": "integer"
  26891. },
  26892. "areauserid": {
  26893. "description": "所属机构",
  26894. "type": "integer"
  26895. },
  26896. "auditflag": {
  26897. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  26898. "type": "integer"
  26899. },
  26900. "categoryid": {
  26901. "description": "类别ID(SEQ_WRCATEGORY)",
  26902. "type": "integer"
  26903. },
  26904. "deliverygoodscode": {
  26905. "description": "现货品种代码",
  26906. "type": "string"
  26907. },
  26908. "deliverygoodsid": {
  26909. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  26910. "type": "integer"
  26911. },
  26912. "deliverygoodsname": {
  26913. "description": "现货品种名称",
  26914. "type": "string"
  26915. },
  26916. "deliverygoodstype": {
  26917. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  26918. "type": "integer"
  26919. },
  26920. "dgstatus": {
  26921. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  26922. "type": "integer"
  26923. },
  26924. "enumdicname": {
  26925. "description": "现货品种单位名称",
  26926. "type": "string"
  26927. },
  26928. "goodsunitid": {
  26929. "description": "现货品种单位ID",
  26930. "type": "integer"
  26931. },
  26932. "isvalid": {
  26933. "description": "是否有效 - 0:无效 1:有效",
  26934. "type": "integer"
  26935. },
  26936. "qtydecimalplace": {
  26937. "description": "成交量小数位",
  26938. "type": "integer"
  26939. },
  26940. "remark": {
  26941. "description": "备注",
  26942. "type": "string"
  26943. },
  26944. "standardqty": {
  26945. "description": "标准数量(库位数量) [标准品特有]",
  26946. "type": "integer"
  26947. },
  26948. "standardqtyrange": {
  26949. "description": "标准数量偏差范围 [标准品特有]",
  26950. "type": "integer"
  26951. }
  26952. }
  26953. },
  26954. "models.ErmcpFuturesCompany": {
  26955. "type": "object",
  26956. "properties": {
  26957. "brokerid": {
  26958. "description": "经纪公司代码",
  26959. "type": "string"
  26960. },
  26961. "channeladdress": {
  26962. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  26963. "type": "string"
  26964. },
  26965. "channelid": {
  26966. "description": "对冲渠道ID",
  26967. "type": "string"
  26968. },
  26969. "createtime": {
  26970. "description": "创建时间",
  26971. "type": "string"
  26972. },
  26973. "creatorid": {
  26974. "description": "创建人",
  26975. "type": "string"
  26976. },
  26977. "fcid": {
  26978. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  26979. "type": "integer"
  26980. },
  26981. "fcname": {
  26982. "description": "期货公司名称",
  26983. "type": "string"
  26984. },
  26985. "isvalid": {
  26986. "description": "是否有效 - 0:无效 1:有效",
  26987. "type": "integer"
  26988. },
  26989. "mhpaddress": {
  26990. "description": "MHP服务地址(IP:Port)",
  26991. "type": "string"
  26992. },
  26993. "riskrulegroupid": {
  26994. "description": "风控规则组ID",
  26995. "type": "string"
  26996. },
  26997. "tradefeetmpid": {
  26998. "description": "手续费模板ID[TradeConfigTmpType为2]",
  26999. "type": "string"
  27000. },
  27001. "trademargintmpid": {
  27002. "description": "保证金模板ID [TradeConfigTmpType为1]",
  27003. "type": "string"
  27004. },
  27005. "traderatetmpid": {
  27006. "description": "汇率模板ID[TradeConfigTmpType为3]",
  27007. "type": "string"
  27008. },
  27009. "updatetime": {
  27010. "description": "更新时间",
  27011. "type": "string"
  27012. },
  27013. "updatorid": {
  27014. "description": "更新人",
  27015. "type": "string"
  27016. }
  27017. }
  27018. },
  27019. "models.ErmcpGGConvertCfg": {
  27020. "type": "object",
  27021. "properties": {
  27022. "convertratio": {
  27023. "description": "折算系数",
  27024. "type": "number"
  27025. },
  27026. "destgoodsgroupid": {
  27027. "description": "目标品种ID",
  27028. "type": "integer"
  27029. },
  27030. "dstcode": {
  27031. "description": "目录品种代码",
  27032. "type": "string"
  27033. },
  27034. "dstexchangecode": {
  27035. "description": "目标期货交易所",
  27036. "type": "string"
  27037. },
  27038. "dstname": {
  27039. "description": "目标品种名称",
  27040. "type": "string"
  27041. },
  27042. "dstunitid": {
  27043. "description": "目标品种单位ID",
  27044. "type": "integer"
  27045. },
  27046. "dstunitidname": {
  27047. "description": "目标品种单位名称",
  27048. "type": "string"
  27049. },
  27050. "modifytime": {
  27051. "description": "修改时间",
  27052. "type": "string"
  27053. },
  27054. "srccode": {
  27055. "description": "源品种代码",
  27056. "type": "string"
  27057. },
  27058. "srcexchangecode": {
  27059. "description": "源期货交易所",
  27060. "type": "string"
  27061. },
  27062. "srcgoodsgroupid": {
  27063. "description": "源品种ID",
  27064. "type": "integer"
  27065. },
  27066. "srcname": {
  27067. "description": "源品种名称",
  27068. "type": "string"
  27069. },
  27070. "srcunitid": {
  27071. "description": "源品种单位ID",
  27072. "type": "integer"
  27073. },
  27074. "srcunitidname": {
  27075. "description": "源品种单位名称",
  27076. "type": "string"
  27077. }
  27078. }
  27079. },
  27080. "models.ErmcpGoods": {
  27081. "type": "object",
  27082. "required": [
  27083. "goodscode",
  27084. "goodsid",
  27085. "goodsname",
  27086. "marketid"
  27087. ],
  27088. "properties": {
  27089. "agreeunit": {
  27090. "description": "合约单位",
  27091. "type": "number"
  27092. },
  27093. "areauserid": {
  27094. "description": "所属机构",
  27095. "type": "integer"
  27096. },
  27097. "auditaccountid": {
  27098. "description": "审核操作员账号",
  27099. "type": "integer"
  27100. },
  27101. "audittime": {
  27102. "description": "审核时间",
  27103. "type": "string"
  27104. },
  27105. "cancelaccountid": {
  27106. "description": "注销操作员账号",
  27107. "type": "integer"
  27108. },
  27109. "canceltime": {
  27110. "description": "注销时间",
  27111. "type": "string"
  27112. },
  27113. "closepricemode": {
  27114. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27115. "type": "integer"
  27116. },
  27117. "closepriceparam": {
  27118. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  27119. "type": "number"
  27120. },
  27121. "createtime": {
  27122. "description": "创建时间",
  27123. "type": "string"
  27124. },
  27125. "creatorid": {
  27126. "description": "创建人",
  27127. "type": "integer"
  27128. },
  27129. "currencyid": {
  27130. "description": "报价货币ID",
  27131. "type": "integer"
  27132. },
  27133. "cutmode": {
  27134. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  27135. "type": "integer"
  27136. },
  27137. "decimalplace": {
  27138. "description": "报价小数位",
  27139. "type": "integer"
  27140. },
  27141. "delistingdate": {
  27142. "description": "商品退市时间(状态:退市) -- 已作废",
  27143. "type": "string"
  27144. },
  27145. "delistingmode": {
  27146. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  27147. "type": "integer"
  27148. },
  27149. "deliveryflag": {
  27150. "description": "交割标志 - 0:不可交割 1:可交割",
  27151. "type": "integer"
  27152. },
  27153. "enumdicname": {
  27154. "description": "单位名称",
  27155. "type": "string"
  27156. },
  27157. "forceclosemode": {
  27158. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  27159. "type": "integer"
  27160. },
  27161. "forceclosevalue": {
  27162. "description": "定期强平参数 [收益权]",
  27163. "type": "integer"
  27164. },
  27165. "goodscode": {
  27166. "description": "商品代码(内部)",
  27167. "type": "string"
  27168. },
  27169. "goodscurrencyid": {
  27170. "description": "合约货币ID",
  27171. "type": "integer"
  27172. },
  27173. "goodsgroupid": {
  27174. "description": "所属商品组ID",
  27175. "type": "integer"
  27176. },
  27177. "goodsid": {
  27178. "description": "商品ID(自增ID SEQ_GOODS)",
  27179. "type": "integer"
  27180. },
  27181. "goodsname": {
  27182. "description": "商品名称",
  27183. "type": "string"
  27184. },
  27185. "goodsquotetype": {
  27186. "description": "合约报价类型: 1-直接报价 2-间接报价",
  27187. "type": "integer"
  27188. },
  27189. "goodsstatus": {
  27190. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27191. "type": "integer"
  27192. },
  27193. "goodstradetype": {
  27194. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  27195. "type": "integer"
  27196. },
  27197. "goodunitid": {
  27198. "description": "报价单位ID",
  27199. "type": "integer"
  27200. },
  27201. "hasquoter": {
  27202. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27203. "type": "integer"
  27204. },
  27205. "hqprotecttime": {
  27206. "description": "行情保护时间(秒)",
  27207. "type": "integer"
  27208. },
  27209. "innerdealmode": {
  27210. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27211. "type": "integer"
  27212. },
  27213. "isbuylimited": {
  27214. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27215. "type": "integer"
  27216. },
  27217. "isvisible": {
  27218. "description": "游客是否可见 - 0:不可见 1:可见",
  27219. "type": "integer"
  27220. },
  27221. "lasttradedate": {
  27222. "description": "最后交易日期(状态:待退市)",
  27223. "type": "string"
  27224. },
  27225. "listingdate": {
  27226. "description": "交易开始日期",
  27227. "type": "string"
  27228. },
  27229. "marketid": {
  27230. "description": "所属市场ID",
  27231. "type": "integer"
  27232. },
  27233. "modifierid": {
  27234. "description": "修改人",
  27235. "type": "integer"
  27236. },
  27237. "modifystatus": {
  27238. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  27239. "type": "integer"
  27240. },
  27241. "modifytime": {
  27242. "description": "修改时间",
  27243. "type": "string"
  27244. },
  27245. "outerdealmode": {
  27246. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27247. "type": "integer"
  27248. },
  27249. "outgoodscode": {
  27250. "description": "商品代码(外部)",
  27251. "type": "string"
  27252. },
  27253. "pictureurl": {
  27254. "description": "商品图片",
  27255. "type": "string"
  27256. },
  27257. "qtydecimalplace": {
  27258. "description": "成交量小数位",
  27259. "type": "integer"
  27260. },
  27261. "quotegear": {
  27262. "description": "行情档位(1-10)",
  27263. "type": "integer"
  27264. },
  27265. "quoteminunit": {
  27266. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27267. "type": "integer"
  27268. },
  27269. "quoteshowtype": {
  27270. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27271. "type": "integer"
  27272. },
  27273. "quoteshowtypeinterval": {
  27274. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27275. "type": "integer"
  27276. },
  27277. "relatedgoodsid": {
  27278. "description": "关联参考商品ID",
  27279. "type": "integer"
  27280. },
  27281. "remark": {
  27282. "description": "备注",
  27283. "type": "string"
  27284. },
  27285. "trademode": {
  27286. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27287. "type": "integer"
  27288. }
  27289. }
  27290. },
  27291. "models.ErmcpGoodsBrand": {
  27292. "type": "object",
  27293. "properties": {
  27294. "areauserid": {
  27295. "description": "所属机构",
  27296. "type": "integer"
  27297. },
  27298. "brandid": {
  27299. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  27300. "type": "integer"
  27301. },
  27302. "brandname": {
  27303. "description": "品牌名称",
  27304. "type": "string"
  27305. },
  27306. "createtime": {
  27307. "description": "创建时间",
  27308. "type": "string"
  27309. },
  27310. "creatorid": {
  27311. "description": "创建人",
  27312. "type": "integer"
  27313. },
  27314. "creatorsrc": {
  27315. "description": "创建人来源 - 1:管理端 2:终端",
  27316. "type": "integer"
  27317. },
  27318. "deliverygoodsid": {
  27319. "description": "现货品种ID",
  27320. "type": "integer"
  27321. },
  27322. "isvalid": {
  27323. "description": "是否有效 - 0:无效 1:有效",
  27324. "type": "integer"
  27325. },
  27326. "updatetime": {
  27327. "description": "更新时间",
  27328. "type": "string"
  27329. },
  27330. "updatorid": {
  27331. "description": "更新人",
  27332. "type": "integer"
  27333. },
  27334. "updatorsrc": {
  27335. "description": "更新人来源 - 1:管理端 2:终端",
  27336. "type": "integer"
  27337. },
  27338. "wrstandardid": {
  27339. "description": "现货商品ID",
  27340. "type": "integer"
  27341. }
  27342. }
  27343. },
  27344. "models.ErmcpGoodsModel": {
  27345. "type": "object",
  27346. "properties": {
  27347. "areauserid": {
  27348. "description": "所属机构",
  27349. "type": "integer"
  27350. },
  27351. "convertfactor": {
  27352. "description": "标仓系数",
  27353. "type": "number"
  27354. },
  27355. "createtime": {
  27356. "description": "创建时间",
  27357. "type": "string"
  27358. },
  27359. "creatorid": {
  27360. "description": "创建人",
  27361. "type": "integer"
  27362. },
  27363. "creatorsrc": {
  27364. "description": "创建人来源 - 1:管理端 2:终端",
  27365. "type": "integer"
  27366. },
  27367. "deliverygoodsid": {
  27368. "description": "现货品种ID",
  27369. "type": "integer"
  27370. },
  27371. "isvalid": {
  27372. "description": "是否有效 - 0:无效 1:有效",
  27373. "type": "integer"
  27374. },
  27375. "modelid": {
  27376. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  27377. "type": "integer"
  27378. },
  27379. "modelname": {
  27380. "description": "型号名称",
  27381. "type": "string"
  27382. },
  27383. "updatetime": {
  27384. "description": "更新时间",
  27385. "type": "string"
  27386. },
  27387. "updatorid": {
  27388. "description": "更新人",
  27389. "type": "integer"
  27390. },
  27391. "updatorsrc": {
  27392. "description": "更新人来源 - 1:管理端 2:终端",
  27393. "type": "integer"
  27394. },
  27395. "wrstandardid": {
  27396. "description": "现货商品ID",
  27397. "type": "integer"
  27398. }
  27399. }
  27400. },
  27401. "models.ErmcpHisExposure": {
  27402. "type": "object",
  27403. "properties": {
  27404. "needhedgeexposoure": {
  27405. "description": "应套保敞口",
  27406. "type": "number"
  27407. },
  27408. "reckondate": {
  27409. "description": "日照时期(yyyyMMdd)",
  27410. "type": "string"
  27411. },
  27412. "totalexposure": {
  27413. "description": "总敞口",
  27414. "type": "number"
  27415. }
  27416. }
  27417. },
  27418. "models.ErmcpLoginTaAccount": {
  27419. "type": "object",
  27420. "properties": {
  27421. "accountid": {
  27422. "description": "账号id",
  27423. "type": "integer"
  27424. },
  27425. "accountname": {
  27426. "description": "账号名称",
  27427. "type": "string"
  27428. }
  27429. }
  27430. },
  27431. "models.ErmcpLoginUser": {
  27432. "type": "object",
  27433. "properties": {
  27434. "acclist": {
  27435. "description": "关联资金账号",
  27436. "type": "array",
  27437. "items": {
  27438. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  27439. }
  27440. },
  27441. "accountname": {
  27442. "description": "用户名称",
  27443. "type": "string"
  27444. },
  27445. "clientroleid": {
  27446. "description": "角色id(usertype=2)",
  27447. "type": "integer"
  27448. },
  27449. "createtime": {
  27450. "description": "创建时间",
  27451. "type": "string"
  27452. },
  27453. "logincode": {
  27454. "description": "登录代码",
  27455. "type": "string"
  27456. },
  27457. "loginid": {
  27458. "description": "登录id(LOGINID)",
  27459. "type": "integer"
  27460. },
  27461. "loginname": {
  27462. "description": "登录名称(loginaccount表中的accountname字段)",
  27463. "type": "string"
  27464. },
  27465. "loginstatus": {
  27466. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  27467. "type": "integer"
  27468. },
  27469. "memberuserid": {
  27470. "description": "所属会员id",
  27471. "type": "integer"
  27472. },
  27473. "mobile": {
  27474. "description": "手机号",
  27475. "type": "string"
  27476. },
  27477. "modifytime": {
  27478. "description": "修改时间",
  27479. "type": "string"
  27480. },
  27481. "password": {
  27482. "description": "密码(不可解密)",
  27483. "type": "string"
  27484. },
  27485. "rolename": {
  27486. "description": "角色名称",
  27487. "type": "string"
  27488. },
  27489. "rolestatus": {
  27490. "description": "角色状态 1-启用 2-停用",
  27491. "type": "integer"
  27492. },
  27493. "roletype": {
  27494. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  27495. "type": "string"
  27496. },
  27497. "userid": {
  27498. "description": "用户id",
  27499. "type": "integer"
  27500. },
  27501. "usertype": {
  27502. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27503. "type": "integer"
  27504. }
  27505. }
  27506. },
  27507. "models.ErmcpLoginUserEx": {
  27508. "type": "object",
  27509. "properties": {
  27510. "accountstatus": {
  27511. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27512. "type": "integer"
  27513. },
  27514. "mobile": {
  27515. "description": "手机号",
  27516. "type": "string"
  27517. },
  27518. "querytype": {
  27519. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  27520. "type": "integer"
  27521. },
  27522. "roleid": {
  27523. "description": "角色id(交易账户-\u003e用户id)",
  27524. "type": "integer"
  27525. },
  27526. "rolename": {
  27527. "description": "角色名称(交易账户-\u003e用户名称)",
  27528. "type": "string"
  27529. },
  27530. "userlist": {
  27531. "description": "用户列表",
  27532. "type": "array",
  27533. "items": {
  27534. "$ref": "#/definitions/models.ErmcpLoginUser"
  27535. }
  27536. },
  27537. "usertype": {
  27538. "description": "用户类型 2-机构 7-企业成员(云平台)",
  27539. "type": "integer"
  27540. }
  27541. }
  27542. },
  27543. "models.ErmcpMiddleGoodsModel": {
  27544. "type": "object",
  27545. "properties": {
  27546. "areauserid": {
  27547. "description": "机构用户ID",
  27548. "type": "integer"
  27549. },
  27550. "createtime": {
  27551. "description": "修改时间",
  27552. "type": "string"
  27553. },
  27554. "enumdicname": {
  27555. "description": "单位名称",
  27556. "type": "string"
  27557. },
  27558. "evaluateratio": {
  27559. "description": "估价系数",
  27560. "type": "number"
  27561. },
  27562. "goodsgroupid": {
  27563. "description": "关联期货品种ID",
  27564. "type": "integer"
  27565. },
  27566. "goodsunitid": {
  27567. "description": "单位ID",
  27568. "type": "integer"
  27569. },
  27570. "isvalid": {
  27571. "description": "状态 0-无效(停用) 1-有效(正常)",
  27572. "type": "integer"
  27573. },
  27574. "middlegoodscode": {
  27575. "description": "套保品种代码",
  27576. "type": "string"
  27577. },
  27578. "middlegoodsid": {
  27579. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  27580. "type": "integer"
  27581. },
  27582. "middlegoodsname": {
  27583. "description": "套保品种名称",
  27584. "type": "string"
  27585. },
  27586. "modifytime": {
  27587. "description": "修改时间",
  27588. "type": "string"
  27589. },
  27590. "needarbitrageratio": {
  27591. "description": "套利比例",
  27592. "type": "number"
  27593. },
  27594. "needhedgeratio": {
  27595. "description": "套保比率",
  27596. "type": "number"
  27597. },
  27598. "qtydecimalplace": {
  27599. "description": "数量小数位",
  27600. "type": "integer"
  27601. },
  27602. "relatedgoodsid": {
  27603. "description": "关联交易商品ID",
  27604. "type": "integer"
  27605. },
  27606. "relatedgoodstype": {
  27607. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  27608. "type": "integer"
  27609. },
  27610. "remark": {
  27611. "description": "备注",
  27612. "type": "string"
  27613. }
  27614. }
  27615. },
  27616. "models.ErmcpMiddlegoodsRelateGoods": {
  27617. "type": "object",
  27618. "properties": {
  27619. "agreeunit": {
  27620. "description": "合约乘数",
  27621. "type": "number"
  27622. },
  27623. "convertratio": {
  27624. "description": "折算系数",
  27625. "type": "number"
  27626. },
  27627. "enumdicname": {
  27628. "description": "单位名称(交易商品)",
  27629. "type": "string"
  27630. },
  27631. "goodscode": {
  27632. "description": "交易商品代码",
  27633. "type": "string"
  27634. },
  27635. "goodsgroupid": {
  27636. "description": "交易品种id",
  27637. "type": "integer"
  27638. },
  27639. "goodsid": {
  27640. "description": "商品Id",
  27641. "type": "integer"
  27642. },
  27643. "goodsname": {
  27644. "description": "交易商品名称",
  27645. "type": "string"
  27646. },
  27647. "goodunitid": {
  27648. "description": "交易商品单位id",
  27649. "type": "integer"
  27650. },
  27651. "middlegoodsid": {
  27652. "description": "套保商品id",
  27653. "type": "integer"
  27654. },
  27655. "middlegoodsname": {
  27656. "description": "套保商品名称",
  27657. "type": "string"
  27658. },
  27659. "middlegoodsswcode": {
  27660. "description": "套保商品代码",
  27661. "type": "string"
  27662. },
  27663. "needarbitrageratio": {
  27664. "description": "应套利比例",
  27665. "type": "number"
  27666. },
  27667. "needhedgeratio": {
  27668. "description": "应套保比例",
  27669. "type": "number"
  27670. }
  27671. }
  27672. },
  27673. "models.ErmcpRole": {
  27674. "type": "object",
  27675. "properties": {
  27676. "areauserid": {
  27677. "description": "所属机构",
  27678. "type": "integer"
  27679. },
  27680. "autoid": {
  27681. "description": "角色ID(自增ID)",
  27682. "type": "integer"
  27683. },
  27684. "modifierid": {
  27685. "description": "修改人(创建人)",
  27686. "type": "integer"
  27687. },
  27688. "modifiername": {
  27689. "description": "修改人名称",
  27690. "type": "string"
  27691. },
  27692. "modifytime": {
  27693. "description": "修改时间(创建时间)",
  27694. "type": "string"
  27695. },
  27696. "rolename": {
  27697. "description": "角色名称",
  27698. "type": "string"
  27699. },
  27700. "rolestatus": {
  27701. "description": "角色状态 - 1:启用 2:停用",
  27702. "type": "integer"
  27703. },
  27704. "roletype": {
  27705. "description": "角色类型 - 1- 管理端 2- 交易端",
  27706. "type": "integer"
  27707. }
  27708. }
  27709. },
  27710. "models.ErmcpRoleMenu": {
  27711. "type": "object",
  27712. "properties": {
  27713. "iconame": {
  27714. "description": "菜单图标",
  27715. "type": "string"
  27716. },
  27717. "ishadrole": {
  27718. "description": "是否有权限",
  27719. "type": "boolean"
  27720. },
  27721. "menutype": {
  27722. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  27723. "type": "integer"
  27724. },
  27725. "parentcode": {
  27726. "description": "上级资源代码",
  27727. "type": "string"
  27728. },
  27729. "remark": {
  27730. "description": "菜单备注",
  27731. "type": "string"
  27732. },
  27733. "resourcecode": {
  27734. "description": "菜单代码",
  27735. "type": "string"
  27736. },
  27737. "resourcelevel": {
  27738. "description": "级别",
  27739. "type": "integer"
  27740. },
  27741. "resourcename": {
  27742. "description": "菜单名称",
  27743. "type": "string"
  27744. },
  27745. "roleid": {
  27746. "description": "角色id",
  27747. "type": "integer"
  27748. },
  27749. "sort": {
  27750. "description": "排序",
  27751. "type": "integer"
  27752. },
  27753. "url": {
  27754. "description": "URL",
  27755. "type": "string"
  27756. },
  27757. "userid": {
  27758. "description": "用户id",
  27759. "type": "integer"
  27760. }
  27761. }
  27762. },
  27763. "models.ErmcpRoleMenuEx": {
  27764. "type": "object",
  27765. "properties": {
  27766. "menu": {
  27767. "description": "父级菜单",
  27768. "$ref": "#/definitions/models.ErmcpRoleMenu"
  27769. },
  27770. "subMenu": {
  27771. "description": "子级菜单",
  27772. "type": "array",
  27773. "items": {
  27774. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  27775. }
  27776. }
  27777. }
  27778. },
  27779. "models.ErmcpSpotContractModelEx": {
  27780. "type": "object",
  27781. "properties": {
  27782. "accountname": {
  27783. "description": "套期主体",
  27784. "type": "string"
  27785. },
  27786. "amount": {
  27787. "description": "金额 [1:一口价、3:暂定价]",
  27788. "type": "number"
  27789. },
  27790. "attachment": {
  27791. "description": "附件",
  27792. "type": "string"
  27793. },
  27794. "auditremark": {
  27795. "description": "审核意见",
  27796. "type": "string"
  27797. },
  27798. "audittime": {
  27799. "description": "审核时间",
  27800. "type": "string"
  27801. },
  27802. "avgprice": {
  27803. "description": "定价均价 = 已定价金额 / 已定价量",
  27804. "type": "number"
  27805. },
  27806. "brandname": {
  27807. "description": "品牌名称",
  27808. "type": "string"
  27809. },
  27810. "buyuserid": {
  27811. "description": "采购方ID",
  27812. "type": "integer"
  27813. },
  27814. "buyusername": {
  27815. "description": "采购方名称",
  27816. "type": "string"
  27817. },
  27818. "contracctstatus": {
  27819. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27820. "type": "integer"
  27821. },
  27822. "contractmargin": {
  27823. "description": "合同保证金",
  27824. "type": "number"
  27825. },
  27826. "contractno": {
  27827. "description": "[合同编号]现货合同编号",
  27828. "type": "string"
  27829. },
  27830. "contracttype": {
  27831. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  27832. "type": "integer"
  27833. },
  27834. "convertfactor": {
  27835. "description": "标仓系数",
  27836. "type": "number"
  27837. },
  27838. "createtime": {
  27839. "description": "创建时间",
  27840. "type": "string"
  27841. },
  27842. "customername": {
  27843. "description": "对手方",
  27844. "type": "string"
  27845. },
  27846. "customeruserid": {
  27847. "description": "客户ID",
  27848. "type": "integer"
  27849. },
  27850. "deliveryenddate": {
  27851. "description": "交收期(结束)",
  27852. "type": "string"
  27853. },
  27854. "deliverygoodscode": {
  27855. "description": "现货品种代码",
  27856. "type": "string"
  27857. },
  27858. "deliverygoodsid": {
  27859. "description": "现货品种ID",
  27860. "type": "integer"
  27861. },
  27862. "deliverygoodsname": {
  27863. "description": "现货品种名称",
  27864. "type": "string"
  27865. },
  27866. "deliverystartdate": {
  27867. "description": "交收期(开始)",
  27868. "type": "string"
  27869. },
  27870. "enddate": {
  27871. "description": "点价结束日期 [2:点价 3:暂定价]",
  27872. "type": "string"
  27873. },
  27874. "enumdicname": {
  27875. "description": "单位名称",
  27876. "type": "string"
  27877. },
  27878. "goodscode": {
  27879. "description": "点价合约代码",
  27880. "type": "string"
  27881. },
  27882. "goodsid": {
  27883. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  27884. "type": "integer"
  27885. },
  27886. "goodsname": {
  27887. "description": "点价商品名称",
  27888. "type": "string"
  27889. },
  27890. "isrelated": {
  27891. "description": "是否已关联计划项目 - 0:否 1:是",
  27892. "type": "integer"
  27893. },
  27894. "isrelated2": {
  27895. "description": "是否已关联现货项目 - 0:否 1:是",
  27896. "type": "integer"
  27897. },
  27898. "margin": {
  27899. "description": "当前保证金",
  27900. "type": "number"
  27901. },
  27902. "modelname": {
  27903. "description": "型号名称",
  27904. "type": "string"
  27905. },
  27906. "price": {
  27907. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  27908. "type": "number"
  27909. },
  27910. "pricedamount": {
  27911. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  27912. "type": "number"
  27913. },
  27914. "pricedqty": {
  27915. "description": "已定价量",
  27916. "type": "number"
  27917. },
  27918. "pricemove": {
  27919. "description": "升贴水 [2:点价 3:暂定价]",
  27920. "type": "number"
  27921. },
  27922. "pricetype": {
  27923. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  27924. "type": "integer"
  27925. },
  27926. "producttype": {
  27927. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  27928. "type": "integer"
  27929. },
  27930. "qty": {
  27931. "description": "[合同数量]数量",
  27932. "type": "number"
  27933. },
  27934. "remark": {
  27935. "description": "备注",
  27936. "type": "string"
  27937. },
  27938. "selluserid": {
  27939. "description": "销售方ID",
  27940. "type": "integer"
  27941. },
  27942. "sellusername": {
  27943. "description": "销售方名称",
  27944. "type": "string"
  27945. },
  27946. "spotamount": {
  27947. "description": "合同现货金额 [不含升贴水]",
  27948. "type": "number"
  27949. },
  27950. "spotavgprice": {
  27951. "description": "现货均价 = 合同现货金额 / 已定价量",
  27952. "type": "number"
  27953. },
  27954. "spotcontractid": {
  27955. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  27956. "type": "string"
  27957. },
  27958. "spotgoodsbrandid": {
  27959. "description": "现货品牌ID",
  27960. "type": "integer"
  27961. },
  27962. "spotgoodsdesc": {
  27963. "description": "商品型号",
  27964. "type": "string"
  27965. },
  27966. "spotgoodsmodelid": {
  27967. "description": "现货型号ID",
  27968. "type": "integer"
  27969. },
  27970. "startdate": {
  27971. "description": "点价开始日期 [2:点价 3:暂定价]",
  27972. "type": "string"
  27973. },
  27974. "tradeuserid": {
  27975. "description": "交易用户ID",
  27976. "type": "integer"
  27977. },
  27978. "unpricedqty": {
  27979. "description": "未定价量 = 合同数量 - 已定价量",
  27980. "type": "number"
  27981. },
  27982. "updatetime": {
  27983. "description": "更新时间",
  27984. "type": "string"
  27985. },
  27986. "userid": {
  27987. "description": "机构ID",
  27988. "type": "integer"
  27989. },
  27990. "wrstandardcode": {
  27991. "description": "现货商品代码",
  27992. "type": "string"
  27993. },
  27994. "wrstandardid": {
  27995. "description": "现货商品ID",
  27996. "type": "integer"
  27997. },
  27998. "wrstandardname": {
  27999. "description": "[现货商品]现货商品名称",
  28000. "type": "string"
  28001. }
  28002. }
  28003. },
  28004. "models.ErmcpTaAccount": {
  28005. "type": "object",
  28006. "properties": {
  28007. "accountid": {
  28008. "description": "账户id",
  28009. "type": "integer"
  28010. },
  28011. "accountname": {
  28012. "description": "账户名称",
  28013. "type": "string"
  28014. },
  28015. "currencyid": {
  28016. "description": "币种id",
  28017. "type": "integer"
  28018. },
  28019. "hedgeaccountcode": {
  28020. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28021. "type": "string"
  28022. },
  28023. "ismain": {
  28024. "description": "是否主账户 0-否 1-是",
  28025. "type": "integer"
  28026. },
  28027. "parentaccountid": {
  28028. "description": "父账户id",
  28029. "type": "integer"
  28030. },
  28031. "relateduserid": {
  28032. "description": "关联userid",
  28033. "type": "integer"
  28034. },
  28035. "tradefeetmpid": {
  28036. "description": "手续费模板id",
  28037. "type": "integer"
  28038. },
  28039. "tradefeetmpname": {
  28040. "description": "手续费模板名称",
  28041. "type": "string"
  28042. },
  28043. "trademargintmpid": {
  28044. "description": "保证金模板id",
  28045. "type": "integer"
  28046. },
  28047. "trademargintmpname": {
  28048. "description": "保证金模板名称",
  28049. "type": "string"
  28050. },
  28051. "traderatetmpid": {
  28052. "description": "汇率模板id",
  28053. "type": "integer"
  28054. },
  28055. "traderatetmpname": {
  28056. "description": "汇率模板名称",
  28057. "type": "string"
  28058. },
  28059. "tradestatus": {
  28060. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28061. "type": "integer"
  28062. },
  28063. "userid": {
  28064. "description": "用户id",
  28065. "type": "integer"
  28066. }
  28067. }
  28068. },
  28069. "models.ErmcpTaAccountEx": {
  28070. "type": "object",
  28071. "properties": {
  28072. "mainAcc": {
  28073. "description": "主账号",
  28074. "$ref": "#/definitions/models.ErmcpTaAccountM"
  28075. },
  28076. "subacclist": {
  28077. "description": "子账号列表",
  28078. "type": "array",
  28079. "items": {
  28080. "$ref": "#/definitions/models.ErmcpTaAccount"
  28081. }
  28082. }
  28083. }
  28084. },
  28085. "models.ErmcpTaAccountInfo": {
  28086. "type": "object",
  28087. "properties": {
  28088. "accountid": {
  28089. "description": "资金账户ID",
  28090. "type": "integer"
  28091. },
  28092. "accountname": {
  28093. "description": "账户名称",
  28094. "type": "string"
  28095. },
  28096. "balance": {
  28097. "description": "期初余额",
  28098. "type": "number"
  28099. },
  28100. "capitalbalance": {
  28101. "description": "本金余额[外部子账户实际出入金余额]",
  28102. "type": "number"
  28103. },
  28104. "closepl": {
  28105. "description": "今日平仓盈亏",
  28106. "type": "number"
  28107. },
  28108. "creditdecrease": {
  28109. "description": "今日授信减少",
  28110. "type": "number"
  28111. },
  28112. "creditincrease": {
  28113. "description": "今日授信增加",
  28114. "type": "number"
  28115. },
  28116. "curdebt": {
  28117. "description": "期末欠款",
  28118. "type": "number"
  28119. },
  28120. "currencyid": {
  28121. "description": "货币ID",
  28122. "type": "integer"
  28123. },
  28124. "currentbalance": {
  28125. "description": "期末余额",
  28126. "type": "number"
  28127. },
  28128. "freezecharge": {
  28129. "description": "手续费冻结",
  28130. "type": "number"
  28131. },
  28132. "freezemargin": {
  28133. "description": "冻结保证金",
  28134. "type": "number"
  28135. },
  28136. "fromaccountid": {
  28137. "description": "所属上级账户",
  28138. "type": "integer"
  28139. },
  28140. "inamount": {
  28141. "description": "今日入金金额(包括三方入金)",
  28142. "type": "number"
  28143. },
  28144. "ismain": {
  28145. "description": "是否母账号 0:不是母账户 1:是母账户",
  28146. "type": "integer"
  28147. },
  28148. "mortgagecredit": {
  28149. "description": "授信金额",
  28150. "type": "number"
  28151. },
  28152. "oridebt": {
  28153. "description": "期初欠款",
  28154. "type": "number"
  28155. },
  28156. "orifreezecharge": {
  28157. "description": "期初手续费冻结",
  28158. "type": "number"
  28159. },
  28160. "orifreezemargin": {
  28161. "description": "期初冻结保证金",
  28162. "type": "number"
  28163. },
  28164. "orimortgagecredit": {
  28165. "description": "期初授信金额",
  28166. "type": "number"
  28167. },
  28168. "oriothercredit": {
  28169. "description": "期初其它授信金额",
  28170. "type": "number"
  28171. },
  28172. "oriotherfreezemargin": {
  28173. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28174. "type": "number"
  28175. },
  28176. "orioutamountfreeze": {
  28177. "description": "期初出金冻结",
  28178. "type": "number"
  28179. },
  28180. "oriusedmargin": {
  28181. "description": "期初占用保证金",
  28182. "type": "number"
  28183. },
  28184. "othercredit": {
  28185. "description": "其它授信金额",
  28186. "type": "number"
  28187. },
  28188. "othercreditdecrease": {
  28189. "description": "今日其它授信减少",
  28190. "type": "number"
  28191. },
  28192. "othercreditincrease": {
  28193. "description": "今日其它授信增加",
  28194. "type": "number"
  28195. },
  28196. "otherfreezemargin": {
  28197. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28198. "type": "number"
  28199. },
  28200. "outamount": {
  28201. "description": "今日出金金额(包括三方出金)",
  28202. "type": "number"
  28203. },
  28204. "outamountfreeze": {
  28205. "description": "出金冻结",
  28206. "type": "number"
  28207. },
  28208. "outthreshold": {
  28209. "description": "出金阈值",
  28210. "type": "number"
  28211. },
  28212. "parentaccountid": {
  28213. "description": "所属根账号",
  28214. "type": "integer"
  28215. },
  28216. "paycharge": {
  28217. "description": "今日手续费支出",
  28218. "type": "number"
  28219. },
  28220. "relateduserid": {
  28221. "description": "关联用户",
  28222. "type": "integer"
  28223. },
  28224. "signstatus": {
  28225. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28226. "type": "integer"
  28227. },
  28228. "sublevelpath": {
  28229. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28230. "type": "string"
  28231. },
  28232. "taaccounttype": {
  28233. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28234. "type": "integer"
  28235. },
  28236. "thirdinamount": {
  28237. "description": "今日三方入金",
  28238. "type": "number"
  28239. },
  28240. "thirdoutamount": {
  28241. "description": "今日三方出金",
  28242. "type": "number"
  28243. },
  28244. "tradestatus": {
  28245. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28246. "type": "integer"
  28247. },
  28248. "transferamount": {
  28249. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28250. "type": "number"
  28251. },
  28252. "usedmargin": {
  28253. "description": "占用保证金",
  28254. "type": "number"
  28255. },
  28256. "userid": {
  28257. "description": "用户ID",
  28258. "type": "integer"
  28259. }
  28260. }
  28261. },
  28262. "models.ErmcpTaAccountM": {
  28263. "type": "object",
  28264. "properties": {
  28265. "accountid": {
  28266. "description": "账户id",
  28267. "type": "integer"
  28268. },
  28269. "accountname": {
  28270. "description": "账户名称",
  28271. "type": "string"
  28272. },
  28273. "currencyid": {
  28274. "description": "币种id",
  28275. "type": "integer"
  28276. },
  28277. "fcid": {
  28278. "description": "期货公司id",
  28279. "type": "integer"
  28280. },
  28281. "fcname": {
  28282. "description": "期货公司代码",
  28283. "type": "string"
  28284. },
  28285. "hedgeaccountcode": {
  28286. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28287. "type": "string"
  28288. },
  28289. "ismain": {
  28290. "description": "是否主账户 0-否 1-是",
  28291. "type": "integer"
  28292. },
  28293. "parentaccountid": {
  28294. "description": "父账户id",
  28295. "type": "integer"
  28296. },
  28297. "relateduserid": {
  28298. "description": "关联userid",
  28299. "type": "integer"
  28300. },
  28301. "tradefeetmpid": {
  28302. "description": "手续费模板id",
  28303. "type": "integer"
  28304. },
  28305. "tradefeetmpname": {
  28306. "description": "手续费模板名称",
  28307. "type": "string"
  28308. },
  28309. "trademargintmpid": {
  28310. "description": "保证金模板id",
  28311. "type": "integer"
  28312. },
  28313. "trademargintmpname": {
  28314. "description": "保证金模板名称",
  28315. "type": "string"
  28316. },
  28317. "traderatetmpid": {
  28318. "description": "汇率模板id",
  28319. "type": "integer"
  28320. },
  28321. "traderatetmpname": {
  28322. "description": "汇率模板名称",
  28323. "type": "string"
  28324. },
  28325. "tradestatus": {
  28326. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28327. "type": "integer"
  28328. },
  28329. "userid": {
  28330. "description": "用户id",
  28331. "type": "integer"
  28332. }
  28333. }
  28334. },
  28335. "models.ErmcpTradeConfigTMP": {
  28336. "type": "object",
  28337. "properties": {
  28338. "areauserid": {
  28339. "description": "所属机构",
  28340. "type": "integer"
  28341. },
  28342. "basiccurrencyid": {
  28343. "description": "基本币种ID[汇率] - 目标币种",
  28344. "type": "integer"
  28345. },
  28346. "mainaccountid": {
  28347. "description": "主账户ID",
  28348. "type": "integer"
  28349. },
  28350. "modifierid": {
  28351. "description": "修改人",
  28352. "type": "integer"
  28353. },
  28354. "remark": {
  28355. "description": "备注",
  28356. "type": "string"
  28357. },
  28358. "tradeconfigtmpid": {
  28359. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  28360. "type": "integer"
  28361. },
  28362. "tradeconfigtmpname": {
  28363. "description": "交易配置模板名称",
  28364. "type": "string"
  28365. },
  28366. "tradeconfigtmptype": {
  28367. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  28368. "type": "integer"
  28369. },
  28370. "updatetime": {
  28371. "description": "更新时间",
  28372. "type": "string"
  28373. }
  28374. }
  28375. },
  28376. "models.Ermcpjrlinkpos": {
  28377. "type": "object",
  28378. "required": [
  28379. "spotcontractid"
  28380. ],
  28381. "properties": {
  28382. "areauserid": {
  28383. "description": "所属企业",
  28384. "type": "integer"
  28385. },
  28386. "averageprice": {
  28387. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  28388. "type": "number"
  28389. },
  28390. "closepl": {
  28391. "description": "总平仓盈亏 [期货损益]",
  28392. "type": "number"
  28393. },
  28394. "executeprice": {
  28395. "description": "执行价 - 1:期货单 为 0",
  28396. "type": "integer"
  28397. },
  28398. "futurehedgeqty": {
  28399. "description": "期货套期量",
  28400. "type": "number"
  28401. },
  28402. "goodsid": {
  28403. "description": "期货合约",
  28404. "type": "integer"
  28405. },
  28406. "middlegoodscode": {
  28407. "description": "套保商品代码",
  28408. "type": "string"
  28409. },
  28410. "middlegoodsname": {
  28411. "description": "套保商品名称",
  28412. "type": "string"
  28413. },
  28414. "netqty": {
  28415. "description": "净头寸",
  28416. "type": "number"
  28417. },
  28418. "optioncode": {
  28419. "description": "期权代码",
  28420. "type": "string"
  28421. },
  28422. "ordertype": {
  28423. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28424. "type": "integer"
  28425. },
  28426. "reckonpl": {
  28427. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  28428. "type": "number"
  28429. },
  28430. "spotcontractid": {
  28431. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  28432. "type": "string"
  28433. },
  28434. "todayfutureclosepl": {
  28435. "description": "今日平仓盈亏",
  28436. "type": "number"
  28437. },
  28438. "totalbuyamount": {
  28439. "description": "买金额 [期货]",
  28440. "type": "number"
  28441. },
  28442. "totalbuyholdamount": {
  28443. "description": "买持仓总金额[期货]",
  28444. "type": "number"
  28445. },
  28446. "totalbuyqty": {
  28447. "description": "买数量",
  28448. "type": "number"
  28449. },
  28450. "totalcharge": {
  28451. "description": "手续费",
  28452. "type": "number"
  28453. },
  28454. "totalpremium": {
  28455. "description": "权利金 [期权]",
  28456. "type": "number"
  28457. },
  28458. "totalsellamount": {
  28459. "description": "卖金额 [期货]",
  28460. "type": "number"
  28461. },
  28462. "totalsellholdamount": {
  28463. "description": "卖持仓总金额[期货]",
  28464. "type": "number"
  28465. },
  28466. "totalsellqty": {
  28467. "description": "卖数量",
  28468. "type": "number"
  28469. },
  28470. "updatetime": {
  28471. "description": "更新时间",
  28472. "type": "string"
  28473. }
  28474. }
  28475. },
  28476. "models.Ermcppatradelinkdetail": {
  28477. "type": "object",
  28478. "required": [
  28479. "hedgeditemid"
  28480. ],
  28481. "properties": {
  28482. "agreeunit": {
  28483. "description": "合约乘数",
  28484. "type": "number"
  28485. },
  28486. "amount": {
  28487. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28488. "type": "number"
  28489. },
  28490. "areauserid": {
  28491. "description": "所属机构",
  28492. "type": "integer"
  28493. },
  28494. "bizsubjectid": {
  28495. "description": "归属业务部门ID - SubjectID",
  28496. "type": "integer"
  28497. },
  28498. "buyorsell": {
  28499. "description": "方向 - 0:买 1:卖",
  28500. "type": "integer"
  28501. },
  28502. "convertratio": {
  28503. "description": "品种系数",
  28504. "type": "number"
  28505. },
  28506. "createtime": {
  28507. "description": "创建时间",
  28508. "type": "string"
  28509. },
  28510. "creatorid": {
  28511. "description": "创建人ID",
  28512. "type": "integer"
  28513. },
  28514. "creatorsrc": {
  28515. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28516. "type": "integer"
  28517. },
  28518. "goodsgroupid": {
  28519. "description": "对冲品种ID[期货合约商品组ID]",
  28520. "type": "integer"
  28521. },
  28522. "goodsid": {
  28523. "description": "商品ID",
  28524. "type": "integer"
  28525. },
  28526. "hedgeditemid": {
  28527. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28528. "type": "integer"
  28529. },
  28530. "hedgeflag": {
  28531. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28532. "type": "integer"
  28533. },
  28534. "linkdetailid": {
  28535. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28536. "type": "string"
  28537. },
  28538. "linkstatus": {
  28539. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28540. "type": "integer"
  28541. },
  28542. "middlegoodsid": {
  28543. "description": "套保品种ID",
  28544. "type": "integer"
  28545. },
  28546. "name": {
  28547. "description": "账户名/子账户",
  28548. "type": "string"
  28549. },
  28550. "optioncode": {
  28551. "description": "[期货合约]期权代码 [期权]",
  28552. "type": "string"
  28553. },
  28554. "ordertype": {
  28555. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28556. "type": "integer"
  28557. },
  28558. "relatedlot": {
  28559. "description": "[数量]关联手数",
  28560. "type": "number"
  28561. },
  28562. "relatedmode": {
  28563. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28564. "type": "integer"
  28565. },
  28566. "relatedqty": {
  28567. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28568. "type": "number"
  28569. },
  28570. "retcode": {
  28571. "description": "返回码",
  28572. "type": "integer"
  28573. },
  28574. "saleuserid": {
  28575. "description": "业务员ID",
  28576. "type": "integer"
  28577. },
  28578. "tradedate": {
  28579. "description": "关联交易日(yyyyMMdd)",
  28580. "type": "string"
  28581. },
  28582. "tradeid": {
  28583. "description": "[成交单号]内部成交单ID",
  28584. "type": "string"
  28585. },
  28586. "tradelot": {
  28587. "description": "成交手数",
  28588. "type": "integer"
  28589. },
  28590. "tradeprice": {
  28591. "description": "[价格]成交价格",
  28592. "type": "number"
  28593. },
  28594. "tradetime": {
  28595. "description": "日期时间",
  28596. "type": "string"
  28597. },
  28598. "tradetradedate": {
  28599. "description": "成交交易日(yyyyMMdd)",
  28600. "type": "string"
  28601. }
  28602. }
  28603. },
  28604. "models.Externalexchange": {
  28605. "type": "object",
  28606. "required": [
  28607. "autoid"
  28608. ],
  28609. "properties": {
  28610. "autoid": {
  28611. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  28612. "type": "integer"
  28613. },
  28614. "exchangefullname": {
  28615. "description": "外部交易所全称",
  28616. "type": "string"
  28617. },
  28618. "exexchangecode": {
  28619. "description": "外部交易所代码",
  28620. "type": "string"
  28621. },
  28622. "exexchangename": {
  28623. "description": "外部交易所名称(简称)",
  28624. "type": "string"
  28625. },
  28626. "ismarketprice": {
  28627. "description": "是否支持市价 - 0:不支持 1:支持",
  28628. "type": "integer"
  28629. },
  28630. "quotegear": {
  28631. "description": "行情档位(1-10)",
  28632. "type": "integer"
  28633. },
  28634. "showbrokerflag": {
  28635. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  28636. "type": "integer"
  28637. },
  28638. "updatetime": {
  28639. "description": "更新时间",
  28640. "type": "string"
  28641. }
  28642. }
  28643. },
  28644. "models.Funcmenulist": {
  28645. "type": "object",
  28646. "required": [
  28647. "resourcecode"
  28648. ],
  28649. "properties": {
  28650. "iconame": {
  28651. "description": "菜单图标",
  28652. "type": "string"
  28653. },
  28654. "menutype": {
  28655. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  28656. "type": "integer"
  28657. },
  28658. "parentcode": {
  28659. "description": "上级资源代码",
  28660. "type": "string"
  28661. },
  28662. "remark": {
  28663. "description": "备注",
  28664. "type": "string"
  28665. },
  28666. "resourcecode": {
  28667. "description": "资源代码",
  28668. "type": "string"
  28669. },
  28670. "resourcelevel": {
  28671. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  28672. "type": "integer"
  28673. },
  28674. "resourcename": {
  28675. "description": "资源名",
  28676. "type": "string"
  28677. },
  28678. "sort": {
  28679. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  28680. "type": "integer"
  28681. },
  28682. "url": {
  28683. "description": "URL",
  28684. "type": "string"
  28685. }
  28686. }
  28687. },
  28688. "models.Goods": {
  28689. "type": "object",
  28690. "required": [
  28691. "goodscode",
  28692. "goodsid",
  28693. "goodsname",
  28694. "marketid"
  28695. ],
  28696. "properties": {
  28697. "agreeunit": {
  28698. "description": "合约单位",
  28699. "type": "number"
  28700. },
  28701. "areauserid": {
  28702. "description": "所属机构",
  28703. "type": "integer"
  28704. },
  28705. "auditaccountid": {
  28706. "description": "审核操作员账号",
  28707. "type": "integer"
  28708. },
  28709. "audittime": {
  28710. "description": "审核时间",
  28711. "type": "string"
  28712. },
  28713. "cancelaccountid": {
  28714. "description": "注销操作员账号",
  28715. "type": "integer"
  28716. },
  28717. "canceltime": {
  28718. "description": "注销时间",
  28719. "type": "string"
  28720. },
  28721. "closepricemode": {
  28722. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28723. "type": "integer"
  28724. },
  28725. "closepriceparam": {
  28726. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28727. "type": "number"
  28728. },
  28729. "createtime": {
  28730. "description": "创建时间",
  28731. "type": "string"
  28732. },
  28733. "creatorid": {
  28734. "description": "创建人",
  28735. "type": "integer"
  28736. },
  28737. "currencyid": {
  28738. "description": "报价货币ID",
  28739. "type": "integer"
  28740. },
  28741. "cutmode": {
  28742. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28743. "type": "integer"
  28744. },
  28745. "decimalplace": {
  28746. "description": "报价小数位",
  28747. "type": "integer"
  28748. },
  28749. "delistingdate": {
  28750. "description": "商品退市时间(状态:退市) -- 已作废",
  28751. "type": "string"
  28752. },
  28753. "delistingmode": {
  28754. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28755. "type": "integer"
  28756. },
  28757. "deliveryflag": {
  28758. "description": "交割标志 - 0:不可交割 1:可交割",
  28759. "type": "integer"
  28760. },
  28761. "forceclosemode": {
  28762. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28763. "type": "integer"
  28764. },
  28765. "forceclosevalue": {
  28766. "description": "定期强平参数 [收益权]",
  28767. "type": "integer"
  28768. },
  28769. "goodscode": {
  28770. "description": "商品代码(内部)",
  28771. "type": "string"
  28772. },
  28773. "goodscurrencyid": {
  28774. "description": "合约货币ID",
  28775. "type": "integer"
  28776. },
  28777. "goodsgroupid": {
  28778. "description": "所属商品组ID",
  28779. "type": "integer"
  28780. },
  28781. "goodsid": {
  28782. "description": "商品ID(自增ID SEQ_GOODS)",
  28783. "type": "integer"
  28784. },
  28785. "goodsname": {
  28786. "description": "商品名称",
  28787. "type": "string"
  28788. },
  28789. "goodsquotetype": {
  28790. "description": "合约报价类型: 1-直接报价 2-间接报价",
  28791. "type": "integer"
  28792. },
  28793. "goodsstatus": {
  28794. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28795. "type": "integer"
  28796. },
  28797. "goodstradetype": {
  28798. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  28799. "type": "integer"
  28800. },
  28801. "goodunitid": {
  28802. "description": "报价单位ID",
  28803. "type": "integer"
  28804. },
  28805. "hasquoter": {
  28806. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  28807. "type": "integer"
  28808. },
  28809. "hqprotecttime": {
  28810. "description": "行情保护时间(秒)",
  28811. "type": "integer"
  28812. },
  28813. "innerdealmode": {
  28814. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28815. "type": "integer"
  28816. },
  28817. "isbuylimited": {
  28818. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28819. "type": "integer"
  28820. },
  28821. "isvisible": {
  28822. "description": "游客是否可见 - 0:不可见 1:可见",
  28823. "type": "integer"
  28824. },
  28825. "lasttradedate": {
  28826. "description": "最后交易日期(状态:待退市)",
  28827. "type": "string"
  28828. },
  28829. "listingdate": {
  28830. "description": "交易开始日期",
  28831. "type": "string"
  28832. },
  28833. "marketid": {
  28834. "description": "所属市场ID",
  28835. "type": "integer"
  28836. },
  28837. "modifierid": {
  28838. "description": "修改人",
  28839. "type": "integer"
  28840. },
  28841. "modifystatus": {
  28842. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28843. "type": "integer"
  28844. },
  28845. "modifytime": {
  28846. "description": "修改时间",
  28847. "type": "string"
  28848. },
  28849. "outerdealmode": {
  28850. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28851. "type": "integer"
  28852. },
  28853. "outgoodscode": {
  28854. "description": "商品代码(外部)",
  28855. "type": "string"
  28856. },
  28857. "pictureurl": {
  28858. "description": "商品图片",
  28859. "type": "string"
  28860. },
  28861. "qtydecimalplace": {
  28862. "description": "成交量小数位",
  28863. "type": "integer"
  28864. },
  28865. "quotegear": {
  28866. "description": "行情档位(1-10)",
  28867. "type": "integer"
  28868. },
  28869. "quoteminunit": {
  28870. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28871. "type": "integer"
  28872. },
  28873. "quoteshowtype": {
  28874. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28875. "type": "integer"
  28876. },
  28877. "quoteshowtypeinterval": {
  28878. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28879. "type": "integer"
  28880. },
  28881. "remark": {
  28882. "description": "备注",
  28883. "type": "string"
  28884. }
  28885. }
  28886. },
  28887. "models.GoodsIDAndName": {
  28888. "type": "object",
  28889. "required": [
  28890. "goodscode",
  28891. "goodsid",
  28892. "goodsname",
  28893. "marketid"
  28894. ],
  28895. "properties": {
  28896. "goodscode": {
  28897. "description": "商品代码(内部)",
  28898. "type": "string"
  28899. },
  28900. "goodsid": {
  28901. "description": "商品ID(自增ID SEQ_GOODS)",
  28902. "type": "integer"
  28903. },
  28904. "goodsname": {
  28905. "description": "商品名称",
  28906. "type": "string"
  28907. },
  28908. "marketid": {
  28909. "description": "所属市场ID",
  28910. "type": "integer"
  28911. }
  28912. }
  28913. },
  28914. "models.Goodsgroup": {
  28915. "type": "object",
  28916. "required": [
  28917. "goodsgroupid",
  28918. "goodsgroupname",
  28919. "goodsgroupstatus",
  28920. "marketid"
  28921. ],
  28922. "properties": {
  28923. "agreeunit": {
  28924. "description": "合约单位",
  28925. "type": "number"
  28926. },
  28927. "canshort": {
  28928. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  28929. "type": "integer"
  28930. },
  28931. "closepricemode": {
  28932. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28933. "type": "integer"
  28934. },
  28935. "closepriceparam": {
  28936. "description": "强平最新价浮动比例 - 方式为2时使用",
  28937. "type": "number"
  28938. },
  28939. "createtime": {
  28940. "description": "创建时间",
  28941. "type": "string"
  28942. },
  28943. "creatorid": {
  28944. "description": "创建人",
  28945. "type": "integer"
  28946. },
  28947. "currencyid": {
  28948. "description": "报价货币ID",
  28949. "type": "integer"
  28950. },
  28951. "decimalplace": {
  28952. "description": "报价小数位",
  28953. "type": "integer"
  28954. },
  28955. "exercisetype": {
  28956. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  28957. "type": "integer"
  28958. },
  28959. "exexchangeid": {
  28960. "description": "外部交易所ID[通道交易]",
  28961. "type": "integer"
  28962. },
  28963. "goodsgroupid": {
  28964. "description": "商品组ID(自增ID)",
  28965. "type": "integer"
  28966. },
  28967. "goodsgroupname": {
  28968. "description": "商品组名称",
  28969. "type": "string"
  28970. },
  28971. "goodsgroupstatus": {
  28972. "description": "商品组状态 - 1:正常 2:注销",
  28973. "type": "integer"
  28974. },
  28975. "goodunitid": {
  28976. "description": "报价单位ID",
  28977. "type": "integer"
  28978. },
  28979. "innerdealmode": {
  28980. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28981. "type": "integer"
  28982. },
  28983. "isbuylimited": {
  28984. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28985. "type": "integer"
  28986. },
  28987. "marketid": {
  28988. "description": "所属市场ID",
  28989. "type": "integer"
  28990. },
  28991. "modifierid": {
  28992. "description": "修改人",
  28993. "type": "integer"
  28994. },
  28995. "modifytime": {
  28996. "description": "修改时间",
  28997. "type": "string"
  28998. },
  28999. "outerdealmode": {
  29000. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29001. "type": "integer"
  29002. },
  29003. "outergroupcode": {
  29004. "description": "外部商品组代码[通道交易]",
  29005. "type": "string"
  29006. },
  29007. "premiumdecimalplace": {
  29008. "description": "权利金小数位[场外期权]",
  29009. "type": "integer"
  29010. },
  29011. "premiumspreadalgorithm": {
  29012. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  29013. "type": "integer"
  29014. },
  29015. "premiumspreadvalue": {
  29016. "description": "权利金点差值[场外期权]",
  29017. "type": "number"
  29018. },
  29019. "qtydecimalplace": {
  29020. "description": "成交量小数位",
  29021. "type": "integer"
  29022. },
  29023. "quotegear": {
  29024. "description": "行情档位(1-10)",
  29025. "type": "integer"
  29026. },
  29027. "quoteminunit": {
  29028. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29029. "type": "integer"
  29030. },
  29031. "quoterid": {
  29032. "description": "报价商ID[场外期权]",
  29033. "type": "integer"
  29034. },
  29035. "quotesourcegroupid": {
  29036. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  29037. "type": "integer"
  29038. },
  29039. "syncgoodsqty": {
  29040. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  29041. "type": "integer"
  29042. }
  29043. }
  29044. },
  29045. "models.Goodssortbypreposition": {
  29046. "type": "object",
  29047. "required": [
  29048. "goodscode",
  29049. "tradedate"
  29050. ],
  29051. "properties": {
  29052. "goodscode": {
  29053. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  29054. "type": "string"
  29055. },
  29056. "goodsgroupcode": {
  29057. "description": "品种代码",
  29058. "type": "string"
  29059. },
  29060. "prepositionqty": {
  29061. "description": "昨持仓量",
  29062. "type": "integer"
  29063. },
  29064. "sortindex": {
  29065. "description": "排序",
  29066. "type": "integer"
  29067. },
  29068. "tradedate": {
  29069. "description": "交易日",
  29070. "type": "string"
  29071. },
  29072. "updatetime": {
  29073. "description": "更新时间",
  29074. "type": "string"
  29075. }
  29076. }
  29077. },
  29078. "models.Hedgeinnerholderdetail": {
  29079. "type": "object",
  29080. "required": [
  29081. "buyorsell",
  29082. "tradeid"
  29083. ],
  29084. "properties": {
  29085. "accountid": {
  29086. "description": "账号ID",
  29087. "type": "integer"
  29088. },
  29089. "buyorsell": {
  29090. "description": "方向 - 0:买 1:卖",
  29091. "type": "integer"
  29092. },
  29093. "freezeqty": {
  29094. "description": "冻结数量 - 按单平使用",
  29095. "type": "integer"
  29096. },
  29097. "goodsid": {
  29098. "description": "商品ID",
  29099. "type": "integer"
  29100. },
  29101. "holderamount": {
  29102. "description": "持仓金额 [商品币种]",
  29103. "type": "number"
  29104. },
  29105. "holderdays": {
  29106. "description": "剩余冻结天数",
  29107. "type": "integer"
  29108. },
  29109. "holderprice": {
  29110. "description": "持仓价格",
  29111. "type": "number"
  29112. },
  29113. "holderqty": {
  29114. "description": "持仓数量",
  29115. "type": "integer"
  29116. },
  29117. "marketid": {
  29118. "description": "市场ID",
  29119. "type": "integer"
  29120. },
  29121. "openprice": {
  29122. "description": "建仓价格",
  29123. "type": "number"
  29124. },
  29125. "openqty": {
  29126. "description": "建仓数量",
  29127. "type": "integer"
  29128. },
  29129. "parentaccountid": {
  29130. "description": "所属母账户",
  29131. "type": "integer"
  29132. },
  29133. "releaseamount": {
  29134. "description": "释放持仓金额[商品币种]",
  29135. "type": "number"
  29136. },
  29137. "tradeamount": {
  29138. "description": "成交金额[账户]",
  29139. "type": "number"
  29140. },
  29141. "tradedate": {
  29142. "description": "交易日(yyyyMMdd)",
  29143. "type": "string"
  29144. },
  29145. "tradeid": {
  29146. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29147. "type": "string"
  29148. },
  29149. "tradetime": {
  29150. "description": "交易时间",
  29151. "type": "string"
  29152. }
  29153. }
  29154. },
  29155. "models.Hedgemarketopenlog": {
  29156. "type": "object",
  29157. "required": [
  29158. "accountid"
  29159. ],
  29160. "properties": {
  29161. "accountid": {
  29162. "description": "资金账号[外部母账户]",
  29163. "type": "integer"
  29164. },
  29165. "fcname": {
  29166. "description": "期货公司名称",
  29167. "type": "string"
  29168. },
  29169. "handlestatus": {
  29170. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  29171. "type": "integer"
  29172. },
  29173. "marketid": {
  29174. "description": "市场ID",
  29175. "type": "integer"
  29176. },
  29177. "status": {
  29178. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  29179. "type": "integer"
  29180. },
  29181. "tradedate": {
  29182. "description": "交易日(yyyyMMdd)",
  29183. "type": "string"
  29184. },
  29185. "updatetime": {
  29186. "description": "更新时间",
  29187. "type": "string"
  29188. }
  29189. }
  29190. },
  29191. "models.HsbyBuyMyPayOrder": {
  29192. "type": "object",
  29193. "required": [
  29194. "goodscode",
  29195. "goodsname",
  29196. "tradeid",
  29197. "trademode"
  29198. ],
  29199. "properties": {
  29200. "agreeunit": {
  29201. "description": "合约单位",
  29202. "type": "number"
  29203. },
  29204. "buyaccountid": {
  29205. "description": "买方账号ID[报价币种]",
  29206. "type": "integer"
  29207. },
  29208. "buyorderid": {
  29209. "description": "买方委托单号",
  29210. "type": "string"
  29211. },
  29212. "createtime": {
  29213. "description": "创建时间",
  29214. "type": "string"
  29215. },
  29216. "currencysign": {
  29217. "description": "货币符号",
  29218. "type": "string"
  29219. },
  29220. "decimalplace": {
  29221. "description": "报价小数位",
  29222. "type": "integer"
  29223. },
  29224. "goodscode": {
  29225. "description": "商品代码(内部)",
  29226. "type": "string"
  29227. },
  29228. "goodsid": {
  29229. "description": "商品ID",
  29230. "type": "integer"
  29231. },
  29232. "goodsname": {
  29233. "description": "商品名称",
  29234. "type": "string"
  29235. },
  29236. "marketid": {
  29237. "description": "市场ID",
  29238. "type": "integer"
  29239. },
  29240. "offamount": {
  29241. "description": "优惠金额",
  29242. "type": "number"
  29243. },
  29244. "originalamount": {
  29245. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  29246. "type": "number"
  29247. },
  29248. "payamount": {
  29249. "description": "支付金额 = TradeAmount + TradeCharge",
  29250. "type": "number"
  29251. },
  29252. "payflag": {
  29253. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29254. "type": "integer"
  29255. },
  29256. "paylimitedtime": {
  29257. "description": "支付期限",
  29258. "type": "string"
  29259. },
  29260. "paytime": {
  29261. "description": "付款时间",
  29262. "type": "string"
  29263. },
  29264. "picurls1": {
  29265. "description": "预售商品介绍图片[多张用逗号分隔]",
  29266. "type": "string"
  29267. },
  29268. "picurls2": {
  29269. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29270. "type": "string"
  29271. },
  29272. "sellaccountid": {
  29273. "description": "卖方账号ID[报价币种]",
  29274. "type": "integer"
  29275. },
  29276. "sellorderid": {
  29277. "description": "卖方委托单号",
  29278. "type": "string"
  29279. },
  29280. "tradeamount": {
  29281. "description": "成交金额",
  29282. "type": "number"
  29283. },
  29284. "tradecharge": {
  29285. "description": "成交手续费(买方)",
  29286. "type": "number"
  29287. },
  29288. "tradedate": {
  29289. "description": "交易日(yyyyMMdd)",
  29290. "type": "string"
  29291. },
  29292. "tradeid": {
  29293. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29294. "type": "string"
  29295. },
  29296. "trademode": {
  29297. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29298. "type": "integer"
  29299. },
  29300. "tradeprice": {
  29301. "description": "成交价格",
  29302. "type": "number"
  29303. },
  29304. "tradeqty": {
  29305. "description": "成交数量",
  29306. "type": "integer"
  29307. },
  29308. "vendorname1": {
  29309. "description": "预售商品供应商名称",
  29310. "type": "string"
  29311. },
  29312. "vendorname2": {
  29313. "description": "挂牌商品供应商名称",
  29314. "type": "string"
  29315. }
  29316. }
  29317. },
  29318. "models.HsbyBuyMyTradeDetail": {
  29319. "type": "object",
  29320. "required": [
  29321. "accountid",
  29322. "buyorsell",
  29323. "goodscode",
  29324. "goodsid",
  29325. "goodsname",
  29326. "marketid",
  29327. "orderid",
  29328. "qty",
  29329. "time",
  29330. "trademode"
  29331. ],
  29332. "properties": {
  29333. "accountid": {
  29334. "description": "账户ID[报价币种]",
  29335. "type": "integer"
  29336. },
  29337. "agreeunit": {
  29338. "description": "合约单位",
  29339. "type": "number"
  29340. },
  29341. "amount": {
  29342. "description": "金额 = 价格 * 数量 * 合约单位",
  29343. "type": "number"
  29344. },
  29345. "buyorsell": {
  29346. "description": "买卖 - 0:买 1:卖",
  29347. "type": "integer"
  29348. },
  29349. "currencysign": {
  29350. "description": "货币符号",
  29351. "type": "string"
  29352. },
  29353. "decimalplace": {
  29354. "description": "报价小数位",
  29355. "type": "integer"
  29356. },
  29357. "goodscode": {
  29358. "description": "商品代码(内部)",
  29359. "type": "string"
  29360. },
  29361. "goodsid": {
  29362. "description": "商品ID",
  29363. "type": "integer"
  29364. },
  29365. "goodsname": {
  29366. "description": "商品名称",
  29367. "type": "string"
  29368. },
  29369. "marketid": {
  29370. "description": "市场ID",
  29371. "type": "integer"
  29372. },
  29373. "orderamount": {
  29374. "description": "委托金额",
  29375. "type": "number"
  29376. },
  29377. "orderid": {
  29378. "description": "单号(成交单号)",
  29379. "type": "string"
  29380. },
  29381. "picurls1": {
  29382. "description": "预售商品介绍图片[多张用逗号分隔]",
  29383. "type": "string"
  29384. },
  29385. "picurls2": {
  29386. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29387. "type": "string"
  29388. },
  29389. "price": {
  29390. "description": "价格",
  29391. "type": "number"
  29392. },
  29393. "qty": {
  29394. "description": "数量",
  29395. "type": "integer"
  29396. },
  29397. "time": {
  29398. "description": "时间",
  29399. "type": "string"
  29400. },
  29401. "trademode": {
  29402. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29403. "type": "integer"
  29404. },
  29405. "vendorname1": {
  29406. "description": "预售商品供应商名称",
  29407. "type": "string"
  29408. },
  29409. "vendorname2": {
  29410. "description": "挂牌商品供应商名称",
  29411. "type": "string"
  29412. }
  29413. }
  29414. },
  29415. "models.HsbyGoodsOrderDetail": {
  29416. "type": "object",
  29417. "required": [
  29418. "buyorsell",
  29419. "orderid",
  29420. "ordertime"
  29421. ],
  29422. "properties": {
  29423. "buyorsell": {
  29424. "description": "买卖 - 0:买 1:卖",
  29425. "type": "integer"
  29426. },
  29427. "currencysign": {
  29428. "description": "货币符号",
  29429. "type": "string"
  29430. },
  29431. "customername": {
  29432. "description": "客户名称(企业名称),已脱敏",
  29433. "type": "string"
  29434. },
  29435. "enableqty": {
  29436. "description": "可用数量",
  29437. "type": "integer"
  29438. },
  29439. "goodunit": {
  29440. "description": "报价单位",
  29441. "type": "string"
  29442. },
  29443. "orderid": {
  29444. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29445. "type": "string"
  29446. },
  29447. "orderprice": {
  29448. "description": "委托价格",
  29449. "type": "number"
  29450. },
  29451. "ordertime": {
  29452. "description": "委托时间",
  29453. "type": "string"
  29454. }
  29455. }
  29456. },
  29457. "models.HsbyListingGoodsDetail": {
  29458. "type": "object",
  29459. "required": [
  29460. "goodscode",
  29461. "goodsid",
  29462. "goodsname",
  29463. "marketid",
  29464. "trademode"
  29465. ],
  29466. "properties": {
  29467. "agreeunit": {
  29468. "description": "合约单位",
  29469. "type": "number"
  29470. },
  29471. "buymaxqty": {
  29472. "description": "购买上限 [71] - 0为不限",
  29473. "type": "integer"
  29474. },
  29475. "currency": {
  29476. "description": "货币",
  29477. "type": "string"
  29478. },
  29479. "currencysign": {
  29480. "description": "货币符号",
  29481. "type": "string"
  29482. },
  29483. "decimalplace": {
  29484. "description": "报价小数位",
  29485. "type": "integer"
  29486. },
  29487. "desccityid": {
  29488. "description": "目的地(市)ID",
  29489. "type": "integer"
  29490. },
  29491. "descprovinceid": {
  29492. "description": "目的地(省)ID",
  29493. "type": "integer"
  29494. },
  29495. "goodscode": {
  29496. "description": "商品代码(内部)",
  29497. "type": "string"
  29498. },
  29499. "goodsdesc": {
  29500. "description": "商品详情",
  29501. "type": "string"
  29502. },
  29503. "goodsid": {
  29504. "description": "商品ID(自增ID SEQ_GOODS)",
  29505. "type": "integer"
  29506. },
  29507. "goodsname": {
  29508. "description": "商品名称",
  29509. "type": "string"
  29510. },
  29511. "goodsprice": {
  29512. "description": "商品价格",
  29513. "type": "number"
  29514. },
  29515. "hotindex": {
  29516. "description": "景点热度",
  29517. "type": "integer"
  29518. },
  29519. "last": {
  29520. "description": "现价",
  29521. "type": "number"
  29522. },
  29523. "limitdown": {
  29524. "description": "跌停价",
  29525. "type": "number"
  29526. },
  29527. "limitup": {
  29528. "description": "涨停价",
  29529. "type": "number"
  29530. },
  29531. "lotsize": {
  29532. "description": "手数最小变动单位",
  29533. "type": "integer"
  29534. },
  29535. "marketid": {
  29536. "description": "所属市场ID",
  29537. "type": "integer"
  29538. },
  29539. "picurls": {
  29540. "description": "介绍图片[多张用逗号分隔]",
  29541. "type": "string"
  29542. },
  29543. "quoteminunit": {
  29544. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29545. "type": "integer"
  29546. },
  29547. "stepvalue": {
  29548. "description": "价格最小变动单位",
  29549. "type": "number"
  29550. },
  29551. "trademode": {
  29552. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29553. "type": "integer"
  29554. },
  29555. "vendorattr": {
  29556. "description": "供应商附件(多张,逗号分隔)",
  29557. "type": "string"
  29558. },
  29559. "vendorname": {
  29560. "description": "供应商名称",
  29561. "type": "string"
  29562. },
  29563. "vendorphone": {
  29564. "description": "供应商客服电话",
  29565. "type": "string"
  29566. },
  29567. "videourls": {
  29568. "description": "介绍视频[多张用逗号分隔]",
  29569. "type": "string"
  29570. }
  29571. }
  29572. },
  29573. "models.HsbyMarketGoods": {
  29574. "type": "object",
  29575. "required": [
  29576. "accountid",
  29577. "buyorsell",
  29578. "goodscode",
  29579. "goodsid",
  29580. "goodsname",
  29581. "marketid",
  29582. "orderid",
  29583. "trademode"
  29584. ],
  29585. "properties": {
  29586. "accountid": {
  29587. "description": "账户ID[报价币种]",
  29588. "type": "integer"
  29589. },
  29590. "agreeunit": {
  29591. "description": "合约单位",
  29592. "type": "number"
  29593. },
  29594. "buyorsell": {
  29595. "description": "买卖 - 0:买 1:卖",
  29596. "type": "integer"
  29597. },
  29598. "categoryid": {
  29599. "description": "类别ID(WRCATEGORY)",
  29600. "type": "integer"
  29601. },
  29602. "currency": {
  29603. "description": "货币",
  29604. "type": "string"
  29605. },
  29606. "currencysign": {
  29607. "description": "货币符号",
  29608. "type": "string"
  29609. },
  29610. "customername": {
  29611. "description": "卖家名称",
  29612. "type": "string"
  29613. },
  29614. "decimalplace": {
  29615. "description": "报价小数位",
  29616. "type": "integer"
  29617. },
  29618. "goodscode": {
  29619. "description": "商品代码(内部)",
  29620. "type": "string"
  29621. },
  29622. "goodsid": {
  29623. "description": "商品ID",
  29624. "type": "integer"
  29625. },
  29626. "goodsname": {
  29627. "description": "商品名称",
  29628. "type": "string"
  29629. },
  29630. "goodsprice": {
  29631. "description": "商品价格",
  29632. "type": "number"
  29633. },
  29634. "hascoupon": {
  29635. "description": "是否可用优惠卷",
  29636. "type": "boolean"
  29637. },
  29638. "hotindex": {
  29639. "description": "景点热度",
  29640. "type": "integer"
  29641. },
  29642. "marketid": {
  29643. "description": "市场ID",
  29644. "type": "integer"
  29645. },
  29646. "orderid": {
  29647. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29648. "type": "string"
  29649. },
  29650. "orderprice": {
  29651. "description": "委托价格",
  29652. "type": "number"
  29653. },
  29654. "orderstatus": {
  29655. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29656. "type": "integer"
  29657. },
  29658. "picurls": {
  29659. "description": "介绍图片[多张用逗号分隔]",
  29660. "type": "string"
  29661. },
  29662. "quoteminunit": {
  29663. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29664. "type": "integer"
  29665. },
  29666. "sellUserID": {
  29667. "description": "卖方UserID",
  29668. "type": "integer"
  29669. },
  29670. "trademode": {
  29671. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29672. "type": "integer"
  29673. },
  29674. "videourls": {
  29675. "description": "介绍视频[多张用逗号分隔]",
  29676. "type": "string"
  29677. }
  29678. }
  29679. },
  29680. "models.HsbyMarketGoodsDetail": {
  29681. "type": "object",
  29682. "required": [
  29683. "accountid",
  29684. "buyorsell",
  29685. "goodscode",
  29686. "goodsid",
  29687. "goodsname",
  29688. "marketid",
  29689. "orderid",
  29690. "orderqty",
  29691. "trademode"
  29692. ],
  29693. "properties": {
  29694. "accountid": {
  29695. "description": "账户ID[报价币种]",
  29696. "type": "integer"
  29697. },
  29698. "agreeunit": {
  29699. "description": "合约单位",
  29700. "type": "number"
  29701. },
  29702. "buymaxqty": {
  29703. "description": "购买上限 [71] - 0为不限",
  29704. "type": "integer"
  29705. },
  29706. "buyorsell": {
  29707. "description": "买卖 - 0:买 1:卖",
  29708. "type": "integer"
  29709. },
  29710. "cancelqty": {
  29711. "description": "撤单数量",
  29712. "type": "integer"
  29713. },
  29714. "categoryid": {
  29715. "description": "类别ID(WRCATEGORY)",
  29716. "type": "integer"
  29717. },
  29718. "currency": {
  29719. "description": "货币",
  29720. "type": "string"
  29721. },
  29722. "currencysign": {
  29723. "description": "货币符号",
  29724. "type": "string"
  29725. },
  29726. "customername": {
  29727. "description": "卖家名称",
  29728. "type": "string"
  29729. },
  29730. "decimalplace": {
  29731. "description": "报价小数位",
  29732. "type": "integer"
  29733. },
  29734. "goodscode": {
  29735. "description": "商品代码(内部)",
  29736. "type": "string"
  29737. },
  29738. "goodsdesc": {
  29739. "description": "商品详情",
  29740. "type": "string"
  29741. },
  29742. "goodsid": {
  29743. "description": "商品ID",
  29744. "type": "integer"
  29745. },
  29746. "goodsname": {
  29747. "description": "商品名称",
  29748. "type": "string"
  29749. },
  29750. "goodsprice": {
  29751. "description": "商品价格",
  29752. "type": "number"
  29753. },
  29754. "hotindex": {
  29755. "description": "景点热度",
  29756. "type": "integer"
  29757. },
  29758. "lotsize": {
  29759. "description": "手数最小变动单位",
  29760. "type": "integer"
  29761. },
  29762. "marketid": {
  29763. "description": "市场ID",
  29764. "type": "integer"
  29765. },
  29766. "orderid": {
  29767. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29768. "type": "string"
  29769. },
  29770. "orderprice": {
  29771. "description": "委托价格",
  29772. "type": "number"
  29773. },
  29774. "orderqty": {
  29775. "description": "委托数量",
  29776. "type": "integer"
  29777. },
  29778. "orderstatus": {
  29779. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29780. "type": "integer"
  29781. },
  29782. "picurls": {
  29783. "description": "介绍图片[多张用逗号分隔]",
  29784. "type": "string"
  29785. },
  29786. "quoteminunit": {
  29787. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29788. "type": "integer"
  29789. },
  29790. "sellUserID": {
  29791. "description": "卖方UserID",
  29792. "type": "integer"
  29793. },
  29794. "trademode": {
  29795. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29796. "type": "integer"
  29797. },
  29798. "tradeqty": {
  29799. "description": "成交数量",
  29800. "type": "integer"
  29801. },
  29802. "vendorattr": {
  29803. "description": "供应商附件(多张,逗号分隔)",
  29804. "type": "string"
  29805. },
  29806. "vendorname": {
  29807. "description": "供应商名称",
  29808. "type": "string"
  29809. },
  29810. "vendorphone": {
  29811. "description": "供应商客服电话",
  29812. "type": "string"
  29813. },
  29814. "videourls": {
  29815. "description": "介绍视频[多张用逗号分隔]",
  29816. "type": "string"
  29817. }
  29818. }
  29819. },
  29820. "models.HsbyMarketInfo": {
  29821. "type": "object",
  29822. "required": [
  29823. "marketid",
  29824. "marketstatus",
  29825. "trademode"
  29826. ],
  29827. "properties": {
  29828. "marketid": {
  29829. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  29830. "type": "integer"
  29831. },
  29832. "marketname": {
  29833. "description": "市场名称",
  29834. "type": "string"
  29835. },
  29836. "marketstatus": {
  29837. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  29838. "type": "integer"
  29839. },
  29840. "trademode": {
  29841. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29842. "type": "integer"
  29843. }
  29844. }
  29845. },
  29846. "models.HsbyMyGoods": {
  29847. "type": "object",
  29848. "required": [
  29849. "accountid",
  29850. "goodscode",
  29851. "goodsid",
  29852. "goodsname",
  29853. "marketid",
  29854. "trademode"
  29855. ],
  29856. "properties": {
  29857. "accountid": {
  29858. "description": "账号Id",
  29859. "type": "integer"
  29860. },
  29861. "agreeunit": {
  29862. "description": "合约单位",
  29863. "type": "number"
  29864. },
  29865. "buyaverageprice": {
  29866. "description": "持仓均价",
  29867. "type": "number"
  29868. },
  29869. "buycurholderamount": {
  29870. "description": "买当前持仓总金额[商品币种]",
  29871. "type": "number"
  29872. },
  29873. "buycurpositionqty": {
  29874. "description": "买当前持仓总数量",
  29875. "type": "integer"
  29876. },
  29877. "buymaxqty": {
  29878. "description": "购买上限 [71] - 0为不限",
  29879. "type": "integer"
  29880. },
  29881. "currencysign": {
  29882. "description": "货币符号",
  29883. "type": "string"
  29884. },
  29885. "decimalplace": {
  29886. "description": "报价小数位",
  29887. "type": "integer"
  29888. },
  29889. "enableqty": {
  29890. "description": "可用数量",
  29891. "type": "integer"
  29892. },
  29893. "goodscode": {
  29894. "description": "商品代码(内部)",
  29895. "type": "string"
  29896. },
  29897. "goodsid": {
  29898. "description": "商品Id",
  29899. "type": "integer"
  29900. },
  29901. "goodsname": {
  29902. "description": "商品名称",
  29903. "type": "string"
  29904. },
  29905. "goodsprice": {
  29906. "description": "商品价格",
  29907. "type": "number"
  29908. },
  29909. "goodsstatus": {
  29910. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29911. "type": "integer"
  29912. },
  29913. "last": {
  29914. "description": "现价(仅使用于挂牌点选)",
  29915. "type": "number"
  29916. },
  29917. "limitdown": {
  29918. "description": "跌停价(仅使用于挂牌点选)",
  29919. "type": "number"
  29920. },
  29921. "limitup": {
  29922. "description": "涨停价(仅使用于挂牌点选)",
  29923. "type": "number"
  29924. },
  29925. "lotsize": {
  29926. "description": "手数最小变动单位",
  29927. "type": "integer"
  29928. },
  29929. "marketid": {
  29930. "description": "所属市场ID",
  29931. "type": "integer"
  29932. },
  29933. "picurls": {
  29934. "description": "介绍图片[多张用逗号分隔]",
  29935. "type": "string"
  29936. },
  29937. "quoteminunit": {
  29938. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29939. "type": "integer"
  29940. },
  29941. "stepvalue": {
  29942. "description": "价格最小变动单位",
  29943. "type": "number"
  29944. },
  29945. "trademode": {
  29946. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29947. "type": "integer"
  29948. }
  29949. }
  29950. },
  29951. "models.HsbyMyPackage": {
  29952. "type": "object",
  29953. "required": [
  29954. "goodscode",
  29955. "goodsname",
  29956. "takeorderid",
  29957. "trademode"
  29958. ],
  29959. "properties": {
  29960. "accountid": {
  29961. "description": "账户ID",
  29962. "type": "integer"
  29963. },
  29964. "address": {
  29965. "description": "提货人详细地址",
  29966. "type": "string"
  29967. },
  29968. "agreeunit": {
  29969. "description": "合约单位",
  29970. "type": "number"
  29971. },
  29972. "amount": {
  29973. "description": "提货金额",
  29974. "type": "number"
  29975. },
  29976. "auditer": {
  29977. "description": "审核人",
  29978. "type": "integer"
  29979. },
  29980. "audittime": {
  29981. "description": "审核时间",
  29982. "type": "string"
  29983. },
  29984. "averageprice": {
  29985. "description": "均价",
  29986. "type": "number"
  29987. },
  29988. "cardnum": {
  29989. "description": "提货人证件号码",
  29990. "type": "string"
  29991. },
  29992. "cardtypeid": {
  29993. "description": "提货人证件类型",
  29994. "type": "integer"
  29995. },
  29996. "checkremark": {
  29997. "description": "审核备注",
  29998. "type": "string"
  29999. },
  30000. "currencysign": {
  30001. "description": "货币符号",
  30002. "type": "string"
  30003. },
  30004. "decimalplace": {
  30005. "description": "报价小数位",
  30006. "type": "integer"
  30007. },
  30008. "goodscode": {
  30009. "description": "商品代码(内部)",
  30010. "type": "string"
  30011. },
  30012. "goodsid": {
  30013. "description": "商品ID",
  30014. "type": "integer"
  30015. },
  30016. "goodsname": {
  30017. "description": "商品名称",
  30018. "type": "string"
  30019. },
  30020. "handlestatus": {
  30021. "description": "处理状态",
  30022. "type": "integer"
  30023. },
  30024. "marketid": {
  30025. "description": "市场ID",
  30026. "type": "integer"
  30027. },
  30028. "phonenum": {
  30029. "description": "提货人联系方式",
  30030. "type": "string"
  30031. },
  30032. "picurls": {
  30033. "description": "介绍图片[多张用逗号分隔]",
  30034. "type": "string"
  30035. },
  30036. "qty": {
  30037. "description": "提货数量",
  30038. "type": "number"
  30039. },
  30040. "recivername": {
  30041. "description": "提货人姓名",
  30042. "type": "string"
  30043. },
  30044. "reqtime": {
  30045. "description": "更新时间",
  30046. "type": "string"
  30047. },
  30048. "takemode": {
  30049. "description": "提货方式 - 2:自提 3:配送",
  30050. "type": "integer"
  30051. },
  30052. "takeorderid": {
  30053. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  30054. "type": "string"
  30055. },
  30056. "takeorderstatus": {
  30057. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  30058. "type": "integer"
  30059. },
  30060. "takeremark": {
  30061. "description": "提货备注",
  30062. "type": "string"
  30063. },
  30064. "tradedate": {
  30065. "description": "交易日(yyyyMMdd)",
  30066. "type": "string"
  30067. },
  30068. "trademode": {
  30069. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30070. "type": "integer"
  30071. },
  30072. "userid": {
  30073. "description": "用户ID",
  30074. "type": "integer"
  30075. },
  30076. "vendorname": {
  30077. "description": "供应商名称",
  30078. "type": "string"
  30079. }
  30080. }
  30081. },
  30082. "models.HsbyPreGoods": {
  30083. "type": "object",
  30084. "required": [
  30085. "goodscode",
  30086. "goodsid",
  30087. "goodsname",
  30088. "marketid",
  30089. "trademode"
  30090. ],
  30091. "properties": {
  30092. "agreeunit": {
  30093. "description": "合约单位",
  30094. "type": "number"
  30095. },
  30096. "currency": {
  30097. "description": "货币",
  30098. "type": "string"
  30099. },
  30100. "currencysign": {
  30101. "description": "货币符号",
  30102. "type": "string"
  30103. },
  30104. "decimalplace": {
  30105. "description": "报价小数位",
  30106. "type": "integer"
  30107. },
  30108. "desccityid": {
  30109. "description": "目的地(市)",
  30110. "type": "integer"
  30111. },
  30112. "descprovinceid": {
  30113. "description": "目的地(省)",
  30114. "type": "integer"
  30115. },
  30116. "enableqty": {
  30117. "description": "剩余数量",
  30118. "type": "integer"
  30119. },
  30120. "goodscode": {
  30121. "description": "商品代码(内部)",
  30122. "type": "string"
  30123. },
  30124. "goodsid": {
  30125. "description": "商品ID(自增ID SEQ_GOODS)",
  30126. "type": "integer"
  30127. },
  30128. "goodsname": {
  30129. "description": "商品名称",
  30130. "type": "string"
  30131. },
  30132. "goodsstatus": {
  30133. "description": "商品状态- 2:未上市 3:上市",
  30134. "type": "integer"
  30135. },
  30136. "lasttradedate": {
  30137. "description": "最后交易日期(状态:待退市)",
  30138. "type": "string"
  30139. },
  30140. "listingdate": {
  30141. "description": "交易开始日期",
  30142. "type": "string"
  30143. },
  30144. "marketid": {
  30145. "description": "所属市场ID",
  30146. "type": "integer"
  30147. },
  30148. "picurls": {
  30149. "description": "介绍图片[多张用逗号分隔]",
  30150. "type": "string"
  30151. },
  30152. "presaledqty": {
  30153. "description": "已预售量(预售结束时更新)",
  30154. "type": "integer"
  30155. },
  30156. "presaleqty": {
  30157. "description": "预售数量",
  30158. "type": "integer"
  30159. },
  30160. "quoteminunit": {
  30161. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30162. "type": "integer"
  30163. },
  30164. "refprice": {
  30165. "description": "参考价格[一口价]",
  30166. "type": "number"
  30167. },
  30168. "relatedgoodsid": {
  30169. "description": "关联交易合约ID",
  30170. "type": "integer"
  30171. },
  30172. "trademode": {
  30173. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30174. "type": "integer"
  30175. },
  30176. "videourls": {
  30177. "description": "介绍视频[多张用逗号分隔]",
  30178. "type": "string"
  30179. }
  30180. }
  30181. },
  30182. "models.HsbyPreGoodsDetail": {
  30183. "type": "object",
  30184. "required": [
  30185. "goodscode",
  30186. "goodsid",
  30187. "goodsname",
  30188. "marketid",
  30189. "trademode"
  30190. ],
  30191. "properties": {
  30192. "agreeunit": {
  30193. "description": "合约单位",
  30194. "type": "number"
  30195. },
  30196. "buymaxqty": {
  30197. "description": "购买上限 [71] - 0为不限",
  30198. "type": "integer"
  30199. },
  30200. "currency": {
  30201. "description": "货币",
  30202. "type": "string"
  30203. },
  30204. "currencysign": {
  30205. "description": "货币符号",
  30206. "type": "string"
  30207. },
  30208. "customername": {
  30209. "description": "发行单位",
  30210. "type": "string"
  30211. },
  30212. "decimalplace": {
  30213. "description": "报价小数位",
  30214. "type": "integer"
  30215. },
  30216. "desccityid": {
  30217. "description": "目的地(市)ID",
  30218. "type": "integer"
  30219. },
  30220. "descprovinceid": {
  30221. "description": "目的地(省)ID",
  30222. "type": "integer"
  30223. },
  30224. "enableqty": {
  30225. "description": "剩余数量",
  30226. "type": "integer"
  30227. },
  30228. "goodscode": {
  30229. "description": "商品代码(内部)",
  30230. "type": "string"
  30231. },
  30232. "goodsdesc": {
  30233. "description": "商品详情",
  30234. "type": "string"
  30235. },
  30236. "goodsid": {
  30237. "description": "商品ID(自增ID SEQ_GOODS)",
  30238. "type": "integer"
  30239. },
  30240. "goodsname": {
  30241. "description": "商品名称",
  30242. "type": "string"
  30243. },
  30244. "goodsstatus": {
  30245. "description": "商品状态- 2:未上市 3:上市",
  30246. "type": "integer"
  30247. },
  30248. "goodunit": {
  30249. "description": "报价单位",
  30250. "type": "string"
  30251. },
  30252. "lasttradedate": {
  30253. "description": "最后交易日期(状态:待退市)",
  30254. "type": "string"
  30255. },
  30256. "listingdate": {
  30257. "description": "交易开始日期",
  30258. "type": "string"
  30259. },
  30260. "lotsize": {
  30261. "description": "手数最小变动单位",
  30262. "type": "integer"
  30263. },
  30264. "marketid": {
  30265. "description": "所属市场ID",
  30266. "type": "integer"
  30267. },
  30268. "picurls": {
  30269. "description": "介绍图片[多张用逗号分隔]",
  30270. "type": "string"
  30271. },
  30272. "presaledqty": {
  30273. "description": "已预售量(预售结束时更新)",
  30274. "type": "integer"
  30275. },
  30276. "presaleqty": {
  30277. "description": "预售数量",
  30278. "type": "integer"
  30279. },
  30280. "quoteminunit": {
  30281. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30282. "type": "integer"
  30283. },
  30284. "refprice": {
  30285. "description": "参考价格[一口价]",
  30286. "type": "number"
  30287. },
  30288. "relatedgoodsid": {
  30289. "description": "关联交易合约ID",
  30290. "type": "integer"
  30291. },
  30292. "stepvalue": {
  30293. "description": "价格最小变动单位",
  30294. "type": "number"
  30295. },
  30296. "trademode": {
  30297. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30298. "type": "integer"
  30299. },
  30300. "vendorattr": {
  30301. "description": "供应商附件(多张,逗号分隔)",
  30302. "type": "string"
  30303. },
  30304. "vendorname": {
  30305. "description": "供应商名称",
  30306. "type": "string"
  30307. },
  30308. "vendorphone": {
  30309. "description": "供应商客服电话",
  30310. "type": "string"
  30311. },
  30312. "videourls": {
  30313. "description": "介绍视频[多张用逗号分隔]",
  30314. "type": "string"
  30315. }
  30316. }
  30317. },
  30318. "models.HsbySellCollectionOrder": {
  30319. "type": "object",
  30320. "required": [
  30321. "goodscode",
  30322. "goodsname",
  30323. "tradeid",
  30324. "trademode"
  30325. ],
  30326. "properties": {
  30327. "agreeunit": {
  30328. "description": "合约单位",
  30329. "type": "number"
  30330. },
  30331. "buyaccountid": {
  30332. "description": "买方账号ID[报价币种]",
  30333. "type": "integer"
  30334. },
  30335. "buyorderid": {
  30336. "description": "买方委托单号",
  30337. "type": "string"
  30338. },
  30339. "createtime": {
  30340. "description": "创建时间",
  30341. "type": "string"
  30342. },
  30343. "currencysign": {
  30344. "description": "货币符号",
  30345. "type": "string"
  30346. },
  30347. "decimalplace": {
  30348. "description": "报价小数位",
  30349. "type": "integer"
  30350. },
  30351. "goodscode": {
  30352. "description": "商品代码(内部)",
  30353. "type": "string"
  30354. },
  30355. "goodsid": {
  30356. "description": "商品ID",
  30357. "type": "integer"
  30358. },
  30359. "goodsname": {
  30360. "description": "商品名称",
  30361. "type": "string"
  30362. },
  30363. "marketid": {
  30364. "description": "市场ID",
  30365. "type": "integer"
  30366. },
  30367. "offamount": {
  30368. "description": "优惠金额",
  30369. "type": "number"
  30370. },
  30371. "payamount": {
  30372. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  30373. "type": "number"
  30374. },
  30375. "payflag": {
  30376. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30377. "type": "integer"
  30378. },
  30379. "paylimitedtime": {
  30380. "description": "支付期限",
  30381. "type": "string"
  30382. },
  30383. "paytime": {
  30384. "description": "付款时间",
  30385. "type": "string"
  30386. },
  30387. "picurls": {
  30388. "description": "商品介绍图片[多张用逗号分隔]",
  30389. "type": "string"
  30390. },
  30391. "sellaccountid": {
  30392. "description": "卖方账号ID[报价币种]",
  30393. "type": "integer"
  30394. },
  30395. "sellorderid": {
  30396. "description": "卖方委托单号",
  30397. "type": "string"
  30398. },
  30399. "tradeamount": {
  30400. "description": "成交金额",
  30401. "type": "number"
  30402. },
  30403. "tradecharge": {
  30404. "description": "成交手续费(买方)",
  30405. "type": "number"
  30406. },
  30407. "tradedate": {
  30408. "description": "交易日(yyyyMMdd)",
  30409. "type": "string"
  30410. },
  30411. "tradeid": {
  30412. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30413. "type": "string"
  30414. },
  30415. "trademode": {
  30416. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30417. "type": "integer"
  30418. },
  30419. "tradeprice": {
  30420. "description": "成交价格",
  30421. "type": "number"
  30422. },
  30423. "tradeqty": {
  30424. "description": "成交数量",
  30425. "type": "integer"
  30426. }
  30427. }
  30428. },
  30429. "models.HsbySellMyDetail": {
  30430. "type": "object",
  30431. "required": [
  30432. "accountid",
  30433. "buyorsell",
  30434. "goodscode",
  30435. "goodsid",
  30436. "goodsname",
  30437. "marketid",
  30438. "orderid",
  30439. "time",
  30440. "trademode"
  30441. ],
  30442. "properties": {
  30443. "accountid": {
  30444. "description": "账户ID[报价币种]",
  30445. "type": "integer"
  30446. },
  30447. "agreeunit": {
  30448. "description": "合约单位",
  30449. "type": "number"
  30450. },
  30451. "buyorsell": {
  30452. "description": "买卖 - 0:买 1:卖",
  30453. "type": "integer"
  30454. },
  30455. "currencysign": {
  30456. "description": "货币符号",
  30457. "type": "string"
  30458. },
  30459. "decimalplace": {
  30460. "description": "报价小数位",
  30461. "type": "integer"
  30462. },
  30463. "goodscode": {
  30464. "description": "商品代码(内部)",
  30465. "type": "string"
  30466. },
  30467. "goodsid": {
  30468. "description": "商品ID",
  30469. "type": "integer"
  30470. },
  30471. "goodsname": {
  30472. "description": "商品名称",
  30473. "type": "string"
  30474. },
  30475. "marketid": {
  30476. "description": "市场ID",
  30477. "type": "integer"
  30478. },
  30479. "orderid": {
  30480. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  30481. "type": "string"
  30482. },
  30483. "ordertype": {
  30484. "description": "单据类型:0 - 发布中, 1 - 已完成",
  30485. "type": "integer"
  30486. },
  30487. "picurls": {
  30488. "description": "介绍图片[多张用逗号分隔]",
  30489. "type": "string"
  30490. },
  30491. "price": {
  30492. "description": "价格",
  30493. "type": "number"
  30494. },
  30495. "qty": {
  30496. "description": "数量",
  30497. "type": "integer"
  30498. },
  30499. "time": {
  30500. "description": "时间",
  30501. "type": "string"
  30502. },
  30503. "trademode": {
  30504. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30505. "type": "integer"
  30506. },
  30507. "vendorname": {
  30508. "description": "供应商名称",
  30509. "type": "string"
  30510. }
  30511. }
  30512. },
  30513. "models.HsbyTopGoods": {
  30514. "type": "object",
  30515. "required": [
  30516. "goodscode",
  30517. "goodsid",
  30518. "goodsname",
  30519. "marketid",
  30520. "trademode"
  30521. ],
  30522. "properties": {
  30523. "agreeunit": {
  30524. "description": "合约单位",
  30525. "type": "number"
  30526. },
  30527. "currency": {
  30528. "description": "货币",
  30529. "type": "string"
  30530. },
  30531. "currencysign": {
  30532. "description": "货币符号",
  30533. "type": "string"
  30534. },
  30535. "decimalplace": {
  30536. "description": "报价小数位",
  30537. "type": "integer"
  30538. },
  30539. "desccityid": {
  30540. "description": "目的地(市)",
  30541. "type": "integer"
  30542. },
  30543. "descprovinceid": {
  30544. "description": "目的地(省)",
  30545. "type": "integer"
  30546. },
  30547. "goodscode": {
  30548. "description": "商品代码(内部)",
  30549. "type": "string"
  30550. },
  30551. "goodsid": {
  30552. "description": "商品ID(自增ID SEQ_GOODS)",
  30553. "type": "integer"
  30554. },
  30555. "goodsname": {
  30556. "description": "商品名称",
  30557. "type": "string"
  30558. },
  30559. "hotindex": {
  30560. "description": "景点热度",
  30561. "type": "integer"
  30562. },
  30563. "last": {
  30564. "description": "现价",
  30565. "type": "number"
  30566. },
  30567. "marketid": {
  30568. "description": "所属市场ID",
  30569. "type": "integer"
  30570. },
  30571. "picurls": {
  30572. "description": "介绍图片[多张用逗号分隔]",
  30573. "type": "string"
  30574. },
  30575. "quoteminunit": {
  30576. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30577. "type": "integer"
  30578. },
  30579. "trademode": {
  30580. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30581. "type": "integer"
  30582. },
  30583. "videourls": {
  30584. "description": "介绍视频[多张用逗号分隔]",
  30585. "type": "string"
  30586. }
  30587. }
  30588. },
  30589. "models.HybsMyBuyOrderDetail": {
  30590. "type": "object",
  30591. "required": [
  30592. "accountid",
  30593. "buyorsell",
  30594. "goodscode",
  30595. "goodsid",
  30596. "goodsname",
  30597. "marketid",
  30598. "orderid",
  30599. "orderqty",
  30600. "ordertime",
  30601. "trademode"
  30602. ],
  30603. "properties": {
  30604. "accountid": {
  30605. "description": "账户ID[报价币种]",
  30606. "type": "integer"
  30607. },
  30608. "agreeunit": {
  30609. "description": "合约单位",
  30610. "type": "number"
  30611. },
  30612. "buyorsell": {
  30613. "description": "买卖 - 0:买 1:卖",
  30614. "type": "integer"
  30615. },
  30616. "cancelqty": {
  30617. "description": "撤单数量",
  30618. "type": "integer"
  30619. },
  30620. "currencysign": {
  30621. "description": "货币符号",
  30622. "type": "string"
  30623. },
  30624. "decimalplace": {
  30625. "description": "报价小数位",
  30626. "type": "integer"
  30627. },
  30628. "goodscode": {
  30629. "description": "商品代码(内部)",
  30630. "type": "string"
  30631. },
  30632. "goodsid": {
  30633. "description": "商品ID",
  30634. "type": "integer"
  30635. },
  30636. "goodsname": {
  30637. "description": "商品名称",
  30638. "type": "string"
  30639. },
  30640. "listingselecttype": {
  30641. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30642. "type": "integer"
  30643. },
  30644. "marketid": {
  30645. "description": "市场ID",
  30646. "type": "integer"
  30647. },
  30648. "mybuystatus": {
  30649. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  30650. "type": "integer"
  30651. },
  30652. "orderamount": {
  30653. "description": "委托金额",
  30654. "type": "number"
  30655. },
  30656. "orderid": {
  30657. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30658. "type": "string"
  30659. },
  30660. "orderprice": {
  30661. "description": "委托价格",
  30662. "type": "number"
  30663. },
  30664. "orderqty": {
  30665. "description": "委托数量",
  30666. "type": "integer"
  30667. },
  30668. "orderstatus": {
  30669. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30670. "type": "integer"
  30671. },
  30672. "ordertime": {
  30673. "description": "委托时间",
  30674. "type": "string"
  30675. },
  30676. "picurls1": {
  30677. "description": "预售商品介绍图片[多张用逗号分隔]",
  30678. "type": "string"
  30679. },
  30680. "picurls2": {
  30681. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  30682. "type": "string"
  30683. },
  30684. "trademode": {
  30685. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30686. "type": "integer"
  30687. },
  30688. "tradeqty": {
  30689. "description": "成交数量",
  30690. "type": "integer"
  30691. },
  30692. "vendorname1": {
  30693. "description": "预售商品供应商名称",
  30694. "type": "string"
  30695. },
  30696. "vendorname2": {
  30697. "description": "挂牌商品供应商名称",
  30698. "type": "string"
  30699. }
  30700. }
  30701. },
  30702. "models.InternalEnableTradeDetail": {
  30703. "type": "object",
  30704. "required": [
  30705. "areauserid",
  30706. "goodsid",
  30707. "tradeuserid"
  30708. ],
  30709. "properties": {
  30710. "agreeunit": {
  30711. "description": "合约乘数",
  30712. "type": "number"
  30713. },
  30714. "areauserid": {
  30715. "description": "企业ID",
  30716. "type": "integer"
  30717. },
  30718. "convertratio": {
  30719. "description": "品种系数",
  30720. "type": "number"
  30721. },
  30722. "deliverygoodscode": {
  30723. "description": "现货品种代码",
  30724. "type": "string"
  30725. },
  30726. "deliverygoodsid": {
  30727. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  30728. "type": "integer"
  30729. },
  30730. "deliverygoodsname": {
  30731. "description": "现货品种名称",
  30732. "type": "string"
  30733. },
  30734. "futurehedgeqty": {
  30735. "description": "[已关联数量]期货持仓套期量",
  30736. "type": "number"
  30737. },
  30738. "goodsid": {
  30739. "description": "期货合约ID",
  30740. "type": "integer"
  30741. },
  30742. "hedgeditemid": {
  30743. "description": "被套期项目ID",
  30744. "type": "string"
  30745. },
  30746. "hedgeditemnum": {
  30747. "description": "项目编号",
  30748. "type": "string"
  30749. },
  30750. "tradeuserid": {
  30751. "description": "交易用户ID",
  30752. "type": "integer"
  30753. },
  30754. "unexehedgeqty": {
  30755. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  30756. "type": "number"
  30757. },
  30758. "unexespotqty": {
  30759. "description": "未执行现货量",
  30760. "type": "number"
  30761. },
  30762. "wrstandardcode": {
  30763. "description": "现货品类代码",
  30764. "type": "string"
  30765. },
  30766. "wrstandardid": {
  30767. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30768. "type": "integer"
  30769. },
  30770. "wrstandardname": {
  30771. "description": "现货品类名称",
  30772. "type": "string"
  30773. }
  30774. }
  30775. },
  30776. "models.InternalUncorrelatedTradeDetail": {
  30777. "type": "object",
  30778. "properties": {
  30779. "accountid": {
  30780. "description": "账号ID",
  30781. "type": "integer"
  30782. },
  30783. "accountname": {
  30784. "description": "套期主体",
  30785. "type": "string"
  30786. },
  30787. "agreeunit": {
  30788. "description": "合约乘数",
  30789. "type": "number"
  30790. },
  30791. "areauserid": {
  30792. "description": "所属机构",
  30793. "type": "integer"
  30794. },
  30795. "bizsubjectid": {
  30796. "description": "归属业务部门ID - SubjectID",
  30797. "type": "integer"
  30798. },
  30799. "buyorsell": {
  30800. "description": "方向 - 0:买 1:卖",
  30801. "type": "integer"
  30802. },
  30803. "channelbuildtype": {
  30804. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  30805. "type": "integer"
  30806. },
  30807. "convertratio": {
  30808. "description": "品种系数",
  30809. "type": "number"
  30810. },
  30811. "createtime": {
  30812. "description": "创建时间",
  30813. "type": "string"
  30814. },
  30815. "creatorid": {
  30816. "description": "创建人ID",
  30817. "type": "integer"
  30818. },
  30819. "creatorsrc": {
  30820. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  30821. "type": "integer"
  30822. },
  30823. "enableqty": {
  30824. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  30825. "type": "number"
  30826. },
  30827. "enumdicname": {
  30828. "description": "单位",
  30829. "type": "string"
  30830. },
  30831. "goodscode": {
  30832. "description": "合约代码",
  30833. "type": "string"
  30834. },
  30835. "goodsgroupid": {
  30836. "description": "对冲品种ID[期货合约商品组ID]",
  30837. "type": "integer"
  30838. },
  30839. "goodsid": {
  30840. "description": "商品ID",
  30841. "type": "integer"
  30842. },
  30843. "goodsname": {
  30844. "description": "合约名称",
  30845. "type": "string"
  30846. },
  30847. "hedgeditemid": {
  30848. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  30849. "type": "integer"
  30850. },
  30851. "hedgeflag": {
  30852. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  30853. "type": "integer"
  30854. },
  30855. "linkdetailid": {
  30856. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  30857. "type": "string"
  30858. },
  30859. "linkstatus": {
  30860. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  30861. "type": "integer"
  30862. },
  30863. "middlegoodsid": {
  30864. "description": "套保品种ID",
  30865. "type": "integer"
  30866. },
  30867. "middlegoodsqty": {
  30868. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  30869. "type": "number"
  30870. },
  30871. "relatedlot": {
  30872. "description": "[数量]关联手数",
  30873. "type": "number"
  30874. },
  30875. "relatedmode": {
  30876. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  30877. "type": "integer"
  30878. },
  30879. "relatedqty": {
  30880. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  30881. "type": "number"
  30882. },
  30883. "retcode": {
  30884. "description": "返回码",
  30885. "type": "integer"
  30886. },
  30887. "saleuserid": {
  30888. "description": "业务员ID",
  30889. "type": "integer"
  30890. },
  30891. "tradedate": {
  30892. "description": "关联交易日(yyyyMMdd)",
  30893. "type": "string"
  30894. },
  30895. "tradeid": {
  30896. "description": "成交单号",
  30897. "type": "string"
  30898. },
  30899. "tradelot": {
  30900. "description": "成交手数",
  30901. "type": "integer"
  30902. },
  30903. "tradeprice": {
  30904. "description": "成交价",
  30905. "type": "number"
  30906. },
  30907. "tradetime": {
  30908. "description": "成交时间",
  30909. "type": "string"
  30910. },
  30911. "tradetradedate": {
  30912. "description": "成交交易日(yyyyMMdd)",
  30913. "type": "string"
  30914. },
  30915. "tradeuserid": {
  30916. "description": "交易用户ID",
  30917. "type": "integer"
  30918. }
  30919. }
  30920. },
  30921. "models.Loginaccount": {
  30922. "type": "object",
  30923. "required": [
  30924. "loginid"
  30925. ],
  30926. "properties": {
  30927. "accountname": {
  30928. "description": "账户名称",
  30929. "type": "string"
  30930. },
  30931. "canoutin": {
  30932. "description": "是否可出入金 - 0:不可 1:可",
  30933. "type": "integer"
  30934. },
  30935. "clientroleid": {
  30936. "description": "终端角色ID",
  30937. "type": "integer"
  30938. },
  30939. "haslogined": {
  30940. "description": "是否已登录 - 0:未登录 1:已登录",
  30941. "type": "integer"
  30942. },
  30943. "hasupdatedpwd": {
  30944. "description": "是否已更改密码 - 0:未修改 1:已修改",
  30945. "type": "integer"
  30946. },
  30947. "lastloginip": {
  30948. "description": "最新登录地址",
  30949. "type": "string"
  30950. },
  30951. "lastloginmode": {
  30952. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30953. "type": "integer"
  30954. },
  30955. "lastloginremark": {
  30956. "description": "最新登录描述",
  30957. "type": "string"
  30958. },
  30959. "lastlogintime": {
  30960. "description": "最新登录时间",
  30961. "type": "string"
  30962. },
  30963. "logincode": {
  30964. "description": "登录代码",
  30965. "type": "string"
  30966. },
  30967. "loginfailnum": {
  30968. "description": "连续登录失败次数(登录成功时清零)",
  30969. "type": "integer"
  30970. },
  30971. "loginid": {
  30972. "description": "登陆账号",
  30973. "type": "integer"
  30974. },
  30975. "loginport": {
  30976. "description": "最新登录端口",
  30977. "type": "integer"
  30978. },
  30979. "loginstatus": {
  30980. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  30981. "type": "integer"
  30982. },
  30983. "loginusertype": {
  30984. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  30985. "type": "integer"
  30986. },
  30987. "mobile": {
  30988. "description": "手机号码(加密存储)",
  30989. "type": "string"
  30990. },
  30991. "modifierid": {
  30992. "description": "修改人",
  30993. "type": "integer"
  30994. },
  30995. "modifysrc": {
  30996. "description": "审核来源 - 1:管理端 2:终端",
  30997. "type": "integer"
  30998. },
  30999. "modifytime": {
  31000. "description": "修改时间",
  31001. "type": "string"
  31002. },
  31003. "password": {
  31004. "description": "登陆密码",
  31005. "type": "string"
  31006. },
  31007. "pwdwrongcount": {
  31008. "description": "密码错误次数",
  31009. "type": "integer"
  31010. },
  31011. "relateduserid": {
  31012. "description": "关联用户ID(机构)",
  31013. "type": "integer"
  31014. },
  31015. "taaccountrighttype": {
  31016. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  31017. "type": "integer"
  31018. },
  31019. "unfreezetime": {
  31020. "description": "账户解冻时间",
  31021. "type": "string"
  31022. },
  31023. "userid": {
  31024. "description": "用户ID",
  31025. "type": "integer"
  31026. }
  31027. }
  31028. },
  31029. "models.MainAccountInfo": {
  31030. "type": "object",
  31031. "properties": {
  31032. "accountid": {
  31033. "description": "账号id",
  31034. "type": "integer"
  31035. },
  31036. "accountname": {
  31037. "description": "账号名称(taaccount表中的名称)",
  31038. "type": "string"
  31039. },
  31040. "appid": {
  31041. "description": "AppID",
  31042. "type": "string"
  31043. },
  31044. "authcode": {
  31045. "description": "授权码",
  31046. "type": "string"
  31047. },
  31048. "brokerid": {
  31049. "description": "经纪商id",
  31050. "type": "string"
  31051. },
  31052. "fcid": {
  31053. "description": "期货公司id",
  31054. "type": "integer"
  31055. },
  31056. "fcname": {
  31057. "description": "期货公司代码",
  31058. "type": "string"
  31059. },
  31060. "hedgeaccountcode": {
  31061. "description": "外部账号代码(主账号登录代码)",
  31062. "type": "string"
  31063. },
  31064. "hedgeaccountpwd": {
  31065. "description": "密码",
  31066. "type": "string"
  31067. },
  31068. "ismain": {
  31069. "description": "是否主账号",
  31070. "type": "integer"
  31071. },
  31072. "relateduserid": {
  31073. "description": "关联用户id",
  31074. "type": "integer"
  31075. },
  31076. "userid": {
  31077. "description": "关联用户id",
  31078. "type": "integer"
  31079. }
  31080. }
  31081. },
  31082. "models.Market": {
  31083. "type": "object",
  31084. "required": [
  31085. "marketid",
  31086. "marketstatus",
  31087. "openmethod",
  31088. "reckonpricealgorithm",
  31089. "trademode",
  31090. "tradeproperty"
  31091. ],
  31092. "properties": {
  31093. "auctionwrtype": {
  31094. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  31095. "type": "integer"
  31096. },
  31097. "canacceptquote": {
  31098. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  31099. "type": "integer"
  31100. },
  31101. "cangoodsexercise": {
  31102. "description": "[期权]是否可现货行权- 0:否 1:是",
  31103. "type": "integer"
  31104. },
  31105. "cangoodsexercisetype": {
  31106. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  31107. "type": "integer"
  31108. },
  31109. "canmanualquotestrike": {
  31110. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  31111. "type": "integer"
  31112. },
  31113. "canmutistage": {
  31114. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  31115. "type": "integer"
  31116. },
  31117. "canpreexercise": {
  31118. "description": "[期权]是否可预申报- 0:否 1:是",
  31119. "type": "integer"
  31120. },
  31121. "clearinterval": {
  31122. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  31123. "type": "integer"
  31124. },
  31125. "contracttmp": {
  31126. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  31127. "type": "string"
  31128. },
  31129. "exchareaid": {
  31130. "description": "所属交易所,可以没有",
  31131. "type": "integer"
  31132. },
  31133. "goodstype": {
  31134. "description": "商品类型 - 1:交易商品 2:仓单商品",
  31135. "type": "integer"
  31136. },
  31137. "hasrebate": {
  31138. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  31139. "type": "integer"
  31140. },
  31141. "hastradecredit": {
  31142. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  31143. "type": "integer"
  31144. },
  31145. "haswr": {
  31146. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  31147. "type": "integer"
  31148. },
  31149. "isdeductmargin": {
  31150. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  31151. "type": "integer"
  31152. },
  31153. "isrecordsource": {
  31154. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  31155. "type": "integer"
  31156. },
  31157. "isreleasemargin": {
  31158. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  31159. "type": "integer"
  31160. },
  31161. "marginformula": {
  31162. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31163. "type": "integer"
  31164. },
  31165. "marginformula2": {
  31166. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31167. "type": "integer"
  31168. },
  31169. "marketid": {
  31170. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  31171. "type": "integer"
  31172. },
  31173. "marketname": {
  31174. "description": "市场名称",
  31175. "type": "string"
  31176. },
  31177. "marketserviceid": {
  31178. "description": "市场服务ID",
  31179. "type": "integer"
  31180. },
  31181. "marketstatus": {
  31182. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  31183. "type": "integer"
  31184. },
  31185. "markettype": {
  31186. "description": "市场类型- 1:非交易服务 2:交易服务",
  31187. "type": "integer"
  31188. },
  31189. "matchermode": {
  31190. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  31191. "type": "integer"
  31192. },
  31193. "openmethod": {
  31194. "description": "开盘模式 - 0 自动 1手动",
  31195. "type": "integer"
  31196. },
  31197. "otcuserid": {
  31198. "description": "场外期权做市商[场外期权]",
  31199. "type": "integer"
  31200. },
  31201. "outersynctime": {
  31202. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  31203. "type": "string"
  31204. },
  31205. "pendingflag": {
  31206. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  31207. "type": "integer"
  31208. },
  31209. "pendingtime": {
  31210. "description": "待开市时间[通道交易-对冲](HH:mm)",
  31211. "type": "string"
  31212. },
  31213. "performancetempid": {
  31214. "description": "履约计划模板ID - 作废",
  31215. "type": "integer"
  31216. },
  31217. "premiumquotemode": {
  31218. "description": "权利金报价方式 - 1:自动 2:手动",
  31219. "type": "integer"
  31220. },
  31221. "rebateratio": {
  31222. "description": "返利比率[竞价式]",
  31223. "type": "number"
  31224. },
  31225. "reckonorder": {
  31226. "description": "结算顺序",
  31227. "type": "integer"
  31228. },
  31229. "reckonpricealgorithm": {
  31230. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  31231. "type": "integer"
  31232. },
  31233. "reckonpriceparam": {
  31234. "description": "结算价参数",
  31235. "type": "integer"
  31236. },
  31237. "reckontime": {
  31238. "description": "结算时间[通道交易-对冲](HH:mm)",
  31239. "type": "string"
  31240. },
  31241. "roleprioritytype": {
  31242. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  31243. "type": "integer"
  31244. },
  31245. "selllistingauditflag": {
  31246. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  31247. "type": "integer"
  31248. },
  31249. "trademarkettype": {
  31250. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  31251. "type": "integer"
  31252. },
  31253. "trademode": {
  31254. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31255. "type": "integer"
  31256. },
  31257. "tradeproperty": {
  31258. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  31259. "type": "integer"
  31260. },
  31261. "tradetype": {
  31262. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  31263. "type": "integer"
  31264. }
  31265. }
  31266. },
  31267. "models.Marketcalendar": {
  31268. "type": "object",
  31269. "properties": {
  31270. "holidaydate": {
  31271. "description": "节假日期(yyyy-MM-dd)",
  31272. "type": "string"
  31273. },
  31274. "marketid": {
  31275. "description": "市场ID",
  31276. "type": "integer"
  31277. }
  31278. }
  31279. },
  31280. "models.Marketrun": {
  31281. "type": "object",
  31282. "required": [
  31283. "marketid",
  31284. "nexttradedate",
  31285. "reckonflag",
  31286. "runstatus",
  31287. "tradedate",
  31288. "tradedate2"
  31289. ],
  31290. "properties": {
  31291. "afternexttradedate": {
  31292. "description": "下下交易日",
  31293. "type": "string"
  31294. },
  31295. "clearquoteflag": {
  31296. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  31297. "type": "integer"
  31298. },
  31299. "lastreckondate": {
  31300. "description": "最新交易日(结算成功)",
  31301. "type": "string"
  31302. },
  31303. "machinedate": {
  31304. "description": "机器时间",
  31305. "type": "string"
  31306. },
  31307. "manualflag": {
  31308. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  31309. "type": "integer"
  31310. },
  31311. "marketid": {
  31312. "description": "市场ID",
  31313. "type": "integer"
  31314. },
  31315. "nexttradedate": {
  31316. "description": "下一交易日",
  31317. "type": "string"
  31318. },
  31319. "pretradedate": {
  31320. "description": "上一交易日",
  31321. "type": "string"
  31322. },
  31323. "reckonflag": {
  31324. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  31325. "type": "integer"
  31326. },
  31327. "runstatus": {
  31328. "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.今日免清算",
  31329. "type": "integer"
  31330. },
  31331. "sectionid": {
  31332. "description": "时间段号[多时段时用]",
  31333. "type": "integer"
  31334. },
  31335. "tradedate": {
  31336. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  31337. "type": "string"
  31338. },
  31339. "tradedate2": {
  31340. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  31341. "type": "string"
  31342. },
  31343. "updatetime": {
  31344. "description": "更新时间",
  31345. "type": "string"
  31346. }
  31347. }
  31348. },
  31349. "models.Messageboard": {
  31350. "type": "object",
  31351. "required": [
  31352. "messageboardid"
  31353. ],
  31354. "properties": {
  31355. "contactnum": {
  31356. "description": "联系电话",
  31357. "type": "string"
  31358. },
  31359. "createtime": {
  31360. "description": "创建时间",
  31361. "type": "string"
  31362. },
  31363. "message": {
  31364. "description": "留言信息",
  31365. "type": "string"
  31366. },
  31367. "messageboardid": {
  31368. "description": "留言簿ID(SEQ_MessageBoard)",
  31369. "type": "integer"
  31370. },
  31371. "userid": {
  31372. "description": "用户ID",
  31373. "type": "integer"
  31374. }
  31375. }
  31376. },
  31377. "models.MyCoupon": {
  31378. "type": "object",
  31379. "required": [
  31380. "accountid",
  31381. "coupontypeid"
  31382. ],
  31383. "properties": {
  31384. "accountid": {
  31385. "description": "资金账户ID",
  31386. "type": "integer"
  31387. },
  31388. "areauserid": {
  31389. "description": "所属机构",
  31390. "type": "integer"
  31391. },
  31392. "conditionvalue": {
  31393. "description": "条件阈值(可为0)",
  31394. "type": "number"
  31395. },
  31396. "couponcategroy": {
  31397. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  31398. "type": "integer"
  31399. },
  31400. "couponname": {
  31401. "description": "优惠券名称",
  31402. "type": "string"
  31403. },
  31404. "coupontypeid": {
  31405. "description": "优惠券类型ID",
  31406. "type": "string"
  31407. },
  31408. "couponvalue": {
  31409. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31410. "type": "number"
  31411. },
  31412. "curfreezeqty": {
  31413. "description": "期末冻结数量",
  31414. "type": "integer"
  31415. },
  31416. "curqty": {
  31417. "description": "期末数量",
  31418. "type": "integer"
  31419. },
  31420. "isgeneral": {
  31421. "description": "是否通用券 - 0:否 1:是",
  31422. "type": "integer"
  31423. },
  31424. "isunusable": {
  31425. "description": "是否不可用",
  31426. "type": "boolean"
  31427. },
  31428. "limitedflag": {
  31429. "description": "是否指定商品 - 0:不限 1:限制",
  31430. "type": "integer"
  31431. },
  31432. "limitedgoodsids": {
  31433. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  31434. "type": "string"
  31435. },
  31436. "orifreezeqty": {
  31437. "description": "期初冻结数量",
  31438. "type": "integer"
  31439. },
  31440. "oriqty": {
  31441. "description": "期初数量",
  31442. "type": "integer"
  31443. },
  31444. "reasontype": {
  31445. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  31446. "type": "integer"
  31447. },
  31448. "todaydecrease": {
  31449. "description": "今日减少",
  31450. "type": "integer"
  31451. },
  31452. "todayincrease": {
  31453. "description": "今日增加",
  31454. "type": "integer"
  31455. },
  31456. "userid": {
  31457. "description": "用户ID",
  31458. "type": "integer"
  31459. },
  31460. "userscope": {
  31461. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  31462. "type": "string"
  31463. }
  31464. }
  31465. },
  31466. "models.MyCouponHold": {
  31467. "type": "object",
  31468. "required": [
  31469. "couponholdid"
  31470. ],
  31471. "properties": {
  31472. "accountid": {
  31473. "description": "资金账户ID",
  31474. "type": "integer"
  31475. },
  31476. "conditionvalue": {
  31477. "description": "条件阈值(可为0)",
  31478. "type": "number"
  31479. },
  31480. "couponcategroy": {
  31481. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  31482. "type": "integer"
  31483. },
  31484. "couponholdid": {
  31485. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  31486. "type": "string"
  31487. },
  31488. "couponname": {
  31489. "description": "优惠券名称",
  31490. "type": "string"
  31491. },
  31492. "coupontypeid": {
  31493. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  31494. "type": "string"
  31495. },
  31496. "couponvalue": {
  31497. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31498. "type": "number"
  31499. },
  31500. "createtime": {
  31501. "description": "创建时间",
  31502. "type": "string"
  31503. },
  31504. "enddate": {
  31505. "description": "结束日期",
  31506. "type": "string"
  31507. },
  31508. "giveapplyid": {
  31509. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  31510. "type": "integer"
  31511. },
  31512. "holdstatus": {
  31513. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  31514. "type": "integer"
  31515. },
  31516. "isgeneral": {
  31517. "description": "是否通用券 - 0:否 1:是",
  31518. "type": "integer"
  31519. },
  31520. "limitedflag": {
  31521. "description": "是否指定商品 - 0:不限 1:限制",
  31522. "type": "integer"
  31523. },
  31524. "limitedgoodsids": {
  31525. "description": "指定商品IDs[逗号分隔]",
  31526. "type": "string"
  31527. },
  31528. "qty": {
  31529. "description": "数量(按1平铺)",
  31530. "type": "integer"
  31531. },
  31532. "startdate": {
  31533. "description": "开始日期",
  31534. "type": "string"
  31535. },
  31536. "userid": {
  31537. "description": "用户ID",
  31538. "type": "integer"
  31539. },
  31540. "userscope": {
  31541. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  31542. "type": "string"
  31543. }
  31544. }
  31545. },
  31546. "models.MyUsedCoupon": {
  31547. "type": "object",
  31548. "required": [
  31549. "coupontypeid",
  31550. "orderid"
  31551. ],
  31552. "properties": {
  31553. "accountid": {
  31554. "description": "资金账户ID(买方)",
  31555. "type": "integer"
  31556. },
  31557. "conditionvalue": {
  31558. "description": "条件阈值(可为0)",
  31559. "type": "number"
  31560. },
  31561. "couponcategroy": {
  31562. "description": "种类 - 1:现金券 2:折扣券",
  31563. "type": "integer"
  31564. },
  31565. "couponname": {
  31566. "description": "优惠券名称",
  31567. "type": "string"
  31568. },
  31569. "coupontypeid": {
  31570. "description": "优惠券类型ID(买方)",
  31571. "type": "string"
  31572. },
  31573. "couponvalue": {
  31574. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  31575. "type": "number"
  31576. },
  31577. "createtime": {
  31578. "description": "创建时间",
  31579. "type": "string"
  31580. },
  31581. "goodsid": {
  31582. "description": "商品ID",
  31583. "type": "integer"
  31584. },
  31585. "handlestatus": {
  31586. "description": "处理状态",
  31587. "type": "integer"
  31588. },
  31589. "marketid": {
  31590. "description": "市场ID",
  31591. "type": "integer"
  31592. },
  31593. "offamount": {
  31594. "description": "优惠金额",
  31595. "type": "number"
  31596. },
  31597. "orderid": {
  31598. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31599. "type": "string"
  31600. },
  31601. "sellaccountid": {
  31602. "description": "资金账户ID(卖方)",
  31603. "type": "integer"
  31604. },
  31605. "tradeamount": {
  31606. "description": "成交金额",
  31607. "type": "number"
  31608. },
  31609. "tradeid": {
  31610. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31611. "type": "string"
  31612. },
  31613. "usedqty": {
  31614. "description": "使用数量",
  31615. "type": "integer"
  31616. }
  31617. }
  31618. },
  31619. "models.OperationPrimaryMenu": {
  31620. "type": "object",
  31621. "properties": {
  31622. "Children": {
  31623. "description": "二级功能菜单",
  31624. "type": "array",
  31625. "items": {
  31626. "$ref": "#/definitions/models.OperationSecondaryMenu"
  31627. }
  31628. },
  31629. "Key": {
  31630. "description": "菜单KEY",
  31631. "type": "string"
  31632. },
  31633. "Label": {
  31634. "description": "菜单标题",
  31635. "type": "string"
  31636. }
  31637. }
  31638. },
  31639. "models.OperationSecondaryMenu": {
  31640. "type": "object",
  31641. "properties": {
  31642. "Key": {
  31643. "description": "菜单KEY",
  31644. "type": "string"
  31645. },
  31646. "Label": {
  31647. "description": "菜单标题",
  31648. "type": "string"
  31649. },
  31650. "TabList": {
  31651. "description": "三级功能菜单",
  31652. "type": "array",
  31653. "items": {
  31654. "$ref": "#/definitions/models.OperationTabMenu"
  31655. }
  31656. }
  31657. }
  31658. },
  31659. "models.OperationTabMenu": {
  31660. "type": "object",
  31661. "properties": {
  31662. "Key": {
  31663. "description": "菜单KEY",
  31664. "type": "string"
  31665. },
  31666. "Label": {
  31667. "description": "菜单标题",
  31668. "type": "string"
  31669. }
  31670. }
  31671. },
  31672. "models.Patradelinkdetail": {
  31673. "type": "object",
  31674. "properties": {
  31675. "accountname": {
  31676. "description": "套期主体",
  31677. "type": "string"
  31678. },
  31679. "agreeunit": {
  31680. "description": "合约乘数",
  31681. "type": "number"
  31682. },
  31683. "amount": {
  31684. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  31685. "type": "number"
  31686. },
  31687. "areauserid": {
  31688. "description": "所属机构",
  31689. "type": "integer"
  31690. },
  31691. "bizsubjectid": {
  31692. "description": "归属业务部门ID - SubjectID",
  31693. "type": "integer"
  31694. },
  31695. "buyorsell": {
  31696. "description": "方向 - 0:买 1:卖",
  31697. "type": "integer"
  31698. },
  31699. "convertratio": {
  31700. "description": "品种系数",
  31701. "type": "number"
  31702. },
  31703. "convertratiochange": {
  31704. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  31705. "type": "number"
  31706. },
  31707. "createtime": {
  31708. "description": "[日期时间]创建时间",
  31709. "type": "string"
  31710. },
  31711. "creatorid": {
  31712. "description": "创建人ID",
  31713. "type": "integer"
  31714. },
  31715. "creatorsrc": {
  31716. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31717. "type": "integer"
  31718. },
  31719. "goodscode": {
  31720. "description": "商品代码(内部)",
  31721. "type": "string"
  31722. },
  31723. "goodsgroupid": {
  31724. "description": "对冲品种ID[期货合约商品组ID]",
  31725. "type": "integer"
  31726. },
  31727. "goodsid": {
  31728. "description": "商品ID",
  31729. "type": "integer"
  31730. },
  31731. "hedgeditemid": {
  31732. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31733. "type": "integer"
  31734. },
  31735. "hedgeflag": {
  31736. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31737. "type": "integer"
  31738. },
  31739. "linkdetailid": {
  31740. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31741. "type": "string"
  31742. },
  31743. "linkstatus": {
  31744. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31745. "type": "integer"
  31746. },
  31747. "middlegoodsid": {
  31748. "description": "套保品种ID",
  31749. "type": "integer"
  31750. },
  31751. "name": {
  31752. "description": "账户名/子账户",
  31753. "type": "string"
  31754. },
  31755. "optioncode": {
  31756. "description": "[期货合约]期权代码 [期权]",
  31757. "type": "string"
  31758. },
  31759. "ordertype": {
  31760. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  31761. "type": "integer"
  31762. },
  31763. "relatedlot": {
  31764. "description": "[数量]关联手数",
  31765. "type": "number"
  31766. },
  31767. "relatedmode": {
  31768. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31769. "type": "integer"
  31770. },
  31771. "relatedqty": {
  31772. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31773. "type": "number"
  31774. },
  31775. "retcode": {
  31776. "description": "返回码",
  31777. "type": "integer"
  31778. },
  31779. "saleuserid": {
  31780. "description": "业务员ID",
  31781. "type": "integer"
  31782. },
  31783. "tradedate": {
  31784. "description": "关联交易日(yyyyMMdd)",
  31785. "type": "string"
  31786. },
  31787. "tradeid": {
  31788. "description": "[成交单号]内部成交单ID",
  31789. "type": "string"
  31790. },
  31791. "tradelot": {
  31792. "description": "成交手数",
  31793. "type": "integer"
  31794. },
  31795. "tradeprice": {
  31796. "description": "[价格]成交价格",
  31797. "type": "number"
  31798. },
  31799. "tradetradedate": {
  31800. "description": "成交交易日(yyyyMMdd)",
  31801. "type": "string"
  31802. }
  31803. }
  31804. },
  31805. "models.QhjAccountOutInApply": {
  31806. "type": "object",
  31807. "properties": {
  31808. "accountcode": {
  31809. "description": "资金账号",
  31810. "type": "string"
  31811. },
  31812. "accountname": {
  31813. "description": "用户名称(名称)",
  31814. "type": "string"
  31815. },
  31816. "accountpwd": {
  31817. "description": "资金密码",
  31818. "type": "string"
  31819. },
  31820. "accountticket": {
  31821. "description": "最新账户服务流水号",
  31822. "type": "string"
  31823. },
  31824. "amount": {
  31825. "description": "金额",
  31826. "type": "number"
  31827. },
  31828. "applyremark": {
  31829. "description": "申请备注",
  31830. "type": "string"
  31831. },
  31832. "applystatus": {
  31833. "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: 复审通过,账户冻结金额检查中;",
  31834. "type": "integer"
  31835. },
  31836. "auditid": {
  31837. "description": "审核人",
  31838. "type": "integer"
  31839. },
  31840. "audittime": {
  31841. "description": "审核时间",
  31842. "type": "string"
  31843. },
  31844. "bank_apply_ticket": {
  31845. "description": "银行申请流水",
  31846. "type": "string"
  31847. },
  31848. "bankaccountname": {
  31849. "description": "银行账户名",
  31850. "type": "string"
  31851. },
  31852. "bankaccountno": {
  31853. "description": "银行卡号",
  31854. "type": "string"
  31855. },
  31856. "bankid": {
  31857. "description": "银行编号",
  31858. "type": "string"
  31859. },
  31860. "bankticket": {
  31861. "description": "银行流水",
  31862. "type": "string"
  31863. },
  31864. "branchbankid": {
  31865. "description": "银行支行号",
  31866. "type": "string"
  31867. },
  31868. "branchbankname": {
  31869. "description": "银行支行名称",
  31870. "type": "string"
  31871. },
  31872. "capamountout": {
  31873. "description": "出金(劣后本金) - 外部子账户",
  31874. "type": "number"
  31875. },
  31876. "certificatephotourl": {
  31877. "description": "凭证地址",
  31878. "type": "string"
  31879. },
  31880. "charge": {
  31881. "description": "手续费",
  31882. "type": "number"
  31883. },
  31884. "checkerrorflag": {
  31885. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  31886. "type": "integer"
  31887. },
  31888. "currency": {
  31889. "description": "币种",
  31890. "type": "string"
  31891. },
  31892. "cusbankid": {
  31893. "description": "托管银行编号",
  31894. "type": "string"
  31895. },
  31896. "exchticket": {
  31897. "description": "银行服务流水号",
  31898. "type": "string"
  31899. },
  31900. "executetype": {
  31901. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  31902. "type": "integer"
  31903. },
  31904. "extendinfo": {
  31905. "description": "扩展信息",
  31906. "type": "string"
  31907. },
  31908. "extoperateid": {
  31909. "description": "交易服务流水号",
  31910. "type": "integer"
  31911. },
  31912. "infamount": {
  31913. "description": "劣后金额(自有)",
  31914. "type": "number"
  31915. },
  31916. "logincode": {
  31917. "description": "登录账号(账号)",
  31918. "type": "string"
  31919. },
  31920. "netaddr": {
  31921. "description": "调转网址",
  31922. "type": "string"
  31923. },
  31924. "priamount": {
  31925. "description": "优先金额(授信)",
  31926. "type": "number"
  31927. },
  31928. "reauditid": {
  31929. "description": "复审人",
  31930. "type": "integer"
  31931. },
  31932. "reauditremark": {
  31933. "description": "复审备注",
  31934. "type": "string"
  31935. },
  31936. "reaudittime": {
  31937. "description": "复审时间",
  31938. "type": "string"
  31939. },
  31940. "relatedorderid": {
  31941. "description": "三方关联ID",
  31942. "type": "string"
  31943. },
  31944. "remark": {
  31945. "description": "备注",
  31946. "type": "string"
  31947. },
  31948. "remark2": {
  31949. "description": "备注(失败原因)",
  31950. "type": "string"
  31951. },
  31952. "soucreamount": {
  31953. "description": "原始出入金金额",
  31954. "type": "number"
  31955. },
  31956. "soucrecurrencyid": {
  31957. "description": "原始出入金币种",
  31958. "type": "integer"
  31959. },
  31960. "tradedate": {
  31961. "description": "交易日(yyyyMMdd)",
  31962. "type": "string"
  31963. },
  31964. "updatetime": {
  31965. "description": "更新时间(申请时间)",
  31966. "type": "string"
  31967. },
  31968. "userid": {
  31969. "description": "用户id",
  31970. "type": "integer"
  31971. },
  31972. "userinfotype": {
  31973. "description": "账户类型 1-个人 2-企业",
  31974. "type": "integer"
  31975. }
  31976. }
  31977. },
  31978. "models.QhjAgreementChangeLog": {
  31979. "type": "object",
  31980. "properties": {
  31981. "agreementcontent": {
  31982. "description": "协议内容",
  31983. "type": "string"
  31984. },
  31985. "agreementfrequency": {
  31986. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  31987. "type": "integer"
  31988. },
  31989. "agreementid": {
  31990. "description": "协议ID",
  31991. "type": "integer"
  31992. },
  31993. "agreementname": {
  31994. "description": "协议名称",
  31995. "type": "string"
  31996. },
  31997. "agreementno": {
  31998. "description": "协议编号",
  31999. "type": "string"
  32000. },
  32001. "agreementtype": {
  32002. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32003. "type": "integer"
  32004. },
  32005. "agreementversion": {
  32006. "description": "协议版本号",
  32007. "type": "integer"
  32008. },
  32009. "logid": {
  32010. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  32011. "type": "integer"
  32012. },
  32013. "reviserid": {
  32014. "description": "修改人",
  32015. "type": "integer"
  32016. },
  32017. "revisersrc": {
  32018. "description": "修改来源 - 1:管理端 2:终端",
  32019. "type": "integer"
  32020. },
  32021. "updatetime": {
  32022. "description": "更新时间",
  32023. "type": "string"
  32024. }
  32025. }
  32026. },
  32027. "models.QhjAgreementConfig": {
  32028. "type": "object",
  32029. "properties": {
  32030. "agreementcontent": {
  32031. "description": "协议内容",
  32032. "type": "string"
  32033. },
  32034. "agreementfrequency": {
  32035. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32036. "type": "integer"
  32037. },
  32038. "agreementid": {
  32039. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  32040. "type": "integer"
  32041. },
  32042. "agreementname": {
  32043. "description": "协议名称",
  32044. "type": "string"
  32045. },
  32046. "agreementno": {
  32047. "description": "协议编号",
  32048. "type": "string"
  32049. },
  32050. "agreementtype": {
  32051. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32052. "type": "integer"
  32053. },
  32054. "agreementversion": {
  32055. "description": "协议版本号(从1开始每次修改加1)",
  32056. "type": "integer"
  32057. },
  32058. "createtime": {
  32059. "description": "创建时间",
  32060. "type": "string"
  32061. },
  32062. "creatorid": {
  32063. "description": "创建人",
  32064. "type": "integer"
  32065. },
  32066. "creatorsrc": {
  32067. "description": "创建来源 - 1:管理端 2:终端",
  32068. "type": "integer"
  32069. },
  32070. "isvalid": {
  32071. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  32072. "type": "integer"
  32073. },
  32074. "reviserid": {
  32075. "description": "修改人",
  32076. "type": "integer"
  32077. },
  32078. "revisersrc": {
  32079. "description": "修改来源 - 1:管理端 2:终端",
  32080. "type": "integer"
  32081. },
  32082. "updatetime": {
  32083. "description": "更新时间",
  32084. "type": "string"
  32085. }
  32086. }
  32087. },
  32088. "models.QhjAreaFinanceConfig": {
  32089. "type": "object",
  32090. "properties": {
  32091. "additionalratio": {
  32092. "description": "追加款比例",
  32093. "type": "number"
  32094. },
  32095. "advanceratio": {
  32096. "description": "预付款比例",
  32097. "type": "number"
  32098. },
  32099. "alarmratio": {
  32100. "description": "告警比例",
  32101. "type": "number"
  32102. },
  32103. "consumptiondirectreward": {
  32104. "description": "消费直推奖励值",
  32105. "type": "number"
  32106. },
  32107. "consumptionenabled": {
  32108. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  32109. "type": "integer"
  32110. },
  32111. "consumptionindirectreward": {
  32112. "description": "消费间推奖励值",
  32113. "type": "number"
  32114. },
  32115. "consumptionmodel": {
  32116. "description": "消费奖励方式 - 1:比率 2:固定",
  32117. "type": "integer"
  32118. },
  32119. "customerservicenum": {
  32120. "description": "客服电话",
  32121. "type": "string"
  32122. },
  32123. "dayinterestrate": {
  32124. "description": "日利率",
  32125. "type": "number"
  32126. },
  32127. "disableconsumptiontips": {
  32128. "description": "关闭消费奖励提示",
  32129. "type": "string"
  32130. },
  32131. "modifierid": {
  32132. "description": "修改人ID",
  32133. "type": "integer"
  32134. },
  32135. "modifysrc": {
  32136. "description": "审核来源 - 1:管理端 2:终端",
  32137. "type": "integer"
  32138. },
  32139. "modifytime": {
  32140. "description": "修改时间",
  32141. "type": "string"
  32142. },
  32143. "promotionvalue": {
  32144. "description": "推广奖励值(固定)",
  32145. "type": "number"
  32146. },
  32147. "scoreconfigvalue1": {
  32148. "description": "提货积分配置1",
  32149. "type": "integer"
  32150. },
  32151. "scoreconfigvalue2": {
  32152. "description": "提货积分配置2",
  32153. "type": "integer"
  32154. },
  32155. "userid": {
  32156. "description": "机构用户ID其他做市关系,都设置为 1",
  32157. "type": "integer"
  32158. },
  32159. "username": {
  32160. "description": "用户名称",
  32161. "type": "string"
  32162. }
  32163. }
  32164. },
  32165. "models.QhjBankAccountSign": {
  32166. "type": "object",
  32167. "properties": {
  32168. "accountcode": {
  32169. "description": "资金账号",
  32170. "type": "string"
  32171. },
  32172. "accountname": {
  32173. "description": "资金账号对应的账号名(UserName)",
  32174. "type": "string"
  32175. },
  32176. "accountname2": {
  32177. "description": "资金账号对应的账号名(UserName) - 密文",
  32178. "type": "string"
  32179. },
  32180. "accounttype": {
  32181. "description": "账户类型(UserType)",
  32182. "type": "integer"
  32183. },
  32184. "applicationtime": {
  32185. "description": "最后一次更新的时间",
  32186. "type": "string"
  32187. },
  32188. "applyexchticket": {
  32189. "description": "申请流水",
  32190. "type": "string"
  32191. },
  32192. "auditid": {
  32193. "description": "审核人",
  32194. "type": "integer"
  32195. },
  32196. "audittime": {
  32197. "description": "审核时间",
  32198. "type": "string"
  32199. },
  32200. "bankaccountname": {
  32201. "description": "签约银行卡账号名",
  32202. "type": "string"
  32203. },
  32204. "bankaccountname2": {
  32205. "description": "签约银行卡账号名 - 密文",
  32206. "type": "string"
  32207. },
  32208. "bankaccountno": {
  32209. "description": "银行卡号",
  32210. "type": "string"
  32211. },
  32212. "bankaccountno2": {
  32213. "description": "银行卡号 - 密文",
  32214. "type": "string"
  32215. },
  32216. "bankaccounttype": {
  32217. "description": "银行账户类型 - 1-对私; 2-对公",
  32218. "type": "integer"
  32219. },
  32220. "bankcardtype": {
  32221. "description": "银行卡类型",
  32222. "type": "integer"
  32223. },
  32224. "bankchildaccount": {
  32225. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  32226. "type": "string"
  32227. },
  32228. "bankcity": {
  32229. "description": "开户行城市",
  32230. "type": "string"
  32231. },
  32232. "bankid": {
  32233. "description": "签约银行ID",
  32234. "type": "string"
  32235. },
  32236. "bankname": {
  32237. "description": "签约银行名称",
  32238. "type": "string"
  32239. },
  32240. "bankprovince": {
  32241. "description": "开户行省份",
  32242. "type": "string"
  32243. },
  32244. "branchbankid": {
  32245. "description": "签约银行支行号",
  32246. "type": "string"
  32247. },
  32248. "branchbankname": {
  32249. "description": "签约银行支行名称",
  32250. "type": "string"
  32251. },
  32252. "cardno": {
  32253. "description": "证件号码",
  32254. "type": "string"
  32255. },
  32256. "cardno2": {
  32257. "description": "证件号码 - 密文",
  32258. "type": "string"
  32259. },
  32260. "cardtype": {
  32261. "description": "证件类型",
  32262. "type": "string"
  32263. },
  32264. "currency": {
  32265. "description": "币种",
  32266. "type": "string"
  32267. },
  32268. "cusbankid": {
  32269. "description": "托管银行编号",
  32270. "type": "string"
  32271. },
  32272. "direct": {
  32273. "description": "方向(可以判断那方先发起的签约)",
  32274. "type": "integer"
  32275. },
  32276. "exchticket": {
  32277. "description": "最后一次签约成功的流水号",
  32278. "type": "string"
  32279. },
  32280. "extendinfo": {
  32281. "description": "扩展信息(JSON字符串)",
  32282. "type": "string"
  32283. },
  32284. "mobilephone": {
  32285. "description": "手机号",
  32286. "type": "string"
  32287. },
  32288. "mobilephone2": {
  32289. "description": "手机号 - 密文",
  32290. "type": "string"
  32291. },
  32292. "netaddr": {
  32293. "description": "调转网址",
  32294. "type": "string"
  32295. },
  32296. "relateduserid": {
  32297. "description": "关联使用者userid",
  32298. "type": "integer"
  32299. },
  32300. "signstatus": {
  32301. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  32302. "type": "integer"
  32303. },
  32304. "updatetime": {
  32305. "description": "更新时间(签解约更新时间)",
  32306. "type": "string"
  32307. }
  32308. }
  32309. },
  32310. "models.QhjBankInfo": {
  32311. "type": "object",
  32312. "properties": {
  32313. "bankid": {
  32314. "description": "银行ID",
  32315. "type": "string"
  32316. },
  32317. "bankname": {
  32318. "description": "银行名称",
  32319. "type": "string"
  32320. },
  32321. "clearbankno": {
  32322. "description": "清算系统银行编号",
  32323. "type": "string"
  32324. },
  32325. "orderindex": {
  32326. "description": "排序顺序",
  32327. "type": "integer"
  32328. },
  32329. "status": {
  32330. "description": "状态 - 0:正常 1:注销",
  32331. "type": "integer"
  32332. }
  32333. }
  32334. },
  32335. "models.QhjBrokerApply": {
  32336. "type": "object",
  32337. "properties": {
  32338. "applicantid": {
  32339. "description": "申请人",
  32340. "type": "integer"
  32341. },
  32342. "applysrc": {
  32343. "description": "申请来源 - 1:管理端 2:终端",
  32344. "type": "integer"
  32345. },
  32346. "applystatus": {
  32347. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32348. "type": "integer"
  32349. },
  32350. "applytime": {
  32351. "description": "申请时间",
  32352. "type": "string"
  32353. },
  32354. "auditorid": {
  32355. "description": "审核人",
  32356. "type": "integer"
  32357. },
  32358. "auditremark": {
  32359. "description": "审核备注",
  32360. "type": "string"
  32361. },
  32362. "auditsrc": {
  32363. "description": "审核来源 - 1:管理端 2:终端",
  32364. "type": "integer"
  32365. },
  32366. "audittime": {
  32367. "description": "审核时间",
  32368. "type": "string"
  32369. },
  32370. "audittradedate": {
  32371. "description": "审核交易日(yyyyMMdd)",
  32372. "type": "string"
  32373. },
  32374. "brokerapplyid": {
  32375. "description": "申请ID(SEQ_BROKERAPPLY)",
  32376. "type": "integer"
  32377. },
  32378. "cardbackphotourl": {
  32379. "description": "证件背面图片地址",
  32380. "type": "string"
  32381. },
  32382. "cardfrontphotourl": {
  32383. "description": "证件正面图片地址",
  32384. "type": "string"
  32385. },
  32386. "cardnum": {
  32387. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32388. "type": "string"
  32389. },
  32390. "customername": {
  32391. "description": "姓名",
  32392. "type": "string"
  32393. },
  32394. "logincode": {
  32395. "description": "登录代码",
  32396. "type": "string"
  32397. },
  32398. "mobile": {
  32399. "description": "手机号码",
  32400. "type": "string"
  32401. },
  32402. "parentuserid": {
  32403. "description": "所属机构id",
  32404. "type": "integer"
  32405. },
  32406. "parentusername": {
  32407. "description": "所属机构名称",
  32408. "type": "string"
  32409. },
  32410. "refereeuserid": {
  32411. "description": "推荐人id(经纪人)",
  32412. "type": "integer"
  32413. },
  32414. "refernum": {
  32415. "description": "推荐码",
  32416. "type": "string"
  32417. },
  32418. "remark": {
  32419. "description": "备注",
  32420. "type": "string"
  32421. },
  32422. "subarealevelpath": {
  32423. "description": "层级路径",
  32424. "type": "string"
  32425. },
  32426. "tradedate": {
  32427. "description": "交易日(yyyyMMdd)",
  32428. "type": "string"
  32429. },
  32430. "userid": {
  32431. "description": "申请人用户ID",
  32432. "type": "integer"
  32433. },
  32434. "userinfotype": {
  32435. "description": "用户类型 1-个人 2-企业",
  32436. "type": "integer"
  32437. },
  32438. "username": {
  32439. "description": "用户名称",
  32440. "type": "string"
  32441. }
  32442. }
  32443. },
  32444. "models.QhjBrokerApplyEx": {
  32445. "type": "object",
  32446. "properties": {
  32447. "applylist": {
  32448. "description": "经纪人申请记录(只返回最新一条)",
  32449. "type": "array",
  32450. "items": {
  32451. "$ref": "#/definitions/models.QhjBrokerApply"
  32452. }
  32453. },
  32454. "canrecommend": {
  32455. "description": "是否经纪人 0-不是 1-是",
  32456. "type": "integer"
  32457. },
  32458. "refernum": {
  32459. "description": "推荐码",
  32460. "type": "string"
  32461. },
  32462. "userid": {
  32463. "description": "用户id",
  32464. "type": "integer"
  32465. },
  32466. "userinfotype": {
  32467. "description": "用户类型 1-个人 2-企业",
  32468. "type": "integer"
  32469. }
  32470. }
  32471. },
  32472. "models.QhjBrokerRewardLog": {
  32473. "type": "object",
  32474. "properties": {
  32475. "accountid": {
  32476. "description": "资金账号ID",
  32477. "type": "integer"
  32478. },
  32479. "createtime": {
  32480. "description": "创建时间(时间)",
  32481. "type": "string"
  32482. },
  32483. "handlestatus": {
  32484. "description": "处理状态",
  32485. "type": "integer"
  32486. },
  32487. "logid": {
  32488. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32489. "type": "string"
  32490. },
  32491. "marketid": {
  32492. "description": "市场ID",
  32493. "type": "integer"
  32494. },
  32495. "mmaccountid": {
  32496. "description": "做市商资金账号ID",
  32497. "type": "string"
  32498. },
  32499. "mmuserid": {
  32500. "description": "做市商用户ID",
  32501. "type": "string"
  32502. },
  32503. "rewardamount": {
  32504. "description": "奖励金额",
  32505. "type": "number"
  32506. },
  32507. "rewardmodel": {
  32508. "description": "消费奖励方式 - 1:比率 2:固定",
  32509. "type": "integer"
  32510. },
  32511. "rewardtype": {
  32512. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  32513. "type": "integer"
  32514. },
  32515. "rewardvalue": {
  32516. "description": "配置奖励值",
  32517. "type": "number"
  32518. },
  32519. "srcamount": {
  32520. "description": "成交金额 [消费奖励] (金额)",
  32521. "type": "number"
  32522. },
  32523. "srcgoodsid": {
  32524. "description": "来源商品ID [消费奖励]",
  32525. "type": "string"
  32526. },
  32527. "srctime": {
  32528. "description": "来源时间 (成交时间) [消费奖励]",
  32529. "type": "string"
  32530. },
  32531. "srctradeid": {
  32532. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  32533. "type": "string"
  32534. },
  32535. "srcuserid": {
  32536. "description": "来源用户ID(推广账户)",
  32537. "type": "string"
  32538. },
  32539. "srcusername": {
  32540. "description": "推广账户名称",
  32541. "type": "string"
  32542. },
  32543. "tradedate": {
  32544. "description": "交易日(yyyyMMdd)",
  32545. "type": "string"
  32546. },
  32547. "userid": {
  32548. "description": "经纪人用户ID",
  32549. "type": "integer"
  32550. }
  32551. }
  32552. },
  32553. "models.QhjContract": {
  32554. "type": "object",
  32555. "properties": {
  32556. "contractconfirmtime": {
  32557. "description": "合同确认时间(时间)",
  32558. "type": "string"
  32559. },
  32560. "currisklevel": {
  32561. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  32562. "type": "integer"
  32563. },
  32564. "decimalplace": {
  32565. "description": "商品报价小数位",
  32566. "type": "integer"
  32567. },
  32568. "enumdicname": {
  32569. "description": "单位名称",
  32570. "type": "string"
  32571. },
  32572. "goodscode": {
  32573. "description": "商品代码",
  32574. "type": "string"
  32575. },
  32576. "goodsid": {
  32577. "description": "商品ID [5:融资单]",
  32578. "type": "integer"
  32579. },
  32580. "goodsname": {
  32581. "description": "商品名称",
  32582. "type": "string"
  32583. },
  32584. "goodunitid": {
  32585. "description": "商品单位id",
  32586. "type": "integer"
  32587. },
  32588. "initmargin": {
  32589. "description": "初始保证金(首付款)",
  32590. "type": "number"
  32591. },
  32592. "lenderamount": {
  32593. "description": "贷款金额(总额|订单总额)",
  32594. "type": "number"
  32595. },
  32596. "marginratio": {
  32597. "description": "保证金比率(首付比例)",
  32598. "type": "number"
  32599. },
  32600. "payamount": {
  32601. "description": "已付(已付货款)",
  32602. "type": "number"
  32603. },
  32604. "reckonrecovermargin": {
  32605. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  32606. "type": "number"
  32607. },
  32608. "recoveredmargin": {
  32609. "description": "已追缴保证金",
  32610. "type": "number"
  32611. },
  32612. "remainamount": {
  32613. "description": "合同剩余金额(融资额)",
  32614. "type": "number"
  32615. },
  32616. "scfcontractid": {
  32617. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32618. "type": "string"
  32619. },
  32620. "scfcontractstatus": {
  32621. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  32622. "type": "integer"
  32623. },
  32624. "scfcontracttype": {
  32625. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  32626. "type": "integer"
  32627. },
  32628. "totalinterest": {
  32629. "description": "已计总利息(利息)",
  32630. "type": "number"
  32631. },
  32632. "tradeprice": {
  32633. "description": "成交价格(成本价格)",
  32634. "type": "number"
  32635. },
  32636. "userid": {
  32637. "description": "用户ID",
  32638. "type": "integer"
  32639. },
  32640. "username": {
  32641. "description": "用户名称",
  32642. "type": "string"
  32643. },
  32644. "wrqty": {
  32645. "description": "仓单数量(数量)",
  32646. "type": "number"
  32647. }
  32648. }
  32649. },
  32650. "models.QhjContractLog": {
  32651. "type": "object",
  32652. "properties": {
  32653. "amount": {
  32654. "description": "支付金额",
  32655. "type": "number"
  32656. },
  32657. "amounttype": {
  32658. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  32659. "type": "integer"
  32660. },
  32661. "logid": {
  32662. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32663. "type": "string"
  32664. },
  32665. "remainamount": {
  32666. "description": "剩余货款",
  32667. "type": "number"
  32668. },
  32669. "scfcontractid": {
  32670. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32671. "type": "integer"
  32672. },
  32673. "updatetime": {
  32674. "description": "更新时间",
  32675. "type": "string"
  32676. }
  32677. }
  32678. },
  32679. "models.QhjCusBankSignBankEx": {
  32680. "type": "object",
  32681. "properties": {
  32682. "banklst": {
  32683. "description": "银行列表",
  32684. "type": "array",
  32685. "items": {
  32686. "$ref": "#/definitions/models.QhjBankInfo"
  32687. }
  32688. },
  32689. "canallot": {
  32690. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  32691. "type": "integer"
  32692. },
  32693. "canallotquery": {
  32694. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  32695. "type": "integer"
  32696. },
  32697. "canbindcard": {
  32698. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  32699. "type": "integer"
  32700. },
  32701. "caninamount": {
  32702. "description": "是否可入金 - 0:不可 1:可以",
  32703. "type": "integer"
  32704. },
  32705. "caninamount2": {
  32706. "description": "是否可入金(网银端) - 0:不可 1:可以",
  32707. "type": "integer"
  32708. },
  32709. "canmodifybankcard": {
  32710. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  32711. "type": "integer"
  32712. },
  32713. "canmodifyphone": {
  32714. "description": "是否可修改手机号 - 0:不可 1:可以",
  32715. "type": "integer"
  32716. },
  32717. "canmodifysigninfo": {
  32718. "description": "是否可修改签约信息 - 0:不可 1:可以",
  32719. "type": "integer"
  32720. },
  32721. "canoutamount": {
  32722. "description": "是否可出金 - 0:不可 1:可以",
  32723. "type": "integer"
  32724. },
  32725. "canoutamount2": {
  32726. "description": "是否可出金(网银端) - 0:不可 1:可以",
  32727. "type": "integer"
  32728. },
  32729. "canrelease": {
  32730. "description": "是否可解约 - 0:不可 1:可以",
  32731. "type": "integer"
  32732. },
  32733. "canrelease2": {
  32734. "description": "是否可解约(网银端) - 0:不可 1:可以",
  32735. "type": "integer"
  32736. },
  32737. "cansign": {
  32738. "description": "是否可签约 - 0:不可 1:可以",
  32739. "type": "integer"
  32740. },
  32741. "cansign2": {
  32742. "description": "是否可签约(网银端) - 0:不可 1:可以",
  32743. "type": "integer"
  32744. },
  32745. "currency": {
  32746. "description": "币种",
  32747. "type": "string"
  32748. },
  32749. "cusbankid": {
  32750. "description": "托管银行编号(对应清算中心TRAN_NO)",
  32751. "type": "string"
  32752. },
  32753. "cusbankname": {
  32754. "description": "银行业务名称",
  32755. "type": "string"
  32756. },
  32757. "cusbankshortname": {
  32758. "description": "银行业务简称",
  32759. "type": "string"
  32760. },
  32761. "exchbankid": {
  32762. "description": "交易所开户银行ID",
  32763. "type": "string"
  32764. },
  32765. "exchpaybankaccname": {
  32766. "description": "交易所支出结算账户户名",
  32767. "type": "string"
  32768. },
  32769. "exchpaybankaccno": {
  32770. "description": "交易所支出结算账户",
  32771. "type": "string"
  32772. },
  32773. "isneedcheck": {
  32774. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  32775. "type": "integer"
  32776. },
  32777. "isneedclear": {
  32778. "description": "是否需要清算 - 0:不需要 1:需要",
  32779. "type": "integer"
  32780. },
  32781. "lastcheckstatus": {
  32782. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  32783. "type": "integer"
  32784. },
  32785. "lastchecktime": {
  32786. "description": "最后对账时间",
  32787. "type": "string"
  32788. },
  32789. "lastclearstatus": {
  32790. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  32791. "type": "integer"
  32792. },
  32793. "lastcleartime": {
  32794. "description": "最后清算时间",
  32795. "type": "string"
  32796. },
  32797. "lastsignintime": {
  32798. "description": "最后签到时间",
  32799. "type": "string"
  32800. },
  32801. "lastsignouttime": {
  32802. "description": "最后签退时间",
  32803. "type": "string"
  32804. },
  32805. "riskinfo": {
  32806. "description": "签约风险提示书",
  32807. "type": "string"
  32808. },
  32809. "signstatus": {
  32810. "description": "当前签到/签退状态 - 1:签到 2:签退",
  32811. "type": "integer"
  32812. },
  32813. "tradedate": {
  32814. "description": "交易日(yyyyMMdd)",
  32815. "type": "string"
  32816. },
  32817. "updatetime": {
  32818. "description": "当前签到/签退更新时间",
  32819. "type": "string"
  32820. }
  32821. }
  32822. },
  32823. "models.QhjCustomer": {
  32824. "type": "object",
  32825. "properties": {
  32826. "address": {
  32827. "description": "通讯地址",
  32828. "type": "string"
  32829. },
  32830. "attachment1": {
  32831. "description": "附件1",
  32832. "type": "string"
  32833. },
  32834. "attachment2": {
  32835. "description": "附件2",
  32836. "type": "string"
  32837. },
  32838. "audittime": {
  32839. "description": "审核时间",
  32840. "type": "string"
  32841. },
  32842. "cardbackphotourl": {
  32843. "description": "证件反面图片地址",
  32844. "type": "string"
  32845. },
  32846. "cardfrontphotourl": {
  32847. "description": "证件正面图片地址",
  32848. "type": "string"
  32849. },
  32850. "cardnum": {
  32851. "description": "证件号码",
  32852. "type": "string"
  32853. },
  32854. "cardtype": {
  32855. "description": "证件类型",
  32856. "type": "integer"
  32857. },
  32858. "cardtypename": {
  32859. "description": "证件类型名称",
  32860. "type": "string"
  32861. },
  32862. "cityid": {
  32863. "description": "市",
  32864. "type": "integer"
  32865. },
  32866. "cityname": {
  32867. "description": "城市名称",
  32868. "type": "string"
  32869. },
  32870. "contactname": {
  32871. "description": "联系人",
  32872. "type": "string"
  32873. },
  32874. "countryid": {
  32875. "description": "国家",
  32876. "type": "integer"
  32877. },
  32878. "countryname": {
  32879. "description": "国家名称",
  32880. "type": "string"
  32881. },
  32882. "createtime": {
  32883. "description": "创建时间",
  32884. "type": "string"
  32885. },
  32886. "customername": {
  32887. "description": "客户名称",
  32888. "type": "string"
  32889. },
  32890. "districtid": {
  32891. "description": "区域",
  32892. "type": "integer"
  32893. },
  32894. "districtname": {
  32895. "description": "地区名称",
  32896. "type": "string"
  32897. },
  32898. "email": {
  32899. "description": "邮件",
  32900. "type": "string"
  32901. },
  32902. "legalpersonname": {
  32903. "description": "法人姓名(企业)",
  32904. "type": "string"
  32905. },
  32906. "logincode": {
  32907. "description": "登录账号(代码)",
  32908. "type": "string"
  32909. },
  32910. "memberuserid": {
  32911. "description": "所属机构ID(所属会员)",
  32912. "type": "integer"
  32913. },
  32914. "memberusername": {
  32915. "description": "所属会员名称",
  32916. "type": "string"
  32917. },
  32918. "mobile": {
  32919. "description": "手机号码",
  32920. "type": "string"
  32921. },
  32922. "modifytime": {
  32923. "description": "修改时间",
  32924. "type": "string"
  32925. },
  32926. "nickname": {
  32927. "description": "昵称",
  32928. "type": "string"
  32929. },
  32930. "parentuserid": {
  32931. "description": "上级机构(所属机构)",
  32932. "type": "integer"
  32933. },
  32934. "parentusername": {
  32935. "description": "所属机构名称",
  32936. "type": "string"
  32937. },
  32938. "provinceid": {
  32939. "description": "省",
  32940. "type": "integer"
  32941. },
  32942. "provincename": {
  32943. "description": "省名称",
  32944. "type": "string"
  32945. },
  32946. "proxystatementurl": {
  32947. "description": "授权委托书",
  32948. "type": "string"
  32949. },
  32950. "remark": {
  32951. "description": "备注",
  32952. "type": "string"
  32953. },
  32954. "status": {
  32955. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  32956. "type": "integer"
  32957. },
  32958. "statusdesc": {
  32959. "description": "账户状态中文描述",
  32960. "type": "string"
  32961. },
  32962. "taxpayernum": {
  32963. "description": "纳税人识别号",
  32964. "type": "string"
  32965. },
  32966. "telphone": {
  32967. "description": "联系电话",
  32968. "type": "string"
  32969. },
  32970. "userid": {
  32971. "description": "用户ID",
  32972. "type": "integer"
  32973. },
  32974. "userinfotype": {
  32975. "description": "客户类型 1-个人 2-企业",
  32976. "type": "integer"
  32977. },
  32978. "username": {
  32979. "description": "用户名称",
  32980. "type": "string"
  32981. }
  32982. }
  32983. },
  32984. "models.QhjCustomerSignLog": {
  32985. "type": "object",
  32986. "properties": {
  32987. "agreementcontent": {
  32988. "description": "协议内容",
  32989. "type": "string"
  32990. },
  32991. "agreementid": {
  32992. "description": "协议ID",
  32993. "type": "integer"
  32994. },
  32995. "agreementname": {
  32996. "description": "协议名称",
  32997. "type": "string"
  32998. },
  32999. "agreementno": {
  33000. "description": "协议编号",
  33001. "type": "string"
  33002. },
  33003. "agreementtype": {
  33004. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33005. "type": "integer"
  33006. },
  33007. "agreementversion": {
  33008. "description": "协议版本号",
  33009. "type": "integer"
  33010. },
  33011. "createtime": {
  33012. "description": "创建时间",
  33013. "type": "string"
  33014. },
  33015. "goodscode": {
  33016. "description": "商品代码",
  33017. "type": "string"
  33018. },
  33019. "goodsid": {
  33020. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33021. "type": "integer"
  33022. },
  33023. "goodsname": {
  33024. "description": "商品名称",
  33025. "type": "string"
  33026. },
  33027. "logid": {
  33028. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  33029. "type": "integer"
  33030. },
  33031. "nodetype": {
  33032. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  33033. "type": "integer"
  33034. },
  33035. "signadressurl": {
  33036. "description": "签约文件地址",
  33037. "type": "string"
  33038. },
  33039. "signtimestamp": {
  33040. "description": "签约状态时间戳",
  33041. "type": "string"
  33042. },
  33043. "userid": {
  33044. "description": "客户ID",
  33045. "type": "integer"
  33046. },
  33047. "username": {
  33048. "description": "客户名称",
  33049. "type": "string"
  33050. }
  33051. }
  33052. },
  33053. "models.QhjCustomerSignStatus": {
  33054. "type": "object",
  33055. "properties": {
  33056. "createtime": {
  33057. "description": "创建时间",
  33058. "type": "string"
  33059. },
  33060. "goodscode": {
  33061. "description": "商品代码",
  33062. "type": "string"
  33063. },
  33064. "goodsid": {
  33065. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33066. "type": "integer"
  33067. },
  33068. "goodsname": {
  33069. "description": "商品名称",
  33070. "type": "string"
  33071. },
  33072. "nodetype": {
  33073. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  33074. "type": "integer"
  33075. },
  33076. "signtimestamp": {
  33077. "description": "签约状态时间戳",
  33078. "type": "string"
  33079. },
  33080. "tradedate": {
  33081. "description": "创建交易日(yyyyMMdd)",
  33082. "type": "string"
  33083. },
  33084. "updatetime": {
  33085. "description": "更新时间",
  33086. "type": "string"
  33087. },
  33088. "userid": {
  33089. "description": "客户ID",
  33090. "type": "integer"
  33091. },
  33092. "username": {
  33093. "description": "客户名称",
  33094. "type": "string"
  33095. }
  33096. }
  33097. },
  33098. "models.QhjMgrAccountOutInApply": {
  33099. "type": "object",
  33100. "properties": {
  33101. "accountcode": {
  33102. "description": "资金账号",
  33103. "type": "string"
  33104. },
  33105. "accountname": {
  33106. "description": "用户名称(名称)",
  33107. "type": "string"
  33108. },
  33109. "accountpwd": {
  33110. "description": "资金密码",
  33111. "type": "string"
  33112. },
  33113. "accountticket": {
  33114. "description": "最新账户服务流水号",
  33115. "type": "string"
  33116. },
  33117. "amount": {
  33118. "description": "金额",
  33119. "type": "number"
  33120. },
  33121. "applyremark": {
  33122. "description": "申请备注",
  33123. "type": "string"
  33124. },
  33125. "applystatus": {
  33126. "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: 复审通过,账户冻结金额检查中;",
  33127. "type": "integer"
  33128. },
  33129. "auditid": {
  33130. "description": "审核人",
  33131. "type": "integer"
  33132. },
  33133. "audittime": {
  33134. "description": "审核时间",
  33135. "type": "string"
  33136. },
  33137. "bank_apply_ticket": {
  33138. "description": "银行申请流水",
  33139. "type": "string"
  33140. },
  33141. "bankaccountname": {
  33142. "description": "银行账户名",
  33143. "type": "string"
  33144. },
  33145. "bankaccountno": {
  33146. "description": "银行卡号",
  33147. "type": "string"
  33148. },
  33149. "bankid": {
  33150. "description": "银行编号",
  33151. "type": "string"
  33152. },
  33153. "bankname": {
  33154. "description": "银行名称",
  33155. "type": "string"
  33156. },
  33157. "bankticket": {
  33158. "description": "银行流水",
  33159. "type": "string"
  33160. },
  33161. "branchbankid": {
  33162. "description": "银行支行号",
  33163. "type": "string"
  33164. },
  33165. "branchbankname": {
  33166. "description": "银行支行名称",
  33167. "type": "string"
  33168. },
  33169. "capamountout": {
  33170. "description": "出金(劣后本金) - 外部子账户",
  33171. "type": "number"
  33172. },
  33173. "certificatephotourl": {
  33174. "description": "凭证地址",
  33175. "type": "string"
  33176. },
  33177. "charge": {
  33178. "description": "手续费",
  33179. "type": "number"
  33180. },
  33181. "checkerrorflag": {
  33182. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  33183. "type": "integer"
  33184. },
  33185. "currency": {
  33186. "description": "币种",
  33187. "type": "string"
  33188. },
  33189. "cusbankid": {
  33190. "description": "托管银行编号",
  33191. "type": "string"
  33192. },
  33193. "exchticket": {
  33194. "description": "银行服务流水号",
  33195. "type": "string"
  33196. },
  33197. "executetype": {
  33198. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  33199. "type": "integer"
  33200. },
  33201. "extendinfo": {
  33202. "description": "扩展信息",
  33203. "type": "string"
  33204. },
  33205. "extoperateid": {
  33206. "description": "交易服务流水号",
  33207. "type": "integer"
  33208. },
  33209. "infamount": {
  33210. "description": "劣后金额(自有)",
  33211. "type": "number"
  33212. },
  33213. "logincode": {
  33214. "description": "登录账号(账号)",
  33215. "type": "string"
  33216. },
  33217. "netaddr": {
  33218. "description": "调转网址",
  33219. "type": "string"
  33220. },
  33221. "priamount": {
  33222. "description": "优先金额(授信)",
  33223. "type": "number"
  33224. },
  33225. "reauditid": {
  33226. "description": "复审人",
  33227. "type": "integer"
  33228. },
  33229. "reauditremark": {
  33230. "description": "复审备注",
  33231. "type": "string"
  33232. },
  33233. "reaudittime": {
  33234. "description": "复审时间",
  33235. "type": "string"
  33236. },
  33237. "relatedorderid": {
  33238. "description": "三方关联ID",
  33239. "type": "string"
  33240. },
  33241. "remark": {
  33242. "description": "备注",
  33243. "type": "string"
  33244. },
  33245. "remark2": {
  33246. "description": "备注(失败原因)",
  33247. "type": "string"
  33248. },
  33249. "soucreamount": {
  33250. "description": "原始出入金金额",
  33251. "type": "number"
  33252. },
  33253. "soucrecurrencyid": {
  33254. "description": "原始出入金币种",
  33255. "type": "integer"
  33256. },
  33257. "tradedate": {
  33258. "description": "交易日(yyyyMMdd)",
  33259. "type": "string"
  33260. },
  33261. "updatetime": {
  33262. "description": "更新时间(申请时间)",
  33263. "type": "string"
  33264. },
  33265. "userid": {
  33266. "description": "用户id",
  33267. "type": "integer"
  33268. },
  33269. "userinfotype": {
  33270. "description": "账户类型 1-个人 2-企业",
  33271. "type": "integer"
  33272. }
  33273. }
  33274. },
  33275. "models.QhjMgrBrokerApply": {
  33276. "type": "object",
  33277. "properties": {
  33278. "applicantid": {
  33279. "description": "申请人",
  33280. "type": "integer"
  33281. },
  33282. "applysrc": {
  33283. "description": "申请来源 - 1:管理端 2:终端",
  33284. "type": "integer"
  33285. },
  33286. "applystatus": {
  33287. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33288. "type": "integer"
  33289. },
  33290. "applytime": {
  33291. "description": "申请时间",
  33292. "type": "string"
  33293. },
  33294. "auditorid": {
  33295. "description": "审核人",
  33296. "type": "integer"
  33297. },
  33298. "auditremark": {
  33299. "description": "审核备注",
  33300. "type": "string"
  33301. },
  33302. "auditsrc": {
  33303. "description": "审核来源 - 1:管理端 2:终端",
  33304. "type": "integer"
  33305. },
  33306. "audittime": {
  33307. "description": "审核时间",
  33308. "type": "string"
  33309. },
  33310. "audittradedate": {
  33311. "description": "审核交易日(yyyyMMdd)",
  33312. "type": "string"
  33313. },
  33314. "brokerapplyid": {
  33315. "description": "申请ID(SEQ_BROKERAPPLY)",
  33316. "type": "integer"
  33317. },
  33318. "cardbackphotourl": {
  33319. "description": "证件背面图片地址",
  33320. "type": "string"
  33321. },
  33322. "cardfrontphotourl": {
  33323. "description": "证件正面图片地址",
  33324. "type": "string"
  33325. },
  33326. "cardnum": {
  33327. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33328. "type": "string"
  33329. },
  33330. "customername": {
  33331. "description": "姓名",
  33332. "type": "string"
  33333. },
  33334. "filterstatus": {
  33335. "description": "筛选条件",
  33336. "type": "string"
  33337. },
  33338. "logincode": {
  33339. "description": "登录代码",
  33340. "type": "string"
  33341. },
  33342. "mobile": {
  33343. "description": "手机号码",
  33344. "type": "string"
  33345. },
  33346. "parentuserid": {
  33347. "description": "所属机构id",
  33348. "type": "integer"
  33349. },
  33350. "parentusername": {
  33351. "description": "所属机构名称",
  33352. "type": "string"
  33353. },
  33354. "refereeuserid": {
  33355. "description": "推荐人id(经纪人)",
  33356. "type": "integer"
  33357. },
  33358. "refernum": {
  33359. "description": "推荐码",
  33360. "type": "string"
  33361. },
  33362. "remark": {
  33363. "description": "备注",
  33364. "type": "string"
  33365. },
  33366. "subarealevelpath": {
  33367. "description": "层级路径",
  33368. "type": "string"
  33369. },
  33370. "tradedate": {
  33371. "description": "交易日(yyyyMMdd)",
  33372. "type": "string"
  33373. },
  33374. "userid": {
  33375. "description": "申请人用户ID",
  33376. "type": "integer"
  33377. },
  33378. "userinfotype": {
  33379. "description": "用户类型 1-个人 2-企业",
  33380. "type": "integer"
  33381. },
  33382. "username": {
  33383. "description": "用户名称",
  33384. "type": "string"
  33385. }
  33386. }
  33387. },
  33388. "models.QhjMgrBrokerRewardReport": {
  33389. "type": "object",
  33390. "properties": {
  33391. "createtime": {
  33392. "description": "创建时间(注册时间)",
  33393. "type": "string"
  33394. },
  33395. "cycletime": {
  33396. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  33397. "type": "string"
  33398. },
  33399. "cycletype": {
  33400. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  33401. "type": "integer"
  33402. },
  33403. "directtotalnum": {
  33404. "description": "直推总人数【期末】",
  33405. "type": "integer"
  33406. },
  33407. "indirecttotalnum": {
  33408. "description": "间推总人数【期末】",
  33409. "type": "integer"
  33410. },
  33411. "mobile": {
  33412. "description": "电话号码",
  33413. "type": "string"
  33414. },
  33415. "refereeuserid": {
  33416. "description": "推荐人id(经纪人id)",
  33417. "type": "integer"
  33418. },
  33419. "refereeusername": {
  33420. "description": "推荐人名称(经纪人) 上级经纪人名称",
  33421. "type": "string"
  33422. },
  33423. "refernum": {
  33424. "description": "推荐码",
  33425. "type": "string"
  33426. },
  33427. "subarealevelpath": {
  33428. "description": "用户层级路径",
  33429. "type": "string"
  33430. },
  33431. "todayrewardamount": {
  33432. "description": "奖励总金额【汇总】",
  33433. "type": "number"
  33434. },
  33435. "updatetime": {
  33436. "description": "更新时间",
  33437. "type": "string"
  33438. },
  33439. "userid": {
  33440. "description": "经纪人用户ID",
  33441. "type": "integer"
  33442. },
  33443. "userinfotype": {
  33444. "description": "用户类型 1-个人 2-企业",
  33445. "type": "integer"
  33446. },
  33447. "username": {
  33448. "description": "用户名称",
  33449. "type": "string"
  33450. }
  33451. }
  33452. },
  33453. "models.QhjMgrContract": {
  33454. "type": "object",
  33455. "properties": {
  33456. "contractconfirmtime": {
  33457. "description": "合同确认时间(时间)",
  33458. "type": "string"
  33459. },
  33460. "currisklevel": {
  33461. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33462. "type": "integer"
  33463. },
  33464. "decimalplace": {
  33465. "description": "商品报价小数位",
  33466. "type": "integer"
  33467. },
  33468. "enumdicname": {
  33469. "description": "单位名称",
  33470. "type": "string"
  33471. },
  33472. "goodscode": {
  33473. "description": "商品代码",
  33474. "type": "string"
  33475. },
  33476. "goodsid": {
  33477. "description": "商品ID [5:融资单]",
  33478. "type": "integer"
  33479. },
  33480. "goodsname": {
  33481. "description": "商品名称",
  33482. "type": "string"
  33483. },
  33484. "goodunitid": {
  33485. "description": "商品单位id",
  33486. "type": "integer"
  33487. },
  33488. "initmargin": {
  33489. "description": "初始保证金(首付款)",
  33490. "type": "number"
  33491. },
  33492. "lenderamount": {
  33493. "description": "贷款金额(总额|订单总额)",
  33494. "type": "number"
  33495. },
  33496. "logincode": {
  33497. "description": "账号(登录代码)",
  33498. "type": "string"
  33499. },
  33500. "marginratio": {
  33501. "description": "保证金比率(首付比例)",
  33502. "type": "number"
  33503. },
  33504. "mobile": {
  33505. "description": "电话号码(用户资料里的电话)",
  33506. "type": "string"
  33507. },
  33508. "payamount": {
  33509. "description": "已付(已付货款)",
  33510. "type": "number"
  33511. },
  33512. "reckonrecovermargin": {
  33513. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33514. "type": "number"
  33515. },
  33516. "recoveredmargin": {
  33517. "description": "已追缴保证金",
  33518. "type": "number"
  33519. },
  33520. "remainamount": {
  33521. "description": "合同剩余金额(融资额)",
  33522. "type": "number"
  33523. },
  33524. "scfcontractid": {
  33525. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33526. "type": "string"
  33527. },
  33528. "scfcontractstatus": {
  33529. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33530. "type": "integer"
  33531. },
  33532. "scfcontracttype": {
  33533. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33534. "type": "integer"
  33535. },
  33536. "totalinterest": {
  33537. "description": "已计总利息(利息)",
  33538. "type": "number"
  33539. },
  33540. "tradedate": {
  33541. "description": "交易日",
  33542. "type": "string"
  33543. },
  33544. "tradeprice": {
  33545. "description": "成交价格(成本价格)",
  33546. "type": "number"
  33547. },
  33548. "userid": {
  33549. "description": "用户ID",
  33550. "type": "integer"
  33551. },
  33552. "userinfotype": {
  33553. "description": "用户类型 1-个人 2-企业",
  33554. "type": "integer"
  33555. },
  33556. "username": {
  33557. "description": "用户名称",
  33558. "type": "string"
  33559. },
  33560. "wrqty": {
  33561. "description": "仓单数量(数量)",
  33562. "type": "number"
  33563. }
  33564. }
  33565. },
  33566. "models.QhjMgrCustomer": {
  33567. "type": "object",
  33568. "properties": {
  33569. "address": {
  33570. "description": "通讯地址",
  33571. "type": "string"
  33572. },
  33573. "attachment1": {
  33574. "description": "附件1",
  33575. "type": "string"
  33576. },
  33577. "audittime": {
  33578. "description": "审核时间",
  33579. "type": "string"
  33580. },
  33581. "birthday": {
  33582. "description": "生日",
  33583. "type": "string"
  33584. },
  33585. "brokerid": {
  33586. "description": "所属客户经理id",
  33587. "type": "integer"
  33588. },
  33589. "brokername": {
  33590. "description": "所属客户经理名称",
  33591. "type": "string"
  33592. },
  33593. "cardbackphotourl": {
  33594. "description": "证件反面图片地址",
  33595. "type": "string"
  33596. },
  33597. "cardfrontphotourl": {
  33598. "description": "证件正面图片地址",
  33599. "type": "string"
  33600. },
  33601. "cardnum": {
  33602. "description": "证件号码",
  33603. "type": "string"
  33604. },
  33605. "cardtype": {
  33606. "description": "证件类型",
  33607. "type": "integer"
  33608. },
  33609. "cardtypename": {
  33610. "description": "证件类型名称",
  33611. "type": "string"
  33612. },
  33613. "cityid": {
  33614. "description": "市",
  33615. "type": "integer"
  33616. },
  33617. "cityname": {
  33618. "description": "城市名称",
  33619. "type": "string"
  33620. },
  33621. "contactname": {
  33622. "description": "联系人",
  33623. "type": "string"
  33624. },
  33625. "countryid": {
  33626. "description": "国家",
  33627. "type": "integer"
  33628. },
  33629. "countryname": {
  33630. "description": "国家名称",
  33631. "type": "string"
  33632. },
  33633. "createtime": {
  33634. "description": "创建时间",
  33635. "type": "string"
  33636. },
  33637. "customername": {
  33638. "description": "客户名称",
  33639. "type": "string"
  33640. },
  33641. "districtid": {
  33642. "description": "区域",
  33643. "type": "integer"
  33644. },
  33645. "districtname": {
  33646. "description": "地区名称",
  33647. "type": "string"
  33648. },
  33649. "email": {
  33650. "description": "邮件",
  33651. "type": "string"
  33652. },
  33653. "legalpersonname": {
  33654. "description": "法人姓名(企业)",
  33655. "type": "string"
  33656. },
  33657. "logincode": {
  33658. "description": "登录账号(代码)",
  33659. "type": "string"
  33660. },
  33661. "memberuserid": {
  33662. "description": "所属机构ID(所属会员)",
  33663. "type": "integer"
  33664. },
  33665. "memberusername": {
  33666. "description": "所属会员名称",
  33667. "type": "string"
  33668. },
  33669. "mobile": {
  33670. "description": "手机号码",
  33671. "type": "string"
  33672. },
  33673. "modifytime": {
  33674. "description": "修改时间",
  33675. "type": "string"
  33676. },
  33677. "nickname": {
  33678. "description": "昵称",
  33679. "type": "string"
  33680. },
  33681. "parentuserid": {
  33682. "description": "上级机构(所属机构)",
  33683. "type": "integer"
  33684. },
  33685. "parentusername": {
  33686. "description": "所属机构名称",
  33687. "type": "string"
  33688. },
  33689. "provinceid": {
  33690. "description": "省",
  33691. "type": "integer"
  33692. },
  33693. "provincename": {
  33694. "description": "省名称",
  33695. "type": "string"
  33696. },
  33697. "proxystatementurl": {
  33698. "description": "授权委托书",
  33699. "type": "string"
  33700. },
  33701. "querytype": {
  33702. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  33703. "type": "integer"
  33704. },
  33705. "remark": {
  33706. "description": "备注",
  33707. "type": "string"
  33708. },
  33709. "sex": {
  33710. "description": "性别 0-女 1-男",
  33711. "type": "integer"
  33712. },
  33713. "status": {
  33714. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33715. "type": "integer"
  33716. },
  33717. "statusdesc": {
  33718. "description": "账户状态中文描述",
  33719. "type": "string"
  33720. },
  33721. "taxpayernum": {
  33722. "description": "纳税人识别号",
  33723. "type": "string"
  33724. },
  33725. "telphone": {
  33726. "description": "联系电话",
  33727. "type": "string"
  33728. },
  33729. "userid": {
  33730. "description": "用户ID",
  33731. "type": "integer"
  33732. },
  33733. "userinfotype": {
  33734. "description": "客户类型 1-个人 2-企业",
  33735. "type": "integer"
  33736. },
  33737. "username": {
  33738. "description": "用户名称",
  33739. "type": "string"
  33740. }
  33741. }
  33742. },
  33743. "models.QhjMgrPickGoods": {
  33744. "type": "object",
  33745. "properties": {
  33746. "enumdicname": {
  33747. "description": "单位名称(提货商品)",
  33748. "type": "string"
  33749. },
  33750. "goodsid": {
  33751. "description": "商品id",
  33752. "type": "integer"
  33753. },
  33754. "imageaddress": {
  33755. "description": "图片",
  33756. "type": "string"
  33757. },
  33758. "modifierid": {
  33759. "description": "修改人",
  33760. "type": "integer"
  33761. },
  33762. "modifiername": {
  33763. "description": "修改人名称",
  33764. "type": "string"
  33765. },
  33766. "modifysrc": {
  33767. "description": "修改来源 - 1:管理端 2:终端",
  33768. "type": "integer"
  33769. },
  33770. "pickupgoodsagreeunit": {
  33771. "description": "合约乘数",
  33772. "type": "number"
  33773. },
  33774. "pickupgoodsdesc": {
  33775. "description": "描述",
  33776. "type": "string"
  33777. },
  33778. "pickupgoodsid": {
  33779. "description": "提货商品ID",
  33780. "type": "string"
  33781. },
  33782. "pickupgoodsname": {
  33783. "description": "提货商品名称",
  33784. "type": "string"
  33785. },
  33786. "pickupgoodsstatus": {
  33787. "description": "状态 - 1:正常 2:停用 3:注销",
  33788. "type": "integer"
  33789. },
  33790. "pickupgoodsunitid": {
  33791. "description": "单位ID",
  33792. "type": "integer"
  33793. },
  33794. "pickupratio": {
  33795. "description": "提货系数",
  33796. "type": "number"
  33797. },
  33798. "preparedays": {
  33799. "description": "备货期(天)",
  33800. "type": "integer"
  33801. },
  33802. "remark": {
  33803. "description": "备注",
  33804. "type": "string"
  33805. },
  33806. "updatetime": {
  33807. "description": "更新时间",
  33808. "type": "string"
  33809. }
  33810. }
  33811. },
  33812. "models.QhjMgrPositionRsp": {
  33813. "type": "object",
  33814. "properties": {
  33815. "accountid": {
  33816. "description": "账号Id",
  33817. "type": "integer"
  33818. },
  33819. "accountname": {
  33820. "description": "用户名称",
  33821. "type": "string"
  33822. },
  33823. "agreeunit": {
  33824. "description": "合约乘数",
  33825. "type": "number"
  33826. },
  33827. "averageprice": {
  33828. "description": "均价",
  33829. "type": "number"
  33830. },
  33831. "avialqty": {
  33832. "description": "可用数量",
  33833. "type": "number"
  33834. },
  33835. "decimalplace": {
  33836. "description": "报价小数位",
  33837. "type": "integer"
  33838. },
  33839. "enumdicname": {
  33840. "description": "单位名称(商品)",
  33841. "type": "string"
  33842. },
  33843. "frozenqty": {
  33844. "description": "冻结数量",
  33845. "type": "number"
  33846. },
  33847. "goodscode": {
  33848. "description": "商品代码(内部)",
  33849. "type": "string"
  33850. },
  33851. "goodsid": {
  33852. "description": "商品Id",
  33853. "type": "integer"
  33854. },
  33855. "goodsname": {
  33856. "description": "商品名称",
  33857. "type": "string"
  33858. },
  33859. "goodunitid": {
  33860. "description": "报价单位ID",
  33861. "type": "integer"
  33862. },
  33863. "holderamount": {
  33864. "description": "金额",
  33865. "type": "number"
  33866. },
  33867. "holderqty": {
  33868. "description": "持有数量",
  33869. "type": "number"
  33870. },
  33871. "holdertype": {
  33872. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  33873. "type": "integer"
  33874. },
  33875. "logincode": {
  33876. "description": "登录代码(账户)",
  33877. "type": "string"
  33878. },
  33879. "marketid": {
  33880. "description": "市场id",
  33881. "type": "integer"
  33882. },
  33883. "qtydecimalplace": {
  33884. "description": "成交量小数位",
  33885. "type": "integer"
  33886. },
  33887. "trademode": {
  33888. "description": "交易模式",
  33889. "type": "integer"
  33890. },
  33891. "userid": {
  33892. "description": "用户id",
  33893. "type": "integer"
  33894. },
  33895. "userinfotype": {
  33896. "description": "账户类型 1-个人 2-企业",
  33897. "type": "integer"
  33898. }
  33899. }
  33900. },
  33901. "models.QhjMgrSubArea": {
  33902. "type": "object",
  33903. "properties": {
  33904. "accountname": {
  33905. "description": "账户名称(机构名称)",
  33906. "type": "string"
  33907. },
  33908. "memberuserid": {
  33909. "description": "所属会员ID",
  33910. "type": "integer"
  33911. },
  33912. "parenttopuser": {
  33913. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33914. "type": "string"
  33915. },
  33916. "parentuserid": {
  33917. "description": "所属机构ID",
  33918. "type": "integer"
  33919. },
  33920. "rootuserid": {
  33921. "description": "根用户ID",
  33922. "type": "string"
  33923. },
  33924. "subaccountlevel": {
  33925. "description": "子账户层数",
  33926. "type": "integer"
  33927. },
  33928. "subarealevelpath": {
  33929. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33930. "type": "string"
  33931. },
  33932. "userid": {
  33933. "description": "用户ID",
  33934. "type": "integer"
  33935. },
  33936. "usertype": {
  33937. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33938. "type": "integer"
  33939. }
  33940. }
  33941. },
  33942. "models.QhjMgrTradeDetailRsp": {
  33943. "type": "object",
  33944. "properties": {
  33945. "accountid": {
  33946. "description": "资金账号",
  33947. "type": "integer"
  33948. },
  33949. "accountname": {
  33950. "description": "用户名称",
  33951. "type": "string"
  33952. },
  33953. "agreeunit": {
  33954. "description": "合约乘数",
  33955. "type": "number"
  33956. },
  33957. "buyorsell": {
  33958. "description": "成交类型(方向) 0:买 1:卖",
  33959. "type": "integer"
  33960. },
  33961. "decimalplace": {
  33962. "description": "报价小数位",
  33963. "type": "integer"
  33964. },
  33965. "enumdicname": {
  33966. "description": "单位名称(商品)",
  33967. "type": "string"
  33968. },
  33969. "goodscode": {
  33970. "description": "商品代码(内部)",
  33971. "type": "string"
  33972. },
  33973. "goodsid": {
  33974. "description": "商品id",
  33975. "type": "integer"
  33976. },
  33977. "goodsname": {
  33978. "description": "商品名称",
  33979. "type": "string"
  33980. },
  33981. "goodunitid": {
  33982. "description": "报价单位ID",
  33983. "type": "integer"
  33984. },
  33985. "logincode": {
  33986. "description": "登录代码(账户)",
  33987. "type": "string"
  33988. },
  33989. "marketid": {
  33990. "description": "市场id",
  33991. "type": "integer"
  33992. },
  33993. "orderid": {
  33994. "description": "关联委托单号",
  33995. "type": "string"
  33996. },
  33997. "qtydecimalplace": {
  33998. "description": "成交量小数位",
  33999. "type": "integer"
  34000. },
  34001. "tradeamount": {
  34002. "description": "金额",
  34003. "type": "number"
  34004. },
  34005. "tradedate": {
  34006. "description": "交易日",
  34007. "type": "string"
  34008. },
  34009. "tradeid": {
  34010. "description": "成交单号",
  34011. "type": "string"
  34012. },
  34013. "trademode": {
  34014. "description": "交易模式",
  34015. "type": "integer"
  34016. },
  34017. "tradeprice": {
  34018. "description": "价格",
  34019. "type": "number"
  34020. },
  34021. "tradeqty": {
  34022. "description": "数量",
  34023. "type": "number"
  34024. },
  34025. "tradetime": {
  34026. "description": "成交时间",
  34027. "type": "string"
  34028. },
  34029. "userid": {
  34030. "description": "用户id",
  34031. "type": "integer"
  34032. },
  34033. "userinfotype": {
  34034. "description": "账户类型 1-个人 2-企业",
  34035. "type": "integer"
  34036. }
  34037. }
  34038. },
  34039. "models.QhjMgrTradeOrderDetailRsp": {
  34040. "type": "object",
  34041. "properties": {
  34042. "accountid": {
  34043. "description": "资金账号",
  34044. "type": "integer"
  34045. },
  34046. "accountname": {
  34047. "description": "用户名称",
  34048. "type": "string"
  34049. },
  34050. "agreeunit": {
  34051. "description": "合约乘数",
  34052. "type": "number"
  34053. },
  34054. "amount": {
  34055. "description": "金额",
  34056. "type": "number"
  34057. },
  34058. "decimalplace": {
  34059. "description": "报价小数位",
  34060. "type": "integer"
  34061. },
  34062. "enumdicname": {
  34063. "description": "单位名称(商品)",
  34064. "type": "string"
  34065. },
  34066. "goodscode": {
  34067. "description": "商品代码(内部)",
  34068. "type": "string"
  34069. },
  34070. "goodsid": {
  34071. "description": "商品id",
  34072. "type": "integer"
  34073. },
  34074. "goodsname": {
  34075. "description": "商品名称",
  34076. "type": "string"
  34077. },
  34078. "goodunitid": {
  34079. "description": "报价单位ID",
  34080. "type": "integer"
  34081. },
  34082. "logincode": {
  34083. "description": "登录代码(账户)",
  34084. "type": "string"
  34085. },
  34086. "marketid": {
  34087. "description": "市场id",
  34088. "type": "integer"
  34089. },
  34090. "orderid": {
  34091. "description": "关联委托单号",
  34092. "type": "string"
  34093. },
  34094. "orderprice": {
  34095. "description": "价格",
  34096. "type": "number"
  34097. },
  34098. "orderqty": {
  34099. "description": "数量",
  34100. "type": "number"
  34101. },
  34102. "orderstatus": {
  34103. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34104. "type": "integer"
  34105. },
  34106. "ordertime": {
  34107. "description": "委托时间",
  34108. "type": "string"
  34109. },
  34110. "qtydecimalplace": {
  34111. "description": "成交量小数位",
  34112. "type": "integer"
  34113. },
  34114. "tradedate": {
  34115. "description": "交易日",
  34116. "type": "string"
  34117. },
  34118. "trademode": {
  34119. "description": "交易模式",
  34120. "type": "integer"
  34121. },
  34122. "userid": {
  34123. "description": "用户id",
  34124. "type": "integer"
  34125. },
  34126. "userinfotype": {
  34127. "description": "账户类型 1-个人 2-企业",
  34128. "type": "integer"
  34129. }
  34130. }
  34131. },
  34132. "models.QhjMgrTradePayOrder": {
  34133. "type": "object",
  34134. "properties": {
  34135. "accountname": {
  34136. "description": "用户名称",
  34137. "type": "string"
  34138. },
  34139. "advanceratio": {
  34140. "description": "首付比率",
  34141. "type": "number"
  34142. },
  34143. "agreeunit": {
  34144. "description": "合约乘数",
  34145. "type": "number"
  34146. },
  34147. "buyaccountid": {
  34148. "description": "买方账号ID[报价币种]",
  34149. "type": "integer"
  34150. },
  34151. "buyorderid": {
  34152. "description": "买方委托单号(关联单号)",
  34153. "type": "string"
  34154. },
  34155. "createtime": {
  34156. "description": "创建时间",
  34157. "type": "string"
  34158. },
  34159. "decimalplace": {
  34160. "description": "报价小数位",
  34161. "type": "integer"
  34162. },
  34163. "enumdicname": {
  34164. "description": "单位名称(商品)",
  34165. "type": "string"
  34166. },
  34167. "goodscode": {
  34168. "description": "商品代码(内部)",
  34169. "type": "string"
  34170. },
  34171. "goodsid": {
  34172. "description": "商品ID",
  34173. "type": "integer"
  34174. },
  34175. "goodsname": {
  34176. "description": "商品名称",
  34177. "type": "string"
  34178. },
  34179. "goodunitid": {
  34180. "description": "报价单位ID",
  34181. "type": "integer"
  34182. },
  34183. "logincode": {
  34184. "description": "登录代码(账户)",
  34185. "type": "string"
  34186. },
  34187. "marketid": {
  34188. "description": "市场id",
  34189. "type": "integer"
  34190. },
  34191. "offamount": {
  34192. "description": "优惠金额",
  34193. "type": "number"
  34194. },
  34195. "operatetype": {
  34196. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34197. "type": "integer"
  34198. },
  34199. "payamount": {
  34200. "description": "支付金额(金额)",
  34201. "type": "number"
  34202. },
  34203. "payflag": {
  34204. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34205. "type": "integer"
  34206. },
  34207. "paylimitedtime": {
  34208. "description": "支付期限",
  34209. "type": "string"
  34210. },
  34211. "paytime": {
  34212. "description": "付款时间",
  34213. "type": "string"
  34214. },
  34215. "qtydecimalplace": {
  34216. "description": "成交量小数位",
  34217. "type": "integer"
  34218. },
  34219. "sellaccountid": {
  34220. "description": "卖方账号ID[报价币种]",
  34221. "type": "integer"
  34222. },
  34223. "sellorderid": {
  34224. "description": "卖方委托单号",
  34225. "type": "string"
  34226. },
  34227. "tradeamount": {
  34228. "description": "成交金额(优惠后金额)",
  34229. "type": "number"
  34230. },
  34231. "tradecharge": {
  34232. "description": "成交手续费(买方)",
  34233. "type": "number"
  34234. },
  34235. "tradedate": {
  34236. "description": "交易日(yyyyMMdd)",
  34237. "type": "string"
  34238. },
  34239. "tradeid": {
  34240. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34241. "type": "string"
  34242. },
  34243. "trademode": {
  34244. "description": "交易模式",
  34245. "type": "integer"
  34246. },
  34247. "tradeprice": {
  34248. "description": "成交价格(价格)",
  34249. "type": "number"
  34250. },
  34251. "tradeqty": {
  34252. "description": "成交数量(数量)",
  34253. "type": "number"
  34254. },
  34255. "tradetime": {
  34256. "description": "成交时间",
  34257. "type": "string"
  34258. },
  34259. "userid": {
  34260. "description": "用户id",
  34261. "type": "integer"
  34262. },
  34263. "userinfotype": {
  34264. "description": "账户类型 1-个人 2-企业",
  34265. "type": "integer"
  34266. }
  34267. }
  34268. },
  34269. "models.QhjMyTeamEx": {
  34270. "type": "object",
  34271. "properties": {
  34272. "accountname": {
  34273. "description": "用户名称",
  34274. "type": "string"
  34275. },
  34276. "accountstatus": {
  34277. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34278. "type": "integer"
  34279. },
  34280. "createtime": {
  34281. "description": "创建时间",
  34282. "type": "string"
  34283. },
  34284. "mobile": {
  34285. "description": "手机号码",
  34286. "type": "string"
  34287. },
  34288. "refereeuserid": {
  34289. "description": "推荐人id",
  34290. "type": "integer"
  34291. },
  34292. "refernum": {
  34293. "description": "推荐码",
  34294. "type": "string"
  34295. },
  34296. "subList": {
  34297. "type": "array",
  34298. "items": {
  34299. "$ref": "#/definitions/models.QhjMyTeamEx"
  34300. }
  34301. },
  34302. "userid": {
  34303. "description": "用户id",
  34304. "type": "integer"
  34305. },
  34306. "userinfotype": {
  34307. "description": "用户类型 1-个人 2-企业",
  34308. "type": "integer"
  34309. }
  34310. }
  34311. },
  34312. "models.QhjNodeAgreementConfig": {
  34313. "type": "object",
  34314. "properties": {
  34315. "agreementcontent": {
  34316. "description": "协议内容",
  34317. "type": "string"
  34318. },
  34319. "agreementid": {
  34320. "description": "协议ID",
  34321. "type": "integer"
  34322. },
  34323. "agreementname": {
  34324. "description": "协议名称",
  34325. "type": "string"
  34326. },
  34327. "agreementno": {
  34328. "description": "协议编号",
  34329. "type": "string"
  34330. },
  34331. "agreementtype": {
  34332. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34333. "type": "integer"
  34334. },
  34335. "agreementversion": {
  34336. "description": "协议版本号",
  34337. "type": "integer"
  34338. },
  34339. "configid": {
  34340. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  34341. "type": "integer"
  34342. },
  34343. "createtime": {
  34344. "description": "创建时间",
  34345. "type": "string"
  34346. },
  34347. "goodsid": {
  34348. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34349. "type": "integer"
  34350. },
  34351. "nodetype": {
  34352. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34353. "type": "integer"
  34354. }
  34355. }
  34356. },
  34357. "models.QhjParentAreaList": {
  34358. "type": "object",
  34359. "properties": {
  34360. "accountname": {
  34361. "description": "账户名称(机构名称)",
  34362. "type": "string"
  34363. },
  34364. "userid": {
  34365. "description": "用户ID",
  34366. "type": "integer"
  34367. },
  34368. "usertype": {
  34369. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34370. "type": "integer"
  34371. }
  34372. }
  34373. },
  34374. "models.QhjPayOrder": {
  34375. "type": "object",
  34376. "properties": {
  34377. "advanceratio": {
  34378. "description": "首付比率",
  34379. "type": "number"
  34380. },
  34381. "buyaccountid": {
  34382. "description": "买方账号ID[报价币种]",
  34383. "type": "integer"
  34384. },
  34385. "buyorderid": {
  34386. "description": "买方委托单号",
  34387. "type": "string"
  34388. },
  34389. "createtime": {
  34390. "description": "创建时间",
  34391. "type": "string"
  34392. },
  34393. "decimalplace": {
  34394. "description": "商品报价小数位",
  34395. "type": "integer"
  34396. },
  34397. "enumdicname": {
  34398. "description": "单位名称",
  34399. "type": "string"
  34400. },
  34401. "goodscode": {
  34402. "description": "商品代码",
  34403. "type": "string"
  34404. },
  34405. "goodsid": {
  34406. "description": "商品ID",
  34407. "type": "integer"
  34408. },
  34409. "goodsname": {
  34410. "description": "商品名称",
  34411. "type": "string"
  34412. },
  34413. "goodunitid": {
  34414. "description": "商品单位id",
  34415. "type": "integer"
  34416. },
  34417. "marketid": {
  34418. "description": "市场ID",
  34419. "type": "integer"
  34420. },
  34421. "offamount": {
  34422. "description": "优惠金额",
  34423. "type": "number"
  34424. },
  34425. "operatetype": {
  34426. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34427. "type": "integer"
  34428. },
  34429. "payamount": {
  34430. "description": "支付金额",
  34431. "type": "number"
  34432. },
  34433. "payflag": {
  34434. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34435. "type": "integer"
  34436. },
  34437. "paylimitedtime": {
  34438. "description": "支付期限",
  34439. "type": "string"
  34440. },
  34441. "paytime": {
  34442. "description": "付款时间",
  34443. "type": "string"
  34444. },
  34445. "qtydecimalplace": {
  34446. "description": "成交量小数位",
  34447. "type": "integer"
  34448. },
  34449. "sellaccountid": {
  34450. "description": "卖方账号ID[报价币种]",
  34451. "type": "integer"
  34452. },
  34453. "sellorderid": {
  34454. "description": "卖方委托单号",
  34455. "type": "string"
  34456. },
  34457. "tradeamount": {
  34458. "description": "成交金额(优惠后金额)",
  34459. "type": "number"
  34460. },
  34461. "tradecharge": {
  34462. "description": "成交手续费(买方)",
  34463. "type": "number"
  34464. },
  34465. "tradedate": {
  34466. "description": "交易日(yyyyMMdd)",
  34467. "type": "string"
  34468. },
  34469. "tradeid": {
  34470. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34471. "type": "string"
  34472. },
  34473. "tradeprice": {
  34474. "description": "成交价格",
  34475. "type": "number"
  34476. },
  34477. "tradeqty": {
  34478. "description": "成交数量",
  34479. "type": "number"
  34480. }
  34481. }
  34482. },
  34483. "models.QhjPickArea": {
  34484. "type": "object",
  34485. "properties": {
  34486. "address": {
  34487. "description": "详细地址",
  34488. "type": "string"
  34489. },
  34490. "cityid": {
  34491. "description": "市",
  34492. "type": "integer"
  34493. },
  34494. "cityname": {
  34495. "description": "城市名称",
  34496. "type": "string"
  34497. },
  34498. "countryid": {
  34499. "description": "国家",
  34500. "type": "integer"
  34501. },
  34502. "countryname": {
  34503. "description": "国家名称",
  34504. "type": "string"
  34505. },
  34506. "districtid": {
  34507. "description": "地区",
  34508. "type": "integer"
  34509. },
  34510. "districtname": {
  34511. "description": "地区名称",
  34512. "type": "string"
  34513. },
  34514. "fromuserid": {
  34515. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  34516. "type": "integer"
  34517. },
  34518. "fromusername": {
  34519. "description": "所属机构名称",
  34520. "type": "string"
  34521. },
  34522. "provinceid": {
  34523. "description": "省",
  34524. "type": "integer"
  34525. },
  34526. "provincename": {
  34527. "description": "省名称",
  34528. "type": "string"
  34529. },
  34530. "suborgtype": {
  34531. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  34532. "type": "integer"
  34533. },
  34534. "userid": {
  34535. "description": "机构用户ID 其他做市关系,都设置为 1",
  34536. "type": "integer"
  34537. },
  34538. "username": {
  34539. "description": "机构用户名称(门店门称)",
  34540. "type": "string"
  34541. }
  34542. }
  34543. },
  34544. "models.QhjPickGoods": {
  34545. "type": "object",
  34546. "properties": {
  34547. "enumdicname": {
  34548. "description": "单位名称(提货商品)",
  34549. "type": "string"
  34550. },
  34551. "goodsid": {
  34552. "description": "商品id",
  34553. "type": "integer"
  34554. },
  34555. "imageaddress": {
  34556. "description": "图片",
  34557. "type": "string"
  34558. },
  34559. "modifierid": {
  34560. "description": "修改人",
  34561. "type": "integer"
  34562. },
  34563. "modifiername": {
  34564. "description": "修改人名称",
  34565. "type": "string"
  34566. },
  34567. "modifysrc": {
  34568. "description": "修改来源 - 1:管理端 2:终端",
  34569. "type": "integer"
  34570. },
  34571. "pickupgoodsagreeunit": {
  34572. "description": "合约乘数",
  34573. "type": "number"
  34574. },
  34575. "pickupgoodsdesc": {
  34576. "description": "描述",
  34577. "type": "string"
  34578. },
  34579. "pickupgoodsid": {
  34580. "description": "提货商品ID",
  34581. "type": "string"
  34582. },
  34583. "pickupgoodsname": {
  34584. "description": "提货商品名称",
  34585. "type": "string"
  34586. },
  34587. "pickupgoodsstatus": {
  34588. "description": "状态 - 1:正常 2:停用 3:注销",
  34589. "type": "integer"
  34590. },
  34591. "pickupgoodsunitid": {
  34592. "description": "单位ID",
  34593. "type": "integer"
  34594. },
  34595. "pickupratio": {
  34596. "description": "提货系数",
  34597. "type": "number"
  34598. },
  34599. "preparedays": {
  34600. "description": "备货期(天)",
  34601. "type": "integer"
  34602. },
  34603. "remark": {
  34604. "description": "备注",
  34605. "type": "string"
  34606. },
  34607. "updatetime": {
  34608. "description": "更新时间",
  34609. "type": "string"
  34610. }
  34611. }
  34612. },
  34613. "models.QhjRSTriggerLog": {
  34614. "type": "object",
  34615. "properties": {
  34616. "accountid": {
  34617. "description": "用户资金账户",
  34618. "type": "integer"
  34619. },
  34620. "accountname": {
  34621. "description": "账号名称(ACCOUNTID对应的名称)",
  34622. "type": "string"
  34623. },
  34624. "currencyid": {
  34625. "description": "币种id",
  34626. "type": "integer"
  34627. },
  34628. "currencyname": {
  34629. "description": "币种名称",
  34630. "type": "string"
  34631. },
  34632. "decimalplace": {
  34633. "description": "商品报价小数位",
  34634. "type": "integer"
  34635. },
  34636. "enumdicname": {
  34637. "description": "单位名称",
  34638. "type": "string"
  34639. },
  34640. "goodscode": {
  34641. "description": "定投商品代码",
  34642. "type": "string"
  34643. },
  34644. "goodsid": {
  34645. "description": "定投商品ID",
  34646. "type": "integer"
  34647. },
  34648. "goodsname": {
  34649. "description": "定投商品名称",
  34650. "type": "string"
  34651. },
  34652. "goodunitid": {
  34653. "description": "定投商品单位id",
  34654. "type": "integer"
  34655. },
  34656. "logid": {
  34657. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  34658. "type": "string"
  34659. },
  34660. "logincode": {
  34661. "description": "账号(登录代码)",
  34662. "type": "string"
  34663. },
  34664. "qtydecimalplace": {
  34665. "description": "成交量小数位",
  34666. "type": "integer"
  34667. },
  34668. "regularlycycle": {
  34669. "description": "定投频率 - 1:每周 2:每月",
  34670. "type": "integer"
  34671. },
  34672. "regularlycyclevalue": {
  34673. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34674. "type": "string"
  34675. },
  34676. "regularlymode": {
  34677. "description": "定投方式 - 1:按数量 2:按金额",
  34678. "type": "integer"
  34679. },
  34680. "regularlymodevalue": {
  34681. "description": "定投方式值 - 数量或金额",
  34682. "type": "number"
  34683. },
  34684. "regularlystrategyid": {
  34685. "description": "定投策略ID",
  34686. "type": "integer"
  34687. },
  34688. "retcode": {
  34689. "description": "错误码",
  34690. "type": "string"
  34691. },
  34692. "tradeid": {
  34693. "description": "成交单ID",
  34694. "type": "string"
  34695. },
  34696. "triggeramount": {
  34697. "description": "触发金额",
  34698. "type": "number"
  34699. },
  34700. "triggerqty": {
  34701. "description": "触发数量",
  34702. "type": "number"
  34703. },
  34704. "triggerstatus": {
  34705. "description": "触发状态 - 1:成功 2:失败",
  34706. "type": "integer"
  34707. },
  34708. "triggertime": {
  34709. "description": "触发时间",
  34710. "type": "string"
  34711. },
  34712. "triggertradedate": {
  34713. "description": "触发交易日",
  34714. "type": "string"
  34715. },
  34716. "userid": {
  34717. "description": "所属用户ID",
  34718. "type": "integer"
  34719. },
  34720. "userinfotype": {
  34721. "description": "用户类型 1-个人 2-企业",
  34722. "type": "integer"
  34723. },
  34724. "username": {
  34725. "description": "用户名称(userid对应的名称)",
  34726. "type": "string"
  34727. }
  34728. }
  34729. },
  34730. "models.QhjRStrategy": {
  34731. "type": "object",
  34732. "properties": {
  34733. "accountid": {
  34734. "description": "用户资金账户",
  34735. "type": "integer"
  34736. },
  34737. "accountname": {
  34738. "description": "账号名称(ACCOUNTID对应的名称)",
  34739. "type": "string"
  34740. },
  34741. "currencyid": {
  34742. "description": "币种id",
  34743. "type": "integer"
  34744. },
  34745. "currencyname": {
  34746. "description": "币种名称",
  34747. "type": "string"
  34748. },
  34749. "decimalplace": {
  34750. "description": "商品报价小数位",
  34751. "type": "integer"
  34752. },
  34753. "enumdicname": {
  34754. "description": "单位名称",
  34755. "type": "string"
  34756. },
  34757. "goodscode": {
  34758. "description": "定投商品代码",
  34759. "type": "string"
  34760. },
  34761. "goodsid": {
  34762. "description": "定投商品ID",
  34763. "type": "integer"
  34764. },
  34765. "goodsname": {
  34766. "description": "定投商品名称",
  34767. "type": "string"
  34768. },
  34769. "goodunitid": {
  34770. "description": "定投商品单位id",
  34771. "type": "integer"
  34772. },
  34773. "lasteffecttradedate": {
  34774. "description": "最新生效交易日",
  34775. "type": "string"
  34776. },
  34777. "laststoptradedate": {
  34778. "description": "最新暂停交易日",
  34779. "type": "string"
  34780. },
  34781. "lasttriggertradedate": {
  34782. "description": "最新触发交易日",
  34783. "type": "string"
  34784. },
  34785. "logincode": {
  34786. "description": "账号(登录代码)",
  34787. "type": "string"
  34788. },
  34789. "nexttriggeramount": {
  34790. "description": "下次触发金额",
  34791. "type": "number"
  34792. },
  34793. "nexttriggerdate": {
  34794. "description": "下次触发日期",
  34795. "type": "string"
  34796. },
  34797. "nexttriggerqty": {
  34798. "description": "下次触发数量 [按小数位放大值]",
  34799. "type": "number"
  34800. },
  34801. "qtydecimalplace": {
  34802. "description": "成交量小数位",
  34803. "type": "integer"
  34804. },
  34805. "regularlycycle": {
  34806. "description": "定投频率 - 1:每周 2:每月",
  34807. "type": "integer"
  34808. },
  34809. "regularlycyclevalue": {
  34810. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34811. "type": "string"
  34812. },
  34813. "regularlymode": {
  34814. "description": "定投方式 - 1:按数量 2:按金额",
  34815. "type": "integer"
  34816. },
  34817. "regularlymodevalue": {
  34818. "description": "定投方式值 - 数量或金额",
  34819. "type": "number"
  34820. },
  34821. "regularlystrategyid": {
  34822. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  34823. "type": "integer"
  34824. },
  34825. "regularlystrategystatus": {
  34826. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  34827. "type": "integer"
  34828. },
  34829. "remark": {
  34830. "description": "备注",
  34831. "type": "string"
  34832. },
  34833. "triggersuccesstimes": {
  34834. "description": "累计定投成功次数",
  34835. "type": "string"
  34836. },
  34837. "triggertotalamount": {
  34838. "description": "累计定投金额(成功)",
  34839. "type": "number"
  34840. },
  34841. "triggertotalqty": {
  34842. "description": "累计定投数量(成功) [按小数位放大值]",
  34843. "type": "number"
  34844. },
  34845. "triggertotaltimes": {
  34846. "description": "累计定投总次数",
  34847. "type": "string"
  34848. },
  34849. "updatesrc": {
  34850. "description": "更新来源 - 1:管理端 2:终端",
  34851. "type": "integer"
  34852. },
  34853. "updatetime": {
  34854. "description": "更新时间",
  34855. "type": "string"
  34856. },
  34857. "updatorid": {
  34858. "description": "更新人",
  34859. "type": "string"
  34860. },
  34861. "userid": {
  34862. "description": "所属用户ID",
  34863. "type": "integer"
  34864. },
  34865. "userinfotype": {
  34866. "description": "用户类型 1-个人 2-企业",
  34867. "type": "integer"
  34868. },
  34869. "username": {
  34870. "description": "用户名称(userid对应的名称)",
  34871. "type": "string"
  34872. }
  34873. }
  34874. },
  34875. "models.QhjReckonPriceLog": {
  34876. "type": "object",
  34877. "properties": {
  34878. "decimalplace": {
  34879. "description": "商品报价小数位",
  34880. "type": "integer"
  34881. },
  34882. "goodscode": {
  34883. "description": "商品代码",
  34884. "type": "string"
  34885. },
  34886. "goodsid": {
  34887. "description": "商品ID",
  34888. "type": "integer"
  34889. },
  34890. "goodsname": {
  34891. "description": "商品名称",
  34892. "type": "string"
  34893. },
  34894. "lastreckonprice": {
  34895. "description": "上日结算价",
  34896. "type": "number"
  34897. },
  34898. "nextdnlimitprice": {
  34899. "description": "下个交易日跌停价",
  34900. "type": "number"
  34901. },
  34902. "nexttrade": {
  34903. "description": "下个交易日",
  34904. "type": "string"
  34905. },
  34906. "nextuplimitprice": {
  34907. "description": "下个交易日涨停价",
  34908. "type": "number"
  34909. },
  34910. "reckonprice": {
  34911. "description": "今日结算价(定投价)",
  34912. "type": "number"
  34913. },
  34914. "reckontime": {
  34915. "description": "结算时间",
  34916. "type": "string"
  34917. },
  34918. "totalholderqty": {
  34919. "description": "总持仓数",
  34920. "type": "integer"
  34921. },
  34922. "totalstock": {
  34923. "description": "总库存",
  34924. "type": "integer"
  34925. },
  34926. "tradedate": {
  34927. "description": "交易日",
  34928. "type": "string"
  34929. },
  34930. "updowncount": {
  34931. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  34932. "type": "integer"
  34933. },
  34934. "updownflag": {
  34935. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  34936. "type": "integer"
  34937. },
  34938. "updownrate": {
  34939. "description": "今日涨跌幅",
  34940. "type": "number"
  34941. },
  34942. "updownrate_2d": {
  34943. "description": "连续两日涨跌幅",
  34944. "type": "number"
  34945. },
  34946. "updownrate_3d": {
  34947. "description": "连续三日涨跌幅",
  34948. "type": "number"
  34949. }
  34950. }
  34951. },
  34952. "models.QhjScoreLog": {
  34953. "type": "object",
  34954. "properties": {
  34955. "accountid": {
  34956. "description": "账户ID",
  34957. "type": "integer"
  34958. },
  34959. "createtime": {
  34960. "description": "创建时间(时间)",
  34961. "type": "string"
  34962. },
  34963. "goodsid": {
  34964. "description": "商品ID",
  34965. "type": "integer"
  34966. },
  34967. "hasuploaded": {
  34968. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  34969. "type": "integer"
  34970. },
  34971. "logid": {
  34972. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34973. "type": "string"
  34974. },
  34975. "marketid": {
  34976. "description": "市场ID",
  34977. "type": "integer"
  34978. },
  34979. "relatedamount": {
  34980. "description": "关联金额",
  34981. "type": "number"
  34982. },
  34983. "relatedorderid": {
  34984. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  34985. "type": "string"
  34986. },
  34987. "scoreconfigvalue1": {
  34988. "description": "积分配置1",
  34989. "type": "integer"
  34990. },
  34991. "scoreconfigvalue2": {
  34992. "description": "积分配置1",
  34993. "type": "integer"
  34994. },
  34995. "scoretype": {
  34996. "description": "积分类型 - 1:提货积分",
  34997. "type": "integer"
  34998. },
  34999. "scorevalue": {
  35000. "description": "积分",
  35001. "type": "number"
  35002. },
  35003. "tradedate": {
  35004. "description": "交易日(yyyyMMdd)",
  35005. "type": "string"
  35006. },
  35007. "uploadedtime": {
  35008. "description": "同步时间",
  35009. "type": "string"
  35010. },
  35011. "userid": {
  35012. "description": "用户ID",
  35013. "type": "integer"
  35014. }
  35015. }
  35016. },
  35017. "models.QhjSiteColumnDetail": {
  35018. "type": "object",
  35019. "properties": {
  35020. "author": {
  35021. "description": "作者",
  35022. "type": "string"
  35023. },
  35024. "brief": {
  35025. "description": "简介",
  35026. "type": "string"
  35027. },
  35028. "columnid": {
  35029. "description": "所属栏目",
  35030. "type": "integer"
  35031. },
  35032. "context": {
  35033. "description": "内容",
  35034. "type": "string"
  35035. },
  35036. "coverimage": {
  35037. "description": "封面图片",
  35038. "type": "string"
  35039. },
  35040. "creaedate": {
  35041. "description": "创建时间",
  35042. "type": "string"
  35043. },
  35044. "creatorid": {
  35045. "description": "创建人",
  35046. "type": "integer"
  35047. },
  35048. "hits": {
  35049. "description": "点击数",
  35050. "type": "integer"
  35051. },
  35052. "id": {
  35053. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  35054. "type": "integer"
  35055. },
  35056. "isshow": {
  35057. "description": "是否展示 - 0:不展示 1:展示",
  35058. "type": "integer"
  35059. },
  35060. "istop": {
  35061. "description": "是否置顶 - 0:不置 1:置顶",
  35062. "type": "integer"
  35063. },
  35064. "modifierid": {
  35065. "description": "操作人",
  35066. "type": "integer"
  35067. },
  35068. "publishdate": {
  35069. "description": "发布日期",
  35070. "type": "string"
  35071. },
  35072. "status": {
  35073. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  35074. "type": "integer"
  35075. },
  35076. "title": {
  35077. "description": "标题",
  35078. "type": "string"
  35079. },
  35080. "updatedate": {
  35081. "description": "修改时间",
  35082. "type": "string"
  35083. },
  35084. "userid": {
  35085. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  35086. "type": "integer"
  35087. },
  35088. "username": {
  35089. "description": "用户名称",
  35090. "type": "string"
  35091. }
  35092. }
  35093. },
  35094. "models.QhjTeamOrder": {
  35095. "type": "object",
  35096. "properties": {
  35097. "accountid": {
  35098. "description": "账户ID[报价币种]",
  35099. "type": "integer"
  35100. },
  35101. "accountname": {
  35102. "description": "账户名称",
  35103. "type": "string"
  35104. },
  35105. "agreeunit": {
  35106. "description": "合约乘数",
  35107. "type": "number"
  35108. },
  35109. "buyorsell": {
  35110. "description": "方向 - 0:买 1:卖",
  35111. "type": "integer"
  35112. },
  35113. "decimalplace": {
  35114. "description": "报价小数位",
  35115. "type": "integer"
  35116. },
  35117. "enumdicname": {
  35118. "description": "单位名称",
  35119. "type": "string"
  35120. },
  35121. "goodscode": {
  35122. "description": "商品代码(内部)",
  35123. "type": "string"
  35124. },
  35125. "goodsid": {
  35126. "description": "商品ID",
  35127. "type": "integer"
  35128. },
  35129. "goodsname": {
  35130. "description": "商品名称",
  35131. "type": "string"
  35132. },
  35133. "goodunitid": {
  35134. "description": "报价单位ID",
  35135. "type": "integer"
  35136. },
  35137. "marketid": {
  35138. "description": "市场ID",
  35139. "type": "integer"
  35140. },
  35141. "marketname": {
  35142. "description": "市场名称",
  35143. "type": "string"
  35144. },
  35145. "qtydecimalplace": {
  35146. "description": "成交量小数位",
  35147. "type": "integer"
  35148. },
  35149. "refereeuserid": {
  35150. "description": "推荐人ID",
  35151. "type": "integer"
  35152. },
  35153. "tradeamount": {
  35154. "description": "成交金额[账户币种,用于所有权]",
  35155. "type": "number"
  35156. },
  35157. "tradedate": {
  35158. "description": "交易日(yyyyMMdd)",
  35159. "type": "string"
  35160. },
  35161. "trademode": {
  35162. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35163. "type": "integer"
  35164. },
  35165. "tradeprice": {
  35166. "description": "成交价格",
  35167. "type": "number"
  35168. },
  35169. "tradeqty": {
  35170. "description": "成交数量",
  35171. "type": "number"
  35172. },
  35173. "tradetime": {
  35174. "description": "成交时间",
  35175. "type": "string"
  35176. },
  35177. "userid": {
  35178. "description": "用户ID",
  35179. "type": "integer"
  35180. }
  35181. }
  35182. },
  35183. "models.QhjTradeGoodsPickup": {
  35184. "type": "object",
  35185. "properties": {
  35186. "accountid": {
  35187. "description": "账户ID",
  35188. "type": "integer"
  35189. },
  35190. "address": {
  35191. "description": "提货人详细地址",
  35192. "type": "string"
  35193. },
  35194. "amount": {
  35195. "description": "提货金额",
  35196. "type": "number"
  35197. },
  35198. "artradedate": {
  35199. "description": "自动收货交易日(yyyyMMdd)",
  35200. "type": "string"
  35201. },
  35202. "auditer": {
  35203. "description": "审核人",
  35204. "type": "integer"
  35205. },
  35206. "auditsrc": {
  35207. "description": "更新来源 - 1:管理端 2:终端",
  35208. "type": "integer"
  35209. },
  35210. "audittime": {
  35211. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  35212. "type": "string"
  35213. },
  35214. "audittradedate": {
  35215. "description": "审核交易日(yyyyMMdd)",
  35216. "type": "string"
  35217. },
  35218. "cardnum": {
  35219. "description": "提货人证件号码",
  35220. "type": "string"
  35221. },
  35222. "cardtypeid": {
  35223. "description": "提货人证件类型",
  35224. "type": "integer"
  35225. },
  35226. "checkremark": {
  35227. "description": "审核备注",
  35228. "type": "string"
  35229. },
  35230. "cityid": {
  35231. "description": "市",
  35232. "type": "integer"
  35233. },
  35234. "cityname": {
  35235. "description": "城市名称",
  35236. "type": "string"
  35237. },
  35238. "confirmtime": {
  35239. "description": "取货时间 或 收货时间",
  35240. "type": "string"
  35241. },
  35242. "countryid": {
  35243. "description": "国家",
  35244. "type": "integer"
  35245. },
  35246. "countryname": {
  35247. "description": "国家名称",
  35248. "type": "string"
  35249. },
  35250. "decimalplace": {
  35251. "description": "商品报价小数位",
  35252. "type": "integer"
  35253. },
  35254. "districtid": {
  35255. "description": "地区",
  35256. "type": "integer"
  35257. },
  35258. "districtname": {
  35259. "description": "地区名称",
  35260. "type": "string"
  35261. },
  35262. "enumdicname": {
  35263. "description": "单位名称(提货商品)",
  35264. "type": "string"
  35265. },
  35266. "expresscompany": {
  35267. "description": "物流公司",
  35268. "type": "string"
  35269. },
  35270. "expressnum": {
  35271. "description": "物流单号",
  35272. "type": "string"
  35273. },
  35274. "goodsagreeunit": {
  35275. "description": "交易商品乘数",
  35276. "type": "number"
  35277. },
  35278. "goodscode": {
  35279. "description": "商品代码",
  35280. "type": "string"
  35281. },
  35282. "goodsid": {
  35283. "description": "商品ID",
  35284. "type": "integer"
  35285. },
  35286. "goodsname": {
  35287. "description": "商品名称",
  35288. "type": "string"
  35289. },
  35290. "goodsqty": {
  35291. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  35292. "type": "number"
  35293. },
  35294. "handlestatus": {
  35295. "description": "处理状态",
  35296. "type": "integer"
  35297. },
  35298. "logincode": {
  35299. "description": "账号(登录代码, 有可能为空)",
  35300. "type": "string"
  35301. },
  35302. "marketid": {
  35303. "description": "市场ID",
  35304. "type": "integer"
  35305. },
  35306. "phonenum": {
  35307. "description": "提货人联系方式",
  35308. "type": "string"
  35309. },
  35310. "pickupgoodsagreeunit": {
  35311. "description": "提货商品合约乘数",
  35312. "type": "number"
  35313. },
  35314. "pickupgoodsid": {
  35315. "description": "提货商品ID",
  35316. "type": "string"
  35317. },
  35318. "pickupgoodsname": {
  35319. "description": "提货商品名称",
  35320. "type": "string"
  35321. },
  35322. "pickupgoodsqty": {
  35323. "description": "提货商品手数(数量)",
  35324. "type": "number"
  35325. },
  35326. "pickupgoodsunitid": {
  35327. "description": "单位ID(提货商品)",
  35328. "type": "integer"
  35329. },
  35330. "pickupratio": {
  35331. "description": "提货系数",
  35332. "type": "number"
  35333. },
  35334. "preparedays": {
  35335. "description": "备货期(天)-提货单明细表",
  35336. "type": "integer"
  35337. },
  35338. "provinceid": {
  35339. "description": "省",
  35340. "type": "integer"
  35341. },
  35342. "provincename": {
  35343. "description": "省名称",
  35344. "type": "string"
  35345. },
  35346. "qty": {
  35347. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  35348. "type": "number"
  35349. },
  35350. "qtydecimalplace": {
  35351. "description": "商品数量小数位",
  35352. "type": "integer"
  35353. },
  35354. "recivername": {
  35355. "description": "提货人姓名",
  35356. "type": "string"
  35357. },
  35358. "reqtime": {
  35359. "description": "提货申请时间",
  35360. "type": "string"
  35361. },
  35362. "storeuserid": {
  35363. "description": "门店用户ID (千海金)",
  35364. "type": "integer"
  35365. },
  35366. "storeusername": {
  35367. "description": "门店用户名称",
  35368. "type": "string"
  35369. },
  35370. "takemode": {
  35371. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  35372. "type": "integer"
  35373. },
  35374. "takeorderid": {
  35375. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35376. "type": "string"
  35377. },
  35378. "takeorderstatus": {
  35379. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  35380. "type": "integer"
  35381. },
  35382. "takeremark": {
  35383. "description": "提货备注",
  35384. "type": "string"
  35385. },
  35386. "tradedate": {
  35387. "description": "交易日(yyyyMMdd)",
  35388. "type": "string"
  35389. },
  35390. "updatetime": {
  35391. "description": "更新时间",
  35392. "type": "string"
  35393. },
  35394. "userid": {
  35395. "description": "用户ID",
  35396. "type": "integer"
  35397. },
  35398. "userinfotype": {
  35399. "description": "客户类型 1-个人 2-企业",
  35400. "type": "integer"
  35401. },
  35402. "username": {
  35403. "description": "用户名称",
  35404. "type": "string"
  35405. }
  35406. }
  35407. },
  35408. "models.QhjUserNodeCfgAndStatus": {
  35409. "type": "object",
  35410. "properties": {
  35411. "agreementcontent": {
  35412. "description": "协议内容",
  35413. "type": "string"
  35414. },
  35415. "agreementid": {
  35416. "description": "协议ID",
  35417. "type": "integer"
  35418. },
  35419. "agreementname": {
  35420. "description": "协议名称",
  35421. "type": "string"
  35422. },
  35423. "agreementno": {
  35424. "description": "协议编号",
  35425. "type": "string"
  35426. },
  35427. "agreementtype": {
  35428. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35429. "type": "integer"
  35430. },
  35431. "agreementversion": {
  35432. "description": "协议版本号",
  35433. "type": "integer"
  35434. },
  35435. "configid": {
  35436. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35437. "type": "integer"
  35438. },
  35439. "createtime": {
  35440. "description": "创建时间",
  35441. "type": "string"
  35442. },
  35443. "goodsid": {
  35444. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35445. "type": "integer"
  35446. },
  35447. "nodetype": {
  35448. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35449. "type": "integer"
  35450. },
  35451. "signtimestamp": {
  35452. "description": "签约状态时间戳(最近一次)",
  35453. "type": "string"
  35454. },
  35455. "tradedate": {
  35456. "description": "签约交易日(yyyyMMdd)",
  35457. "type": "string"
  35458. },
  35459. "userid": {
  35460. "description": "客户ID",
  35461. "type": "integer"
  35462. }
  35463. }
  35464. },
  35465. "models.Qhjgoodsex": {
  35466. "type": "object",
  35467. "properties": {
  35468. "canfinance": {
  35469. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  35470. "type": "integer"
  35471. },
  35472. "canregularlybuy": {
  35473. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  35474. "type": "integer"
  35475. },
  35476. "defaulttradeuserid": {
  35477. "description": "默认交易用户ID",
  35478. "type": "integer"
  35479. },
  35480. "deliverygoodsid": {
  35481. "description": "现货品种ID",
  35482. "type": "integer"
  35483. },
  35484. "goodsid": {
  35485. "description": "商品ID(自增ID SEQ_GOODS)",
  35486. "type": "integer"
  35487. },
  35488. "minamount": {
  35489. "description": "最小购买金额",
  35490. "type": "number"
  35491. },
  35492. "regularlybuyminamount": {
  35493. "description": "定投最小金额",
  35494. "type": "number"
  35495. },
  35496. "regularlybuyminqty": {
  35497. "description": "定投最小数量",
  35498. "type": "number"
  35499. },
  35500. "spotgoodsbrandid": {
  35501. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  35502. "type": "integer"
  35503. },
  35504. "visibilityforenterprise": {
  35505. "description": "企业客户是否可见 - 0:不可见 1:可见",
  35506. "type": "integer"
  35507. },
  35508. "visibilityforpersonal": {
  35509. "description": "个人客户是否可见 - 0:不可见 1:可见",
  35510. "type": "integer"
  35511. },
  35512. "wrstandardid": {
  35513. "description": "现货商品ID",
  35514. "type": "integer"
  35515. }
  35516. }
  35517. },
  35518. "models.QueryErrorInfosRsp": {
  35519. "type": "object",
  35520. "required": [
  35521. "errorid"
  35522. ],
  35523. "properties": {
  35524. "description": {
  35525. "description": "异常描述",
  35526. "type": "string"
  35527. },
  35528. "errorcode": {
  35529. "description": "异常代码",
  35530. "type": "string"
  35531. },
  35532. "errorid": {
  35533. "description": "异常ID",
  35534. "type": "integer"
  35535. },
  35536. "modulecode": {
  35537. "description": "所属模块",
  35538. "type": "string"
  35539. },
  35540. "operatecode": {
  35541. "description": "所属操作",
  35542. "type": "string"
  35543. },
  35544. "rownumber": {
  35545. "description": "行号",
  35546. "type": "string"
  35547. }
  35548. }
  35549. },
  35550. "models.QueryHedgeOrderDetailRsp": {
  35551. "type": "object",
  35552. "properties": {
  35553. "accountid": {
  35554. "description": "账户ID",
  35555. "type": "integer"
  35556. },
  35557. "buyorsell": {
  35558. "description": "买卖 - 0:买 1:卖",
  35559. "type": "integer"
  35560. },
  35561. "cancellogincode": {
  35562. "description": "撤单人",
  35563. "type": "string"
  35564. },
  35565. "channelbuildtype": {
  35566. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  35567. "type": "integer"
  35568. },
  35569. "channelinnerorderstatus": {
  35570. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  35571. "type": "integer"
  35572. },
  35573. "channeloperatetype": {
  35574. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  35575. "type": "integer"
  35576. },
  35577. "closetype": {
  35578. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35579. "type": "integer"
  35580. },
  35581. "curexchangerate": {
  35582. "description": "当前汇率",
  35583. "type": "number"
  35584. },
  35585. "decimalplace": {
  35586. "description": "商品报价小数位",
  35587. "type": "integer"
  35588. },
  35589. "exchangefullname": {
  35590. "description": "外部交易所全称",
  35591. "type": "string"
  35592. },
  35593. "goodscode": {
  35594. "description": "商品代码(内部)",
  35595. "type": "string"
  35596. },
  35597. "goodsid": {
  35598. "description": "商品ID",
  35599. "type": "integer"
  35600. },
  35601. "goodsname": {
  35602. "description": "商品名称",
  35603. "type": "string"
  35604. },
  35605. "marketid": {
  35606. "description": "市场ID",
  35607. "type": "integer"
  35608. },
  35609. "openfreezemargin": {
  35610. "description": "冻结保证金(冻结交易金额)",
  35611. "type": "number"
  35612. },
  35613. "orderid": {
  35614. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35615. "type": "string"
  35616. },
  35617. "orderlogincode": {
  35618. "description": "委托人",
  35619. "type": "string"
  35620. },
  35621. "orderprice": {
  35622. "description": "委托价格(账户)",
  35623. "type": "number"
  35624. },
  35625. "orderqty": {
  35626. "description": "委托数量",
  35627. "type": "integer"
  35628. },
  35629. "ordertime": {
  35630. "description": "委托时间",
  35631. "type": "string"
  35632. },
  35633. "pricemode": {
  35634. "description": "取价方式 - 1:市价 2: 限价",
  35635. "type": "integer"
  35636. },
  35637. "tradedate": {
  35638. "description": "交易日(yyyyMMdd)",
  35639. "type": "string"
  35640. },
  35641. "tradeqty": {
  35642. "description": "成交数量",
  35643. "type": "integer"
  35644. }
  35645. }
  35646. },
  35647. "models.QueryHedgeTradeDetailRsp": {
  35648. "type": "object",
  35649. "properties": {
  35650. "accountid": {
  35651. "description": "账号ID",
  35652. "type": "integer"
  35653. },
  35654. "buyorsell": {
  35655. "description": "方向 - 0:买 1:卖",
  35656. "type": "integer"
  35657. },
  35658. "channelbuildtype": {
  35659. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  35660. "type": "integer"
  35661. },
  35662. "closecharge": {
  35663. "description": "平仓手续费(账户)",
  35664. "type": "number"
  35665. },
  35666. "closecharge2": {
  35667. "description": "平仓手续费(商品)",
  35668. "type": "number"
  35669. },
  35670. "closepl": {
  35671. "description": "平仓盈亏(账户)",
  35672. "type": "number"
  35673. },
  35674. "closepl2": {
  35675. "description": "平仓盈亏(商品)",
  35676. "type": "number"
  35677. },
  35678. "closepl3": {
  35679. "description": "平仓盈亏(账户)(逐笔)",
  35680. "type": "number"
  35681. },
  35682. "closepl4": {
  35683. "description": "平仓盈亏(商品)(逐笔)",
  35684. "type": "number"
  35685. },
  35686. "closetype": {
  35687. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35688. "type": "integer"
  35689. },
  35690. "curexchangerate": {
  35691. "description": "当前汇率",
  35692. "type": "number"
  35693. },
  35694. "decimalplace": {
  35695. "description": "商品报价小数位",
  35696. "type": "integer"
  35697. },
  35698. "exchangefullname": {
  35699. "description": "外部交易所全称",
  35700. "type": "string"
  35701. },
  35702. "goodscode": {
  35703. "description": "商品代码(内部)",
  35704. "type": "string"
  35705. },
  35706. "goodsid": {
  35707. "description": "商品ID",
  35708. "type": "integer"
  35709. },
  35710. "goodsname": {
  35711. "description": "商品名称",
  35712. "type": "string"
  35713. },
  35714. "marketid": {
  35715. "description": "市场ID",
  35716. "type": "integer"
  35717. },
  35718. "opencharge": {
  35719. "description": "建仓手续费(账户)",
  35720. "type": "number"
  35721. },
  35722. "opencharge2": {
  35723. "description": "建仓手续费(商品)",
  35724. "type": "number"
  35725. },
  35726. "orderid": {
  35727. "description": "委托单号",
  35728. "type": "string"
  35729. },
  35730. "orderlogincode": {
  35731. "description": "委托人",
  35732. "type": "string"
  35733. },
  35734. "tradeamount": {
  35735. "description": "成交金额(账户)",
  35736. "type": "number"
  35737. },
  35738. "tradedate": {
  35739. "description": "交易日(yyyyMMdd)",
  35740. "type": "string"
  35741. },
  35742. "tradeid": {
  35743. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35744. "type": "string"
  35745. },
  35746. "tradeprice": {
  35747. "description": "成交价格",
  35748. "type": "number"
  35749. },
  35750. "tradeqty": {
  35751. "description": "成交数量",
  35752. "type": "integer"
  35753. },
  35754. "tradetime": {
  35755. "description": "成交时间",
  35756. "type": "string"
  35757. },
  35758. "tradetype": {
  35759. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  35760. "type": "integer"
  35761. }
  35762. }
  35763. },
  35764. "models.QuotePrimaryMenu": {
  35765. "type": "object",
  35766. "properties": {
  35767. "Index": {
  35768. "description": "序号",
  35769. "type": "integer"
  35770. },
  35771. "Key": {
  35772. "description": "键名",
  35773. "type": "string"
  35774. },
  35775. "Name": {
  35776. "description": "菜单名称",
  35777. "type": "string"
  35778. },
  35779. "SubMenus": {
  35780. "description": "子菜单",
  35781. "type": "array",
  35782. "items": {
  35783. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  35784. }
  35785. },
  35786. "SubTitleType": {
  35787. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  35788. "type": "integer"
  35789. },
  35790. "TradeModes": {
  35791. "description": "包含市场交易类型",
  35792. "type": "string"
  35793. }
  35794. }
  35795. },
  35796. "models.QuoteSecondaryMenu": {
  35797. "type": "object",
  35798. "properties": {
  35799. "ExExchangeCode": {
  35800. "description": "外部交易所代码",
  35801. "type": "string"
  35802. },
  35803. "ExExchangeID": {
  35804. "description": "外部交易所ID",
  35805. "type": "integer"
  35806. },
  35807. "GoodsGroupIDs": {
  35808. "description": "商品组ID列表",
  35809. "type": "array",
  35810. "items": {
  35811. "type": "integer"
  35812. }
  35813. },
  35814. "Index": {
  35815. "description": "序号",
  35816. "type": "integer"
  35817. },
  35818. "MarketID": {
  35819. "description": "市场ID",
  35820. "type": "integer"
  35821. },
  35822. "MenuTitle": {
  35823. "description": "菜单标题(市场名称或外部交易所名称)",
  35824. "type": "string"
  35825. },
  35826. "TradeMode": {
  35827. "description": "交易模式",
  35828. "type": "integer"
  35829. }
  35830. }
  35831. },
  35832. "models.RelatedTaAccount": {
  35833. "type": "object",
  35834. "properties": {
  35835. "accountid": {
  35836. "description": "资金账户ID",
  35837. "type": "integer"
  35838. }
  35839. }
  35840. },
  35841. "models.RoleMenu": {
  35842. "type": "object",
  35843. "properties": {
  35844. "hasright": {
  35845. "description": "是否有权限 0-没有权限 1-有权限",
  35846. "type": "integer"
  35847. },
  35848. "iconame": {
  35849. "description": "菜单图标",
  35850. "type": "string"
  35851. },
  35852. "menutype": {
  35853. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  35854. "type": "integer"
  35855. },
  35856. "parentcode": {
  35857. "description": "上级资源代码",
  35858. "type": "string"
  35859. },
  35860. "remark": {
  35861. "description": "菜单备注",
  35862. "type": "string"
  35863. },
  35864. "resourcecode": {
  35865. "description": "菜单代码",
  35866. "type": "string"
  35867. },
  35868. "resourcelevel": {
  35869. "description": "级别",
  35870. "type": "integer"
  35871. },
  35872. "resourcename": {
  35873. "description": "菜单名称",
  35874. "type": "string"
  35875. },
  35876. "roleid": {
  35877. "description": "角色id",
  35878. "type": "integer"
  35879. },
  35880. "sort": {
  35881. "description": "排序",
  35882. "type": "integer"
  35883. },
  35884. "subMenu": {
  35885. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  35886. "type": "array",
  35887. "items": {
  35888. "$ref": "#/definitions/models.RoleMenu"
  35889. }
  35890. },
  35891. "url": {
  35892. "description": "URL",
  35893. "type": "string"
  35894. },
  35895. "userid": {
  35896. "description": "用户id",
  35897. "type": "integer"
  35898. }
  35899. }
  35900. },
  35901. "models.SearchGoods": {
  35902. "type": "object",
  35903. "required": [
  35904. "goodscode",
  35905. "goodsid",
  35906. "goodsname",
  35907. "marketid",
  35908. "trademode"
  35909. ],
  35910. "properties": {
  35911. "goodscode": {
  35912. "description": "商品代码(内部)",
  35913. "type": "string"
  35914. },
  35915. "goodsid": {
  35916. "description": "商品ID(自增ID SEQ_GOODS)",
  35917. "type": "integer"
  35918. },
  35919. "goodsname": {
  35920. "description": "商品名称",
  35921. "type": "string"
  35922. },
  35923. "marketid": {
  35924. "description": "所属市场ID",
  35925. "type": "integer"
  35926. },
  35927. "marketname": {
  35928. "description": "市场名称",
  35929. "type": "string"
  35930. },
  35931. "trademode": {
  35932. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35933. "type": "integer"
  35934. }
  35935. }
  35936. },
  35937. "models.Systemparam": {
  35938. "type": "object",
  35939. "required": [
  35940. "paramcode"
  35941. ],
  35942. "properties": {
  35943. "loginid": {
  35944. "description": "更新用户账号,登录账号",
  35945. "type": "string"
  35946. },
  35947. "modifyflag": {
  35948. "description": "修改标志0 不允许修改 1 允许修改",
  35949. "type": "integer"
  35950. },
  35951. "paramcode": {
  35952. "description": "参数代码",
  35953. "type": "string"
  35954. },
  35955. "paramname": {
  35956. "description": "参数名",
  35957. "type": "string"
  35958. },
  35959. "paramtype": {
  35960. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  35961. "type": "integer"
  35962. },
  35963. "paramvalue": {
  35964. "description": "参数值",
  35965. "type": "string"
  35966. },
  35967. "paramvalue2": {
  35968. "description": "参数值(CLOB)",
  35969. "type": "string"
  35970. },
  35971. "regexpress": {
  35972. "description": "正则表达式",
  35973. "type": "string"
  35974. },
  35975. "remark": {
  35976. "description": "备注",
  35977. "type": "string"
  35978. },
  35979. "serverip": {
  35980. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  35981. "type": "string"
  35982. },
  35983. "showflag": {
  35984. "description": "是否显示0 不显示 1 显示",
  35985. "type": "integer"
  35986. },
  35987. "updatetime": {
  35988. "description": "更新时间",
  35989. "type": "string"
  35990. },
  35991. "userid": {
  35992. "description": "更新用户ID",
  35993. "type": "integer"
  35994. }
  35995. }
  35996. },
  35997. "models.Szdz3convertconfig": {
  35998. "type": "object",
  35999. "required": [
  36000. "converttype",
  36001. "innergoodsid",
  36002. "outergoodscode"
  36003. ],
  36004. "properties": {
  36005. "canin": {
  36006. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  36007. "type": "integer"
  36008. },
  36009. "canout": {
  36010. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  36011. "type": "integer"
  36012. },
  36013. "converttype": {
  36014. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  36015. "type": "integer"
  36016. },
  36017. "createtime": {
  36018. "description": "创建时间",
  36019. "type": "string"
  36020. },
  36021. "creatorid": {
  36022. "description": "创建人",
  36023. "type": "integer"
  36024. },
  36025. "daymaxvalue": {
  36026. "description": "当日最大转入限制",
  36027. "type": "number"
  36028. },
  36029. "freezedays": {
  36030. "description": "冻结天数 [5:花生米转交易]",
  36031. "type": "integer"
  36032. },
  36033. "innergoodsid": {
  36034. "description": "内部商品ID[交易]",
  36035. "type": "integer"
  36036. },
  36037. "inratio": {
  36038. "description": "目标值",
  36039. "type": "integer"
  36040. },
  36041. "modifierid": {
  36042. "description": "修改人",
  36043. "type": "integer"
  36044. },
  36045. "modifytime": {
  36046. "description": "修改时间",
  36047. "type": "string"
  36048. },
  36049. "outergoodscode": {
  36050. "description": "外部商品代码[JD\\PD]",
  36051. "type": "string"
  36052. },
  36053. "outratio": {
  36054. "description": "源值",
  36055. "type": "integer"
  36056. },
  36057. "pddecimalplace": {
  36058. "description": "PD小数位",
  36059. "type": "integer"
  36060. },
  36061. "timemaxvalue": {
  36062. "description": "单次最大转入限制",
  36063. "type": "number"
  36064. },
  36065. "timeminvalue": {
  36066. "description": "单次最小转入限制",
  36067. "type": "number"
  36068. }
  36069. }
  36070. },
  36071. "models.Szdz3searchwhitelist": {
  36072. "type": "object",
  36073. "required": [
  36074. "userid"
  36075. ],
  36076. "properties": {
  36077. "createtime": {
  36078. "description": "创建时间",
  36079. "type": "string"
  36080. },
  36081. "creatorid": {
  36082. "description": "创建人",
  36083. "type": "integer"
  36084. },
  36085. "modifierid": {
  36086. "description": "修改人",
  36087. "type": "integer"
  36088. },
  36089. "modifytime": {
  36090. "description": "修改时间",
  36091. "type": "string"
  36092. },
  36093. "userid": {
  36094. "description": "用户ID",
  36095. "type": "integer"
  36096. }
  36097. }
  36098. },
  36099. "models.TBGoods": {
  36100. "type": "object",
  36101. "properties": {
  36102. "agreeunit": {
  36103. "description": "合约乘数",
  36104. "type": "number"
  36105. },
  36106. "enumdicname": {
  36107. "description": "单位名称",
  36108. "type": "string"
  36109. },
  36110. "goodscode": {
  36111. "description": "商品代码(内部)",
  36112. "type": "string"
  36113. },
  36114. "goodsid": {
  36115. "description": "商品ID(自增ID SEQ_GOODS)",
  36116. "type": "integer"
  36117. },
  36118. "goodsname": {
  36119. "description": "商品名称",
  36120. "type": "string"
  36121. }
  36122. }
  36123. },
  36124. "models.TBGoodsGroup": {
  36125. "type": "object",
  36126. "properties": {
  36127. "GDLST": {
  36128. "description": "商品列表",
  36129. "type": "array",
  36130. "items": {
  36131. "$ref": "#/definitions/models.TBGoods"
  36132. }
  36133. },
  36134. "convertratio": {
  36135. "description": "折算系数",
  36136. "type": "number"
  36137. },
  36138. "enumdicname": {
  36139. "description": "单位名称",
  36140. "type": "string"
  36141. },
  36142. "exexchangecode": {
  36143. "description": "交易所代码",
  36144. "type": "string"
  36145. },
  36146. "exexchangename": {
  36147. "description": "交易所名称",
  36148. "type": "string"
  36149. },
  36150. "goodsgroupid": {
  36151. "description": "商品组ID(自增ID)",
  36152. "type": "integer"
  36153. },
  36154. "goodsgroupname": {
  36155. "description": "商品组名称",
  36156. "type": "string"
  36157. },
  36158. "goodunitid": {
  36159. "description": "报价单位ID",
  36160. "type": "integer"
  36161. }
  36162. }
  36163. },
  36164. "models.TBMiddleGoods": {
  36165. "type": "object",
  36166. "properties": {
  36167. "GPLST": {
  36168. "description": "期货品种列表",
  36169. "type": "array",
  36170. "items": {
  36171. "$ref": "#/definitions/models.TBGoodsGroup"
  36172. }
  36173. },
  36174. "WDLST": {
  36175. "description": "商品信息列表(现货品类)",
  36176. "type": "array",
  36177. "items": {
  36178. "$ref": "#/definitions/models.TBWrstandard"
  36179. }
  36180. },
  36181. "areauserid": {
  36182. "description": "机构用户ID",
  36183. "type": "integer"
  36184. },
  36185. "enumdicname": {
  36186. "description": "单位名称",
  36187. "type": "string"
  36188. },
  36189. "goodsunitid": {
  36190. "description": "套保品种单位id",
  36191. "type": "integer"
  36192. },
  36193. "middlegoodscode": {
  36194. "description": "套保品种代码",
  36195. "type": "string"
  36196. },
  36197. "middlegoodsid": {
  36198. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  36199. "type": "integer"
  36200. },
  36201. "middlegoodsname": {
  36202. "description": "套保品种名称",
  36203. "type": "string"
  36204. },
  36205. "needarbitrageratio": {
  36206. "description": "套利比率",
  36207. "type": "number"
  36208. },
  36209. "needhedgeratio": {
  36210. "description": "套保比率",
  36211. "type": "number"
  36212. }
  36213. }
  36214. },
  36215. "models.TBWrstandard": {
  36216. "type": "object",
  36217. "properties": {
  36218. "convertratio": {
  36219. "description": "折算系数",
  36220. "type": "number"
  36221. },
  36222. "deliverygoodsname": {
  36223. "description": "品种名称",
  36224. "type": "string"
  36225. },
  36226. "enumdicname": {
  36227. "description": "单位名称",
  36228. "type": "string"
  36229. },
  36230. "vatrate": {
  36231. "description": "增值税率",
  36232. "type": "number"
  36233. },
  36234. "wrstandardcode": {
  36235. "description": "现货商品代码",
  36236. "type": "string"
  36237. },
  36238. "wrstandardid": {
  36239. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36240. "type": "integer"
  36241. },
  36242. "wrstandardname": {
  36243. "description": "现货商品名称",
  36244. "type": "string"
  36245. }
  36246. }
  36247. },
  36248. "models.Taaccount": {
  36249. "type": "object",
  36250. "required": [
  36251. "accountid",
  36252. "userid"
  36253. ],
  36254. "properties": {
  36255. "accountflag": {
  36256. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  36257. "type": "integer"
  36258. },
  36259. "accountid": {
  36260. "description": "资金账户ID",
  36261. "type": "integer"
  36262. },
  36263. "accountname": {
  36264. "description": "账户名称",
  36265. "type": "string"
  36266. },
  36267. "balance": {
  36268. "description": "期初余额",
  36269. "type": "number"
  36270. },
  36271. "capitalbalance": {
  36272. "description": "本金余额[外部子账户实际出入金余额]",
  36273. "type": "number"
  36274. },
  36275. "changeflag": {
  36276. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  36277. "type": "integer"
  36278. },
  36279. "changetime": {
  36280. "description": "账户状态变更时间",
  36281. "type": "string"
  36282. },
  36283. "closepl": {
  36284. "description": "今日平仓盈亏",
  36285. "type": "number"
  36286. },
  36287. "creditdecrease": {
  36288. "description": "今日授信减少",
  36289. "type": "number"
  36290. },
  36291. "creditincrease": {
  36292. "description": "今日授信增加",
  36293. "type": "number"
  36294. },
  36295. "curamount": {
  36296. "description": "总市值(从持仓中统计)",
  36297. "type": "number"
  36298. },
  36299. "currencyid": {
  36300. "description": "货币ID",
  36301. "type": "integer"
  36302. },
  36303. "currentbalance": {
  36304. "description": "期末余额",
  36305. "type": "number"
  36306. },
  36307. "freezecharge": {
  36308. "description": "手续费冻结",
  36309. "type": "number"
  36310. },
  36311. "freezemargin": {
  36312. "description": "冻结保证金",
  36313. "type": "number"
  36314. },
  36315. "fromaccountid": {
  36316. "description": "所属上级账户",
  36317. "type": "integer"
  36318. },
  36319. "inamount": {
  36320. "description": "今日入金金额(包括三方入金)",
  36321. "type": "number"
  36322. },
  36323. "ismain": {
  36324. "description": "是否母账号 0:不是母账户 1:是母账户",
  36325. "type": "integer"
  36326. },
  36327. "ismarketaccount": {
  36328. "description": "是否机构接单账号 0:不是 1:是",
  36329. "type": "integer"
  36330. },
  36331. "isreckonaccount": {
  36332. "description": "是否机构分润账号 0:不是 1:是",
  36333. "type": "integer"
  36334. },
  36335. "mortgagecredit": {
  36336. "description": "授信金额",
  36337. "type": "number"
  36338. },
  36339. "orifreezecharge": {
  36340. "description": "期初手续费冻结",
  36341. "type": "number"
  36342. },
  36343. "orifreezemargin": {
  36344. "description": "期初冻结保证金",
  36345. "type": "number"
  36346. },
  36347. "orimortgagecredit": {
  36348. "description": "期初授信金额",
  36349. "type": "number"
  36350. },
  36351. "oriothercredit": {
  36352. "description": "期初其它授信金额",
  36353. "type": "number"
  36354. },
  36355. "oriotherfreezemargin": {
  36356. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  36357. "type": "number"
  36358. },
  36359. "orioutamountfreeze": {
  36360. "description": "期初出金冻结",
  36361. "type": "number"
  36362. },
  36363. "oriusedmargin": {
  36364. "description": "期初占用保证金",
  36365. "type": "number"
  36366. },
  36367. "othercredit": {
  36368. "description": "其它授信金额",
  36369. "type": "number"
  36370. },
  36371. "othercreditdecrease": {
  36372. "description": "今日其它授信减少",
  36373. "type": "number"
  36374. },
  36375. "othercreditincrease": {
  36376. "description": "今日其它授信增加",
  36377. "type": "number"
  36378. },
  36379. "otherfreezemargin": {
  36380. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  36381. "type": "number"
  36382. },
  36383. "otherincome": {
  36384. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  36385. "type": "number"
  36386. },
  36387. "otherpay": {
  36388. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  36389. "type": "number"
  36390. },
  36391. "outamount": {
  36392. "description": "今日出金金额(包括三方出金)",
  36393. "type": "number"
  36394. },
  36395. "outamountfreeze": {
  36396. "description": "出金冻结",
  36397. "type": "number"
  36398. },
  36399. "outthreshold": {
  36400. "description": "出金阈值",
  36401. "type": "number"
  36402. },
  36403. "parentaccountid": {
  36404. "description": "所属根账号",
  36405. "type": "integer"
  36406. },
  36407. "paycharge": {
  36408. "description": "今日手续费支出",
  36409. "type": "number"
  36410. },
  36411. "relatedaccountstatus": {
  36412. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  36413. "type": "integer"
  36414. },
  36415. "relateduserid": {
  36416. "description": "关联用户",
  36417. "type": "integer"
  36418. },
  36419. "remainamount": {
  36420. "description": "融资额(从融资合同中统计)",
  36421. "type": "number"
  36422. },
  36423. "serivcegroup": {
  36424. "description": "服务分组",
  36425. "type": "integer"
  36426. },
  36427. "signstatus": {
  36428. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  36429. "type": "integer"
  36430. },
  36431. "sublevelpath": {
  36432. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  36433. "type": "string"
  36434. },
  36435. "taaccounttype": {
  36436. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  36437. "type": "integer"
  36438. },
  36439. "thirdinamount": {
  36440. "description": "今日三方入金",
  36441. "type": "number"
  36442. },
  36443. "thirdoutamount": {
  36444. "description": "今日三方出金",
  36445. "type": "number"
  36446. },
  36447. "tradestatus": {
  36448. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  36449. "type": "integer"
  36450. },
  36451. "tradestatuschangetime": {
  36452. "description": "激活时间",
  36453. "type": "string"
  36454. },
  36455. "transferamount": {
  36456. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  36457. "type": "number"
  36458. },
  36459. "usedmargin": {
  36460. "description": "占用保证金",
  36461. "type": "number"
  36462. },
  36463. "userid": {
  36464. "description": "用户ID",
  36465. "type": "integer"
  36466. }
  36467. }
  36468. },
  36469. "models.Tablecolumnconfig": {
  36470. "type": "object",
  36471. "required": [
  36472. "autoid"
  36473. ],
  36474. "properties": {
  36475. "aligntype": {
  36476. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  36477. "type": "integer"
  36478. },
  36479. "autoid": {
  36480. "description": "AutoID",
  36481. "type": "integer"
  36482. },
  36483. "columnfield": {
  36484. "description": "列字段",
  36485. "type": "string"
  36486. },
  36487. "columntitle": {
  36488. "description": "列Title",
  36489. "type": "string"
  36490. },
  36491. "columnwidth": {
  36492. "description": "列宽",
  36493. "type": "string"
  36494. },
  36495. "formatterstring": {
  36496. "description": "格式化字符",
  36497. "type": "string"
  36498. },
  36499. "formattertype": {
  36500. "description": "格式化类型",
  36501. "type": "string"
  36502. },
  36503. "groupname": {
  36504. "description": "表头分组名称",
  36505. "type": "string"
  36506. },
  36507. "isshow": {
  36508. "description": "是否显示 - 0:不显示 1:显示",
  36509. "type": "integer"
  36510. },
  36511. "needsummary": {
  36512. "description": "是否需要汇总 - 0:不需要 1:需要",
  36513. "type": "integer"
  36514. },
  36515. "orderindex": {
  36516. "description": "顺序",
  36517. "type": "integer"
  36518. },
  36519. "remark": {
  36520. "description": "备注",
  36521. "type": "string"
  36522. },
  36523. "summarytype": {
  36524. "description": "汇总类型 - 1:加总 2:最后一个",
  36525. "type": "integer"
  36526. },
  36527. "tablekey": {
  36528. "description": "列表Key",
  36529. "type": "string"
  36530. }
  36531. }
  36532. },
  36533. "models.TjmdHolderDetailTradeInfo": {
  36534. "type": "object",
  36535. "properties": {
  36536. "agreeunit": {
  36537. "description": "合约乘数",
  36538. "type": "number"
  36539. },
  36540. "buyaccountid": {
  36541. "description": "买方账户",
  36542. "type": "string"
  36543. },
  36544. "buyusername": {
  36545. "description": "买方",
  36546. "type": "string"
  36547. },
  36548. "delistingdate": {
  36549. "description": "最后结算日",
  36550. "type": "string"
  36551. },
  36552. "expiredate": {
  36553. "description": "到期结算价定价日",
  36554. "type": "string"
  36555. },
  36556. "exprieprice": {
  36557. "description": "到期清算价格",
  36558. "type": "string"
  36559. },
  36560. "goodscode": {
  36561. "description": "商品代码",
  36562. "type": "string"
  36563. },
  36564. "goodsid": {
  36565. "description": "商品ID",
  36566. "type": "integer"
  36567. },
  36568. "goodsname": {
  36569. "description": "商品名称(交易标的)",
  36570. "type": "string"
  36571. },
  36572. "lasttradedate": {
  36573. "description": "最后交易日",
  36574. "type": "string"
  36575. },
  36576. "listingdate": {
  36577. "description": "开始交易日",
  36578. "type": "string"
  36579. },
  36580. "openprice": {
  36581. "description": "成交价",
  36582. "type": "number"
  36583. },
  36584. "openqty": {
  36585. "description": "交易数量",
  36586. "type": "integer"
  36587. },
  36588. "sellaccountid": {
  36589. "description": "卖方账户",
  36590. "type": "string"
  36591. },
  36592. "sellusername": {
  36593. "description": "卖方",
  36594. "type": "string"
  36595. },
  36596. "tradeamount": {
  36597. "description": "初始名义价值",
  36598. "type": "number"
  36599. },
  36600. "tradedate": {
  36601. "description": "成交日期",
  36602. "type": "string"
  36603. },
  36604. "tradeid": {
  36605. "description": "成交编号",
  36606. "type": "string"
  36607. }
  36608. }
  36609. },
  36610. "models.TjmdMarketSection": {
  36611. "type": "object",
  36612. "properties": {
  36613. "marketsectionid": {
  36614. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36615. "type": "integer"
  36616. },
  36617. "marketsectionname": {
  36618. "description": "市场版块名称",
  36619. "type": "string"
  36620. },
  36621. "mlist": {
  36622. "description": "市场列表(板块下面有多少个市场)",
  36623. "type": "array",
  36624. "items": {
  36625. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  36626. }
  36627. },
  36628. "orderindex": {
  36629. "description": "排序",
  36630. "type": "integer"
  36631. },
  36632. "pictureurl": {
  36633. "description": "图片url, 规格(90*90)",
  36634. "type": "string"
  36635. },
  36636. "remark": {
  36637. "description": "备注",
  36638. "type": "string"
  36639. }
  36640. }
  36641. },
  36642. "models.TjmdMarketSectionConfig": {
  36643. "type": "object",
  36644. "properties": {
  36645. "auctionwrtype": {
  36646. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  36647. "type": "integer"
  36648. },
  36649. "canacceptquote": {
  36650. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  36651. "type": "integer"
  36652. },
  36653. "cangoodsexercise": {
  36654. "description": "[期权]是否可现货行权- 0:否 1:是",
  36655. "type": "integer"
  36656. },
  36657. "cangoodsexercisetype": {
  36658. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  36659. "type": "integer"
  36660. },
  36661. "canmanualquotestrike": {
  36662. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  36663. "type": "integer"
  36664. },
  36665. "canmutistage": {
  36666. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  36667. "type": "integer"
  36668. },
  36669. "canpreexercise": {
  36670. "description": "[期权]是否可预申报- 0:否 1:是",
  36671. "type": "integer"
  36672. },
  36673. "clearinterval": {
  36674. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  36675. "type": "integer"
  36676. },
  36677. "contracttmp": {
  36678. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  36679. "type": "string"
  36680. },
  36681. "exchareaid": {
  36682. "description": "所属交易所,可以没有",
  36683. "type": "integer"
  36684. },
  36685. "financemarketid": {
  36686. "description": "融资回购市场ID [仓单贸易]",
  36687. "type": "integer"
  36688. },
  36689. "goodstype": {
  36690. "description": "商品类型 - 1:交易商品 2:仓单商品",
  36691. "type": "integer"
  36692. },
  36693. "hasrebate": {
  36694. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  36695. "type": "integer"
  36696. },
  36697. "hastradecredit": {
  36698. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  36699. "type": "integer"
  36700. },
  36701. "haswr": {
  36702. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  36703. "type": "integer"
  36704. },
  36705. "isdeductmargin": {
  36706. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  36707. "type": "integer"
  36708. },
  36709. "isrecordsource": {
  36710. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  36711. "type": "integer"
  36712. },
  36713. "isreleasemargin": {
  36714. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  36715. "type": "integer"
  36716. },
  36717. "isupdatereckonprice": {
  36718. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  36719. "type": "integer"
  36720. },
  36721. "listingmode": {
  36722. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  36723. "type": "integer"
  36724. },
  36725. "marginformula": {
  36726. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36727. "type": "integer"
  36728. },
  36729. "marginformula2": {
  36730. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36731. "type": "integer"
  36732. },
  36733. "marketid": {
  36734. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  36735. "type": "integer"
  36736. },
  36737. "marketname": {
  36738. "description": "市场名称",
  36739. "type": "string"
  36740. },
  36741. "marketsectionid": {
  36742. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36743. "type": "integer"
  36744. },
  36745. "marketserviceid": {
  36746. "description": "市场服务ID",
  36747. "type": "integer"
  36748. },
  36749. "marketstatus": {
  36750. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  36751. "type": "integer"
  36752. },
  36753. "markettype": {
  36754. "description": "市场类型- 1:非交易服务 2:交易服务",
  36755. "type": "integer"
  36756. },
  36757. "matchermode": {
  36758. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  36759. "type": "integer"
  36760. },
  36761. "nowrquotaflag": {
  36762. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  36763. "type": "integer"
  36764. },
  36765. "openmethod": {
  36766. "description": "开盘模式 - 0 自动 1手动",
  36767. "type": "integer"
  36768. },
  36769. "orderindex": {
  36770. "description": "排序",
  36771. "type": "integer"
  36772. },
  36773. "otcuserid": {
  36774. "description": "场外期权做市商[场外期权]",
  36775. "type": "integer"
  36776. },
  36777. "outersynctime": {
  36778. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  36779. "type": "string"
  36780. },
  36781. "paylaterflag": {
  36782. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  36783. "type": "integer"
  36784. },
  36785. "pendingflag": {
  36786. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  36787. "type": "integer"
  36788. },
  36789. "pendingtime": {
  36790. "description": "待开市时间[通道交易-对冲](HH:mm)",
  36791. "type": "string"
  36792. },
  36793. "performancetempid": {
  36794. "description": "履约计划模板ID - 作废",
  36795. "type": "integer"
  36796. },
  36797. "premiumquotemode": {
  36798. "description": "权利金报价方式 - 1:自动 2:手动",
  36799. "type": "integer"
  36800. },
  36801. "rebateratio": {
  36802. "description": "返利比率[竞价式]",
  36803. "type": "number"
  36804. },
  36805. "reckonorder": {
  36806. "description": "结算顺序",
  36807. "type": "integer"
  36808. },
  36809. "reckonpricealgorithm": {
  36810. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  36811. "type": "integer"
  36812. },
  36813. "reckonpriceparam": {
  36814. "description": "结算价参数",
  36815. "type": "integer"
  36816. },
  36817. "reckontime": {
  36818. "description": "结算时间[通道交易-对冲](HH:mm)",
  36819. "type": "string"
  36820. },
  36821. "roleprioritytype": {
  36822. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  36823. "type": "integer"
  36824. },
  36825. "selllistingauditflag": {
  36826. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  36827. "type": "integer"
  36828. },
  36829. "trademarkettype": {
  36830. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  36831. "type": "integer"
  36832. },
  36833. "trademode": {
  36834. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36835. "type": "integer"
  36836. },
  36837. "tradeproperty": {
  36838. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  36839. "type": "integer"
  36840. },
  36841. "tradetype": {
  36842. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  36843. "type": "integer"
  36844. },
  36845. "updatereckonpriceinterval": {
  36846. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  36847. "type": "integer"
  36848. }
  36849. }
  36850. },
  36851. "models.TjmdQuoteGoods": {
  36852. "type": "object",
  36853. "properties": {
  36854. "buyqty": {
  36855. "description": "买量(暂不做, 无值, 保留字段)",
  36856. "type": "number"
  36857. },
  36858. "decimalplace": {
  36859. "description": "报价小数位",
  36860. "type": "integer"
  36861. },
  36862. "goodscode": {
  36863. "description": "合约代码",
  36864. "type": "string"
  36865. },
  36866. "goodsgroupid": {
  36867. "description": "商品组ID(自增ID)",
  36868. "type": "integer"
  36869. },
  36870. "goodsgroupname": {
  36871. "description": "商品组名称",
  36872. "type": "string"
  36873. },
  36874. "goodsid": {
  36875. "description": "合约id",
  36876. "type": "integer"
  36877. },
  36878. "goodsname": {
  36879. "description": "合约名称",
  36880. "type": "string"
  36881. },
  36882. "refgoodscode": {
  36883. "description": "标的合约代码",
  36884. "type": "string"
  36885. },
  36886. "refgoodsid": {
  36887. "description": "标的合约id",
  36888. "type": "integer"
  36889. },
  36890. "refgoodsname": {
  36891. "description": "标的合约名称",
  36892. "type": "string"
  36893. },
  36894. "sellqty": {
  36895. "description": "卖量(暂不做, 无值, 保留字段)",
  36896. "type": "number"
  36897. }
  36898. }
  36899. },
  36900. "models.TjmdTodayAccountMargin": {
  36901. "type": "object",
  36902. "properties": {
  36903. "accountid": {
  36904. "description": "账号ID",
  36905. "type": "integer"
  36906. },
  36907. "goodsid": {
  36908. "description": "商品ID",
  36909. "type": "integer"
  36910. },
  36911. "infoc": {
  36912. "description": "配置参数",
  36913. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  36914. },
  36915. "marketid": {
  36916. "description": "市场ID",
  36917. "type": "integer"
  36918. }
  36919. }
  36920. },
  36921. "models.TjmdTradeOrderDetail": {
  36922. "type": "object",
  36923. "properties": {
  36924. "buyorsell": {
  36925. "description": "买卖方向 0-买 1-卖",
  36926. "type": "integer"
  36927. },
  36928. "goodsid": {
  36929. "description": "商品id",
  36930. "type": "integer"
  36931. },
  36932. "marketmaxsub": {
  36933. "description": "市价最大偏移范围 [浮动价 - 点差]",
  36934. "type": "number"
  36935. },
  36936. "orderid": {
  36937. "description": "委托单号",
  36938. "type": "string"
  36939. },
  36940. "orderprice": {
  36941. "description": "委托价格",
  36942. "type": "number"
  36943. },
  36944. "orderqty": {
  36945. "description": "委托数量",
  36946. "type": "integer"
  36947. },
  36948. "pricemode": {
  36949. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  36950. "type": "integer"
  36951. },
  36952. "userid": {
  36953. "description": "用户id",
  36954. "type": "integer"
  36955. },
  36956. "username": {
  36957. "description": "用户名称(已脱敏)",
  36958. "type": "string"
  36959. }
  36960. }
  36961. },
  36962. "models.TjmdTransferApply": {
  36963. "type": "object",
  36964. "properties": {
  36965. "applyid": {
  36966. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  36967. "type": "integer"
  36968. },
  36969. "applystatus": {
  36970. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  36971. "type": "integer"
  36972. },
  36973. "applytime": {
  36974. "description": "申请时间(时间)",
  36975. "type": "string"
  36976. },
  36977. "auditremark": {
  36978. "description": "审核备注(拒绝原因?)",
  36979. "type": "string"
  36980. },
  36981. "begindate": {
  36982. "description": "开始交易日(yyyymmdd)",
  36983. "type": "string"
  36984. },
  36985. "buyorsell": {
  36986. "description": "买卖 - 0:买 1:卖",
  36987. "type": "integer"
  36988. },
  36989. "enddate": {
  36990. "description": "结束交易日(yyyymmdd)",
  36991. "type": "string"
  36992. },
  36993. "goodscode": {
  36994. "description": "商品代码",
  36995. "type": "string"
  36996. },
  36997. "goodsid": {
  36998. "description": "商品ID",
  36999. "type": "integer"
  37000. },
  37001. "goodsname": {
  37002. "description": "商品名称",
  37003. "type": "string"
  37004. },
  37005. "marketid": {
  37006. "description": "市场ID",
  37007. "type": "integer"
  37008. },
  37009. "qty": {
  37010. "description": "转让数量(数量)",
  37011. "type": "number"
  37012. },
  37013. "tradeid": {
  37014. "description": "成交单号(关联持仓)",
  37015. "type": "string"
  37016. },
  37017. "transferamount": {
  37018. "description": "转让总金额(金额)",
  37019. "type": "number"
  37020. },
  37021. "transferprice": {
  37022. "description": "转让价格(协议价格)",
  37023. "type": "number"
  37024. }
  37025. }
  37026. },
  37027. "models.TradeHolderDetail": {
  37028. "type": "object",
  37029. "properties": {
  37030. "accountid": {
  37031. "description": "账号ID",
  37032. "type": "integer"
  37033. },
  37034. "agreeunit": {
  37035. "description": "合约乘数",
  37036. "type": "number"
  37037. },
  37038. "buyorsell": {
  37039. "description": "方向 - 0:买 1:卖",
  37040. "type": "integer"
  37041. },
  37042. "currencyid": {
  37043. "description": "商品币种id",
  37044. "type": "integer"
  37045. },
  37046. "currencyname": {
  37047. "description": "币种名称",
  37048. "type": "string"
  37049. },
  37050. "decimalplace": {
  37051. "description": "商品价格小数位",
  37052. "type": "integer"
  37053. },
  37054. "enumdicname": {
  37055. "description": "商品单位名称",
  37056. "type": "string"
  37057. },
  37058. "expirecycle": {
  37059. "description": "行权周期(天) - 1:滚动行权时填写",
  37060. "type": "integer"
  37061. },
  37062. "expiredate": {
  37063. "description": "行权日(yyyyMMdd) - 到期日",
  37064. "type": "string"
  37065. },
  37066. "expiretype": {
  37067. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  37068. "type": "integer"
  37069. },
  37070. "freezeqty": {
  37071. "description": "冻结数量",
  37072. "type": "number"
  37073. },
  37074. "goodscode": {
  37075. "description": "商品代码",
  37076. "type": "string"
  37077. },
  37078. "goodsid": {
  37079. "description": "商品ID",
  37080. "type": "integer"
  37081. },
  37082. "goodsname": {
  37083. "description": "商品名称",
  37084. "type": "string"
  37085. },
  37086. "goodunitid": {
  37087. "description": "商品单位id",
  37088. "type": "integer"
  37089. },
  37090. "holderamount": {
  37091. "description": "持仓金额",
  37092. "type": "number"
  37093. },
  37094. "holdercredit": {
  37095. "description": "持仓授信金额",
  37096. "type": "number"
  37097. },
  37098. "holderdays": {
  37099. "description": "剩余冻结天数",
  37100. "type": "integer"
  37101. },
  37102. "holderprice": {
  37103. "description": "持仓价格",
  37104. "type": "number"
  37105. },
  37106. "holderqty": {
  37107. "description": "持仓数量",
  37108. "type": "number"
  37109. },
  37110. "isconfirmexercise": {
  37111. "description": "是否确认行权- 0:否 1:是",
  37112. "type": "integer"
  37113. },
  37114. "ispreexercise": {
  37115. "description": "是否预申报- 0:否 1:是 2:不可行权",
  37116. "type": "integer"
  37117. },
  37118. "marketid": {
  37119. "description": "市场id",
  37120. "type": "integer"
  37121. },
  37122. "marketname": {
  37123. "description": "市场名称",
  37124. "type": "string"
  37125. },
  37126. "openprice": {
  37127. "description": "建仓价格",
  37128. "type": "number"
  37129. },
  37130. "openqty": {
  37131. "description": "建仓数量",
  37132. "type": "number"
  37133. },
  37134. "optiontype": {
  37135. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37136. "type": "integer"
  37137. },
  37138. "preexerciseprice": {
  37139. "description": "预申报价格",
  37140. "type": "number"
  37141. },
  37142. "premium": {
  37143. "description": "权利金",
  37144. "type": "number"
  37145. },
  37146. "qtydecimalplace": {
  37147. "description": "商品成交量小数位",
  37148. "type": "integer"
  37149. },
  37150. "refgoodscode": {
  37151. "description": "标的合约代码",
  37152. "type": "string"
  37153. },
  37154. "refgoodsid": {
  37155. "description": "标的合约id",
  37156. "type": "integer"
  37157. },
  37158. "releaseamount": {
  37159. "description": "释放持仓金额",
  37160. "type": "number"
  37161. },
  37162. "releaseholdercredit": {
  37163. "description": "释放持仓授信金额",
  37164. "type": "number"
  37165. },
  37166. "taname": {
  37167. "description": "资金账号名称",
  37168. "type": "string"
  37169. },
  37170. "tradeamount": {
  37171. "description": "成交金额",
  37172. "type": "number"
  37173. },
  37174. "tradedate": {
  37175. "description": "交易日(yyyyMMdd)",
  37176. "type": "string"
  37177. },
  37178. "tradeid": {
  37179. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37180. "type": "string"
  37181. },
  37182. "trademode": {
  37183. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  37184. "type": "integer"
  37185. },
  37186. "tradeproperty": {
  37187. "description": "交易属性",
  37188. "type": "integer"
  37189. },
  37190. "tradetime": {
  37191. "description": "交易时间",
  37192. "type": "string"
  37193. },
  37194. "userid": {
  37195. "description": "用户id",
  37196. "type": "integer"
  37197. },
  37198. "username": {
  37199. "description": "用户名称",
  37200. "type": "string"
  37201. }
  37202. }
  37203. },
  37204. "models.Unlinkermcphedgeplan": {
  37205. "type": "object",
  37206. "required": [
  37207. "areauserid"
  37208. ],
  37209. "properties": {
  37210. "accountid": {
  37211. "description": "期货账户ID - 作废",
  37212. "type": "integer"
  37213. },
  37214. "accountname": {
  37215. "description": "交易用户",
  37216. "type": "string"
  37217. },
  37218. "applyid": {
  37219. "description": "申请人",
  37220. "type": "integer"
  37221. },
  37222. "applysrc": {
  37223. "description": "申请来源 - 1:管理端 2:终端",
  37224. "type": "integer"
  37225. },
  37226. "applytime": {
  37227. "description": "申请时间",
  37228. "type": "string"
  37229. },
  37230. "areauserid": {
  37231. "description": "[企业ID]机构ID",
  37232. "type": "integer"
  37233. },
  37234. "auditid": {
  37235. "description": "审核人",
  37236. "type": "integer"
  37237. },
  37238. "auditremark": {
  37239. "description": "审核备注",
  37240. "type": "string"
  37241. },
  37242. "auditsrc": {
  37243. "description": "审核来源 - 1:管理端 2:终端",
  37244. "type": "integer"
  37245. },
  37246. "audittime": {
  37247. "description": "审核时间",
  37248. "type": "string"
  37249. },
  37250. "audittradedate": {
  37251. "description": "审核交易日(yyyyMMdd)",
  37252. "type": "string"
  37253. },
  37254. "biztype": {
  37255. "description": "业务类型 - 1:套保",
  37256. "type": "integer"
  37257. },
  37258. "contracttype": {
  37259. "description": "计划类型 - 1:采购 -1:销售",
  37260. "type": "integer"
  37261. },
  37262. "convertfactor": {
  37263. "description": "标仓系数 - 作废",
  37264. "type": "number"
  37265. },
  37266. "createtime": {
  37267. "description": "创建时间",
  37268. "type": "string"
  37269. },
  37270. "currencyid": {
  37271. "description": "结算币种ID - 作废",
  37272. "type": "integer"
  37273. },
  37274. "deliverygoodsid": {
  37275. "description": "现货品种ID",
  37276. "type": "integer"
  37277. },
  37278. "enumdicname": {
  37279. "description": "结算币种",
  37280. "type": "string"
  37281. },
  37282. "hedgeplanid": {
  37283. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  37284. "type": "string"
  37285. },
  37286. "hedgeplanno": {
  37287. "description": "[计划编号]套保计划编号,模糊查询",
  37288. "type": "string"
  37289. },
  37290. "hedgeplanstatus": {
  37291. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  37292. "type": "integer"
  37293. },
  37294. "isrelated": {
  37295. "description": "是否已关联计划项目 - 0:否 1:是",
  37296. "type": "integer"
  37297. },
  37298. "planqty": {
  37299. "description": "[计划量]计划数量",
  37300. "type": "number"
  37301. },
  37302. "plantime": {
  37303. "description": "计划时间",
  37304. "type": "string"
  37305. },
  37306. "producttype": {
  37307. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  37308. "type": "integer"
  37309. },
  37310. "remark": {
  37311. "description": "备注",
  37312. "type": "string"
  37313. },
  37314. "spotgoodsdesc": {
  37315. "description": "商品型号",
  37316. "type": "string"
  37317. },
  37318. "tradedate": {
  37319. "description": "交易日(yyyyMMdd)",
  37320. "type": "string"
  37321. },
  37322. "tradeuserid": {
  37323. "description": "交易用户ID",
  37324. "type": "integer"
  37325. },
  37326. "updatetime": {
  37327. "description": "更新时间",
  37328. "type": "string"
  37329. },
  37330. "wrstandardid": {
  37331. "description": "现货商品ID",
  37332. "type": "integer"
  37333. },
  37334. "wrstandardname": {
  37335. "description": "现货商品,模糊查询",
  37336. "type": "string"
  37337. }
  37338. }
  37339. },
  37340. "models.UserCollectConfig": {
  37341. "type": "object",
  37342. "properties": {
  37343. "accountstatus": {
  37344. "description": "账户状态 - 1:正常 2:停用 3:注销",
  37345. "type": "integer"
  37346. },
  37347. "collectaccountname": {
  37348. "description": "收款人账户名称",
  37349. "type": "string"
  37350. },
  37351. "collectaccountno": {
  37352. "description": "收款人账户",
  37353. "type": "string"
  37354. },
  37355. "collectbankname": {
  37356. "description": "收款人开户行",
  37357. "type": "string"
  37358. },
  37359. "collectbranchbankname": {
  37360. "description": "收款人开户支行",
  37361. "type": "string"
  37362. },
  37363. "collectconfigid": {
  37364. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  37365. "type": "string"
  37366. },
  37367. "remark": {
  37368. "description": "备注",
  37369. "type": "string"
  37370. },
  37371. "userid": {
  37372. "description": "收款人用户ID",
  37373. "type": "integer"
  37374. }
  37375. }
  37376. },
  37377. "models.UserReceiveInfo": {
  37378. "type": "object",
  37379. "properties": {
  37380. "address": {
  37381. "description": "提货人详细地址",
  37382. "type": "string"
  37383. },
  37384. "autoid": {
  37385. "description": "AutoID",
  37386. "type": "integer"
  37387. },
  37388. "cardnum": {
  37389. "description": "证件号码(加密存储)",
  37390. "type": "string"
  37391. },
  37392. "cardtypeid": {
  37393. "description": "证件类型",
  37394. "type": "integer"
  37395. },
  37396. "cityid": {
  37397. "description": "市",
  37398. "type": "integer"
  37399. },
  37400. "cityname": {
  37401. "description": "城市名称",
  37402. "type": "string"
  37403. },
  37404. "countryid": {
  37405. "description": "国家",
  37406. "type": "integer"
  37407. },
  37408. "countryname": {
  37409. "description": "国家名称",
  37410. "type": "string"
  37411. },
  37412. "districtid": {
  37413. "description": "地区",
  37414. "type": "integer"
  37415. },
  37416. "districtname": {
  37417. "description": "地区名称",
  37418. "type": "string"
  37419. },
  37420. "hasencrypt": {
  37421. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37422. "type": "integer"
  37423. },
  37424. "isdefault": {
  37425. "description": "是否默认地址 - 0:否 1:是",
  37426. "type": "integer"
  37427. },
  37428. "phonenum": {
  37429. "description": "提货人联系方式(加密存储)",
  37430. "type": "string"
  37431. },
  37432. "provinceid": {
  37433. "description": "省",
  37434. "type": "integer"
  37435. },
  37436. "provincename": {
  37437. "description": "省名称",
  37438. "type": "string"
  37439. },
  37440. "receivername": {
  37441. "description": "提货人姓名",
  37442. "type": "string"
  37443. },
  37444. "takeremark": {
  37445. "description": "提货备注",
  37446. "type": "string"
  37447. },
  37448. "userid": {
  37449. "description": "用户ID",
  37450. "type": "integer"
  37451. }
  37452. }
  37453. },
  37454. "models.Useraccount": {
  37455. "type": "object",
  37456. "required": [
  37457. "userid"
  37458. ],
  37459. "properties": {
  37460. "accountname": {
  37461. "description": "账户名称(机构名称)",
  37462. "type": "string"
  37463. },
  37464. "accountstatus": {
  37465. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  37466. "type": "integer"
  37467. },
  37468. "applysrc": {
  37469. "description": "申请来源 - 1:管理端 2:终端",
  37470. "type": "integer"
  37471. },
  37472. "auditremark": {
  37473. "description": "审核备注",
  37474. "type": "string"
  37475. },
  37476. "auditsrc": {
  37477. "description": "审核来源 - 1:管理端 2:终端",
  37478. "type": "integer"
  37479. },
  37480. "audittime": {
  37481. "description": "审核时间",
  37482. "type": "string"
  37483. },
  37484. "audituserid": {
  37485. "description": "审核人",
  37486. "type": "integer"
  37487. },
  37488. "broker": {
  37489. "description": "所属经纪人ID",
  37490. "type": "integer"
  37491. },
  37492. "canceltime": {
  37493. "description": "销户时间",
  37494. "type": "string"
  37495. },
  37496. "canceluserid": {
  37497. "description": "销户人",
  37498. "type": "integer"
  37499. },
  37500. "canrecommend": {
  37501. "description": "是否可推荐 - 0:不可 1;可",
  37502. "type": "integer"
  37503. },
  37504. "createtime": {
  37505. "description": "创建时间",
  37506. "type": "string"
  37507. },
  37508. "creatorid": {
  37509. "description": "创建人",
  37510. "type": "integer"
  37511. },
  37512. "hasauth": {
  37513. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  37514. "type": "integer"
  37515. },
  37516. "isanonymous": {
  37517. "description": "是否匿名下单 - 0:否 1:是",
  37518. "type": "integer"
  37519. },
  37520. "maxinvestornum": {
  37521. "description": "最大用户数(经纪会员下投资者个数)",
  37522. "type": "integer"
  37523. },
  37524. "memberuserid": {
  37525. "description": "所属会员ID",
  37526. "type": "integer"
  37527. },
  37528. "modifierid": {
  37529. "description": "修改人",
  37530. "type": "integer"
  37531. },
  37532. "modifyremark": {
  37533. "description": "变更备注",
  37534. "type": "string"
  37535. },
  37536. "modifystatus": {
  37537. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  37538. "type": "integer"
  37539. },
  37540. "modifytime": {
  37541. "description": "修改时间",
  37542. "type": "string"
  37543. },
  37544. "parenttopuser": {
  37545. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  37546. "type": "string"
  37547. },
  37548. "parentuserid": {
  37549. "description": "所属机构ID",
  37550. "type": "integer"
  37551. },
  37552. "reckonaccountid": {
  37553. "description": "默认结算资金账号ID(机构分润使用) 作废",
  37554. "type": "integer"
  37555. },
  37556. "refercount": {
  37557. "description": "推荐总人数",
  37558. "type": "integer"
  37559. },
  37560. "refereeuserid": {
  37561. "description": "推荐人ID",
  37562. "type": "integer"
  37563. },
  37564. "refernum": {
  37565. "description": "推荐码",
  37566. "type": "string"
  37567. },
  37568. "rootuserid": {
  37569. "description": "根用户ID",
  37570. "type": "integer"
  37571. },
  37572. "subaccountlevel": {
  37573. "description": "子账户层数",
  37574. "type": "integer"
  37575. },
  37576. "subarealevelpath": {
  37577. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  37578. "type": "string"
  37579. },
  37580. "userid": {
  37581. "description": "用户ID",
  37582. "type": "integer"
  37583. },
  37584. "usertype": {
  37585. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37586. "type": "integer"
  37587. }
  37588. }
  37589. },
  37590. "models.Userfavoritegoods": {
  37591. "type": "object",
  37592. "required": [
  37593. "goodsid"
  37594. ],
  37595. "properties": {
  37596. "goodsid": {
  37597. "description": "商品ID",
  37598. "type": "integer"
  37599. }
  37600. }
  37601. },
  37602. "models.Userinfo": {
  37603. "type": "object",
  37604. "required": [
  37605. "userid"
  37606. ],
  37607. "properties": {
  37608. "address": {
  37609. "description": "地址",
  37610. "type": "string"
  37611. },
  37612. "attachment1": {
  37613. "description": "附件1",
  37614. "type": "string"
  37615. },
  37616. "attachment2": {
  37617. "description": "附件2",
  37618. "type": "string"
  37619. },
  37620. "bankaccount": {
  37621. "description": "银行帐号 (加密存储)",
  37622. "type": "string"
  37623. },
  37624. "bankaccountname": {
  37625. "description": "收款人名称",
  37626. "type": "string"
  37627. },
  37628. "bankcardfrontphotourl": {
  37629. "description": "银行卡正面照地址",
  37630. "type": "string"
  37631. },
  37632. "bankid": {
  37633. "description": "银行编码",
  37634. "type": "string"
  37635. },
  37636. "bankname": {
  37637. "description": "银行名称",
  37638. "type": "string"
  37639. },
  37640. "biznature": {
  37641. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  37642. "type": "integer"
  37643. },
  37644. "bizscope": {
  37645. "description": "企业经营范围(企业)",
  37646. "type": "string"
  37647. },
  37648. "cardbackphotourl": {
  37649. "description": "证件背面图片地址",
  37650. "type": "string"
  37651. },
  37652. "cardfrontphotourl": {
  37653. "description": "证件正面图片地址",
  37654. "type": "string"
  37655. },
  37656. "cardnum": {
  37657. "description": "证件号码(加密存储)",
  37658. "type": "string"
  37659. },
  37660. "cardtypeid": {
  37661. "description": "证件类型ID",
  37662. "type": "integer"
  37663. },
  37664. "cityid": {
  37665. "description": "市",
  37666. "type": "integer"
  37667. },
  37668. "company": {
  37669. "description": "公司(个人)",
  37670. "type": "string"
  37671. },
  37672. "contactname": {
  37673. "description": "联系人",
  37674. "type": "string"
  37675. },
  37676. "countryid": {
  37677. "description": "国家",
  37678. "type": "integer"
  37679. },
  37680. "createtime": {
  37681. "description": "创建时间",
  37682. "type": "string"
  37683. },
  37684. "creatorid": {
  37685. "description": "创建人",
  37686. "type": "integer"
  37687. },
  37688. "customername": {
  37689. "description": "客户名称(企业名称)",
  37690. "type": "string"
  37691. },
  37692. "districtid": {
  37693. "description": "地区",
  37694. "type": "integer"
  37695. },
  37696. "email": {
  37697. "description": "邮件(加密存储)",
  37698. "type": "string"
  37699. },
  37700. "fax": {
  37701. "description": "传真(加密存储)",
  37702. "type": "string"
  37703. },
  37704. "halfbodyphotourl": {
  37705. "description": "半身照地址",
  37706. "type": "string"
  37707. },
  37708. "hasencrypt": {
  37709. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37710. "type": "integer"
  37711. },
  37712. "headurl": {
  37713. "description": "头像地址",
  37714. "type": "string"
  37715. },
  37716. "legalcardbackphotourl": {
  37717. "description": "法人身份证背面照地址",
  37718. "type": "string"
  37719. },
  37720. "legalcardfrontphotourl": {
  37721. "description": "法人身份证正面照地址",
  37722. "type": "string"
  37723. },
  37724. "legalpersonname": {
  37725. "description": "法人姓名(企业)",
  37726. "type": "string"
  37727. },
  37728. "mobile": {
  37729. "description": "手机号码(加密存储)",
  37730. "type": "string"
  37731. },
  37732. "mobile2": {
  37733. "description": "手机号码[明文-尚志]",
  37734. "type": "string"
  37735. },
  37736. "modifierid": {
  37737. "description": "修改人",
  37738. "type": "integer"
  37739. },
  37740. "modifiertime": {
  37741. "description": "修改时间",
  37742. "type": "string"
  37743. },
  37744. "needinvoice": {
  37745. "description": "是否需要发票 - 0:不需要 1:需要",
  37746. "type": "integer"
  37747. },
  37748. "nickname": {
  37749. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  37750. "type": "string"
  37751. },
  37752. "openmode": {
  37753. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  37754. "type": "integer"
  37755. },
  37756. "otherurl": {
  37757. "description": "其它图片地址[使用分号分隔]",
  37758. "type": "string"
  37759. },
  37760. "postalcode": {
  37761. "description": "邮政编码",
  37762. "type": "string"
  37763. },
  37764. "provinceid": {
  37765. "description": "省",
  37766. "type": "integer"
  37767. },
  37768. "qq": {
  37769. "description": "QQ(加密存储",
  37770. "type": "string"
  37771. },
  37772. "remark": {
  37773. "description": "备注",
  37774. "type": "string"
  37775. },
  37776. "sex": {
  37777. "description": "用户性别 0: 女 1: 男",
  37778. "type": "integer"
  37779. },
  37780. "signpdfurl": {
  37781. "description": "签约pdf文件",
  37782. "type": "string"
  37783. },
  37784. "telphone": {
  37785. "description": "联系电话(加密存储)",
  37786. "type": "string"
  37787. },
  37788. "userid": {
  37789. "description": "用户ID",
  37790. "type": "integer"
  37791. },
  37792. "userinfotype": {
  37793. "description": "用户信息类型 - 1:个人 2:企业",
  37794. "type": "integer"
  37795. },
  37796. "userstatus": {
  37797. "description": "用户状态 - 1:正常 2:注销",
  37798. "type": "integer"
  37799. },
  37800. "usertype": {
  37801. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  37802. "type": "integer"
  37803. },
  37804. "wechat": {
  37805. "description": "微信(加密存储)",
  37806. "type": "string"
  37807. },
  37808. "wskhinfo": {
  37809. "description": "开户申请信息(JSON)",
  37810. "type": "string"
  37811. }
  37812. }
  37813. },
  37814. "models.WRSConverTDetail": {
  37815. "type": "object",
  37816. "properties": {
  37817. "convertratio": {
  37818. "description": "套保系数",
  37819. "type": "number"
  37820. },
  37821. "deliverygoodscode": {
  37822. "description": "现货商品代码",
  37823. "type": "string"
  37824. },
  37825. "deliverygoodsid": {
  37826. "description": "现货品种ID",
  37827. "type": "integer"
  37828. },
  37829. "deliverygoodsname": {
  37830. "description": "现货商品名称",
  37831. "type": "string"
  37832. },
  37833. "enumdicname": {
  37834. "description": "单位名称",
  37835. "type": "string"
  37836. },
  37837. "goodsunitid": {
  37838. "description": "套保品种单位id",
  37839. "type": "integer"
  37840. },
  37841. "middlegoodscode": {
  37842. "description": "套保品种代码",
  37843. "type": "string"
  37844. },
  37845. "middlegoodsid": {
  37846. "description": "套保品种ID",
  37847. "type": "integer"
  37848. },
  37849. "middlegoodsname": {
  37850. "description": "套保品种名称",
  37851. "type": "string"
  37852. },
  37853. "modifytime": {
  37854. "description": "修改时间",
  37855. "type": "string"
  37856. },
  37857. "wrstandardid": {
  37858. "description": "品类ID",
  37859. "type": "integer"
  37860. }
  37861. }
  37862. },
  37863. "models.WRStandardInfo": {
  37864. "type": "object",
  37865. "required": [
  37866. "wrstandardid"
  37867. ],
  37868. "properties": {
  37869. "areauserid": {
  37870. "description": "所属机构",
  37871. "type": "integer"
  37872. },
  37873. "convertfactor": {
  37874. "description": "标仓系数",
  37875. "type": "number"
  37876. },
  37877. "createtime": {
  37878. "description": "创建时间",
  37879. "type": "string"
  37880. },
  37881. "creatorid": {
  37882. "description": "创建人",
  37883. "type": "integer"
  37884. },
  37885. "deliverygoodsid": {
  37886. "description": "品种ID",
  37887. "type": "integer"
  37888. },
  37889. "deliverygoodsname": {
  37890. "description": "交割商品名称",
  37891. "type": "string"
  37892. },
  37893. "factoryitemjson": {
  37894. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  37895. "type": "string"
  37896. },
  37897. "isvalid": {
  37898. "description": "是否有效 - 0:无效 1:有效",
  37899. "type": "integer"
  37900. },
  37901. "minivalue": {
  37902. "description": "最小变动值",
  37903. "type": "integer"
  37904. },
  37905. "minivaluedp": {
  37906. "description": "最小变动值小数位",
  37907. "type": "integer"
  37908. },
  37909. "realminivalue": {
  37910. "description": "实际最小变动值",
  37911. "type": "integer"
  37912. },
  37913. "realminivaluedp": {
  37914. "description": "实际最小变动值小数位",
  37915. "type": "integer"
  37916. },
  37917. "remark": {
  37918. "description": "备注",
  37919. "type": "string"
  37920. },
  37921. "unitid": {
  37922. "description": "单位ID",
  37923. "type": "integer"
  37924. },
  37925. "unitname": {
  37926. "description": "单位",
  37927. "type": "string"
  37928. },
  37929. "updatetime": {
  37930. "description": "更新时间",
  37931. "type": "string"
  37932. },
  37933. "updatorid": {
  37934. "description": "更新人",
  37935. "type": "integer"
  37936. },
  37937. "wrsstatus": {
  37938. "description": "状态 - 作废 - 0:未激活 1:正常",
  37939. "type": "integer"
  37940. },
  37941. "wrstandardcode": {
  37942. "description": "现货品类代码",
  37943. "type": "string"
  37944. },
  37945. "wrstandardid": {
  37946. "description": "现货品类ID(SEQ_WRSTANDARD)",
  37947. "type": "integer"
  37948. },
  37949. "wrstandardname": {
  37950. "description": "现货品类名称",
  37951. "type": "string"
  37952. }
  37953. }
  37954. },
  37955. "models.WRTradeBargainApply": {
  37956. "type": "object",
  37957. "properties": {
  37958. "accountid": {
  37959. "description": "摘牌资金账号",
  37960. "type": "integer"
  37961. },
  37962. "applyprice": {
  37963. "description": "申请价格(议价价格)",
  37964. "type": "string"
  37965. },
  37966. "applyqty": {
  37967. "description": "摘牌数量(议价数量)",
  37968. "type": "number"
  37969. },
  37970. "applyremark": {
  37971. "description": "申请备注",
  37972. "type": "string"
  37973. },
  37974. "applystatus": {
  37975. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  37976. "type": "integer"
  37977. },
  37978. "applytime": {
  37979. "description": "申请时间(议价时间)",
  37980. "type": "string"
  37981. },
  37982. "begindate": {
  37983. "description": "开始交易日(yyyymmdd)",
  37984. "type": "string"
  37985. },
  37986. "buyorsell": {
  37987. "description": "买卖(挂牌类型) - 0:买 1:卖",
  37988. "type": "integer"
  37989. },
  37990. "confirmremark": {
  37991. "description": "确认备注",
  37992. "type": "string"
  37993. },
  37994. "confirmtime": {
  37995. "description": "确认时间",
  37996. "type": "string"
  37997. },
  37998. "confirmuserid": {
  37999. "description": "确认人",
  38000. "type": "integer"
  38001. },
  38002. "deliverygoodscode": {
  38003. "description": "品种代码",
  38004. "type": "string"
  38005. },
  38006. "deliverygoodsid": {
  38007. "description": "品种ID",
  38008. "type": "integer"
  38009. },
  38010. "deliverygoodsname": {
  38011. "description": "品种名称",
  38012. "type": "string"
  38013. },
  38014. "deliverymonth": {
  38015. "description": "交收月",
  38016. "type": "string"
  38017. },
  38018. "enddate": {
  38019. "description": "结束交易日(yyyymmdd)",
  38020. "type": "string"
  38021. },
  38022. "enumdicname": {
  38023. "description": "单位名称",
  38024. "type": "string"
  38025. },
  38026. "fixedprice": {
  38027. "description": "挂牌价格",
  38028. "type": "number"
  38029. },
  38030. "handlestatus": {
  38031. "description": "处理状态",
  38032. "type": "integer"
  38033. },
  38034. "marginvalue": {
  38035. "description": "履约保证金比例",
  38036. "type": "number"
  38037. },
  38038. "marketid": {
  38039. "description": "市场ID",
  38040. "type": "integer"
  38041. },
  38042. "matchaccountid": {
  38043. "description": "挂牌方资金账号",
  38044. "type": "integer"
  38045. },
  38046. "matchuserid": {
  38047. "description": "挂牌方用户id",
  38048. "type": "integer"
  38049. },
  38050. "matchusername": {
  38051. "description": "挂牌方用户名称(已脱敏)",
  38052. "type": "string"
  38053. },
  38054. "minivalue": {
  38055. "description": "现货商品最小变动值",
  38056. "type": "integer"
  38057. },
  38058. "optioncompare": {
  38059. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38060. "type": "string"
  38061. },
  38062. "orderqty": {
  38063. "description": "挂牌数量",
  38064. "type": "integer"
  38065. },
  38066. "refprice": {
  38067. "description": "参考价格",
  38068. "type": "string"
  38069. },
  38070. "retcode": {
  38071. "description": "委托返回代码",
  38072. "type": "integer"
  38073. },
  38074. "templatename": {
  38075. "description": "履约方式(履约模板名称)",
  38076. "type": "string"
  38077. },
  38078. "tradedate": {
  38079. "description": "交易日(yyyyMMdd)",
  38080. "type": "string"
  38081. },
  38082. "userid": {
  38083. "description": "摘牌人用户ID(议价人ID)",
  38084. "type": "integer"
  38085. },
  38086. "username": {
  38087. "description": "议价人名字(已脱敏)",
  38088. "type": "string"
  38089. },
  38090. "validtime": {
  38091. "description": "有效期限",
  38092. "type": "string"
  38093. },
  38094. "warehouseid": {
  38095. "description": "仓库ID",
  38096. "type": "integer"
  38097. },
  38098. "warehousename": {
  38099. "description": "仓库名称",
  38100. "type": "string"
  38101. },
  38102. "wrbargainid": {
  38103. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  38104. "type": "string"
  38105. },
  38106. "wrfactortypeid": {
  38107. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38108. "type": "string"
  38109. },
  38110. "wrfactortypename": {
  38111. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38112. "type": "string"
  38113. },
  38114. "wrstandardcode": {
  38115. "description": "现货商品代码",
  38116. "type": "string"
  38117. },
  38118. "wrstandardid": {
  38119. "description": "现货商品ID",
  38120. "type": "integer"
  38121. },
  38122. "wrstandardname": {
  38123. "description": "商品名称",
  38124. "type": "string"
  38125. },
  38126. "wrtradeorderid": {
  38127. "description": "关联委托单ID",
  38128. "type": "string"
  38129. },
  38130. "wrtypename": {
  38131. "description": "商品",
  38132. "type": "string"
  38133. }
  38134. }
  38135. },
  38136. "models.Warehouseinfo": {
  38137. "type": "object",
  38138. "required": [
  38139. "autoid",
  38140. "warehousecode"
  38141. ],
  38142. "properties": {
  38143. "address": {
  38144. "description": "详细地址",
  38145. "type": "string"
  38146. },
  38147. "areauserid": {
  38148. "description": "所属机构",
  38149. "type": "integer"
  38150. },
  38151. "autoid": {
  38152. "description": "自增ID",
  38153. "type": "integer"
  38154. },
  38155. "cityid": {
  38156. "description": "市",
  38157. "type": "integer"
  38158. },
  38159. "contactname": {
  38160. "description": "联系人",
  38161. "type": "string"
  38162. },
  38163. "contactnum": {
  38164. "description": "联系电话",
  38165. "type": "string"
  38166. },
  38167. "countryid": {
  38168. "description": "国家",
  38169. "type": "integer"
  38170. },
  38171. "createtime": {
  38172. "description": "创建时间",
  38173. "type": "string"
  38174. },
  38175. "districtid": {
  38176. "description": "区",
  38177. "type": "integer"
  38178. },
  38179. "hasvideo": {
  38180. "description": "是否有视频 - 0:无 1:有",
  38181. "type": "integer"
  38182. },
  38183. "provinceid": {
  38184. "description": "省",
  38185. "type": "integer"
  38186. },
  38187. "remark": {
  38188. "description": "审核备注",
  38189. "type": "string"
  38190. },
  38191. "videourl": {
  38192. "description": "视频地址",
  38193. "type": "string"
  38194. },
  38195. "warehousecode": {
  38196. "description": "仓库代码",
  38197. "type": "string"
  38198. },
  38199. "warehousename": {
  38200. "description": "仓库名称",
  38201. "type": "string"
  38202. },
  38203. "warehousestatus": {
  38204. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  38205. "type": "integer"
  38206. },
  38207. "warehousetype": {
  38208. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  38209. "type": "integer"
  38210. }
  38211. }
  38212. },
  38213. "models.WrAverageTradePrice": {
  38214. "type": "object",
  38215. "properties": {
  38216. "averageprice": {
  38217. "description": "成交均价",
  38218. "type": "number"
  38219. },
  38220. "tradedate": {
  38221. "description": "交易日yyyymm",
  38222. "type": "string"
  38223. }
  38224. }
  38225. },
  38226. "models.WrBrandAndYears": {
  38227. "type": "object",
  38228. "properties": {
  38229. "brandlst": {
  38230. "description": "品牌列表",
  38231. "type": "array",
  38232. "items": {
  38233. "$ref": "#/definitions/models.DgFactoryItem"
  38234. }
  38235. },
  38236. "yearslst": {
  38237. "description": "年份列表",
  38238. "type": "array",
  38239. "items": {
  38240. "$ref": "#/definitions/models.DgFactoryItem"
  38241. }
  38242. }
  38243. }
  38244. },
  38245. "models.WrBsGoodsInfo": {
  38246. "type": "object",
  38247. "properties": {
  38248. "buyorsell": {
  38249. "description": "买卖方向 0-买 1-卖",
  38250. "type": "integer"
  38251. },
  38252. "goodsid": {
  38253. "description": "交易合约ID",
  38254. "type": "integer"
  38255. },
  38256. "lstitem": {
  38257. "description": "商品信息项",
  38258. "type": "array",
  38259. "items": {
  38260. "$ref": "#/definitions/models.WrTypeItem"
  38261. }
  38262. },
  38263. "lststep": {
  38264. "description": "履约规则",
  38265. "type": "array",
  38266. "items": {
  38267. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  38268. }
  38269. }
  38270. }
  38271. },
  38272. "models.WrBuybackDetail": {
  38273. "type": "object",
  38274. "properties": {
  38275. "buybackamount": {
  38276. "description": "回购金额",
  38277. "type": "number"
  38278. },
  38279. "buybackqty": {
  38280. "description": "回购数量",
  38281. "type": "number"
  38282. },
  38283. "buybackreleasemargin": {
  38284. "description": "回购释放保证金",
  38285. "type": "number"
  38286. },
  38287. "buybacktime": {
  38288. "description": "回购时间",
  38289. "type": "string"
  38290. },
  38291. "errordesc": {
  38292. "description": "错误描述",
  38293. "type": "string"
  38294. },
  38295. "handlestatus": {
  38296. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  38297. "type": "integer"
  38298. },
  38299. "relatedwrid": {
  38300. "description": "关联仓单ID",
  38301. "type": "integer"
  38302. },
  38303. "scfcontractid": {
  38304. "description": "SCF合同ID",
  38305. "type": "string"
  38306. },
  38307. "scfwrbuybackid": {
  38308. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  38309. "type": "integer"
  38310. },
  38311. "tradedate": {
  38312. "description": "交易日(yyyyMMdd)",
  38313. "type": "string"
  38314. }
  38315. }
  38316. },
  38317. "models.WrClientAdSpaceConfig": {
  38318. "type": "object",
  38319. "properties": {
  38320. "adspaceid": {
  38321. "description": "广告位ID",
  38322. "type": "integer"
  38323. },
  38324. "adspacename": {
  38325. "description": "广告位名称",
  38326. "type": "string"
  38327. },
  38328. "adspacetype": {
  38329. "description": "广告位类型 - 1:固定广告位",
  38330. "type": "integer"
  38331. },
  38332. "areauserid": {
  38333. "description": "所属机构ID",
  38334. "type": "integer"
  38335. },
  38336. "createdate": {
  38337. "description": "创建时间",
  38338. "type": "string"
  38339. },
  38340. "imagepath": {
  38341. "description": "图片",
  38342. "type": "string"
  38343. },
  38344. "modifierid": {
  38345. "description": "操作人",
  38346. "type": "integer"
  38347. },
  38348. "recsize": {
  38349. "description": "推荐尺寸",
  38350. "type": "string"
  38351. },
  38352. "title": {
  38353. "description": "标题",
  38354. "type": "string"
  38355. },
  38356. "updatedate": {
  38357. "description": "更新时间",
  38358. "type": "string"
  38359. },
  38360. "urlcontent": {
  38361. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  38362. "type": "string"
  38363. },
  38364. "urltype": {
  38365. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  38366. "type": "integer"
  38367. }
  38368. }
  38369. },
  38370. "models.WrDeliveryAvalidHoldLB": {
  38371. "type": "object",
  38372. "properties": {
  38373. "accountid": {
  38374. "description": "资金账号",
  38375. "type": "integer"
  38376. },
  38377. "avalidqty": {
  38378. "description": "数量(可点选数量)",
  38379. "type": "number"
  38380. },
  38381. "deliverygoodsid": {
  38382. "description": "品种id",
  38383. "type": "integer"
  38384. },
  38385. "enumdicname": {
  38386. "description": "单位名称",
  38387. "type": "string"
  38388. },
  38389. "goodsid": {
  38390. "description": "x合约商品id",
  38391. "type": "integer"
  38392. },
  38393. "ladingbillid": {
  38394. "description": "提单id",
  38395. "type": "string"
  38396. },
  38397. "pgoodscode": {
  38398. "description": "p商品代码(点价合约)",
  38399. "type": "string"
  38400. },
  38401. "pgoodsid": {
  38402. "description": "p商品id(点价合约)",
  38403. "type": "integer"
  38404. },
  38405. "pgoodsname": {
  38406. "description": "p商品名称(点价合约)",
  38407. "type": "string"
  38408. },
  38409. "pricemove": {
  38410. "description": "升贴水",
  38411. "type": "number"
  38412. },
  38413. "subnum": {
  38414. "description": "提单子id",
  38415. "type": "integer"
  38416. },
  38417. "userid": {
  38418. "description": "用户id",
  38419. "type": "integer"
  38420. },
  38421. "username": {
  38422. "description": "仓单持有人",
  38423. "type": "string"
  38424. },
  38425. "warehousecode": {
  38426. "description": "仓库代码",
  38427. "type": "string"
  38428. },
  38429. "warehouseid": {
  38430. "description": "仓库id",
  38431. "type": "integer"
  38432. },
  38433. "warehousename": {
  38434. "description": "仓库名称",
  38435. "type": "string"
  38436. },
  38437. "wrfactortypeid": {
  38438. "description": "仓单要素id",
  38439. "type": "string"
  38440. },
  38441. "wrstandardcode": {
  38442. "description": "品代码",
  38443. "type": "string"
  38444. },
  38445. "wrstandardid": {
  38446. "description": "品类d",
  38447. "type": "integer"
  38448. },
  38449. "wrstandardname": {
  38450. "description": "品类名称",
  38451. "type": "string"
  38452. },
  38453. "wrtypename": {
  38454. "description": "商品",
  38455. "type": "string"
  38456. },
  38457. "xgoodscode": {
  38458. "description": "x合约代码",
  38459. "type": "string"
  38460. },
  38461. "xgoodsname": {
  38462. "description": "x合约名称",
  38463. "type": "string"
  38464. }
  38465. }
  38466. },
  38467. "models.WrDeliveryDetail": {
  38468. "type": "object",
  38469. "properties": {
  38470. "accountid": {
  38471. "description": "账号ID",
  38472. "type": "integer"
  38473. },
  38474. "averageprice": {
  38475. "description": "交割均价 = 交割金额 / 交割数量",
  38476. "type": "number"
  38477. },
  38478. "begindate": {
  38479. "description": "开始交易日(yyyymmdd)",
  38480. "type": "string"
  38481. },
  38482. "buyorsell": {
  38483. "description": "方向 - 0:买 1:卖",
  38484. "type": "integer"
  38485. },
  38486. "deliveryamount": {
  38487. "description": "货款金额(X总货款+P总货款)",
  38488. "type": "number"
  38489. },
  38490. "deliveryid": {
  38491. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  38492. "type": "string"
  38493. },
  38494. "deliveryorderid": {
  38495. "description": "申报单号",
  38496. "type": "string"
  38497. },
  38498. "deliverypricemove": {
  38499. "description": "升贴水(升贴水总额)",
  38500. "type": "number"
  38501. },
  38502. "deliveryqty": {
  38503. "description": "交收数量(点选数量)",
  38504. "type": "number"
  38505. },
  38506. "deliverystatus": {
  38507. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  38508. "type": "integer"
  38509. },
  38510. "deliverytime": {
  38511. "description": "交割时间",
  38512. "type": "string"
  38513. },
  38514. "deliverytotalamount": {
  38515. "description": "交收金额",
  38516. "type": "number"
  38517. },
  38518. "enddate": {
  38519. "description": "结束交易日(yyyymmdd)",
  38520. "type": "string"
  38521. },
  38522. "enumdicname": {
  38523. "description": "单位名称",
  38524. "type": "string"
  38525. },
  38526. "matchaccountid": {
  38527. "description": "对手账号ID",
  38528. "type": "integer"
  38529. },
  38530. "matchusername": {
  38531. "description": "对手方名称(仓单持有人)",
  38532. "type": "string"
  38533. },
  38534. "p1goodsremainamount": {
  38535. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38536. "type": "number"
  38537. },
  38538. "pdeliverycloseqty": {
  38539. "description": "p合约平仓数量",
  38540. "type": "number"
  38541. },
  38542. "pdeliveryprice": {
  38543. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38544. "type": "number"
  38545. },
  38546. "pgoodscode": {
  38547. "description": "商品代码",
  38548. "type": "string"
  38549. },
  38550. "pgoodsid": {
  38551. "description": "p点选合约id",
  38552. "type": "integer"
  38553. },
  38554. "pgoodsname": {
  38555. "description": "商品名称",
  38556. "type": "string"
  38557. },
  38558. "ppricemode": {
  38559. "description": "点价价格方式 - 1:商品价 2:固定值",
  38560. "type": "integer"
  38561. },
  38562. "tradedate": {
  38563. "description": "交易日(yyyymmdd)",
  38564. "type": "string"
  38565. },
  38566. "userid": {
  38567. "description": "用户id",
  38568. "type": "integer"
  38569. },
  38570. "username": {
  38571. "description": "用户名称",
  38572. "type": "string"
  38573. },
  38574. "warehousename": {
  38575. "description": "仓库名称",
  38576. "type": "string"
  38577. },
  38578. "wrfactortypeid": {
  38579. "description": "仓单要素类型ID",
  38580. "type": "string"
  38581. },
  38582. "wrtypename": {
  38583. "description": "商品",
  38584. "type": "string"
  38585. },
  38586. "xdeliverycloseqty": {
  38587. "description": "合约数量",
  38588. "type": "number"
  38589. },
  38590. "xgoodsamount": {
  38591. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  38592. "type": "number"
  38593. },
  38594. "xgoodscode": {
  38595. "description": "商品代码",
  38596. "type": "string"
  38597. },
  38598. "xgoodsid": {
  38599. "description": "x交易合约ID",
  38600. "type": "integer"
  38601. },
  38602. "xgoodsname": {
  38603. "description": "商品名称",
  38604. "type": "string"
  38605. }
  38606. }
  38607. },
  38608. "models.WrDeliveryGoodsSection": {
  38609. "type": "object",
  38610. "properties": {
  38611. "dglst": {
  38612. "description": "板块商品列表",
  38613. "type": "array",
  38614. "items": {
  38615. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  38616. }
  38617. },
  38618. "imagepath": {
  38619. "description": "图片地址",
  38620. "type": "string"
  38621. },
  38622. "orderindex": {
  38623. "description": "排序",
  38624. "type": "integer"
  38625. },
  38626. "sectionid": {
  38627. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  38628. "type": "integer"
  38629. },
  38630. "sectionname": {
  38631. "description": "版块名称",
  38632. "type": "string"
  38633. },
  38634. "sectiontype": {
  38635. "description": "版块类型 - 1:指数版块 2:普通版块",
  38636. "type": "integer"
  38637. }
  38638. }
  38639. },
  38640. "models.WrDeliveryGoodsSectionConfig": {
  38641. "type": "object",
  38642. "properties": {
  38643. "deliverygoodscode": {
  38644. "description": "现货商品代码",
  38645. "type": "string"
  38646. },
  38647. "deliverygoodsid": {
  38648. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38649. "type": "integer"
  38650. },
  38651. "deliverygoodsname": {
  38652. "description": "现货商品名称",
  38653. "type": "string"
  38654. },
  38655. "orderindex": {
  38656. "description": "排序",
  38657. "type": "integer"
  38658. }
  38659. }
  38660. },
  38661. "models.WrDraftUserInfo": {
  38662. "type": "object",
  38663. "properties": {
  38664. "address": {
  38665. "description": "地址",
  38666. "type": "string"
  38667. },
  38668. "attachment1": {
  38669. "description": "附件1",
  38670. "type": "string"
  38671. },
  38672. "attachment2": {
  38673. "description": "附件2",
  38674. "type": "string"
  38675. },
  38676. "attachment3": {
  38677. "description": "附件3",
  38678. "type": "string"
  38679. },
  38680. "attachment4": {
  38681. "description": "附件4",
  38682. "type": "string"
  38683. },
  38684. "attachment5": {
  38685. "description": "附件5",
  38686. "type": "string"
  38687. },
  38688. "bankaccount": {
  38689. "description": "银行帐号 (加密存储)",
  38690. "type": "string"
  38691. },
  38692. "bankaccountname": {
  38693. "description": "收款人名称",
  38694. "type": "string"
  38695. },
  38696. "bankcardfrontphotourl": {
  38697. "description": "银行卡正面照地址",
  38698. "type": "string"
  38699. },
  38700. "bankid": {
  38701. "description": "银行编码",
  38702. "type": "string"
  38703. },
  38704. "bankname": {
  38705. "description": "银行名称",
  38706. "type": "string"
  38707. },
  38708. "birthday": {
  38709. "description": "生日(个人:年月日)",
  38710. "type": "string"
  38711. },
  38712. "biznature": {
  38713. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  38714. "type": "integer"
  38715. },
  38716. "bizscope": {
  38717. "description": "企业经营范围(企业)",
  38718. "type": "string"
  38719. },
  38720. "biztype": {
  38721. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  38722. "type": "integer"
  38723. },
  38724. "cardbackphotourl": {
  38725. "description": "证件背面图片地址",
  38726. "type": "string"
  38727. },
  38728. "cardfrontphotourl": {
  38729. "description": "证件正面图片地址",
  38730. "type": "string"
  38731. },
  38732. "cardnum": {
  38733. "description": "证件号码(加密存储)",
  38734. "type": "string"
  38735. },
  38736. "cardtypeid": {
  38737. "description": "证件类型ID",
  38738. "type": "integer"
  38739. },
  38740. "cityid": {
  38741. "description": "市",
  38742. "type": "integer"
  38743. },
  38744. "company": {
  38745. "description": "公司(个人)",
  38746. "type": "string"
  38747. },
  38748. "contactcardbackphotourl": {
  38749. "description": "联系人证件背面图片地址",
  38750. "type": "string"
  38751. },
  38752. "contactcardfrontphotourl": {
  38753. "description": "联系人证件正面图片地址",
  38754. "type": "string"
  38755. },
  38756. "contactname": {
  38757. "description": "联系人",
  38758. "type": "string"
  38759. },
  38760. "countryid": {
  38761. "description": "国家",
  38762. "type": "integer"
  38763. },
  38764. "createtime": {
  38765. "description": "创建时间",
  38766. "type": "string"
  38767. },
  38768. "creatorid": {
  38769. "description": "创建人",
  38770. "type": "integer"
  38771. },
  38772. "creditquota": {
  38773. "description": "授信额度(金瑞)",
  38774. "type": "number"
  38775. },
  38776. "customername": {
  38777. "description": "客户名称(企业名称)",
  38778. "type": "string"
  38779. },
  38780. "districtid": {
  38781. "description": "地区",
  38782. "type": "integer"
  38783. },
  38784. "email": {
  38785. "description": "邮件(加密存储)",
  38786. "type": "string"
  38787. },
  38788. "fax": {
  38789. "description": "传真(加密存储)",
  38790. "type": "string"
  38791. },
  38792. "halfbodyphotourl": {
  38793. "description": "半身照地址",
  38794. "type": "string"
  38795. },
  38796. "hasencrypt": {
  38797. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38798. "type": "integer"
  38799. },
  38800. "headurl": {
  38801. "description": "头像地址",
  38802. "type": "string"
  38803. },
  38804. "legalcardbackphotourl": {
  38805. "description": "法人身份证背面照地址",
  38806. "type": "string"
  38807. },
  38808. "legalcardfrontphotourl": {
  38809. "description": "法人身份证正面照地址",
  38810. "type": "string"
  38811. },
  38812. "legalpersonname": {
  38813. "description": "法人姓名(企业)",
  38814. "type": "string"
  38815. },
  38816. "mobile": {
  38817. "description": "手机号码(加密存储)",
  38818. "type": "string"
  38819. },
  38820. "mobile2": {
  38821. "description": "手机号码[明文-尚志]",
  38822. "type": "string"
  38823. },
  38824. "modifierid": {
  38825. "description": "修改人",
  38826. "type": "integer"
  38827. },
  38828. "modifiertime": {
  38829. "description": "修改时间",
  38830. "type": "string"
  38831. },
  38832. "needinvoice": {
  38833. "description": "是否需要发票 - 0:不需要 1:需要",
  38834. "type": "integer"
  38835. },
  38836. "nickname": {
  38837. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38838. "type": "string"
  38839. },
  38840. "openmode": {
  38841. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  38842. "type": "integer"
  38843. },
  38844. "otherurl": {
  38845. "description": "其它图片地址[使用分号分隔]",
  38846. "type": "string"
  38847. },
  38848. "postalcode": {
  38849. "description": "邮政编码",
  38850. "type": "string"
  38851. },
  38852. "provinceid": {
  38853. "description": "省",
  38854. "type": "integer"
  38855. },
  38856. "proxystatementurl": {
  38857. "description": "授权委托书",
  38858. "type": "string"
  38859. },
  38860. "qq": {
  38861. "description": "QQ(加密存储",
  38862. "type": "string"
  38863. },
  38864. "remark": {
  38865. "description": "备注",
  38866. "type": "string"
  38867. },
  38868. "sex": {
  38869. "description": "用户性别 0: 女 1: 男",
  38870. "type": "integer"
  38871. },
  38872. "signpdfurl": {
  38873. "description": "签约pdf文件",
  38874. "type": "string"
  38875. },
  38876. "taxpayernum": {
  38877. "description": "纳税人识别号",
  38878. "type": "string"
  38879. },
  38880. "telphone": {
  38881. "description": "联系电话(加密存储)",
  38882. "type": "string"
  38883. },
  38884. "userid": {
  38885. "description": "用户ID",
  38886. "type": "integer"
  38887. },
  38888. "userinfotype": {
  38889. "description": "用户信息类型 - 1:个人 2:企业",
  38890. "type": "integer"
  38891. },
  38892. "userstatus": {
  38893. "description": "用户状态 - 1:正常 2:注销",
  38894. "type": "integer"
  38895. },
  38896. "usertype": {
  38897. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  38898. "type": "integer"
  38899. },
  38900. "wechat": {
  38901. "description": "微信(加密存储)",
  38902. "type": "string"
  38903. },
  38904. "wskhinfo": {
  38905. "description": "开户申请信息(JSON)",
  38906. "type": "string"
  38907. }
  38908. }
  38909. },
  38910. "models.WrFAProductDetail": {
  38911. "type": "object",
  38912. "properties": {
  38913. "accountid": {
  38914. "description": "资金账号",
  38915. "type": "integer"
  38916. },
  38917. "areauserid": {
  38918. "description": "金融机构ID",
  38919. "type": "integer"
  38920. },
  38921. "financingdays": {
  38922. "description": "天数(天)",
  38923. "type": "integer"
  38924. },
  38925. "interestminlen": {
  38926. "description": "最小起息天数",
  38927. "type": "integer"
  38928. },
  38929. "interestrate": {
  38930. "description": "利率",
  38931. "type": "number"
  38932. },
  38933. "interestratemode": {
  38934. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  38935. "type": "integer"
  38936. },
  38937. "interestsettlemode": {
  38938. "description": "结息方式 - 1:按日结息 3:按月结息",
  38939. "type": "integer"
  38940. },
  38941. "interestsettlevalue": {
  38942. "description": "结息方式值",
  38943. "type": "integer"
  38944. },
  38945. "isautoloan": {
  38946. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  38947. "type": "integer"
  38948. },
  38949. "loantag": {
  38950. "description": "放款标识: \"放款快\" 或者为空",
  38951. "type": "string"
  38952. },
  38953. "marginratio": {
  38954. "description": "保证金比率质押率 - [仓单质押]",
  38955. "type": "number"
  38956. },
  38957. "productdetailid": {
  38958. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  38959. "type": "integer"
  38960. },
  38961. "productid": {
  38962. "description": "金融产品ID",
  38963. "type": "integer"
  38964. },
  38965. "productname": {
  38966. "description": "产品名称",
  38967. "type": "string"
  38968. },
  38969. "updatetime": {
  38970. "description": "更新时间",
  38971. "type": "string"
  38972. },
  38973. "username": {
  38974. "description": "融出方",
  38975. "type": "string"
  38976. }
  38977. }
  38978. },
  38979. "models.WrFactorTypeInfo": {
  38980. "type": "object",
  38981. "properties": {
  38982. "deliverygoodscode": {
  38983. "description": "品种代码",
  38984. "type": "string"
  38985. },
  38986. "deliverygoodsname": {
  38987. "description": "品种名称",
  38988. "type": "string"
  38989. },
  38990. "dgfactoryitemid": {
  38991. "description": "选择项id",
  38992. "type": "integer"
  38993. },
  38994. "dgfactoryitemtypeid": {
  38995. "description": "要素选择项ID (1-仓库 2-品牌)",
  38996. "type": "integer"
  38997. },
  38998. "dgfactoryitemvalue": {
  38999. "description": "要素项值",
  39000. "type": "string"
  39001. },
  39002. "itemtypename": {
  39003. "description": "要素项名称",
  39004. "type": "string"
  39005. },
  39006. "optioncompare": {
  39007. "description": "选择比较串",
  39008. "type": "string"
  39009. },
  39010. "warehouseid": {
  39011. "description": "仓库id",
  39012. "type": "integer"
  39013. },
  39014. "wrfactortypeid": {
  39015. "description": "仓单要素ID",
  39016. "type": "string"
  39017. },
  39018. "wrfactortypename": {
  39019. "description": "要素名称",
  39020. "type": "string"
  39021. },
  39022. "wrfactortypename2": {
  39023. "description": "要素名称(不含仓库)",
  39024. "type": "string"
  39025. },
  39026. "wrstandardcode": {
  39027. "description": "品类代码",
  39028. "type": "string"
  39029. },
  39030. "wrstandardid": {
  39031. "description": "品类id",
  39032. "type": "integer"
  39033. },
  39034. "wrstandardname": {
  39035. "description": "品类名称",
  39036. "type": "string"
  39037. }
  39038. }
  39039. },
  39040. "models.WrFilterItem": {
  39041. "type": "object",
  39042. "properties": {
  39043. "itemcode": {
  39044. "description": "代码",
  39045. "type": "string"
  39046. },
  39047. "itemid": {
  39048. "description": "项id",
  39049. "type": "integer"
  39050. },
  39051. "itemname": {
  39052. "description": "名称",
  39053. "type": "string"
  39054. },
  39055. "itemtype": {
  39056. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  39057. "type": "integer"
  39058. }
  39059. }
  39060. },
  39061. "models.WrFinanceBuyApply": {
  39062. "type": "object",
  39063. "properties": {
  39064. "applydate": {
  39065. "description": "申请时间",
  39066. "type": "string"
  39067. },
  39068. "applystatus": {
  39069. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  39070. "type": "integer"
  39071. },
  39072. "applyuserid": {
  39073. "description": "申请人",
  39074. "type": "integer"
  39075. },
  39076. "auditdate": {
  39077. "description": "审核时间",
  39078. "type": "string"
  39079. },
  39080. "auditremark": {
  39081. "description": "审核备注",
  39082. "type": "string"
  39083. },
  39084. "audituserid": {
  39085. "description": "审核人",
  39086. "type": "integer"
  39087. },
  39088. "buyaccountid": {
  39089. "description": "买方资金账号",
  39090. "type": "integer"
  39091. },
  39092. "buyorsell": {
  39093. "description": "买卖 - 0:买 1:卖",
  39094. "type": "integer"
  39095. },
  39096. "buyuserid": {
  39097. "description": "买方用户ID",
  39098. "type": "integer"
  39099. },
  39100. "buyusername": {
  39101. "description": "买方名称",
  39102. "type": "string"
  39103. },
  39104. "buywrtradeorderid": {
  39105. "description": "融资方买委托单ID",
  39106. "type": "string"
  39107. },
  39108. "deliverygoodscode": {
  39109. "description": "品种代码",
  39110. "type": "string"
  39111. },
  39112. "deliverygoodsid": {
  39113. "description": "品种ID",
  39114. "type": "integer"
  39115. },
  39116. "deliverygoodsname": {
  39117. "description": "品种名称",
  39118. "type": "string"
  39119. },
  39120. "deliverymonth": {
  39121. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  39122. "type": "string"
  39123. },
  39124. "enumdicname": {
  39125. "description": "单位名称",
  39126. "type": "string"
  39127. },
  39128. "financeaccountid": {
  39129. "description": "融资方资金帐户ID",
  39130. "type": "integer"
  39131. },
  39132. "financeapplyid": {
  39133. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39134. "type": "string"
  39135. },
  39136. "financeareauserid": {
  39137. "description": "融资方用户ID",
  39138. "type": "string"
  39139. },
  39140. "financename": {
  39141. "description": "融出方名称",
  39142. "type": "string"
  39143. },
  39144. "financetype": {
  39145. "description": "融资类型 1-融资回购",
  39146. "type": "integer"
  39147. },
  39148. "financingdays": {
  39149. "description": "天数(天)",
  39150. "type": "integer"
  39151. },
  39152. "freezebuymargin": {
  39153. "description": "冻结融资保证金(买方)",
  39154. "type": "number"
  39155. },
  39156. "handleremark": {
  39157. "description": "处理备注",
  39158. "type": "string"
  39159. },
  39160. "handlestatus": {
  39161. "description": "处理状态",
  39162. "type": "integer"
  39163. },
  39164. "interestminlen": {
  39165. "description": "最小起息天数",
  39166. "type": "integer"
  39167. },
  39168. "interestrate": {
  39169. "description": "利率",
  39170. "type": "number"
  39171. },
  39172. "interestratemode": {
  39173. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  39174. "type": "integer"
  39175. },
  39176. "interestsettlemode": {
  39177. "description": "结息方式 - 1:按日结息 3:按月结息",
  39178. "type": "integer"
  39179. },
  39180. "interestsettlevalue": {
  39181. "description": "结息方式值",
  39182. "type": "integer"
  39183. },
  39184. "isautoloan": {
  39185. "description": "是否自动放款 - 0:手动 1:自动",
  39186. "type": "integer"
  39187. },
  39188. "marginratio": {
  39189. "description": "保证金比率质押率 - [仓单质押]",
  39190. "type": "number"
  39191. },
  39192. "marketid": {
  39193. "description": "市场ID",
  39194. "type": "integer"
  39195. },
  39196. "minivalue": {
  39197. "description": "现货商品最小变动值",
  39198. "type": "integer"
  39199. },
  39200. "optioncompare": {
  39201. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39202. "type": "string"
  39203. },
  39204. "orderqty": {
  39205. "description": "委托数量(商品数量)",
  39206. "type": "number"
  39207. },
  39208. "productdetailid": {
  39209. "description": "产品组合ID",
  39210. "type": "integer"
  39211. },
  39212. "productid": {
  39213. "description": "金融产品ID",
  39214. "type": "integer"
  39215. },
  39216. "productname": {
  39217. "description": "产品名称",
  39218. "type": "string"
  39219. },
  39220. "remark": {
  39221. "description": "备注",
  39222. "type": "string"
  39223. },
  39224. "scfcontractid": {
  39225. "description": "仓单回购合同ID",
  39226. "type": "string"
  39227. },
  39228. "sellaccountid": {
  39229. "description": "卖方资金账号",
  39230. "type": "integer"
  39231. },
  39232. "selluserid": {
  39233. "description": "卖方用户ID",
  39234. "type": "integer"
  39235. },
  39236. "sellwrtradeorderid": {
  39237. "description": "卖方委托单ID",
  39238. "type": "string"
  39239. },
  39240. "tradeamount": {
  39241. "description": "成交金额(借款金额)",
  39242. "type": "number"
  39243. },
  39244. "tradedate": {
  39245. "description": "交易日(yyyyMMdd)",
  39246. "type": "string"
  39247. },
  39248. "tradeprice": {
  39249. "description": "成交价格",
  39250. "type": "number"
  39251. },
  39252. "warehouseid": {
  39253. "description": "仓库ID",
  39254. "type": "integer"
  39255. },
  39256. "warehousename": {
  39257. "description": "仓库名称",
  39258. "type": "string"
  39259. },
  39260. "wrfactortypeid": {
  39261. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39262. "type": "string"
  39263. },
  39264. "wrfactortypename": {
  39265. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39266. "type": "string"
  39267. },
  39268. "wrpricetype": {
  39269. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  39270. "type": "integer"
  39271. },
  39272. "wrstandardcode": {
  39273. "description": "现货商品代码",
  39274. "type": "string"
  39275. },
  39276. "wrstandardid": {
  39277. "description": "现货商品ID",
  39278. "type": "integer"
  39279. },
  39280. "wrstandardname": {
  39281. "description": "商品名称",
  39282. "type": "string"
  39283. },
  39284. "wrtypename": {
  39285. "description": "商品",
  39286. "type": "string"
  39287. }
  39288. }
  39289. },
  39290. "models.WrFriendApply": {
  39291. "type": "object",
  39292. "properties": {
  39293. "applicantid": {
  39294. "description": "申请人",
  39295. "type": "integer"
  39296. },
  39297. "applyname": {
  39298. "description": "申请人名称",
  39299. "type": "string"
  39300. },
  39301. "applysrc": {
  39302. "description": "申请来源 - 1:管理端 2:终端",
  39303. "type": "integer"
  39304. },
  39305. "applystatus": {
  39306. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  39307. "type": "integer"
  39308. },
  39309. "applytime": {
  39310. "description": "申请时间",
  39311. "type": "string"
  39312. },
  39313. "auditname": {
  39314. "description": "审核人名称",
  39315. "type": "string"
  39316. },
  39317. "auditorid": {
  39318. "description": "审核人",
  39319. "type": "integer"
  39320. },
  39321. "auditremark": {
  39322. "description": "审核备注",
  39323. "type": "string"
  39324. },
  39325. "auditsrc": {
  39326. "description": "审核来源 - 1:管理端 2:终端",
  39327. "type": "integer"
  39328. },
  39329. "audittime": {
  39330. "description": "审核时间",
  39331. "type": "string"
  39332. },
  39333. "friendapplyid": {
  39334. "description": "申请ID(SEQ_FRIENDAPPLY)",
  39335. "type": "string"
  39336. },
  39337. "friendname": {
  39338. "description": "好友名字(已脱敏)",
  39339. "type": "string"
  39340. },
  39341. "frienduserid": {
  39342. "description": "好友用户ID",
  39343. "type": "string"
  39344. },
  39345. "remark": {
  39346. "description": "备注",
  39347. "type": "string"
  39348. },
  39349. "userid": {
  39350. "description": "申请人用户ID",
  39351. "type": "integer"
  39352. }
  39353. }
  39354. },
  39355. "models.WrFtDeliveryGoods": {
  39356. "type": "object",
  39357. "properties": {
  39358. "deliverygoodscode": {
  39359. "description": "品种代码",
  39360. "type": "string"
  39361. },
  39362. "deliverygoodsid": {
  39363. "description": "品种ID",
  39364. "type": "integer"
  39365. },
  39366. "deliverygoodsname": {
  39367. "description": "品种名称",
  39368. "type": "string"
  39369. },
  39370. "wdlst": {
  39371. "description": "商品列表",
  39372. "type": "array",
  39373. "items": {
  39374. "$ref": "#/definitions/models.WrFtWrstandard"
  39375. }
  39376. }
  39377. }
  39378. },
  39379. "models.WrFtWrstandard": {
  39380. "type": "object",
  39381. "properties": {
  39382. "enumdicname": {
  39383. "description": "单位名称",
  39384. "type": "string"
  39385. },
  39386. "minivalue": {
  39387. "description": "最小变动值",
  39388. "type": "integer"
  39389. },
  39390. "wrstandardcode": {
  39391. "description": "现货商品代码",
  39392. "type": "string"
  39393. },
  39394. "wrstandardid": {
  39395. "description": "现货商品ID",
  39396. "type": "integer"
  39397. },
  39398. "wrstandardname": {
  39399. "description": "商品名称",
  39400. "type": "string"
  39401. }
  39402. }
  39403. },
  39404. "models.WrGoodsInfo": {
  39405. "type": "object",
  39406. "properties": {
  39407. "haswr": {
  39408. "description": "0:仓单预售 1:仓单贸易",
  39409. "type": "integer"
  39410. },
  39411. "lstitem": {
  39412. "description": "商品信息项",
  39413. "type": "array",
  39414. "items": {
  39415. "$ref": "#/definitions/models.WrTypeItem"
  39416. }
  39417. },
  39418. "lststep": {
  39419. "description": "履约规则",
  39420. "type": "array",
  39421. "items": {
  39422. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39423. }
  39424. },
  39425. "marketid": {
  39426. "description": "市场id",
  39427. "type": "integer"
  39428. }
  39429. }
  39430. },
  39431. "models.WrGoodsPerformanceStep": {
  39432. "type": "object",
  39433. "properties": {
  39434. "autoid": {
  39435. "description": "AutoID",
  39436. "type": "integer"
  39437. },
  39438. "isauto": {
  39439. "description": "是否自动 - 0:不自动 1:自动",
  39440. "type": "integer"
  39441. },
  39442. "remark": {
  39443. "description": "备注",
  39444. "type": "string"
  39445. },
  39446. "stepdate": {
  39447. "description": "天数信息(T+N)",
  39448. "type": "string"
  39449. },
  39450. "stepdays": {
  39451. "description": "距离上一步天数",
  39452. "type": "integer"
  39453. },
  39454. "stepindex": {
  39455. "description": "步骤序号",
  39456. "type": "integer"
  39457. },
  39458. "stepinfo": {
  39459. "description": "步骤信息(步骤名称+步骤值)",
  39460. "type": "string"
  39461. },
  39462. "steptypeid": {
  39463. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  39464. "type": "integer"
  39465. },
  39466. "steptypename": {
  39467. "description": "步骤名称",
  39468. "type": "string"
  39469. },
  39470. "stepvalue": {
  39471. "description": "步骤值",
  39472. "type": "number"
  39473. },
  39474. "templateid": {
  39475. "description": "履约计划模板ID",
  39476. "type": "integer"
  39477. }
  39478. }
  39479. },
  39480. "models.WrHoldLB": {
  39481. "type": "object",
  39482. "properties": {
  39483. "accountid": {
  39484. "description": "持有人帐户ID",
  39485. "type": "integer"
  39486. },
  39487. "bannerpicurl": {
  39488. "description": "Banner图",
  39489. "type": "string"
  39490. },
  39491. "createtime": {
  39492. "description": "创建时间(过户时间)",
  39493. "type": "string"
  39494. },
  39495. "deliverygoodscode": {
  39496. "description": "品种代码",
  39497. "type": "string"
  39498. },
  39499. "deliverygoodsid": {
  39500. "description": "品种ID",
  39501. "type": "integer"
  39502. },
  39503. "deliverygoodsname": {
  39504. "description": "品种名称",
  39505. "type": "string"
  39506. },
  39507. "enableqty": {
  39508. "description": "可用数量",
  39509. "type": "number"
  39510. },
  39511. "enumdicname": {
  39512. "description": "单位名称",
  39513. "type": "string"
  39514. },
  39515. "freezerqty": {
  39516. "description": "冻结数量",
  39517. "type": "number"
  39518. },
  39519. "ladingbillid": {
  39520. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39521. "type": "string"
  39522. },
  39523. "minivalue": {
  39524. "description": "现货商品最小变动值",
  39525. "type": "integer"
  39526. },
  39527. "optioncompare": {
  39528. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39529. "type": "string"
  39530. },
  39531. "parentsubnum": {
  39532. "description": "拆分父子单号",
  39533. "type": "integer"
  39534. },
  39535. "pledgeqty": {
  39536. "description": "质押数量",
  39537. "type": "number"
  39538. },
  39539. "qty": {
  39540. "description": "数量",
  39541. "type": "number"
  39542. },
  39543. "subnum": {
  39544. "description": "提单子单号",
  39545. "type": "integer"
  39546. },
  39547. "thumurls": {
  39548. "description": "缩略图",
  39549. "type": "string"
  39550. },
  39551. "tradedate": {
  39552. "description": "交易日(yyyyMMdd)",
  39553. "type": "string"
  39554. },
  39555. "userid": {
  39556. "description": "持有人ID",
  39557. "type": "integer"
  39558. },
  39559. "warehouseid": {
  39560. "description": "仓库ID",
  39561. "type": "integer"
  39562. },
  39563. "warehousename": {
  39564. "description": "仓库名称",
  39565. "type": "string"
  39566. },
  39567. "wrfactortypeid": {
  39568. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39569. "type": "string"
  39570. },
  39571. "wrfactortypename": {
  39572. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39573. "type": "string"
  39574. },
  39575. "wrholdeno": {
  39576. "description": "仓单编号",
  39577. "type": "string"
  39578. },
  39579. "wrid": {
  39580. "description": "仓单变更ID",
  39581. "type": "string"
  39582. },
  39583. "wrstandardcode": {
  39584. "description": "现货商品代码",
  39585. "type": "string"
  39586. },
  39587. "wrstandardid": {
  39588. "description": "现货商品ID",
  39589. "type": "integer"
  39590. },
  39591. "wrstandardname": {
  39592. "description": "商品名称",
  39593. "type": "string"
  39594. },
  39595. "wrtypename": {
  39596. "description": "商品",
  39597. "type": "string"
  39598. }
  39599. }
  39600. },
  39601. "models.WrMarketTradeConfig": {
  39602. "type": "object",
  39603. "properties": {
  39604. "basisdownratio": {
  39605. "description": "浮动价基差下限比例(仓单贸易)",
  39606. "type": "number"
  39607. },
  39608. "basisupratio": {
  39609. "description": "浮动价基差上限比例(仓单贸易)",
  39610. "type": "number"
  39611. },
  39612. "buychargealgorithm": {
  39613. "description": "买方手续费收取方式 1:比率 2:固定",
  39614. "type": "integer"
  39615. },
  39616. "buychargealgorithm2": {
  39617. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39618. "type": "integer"
  39619. },
  39620. "buychargealgorithmvalue": {
  39621. "description": "买方手续费设置值(交易所部分)",
  39622. "type": "number"
  39623. },
  39624. "buychargealgorithmvalue2": {
  39625. "description": "买方手续费设置值(会员部分)",
  39626. "type": "number"
  39627. },
  39628. "buychargealgorithmvalue3": {
  39629. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  39630. "type": "number"
  39631. },
  39632. "buychargealgorithmvalue4": {
  39633. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  39634. "type": "number"
  39635. },
  39636. "buyfirstmarginalgorithm": {
  39637. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  39638. "type": "integer"
  39639. },
  39640. "buyfirstmarginvalue": {
  39641. "description": "买方出价保证金设置值 - [竞拍]",
  39642. "type": "number"
  39643. },
  39644. "buymarginalgorithm": {
  39645. "description": "买方保证金方式 - 1:比率 2:固定",
  39646. "type": "integer"
  39647. },
  39648. "buymarginvalue": {
  39649. "description": "买方保证金设置值",
  39650. "type": "number"
  39651. },
  39652. "buyreleaseratio": {
  39653. "description": "买方释放比率[2:分步履约]",
  39654. "type": "number"
  39655. },
  39656. "executemode": {
  39657. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  39658. "type": "integer"
  39659. },
  39660. "executeside": {
  39661. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  39662. "type": "integer"
  39663. },
  39664. "failedchargealgorithm": {
  39665. "description": "流拍手续费收取方式 1:比率 2:固定",
  39666. "type": "integer"
  39667. },
  39668. "failedchargevalue": {
  39669. "description": "流拍手续费设置值",
  39670. "type": "number"
  39671. },
  39672. "failedchargevalue2": {
  39673. "description": "流拍卖方手续费设置值",
  39674. "type": "number"
  39675. },
  39676. "holddays": {
  39677. "description": "合同期限[2:分步履约]",
  39678. "type": "integer"
  39679. },
  39680. "listingmode": {
  39681. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  39682. "type": "integer"
  39683. },
  39684. "marketid": {
  39685. "description": "市场ID-仓单贸易、竞拍、预售",
  39686. "type": "integer"
  39687. },
  39688. "minqty": {
  39689. "description": "最小执行量[2:分步履约]",
  39690. "type": "number"
  39691. },
  39692. "modifierid": {
  39693. "description": "修改人",
  39694. "type": "integer"
  39695. },
  39696. "nowrquotaflag": {
  39697. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  39698. "type": "integer"
  39699. },
  39700. "performancetempid": {
  39701. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39702. "type": "integer"
  39703. },
  39704. "performancetempid2": {
  39705. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39706. "type": "integer"
  39707. },
  39708. "performancetempid2s": {
  39709. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39710. "type": "string"
  39711. },
  39712. "performancetempids": {
  39713. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39714. "type": "string"
  39715. },
  39716. "performanceway": {
  39717. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  39718. "type": "integer"
  39719. },
  39720. "sellchargealgorithm": {
  39721. "description": "卖方手续费收取方式 1:比率 2:固定",
  39722. "type": "integer"
  39723. },
  39724. "sellchargealgorithm2": {
  39725. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39726. "type": "integer"
  39727. },
  39728. "sellchargealgorithmvalue": {
  39729. "description": "卖方手续费设置值(交易所部分)",
  39730. "type": "number"
  39731. },
  39732. "sellchargealgorithmvalue2": {
  39733. "description": "卖方手续费设置值(会员部分)",
  39734. "type": "number"
  39735. },
  39736. "sellchargealgorithmvalue3": {
  39737. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  39738. "type": "number"
  39739. },
  39740. "sellchargealgorithmvalue4": {
  39741. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  39742. "type": "number"
  39743. },
  39744. "sellmarginalgorithm": {
  39745. "description": "卖方保证金方式 - 1:比率 2:固定",
  39746. "type": "integer"
  39747. },
  39748. "sellmarginvalue": {
  39749. "description": "卖方保证金设置值",
  39750. "type": "number"
  39751. },
  39752. "sellmarginvalue2": {
  39753. "description": "卖方保证金设置值(无仓单)",
  39754. "type": "number"
  39755. },
  39756. "sellreleaseratio": {
  39757. "description": "卖方释放比率[2:分步履约]",
  39758. "type": "number"
  39759. },
  39760. "updatetime": {
  39761. "description": "更新时间",
  39762. "type": "string"
  39763. }
  39764. }
  39765. },
  39766. "models.WrOrderDetail": {
  39767. "type": "object",
  39768. "properties": {
  39769. "accountid": {
  39770. "description": "交易账号(资金账号)",
  39771. "type": "integer"
  39772. },
  39773. "allfriendsflag": {
  39774. "description": "是否全好友可见 - 0:否 1:是",
  39775. "type": "integer"
  39776. },
  39777. "amount": {
  39778. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  39779. "type": "number"
  39780. },
  39781. "bannerpicurl": {
  39782. "description": "Banner图",
  39783. "type": "string"
  39784. },
  39785. "begindate": {
  39786. "description": "开始交易日(yyyymmdd)",
  39787. "type": "string"
  39788. },
  39789. "buyorsell": {
  39790. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  39791. "type": "integer"
  39792. },
  39793. "canbargain": {
  39794. "description": "是否可议价 - 0:不可 1:可",
  39795. "type": "integer"
  39796. },
  39797. "cancelqty": {
  39798. "description": "撤销数量",
  39799. "type": "number"
  39800. },
  39801. "canpart": {
  39802. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  39803. "type": "integer"
  39804. },
  39805. "delistminqty": {
  39806. "description": "起摘数量",
  39807. "type": "integer"
  39808. },
  39809. "deliverygoodscode": {
  39810. "description": "品种代码",
  39811. "type": "string"
  39812. },
  39813. "deliverygoodsid": {
  39814. "description": "品种ID",
  39815. "type": "integer"
  39816. },
  39817. "deliverygoodsname": {
  39818. "description": "品种名称",
  39819. "type": "string"
  39820. },
  39821. "deliverymonth": {
  39822. "description": "交收月",
  39823. "type": "string"
  39824. },
  39825. "enddate": {
  39826. "description": "结束交易日(yyyymmdd)",
  39827. "type": "string"
  39828. },
  39829. "enumdicname": {
  39830. "description": "单位名称",
  39831. "type": "string"
  39832. },
  39833. "fixedprice": {
  39834. "description": "固定价格 - [挂牌]",
  39835. "type": "number"
  39836. },
  39837. "freezecharge": {
  39838. "description": "冻结手续费",
  39839. "type": "number"
  39840. },
  39841. "freezemargin": {
  39842. "description": "冻结保证金(保证金)",
  39843. "type": "number"
  39844. },
  39845. "futupricemove": {
  39846. "description": "期货升贴水",
  39847. "type": "number"
  39848. },
  39849. "futushow": {
  39850. "description": "期货合约/升贴水",
  39851. "type": "string"
  39852. },
  39853. "goodscode": {
  39854. "description": "期货合约",
  39855. "type": "string"
  39856. },
  39857. "goodsid": {
  39858. "description": "期货商品id",
  39859. "type": "integer"
  39860. },
  39861. "goodsname": {
  39862. "description": "商品名称",
  39863. "type": "string"
  39864. },
  39865. "haswr": {
  39866. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  39867. "type": "integer"
  39868. },
  39869. "isspecified": {
  39870. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  39871. "type": "integer"
  39872. },
  39873. "ladingbillid": {
  39874. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39875. "type": "string"
  39876. },
  39877. "marginvalue": {
  39878. "description": "保证金设置值(履约保证金)",
  39879. "type": "number"
  39880. },
  39881. "marketid": {
  39882. "description": "市场ID",
  39883. "type": "integer"
  39884. },
  39885. "matchusername": {
  39886. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  39887. "type": "string"
  39888. },
  39889. "minivalue": {
  39890. "description": "现货商品最小变动值",
  39891. "type": "integer"
  39892. },
  39893. "optioncompare": {
  39894. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39895. "type": "string"
  39896. },
  39897. "orderqty": {
  39898. "description": "委托数量",
  39899. "type": "number"
  39900. },
  39901. "ordertime": {
  39902. "description": "委托时间(挂牌时间)",
  39903. "type": "string"
  39904. },
  39905. "performancetemplateid": {
  39906. "description": "履约模板id",
  39907. "type": "integer"
  39908. },
  39909. "pricemove": {
  39910. "description": "升贴水(浮动价时填写) - [挂牌]",
  39911. "type": "number"
  39912. },
  39913. "taname": {
  39914. "description": "交易用户名称(资金账号名称)",
  39915. "type": "string"
  39916. },
  39917. "thumurls": {
  39918. "description": "缩略图",
  39919. "type": "string"
  39920. },
  39921. "tradedate": {
  39922. "description": "交易日(yyyyMMdd)",
  39923. "type": "string"
  39924. },
  39925. "tradeprice": {
  39926. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  39927. "type": "number"
  39928. },
  39929. "tradeqty": {
  39930. "description": "成交数量",
  39931. "type": "number"
  39932. },
  39933. "userid": {
  39934. "description": "用户ID",
  39935. "type": "integer"
  39936. },
  39937. "validtime": {
  39938. "description": "挂牌有效期",
  39939. "type": "string"
  39940. },
  39941. "validtype": {
  39942. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  39943. "type": "integer"
  39944. },
  39945. "warehouseid": {
  39946. "description": "仓库ID",
  39947. "type": "integer"
  39948. },
  39949. "warehousename": {
  39950. "description": "仓库名称",
  39951. "type": "string"
  39952. },
  39953. "wrfactortypeid": {
  39954. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39955. "type": "string"
  39956. },
  39957. "wrfactortypename": {
  39958. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39959. "type": "string"
  39960. },
  39961. "wrpricetype": {
  39962. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  39963. "type": "integer"
  39964. },
  39965. "wrstandardcode": {
  39966. "description": "现货商品代码",
  39967. "type": "string"
  39968. },
  39969. "wrstandardid": {
  39970. "description": "现货商品ID",
  39971. "type": "integer"
  39972. },
  39973. "wrstandardname": {
  39974. "description": "商品名称",
  39975. "type": "string"
  39976. },
  39977. "wrtradeorderid": {
  39978. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39979. "type": "string"
  39980. },
  39981. "wrtradeorderstatus": {
  39982. "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:撤单解冻贷款失败",
  39983. "type": "integer"
  39984. },
  39985. "wrtradetype": {
  39986. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39987. "type": "integer"
  39988. },
  39989. "wrtypename": {
  39990. "description": "商品",
  39991. "type": "string"
  39992. }
  39993. }
  39994. },
  39995. "models.WrOrderQuote": {
  39996. "type": "object",
  39997. "properties": {
  39998. "bannerpicurl": {
  39999. "description": "Banner图",
  40000. "type": "string"
  40001. },
  40002. "buyprice": {
  40003. "description": "买价",
  40004. "type": "number"
  40005. },
  40006. "buypricemove": {
  40007. "description": "买升贴水(基差)",
  40008. "type": "number"
  40009. },
  40010. "buyqty": {
  40011. "description": "买量",
  40012. "type": "number"
  40013. },
  40014. "deliverygoodscode": {
  40015. "description": "品种代码",
  40016. "type": "string"
  40017. },
  40018. "deliverygoodsid": {
  40019. "description": "品种id",
  40020. "type": "integer"
  40021. },
  40022. "deliverygoodsname": {
  40023. "description": "品种名称",
  40024. "type": "string"
  40025. },
  40026. "deliverymonth": {
  40027. "description": "交收月",
  40028. "type": "string"
  40029. },
  40030. "enumdicname": {
  40031. "description": "单位名称",
  40032. "type": "string"
  40033. },
  40034. "goodscode": {
  40035. "description": "商品合约(浮动价列表才有)",
  40036. "type": "string"
  40037. },
  40038. "goodsid": {
  40039. "description": "商品id(浮动价列表才有)",
  40040. "type": "integer"
  40041. },
  40042. "minivalue": {
  40043. "description": "现货商品最小变动值",
  40044. "type": "integer"
  40045. },
  40046. "pictureurls": {
  40047. "description": "详情图片(逗号分隔)",
  40048. "type": "string"
  40049. },
  40050. "sellprice": {
  40051. "description": "卖价",
  40052. "type": "number"
  40053. },
  40054. "sellpricemove": {
  40055. "description": "卖升贴水(基差)",
  40056. "type": "number"
  40057. },
  40058. "sellqty": {
  40059. "description": "卖量",
  40060. "type": "number"
  40061. },
  40062. "thumurls": {
  40063. "description": "缩略图片(1:1)(逗号分隔)",
  40064. "type": "string"
  40065. },
  40066. "warehousecode": {
  40067. "description": "仓库代码",
  40068. "type": "string"
  40069. },
  40070. "warehouseid": {
  40071. "description": "仓库id",
  40072. "type": "integer"
  40073. },
  40074. "warehousename": {
  40075. "description": "仓库名称",
  40076. "type": "string"
  40077. },
  40078. "wrfactortypeid": {
  40079. "description": "仓单要素id",
  40080. "type": "string"
  40081. },
  40082. "wrfactortypename": {
  40083. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40084. "type": "string"
  40085. },
  40086. "wrgoodsname": {
  40087. "description": "商品(商品名称+仓库要素名称 拼接)",
  40088. "type": "string"
  40089. },
  40090. "wrstandardcode": {
  40091. "description": "商品代码",
  40092. "type": "string"
  40093. },
  40094. "wrstandardid": {
  40095. "description": "商品id",
  40096. "type": "integer"
  40097. },
  40098. "wrstandardname": {
  40099. "description": "商品名称",
  40100. "type": "string"
  40101. }
  40102. }
  40103. },
  40104. "models.WrOrderQuoteDetail": {
  40105. "type": "object",
  40106. "properties": {
  40107. "buyorsell": {
  40108. "description": "买卖 - 0:买 1:卖",
  40109. "type": "integer"
  40110. },
  40111. "delistminqty": {
  40112. "description": "起摘数量",
  40113. "type": "number"
  40114. },
  40115. "deliverymonth": {
  40116. "description": "交收月",
  40117. "type": "string"
  40118. },
  40119. "enumdicname": {
  40120. "description": "单位名称",
  40121. "type": "string"
  40122. },
  40123. "fixedprice": {
  40124. "description": "买(卖)价",
  40125. "type": "number"
  40126. },
  40127. "marketid": {
  40128. "description": "市场id",
  40129. "type": "integer"
  40130. },
  40131. "minivalue": {
  40132. "description": "现货商品最小变动值",
  40133. "type": "integer"
  40134. },
  40135. "orderqty": {
  40136. "description": "买(卖)量(=委托量-成交量)",
  40137. "type": "number"
  40138. },
  40139. "ordertime": {
  40140. "description": "委托时间",
  40141. "type": "string"
  40142. },
  40143. "pricemove": {
  40144. "description": "买(卖)升贴水- 基差",
  40145. "type": "number"
  40146. },
  40147. "userid": {
  40148. "description": "购买方(销售方)用户ID",
  40149. "type": "integer"
  40150. },
  40151. "username": {
  40152. "description": "购买方(销售方)",
  40153. "type": "string"
  40154. },
  40155. "wrtradeorderid": {
  40156. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40157. "type": "string"
  40158. }
  40159. }
  40160. },
  40161. "models.WrOutInApply": {
  40162. "type": "object",
  40163. "properties": {
  40164. "applyid": {
  40165. "description": "申请单id",
  40166. "type": "string"
  40167. },
  40168. "applystatus": {
  40169. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  40170. "type": "integer"
  40171. },
  40172. "applytime": {
  40173. "description": "申请时间",
  40174. "type": "string"
  40175. },
  40176. "applytype": {
  40177. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  40178. "type": "integer"
  40179. },
  40180. "bannerpicurl": {
  40181. "description": "Banner图",
  40182. "type": "string"
  40183. },
  40184. "begindate": {
  40185. "description": "开始交易日(yyyymmdd)",
  40186. "type": "string"
  40187. },
  40188. "deliverygoodscode": {
  40189. "description": "品种代码",
  40190. "type": "string"
  40191. },
  40192. "deliverygoodsid": {
  40193. "description": "品种ID",
  40194. "type": "integer"
  40195. },
  40196. "deliverygoodsname": {
  40197. "description": "品种名称",
  40198. "type": "string"
  40199. },
  40200. "enddate": {
  40201. "description": "结束交易日(yyyymmdd)",
  40202. "type": "string"
  40203. },
  40204. "enumdicname": {
  40205. "description": "单位名称",
  40206. "type": "string"
  40207. },
  40208. "expresscompany": {
  40209. "description": "物流公司",
  40210. "type": "string"
  40211. },
  40212. "expressnum": {
  40213. "description": "物流单号",
  40214. "type": "string"
  40215. },
  40216. "minivalue": {
  40217. "description": "现货商品最小变动值",
  40218. "type": "integer"
  40219. },
  40220. "optioncompare": {
  40221. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40222. "type": "string"
  40223. },
  40224. "qty": {
  40225. "description": "数量",
  40226. "type": "integer"
  40227. },
  40228. "userid": {
  40229. "description": "用户id",
  40230. "type": "integer"
  40231. },
  40232. "warehouseid": {
  40233. "description": "仓库ID",
  40234. "type": "integer"
  40235. },
  40236. "warehousename": {
  40237. "description": "仓库名称",
  40238. "type": "string"
  40239. },
  40240. "wrfactortypeid": {
  40241. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40242. "type": "string"
  40243. },
  40244. "wrfactortypename": {
  40245. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40246. "type": "string"
  40247. },
  40248. "wrstandardcode": {
  40249. "description": "现货商品代码",
  40250. "type": "string"
  40251. },
  40252. "wrstandardid": {
  40253. "description": "现货商品ID",
  40254. "type": "integer"
  40255. },
  40256. "wrstandardname": {
  40257. "description": "商品名称",
  40258. "type": "string"
  40259. },
  40260. "wrtypename": {
  40261. "description": "商品",
  40262. "type": "string"
  40263. }
  40264. }
  40265. },
  40266. "models.WrPerformancePlan": {
  40267. "type": "object",
  40268. "required": [
  40269. "userid"
  40270. ],
  40271. "properties": {
  40272. "activatemonth": {
  40273. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  40274. "type": "string"
  40275. },
  40276. "amount": {
  40277. "description": "履约金额(总金额)",
  40278. "type": "number"
  40279. },
  40280. "begindate": {
  40281. "description": "开始交易日(yyyymmdd)",
  40282. "type": "string"
  40283. },
  40284. "buyaccountid": {
  40285. "description": "买方账号",
  40286. "type": "integer"
  40287. },
  40288. "buyerfreezeamount": {
  40289. "description": "履约冻结(买履约)",
  40290. "type": "number"
  40291. },
  40292. "buyerfreezeamountremain": {
  40293. "description": "履约冻结剩余(买履约)",
  40294. "type": "number"
  40295. },
  40296. "buyorsell": {
  40297. "description": "买卖方向 0-买 1-卖",
  40298. "type": "integer"
  40299. },
  40300. "buypaidamount": {
  40301. "description": "买方已冻/已扣金额 (已付金额)",
  40302. "type": "number"
  40303. },
  40304. "buyusername": {
  40305. "description": "买方名字",
  40306. "type": "string"
  40307. },
  40308. "contractid": {
  40309. "description": "合同ID",
  40310. "type": "integer"
  40311. },
  40312. "createtime": {
  40313. "description": "创建时间",
  40314. "type": "string"
  40315. },
  40316. "creatorid": {
  40317. "description": "创建人",
  40318. "type": "integer"
  40319. },
  40320. "curstepdeadline": {
  40321. "description": "当前步骤到期时间",
  40322. "type": "string"
  40323. },
  40324. "curstepid": {
  40325. "description": "当前步骤ID",
  40326. "type": "string"
  40327. },
  40328. "curstepname": {
  40329. "description": "当前步骤名称",
  40330. "type": "string"
  40331. },
  40332. "deliverygoodscode": {
  40333. "description": "品种代码",
  40334. "type": "string"
  40335. },
  40336. "deliverygoodsid": {
  40337. "description": "品种ID",
  40338. "type": "integer"
  40339. },
  40340. "deliverygoodsname": {
  40341. "description": "品种名称",
  40342. "type": "string"
  40343. },
  40344. "enddate": {
  40345. "description": "结束交易日(yyyymmdd)",
  40346. "type": "string"
  40347. },
  40348. "enumdicname": {
  40349. "description": "单位名称",
  40350. "type": "string"
  40351. },
  40352. "expressfee": {
  40353. "description": "运费",
  40354. "type": "number"
  40355. },
  40356. "expressfeeconfirmed": {
  40357. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  40358. "type": "integer"
  40359. },
  40360. "hasovershort": {
  40361. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  40362. "type": "integer"
  40363. },
  40364. "haswr": {
  40365. "description": "类型 0-仓单预售 1-仓单贸易",
  40366. "type": "integer"
  40367. },
  40368. "marketid": {
  40369. "description": "市场ID",
  40370. "type": "integer"
  40371. },
  40372. "middleaccountid": {
  40373. "description": "中间商资金账号ID",
  40374. "type": "integer"
  40375. },
  40376. "middleuserid": {
  40377. "description": "中间商用户ID",
  40378. "type": "integer"
  40379. },
  40380. "minivalue": {
  40381. "description": "现货商品最小变动值",
  40382. "type": "integer"
  40383. },
  40384. "optioncompare": {
  40385. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40386. "type": "string"
  40387. },
  40388. "overshortamount": {
  40389. "description": "溢短金额",
  40390. "type": "number"
  40391. },
  40392. "overshortqty": {
  40393. "description": "溢短数量",
  40394. "type": "number"
  40395. },
  40396. "paymenttype": {
  40397. "description": "付款方式 - 1:冻结 2:扣款",
  40398. "type": "integer"
  40399. },
  40400. "performanceplanid": {
  40401. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  40402. "type": "string"
  40403. },
  40404. "performancestatus": {
  40405. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  40406. "type": "integer"
  40407. },
  40408. "performancetype": {
  40409. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  40410. "type": "integer"
  40411. },
  40412. "qty": {
  40413. "description": "履约数量",
  40414. "type": "number"
  40415. },
  40416. "relatedorderid": {
  40417. "description": "关联单号(履约类型的关联单号)",
  40418. "type": "string"
  40419. },
  40420. "remark": {
  40421. "description": "备注",
  40422. "type": "string"
  40423. },
  40424. "sellaccountid": {
  40425. "description": "卖方账号",
  40426. "type": "integer"
  40427. },
  40428. "sellerfreezeamount": {
  40429. "description": "履约冻结(卖履约)",
  40430. "type": "number"
  40431. },
  40432. "sellerfreezeamountremain": {
  40433. "description": "履约冻结剩余(卖履约)",
  40434. "type": "number"
  40435. },
  40436. "sellreceivedamount": {
  40437. "description": "卖方已收金额",
  40438. "type": "number"
  40439. },
  40440. "sellusername": {
  40441. "description": "卖方名字",
  40442. "type": "string"
  40443. },
  40444. "shipremark": {
  40445. "description": "发货备注[物流单号]",
  40446. "type": "string"
  40447. },
  40448. "starttime": {
  40449. "description": "开始时间",
  40450. "type": "string"
  40451. },
  40452. "steptypeid": {
  40453. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40454. "type": "integer"
  40455. },
  40456. "typename": {
  40457. "description": "履约类型 名称",
  40458. "type": "string"
  40459. },
  40460. "unpaidamount": {
  40461. "description": "剩余款(待支付金额)",
  40462. "type": "number"
  40463. },
  40464. "userid": {
  40465. "description": "用户id",
  40466. "type": "integer"
  40467. },
  40468. "warehouseid": {
  40469. "description": "仓库ID",
  40470. "type": "integer"
  40471. },
  40472. "warehousename": {
  40473. "description": "仓库名称",
  40474. "type": "string"
  40475. },
  40476. "wrfactortypeid": {
  40477. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40478. "type": "string"
  40479. },
  40480. "wrfactortypename": {
  40481. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40482. "type": "string"
  40483. },
  40484. "wrstandardcode": {
  40485. "description": "现货商品代码",
  40486. "type": "string"
  40487. },
  40488. "wrstandardid": {
  40489. "description": "现货商品ID",
  40490. "type": "integer"
  40491. },
  40492. "wrstandardname": {
  40493. "description": "商品名称",
  40494. "type": "string"
  40495. },
  40496. "wrtransferuserid": {
  40497. "description": "仓单受让用户",
  40498. "type": "integer"
  40499. },
  40500. "wrtypename": {
  40501. "description": "商品",
  40502. "type": "string"
  40503. }
  40504. }
  40505. },
  40506. "models.WrPerformancePlanStep": {
  40507. "type": "object",
  40508. "properties": {
  40509. "delaydays": {
  40510. "description": "延期申请天数",
  40511. "type": "integer"
  40512. },
  40513. "deliverygoodscode": {
  40514. "description": "品种代码",
  40515. "type": "string"
  40516. },
  40517. "deliverygoodsid": {
  40518. "description": "品种ID",
  40519. "type": "integer"
  40520. },
  40521. "deliverygoodsname": {
  40522. "description": "品种名称",
  40523. "type": "string"
  40524. },
  40525. "endtime": {
  40526. "description": "结束日期",
  40527. "type": "string"
  40528. },
  40529. "enumdicname": {
  40530. "description": "单位名称",
  40531. "type": "string"
  40532. },
  40533. "executeside": {
  40534. "description": "步骤执行方 - 1:买方 2:卖方",
  40535. "type": "integer"
  40536. },
  40537. "handlestatus": {
  40538. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  40539. "type": "integer"
  40540. },
  40541. "isauto": {
  40542. "description": "是否自动 - 0:不自动 1:自动",
  40543. "type": "integer"
  40544. },
  40545. "islastreceivestep": {
  40546. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  40547. "type": "integer"
  40548. },
  40549. "minivalue": {
  40550. "description": "现货商品最小变动值",
  40551. "type": "integer"
  40552. },
  40553. "optioncompare": {
  40554. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40555. "type": "string"
  40556. },
  40557. "overdays": {
  40558. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  40559. "type": "integer"
  40560. },
  40561. "performancestepid": {
  40562. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  40563. "type": "string"
  40564. },
  40565. "planid": {
  40566. "description": "所属履约计划ID",
  40567. "type": "string"
  40568. },
  40569. "realamount": {
  40570. "description": "实际完成金额",
  40571. "type": "number"
  40572. },
  40573. "relatedorderid": {
  40574. "description": "关联单号",
  40575. "type": "string"
  40576. },
  40577. "remaindays": {
  40578. "description": "剩余天数",
  40579. "type": "integer"
  40580. },
  40581. "remark": {
  40582. "description": "错误备注",
  40583. "type": "string"
  40584. },
  40585. "starttime": {
  40586. "description": "开始日期",
  40587. "type": "string"
  40588. },
  40589. "stepamount": {
  40590. "description": "步骤金额",
  40591. "type": "number"
  40592. },
  40593. "stepdays": {
  40594. "description": "距离上一步天数(分钟)",
  40595. "type": "integer"
  40596. },
  40597. "stepindex": {
  40598. "description": "步骤序号",
  40599. "type": "integer"
  40600. },
  40601. "steplanchtype": {
  40602. "description": "步骤启动类型 - 1:系统自动 2:手动",
  40603. "type": "integer"
  40604. },
  40605. "stepremark": {
  40606. "description": "步骤备注",
  40607. "type": "string"
  40608. },
  40609. "stepstatus": {
  40610. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  40611. "type": "integer"
  40612. },
  40613. "steptypeid": {
  40614. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40615. "type": "integer"
  40616. },
  40617. "steptypename": {
  40618. "description": "步骤名称",
  40619. "type": "string"
  40620. },
  40621. "stepvalue": {
  40622. "description": "步骤值",
  40623. "type": "number"
  40624. },
  40625. "warehouseid": {
  40626. "description": "仓库ID",
  40627. "type": "integer"
  40628. },
  40629. "warehousename": {
  40630. "description": "仓库名称",
  40631. "type": "string"
  40632. },
  40633. "wrfactortypeid": {
  40634. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40635. "type": "string"
  40636. },
  40637. "wrfactortypename": {
  40638. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40639. "type": "string"
  40640. },
  40641. "wrstandardcode": {
  40642. "description": "现货商品代码",
  40643. "type": "string"
  40644. },
  40645. "wrstandardid": {
  40646. "description": "现货商品ID",
  40647. "type": "integer"
  40648. },
  40649. "wrstandardname": {
  40650. "description": "商品名称",
  40651. "type": "string"
  40652. },
  40653. "wrtypename": {
  40654. "description": "商品",
  40655. "type": "string"
  40656. }
  40657. }
  40658. },
  40659. "models.WrPerformanceStepType": {
  40660. "type": "object",
  40661. "properties": {
  40662. "canauto": {
  40663. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  40664. "type": "integer"
  40665. },
  40666. "steptypeid": {
  40667. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  40668. "type": "integer"
  40669. },
  40670. "steptypename": {
  40671. "description": "步骤类型名称",
  40672. "type": "string"
  40673. }
  40674. }
  40675. },
  40676. "models.WrPerformanceTemplateEx": {
  40677. "type": "object",
  40678. "properties": {
  40679. "autoid": {
  40680. "description": "AutoID 模板id",
  40681. "type": "integer"
  40682. },
  40683. "createtime": {
  40684. "description": "创建时间",
  40685. "type": "string"
  40686. },
  40687. "creatorid": {
  40688. "description": "创建人",
  40689. "type": "integer"
  40690. },
  40691. "lstStep": {
  40692. "description": "步骤信息列表",
  40693. "type": "array",
  40694. "items": {
  40695. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40696. }
  40697. },
  40698. "paymenttype": {
  40699. "description": "支付方式 - 1:冻结 2:扣款",
  40700. "type": "integer"
  40701. },
  40702. "takemode": {
  40703. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  40704. "type": "integer"
  40705. },
  40706. "templatename": {
  40707. "description": "模板名称",
  40708. "type": "string"
  40709. },
  40710. "templatetype": {
  40711. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  40712. "type": "integer"
  40713. },
  40714. "userid": {
  40715. "description": "所属用户",
  40716. "type": "integer"
  40717. }
  40718. }
  40719. },
  40720. "models.WrPosition": {
  40721. "type": "object",
  40722. "properties": {
  40723. "accountid": {
  40724. "description": "帐户ID",
  40725. "type": "integer"
  40726. },
  40727. "buyexcuteqty": {
  40728. "description": "采购履约中数量",
  40729. "type": "number"
  40730. },
  40731. "creditcurqty": {
  40732. "description": "授信当前数量(预售仓单:预售当前量)",
  40733. "type": "number"
  40734. },
  40735. "creditenableqty": {
  40736. "description": "授信可用数量(预售仓单: 可用数量)",
  40737. "type": "number"
  40738. },
  40739. "creditfreezeqty": {
  40740. "description": "授信冻结数量(预售仓单: 当前数量)",
  40741. "type": "number"
  40742. },
  40743. "credittotalqty": {
  40744. "description": "授信总数量(预售仓单:预售总量)",
  40745. "type": "number"
  40746. },
  40747. "credittradeqty": {
  40748. "description": "授信成交数量(预售仓单:成交总量)",
  40749. "type": "number"
  40750. },
  40751. "deliverygoodscode": {
  40752. "description": "品种代码",
  40753. "type": "string"
  40754. },
  40755. "deliverygoodsid": {
  40756. "description": "品种ID",
  40757. "type": "integer"
  40758. },
  40759. "deliverygoodsname": {
  40760. "description": "品种名称",
  40761. "type": "string"
  40762. },
  40763. "enalbeqty": {
  40764. "description": "可用数量",
  40765. "type": "number"
  40766. },
  40767. "enumdicname": {
  40768. "description": "单位名称",
  40769. "type": "string"
  40770. },
  40771. "freezeqty": {
  40772. "description": "总冻结数量",
  40773. "type": "number"
  40774. },
  40775. "haswr": {
  40776. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  40777. "type": "integer"
  40778. },
  40779. "minivalue": {
  40780. "description": "现货商品最小变动值",
  40781. "type": "integer"
  40782. },
  40783. "modifytime": {
  40784. "description": "修改时间(过户时间)",
  40785. "type": "string"
  40786. },
  40787. "optioncompare": {
  40788. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40789. "type": "string"
  40790. },
  40791. "pledgeqty": {
  40792. "description": "质押数量",
  40793. "type": "number"
  40794. },
  40795. "querytype": {
  40796. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  40797. "type": "integer"
  40798. },
  40799. "sellexcuteqty": {
  40800. "description": "销售履约中数量",
  40801. "type": "number"
  40802. },
  40803. "totalqty": {
  40804. "description": "总数量(库存数量)",
  40805. "type": "number"
  40806. },
  40807. "warehouseid": {
  40808. "description": "仓库ID",
  40809. "type": "integer"
  40810. },
  40811. "warehousename": {
  40812. "description": "仓库名称",
  40813. "type": "string"
  40814. },
  40815. "wrfactortypeid": {
  40816. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40817. "type": "string"
  40818. },
  40819. "wrfactortypename": {
  40820. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40821. "type": "string"
  40822. },
  40823. "wrpositionid": {
  40824. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  40825. "type": "string"
  40826. },
  40827. "wrpositionno": {
  40828. "description": "仓单编号",
  40829. "type": "string"
  40830. },
  40831. "wrstandardcode": {
  40832. "description": "现货商品代码",
  40833. "type": "string"
  40834. },
  40835. "wrstandardid": {
  40836. "description": "现货商品ID",
  40837. "type": "integer"
  40838. },
  40839. "wrstandardname": {
  40840. "description": "商品名称",
  40841. "type": "string"
  40842. },
  40843. "wrtypename": {
  40844. "description": "商品",
  40845. "type": "string"
  40846. },
  40847. "wruserid": {
  40848. "description": "持有人ID",
  40849. "type": "integer"
  40850. }
  40851. }
  40852. },
  40853. "models.WrPreSaleInfo": {
  40854. "type": "object",
  40855. "properties": {
  40856. "bannerpicurl": {
  40857. "description": "Banner图",
  40858. "type": "string"
  40859. },
  40860. "baseqty": {
  40861. "description": "中签基数",
  40862. "type": "number"
  40863. },
  40864. "createtime": {
  40865. "description": "创建时间",
  40866. "type": "string"
  40867. },
  40868. "deliverygoodsid": {
  40869. "description": "现货品种ID",
  40870. "type": "integer"
  40871. },
  40872. "enddate": {
  40873. "description": "预售结束日期",
  40874. "type": "string"
  40875. },
  40876. "enumdicname": {
  40877. "description": "单位名称",
  40878. "type": "string"
  40879. },
  40880. "lotteryflag": {
  40881. "description": "摇号标识 - 0:未摇号 1:已摇号",
  40882. "type": "integer"
  40883. },
  40884. "lotteryqty": {
  40885. "description": "摇号总量",
  40886. "type": "number"
  40887. },
  40888. "luckyqty": {
  40889. "description": "已中签量",
  40890. "type": "number"
  40891. },
  40892. "marketid": {
  40893. "description": "市场ID",
  40894. "type": "integer"
  40895. },
  40896. "maxbuyqty": {
  40897. "description": "单人最大申购量",
  40898. "type": "number"
  40899. },
  40900. "maxluckyqty": {
  40901. "description": "单人最大中签量",
  40902. "type": "number"
  40903. },
  40904. "pictureurls": {
  40905. "description": "详情图片(逗号分隔)",
  40906. "type": "string"
  40907. },
  40908. "placeqty": {
  40909. "description": "已配售量",
  40910. "type": "number"
  40911. },
  40912. "presaleapplyid": {
  40913. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  40914. "type": "string",
  40915. "example": "0"
  40916. },
  40917. "presaleqty": {
  40918. "description": "预售总量",
  40919. "type": "number"
  40920. },
  40921. "presalestatus": {
  40922. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  40923. "type": "integer"
  40924. },
  40925. "sellaccountid": {
  40926. "description": "发行方资金账户ID",
  40927. "type": "integer"
  40928. },
  40929. "selluserid": {
  40930. "description": "发行方用户ID",
  40931. "type": "integer"
  40932. },
  40933. "sellwrtradeorderid": {
  40934. "description": "发行方卖委托单ID",
  40935. "type": "string"
  40936. },
  40937. "startdate": {
  40938. "description": "预售开始日期",
  40939. "type": "string"
  40940. },
  40941. "takestartdate": {
  40942. "description": "提货开始日期",
  40943. "type": "string"
  40944. },
  40945. "thumurls": {
  40946. "description": "缩略图片(1:1)(逗号分隔)",
  40947. "type": "string"
  40948. },
  40949. "tradedate": {
  40950. "description": "交易日",
  40951. "type": "string"
  40952. },
  40953. "unitid": {
  40954. "description": "单位ID",
  40955. "type": "integer"
  40956. },
  40957. "unitprice": {
  40958. "description": "商品单价",
  40959. "type": "number"
  40960. },
  40961. "username": {
  40962. "description": "发行方用户名称",
  40963. "type": "string"
  40964. },
  40965. "warehousecode": {
  40966. "description": "仓库代码(仓库简称)",
  40967. "type": "string"
  40968. },
  40969. "warehouseid": {
  40970. "description": "仓库ID",
  40971. "type": "integer"
  40972. },
  40973. "warehousename": {
  40974. "description": "仓库名称",
  40975. "type": "string"
  40976. },
  40977. "wrfactortypeid": {
  40978. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  40979. "type": "string",
  40980. "example": "0"
  40981. },
  40982. "wrstandardid": {
  40983. "description": "现货商品ID",
  40984. "type": "integer"
  40985. },
  40986. "wrstandardname": {
  40987. "description": "现货商品名称",
  40988. "type": "string"
  40989. }
  40990. }
  40991. },
  40992. "models.WrQuoteOrderMyq": {
  40993. "type": "object",
  40994. "properties": {
  40995. "buyorsell": {
  40996. "description": "买卖 - 0:买 1:卖",
  40997. "type": "integer"
  40998. },
  40999. "canbargain": {
  41000. "description": "是否可议价 - 0:不可 1:可",
  41001. "type": "integer"
  41002. },
  41003. "canpart": {
  41004. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  41005. "type": "integer"
  41006. },
  41007. "delistminqty": {
  41008. "description": "起摘数量",
  41009. "type": "number"
  41010. },
  41011. "deliverygoodscode": {
  41012. "description": "品种代码",
  41013. "type": "string"
  41014. },
  41015. "deliverygoodsid": {
  41016. "description": "品种ID",
  41017. "type": "integer"
  41018. },
  41019. "deliverygoodsname": {
  41020. "description": "品种名称",
  41021. "type": "string"
  41022. },
  41023. "deliverymonth": {
  41024. "description": "交收月",
  41025. "type": "string"
  41026. },
  41027. "enumdicname": {
  41028. "description": "单位名称",
  41029. "type": "string"
  41030. },
  41031. "fixedprice": {
  41032. "description": "买(卖)价",
  41033. "type": "number"
  41034. },
  41035. "goodscode": {
  41036. "description": "商品合约代码",
  41037. "type": "string"
  41038. },
  41039. "marginflag": {
  41040. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  41041. "type": "integer"
  41042. },
  41043. "marginvalue": {
  41044. "description": "保证金设置值",
  41045. "type": "number"
  41046. },
  41047. "minivalue": {
  41048. "description": "现货商品最小变动值",
  41049. "type": "integer"
  41050. },
  41051. "orderqty": {
  41052. "description": "买(卖)量(=委托量-成交量)",
  41053. "type": "number"
  41054. },
  41055. "ordertime": {
  41056. "description": "委托时间",
  41057. "type": "string"
  41058. },
  41059. "performancetemplateid": {
  41060. "description": "履约模板id",
  41061. "type": "integer"
  41062. },
  41063. "pricemove": {
  41064. "description": "买(卖)升贴水- 基差",
  41065. "type": "number"
  41066. },
  41067. "templatename": {
  41068. "description": "履约模板名称",
  41069. "type": "string"
  41070. },
  41071. "userid": {
  41072. "description": "购买方(销售方)用户ID",
  41073. "type": "integer"
  41074. },
  41075. "username": {
  41076. "description": "购买方(销售方)",
  41077. "type": "string"
  41078. },
  41079. "validtime": {
  41080. "description": "有效期限",
  41081. "type": "string"
  41082. },
  41083. "validtype": {
  41084. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  41085. "type": "integer"
  41086. },
  41087. "warehousename": {
  41088. "description": "仓库名称",
  41089. "type": "string"
  41090. },
  41091. "wrfactortypeid": {
  41092. "description": "仓单要素id",
  41093. "type": "string"
  41094. },
  41095. "wrstandardcode": {
  41096. "description": "现货商品代码",
  41097. "type": "string"
  41098. },
  41099. "wrstandardid": {
  41100. "description": "现货商品ID",
  41101. "type": "integer"
  41102. },
  41103. "wrstandardname": {
  41104. "description": "商品名称",
  41105. "type": "string"
  41106. },
  41107. "wrtradeorderid": {
  41108. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41109. "type": "string"
  41110. },
  41111. "wrtypename": {
  41112. "description": "商品",
  41113. "type": "string"
  41114. }
  41115. }
  41116. },
  41117. "models.WrReckonSpotGoodsTradeSum": {
  41118. "type": "object",
  41119. "properties": {
  41120. "begindate": {
  41121. "description": "开始日期(结果含开始日期) yyyymmdd",
  41122. "type": "string"
  41123. },
  41124. "enddate": {
  41125. "description": "结束日期(结果含结束日期) yyyymmdd",
  41126. "type": "string"
  41127. },
  41128. "istoday": {
  41129. "description": "是否当日",
  41130. "type": "boolean"
  41131. },
  41132. "marketid": {
  41133. "description": "市场ID",
  41134. "type": "integer"
  41135. },
  41136. "price": {
  41137. "description": "价格 = 日成交金额 / 日成交数量",
  41138. "type": "string"
  41139. },
  41140. "reckondate": {
  41141. "description": "日期 格式 yyyymmdd",
  41142. "type": "string"
  41143. },
  41144. "tradeamount": {
  41145. "description": "日成交金额(当日单方向成交金额)",
  41146. "type": "number"
  41147. },
  41148. "tradeqty": {
  41149. "description": "日成交数量(当日单方向成交数量)",
  41150. "type": "number"
  41151. },
  41152. "wrstandardid": {
  41153. "description": "现货商品ID",
  41154. "type": "integer"
  41155. }
  41156. }
  41157. },
  41158. "models.WrScfContract": {
  41159. "type": "object",
  41160. "properties": {
  41161. "borroweruserid": {
  41162. "description": "借款用户ID",
  41163. "type": "integer"
  41164. },
  41165. "buybackwrpositionqty": {
  41166. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  41167. "type": "number"
  41168. },
  41169. "closeinterest": {
  41170. "description": "已结利息 -\u003e 已结费用",
  41171. "type": "number"
  41172. },
  41173. "currisklevel": {
  41174. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  41175. "type": "integer"
  41176. },
  41177. "deadline": {
  41178. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  41179. "type": "string"
  41180. },
  41181. "deliverygoodscode": {
  41182. "description": "品种代码",
  41183. "type": "string"
  41184. },
  41185. "deliverygoodsid": {
  41186. "description": "品种ID",
  41187. "type": "integer"
  41188. },
  41189. "deliverygoodsname": {
  41190. "description": "品种名称",
  41191. "type": "string"
  41192. },
  41193. "enumdicname": {
  41194. "description": "单位名称",
  41195. "type": "string"
  41196. },
  41197. "financingdays": {
  41198. "description": "天数(天)",
  41199. "type": "integer"
  41200. },
  41201. "initmargin": {
  41202. "description": "保证金 - [仓单回购]",
  41203. "type": "number"
  41204. },
  41205. "interestamount": {
  41206. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  41207. "type": "number"
  41208. },
  41209. "interestdebt": {
  41210. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  41211. "type": "number"
  41212. },
  41213. "interestminlen": {
  41214. "description": "最小起息天数",
  41215. "type": "integer"
  41216. },
  41217. "interestrate": {
  41218. "description": "利率",
  41219. "type": "number"
  41220. },
  41221. "interestratemode": {
  41222. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  41223. "type": "integer"
  41224. },
  41225. "interestsettlemode": {
  41226. "description": "结息方式 - 1:按日结息 3:按月结息",
  41227. "type": "integer"
  41228. },
  41229. "interestsettlevalue": {
  41230. "description": "结息方式值",
  41231. "type": "integer"
  41232. },
  41233. "isautoloan": {
  41234. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  41235. "type": "integer"
  41236. },
  41237. "lastcloseinterestday": {
  41238. "description": "最近结息日(yyyyMMdd)",
  41239. "type": "string"
  41240. },
  41241. "lenderamount": {
  41242. "description": "贷款金额 -\u003e 借款金额",
  41243. "type": "number"
  41244. },
  41245. "lenderuserid": {
  41246. "description": "贷款方用户ID -\u003e 融出方用户ID",
  41247. "type": "integer"
  41248. },
  41249. "lenderusername": {
  41250. "description": "融出方",
  41251. "type": "string"
  41252. },
  41253. "marginratio": {
  41254. "description": "保证金比率质押率 - [仓单质押]",
  41255. "type": "number"
  41256. },
  41257. "marketid": {
  41258. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  41259. "type": "integer"
  41260. },
  41261. "minivalue": {
  41262. "description": "现货商品最小变动值",
  41263. "type": "integer"
  41264. },
  41265. "optioncompare": {
  41266. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41267. "type": "string"
  41268. },
  41269. "pricemove": {
  41270. "description": "估值升贴水值",
  41271. "type": "number"
  41272. },
  41273. "productdetailid": {
  41274. "description": "产品组合ID",
  41275. "type": "integer"
  41276. },
  41277. "productid": {
  41278. "description": "金融产品ID",
  41279. "type": "integer"
  41280. },
  41281. "productname": {
  41282. "description": "产品名称",
  41283. "type": "string"
  41284. },
  41285. "remainamount": {
  41286. "description": "合同剩余金额 -\u003e 剩余金额",
  41287. "type": "number"
  41288. },
  41289. "remainwrpositionqty": {
  41290. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  41291. "type": "number"
  41292. },
  41293. "remark": {
  41294. "description": "备注",
  41295. "type": "string"
  41296. },
  41297. "scfcontractid": {
  41298. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  41299. "type": "string"
  41300. },
  41301. "scfcontractstatus": {
  41302. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  41303. "type": "integer"
  41304. },
  41305. "scfcontracttype": {
  41306. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  41307. "type": "integer"
  41308. },
  41309. "startinterestday": {
  41310. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  41311. "type": "string"
  41312. },
  41313. "totalinterest": {
  41314. "description": "已计利息 -\u003e 已计费用",
  41315. "type": "number"
  41316. },
  41317. "unpaidinterest": {
  41318. "description": "未结费用",
  41319. "type": "number"
  41320. },
  41321. "updatetime": {
  41322. "description": "更新时间",
  41323. "type": "string"
  41324. },
  41325. "warehouseid": {
  41326. "description": "仓库ID",
  41327. "type": "integer"
  41328. },
  41329. "warehousename": {
  41330. "description": "仓库名称",
  41331. "type": "string"
  41332. },
  41333. "wrfactortypeid": {
  41334. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41335. "type": "string"
  41336. },
  41337. "wrfactortypename": {
  41338. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41339. "type": "string"
  41340. },
  41341. "wrqty": {
  41342. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  41343. "type": "number"
  41344. },
  41345. "wrstandardcode": {
  41346. "description": "现货商品代码",
  41347. "type": "string"
  41348. },
  41349. "wrstandardid": {
  41350. "description": "现货商品ID",
  41351. "type": "integer"
  41352. },
  41353. "wrstandardname": {
  41354. "description": "商品名称",
  41355. "type": "string"
  41356. },
  41357. "wrtypename": {
  41358. "description": "商品",
  41359. "type": "string"
  41360. }
  41361. }
  41362. },
  41363. "models.WrScfContractInterest": {
  41364. "type": "object",
  41365. "properties": {
  41366. "closeinterest": {
  41367. "description": "已结利息",
  41368. "type": "number"
  41369. },
  41370. "closeintereststatus": {
  41371. "description": "结息状态 - 1:未结 2:已结",
  41372. "type": "integer"
  41373. },
  41374. "closetime": {
  41375. "description": "结息时间",
  41376. "type": "string"
  41377. },
  41378. "closetradedate": {
  41379. "description": "结息交易日",
  41380. "type": "string"
  41381. },
  41382. "creatorid": {
  41383. "description": "操作人ID",
  41384. "type": "integer"
  41385. },
  41386. "dayrate": {
  41387. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  41388. "type": "number"
  41389. },
  41390. "interest": {
  41391. "description": "利息",
  41392. "type": "number"
  41393. },
  41394. "interestamount": {
  41395. "description": "计息金额",
  41396. "type": "number"
  41397. },
  41398. "interestday": {
  41399. "description": "计息日(yyyyMMdd)",
  41400. "type": "string"
  41401. },
  41402. "scfcontractid": {
  41403. "description": "SCF合同ID",
  41404. "type": "string"
  41405. },
  41406. "scfcontractinterestid": {
  41407. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  41408. "type": "integer"
  41409. },
  41410. "updatetime": {
  41411. "description": "更新时间",
  41412. "type": "string"
  41413. }
  41414. }
  41415. },
  41416. "models.WrSearchUser": {
  41417. "type": "object",
  41418. "required": [
  41419. "username"
  41420. ],
  41421. "properties": {
  41422. "userid": {
  41423. "description": "用户ID",
  41424. "type": "integer"
  41425. },
  41426. "username": {
  41427. "description": "用户名称(已脱敏)",
  41428. "type": "string"
  41429. },
  41430. "username2": {
  41431. "description": "用户名称(未脱敏)",
  41432. "type": "string"
  41433. },
  41434. "usertype": {
  41435. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  41436. "type": "integer"
  41437. }
  41438. }
  41439. },
  41440. "models.WrSiteColumnDetail": {
  41441. "type": "object",
  41442. "properties": {
  41443. "brief": {
  41444. "description": "简介",
  41445. "type": "string"
  41446. },
  41447. "context": {
  41448. "description": "内容",
  41449. "type": "string"
  41450. },
  41451. "coverimage": {
  41452. "description": "封面图片",
  41453. "type": "string"
  41454. },
  41455. "creaedate": {
  41456. "description": "创建时间",
  41457. "type": "string"
  41458. },
  41459. "id": {
  41460. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  41461. "type": "integer"
  41462. },
  41463. "istop": {
  41464. "description": "是否置顶 - 0:不置 1:置顶",
  41465. "type": "integer"
  41466. },
  41467. "publishdate": {
  41468. "description": "发布日期",
  41469. "type": "string"
  41470. },
  41471. "title": {
  41472. "description": "标题",
  41473. "type": "string"
  41474. },
  41475. "updatedate": {
  41476. "description": "修改时间",
  41477. "type": "string"
  41478. }
  41479. }
  41480. },
  41481. "models.WrSpecialMatchOrder": {
  41482. "type": "object",
  41483. "properties": {
  41484. "amount": {
  41485. "description": "金额 = 数量 * 价格",
  41486. "type": "number"
  41487. },
  41488. "buyorsell": {
  41489. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41490. "type": "integer"
  41491. },
  41492. "cancelqty": {
  41493. "description": "撤销数量",
  41494. "type": "number"
  41495. },
  41496. "deliverygoodscode": {
  41497. "description": "品种代码",
  41498. "type": "string"
  41499. },
  41500. "deliverygoodsid": {
  41501. "description": "品种ID",
  41502. "type": "integer"
  41503. },
  41504. "deliverygoodsname": {
  41505. "description": "品种名称",
  41506. "type": "string"
  41507. },
  41508. "enumdicname": {
  41509. "description": "单位名称",
  41510. "type": "string"
  41511. },
  41512. "fixedprice": {
  41513. "description": "固定价格(价格)",
  41514. "type": "number"
  41515. },
  41516. "haswr": {
  41517. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41518. "type": "integer"
  41519. },
  41520. "isspecified": {
  41521. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  41522. "type": "integer"
  41523. },
  41524. "marketid": {
  41525. "description": "市场ID",
  41526. "type": "integer"
  41527. },
  41528. "matchuserid": {
  41529. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  41530. "type": "integer"
  41531. },
  41532. "matchusername": {
  41533. "description": "指定方",
  41534. "type": "string"
  41535. },
  41536. "minivalue": {
  41537. "description": "现货商品最小变动值",
  41538. "type": "integer"
  41539. },
  41540. "optioncompare": {
  41541. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41542. "type": "string"
  41543. },
  41544. "orderqty": {
  41545. "description": "委托数量",
  41546. "type": "number"
  41547. },
  41548. "ordertime": {
  41549. "description": "委托时间",
  41550. "type": "string"
  41551. },
  41552. "pricemove": {
  41553. "description": "升贴水(浮动价时填写) - [挂牌]",
  41554. "type": "number"
  41555. },
  41556. "tradedate": {
  41557. "description": "交易日(yyyyMMdd)",
  41558. "type": "string"
  41559. },
  41560. "tradeprice": {
  41561. "description": "成交价格",
  41562. "type": "number"
  41563. },
  41564. "tradeqty": {
  41565. "description": "成交数量",
  41566. "type": "number"
  41567. },
  41568. "userid": {
  41569. "description": "用户ID",
  41570. "type": "integer"
  41571. },
  41572. "username": {
  41573. "description": "发起方",
  41574. "type": "string"
  41575. },
  41576. "warehouseid": {
  41577. "description": "仓库ID",
  41578. "type": "integer"
  41579. },
  41580. "warehousename": {
  41581. "description": "仓库名称",
  41582. "type": "string"
  41583. },
  41584. "wrfactortypeid": {
  41585. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41586. "type": "string"
  41587. },
  41588. "wrfactortypename": {
  41589. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41590. "type": "string"
  41591. },
  41592. "wrpricetype": {
  41593. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  41594. "type": "integer"
  41595. },
  41596. "wrstandardcode": {
  41597. "description": "现货商品代码",
  41598. "type": "string"
  41599. },
  41600. "wrstandardid": {
  41601. "description": "现货商品ID",
  41602. "type": "integer"
  41603. },
  41604. "wrstandardname": {
  41605. "description": "商品名称",
  41606. "type": "string"
  41607. },
  41608. "wrtradeorderid": {
  41609. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41610. "type": "string"
  41611. },
  41612. "wrtradeorderstatus": {
  41613. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  41614. "type": "integer"
  41615. },
  41616. "wrtradetype": {
  41617. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41618. "type": "integer"
  41619. },
  41620. "wrtypename": {
  41621. "description": "商品",
  41622. "type": "string"
  41623. }
  41624. }
  41625. },
  41626. "models.WrSpotGroupTradeSum": {
  41627. "type": "object",
  41628. "properties": {
  41629. "deliverygoodscode": {
  41630. "description": "现货品种代码",
  41631. "type": "string"
  41632. },
  41633. "deliverygoodsid": {
  41634. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41635. "type": "integer"
  41636. },
  41637. "deliverygoodsname": {
  41638. "description": "现货品种名称",
  41639. "type": "string"
  41640. },
  41641. "lastavgprice": {
  41642. "description": "上上个交易日价格(前2天价格)",
  41643. "type": "string"
  41644. },
  41645. "lastreckondate": {
  41646. "description": "上上个交易日(前2天交易日)",
  41647. "type": "string"
  41648. },
  41649. "reckondate": {
  41650. "description": "上个交易日(前1天交易日)",
  41651. "type": "string"
  41652. },
  41653. "todayavgprice": {
  41654. "description": "上个交易日价格(前1天价格)",
  41655. "type": "string"
  41656. },
  41657. "updown": {
  41658. "description": "涨跌",
  41659. "type": "string"
  41660. },
  41661. "updownratio": {
  41662. "description": "涨幅(已格式化, 直接显示即可)",
  41663. "type": "string"
  41664. }
  41665. }
  41666. },
  41667. "models.WrSpotGroupTradeSumDetail": {
  41668. "type": "object",
  41669. "properties": {
  41670. "deliverygoodsid": {
  41671. "description": "现货商品id",
  41672. "type": "integer"
  41673. },
  41674. "price": {
  41675. "description": "价格",
  41676. "type": "number"
  41677. },
  41678. "reckondate": {
  41679. "description": "日期(yyymmdd, 如:20211031)",
  41680. "type": "string"
  41681. }
  41682. }
  41683. },
  41684. "models.WrSpotGroupTradeSumEx": {
  41685. "type": "object",
  41686. "properties": {
  41687. "lst": {
  41688. "description": "指数列表",
  41689. "type": "array",
  41690. "items": {
  41691. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  41692. }
  41693. },
  41694. "prereckondate": {
  41695. "description": "上上个交易日(yyymmdd)",
  41696. "type": "string"
  41697. },
  41698. "reckondate": {
  41699. "description": "上个交易日(yyyymmdd)",
  41700. "type": "string"
  41701. }
  41702. }
  41703. },
  41704. "models.WrStandardFactoryItem": {
  41705. "type": "object",
  41706. "properties": {
  41707. "dgfactoryitemid": {
  41708. "description": "选择项id",
  41709. "type": "integer"
  41710. },
  41711. "dgfactoryitemvalue": {
  41712. "description": "要素项值",
  41713. "type": "string"
  41714. },
  41715. "warehouseid": {
  41716. "description": "仓库id",
  41717. "type": "integer"
  41718. }
  41719. }
  41720. },
  41721. "models.WrStandardFactoryItemEx": {
  41722. "type": "object",
  41723. "properties": {
  41724. "dgfactoryitemtypeid": {
  41725. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  41726. "type": "integer"
  41727. },
  41728. "itemlst": {
  41729. "description": "要素项列表",
  41730. "type": "array",
  41731. "items": {
  41732. "$ref": "#/definitions/models.WrStandardFactoryItem"
  41733. }
  41734. },
  41735. "itemtypename": {
  41736. "description": "要素项类型名称",
  41737. "type": "string"
  41738. },
  41739. "wrstandardid": {
  41740. "description": "品类",
  41741. "type": "integer"
  41742. }
  41743. }
  41744. },
  41745. "models.WrTradeDetail": {
  41746. "type": "object",
  41747. "properties": {
  41748. "accountid": {
  41749. "description": "资金账号",
  41750. "type": "integer"
  41751. },
  41752. "bannerpicurl": {
  41753. "description": "Banner图",
  41754. "type": "string"
  41755. },
  41756. "begindate": {
  41757. "description": "开始交易日(yyyymmdd)",
  41758. "type": "string"
  41759. },
  41760. "buyorsell": {
  41761. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41762. "type": "integer"
  41763. },
  41764. "chargevalue": {
  41765. "description": "手续费",
  41766. "type": "number"
  41767. },
  41768. "deliverygoodscode": {
  41769. "description": "品种代码",
  41770. "type": "string"
  41771. },
  41772. "deliverygoodsid": {
  41773. "description": "品种ID",
  41774. "type": "integer"
  41775. },
  41776. "deliverygoodsname": {
  41777. "description": "品种名称",
  41778. "type": "string"
  41779. },
  41780. "deliverymonth": {
  41781. "description": "交收月",
  41782. "type": "string"
  41783. },
  41784. "enddate": {
  41785. "description": "结束交易日(yyyymmdd)",
  41786. "type": "string"
  41787. },
  41788. "enumdicname": {
  41789. "description": "单位名称",
  41790. "type": "string"
  41791. },
  41792. "haswr": {
  41793. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41794. "type": "integer"
  41795. },
  41796. "marketid": {
  41797. "description": "市场ID",
  41798. "type": "integer"
  41799. },
  41800. "matchaccountid": {
  41801. "description": "对手账号",
  41802. "type": "integer"
  41803. },
  41804. "matchusername": {
  41805. "description": "对手方",
  41806. "type": "string"
  41807. },
  41808. "minivalue": {
  41809. "description": "现货商品最小变动值",
  41810. "type": "integer"
  41811. },
  41812. "optioncompare": {
  41813. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41814. "type": "string"
  41815. },
  41816. "thumurls": {
  41817. "description": "缩略图",
  41818. "type": "string"
  41819. },
  41820. "tradedate": {
  41821. "description": "交易日(yyyyMMdd)",
  41822. "type": "string"
  41823. },
  41824. "tradeprice": {
  41825. "description": "成交价格",
  41826. "type": "number"
  41827. },
  41828. "tradeqty": {
  41829. "description": "成交数量",
  41830. "type": "number"
  41831. },
  41832. "tradetime": {
  41833. "description": "成交时间",
  41834. "type": "string"
  41835. },
  41836. "userid": {
  41837. "description": "用户ID",
  41838. "type": "integer"
  41839. },
  41840. "warehouseid": {
  41841. "description": "仓库ID",
  41842. "type": "integer"
  41843. },
  41844. "warehousename": {
  41845. "description": "仓库名称",
  41846. "type": "string"
  41847. },
  41848. "wrfactortypeid": {
  41849. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41850. "type": "string"
  41851. },
  41852. "wrfactortypename": {
  41853. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41854. "type": "string"
  41855. },
  41856. "wrstandardcode": {
  41857. "description": "现货商品代码",
  41858. "type": "string"
  41859. },
  41860. "wrstandardid": {
  41861. "description": "现货商品ID",
  41862. "type": "integer"
  41863. },
  41864. "wrstandardname": {
  41865. "description": "商品名称",
  41866. "type": "string"
  41867. },
  41868. "wrtradedetailid": {
  41869. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  41870. "type": "string"
  41871. },
  41872. "wrtradetype": {
  41873. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41874. "type": "integer"
  41875. },
  41876. "wrtypename": {
  41877. "description": "商品",
  41878. "type": "string"
  41879. }
  41880. }
  41881. },
  41882. "models.WrTradeOrderDetail": {
  41883. "type": "object",
  41884. "properties": {
  41885. "buyorsell": {
  41886. "description": "买卖方向 0-买 1-卖",
  41887. "type": "integer"
  41888. },
  41889. "goodsid": {
  41890. "description": "商品id",
  41891. "type": "integer"
  41892. },
  41893. "orderid": {
  41894. "description": "委托单号",
  41895. "type": "string"
  41896. },
  41897. "orderprice": {
  41898. "description": "委托价格",
  41899. "type": "number"
  41900. },
  41901. "orderqty": {
  41902. "description": "委托数量",
  41903. "type": "integer"
  41904. },
  41905. "userid": {
  41906. "description": "用户id",
  41907. "type": "integer"
  41908. },
  41909. "username": {
  41910. "description": "用户名称(已脱敏)",
  41911. "type": "string"
  41912. }
  41913. }
  41914. },
  41915. "models.WrTypeItem": {
  41916. "type": "object",
  41917. "properties": {
  41918. "name": {
  41919. "description": "名称",
  41920. "type": "string"
  41921. },
  41922. "value": {
  41923. "description": "值",
  41924. "type": "string"
  41925. }
  41926. }
  41927. },
  41928. "models.WrUserFriend": {
  41929. "type": "object",
  41930. "properties": {
  41931. "friendname": {
  41932. "description": "朋友名称(已脱敏)",
  41933. "type": "string"
  41934. },
  41935. "frienduserid": {
  41936. "description": "朋友id",
  41937. "type": "integer"
  41938. },
  41939. "isfriend": {
  41940. "description": "是否好友 0-不是 1-是",
  41941. "type": "integer"
  41942. },
  41943. "userid": {
  41944. "description": "用户id",
  41945. "type": "integer"
  41946. }
  41947. }
  41948. },
  41949. "models.WrUserReceiptInfo": {
  41950. "type": "object",
  41951. "properties": {
  41952. "address": {
  41953. "description": "地址[发票类型:企业]",
  41954. "type": "string"
  41955. },
  41956. "autoid": {
  41957. "description": "AutoID",
  41958. "type": "integer"
  41959. },
  41960. "contactinfo": {
  41961. "description": "联系方式",
  41962. "type": "string"
  41963. },
  41964. "idnum": {
  41965. "description": "身份证号码[发票类型:个人]",
  41966. "type": "string"
  41967. },
  41968. "isdefault": {
  41969. "description": "是否默认地址 - 0:否 1:是",
  41970. "type": "integer"
  41971. },
  41972. "receiptaccount": {
  41973. "description": "发票帐号[发票类型:企业]",
  41974. "type": "string"
  41975. },
  41976. "receiptbank": {
  41977. "description": "发票开户行[发票类型:企业]",
  41978. "type": "string"
  41979. },
  41980. "receipttype": {
  41981. "description": "发票类型 - 1:个人 2:企业",
  41982. "type": "integer"
  41983. },
  41984. "taxpayerid": {
  41985. "description": "纳税人识别号",
  41986. "type": "string"
  41987. },
  41988. "userid": {
  41989. "description": "用户ID",
  41990. "type": "integer"
  41991. },
  41992. "username": {
  41993. "description": "户名(个人姓名或企业名称)",
  41994. "type": "string"
  41995. }
  41996. }
  41997. },
  41998. "models.Wrtradetradequote": {
  41999. "type": "object",
  42000. "properties": {
  42001. "begindate": {
  42002. "description": "开始日期(结果含开始日期) yyyymmdd",
  42003. "type": "string"
  42004. },
  42005. "buyaccountid": {
  42006. "description": "买方账号ID",
  42007. "type": "integer"
  42008. },
  42009. "buyuserid": {
  42010. "description": "买方用户ID",
  42011. "type": "integer"
  42012. },
  42013. "deliverygoodsid": {
  42014. "description": "现货品种ID",
  42015. "type": "integer"
  42016. },
  42017. "enddate": {
  42018. "description": "结束日期(结果含结束日期) yyyymmdd",
  42019. "type": "string"
  42020. },
  42021. "marketid": {
  42022. "description": "市场ID",
  42023. "type": "integer"
  42024. },
  42025. "sellaccountid": {
  42026. "description": "卖方账号ID",
  42027. "type": "integer"
  42028. },
  42029. "selluserid": {
  42030. "description": "卖方用户ID",
  42031. "type": "integer"
  42032. },
  42033. "tradeamount": {
  42034. "description": "成交金额",
  42035. "type": "number"
  42036. },
  42037. "tradedate": {
  42038. "description": "交易日(yyyyMMdd)",
  42039. "type": "string"
  42040. },
  42041. "tradeprice": {
  42042. "description": "成交价格",
  42043. "type": "number"
  42044. },
  42045. "tradeqty": {
  42046. "description": "成交数量",
  42047. "type": "integer"
  42048. },
  42049. "tradetime": {
  42050. "description": "成交时间",
  42051. "type": "string"
  42052. },
  42053. "wrfactortypeid": {
  42054. "description": "仓单要素类型ID",
  42055. "type": "integer"
  42056. },
  42057. "wrstandardid": {
  42058. "description": "现货商品ID",
  42059. "type": "integer"
  42060. },
  42061. "wrtradedetailid": {
  42062. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  42063. "type": "string"
  42064. }
  42065. }
  42066. },
  42067. "models.XHBRAND": {
  42068. "type": "object",
  42069. "properties": {
  42070. "brandid": {
  42071. "description": "品牌id",
  42072. "type": "integer"
  42073. },
  42074. "brandname": {
  42075. "description": "品牌名称",
  42076. "type": "string"
  42077. },
  42078. "isvalid": {
  42079. "description": "是否有效 0-无效 1-有效",
  42080. "type": "integer"
  42081. }
  42082. }
  42083. },
  42084. "models.XHDeliveryGoods": {
  42085. "type": "object",
  42086. "properties": {
  42087. "areauserid": {
  42088. "description": "所属机构",
  42089. "type": "integer"
  42090. },
  42091. "bdlst": {
  42092. "description": "品牌列表",
  42093. "type": "array",
  42094. "items": {
  42095. "$ref": "#/definitions/models.XHBRAND"
  42096. }
  42097. },
  42098. "deliverygoodscode": {
  42099. "description": "现货品种代码",
  42100. "type": "string"
  42101. },
  42102. "deliverygoodsid": {
  42103. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  42104. "type": "integer"
  42105. },
  42106. "deliverygoodsname": {
  42107. "description": "现货品种名称",
  42108. "type": "string"
  42109. },
  42110. "dgstatus": {
  42111. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  42112. "type": "integer"
  42113. },
  42114. "filterSubEmpty": {
  42115. "description": "过滤下级为空的",
  42116. "type": "integer"
  42117. },
  42118. "isvalid": {
  42119. "description": "是否有效 - 0:无效 1:有效",
  42120. "type": "integer"
  42121. },
  42122. "remark": {
  42123. "description": "备注",
  42124. "type": "string"
  42125. },
  42126. "unitid": {
  42127. "description": "单位id(目前看,数据库中是空值)",
  42128. "type": "integer"
  42129. },
  42130. "wdlst": {
  42131. "description": "品类(现货商品)列表",
  42132. "type": "array",
  42133. "items": {
  42134. "$ref": "#/definitions/models.XHWrstandard"
  42135. }
  42136. }
  42137. }
  42138. },
  42139. "models.XHMiddleGoods": {
  42140. "type": "object",
  42141. "properties": {
  42142. "GPLST": {
  42143. "description": "期货品种列表",
  42144. "type": "array",
  42145. "items": {
  42146. "$ref": "#/definitions/models.TBGoodsGroup"
  42147. }
  42148. },
  42149. "convertratio": {
  42150. "description": "拆算系数",
  42151. "type": "number"
  42152. },
  42153. "costratio": {
  42154. "description": "成本权重",
  42155. "type": "number"
  42156. },
  42157. "deliverygoodsid": {
  42158. "description": "现货商品id",
  42159. "type": "integer"
  42160. },
  42161. "enumdicname": {
  42162. "description": "单位名称",
  42163. "type": "string"
  42164. },
  42165. "middlegoodscode": {
  42166. "description": "套保品种代码",
  42167. "type": "string"
  42168. },
  42169. "middlegoodsid": {
  42170. "description": "套保品种id",
  42171. "type": "integer"
  42172. },
  42173. "middlegoodsname": {
  42174. "description": "套保品种名称",
  42175. "type": "string"
  42176. },
  42177. "unitid": {
  42178. "description": "单位id",
  42179. "type": "integer"
  42180. }
  42181. }
  42182. },
  42183. "models.XHWrstandard": {
  42184. "type": "object",
  42185. "properties": {
  42186. "bannerpicurl": {
  42187. "description": "banner图",
  42188. "type": "string"
  42189. },
  42190. "deliverygoodsid": {
  42191. "description": "品种ID",
  42192. "type": "integer"
  42193. },
  42194. "enumdicname": {
  42195. "description": "单位名称",
  42196. "type": "string"
  42197. },
  42198. "mglst": {
  42199. "description": "套保品列表",
  42200. "type": "array",
  42201. "items": {
  42202. "$ref": "#/definitions/models.XHMiddleGoods"
  42203. }
  42204. },
  42205. "pictureurls": {
  42206. "description": "详情图片(逗号分隔)",
  42207. "type": "string"
  42208. },
  42209. "thumurls": {
  42210. "description": "缩略图片(1:1)(逗号分隔)",
  42211. "type": "string"
  42212. },
  42213. "unitid": {
  42214. "description": "单位id",
  42215. "type": "integer"
  42216. },
  42217. "vatrate": {
  42218. "description": "增值税率",
  42219. "type": "number"
  42220. },
  42221. "wrstandardcode": {
  42222. "description": "现货商品代码",
  42223. "type": "string"
  42224. },
  42225. "wrstandardid": {
  42226. "description": "现货商品ID(SEQ_WRSTANDARD)",
  42227. "type": "integer"
  42228. },
  42229. "wrstandardname": {
  42230. "description": "现货商品名称",
  42231. "type": "string"
  42232. }
  42233. }
  42234. },
  42235. "models.XhcpSellBackApplyEx": {
  42236. "type": "object",
  42237. "required": [
  42238. "userid"
  42239. ],
  42240. "properties": {
  42241. "applyremark": {
  42242. "description": "申请备注",
  42243. "type": "string"
  42244. },
  42245. "expirytype": {
  42246. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  42247. "type": "integer"
  42248. },
  42249. "goodsspec": {
  42250. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  42251. "type": "integer"
  42252. },
  42253. "holeflag": {
  42254. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  42255. "type": "integer"
  42256. },
  42257. "isunopened": {
  42258. "description": "是否原封 - 1:否 2:是",
  42259. "type": "integer"
  42260. },
  42261. "mpflag": {
  42262. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  42263. "type": "integer"
  42264. },
  42265. "openflag": {
  42266. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  42267. "type": "integer"
  42268. },
  42269. "phonenum": {
  42270. "description": "联系电话",
  42271. "type": "string"
  42272. },
  42273. "userid": {
  42274. "description": "所属用户ID",
  42275. "type": "integer"
  42276. },
  42277. "zpflag": {
  42278. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  42279. "type": "integer"
  42280. }
  42281. }
  42282. },
  42283. "models.Xhcpsellbackapply": {
  42284. "type": "object",
  42285. "required": [
  42286. "userid"
  42287. ],
  42288. "properties": {
  42289. "applyid": {
  42290. "description": "申请人",
  42291. "type": "integer"
  42292. },
  42293. "applyremark": {
  42294. "description": "申请备注",
  42295. "type": "string"
  42296. },
  42297. "applysrc": {
  42298. "description": "申请来源 - 1:管理端 2:终端",
  42299. "type": "integer"
  42300. },
  42301. "applystatus": {
  42302. "description": "申请状态 - 1:待确认 2:已处理",
  42303. "type": "integer"
  42304. },
  42305. "applytime": {
  42306. "description": "申请时间",
  42307. "type": "string"
  42308. },
  42309. "auditremark": {
  42310. "description": "审核备注",
  42311. "type": "string"
  42312. },
  42313. "auditsrc": {
  42314. "description": "审核来源 - 1:管理端 2:终端",
  42315. "type": "integer"
  42316. },
  42317. "expirytype": {
  42318. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  42319. "type": "integer"
  42320. },
  42321. "goodsspec": {
  42322. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  42323. "type": "integer"
  42324. },
  42325. "holeflag": {
  42326. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  42327. "type": "integer"
  42328. },
  42329. "isunopened": {
  42330. "description": "是否原封 - 1:否 2:是",
  42331. "type": "integer"
  42332. },
  42333. "mpflag": {
  42334. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  42335. "type": "integer"
  42336. },
  42337. "openflag": {
  42338. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  42339. "type": "integer"
  42340. },
  42341. "phonenum": {
  42342. "description": "联系电话",
  42343. "type": "string"
  42344. },
  42345. "sellbackapplyid": {
  42346. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  42347. "type": "string"
  42348. },
  42349. "userid": {
  42350. "description": "所属用户ID",
  42351. "type": "integer"
  42352. },
  42353. "zpflag": {
  42354. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  42355. "type": "integer"
  42356. }
  42357. }
  42358. },
  42359. "order.QueryHisTradeDetailRsp": {
  42360. "type": "object",
  42361. "required": [
  42362. "accountid",
  42363. "buyorsell",
  42364. "goodsid",
  42365. "histradedate",
  42366. "marketid",
  42367. "memberuserid",
  42368. "orderid",
  42369. "tradeamount",
  42370. "tradedate",
  42371. "tradeid",
  42372. "tradeprice",
  42373. "tradeqty",
  42374. "tradetime"
  42375. ],
  42376. "properties": {
  42377. "accountid": {
  42378. "description": "账户ID[报价币种]",
  42379. "type": "integer"
  42380. },
  42381. "advanceratio": {
  42382. "description": "首付比率",
  42383. "type": "number"
  42384. },
  42385. "buildtype": {
  42386. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42387. "type": "integer"
  42388. },
  42389. "buyorsell": {
  42390. "description": "方向 - 0:买 1:卖",
  42391. "type": "integer"
  42392. },
  42393. "charge": {
  42394. "description": "手续费",
  42395. "type": "number"
  42396. },
  42397. "closecharge": {
  42398. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42399. "type": "number"
  42400. },
  42401. "closeexchagechargevalue": {
  42402. "description": "平仓交易所手续费设置值",
  42403. "type": "number"
  42404. },
  42405. "closefeealgorithm": {
  42406. "description": "平仓手续费收取方式 1:比率 2:固定",
  42407. "type": "integer"
  42408. },
  42409. "closememberchargevalue": {
  42410. "description": "平仓会员手续费设置值",
  42411. "type": "number"
  42412. },
  42413. "closepl": {
  42414. "description": "平仓盈亏",
  42415. "type": "number"
  42416. },
  42417. "closepl2": {
  42418. "description": "平仓盈亏[逐笔]",
  42419. "type": "number"
  42420. },
  42421. "closeqty": {
  42422. "description": "平仓数量(先建后平操作 需要记录)",
  42423. "type": "number"
  42424. },
  42425. "creditamount": {
  42426. "description": "授信金额",
  42427. "type": "number"
  42428. },
  42429. "decimalplace": {
  42430. "description": "商品报价小数位",
  42431. "type": "integer"
  42432. },
  42433. "enumdicname": {
  42434. "description": "单位名称",
  42435. "type": "string"
  42436. },
  42437. "gcaccountid": {
  42438. "description": "账户ID[合约币种]",
  42439. "type": "integer"
  42440. },
  42441. "goodscode": {
  42442. "description": "商品代码",
  42443. "type": "string"
  42444. },
  42445. "goodsid": {
  42446. "description": "商品ID",
  42447. "type": "integer"
  42448. },
  42449. "goodsname": {
  42450. "description": "商品名称",
  42451. "type": "string"
  42452. },
  42453. "goodunitid": {
  42454. "description": "商品单位id",
  42455. "type": "integer"
  42456. },
  42457. "histradedate": {
  42458. "description": "历史交易日",
  42459. "type": "string"
  42460. },
  42461. "intclosepl": {
  42462. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42463. "type": "integer"
  42464. },
  42465. "isconfirmexercise": {
  42466. "description": "是否确认行权- 0:否 1:是",
  42467. "type": "integer"
  42468. },
  42469. "ismain": {
  42470. "description": "是否主单 - 0:不是 1:是",
  42471. "type": "integer"
  42472. },
  42473. "ispreexercise": {
  42474. "description": "是否预申报- 0:否 1:是",
  42475. "type": "integer"
  42476. },
  42477. "isreckoned": {
  42478. "description": "是否结算 - 0:未结算 1:已结算",
  42479. "type": "integer"
  42480. },
  42481. "isvaliddata": {
  42482. "description": "是否有效 - 0:无效 1:有效",
  42483. "type": "integer"
  42484. },
  42485. "listingselecttype": {
  42486. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42487. "type": "integer"
  42488. },
  42489. "marketid": {
  42490. "description": "市场ID",
  42491. "type": "integer"
  42492. },
  42493. "marketname": {
  42494. "description": "市场名称",
  42495. "type": "string"
  42496. },
  42497. "matchaccountid": {
  42498. "description": "对手账号id",
  42499. "type": "integer"
  42500. },
  42501. "memberuserid": {
  42502. "description": "会员id 个人投资者 需要填写",
  42503. "type": "integer"
  42504. },
  42505. "opencharge": {
  42506. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42507. "type": "number"
  42508. },
  42509. "openexchagechargevalue": {
  42510. "description": "建仓交易所手续费设置值",
  42511. "type": "number"
  42512. },
  42513. "openfeealgorithm": {
  42514. "description": "建仓手续费收取方式 1:比率 2:固定",
  42515. "type": "integer"
  42516. },
  42517. "openmemberchargevalue": {
  42518. "description": "建仓会员手续费设置值",
  42519. "type": "number"
  42520. },
  42521. "openqty": {
  42522. "description": "开仓数量(先建后平操作 需要记录)",
  42523. "type": "number"
  42524. },
  42525. "optiontype": {
  42526. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42527. "type": "integer"
  42528. },
  42529. "orderid": {
  42530. "description": "委托单号",
  42531. "type": "string"
  42532. },
  42533. "payamount": {
  42534. "description": "支付金额(付款金额)",
  42535. "type": "number"
  42536. },
  42537. "performanceplanid": {
  42538. "description": "履约计划ID[期权]",
  42539. "type": "integer"
  42540. },
  42541. "performancestatus": {
  42542. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  42543. "type": "integer"
  42544. },
  42545. "preexerciseprice": {
  42546. "description": "预申报价格",
  42547. "type": "number"
  42548. },
  42549. "premium": {
  42550. "description": "权利金 - [持仓单的权利金]",
  42551. "type": "number"
  42552. },
  42553. "qtydecimalplace": {
  42554. "description": "商品报价小数位",
  42555. "type": "integer"
  42556. },
  42557. "recvamount": {
  42558. "description": "到账金额 = 成交金额 - 手续费",
  42559. "type": "number"
  42560. },
  42561. "relatedouttradeid": {
  42562. "description": "关联外部成交单ID",
  42563. "type": "integer"
  42564. },
  42565. "status": {
  42566. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  42567. "type": "integer"
  42568. },
  42569. "totalamount": {
  42570. "description": "订单总额 = 成交金额 + 手续费",
  42571. "type": "number"
  42572. },
  42573. "tradeamount": {
  42574. "description": "成交金额[账户币种,用于所有权]",
  42575. "type": "number"
  42576. },
  42577. "tradedate": {
  42578. "description": "交易日(yyyyMMdd)",
  42579. "type": "string"
  42580. },
  42581. "tradeid": {
  42582. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42583. "type": "string"
  42584. },
  42585. "trademode": {
  42586. "description": "交易模式",
  42587. "type": "integer"
  42588. },
  42589. "tradeprice": {
  42590. "description": "成交价格",
  42591. "type": "number"
  42592. },
  42593. "tradeproperty": {
  42594. "description": "交易属性",
  42595. "type": "integer"
  42596. },
  42597. "tradeqty": {
  42598. "description": "成交数量",
  42599. "type": "number"
  42600. },
  42601. "tradetime": {
  42602. "description": "成交时间",
  42603. "type": "string"
  42604. },
  42605. "tradetype": {
  42606. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  42607. "type": "integer"
  42608. }
  42609. }
  42610. },
  42611. "order.QueryHisTradeOrderDetailRsp": {
  42612. "type": "object",
  42613. "required": [
  42614. "accountid",
  42615. "buildtype",
  42616. "buyorsell",
  42617. "goodsid",
  42618. "histradedate",
  42619. "marketid",
  42620. "memberuserid",
  42621. "operatetype",
  42622. "orderid",
  42623. "orderqty",
  42624. "ordertime",
  42625. "pricemode",
  42626. "tradedate",
  42627. "validtype"
  42628. ],
  42629. "properties": {
  42630. "accountid": {
  42631. "description": "账户ID[报价币种]",
  42632. "type": "integer"
  42633. },
  42634. "buildtype": {
  42635. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  42636. "type": "integer"
  42637. },
  42638. "buyorsell": {
  42639. "description": "买卖 - 0:买 1:卖",
  42640. "type": "integer"
  42641. },
  42642. "cancelorderid": {
  42643. "description": "撤单单号(撤单时填写)",
  42644. "type": "string"
  42645. },
  42646. "cancelqty": {
  42647. "description": "撤单数量",
  42648. "type": "number"
  42649. },
  42650. "clientordertime": {
  42651. "description": "客户端委托时间",
  42652. "type": "string"
  42653. },
  42654. "clientticket": {
  42655. "description": "客户端流水号",
  42656. "type": "string"
  42657. },
  42658. "clienttype": {
  42659. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  42660. "type": "integer"
  42661. },
  42662. "closeexchagechargevalue": {
  42663. "description": "平仓交易所手续费设置值",
  42664. "type": "number"
  42665. },
  42666. "closefeealgorithm": {
  42667. "description": "平仓手续费收取方式 1:比率 2:固定",
  42668. "type": "integer"
  42669. },
  42670. "closefreezecharge": {
  42671. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  42672. "type": "number"
  42673. },
  42674. "closememberchargevalue": {
  42675. "description": "平仓会员手续费设置值",
  42676. "type": "number"
  42677. },
  42678. "closeqty": {
  42679. "description": "平仓数量(先建后平操作 需要记录)",
  42680. "type": "number"
  42681. },
  42682. "closetradeqty": {
  42683. "description": "平仓成交数量(先建后平操作,需要记录)",
  42684. "type": "number"
  42685. },
  42686. "closeunfreezecharge": {
  42687. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  42688. "type": "number"
  42689. },
  42690. "decimalplace": {
  42691. "description": "商品报价小数位",
  42692. "type": "integer"
  42693. },
  42694. "delistingtype": {
  42695. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  42696. "type": "integer"
  42697. },
  42698. "enumdicname": {
  42699. "description": "单位名称",
  42700. "type": "string"
  42701. },
  42702. "freezecharge": {
  42703. "description": "冻结手续费",
  42704. "type": "number"
  42705. },
  42706. "freezemargin": {
  42707. "description": "冻结保证金(冻结交易金额)",
  42708. "type": "number"
  42709. },
  42710. "gcaccountid": {
  42711. "description": "账户ID[合约币种]",
  42712. "type": "integer"
  42713. },
  42714. "goodscode": {
  42715. "description": "商品代码",
  42716. "type": "string"
  42717. },
  42718. "goodsid": {
  42719. "description": "商品ID",
  42720. "type": "integer"
  42721. },
  42722. "goodsname": {
  42723. "description": "商品名称",
  42724. "type": "string"
  42725. },
  42726. "goodunitid": {
  42727. "description": "商品单位id",
  42728. "type": "integer"
  42729. },
  42730. "histradedate": {
  42731. "description": "历史交易日",
  42732. "type": "string"
  42733. },
  42734. "isconfirmexercise": {
  42735. "description": "是否确认行权- 0:否 1:是",
  42736. "type": "integer"
  42737. },
  42738. "ispreexercise": {
  42739. "description": "是否预申报- 0:否 1:是",
  42740. "type": "integer"
  42741. },
  42742. "isvaliddata": {
  42743. "description": "是否有效 - 0:无效 1:有效",
  42744. "type": "integer"
  42745. },
  42746. "listingselecttype": {
  42747. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42748. "type": "integer"
  42749. },
  42750. "marginalgorithm": {
  42751. "description": "保证金收取方式 1:比率 2:固定",
  42752. "type": "integer"
  42753. },
  42754. "marginvalue": {
  42755. "description": "即市保证金设置值",
  42756. "type": "number"
  42757. },
  42758. "marketid": {
  42759. "description": "市场ID",
  42760. "type": "integer"
  42761. },
  42762. "marketmaxsub": {
  42763. "description": "市价最大偏移范围",
  42764. "type": "number"
  42765. },
  42766. "marketname": {
  42767. "description": "市场名称",
  42768. "type": "string"
  42769. },
  42770. "memberuserid": {
  42771. "description": "所属会员UserID",
  42772. "type": "integer"
  42773. },
  42774. "openexchagechargevalue": {
  42775. "description": "建仓交易所手续费设置值",
  42776. "type": "number"
  42777. },
  42778. "openfeealgorithm": {
  42779. "description": "建仓手续费收取方式 1:比率 2:固定",
  42780. "type": "integer"
  42781. },
  42782. "openfreezecharge": {
  42783. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  42784. "type": "number"
  42785. },
  42786. "openmemberchargevalue": {
  42787. "description": "建仓会员手续费设置值",
  42788. "type": "number"
  42789. },
  42790. "openqty": {
  42791. "description": "开仓数量(先建后平操作,需要记录)",
  42792. "type": "number"
  42793. },
  42794. "opentradeqty": {
  42795. "description": "开仓成交数量(先建后平操作,需要记录)",
  42796. "type": "number"
  42797. },
  42798. "openunfreezecharge": {
  42799. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  42800. "type": "number"
  42801. },
  42802. "operatetype": {
  42803. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  42804. "type": "integer"
  42805. },
  42806. "operatorid": {
  42807. "description": "登录账号(LoginID)",
  42808. "type": "integer"
  42809. },
  42810. "optiontype": {
  42811. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42812. "type": "integer"
  42813. },
  42814. "orderid": {
  42815. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42816. "type": "string"
  42817. },
  42818. "orderprice": {
  42819. "description": "委托价格",
  42820. "type": "number"
  42821. },
  42822. "orderqty": {
  42823. "description": "委托数量",
  42824. "type": "number"
  42825. },
  42826. "ordersrc": {
  42827. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  42828. "type": "integer"
  42829. },
  42830. "orderstatus": {
  42831. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  42832. "type": "integer"
  42833. },
  42834. "ordertime": {
  42835. "description": "委托时间",
  42836. "type": "string"
  42837. },
  42838. "preexerciseprice": {
  42839. "description": "预申报价格",
  42840. "type": "number"
  42841. },
  42842. "premium": {
  42843. "description": "权利金",
  42844. "type": "number"
  42845. },
  42846. "preorderid": {
  42847. "description": "关联预埋单号(止盈止损单时填写)",
  42848. "type": "string"
  42849. },
  42850. "pricemode": {
  42851. "description": "取价方式 - 1:市价 2: 限价",
  42852. "type": "integer"
  42853. },
  42854. "qtydecimalplace": {
  42855. "description": "成交量小数位",
  42856. "type": "integer"
  42857. },
  42858. "quoteid": {
  42859. "description": "报价单ID",
  42860. "type": "integer"
  42861. },
  42862. "relatedid": {
  42863. "description": "关联单号(交割单)",
  42864. "type": "string"
  42865. },
  42866. "retcode": {
  42867. "description": "错误代码",
  42868. "type": "integer"
  42869. },
  42870. "sessionid": {
  42871. "description": "会话ID",
  42872. "type": "integer"
  42873. },
  42874. "tradedate": {
  42875. "description": "交易日(yyyyMMdd)",
  42876. "type": "string"
  42877. },
  42878. "trademode": {
  42879. "description": "交易模式",
  42880. "type": "integer"
  42881. },
  42882. "tradeproperty": {
  42883. "description": "交易属性",
  42884. "type": "integer"
  42885. },
  42886. "tradeqty": {
  42887. "description": "成交数量",
  42888. "type": "number"
  42889. },
  42890. "unfreezecharge": {
  42891. "description": "解冻手续费",
  42892. "type": "number"
  42893. },
  42894. "unfreezemargin": {
  42895. "description": "解冻保证金",
  42896. "type": "number"
  42897. },
  42898. "updatetime": {
  42899. "description": "更新时间",
  42900. "type": "string"
  42901. },
  42902. "uuid": {
  42903. "description": "发起端唯一id",
  42904. "type": "string"
  42905. },
  42906. "validtime": {
  42907. "description": "有效期限",
  42908. "type": "string"
  42909. },
  42910. "validtype": {
  42911. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  42912. "type": "integer"
  42913. },
  42914. "volumetype": {
  42915. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  42916. "type": "integer"
  42917. }
  42918. }
  42919. },
  42920. "order.QueryTradeDetailRsp": {
  42921. "type": "object",
  42922. "required": [
  42923. "accountid",
  42924. "buyorsell",
  42925. "goodsid",
  42926. "marketid",
  42927. "memberuserid",
  42928. "orderid",
  42929. "tradeamount",
  42930. "tradedate",
  42931. "tradeid",
  42932. "tradeprice",
  42933. "tradeqty",
  42934. "tradetime"
  42935. ],
  42936. "properties": {
  42937. "accountid": {
  42938. "description": "账户ID[报价币种]",
  42939. "type": "integer"
  42940. },
  42941. "advanceratio": {
  42942. "description": "首付比率",
  42943. "type": "number"
  42944. },
  42945. "buildtype": {
  42946. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42947. "type": "integer"
  42948. },
  42949. "buyorsell": {
  42950. "description": "方向 - 0:买 1:卖",
  42951. "type": "integer"
  42952. },
  42953. "charge": {
  42954. "description": "手续费",
  42955. "type": "number"
  42956. },
  42957. "closecharge": {
  42958. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42959. "type": "number"
  42960. },
  42961. "closeexchagechargevalue": {
  42962. "description": "平仓交易所手续费设置值",
  42963. "type": "number"
  42964. },
  42965. "closefeealgorithm": {
  42966. "description": "平仓手续费收取方式 1:比率 2:固定",
  42967. "type": "integer"
  42968. },
  42969. "closememberchargevalue": {
  42970. "description": "平仓会员手续费设置值",
  42971. "type": "number"
  42972. },
  42973. "closepl": {
  42974. "description": "平仓盈亏",
  42975. "type": "number"
  42976. },
  42977. "closepl2": {
  42978. "description": "平仓盈亏[逐笔]",
  42979. "type": "number"
  42980. },
  42981. "closeqty": {
  42982. "description": "平仓数量(先建后平操作 需要记录)",
  42983. "type": "number"
  42984. },
  42985. "creditamount": {
  42986. "description": "授信金额",
  42987. "type": "number"
  42988. },
  42989. "decimalplace": {
  42990. "description": "商品报价小数位",
  42991. "type": "integer"
  42992. },
  42993. "enumdicname": {
  42994. "description": "单位名称",
  42995. "type": "string"
  42996. },
  42997. "gcaccountid": {
  42998. "description": "账户ID[合约币种]",
  42999. "type": "integer"
  43000. },
  43001. "goodscode": {
  43002. "description": "商品代码",
  43003. "type": "string"
  43004. },
  43005. "goodsid": {
  43006. "description": "商品ID",
  43007. "type": "integer"
  43008. },
  43009. "goodsname": {
  43010. "description": "商品名称",
  43011. "type": "string"
  43012. },
  43013. "goodunitid": {
  43014. "description": "商品单位id",
  43015. "type": "integer"
  43016. },
  43017. "intclosepl": {
  43018. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  43019. "type": "integer"
  43020. },
  43021. "isconfirmexercise": {
  43022. "description": "是否确认行权- 0:否 1:是",
  43023. "type": "integer"
  43024. },
  43025. "ismain": {
  43026. "description": "是否主单 - 0:不是 1:是",
  43027. "type": "integer"
  43028. },
  43029. "ispreexercise": {
  43030. "description": "是否预申报- 0:否 1:是",
  43031. "type": "integer"
  43032. },
  43033. "isreckoned": {
  43034. "description": "是否结算 - 0:未结算 1:已结算",
  43035. "type": "integer"
  43036. },
  43037. "listingselecttype": {
  43038. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43039. "type": "integer"
  43040. },
  43041. "marketid": {
  43042. "description": "市场ID",
  43043. "type": "integer"
  43044. },
  43045. "marketname": {
  43046. "description": "市场名称",
  43047. "type": "string"
  43048. },
  43049. "matchaccountid": {
  43050. "description": "对手账号id",
  43051. "type": "integer"
  43052. },
  43053. "memberuserid": {
  43054. "description": "会员id 个人投资者 需要填写",
  43055. "type": "integer"
  43056. },
  43057. "opencharge": {
  43058. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43059. "type": "number"
  43060. },
  43061. "openexchagechargevalue": {
  43062. "description": "建仓交易所手续费设置值",
  43063. "type": "number"
  43064. },
  43065. "openfeealgorithm": {
  43066. "description": "建仓手续费收取方式 1:比率 2:固定",
  43067. "type": "integer"
  43068. },
  43069. "openmemberchargevalue": {
  43070. "description": "建仓会员手续费设置值",
  43071. "type": "number"
  43072. },
  43073. "openqty": {
  43074. "description": "开仓数量(先建后平操作 需要记录)",
  43075. "type": "number"
  43076. },
  43077. "optiontype": {
  43078. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43079. "type": "integer"
  43080. },
  43081. "orderid": {
  43082. "description": "委托单号",
  43083. "type": "string"
  43084. },
  43085. "payamount": {
  43086. "description": "支付金额(付款金额)",
  43087. "type": "number"
  43088. },
  43089. "performanceplanid": {
  43090. "description": "履约计划ID[期权]",
  43091. "type": "integer"
  43092. },
  43093. "performancestatus": {
  43094. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  43095. "type": "integer"
  43096. },
  43097. "preexerciseprice": {
  43098. "description": "预申报价格",
  43099. "type": "number"
  43100. },
  43101. "premium": {
  43102. "description": "权利金 - [持仓单的权利金]",
  43103. "type": "number"
  43104. },
  43105. "qtydecimalplace": {
  43106. "description": "商品报价小数位",
  43107. "type": "integer"
  43108. },
  43109. "recvamount": {
  43110. "description": "到账金额 = 成交金额 - 手续费",
  43111. "type": "number"
  43112. },
  43113. "relatedouttradeid": {
  43114. "description": "关联外部成交单ID",
  43115. "type": "integer"
  43116. },
  43117. "status": {
  43118. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  43119. "type": "integer"
  43120. },
  43121. "totalamount": {
  43122. "description": "订单总额 = 成交金额 + 手续费",
  43123. "type": "number"
  43124. },
  43125. "tradeamount": {
  43126. "description": "成交金额[账户币种,用于所有权]",
  43127. "type": "number"
  43128. },
  43129. "tradedate": {
  43130. "description": "交易日(yyyyMMdd)",
  43131. "type": "string"
  43132. },
  43133. "tradeid": {
  43134. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43135. "type": "string"
  43136. },
  43137. "trademode": {
  43138. "description": "交易模式",
  43139. "type": "integer"
  43140. },
  43141. "tradeprice": {
  43142. "description": "成交价格",
  43143. "type": "number"
  43144. },
  43145. "tradeproperty": {
  43146. "description": "交易属性",
  43147. "type": "integer"
  43148. },
  43149. "tradeqty": {
  43150. "description": "成交数量",
  43151. "type": "number"
  43152. },
  43153. "tradetime": {
  43154. "description": "成交时间",
  43155. "type": "string"
  43156. },
  43157. "tradetype": {
  43158. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  43159. "type": "integer"
  43160. }
  43161. }
  43162. },
  43163. "order.QueryTradeOrderDetailRsp": {
  43164. "type": "object",
  43165. "required": [
  43166. "accountid",
  43167. "buildtype",
  43168. "buyorsell",
  43169. "goodsid",
  43170. "marketid",
  43171. "operatetype",
  43172. "orderqty",
  43173. "ordertime",
  43174. "pricemode",
  43175. "tradedate",
  43176. "validtype"
  43177. ],
  43178. "properties": {
  43179. "accountid": {
  43180. "description": "账户ID[报价币种]",
  43181. "type": "integer"
  43182. },
  43183. "buildtype": {
  43184. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  43185. "type": "integer"
  43186. },
  43187. "buyorsell": {
  43188. "description": "买卖 - 0:买 1:卖",
  43189. "type": "integer"
  43190. },
  43191. "cancelorderid": {
  43192. "description": "撤单单号(撤单时填写)",
  43193. "type": "string"
  43194. },
  43195. "cancelqty": {
  43196. "description": "撤单数量",
  43197. "type": "number"
  43198. },
  43199. "clienttype": {
  43200. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  43201. "type": "integer"
  43202. },
  43203. "closefreezecharge": {
  43204. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  43205. "type": "number"
  43206. },
  43207. "closeqty": {
  43208. "description": "平仓数量(先建后平操作 需要记录)",
  43209. "type": "number"
  43210. },
  43211. "closetradeqty": {
  43212. "description": "平仓成交数量(先建后平操作,需要记录)",
  43213. "type": "number"
  43214. },
  43215. "closeunfreezecharge": {
  43216. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  43217. "type": "number"
  43218. },
  43219. "decimalplace": {
  43220. "description": "商品报价小数位",
  43221. "type": "integer"
  43222. },
  43223. "delistingtype": {
  43224. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  43225. "type": "integer"
  43226. },
  43227. "enableqty": {
  43228. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  43229. "type": "number"
  43230. },
  43231. "enumdicname": {
  43232. "description": "单位名称",
  43233. "type": "string"
  43234. },
  43235. "freezecharge": {
  43236. "description": "冻结手续费",
  43237. "type": "number"
  43238. },
  43239. "freezemargin": {
  43240. "description": "冻结保证金(冻结交易金额)",
  43241. "type": "number"
  43242. },
  43243. "goodscode": {
  43244. "description": "商品代码",
  43245. "type": "string"
  43246. },
  43247. "goodsid": {
  43248. "description": "商品ID",
  43249. "type": "integer"
  43250. },
  43251. "goodsname": {
  43252. "description": "商品名称",
  43253. "type": "string"
  43254. },
  43255. "goodunitid": {
  43256. "description": "商品单位id",
  43257. "type": "integer"
  43258. },
  43259. "listingselecttype": {
  43260. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43261. "type": "integer"
  43262. },
  43263. "marketid": {
  43264. "description": "市场ID",
  43265. "type": "integer"
  43266. },
  43267. "marketname": {
  43268. "description": "市场名称",
  43269. "type": "string"
  43270. },
  43271. "openfreezecharge": {
  43272. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  43273. "type": "number"
  43274. },
  43275. "openqty": {
  43276. "description": "开仓数量(先建后平操作,需要记录)",
  43277. "type": "number"
  43278. },
  43279. "opentradeqty": {
  43280. "description": "开仓成交数量(先建后平操作,需要记录)",
  43281. "type": "number"
  43282. },
  43283. "openunfreezecharge": {
  43284. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  43285. "type": "number"
  43286. },
  43287. "operatetype": {
  43288. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  43289. "type": "integer"
  43290. },
  43291. "operatorid": {
  43292. "description": "登录账号(LoginID)",
  43293. "type": "integer"
  43294. },
  43295. "orderid": {
  43296. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43297. "type": "string"
  43298. },
  43299. "orderprice": {
  43300. "description": "委托价格",
  43301. "type": "number"
  43302. },
  43303. "orderqty": {
  43304. "description": "委托数量",
  43305. "type": "number"
  43306. },
  43307. "ordersrc": {
  43308. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  43309. "type": "integer"
  43310. },
  43311. "orderstatus": {
  43312. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  43313. "type": "integer"
  43314. },
  43315. "ordertime": {
  43316. "description": "委托时间",
  43317. "type": "string"
  43318. },
  43319. "preorderid": {
  43320. "description": "关联预埋单号(止盈止损单时填写)",
  43321. "type": "string"
  43322. },
  43323. "pricemode": {
  43324. "description": "取价方式 - 1:市价 2: 限价",
  43325. "type": "integer"
  43326. },
  43327. "qtydecimalplace": {
  43328. "description": "商品报价小数位",
  43329. "type": "integer"
  43330. },
  43331. "relatedid": {
  43332. "description": "关联单号(交割单)",
  43333. "type": "string"
  43334. },
  43335. "tradedate": {
  43336. "description": "交易日(yyyyMMdd)",
  43337. "type": "string"
  43338. },
  43339. "trademode": {
  43340. "description": "交易模式",
  43341. "type": "integer"
  43342. },
  43343. "tradeqty": {
  43344. "description": "成交数量",
  43345. "type": "number"
  43346. },
  43347. "unfreezecharge": {
  43348. "description": "解冻手续费",
  43349. "type": "number"
  43350. },
  43351. "unfreezemargin": {
  43352. "description": "解冻保证金",
  43353. "type": "number"
  43354. },
  43355. "validtime": {
  43356. "description": "有效期限",
  43357. "type": "string"
  43358. },
  43359. "validtype": {
  43360. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  43361. "type": "integer"
  43362. },
  43363. "volumetype": {
  43364. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  43365. "type": "integer"
  43366. }
  43367. }
  43368. },
  43369. "order.QueryTradePositionRsp": {
  43370. "type": "object",
  43371. "required": [
  43372. "goodsid"
  43373. ],
  43374. "properties": {
  43375. "accountid": {
  43376. "description": "资金账户",
  43377. "type": "integer"
  43378. },
  43379. "agreeunit": {
  43380. "description": "合约单位",
  43381. "type": "number"
  43382. },
  43383. "averageprice": {
  43384. "description": "持仓均价",
  43385. "type": "number"
  43386. },
  43387. "buyorsell": {
  43388. "description": "方向 - 0:买 1:卖",
  43389. "type": "integer"
  43390. },
  43391. "closetotalqty": {
  43392. "description": "平仓总数量",
  43393. "type": "number"
  43394. },
  43395. "curholderamount": {
  43396. "description": "当前持仓总金额[商品币种]",
  43397. "type": "number"
  43398. },
  43399. "curpositionqty": {
  43400. "description": "当前持仓总数量",
  43401. "type": "number"
  43402. },
  43403. "currencyid": {
  43404. "description": "报价货币ID",
  43405. "type": "integer"
  43406. },
  43407. "curtdposition": {
  43408. "description": "期末今日头寸",
  43409. "type": "number"
  43410. },
  43411. "decimalplace": {
  43412. "description": "报价小数位",
  43413. "type": "integer"
  43414. },
  43415. "enableqty": {
  43416. "description": "可用量",
  43417. "type": "number"
  43418. },
  43419. "fretdposition": {
  43420. "description": "冻结今日头寸",
  43421. "type": "number"
  43422. },
  43423. "frozenqty": {
  43424. "description": "持仓冻结数量",
  43425. "type": "number"
  43426. },
  43427. "goodscode": {
  43428. "description": "商品代码",
  43429. "type": "string"
  43430. },
  43431. "goodsid": {
  43432. "description": "商品Id",
  43433. "type": "integer"
  43434. },
  43435. "goodsname": {
  43436. "description": "商品名称",
  43437. "type": "string"
  43438. },
  43439. "goodunit": {
  43440. "description": "报价单位",
  43441. "type": "string"
  43442. },
  43443. "goodunitid": {
  43444. "description": "报价单位ID",
  43445. "type": "integer"
  43446. },
  43447. "holderamount": {
  43448. "description": "期初持仓总金额[商品币种]",
  43449. "type": "number"
  43450. },
  43451. "lastprice": {
  43452. "description": "最新价",
  43453. "type": "number"
  43454. },
  43455. "marketamount": {
  43456. "description": "市值",
  43457. "type": "number"
  43458. },
  43459. "marketid": {
  43460. "description": "所属市场ID",
  43461. "type": "integer"
  43462. },
  43463. "openreqqty": {
  43464. "description": "开仓申请数量(用于比较最大持仓数量)",
  43465. "type": "number"
  43466. },
  43467. "opentotalqty": {
  43468. "description": "开仓总数量",
  43469. "type": "number"
  43470. },
  43471. "otherfrozenqty": {
  43472. "description": "持仓其他冻结数量(交割冻结)",
  43473. "type": "number"
  43474. },
  43475. "positionpl": {
  43476. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  43477. "type": "number"
  43478. },
  43479. "positionplrate": {
  43480. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  43481. "type": "number"
  43482. },
  43483. "positionqty": {
  43484. "description": "期初持仓数量",
  43485. "type": "number"
  43486. },
  43487. "qtydecimalplace": {
  43488. "description": "成交量小数位",
  43489. "type": "integer"
  43490. },
  43491. "refgoodscode": {
  43492. "description": "参考商品代码",
  43493. "type": "string"
  43494. },
  43495. "refgoodsid": {
  43496. "description": "参考商品ID",
  43497. "type": "integer"
  43498. },
  43499. "tnqty": {
  43500. "description": "T+N冻结总量",
  43501. "type": "number"
  43502. },
  43503. "tnusedqty": {
  43504. "description": "T+N使用量(可以使用T+N的冻结数量)",
  43505. "type": "number"
  43506. },
  43507. "trademode": {
  43508. "description": "交易模式",
  43509. "type": "integer"
  43510. },
  43511. "tradeproperty": {
  43512. "description": "交易属性",
  43513. "type": "integer"
  43514. },
  43515. "usedmargin": {
  43516. "description": "占用保证金[商品币种]",
  43517. "type": "number"
  43518. }
  43519. }
  43520. },
  43521. "pb.GoodsMarginCfgStruct": {
  43522. "type": "object",
  43523. "properties": {
  43524. "CustomerTypeID": {
  43525. "description": "投资者客户类型",
  43526. "type": "integer"
  43527. },
  43528. "GoodsID": {
  43529. "description": "商品ID",
  43530. "type": "integer"
  43531. },
  43532. "IsDefault": {
  43533. "description": "是否默认标志位",
  43534. "type": "integer"
  43535. },
  43536. "LockMarginValue": {
  43537. "description": "锁仓保证金",
  43538. "type": "number"
  43539. },
  43540. "MarginAlgorithm": {
  43541. "description": "保证金计算方式",
  43542. "type": "integer"
  43543. },
  43544. "MarketMarginValue": {
  43545. "description": "即市保证金值",
  43546. "type": "number"
  43547. },
  43548. "RealMarginAlgorithm": {
  43549. "description": "实付保证金计算方式",
  43550. "type": "integer"
  43551. },
  43552. "RealMarginValue": {
  43553. "description": "实付比例",
  43554. "type": "number"
  43555. },
  43556. "ReckonMarginValue": {
  43557. "description": "结算保证金值",
  43558. "type": "number"
  43559. }
  43560. }
  43561. },
  43562. "quote.HistoryData": {
  43563. "type": "object",
  43564. "properties": {
  43565. "c": {
  43566. "description": "收盘价",
  43567. "type": "number"
  43568. },
  43569. "f": {
  43570. "description": "是否补充数据",
  43571. "type": "boolean"
  43572. },
  43573. "h": {
  43574. "description": "最高价",
  43575. "type": "number"
  43576. },
  43577. "hv": {
  43578. "description": "持仓量",
  43579. "type": "integer"
  43580. },
  43581. "l": {
  43582. "description": "最低价",
  43583. "type": "number"
  43584. },
  43585. "o": {
  43586. "description": "开盘价",
  43587. "type": "number"
  43588. },
  43589. "s": {
  43590. "description": "结算价,日线周期(包括)以上才有",
  43591. "type": "number"
  43592. },
  43593. "ts": {
  43594. "description": "时间",
  43595. "type": "string"
  43596. },
  43597. "tt": {
  43598. "description": "总金额",
  43599. "type": "number"
  43600. },
  43601. "tv": {
  43602. "description": "总量(成交量)",
  43603. "type": "integer"
  43604. }
  43605. }
  43606. },
  43607. "quote.HistoryTikData": {
  43608. "type": "object",
  43609. "properties": {
  43610. "AV": {
  43611. "description": "卖量",
  43612. "type": "integer"
  43613. },
  43614. "Ask": {
  43615. "description": "卖价",
  43616. "type": "number"
  43617. },
  43618. "BV": {
  43619. "description": "买量",
  43620. "type": "integer"
  43621. },
  43622. "Bid": {
  43623. "description": "买价",
  43624. "type": "number"
  43625. },
  43626. "HI": {
  43627. "description": "单笔持仓",
  43628. "type": "integer"
  43629. },
  43630. "HV": {
  43631. "description": "持仓量",
  43632. "type": "integer"
  43633. },
  43634. "PE": {
  43635. "description": "现价",
  43636. "type": "number"
  43637. },
  43638. "TDR": {
  43639. "description": "交易方向,0:买 1:卖",
  43640. "type": "integer"
  43641. },
  43642. "TK": {
  43643. "description": "交易类型",
  43644. "type": "integer"
  43645. },
  43646. "TS": {
  43647. "description": "行情时间文本",
  43648. "type": "string"
  43649. },
  43650. "TT": {
  43651. "description": "现金额",
  43652. "type": "number"
  43653. },
  43654. "Vol": {
  43655. "description": "现量",
  43656. "type": "integer"
  43657. }
  43658. }
  43659. },
  43660. "quote.QueryQuoteDayRsp": {
  43661. "type": "object",
  43662. "properties": {
  43663. "ask": {
  43664. "description": "卖1",
  43665. "type": "number"
  43666. },
  43667. "ask10": {
  43668. "description": "卖10",
  43669. "type": "number"
  43670. },
  43671. "ask2": {
  43672. "description": "卖2",
  43673. "type": "number"
  43674. },
  43675. "ask3": {
  43676. "description": "卖3",
  43677. "type": "number"
  43678. },
  43679. "ask4": {
  43680. "description": "卖4",
  43681. "type": "number"
  43682. },
  43683. "ask5": {
  43684. "description": "卖5",
  43685. "type": "number"
  43686. },
  43687. "ask6": {
  43688. "description": "卖6",
  43689. "type": "number"
  43690. },
  43691. "ask7": {
  43692. "description": "卖7",
  43693. "type": "number"
  43694. },
  43695. "ask8": {
  43696. "description": "卖8",
  43697. "type": "number"
  43698. },
  43699. "ask9": {
  43700. "description": "卖9",
  43701. "type": "number"
  43702. },
  43703. "askorderid": {
  43704. "description": "卖单号1",
  43705. "type": "integer"
  43706. },
  43707. "askorderid2": {
  43708. "description": "卖单号2",
  43709. "type": "integer"
  43710. },
  43711. "askorderid3": {
  43712. "description": "卖单号3",
  43713. "type": "integer"
  43714. },
  43715. "askorderid4": {
  43716. "description": "卖单号4",
  43717. "type": "integer"
  43718. },
  43719. "askorderid5": {
  43720. "description": "卖单号5",
  43721. "type": "integer"
  43722. },
  43723. "askordervolume": {
  43724. "description": "卖单量1",
  43725. "type": "integer"
  43726. },
  43727. "askordervolume10": {
  43728. "description": "卖单量10",
  43729. "type": "integer"
  43730. },
  43731. "askordervolume2": {
  43732. "description": "卖单量2",
  43733. "type": "integer"
  43734. },
  43735. "askordervolume3": {
  43736. "description": "卖单量3",
  43737. "type": "integer"
  43738. },
  43739. "askordervolume4": {
  43740. "description": "卖单量4",
  43741. "type": "integer"
  43742. },
  43743. "askordervolume5": {
  43744. "description": "卖单量5",
  43745. "type": "integer"
  43746. },
  43747. "askordervolume6": {
  43748. "description": "卖单量6",
  43749. "type": "integer"
  43750. },
  43751. "askordervolume7": {
  43752. "description": "卖单量7",
  43753. "type": "integer"
  43754. },
  43755. "askordervolume8": {
  43756. "description": "卖单量8",
  43757. "type": "integer"
  43758. },
  43759. "askordervolume9": {
  43760. "description": "卖单量9",
  43761. "type": "integer"
  43762. },
  43763. "askqueueinfo": {
  43764. "description": "大利市卖港股用",
  43765. "type": "string"
  43766. },
  43767. "askvolume": {
  43768. "description": "卖量1",
  43769. "type": "integer"
  43770. },
  43771. "askvolume10": {
  43772. "description": "卖量10",
  43773. "type": "integer"
  43774. },
  43775. "askvolume2": {
  43776. "description": "卖量2",
  43777. "type": "integer"
  43778. },
  43779. "askvolume3": {
  43780. "description": "卖量3",
  43781. "type": "integer"
  43782. },
  43783. "askvolume4": {
  43784. "description": "卖量4",
  43785. "type": "integer"
  43786. },
  43787. "askvolume5": {
  43788. "description": "卖量5",
  43789. "type": "integer"
  43790. },
  43791. "askvolume6": {
  43792. "description": "卖量6",
  43793. "type": "integer"
  43794. },
  43795. "askvolume7": {
  43796. "description": "卖量7",
  43797. "type": "integer"
  43798. },
  43799. "askvolume8": {
  43800. "description": "卖量8",
  43801. "type": "integer"
  43802. },
  43803. "askvolume9": {
  43804. "description": "卖量9",
  43805. "type": "integer"
  43806. },
  43807. "averageprice": {
  43808. "description": "均价",
  43809. "type": "number"
  43810. },
  43811. "bid": {
  43812. "description": "买1",
  43813. "type": "number"
  43814. },
  43815. "bid10": {
  43816. "description": "买10",
  43817. "type": "number"
  43818. },
  43819. "bid2": {
  43820. "description": "买2",
  43821. "type": "number"
  43822. },
  43823. "bid3": {
  43824. "description": "买3",
  43825. "type": "number"
  43826. },
  43827. "bid4": {
  43828. "description": "买4",
  43829. "type": "number"
  43830. },
  43831. "bid5": {
  43832. "description": "买5",
  43833. "type": "number"
  43834. },
  43835. "bid6": {
  43836. "description": "买6",
  43837. "type": "number"
  43838. },
  43839. "bid7": {
  43840. "description": "买7",
  43841. "type": "number"
  43842. },
  43843. "bid8": {
  43844. "description": "买8",
  43845. "type": "number"
  43846. },
  43847. "bid9": {
  43848. "description": "买9",
  43849. "type": "number"
  43850. },
  43851. "bidorderid": {
  43852. "description": "买单号1",
  43853. "type": "integer"
  43854. },
  43855. "bidorderid2": {
  43856. "description": "买单号2",
  43857. "type": "integer"
  43858. },
  43859. "bidorderid3": {
  43860. "description": "买单号3",
  43861. "type": "integer"
  43862. },
  43863. "bidorderid4": {
  43864. "description": "买单号4",
  43865. "type": "integer"
  43866. },
  43867. "bidorderid5": {
  43868. "description": "买单号5",
  43869. "type": "integer"
  43870. },
  43871. "bidordervolume": {
  43872. "description": "买单量1",
  43873. "type": "integer"
  43874. },
  43875. "bidordervolume10": {
  43876. "description": "买单量10",
  43877. "type": "integer"
  43878. },
  43879. "bidordervolume2": {
  43880. "description": "买单量2",
  43881. "type": "integer"
  43882. },
  43883. "bidordervolume3": {
  43884. "description": "买单量3",
  43885. "type": "integer"
  43886. },
  43887. "bidordervolume4": {
  43888. "description": "买单量4",
  43889. "type": "integer"
  43890. },
  43891. "bidordervolume5": {
  43892. "description": "买单量5",
  43893. "type": "integer"
  43894. },
  43895. "bidordervolume6": {
  43896. "description": "买单量6",
  43897. "type": "integer"
  43898. },
  43899. "bidordervolume7": {
  43900. "description": "买单量7",
  43901. "type": "integer"
  43902. },
  43903. "bidordervolume8": {
  43904. "description": "买单量8",
  43905. "type": "integer"
  43906. },
  43907. "bidordervolume9": {
  43908. "description": "买单量9",
  43909. "type": "integer"
  43910. },
  43911. "bidqueueinfo": {
  43912. "description": "大利市买港股用",
  43913. "type": "string"
  43914. },
  43915. "bidvolume": {
  43916. "description": "买量1",
  43917. "type": "integer"
  43918. },
  43919. "bidvolume10": {
  43920. "description": "买量10",
  43921. "type": "integer"
  43922. },
  43923. "bidvolume2": {
  43924. "description": "买量2",
  43925. "type": "integer"
  43926. },
  43927. "bidvolume3": {
  43928. "description": "买量3",
  43929. "type": "integer"
  43930. },
  43931. "bidvolume4": {
  43932. "description": "买量4",
  43933. "type": "integer"
  43934. },
  43935. "bidvolume5": {
  43936. "description": "买量5",
  43937. "type": "integer"
  43938. },
  43939. "bidvolume6": {
  43940. "description": "买量6",
  43941. "type": "integer"
  43942. },
  43943. "bidvolume7": {
  43944. "description": "买量7",
  43945. "type": "integer"
  43946. },
  43947. "bidvolume8": {
  43948. "description": "买量8",
  43949. "type": "integer"
  43950. },
  43951. "bidvolume9": {
  43952. "description": "买量9",
  43953. "type": "integer"
  43954. },
  43955. "calloptionpremiums": {
  43956. "description": "认购期权1",
  43957. "type": "integer"
  43958. },
  43959. "calloptionpremiums2": {
  43960. "description": "认购期权2",
  43961. "type": "integer"
  43962. },
  43963. "calloptionpremiums3": {
  43964. "description": "认购期权3",
  43965. "type": "integer"
  43966. },
  43967. "calloptionpremiums4": {
  43968. "description": "认购期权4",
  43969. "type": "integer"
  43970. },
  43971. "calloptionpremiums5": {
  43972. "description": "认购期权5",
  43973. "type": "integer"
  43974. },
  43975. "cleartime": {
  43976. "description": "清盘时间",
  43977. "type": "integer"
  43978. },
  43979. "exchangecode": {
  43980. "description": "交易所代码",
  43981. "type": "integer"
  43982. },
  43983. "exchangedate": {
  43984. "description": "交易日",
  43985. "type": "integer"
  43986. },
  43987. "goodscode": {
  43988. "description": "商品代码",
  43989. "type": "string"
  43990. },
  43991. "grepmarketprice": {
  43992. "description": "暗盘价 港股专用",
  43993. "type": "number"
  43994. },
  43995. "highest": {
  43996. "description": "最高价",
  43997. "type": "number"
  43998. },
  43999. "holdincrement": {
  44000. "description": "单笔持仓",
  44001. "type": "integer"
  44002. },
  44003. "holdvolume": {
  44004. "description": "持仓",
  44005. "type": "integer"
  44006. },
  44007. "iep": {
  44008. "description": "平衡价 港股专用",
  44009. "type": "number"
  44010. },
  44011. "iev": {
  44012. "description": "平衡量 港股专用",
  44013. "type": "number"
  44014. },
  44015. "inventory": {
  44016. "description": "库存",
  44017. "type": "integer"
  44018. },
  44019. "iscleared": {
  44020. "description": "是否清盘标志",
  44021. "type": "integer"
  44022. },
  44023. "issettled": {
  44024. "description": "是否结算标志",
  44025. "type": "integer"
  44026. },
  44027. "last": {
  44028. "description": "最新价",
  44029. "type": "number"
  44030. },
  44031. "lastlot": {
  44032. "description": "最新成交手数",
  44033. "type": "integer"
  44034. },
  44035. "lasttime": {
  44036. "description": "行情时间(只有现价变化行情时间才变化)",
  44037. "type": "string"
  44038. },
  44039. "lastturnover": {
  44040. "description": "最新成交金额",
  44041. "type": "number"
  44042. },
  44043. "lastvolume": {
  44044. "description": "最新成交量",
  44045. "type": "integer"
  44046. },
  44047. "limitdown": {
  44048. "description": "跌停价",
  44049. "type": "number"
  44050. },
  44051. "limitup": {
  44052. "description": "涨停价",
  44053. "type": "number"
  44054. },
  44055. "lowest": {
  44056. "description": "最低价",
  44057. "type": "number"
  44058. },
  44059. "nontotalholdervolume": {
  44060. "description": "非交易持仓量",
  44061. "type": "integer"
  44062. },
  44063. "nontotallot": {
  44064. "description": "非交易总手数",
  44065. "type": "integer"
  44066. },
  44067. "nontotalturnover": {
  44068. "description": "非交易总金额",
  44069. "type": "integer"
  44070. },
  44071. "nontotalvolume": {
  44072. "description": "非交易总量",
  44073. "type": "integer"
  44074. },
  44075. "opened": {
  44076. "description": "开盘价",
  44077. "type": "number"
  44078. },
  44079. "opentime": {
  44080. "description": "开盘时间",
  44081. "type": "string"
  44082. },
  44083. "orderid": {
  44084. "description": "序号",
  44085. "type": "integer"
  44086. },
  44087. "preclose": {
  44088. "description": "昨收",
  44089. "type": "number"
  44090. },
  44091. "preholdvolume": {
  44092. "description": "昨持仓",
  44093. "type": "integer"
  44094. },
  44095. "presettle": {
  44096. "description": "昨结价",
  44097. "type": "number"
  44098. },
  44099. "publictradetype": {
  44100. "description": "公共交易标志类型 港股专用",
  44101. "type": "string"
  44102. },
  44103. "putoptionpremiums": {
  44104. "description": "认沽期权1",
  44105. "type": "integer"
  44106. },
  44107. "putoptionpremiums2": {
  44108. "description": "认沽期权2",
  44109. "type": "integer"
  44110. },
  44111. "putoptionpremiums3": {
  44112. "description": "认沽期权3",
  44113. "type": "integer"
  44114. },
  44115. "putoptionpremiums4": {
  44116. "description": "认沽期权4",
  44117. "type": "integer"
  44118. },
  44119. "putoptionpremiums5": {
  44120. "description": "认沽期权5",
  44121. "type": "integer"
  44122. },
  44123. "settle": {
  44124. "description": "结算价",
  44125. "type": "number"
  44126. },
  44127. "strikeprice": {
  44128. "description": "发行价",
  44129. "type": "number"
  44130. },
  44131. "totalaskvolume": {
  44132. "description": "内盘",
  44133. "type": "integer"
  44134. },
  44135. "totalbidvolume": {
  44136. "description": "外盘",
  44137. "type": "integer"
  44138. },
  44139. "totallot": {
  44140. "description": "总手数",
  44141. "type": "integer"
  44142. },
  44143. "totalturnover": {
  44144. "description": "总金额",
  44145. "type": "number"
  44146. },
  44147. "totalvolume": {
  44148. "description": "总量",
  44149. "type": "integer"
  44150. },
  44151. "utclasttime": {
  44152. "description": "utc的行情时间",
  44153. "type": "string"
  44154. }
  44155. }
  44156. },
  44157. "quote.QueryTSDataRsp": {
  44158. "type": "object",
  44159. "properties": {
  44160. "Count": {
  44161. "description": "交易日应有数据个数",
  44162. "type": "integer"
  44163. },
  44164. "decimalPlace": {
  44165. "description": "小数位",
  44166. "type": "integer"
  44167. },
  44168. "endTime": {
  44169. "description": "结束时间",
  44170. "type": "string"
  44171. },
  44172. "goodsCode": {
  44173. "description": "商品代码",
  44174. "type": "string"
  44175. },
  44176. "historyDatas": {
  44177. "description": "历史数据",
  44178. "type": "array",
  44179. "items": {
  44180. "$ref": "#/definitions/quote.HistoryData"
  44181. }
  44182. },
  44183. "outGoodsCode": {
  44184. "description": "外部商品代码",
  44185. "type": "string"
  44186. },
  44187. "preSettle": {
  44188. "description": "昨结价",
  44189. "type": "number"
  44190. },
  44191. "runSteps": {
  44192. "description": "交易日开休市计划",
  44193. "type": "array",
  44194. "items": {
  44195. "$ref": "#/definitions/quote.TSDataRunStep"
  44196. }
  44197. },
  44198. "startTime": {
  44199. "description": "开始时间",
  44200. "type": "string"
  44201. },
  44202. "tradeDate": {
  44203. "description": "交易日",
  44204. "type": "string"
  44205. }
  44206. }
  44207. },
  44208. "quote.TSDataRunStep": {
  44209. "type": "object",
  44210. "properties": {
  44211. "end": {
  44212. "description": "真实结束时间",
  44213. "type": "string"
  44214. },
  44215. "endflag": {
  44216. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  44217. "type": "integer"
  44218. },
  44219. "endtime": {
  44220. "description": "结束时间(HH:mm)",
  44221. "type": "string"
  44222. },
  44223. "endweekday": {
  44224. "description": "结束周几",
  44225. "type": "integer"
  44226. },
  44227. "groupid": {
  44228. "description": "分组ID",
  44229. "type": "integer"
  44230. },
  44231. "runstep": {
  44232. "description": "运行阶段 - 2:连续交易",
  44233. "type": "integer"
  44234. },
  44235. "sectionid": {
  44236. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  44237. "type": "integer"
  44238. },
  44239. "start": {
  44240. "description": "真实开始时间",
  44241. "type": "string"
  44242. },
  44243. "startflag": {
  44244. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  44245. "type": "integer"
  44246. },
  44247. "starttime": {
  44248. "description": "起始时间(HH:mm)",
  44249. "type": "string"
  44250. },
  44251. "startweekday": {
  44252. "description": "起始周几",
  44253. "type": "integer"
  44254. },
  44255. "tradeweekday": {
  44256. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  44257. "type": "integer"
  44258. }
  44259. }
  44260. },
  44261. "szdz.QueryConvertLogRsp": {
  44262. "type": "object",
  44263. "required": [
  44264. "logid"
  44265. ],
  44266. "properties": {
  44267. "accountid": {
  44268. "description": "资金账户ID",
  44269. "type": "integer"
  44270. },
  44271. "clientticket": {
  44272. "description": "客户端流水号",
  44273. "type": "string"
  44274. },
  44275. "converttype": {
  44276. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  44277. "type": "integer"
  44278. },
  44279. "createtime": {
  44280. "description": "记账时间",
  44281. "type": "string"
  44282. },
  44283. "daymaxvalue": {
  44284. "description": "配置当日最大转入限制",
  44285. "type": "number"
  44286. },
  44287. "daymaxvalue2": {
  44288. "description": "配置当日最大转入限制(转入)",
  44289. "type": "number"
  44290. },
  44291. "goodscode": {
  44292. "description": "商品代码",
  44293. "type": "string"
  44294. },
  44295. "goodsname": {
  44296. "description": "商品名称",
  44297. "type": "string"
  44298. },
  44299. "handlestatus": {
  44300. "description": "处理状态",
  44301. "type": "integer"
  44302. },
  44303. "innergoodsid": {
  44304. "description": "内部商品ID",
  44305. "type": "integer"
  44306. },
  44307. "inratio": {
  44308. "description": "配置转入比值",
  44309. "type": "integer"
  44310. },
  44311. "invalue": {
  44312. "description": "目标值",
  44313. "type": "number"
  44314. },
  44315. "logid": {
  44316. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44317. "type": "integer"
  44318. },
  44319. "mobile": {
  44320. "description": "手机号码(加密存储)",
  44321. "type": "string"
  44322. },
  44323. "outergoodscode": {
  44324. "description": "外部商品代码[JD\\PD]",
  44325. "type": "string"
  44326. },
  44327. "outratio": {
  44328. "description": "配置转出比值",
  44329. "type": "integer"
  44330. },
  44331. "outvalue": {
  44332. "description": "源值",
  44333. "type": "number"
  44334. },
  44335. "pddecimalplace": {
  44336. "description": "PD小数位",
  44337. "type": "integer"
  44338. },
  44339. "qty": {
  44340. "description": "数量",
  44341. "type": "string"
  44342. },
  44343. "remark": {
  44344. "description": "备注",
  44345. "type": "string"
  44346. },
  44347. "sessionid": {
  44348. "description": "会话ID",
  44349. "type": "integer"
  44350. },
  44351. "timemaxvalue": {
  44352. "description": "配置单次最大转入限制",
  44353. "type": "number"
  44354. },
  44355. "timemaxvalue2": {
  44356. "description": "配置单次最大转入限制(转入)",
  44357. "type": "number"
  44358. },
  44359. "timeminvalue": {
  44360. "description": "配置单次最小数量限制",
  44361. "type": "number"
  44362. },
  44363. "timeminvalue2": {
  44364. "description": "配置单次最小数量限制(转入)",
  44365. "type": "number"
  44366. },
  44367. "tradedate": {
  44368. "description": "交易日(yyyyMMdd)",
  44369. "type": "string"
  44370. },
  44371. "userid": {
  44372. "description": "用户ID",
  44373. "type": "integer"
  44374. }
  44375. }
  44376. },
  44377. "szdz.QueryGoodsPickupRsp": {
  44378. "type": "object",
  44379. "required": [
  44380. "takeorderid"
  44381. ],
  44382. "properties": {
  44383. "accountid": {
  44384. "description": "账户ID",
  44385. "type": "integer"
  44386. },
  44387. "address": {
  44388. "description": "提货人详细地址",
  44389. "type": "string"
  44390. },
  44391. "auditer": {
  44392. "description": "审核人",
  44393. "type": "integer"
  44394. },
  44395. "audittime": {
  44396. "description": "审核时间",
  44397. "type": "string"
  44398. },
  44399. "cardnum": {
  44400. "description": "提货人证件号码",
  44401. "type": "string"
  44402. },
  44403. "cardtypeid": {
  44404. "description": "提货人证件类型",
  44405. "type": "integer"
  44406. },
  44407. "checkremark": {
  44408. "description": "审核备注",
  44409. "type": "string"
  44410. },
  44411. "goodscode": {
  44412. "description": "商品代码",
  44413. "type": "string"
  44414. },
  44415. "goodsid": {
  44416. "description": "商品ID",
  44417. "type": "integer"
  44418. },
  44419. "goodsname": {
  44420. "description": "商品名称",
  44421. "type": "string"
  44422. },
  44423. "handlestatus": {
  44424. "description": "处理状态",
  44425. "type": "integer"
  44426. },
  44427. "marketid": {
  44428. "description": "市场ID",
  44429. "type": "integer"
  44430. },
  44431. "phonenum": {
  44432. "description": "提货人联系方式",
  44433. "type": "string"
  44434. },
  44435. "qty": {
  44436. "description": "提货数量",
  44437. "type": "number"
  44438. },
  44439. "recivername": {
  44440. "description": "提货人姓名",
  44441. "type": "string"
  44442. },
  44443. "reqtime": {
  44444. "description": "更新时间",
  44445. "type": "string"
  44446. },
  44447. "takemode": {
  44448. "description": "提货方式 - 2:自提 3:配送",
  44449. "type": "integer"
  44450. },
  44451. "takeorderid": {
  44452. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  44453. "type": "string"
  44454. },
  44455. "takeorderstatus": {
  44456. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  44457. "type": "integer"
  44458. },
  44459. "takeremark": {
  44460. "description": "提货备注",
  44461. "type": "string"
  44462. },
  44463. "tradedate": {
  44464. "description": "交易日(yyyyMMdd)",
  44465. "type": "string"
  44466. },
  44467. "userid": {
  44468. "description": "用户ID",
  44469. "type": "integer"
  44470. }
  44471. }
  44472. },
  44473. "szdz.QueryRecieptOrderRsp": {
  44474. "type": "object",
  44475. "required": [
  44476. "ordertime"
  44477. ],
  44478. "properties": {
  44479. "accountName": {
  44480. "description": "所属账号名称(已脱敏)",
  44481. "type": "string"
  44482. },
  44483. "accountid": {
  44484. "description": "资金账号",
  44485. "type": "integer"
  44486. },
  44487. "buyorsell": {
  44488. "description": "方向 - 0:买 1:卖",
  44489. "type": "integer"
  44490. },
  44491. "enableqty": {
  44492. "description": "可摘数量",
  44493. "type": "integer"
  44494. },
  44495. "goodscode": {
  44496. "description": "商品代码",
  44497. "type": "string"
  44498. },
  44499. "goodsid": {
  44500. "description": "商品ID",
  44501. "type": "integer"
  44502. },
  44503. "goodsname": {
  44504. "description": "商品名称",
  44505. "type": "string"
  44506. },
  44507. "orderid": {
  44508. "description": "委托单号",
  44509. "type": "string"
  44510. },
  44511. "orderprice": {
  44512. "description": "委托价格",
  44513. "type": "number"
  44514. },
  44515. "ordertime": {
  44516. "description": "委托时间",
  44517. "type": "string"
  44518. },
  44519. "tradedate": {
  44520. "description": "交易日(yyyyMMdd)",
  44521. "type": "string"
  44522. }
  44523. }
  44524. },
  44525. "szdz.QuerySZDZTradePositionRsp": {
  44526. "type": "object",
  44527. "properties": {
  44528. "accountid": {
  44529. "description": "账号Id",
  44530. "type": "integer"
  44531. },
  44532. "agreeunit": {
  44533. "description": "合约单位",
  44534. "type": "number"
  44535. },
  44536. "averageprice": {
  44537. "description": "持仓均价",
  44538. "type": "number"
  44539. },
  44540. "buyorsell": {
  44541. "description": "方向 - 0:买 1:卖",
  44542. "type": "integer"
  44543. },
  44544. "closetotalqty": {
  44545. "description": "平仓总数量",
  44546. "type": "integer"
  44547. },
  44548. "curholderamount": {
  44549. "description": "当前持仓总金额",
  44550. "type": "number"
  44551. },
  44552. "curpositionqty": {
  44553. "description": "当前持仓总数量",
  44554. "type": "integer"
  44555. },
  44556. "currencyid": {
  44557. "description": "报价货币ID",
  44558. "type": "integer"
  44559. },
  44560. "curtdposition": {
  44561. "description": "期末今日头寸",
  44562. "type": "integer"
  44563. },
  44564. "decimalplace": {
  44565. "description": "报价小数位",
  44566. "type": "integer"
  44567. },
  44568. "enableqty": {
  44569. "description": "可用量",
  44570. "type": "integer"
  44571. },
  44572. "fretdposition": {
  44573. "description": "冻结今日头寸",
  44574. "type": "integer"
  44575. },
  44576. "frozenqty": {
  44577. "description": "持仓冻结数量",
  44578. "type": "integer"
  44579. },
  44580. "goodscode": {
  44581. "description": "商品代码(内部)",
  44582. "type": "string"
  44583. },
  44584. "goodsid": {
  44585. "description": "商品Id",
  44586. "type": "integer"
  44587. },
  44588. "goodsname": {
  44589. "description": "商品名称",
  44590. "type": "string"
  44591. },
  44592. "goodunit": {
  44593. "description": "报价单位",
  44594. "type": "string"
  44595. },
  44596. "goodunitid": {
  44597. "description": "报价单位ID",
  44598. "type": "integer"
  44599. },
  44600. "holderamount": {
  44601. "description": "期初持仓总金额",
  44602. "type": "number"
  44603. },
  44604. "marketid": {
  44605. "description": "市场ID",
  44606. "type": "integer"
  44607. },
  44608. "openreqqty": {
  44609. "description": "开仓申请数量",
  44610. "type": "integer"
  44611. },
  44612. "opentotalqty": {
  44613. "description": "开仓总数量",
  44614. "type": "integer"
  44615. },
  44616. "otherfrozenqty": {
  44617. "description": "持仓其他冻结数量(交割冻结)",
  44618. "type": "integer"
  44619. },
  44620. "positionqty": {
  44621. "description": "期初持仓数量",
  44622. "type": "integer"
  44623. },
  44624. "szdz3freezqty": {
  44625. "description": "尚志大宗转换冻结总数量",
  44626. "type": "integer"
  44627. },
  44628. "tnqty": {
  44629. "description": "T+N冻结总量",
  44630. "type": "integer"
  44631. },
  44632. "tnusedqty": {
  44633. "description": "T+N使用量",
  44634. "type": "integer"
  44635. },
  44636. "trademode": {
  44637. "description": "交易模式",
  44638. "type": "integer"
  44639. },
  44640. "usedmargin": {
  44641. "description": "占用保证金",
  44642. "type": "number"
  44643. }
  44644. }
  44645. },
  44646. "taaccount.QueryAmountLogRsp": {
  44647. "type": "object",
  44648. "required": [
  44649. "accountid",
  44650. "amount",
  44651. "amountadjusttype",
  44652. "autoid",
  44653. "balance",
  44654. "createtime",
  44655. "currentbalance",
  44656. "operatetype"
  44657. ],
  44658. "properties": {
  44659. "OPERATETYPENAME": {
  44660. "description": "资金操作类型名称",
  44661. "type": "string"
  44662. },
  44663. "accountid": {
  44664. "description": "资金账户ID",
  44665. "type": "integer"
  44666. },
  44667. "agoodscode": {
  44668. "description": "竞拍商品代码",
  44669. "type": "string"
  44670. },
  44671. "agoodsname": {
  44672. "description": "竞拍商品名称",
  44673. "type": "string"
  44674. },
  44675. "amount": {
  44676. "description": "资金金额",
  44677. "type": "number"
  44678. },
  44679. "amountadjusttype": {
  44680. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44681. "type": "integer"
  44682. },
  44683. "autoid": {
  44684. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44685. "type": "integer"
  44686. },
  44687. "balance": {
  44688. "description": "期初余额",
  44689. "type": "number"
  44690. },
  44691. "businesscode": {
  44692. "description": "业务编号",
  44693. "type": "integer"
  44694. },
  44695. "createtime": {
  44696. "description": "发生时间",
  44697. "type": "string"
  44698. },
  44699. "currencyid": {
  44700. "description": "币种ID",
  44701. "type": "integer"
  44702. },
  44703. "currentbalance": {
  44704. "description": "期末余额(变动后金额)",
  44705. "type": "number"
  44706. },
  44707. "dgoodscode": {
  44708. "description": "交割商品代码",
  44709. "type": "string"
  44710. },
  44711. "dgoodsname": {
  44712. "description": "交割商品名称",
  44713. "type": "string"
  44714. },
  44715. "goodscode": {
  44716. "description": "商品代码",
  44717. "type": "string"
  44718. },
  44719. "goodsid": {
  44720. "description": "商品ID",
  44721. "type": "integer"
  44722. },
  44723. "goodsname": {
  44724. "description": "商品名称",
  44725. "type": "string"
  44726. },
  44727. "marketid": {
  44728. "description": "市场ID",
  44729. "type": "integer"
  44730. },
  44731. "marketname": {
  44732. "description": "市场名称",
  44733. "type": "string"
  44734. },
  44735. "moneyticket": {
  44736. "description": "资金流水号:银行端流水号",
  44737. "type": "integer"
  44738. },
  44739. "operatetype": {
  44740. "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:营销收款",
  44741. "type": "integer"
  44742. },
  44743. "relationorderid": {
  44744. "description": "关联单号",
  44745. "type": "string"
  44746. },
  44747. "remark": {
  44748. "description": "备注",
  44749. "type": "string"
  44750. },
  44751. "trademode": {
  44752. "description": "交易模式",
  44753. "type": "integer"
  44754. }
  44755. }
  44756. },
  44757. "taaccount.QueryHisAmountLogRsp": {
  44758. "type": "object",
  44759. "required": [
  44760. "accountid",
  44761. "amount",
  44762. "amountadjusttype",
  44763. "autoid",
  44764. "balance",
  44765. "createtime",
  44766. "currentbalance",
  44767. "histradedate",
  44768. "operatetype"
  44769. ],
  44770. "properties": {
  44771. "OPERATETYPENAME": {
  44772. "description": "资金操作类型名称",
  44773. "type": "string"
  44774. },
  44775. "accountid": {
  44776. "description": "资金账户ID",
  44777. "type": "integer"
  44778. },
  44779. "agoodscode": {
  44780. "description": "竞拍商品代码",
  44781. "type": "string"
  44782. },
  44783. "agoodsname": {
  44784. "description": "竞拍商品名称",
  44785. "type": "string"
  44786. },
  44787. "amount": {
  44788. "description": "资金金额",
  44789. "type": "number"
  44790. },
  44791. "amountadjusttype": {
  44792. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44793. "type": "integer"
  44794. },
  44795. "autoid": {
  44796. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44797. "type": "integer"
  44798. },
  44799. "balance": {
  44800. "description": "期初余额",
  44801. "type": "number"
  44802. },
  44803. "businesscode": {
  44804. "description": "业务编号",
  44805. "type": "integer"
  44806. },
  44807. "createtime": {
  44808. "description": "发生时间",
  44809. "type": "string"
  44810. },
  44811. "currencyid": {
  44812. "description": "币种ID",
  44813. "type": "integer"
  44814. },
  44815. "currentbalance": {
  44816. "description": "期末余额(变动后金额)",
  44817. "type": "number"
  44818. },
  44819. "dgoodscode": {
  44820. "description": "交割商品代码",
  44821. "type": "string"
  44822. },
  44823. "dgoodsname": {
  44824. "description": "交割商品名称",
  44825. "type": "string"
  44826. },
  44827. "goodscode": {
  44828. "description": "商品代码",
  44829. "type": "string"
  44830. },
  44831. "goodsid": {
  44832. "description": "商品ID",
  44833. "type": "integer"
  44834. },
  44835. "goodsname": {
  44836. "description": "商品名称",
  44837. "type": "string"
  44838. },
  44839. "histradedate": {
  44840. "description": "历史交易日",
  44841. "type": "string"
  44842. },
  44843. "isvaliddata": {
  44844. "description": "是否有效 - 0:无效 1:有效",
  44845. "type": "integer"
  44846. },
  44847. "marketid": {
  44848. "description": "市场ID",
  44849. "type": "integer"
  44850. },
  44851. "marketname": {
  44852. "description": "市场名称",
  44853. "type": "string"
  44854. },
  44855. "moneyticket": {
  44856. "description": "资金流水号:银行端流水号",
  44857. "type": "integer"
  44858. },
  44859. "operatetype": {
  44860. "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:营销收款",
  44861. "type": "integer"
  44862. },
  44863. "relationorderid": {
  44864. "description": "关联单号",
  44865. "type": "string"
  44866. },
  44867. "remark": {
  44868. "description": "备注",
  44869. "type": "string"
  44870. },
  44871. "trademode": {
  44872. "description": "交易模式",
  44873. "type": "integer"
  44874. }
  44875. }
  44876. },
  44877. "trade.QueryRecieptOrderRsp": {
  44878. "type": "object",
  44879. "required": [
  44880. "ordertime"
  44881. ],
  44882. "properties": {
  44883. "accountName": {
  44884. "description": "所属账号名称(已脱敏)",
  44885. "type": "string"
  44886. },
  44887. "accountid": {
  44888. "description": "资金账号",
  44889. "type": "integer"
  44890. },
  44891. "buyorsell": {
  44892. "description": "方向 - 0:买 1:卖",
  44893. "type": "integer"
  44894. },
  44895. "enableqty": {
  44896. "description": "可摘数量",
  44897. "type": "integer"
  44898. },
  44899. "goodscode": {
  44900. "description": "商品代码",
  44901. "type": "string"
  44902. },
  44903. "goodsid": {
  44904. "description": "商品ID",
  44905. "type": "integer"
  44906. },
  44907. "goodsname": {
  44908. "description": "商品名称",
  44909. "type": "string"
  44910. },
  44911. "orderid": {
  44912. "description": "委托单号",
  44913. "type": "string"
  44914. },
  44915. "orderprice": {
  44916. "description": "委托价格",
  44917. "type": "number"
  44918. },
  44919. "ordertime": {
  44920. "description": "委托时间",
  44921. "type": "string"
  44922. },
  44923. "tradedate": {
  44924. "description": "交易日(yyyyMMdd)",
  44925. "type": "string"
  44926. }
  44927. }
  44928. },
  44929. "user.LoginQueryRsp": {
  44930. "type": "object",
  44931. "properties": {
  44932. "areaRoles": {
  44933. "description": "所属角色信息",
  44934. "type": "array",
  44935. "items": {
  44936. "$ref": "#/definitions/models.Arearole"
  44937. }
  44938. },
  44939. "externalExchanges": {
  44940. "description": "外部交易所",
  44941. "type": "array",
  44942. "items": {
  44943. "$ref": "#/definitions/models.Externalexchange"
  44944. }
  44945. },
  44946. "goodsgroups": {
  44947. "description": "商品组",
  44948. "type": "array",
  44949. "items": {
  44950. "$ref": "#/definitions/models.Goodsgroup"
  44951. }
  44952. },
  44953. "loginAccount": {
  44954. "description": "登录账号",
  44955. "$ref": "#/definitions/models.Loginaccount"
  44956. },
  44957. "markets": {
  44958. "description": "市场",
  44959. "type": "array",
  44960. "items": {
  44961. "$ref": "#/definitions/models.Market"
  44962. }
  44963. },
  44964. "systemParams": {
  44965. "description": "系统参数",
  44966. "type": "array",
  44967. "items": {
  44968. "$ref": "#/definitions/models.Systemparam"
  44969. }
  44970. },
  44971. "userAccount": {
  44972. "description": "用户账号",
  44973. "$ref": "#/definitions/models.Useraccount"
  44974. },
  44975. "userInfo": {
  44976. "description": "用户信息",
  44977. "$ref": "#/definitions/models.Userinfo"
  44978. },
  44979. "username": {
  44980. "description": "用户姓名",
  44981. "type": "string"
  44982. }
  44983. }
  44984. }
  44985. },
  44986. "securityDefinitions": {
  44987. "ApiKeyAuth": {
  44988. "type": "apiKey",
  44989. "name": "Authorization",
  44990. "in": "header"
  44991. }
  44992. }
  44993. }`
  44994. type swaggerInfo struct {
  44995. Version string
  44996. Host string
  44997. BasePath string
  44998. Schemes []string
  44999. Title string
  45000. Description string
  45001. }
  45002. // SwaggerInfo holds exported Swagger Info so clients can modify it
  45003. var SwaggerInfo = swaggerInfo{
  45004. Version: "1.0",
  45005. Host: "",
  45006. BasePath: "/api",
  45007. Schemes: []string{},
  45008. Title: "MTP2.0 查询服务 API",
  45009. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  45010. }
  45011. type s struct{}
  45012. func (s *s) ReadDoc() string {
  45013. sInfo := SwaggerInfo
  45014. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  45015. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  45016. "marshal": func(v interface{}) string {
  45017. a, _ := json.Marshal(v)
  45018. return string(a)
  45019. },
  45020. }).Parse(doc)
  45021. if err != nil {
  45022. return doc
  45023. }
  45024. var tpl bytes.Buffer
  45025. if err := t.Execute(&tpl, sInfo); err != nil {
  45026. return doc
  45027. }
  45028. return tpl.String()
  45029. }
  45030. func init() {
  45031. swag.Register(swag.Name, &s{})
  45032. }