docs.go 1.6 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238
  1. // Package docs GENERATED BY SWAG; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import "github.com/swaggo/swag"
  5. const docTemplate = `{
  6. "schemes": {{ marshal .Schemes }},
  7. "swagger": "2.0",
  8. "info": {
  9. "description": "{{escape .Description}}",
  10. "title": "{{.Title}}",
  11. "termsOfService": "http://www.muchinfo.cn",
  12. "contact": {},
  13. "version": "{{.Version}}"
  14. },
  15. "host": "{{.Host}}",
  16. "basePath": "{{.BasePath}}",
  17. "paths": {
  18. "/CPTrade/QueryCPTradeMyBidInfos": {
  19. "get": {
  20. "security": [
  21. {
  22. "ApiKeyAuth": []
  23. }
  24. ],
  25. "produces": [
  26. "application/json"
  27. ],
  28. "tags": [
  29. "产能预售"
  30. ],
  31. "summary": "查询产能预售我的出价信息",
  32. "parameters": [
  33. {
  34. "type": "integer",
  35. "description": "资金账户",
  36. "name": "accountid",
  37. "in": "query",
  38. "required": true
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售市场ID",
  43. "name": "marketid",
  44. "in": "query"
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售商品ID",
  49. "name": "goodsid",
  50. "in": "query"
  51. }
  52. ],
  53. "responses": {
  54. "200": {
  55. "description": "OK",
  56. "schema": {
  57. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  58. }
  59. },
  60. "500": {
  61. "description": "Internal Server Error",
  62. "schema": {
  63. "$ref": "#/definitions/app.Response"
  64. }
  65. }
  66. }
  67. }
  68. },
  69. "/CPTrade/QueryCPTradeOrderDetail": {
  70. "get": {
  71. "security": [
  72. {
  73. "ApiKeyAuth": []
  74. }
  75. ],
  76. "produces": [
  77. "application/json"
  78. ],
  79. "tags": [
  80. "产能预售"
  81. ],
  82. "summary": "查询产能预售委托单信息",
  83. "parameters": [
  84. {
  85. "type": "integer",
  86. "description": "预售商品ID",
  87. "name": "goodsid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "integer",
  92. "description": "预售市场ID",
  93. "name": "marketid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "string",
  98. "description": "预售商品ID列表 - 格式:1,2,3",
  99. "name": "goodsids",
  100. "in": "query"
  101. }
  102. ],
  103. "responses": {
  104. "200": {
  105. "description": "OK",
  106. "schema": {
  107. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  108. }
  109. },
  110. "500": {
  111. "description": "Internal Server Error",
  112. "schema": {
  113. "$ref": "#/definitions/app.Response"
  114. }
  115. }
  116. }
  117. }
  118. },
  119. "/CPTrade/QueryMyCPTradeGoods": {
  120. "get": {
  121. "security": [
  122. {
  123. "ApiKeyAuth": []
  124. }
  125. ],
  126. "produces": [
  127. "application/json"
  128. ],
  129. "tags": [
  130. "产能预售"
  131. ],
  132. "summary": "查询我的预售信息",
  133. "parameters": [
  134. {
  135. "type": "integer",
  136. "description": "资金账户",
  137. "name": "accountid",
  138. "in": "query",
  139. "required": true
  140. }
  141. ],
  142. "responses": {
  143. "200": {
  144. "description": "OK",
  145. "schema": {
  146. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  147. }
  148. },
  149. "500": {
  150. "description": "Internal Server Error",
  151. "schema": {
  152. "$ref": "#/definitions/app.Response"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "/CPTrade/QueryPositionCancel": {
  159. "get": {
  160. "security": [
  161. {
  162. "ApiKeyAuth": []
  163. }
  164. ],
  165. "produces": [
  166. "application/json"
  167. ],
  168. "tags": [
  169. "产能预售"
  170. ],
  171. "summary": "查询远期订单注销申请信息",
  172. "parameters": [
  173. {
  174. "type": "integer",
  175. "description": "账户ID",
  176. "name": "userid",
  177. "in": "query",
  178. "required": true
  179. },
  180. {
  181. "type": "integer",
  182. "description": "注销ID",
  183. "name": "cancelid",
  184. "in": "query"
  185. },
  186. {
  187. "type": "integer",
  188. "description": "资金账户ID",
  189. "name": "accountid",
  190. "in": "query"
  191. }
  192. ],
  193. "responses": {
  194. "200": {
  195. "description": "OK",
  196. "schema": {
  197. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  198. }
  199. },
  200. "500": {
  201. "description": "Internal Server Error",
  202. "schema": {
  203. "$ref": "#/definitions/app.Response"
  204. }
  205. }
  206. }
  207. }
  208. },
  209. "/CPTrade/QueryPreasleApply": {
  210. "get": {
  211. "security": [
  212. {
  213. "ApiKeyAuth": []
  214. }
  215. ],
  216. "produces": [
  217. "application/json"
  218. ],
  219. "tags": [
  220. "产能预售"
  221. ],
  222. "summary": "查询产能预售申请信息",
  223. "parameters": [
  224. {
  225. "type": "integer",
  226. "description": "账户ID",
  227. "name": "userid",
  228. "in": "query",
  229. "required": true
  230. },
  231. {
  232. "type": "integer",
  233. "description": "申请ID",
  234. "name": "applyid",
  235. "in": "query"
  236. },
  237. {
  238. "type": "integer",
  239. "description": "资金账户ID",
  240. "name": "accountid",
  241. "in": "query"
  242. }
  243. ],
  244. "responses": {
  245. "200": {
  246. "description": "OK",
  247. "schema": {
  248. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  249. }
  250. },
  251. "500": {
  252. "description": "Internal Server Error",
  253. "schema": {
  254. "$ref": "#/definitions/app.Response"
  255. }
  256. }
  257. }
  258. }
  259. },
  260. "/CPTrade/QueryPresaleGoodsEx": {
  261. "get": {
  262. "security": [
  263. {
  264. "ApiKeyAuth": []
  265. }
  266. ],
  267. "produces": [
  268. "application/json"
  269. ],
  270. "tags": [
  271. "产能预售"
  272. ],
  273. "summary": "查询产能预售商品扩展信息",
  274. "parameters": [
  275. {
  276. "type": "integer",
  277. "description": "预售商品ID",
  278. "name": "goodsid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售市场ID",
  284. "name": "marketid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  290. "name": "presalemode",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品ID列表 - 格式:1,2,3",
  296. "name": "goodsids",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品代码",
  302. "name": "goodscode",
  303. "in": "query"
  304. }
  305. ],
  306. "responses": {
  307. "200": {
  308. "description": "OK",
  309. "schema": {
  310. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  311. }
  312. },
  313. "500": {
  314. "description": "Internal Server Error",
  315. "schema": {
  316. "$ref": "#/definitions/app.Response"
  317. }
  318. }
  319. }
  320. }
  321. },
  322. "/CPTrade/QueryUserGoodsData": {
  323. "get": {
  324. "security": [
  325. {
  326. "ApiKeyAuth": []
  327. }
  328. ],
  329. "produces": [
  330. "application/json"
  331. ],
  332. "tags": [
  333. "产能预售"
  334. ],
  335. "summary": "查询远期订单信息",
  336. "parameters": [
  337. {
  338. "type": "integer",
  339. "description": "资金账户ID",
  340. "name": "accountid",
  341. "in": "query",
  342. "required": true
  343. }
  344. ],
  345. "responses": {
  346. "200": {
  347. "description": "OK",
  348. "schema": {
  349. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  350. }
  351. },
  352. "500": {
  353. "description": "Internal Server Error",
  354. "schema": {
  355. "$ref": "#/definitions/app.Response"
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/Common/DeleteNewFuncmenu": {
  362. "delete": {
  363. "security": [
  364. {
  365. "ApiKeyAuth": []
  366. }
  367. ],
  368. "consumes": [
  369. "application/json"
  370. ],
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "删除菜单表数据",
  378. "parameters": [
  379. {
  380. "description": "菜单表数据,只需要resourcecode字段即可",
  381. "name": "data",
  382. "in": "body",
  383. "required": true,
  384. "schema": {
  385. "$ref": "#/definitions/models.NewFuncmenulist"
  386. }
  387. }
  388. ],
  389. "responses": {
  390. "200": {
  391. "description": "OK",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. },
  396. "500": {
  397. "description": "Internal Server Error",
  398. "schema": {
  399. "$ref": "#/definitions/app.Response"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. "/Common/FindNewFuncmenu": {
  406. "get": {
  407. "security": [
  408. {
  409. "ApiKeyAuth": []
  410. }
  411. ],
  412. "produces": [
  413. "application/json"
  414. ],
  415. "tags": [
  416. "通用服务"
  417. ],
  418. "summary": "获取菜单表数据",
  419. "parameters": [
  420. {
  421. "type": "string",
  422. "description": "资源代码",
  423. "name": "resourcecode",
  424. "in": "query"
  425. },
  426. {
  427. "type": "string",
  428. "description": "上级资源代码",
  429. "name": "parentcode",
  430. "in": "query"
  431. },
  432. {
  433. "type": "string",
  434. "description": "资源名(Title), 模糊查询",
  435. "name": "resourcename",
  436. "in": "query"
  437. },
  438. {
  439. "type": "string",
  440. "description": "菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  441. "name": "menutype",
  442. "in": "query"
  443. }
  444. ],
  445. "responses": {
  446. "200": {
  447. "description": "OK",
  448. "schema": {
  449. "type": "array",
  450. "items": {
  451. "$ref": "#/definitions/models.NewFuncmenulist"
  452. }
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/GetAllEnums": {
  465. "get": {
  466. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  467. "produces": [
  468. "application/json"
  469. ],
  470. "tags": [
  471. "通用服务"
  472. ],
  473. "summary": "获取所有枚举信息",
  474. "parameters": [
  475. {
  476. "type": "integer",
  477. "description": "起始自增ID",
  478. "name": "autoid",
  479. "in": "query"
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/models.Enumdicitem"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/GetClientMenus": {
  499. "get": {
  500. "security": [
  501. {
  502. "ApiKeyAuth": []
  503. }
  504. ],
  505. "produces": [
  506. "application/json"
  507. ],
  508. "tags": [
  509. "通用服务"
  510. ],
  511. "summary": "获取交易端菜单",
  512. "parameters": [
  513. {
  514. "type": "integer",
  515. "description": "登录账号",
  516. "name": "loginID",
  517. "in": "query",
  518. "required": true
  519. },
  520. {
  521. "type": "integer",
  522. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  523. "name": "clientType",
  524. "in": "query"
  525. },
  526. {
  527. "type": "string",
  528. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  529. "name": "name",
  530. "in": "query"
  531. }
  532. ],
  533. "responses": {
  534. "200": {
  535. "description": "OK",
  536. "schema": {
  537. "type": "array",
  538. "items": {
  539. "$ref": "#/definitions/common.ClientMenu"
  540. }
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/GetClientNewFuncmenu": {
  553. "get": {
  554. "security": [
  555. {
  556. "ApiKeyAuth": []
  557. }
  558. ],
  559. "produces": [
  560. "application/json"
  561. ],
  562. "tags": [
  563. "通用服务"
  564. ],
  565. "summary": "获取终端菜单",
  566. "parameters": [
  567. {
  568. "type": "integer",
  569. "description": "登录账号",
  570. "name": "loginid",
  571. "in": "query",
  572. "required": true
  573. },
  574. {
  575. "type": "integer",
  576. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  577. "name": "menutype",
  578. "in": "query",
  579. "required": true
  580. }
  581. ],
  582. "responses": {
  583. "200": {
  584. "description": "OK",
  585. "schema": {
  586. "type": "array",
  587. "items": {
  588. "$ref": "#/definitions/models.NewFuncmenulist"
  589. }
  590. }
  591. },
  592. "500": {
  593. "description": "Internal Server Error",
  594. "schema": {
  595. "$ref": "#/definitions/app.Response"
  596. }
  597. }
  598. }
  599. }
  600. },
  601. "/Common/GetDivisions": {
  602. "get": {
  603. "produces": [
  604. "application/json"
  605. ],
  606. "tags": [
  607. "通用服务"
  608. ],
  609. "summary": "查询区域信息",
  610. "responses": {
  611. "200": {
  612. "description": "OK",
  613. "schema": {
  614. "$ref": "#/definitions/models.Division"
  615. }
  616. },
  617. "500": {
  618. "description": "Internal Server Error",
  619. "schema": {
  620. "$ref": "#/definitions/app.Response"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/Common/GetPCWebMenus": {
  627. "get": {
  628. "security": [
  629. {
  630. "ApiKeyAuth": []
  631. }
  632. ],
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "获取PCWeb交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginID",
  645. "in": "query",
  646. "required": true
  647. },
  648. {
  649. "type": "string",
  650. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  651. "name": "name",
  652. "in": "query"
  653. }
  654. ],
  655. "responses": {
  656. "200": {
  657. "description": "OK",
  658. "schema": {
  659. "type": "array",
  660. "items": {
  661. "$ref": "#/definitions/common.PCWebMenu"
  662. }
  663. }
  664. },
  665. "500": {
  666. "description": "Internal Server Error",
  667. "schema": {
  668. "$ref": "#/definitions/app.Response"
  669. }
  670. }
  671. }
  672. }
  673. },
  674. "/Common/GetServerTime": {
  675. "get": {
  676. "produces": [
  677. "application/json"
  678. ],
  679. "tags": [
  680. "通用服务"
  681. ],
  682. "summary": "获取服务器时间",
  683. "responses": {
  684. "200": {
  685. "description": "OK",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. },
  690. "500": {
  691. "description": "Internal Server Error",
  692. "schema": {
  693. "$ref": "#/definitions/app.Response"
  694. }
  695. }
  696. }
  697. }
  698. },
  699. "/Common/InsertNewFuncmenu": {
  700. "post": {
  701. "security": [
  702. {
  703. "ApiKeyAuth": []
  704. }
  705. ],
  706. "consumes": [
  707. "application/json"
  708. ],
  709. "produces": [
  710. "application/json"
  711. ],
  712. "tags": [
  713. "通用服务"
  714. ],
  715. "summary": "插入菜单表数据",
  716. "parameters": [
  717. {
  718. "description": "菜单表数据",
  719. "name": "data",
  720. "in": "body",
  721. "required": true,
  722. "schema": {
  723. "$ref": "#/definitions/models.NewFuncmenulist"
  724. }
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "$ref": "#/definitions/app.Response"
  732. }
  733. },
  734. "500": {
  735. "description": "Internal Server Error",
  736. "schema": {
  737. "$ref": "#/definitions/app.Response"
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "/Common/NoticeReaded": {
  744. "post": {
  745. "security": [
  746. {
  747. "ApiKeyAuth": []
  748. }
  749. ],
  750. "produces": [
  751. "application/json"
  752. ],
  753. "tags": [
  754. "通用服务"
  755. ],
  756. "summary": "通知公告设置已读请求",
  757. "parameters": [
  758. {
  759. "type": "integer",
  760. "description": "登录账号",
  761. "name": "loginID",
  762. "in": "query",
  763. "required": true
  764. },
  765. {
  766. "type": "integer",
  767. "description": "通知公告ID",
  768. "name": "noticeID",
  769. "in": "query",
  770. "required": true
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/app.Response"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Common/QueryErrorInfos": {
  790. "get": {
  791. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  792. "produces": [
  793. "application/json"
  794. ],
  795. "tags": [
  796. "通用服务"
  797. ],
  798. "summary": "获取数据库错误信息",
  799. "parameters": [
  800. {
  801. "type": "string",
  802. "description": "起始行号前索引",
  803. "name": "rowNumber",
  804. "in": "query"
  805. }
  806. ],
  807. "responses": {
  808. "200": {
  809. "description": "OK",
  810. "schema": {
  811. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  812. }
  813. },
  814. "500": {
  815. "description": "Internal Server Error",
  816. "schema": {
  817. "$ref": "#/definitions/app.Response"
  818. }
  819. }
  820. }
  821. }
  822. },
  823. "/Common/QueryImageConfigs": {
  824. "get": {
  825. "produces": [
  826. "application/json"
  827. ],
  828. "tags": [
  829. "通用服务"
  830. ],
  831. "summary": "查询轮播图配置信息",
  832. "parameters": [
  833. {
  834. "type": "integer",
  835. "description": "用户id",
  836. "name": "userId",
  837. "in": "query"
  838. },
  839. {
  840. "type": "integer",
  841. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  842. "name": "imageType",
  843. "in": "query"
  844. }
  845. ],
  846. "responses": {
  847. "200": {
  848. "description": "OK",
  849. "schema": {
  850. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  851. }
  852. },
  853. "500": {
  854. "description": "Internal Server Error",
  855. "schema": {
  856. "$ref": "#/definitions/app.Response"
  857. }
  858. }
  859. }
  860. }
  861. },
  862. "/Common/QueryNotice": {
  863. "get": {
  864. "security": [
  865. {
  866. "ApiKeyAuth": []
  867. }
  868. ],
  869. "produces": [
  870. "application/json"
  871. ],
  872. "tags": [
  873. "通用服务"
  874. ],
  875. "summary": "通知公告系统消息查询",
  876. "parameters": [
  877. {
  878. "type": "integer",
  879. "description": "页码",
  880. "name": "page",
  881. "in": "query"
  882. },
  883. {
  884. "type": "integer",
  885. "description": "每页条数",
  886. "name": "pagesize",
  887. "in": "query"
  888. },
  889. {
  890. "type": "integer",
  891. "description": "登录账号",
  892. "name": "loginID",
  893. "in": "query",
  894. "required": true
  895. },
  896. {
  897. "type": "integer",
  898. "description": "消息类型 - 1:公告通知 2:系统消息",
  899. "name": "msgType",
  900. "in": "query"
  901. },
  902. {
  903. "type": "boolean",
  904. "description": "是否只获取未读信息",
  905. "name": "onlyUnRead",
  906. "in": "query"
  907. },
  908. {
  909. "type": "integer",
  910. "description": "自增ID,传入后会返回这个ID后面的记录",
  911. "name": "lastID",
  912. "in": "query"
  913. }
  914. ],
  915. "responses": {
  916. "200": {
  917. "description": "OK",
  918. "schema": {
  919. "$ref": "#/definitions/common.QueryNoticeRsp"
  920. }
  921. },
  922. "500": {
  923. "description": "Internal Server Error",
  924. "schema": {
  925. "$ref": "#/definitions/app.Response"
  926. }
  927. }
  928. }
  929. }
  930. },
  931. "/Common/QueryProvincesAndCities": {
  932. "get": {
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "通用服务"
  938. ],
  939. "summary": "查询省市信息(不包括区)",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "省ID",
  944. "name": "provinceID",
  945. "in": "query"
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "OK",
  951. "schema": {
  952. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Common/QueryTableDefine": {
  965. "get": {
  966. "produces": [
  967. "application/json"
  968. ],
  969. "tags": [
  970. "通用服务"
  971. ],
  972. "summary": "查询交易端列表头信息",
  973. "parameters": [
  974. {
  975. "type": "string",
  976. "description": "表key",
  977. "name": "tableKey",
  978. "in": "query"
  979. },
  980. {
  981. "type": "integer",
  982. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  983. "name": "tableType",
  984. "in": "query"
  985. }
  986. ],
  987. "responses": {
  988. "200": {
  989. "description": "OK",
  990. "schema": {
  991. "$ref": "#/definitions/common.QueryTableDefineRsp"
  992. }
  993. },
  994. "500": {
  995. "description": "Internal Server Error",
  996. "schema": {
  997. "$ref": "#/definitions/app.Response"
  998. }
  999. }
  1000. }
  1001. }
  1002. },
  1003. "/Common/QueryTraderMenu": {
  1004. "get": {
  1005. "produces": [
  1006. "application/json"
  1007. ],
  1008. "tags": [
  1009. "通用服务"
  1010. ],
  1011. "summary": "查询交易端菜单",
  1012. "parameters": [
  1013. {
  1014. "type": "integer",
  1015. "description": "登录账号",
  1016. "name": "loginid",
  1017. "in": "query",
  1018. "required": true
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1026. }
  1027. },
  1028. "500": {
  1029. "description": "Internal Server Error",
  1030. "schema": {
  1031. "$ref": "#/definitions/app.Response"
  1032. }
  1033. }
  1034. }
  1035. }
  1036. },
  1037. "/Common/UpdateNewFuncmenu": {
  1038. "put": {
  1039. "security": [
  1040. {
  1041. "ApiKeyAuth": []
  1042. }
  1043. ],
  1044. "consumes": [
  1045. "application/json"
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "通用服务"
  1052. ],
  1053. "summary": "更新菜单表数据",
  1054. "parameters": [
  1055. {
  1056. "description": "菜单表数据",
  1057. "name": "data",
  1058. "in": "body",
  1059. "required": true,
  1060. "schema": {
  1061. "$ref": "#/definitions/models.NewFuncmenulist"
  1062. }
  1063. }
  1064. ],
  1065. "responses": {
  1066. "200": {
  1067. "description": "OK",
  1068. "schema": {
  1069. "$ref": "#/definitions/app.Response"
  1070. }
  1071. },
  1072. "500": {
  1073. "description": "Internal Server Error",
  1074. "schema": {
  1075. "$ref": "#/definitions/app.Response"
  1076. }
  1077. }
  1078. }
  1079. }
  1080. },
  1081. "/Delivery/QueryDeliveryRelation": {
  1082. "get": {
  1083. "security": [
  1084. {
  1085. "ApiKeyAuth": []
  1086. }
  1087. ],
  1088. "produces": [
  1089. "application/json"
  1090. ],
  1091. "tags": [
  1092. "交割服务"
  1093. ],
  1094. "summary": "查询商品交割关系表",
  1095. "parameters": [
  1096. {
  1097. "type": "integer",
  1098. "description": "商品ID",
  1099. "name": "goodsid",
  1100. "in": "query"
  1101. },
  1102. {
  1103. "type": "integer",
  1104. "description": "品种ID",
  1105. "name": "deliverygoodsid",
  1106. "in": "query"
  1107. },
  1108. {
  1109. "type": "integer",
  1110. "description": "市场ID",
  1111. "name": "marketid",
  1112. "in": "query"
  1113. }
  1114. ],
  1115. "responses": {
  1116. "200": {
  1117. "description": "OK",
  1118. "schema": {
  1119. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1120. }
  1121. },
  1122. "500": {
  1123. "description": "Internal Server Error",
  1124. "schema": {
  1125. "$ref": "#/definitions/app.Response"
  1126. }
  1127. }
  1128. }
  1129. }
  1130. },
  1131. "/Ermcp/GetErmcpGoods": {
  1132. "get": {
  1133. "security": [
  1134. {
  1135. "ApiKeyAuth": []
  1136. }
  1137. ],
  1138. "produces": [
  1139. "application/json"
  1140. ],
  1141. "tags": [
  1142. "企业风险管理(app)"
  1143. ],
  1144. "summary": "查询企业风管期货商品信息",
  1145. "parameters": [
  1146. {
  1147. "type": "integer",
  1148. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  1149. "name": "userid",
  1150. "in": "query"
  1151. },
  1152. {
  1153. "type": "string",
  1154. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1155. "name": "lastUpdateTime",
  1156. "in": "query"
  1157. }
  1158. ],
  1159. "responses": {
  1160. "200": {
  1161. "description": "OK",
  1162. "schema": {
  1163. "$ref": "#/definitions/models.ErmcpGoods"
  1164. }
  1165. },
  1166. "500": {
  1167. "description": "Internal Server Error",
  1168. "schema": {
  1169. "$ref": "#/definitions/app.Response"
  1170. }
  1171. }
  1172. }
  1173. }
  1174. },
  1175. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1176. "get": {
  1177. "security": [
  1178. {
  1179. "ApiKeyAuth": []
  1180. }
  1181. ],
  1182. "produces": [
  1183. "application/json"
  1184. ],
  1185. "tags": [
  1186. "企业风险管理(app)"
  1187. ],
  1188. "summary": "查询企业风管期货主力、次主力商品信息",
  1189. "parameters": [
  1190. {
  1191. "type": "string",
  1192. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1193. "name": "sortIndex",
  1194. "in": "query"
  1195. }
  1196. ],
  1197. "responses": {
  1198. "200": {
  1199. "description": "OK",
  1200. "schema": {
  1201. "$ref": "#/definitions/models.Goodssortbypreposition"
  1202. }
  1203. },
  1204. "500": {
  1205. "description": "Internal Server Error",
  1206. "schema": {
  1207. "$ref": "#/definitions/app.Response"
  1208. }
  1209. }
  1210. }
  1211. }
  1212. },
  1213. "/Ermcp/GetErmcpOutAccountStatus": {
  1214. "get": {
  1215. "security": [
  1216. {
  1217. "ApiKeyAuth": []
  1218. }
  1219. ],
  1220. "produces": [
  1221. "application/json"
  1222. ],
  1223. "tags": [
  1224. "企业风险管理(app)"
  1225. ],
  1226. "summary": "获取目标登录账号当前对冲账号在线状态",
  1227. "parameters": [
  1228. {
  1229. "type": "integer",
  1230. "description": "登录账号",
  1231. "name": "loginID",
  1232. "in": "query",
  1233. "required": true
  1234. }
  1235. ],
  1236. "responses": {
  1237. "200": {
  1238. "description": "OK",
  1239. "schema": {
  1240. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1241. }
  1242. },
  1243. "500": {
  1244. "description": "Internal Server Error",
  1245. "schema": {
  1246. "$ref": "#/definitions/app.Response"
  1247. }
  1248. }
  1249. }
  1250. }
  1251. },
  1252. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1253. "get": {
  1254. "security": [
  1255. {
  1256. "ApiKeyAuth": []
  1257. }
  1258. ],
  1259. "produces": [
  1260. "application/json"
  1261. ],
  1262. "tags": [
  1263. "企业风险管理(app)"
  1264. ],
  1265. "summary": "获取企业风管终端权限",
  1266. "parameters": [
  1267. {
  1268. "type": "integer",
  1269. "description": "登录账号",
  1270. "name": "loginID",
  1271. "in": "query",
  1272. "required": true
  1273. }
  1274. ],
  1275. "responses": {
  1276. "200": {
  1277. "description": "OK",
  1278. "schema": {
  1279. "$ref": "#/definitions/models.Funcmenulist"
  1280. }
  1281. },
  1282. "500": {
  1283. "description": "Internal Server Error",
  1284. "schema": {
  1285. "$ref": "#/definitions/app.Response"
  1286. }
  1287. }
  1288. }
  1289. }
  1290. },
  1291. "/Ermcp/QueryAccMgrBizGroupSet": {
  1292. "get": {
  1293. "security": [
  1294. {
  1295. "ApiKeyAuth": []
  1296. }
  1297. ],
  1298. "produces": [
  1299. "application/json"
  1300. ],
  1301. "tags": [
  1302. "企业风险管理(app)"
  1303. ],
  1304. "summary": "查询业务类型分组(账户管理/账户设置)",
  1305. "parameters": [
  1306. {
  1307. "type": "integer",
  1308. "description": "用户ID",
  1309. "name": "userid",
  1310. "in": "query",
  1311. "required": true
  1312. },
  1313. {
  1314. "type": "integer",
  1315. "description": "现货商品id",
  1316. "name": "deliverygoodsid",
  1317. "in": "query"
  1318. }
  1319. ],
  1320. "responses": {
  1321. "200": {
  1322. "description": "OK",
  1323. "schema": {
  1324. "type": "array",
  1325. "items": {
  1326. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1327. }
  1328. }
  1329. },
  1330. "500": {
  1331. "description": "Internal Server Error",
  1332. "schema": {
  1333. "$ref": "#/definitions/app.Response"
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/Ermcp/QueryAccMgrLoginUser": {
  1340. "get": {
  1341. "security": [
  1342. {
  1343. "ApiKeyAuth": []
  1344. }
  1345. ],
  1346. "produces": [
  1347. "application/json"
  1348. ],
  1349. "tags": [
  1350. "企业风险管理(app)"
  1351. ],
  1352. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1353. "parameters": [
  1354. {
  1355. "type": "integer",
  1356. "description": "用户ID",
  1357. "name": "userid",
  1358. "in": "query",
  1359. "required": true
  1360. },
  1361. {
  1362. "type": "integer",
  1363. "description": "用户类型 2-机构 7-企业成员",
  1364. "name": "usertype",
  1365. "in": "query"
  1366. },
  1367. {
  1368. "type": "integer",
  1369. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1370. "name": "querytype",
  1371. "in": "query",
  1372. "required": true
  1373. }
  1374. ],
  1375. "responses": {
  1376. "200": {
  1377. "description": "OK",
  1378. "schema": {
  1379. "type": "array",
  1380. "items": {
  1381. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1382. }
  1383. }
  1384. },
  1385. "500": {
  1386. "description": "Internal Server Error",
  1387. "schema": {
  1388. "$ref": "#/definitions/app.Response"
  1389. }
  1390. }
  1391. }
  1392. }
  1393. },
  1394. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1395. "get": {
  1396. "security": [
  1397. {
  1398. "ApiKeyAuth": []
  1399. }
  1400. ],
  1401. "produces": [
  1402. "application/json"
  1403. ],
  1404. "tags": [
  1405. "企业风险管理(app)"
  1406. ],
  1407. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1408. "parameters": [
  1409. {
  1410. "type": "integer",
  1411. "description": "用户ID",
  1412. "name": "userid",
  1413. "in": "query"
  1414. },
  1415. {
  1416. "type": "integer",
  1417. "description": "主账号id",
  1418. "name": "accountid",
  1419. "in": "query"
  1420. }
  1421. ],
  1422. "responses": {
  1423. "200": {
  1424. "description": "OK",
  1425. "schema": {
  1426. "type": "array",
  1427. "items": {
  1428. "$ref": "#/definitions/models.MainAccountInfo"
  1429. }
  1430. }
  1431. },
  1432. "500": {
  1433. "description": "Internal Server Error",
  1434. "schema": {
  1435. "$ref": "#/definitions/app.Response"
  1436. }
  1437. }
  1438. }
  1439. }
  1440. },
  1441. "/Ermcp/QueryAccMgrRole": {
  1442. "get": {
  1443. "security": [
  1444. {
  1445. "ApiKeyAuth": []
  1446. }
  1447. ],
  1448. "produces": [
  1449. "application/json"
  1450. ],
  1451. "tags": [
  1452. "企业风险管理(app)"
  1453. ],
  1454. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1455. "parameters": [
  1456. {
  1457. "type": "integer",
  1458. "description": "用户ID",
  1459. "name": "userid",
  1460. "in": "query",
  1461. "required": true
  1462. }
  1463. ],
  1464. "responses": {
  1465. "200": {
  1466. "description": "OK",
  1467. "schema": {
  1468. "type": "array",
  1469. "items": {
  1470. "$ref": "#/definitions/models.ErmcpRole"
  1471. }
  1472. }
  1473. },
  1474. "500": {
  1475. "description": "Internal Server Error",
  1476. "schema": {
  1477. "$ref": "#/definitions/app.Response"
  1478. }
  1479. }
  1480. }
  1481. }
  1482. },
  1483. "/Ermcp/QueryAccMgrRoleMenu": {
  1484. "get": {
  1485. "security": [
  1486. {
  1487. "ApiKeyAuth": []
  1488. }
  1489. ],
  1490. "produces": [
  1491. "application/json"
  1492. ],
  1493. "tags": [
  1494. "企业风险管理(app)"
  1495. ],
  1496. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1497. "parameters": [
  1498. {
  1499. "type": "integer",
  1500. "description": "用户ID",
  1501. "name": "userid",
  1502. "in": "query",
  1503. "required": true
  1504. },
  1505. {
  1506. "type": "string",
  1507. "description": "角色id(可多个,逗号隔开)",
  1508. "name": "roleid",
  1509. "in": "query"
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1514. "name": "menutype",
  1515. "in": "query"
  1516. }
  1517. ],
  1518. "responses": {
  1519. "200": {
  1520. "description": "OK",
  1521. "schema": {
  1522. "type": "array",
  1523. "items": {
  1524. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1525. }
  1526. }
  1527. },
  1528. "500": {
  1529. "description": "Internal Server Error",
  1530. "schema": {
  1531. "$ref": "#/definitions/app.Response"
  1532. }
  1533. }
  1534. }
  1535. }
  1536. },
  1537. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1538. "get": {
  1539. "security": [
  1540. {
  1541. "ApiKeyAuth": []
  1542. }
  1543. ],
  1544. "produces": [
  1545. "application/json"
  1546. ],
  1547. "tags": [
  1548. "企业风险管理(app)"
  1549. ],
  1550. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1551. "parameters": [
  1552. {
  1553. "type": "integer",
  1554. "description": "用户ID",
  1555. "name": "userid",
  1556. "in": "query",
  1557. "required": true
  1558. },
  1559. {
  1560. "type": "integer",
  1561. "description": "账号id",
  1562. "name": "accountid",
  1563. "in": "query"
  1564. }
  1565. ],
  1566. "responses": {
  1567. "200": {
  1568. "description": "OK",
  1569. "schema": {
  1570. "type": "array",
  1571. "items": {
  1572. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1573. }
  1574. }
  1575. },
  1576. "500": {
  1577. "description": "Internal Server Error",
  1578. "schema": {
  1579. "$ref": "#/definitions/app.Response"
  1580. }
  1581. }
  1582. }
  1583. }
  1584. },
  1585. "/Ermcp/QueryAccMgrTaaccount": {
  1586. "get": {
  1587. "security": [
  1588. {
  1589. "ApiKeyAuth": []
  1590. }
  1591. ],
  1592. "produces": [
  1593. "application/json"
  1594. ],
  1595. "tags": [
  1596. "企业风险管理(app)"
  1597. ],
  1598. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1599. "parameters": [
  1600. {
  1601. "type": "integer",
  1602. "description": "用户ID",
  1603. "name": "userid",
  1604. "in": "query",
  1605. "required": true
  1606. }
  1607. ],
  1608. "responses": {
  1609. "200": {
  1610. "description": "OK",
  1611. "schema": {
  1612. "type": "array",
  1613. "items": {
  1614. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1615. }
  1616. }
  1617. },
  1618. "500": {
  1619. "description": "Internal Server Error",
  1620. "schema": {
  1621. "$ref": "#/definitions/app.Response"
  1622. }
  1623. }
  1624. }
  1625. }
  1626. },
  1627. "/Ermcp/QueryAvaildGoodsGroup": {
  1628. "get": {
  1629. "security": [
  1630. {
  1631. "ApiKeyAuth": []
  1632. }
  1633. ],
  1634. "produces": [
  1635. "application/json"
  1636. ],
  1637. "tags": [
  1638. "企业风险管理(app)"
  1639. ],
  1640. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1641. "parameters": [
  1642. {
  1643. "type": "integer",
  1644. "description": "所属机构ID",
  1645. "name": "userid",
  1646. "in": "query",
  1647. "required": true
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "OK",
  1653. "schema": {
  1654. "type": "array",
  1655. "items": {
  1656. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1657. }
  1658. }
  1659. },
  1660. "500": {
  1661. "description": "Internal Server Error",
  1662. "schema": {
  1663. "$ref": "#/definitions/app.Response"
  1664. }
  1665. }
  1666. }
  1667. }
  1668. },
  1669. "/Ermcp/QueryBusinessDj": {
  1670. "get": {
  1671. "security": [
  1672. {
  1673. "ApiKeyAuth": []
  1674. }
  1675. ],
  1676. "produces": [
  1677. "application/json"
  1678. ],
  1679. "tags": [
  1680. "企业风险管理(app)"
  1681. ],
  1682. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1683. "parameters": [
  1684. {
  1685. "type": "integer",
  1686. "description": "用户ID",
  1687. "name": "UserId",
  1688. "in": "query",
  1689. "required": true
  1690. },
  1691. {
  1692. "type": "integer",
  1693. "description": "用户类型 2-机构 7-企业成员",
  1694. "name": "usertype",
  1695. "in": "query"
  1696. },
  1697. {
  1698. "type": "string",
  1699. "description": "现货合同ID, 不填则查所有",
  1700. "name": "relatedid",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1706. "name": "applystatus",
  1707. "in": "query"
  1708. }
  1709. ],
  1710. "responses": {
  1711. "200": {
  1712. "description": "OK",
  1713. "schema": {
  1714. "type": "array",
  1715. "items": {
  1716. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1717. }
  1718. }
  1719. },
  1720. "500": {
  1721. "description": "Internal Server Error",
  1722. "schema": {
  1723. "$ref": "#/definitions/app.Response"
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "/Ermcp/QueryBusinessFp": {
  1730. "get": {
  1731. "security": [
  1732. {
  1733. "ApiKeyAuth": []
  1734. }
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "企业风险管理(app)"
  1741. ],
  1742. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1743. "parameters": [
  1744. {
  1745. "type": "integer",
  1746. "description": "用户ID",
  1747. "name": "UserId",
  1748. "in": "query",
  1749. "required": true
  1750. },
  1751. {
  1752. "type": "integer",
  1753. "description": "用户类型 2-机构 7-企业成员",
  1754. "name": "usertype",
  1755. "in": "query"
  1756. },
  1757. {
  1758. "type": "string",
  1759. "description": "现货合同ID, 不填则查所有",
  1760. "name": "relatedid",
  1761. "in": "query"
  1762. },
  1763. {
  1764. "type": "string",
  1765. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1766. "name": "applystatus",
  1767. "in": "query"
  1768. }
  1769. ],
  1770. "responses": {
  1771. "200": {
  1772. "description": "OK",
  1773. "schema": {
  1774. "type": "array",
  1775. "items": {
  1776. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1777. }
  1778. }
  1779. },
  1780. "500": {
  1781. "description": "Internal Server Error",
  1782. "schema": {
  1783. "$ref": "#/definitions/app.Response"
  1784. }
  1785. }
  1786. }
  1787. }
  1788. },
  1789. "/Ermcp/QueryBusinessJs": {
  1790. "get": {
  1791. "security": [
  1792. {
  1793. "ApiKeyAuth": []
  1794. }
  1795. ],
  1796. "produces": [
  1797. "application/json"
  1798. ],
  1799. "tags": [
  1800. "企业风险管理(app)"
  1801. ],
  1802. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1803. "parameters": [
  1804. {
  1805. "type": "integer",
  1806. "description": "用户ID",
  1807. "name": "UserId",
  1808. "in": "query",
  1809. "required": true
  1810. },
  1811. {
  1812. "type": "integer",
  1813. "description": "用户类型 2-机构 7-企业成员",
  1814. "name": "usertype",
  1815. "in": "query"
  1816. },
  1817. {
  1818. "type": "string",
  1819. "description": "现货合同ID, 不填则查所有",
  1820. "name": "relatedid",
  1821. "in": "query"
  1822. },
  1823. {
  1824. "type": "string",
  1825. "description": "操作申请id",
  1826. "name": "operateapplyid",
  1827. "in": "query"
  1828. },
  1829. {
  1830. "type": "string",
  1831. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1832. "name": "applystatus",
  1833. "in": "query"
  1834. }
  1835. ],
  1836. "responses": {
  1837. "200": {
  1838. "description": "OK",
  1839. "schema": {
  1840. "type": "array",
  1841. "items": {
  1842. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1843. }
  1844. }
  1845. },
  1846. "500": {
  1847. "description": "Internal Server Error",
  1848. "schema": {
  1849. "$ref": "#/definitions/app.Response"
  1850. }
  1851. }
  1852. }
  1853. }
  1854. },
  1855. "/Ermcp/QueryBusinessJsEx": {
  1856. "get": {
  1857. "security": [
  1858. {
  1859. "ApiKeyAuth": []
  1860. }
  1861. ],
  1862. "produces": [
  1863. "application/json"
  1864. ],
  1865. "tags": [
  1866. "企业风险管理(app)"
  1867. ],
  1868. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1869. "parameters": [
  1870. {
  1871. "type": "integer",
  1872. "description": "用户ID",
  1873. "name": "UserId",
  1874. "in": "query",
  1875. "required": true
  1876. },
  1877. {
  1878. "type": "integer",
  1879. "description": "用户类型 2-机构 7-企业成员",
  1880. "name": "usertype",
  1881. "in": "query"
  1882. },
  1883. {
  1884. "type": "string",
  1885. "description": "现货合同ID, 不填则查所有",
  1886. "name": "relatedid",
  1887. "in": "query"
  1888. },
  1889. {
  1890. "type": "string",
  1891. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1892. "name": "applystatus",
  1893. "in": "query"
  1894. }
  1895. ],
  1896. "responses": {
  1897. "200": {
  1898. "description": "OK",
  1899. "schema": {
  1900. "type": "array",
  1901. "items": {
  1902. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1903. }
  1904. }
  1905. },
  1906. "500": {
  1907. "description": "Internal Server Error",
  1908. "schema": {
  1909. "$ref": "#/definitions/app.Response"
  1910. }
  1911. }
  1912. }
  1913. }
  1914. },
  1915. "/Ermcp/QueryBusinessKx": {
  1916. "get": {
  1917. "security": [
  1918. {
  1919. "ApiKeyAuth": []
  1920. }
  1921. ],
  1922. "produces": [
  1923. "application/json"
  1924. ],
  1925. "tags": [
  1926. "企业风险管理(app)"
  1927. ],
  1928. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1929. "parameters": [
  1930. {
  1931. "type": "integer",
  1932. "description": "用户ID",
  1933. "name": "UserId",
  1934. "in": "query",
  1935. "required": true
  1936. },
  1937. {
  1938. "type": "integer",
  1939. "description": "用户类型 2-机构 7-企业成员",
  1940. "name": "usertype",
  1941. "in": "query"
  1942. },
  1943. {
  1944. "type": "string",
  1945. "description": "现货合同ID, 不填则查所有",
  1946. "name": "relatedid",
  1947. "in": "query"
  1948. },
  1949. {
  1950. "type": "string",
  1951. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1952. "name": "applystatus",
  1953. "in": "query"
  1954. }
  1955. ],
  1956. "responses": {
  1957. "200": {
  1958. "description": "OK",
  1959. "schema": {
  1960. "type": "array",
  1961. "items": {
  1962. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1963. }
  1964. }
  1965. },
  1966. "500": {
  1967. "description": "Internal Server Error",
  1968. "schema": {
  1969. "$ref": "#/definitions/app.Response"
  1970. }
  1971. }
  1972. }
  1973. }
  1974. },
  1975. "/Ermcp/QueryChangeLog": {
  1976. "get": {
  1977. "security": [
  1978. {
  1979. "ApiKeyAuth": []
  1980. }
  1981. ],
  1982. "produces": [
  1983. "application/json"
  1984. ],
  1985. "tags": [
  1986. "企业风险管理(app)"
  1987. ],
  1988. "summary": "查询变更记录",
  1989. "parameters": [
  1990. {
  1991. "type": "string",
  1992. "description": "合同ID",
  1993. "name": "RelatedId",
  1994. "in": "query",
  1995. "required": true
  1996. }
  1997. ],
  1998. "responses": {
  1999. "200": {
  2000. "description": "OK",
  2001. "schema": {
  2002. "type": "array",
  2003. "items": {
  2004. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2005. }
  2006. }
  2007. },
  2008. "500": {
  2009. "description": "Internal Server Error",
  2010. "schema": {
  2011. "$ref": "#/definitions/app.Response"
  2012. }
  2013. }
  2014. }
  2015. }
  2016. },
  2017. "/Ermcp/QueryErmcpHisOrderDetails": {
  2018. "get": {
  2019. "security": [
  2020. {
  2021. "ApiKeyAuth": []
  2022. }
  2023. ],
  2024. "produces": [
  2025. "application/json"
  2026. ],
  2027. "tags": [
  2028. "企业风险管理(app)"
  2029. ],
  2030. "summary": "获取企业风管期货历史委托单信息",
  2031. "parameters": [
  2032. {
  2033. "type": "integer",
  2034. "description": "资金账户ID",
  2035. "name": "accountID",
  2036. "in": "query",
  2037. "required": true
  2038. },
  2039. {
  2040. "type": "string",
  2041. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2042. "name": "startDate",
  2043. "in": "query"
  2044. },
  2045. {
  2046. "type": "string",
  2047. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2048. "name": "endDate",
  2049. "in": "query"
  2050. }
  2051. ],
  2052. "responses": {
  2053. "200": {
  2054. "description": "OK",
  2055. "schema": {
  2056. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2057. }
  2058. },
  2059. "500": {
  2060. "description": "Internal Server Error",
  2061. "schema": {
  2062. "$ref": "#/definitions/app.Response"
  2063. }
  2064. }
  2065. }
  2066. }
  2067. },
  2068. "/Ermcp/QueryErmcpHisTradeDetails": {
  2069. "get": {
  2070. "security": [
  2071. {
  2072. "ApiKeyAuth": []
  2073. }
  2074. ],
  2075. "produces": [
  2076. "application/json"
  2077. ],
  2078. "tags": [
  2079. "企业风险管理(app)"
  2080. ],
  2081. "summary": "获取企业风管期货历史成交单信息",
  2082. "parameters": [
  2083. {
  2084. "type": "integer",
  2085. "description": "资金账户ID",
  2086. "name": "accountID",
  2087. "in": "query",
  2088. "required": true
  2089. },
  2090. {
  2091. "type": "integer",
  2092. "description": "商品ID",
  2093. "name": "goodsID",
  2094. "in": "query"
  2095. },
  2096. {
  2097. "type": "integer",
  2098. "description": "买卖方向,0:买 1:卖",
  2099. "name": "buyOrSell",
  2100. "in": "query"
  2101. },
  2102. {
  2103. "type": "integer",
  2104. "description": "关联委托单号",
  2105. "name": "orderID",
  2106. "in": "query"
  2107. },
  2108. {
  2109. "type": "string",
  2110. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2111. "name": "startDate",
  2112. "in": "query"
  2113. },
  2114. {
  2115. "type": "string",
  2116. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2117. "name": "endDate",
  2118. "in": "query"
  2119. }
  2120. ],
  2121. "responses": {
  2122. "200": {
  2123. "description": "OK",
  2124. "schema": {
  2125. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2126. }
  2127. },
  2128. "500": {
  2129. "description": "Internal Server Error",
  2130. "schema": {
  2131. "$ref": "#/definitions/app.Response"
  2132. }
  2133. }
  2134. }
  2135. }
  2136. },
  2137. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2138. "get": {
  2139. "security": [
  2140. {
  2141. "ApiKeyAuth": []
  2142. }
  2143. ],
  2144. "produces": [
  2145. "application/json"
  2146. ],
  2147. "tags": [
  2148. "企业风险管理(app)"
  2149. ],
  2150. "summary": "获取企业风管期货内部持仓单信息",
  2151. "parameters": [
  2152. {
  2153. "type": "integer",
  2154. "description": "资金账户ID",
  2155. "name": "accountID",
  2156. "in": "query",
  2157. "required": true
  2158. },
  2159. {
  2160. "type": "integer",
  2161. "description": "商品ID",
  2162. "name": "goodsID",
  2163. "in": "query"
  2164. },
  2165. {
  2166. "type": "integer",
  2167. "description": "买卖方向,0:买 1:卖",
  2168. "name": "buyOrSell",
  2169. "in": "query"
  2170. }
  2171. ],
  2172. "responses": {
  2173. "200": {
  2174. "description": "OK",
  2175. "schema": {
  2176. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2177. }
  2178. },
  2179. "500": {
  2180. "description": "Internal Server Error",
  2181. "schema": {
  2182. "$ref": "#/definitions/app.Response"
  2183. }
  2184. }
  2185. }
  2186. }
  2187. },
  2188. "/Ermcp/QueryErmcpOrderDetails": {
  2189. "get": {
  2190. "security": [
  2191. {
  2192. "ApiKeyAuth": []
  2193. }
  2194. ],
  2195. "produces": [
  2196. "application/json"
  2197. ],
  2198. "tags": [
  2199. "企业风险管理(app)"
  2200. ],
  2201. "summary": "获取企业风管期货委托单信息",
  2202. "parameters": [
  2203. {
  2204. "type": "integer",
  2205. "description": "资金账户ID",
  2206. "name": "accountID",
  2207. "in": "query",
  2208. "required": true
  2209. }
  2210. ],
  2211. "responses": {
  2212. "200": {
  2213. "description": "OK",
  2214. "schema": {
  2215. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2216. }
  2217. },
  2218. "500": {
  2219. "description": "Internal Server Error",
  2220. "schema": {
  2221. "$ref": "#/definitions/app.Response"
  2222. }
  2223. }
  2224. }
  2225. }
  2226. },
  2227. "/Ermcp/QueryErmcpTradeDetails": {
  2228. "get": {
  2229. "security": [
  2230. {
  2231. "ApiKeyAuth": []
  2232. }
  2233. ],
  2234. "produces": [
  2235. "application/json"
  2236. ],
  2237. "tags": [
  2238. "企业风险管理(app)"
  2239. ],
  2240. "summary": "获取企业风管期货成交单信息",
  2241. "parameters": [
  2242. {
  2243. "type": "integer",
  2244. "description": "资金账户ID",
  2245. "name": "accountID",
  2246. "in": "query",
  2247. "required": true
  2248. },
  2249. {
  2250. "type": "integer",
  2251. "description": "商品ID",
  2252. "name": "goodsID",
  2253. "in": "query"
  2254. },
  2255. {
  2256. "type": "integer",
  2257. "description": "买卖方向,0:买 1:卖",
  2258. "name": "buyOrSell",
  2259. "in": "query"
  2260. },
  2261. {
  2262. "type": "integer",
  2263. "description": "关联委托单号",
  2264. "name": "orderID",
  2265. "in": "query"
  2266. }
  2267. ],
  2268. "responses": {
  2269. "200": {
  2270. "description": "OK",
  2271. "schema": {
  2272. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2273. }
  2274. },
  2275. "500": {
  2276. "description": "Internal Server Error",
  2277. "schema": {
  2278. "$ref": "#/definitions/app.Response"
  2279. }
  2280. }
  2281. }
  2282. }
  2283. },
  2284. "/Ermcp/QueryErmcpTradePosition": {
  2285. "get": {
  2286. "security": [
  2287. {
  2288. "ApiKeyAuth": []
  2289. }
  2290. ],
  2291. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2292. "produces": [
  2293. "application/json"
  2294. ],
  2295. "tags": [
  2296. "企业风险管理(app)"
  2297. ],
  2298. "summary": "获取企业风管期货持仓头寸信息",
  2299. "parameters": [
  2300. {
  2301. "type": "integer",
  2302. "description": "资金账户ID",
  2303. "name": "accountID",
  2304. "in": "query",
  2305. "required": true
  2306. },
  2307. {
  2308. "type": "integer",
  2309. "description": "所属市场ID",
  2310. "name": "marketID",
  2311. "in": "query"
  2312. }
  2313. ],
  2314. "responses": {
  2315. "200": {
  2316. "description": "OK",
  2317. "schema": {
  2318. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2319. }
  2320. },
  2321. "500": {
  2322. "description": "Internal Server Error",
  2323. "schema": {
  2324. "$ref": "#/definitions/app.Response"
  2325. }
  2326. }
  2327. }
  2328. }
  2329. },
  2330. "/Ermcp/QueryExposureDetail": {
  2331. "get": {
  2332. "security": [
  2333. {
  2334. "ApiKeyAuth": []
  2335. }
  2336. ],
  2337. "produces": [
  2338. "application/json"
  2339. ],
  2340. "tags": [
  2341. "企业风险管理(app)"
  2342. ],
  2343. "summary": "查询敞口现货明细",
  2344. "parameters": [
  2345. {
  2346. "type": "integer",
  2347. "description": "所属机构ID",
  2348. "name": "areaUserId",
  2349. "in": "query",
  2350. "required": true
  2351. },
  2352. {
  2353. "type": "integer",
  2354. "description": "套保商品",
  2355. "name": "middleGoodsId",
  2356. "in": "query",
  2357. "required": true
  2358. }
  2359. ],
  2360. "responses": {
  2361. "200": {
  2362. "description": "OK",
  2363. "schema": {
  2364. "type": "array",
  2365. "items": {
  2366. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2367. }
  2368. }
  2369. },
  2370. "500": {
  2371. "description": "Internal Server Error",
  2372. "schema": {
  2373. "$ref": "#/definitions/app.Response"
  2374. }
  2375. }
  2376. }
  2377. }
  2378. },
  2379. "/Ermcp/QueryExposureGoods": {
  2380. "get": {
  2381. "security": [
  2382. {
  2383. "ApiKeyAuth": []
  2384. }
  2385. ],
  2386. "produces": [
  2387. "application/json"
  2388. ],
  2389. "tags": [
  2390. "企业风险管理(app)"
  2391. ],
  2392. "summary": "查询敞口主力合约",
  2393. "parameters": [
  2394. {
  2395. "type": "integer",
  2396. "description": "套保商品id",
  2397. "name": "middlegoodsid",
  2398. "in": "query",
  2399. "required": true
  2400. }
  2401. ],
  2402. "responses": {
  2403. "200": {
  2404. "description": "OK",
  2405. "schema": {
  2406. "type": "array",
  2407. "items": {
  2408. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2409. }
  2410. }
  2411. },
  2412. "500": {
  2413. "description": "Internal Server Error",
  2414. "schema": {
  2415. "$ref": "#/definitions/app.Response"
  2416. }
  2417. }
  2418. }
  2419. }
  2420. },
  2421. "/Ermcp/QueryExposureHedgePosition": {
  2422. "get": {
  2423. "security": [
  2424. {
  2425. "ApiKeyAuth": []
  2426. }
  2427. ],
  2428. "produces": [
  2429. "application/json"
  2430. ],
  2431. "tags": [
  2432. "企业风险管理(app)"
  2433. ],
  2434. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2435. "parameters": [
  2436. {
  2437. "type": "integer",
  2438. "description": "用户id",
  2439. "name": "userid",
  2440. "in": "query",
  2441. "required": true
  2442. }
  2443. ],
  2444. "responses": {
  2445. "200": {
  2446. "description": "OK",
  2447. "schema": {
  2448. "type": "array",
  2449. "items": {
  2450. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2451. }
  2452. }
  2453. },
  2454. "500": {
  2455. "description": "Internal Server Error",
  2456. "schema": {
  2457. "$ref": "#/definitions/app.Response"
  2458. }
  2459. }
  2460. }
  2461. }
  2462. },
  2463. "/Ermcp/QueryExposureHedgePositionDetail": {
  2464. "get": {
  2465. "security": [
  2466. {
  2467. "ApiKeyAuth": []
  2468. }
  2469. ],
  2470. "produces": [
  2471. "application/json"
  2472. ],
  2473. "tags": [
  2474. "企业风险管理(app)"
  2475. ],
  2476. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2477. "parameters": [
  2478. {
  2479. "type": "integer",
  2480. "description": "所属机构ID",
  2481. "name": "userid",
  2482. "in": "query",
  2483. "required": true
  2484. },
  2485. {
  2486. "type": "integer",
  2487. "description": "商品id",
  2488. "name": "goodsId",
  2489. "in": "query",
  2490. "required": true
  2491. }
  2492. ],
  2493. "responses": {
  2494. "200": {
  2495. "description": "OK",
  2496. "schema": {
  2497. "type": "array",
  2498. "items": {
  2499. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2500. }
  2501. }
  2502. },
  2503. "500": {
  2504. "description": "Internal Server Error",
  2505. "schema": {
  2506. "$ref": "#/definitions/app.Response"
  2507. }
  2508. }
  2509. }
  2510. }
  2511. },
  2512. "/Ermcp/QueryExposureSpot": {
  2513. "get": {
  2514. "security": [
  2515. {
  2516. "ApiKeyAuth": []
  2517. }
  2518. ],
  2519. "produces": [
  2520. "application/json"
  2521. ],
  2522. "tags": [
  2523. "企业风险管理(app)"
  2524. ],
  2525. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2526. "parameters": [
  2527. {
  2528. "type": "integer",
  2529. "description": "所属机构ID",
  2530. "name": "areaUserId",
  2531. "in": "query",
  2532. "required": true
  2533. }
  2534. ],
  2535. "responses": {
  2536. "200": {
  2537. "description": "OK",
  2538. "schema": {
  2539. "type": "array",
  2540. "items": {
  2541. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2542. }
  2543. }
  2544. },
  2545. "500": {
  2546. "description": "Internal Server Error",
  2547. "schema": {
  2548. "$ref": "#/definitions/app.Response"
  2549. }
  2550. }
  2551. }
  2552. }
  2553. },
  2554. "/Ermcp/QueryExposureSpotDetail": {
  2555. "get": {
  2556. "security": [
  2557. {
  2558. "ApiKeyAuth": []
  2559. }
  2560. ],
  2561. "produces": [
  2562. "application/json"
  2563. ],
  2564. "tags": [
  2565. "企业风险管理(app)"
  2566. ],
  2567. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2568. "parameters": [
  2569. {
  2570. "type": "integer",
  2571. "description": "所属机构ID",
  2572. "name": "areaUserId",
  2573. "in": "query",
  2574. "required": true
  2575. },
  2576. {
  2577. "type": "integer",
  2578. "description": "现货品种ID",
  2579. "name": "wrstandardId",
  2580. "in": "query",
  2581. "required": true
  2582. }
  2583. ],
  2584. "responses": {
  2585. "200": {
  2586. "description": "OK",
  2587. "schema": {
  2588. "type": "array",
  2589. "items": {
  2590. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2591. }
  2592. }
  2593. },
  2594. "500": {
  2595. "description": "Internal Server Error",
  2596. "schema": {
  2597. "$ref": "#/definitions/app.Response"
  2598. }
  2599. }
  2600. }
  2601. }
  2602. },
  2603. "/Ermcp/QueryFuturesCompany": {
  2604. "get": {
  2605. "security": [
  2606. {
  2607. "ApiKeyAuth": []
  2608. }
  2609. ],
  2610. "produces": [
  2611. "application/json"
  2612. ],
  2613. "tags": [
  2614. "企业风险管理(app)"
  2615. ],
  2616. "summary": "查询期货公司",
  2617. "responses": {
  2618. "200": {
  2619. "description": "OK",
  2620. "schema": {
  2621. "type": "array",
  2622. "items": {
  2623. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2624. }
  2625. }
  2626. },
  2627. "500": {
  2628. "description": "Internal Server Error",
  2629. "schema": {
  2630. "$ref": "#/definitions/app.Response"
  2631. }
  2632. }
  2633. }
  2634. }
  2635. },
  2636. "/Ermcp/QueryGGConvertConfig": {
  2637. "get": {
  2638. "security": [
  2639. {
  2640. "ApiKeyAuth": []
  2641. }
  2642. ],
  2643. "produces": [
  2644. "application/json"
  2645. ],
  2646. "tags": [
  2647. "企业风险管理(app)"
  2648. ],
  2649. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2650. "parameters": [
  2651. {
  2652. "type": "integer",
  2653. "description": "品种id(不填则查所有)",
  2654. "name": "goodsgroupid",
  2655. "in": "query"
  2656. }
  2657. ],
  2658. "responses": {
  2659. "200": {
  2660. "description": "OK",
  2661. "schema": {
  2662. "type": "array",
  2663. "items": {
  2664. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2665. }
  2666. }
  2667. },
  2668. "500": {
  2669. "description": "Internal Server Error",
  2670. "schema": {
  2671. "$ref": "#/definitions/app.Response"
  2672. }
  2673. }
  2674. }
  2675. }
  2676. },
  2677. "/Ermcp/QueryGoodsBrand": {
  2678. "get": {
  2679. "security": [
  2680. {
  2681. "ApiKeyAuth": []
  2682. }
  2683. ],
  2684. "produces": [
  2685. "application/json"
  2686. ],
  2687. "tags": [
  2688. "企业风险管理(app)"
  2689. ],
  2690. "summary": "查询商品品牌",
  2691. "parameters": [
  2692. {
  2693. "type": "integer",
  2694. "description": "用户ID",
  2695. "name": "userid",
  2696. "in": "query",
  2697. "required": true
  2698. },
  2699. {
  2700. "type": "integer",
  2701. "description": "现货商品ID",
  2702. "name": "wrstandardid",
  2703. "in": "query"
  2704. }
  2705. ],
  2706. "responses": {
  2707. "200": {
  2708. "description": "OK",
  2709. "schema": {
  2710. "type": "array",
  2711. "items": {
  2712. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2713. }
  2714. }
  2715. },
  2716. "500": {
  2717. "description": "Internal Server Error",
  2718. "schema": {
  2719. "$ref": "#/definitions/app.Response"
  2720. }
  2721. }
  2722. }
  2723. }
  2724. },
  2725. "/Ermcp/QueryGoodsModel": {
  2726. "get": {
  2727. "security": [
  2728. {
  2729. "ApiKeyAuth": []
  2730. }
  2731. ],
  2732. "produces": [
  2733. "application/json"
  2734. ],
  2735. "tags": [
  2736. "企业风险管理(app)"
  2737. ],
  2738. "summary": "查询商品型号",
  2739. "parameters": [
  2740. {
  2741. "type": "integer",
  2742. "description": "用户ID",
  2743. "name": "userid",
  2744. "in": "query",
  2745. "required": true
  2746. }
  2747. ],
  2748. "responses": {
  2749. "200": {
  2750. "description": "OK",
  2751. "schema": {
  2752. "type": "array",
  2753. "items": {
  2754. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2755. }
  2756. }
  2757. },
  2758. "500": {
  2759. "description": "Internal Server Error",
  2760. "schema": {
  2761. "$ref": "#/definitions/app.Response"
  2762. }
  2763. }
  2764. }
  2765. }
  2766. },
  2767. "/Ermcp/QueryHisExposure": {
  2768. "get": {
  2769. "security": [
  2770. {
  2771. "ApiKeyAuth": []
  2772. }
  2773. ],
  2774. "produces": [
  2775. "application/json"
  2776. ],
  2777. "tags": [
  2778. "企业风险管理(app)"
  2779. ],
  2780. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2781. "parameters": [
  2782. {
  2783. "type": "integer",
  2784. "description": "用户id",
  2785. "name": "userid",
  2786. "in": "query",
  2787. "required": true
  2788. },
  2789. {
  2790. "type": "integer",
  2791. "description": "每个品种记录数",
  2792. "name": "lastNum",
  2793. "in": "query",
  2794. "required": true
  2795. }
  2796. ],
  2797. "responses": {
  2798. "200": {
  2799. "description": "OK",
  2800. "schema": {
  2801. "type": "array",
  2802. "items": {
  2803. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2804. }
  2805. }
  2806. },
  2807. "500": {
  2808. "description": "Internal Server Error",
  2809. "schema": {
  2810. "$ref": "#/definitions/app.Response"
  2811. }
  2812. }
  2813. }
  2814. }
  2815. },
  2816. "/Ermcp/QueryMiddleGoods": {
  2817. "get": {
  2818. "security": [
  2819. {
  2820. "ApiKeyAuth": []
  2821. }
  2822. ],
  2823. "produces": [
  2824. "application/json"
  2825. ],
  2826. "tags": [
  2827. "企业风险管理(app)"
  2828. ],
  2829. "summary": "查询套保品种(菜单:套保品种)",
  2830. "parameters": [
  2831. {
  2832. "type": "integer",
  2833. "description": "所属机构ID",
  2834. "name": "userid",
  2835. "in": "query",
  2836. "required": true
  2837. },
  2838. {
  2839. "type": "integer",
  2840. "description": "状态 0-停用 1-正常",
  2841. "name": "status",
  2842. "in": "query",
  2843. "required": true
  2844. }
  2845. ],
  2846. "responses": {
  2847. "200": {
  2848. "description": "OK",
  2849. "schema": {
  2850. "type": "array",
  2851. "items": {
  2852. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2853. }
  2854. }
  2855. },
  2856. "500": {
  2857. "description": "Internal Server Error",
  2858. "schema": {
  2859. "$ref": "#/definitions/app.Response"
  2860. }
  2861. }
  2862. }
  2863. }
  2864. },
  2865. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2866. "get": {
  2867. "security": [
  2868. {
  2869. "ApiKeyAuth": []
  2870. }
  2871. ],
  2872. "produces": [
  2873. "application/json"
  2874. ],
  2875. "tags": [
  2876. "企业风险管理(app)"
  2877. ],
  2878. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2879. "parameters": [
  2880. {
  2881. "type": "integer",
  2882. "description": "所属机构ID",
  2883. "name": "userid",
  2884. "in": "query",
  2885. "required": true
  2886. },
  2887. {
  2888. "type": "integer",
  2889. "description": "套保品种id",
  2890. "name": "middlegoodsid",
  2891. "in": "query",
  2892. "required": true
  2893. }
  2894. ],
  2895. "responses": {
  2896. "200": {
  2897. "description": "OK",
  2898. "schema": {
  2899. "type": "array",
  2900. "items": {
  2901. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2902. }
  2903. }
  2904. },
  2905. "500": {
  2906. "description": "Internal Server Error",
  2907. "schema": {
  2908. "$ref": "#/definitions/app.Response"
  2909. }
  2910. }
  2911. }
  2912. }
  2913. },
  2914. "/Ermcp/QueryMiddleGoodsDetail": {
  2915. "get": {
  2916. "security": [
  2917. {
  2918. "ApiKeyAuth": []
  2919. }
  2920. ],
  2921. "produces": [
  2922. "application/json"
  2923. ],
  2924. "tags": [
  2925. "企业风险管理(app)"
  2926. ],
  2927. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2928. "parameters": [
  2929. {
  2930. "type": "integer",
  2931. "description": "所属机构ID",
  2932. "name": "userid",
  2933. "in": "query",
  2934. "required": true
  2935. },
  2936. {
  2937. "type": "integer",
  2938. "description": "套保品种id",
  2939. "name": "middlegoodsid",
  2940. "in": "query"
  2941. }
  2942. ],
  2943. "responses": {
  2944. "200": {
  2945. "description": "OK",
  2946. "schema": {
  2947. "type": "array",
  2948. "items": {
  2949. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2950. }
  2951. }
  2952. },
  2953. "500": {
  2954. "description": "Internal Server Error",
  2955. "schema": {
  2956. "$ref": "#/definitions/app.Response"
  2957. }
  2958. }
  2959. }
  2960. }
  2961. },
  2962. "/Ermcp/QueryPendingAuditInfo": {
  2963. "get": {
  2964. "security": [
  2965. {
  2966. "ApiKeyAuth": []
  2967. }
  2968. ],
  2969. "produces": [
  2970. "application/json"
  2971. ],
  2972. "tags": [
  2973. "企业风险管理(app)"
  2974. ],
  2975. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2976. "parameters": [
  2977. {
  2978. "type": "integer",
  2979. "description": "用户ID",
  2980. "name": "UserId",
  2981. "in": "query",
  2982. "required": true
  2983. }
  2984. ],
  2985. "responses": {
  2986. "200": {
  2987. "description": "OK",
  2988. "schema": {
  2989. "type": "array",
  2990. "items": {
  2991. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2992. }
  2993. }
  2994. },
  2995. "500": {
  2996. "description": "Internal Server Error",
  2997. "schema": {
  2998. "$ref": "#/definitions/app.Response"
  2999. }
  3000. }
  3001. }
  3002. }
  3003. },
  3004. "/Ermcp/QueryRealtimeExposure": {
  3005. "get": {
  3006. "security": [
  3007. {
  3008. "ApiKeyAuth": []
  3009. }
  3010. ],
  3011. "produces": [
  3012. "application/json"
  3013. ],
  3014. "tags": [
  3015. "企业风险管理(app)"
  3016. ],
  3017. "summary": "查询实时敞口",
  3018. "parameters": [
  3019. {
  3020. "type": "integer",
  3021. "description": "所属机构ID",
  3022. "name": "userid",
  3023. "in": "query",
  3024. "required": true
  3025. }
  3026. ],
  3027. "responses": {
  3028. "200": {
  3029. "description": "OK",
  3030. "schema": {
  3031. "type": "array",
  3032. "items": {
  3033. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3034. }
  3035. }
  3036. },
  3037. "500": {
  3038. "description": "Internal Server Error",
  3039. "schema": {
  3040. "$ref": "#/definitions/app.Response"
  3041. }
  3042. }
  3043. }
  3044. }
  3045. },
  3046. "/Ermcp/QueryRealtimeExposurePosition": {
  3047. "get": {
  3048. "security": [
  3049. {
  3050. "ApiKeyAuth": []
  3051. }
  3052. ],
  3053. "produces": [
  3054. "application/json"
  3055. ],
  3056. "tags": [
  3057. "企业风险管理(app)"
  3058. ],
  3059. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3060. "parameters": [
  3061. {
  3062. "type": "integer",
  3063. "description": "用户id",
  3064. "name": "userid",
  3065. "in": "query",
  3066. "required": true
  3067. },
  3068. {
  3069. "type": "integer",
  3070. "description": "套保商品ID",
  3071. "name": "middleGoodsId",
  3072. "in": "query",
  3073. "required": true
  3074. }
  3075. ],
  3076. "responses": {
  3077. "200": {
  3078. "description": "OK",
  3079. "schema": {
  3080. "type": "array",
  3081. "items": {
  3082. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3083. }
  3084. }
  3085. },
  3086. "500": {
  3087. "description": "Internal Server Error",
  3088. "schema": {
  3089. "$ref": "#/definitions/app.Response"
  3090. }
  3091. }
  3092. }
  3093. }
  3094. },
  3095. "/Ermcp/QueryRoleMenu": {
  3096. "get": {
  3097. "security": [
  3098. {
  3099. "ApiKeyAuth": []
  3100. }
  3101. ],
  3102. "produces": [
  3103. "application/json"
  3104. ],
  3105. "tags": [
  3106. "企业风险管理(app)"
  3107. ],
  3108. "summary": "查询角色菜单和权限",
  3109. "parameters": [
  3110. {
  3111. "type": "integer",
  3112. "description": "登录ID",
  3113. "name": "loginid",
  3114. "in": "query",
  3115. "required": true
  3116. },
  3117. {
  3118. "type": "integer",
  3119. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3120. "name": "menutype",
  3121. "in": "query"
  3122. }
  3123. ],
  3124. "responses": {
  3125. "200": {
  3126. "description": "OK",
  3127. "schema": {
  3128. "type": "array",
  3129. "items": {
  3130. "$ref": "#/definitions/models.RoleMenu"
  3131. }
  3132. }
  3133. },
  3134. "500": {
  3135. "description": "Internal Server Error",
  3136. "schema": {
  3137. "$ref": "#/definitions/app.Response"
  3138. }
  3139. }
  3140. }
  3141. }
  3142. },
  3143. "/Ermcp/QueryTradeConfigTMP": {
  3144. "get": {
  3145. "security": [
  3146. {
  3147. "ApiKeyAuth": []
  3148. }
  3149. ],
  3150. "produces": [
  3151. "application/json"
  3152. ],
  3153. "tags": [
  3154. "企业风险管理(app)"
  3155. ],
  3156. "summary": "查询交易模板配置",
  3157. "parameters": [
  3158. {
  3159. "type": "integer",
  3160. "description": "所属机构id",
  3161. "name": "areauserid",
  3162. "in": "query"
  3163. }
  3164. ],
  3165. "responses": {
  3166. "200": {
  3167. "description": "OK",
  3168. "schema": {
  3169. "type": "array",
  3170. "items": {
  3171. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3172. }
  3173. }
  3174. },
  3175. "500": {
  3176. "description": "Internal Server Error",
  3177. "schema": {
  3178. "$ref": "#/definitions/app.Response"
  3179. }
  3180. }
  3181. }
  3182. }
  3183. },
  3184. "/Ermcp/QueryUserInfo": {
  3185. "get": {
  3186. "security": [
  3187. {
  3188. "ApiKeyAuth": []
  3189. }
  3190. ],
  3191. "produces": [
  3192. "application/json"
  3193. ],
  3194. "tags": [
  3195. "企业风险管理(app)"
  3196. ],
  3197. "summary": "查询客户资料",
  3198. "parameters": [
  3199. {
  3200. "type": "integer",
  3201. "description": "所属机构用户ID",
  3202. "name": "MemberUserID",
  3203. "in": "query",
  3204. "required": true
  3205. },
  3206. {
  3207. "type": "integer",
  3208. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3209. "name": "queryType",
  3210. "in": "query",
  3211. "required": true
  3212. }
  3213. ],
  3214. "responses": {
  3215. "200": {
  3216. "description": "OK",
  3217. "schema": {
  3218. "type": "array",
  3219. "items": {
  3220. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3221. }
  3222. }
  3223. },
  3224. "500": {
  3225. "description": "Internal Server Error",
  3226. "schema": {
  3227. "$ref": "#/definitions/app.Response"
  3228. }
  3229. }
  3230. }
  3231. }
  3232. },
  3233. "/Ermcp/QueryWarehouseInfo": {
  3234. "get": {
  3235. "security": [
  3236. {
  3237. "ApiKeyAuth": []
  3238. }
  3239. ],
  3240. "produces": [
  3241. "application/json"
  3242. ],
  3243. "tags": [
  3244. "企业风险管理(app)"
  3245. ],
  3246. "summary": "查询仓库信息",
  3247. "parameters": [
  3248. {
  3249. "type": "integer",
  3250. "description": "用户ID",
  3251. "name": "userid",
  3252. "in": "query",
  3253. "required": true
  3254. },
  3255. {
  3256. "type": "string",
  3257. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3258. "name": "status",
  3259. "in": "query"
  3260. }
  3261. ],
  3262. "responses": {
  3263. "200": {
  3264. "description": "OK",
  3265. "schema": {
  3266. "type": "array",
  3267. "items": {
  3268. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3269. }
  3270. }
  3271. },
  3272. "500": {
  3273. "description": "Internal Server Error",
  3274. "schema": {
  3275. "$ref": "#/definitions/app.Response"
  3276. }
  3277. }
  3278. }
  3279. }
  3280. },
  3281. "/Ermcp3/QryAreaExpourseContractDetail": {
  3282. "get": {
  3283. "security": [
  3284. {
  3285. "ApiKeyAuth": []
  3286. }
  3287. ],
  3288. "produces": [
  3289. "application/json"
  3290. ],
  3291. "tags": [
  3292. "企业风险管理v3(app)"
  3293. ],
  3294. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3295. "parameters": [
  3296. {
  3297. "type": "integer",
  3298. "description": "用户ID",
  3299. "name": "userid",
  3300. "in": "query",
  3301. "required": true
  3302. },
  3303. {
  3304. "type": "integer",
  3305. "description": "套保商品id",
  3306. "name": "middlegoodsid",
  3307. "in": "query",
  3308. "required": true
  3309. },
  3310. {
  3311. "type": "integer",
  3312. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3313. "name": "cycletype",
  3314. "in": "query",
  3315. "required": true
  3316. },
  3317. {
  3318. "type": "string",
  3319. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3320. "name": "cycletime",
  3321. "in": "query",
  3322. "required": true
  3323. }
  3324. ],
  3325. "responses": {
  3326. "200": {
  3327. "description": "OK",
  3328. "schema": {
  3329. "type": "array",
  3330. "items": {
  3331. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3332. }
  3333. }
  3334. },
  3335. "500": {
  3336. "description": "Internal Server Error",
  3337. "schema": {
  3338. "$ref": "#/definitions/app.Response"
  3339. }
  3340. }
  3341. }
  3342. }
  3343. },
  3344. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3345. "get": {
  3346. "security": [
  3347. {
  3348. "ApiKeyAuth": []
  3349. }
  3350. ],
  3351. "produces": [
  3352. "application/json"
  3353. ],
  3354. "tags": [
  3355. "企业风险管理v3(app)"
  3356. ],
  3357. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3358. "parameters": [
  3359. {
  3360. "type": "integer",
  3361. "description": "用户ID",
  3362. "name": "userid",
  3363. "in": "query",
  3364. "required": true
  3365. },
  3366. {
  3367. "type": "integer",
  3368. "description": "套保商品id",
  3369. "name": "middlegoodsid",
  3370. "in": "query",
  3371. "required": true
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3376. "name": "cycletype",
  3377. "in": "query",
  3378. "required": true
  3379. },
  3380. {
  3381. "type": "string",
  3382. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3383. "name": "cycletime",
  3384. "in": "query",
  3385. "required": true
  3386. }
  3387. ],
  3388. "responses": {
  3389. "200": {
  3390. "description": "OK",
  3391. "schema": {
  3392. "type": "array",
  3393. "items": {
  3394. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3395. }
  3396. }
  3397. },
  3398. "500": {
  3399. "description": "Internal Server Error",
  3400. "schema": {
  3401. "$ref": "#/definitions/app.Response"
  3402. }
  3403. }
  3404. }
  3405. }
  3406. },
  3407. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3408. "get": {
  3409. "security": [
  3410. {
  3411. "ApiKeyAuth": []
  3412. }
  3413. ],
  3414. "produces": [
  3415. "application/json"
  3416. ],
  3417. "tags": [
  3418. "企业风险管理v3(app)"
  3419. ],
  3420. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3421. "parameters": [
  3422. {
  3423. "type": "integer",
  3424. "description": "用户ID",
  3425. "name": "userid",
  3426. "in": "query",
  3427. "required": true
  3428. },
  3429. {
  3430. "type": "integer",
  3431. "description": "套保商品id",
  3432. "name": "middlegoodsid",
  3433. "in": "query",
  3434. "required": true
  3435. },
  3436. {
  3437. "type": "integer",
  3438. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3439. "name": "cycletype",
  3440. "in": "query",
  3441. "required": true
  3442. },
  3443. {
  3444. "type": "string",
  3445. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3446. "name": "cycletime",
  3447. "in": "query",
  3448. "required": true
  3449. }
  3450. ],
  3451. "responses": {
  3452. "200": {
  3453. "description": "OK",
  3454. "schema": {
  3455. "type": "array",
  3456. "items": {
  3457. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3458. }
  3459. }
  3460. },
  3461. "500": {
  3462. "description": "Internal Server Error",
  3463. "schema": {
  3464. "$ref": "#/definitions/app.Response"
  3465. }
  3466. }
  3467. }
  3468. }
  3469. },
  3470. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3471. "get": {
  3472. "security": [
  3473. {
  3474. "ApiKeyAuth": []
  3475. }
  3476. ],
  3477. "produces": [
  3478. "application/json"
  3479. ],
  3480. "tags": [
  3481. "企业风险管理v3(app)"
  3482. ],
  3483. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3484. "parameters": [
  3485. {
  3486. "type": "integer",
  3487. "description": "用户ID",
  3488. "name": "userid",
  3489. "in": "query",
  3490. "required": true
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "套保商品id",
  3495. "name": "middlegoodsid",
  3496. "in": "query",
  3497. "required": true
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3502. "name": "cycletype",
  3503. "in": "query",
  3504. "required": true
  3505. },
  3506. {
  3507. "type": "string",
  3508. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3509. "name": "cycletime",
  3510. "in": "query",
  3511. "required": true
  3512. }
  3513. ],
  3514. "responses": {
  3515. "200": {
  3516. "description": "OK",
  3517. "schema": {
  3518. "type": "array",
  3519. "items": {
  3520. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3521. }
  3522. }
  3523. },
  3524. "500": {
  3525. "description": "Internal Server Error",
  3526. "schema": {
  3527. "$ref": "#/definitions/app.Response"
  3528. }
  3529. }
  3530. }
  3531. }
  3532. },
  3533. "/Ermcp3/QryAreaExpourseReport": {
  3534. "get": {
  3535. "security": [
  3536. {
  3537. "ApiKeyAuth": []
  3538. }
  3539. ],
  3540. "produces": [
  3541. "application/json"
  3542. ],
  3543. "tags": [
  3544. "企业风险管理v3(app)"
  3545. ],
  3546. "summary": "查询敞口报表",
  3547. "parameters": [
  3548. {
  3549. "type": "integer",
  3550. "description": "用户ID",
  3551. "name": "userid",
  3552. "in": "query",
  3553. "required": true
  3554. },
  3555. {
  3556. "type": "integer",
  3557. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3558. "name": "querytype",
  3559. "in": "query",
  3560. "required": true
  3561. },
  3562. {
  3563. "type": "integer",
  3564. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3565. "name": "cycletype",
  3566. "in": "query",
  3567. "required": true
  3568. },
  3569. {
  3570. "type": "string",
  3571. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3572. "name": "cycletime",
  3573. "in": "query",
  3574. "required": true
  3575. }
  3576. ],
  3577. "responses": {
  3578. "200": {
  3579. "description": "OK",
  3580. "schema": {
  3581. "type": "array",
  3582. "items": {
  3583. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3584. }
  3585. }
  3586. },
  3587. "500": {
  3588. "description": "Internal Server Error",
  3589. "schema": {
  3590. "$ref": "#/definitions/app.Response"
  3591. }
  3592. }
  3593. }
  3594. }
  3595. },
  3596. "/Ermcp3/QryAreaSpotplReport": {
  3597. "get": {
  3598. "security": [
  3599. {
  3600. "ApiKeyAuth": []
  3601. }
  3602. ],
  3603. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3604. "produces": [
  3605. "application/json"
  3606. ],
  3607. "tags": [
  3608. "企业风险管理v3(app)"
  3609. ],
  3610. "summary": "查询现货报表",
  3611. "parameters": [
  3612. {
  3613. "type": "integer",
  3614. "description": "用户ID",
  3615. "name": "userid",
  3616. "in": "query",
  3617. "required": true
  3618. },
  3619. {
  3620. "type": "integer",
  3621. "description": "查询类型 1-报表 2-报表明细",
  3622. "name": "querytype",
  3623. "in": "query",
  3624. "required": true
  3625. },
  3626. {
  3627. "type": "integer",
  3628. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3629. "name": "cycletype",
  3630. "in": "query",
  3631. "required": true
  3632. },
  3633. {
  3634. "type": "string",
  3635. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3636. "name": "cycletime",
  3637. "in": "query",
  3638. "required": true
  3639. },
  3640. {
  3641. "type": "integer",
  3642. "description": "现货品种id(明细必填)",
  3643. "name": "deliverygoodsid",
  3644. "in": "query"
  3645. },
  3646. {
  3647. "type": "integer",
  3648. "description": "币种id(明细必填)",
  3649. "name": "currencyid",
  3650. "in": "query"
  3651. },
  3652. {
  3653. "type": "integer",
  3654. "description": "日/周/月报表汇总维度 1:品种+品类",
  3655. "name": "sumflag",
  3656. "in": "query"
  3657. }
  3658. ],
  3659. "responses": {
  3660. "200": {
  3661. "description": "OK",
  3662. "schema": {
  3663. "type": "array",
  3664. "items": {
  3665. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3666. }
  3667. }
  3668. },
  3669. "500": {
  3670. "description": "Internal Server Error",
  3671. "schema": {
  3672. "$ref": "#/definitions/app.Response"
  3673. }
  3674. }
  3675. }
  3676. }
  3677. },
  3678. "/Ermcp3/QryAreaStockReport": {
  3679. "get": {
  3680. "security": [
  3681. {
  3682. "ApiKeyAuth": []
  3683. }
  3684. ],
  3685. "produces": [
  3686. "application/json"
  3687. ],
  3688. "tags": [
  3689. "企业风险管理v3(app)"
  3690. ],
  3691. "summary": "查询库存报表",
  3692. "parameters": [
  3693. {
  3694. "type": "integer",
  3695. "description": "用户ID",
  3696. "name": "userid",
  3697. "in": "query",
  3698. "required": true
  3699. },
  3700. {
  3701. "type": "integer",
  3702. "description": "查询类型 1-报表 2-报表明细",
  3703. "name": "querytype",
  3704. "in": "query",
  3705. "required": true
  3706. },
  3707. {
  3708. "type": "integer",
  3709. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3710. "name": "cycletype",
  3711. "in": "query",
  3712. "required": true
  3713. },
  3714. {
  3715. "type": "string",
  3716. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3717. "name": "cycletime",
  3718. "in": "query",
  3719. "required": true
  3720. },
  3721. {
  3722. "type": "string",
  3723. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3724. "name": "sumfields",
  3725. "in": "query"
  3726. },
  3727. {
  3728. "type": "integer",
  3729. "description": "品种ID",
  3730. "name": "deliverygoodsid",
  3731. "in": "query"
  3732. },
  3733. {
  3734. "type": "integer",
  3735. "description": "品类ID",
  3736. "name": "wrstandardid",
  3737. "in": "query"
  3738. },
  3739. {
  3740. "type": "integer",
  3741. "description": "品牌ID",
  3742. "name": "spotgoodsbrandid",
  3743. "in": "query"
  3744. },
  3745. {
  3746. "type": "integer",
  3747. "description": "仓库ID",
  3748. "name": "warehouseinfoid",
  3749. "in": "query"
  3750. }
  3751. ],
  3752. "responses": {
  3753. "200": {
  3754. "description": "OK",
  3755. "schema": {
  3756. "type": "array",
  3757. "items": {
  3758. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3759. }
  3760. }
  3761. },
  3762. "500": {
  3763. "description": "Internal Server Error",
  3764. "schema": {
  3765. "$ref": "#/definitions/app.Response"
  3766. }
  3767. }
  3768. }
  3769. }
  3770. },
  3771. "/Ermcp3/QryAreaSumPL": {
  3772. "get": {
  3773. "security": [
  3774. {
  3775. "ApiKeyAuth": []
  3776. }
  3777. ],
  3778. "produces": [
  3779. "application/json"
  3780. ],
  3781. "tags": [
  3782. "企业风险管理v3(app)"
  3783. ],
  3784. "summary": "查询汇总损益表",
  3785. "parameters": [
  3786. {
  3787. "type": "integer",
  3788. "description": "用户ID",
  3789. "name": "userid",
  3790. "in": "query",
  3791. "required": true
  3792. },
  3793. {
  3794. "type": "integer",
  3795. "description": "查询类型 1-报表 2-报表明细",
  3796. "name": "querytype",
  3797. "in": "query",
  3798. "required": true
  3799. },
  3800. {
  3801. "type": "integer",
  3802. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3803. "name": "cycletype",
  3804. "in": "query",
  3805. "required": true
  3806. },
  3807. {
  3808. "type": "string",
  3809. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3810. "name": "cycletime",
  3811. "in": "query",
  3812. "required": true
  3813. },
  3814. {
  3815. "type": "integer",
  3816. "description": "币种id(明细必填)",
  3817. "name": "currencyid",
  3818. "in": "query"
  3819. },
  3820. {
  3821. "type": "integer",
  3822. "description": "套保品种ID, 查询类型为2时起效",
  3823. "name": "middlegoodsid",
  3824. "in": "query"
  3825. }
  3826. ],
  3827. "responses": {
  3828. "200": {
  3829. "description": "OK",
  3830. "schema": {
  3831. "type": "array",
  3832. "items": {
  3833. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3834. }
  3835. }
  3836. },
  3837. "500": {
  3838. "description": "Internal Server Error",
  3839. "schema": {
  3840. "$ref": "#/definitions/app.Response"
  3841. }
  3842. }
  3843. }
  3844. }
  3845. },
  3846. "/Ermcp3/QryFinanceReport": {
  3847. "get": {
  3848. "security": [
  3849. {
  3850. "ApiKeyAuth": []
  3851. }
  3852. ],
  3853. "produces": [
  3854. "application/json"
  3855. ],
  3856. "tags": [
  3857. "企业风险管理v3(app)"
  3858. ],
  3859. "summary": "查询财务报表",
  3860. "parameters": [
  3861. {
  3862. "type": "integer",
  3863. "description": "用户ID",
  3864. "name": "userid",
  3865. "in": "query",
  3866. "required": true
  3867. },
  3868. {
  3869. "type": "integer",
  3870. "description": "查询类型 1-报表 2-报表明细",
  3871. "name": "querytype",
  3872. "in": "query",
  3873. "required": true
  3874. },
  3875. {
  3876. "type": "integer",
  3877. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3878. "name": "cycletype",
  3879. "in": "query",
  3880. "required": true
  3881. },
  3882. {
  3883. "type": "string",
  3884. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3885. "name": "cycletime",
  3886. "in": "query",
  3887. "required": true
  3888. },
  3889. {
  3890. "type": "integer",
  3891. "description": "币种id(报表明细必填)",
  3892. "name": "currencyid",
  3893. "in": "query"
  3894. },
  3895. {
  3896. "type": "string",
  3897. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3898. "name": "sumfields",
  3899. "in": "query"
  3900. }
  3901. ],
  3902. "responses": {
  3903. "200": {
  3904. "description": "OK",
  3905. "schema": {
  3906. "type": "array",
  3907. "items": {
  3908. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3909. }
  3910. }
  3911. },
  3912. "500": {
  3913. "description": "Internal Server Error",
  3914. "schema": {
  3915. "$ref": "#/definitions/app.Response"
  3916. }
  3917. }
  3918. }
  3919. }
  3920. },
  3921. "/Ermcp3/QrySCMiddleGoodsReport": {
  3922. "get": {
  3923. "security": [
  3924. {
  3925. "ApiKeyAuth": []
  3926. }
  3927. ],
  3928. "produces": [
  3929. "application/json"
  3930. ],
  3931. "tags": [
  3932. "企业风险管理v3(app)"
  3933. ],
  3934. "summary": "查询定价报表",
  3935. "parameters": [
  3936. {
  3937. "type": "integer",
  3938. "description": "用户ID",
  3939. "name": "userid",
  3940. "in": "query",
  3941. "required": true
  3942. },
  3943. {
  3944. "type": "integer",
  3945. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3946. "name": "cycletype",
  3947. "in": "query",
  3948. "required": true
  3949. },
  3950. {
  3951. "type": "string",
  3952. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3953. "name": "cycletime",
  3954. "in": "query",
  3955. "required": true
  3956. },
  3957. {
  3958. "type": "integer",
  3959. "description": "合同id",
  3960. "name": "spotcontractid",
  3961. "in": "query"
  3962. },
  3963. {
  3964. "type": "integer",
  3965. "description": "套保品种id",
  3966. "name": "middlegoodsid",
  3967. "in": "query"
  3968. },
  3969. {
  3970. "type": "integer",
  3971. "description": "现货品种id",
  3972. "name": "deliverygoodsid",
  3973. "in": "query"
  3974. },
  3975. {
  3976. "type": "integer",
  3977. "description": "现货商品id",
  3978. "name": "wrstandardid",
  3979. "in": "query"
  3980. },
  3981. {
  3982. "type": "string",
  3983. "description": "合同编号(模糊匹配)",
  3984. "name": "contractno",
  3985. "in": "query"
  3986. }
  3987. ],
  3988. "responses": {
  3989. "200": {
  3990. "description": "OK",
  3991. "schema": {
  3992. "type": "array",
  3993. "items": {
  3994. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3995. }
  3996. }
  3997. },
  3998. "500": {
  3999. "description": "Internal Server Error",
  4000. "schema": {
  4001. "$ref": "#/definitions/app.Response"
  4002. }
  4003. }
  4004. }
  4005. }
  4006. },
  4007. "/Ermcp3/QryTaFutureDataReport": {
  4008. "get": {
  4009. "security": [
  4010. {
  4011. "ApiKeyAuth": []
  4012. }
  4013. ],
  4014. "produces": [
  4015. "application/json"
  4016. ],
  4017. "tags": [
  4018. "企业风险管理v3(app)"
  4019. ],
  4020. "summary": "查询期货报表",
  4021. "parameters": [
  4022. {
  4023. "type": "integer",
  4024. "description": "用户ID",
  4025. "name": "userid",
  4026. "in": "query",
  4027. "required": true
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "查询类型 1-报表 2-报表明细",
  4032. "name": "querytype",
  4033. "in": "query",
  4034. "required": true
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4039. "name": "cycletype",
  4040. "in": "query",
  4041. "required": true
  4042. },
  4043. {
  4044. "type": "string",
  4045. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4046. "name": "cycletime",
  4047. "in": "query",
  4048. "required": true
  4049. },
  4050. {
  4051. "type": "integer",
  4052. "description": "币种id(查明细必填)",
  4053. "name": "currencyid",
  4054. "in": "query"
  4055. },
  4056. {
  4057. "type": "integer",
  4058. "description": "品种id(查明细必填)",
  4059. "name": "goodsgroupid",
  4060. "in": "query"
  4061. },
  4062. {
  4063. "type": "integer",
  4064. "description": "商品id(查明细必填)",
  4065. "name": "goodsid",
  4066. "in": "query"
  4067. },
  4068. {
  4069. "type": "integer",
  4070. "description": "买卖方向(查明细必填)",
  4071. "name": "buyorsell",
  4072. "in": "query"
  4073. }
  4074. ],
  4075. "responses": {
  4076. "200": {
  4077. "description": "OK",
  4078. "schema": {
  4079. "type": "array",
  4080. "items": {
  4081. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4082. }
  4083. }
  4084. },
  4085. "500": {
  4086. "description": "Internal Server Error",
  4087. "schema": {
  4088. "$ref": "#/definitions/app.Response"
  4089. }
  4090. }
  4091. }
  4092. }
  4093. },
  4094. "/Ermcp3/QueryAreaStock": {
  4095. "get": {
  4096. "security": [
  4097. {
  4098. "ApiKeyAuth": []
  4099. }
  4100. ],
  4101. "produces": [
  4102. "application/json"
  4103. ],
  4104. "tags": [
  4105. "企业风险管理v3(app)"
  4106. ],
  4107. "summary": "查询机构库存(库存管理/当前库存)",
  4108. "parameters": [
  4109. {
  4110. "type": "integer",
  4111. "description": "用户ID",
  4112. "name": "userid",
  4113. "in": "query",
  4114. "required": true
  4115. }
  4116. ],
  4117. "responses": {
  4118. "200": {
  4119. "description": "OK",
  4120. "schema": {
  4121. "type": "array",
  4122. "items": {
  4123. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4124. }
  4125. }
  4126. },
  4127. "500": {
  4128. "description": "Internal Server Error",
  4129. "schema": {
  4130. "$ref": "#/definitions/app.Response"
  4131. }
  4132. }
  4133. }
  4134. }
  4135. },
  4136. "/Ermcp3/QueryAreaStockApply": {
  4137. "get": {
  4138. "security": [
  4139. {
  4140. "ApiKeyAuth": []
  4141. }
  4142. ],
  4143. "produces": [
  4144. "application/json"
  4145. ],
  4146. "tags": [
  4147. "企业风险管理v3(app)"
  4148. ],
  4149. "summary": "查询库存申请(出入库记录|库存审核)",
  4150. "parameters": [
  4151. {
  4152. "type": "integer",
  4153. "description": "用户ID",
  4154. "name": "userid",
  4155. "in": "query",
  4156. "required": true
  4157. },
  4158. {
  4159. "type": "integer",
  4160. "description": "用户类型 2-机构 7-企业成员",
  4161. "name": "usertype",
  4162. "in": "query"
  4163. },
  4164. {
  4165. "type": "integer",
  4166. "description": "现货商品ID",
  4167. "name": "deliverygoodsid",
  4168. "in": "query"
  4169. },
  4170. {
  4171. "type": "string",
  4172. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4173. "name": "inouttype",
  4174. "in": "query"
  4175. },
  4176. {
  4177. "type": "integer",
  4178. "description": "合同ID",
  4179. "name": "spotcontractid",
  4180. "in": "query"
  4181. },
  4182. {
  4183. "type": "integer",
  4184. "description": "品类ID",
  4185. "name": "wrstandardid",
  4186. "in": "query"
  4187. },
  4188. {
  4189. "type": "integer",
  4190. "description": "品牌ID",
  4191. "name": "spotgoodsbrandid",
  4192. "in": "query"
  4193. },
  4194. {
  4195. "type": "integer",
  4196. "description": "仓库ID",
  4197. "name": "warehouseinfoid",
  4198. "in": "query"
  4199. },
  4200. {
  4201. "type": "string",
  4202. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4203. "name": "applystatus",
  4204. "in": "query"
  4205. }
  4206. ],
  4207. "responses": {
  4208. "200": {
  4209. "description": "OK",
  4210. "schema": {
  4211. "type": "array",
  4212. "items": {
  4213. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4214. }
  4215. }
  4216. },
  4217. "500": {
  4218. "description": "Internal Server Error",
  4219. "schema": {
  4220. "$ref": "#/definitions/app.Response"
  4221. }
  4222. }
  4223. }
  4224. }
  4225. },
  4226. "/Ermcp3/QueryAreaStockApplySum": {
  4227. "get": {
  4228. "security": [
  4229. {
  4230. "ApiKeyAuth": []
  4231. }
  4232. ],
  4233. "produces": [
  4234. "application/json"
  4235. ],
  4236. "tags": [
  4237. "企业风险管理v3(app)"
  4238. ],
  4239. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4240. "parameters": [
  4241. {
  4242. "type": "integer",
  4243. "description": "合同ID",
  4244. "name": "spotcontractid",
  4245. "in": "query",
  4246. "required": true
  4247. }
  4248. ],
  4249. "responses": {
  4250. "200": {
  4251. "description": "OK",
  4252. "schema": {
  4253. "type": "array",
  4254. "items": {
  4255. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4256. }
  4257. }
  4258. },
  4259. "500": {
  4260. "description": "Internal Server Error",
  4261. "schema": {
  4262. "$ref": "#/definitions/app.Response"
  4263. }
  4264. }
  4265. }
  4266. }
  4267. },
  4268. "/Ermcp3/QueryDGFactoryItem": {
  4269. "get": {
  4270. "security": [
  4271. {
  4272. "ApiKeyAuth": []
  4273. }
  4274. ],
  4275. "produces": [
  4276. "application/json"
  4277. ],
  4278. "tags": [
  4279. "企业风险管理v3(app)"
  4280. ],
  4281. "summary": "查询品种要素定义项",
  4282. "parameters": [
  4283. {
  4284. "type": "integer",
  4285. "description": "用户id",
  4286. "name": "userid",
  4287. "in": "query"
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "用户类型 2-机构 7-企业成员",
  4292. "name": "usertype",
  4293. "in": "query"
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4298. "name": "dgfactoryitemid",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "现货品种ID",
  4304. "name": "deliverygoodsid",
  4305. "in": "query"
  4306. },
  4307. {
  4308. "type": "integer",
  4309. "description": "要素项类型",
  4310. "name": "dgfactoryitemtypeid",
  4311. "in": "query"
  4312. },
  4313. {
  4314. "type": "integer",
  4315. "description": "顺序",
  4316. "name": "orderindex",
  4317. "in": "query"
  4318. }
  4319. ],
  4320. "responses": {
  4321. "200": {
  4322. "description": "OK",
  4323. "schema": {
  4324. "type": "array",
  4325. "items": {
  4326. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4327. }
  4328. }
  4329. },
  4330. "500": {
  4331. "description": "Internal Server Error",
  4332. "schema": {
  4333. "$ref": "#/definitions/app.Response"
  4334. }
  4335. }
  4336. }
  4337. }
  4338. },
  4339. "/Ermcp3/QueryDeliveryGoods": {
  4340. "get": {
  4341. "security": [
  4342. {
  4343. "ApiKeyAuth": []
  4344. }
  4345. ],
  4346. "produces": [
  4347. "application/json"
  4348. ],
  4349. "tags": [
  4350. "企业风险管理v3(app)"
  4351. ],
  4352. "summary": "查询现货商品",
  4353. "parameters": [
  4354. {
  4355. "type": "integer",
  4356. "description": "用户id",
  4357. "name": "userid",
  4358. "in": "query",
  4359. "required": true
  4360. },
  4361. {
  4362. "type": "integer",
  4363. "description": "用户类型 2-机构 7-企业成员",
  4364. "name": "usertype",
  4365. "in": "query"
  4366. },
  4367. {
  4368. "type": "integer",
  4369. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4370. "name": "excludecfg",
  4371. "in": "query"
  4372. }
  4373. ],
  4374. "responses": {
  4375. "200": {
  4376. "description": "OK",
  4377. "schema": {
  4378. "type": "array",
  4379. "items": {
  4380. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4381. }
  4382. }
  4383. },
  4384. "500": {
  4385. "description": "Internal Server Error",
  4386. "schema": {
  4387. "$ref": "#/definitions/app.Response"
  4388. }
  4389. }
  4390. }
  4391. }
  4392. },
  4393. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4394. "get": {
  4395. "security": [
  4396. {
  4397. "ApiKeyAuth": []
  4398. }
  4399. ],
  4400. "produces": [
  4401. "application/json"
  4402. ],
  4403. "tags": [
  4404. "企业风险管理v3(app)"
  4405. ],
  4406. "summary": "查询现货商品详情",
  4407. "parameters": [
  4408. {
  4409. "type": "integer",
  4410. "description": "用户id",
  4411. "name": "userid",
  4412. "in": "query",
  4413. "required": true
  4414. },
  4415. {
  4416. "type": "integer",
  4417. "description": "用户类型 2-机构 7-企业成员",
  4418. "name": "usertype",
  4419. "in": "query"
  4420. },
  4421. {
  4422. "type": "integer",
  4423. "description": "现货商品id",
  4424. "name": "deliverygoodsid",
  4425. "in": "query"
  4426. },
  4427. {
  4428. "type": "integer",
  4429. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4430. "name": "filtersubempty",
  4431. "in": "query"
  4432. }
  4433. ],
  4434. "responses": {
  4435. "200": {
  4436. "description": "OK",
  4437. "schema": {
  4438. "type": "array",
  4439. "items": {
  4440. "$ref": "#/definitions/models.XHDeliveryGoods"
  4441. }
  4442. }
  4443. },
  4444. "500": {
  4445. "description": "Internal Server Error",
  4446. "schema": {
  4447. "$ref": "#/definitions/app.Response"
  4448. }
  4449. }
  4450. }
  4451. }
  4452. },
  4453. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4454. "get": {
  4455. "security": [
  4456. {
  4457. "ApiKeyAuth": []
  4458. }
  4459. ],
  4460. "produces": [
  4461. "application/json"
  4462. ],
  4463. "tags": [
  4464. "企业风险管理v3(app)"
  4465. ],
  4466. "summary": "查询现货合同期现配置信息",
  4467. "parameters": [
  4468. {
  4469. "type": "string",
  4470. "description": "合同id",
  4471. "name": "spotcontractid",
  4472. "in": "query",
  4473. "required": true
  4474. }
  4475. ],
  4476. "responses": {
  4477. "200": {
  4478. "description": "OK",
  4479. "schema": {
  4480. "type": "array",
  4481. "items": {
  4482. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4483. }
  4484. }
  4485. },
  4486. "500": {
  4487. "description": "Internal Server Error",
  4488. "schema": {
  4489. "$ref": "#/definitions/app.Response"
  4490. }
  4491. }
  4492. }
  4493. }
  4494. },
  4495. "/Ermcp3/QueryExposureDetail": {
  4496. "get": {
  4497. "security": [
  4498. {
  4499. "ApiKeyAuth": []
  4500. }
  4501. ],
  4502. "produces": [
  4503. "application/json"
  4504. ],
  4505. "tags": [
  4506. "企业风险管理v3(app)"
  4507. ],
  4508. "summary": "查询敞口现货明细",
  4509. "parameters": [
  4510. {
  4511. "type": "integer",
  4512. "description": "用户id",
  4513. "name": "userid",
  4514. "in": "query",
  4515. "required": true
  4516. },
  4517. {
  4518. "type": "integer",
  4519. "description": "用户类型 2-机构 7-企业成员",
  4520. "name": "usertype",
  4521. "in": "query"
  4522. },
  4523. {
  4524. "type": "integer",
  4525. "description": "套保商品",
  4526. "name": "middlegoodsid",
  4527. "in": "query",
  4528. "required": true
  4529. }
  4530. ],
  4531. "responses": {
  4532. "200": {
  4533. "description": "OK",
  4534. "schema": {
  4535. "type": "array",
  4536. "items": {
  4537. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4538. }
  4539. }
  4540. },
  4541. "500": {
  4542. "description": "Internal Server Error",
  4543. "schema": {
  4544. "$ref": "#/definitions/app.Response"
  4545. }
  4546. }
  4547. }
  4548. }
  4549. },
  4550. "/Ermcp3/QueryExposureSpot": {
  4551. "get": {
  4552. "security": [
  4553. {
  4554. "ApiKeyAuth": []
  4555. }
  4556. ],
  4557. "produces": [
  4558. "application/json"
  4559. ],
  4560. "tags": [
  4561. "企业风险管理v3(app)"
  4562. ],
  4563. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4564. "parameters": [
  4565. {
  4566. "type": "integer",
  4567. "description": "用户id",
  4568. "name": "userid",
  4569. "in": "query",
  4570. "required": true
  4571. },
  4572. {
  4573. "type": "integer",
  4574. "description": "用户类型 2-机构 7-企业成员",
  4575. "name": "usertype",
  4576. "in": "query"
  4577. }
  4578. ],
  4579. "responses": {
  4580. "200": {
  4581. "description": "OK",
  4582. "schema": {
  4583. "type": "array",
  4584. "items": {
  4585. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4586. }
  4587. }
  4588. },
  4589. "500": {
  4590. "description": "Internal Server Error",
  4591. "schema": {
  4592. "$ref": "#/definitions/app.Response"
  4593. }
  4594. }
  4595. }
  4596. }
  4597. },
  4598. "/Ermcp3/QueryExposureSpotDetail": {
  4599. "get": {
  4600. "security": [
  4601. {
  4602. "ApiKeyAuth": []
  4603. }
  4604. ],
  4605. "produces": [
  4606. "application/json"
  4607. ],
  4608. "tags": [
  4609. "企业风险管理v3(app)"
  4610. ],
  4611. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4612. "parameters": [
  4613. {
  4614. "type": "integer",
  4615. "description": "用户id",
  4616. "name": "userid",
  4617. "in": "query",
  4618. "required": true
  4619. },
  4620. {
  4621. "type": "integer",
  4622. "description": "用户类型 2-机构 7-企业成员",
  4623. "name": "usertype",
  4624. "in": "query"
  4625. },
  4626. {
  4627. "type": "integer",
  4628. "description": "现货商品ID",
  4629. "name": "wrstandardid",
  4630. "in": "query",
  4631. "required": true
  4632. }
  4633. ],
  4634. "responses": {
  4635. "200": {
  4636. "description": "OK",
  4637. "schema": {
  4638. "type": "array",
  4639. "items": {
  4640. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4641. }
  4642. }
  4643. },
  4644. "500": {
  4645. "description": "Internal Server Error",
  4646. "schema": {
  4647. "$ref": "#/definitions/app.Response"
  4648. }
  4649. }
  4650. }
  4651. }
  4652. },
  4653. "/Ermcp3/QueryGoodsGroup": {
  4654. "get": {
  4655. "security": [
  4656. {
  4657. "ApiKeyAuth": []
  4658. }
  4659. ],
  4660. "produces": [
  4661. "application/json"
  4662. ],
  4663. "tags": [
  4664. "企业风险管理v3(app)"
  4665. ],
  4666. "summary": "查询期货商品组",
  4667. "parameters": [
  4668. {
  4669. "type": "integer",
  4670. "description": "用户id",
  4671. "name": "userid",
  4672. "in": "query",
  4673. "required": true
  4674. },
  4675. {
  4676. "type": "integer",
  4677. "description": "用户类型 2-机构 7-企业成员",
  4678. "name": "usertype",
  4679. "in": "query"
  4680. },
  4681. {
  4682. "type": "integer",
  4683. "description": "排除套保品中已关联的商品组 1-排除",
  4684. "name": "excludecfg",
  4685. "in": "query"
  4686. }
  4687. ],
  4688. "responses": {
  4689. "200": {
  4690. "description": "OK",
  4691. "schema": {
  4692. "type": "array",
  4693. "items": {
  4694. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4695. }
  4696. }
  4697. },
  4698. "500": {
  4699. "description": "Internal Server Error",
  4700. "schema": {
  4701. "$ref": "#/definitions/app.Response"
  4702. }
  4703. }
  4704. }
  4705. }
  4706. },
  4707. "/Ermcp3/QueryGoodsWrstandard": {
  4708. "get": {
  4709. "security": [
  4710. {
  4711. "ApiKeyAuth": []
  4712. }
  4713. ],
  4714. "produces": [
  4715. "application/json"
  4716. ],
  4717. "tags": [
  4718. "企业风险管理v3(app)"
  4719. ],
  4720. "summary": "查询商品品类",
  4721. "parameters": [
  4722. {
  4723. "type": "integer",
  4724. "description": "用户id",
  4725. "name": "userid",
  4726. "in": "query",
  4727. "required": true
  4728. },
  4729. {
  4730. "type": "integer",
  4731. "description": "用户类型 2-机构 7-企业成员",
  4732. "name": "usertype",
  4733. "in": "query"
  4734. },
  4735. {
  4736. "type": "integer",
  4737. "description": "现货商品id",
  4738. "name": "deliverygoodsid",
  4739. "in": "query"
  4740. }
  4741. ],
  4742. "responses": {
  4743. "200": {
  4744. "description": "OK",
  4745. "schema": {
  4746. "type": "array",
  4747. "items": {
  4748. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4749. }
  4750. }
  4751. },
  4752. "500": {
  4753. "description": "Internal Server Error",
  4754. "schema": {
  4755. "$ref": "#/definitions/app.Response"
  4756. }
  4757. }
  4758. }
  4759. }
  4760. },
  4761. "/Ermcp3/QueryGoodsbrand": {
  4762. "get": {
  4763. "security": [
  4764. {
  4765. "ApiKeyAuth": []
  4766. }
  4767. ],
  4768. "produces": [
  4769. "application/json"
  4770. ],
  4771. "tags": [
  4772. "企业风险管理v3(app)"
  4773. ],
  4774. "summary": "查询商品品牌",
  4775. "parameters": [
  4776. {
  4777. "type": "integer",
  4778. "description": "用户id",
  4779. "name": "userid",
  4780. "in": "query",
  4781. "required": true
  4782. },
  4783. {
  4784. "type": "integer",
  4785. "description": "用户类型 2-机构 7-企业成员",
  4786. "name": "usertype",
  4787. "in": "query"
  4788. }
  4789. ],
  4790. "responses": {
  4791. "200": {
  4792. "description": "OK",
  4793. "schema": {
  4794. "type": "array",
  4795. "items": {
  4796. "$ref": "#/definitions/models.Ermcp3Brand"
  4797. }
  4798. }
  4799. },
  4800. "500": {
  4801. "description": "Internal Server Error",
  4802. "schema": {
  4803. "$ref": "#/definitions/app.Response"
  4804. }
  4805. }
  4806. }
  4807. }
  4808. },
  4809. "/Ermcp3/QueryHPMiddleGoods": {
  4810. "get": {
  4811. "security": [
  4812. {
  4813. "ApiKeyAuth": []
  4814. }
  4815. ],
  4816. "produces": [
  4817. "application/json"
  4818. ],
  4819. "tags": [
  4820. "企业风险管理v3(app)"
  4821. ],
  4822. "summary": "查询可关联套保计划",
  4823. "parameters": [
  4824. {
  4825. "type": "integer",
  4826. "description": "用户ID(填登录用户的userid)",
  4827. "name": "userid",
  4828. "in": "query",
  4829. "required": true
  4830. },
  4831. {
  4832. "type": "integer",
  4833. "description": "买卖方向 0-买 1-卖",
  4834. "name": "buyorsell",
  4835. "in": "query",
  4836. "required": true
  4837. },
  4838. {
  4839. "type": "integer",
  4840. "description": "商品组id",
  4841. "name": "goodsgroupid",
  4842. "in": "query",
  4843. "required": true
  4844. },
  4845. {
  4846. "type": "string",
  4847. "description": "套保计划编号(模糊匹配)",
  4848. "name": "hedgeplanno",
  4849. "in": "query"
  4850. },
  4851. {
  4852. "type": "string",
  4853. "description": "现货商品名称(模糊匹配)",
  4854. "name": "wrstandardname",
  4855. "in": "query"
  4856. }
  4857. ],
  4858. "responses": {
  4859. "200": {
  4860. "description": "OK",
  4861. "schema": {
  4862. "type": "array",
  4863. "items": {
  4864. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4865. }
  4866. }
  4867. },
  4868. "500": {
  4869. "description": "Internal Server Error",
  4870. "schema": {
  4871. "$ref": "#/definitions/app.Response"
  4872. }
  4873. }
  4874. }
  4875. }
  4876. },
  4877. "/Ermcp3/QueryHedgePlan": {
  4878. "get": {
  4879. "security": [
  4880. {
  4881. "ApiKeyAuth": []
  4882. }
  4883. ],
  4884. "produces": [
  4885. "application/json"
  4886. ],
  4887. "tags": [
  4888. "企业风险管理v3(app)"
  4889. ],
  4890. "summary": "查询套保计划",
  4891. "parameters": [
  4892. {
  4893. "type": "integer",
  4894. "description": "用户ID",
  4895. "name": "userid",
  4896. "in": "query",
  4897. "required": true
  4898. },
  4899. {
  4900. "type": "integer",
  4901. "description": "用户类型 2-机构 7-企业成员",
  4902. "name": "usertype",
  4903. "in": "query"
  4904. },
  4905. {
  4906. "type": "string",
  4907. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4908. "name": "hedgeplanstatus",
  4909. "in": "query",
  4910. "required": true
  4911. }
  4912. ],
  4913. "responses": {
  4914. "200": {
  4915. "description": "OK",
  4916. "schema": {
  4917. "type": "array",
  4918. "items": {
  4919. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4920. }
  4921. }
  4922. },
  4923. "500": {
  4924. "description": "Internal Server Error",
  4925. "schema": {
  4926. "$ref": "#/definitions/app.Response"
  4927. }
  4928. }
  4929. }
  4930. }
  4931. },
  4932. "/Ermcp3/QueryInnerTradeLink": {
  4933. "get": {
  4934. "security": [
  4935. {
  4936. "ApiKeyAuth": []
  4937. }
  4938. ],
  4939. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4940. "produces": [
  4941. "application/json"
  4942. ],
  4943. "tags": [
  4944. "企业风险管理v3(app)"
  4945. ],
  4946. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4947. "parameters": [
  4948. {
  4949. "type": "integer",
  4950. "description": "外部成交单号",
  4951. "name": "outtradeid",
  4952. "in": "query",
  4953. "required": true
  4954. }
  4955. ],
  4956. "responses": {
  4957. "200": {
  4958. "description": "OK",
  4959. "schema": {
  4960. "type": "array",
  4961. "items": {
  4962. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4963. }
  4964. }
  4965. },
  4966. "500": {
  4967. "description": "Internal Server Error",
  4968. "schema": {
  4969. "$ref": "#/definitions/app.Response"
  4970. }
  4971. }
  4972. }
  4973. }
  4974. },
  4975. "/Ermcp3/QueryMiddleGoodsDetail": {
  4976. "get": {
  4977. "security": [
  4978. {
  4979. "ApiKeyAuth": []
  4980. }
  4981. ],
  4982. "produces": [
  4983. "application/json"
  4984. ],
  4985. "tags": [
  4986. "企业风险管理v3(app)"
  4987. ],
  4988. "summary": "查询套保品种详情(套保品种/商品详情)",
  4989. "parameters": [
  4990. {
  4991. "type": "integer",
  4992. "description": "用户id",
  4993. "name": "userid",
  4994. "in": "query",
  4995. "required": true
  4996. },
  4997. {
  4998. "type": "integer",
  4999. "description": "用户类型 2-机构 7-企业成员",
  5000. "name": "usertype",
  5001. "in": "query"
  5002. },
  5003. {
  5004. "type": "integer",
  5005. "description": "套保品种id",
  5006. "name": "middlegoodsid",
  5007. "in": "query"
  5008. }
  5009. ],
  5010. "responses": {
  5011. "200": {
  5012. "description": "OK",
  5013. "schema": {
  5014. "type": "array",
  5015. "items": {
  5016. "$ref": "#/definitions/models.TBMiddleGoods"
  5017. }
  5018. }
  5019. },
  5020. "500": {
  5021. "description": "Internal Server Error",
  5022. "schema": {
  5023. "$ref": "#/definitions/app.Response"
  5024. }
  5025. }
  5026. }
  5027. }
  5028. },
  5029. "/Ermcp3/QueryOutTradeLink": {
  5030. "get": {
  5031. "security": [
  5032. {
  5033. "ApiKeyAuth": []
  5034. }
  5035. ],
  5036. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5037. "produces": [
  5038. "application/json"
  5039. ],
  5040. "tags": [
  5041. "企业风险管理v3(app)"
  5042. ],
  5043. "summary": "查询外部成交单关联",
  5044. "parameters": [
  5045. {
  5046. "type": "integer",
  5047. "description": "用户ID(填登录用户的userid)",
  5048. "name": "userid",
  5049. "in": "query",
  5050. "required": true
  5051. },
  5052. {
  5053. "type": "string",
  5054. "description": "外部订单号(模糊匹配)",
  5055. "name": "outtradeid",
  5056. "in": "query"
  5057. },
  5058. {
  5059. "type": "string",
  5060. "description": "合约名称/代码(模糊匹配)",
  5061. "name": "goodsname",
  5062. "in": "query"
  5063. },
  5064. {
  5065. "type": "integer",
  5066. "description": "关联状态 0-未关联 1-已关联",
  5067. "name": "hasinnerorder",
  5068. "in": "query"
  5069. }
  5070. ],
  5071. "responses": {
  5072. "200": {
  5073. "description": "OK",
  5074. "schema": {
  5075. "type": "array",
  5076. "items": {
  5077. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5078. }
  5079. }
  5080. },
  5081. "500": {
  5082. "description": "Internal Server Error",
  5083. "schema": {
  5084. "$ref": "#/definitions/app.Response"
  5085. }
  5086. }
  5087. }
  5088. }
  5089. },
  5090. "/Ermcp3/QueryPaAreaAuditCfg": {
  5091. "get": {
  5092. "security": [
  5093. {
  5094. "ApiKeyAuth": []
  5095. }
  5096. ],
  5097. "produces": [
  5098. "application/json"
  5099. ],
  5100. "tags": [
  5101. "企业风险管理v3(app)"
  5102. ],
  5103. "summary": "查询审核设置",
  5104. "parameters": [
  5105. {
  5106. "type": "integer",
  5107. "description": "用户id",
  5108. "name": "userid",
  5109. "in": "query",
  5110. "required": true
  5111. }
  5112. ],
  5113. "responses": {
  5114. "200": {
  5115. "description": "OK",
  5116. "schema": {
  5117. "type": "array",
  5118. "items": {
  5119. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5120. }
  5121. }
  5122. },
  5123. "500": {
  5124. "description": "Internal Server Error",
  5125. "schema": {
  5126. "$ref": "#/definitions/app.Response"
  5127. }
  5128. }
  5129. }
  5130. }
  5131. },
  5132. "/Ermcp3/QueryPaAreaSubject": {
  5133. "get": {
  5134. "security": [
  5135. {
  5136. "ApiKeyAuth": []
  5137. }
  5138. ],
  5139. "produces": [
  5140. "application/json"
  5141. ],
  5142. "tags": [
  5143. "企业风险管理v3(app)"
  5144. ],
  5145. "summary": "查询交易主体",
  5146. "parameters": [
  5147. {
  5148. "type": "integer",
  5149. "description": "用户id",
  5150. "name": "userid",
  5151. "in": "query",
  5152. "required": true
  5153. },
  5154. {
  5155. "type": "integer",
  5156. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5157. "name": "subjectid",
  5158. "in": "query"
  5159. },
  5160. {
  5161. "type": "integer",
  5162. "description": "主体类型 - 1:交易主体 2:业务部门",
  5163. "name": "subjecttype",
  5164. "in": "query"
  5165. },
  5166. {
  5167. "type": "integer",
  5168. "description": "主体状态 - 1:正常 2: 停用",
  5169. "name": "subjectstatus",
  5170. "in": "query"
  5171. }
  5172. ],
  5173. "responses": {
  5174. "200": {
  5175. "description": "OK",
  5176. "schema": {
  5177. "type": "array",
  5178. "items": {
  5179. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5180. }
  5181. }
  5182. },
  5183. "500": {
  5184. "description": "Internal Server Error",
  5185. "schema": {
  5186. "$ref": "#/definitions/app.Response"
  5187. }
  5188. }
  5189. }
  5190. }
  5191. },
  5192. "/Ermcp3/QueryPaTradeLink": {
  5193. "get": {
  5194. "security": [
  5195. {
  5196. "ApiKeyAuth": []
  5197. }
  5198. ],
  5199. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5200. "produces": [
  5201. "application/json"
  5202. ],
  5203. "tags": [
  5204. "企业风险管理v3(app)"
  5205. ],
  5206. "summary": "查询期现单据关联",
  5207. "parameters": [
  5208. {
  5209. "type": "integer",
  5210. "description": "用户ID",
  5211. "name": "userid",
  5212. "in": "query",
  5213. "required": true
  5214. }
  5215. ],
  5216. "responses": {
  5217. "200": {
  5218. "description": "OK",
  5219. "schema": {
  5220. "type": "array",
  5221. "items": {
  5222. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5223. }
  5224. }
  5225. },
  5226. "500": {
  5227. "description": "Internal Server Error",
  5228. "schema": {
  5229. "$ref": "#/definitions/app.Response"
  5230. }
  5231. }
  5232. }
  5233. }
  5234. },
  5235. "/Ermcp3/QueryPaTradeLinkDetail": {
  5236. "get": {
  5237. "security": [
  5238. {
  5239. "ApiKeyAuth": []
  5240. }
  5241. ],
  5242. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5243. "produces": [
  5244. "application/json"
  5245. ],
  5246. "tags": [
  5247. "企业风险管理v3(app)"
  5248. ],
  5249. "summary": "查询期现关联记录",
  5250. "parameters": [
  5251. {
  5252. "type": "integer",
  5253. "description": "用户ID(填登录用户的userid)",
  5254. "name": "userid",
  5255. "in": "query",
  5256. "required": true
  5257. },
  5258. {
  5259. "type": "integer",
  5260. "description": "关联状态 1:成功 2:失败 3:解绑",
  5261. "name": "linkstatus",
  5262. "in": "query"
  5263. },
  5264. {
  5265. "type": "string",
  5266. "description": "期货订单号(模糊匹配)",
  5267. "name": "tradeid",
  5268. "in": "query"
  5269. },
  5270. {
  5271. "type": "string",
  5272. "description": "现货编号(模糊匹配)",
  5273. "name": "contractno",
  5274. "in": "query"
  5275. },
  5276. {
  5277. "type": "string",
  5278. "description": "期货账户(模糊匹配)",
  5279. "name": "taname",
  5280. "in": "query"
  5281. }
  5282. ],
  5283. "responses": {
  5284. "200": {
  5285. "description": "OK",
  5286. "schema": {
  5287. "type": "array",
  5288. "items": {
  5289. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5290. }
  5291. }
  5292. },
  5293. "500": {
  5294. "description": "Internal Server Error",
  5295. "schema": {
  5296. "$ref": "#/definitions/app.Response"
  5297. }
  5298. }
  5299. }
  5300. }
  5301. },
  5302. "/Ermcp3/QueryParamChangeApp": {
  5303. "get": {
  5304. "security": [
  5305. {
  5306. "ApiKeyAuth": []
  5307. }
  5308. ],
  5309. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5310. "produces": [
  5311. "application/json"
  5312. ],
  5313. "tags": [
  5314. "企业风险管理v3(app)"
  5315. ],
  5316. "summary": "查询现货商品参数变更申请(流水)",
  5317. "parameters": [
  5318. {
  5319. "type": "integer",
  5320. "description": "用户ID",
  5321. "name": "userid",
  5322. "in": "query",
  5323. "required": true
  5324. },
  5325. {
  5326. "type": "integer",
  5327. "description": "现货品种id",
  5328. "name": "deliverygoodsid",
  5329. "in": "query"
  5330. },
  5331. {
  5332. "type": "integer",
  5333. "description": "现货商品id",
  5334. "name": "wrstandardid",
  5335. "in": "query"
  5336. },
  5337. {
  5338. "type": "integer",
  5339. "description": "套保商品id",
  5340. "name": "middlegoodsid",
  5341. "in": "query"
  5342. },
  5343. {
  5344. "type": "integer",
  5345. "description": "操作类型 1:新增 2:修改",
  5346. "name": "operatetype",
  5347. "in": "query"
  5348. },
  5349. {
  5350. "type": "integer",
  5351. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5352. "name": "paramchangetype",
  5353. "in": "query"
  5354. },
  5355. {
  5356. "type": "string",
  5357. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5358. "name": "ftstatus",
  5359. "in": "query"
  5360. }
  5361. ],
  5362. "responses": {
  5363. "200": {
  5364. "description": "OK",
  5365. "schema": {
  5366. "type": "array",
  5367. "items": {
  5368. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5369. }
  5370. }
  5371. },
  5372. "500": {
  5373. "description": "Internal Server Error",
  5374. "schema": {
  5375. "$ref": "#/definitions/app.Response"
  5376. }
  5377. }
  5378. }
  5379. }
  5380. },
  5381. "/Ermcp3/QueryRootUserAccount": {
  5382. "get": {
  5383. "security": [
  5384. {
  5385. "ApiKeyAuth": []
  5386. }
  5387. ],
  5388. "produces": [
  5389. "application/json"
  5390. ],
  5391. "tags": [
  5392. "企业风险管理v3(app)"
  5393. ],
  5394. "summary": "查询顶级用户信息",
  5395. "parameters": [
  5396. {
  5397. "type": "integer",
  5398. "description": "用户ID",
  5399. "name": "userid",
  5400. "in": "query",
  5401. "required": true
  5402. }
  5403. ],
  5404. "responses": {
  5405. "200": {
  5406. "description": "OK",
  5407. "schema": {
  5408. "type": "array",
  5409. "items": {
  5410. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5411. }
  5412. }
  5413. },
  5414. "500": {
  5415. "description": "Internal Server Error",
  5416. "schema": {
  5417. "$ref": "#/definitions/app.Response"
  5418. }
  5419. }
  5420. }
  5421. }
  5422. },
  5423. "/Ermcp3/QuerySCMiddleGoods": {
  5424. "get": {
  5425. "security": [
  5426. {
  5427. "ApiKeyAuth": []
  5428. }
  5429. ],
  5430. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5431. "produces": [
  5432. "application/json"
  5433. ],
  5434. "tags": [
  5435. "企业风险管理v3(app)"
  5436. ],
  5437. "summary": "查询现货订单",
  5438. "parameters": [
  5439. {
  5440. "type": "integer",
  5441. "description": "用户ID(填登录用户的userid)",
  5442. "name": "userid",
  5443. "in": "query",
  5444. "required": true
  5445. },
  5446. {
  5447. "type": "integer",
  5448. "description": "买卖方向 0-买 1-卖",
  5449. "name": "buyorsell",
  5450. "in": "query",
  5451. "required": true
  5452. },
  5453. {
  5454. "type": "integer",
  5455. "description": "商品组id",
  5456. "name": "goodsgroupid",
  5457. "in": "query",
  5458. "required": true
  5459. },
  5460. {
  5461. "type": "integer",
  5462. "description": "业务类型 1:套保 2:套利",
  5463. "name": "biztype",
  5464. "in": "query"
  5465. },
  5466. {
  5467. "type": "string",
  5468. "description": "现货编号(模糊匹配)",
  5469. "name": "contractno",
  5470. "in": "query"
  5471. },
  5472. {
  5473. "type": "string",
  5474. "description": "对手方(模糊匹配)",
  5475. "name": "customername",
  5476. "in": "query"
  5477. },
  5478. {
  5479. "type": "string",
  5480. "description": "现货商品名称(模糊匹配)",
  5481. "name": "wrstandardname",
  5482. "in": "query"
  5483. }
  5484. ],
  5485. "responses": {
  5486. "200": {
  5487. "description": "OK",
  5488. "schema": {
  5489. "type": "array",
  5490. "items": {
  5491. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5492. }
  5493. }
  5494. },
  5495. "500": {
  5496. "description": "Internal Server Error",
  5497. "schema": {
  5498. "$ref": "#/definitions/app.Response"
  5499. }
  5500. }
  5501. }
  5502. }
  5503. },
  5504. "/Ermcp3/QuerySpotContract": {
  5505. "get": {
  5506. "security": [
  5507. {
  5508. "ApiKeyAuth": []
  5509. }
  5510. ],
  5511. "produces": [
  5512. "application/json"
  5513. ],
  5514. "tags": [
  5515. "企业风险管理v3(app)"
  5516. ],
  5517. "summary": "查询现货合同",
  5518. "parameters": [
  5519. {
  5520. "type": "integer",
  5521. "description": "用户id(当指定contractid, userid可不填)",
  5522. "name": "userid",
  5523. "in": "query",
  5524. "required": true
  5525. },
  5526. {
  5527. "type": "integer",
  5528. "description": "用户类型 2-机构 7-企业成员",
  5529. "name": "usertype",
  5530. "in": "query"
  5531. },
  5532. {
  5533. "type": "integer",
  5534. "description": "合同类型 1-采购, -1-销售",
  5535. "name": "contracttype",
  5536. "in": "query"
  5537. },
  5538. {
  5539. "type": "string",
  5540. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5541. "name": "querytype",
  5542. "in": "query"
  5543. },
  5544. {
  5545. "type": "string",
  5546. "description": "合同ID(SpotContractId)",
  5547. "name": "contractid",
  5548. "in": "query"
  5549. },
  5550. {
  5551. "type": "string",
  5552. "description": "合同编号(模糊匹配)",
  5553. "name": "contractno",
  5554. "in": "query"
  5555. },
  5556. {
  5557. "type": "string",
  5558. "description": "商品名称(模糊匹配)",
  5559. "name": "wrstandardname",
  5560. "in": "query"
  5561. },
  5562. {
  5563. "type": "string",
  5564. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5565. "name": "status",
  5566. "in": "query"
  5567. },
  5568. {
  5569. "type": "integer",
  5570. "description": "是否只查今日的合同 1-查今日合同",
  5571. "name": "istoday",
  5572. "in": "query"
  5573. }
  5574. ],
  5575. "responses": {
  5576. "200": {
  5577. "description": "OK",
  5578. "schema": {
  5579. "type": "array",
  5580. "items": {
  5581. "$ref": "#/definitions/models.Ermcp3Contract"
  5582. }
  5583. }
  5584. },
  5585. "500": {
  5586. "description": "Internal Server Error",
  5587. "schema": {
  5588. "$ref": "#/definitions/app.Response"
  5589. }
  5590. }
  5591. }
  5592. }
  5593. },
  5594. "/Ermcp3/QuerySpotContractBS": {
  5595. "get": {
  5596. "security": [
  5597. {
  5598. "ApiKeyAuth": []
  5599. }
  5600. ],
  5601. "produces": [
  5602. "application/json"
  5603. ],
  5604. "tags": [
  5605. "企业风险管理v3(app)"
  5606. ],
  5607. "summary": "查询合同(采购/销售)",
  5608. "parameters": [
  5609. {
  5610. "type": "integer",
  5611. "description": "用户id",
  5612. "name": "userid",
  5613. "in": "query",
  5614. "required": true
  5615. },
  5616. {
  5617. "type": "integer",
  5618. "description": "用户类型 2-机构 7-企业成员",
  5619. "name": "usertype",
  5620. "in": "query"
  5621. },
  5622. {
  5623. "type": "integer",
  5624. "description": "合同类型 1-采购, -1-销售",
  5625. "name": "contracttype",
  5626. "in": "query",
  5627. "required": true
  5628. },
  5629. {
  5630. "type": "integer",
  5631. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5632. "name": "querytype",
  5633. "in": "query"
  5634. },
  5635. {
  5636. "type": "string",
  5637. "description": "合同ID(SpotContractId)",
  5638. "name": "contractid",
  5639. "in": "query"
  5640. },
  5641. {
  5642. "type": "string",
  5643. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5644. "name": "status",
  5645. "in": "query"
  5646. },
  5647. {
  5648. "type": "integer",
  5649. "description": "是否只查今日的合同 1-查今日合同",
  5650. "name": "istoday",
  5651. "in": "query"
  5652. }
  5653. ],
  5654. "responses": {
  5655. "200": {
  5656. "description": "OK",
  5657. "schema": {
  5658. "type": "array",
  5659. "items": {
  5660. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5661. }
  5662. }
  5663. },
  5664. "500": {
  5665. "description": "Internal Server Error",
  5666. "schema": {
  5667. "$ref": "#/definitions/app.Response"
  5668. }
  5669. }
  5670. }
  5671. }
  5672. },
  5673. "/Ermcp3/QuerySpotGoodsPrice": {
  5674. "get": {
  5675. "security": [
  5676. {
  5677. "ApiKeyAuth": []
  5678. }
  5679. ],
  5680. "produces": [
  5681. "application/json"
  5682. ],
  5683. "tags": [
  5684. "企业风险管理v3(app)"
  5685. ],
  5686. "summary": "查询现货市价(现货市价)",
  5687. "parameters": [
  5688. {
  5689. "type": "integer",
  5690. "description": "用户ID",
  5691. "name": "userid",
  5692. "in": "query",
  5693. "required": true
  5694. }
  5695. ],
  5696. "responses": {
  5697. "200": {
  5698. "description": "OK",
  5699. "schema": {
  5700. "type": "array",
  5701. "items": {
  5702. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5703. }
  5704. }
  5705. },
  5706. "500": {
  5707. "description": "Internal Server Error",
  5708. "schema": {
  5709. "$ref": "#/definitions/app.Response"
  5710. }
  5711. }
  5712. }
  5713. }
  5714. },
  5715. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5716. "get": {
  5717. "security": [
  5718. {
  5719. "ApiKeyAuth": []
  5720. }
  5721. ],
  5722. "produces": [
  5723. "application/json"
  5724. ],
  5725. "tags": [
  5726. "企业风险管理v3(app)"
  5727. ],
  5728. "summary": "查询现货市价详情(现货市价/详情)",
  5729. "parameters": [
  5730. {
  5731. "type": "integer",
  5732. "description": "用户ID",
  5733. "name": "userid",
  5734. "in": "query",
  5735. "required": true
  5736. },
  5737. {
  5738. "type": "integer",
  5739. "description": "现货商品ID",
  5740. "name": "deliverygoodsid",
  5741. "in": "query",
  5742. "required": true
  5743. },
  5744. {
  5745. "type": "integer",
  5746. "description": "品牌ID",
  5747. "name": "brandid",
  5748. "in": "query"
  5749. },
  5750. {
  5751. "type": "integer",
  5752. "description": "品类ID",
  5753. "name": "wrstandardid",
  5754. "in": "query"
  5755. }
  5756. ],
  5757. "responses": {
  5758. "200": {
  5759. "description": "OK",
  5760. "schema": {
  5761. "type": "array",
  5762. "items": {
  5763. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5764. }
  5765. }
  5766. },
  5767. "500": {
  5768. "description": "Internal Server Error",
  5769. "schema": {
  5770. "$ref": "#/definitions/app.Response"
  5771. }
  5772. }
  5773. }
  5774. }
  5775. },
  5776. "/Ermcp3/QuerySubTaaccount": {
  5777. "get": {
  5778. "security": [
  5779. {
  5780. "ApiKeyAuth": []
  5781. }
  5782. ],
  5783. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5784. "produces": [
  5785. "application/json"
  5786. ],
  5787. "tags": [
  5788. "企业风险管理v3(app)"
  5789. ],
  5790. "summary": "查询期货子账户",
  5791. "parameters": [
  5792. {
  5793. "type": "integer",
  5794. "description": "母账号id",
  5795. "name": "parentaccountid",
  5796. "in": "query"
  5797. },
  5798. {
  5799. "type": "string",
  5800. "description": "母账号代码",
  5801. "name": "parentaccountcode",
  5802. "in": "query"
  5803. }
  5804. ],
  5805. "responses": {
  5806. "200": {
  5807. "description": "OK",
  5808. "schema": {
  5809. "type": "array",
  5810. "items": {
  5811. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5812. }
  5813. }
  5814. },
  5815. "500": {
  5816. "description": "Internal Server Error",
  5817. "schema": {
  5818. "$ref": "#/definitions/app.Response"
  5819. }
  5820. }
  5821. }
  5822. }
  5823. },
  5824. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5825. "get": {
  5826. "security": [
  5827. {
  5828. "ApiKeyAuth": []
  5829. }
  5830. ],
  5831. "produces": [
  5832. "application/json"
  5833. ],
  5834. "tags": [
  5835. "企业风险管理v8"
  5836. ],
  5837. "summary": "现货成交明细查询",
  5838. "parameters": [
  5839. {
  5840. "type": "integer",
  5841. "description": "套期项目ID",
  5842. "name": "hedgeditemid",
  5843. "in": "query",
  5844. "required": true
  5845. }
  5846. ],
  5847. "responses": {
  5848. "200": {
  5849. "description": "OK",
  5850. "schema": {
  5851. "type": "array",
  5852. "items": {
  5853. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5854. }
  5855. }
  5856. },
  5857. "500": {
  5858. "description": "Internal Server Error",
  5859. "schema": {
  5860. "$ref": "#/definitions/app.Response"
  5861. }
  5862. }
  5863. }
  5864. }
  5865. },
  5866. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5867. "get": {
  5868. "security": [
  5869. {
  5870. "ApiKeyAuth": []
  5871. }
  5872. ],
  5873. "produces": [
  5874. "application/json"
  5875. ],
  5876. "tags": [
  5877. "企业风险管理v8"
  5878. ],
  5879. "summary": "套期计划明细查询",
  5880. "parameters": [
  5881. {
  5882. "type": "integer",
  5883. "description": "套期项目ID",
  5884. "name": "hedgeditemid",
  5885. "in": "query",
  5886. "required": true
  5887. }
  5888. ],
  5889. "responses": {
  5890. "200": {
  5891. "description": "OK",
  5892. "schema": {
  5893. "type": "array",
  5894. "items": {
  5895. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5896. }
  5897. }
  5898. },
  5899. "500": {
  5900. "description": "Internal Server Error",
  5901. "schema": {
  5902. "$ref": "#/definitions/app.Response"
  5903. }
  5904. }
  5905. }
  5906. }
  5907. },
  5908. "/Ermcp8/QueryERMCPJRLinkPos": {
  5909. "get": {
  5910. "security": [
  5911. {
  5912. "ApiKeyAuth": []
  5913. }
  5914. ],
  5915. "produces": [
  5916. "application/json"
  5917. ],
  5918. "tags": [
  5919. "企业风险管理v8"
  5920. ],
  5921. "summary": "期货持仓明细查询",
  5922. "parameters": [
  5923. {
  5924. "type": "integer",
  5925. "description": "套期项目ID",
  5926. "name": "hedgeditemid",
  5927. "in": "query",
  5928. "required": true
  5929. }
  5930. ],
  5931. "responses": {
  5932. "200": {
  5933. "description": "OK",
  5934. "schema": {
  5935. "type": "array",
  5936. "items": {
  5937. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  5938. }
  5939. }
  5940. },
  5941. "500": {
  5942. "description": "Internal Server Error",
  5943. "schema": {
  5944. "$ref": "#/definitions/app.Response"
  5945. }
  5946. }
  5947. }
  5948. }
  5949. },
  5950. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  5951. "get": {
  5952. "security": [
  5953. {
  5954. "ApiKeyAuth": []
  5955. }
  5956. ],
  5957. "produces": [
  5958. "application/json"
  5959. ],
  5960. "tags": [
  5961. "企业风险管理v8"
  5962. ],
  5963. "summary": "期货成交单明细查询",
  5964. "parameters": [
  5965. {
  5966. "type": "integer",
  5967. "description": "套期项目ID",
  5968. "name": "hedgeditemid",
  5969. "in": "query",
  5970. "required": true
  5971. }
  5972. ],
  5973. "responses": {
  5974. "200": {
  5975. "description": "OK",
  5976. "schema": {
  5977. "type": "array",
  5978. "items": {
  5979. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  5980. }
  5981. }
  5982. },
  5983. "500": {
  5984. "description": "Internal Server Error",
  5985. "schema": {
  5986. "$ref": "#/definitions/app.Response"
  5987. }
  5988. }
  5989. }
  5990. }
  5991. },
  5992. "/Ermcp8/QueryErmcp2AreaExposure": {
  5993. "get": {
  5994. "security": [
  5995. {
  5996. "ApiKeyAuth": []
  5997. }
  5998. ],
  5999. "produces": [
  6000. "application/json"
  6001. ],
  6002. "tags": [
  6003. "企业风险管理v8"
  6004. ],
  6005. "summary": "企业敞口查询",
  6006. "parameters": [
  6007. {
  6008. "type": "string",
  6009. "description": "用户ID",
  6010. "name": "userid",
  6011. "in": "query",
  6012. "required": true
  6013. }
  6014. ],
  6015. "responses": {
  6016. "200": {
  6017. "description": "OK",
  6018. "schema": {
  6019. "type": "array",
  6020. "items": {
  6021. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6022. }
  6023. }
  6024. },
  6025. "500": {
  6026. "description": "Internal Server Error",
  6027. "schema": {
  6028. "$ref": "#/definitions/app.Response"
  6029. }
  6030. }
  6031. }
  6032. }
  6033. },
  6034. "/Ermcp8/QueryErmcp2HedgedItem": {
  6035. "get": {
  6036. "security": [
  6037. {
  6038. "ApiKeyAuth": []
  6039. }
  6040. ],
  6041. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6042. "produces": [
  6043. "application/json"
  6044. ],
  6045. "tags": [
  6046. "企业风险管理v8"
  6047. ],
  6048. "summary": "查询被套期项目信息",
  6049. "parameters": [
  6050. {
  6051. "type": "string",
  6052. "description": "用户ID",
  6053. "name": "userid",
  6054. "in": "query",
  6055. "required": true
  6056. },
  6057. {
  6058. "type": "integer",
  6059. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6060. "name": "hedgedtype",
  6061. "in": "query"
  6062. },
  6063. {
  6064. "type": "integer",
  6065. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6066. "name": "hedgeditemstatus",
  6067. "in": "query"
  6068. }
  6069. ],
  6070. "responses": {
  6071. "200": {
  6072. "description": "OK",
  6073. "schema": {
  6074. "type": "array",
  6075. "items": {
  6076. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6077. }
  6078. }
  6079. },
  6080. "500": {
  6081. "description": "Internal Server Error",
  6082. "schema": {
  6083. "$ref": "#/definitions/app.Response"
  6084. }
  6085. }
  6086. }
  6087. }
  6088. },
  6089. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6090. "get": {
  6091. "security": [
  6092. {
  6093. "ApiKeyAuth": []
  6094. }
  6095. ],
  6096. "produces": [
  6097. "application/json"
  6098. ],
  6099. "tags": [
  6100. "企业风险管理v8"
  6101. ],
  6102. "summary": "现货合同关联被套期项目查询",
  6103. "parameters": [
  6104. {
  6105. "type": "integer",
  6106. "description": "现货合同ID",
  6107. "name": "spotcontractid",
  6108. "in": "query",
  6109. "required": true
  6110. }
  6111. ],
  6112. "responses": {
  6113. "200": {
  6114. "description": "OK",
  6115. "schema": {
  6116. "type": "array",
  6117. "items": {
  6118. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6119. }
  6120. }
  6121. },
  6122. "500": {
  6123. "description": "Internal Server Error",
  6124. "schema": {
  6125. "$ref": "#/definitions/app.Response"
  6126. }
  6127. }
  6128. }
  6129. }
  6130. },
  6131. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6132. "get": {
  6133. "security": [
  6134. {
  6135. "ApiKeyAuth": []
  6136. }
  6137. ],
  6138. "produces": [
  6139. "application/json"
  6140. ],
  6141. "tags": [
  6142. "企业风险管理v8"
  6143. ],
  6144. "summary": "敞口明细 - 计划变动明细",
  6145. "parameters": [
  6146. {
  6147. "type": "integer",
  6148. "description": "用户ID",
  6149. "name": "userid",
  6150. "in": "query",
  6151. "required": true
  6152. },
  6153. {
  6154. "type": "integer",
  6155. "description": "套保品种ID",
  6156. "name": "middlegoodsid",
  6157. "in": "query",
  6158. "required": true
  6159. }
  6160. ],
  6161. "responses": {
  6162. "200": {
  6163. "description": "OK",
  6164. "schema": {
  6165. "type": "array",
  6166. "items": {
  6167. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6168. }
  6169. }
  6170. },
  6171. "500": {
  6172. "description": "Internal Server Error",
  6173. "schema": {
  6174. "$ref": "#/definitions/app.Response"
  6175. }
  6176. }
  6177. }
  6178. }
  6179. },
  6180. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6181. "get": {
  6182. "security": [
  6183. {
  6184. "ApiKeyAuth": []
  6185. }
  6186. ],
  6187. "produces": [
  6188. "application/json"
  6189. ],
  6190. "tags": [
  6191. "企业风险管理v8"
  6192. ],
  6193. "summary": "敞口明细 - 现货变动明细查询",
  6194. "parameters": [
  6195. {
  6196. "type": "integer",
  6197. "description": "用户ID",
  6198. "name": "userid",
  6199. "in": "query",
  6200. "required": true
  6201. },
  6202. {
  6203. "type": "integer",
  6204. "description": "套保品种ID",
  6205. "name": "middlegoodsid",
  6206. "in": "query",
  6207. "required": true
  6208. }
  6209. ],
  6210. "responses": {
  6211. "200": {
  6212. "description": "OK",
  6213. "schema": {
  6214. "type": "array",
  6215. "items": {
  6216. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6217. }
  6218. }
  6219. },
  6220. "500": {
  6221. "description": "Internal Server Error",
  6222. "schema": {
  6223. "$ref": "#/definitions/app.Response"
  6224. }
  6225. }
  6226. }
  6227. }
  6228. },
  6229. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6230. "get": {
  6231. "security": [
  6232. {
  6233. "ApiKeyAuth": []
  6234. }
  6235. ],
  6236. "produces": [
  6237. "application/json"
  6238. ],
  6239. "tags": [
  6240. "企业风险管理v8"
  6241. ],
  6242. "summary": "可关联项目查询",
  6243. "parameters": [
  6244. {
  6245. "type": "integer",
  6246. "description": "用户ID",
  6247. "name": "userid",
  6248. "in": "query",
  6249. "required": true
  6250. },
  6251. {
  6252. "type": "integer",
  6253. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6254. "name": "spottype",
  6255. "in": "query",
  6256. "required": true
  6257. },
  6258. {
  6259. "type": "integer",
  6260. "description": "现货商品ID",
  6261. "name": "wrstandardid",
  6262. "in": "query"
  6263. }
  6264. ],
  6265. "responses": {
  6266. "200": {
  6267. "description": "OK",
  6268. "schema": {
  6269. "type": "array",
  6270. "items": {
  6271. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6272. }
  6273. }
  6274. },
  6275. "500": {
  6276. "description": "Internal Server Error",
  6277. "schema": {
  6278. "$ref": "#/definitions/app.Response"
  6279. }
  6280. }
  6281. }
  6282. }
  6283. },
  6284. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6285. "get": {
  6286. "security": [
  6287. {
  6288. "ApiKeyAuth": []
  6289. }
  6290. ],
  6291. "produces": [
  6292. "application/json"
  6293. ],
  6294. "tags": [
  6295. "企业风险管理v8"
  6296. ],
  6297. "summary": "套期项目报表查询",
  6298. "parameters": [
  6299. {
  6300. "type": "integer",
  6301. "description": "用户ID",
  6302. "name": "userid",
  6303. "in": "query",
  6304. "required": true
  6305. },
  6306. {
  6307. "type": "integer",
  6308. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6309. "name": "cycletype",
  6310. "in": "query"
  6311. },
  6312. {
  6313. "type": "string",
  6314. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6315. "name": "cycletime",
  6316. "in": "query",
  6317. "required": true
  6318. },
  6319. {
  6320. "type": "integer",
  6321. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6322. "name": "hedgedtype",
  6323. "in": "query"
  6324. },
  6325. {
  6326. "type": "integer",
  6327. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6328. "name": "hedgeditemstatus",
  6329. "in": "query"
  6330. },
  6331. {
  6332. "type": "string",
  6333. "description": "项目编号,模糊查询",
  6334. "name": "hedgeditemnum",
  6335. "in": "query"
  6336. },
  6337. {
  6338. "type": "integer",
  6339. "description": "现货商品ID",
  6340. "name": "wrstandardid",
  6341. "in": "query"
  6342. }
  6343. ],
  6344. "responses": {
  6345. "200": {
  6346. "description": "OK",
  6347. "schema": {
  6348. "type": "array",
  6349. "items": {
  6350. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6351. }
  6352. }
  6353. },
  6354. "500": {
  6355. "description": "Internal Server Error",
  6356. "schema": {
  6357. "$ref": "#/definitions/app.Response"
  6358. }
  6359. }
  6360. }
  6361. }
  6362. },
  6363. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6364. "get": {
  6365. "security": [
  6366. {
  6367. "ApiKeyAuth": []
  6368. }
  6369. ],
  6370. "produces": [
  6371. "application/json"
  6372. ],
  6373. "tags": [
  6374. "企业风险管理v8"
  6375. ],
  6376. "summary": "查询执行中项目查询信息",
  6377. "parameters": [
  6378. {
  6379. "type": "string",
  6380. "description": "用户ID",
  6381. "name": "userid",
  6382. "in": "query",
  6383. "required": true
  6384. }
  6385. ],
  6386. "responses": {
  6387. "200": {
  6388. "description": "OK",
  6389. "schema": {
  6390. "type": "array",
  6391. "items": {
  6392. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6393. }
  6394. }
  6395. },
  6396. "500": {
  6397. "description": "Internal Server Error",
  6398. "schema": {
  6399. "$ref": "#/definitions/app.Response"
  6400. }
  6401. }
  6402. }
  6403. }
  6404. },
  6405. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6406. "get": {
  6407. "security": [
  6408. {
  6409. "ApiKeyAuth": []
  6410. }
  6411. ],
  6412. "produces": [
  6413. "application/json"
  6414. ],
  6415. "tags": [
  6416. "企业风险管理v8"
  6417. ],
  6418. "summary": "内部成交单可关联项目查询",
  6419. "parameters": [
  6420. {
  6421. "type": "integer",
  6422. "description": "企业ID",
  6423. "name": "areauserid",
  6424. "in": "query",
  6425. "required": true
  6426. },
  6427. {
  6428. "type": "integer",
  6429. "description": "期货合约ID",
  6430. "name": "goodsid",
  6431. "in": "query",
  6432. "required": true
  6433. },
  6434. {
  6435. "type": "integer",
  6436. "description": "交易用户ID",
  6437. "name": "tradeuserid",
  6438. "in": "query",
  6439. "required": true
  6440. }
  6441. ],
  6442. "responses": {
  6443. "200": {
  6444. "description": "OK",
  6445. "schema": {
  6446. "type": "array",
  6447. "items": {
  6448. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6449. }
  6450. }
  6451. },
  6452. "500": {
  6453. "description": "Internal Server Error",
  6454. "schema": {
  6455. "$ref": "#/definitions/app.Response"
  6456. }
  6457. }
  6458. }
  6459. }
  6460. },
  6461. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6462. "get": {
  6463. "security": [
  6464. {
  6465. "ApiKeyAuth": []
  6466. }
  6467. ],
  6468. "produces": [
  6469. "application/json"
  6470. ],
  6471. "tags": [
  6472. "企业风险管理v8"
  6473. ],
  6474. "summary": "内部未关联成交单查询",
  6475. "parameters": [
  6476. {
  6477. "type": "integer",
  6478. "description": "用户编号",
  6479. "name": "userid",
  6480. "in": "query",
  6481. "required": true
  6482. },
  6483. {
  6484. "type": "string",
  6485. "description": "起始日期(格式yyyymmdd)",
  6486. "name": "begindate",
  6487. "in": "query"
  6488. },
  6489. {
  6490. "type": "string",
  6491. "description": "终止日期(格式yyyymmdd)",
  6492. "name": "enddate",
  6493. "in": "query"
  6494. },
  6495. {
  6496. "type": "string",
  6497. "description": "合约代码",
  6498. "name": "goodscode",
  6499. "in": "query"
  6500. },
  6501. {
  6502. "type": "string",
  6503. "description": "合约名称",
  6504. "name": "goodsname",
  6505. "in": "query"
  6506. },
  6507. {
  6508. "type": "integer",
  6509. "description": "成交单号",
  6510. "name": "tradeid",
  6511. "in": "query"
  6512. },
  6513. {
  6514. "type": "integer",
  6515. "description": "方向 - 0:买 1:卖",
  6516. "name": "buyorsell",
  6517. "in": "query"
  6518. },
  6519. {
  6520. "type": "string",
  6521. "description": "套期主体",
  6522. "name": "accountname",
  6523. "in": "query"
  6524. }
  6525. ],
  6526. "responses": {
  6527. "200": {
  6528. "description": "OK",
  6529. "schema": {
  6530. "type": "array",
  6531. "items": {
  6532. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6533. }
  6534. }
  6535. },
  6536. "500": {
  6537. "description": "Internal Server Error",
  6538. "schema": {
  6539. "$ref": "#/definitions/app.Response"
  6540. }
  6541. }
  6542. }
  6543. }
  6544. },
  6545. "/Ermcp8/QueryMarketCalendar": {
  6546. "get": {
  6547. "security": [
  6548. {
  6549. "ApiKeyAuth": []
  6550. }
  6551. ],
  6552. "produces": [
  6553. "application/json"
  6554. ],
  6555. "tags": [
  6556. "企业风险管理v8"
  6557. ],
  6558. "summary": "市场节假日查询",
  6559. "parameters": [
  6560. {
  6561. "type": "integer",
  6562. "description": "市场ID",
  6563. "name": "marketid",
  6564. "in": "query"
  6565. }
  6566. ],
  6567. "responses": {
  6568. "200": {
  6569. "description": "OK",
  6570. "schema": {
  6571. "type": "array",
  6572. "items": {
  6573. "$ref": "#/definitions/models.Marketcalendar"
  6574. }
  6575. }
  6576. },
  6577. "500": {
  6578. "description": "Internal Server Error",
  6579. "schema": {
  6580. "$ref": "#/definitions/app.Response"
  6581. }
  6582. }
  6583. }
  6584. }
  6585. },
  6586. "/Ermcp8/QueryPatradeLinkDetail": {
  6587. "get": {
  6588. "security": [
  6589. {
  6590. "ApiKeyAuth": []
  6591. }
  6592. ],
  6593. "produces": [
  6594. "application/json"
  6595. ],
  6596. "tags": [
  6597. "企业风险管理v8"
  6598. ],
  6599. "summary": "敞口明细 - 期货变动明细",
  6600. "parameters": [
  6601. {
  6602. "type": "integer",
  6603. "description": "用户ID",
  6604. "name": "userid",
  6605. "in": "query",
  6606. "required": true
  6607. },
  6608. {
  6609. "type": "integer",
  6610. "description": "套保品种ID",
  6611. "name": "middlegoodsid",
  6612. "in": "query",
  6613. "required": true
  6614. }
  6615. ],
  6616. "responses": {
  6617. "200": {
  6618. "description": "OK",
  6619. "schema": {
  6620. "type": "array",
  6621. "items": {
  6622. "$ref": "#/definitions/models.Patradelinkdetail"
  6623. }
  6624. }
  6625. },
  6626. "500": {
  6627. "description": "Internal Server Error",
  6628. "schema": {
  6629. "$ref": "#/definitions/app.Response"
  6630. }
  6631. }
  6632. }
  6633. }
  6634. },
  6635. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6636. "get": {
  6637. "security": [
  6638. {
  6639. "ApiKeyAuth": []
  6640. }
  6641. ],
  6642. "produces": [
  6643. "application/json"
  6644. ],
  6645. "tags": [
  6646. "企业风险管理v8"
  6647. ],
  6648. "summary": "未关联购销计划",
  6649. "parameters": [
  6650. {
  6651. "type": "integer",
  6652. "description": "企业ID",
  6653. "name": "areauserid",
  6654. "in": "query",
  6655. "required": true
  6656. },
  6657. {
  6658. "type": "integer",
  6659. "description": "计划类型 - 1:采购 -1:销售",
  6660. "name": "contracttype",
  6661. "in": "query"
  6662. },
  6663. {
  6664. "type": "string",
  6665. "description": "计划编号,模糊查询",
  6666. "name": "hedgeplanno",
  6667. "in": "query"
  6668. },
  6669. {
  6670. "type": "string",
  6671. "description": "现货商品,模糊查询",
  6672. "name": "wrstandardname",
  6673. "in": "query"
  6674. }
  6675. ],
  6676. "responses": {
  6677. "200": {
  6678. "description": "OK",
  6679. "schema": {
  6680. "type": "array",
  6681. "items": {
  6682. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6683. }
  6684. }
  6685. },
  6686. "500": {
  6687. "description": "Internal Server Error",
  6688. "schema": {
  6689. "$ref": "#/definitions/app.Response"
  6690. }
  6691. }
  6692. }
  6693. }
  6694. },
  6695. "/Ermcp8/QueryUnLinkSpotContract": {
  6696. "get": {
  6697. "security": [
  6698. {
  6699. "ApiKeyAuth": []
  6700. }
  6701. ],
  6702. "produces": [
  6703. "application/json"
  6704. ],
  6705. "tags": [
  6706. "企业风险管理v8"
  6707. ],
  6708. "summary": "未关联合同查询",
  6709. "parameters": [
  6710. {
  6711. "type": "integer",
  6712. "description": "用户ID",
  6713. "name": "userid",
  6714. "in": "query",
  6715. "required": true
  6716. },
  6717. {
  6718. "type": "integer",
  6719. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6720. "name": "pricetype",
  6721. "in": "query"
  6722. },
  6723. {
  6724. "type": "string",
  6725. "description": "合同编号, 模拟查询",
  6726. "name": "contractno",
  6727. "in": "query"
  6728. },
  6729. {
  6730. "type": "string",
  6731. "description": "对手方, 模拟查询",
  6732. "name": "customername",
  6733. "in": "query"
  6734. },
  6735. {
  6736. "type": "integer",
  6737. "description": "项合同类型 - 1:采购 -1:销售",
  6738. "name": "contracttype",
  6739. "in": "query"
  6740. }
  6741. ],
  6742. "responses": {
  6743. "200": {
  6744. "description": "OK",
  6745. "schema": {
  6746. "type": "array",
  6747. "items": {
  6748. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6749. }
  6750. }
  6751. },
  6752. "500": {
  6753. "description": "Internal Server Error",
  6754. "schema": {
  6755. "$ref": "#/definitions/app.Response"
  6756. }
  6757. }
  6758. }
  6759. }
  6760. },
  6761. "/Erms2/QueryArbitrageStrategy": {
  6762. "get": {
  6763. "security": [
  6764. {
  6765. "ApiKeyAuth": []
  6766. }
  6767. ],
  6768. "produces": [
  6769. "application/json"
  6770. ],
  6771. "tags": [
  6772. "风险管理"
  6773. ],
  6774. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6775. "parameters": [
  6776. {
  6777. "type": "integer",
  6778. "description": "账户ID",
  6779. "name": "userid",
  6780. "in": "query",
  6781. "required": true
  6782. },
  6783. {
  6784. "type": "string",
  6785. "description": "商品组ID(品种ID)",
  6786. "name": "goodsgroupid",
  6787. "in": "query"
  6788. }
  6789. ],
  6790. "responses": {
  6791. "200": {
  6792. "description": "OK",
  6793. "schema": {
  6794. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6795. }
  6796. },
  6797. "500": {
  6798. "description": "Internal Server Error",
  6799. "schema": {
  6800. "$ref": "#/definitions/app.Response"
  6801. }
  6802. }
  6803. }
  6804. }
  6805. },
  6806. "/Erms2/QueryInnerTradeDetail": {
  6807. "get": {
  6808. "security": [
  6809. {
  6810. "ApiKeyAuth": []
  6811. }
  6812. ],
  6813. "produces": [
  6814. "application/json"
  6815. ],
  6816. "tags": [
  6817. "风险管理"
  6818. ],
  6819. "summary": "查询内部成交单信息",
  6820. "parameters": [
  6821. {
  6822. "type": "integer",
  6823. "description": "资金账户",
  6824. "name": "accountid",
  6825. "in": "query",
  6826. "required": true
  6827. }
  6828. ],
  6829. "responses": {
  6830. "200": {
  6831. "description": "OK",
  6832. "schema": {
  6833. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6834. }
  6835. },
  6836. "500": {
  6837. "description": "Internal Server Error",
  6838. "schema": {
  6839. "$ref": "#/definitions/app.Response"
  6840. }
  6841. }
  6842. }
  6843. }
  6844. },
  6845. "/Erms2/QuerySpotContract": {
  6846. "get": {
  6847. "security": [
  6848. {
  6849. "ApiKeyAuth": []
  6850. }
  6851. ],
  6852. "produces": [
  6853. "application/json"
  6854. ],
  6855. "tags": [
  6856. "风险管理"
  6857. ],
  6858. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6859. "parameters": [
  6860. {
  6861. "type": "integer",
  6862. "description": "策略申请ID",
  6863. "name": "asapplyid",
  6864. "in": "query",
  6865. "required": true
  6866. },
  6867. {
  6868. "type": "integer",
  6869. "description": "现货合同ID",
  6870. "name": "spotcontractid",
  6871. "in": "query"
  6872. }
  6873. ],
  6874. "responses": {
  6875. "200": {
  6876. "description": "OK",
  6877. "schema": {
  6878. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6879. }
  6880. },
  6881. "500": {
  6882. "description": "Internal Server Error",
  6883. "schema": {
  6884. "$ref": "#/definitions/app.Response"
  6885. }
  6886. }
  6887. }
  6888. }
  6889. },
  6890. "/Erms3/AddErms2ASApply": {
  6891. "post": {
  6892. "security": [
  6893. {
  6894. "ApiKeyAuth": []
  6895. }
  6896. ],
  6897. "produces": [
  6898. "application/json"
  6899. ],
  6900. "tags": [
  6901. "风险管理v3"
  6902. ],
  6903. "summary": "新增期现套利业务申请",
  6904. "parameters": [
  6905. {
  6906. "description": "申请参数",
  6907. "name": "jsonBody",
  6908. "in": "body",
  6909. "required": true,
  6910. "schema": {
  6911. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6912. }
  6913. }
  6914. ],
  6915. "responses": {
  6916. "200": {
  6917. "description": "OK",
  6918. "schema": {
  6919. "$ref": "#/definitions/app.Response"
  6920. }
  6921. },
  6922. "500": {
  6923. "description": "Internal Server Error",
  6924. "schema": {
  6925. "$ref": "#/definitions/app.Response"
  6926. }
  6927. }
  6928. }
  6929. }
  6930. },
  6931. "/Erms3/AddErms2SpotTradeApply": {
  6932. "post": {
  6933. "security": [
  6934. {
  6935. "ApiKeyAuth": []
  6936. }
  6937. ],
  6938. "produces": [
  6939. "application/json"
  6940. ],
  6941. "tags": [
  6942. "风险管理v3"
  6943. ],
  6944. "summary": "新增现货贸易业务申请",
  6945. "parameters": [
  6946. {
  6947. "description": "申请参数",
  6948. "name": "jsonBody",
  6949. "in": "body",
  6950. "required": true,
  6951. "schema": {
  6952. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  6953. }
  6954. }
  6955. ],
  6956. "responses": {
  6957. "200": {
  6958. "description": "OK",
  6959. "schema": {
  6960. "$ref": "#/definitions/app.Response"
  6961. }
  6962. },
  6963. "500": {
  6964. "description": "Internal Server Error",
  6965. "schema": {
  6966. "$ref": "#/definitions/app.Response"
  6967. }
  6968. }
  6969. }
  6970. }
  6971. },
  6972. "/Erms3/AddSpotContractApply": {
  6973. "post": {
  6974. "security": [
  6975. {
  6976. "ApiKeyAuth": []
  6977. }
  6978. ],
  6979. "produces": [
  6980. "application/json"
  6981. ],
  6982. "tags": [
  6983. "风险管理v3"
  6984. ],
  6985. "summary": "新增现货合同申请",
  6986. "parameters": [
  6987. {
  6988. "description": "申请参数",
  6989. "name": "jsonBody",
  6990. "in": "body",
  6991. "required": true,
  6992. "schema": {
  6993. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  6994. }
  6995. }
  6996. ],
  6997. "responses": {
  6998. "200": {
  6999. "description": "OK",
  7000. "schema": {
  7001. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  7002. }
  7003. },
  7004. "500": {
  7005. "description": "Internal Server Error",
  7006. "schema": {
  7007. "$ref": "#/definitions/app.Response"
  7008. }
  7009. }
  7010. }
  7011. }
  7012. },
  7013. "/Erms3/AddUserInfoApply": {
  7014. "post": {
  7015. "security": [
  7016. {
  7017. "ApiKeyAuth": []
  7018. }
  7019. ],
  7020. "produces": [
  7021. "application/json"
  7022. ],
  7023. "tags": [
  7024. "风险管理v3"
  7025. ],
  7026. "summary": "新增客户申请",
  7027. "parameters": [
  7028. {
  7029. "description": "用户信息",
  7030. "name": "jsonBody",
  7031. "in": "body",
  7032. "required": true,
  7033. "schema": {
  7034. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7035. }
  7036. }
  7037. ],
  7038. "responses": {
  7039. "200": {
  7040. "description": "OK",
  7041. "schema": {
  7042. "$ref": "#/definitions/app.Response"
  7043. }
  7044. },
  7045. "500": {
  7046. "description": "Internal Server Error",
  7047. "schema": {
  7048. "$ref": "#/definitions/app.Response"
  7049. }
  7050. }
  7051. }
  7052. }
  7053. },
  7054. "/Erms3/DeleteUserInfoApply": {
  7055. "get": {
  7056. "security": [
  7057. {
  7058. "ApiKeyAuth": []
  7059. }
  7060. ],
  7061. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7062. "produces": [
  7063. "application/json"
  7064. ],
  7065. "tags": [
  7066. "风险管理v3"
  7067. ],
  7068. "summary": "删除客户申请",
  7069. "parameters": [
  7070. {
  7071. "type": "integer",
  7072. "description": "用户ID",
  7073. "name": "userID",
  7074. "in": "query",
  7075. "required": true
  7076. }
  7077. ],
  7078. "responses": {
  7079. "200": {
  7080. "description": "OK",
  7081. "schema": {
  7082. "$ref": "#/definitions/app.Response"
  7083. }
  7084. },
  7085. "500": {
  7086. "description": "Internal Server Error",
  7087. "schema": {
  7088. "$ref": "#/definitions/app.Response"
  7089. }
  7090. }
  7091. }
  7092. }
  7093. },
  7094. "/Erms3/ModifyUserInfoApply": {
  7095. "post": {
  7096. "security": [
  7097. {
  7098. "ApiKeyAuth": []
  7099. }
  7100. ],
  7101. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7102. "produces": [
  7103. "application/json"
  7104. ],
  7105. "tags": [
  7106. "风险管理v3"
  7107. ],
  7108. "summary": "修改客户申请",
  7109. "parameters": [
  7110. {
  7111. "description": "用户信息",
  7112. "name": "jsonBody",
  7113. "in": "body",
  7114. "required": true,
  7115. "schema": {
  7116. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7117. }
  7118. }
  7119. ],
  7120. "responses": {
  7121. "200": {
  7122. "description": "OK",
  7123. "schema": {
  7124. "$ref": "#/definitions/app.Response"
  7125. }
  7126. },
  7127. "500": {
  7128. "description": "Internal Server Error",
  7129. "schema": {
  7130. "$ref": "#/definitions/app.Response"
  7131. }
  7132. }
  7133. }
  7134. }
  7135. },
  7136. "/Erms3/QueryBusinessInfo": {
  7137. "get": {
  7138. "security": [
  7139. {
  7140. "ApiKeyAuth": []
  7141. }
  7142. ],
  7143. "produces": [
  7144. "application/json"
  7145. ],
  7146. "tags": [
  7147. "风险管理v3"
  7148. ],
  7149. "summary": "查询业务表单数据",
  7150. "parameters": [
  7151. {
  7152. "type": "string",
  7153. "description": "资金账号ID列表,用逗号分隔",
  7154. "name": "accountids",
  7155. "in": "query",
  7156. "required": true
  7157. },
  7158. {
  7159. "type": "integer",
  7160. "description": "状态,0为未结束 1为已结束",
  7161. "name": "status",
  7162. "in": "query",
  7163. "required": true
  7164. }
  7165. ],
  7166. "responses": {
  7167. "200": {
  7168. "description": "OK",
  7169. "schema": {
  7170. "type": "array",
  7171. "items": {
  7172. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7173. }
  7174. }
  7175. },
  7176. "500": {
  7177. "description": "Internal Server Error",
  7178. "schema": {
  7179. "$ref": "#/definitions/app.Response"
  7180. }
  7181. }
  7182. }
  7183. }
  7184. },
  7185. "/Erms3/QueryPendingAuditContract": {
  7186. "get": {
  7187. "security": [
  7188. {
  7189. "ApiKeyAuth": []
  7190. }
  7191. ],
  7192. "produces": [
  7193. "application/json"
  7194. ],
  7195. "tags": [
  7196. "风险管理v3"
  7197. ],
  7198. "summary": "查询待审核合同",
  7199. "parameters": [
  7200. {
  7201. "type": "string",
  7202. "description": "资金账号ID列表,逗号隔开",
  7203. "name": "accountids",
  7204. "in": "query",
  7205. "required": true
  7206. },
  7207. {
  7208. "type": "integer",
  7209. "description": "合同类型 1-采购 -1-销售",
  7210. "name": "contracttype",
  7211. "in": "query",
  7212. "required": true
  7213. },
  7214. {
  7215. "type": "integer",
  7216. "description": "合同模式 1-普通 2-回购",
  7217. "name": "contractmode",
  7218. "in": "query",
  7219. "required": true
  7220. }
  7221. ],
  7222. "responses": {
  7223. "200": {
  7224. "description": "OK",
  7225. "schema": {
  7226. "type": "array",
  7227. "items": {
  7228. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7229. }
  7230. }
  7231. },
  7232. "500": {
  7233. "description": "Internal Server Error",
  7234. "schema": {
  7235. "$ref": "#/definitions/app.Response"
  7236. }
  7237. }
  7238. }
  7239. }
  7240. },
  7241. "/Erms3/QueryPendingBusiness": {
  7242. "get": {
  7243. "security": [
  7244. {
  7245. "ApiKeyAuth": []
  7246. }
  7247. ],
  7248. "produces": [
  7249. "application/json"
  7250. ],
  7251. "tags": [
  7252. "风险管理v3"
  7253. ],
  7254. "summary": "查询待审核基差贸易业务",
  7255. "parameters": [
  7256. {
  7257. "type": "string",
  7258. "description": "资金账号ID列表,逗号隔开",
  7259. "name": "accountids",
  7260. "in": "query",
  7261. "required": true
  7262. }
  7263. ],
  7264. "responses": {
  7265. "200": {
  7266. "description": "OK",
  7267. "schema": {
  7268. "type": "array",
  7269. "items": {
  7270. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7271. }
  7272. }
  7273. },
  7274. "500": {
  7275. "description": "Internal Server Error",
  7276. "schema": {
  7277. "$ref": "#/definitions/app.Response"
  7278. }
  7279. }
  7280. }
  7281. }
  7282. },
  7283. "/Erms3/QuerySpotContractAppleForm": {
  7284. "get": {
  7285. "security": [
  7286. {
  7287. "ApiKeyAuth": []
  7288. }
  7289. ],
  7290. "produces": [
  7291. "application/json"
  7292. ],
  7293. "tags": [
  7294. "风险管理v3"
  7295. ],
  7296. "summary": "查询合同申请表单数据",
  7297. "parameters": [
  7298. {
  7299. "type": "integer",
  7300. "description": "登录账号",
  7301. "name": "loginID",
  7302. "in": "query",
  7303. "required": true
  7304. }
  7305. ],
  7306. "responses": {
  7307. "200": {
  7308. "description": "OK",
  7309. "schema": {
  7310. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7311. }
  7312. },
  7313. "500": {
  7314. "description": "Internal Server Error",
  7315. "schema": {
  7316. "$ref": "#/definitions/app.Response"
  7317. }
  7318. }
  7319. }
  7320. }
  7321. },
  7322. "/Erms3/QuerySpotContractDetail": {
  7323. "get": {
  7324. "security": [
  7325. {
  7326. "ApiKeyAuth": []
  7327. }
  7328. ],
  7329. "produces": [
  7330. "application/json"
  7331. ],
  7332. "tags": [
  7333. "风险管理v3"
  7334. ],
  7335. "summary": "查询合同详细信息",
  7336. "parameters": [
  7337. {
  7338. "type": "string",
  7339. "description": "资金账号ID列表,用逗号分隔",
  7340. "name": "accountids",
  7341. "in": "query",
  7342. "required": true
  7343. },
  7344. {
  7345. "type": "integer",
  7346. "description": "合同类型,1为采购合同 -1为销售合同",
  7347. "name": "contracttype",
  7348. "in": "query",
  7349. "required": true
  7350. },
  7351. {
  7352. "type": "integer",
  7353. "description": "合同模式,1为普通合同 2为回购销售合同",
  7354. "name": "contractmode",
  7355. "in": "query",
  7356. "required": true
  7357. },
  7358. {
  7359. "type": "integer",
  7360. "description": "状态,0为履约中 1为已完成",
  7361. "name": "status",
  7362. "in": "query",
  7363. "required": true
  7364. }
  7365. ],
  7366. "responses": {
  7367. "200": {
  7368. "description": "OK",
  7369. "schema": {
  7370. "type": "array",
  7371. "items": {
  7372. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7373. }
  7374. }
  7375. },
  7376. "500": {
  7377. "description": "Internal Server Error",
  7378. "schema": {
  7379. "$ref": "#/definitions/app.Response"
  7380. }
  7381. }
  7382. }
  7383. }
  7384. },
  7385. "/Erms3/QueryUserInfoApplies": {
  7386. "get": {
  7387. "security": [
  7388. {
  7389. "ApiKeyAuth": []
  7390. }
  7391. ],
  7392. "produces": [
  7393. "application/json"
  7394. ],
  7395. "tags": [
  7396. "风险管理v3"
  7397. ],
  7398. "summary": "客户申请信息查询",
  7399. "parameters": [
  7400. {
  7401. "type": "integer",
  7402. "description": "页码",
  7403. "name": "page",
  7404. "in": "query"
  7405. },
  7406. {
  7407. "type": "integer",
  7408. "description": "每页条数",
  7409. "name": "pagesize",
  7410. "in": "query"
  7411. },
  7412. {
  7413. "type": "string",
  7414. "description": "客户名称,支持模糊查询",
  7415. "name": "userName",
  7416. "in": "query"
  7417. }
  7418. ],
  7419. "responses": {
  7420. "200": {
  7421. "description": "OK",
  7422. "schema": {
  7423. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7424. }
  7425. },
  7426. "500": {
  7427. "description": "Internal Server Error",
  7428. "schema": {
  7429. "$ref": "#/definitions/app.Response"
  7430. }
  7431. }
  7432. }
  7433. }
  7434. },
  7435. "/Erms3/QueryUserInfos": {
  7436. "get": {
  7437. "security": [
  7438. {
  7439. "ApiKeyAuth": []
  7440. }
  7441. ],
  7442. "produces": [
  7443. "application/json"
  7444. ],
  7445. "tags": [
  7446. "风险管理v3"
  7447. ],
  7448. "summary": "客户信息查询",
  7449. "parameters": [
  7450. {
  7451. "type": "integer",
  7452. "description": "页码",
  7453. "name": "page",
  7454. "in": "query"
  7455. },
  7456. {
  7457. "type": "integer",
  7458. "description": "每页条数",
  7459. "name": "pagesize",
  7460. "in": "query"
  7461. },
  7462. {
  7463. "type": "string",
  7464. "description": "客户名称,支持模糊查询",
  7465. "name": "userName",
  7466. "in": "query"
  7467. }
  7468. ],
  7469. "responses": {
  7470. "200": {
  7471. "description": "OK",
  7472. "schema": {
  7473. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7474. }
  7475. },
  7476. "500": {
  7477. "description": "Internal Server Error",
  7478. "schema": {
  7479. "$ref": "#/definitions/app.Response"
  7480. }
  7481. }
  7482. }
  7483. }
  7484. },
  7485. "/Guangzuan/QueryBuyOrder": {
  7486. "get": {
  7487. "security": [
  7488. {
  7489. "ApiKeyAuth": []
  7490. }
  7491. ],
  7492. "produces": [
  7493. "application/json"
  7494. ],
  7495. "tags": [
  7496. "广钻"
  7497. ],
  7498. "summary": "查询求购大厅委托单",
  7499. "parameters": [
  7500. {
  7501. "type": "integer",
  7502. "description": "页码",
  7503. "name": "page",
  7504. "in": "query"
  7505. },
  7506. {
  7507. "type": "integer",
  7508. "description": "每页条数",
  7509. "name": "pagesize",
  7510. "in": "query"
  7511. },
  7512. {
  7513. "type": "string",
  7514. "description": "商品(查询字段-模糊查询)",
  7515. "name": "zsallproperties",
  7516. "in": "query"
  7517. },
  7518. {
  7519. "type": "integer",
  7520. "description": "钻石分类枚举ID",
  7521. "name": "zscategory",
  7522. "in": "query"
  7523. },
  7524. {
  7525. "type": "integer",
  7526. "description": "委托单号",
  7527. "name": "wrtradeorderid",
  7528. "in": "query"
  7529. },
  7530. {
  7531. "type": "string",
  7532. "description": "买方(查询字段-模糊查询)",
  7533. "name": "buyusername",
  7534. "in": "query"
  7535. }
  7536. ],
  7537. "responses": {
  7538. "200": {
  7539. "description": "OK",
  7540. "schema": {
  7541. "type": "array",
  7542. "items": {
  7543. "$ref": "#/definitions/models.BuyOrder"
  7544. }
  7545. }
  7546. },
  7547. "500": {
  7548. "description": "Internal Server Error",
  7549. "schema": {
  7550. "$ref": "#/definitions/app.Response"
  7551. }
  7552. }
  7553. }
  7554. }
  7555. },
  7556. "/Guangzuan/QueryDiamond": {
  7557. "post": {
  7558. "security": [
  7559. {
  7560. "ApiKeyAuth": []
  7561. }
  7562. ],
  7563. "produces": [
  7564. "application/json"
  7565. ],
  7566. "tags": [
  7567. "广钻"
  7568. ],
  7569. "summary": "钻石搜索",
  7570. "parameters": [
  7571. {
  7572. "description": "钻石搜索入参",
  7573. "name": "data",
  7574. "in": "body",
  7575. "required": true,
  7576. "schema": {
  7577. "$ref": "#/definitions/models.SellOrderQueryReq"
  7578. }
  7579. }
  7580. ],
  7581. "responses": {
  7582. "200": {
  7583. "description": "OK",
  7584. "schema": {
  7585. "type": "array",
  7586. "items": {
  7587. "$ref": "#/definitions/models.SellOrder"
  7588. }
  7589. }
  7590. },
  7591. "500": {
  7592. "description": "Internal Server Error",
  7593. "schema": {
  7594. "$ref": "#/definitions/app.Response"
  7595. }
  7596. }
  7597. }
  7598. }
  7599. },
  7600. "/Guangzuan/QueryMyWRPosition": {
  7601. "get": {
  7602. "security": [
  7603. {
  7604. "ApiKeyAuth": []
  7605. }
  7606. ],
  7607. "produces": [
  7608. "application/json"
  7609. ],
  7610. "tags": [
  7611. "广钻"
  7612. ],
  7613. "summary": "查询我的库存",
  7614. "parameters": [
  7615. {
  7616. "type": "integer",
  7617. "description": "页码",
  7618. "name": "page",
  7619. "in": "query"
  7620. },
  7621. {
  7622. "type": "integer",
  7623. "description": "每页条数",
  7624. "name": "pagesize",
  7625. "in": "query"
  7626. },
  7627. {
  7628. "type": "integer",
  7629. "description": "登录用户ID",
  7630. "name": "wruserid",
  7631. "in": "query",
  7632. "required": true
  7633. },
  7634. {
  7635. "type": "string",
  7636. "description": "商品(查询字段-模糊查询)",
  7637. "name": "zsallproperties",
  7638. "in": "query"
  7639. },
  7640. {
  7641. "type": "integer",
  7642. "description": "钻石分类枚举ID",
  7643. "name": "zscategory",
  7644. "in": "query"
  7645. },
  7646. {
  7647. "type": "integer",
  7648. "description": "仓库ID",
  7649. "name": "warehouseid",
  7650. "in": "query"
  7651. }
  7652. ],
  7653. "responses": {
  7654. "200": {
  7655. "description": "OK",
  7656. "schema": {
  7657. "type": "array",
  7658. "items": {
  7659. "$ref": "#/definitions/models.GZWarehouseinfo"
  7660. }
  7661. }
  7662. },
  7663. "500": {
  7664. "description": "Internal Server Error",
  7665. "schema": {
  7666. "$ref": "#/definitions/app.Response"
  7667. }
  7668. }
  7669. }
  7670. }
  7671. },
  7672. "/Guangzuan/QuerySellOrder": {
  7673. "get": {
  7674. "security": [
  7675. {
  7676. "ApiKeyAuth": []
  7677. }
  7678. ],
  7679. "produces": [
  7680. "application/json"
  7681. ],
  7682. "tags": [
  7683. "广钻"
  7684. ],
  7685. "summary": "查询出售大厅委托单",
  7686. "parameters": [
  7687. {
  7688. "type": "integer",
  7689. "description": "页码",
  7690. "name": "page",
  7691. "in": "query"
  7692. },
  7693. {
  7694. "type": "integer",
  7695. "description": "每页条数",
  7696. "name": "pagesize",
  7697. "in": "query"
  7698. },
  7699. {
  7700. "type": "string",
  7701. "description": "商品(查询字段-模糊查询)",
  7702. "name": "zsallproperties",
  7703. "in": "query"
  7704. },
  7705. {
  7706. "type": "integer",
  7707. "description": "钻石分类枚举ID",
  7708. "name": "zscategory",
  7709. "in": "query"
  7710. },
  7711. {
  7712. "type": "integer",
  7713. "description": "委托单号",
  7714. "name": "wrtradeorderid",
  7715. "in": "query"
  7716. },
  7717. {
  7718. "type": "string",
  7719. "description": "卖方(查询字段-模糊查询)",
  7720. "name": "buyusername",
  7721. "in": "query"
  7722. }
  7723. ],
  7724. "responses": {
  7725. "200": {
  7726. "description": "OK",
  7727. "schema": {
  7728. "type": "array",
  7729. "items": {
  7730. "$ref": "#/definitions/models.SellOrder"
  7731. }
  7732. }
  7733. },
  7734. "500": {
  7735. "description": "Internal Server Error",
  7736. "schema": {
  7737. "$ref": "#/definitions/app.Response"
  7738. }
  7739. }
  7740. }
  7741. }
  7742. },
  7743. "/Guangzuan/QueryWarehouseInfo": {
  7744. "get": {
  7745. "security": [
  7746. {
  7747. "ApiKeyAuth": []
  7748. }
  7749. ],
  7750. "produces": [
  7751. "application/json"
  7752. ],
  7753. "tags": [
  7754. "广钻"
  7755. ],
  7756. "summary": "查询仓库信息",
  7757. "parameters": [
  7758. {
  7759. "type": "integer",
  7760. "description": "页码",
  7761. "name": "page",
  7762. "in": "query"
  7763. },
  7764. {
  7765. "type": "integer",
  7766. "description": "每页条数",
  7767. "name": "pagesize",
  7768. "in": "query"
  7769. },
  7770. {
  7771. "type": "integer",
  7772. "description": "用户ID",
  7773. "name": "userid",
  7774. "in": "query",
  7775. "required": true
  7776. },
  7777. {
  7778. "type": "string",
  7779. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  7780. "name": "status",
  7781. "in": "query"
  7782. },
  7783. {
  7784. "type": "boolean",
  7785. "description": "是返回交易所仓库",
  7786. "name": "isincludeexchange",
  7787. "in": "query"
  7788. }
  7789. ],
  7790. "responses": {
  7791. "200": {
  7792. "description": "OK",
  7793. "schema": {
  7794. "type": "array",
  7795. "items": {
  7796. "$ref": "#/definitions/models.GZWarehouseinfo"
  7797. }
  7798. }
  7799. },
  7800. "500": {
  7801. "description": "Internal Server Error",
  7802. "schema": {
  7803. "$ref": "#/definitions/app.Response"
  7804. }
  7805. }
  7806. }
  7807. }
  7808. },
  7809. "/HSBY/GetHsbyMyCount": {
  7810. "get": {
  7811. "security": [
  7812. {
  7813. "ApiKeyAuth": []
  7814. }
  7815. ],
  7816. "description": "说明: 不包括已完成的数量。",
  7817. "produces": [
  7818. "application/json"
  7819. ],
  7820. "tags": [
  7821. "定制【海商报业】"
  7822. ],
  7823. "summary": "获取我的订单与包裹数量",
  7824. "parameters": [
  7825. {
  7826. "type": "string",
  7827. "description": "资金账户列表,格式:1,2,3",
  7828. "name": "accountIDs",
  7829. "in": "query",
  7830. "required": true
  7831. }
  7832. ],
  7833. "responses": {
  7834. "200": {
  7835. "description": "OK",
  7836. "schema": {
  7837. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  7838. }
  7839. },
  7840. "500": {
  7841. "description": "Internal Server Error",
  7842. "schema": {
  7843. "$ref": "#/definitions/app.Response"
  7844. }
  7845. }
  7846. }
  7847. }
  7848. },
  7849. "/HSBY/QueryClientFixedADConfigs": {
  7850. "get": {
  7851. "security": [
  7852. {
  7853. "ApiKeyAuth": []
  7854. }
  7855. ],
  7856. "produces": [
  7857. "application/json"
  7858. ],
  7859. "tags": [
  7860. "定制【海商报业】"
  7861. ],
  7862. "summary": "获取终端固定广告配置",
  7863. "responses": {
  7864. "200": {
  7865. "description": "OK",
  7866. "schema": {
  7867. "$ref": "#/definitions/models.Clientfixedadconfig"
  7868. }
  7869. },
  7870. "500": {
  7871. "description": "Internal Server Error",
  7872. "schema": {
  7873. "$ref": "#/definitions/app.Response"
  7874. }
  7875. }
  7876. }
  7877. }
  7878. },
  7879. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  7880. "get": {
  7881. "security": [
  7882. {
  7883. "ApiKeyAuth": []
  7884. }
  7885. ],
  7886. "produces": [
  7887. "application/json"
  7888. ],
  7889. "tags": [
  7890. "定制【海商报业】"
  7891. ],
  7892. "summary": "查询\"我的订单 - 已完成\"单据信息",
  7893. "parameters": [
  7894. {
  7895. "type": "integer",
  7896. "description": "页码",
  7897. "name": "page",
  7898. "in": "query"
  7899. },
  7900. {
  7901. "type": "integer",
  7902. "description": "每页条数",
  7903. "name": "pagesize",
  7904. "in": "query"
  7905. },
  7906. {
  7907. "type": "string",
  7908. "description": "资金账户列表,格式:1,2,3",
  7909. "name": "accountIDs",
  7910. "in": "query",
  7911. "required": true
  7912. }
  7913. ],
  7914. "responses": {
  7915. "200": {
  7916. "description": "OK",
  7917. "schema": {
  7918. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  7919. }
  7920. },
  7921. "500": {
  7922. "description": "Internal Server Error",
  7923. "schema": {
  7924. "$ref": "#/definitions/app.Response"
  7925. }
  7926. }
  7927. }
  7928. }
  7929. },
  7930. "/HSBY/QueryHsbyGoodsOrderDetails": {
  7931. "get": {
  7932. "security": [
  7933. {
  7934. "ApiKeyAuth": []
  7935. }
  7936. ],
  7937. "description": "说明:查询结果已按委托价格和委托时间排序",
  7938. "produces": [
  7939. "application/json"
  7940. ],
  7941. "tags": [
  7942. "定制【海商报业】"
  7943. ],
  7944. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  7945. "parameters": [
  7946. {
  7947. "type": "integer",
  7948. "description": "商品ID",
  7949. "name": "goodsID",
  7950. "in": "query",
  7951. "required": true
  7952. },
  7953. {
  7954. "type": "string",
  7955. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  7956. "name": "accountIDs",
  7957. "in": "query"
  7958. },
  7959. {
  7960. "type": "integer",
  7961. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  7962. "name": "buyOrSell",
  7963. "in": "query"
  7964. },
  7965. {
  7966. "type": "number",
  7967. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  7968. "name": "price",
  7969. "in": "query"
  7970. },
  7971. {
  7972. "type": "integer",
  7973. "description": "档位,不传则默认为3档",
  7974. "name": "speed",
  7975. "in": "query"
  7976. }
  7977. ],
  7978. "responses": {
  7979. "200": {
  7980. "description": "OK",
  7981. "schema": {
  7982. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  7983. }
  7984. },
  7985. "500": {
  7986. "description": "Internal Server Error",
  7987. "schema": {
  7988. "$ref": "#/definitions/app.Response"
  7989. }
  7990. }
  7991. }
  7992. }
  7993. },
  7994. "/HSBY/QueryHsbyListingGoodsDetail": {
  7995. "get": {
  7996. "security": [
  7997. {
  7998. "ApiKeyAuth": []
  7999. }
  8000. ],
  8001. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  8002. "produces": [
  8003. "application/json"
  8004. ],
  8005. "tags": [
  8006. "定制【海商报业】"
  8007. ],
  8008. "summary": "查询二级市场(挂牌点选)商品信息详情",
  8009. "parameters": [
  8010. {
  8011. "type": "integer",
  8012. "description": "商品ID",
  8013. "name": "goodsID",
  8014. "in": "query",
  8015. "required": true
  8016. },
  8017. {
  8018. "type": "integer",
  8019. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  8020. "name": "accountID",
  8021. "in": "query"
  8022. }
  8023. ],
  8024. "responses": {
  8025. "200": {
  8026. "description": "OK",
  8027. "schema": {
  8028. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  8029. }
  8030. },
  8031. "500": {
  8032. "description": "Internal Server Error",
  8033. "schema": {
  8034. "$ref": "#/definitions/app.Response"
  8035. }
  8036. }
  8037. }
  8038. }
  8039. },
  8040. "/HSBY/QueryHsbyMarketGoodsDetail": {
  8041. "get": {
  8042. "security": [
  8043. {
  8044. "ApiKeyAuth": []
  8045. }
  8046. ],
  8047. "produces": [
  8048. "application/json"
  8049. ],
  8050. "tags": [
  8051. "定制【海商报业】"
  8052. ],
  8053. "summary": "查询三级市场(商城)商品信息详情",
  8054. "parameters": [
  8055. {
  8056. "type": "integer",
  8057. "description": "委托单号",
  8058. "name": "orderID",
  8059. "in": "query",
  8060. "required": true
  8061. },
  8062. {
  8063. "type": "integer",
  8064. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  8065. "name": "accountID",
  8066. "in": "query"
  8067. }
  8068. ],
  8069. "responses": {
  8070. "200": {
  8071. "description": "OK",
  8072. "schema": {
  8073. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  8074. }
  8075. },
  8076. "500": {
  8077. "description": "Internal Server Error",
  8078. "schema": {
  8079. "$ref": "#/definitions/app.Response"
  8080. }
  8081. }
  8082. }
  8083. }
  8084. },
  8085. "/HSBY/QueryHsbyMarketGoodses": {
  8086. "get": {
  8087. "security": [
  8088. {
  8089. "ApiKeyAuth": []
  8090. }
  8091. ],
  8092. "produces": [
  8093. "application/json"
  8094. ],
  8095. "tags": [
  8096. "定制【海商报业】"
  8097. ],
  8098. "summary": "查询特卖商品列表(三级商城)",
  8099. "parameters": [
  8100. {
  8101. "type": "integer",
  8102. "description": "页码",
  8103. "name": "page",
  8104. "in": "query"
  8105. },
  8106. {
  8107. "type": "integer",
  8108. "description": "每页条数",
  8109. "name": "pagesize",
  8110. "in": "query"
  8111. },
  8112. {
  8113. "type": "string",
  8114. "description": "市场ID列表,格式:1,2,3",
  8115. "name": "marketIDs",
  8116. "in": "query",
  8117. "required": true
  8118. },
  8119. {
  8120. "type": "integer",
  8121. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  8122. "name": "accountID",
  8123. "in": "query",
  8124. "required": true
  8125. },
  8126. {
  8127. "type": "integer",
  8128. "description": "类别ID",
  8129. "name": "categoryID",
  8130. "in": "query"
  8131. },
  8132. {
  8133. "type": "string",
  8134. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  8135. "name": "goodsIDs",
  8136. "in": "query"
  8137. },
  8138. {
  8139. "type": "integer",
  8140. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  8141. "name": "couponTypeID",
  8142. "in": "query"
  8143. }
  8144. ],
  8145. "responses": {
  8146. "200": {
  8147. "description": "OK",
  8148. "schema": {
  8149. "$ref": "#/definitions/models.HsbyMarketGoods"
  8150. }
  8151. },
  8152. "500": {
  8153. "description": "Internal Server Error",
  8154. "schema": {
  8155. "$ref": "#/definitions/app.Response"
  8156. }
  8157. }
  8158. }
  8159. }
  8160. },
  8161. "/HSBY/QueryHsbyMarkets": {
  8162. "get": {
  8163. "security": [
  8164. {
  8165. "ApiKeyAuth": []
  8166. }
  8167. ],
  8168. "produces": [
  8169. "application/json"
  8170. ],
  8171. "tags": [
  8172. "定制【海商报业】"
  8173. ],
  8174. "summary": "查询海商报业相关市场信息",
  8175. "responses": {
  8176. "200": {
  8177. "description": "OK",
  8178. "schema": {
  8179. "$ref": "#/definitions/models.HsbyMarketInfo"
  8180. }
  8181. },
  8182. "500": {
  8183. "description": "Internal Server Error",
  8184. "schema": {
  8185. "$ref": "#/definitions/app.Response"
  8186. }
  8187. }
  8188. }
  8189. }
  8190. },
  8191. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  8192. "get": {
  8193. "security": [
  8194. {
  8195. "ApiKeyAuth": []
  8196. }
  8197. ],
  8198. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  8199. "produces": [
  8200. "application/json"
  8201. ],
  8202. "tags": [
  8203. "定制【海商报业】"
  8204. ],
  8205. "summary": "查询“我的订单”信息",
  8206. "parameters": [
  8207. {
  8208. "type": "string",
  8209. "description": "资金账户列表,格式:1,2,3",
  8210. "name": "accountIDs",
  8211. "in": "query",
  8212. "required": true
  8213. }
  8214. ],
  8215. "responses": {
  8216. "200": {
  8217. "description": "OK",
  8218. "schema": {
  8219. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  8220. }
  8221. },
  8222. "500": {
  8223. "description": "Internal Server Error",
  8224. "schema": {
  8225. "$ref": "#/definitions/app.Response"
  8226. }
  8227. }
  8228. }
  8229. }
  8230. },
  8231. "/HSBY/QueryHsbyMyGoods": {
  8232. "get": {
  8233. "security": [
  8234. {
  8235. "ApiKeyAuth": []
  8236. }
  8237. ],
  8238. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  8239. "produces": [
  8240. "application/json"
  8241. ],
  8242. "tags": [
  8243. "定制【海商报业】"
  8244. ],
  8245. "summary": "查询“我的商品”信息",
  8246. "parameters": [
  8247. {
  8248. "type": "string",
  8249. "description": "资金账户列表,格式:1,2,3",
  8250. "name": "accountIDs",
  8251. "in": "query",
  8252. "required": true
  8253. }
  8254. ],
  8255. "responses": {
  8256. "200": {
  8257. "description": "OK",
  8258. "schema": {
  8259. "$ref": "#/definitions/models.HsbyMyGoods"
  8260. }
  8261. },
  8262. "500": {
  8263. "description": "Internal Server Error",
  8264. "schema": {
  8265. "$ref": "#/definitions/app.Response"
  8266. }
  8267. }
  8268. }
  8269. }
  8270. },
  8271. "/HSBY/QueryHsbyMyPackages": {
  8272. "get": {
  8273. "security": [
  8274. {
  8275. "ApiKeyAuth": []
  8276. }
  8277. ],
  8278. "produces": [
  8279. "application/json"
  8280. ],
  8281. "tags": [
  8282. "定制【海商报业】"
  8283. ],
  8284. "summary": "查询我的包裹信息",
  8285. "parameters": [
  8286. {
  8287. "type": "string",
  8288. "description": "资金账户列表,格式:1,2,3",
  8289. "name": "accountIDs",
  8290. "in": "query",
  8291. "required": true
  8292. },
  8293. {
  8294. "type": "integer",
  8295. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8296. "name": "takeOrderStatus",
  8297. "in": "query"
  8298. }
  8299. ],
  8300. "responses": {
  8301. "200": {
  8302. "description": "OK",
  8303. "schema": {
  8304. "$ref": "#/definitions/models.HsbyMyPackage"
  8305. }
  8306. },
  8307. "500": {
  8308. "description": "Internal Server Error",
  8309. "schema": {
  8310. "$ref": "#/definitions/app.Response"
  8311. }
  8312. }
  8313. }
  8314. }
  8315. },
  8316. "/HSBY/QueryHsbyPreGoodsDetail": {
  8317. "get": {
  8318. "security": [
  8319. {
  8320. "ApiKeyAuth": []
  8321. }
  8322. ],
  8323. "produces": [
  8324. "application/json"
  8325. ],
  8326. "tags": [
  8327. "定制【海商报业】"
  8328. ],
  8329. "summary": "查询一级市场(预售)商品信息详情",
  8330. "parameters": [
  8331. {
  8332. "type": "integer",
  8333. "description": "商品ID",
  8334. "name": "goodsID",
  8335. "in": "query",
  8336. "required": true
  8337. },
  8338. {
  8339. "type": "integer",
  8340. "description": "资金账户,主要用于获取预售商品购买上限",
  8341. "name": "accountID",
  8342. "in": "query"
  8343. }
  8344. ],
  8345. "responses": {
  8346. "200": {
  8347. "description": "OK",
  8348. "schema": {
  8349. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  8350. }
  8351. },
  8352. "500": {
  8353. "description": "Internal Server Error",
  8354. "schema": {
  8355. "$ref": "#/definitions/app.Response"
  8356. }
  8357. }
  8358. }
  8359. }
  8360. },
  8361. "/HSBY/QueryHsbyPreGoodses": {
  8362. "get": {
  8363. "security": [
  8364. {
  8365. "ApiKeyAuth": []
  8366. }
  8367. ],
  8368. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  8369. "produces": [
  8370. "application/json"
  8371. ],
  8372. "tags": [
  8373. "定制【海商报业】"
  8374. ],
  8375. "summary": "查询新品上市商品列表(一级市场预售)",
  8376. "parameters": [
  8377. {
  8378. "type": "integer",
  8379. "description": "页码",
  8380. "name": "page",
  8381. "in": "query"
  8382. },
  8383. {
  8384. "type": "integer",
  8385. "description": "每页条数",
  8386. "name": "pagesize",
  8387. "in": "query"
  8388. },
  8389. {
  8390. "type": "string",
  8391. "description": "市场ID列表,格式:1,2,3",
  8392. "name": "marketIDs",
  8393. "in": "query",
  8394. "required": true
  8395. },
  8396. {
  8397. "type": "integer",
  8398. "description": "目的地(省)ID",
  8399. "name": "descProvinceID",
  8400. "in": "query"
  8401. },
  8402. {
  8403. "type": "integer",
  8404. "description": "目的地(市)ID",
  8405. "name": "descCityID",
  8406. "in": "query"
  8407. }
  8408. ],
  8409. "responses": {
  8410. "200": {
  8411. "description": "OK",
  8412. "schema": {
  8413. "$ref": "#/definitions/models.HsbyPreGoods"
  8414. }
  8415. },
  8416. "500": {
  8417. "description": "Internal Server Error",
  8418. "schema": {
  8419. "$ref": "#/definitions/app.Response"
  8420. }
  8421. }
  8422. }
  8423. }
  8424. },
  8425. "/HSBY/QueryHsbySellMyDetails": {
  8426. "get": {
  8427. "security": [
  8428. {
  8429. "ApiKeyAuth": []
  8430. }
  8431. ],
  8432. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  8433. "produces": [
  8434. "application/json"
  8435. ],
  8436. "tags": [
  8437. "定制【海商报业】"
  8438. ],
  8439. "summary": "查询\"我的闲置\"单据信息",
  8440. "parameters": [
  8441. {
  8442. "type": "integer",
  8443. "description": "页码",
  8444. "name": "page",
  8445. "in": "query"
  8446. },
  8447. {
  8448. "type": "integer",
  8449. "description": "每页条数",
  8450. "name": "pagesize",
  8451. "in": "query"
  8452. },
  8453. {
  8454. "type": "string",
  8455. "description": "资金账户列表,格式:1,2,3",
  8456. "name": "accountIDs",
  8457. "in": "query",
  8458. "required": true
  8459. },
  8460. {
  8461. "type": "integer",
  8462. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  8463. "name": "orderType",
  8464. "in": "query"
  8465. }
  8466. ],
  8467. "responses": {
  8468. "200": {
  8469. "description": "OK",
  8470. "schema": {
  8471. "$ref": "#/definitions/models.HsbySellMyDetail"
  8472. }
  8473. },
  8474. "500": {
  8475. "description": "Internal Server Error",
  8476. "schema": {
  8477. "$ref": "#/definitions/app.Response"
  8478. }
  8479. }
  8480. }
  8481. }
  8482. },
  8483. "/HSBY/QueryHsbyTopGoodses": {
  8484. "get": {
  8485. "security": [
  8486. {
  8487. "ApiKeyAuth": []
  8488. }
  8489. ],
  8490. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  8491. "produces": [
  8492. "application/json"
  8493. ],
  8494. "tags": [
  8495. "定制【海商报业】"
  8496. ],
  8497. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  8498. "parameters": [
  8499. {
  8500. "type": "integer",
  8501. "description": "页码",
  8502. "name": "page",
  8503. "in": "query"
  8504. },
  8505. {
  8506. "type": "integer",
  8507. "description": "每页条数",
  8508. "name": "pagesize",
  8509. "in": "query"
  8510. },
  8511. {
  8512. "type": "string",
  8513. "description": "市场ID列表,格式:1,2,3",
  8514. "name": "marketIDs",
  8515. "in": "query",
  8516. "required": true
  8517. },
  8518. {
  8519. "type": "integer",
  8520. "description": "目的地(省)ID",
  8521. "name": "descProvinceID",
  8522. "in": "query"
  8523. },
  8524. {
  8525. "type": "integer",
  8526. "description": "目的地(市)ID",
  8527. "name": "descCityID",
  8528. "in": "query"
  8529. }
  8530. ],
  8531. "responses": {
  8532. "200": {
  8533. "description": "OK",
  8534. "schema": {
  8535. "$ref": "#/definitions/models.HsbyTopGoods"
  8536. }
  8537. },
  8538. "500": {
  8539. "description": "Internal Server Error",
  8540. "schema": {
  8541. "$ref": "#/definitions/app.Response"
  8542. }
  8543. }
  8544. }
  8545. }
  8546. },
  8547. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  8548. "get": {
  8549. "security": [
  8550. {
  8551. "ApiKeyAuth": []
  8552. }
  8553. ],
  8554. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  8555. "produces": [
  8556. "application/json"
  8557. ],
  8558. "tags": [
  8559. "定制【海商报业】"
  8560. ],
  8561. "summary": "查询游客三级市场(商城)商品信息详情",
  8562. "parameters": [
  8563. {
  8564. "type": "integer",
  8565. "description": "商品ID",
  8566. "name": "goodsID",
  8567. "in": "query",
  8568. "required": true
  8569. }
  8570. ],
  8571. "responses": {
  8572. "200": {
  8573. "description": "OK",
  8574. "schema": {
  8575. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  8576. }
  8577. },
  8578. "500": {
  8579. "description": "Internal Server Error",
  8580. "schema": {
  8581. "$ref": "#/definitions/app.Response"
  8582. }
  8583. }
  8584. }
  8585. }
  8586. },
  8587. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  8588. "get": {
  8589. "security": [
  8590. {
  8591. "ApiKeyAuth": []
  8592. }
  8593. ],
  8594. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  8595. "produces": [
  8596. "application/json"
  8597. ],
  8598. "tags": [
  8599. "定制【海商报业】"
  8600. ],
  8601. "summary": "查询游客特卖商品列表(三级商城)",
  8602. "parameters": [
  8603. {
  8604. "type": "integer",
  8605. "description": "页码",
  8606. "name": "page",
  8607. "in": "query"
  8608. },
  8609. {
  8610. "type": "integer",
  8611. "description": "每页条数",
  8612. "name": "pagesize",
  8613. "in": "query"
  8614. },
  8615. {
  8616. "type": "string",
  8617. "description": "市场ID列表,格式:1,2,3",
  8618. "name": "marketIDs",
  8619. "in": "query",
  8620. "required": true
  8621. },
  8622. {
  8623. "type": "integer",
  8624. "description": "类别ID",
  8625. "name": "categoryID",
  8626. "in": "query"
  8627. },
  8628. {
  8629. "type": "string",
  8630. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  8631. "name": "goodsIDs",
  8632. "in": "query"
  8633. }
  8634. ],
  8635. "responses": {
  8636. "200": {
  8637. "description": "OK",
  8638. "schema": {
  8639. "$ref": "#/definitions/models.HsbyMarketGoods"
  8640. }
  8641. },
  8642. "500": {
  8643. "description": "Internal Server Error",
  8644. "schema": {
  8645. "$ref": "#/definitions/app.Response"
  8646. }
  8647. }
  8648. }
  8649. }
  8650. },
  8651. "/HSBY/QueryMyCollectionOrders": {
  8652. "get": {
  8653. "security": [
  8654. {
  8655. "ApiKeyAuth": []
  8656. }
  8657. ],
  8658. "produces": [
  8659. "application/json"
  8660. ],
  8661. "tags": [
  8662. "定制【海商报业】"
  8663. ],
  8664. "summary": "我的闲置中收款信息查询",
  8665. "parameters": [
  8666. {
  8667. "type": "integer",
  8668. "description": "页码",
  8669. "name": "page",
  8670. "in": "query"
  8671. },
  8672. {
  8673. "type": "integer",
  8674. "description": "每页条数",
  8675. "name": "pagesize",
  8676. "in": "query"
  8677. },
  8678. {
  8679. "type": "string",
  8680. "description": "资金账户,格式:1,2,3",
  8681. "name": "accountIDs",
  8682. "in": "query",
  8683. "required": true
  8684. }
  8685. ],
  8686. "responses": {
  8687. "200": {
  8688. "description": "OK",
  8689. "schema": {
  8690. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  8691. }
  8692. },
  8693. "500": {
  8694. "description": "Internal Server Error",
  8695. "schema": {
  8696. "$ref": "#/definitions/app.Response"
  8697. }
  8698. }
  8699. }
  8700. }
  8701. },
  8702. "/HSBY/QueryMyCouponHolds": {
  8703. "get": {
  8704. "security": [
  8705. {
  8706. "ApiKeyAuth": []
  8707. }
  8708. ],
  8709. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  8710. "produces": [
  8711. "application/json"
  8712. ],
  8713. "tags": [
  8714. "定制【海商报业】"
  8715. ],
  8716. "summary": "我的优惠卷持仓查询",
  8717. "parameters": [
  8718. {
  8719. "type": "string",
  8720. "description": "资金账户列表,格式:1,2,3",
  8721. "name": "accountIDs",
  8722. "in": "query",
  8723. "required": true
  8724. },
  8725. {
  8726. "type": "string",
  8727. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  8728. "name": "holdStatus",
  8729. "in": "query"
  8730. }
  8731. ],
  8732. "responses": {
  8733. "200": {
  8734. "description": "OK",
  8735. "schema": {
  8736. "$ref": "#/definitions/models.MyCouponHold"
  8737. }
  8738. },
  8739. "500": {
  8740. "description": "Internal Server Error",
  8741. "schema": {
  8742. "$ref": "#/definitions/app.Response"
  8743. }
  8744. }
  8745. }
  8746. }
  8747. },
  8748. "/HSBY/QueryMyCoupons": {
  8749. "get": {
  8750. "security": [
  8751. {
  8752. "ApiKeyAuth": []
  8753. }
  8754. ],
  8755. "produces": [
  8756. "application/json"
  8757. ],
  8758. "tags": [
  8759. "定制【海商报业】"
  8760. ],
  8761. "summary": "我的优惠卷查询",
  8762. "parameters": [
  8763. {
  8764. "type": "string",
  8765. "description": "资金账户列表,格式:1,2,3",
  8766. "name": "accountIDs",
  8767. "in": "query",
  8768. "required": true
  8769. },
  8770. {
  8771. "type": "integer",
  8772. "description": "商品ID, 一般与sellUserID配套传入",
  8773. "name": "goodsID",
  8774. "in": "query"
  8775. },
  8776. {
  8777. "type": "integer",
  8778. "description": "卖方UserID",
  8779. "name": "sellUserID",
  8780. "in": "query"
  8781. }
  8782. ],
  8783. "responses": {
  8784. "200": {
  8785. "description": "OK",
  8786. "schema": {
  8787. "$ref": "#/definitions/models.MyCoupon"
  8788. }
  8789. },
  8790. "500": {
  8791. "description": "Internal Server Error",
  8792. "schema": {
  8793. "$ref": "#/definitions/app.Response"
  8794. }
  8795. }
  8796. }
  8797. }
  8798. },
  8799. "/HSBY/QueryMyPayOrders": {
  8800. "get": {
  8801. "security": [
  8802. {
  8803. "ApiKeyAuth": []
  8804. }
  8805. ],
  8806. "produces": [
  8807. "application/json"
  8808. ],
  8809. "tags": [
  8810. "定制【海商报业】"
  8811. ],
  8812. "summary": "获取我的订单中待付款信息",
  8813. "parameters": [
  8814. {
  8815. "type": "integer",
  8816. "description": "页码",
  8817. "name": "page",
  8818. "in": "query"
  8819. },
  8820. {
  8821. "type": "integer",
  8822. "description": "每页条数",
  8823. "name": "pagesize",
  8824. "in": "query"
  8825. },
  8826. {
  8827. "type": "string",
  8828. "description": "资金账户列表,格式:1,2,3",
  8829. "name": "accountIDs",
  8830. "in": "query",
  8831. "required": true
  8832. },
  8833. {
  8834. "type": "integer",
  8835. "description": "买方委托单号",
  8836. "name": "buyOrderID",
  8837. "in": "query"
  8838. },
  8839. {
  8840. "type": "integer",
  8841. "description": "卖方委托单号",
  8842. "name": "sellOrderID",
  8843. "in": "query"
  8844. }
  8845. ],
  8846. "responses": {
  8847. "200": {
  8848. "description": "OK",
  8849. "schema": {
  8850. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  8851. }
  8852. },
  8853. "500": {
  8854. "description": "Internal Server Error",
  8855. "schema": {
  8856. "$ref": "#/definitions/app.Response"
  8857. }
  8858. }
  8859. }
  8860. }
  8861. },
  8862. "/HSBY/QueryMyUsedCoupon": {
  8863. "get": {
  8864. "security": [
  8865. {
  8866. "ApiKeyAuth": []
  8867. }
  8868. ],
  8869. "produces": [
  8870. "application/json"
  8871. ],
  8872. "tags": [
  8873. "定制【海商报业】"
  8874. ],
  8875. "summary": "已使用优惠卷查询",
  8876. "parameters": [
  8877. {
  8878. "type": "string",
  8879. "description": "资金账户列表,格式:1,2,3",
  8880. "name": "accountIDs",
  8881. "in": "query",
  8882. "required": true
  8883. }
  8884. ],
  8885. "responses": {
  8886. "200": {
  8887. "description": "OK",
  8888. "schema": {
  8889. "$ref": "#/definitions/models.MyUsedCoupon"
  8890. }
  8891. },
  8892. "500": {
  8893. "description": "Internal Server Error",
  8894. "schema": {
  8895. "$ref": "#/definitions/app.Response"
  8896. }
  8897. }
  8898. }
  8899. }
  8900. },
  8901. "/HSBY/QueryProvincesAndCities": {
  8902. "get": {
  8903. "security": [
  8904. {
  8905. "ApiKeyAuth": []
  8906. }
  8907. ],
  8908. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  8909. "produces": [
  8910. "application/json"
  8911. ],
  8912. "tags": [
  8913. "定制【海商报业】"
  8914. ],
  8915. "summary": "查询省市信息(不包括区)",
  8916. "parameters": [
  8917. {
  8918. "type": "integer",
  8919. "description": "省ID",
  8920. "name": "provinceID",
  8921. "in": "query"
  8922. }
  8923. ],
  8924. "responses": {
  8925. "200": {
  8926. "description": "OK",
  8927. "schema": {
  8928. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  8929. }
  8930. },
  8931. "500": {
  8932. "description": "Internal Server Error",
  8933. "schema": {
  8934. "$ref": "#/definitions/app.Response"
  8935. }
  8936. }
  8937. }
  8938. }
  8939. },
  8940. "/HSBY/SetHsbyMyPackagesStatus": {
  8941. "post": {
  8942. "security": [
  8943. {
  8944. "ApiKeyAuth": []
  8945. }
  8946. ],
  8947. "produces": [
  8948. "application/json"
  8949. ],
  8950. "tags": [
  8951. "定制【海商报业】"
  8952. ],
  8953. "summary": "设置我的包裹已收货状态",
  8954. "parameters": [
  8955. {
  8956. "type": "string",
  8957. "description": "提货单号",
  8958. "name": "takeOrderID",
  8959. "in": "query",
  8960. "required": true
  8961. },
  8962. {
  8963. "type": "integer",
  8964. "description": "资金账号",
  8965. "name": "accountID",
  8966. "in": "query",
  8967. "required": true
  8968. }
  8969. ],
  8970. "responses": {
  8971. "200": {
  8972. "description": "OK",
  8973. "schema": {
  8974. "$ref": "#/definitions/app.Response"
  8975. }
  8976. },
  8977. "500": {
  8978. "description": "Internal Server Error",
  8979. "schema": {
  8980. "$ref": "#/definitions/app.Response"
  8981. }
  8982. }
  8983. }
  8984. }
  8985. },
  8986. "/Market/GetAllExExchanges": {
  8987. "get": {
  8988. "security": [
  8989. {
  8990. "ApiKeyAuth": []
  8991. }
  8992. ],
  8993. "produces": [
  8994. "application/json"
  8995. ],
  8996. "tags": [
  8997. "通用市场"
  8998. ],
  8999. "summary": "获取所有外部交易所信息",
  9000. "responses": {
  9001. "200": {
  9002. "description": "OK",
  9003. "schema": {
  9004. "$ref": "#/definitions/models.Goods"
  9005. }
  9006. },
  9007. "500": {
  9008. "description": "Internal Server Error",
  9009. "schema": {
  9010. "$ref": "#/definitions/app.Response"
  9011. }
  9012. }
  9013. }
  9014. }
  9015. },
  9016. "/Market/QueryGoodsesByLoginID": {
  9017. "get": {
  9018. "security": [
  9019. {
  9020. "ApiKeyAuth": []
  9021. }
  9022. ],
  9023. "produces": [
  9024. "application/json"
  9025. ],
  9026. "tags": [
  9027. "通用市场"
  9028. ],
  9029. "summary": "获取登录账号有权限的商品信息",
  9030. "parameters": [
  9031. {
  9032. "type": "integer",
  9033. "description": "登录账号",
  9034. "name": "loginID",
  9035. "in": "query",
  9036. "required": true
  9037. },
  9038. {
  9039. "type": "string",
  9040. "description": "市场ID列表,格式:1,2,3",
  9041. "name": "marketIDs",
  9042. "in": "query"
  9043. }
  9044. ],
  9045. "responses": {
  9046. "200": {
  9047. "description": "OK",
  9048. "schema": {
  9049. "$ref": "#/definitions/models.Goods"
  9050. }
  9051. },
  9052. "500": {
  9053. "description": "Internal Server Error",
  9054. "schema": {
  9055. "$ref": "#/definitions/app.Response"
  9056. }
  9057. }
  9058. }
  9059. }
  9060. },
  9061. "/Market/QueryMarketRun": {
  9062. "get": {
  9063. "security": [
  9064. {
  9065. "ApiKeyAuth": []
  9066. }
  9067. ],
  9068. "produces": [
  9069. "application/json"
  9070. ],
  9071. "tags": [
  9072. "通用市场"
  9073. ],
  9074. "summary": "查询市场运行信息",
  9075. "parameters": [
  9076. {
  9077. "type": "integer",
  9078. "description": "市场ID,不传返回所有",
  9079. "name": "marketID",
  9080. "in": "query"
  9081. }
  9082. ],
  9083. "responses": {
  9084. "200": {
  9085. "description": "OK",
  9086. "schema": {
  9087. "$ref": "#/definitions/models.Marketrun"
  9088. }
  9089. },
  9090. "500": {
  9091. "description": "Internal Server Error",
  9092. "schema": {
  9093. "$ref": "#/definitions/app.Response"
  9094. }
  9095. }
  9096. }
  9097. }
  9098. },
  9099. "/Market/QueryMarketsByLoginID": {
  9100. "get": {
  9101. "security": [
  9102. {
  9103. "ApiKeyAuth": []
  9104. }
  9105. ],
  9106. "produces": [
  9107. "application/json"
  9108. ],
  9109. "tags": [
  9110. "通用市场"
  9111. ],
  9112. "summary": "获取登录账号有权限的市场信息",
  9113. "parameters": [
  9114. {
  9115. "type": "integer",
  9116. "description": "登录账号",
  9117. "name": "loginID",
  9118. "in": "query",
  9119. "required": true
  9120. }
  9121. ],
  9122. "responses": {
  9123. "200": {
  9124. "description": "OK",
  9125. "schema": {
  9126. "$ref": "#/definitions/models.Market"
  9127. }
  9128. },
  9129. "500": {
  9130. "description": "Internal Server Error",
  9131. "schema": {
  9132. "$ref": "#/definitions/app.Response"
  9133. }
  9134. }
  9135. }
  9136. }
  9137. },
  9138. "/Order/QueryHisTradeDetail": {
  9139. "get": {
  9140. "security": [
  9141. {
  9142. "ApiKeyAuth": []
  9143. }
  9144. ],
  9145. "produces": [
  9146. "application/json"
  9147. ],
  9148. "tags": [
  9149. "通用单据"
  9150. ],
  9151. "summary": "历史成交单查询(合约市场)",
  9152. "parameters": [
  9153. {
  9154. "type": "string",
  9155. "description": "资金账户 - 格式:1,2,3",
  9156. "name": "accountID",
  9157. "in": "query",
  9158. "required": true
  9159. },
  9160. {
  9161. "type": "integer",
  9162. "description": "成交单号",
  9163. "name": "tradeID",
  9164. "in": "query"
  9165. },
  9166. {
  9167. "type": "integer",
  9168. "description": "委托单号",
  9169. "name": "orderID",
  9170. "in": "query"
  9171. },
  9172. {
  9173. "type": "integer",
  9174. "description": "商品ID",
  9175. "name": "goodsID",
  9176. "in": "query"
  9177. },
  9178. {
  9179. "type": "string",
  9180. "description": "交易模式 - 格式:1,2,3",
  9181. "name": "tradeMode",
  9182. "in": "query"
  9183. },
  9184. {
  9185. "type": "integer",
  9186. "description": "委托单据类型",
  9187. "name": "buildType",
  9188. "in": "query"
  9189. },
  9190. {
  9191. "type": "string",
  9192. "description": "成交类别 - 格式:1,2,3",
  9193. "name": "tradeType",
  9194. "in": "query"
  9195. },
  9196. {
  9197. "type": "string",
  9198. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9199. "name": "startDate",
  9200. "in": "query"
  9201. },
  9202. {
  9203. "type": "string",
  9204. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9205. "name": "endDate",
  9206. "in": "query"
  9207. }
  9208. ],
  9209. "responses": {
  9210. "200": {
  9211. "description": "OK",
  9212. "schema": {
  9213. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  9214. }
  9215. },
  9216. "500": {
  9217. "description": "Internal Server Error",
  9218. "schema": {
  9219. "$ref": "#/definitions/app.Response"
  9220. }
  9221. }
  9222. }
  9223. }
  9224. },
  9225. "/Order/QueryHisTradeOrderDetail": {
  9226. "get": {
  9227. "security": [
  9228. {
  9229. "ApiKeyAuth": []
  9230. }
  9231. ],
  9232. "produces": [
  9233. "application/json"
  9234. ],
  9235. "tags": [
  9236. "通用单据"
  9237. ],
  9238. "summary": "历史委托单查询请求(合约市场)",
  9239. "parameters": [
  9240. {
  9241. "type": "string",
  9242. "description": "资金账户 - 格式:1,2,3",
  9243. "name": "accountID",
  9244. "in": "query",
  9245. "required": true
  9246. },
  9247. {
  9248. "type": "string",
  9249. "description": "交易模式 - 格式:1,2,3",
  9250. "name": "tradeMode",
  9251. "in": "query"
  9252. },
  9253. {
  9254. "type": "string",
  9255. "description": "委托状态 - 格式:1,2,3",
  9256. "name": "orderStatus",
  9257. "in": "query"
  9258. },
  9259. {
  9260. "type": "integer",
  9261. "description": "委托单号",
  9262. "name": "orderID",
  9263. "in": "query"
  9264. },
  9265. {
  9266. "type": "string",
  9267. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9268. "name": "startDate",
  9269. "in": "query"
  9270. },
  9271. {
  9272. "type": "string",
  9273. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9274. "name": "endDate",
  9275. "in": "query"
  9276. }
  9277. ],
  9278. "responses": {
  9279. "200": {
  9280. "description": "OK",
  9281. "schema": {
  9282. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  9283. }
  9284. },
  9285. "500": {
  9286. "description": "Internal Server Error",
  9287. "schema": {
  9288. "$ref": "#/definitions/app.Response"
  9289. }
  9290. }
  9291. }
  9292. }
  9293. },
  9294. "/Order/QueryTradeDetail": {
  9295. "get": {
  9296. "security": [
  9297. {
  9298. "ApiKeyAuth": []
  9299. }
  9300. ],
  9301. "produces": [
  9302. "application/json"
  9303. ],
  9304. "tags": [
  9305. "通用单据"
  9306. ],
  9307. "summary": "成交单查询(合约市场)",
  9308. "parameters": [
  9309. {
  9310. "type": "string",
  9311. "description": "资金账户 - 格式:1,2,3",
  9312. "name": "accountID",
  9313. "in": "query",
  9314. "required": true
  9315. },
  9316. {
  9317. "type": "integer",
  9318. "description": "成交单号",
  9319. "name": "tradeID",
  9320. "in": "query"
  9321. },
  9322. {
  9323. "type": "integer",
  9324. "description": "委托单号",
  9325. "name": "orderID",
  9326. "in": "query"
  9327. },
  9328. {
  9329. "type": "string",
  9330. "description": "交易模式 - 格式:1,2,3",
  9331. "name": "tradeMode",
  9332. "in": "query"
  9333. },
  9334. {
  9335. "type": "integer",
  9336. "description": "委托单据类型",
  9337. "name": "buildType",
  9338. "in": "query"
  9339. },
  9340. {
  9341. "type": "string",
  9342. "description": "成交类别 - 格式:1,2,3",
  9343. "name": "tradeType",
  9344. "in": "query"
  9345. },
  9346. {
  9347. "type": "integer",
  9348. "description": "商品ID",
  9349. "name": "goodsID",
  9350. "in": "query"
  9351. }
  9352. ],
  9353. "responses": {
  9354. "200": {
  9355. "description": "OK",
  9356. "schema": {
  9357. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  9358. }
  9359. },
  9360. "500": {
  9361. "description": "Internal Server Error",
  9362. "schema": {
  9363. "$ref": "#/definitions/app.Response"
  9364. }
  9365. }
  9366. }
  9367. }
  9368. },
  9369. "/Order/QueryTradeHolderDetail": {
  9370. "get": {
  9371. "security": [
  9372. {
  9373. "ApiKeyAuth": []
  9374. }
  9375. ],
  9376. "produces": [
  9377. "application/json"
  9378. ],
  9379. "tags": [
  9380. "通用单据"
  9381. ],
  9382. "summary": "查询持仓明细",
  9383. "parameters": [
  9384. {
  9385. "type": "integer",
  9386. "description": "用户id",
  9387. "name": "userid",
  9388. "in": "query"
  9389. },
  9390. {
  9391. "type": "string",
  9392. "description": "资金账号, 格式 1,2,3",
  9393. "name": "accids",
  9394. "in": "query"
  9395. },
  9396. {
  9397. "type": "string",
  9398. "description": "交易模式, 格式 1,2,3",
  9399. "name": "trademodes",
  9400. "in": "query"
  9401. },
  9402. {
  9403. "type": "string",
  9404. "description": "市场id, 格式 1,2,3",
  9405. "name": "marketids",
  9406. "in": "query"
  9407. },
  9408. {
  9409. "type": "integer",
  9410. "description": "商品id",
  9411. "name": "goodsid",
  9412. "in": "query"
  9413. },
  9414. {
  9415. "type": "integer",
  9416. "description": "买卖方向 0-买 1-卖",
  9417. "name": "buyorsell",
  9418. "in": "query"
  9419. }
  9420. ],
  9421. "responses": {
  9422. "200": {
  9423. "description": "OK",
  9424. "schema": {
  9425. "type": "array",
  9426. "items": {
  9427. "$ref": "#/definitions/models.TradeHolderDetail"
  9428. }
  9429. }
  9430. },
  9431. "500": {
  9432. "description": "Internal Server Error",
  9433. "schema": {
  9434. "$ref": "#/definitions/app.Response"
  9435. }
  9436. }
  9437. }
  9438. }
  9439. },
  9440. "/Order/QueryTradeOrderDetail": {
  9441. "get": {
  9442. "security": [
  9443. {
  9444. "ApiKeyAuth": []
  9445. }
  9446. ],
  9447. "produces": [
  9448. "application/json"
  9449. ],
  9450. "tags": [
  9451. "通用单据"
  9452. ],
  9453. "summary": "委托单查询请求(合约市场)",
  9454. "parameters": [
  9455. {
  9456. "type": "string",
  9457. "description": "资金账户 - 格式:1,2,3",
  9458. "name": "accountID",
  9459. "in": "query",
  9460. "required": true
  9461. },
  9462. {
  9463. "type": "string",
  9464. "description": "交易模式 - 格式:1,2,3",
  9465. "name": "tradeMode",
  9466. "in": "query"
  9467. },
  9468. {
  9469. "type": "string",
  9470. "description": "委托状态 - 格式:1,2,3",
  9471. "name": "orderStatus",
  9472. "in": "query"
  9473. },
  9474. {
  9475. "type": "integer",
  9476. "description": "委托单号",
  9477. "name": "orderID",
  9478. "in": "query"
  9479. }
  9480. ],
  9481. "responses": {
  9482. "200": {
  9483. "description": "OK",
  9484. "schema": {
  9485. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  9486. }
  9487. },
  9488. "500": {
  9489. "description": "Internal Server Error",
  9490. "schema": {
  9491. "$ref": "#/definitions/app.Response"
  9492. }
  9493. }
  9494. }
  9495. }
  9496. },
  9497. "/Order/QueryTradePosition": {
  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": "string",
  9514. "description": "资金账户 - 格式:1,2,3",
  9515. "name": "accountID",
  9516. "in": "query",
  9517. "required": true
  9518. },
  9519. {
  9520. "type": "string",
  9521. "description": "交易模式 - 格式:1,2,3",
  9522. "name": "tradeMode",
  9523. "in": "query"
  9524. }
  9525. ],
  9526. "responses": {
  9527. "200": {
  9528. "description": "OK",
  9529. "schema": {
  9530. "$ref": "#/definitions/order.QueryTradePositionRsp"
  9531. }
  9532. },
  9533. "500": {
  9534. "description": "Internal Server Error",
  9535. "schema": {
  9536. "$ref": "#/definitions/app.Response"
  9537. }
  9538. }
  9539. }
  9540. }
  9541. },
  9542. "/Qhj/QueryAccountInOutApply": {
  9543. "get": {
  9544. "security": [
  9545. {
  9546. "ApiKeyAuth": []
  9547. }
  9548. ],
  9549. "produces": [
  9550. "application/json"
  9551. ],
  9552. "tags": [
  9553. "大连千海金"
  9554. ],
  9555. "summary": "查询充值提现",
  9556. "parameters": [
  9557. {
  9558. "type": "integer",
  9559. "description": "用户ID",
  9560. "name": "userid",
  9561. "in": "query",
  9562. "required": true
  9563. },
  9564. {
  9565. "type": "string",
  9566. "description": "申请起始日期(格式yyyymmdd)",
  9567. "name": "begindate",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "string",
  9572. "description": "申请截止日期(格式yyyymmdd)",
  9573. "name": "enddate",
  9574. "in": "query"
  9575. },
  9576. {
  9577. "type": "string",
  9578. "description": "模糊搜索名称",
  9579. "name": "likename",
  9580. "in": "query"
  9581. },
  9582. {
  9583. "type": "integer",
  9584. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9585. "name": "applystatus",
  9586. "in": "query"
  9587. },
  9588. {
  9589. "type": "integer",
  9590. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9591. "name": "querytype",
  9592. "in": "query"
  9593. }
  9594. ],
  9595. "responses": {
  9596. "200": {
  9597. "description": "OK",
  9598. "schema": {
  9599. "type": "array",
  9600. "items": {
  9601. "$ref": "#/definitions/models.QhjAccountOutInApply"
  9602. }
  9603. }
  9604. },
  9605. "500": {
  9606. "description": "Internal Server Error",
  9607. "schema": {
  9608. "$ref": "#/definitions/app.Response"
  9609. }
  9610. }
  9611. }
  9612. }
  9613. },
  9614. "/Qhj/QueryAreaFinanceConfig": {
  9615. "get": {
  9616. "security": [
  9617. {
  9618. "ApiKeyAuth": []
  9619. }
  9620. ],
  9621. "produces": [
  9622. "application/json"
  9623. ],
  9624. "tags": [
  9625. "大连千海金"
  9626. ],
  9627. "summary": "查询企业配置表",
  9628. "parameters": [
  9629. {
  9630. "type": "integer",
  9631. "description": "机构用户ID 其他做市关系,都设置为 1",
  9632. "name": "userid",
  9633. "in": "query"
  9634. }
  9635. ],
  9636. "responses": {
  9637. "200": {
  9638. "description": "OK",
  9639. "schema": {
  9640. "type": "array",
  9641. "items": {
  9642. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  9643. }
  9644. }
  9645. },
  9646. "500": {
  9647. "description": "Internal Server Error",
  9648. "schema": {
  9649. "$ref": "#/definitions/app.Response"
  9650. }
  9651. }
  9652. }
  9653. }
  9654. },
  9655. "/Qhj/QueryBankAccountSign": {
  9656. "get": {
  9657. "security": [
  9658. {
  9659. "ApiKeyAuth": []
  9660. }
  9661. ],
  9662. "produces": [
  9663. "application/json"
  9664. ],
  9665. "tags": [
  9666. "大连千海金"
  9667. ],
  9668. "summary": "查询签约银行信息(提现账户管理)",
  9669. "parameters": [
  9670. {
  9671. "type": "integer",
  9672. "description": "用户ID",
  9673. "name": "userid",
  9674. "in": "query",
  9675. "required": true
  9676. }
  9677. ],
  9678. "responses": {
  9679. "200": {
  9680. "description": "OK",
  9681. "schema": {
  9682. "type": "array",
  9683. "items": {
  9684. "$ref": "#/definitions/models.QhjBankAccountSign"
  9685. }
  9686. }
  9687. },
  9688. "500": {
  9689. "description": "Internal Server Error",
  9690. "schema": {
  9691. "$ref": "#/definitions/app.Response"
  9692. }
  9693. }
  9694. }
  9695. }
  9696. },
  9697. "/Qhj/QueryBankInfo": {
  9698. "get": {
  9699. "security": [
  9700. {
  9701. "ApiKeyAuth": []
  9702. }
  9703. ],
  9704. "produces": [
  9705. "application/json"
  9706. ],
  9707. "tags": [
  9708. "大连千海金"
  9709. ],
  9710. "summary": "查询开户行",
  9711. "responses": {
  9712. "200": {
  9713. "description": "OK",
  9714. "schema": {
  9715. "type": "array",
  9716. "items": {
  9717. "$ref": "#/definitions/models.QhjBankInfo"
  9718. }
  9719. }
  9720. },
  9721. "500": {
  9722. "description": "Internal Server Error",
  9723. "schema": {
  9724. "$ref": "#/definitions/app.Response"
  9725. }
  9726. }
  9727. }
  9728. }
  9729. },
  9730. "/Qhj/QueryBrokerApply": {
  9731. "get": {
  9732. "security": [
  9733. {
  9734. "ApiKeyAuth": []
  9735. }
  9736. ],
  9737. "produces": [
  9738. "application/json"
  9739. ],
  9740. "tags": [
  9741. "大连千海金"
  9742. ],
  9743. "summary": "查询经纪人申请",
  9744. "parameters": [
  9745. {
  9746. "type": "integer",
  9747. "description": "所属机构ID",
  9748. "name": "userid",
  9749. "in": "query"
  9750. },
  9751. {
  9752. "type": "string",
  9753. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9754. "name": "filterstatus",
  9755. "in": "query"
  9756. }
  9757. ],
  9758. "responses": {
  9759. "200": {
  9760. "description": "OK",
  9761. "schema": {
  9762. "type": "array",
  9763. "items": {
  9764. "$ref": "#/definitions/models.QhjBrokerApply"
  9765. }
  9766. }
  9767. },
  9768. "500": {
  9769. "description": "Internal Server Error",
  9770. "schema": {
  9771. "$ref": "#/definitions/app.Response"
  9772. }
  9773. }
  9774. }
  9775. }
  9776. },
  9777. "/Qhj/QueryBrokerApplyEx": {
  9778. "get": {
  9779. "security": [
  9780. {
  9781. "ApiKeyAuth": []
  9782. }
  9783. ],
  9784. "produces": [
  9785. "application/json"
  9786. ],
  9787. "tags": [
  9788. "大连千海金"
  9789. ],
  9790. "summary": "查询经纪人信息和申请记录",
  9791. "parameters": [
  9792. {
  9793. "type": "integer",
  9794. "description": "所属机构ID",
  9795. "name": "userid",
  9796. "in": "query"
  9797. }
  9798. ],
  9799. "responses": {
  9800. "200": {
  9801. "description": "OK",
  9802. "schema": {
  9803. "type": "array",
  9804. "items": {
  9805. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  9806. }
  9807. }
  9808. },
  9809. "500": {
  9810. "description": "Internal Server Error",
  9811. "schema": {
  9812. "$ref": "#/definitions/app.Response"
  9813. }
  9814. }
  9815. }
  9816. }
  9817. },
  9818. "/Qhj/QueryBrokerRewardLog": {
  9819. "get": {
  9820. "security": [
  9821. {
  9822. "ApiKeyAuth": []
  9823. }
  9824. ],
  9825. "produces": [
  9826. "application/json"
  9827. ],
  9828. "tags": [
  9829. "大连千海金"
  9830. ],
  9831. "summary": "查询奖励流水(我的奖励)",
  9832. "parameters": [
  9833. {
  9834. "type": "integer",
  9835. "description": "用户ID",
  9836. "name": "userid",
  9837. "in": "query",
  9838. "required": true
  9839. },
  9840. {
  9841. "type": "string",
  9842. "description": "开始交易日(yyyymmdd)",
  9843. "name": "begindate",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "string",
  9848. "description": "结束交易日(yyyymmdd)",
  9849. "name": "enddate",
  9850. "in": "query"
  9851. }
  9852. ],
  9853. "responses": {
  9854. "200": {
  9855. "description": "OK",
  9856. "schema": {
  9857. "type": "array",
  9858. "items": {
  9859. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  9860. }
  9861. }
  9862. },
  9863. "500": {
  9864. "description": "Internal Server Error",
  9865. "schema": {
  9866. "$ref": "#/definitions/app.Response"
  9867. }
  9868. }
  9869. }
  9870. }
  9871. },
  9872. "/Qhj/QueryContract": {
  9873. "get": {
  9874. "security": [
  9875. {
  9876. "ApiKeyAuth": []
  9877. }
  9878. ],
  9879. "produces": [
  9880. "application/json"
  9881. ],
  9882. "tags": [
  9883. "大连千海金"
  9884. ],
  9885. "summary": "查询融资明细(合同)",
  9886. "parameters": [
  9887. {
  9888. "type": "integer",
  9889. "description": "用户ID",
  9890. "name": "userid",
  9891. "in": "query"
  9892. },
  9893. {
  9894. "type": "integer",
  9895. "description": "scf合同id",
  9896. "name": "scfcontractid",
  9897. "in": "query"
  9898. }
  9899. ],
  9900. "responses": {
  9901. "200": {
  9902. "description": "OK",
  9903. "schema": {
  9904. "type": "array",
  9905. "items": {
  9906. "$ref": "#/definitions/models.QhjContract"
  9907. }
  9908. }
  9909. },
  9910. "500": {
  9911. "description": "Internal Server Error",
  9912. "schema": {
  9913. "$ref": "#/definitions/app.Response"
  9914. }
  9915. }
  9916. }
  9917. }
  9918. },
  9919. "/Qhj/QueryContractLog": {
  9920. "get": {
  9921. "security": [
  9922. {
  9923. "ApiKeyAuth": []
  9924. }
  9925. ],
  9926. "produces": [
  9927. "application/json"
  9928. ],
  9929. "tags": [
  9930. "大连千海金"
  9931. ],
  9932. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  9933. "parameters": [
  9934. {
  9935. "type": "integer",
  9936. "description": "scf合同id",
  9937. "name": "scfcontractid",
  9938. "in": "query",
  9939. "required": true
  9940. },
  9941. {
  9942. "type": "string",
  9943. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  9944. "name": "amounttype",
  9945. "in": "query"
  9946. }
  9947. ],
  9948. "responses": {
  9949. "200": {
  9950. "description": "OK",
  9951. "schema": {
  9952. "type": "array",
  9953. "items": {
  9954. "$ref": "#/definitions/models.QhjContractLog"
  9955. }
  9956. }
  9957. },
  9958. "500": {
  9959. "description": "Internal Server Error",
  9960. "schema": {
  9961. "$ref": "#/definitions/app.Response"
  9962. }
  9963. }
  9964. }
  9965. }
  9966. },
  9967. "/Qhj/QueryCusBankSignBank": {
  9968. "get": {
  9969. "security": [
  9970. {
  9971. "ApiKeyAuth": []
  9972. }
  9973. ],
  9974. "produces": [
  9975. "application/json"
  9976. ],
  9977. "tags": [
  9978. "大连千海金"
  9979. ],
  9980. "summary": "查询托管银行",
  9981. "responses": {
  9982. "200": {
  9983. "description": "OK",
  9984. "schema": {
  9985. "type": "array",
  9986. "items": {
  9987. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  9988. }
  9989. }
  9990. },
  9991. "500": {
  9992. "description": "Internal Server Error",
  9993. "schema": {
  9994. "$ref": "#/definitions/app.Response"
  9995. }
  9996. }
  9997. }
  9998. }
  9999. },
  10000. "/Qhj/QueryCustomerInfo": {
  10001. "get": {
  10002. "security": [
  10003. {
  10004. "ApiKeyAuth": []
  10005. }
  10006. ],
  10007. "produces": [
  10008. "application/json"
  10009. ],
  10010. "tags": [
  10011. "大连千海金"
  10012. ],
  10013. "summary": "查询客户资料",
  10014. "parameters": [
  10015. {
  10016. "type": "integer",
  10017. "description": "用户ID",
  10018. "name": "userid",
  10019. "in": "query",
  10020. "required": true
  10021. },
  10022. {
  10023. "type": "integer",
  10024. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10025. "name": "querytype",
  10026. "in": "query",
  10027. "required": true
  10028. },
  10029. {
  10030. "type": "integer",
  10031. "description": "客户类型 1-个人 2-企业",
  10032. "name": "userinfotype",
  10033. "in": "query"
  10034. },
  10035. {
  10036. "type": "string",
  10037. "description": "客户名称(模糊匹配)",
  10038. "name": "customername",
  10039. "in": "query"
  10040. },
  10041. {
  10042. "type": "string",
  10043. "description": "昵称(模糊匹配)",
  10044. "name": "nickname",
  10045. "in": "query"
  10046. },
  10047. {
  10048. "type": "integer",
  10049. "description": "是否包含子级 1-包含",
  10050. "name": "includesub",
  10051. "in": "query"
  10052. }
  10053. ],
  10054. "responses": {
  10055. "200": {
  10056. "description": "OK",
  10057. "schema": {
  10058. "type": "array",
  10059. "items": {
  10060. "$ref": "#/definitions/models.QhjCustomer"
  10061. }
  10062. }
  10063. },
  10064. "500": {
  10065. "description": "Internal Server Error",
  10066. "schema": {
  10067. "$ref": "#/definitions/app.Response"
  10068. }
  10069. }
  10070. }
  10071. }
  10072. },
  10073. "/Qhj/QueryGoodsEx": {
  10074. "get": {
  10075. "security": [
  10076. {
  10077. "ApiKeyAuth": []
  10078. }
  10079. ],
  10080. "produces": [
  10081. "application/json"
  10082. ],
  10083. "tags": [
  10084. "大连千海金"
  10085. ],
  10086. "summary": "交易商品扩展表",
  10087. "parameters": [
  10088. {
  10089. "type": "integer",
  10090. "description": "商品id",
  10091. "name": "goodsid",
  10092. "in": "query"
  10093. }
  10094. ],
  10095. "responses": {
  10096. "200": {
  10097. "description": "OK",
  10098. "schema": {
  10099. "type": "array",
  10100. "items": {
  10101. "$ref": "#/definitions/models.Qhjgoodsex"
  10102. }
  10103. }
  10104. },
  10105. "500": {
  10106. "description": "Internal Server Error",
  10107. "schema": {
  10108. "$ref": "#/definitions/app.Response"
  10109. }
  10110. }
  10111. }
  10112. }
  10113. },
  10114. "/Qhj/QueryMyTeam": {
  10115. "get": {
  10116. "security": [
  10117. {
  10118. "ApiKeyAuth": []
  10119. }
  10120. ],
  10121. "produces": [
  10122. "application/json"
  10123. ],
  10124. "tags": [
  10125. "大连千海金"
  10126. ],
  10127. "summary": "查询我的团队",
  10128. "parameters": [
  10129. {
  10130. "type": "integer",
  10131. "description": "用户ID",
  10132. "name": "userid",
  10133. "in": "query",
  10134. "required": true
  10135. }
  10136. ],
  10137. "responses": {
  10138. "200": {
  10139. "description": "OK",
  10140. "schema": {
  10141. "type": "array",
  10142. "items": {
  10143. "$ref": "#/definitions/models.QhjMyTeamEx"
  10144. }
  10145. }
  10146. },
  10147. "500": {
  10148. "description": "Internal Server Error",
  10149. "schema": {
  10150. "$ref": "#/definitions/app.Response"
  10151. }
  10152. }
  10153. }
  10154. }
  10155. },
  10156. "/Qhj/QueryMyTeamOrder": {
  10157. "get": {
  10158. "security": [
  10159. {
  10160. "ApiKeyAuth": []
  10161. }
  10162. ],
  10163. "produces": [
  10164. "application/json"
  10165. ],
  10166. "tags": [
  10167. "大连千海金"
  10168. ],
  10169. "summary": "查询团队订单(我的团队/团队订单)",
  10170. "parameters": [
  10171. {
  10172. "type": "integer",
  10173. "description": "页码",
  10174. "name": "page",
  10175. "in": "query"
  10176. },
  10177. {
  10178. "type": "integer",
  10179. "description": "每页条数",
  10180. "name": "pagesize",
  10181. "in": "query"
  10182. },
  10183. {
  10184. "type": "integer",
  10185. "description": "用户ID",
  10186. "name": "userid",
  10187. "in": "query",
  10188. "required": true
  10189. },
  10190. {
  10191. "type": "integer",
  10192. "description": "交易模式",
  10193. "name": "trademode",
  10194. "in": "query"
  10195. },
  10196. {
  10197. "type": "string",
  10198. "description": "名称(模糊搜索账户)",
  10199. "name": "filtername",
  10200. "in": "query"
  10201. }
  10202. ],
  10203. "responses": {
  10204. "200": {
  10205. "description": "OK",
  10206. "schema": {
  10207. "type": "array",
  10208. "items": {
  10209. "$ref": "#/definitions/models.QhjTeamOrder"
  10210. }
  10211. }
  10212. },
  10213. "500": {
  10214. "description": "Internal Server Error",
  10215. "schema": {
  10216. "$ref": "#/definitions/app.Response"
  10217. }
  10218. }
  10219. }
  10220. }
  10221. },
  10222. "/Qhj/QueryParentAreaList": {
  10223. "get": {
  10224. "security": [
  10225. {
  10226. "ApiKeyAuth": []
  10227. }
  10228. ],
  10229. "produces": [
  10230. "application/json"
  10231. ],
  10232. "tags": [
  10233. "大连千海金"
  10234. ],
  10235. "summary": "查询所属机构列表",
  10236. "parameters": [
  10237. {
  10238. "type": "integer",
  10239. "description": "用户ID",
  10240. "name": "userid",
  10241. "in": "query",
  10242. "required": true
  10243. }
  10244. ],
  10245. "responses": {
  10246. "200": {
  10247. "description": "OK",
  10248. "schema": {
  10249. "type": "array",
  10250. "items": {
  10251. "$ref": "#/definitions/models.QhjParentAreaList"
  10252. }
  10253. }
  10254. },
  10255. "500": {
  10256. "description": "Internal Server Error",
  10257. "schema": {
  10258. "$ref": "#/definitions/app.Response"
  10259. }
  10260. }
  10261. }
  10262. }
  10263. },
  10264. "/Qhj/QueryPayOrder": {
  10265. "get": {
  10266. "security": [
  10267. {
  10268. "ApiKeyAuth": []
  10269. }
  10270. ],
  10271. "produces": [
  10272. "application/json"
  10273. ],
  10274. "tags": [
  10275. "大连千海金"
  10276. ],
  10277. "summary": "查询待付款单据",
  10278. "parameters": [
  10279. {
  10280. "type": "integer",
  10281. "description": "资金账号id",
  10282. "name": "accountid",
  10283. "in": "query",
  10284. "required": true
  10285. },
  10286. {
  10287. "type": "integer",
  10288. "description": "成交单号",
  10289. "name": "tradeid",
  10290. "in": "query"
  10291. },
  10292. {
  10293. "type": "string",
  10294. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10295. "name": "payflag",
  10296. "in": "query"
  10297. }
  10298. ],
  10299. "responses": {
  10300. "200": {
  10301. "description": "OK",
  10302. "schema": {
  10303. "type": "array",
  10304. "items": {
  10305. "$ref": "#/definitions/models.QhjPayOrder"
  10306. }
  10307. }
  10308. },
  10309. "500": {
  10310. "description": "Internal Server Error",
  10311. "schema": {
  10312. "$ref": "#/definitions/app.Response"
  10313. }
  10314. }
  10315. }
  10316. }
  10317. },
  10318. "/Qhj/QueryPickArea": {
  10319. "get": {
  10320. "security": [
  10321. {
  10322. "ApiKeyAuth": []
  10323. }
  10324. ],
  10325. "produces": [
  10326. "application/json"
  10327. ],
  10328. "tags": [
  10329. "大连千海金"
  10330. ],
  10331. "summary": "查询提货门店",
  10332. "parameters": [
  10333. {
  10334. "type": "integer",
  10335. "description": "用户ID",
  10336. "name": "userid",
  10337. "in": "query"
  10338. }
  10339. ],
  10340. "responses": {
  10341. "200": {
  10342. "description": "OK",
  10343. "schema": {
  10344. "type": "array",
  10345. "items": {
  10346. "$ref": "#/definitions/models.QhjPickArea"
  10347. }
  10348. }
  10349. },
  10350. "500": {
  10351. "description": "Internal Server Error",
  10352. "schema": {
  10353. "$ref": "#/definitions/app.Response"
  10354. }
  10355. }
  10356. }
  10357. }
  10358. },
  10359. "/Qhj/QueryPickGoods": {
  10360. "get": {
  10361. "security": [
  10362. {
  10363. "ApiKeyAuth": []
  10364. }
  10365. ],
  10366. "produces": [
  10367. "application/json"
  10368. ],
  10369. "tags": [
  10370. "大连千海金"
  10371. ],
  10372. "summary": "查询提货商品",
  10373. "parameters": [
  10374. {
  10375. "type": "integer",
  10376. "description": "交易商品id",
  10377. "name": "goodsid",
  10378. "in": "query",
  10379. "required": true
  10380. },
  10381. {
  10382. "type": "string",
  10383. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10384. "name": "status",
  10385. "in": "query"
  10386. }
  10387. ],
  10388. "responses": {
  10389. "200": {
  10390. "description": "OK",
  10391. "schema": {
  10392. "type": "array",
  10393. "items": {
  10394. "$ref": "#/definitions/models.QhjPickGoods"
  10395. }
  10396. }
  10397. },
  10398. "500": {
  10399. "description": "Internal Server Error",
  10400. "schema": {
  10401. "$ref": "#/definitions/app.Response"
  10402. }
  10403. }
  10404. }
  10405. }
  10406. },
  10407. "/Qhj/QueryRSTriggerLog": {
  10408. "get": {
  10409. "security": [
  10410. {
  10411. "ApiKeyAuth": []
  10412. }
  10413. ],
  10414. "produces": [
  10415. "application/json"
  10416. ],
  10417. "tags": [
  10418. "大连千海金"
  10419. ],
  10420. "summary": "查询定投记录(定投管理/详情/定投记录)",
  10421. "parameters": [
  10422. {
  10423. "type": "integer",
  10424. "description": "用户ID",
  10425. "name": "userid",
  10426. "in": "query"
  10427. },
  10428. {
  10429. "type": "integer",
  10430. "description": "定投策略id",
  10431. "name": "regularlystrategyid",
  10432. "in": "query"
  10433. },
  10434. {
  10435. "type": "integer",
  10436. "description": "商品id",
  10437. "name": "goodsid",
  10438. "in": "query"
  10439. },
  10440. {
  10441. "type": "string",
  10442. "description": "开始交易日(yyyymmdd)",
  10443. "name": "begindate",
  10444. "in": "query"
  10445. },
  10446. {
  10447. "type": "string",
  10448. "description": "结束交易日(yyyymmdd)",
  10449. "name": "enddate",
  10450. "in": "query"
  10451. },
  10452. {
  10453. "type": "string",
  10454. "description": "名称(模糊搜索账户)",
  10455. "name": "filtername",
  10456. "in": "query"
  10457. }
  10458. ],
  10459. "responses": {
  10460. "200": {
  10461. "description": "OK",
  10462. "schema": {
  10463. "type": "array",
  10464. "items": {
  10465. "$ref": "#/definitions/models.QhjRSTriggerLog"
  10466. }
  10467. }
  10468. },
  10469. "500": {
  10470. "description": "Internal Server Error",
  10471. "schema": {
  10472. "$ref": "#/definitions/app.Response"
  10473. }
  10474. }
  10475. }
  10476. }
  10477. },
  10478. "/Qhj/QueryRStrategy": {
  10479. "get": {
  10480. "security": [
  10481. {
  10482. "ApiKeyAuth": []
  10483. }
  10484. ],
  10485. "produces": [
  10486. "application/json"
  10487. ],
  10488. "tags": [
  10489. "大连千海金"
  10490. ],
  10491. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  10492. "parameters": [
  10493. {
  10494. "type": "integer",
  10495. "description": "用户ID",
  10496. "name": "userid",
  10497. "in": "query"
  10498. },
  10499. {
  10500. "type": "integer",
  10501. "description": "商品id",
  10502. "name": "goodsid",
  10503. "in": "query"
  10504. },
  10505. {
  10506. "type": "string",
  10507. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  10508. "name": "status",
  10509. "in": "query"
  10510. },
  10511. {
  10512. "type": "string",
  10513. "description": "名称(模糊搜索账户)",
  10514. "name": "filtername",
  10515. "in": "query"
  10516. }
  10517. ],
  10518. "responses": {
  10519. "200": {
  10520. "description": "OK",
  10521. "schema": {
  10522. "type": "array",
  10523. "items": {
  10524. "$ref": "#/definitions/models.QhjRStrategy"
  10525. }
  10526. }
  10527. },
  10528. "500": {
  10529. "description": "Internal Server Error",
  10530. "schema": {
  10531. "$ref": "#/definitions/app.Response"
  10532. }
  10533. }
  10534. }
  10535. }
  10536. },
  10537. "/Qhj/QueryReckonPriceLog": {
  10538. "get": {
  10539. "security": [
  10540. {
  10541. "ApiKeyAuth": []
  10542. }
  10543. ],
  10544. "produces": [
  10545. "application/json"
  10546. ],
  10547. "tags": [
  10548. "大连千海金"
  10549. ],
  10550. "summary": "查询定投价(结算价)",
  10551. "parameters": [
  10552. {
  10553. "type": "integer",
  10554. "description": "商品ID",
  10555. "name": "goodsid",
  10556. "in": "query"
  10557. },
  10558. {
  10559. "type": "string",
  10560. "description": "交易日 格式(yyyymmdd)",
  10561. "name": "tradedate",
  10562. "in": "query"
  10563. }
  10564. ],
  10565. "responses": {
  10566. "200": {
  10567. "description": "OK",
  10568. "schema": {
  10569. "type": "array",
  10570. "items": {
  10571. "$ref": "#/definitions/models.QhjReckonPriceLog"
  10572. }
  10573. }
  10574. },
  10575. "500": {
  10576. "description": "Internal Server Error",
  10577. "schema": {
  10578. "$ref": "#/definitions/app.Response"
  10579. }
  10580. }
  10581. }
  10582. }
  10583. },
  10584. "/Qhj/QueryScoreLog": {
  10585. "get": {
  10586. "security": [
  10587. {
  10588. "ApiKeyAuth": []
  10589. }
  10590. ],
  10591. "produces": [
  10592. "application/json"
  10593. ],
  10594. "tags": [
  10595. "大连千海金"
  10596. ],
  10597. "summary": "查询积分流水(我的积分)",
  10598. "parameters": [
  10599. {
  10600. "type": "integer",
  10601. "description": "用户ID",
  10602. "name": "userid",
  10603. "in": "query",
  10604. "required": true
  10605. },
  10606. {
  10607. "type": "string",
  10608. "description": "开始交易日(yyyymmdd)",
  10609. "name": "begindate",
  10610. "in": "query"
  10611. },
  10612. {
  10613. "type": "string",
  10614. "description": "结束交易日(yyyymmdd)",
  10615. "name": "enddate",
  10616. "in": "query"
  10617. },
  10618. {
  10619. "type": "integer",
  10620. "description": "最近多少条",
  10621. "name": "lastnum",
  10622. "in": "query"
  10623. }
  10624. ],
  10625. "responses": {
  10626. "200": {
  10627. "description": "OK",
  10628. "schema": {
  10629. "type": "array",
  10630. "items": {
  10631. "$ref": "#/definitions/models.QhjScoreLog"
  10632. }
  10633. }
  10634. },
  10635. "500": {
  10636. "description": "Internal Server Error",
  10637. "schema": {
  10638. "$ref": "#/definitions/app.Response"
  10639. }
  10640. }
  10641. }
  10642. }
  10643. },
  10644. "/Qhj/QuerySiteColumnDetail": {
  10645. "get": {
  10646. "security": [
  10647. {
  10648. "ApiKeyAuth": []
  10649. }
  10650. ],
  10651. "produces": [
  10652. "application/json"
  10653. ],
  10654. "tags": [
  10655. "大连千海金"
  10656. ],
  10657. "summary": "查询资讯",
  10658. "parameters": [
  10659. {
  10660. "type": "integer",
  10661. "description": "用户ID",
  10662. "name": "userid",
  10663. "in": "query",
  10664. "required": true
  10665. }
  10666. ],
  10667. "responses": {
  10668. "200": {
  10669. "description": "OK",
  10670. "schema": {
  10671. "type": "array",
  10672. "items": {
  10673. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10674. }
  10675. }
  10676. },
  10677. "500": {
  10678. "description": "Internal Server Error",
  10679. "schema": {
  10680. "$ref": "#/definitions/app.Response"
  10681. }
  10682. }
  10683. }
  10684. }
  10685. },
  10686. "/Qhj/QueryTradeGoodsPickup": {
  10687. "get": {
  10688. "security": [
  10689. {
  10690. "ApiKeyAuth": []
  10691. }
  10692. ],
  10693. "produces": [
  10694. "application/json"
  10695. ],
  10696. "tags": [
  10697. "大连千海金"
  10698. ],
  10699. "summary": "查询提货",
  10700. "parameters": [
  10701. {
  10702. "type": "integer",
  10703. "description": "用户ID",
  10704. "name": "userid",
  10705. "in": "query",
  10706. "required": true
  10707. },
  10708. {
  10709. "type": "integer",
  10710. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  10711. "name": "takeorderstatus",
  10712. "in": "query"
  10713. }
  10714. ],
  10715. "responses": {
  10716. "200": {
  10717. "description": "OK",
  10718. "schema": {
  10719. "type": "array",
  10720. "items": {
  10721. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  10722. }
  10723. }
  10724. },
  10725. "500": {
  10726. "description": "Internal Server Error",
  10727. "schema": {
  10728. "$ref": "#/definitions/app.Response"
  10729. }
  10730. }
  10731. }
  10732. }
  10733. },
  10734. "/Qhj/QueryUserCollectConfig": {
  10735. "get": {
  10736. "security": [
  10737. {
  10738. "ApiKeyAuth": []
  10739. }
  10740. ],
  10741. "produces": [
  10742. "application/json"
  10743. ],
  10744. "tags": [
  10745. "大连千海金"
  10746. ],
  10747. "summary": "查询提现账户设置",
  10748. "parameters": [
  10749. {
  10750. "type": "integer",
  10751. "description": "用户ID",
  10752. "name": "userid",
  10753. "in": "query",
  10754. "required": true
  10755. }
  10756. ],
  10757. "responses": {
  10758. "200": {
  10759. "description": "OK",
  10760. "schema": {
  10761. "type": "array",
  10762. "items": {
  10763. "$ref": "#/definitions/models.UserCollectConfig"
  10764. }
  10765. }
  10766. },
  10767. "500": {
  10768. "description": "Internal Server Error",
  10769. "schema": {
  10770. "$ref": "#/definitions/app.Response"
  10771. }
  10772. }
  10773. }
  10774. }
  10775. },
  10776. "/Qhj/QueryUserReceiveInfo": {
  10777. "get": {
  10778. "security": [
  10779. {
  10780. "ApiKeyAuth": []
  10781. }
  10782. ],
  10783. "produces": [
  10784. "application/json"
  10785. ],
  10786. "tags": [
  10787. "大连千海金"
  10788. ],
  10789. "summary": "查询收货地址信息",
  10790. "parameters": [
  10791. {
  10792. "type": "integer",
  10793. "description": "用户ID",
  10794. "name": "userid",
  10795. "in": "query",
  10796. "required": true
  10797. }
  10798. ],
  10799. "responses": {
  10800. "200": {
  10801. "description": "OK",
  10802. "schema": {
  10803. "type": "array",
  10804. "items": {
  10805. "$ref": "#/definitions/models.UserReceiveInfo"
  10806. }
  10807. }
  10808. },
  10809. "500": {
  10810. "description": "Internal Server Error",
  10811. "schema": {
  10812. "$ref": "#/definitions/app.Response"
  10813. }
  10814. }
  10815. }
  10816. }
  10817. },
  10818. "/QhjMgr/QueryAccountInOutApply": {
  10819. "get": {
  10820. "security": [
  10821. {
  10822. "ApiKeyAuth": []
  10823. }
  10824. ],
  10825. "produces": [
  10826. "application/json"
  10827. ],
  10828. "tags": [
  10829. "大连千海金(PCWeb)"
  10830. ],
  10831. "summary": "查询充值提现",
  10832. "parameters": [
  10833. {
  10834. "type": "integer",
  10835. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  10836. "name": "querytype",
  10837. "in": "query",
  10838. "required": true
  10839. },
  10840. {
  10841. "type": "integer",
  10842. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10843. "name": "applystatus",
  10844. "in": "query"
  10845. },
  10846. {
  10847. "type": "string",
  10848. "description": "申请起始日期(格式yyyymmdd)",
  10849. "name": "begindate",
  10850. "in": "query"
  10851. },
  10852. {
  10853. "type": "string",
  10854. "description": "申请截止日期(格式yyyymmdd)",
  10855. "name": "enddate",
  10856. "in": "query"
  10857. },
  10858. {
  10859. "type": "string",
  10860. "description": "模糊搜索名称",
  10861. "name": "likename",
  10862. "in": "query"
  10863. }
  10864. ],
  10865. "responses": {
  10866. "200": {
  10867. "description": "OK",
  10868. "schema": {
  10869. "type": "array",
  10870. "items": {
  10871. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  10872. }
  10873. }
  10874. },
  10875. "500": {
  10876. "description": "Internal Server Error",
  10877. "schema": {
  10878. "$ref": "#/definitions/app.Response"
  10879. }
  10880. }
  10881. }
  10882. }
  10883. },
  10884. "/QhjMgr/QueryBrokerApply": {
  10885. "get": {
  10886. "security": [
  10887. {
  10888. "ApiKeyAuth": []
  10889. }
  10890. ],
  10891. "produces": [
  10892. "application/json"
  10893. ],
  10894. "tags": [
  10895. "大连千海金(PCWeb)"
  10896. ],
  10897. "summary": "查询经纪人申请",
  10898. "parameters": [
  10899. {
  10900. "type": "integer",
  10901. "description": "所属机构ID",
  10902. "name": "userid",
  10903. "in": "query"
  10904. },
  10905. {
  10906. "type": "string",
  10907. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10908. "name": "filterstatus",
  10909. "in": "query"
  10910. },
  10911. {
  10912. "type": "string",
  10913. "description": "名称(模糊匹配)",
  10914. "name": "filtername",
  10915. "in": "query"
  10916. },
  10917. {
  10918. "type": "integer",
  10919. "description": "是否包含子级 1-包含",
  10920. "name": "includesub",
  10921. "in": "query"
  10922. }
  10923. ],
  10924. "responses": {
  10925. "200": {
  10926. "description": "OK",
  10927. "schema": {
  10928. "type": "array",
  10929. "items": {
  10930. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  10931. }
  10932. }
  10933. },
  10934. "500": {
  10935. "description": "Internal Server Error",
  10936. "schema": {
  10937. "$ref": "#/definitions/app.Response"
  10938. }
  10939. }
  10940. }
  10941. }
  10942. },
  10943. "/QhjMgr/QueryBrokerRewardReport": {
  10944. "get": {
  10945. "security": [
  10946. {
  10947. "ApiKeyAuth": []
  10948. }
  10949. ],
  10950. "produces": [
  10951. "application/json"
  10952. ],
  10953. "tags": [
  10954. "大连千海金(PCWeb)"
  10955. ],
  10956. "summary": "查询经纪人奖励报表(废弃)",
  10957. "parameters": [
  10958. {
  10959. "type": "integer",
  10960. "description": "所属机构ID",
  10961. "name": "userid",
  10962. "in": "query",
  10963. "required": true
  10964. },
  10965. {
  10966. "type": "integer",
  10967. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10968. "name": "cycletype",
  10969. "in": "query",
  10970. "required": true
  10971. },
  10972. {
  10973. "type": "string",
  10974. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  10975. "name": "cycletime",
  10976. "in": "query",
  10977. "required": true
  10978. },
  10979. {
  10980. "type": "string",
  10981. "description": "名称(模糊匹配)",
  10982. "name": "filtername",
  10983. "in": "query"
  10984. },
  10985. {
  10986. "type": "integer",
  10987. "description": "是否包含子级 1-包含",
  10988. "name": "includesub",
  10989. "in": "query"
  10990. }
  10991. ],
  10992. "responses": {
  10993. "200": {
  10994. "description": "OK",
  10995. "schema": {
  10996. "type": "array",
  10997. "items": {
  10998. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  10999. }
  11000. }
  11001. },
  11002. "500": {
  11003. "description": "Internal Server Error",
  11004. "schema": {
  11005. "$ref": "#/definitions/app.Response"
  11006. }
  11007. }
  11008. }
  11009. }
  11010. },
  11011. "/QhjMgr/QueryContract": {
  11012. "get": {
  11013. "security": [
  11014. {
  11015. "ApiKeyAuth": []
  11016. }
  11017. ],
  11018. "produces": [
  11019. "application/json"
  11020. ],
  11021. "tags": [
  11022. "大连千海金(PCWeb)"
  11023. ],
  11024. "summary": "查询融资信息(合同)",
  11025. "parameters": [
  11026. {
  11027. "type": "integer",
  11028. "description": "用户ID",
  11029. "name": "userid",
  11030. "in": "query"
  11031. },
  11032. {
  11033. "type": "integer",
  11034. "description": "商品id",
  11035. "name": "goodsid",
  11036. "in": "query"
  11037. },
  11038. {
  11039. "type": "string",
  11040. "description": "名称(模糊搜索账户)",
  11041. "name": "filtername",
  11042. "in": "query"
  11043. },
  11044. {
  11045. "type": "string",
  11046. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  11047. "name": "risklevel",
  11048. "in": "query"
  11049. },
  11050. {
  11051. "type": "string",
  11052. "description": "开始交易日(yyyymmdd)",
  11053. "name": "begindate",
  11054. "in": "query"
  11055. },
  11056. {
  11057. "type": "string",
  11058. "description": "结束交易日(yyyymmdd)",
  11059. "name": "enddate",
  11060. "in": "query"
  11061. }
  11062. ],
  11063. "responses": {
  11064. "200": {
  11065. "description": "OK",
  11066. "schema": {
  11067. "type": "array",
  11068. "items": {
  11069. "$ref": "#/definitions/models.QhjMgrContract"
  11070. }
  11071. }
  11072. },
  11073. "500": {
  11074. "description": "Internal Server Error",
  11075. "schema": {
  11076. "$ref": "#/definitions/app.Response"
  11077. }
  11078. }
  11079. }
  11080. }
  11081. },
  11082. "/QhjMgr/QueryCustomerInfo": {
  11083. "get": {
  11084. "security": [
  11085. {
  11086. "ApiKeyAuth": []
  11087. }
  11088. ],
  11089. "produces": [
  11090. "application/json"
  11091. ],
  11092. "tags": [
  11093. "大连千海金(PCWeb)"
  11094. ],
  11095. "summary": "查询客户资料",
  11096. "parameters": [
  11097. {
  11098. "type": "integer",
  11099. "description": "用户ID",
  11100. "name": "userid",
  11101. "in": "query",
  11102. "required": true
  11103. },
  11104. {
  11105. "type": "integer",
  11106. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  11107. "name": "querytype",
  11108. "in": "query",
  11109. "required": true
  11110. },
  11111. {
  11112. "type": "integer",
  11113. "description": "客户类型 1-个人 2-企业",
  11114. "name": "userinfotype",
  11115. "in": "query"
  11116. },
  11117. {
  11118. "type": "string",
  11119. "description": "客户名称(模糊匹配)",
  11120. "name": "customername",
  11121. "in": "query"
  11122. },
  11123. {
  11124. "type": "string",
  11125. "description": "昵称(模糊匹配)",
  11126. "name": "nickname",
  11127. "in": "query"
  11128. },
  11129. {
  11130. "type": "string",
  11131. "description": "所属客户经理(模糊匹配)",
  11132. "name": "brokername",
  11133. "in": "query"
  11134. },
  11135. {
  11136. "type": "string",
  11137. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  11138. "name": "birthday",
  11139. "in": "query"
  11140. },
  11141. {
  11142. "type": "integer",
  11143. "description": "是否包含子级 1-包含",
  11144. "name": "includesub",
  11145. "in": "query"
  11146. }
  11147. ],
  11148. "responses": {
  11149. "200": {
  11150. "description": "OK",
  11151. "schema": {
  11152. "type": "array",
  11153. "items": {
  11154. "$ref": "#/definitions/models.QhjMgrCustomer"
  11155. }
  11156. }
  11157. },
  11158. "500": {
  11159. "description": "Internal Server Error",
  11160. "schema": {
  11161. "$ref": "#/definitions/app.Response"
  11162. }
  11163. }
  11164. }
  11165. }
  11166. },
  11167. "/QhjMgr/QueryPickGoods": {
  11168. "get": {
  11169. "security": [
  11170. {
  11171. "ApiKeyAuth": []
  11172. }
  11173. ],
  11174. "produces": [
  11175. "application/json"
  11176. ],
  11177. "tags": [
  11178. "大连千海金(PCWeb)"
  11179. ],
  11180. "summary": "查询提货商品",
  11181. "parameters": [
  11182. {
  11183. "type": "string",
  11184. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  11185. "name": "status",
  11186. "in": "query"
  11187. }
  11188. ],
  11189. "responses": {
  11190. "200": {
  11191. "description": "OK",
  11192. "schema": {
  11193. "type": "array",
  11194. "items": {
  11195. "$ref": "#/definitions/models.QhjMgrPickGoods"
  11196. }
  11197. }
  11198. },
  11199. "500": {
  11200. "description": "Internal Server Error",
  11201. "schema": {
  11202. "$ref": "#/definitions/app.Response"
  11203. }
  11204. }
  11205. }
  11206. }
  11207. },
  11208. "/QhjMgr/QuerySubArea": {
  11209. "get": {
  11210. "security": [
  11211. {
  11212. "ApiKeyAuth": []
  11213. }
  11214. ],
  11215. "produces": [
  11216. "application/json"
  11217. ],
  11218. "tags": [
  11219. "大连千海金(PCWeb)"
  11220. ],
  11221. "summary": "查询子机构列表",
  11222. "parameters": [
  11223. {
  11224. "type": "integer",
  11225. "description": "用户ID",
  11226. "name": "userid",
  11227. "in": "query",
  11228. "required": true
  11229. }
  11230. ],
  11231. "responses": {
  11232. "200": {
  11233. "description": "OK",
  11234. "schema": {
  11235. "type": "array",
  11236. "items": {
  11237. "$ref": "#/definitions/models.QhjMgrSubArea"
  11238. }
  11239. }
  11240. },
  11241. "500": {
  11242. "description": "Internal Server Error",
  11243. "schema": {
  11244. "$ref": "#/definitions/app.Response"
  11245. }
  11246. }
  11247. }
  11248. }
  11249. },
  11250. "/QhjMgr/QueryTradeDetail": {
  11251. "get": {
  11252. "security": [
  11253. {
  11254. "ApiKeyAuth": []
  11255. }
  11256. ],
  11257. "produces": [
  11258. "application/json"
  11259. ],
  11260. "tags": [
  11261. "大连千海金(PCWeb)"
  11262. ],
  11263. "summary": "查询成交明细",
  11264. "parameters": [
  11265. {
  11266. "type": "integer",
  11267. "description": "用户ID",
  11268. "name": "userid",
  11269. "in": "query",
  11270. "required": true
  11271. },
  11272. {
  11273. "type": "integer",
  11274. "description": "用户类型 1-个人 2-企业",
  11275. "name": "userinfotype",
  11276. "in": "query"
  11277. },
  11278. {
  11279. "type": "integer",
  11280. "description": "交易模式",
  11281. "name": "trademode",
  11282. "in": "query"
  11283. },
  11284. {
  11285. "type": "integer",
  11286. "description": "商品id",
  11287. "name": "goodsid",
  11288. "in": "query"
  11289. },
  11290. {
  11291. "type": "string",
  11292. "description": "名称(模糊搜索账户)",
  11293. "name": "filtername",
  11294. "in": "query"
  11295. },
  11296. {
  11297. "type": "string",
  11298. "description": "开始交易日(yyyymmdd)",
  11299. "name": "begindate",
  11300. "in": "query"
  11301. },
  11302. {
  11303. "type": "string",
  11304. "description": "结束交易日(yyyymmdd)",
  11305. "name": "enddate",
  11306. "in": "query"
  11307. },
  11308. {
  11309. "type": "integer",
  11310. "description": "是否包含子级 1-包含",
  11311. "name": "includesub",
  11312. "in": "query"
  11313. }
  11314. ],
  11315. "responses": {
  11316. "200": {
  11317. "description": "OK",
  11318. "schema": {
  11319. "type": "array",
  11320. "items": {
  11321. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  11322. }
  11323. }
  11324. },
  11325. "500": {
  11326. "description": "Internal Server Error",
  11327. "schema": {
  11328. "$ref": "#/definitions/app.Response"
  11329. }
  11330. }
  11331. }
  11332. }
  11333. },
  11334. "/QhjMgr/QueryTradeOrderDetail": {
  11335. "get": {
  11336. "security": [
  11337. {
  11338. "ApiKeyAuth": []
  11339. }
  11340. ],
  11341. "produces": [
  11342. "application/json"
  11343. ],
  11344. "tags": [
  11345. "大连千海金(PCWeb)"
  11346. ],
  11347. "summary": "查询委托明细",
  11348. "parameters": [
  11349. {
  11350. "type": "integer",
  11351. "description": "用户ID",
  11352. "name": "userid",
  11353. "in": "query",
  11354. "required": true
  11355. },
  11356. {
  11357. "type": "integer",
  11358. "description": "用户类型 1-个人 2-企业",
  11359. "name": "userinfotype",
  11360. "in": "query"
  11361. },
  11362. {
  11363. "type": "integer",
  11364. "description": "交易模式",
  11365. "name": "trademode",
  11366. "in": "query"
  11367. },
  11368. {
  11369. "type": "integer",
  11370. "description": "商品id",
  11371. "name": "goodsid",
  11372. "in": "query"
  11373. },
  11374. {
  11375. "type": "string",
  11376. "description": "名称(模糊搜索账户)",
  11377. "name": "filtername",
  11378. "in": "query"
  11379. },
  11380. {
  11381. "type": "string",
  11382. "description": "开始交易日(yyyymmdd)",
  11383. "name": "begindate",
  11384. "in": "query"
  11385. },
  11386. {
  11387. "type": "string",
  11388. "description": "结束交易日(yyyymmdd)",
  11389. "name": "enddate",
  11390. "in": "query"
  11391. },
  11392. {
  11393. "type": "integer",
  11394. "description": "是否包含子级 1-包含",
  11395. "name": "includesub",
  11396. "in": "query"
  11397. }
  11398. ],
  11399. "responses": {
  11400. "200": {
  11401. "description": "OK",
  11402. "schema": {
  11403. "type": "array",
  11404. "items": {
  11405. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  11406. }
  11407. }
  11408. },
  11409. "500": {
  11410. "description": "Internal Server Error",
  11411. "schema": {
  11412. "$ref": "#/definitions/app.Response"
  11413. }
  11414. }
  11415. }
  11416. }
  11417. },
  11418. "/QhjMgr/QueryTradePayOrder": {
  11419. "get": {
  11420. "security": [
  11421. {
  11422. "ApiKeyAuth": []
  11423. }
  11424. ],
  11425. "produces": [
  11426. "application/json"
  11427. ],
  11428. "tags": [
  11429. "大连千海金(PCWeb)"
  11430. ],
  11431. "summary": "查询待付款单",
  11432. "parameters": [
  11433. {
  11434. "type": "integer",
  11435. "description": "用户ID",
  11436. "name": "userid",
  11437. "in": "query",
  11438. "required": true
  11439. },
  11440. {
  11441. "type": "string",
  11442. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11443. "name": "payflag",
  11444. "in": "query"
  11445. },
  11446. {
  11447. "type": "integer",
  11448. "description": "用户类型 1-个人 2-企业",
  11449. "name": "userinfotype",
  11450. "in": "query"
  11451. },
  11452. {
  11453. "type": "integer",
  11454. "description": "交易模式",
  11455. "name": "trademode",
  11456. "in": "query"
  11457. },
  11458. {
  11459. "type": "integer",
  11460. "description": "商品id",
  11461. "name": "goodsid",
  11462. "in": "query"
  11463. },
  11464. {
  11465. "type": "string",
  11466. "description": "名称(模糊搜索账户)",
  11467. "name": "filtername",
  11468. "in": "query"
  11469. },
  11470. {
  11471. "type": "string",
  11472. "description": "开始交易日(yyyymmdd)",
  11473. "name": "begindate",
  11474. "in": "query"
  11475. },
  11476. {
  11477. "type": "string",
  11478. "description": "结束交易日(yyyymmdd)",
  11479. "name": "enddate",
  11480. "in": "query"
  11481. },
  11482. {
  11483. "type": "integer",
  11484. "description": "是否包含子级 1-包含",
  11485. "name": "includesub",
  11486. "in": "query"
  11487. }
  11488. ],
  11489. "responses": {
  11490. "200": {
  11491. "description": "OK",
  11492. "schema": {
  11493. "type": "array",
  11494. "items": {
  11495. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  11496. }
  11497. }
  11498. },
  11499. "500": {
  11500. "description": "Internal Server Error",
  11501. "schema": {
  11502. "$ref": "#/definitions/app.Response"
  11503. }
  11504. }
  11505. }
  11506. }
  11507. },
  11508. "/QhjMgr/QueryTradePosition": {
  11509. "get": {
  11510. "security": [
  11511. {
  11512. "ApiKeyAuth": []
  11513. }
  11514. ],
  11515. "produces": [
  11516. "application/json"
  11517. ],
  11518. "tags": [
  11519. "大连千海金(PCWeb)"
  11520. ],
  11521. "summary": "查询持仓汇总",
  11522. "parameters": [
  11523. {
  11524. "type": "integer",
  11525. "description": "用户ID",
  11526. "name": "userid",
  11527. "in": "query",
  11528. "required": true
  11529. },
  11530. {
  11531. "type": "integer",
  11532. "description": "用户类型 1-个人 2-企业",
  11533. "name": "userinfotype",
  11534. "in": "query"
  11535. },
  11536. {
  11537. "type": "integer",
  11538. "description": "交易模式",
  11539. "name": "trademode",
  11540. "in": "query"
  11541. },
  11542. {
  11543. "type": "integer",
  11544. "description": "商品id",
  11545. "name": "goodsid",
  11546. "in": "query"
  11547. },
  11548. {
  11549. "type": "string",
  11550. "description": "名称(模糊搜索账户)",
  11551. "name": "filtername",
  11552. "in": "query"
  11553. },
  11554. {
  11555. "type": "integer",
  11556. "description": "是否包含子级 1-包含",
  11557. "name": "includesub",
  11558. "in": "query"
  11559. }
  11560. ],
  11561. "responses": {
  11562. "200": {
  11563. "description": "OK",
  11564. "schema": {
  11565. "type": "array",
  11566. "items": {
  11567. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  11568. }
  11569. }
  11570. },
  11571. "500": {
  11572. "description": "Internal Server Error",
  11573. "schema": {
  11574. "$ref": "#/definitions/app.Response"
  11575. }
  11576. }
  11577. }
  11578. }
  11579. },
  11580. "/QhjSys/QueryAgreementChangeLog": {
  11581. "get": {
  11582. "security": [
  11583. {
  11584. "ApiKeyAuth": []
  11585. }
  11586. ],
  11587. "produces": [
  11588. "application/json"
  11589. ],
  11590. "tags": [
  11591. "大连千海金(协议和签约信息)"
  11592. ],
  11593. "summary": "查询协议配置变更流水",
  11594. "parameters": [
  11595. {
  11596. "type": "integer",
  11597. "description": "协议ID",
  11598. "name": "agreementid",
  11599. "in": "query"
  11600. },
  11601. {
  11602. "type": "integer",
  11603. "description": "协议版本号",
  11604. "name": "agreementversion",
  11605. "in": "query"
  11606. },
  11607. {
  11608. "type": "integer",
  11609. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11610. "name": "agreementtype",
  11611. "in": "query"
  11612. },
  11613. {
  11614. "type": "string",
  11615. "description": "协议编号(模糊匹配)",
  11616. "name": "agreementno",
  11617. "in": "query"
  11618. },
  11619. {
  11620. "type": "string",
  11621. "description": "协议名称(模糊匹配)",
  11622. "name": "agreementname",
  11623. "in": "query"
  11624. }
  11625. ],
  11626. "responses": {
  11627. "200": {
  11628. "description": "OK",
  11629. "schema": {
  11630. "type": "array",
  11631. "items": {
  11632. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  11633. }
  11634. }
  11635. },
  11636. "500": {
  11637. "description": "Internal Server Error",
  11638. "schema": {
  11639. "$ref": "#/definitions/app.Response"
  11640. }
  11641. }
  11642. }
  11643. }
  11644. },
  11645. "/QhjSys/QueryAgreementConfig": {
  11646. "get": {
  11647. "security": [
  11648. {
  11649. "ApiKeyAuth": []
  11650. }
  11651. ],
  11652. "produces": [
  11653. "application/json"
  11654. ],
  11655. "tags": [
  11656. "大连千海金(协议和签约信息)"
  11657. ],
  11658. "summary": "查询协议配置",
  11659. "parameters": [
  11660. {
  11661. "type": "integer",
  11662. "description": "协议ID",
  11663. "name": "agreementid",
  11664. "in": "query"
  11665. },
  11666. {
  11667. "type": "integer",
  11668. "description": "协议版本号",
  11669. "name": "agreementversion",
  11670. "in": "query"
  11671. },
  11672. {
  11673. "type": "integer",
  11674. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11675. "name": "agreementtype",
  11676. "in": "query"
  11677. },
  11678. {
  11679. "type": "integer",
  11680. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11681. "name": "isvalid",
  11682. "in": "query"
  11683. },
  11684. {
  11685. "type": "string",
  11686. "description": "协议编号(模糊匹配)",
  11687. "name": "agreementno",
  11688. "in": "query"
  11689. },
  11690. {
  11691. "type": "string",
  11692. "description": "协议名称(模糊匹配)",
  11693. "name": "agreementname",
  11694. "in": "query"
  11695. }
  11696. ],
  11697. "responses": {
  11698. "200": {
  11699. "description": "OK",
  11700. "schema": {
  11701. "type": "array",
  11702. "items": {
  11703. "$ref": "#/definitions/models.QhjAgreementConfig"
  11704. }
  11705. }
  11706. },
  11707. "500": {
  11708. "description": "Internal Server Error",
  11709. "schema": {
  11710. "$ref": "#/definitions/app.Response"
  11711. }
  11712. }
  11713. }
  11714. }
  11715. },
  11716. "/QhjSys/QueryCustomerSignStatus": {
  11717. "get": {
  11718. "security": [
  11719. {
  11720. "ApiKeyAuth": []
  11721. }
  11722. ],
  11723. "produces": [
  11724. "application/json"
  11725. ],
  11726. "tags": [
  11727. "大连千海金(协议和签约信息)"
  11728. ],
  11729. "summary": "查询客户协议签约状态",
  11730. "parameters": [
  11731. {
  11732. "type": "integer",
  11733. "description": "客户ID",
  11734. "name": "userid",
  11735. "in": "query"
  11736. },
  11737. {
  11738. "type": "integer",
  11739. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  11740. "name": "nodetype",
  11741. "in": "query"
  11742. },
  11743. {
  11744. "type": "integer",
  11745. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11746. "name": "goodsid",
  11747. "in": "query"
  11748. },
  11749. {
  11750. "type": "string",
  11751. "description": "创建交易日(yyyyMMdd)",
  11752. "name": "tradedate",
  11753. "in": "query"
  11754. },
  11755. {
  11756. "type": "string",
  11757. "description": "用户名称(模糊匹配)",
  11758. "name": "username",
  11759. "in": "query"
  11760. }
  11761. ],
  11762. "responses": {
  11763. "200": {
  11764. "description": "OK",
  11765. "schema": {
  11766. "type": "array",
  11767. "items": {
  11768. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  11769. }
  11770. }
  11771. },
  11772. "500": {
  11773. "description": "Internal Server Error",
  11774. "schema": {
  11775. "$ref": "#/definitions/app.Response"
  11776. }
  11777. }
  11778. }
  11779. }
  11780. },
  11781. "/QhjSys/QueryNodeAgreementConfig": {
  11782. "get": {
  11783. "security": [
  11784. {
  11785. "ApiKeyAuth": []
  11786. }
  11787. ],
  11788. "produces": [
  11789. "application/json"
  11790. ],
  11791. "tags": [
  11792. "大连千海金(协议和签约信息)"
  11793. ],
  11794. "summary": "查询协议节点配置",
  11795. "parameters": [
  11796. {
  11797. "type": "integer",
  11798. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11799. "name": "configid",
  11800. "in": "query"
  11801. },
  11802. {
  11803. "type": "integer",
  11804. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11805. "name": "nodetype",
  11806. "in": "query"
  11807. },
  11808. {
  11809. "type": "integer",
  11810. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11811. "name": "goodsid",
  11812. "in": "query"
  11813. },
  11814. {
  11815. "type": "integer",
  11816. "description": "协议ID",
  11817. "name": "agreementid",
  11818. "in": "query"
  11819. },
  11820. {
  11821. "type": "integer",
  11822. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11823. "name": "agreementtype",
  11824. "in": "query"
  11825. },
  11826. {
  11827. "type": "integer",
  11828. "description": "协议版本号",
  11829. "name": "agreementversion",
  11830. "in": "query"
  11831. },
  11832. {
  11833. "type": "string",
  11834. "description": "协议编号(模糊匹配)",
  11835. "name": "agreementno",
  11836. "in": "query"
  11837. },
  11838. {
  11839. "type": "string",
  11840. "description": "协议名称(模糊匹配)",
  11841. "name": "agreementname",
  11842. "in": "query"
  11843. }
  11844. ],
  11845. "responses": {
  11846. "200": {
  11847. "description": "OK",
  11848. "schema": {
  11849. "type": "array",
  11850. "items": {
  11851. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  11852. }
  11853. }
  11854. },
  11855. "500": {
  11856. "description": "Internal Server Error",
  11857. "schema": {
  11858. "$ref": "#/definitions/app.Response"
  11859. }
  11860. }
  11861. }
  11862. }
  11863. },
  11864. "/QhjSys/QueryQhjCustomerSignLog": {
  11865. "get": {
  11866. "security": [
  11867. {
  11868. "ApiKeyAuth": []
  11869. }
  11870. ],
  11871. "produces": [
  11872. "application/json"
  11873. ],
  11874. "tags": [
  11875. "大连千海金(协议和签约信息)"
  11876. ],
  11877. "summary": "查询客户协议签约流水",
  11878. "parameters": [
  11879. {
  11880. "type": "integer",
  11881. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  11882. "name": "logid",
  11883. "in": "query"
  11884. },
  11885. {
  11886. "type": "integer",
  11887. "description": "客户ID",
  11888. "name": "userid",
  11889. "in": "query"
  11890. },
  11891. {
  11892. "type": "integer",
  11893. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11894. "name": "nodetype",
  11895. "in": "query"
  11896. },
  11897. {
  11898. "type": "integer",
  11899. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11900. "name": "goodsid",
  11901. "in": "query"
  11902. },
  11903. {
  11904. "type": "integer",
  11905. "description": "协议ID",
  11906. "name": "agreementid",
  11907. "in": "query"
  11908. },
  11909. {
  11910. "type": "string",
  11911. "description": "用户名称(模糊匹配)",
  11912. "name": "username",
  11913. "in": "query"
  11914. },
  11915. {
  11916. "type": "string",
  11917. "description": "协议编号(模糊匹配)",
  11918. "name": "agreementno",
  11919. "in": "query"
  11920. },
  11921. {
  11922. "type": "string",
  11923. "description": "协议名称(模糊匹配)",
  11924. "name": "agreementname",
  11925. "in": "query"
  11926. }
  11927. ],
  11928. "responses": {
  11929. "200": {
  11930. "description": "OK",
  11931. "schema": {
  11932. "type": "array",
  11933. "items": {
  11934. "$ref": "#/definitions/models.QhjCustomerSignLog"
  11935. }
  11936. }
  11937. },
  11938. "500": {
  11939. "description": "Internal Server Error",
  11940. "schema": {
  11941. "$ref": "#/definitions/app.Response"
  11942. }
  11943. }
  11944. }
  11945. }
  11946. },
  11947. "/QhjSys/QueryUserNodeCfgAndStatus": {
  11948. "get": {
  11949. "security": [
  11950. {
  11951. "ApiKeyAuth": []
  11952. }
  11953. ],
  11954. "produces": [
  11955. "application/json"
  11956. ],
  11957. "tags": [
  11958. "大连千海金(协议和签约信息)"
  11959. ],
  11960. "summary": "查询用户协议节点配置和状态",
  11961. "parameters": [
  11962. {
  11963. "type": "integer",
  11964. "description": "客户ID",
  11965. "name": "userid",
  11966. "in": "query"
  11967. },
  11968. {
  11969. "type": "integer",
  11970. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11971. "name": "configid",
  11972. "in": "query"
  11973. },
  11974. {
  11975. "type": "string",
  11976. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11977. "name": "nodetype",
  11978. "in": "query"
  11979. },
  11980. {
  11981. "type": "integer",
  11982. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11983. "name": "goodsid",
  11984. "in": "query"
  11985. },
  11986. {
  11987. "type": "integer",
  11988. "description": "协议ID",
  11989. "name": "agreementid",
  11990. "in": "query"
  11991. },
  11992. {
  11993. "type": "integer",
  11994. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11995. "name": "agreementtype",
  11996. "in": "query"
  11997. },
  11998. {
  11999. "type": "integer",
  12000. "description": "协议版本号",
  12001. "name": "agreementversion",
  12002. "in": "query"
  12003. },
  12004. {
  12005. "type": "string",
  12006. "description": "协议编号(模糊匹配)",
  12007. "name": "agreementno",
  12008. "in": "query"
  12009. },
  12010. {
  12011. "type": "string",
  12012. "description": "协议名称(模糊匹配)",
  12013. "name": "agreementname",
  12014. "in": "query"
  12015. }
  12016. ],
  12017. "responses": {
  12018. "200": {
  12019. "description": "OK",
  12020. "schema": {
  12021. "type": "array",
  12022. "items": {
  12023. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  12024. }
  12025. }
  12026. },
  12027. "500": {
  12028. "description": "Internal Server Error",
  12029. "schema": {
  12030. "$ref": "#/definitions/app.Response"
  12031. }
  12032. }
  12033. }
  12034. }
  12035. },
  12036. "/Quote/QueryHistoryDatas": {
  12037. "get": {
  12038. "security": [
  12039. {
  12040. "ApiKeyAuth": []
  12041. }
  12042. ],
  12043. "produces": [
  12044. "application/json"
  12045. ],
  12046. "tags": [
  12047. "行情服务"
  12048. ],
  12049. "summary": "查询行情历史数据",
  12050. "parameters": [
  12051. {
  12052. "type": "integer",
  12053. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  12054. "name": "cycleType",
  12055. "in": "query",
  12056. "required": true
  12057. },
  12058. {
  12059. "type": "string",
  12060. "description": "商品代码",
  12061. "name": "goodsCode",
  12062. "in": "query",
  12063. "required": true
  12064. },
  12065. {
  12066. "type": "string",
  12067. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12068. "name": "startTime",
  12069. "in": "query"
  12070. },
  12071. {
  12072. "type": "string",
  12073. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12074. "name": "endTime",
  12075. "in": "query"
  12076. },
  12077. {
  12078. "type": "integer",
  12079. "description": "条数",
  12080. "name": "count",
  12081. "in": "query"
  12082. },
  12083. {
  12084. "type": "boolean",
  12085. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12086. "name": "isAsc",
  12087. "in": "query"
  12088. }
  12089. ],
  12090. "responses": {
  12091. "200": {
  12092. "description": "OK",
  12093. "schema": {
  12094. "$ref": "#/definitions/quote.HistoryData"
  12095. }
  12096. },
  12097. "500": {
  12098. "description": "Internal Server Error",
  12099. "schema": {
  12100. "$ref": "#/definitions/app.Response"
  12101. }
  12102. }
  12103. }
  12104. }
  12105. },
  12106. "/Quote/QueryHistoryTikDatas": {
  12107. "get": {
  12108. "security": [
  12109. {
  12110. "ApiKeyAuth": []
  12111. }
  12112. ],
  12113. "produces": [
  12114. "application/json"
  12115. ],
  12116. "tags": [
  12117. "行情服务"
  12118. ],
  12119. "summary": "查询行情Tik数据",
  12120. "parameters": [
  12121. {
  12122. "type": "string",
  12123. "description": "商品代码",
  12124. "name": "goodsCode",
  12125. "in": "query",
  12126. "required": true
  12127. },
  12128. {
  12129. "type": "string",
  12130. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12131. "name": "startTime",
  12132. "in": "query"
  12133. },
  12134. {
  12135. "type": "string",
  12136. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12137. "name": "endTime",
  12138. "in": "query"
  12139. },
  12140. {
  12141. "type": "integer",
  12142. "description": "条数",
  12143. "name": "count",
  12144. "in": "query"
  12145. },
  12146. {
  12147. "type": "boolean",
  12148. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12149. "name": "isAsc",
  12150. "in": "query"
  12151. }
  12152. ],
  12153. "responses": {
  12154. "200": {
  12155. "description": "OK",
  12156. "schema": {
  12157. "$ref": "#/definitions/quote.HistoryTikData"
  12158. }
  12159. },
  12160. "500": {
  12161. "description": "Internal Server Error",
  12162. "schema": {
  12163. "$ref": "#/definitions/app.Response"
  12164. }
  12165. }
  12166. }
  12167. }
  12168. },
  12169. "/Quote/QueryQuoteDay": {
  12170. "get": {
  12171. "security": [
  12172. {
  12173. "ApiKeyAuth": []
  12174. }
  12175. ],
  12176. "produces": [
  12177. "application/json"
  12178. ],
  12179. "tags": [
  12180. "行情服务"
  12181. ],
  12182. "summary": "获取商品盘面信息",
  12183. "parameters": [
  12184. {
  12185. "type": "string",
  12186. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  12187. "name": "goodsCodes",
  12188. "in": "query"
  12189. }
  12190. ],
  12191. "responses": {
  12192. "200": {
  12193. "description": "OK",
  12194. "schema": {
  12195. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  12196. }
  12197. },
  12198. "500": {
  12199. "description": "Internal Server Error",
  12200. "schema": {
  12201. "$ref": "#/definitions/app.Response"
  12202. }
  12203. }
  12204. }
  12205. }
  12206. },
  12207. "/Quote/QueryTSData": {
  12208. "get": {
  12209. "security": [
  12210. {
  12211. "ApiKeyAuth": []
  12212. }
  12213. ],
  12214. "produces": [
  12215. "application/json"
  12216. ],
  12217. "tags": [
  12218. "行情服务"
  12219. ],
  12220. "summary": "分时图数据查询",
  12221. "parameters": [
  12222. {
  12223. "type": "string",
  12224. "description": "商品代码",
  12225. "name": "goodsCode",
  12226. "in": "query",
  12227. "required": true
  12228. }
  12229. ],
  12230. "responses": {
  12231. "200": {
  12232. "description": "OK",
  12233. "schema": {
  12234. "$ref": "#/definitions/quote.QueryTSDataRsp"
  12235. }
  12236. },
  12237. "500": {
  12238. "description": "Internal Server Error",
  12239. "schema": {
  12240. "$ref": "#/definitions/app.Response"
  12241. }
  12242. }
  12243. }
  12244. }
  12245. },
  12246. "/SZDZ/QueryConvertConfig": {
  12247. "get": {
  12248. "security": [
  12249. {
  12250. "ApiKeyAuth": []
  12251. }
  12252. ],
  12253. "produces": [
  12254. "application/json"
  12255. ],
  12256. "tags": [
  12257. "定制【尚志大宗】"
  12258. ],
  12259. "summary": "查询交易系统转换设置",
  12260. "parameters": [
  12261. {
  12262. "type": "integer",
  12263. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12264. "name": "convertType",
  12265. "in": "query"
  12266. },
  12267. {
  12268. "type": "string",
  12269. "description": "外部商品代码[JD\\PD]",
  12270. "name": "outerGoodsCode",
  12271. "in": "query"
  12272. },
  12273. {
  12274. "type": "string",
  12275. "description": "内部商品ID列表[交易],格式:1,2,3",
  12276. "name": "innerGoodsIDs",
  12277. "in": "query"
  12278. }
  12279. ],
  12280. "responses": {
  12281. "200": {
  12282. "description": "OK",
  12283. "schema": {
  12284. "$ref": "#/definitions/models.Szdz3convertconfig"
  12285. }
  12286. },
  12287. "500": {
  12288. "description": "Internal Server Error",
  12289. "schema": {
  12290. "$ref": "#/definitions/app.Response"
  12291. }
  12292. }
  12293. }
  12294. }
  12295. },
  12296. "/SZDZ/QueryConvertLog": {
  12297. "get": {
  12298. "security": [
  12299. {
  12300. "ApiKeyAuth": []
  12301. }
  12302. ],
  12303. "produces": [
  12304. "application/json"
  12305. ],
  12306. "tags": [
  12307. "定制【尚志大宗】"
  12308. ],
  12309. "summary": "交易系统转换流水查询",
  12310. "parameters": [
  12311. {
  12312. "type": "string",
  12313. "description": "资金账户 - 格式:1,2,3",
  12314. "name": "accountID",
  12315. "in": "query",
  12316. "required": true
  12317. },
  12318. {
  12319. "type": "string",
  12320. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  12321. "name": "startDate",
  12322. "in": "query"
  12323. },
  12324. {
  12325. "type": "string",
  12326. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  12327. "name": "endDate",
  12328. "in": "query"
  12329. }
  12330. ],
  12331. "responses": {
  12332. "200": {
  12333. "description": "OK",
  12334. "schema": {
  12335. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  12336. }
  12337. },
  12338. "500": {
  12339. "description": "Internal Server Error",
  12340. "schema": {
  12341. "$ref": "#/definitions/app.Response"
  12342. }
  12343. }
  12344. }
  12345. }
  12346. },
  12347. "/SZDZ/QueryGoodsPickup": {
  12348. "get": {
  12349. "security": [
  12350. {
  12351. "ApiKeyAuth": []
  12352. }
  12353. ],
  12354. "produces": [
  12355. "application/json"
  12356. ],
  12357. "tags": [
  12358. "定制【尚志大宗】"
  12359. ],
  12360. "summary": "商品提货单查询",
  12361. "parameters": [
  12362. {
  12363. "type": "string",
  12364. "description": "资金账户 - 格式:1,2,3",
  12365. "name": "accountID",
  12366. "in": "query",
  12367. "required": true
  12368. },
  12369. {
  12370. "type": "integer",
  12371. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12372. "name": "takeOrderStatus",
  12373. "in": "query"
  12374. }
  12375. ],
  12376. "responses": {
  12377. "200": {
  12378. "description": "OK",
  12379. "schema": {
  12380. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  12381. }
  12382. },
  12383. "500": {
  12384. "description": "Internal Server Error",
  12385. "schema": {
  12386. "$ref": "#/definitions/app.Response"
  12387. }
  12388. }
  12389. }
  12390. }
  12391. },
  12392. "/SZDZ/QueryRecieptOrder": {
  12393. "get": {
  12394. "security": [
  12395. {
  12396. "ApiKeyAuth": []
  12397. }
  12398. ],
  12399. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12400. "produces": [
  12401. "application/json"
  12402. ],
  12403. "tags": [
  12404. "定制【尚志大宗】"
  12405. ],
  12406. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  12407. "parameters": [
  12408. {
  12409. "type": "integer",
  12410. "description": "页码",
  12411. "name": "page",
  12412. "in": "query"
  12413. },
  12414. {
  12415. "type": "integer",
  12416. "description": "每页条数",
  12417. "name": "pagesize",
  12418. "in": "query"
  12419. },
  12420. {
  12421. "type": "integer",
  12422. "description": "商品ID",
  12423. "name": "goodsID",
  12424. "in": "query",
  12425. "required": true
  12426. },
  12427. {
  12428. "type": "string",
  12429. "description": "所属账户名称",
  12430. "name": "accountName",
  12431. "in": "query"
  12432. },
  12433. {
  12434. "type": "integer",
  12435. "description": "市场ID",
  12436. "name": "marketID",
  12437. "in": "query"
  12438. },
  12439. {
  12440. "type": "integer",
  12441. "description": "方向 - 0:买 1:卖",
  12442. "name": "buyorsell",
  12443. "in": "query",
  12444. "required": true
  12445. }
  12446. ],
  12447. "responses": {
  12448. "200": {
  12449. "description": "OK",
  12450. "schema": {
  12451. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  12452. }
  12453. },
  12454. "500": {
  12455. "description": "Internal Server Error",
  12456. "schema": {
  12457. "$ref": "#/definitions/app.Response"
  12458. }
  12459. }
  12460. }
  12461. }
  12462. },
  12463. "/SZDZ/QuerySZDZTradePosition": {
  12464. "get": {
  12465. "security": [
  12466. {
  12467. "ApiKeyAuth": []
  12468. }
  12469. ],
  12470. "produces": [
  12471. "application/json"
  12472. ],
  12473. "tags": [
  12474. "定制【尚志大宗】"
  12475. ],
  12476. "summary": "持仓汇总查询(尚志大宗)",
  12477. "parameters": [
  12478. {
  12479. "type": "integer",
  12480. "description": "资金账户",
  12481. "name": "accountID",
  12482. "in": "query",
  12483. "required": true
  12484. }
  12485. ],
  12486. "responses": {
  12487. "200": {
  12488. "description": "OK",
  12489. "schema": {
  12490. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  12491. }
  12492. },
  12493. "500": {
  12494. "description": "Internal Server Error",
  12495. "schema": {
  12496. "$ref": "#/definitions/app.Response"
  12497. }
  12498. }
  12499. }
  12500. }
  12501. },
  12502. "/SZDZ/SearchWhite": {
  12503. "get": {
  12504. "security": [
  12505. {
  12506. "ApiKeyAuth": []
  12507. }
  12508. ],
  12509. "produces": [
  12510. "application/json"
  12511. ],
  12512. "tags": [
  12513. "定制【尚志大宗】"
  12514. ],
  12515. "summary": "搜索白名单",
  12516. "parameters": [
  12517. {
  12518. "type": "integer",
  12519. "description": "用户ID",
  12520. "name": "userID",
  12521. "in": "query",
  12522. "required": true
  12523. }
  12524. ],
  12525. "responses": {
  12526. "200": {
  12527. "description": "OK",
  12528. "schema": {
  12529. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  12530. }
  12531. },
  12532. "500": {
  12533. "description": "Internal Server Error",
  12534. "schema": {
  12535. "$ref": "#/definitions/app.Response"
  12536. }
  12537. }
  12538. }
  12539. }
  12540. },
  12541. "/Search/SearchGoodses": {
  12542. "get": {
  12543. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  12544. "produces": [
  12545. "application/json"
  12546. ],
  12547. "tags": [
  12548. "检索服务"
  12549. ],
  12550. "summary": "检索商品信息",
  12551. "parameters": [
  12552. {
  12553. "type": "string",
  12554. "description": "检索内容",
  12555. "name": "content",
  12556. "in": "query",
  12557. "required": true
  12558. },
  12559. {
  12560. "type": "string",
  12561. "description": "交易模式,格式:1,2,3",
  12562. "name": "tradeModes",
  12563. "in": "query"
  12564. }
  12565. ],
  12566. "responses": {
  12567. "200": {
  12568. "description": "OK",
  12569. "schema": {
  12570. "$ref": "#/definitions/models.SearchGoods"
  12571. }
  12572. },
  12573. "500": {
  12574. "description": "Internal Server Error",
  12575. "schema": {
  12576. "$ref": "#/definitions/app.Response"
  12577. }
  12578. }
  12579. }
  12580. }
  12581. },
  12582. "/TaAccount/GetTaAccounts": {
  12583. "get": {
  12584. "security": [
  12585. {
  12586. "ApiKeyAuth": []
  12587. }
  12588. ],
  12589. "produces": [
  12590. "application/json"
  12591. ],
  12592. "tags": [
  12593. "资金账户"
  12594. ],
  12595. "summary": "获取资金账户信息",
  12596. "parameters": [
  12597. {
  12598. "type": "integer",
  12599. "description": "登录账户",
  12600. "name": "loginID",
  12601. "in": "query",
  12602. "required": true
  12603. },
  12604. {
  12605. "type": "integer",
  12606. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  12607. "name": "taAccountType",
  12608. "in": "query"
  12609. }
  12610. ],
  12611. "responses": {
  12612. "200": {
  12613. "description": "OK",
  12614. "schema": {
  12615. "$ref": "#/definitions/models.Taaccount"
  12616. }
  12617. },
  12618. "500": {
  12619. "description": "Internal Server Error",
  12620. "schema": {
  12621. "$ref": "#/definitions/app.Response"
  12622. }
  12623. }
  12624. }
  12625. }
  12626. },
  12627. "/TaAccount/QueryAmountLog": {
  12628. "get": {
  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": "页码",
  12645. "name": "page",
  12646. "in": "query"
  12647. },
  12648. {
  12649. "type": "integer",
  12650. "description": "每页条数",
  12651. "name": "pagesize",
  12652. "in": "query"
  12653. },
  12654. {
  12655. "type": "string",
  12656. "description": "资金账户 - 格式:1,2,3",
  12657. "name": "accountID",
  12658. "in": "query",
  12659. "required": true
  12660. },
  12661. {
  12662. "type": "string",
  12663. "description": "资金操作类型 - 格式:1,2,3",
  12664. "name": "OperateType",
  12665. "in": "query"
  12666. }
  12667. ],
  12668. "responses": {
  12669. "200": {
  12670. "description": "OK",
  12671. "schema": {
  12672. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12673. }
  12674. },
  12675. "500": {
  12676. "description": "Internal Server Error",
  12677. "schema": {
  12678. "$ref": "#/definitions/app.Response"
  12679. }
  12680. }
  12681. }
  12682. }
  12683. },
  12684. "/TaAccount/QueryHisAmountLog": {
  12685. "get": {
  12686. "security": [
  12687. {
  12688. "ApiKeyAuth": []
  12689. }
  12690. ],
  12691. "produces": [
  12692. "application/json"
  12693. ],
  12694. "tags": [
  12695. "资金账户"
  12696. ],
  12697. "summary": "资金流水查询(历史)",
  12698. "parameters": [
  12699. {
  12700. "type": "integer",
  12701. "description": "页码",
  12702. "name": "page",
  12703. "in": "query"
  12704. },
  12705. {
  12706. "type": "integer",
  12707. "description": "每页条数",
  12708. "name": "pagesize",
  12709. "in": "query"
  12710. },
  12711. {
  12712. "type": "string",
  12713. "description": "资金账户 - 格式:1,2,3",
  12714. "name": "accountID",
  12715. "in": "query",
  12716. "required": true
  12717. },
  12718. {
  12719. "type": "string",
  12720. "description": "资金操作类型 - 格式:1,2,3",
  12721. "name": "OperateType",
  12722. "in": "query"
  12723. },
  12724. {
  12725. "type": "string",
  12726. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12727. "name": "startDate",
  12728. "in": "query"
  12729. },
  12730. {
  12731. "type": "string",
  12732. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12733. "name": "endDate",
  12734. "in": "query"
  12735. }
  12736. ],
  12737. "responses": {
  12738. "200": {
  12739. "description": "OK",
  12740. "schema": {
  12741. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  12742. }
  12743. },
  12744. "500": {
  12745. "description": "Internal Server Error",
  12746. "schema": {
  12747. "$ref": "#/definitions/app.Response"
  12748. }
  12749. }
  12750. }
  12751. }
  12752. },
  12753. "/TaAccount/QueryRelatedTaAccount": {
  12754. "get": {
  12755. "security": [
  12756. {
  12757. "ApiKeyAuth": []
  12758. }
  12759. ],
  12760. "produces": [
  12761. "application/json"
  12762. ],
  12763. "tags": [
  12764. "资金账户"
  12765. ],
  12766. "summary": "查询关联资金账户信息",
  12767. "parameters": [
  12768. {
  12769. "type": "integer",
  12770. "description": "关联UserID",
  12771. "name": "relateduserid",
  12772. "in": "query",
  12773. "required": true
  12774. }
  12775. ],
  12776. "responses": {
  12777. "200": {
  12778. "description": "OK",
  12779. "schema": {
  12780. "type": "array",
  12781. "items": {
  12782. "$ref": "#/definitions/models.RelatedTaAccount"
  12783. }
  12784. }
  12785. },
  12786. "500": {
  12787. "description": "Internal Server Error",
  12788. "schema": {
  12789. "$ref": "#/definitions/app.Response"
  12790. }
  12791. }
  12792. }
  12793. }
  12794. },
  12795. "/Tjmd/QueryQuoteGoodsList": {
  12796. "get": {
  12797. "security": [
  12798. {
  12799. "ApiKeyAuth": []
  12800. }
  12801. ],
  12802. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  12803. "produces": [
  12804. "application/json"
  12805. ],
  12806. "tags": [
  12807. "天津麦顿"
  12808. ],
  12809. "summary": "查询掉期报价列表",
  12810. "parameters": [
  12811. {
  12812. "type": "integer",
  12813. "description": "用户类型",
  12814. "name": "usertype",
  12815. "in": "query",
  12816. "required": true
  12817. },
  12818. {
  12819. "type": "string",
  12820. "description": "市场id, 格式 1,2,3",
  12821. "name": "marketids",
  12822. "in": "query"
  12823. },
  12824. {
  12825. "type": "integer",
  12826. "description": "商品组id",
  12827. "name": "goodsgroupid",
  12828. "in": "query"
  12829. },
  12830. {
  12831. "type": "integer",
  12832. "description": "商品id",
  12833. "name": "goodsid",
  12834. "in": "query"
  12835. }
  12836. ],
  12837. "responses": {
  12838. "200": {
  12839. "description": "OK",
  12840. "schema": {
  12841. "type": "array",
  12842. "items": {
  12843. "$ref": "#/definitions/models.TjmdQuoteGoods"
  12844. }
  12845. }
  12846. },
  12847. "500": {
  12848. "description": "Internal Server Error",
  12849. "schema": {
  12850. "$ref": "#/definitions/app.Response"
  12851. }
  12852. }
  12853. }
  12854. }
  12855. },
  12856. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  12857. "get": {
  12858. "security": [
  12859. {
  12860. "ApiKeyAuth": []
  12861. }
  12862. ],
  12863. "produces": [
  12864. "application/json"
  12865. ],
  12866. "tags": [
  12867. "天津麦顿"
  12868. ],
  12869. "summary": "掉期商品订单详情(交易确认书)",
  12870. "parameters": [
  12871. {
  12872. "type": "string",
  12873. "description": "成交单号",
  12874. "name": "tradeid",
  12875. "in": "query",
  12876. "required": true
  12877. }
  12878. ],
  12879. "responses": {
  12880. "200": {
  12881. "description": "OK",
  12882. "schema": {
  12883. "type": "array",
  12884. "items": {
  12885. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  12886. }
  12887. }
  12888. },
  12889. "500": {
  12890. "description": "Internal Server Error",
  12891. "schema": {
  12892. "$ref": "#/definitions/app.Response"
  12893. }
  12894. }
  12895. }
  12896. }
  12897. },
  12898. "/Tjmd/QueryTjmdMarketSection": {
  12899. "get": {
  12900. "security": [
  12901. {
  12902. "ApiKeyAuth": []
  12903. }
  12904. ],
  12905. "produces": [
  12906. "application/json"
  12907. ],
  12908. "tags": [
  12909. "天津麦顿"
  12910. ],
  12911. "summary": "查询市场板块",
  12912. "responses": {
  12913. "200": {
  12914. "description": "OK",
  12915. "schema": {
  12916. "type": "array",
  12917. "items": {
  12918. "$ref": "#/definitions/models.TjmdMarketSection"
  12919. }
  12920. }
  12921. },
  12922. "500": {
  12923. "description": "Internal Server Error",
  12924. "schema": {
  12925. "$ref": "#/definitions/app.Response"
  12926. }
  12927. }
  12928. }
  12929. }
  12930. },
  12931. "/Tjmd/QueryTjmdTodayAccountMargin": {
  12932. "get": {
  12933. "security": [
  12934. {
  12935. "ApiKeyAuth": []
  12936. }
  12937. ],
  12938. "produces": [
  12939. "application/json"
  12940. ],
  12941. "tags": [
  12942. "天津麦顿"
  12943. ],
  12944. "summary": "查询今日账户保证金配置",
  12945. "parameters": [
  12946. {
  12947. "type": "string",
  12948. "description": "市场id",
  12949. "name": "marketid",
  12950. "in": "query"
  12951. },
  12952. {
  12953. "type": "string",
  12954. "description": "商品id",
  12955. "name": "goodsid",
  12956. "in": "query"
  12957. },
  12958. {
  12959. "type": "string",
  12960. "description": "资金账号",
  12961. "name": "accountid",
  12962. "in": "query"
  12963. }
  12964. ],
  12965. "responses": {
  12966. "200": {
  12967. "description": "OK",
  12968. "schema": {
  12969. "type": "array",
  12970. "items": {
  12971. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  12972. }
  12973. }
  12974. },
  12975. "500": {
  12976. "description": "Internal Server Error",
  12977. "schema": {
  12978. "$ref": "#/definitions/app.Response"
  12979. }
  12980. }
  12981. }
  12982. }
  12983. },
  12984. "/Tjmd/QueryTjmdTradeOrderDetail": {
  12985. "get": {
  12986. "security": [
  12987. {
  12988. "ApiKeyAuth": []
  12989. }
  12990. ],
  12991. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  12992. "produces": [
  12993. "application/json"
  12994. ],
  12995. "tags": [
  12996. "天津麦顿"
  12997. ],
  12998. "summary": "查询掉期买卖大厅",
  12999. "parameters": [
  13000. {
  13001. "type": "integer",
  13002. "description": "页码",
  13003. "name": "page",
  13004. "in": "query"
  13005. },
  13006. {
  13007. "type": "integer",
  13008. "description": "每页条数",
  13009. "name": "pagesize",
  13010. "in": "query"
  13011. },
  13012. {
  13013. "type": "integer",
  13014. "description": "用户id",
  13015. "name": "userid",
  13016. "in": "query",
  13017. "required": true
  13018. },
  13019. {
  13020. "type": "integer",
  13021. "description": "用户类型",
  13022. "name": "usertype",
  13023. "in": "query",
  13024. "required": true
  13025. },
  13026. {
  13027. "type": "string",
  13028. "description": "市场id, 格式 1,2,3",
  13029. "name": "marketids",
  13030. "in": "query"
  13031. },
  13032. {
  13033. "type": "integer",
  13034. "description": "商品id",
  13035. "name": "goodsid",
  13036. "in": "query",
  13037. "required": true
  13038. },
  13039. {
  13040. "type": "integer",
  13041. "description": "买卖方向 0-买 1-卖",
  13042. "name": "buyorsell",
  13043. "in": "query",
  13044. "required": true
  13045. }
  13046. ],
  13047. "responses": {
  13048. "200": {
  13049. "description": "OK",
  13050. "schema": {
  13051. "type": "array",
  13052. "items": {
  13053. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  13054. }
  13055. }
  13056. },
  13057. "500": {
  13058. "description": "Internal Server Error",
  13059. "schema": {
  13060. "$ref": "#/definitions/app.Response"
  13061. }
  13062. }
  13063. }
  13064. }
  13065. },
  13066. "/Tjmd/QueryTjmdTransferApply": {
  13067. "get": {
  13068. "security": [
  13069. {
  13070. "ApiKeyAuth": []
  13071. }
  13072. ],
  13073. "produces": [
  13074. "application/json"
  13075. ],
  13076. "tags": [
  13077. "天津麦顿"
  13078. ],
  13079. "summary": "查询掉期协议单",
  13080. "parameters": [
  13081. {
  13082. "type": "integer",
  13083. "description": "类型 1-我的申请 2-对方申请",
  13084. "name": "applytype",
  13085. "in": "query",
  13086. "required": true
  13087. },
  13088. {
  13089. "type": "string",
  13090. "description": "市场id, 格式 1,2,3",
  13091. "name": "marketids",
  13092. "in": "query"
  13093. },
  13094. {
  13095. "type": "string",
  13096. "description": "资金账号, 格式 25000000001,25000000003",
  13097. "name": "accountids",
  13098. "in": "query"
  13099. },
  13100. {
  13101. "type": "string",
  13102. "description": "开始交易日(yyyymmdd)",
  13103. "name": "begindate",
  13104. "in": "query"
  13105. },
  13106. {
  13107. "type": "string",
  13108. "description": "结束交易日(yyyymmdd)",
  13109. "name": "enddate",
  13110. "in": "query"
  13111. }
  13112. ],
  13113. "responses": {
  13114. "200": {
  13115. "description": "OK",
  13116. "schema": {
  13117. "type": "array",
  13118. "items": {
  13119. "$ref": "#/definitions/models.TjmdTransferApply"
  13120. }
  13121. }
  13122. },
  13123. "500": {
  13124. "description": "Internal Server Error",
  13125. "schema": {
  13126. "$ref": "#/definitions/app.Response"
  13127. }
  13128. }
  13129. }
  13130. }
  13131. },
  13132. "/Trade/QueryRecieptOrder": {
  13133. "get": {
  13134. "security": [
  13135. {
  13136. "ApiKeyAuth": []
  13137. }
  13138. ],
  13139. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  13140. "produces": [
  13141. "application/json"
  13142. ],
  13143. "tags": [
  13144. "通用交易"
  13145. ],
  13146. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  13147. "parameters": [
  13148. {
  13149. "type": "integer",
  13150. "description": "页码",
  13151. "name": "page",
  13152. "in": "query"
  13153. },
  13154. {
  13155. "type": "integer",
  13156. "description": "每页条数",
  13157. "name": "pagesize",
  13158. "in": "query"
  13159. },
  13160. {
  13161. "type": "integer",
  13162. "description": "商品ID",
  13163. "name": "goodsID",
  13164. "in": "query",
  13165. "required": true
  13166. },
  13167. {
  13168. "type": "string",
  13169. "description": "所属账户名称",
  13170. "name": "accountName",
  13171. "in": "query"
  13172. },
  13173. {
  13174. "type": "integer",
  13175. "description": "市场ID",
  13176. "name": "marketID",
  13177. "in": "query"
  13178. },
  13179. {
  13180. "type": "integer",
  13181. "description": "方向 - 0:买 1:卖",
  13182. "name": "buyorsell",
  13183. "in": "query",
  13184. "required": true
  13185. }
  13186. ],
  13187. "responses": {
  13188. "200": {
  13189. "description": "OK",
  13190. "schema": {
  13191. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  13192. }
  13193. },
  13194. "500": {
  13195. "description": "Internal Server Error",
  13196. "schema": {
  13197. "$ref": "#/definitions/app.Response"
  13198. }
  13199. }
  13200. }
  13201. }
  13202. },
  13203. "/User/AddMessageBoard": {
  13204. "post": {
  13205. "security": [
  13206. {
  13207. "ApiKeyAuth": []
  13208. }
  13209. ],
  13210. "produces": [
  13211. "application/json"
  13212. ],
  13213. "tags": [
  13214. "用户信息"
  13215. ],
  13216. "summary": "添加用户留言板信息",
  13217. "parameters": [
  13218. {
  13219. "type": "integer",
  13220. "description": "用户ID",
  13221. "name": "userID",
  13222. "in": "query",
  13223. "required": true
  13224. },
  13225. {
  13226. "type": "string",
  13227. "description": "留言信息",
  13228. "name": "message",
  13229. "in": "query",
  13230. "required": true
  13231. },
  13232. {
  13233. "type": "string",
  13234. "description": "联系电话",
  13235. "name": "contactNum",
  13236. "in": "query",
  13237. "required": true
  13238. }
  13239. ],
  13240. "responses": {
  13241. "200": {
  13242. "description": "OK",
  13243. "schema": {
  13244. "$ref": "#/definitions/app.Response"
  13245. }
  13246. },
  13247. "500": {
  13248. "description": "Internal Server Error",
  13249. "schema": {
  13250. "$ref": "#/definitions/app.Response"
  13251. }
  13252. }
  13253. }
  13254. }
  13255. },
  13256. "/User/AddUserFavoriteGoods": {
  13257. "post": {
  13258. "security": [
  13259. {
  13260. "ApiKeyAuth": []
  13261. }
  13262. ],
  13263. "produces": [
  13264. "application/json"
  13265. ],
  13266. "tags": [
  13267. "用户信息"
  13268. ],
  13269. "summary": "添加用户商品收藏信息",
  13270. "parameters": [
  13271. {
  13272. "type": "integer",
  13273. "description": "用户ID",
  13274. "name": "userID",
  13275. "in": "query",
  13276. "required": true
  13277. },
  13278. {
  13279. "type": "integer",
  13280. "description": "商品ID",
  13281. "name": "goodsID",
  13282. "in": "query",
  13283. "required": true
  13284. }
  13285. ],
  13286. "responses": {
  13287. "200": {
  13288. "description": "OK",
  13289. "schema": {
  13290. "$ref": "#/definitions/app.Response"
  13291. }
  13292. },
  13293. "500": {
  13294. "description": "Internal Server Error",
  13295. "schema": {
  13296. "$ref": "#/definitions/app.Response"
  13297. }
  13298. }
  13299. }
  13300. }
  13301. },
  13302. "/User/GetLoginID": {
  13303. "get": {
  13304. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  13305. "produces": [
  13306. "application/json"
  13307. ],
  13308. "tags": [
  13309. "用户信息"
  13310. ],
  13311. "summary": "获取登录ID",
  13312. "parameters": [
  13313. {
  13314. "type": "string",
  13315. "description": "登录代码",
  13316. "name": "username",
  13317. "in": "query",
  13318. "required": true
  13319. }
  13320. ],
  13321. "responses": {
  13322. "200": {
  13323. "description": "OK",
  13324. "schema": {
  13325. "$ref": "#/definitions/app.Response"
  13326. }
  13327. },
  13328. "500": {
  13329. "description": "Internal Server Error",
  13330. "schema": {
  13331. "$ref": "#/definitions/app.Response"
  13332. }
  13333. }
  13334. }
  13335. }
  13336. },
  13337. "/User/GetUserAccount": {
  13338. "get": {
  13339. "security": [
  13340. {
  13341. "ApiKeyAuth": []
  13342. }
  13343. ],
  13344. "produces": [
  13345. "application/json"
  13346. ],
  13347. "tags": [
  13348. "用户信息"
  13349. ],
  13350. "summary": "获取用户账号信息",
  13351. "parameters": [
  13352. {
  13353. "type": "integer",
  13354. "description": "用户ID",
  13355. "name": "userID",
  13356. "in": "query",
  13357. "required": true
  13358. }
  13359. ],
  13360. "responses": {
  13361. "200": {
  13362. "description": "OK",
  13363. "schema": {
  13364. "$ref": "#/definitions/models.Useraccount"
  13365. }
  13366. },
  13367. "500": {
  13368. "description": "Internal Server Error",
  13369. "schema": {
  13370. "$ref": "#/definitions/app.Response"
  13371. }
  13372. }
  13373. }
  13374. }
  13375. },
  13376. "/User/GetUserAuthStatus": {
  13377. "get": {
  13378. "security": [
  13379. {
  13380. "ApiKeyAuth": []
  13381. }
  13382. ],
  13383. "produces": [
  13384. "application/json"
  13385. ],
  13386. "tags": [
  13387. "用户信息"
  13388. ],
  13389. "summary": "获取用户实名认证状态",
  13390. "parameters": [
  13391. {
  13392. "type": "integer",
  13393. "description": "用户ID",
  13394. "name": "userID",
  13395. "in": "query",
  13396. "required": true
  13397. }
  13398. ],
  13399. "responses": {
  13400. "200": {
  13401. "description": "OK",
  13402. "schema": {
  13403. "$ref": "#/definitions/app.Response"
  13404. }
  13405. },
  13406. "500": {
  13407. "description": "Internal Server Error",
  13408. "schema": {
  13409. "$ref": "#/definitions/app.Response"
  13410. }
  13411. }
  13412. }
  13413. }
  13414. },
  13415. "/User/LoginQuery": {
  13416. "get": {
  13417. "security": [
  13418. {
  13419. "ApiKeyAuth": []
  13420. }
  13421. ],
  13422. "produces": [
  13423. "application/json"
  13424. ],
  13425. "tags": [
  13426. "用户信息"
  13427. ],
  13428. "summary": "账户登录后信息查询",
  13429. "parameters": [
  13430. {
  13431. "type": "integer",
  13432. "description": "登录账号",
  13433. "name": "loginID",
  13434. "in": "query",
  13435. "required": true
  13436. }
  13437. ],
  13438. "responses": {
  13439. "200": {
  13440. "description": "OK",
  13441. "schema": {
  13442. "$ref": "#/definitions/user.LoginQueryRsp"
  13443. }
  13444. },
  13445. "500": {
  13446. "description": "Internal Server Error",
  13447. "schema": {
  13448. "$ref": "#/definitions/app.Response"
  13449. }
  13450. }
  13451. }
  13452. }
  13453. },
  13454. "/User/QueryMessageBoard": {
  13455. "get": {
  13456. "security": [
  13457. {
  13458. "ApiKeyAuth": []
  13459. }
  13460. ],
  13461. "produces": [
  13462. "application/json"
  13463. ],
  13464. "tags": [
  13465. "用户信息"
  13466. ],
  13467. "summary": "获取用户留言板信息",
  13468. "parameters": [
  13469. {
  13470. "type": "integer",
  13471. "description": "用户ID",
  13472. "name": "userID",
  13473. "in": "query",
  13474. "required": true
  13475. }
  13476. ],
  13477. "responses": {
  13478. "200": {
  13479. "description": "OK",
  13480. "schema": {
  13481. "$ref": "#/definitions/models.Messageboard"
  13482. }
  13483. },
  13484. "500": {
  13485. "description": "Internal Server Error",
  13486. "schema": {
  13487. "$ref": "#/definitions/app.Response"
  13488. }
  13489. }
  13490. }
  13491. }
  13492. },
  13493. "/User/QueryUserFavoriteGoodses": {
  13494. "get": {
  13495. "security": [
  13496. {
  13497. "ApiKeyAuth": []
  13498. }
  13499. ],
  13500. "produces": [
  13501. "application/json"
  13502. ],
  13503. "tags": [
  13504. "用户信息"
  13505. ],
  13506. "summary": "获取用户商品收藏信息",
  13507. "parameters": [
  13508. {
  13509. "type": "integer",
  13510. "description": "用户ID",
  13511. "name": "userID",
  13512. "in": "query",
  13513. "required": true
  13514. }
  13515. ],
  13516. "responses": {
  13517. "200": {
  13518. "description": "OK",
  13519. "schema": {
  13520. "$ref": "#/definitions/models.Userfavoritegoods"
  13521. }
  13522. },
  13523. "500": {
  13524. "description": "Internal Server Error",
  13525. "schema": {
  13526. "$ref": "#/definitions/app.Response"
  13527. }
  13528. }
  13529. }
  13530. }
  13531. },
  13532. "/User/QueryUserInfo": {
  13533. "get": {
  13534. "security": [
  13535. {
  13536. "ApiKeyAuth": []
  13537. }
  13538. ],
  13539. "produces": [
  13540. "application/json"
  13541. ],
  13542. "tags": [
  13543. "用户信息"
  13544. ],
  13545. "summary": "获取用户信息",
  13546. "parameters": [
  13547. {
  13548. "type": "integer",
  13549. "description": "用户ID",
  13550. "name": "userID",
  13551. "in": "query",
  13552. "required": true
  13553. },
  13554. {
  13555. "type": "boolean",
  13556. "description": "是否解密",
  13557. "name": "isDecrypt",
  13558. "in": "query"
  13559. }
  13560. ],
  13561. "responses": {
  13562. "200": {
  13563. "description": "OK",
  13564. "schema": {
  13565. "$ref": "#/definitions/models.Userinfo"
  13566. }
  13567. },
  13568. "500": {
  13569. "description": "Internal Server Error",
  13570. "schema": {
  13571. "$ref": "#/definitions/app.Response"
  13572. }
  13573. }
  13574. }
  13575. }
  13576. },
  13577. "/User/QueryUserReferNum": {
  13578. "get": {
  13579. "produces": [
  13580. "application/json"
  13581. ],
  13582. "tags": [
  13583. "用户信息"
  13584. ],
  13585. "summary": "获取用户邀请码",
  13586. "parameters": [
  13587. {
  13588. "type": "integer",
  13589. "description": "用户ID",
  13590. "name": "userID",
  13591. "in": "query",
  13592. "required": true
  13593. }
  13594. ],
  13595. "responses": {
  13596. "200": {
  13597. "description": "OK",
  13598. "schema": {
  13599. "$ref": "#/definitions/app.Response"
  13600. }
  13601. },
  13602. "500": {
  13603. "description": "Internal Server Error",
  13604. "schema": {
  13605. "$ref": "#/definitions/app.Response"
  13606. }
  13607. }
  13608. }
  13609. }
  13610. },
  13611. "/User/RemoveUserFavoriteGoods": {
  13612. "post": {
  13613. "security": [
  13614. {
  13615. "ApiKeyAuth": []
  13616. }
  13617. ],
  13618. "produces": [
  13619. "application/json"
  13620. ],
  13621. "tags": [
  13622. "用户信息"
  13623. ],
  13624. "summary": "移除用户商品收藏信息",
  13625. "parameters": [
  13626. {
  13627. "type": "integer",
  13628. "description": "用户ID",
  13629. "name": "userID",
  13630. "in": "query",
  13631. "required": true
  13632. },
  13633. {
  13634. "type": "integer",
  13635. "description": "商品ID",
  13636. "name": "goodsID",
  13637. "in": "query",
  13638. "required": true
  13639. }
  13640. ],
  13641. "responses": {
  13642. "200": {
  13643. "description": "OK",
  13644. "schema": {
  13645. "$ref": "#/definitions/app.Response"
  13646. }
  13647. },
  13648. "500": {
  13649. "description": "Internal Server Error",
  13650. "schema": {
  13651. "$ref": "#/definitions/app.Response"
  13652. }
  13653. }
  13654. }
  13655. }
  13656. },
  13657. "/User/UpdateUserAccountStatus": {
  13658. "post": {
  13659. "security": [
  13660. {
  13661. "ApiKeyAuth": []
  13662. }
  13663. ],
  13664. "produces": [
  13665. "application/json"
  13666. ],
  13667. "tags": [
  13668. "用户信息"
  13669. ],
  13670. "summary": "更新用户状态",
  13671. "parameters": [
  13672. {
  13673. "type": "integer",
  13674. "description": "用户ID",
  13675. "name": "userID",
  13676. "in": "query",
  13677. "required": true
  13678. },
  13679. {
  13680. "type": "integer",
  13681. "description": "账户状态 - 4:正常 6:注销(停用)",
  13682. "name": "accountStatus",
  13683. "in": "query",
  13684. "required": true
  13685. }
  13686. ],
  13687. "responses": {
  13688. "200": {
  13689. "description": "OK",
  13690. "schema": {
  13691. "$ref": "#/definitions/app.Response"
  13692. }
  13693. },
  13694. "500": {
  13695. "description": "Internal Server Error",
  13696. "schema": {
  13697. "$ref": "#/definitions/app.Response"
  13698. }
  13699. }
  13700. }
  13701. }
  13702. },
  13703. "/WRTrade/GetAllDeliveryGoods": {
  13704. "get": {
  13705. "security": [
  13706. {
  13707. "ApiKeyAuth": []
  13708. }
  13709. ],
  13710. "produces": [
  13711. "application/json"
  13712. ],
  13713. "tags": [
  13714. "仓单贸易",
  13715. "仓单贸易"
  13716. ],
  13717. "summary": "获取带仓单分类的种类信息",
  13718. "responses": {
  13719. "200": {
  13720. "description": "OK",
  13721. "schema": {
  13722. "$ref": "#/definitions/app.Response"
  13723. }
  13724. },
  13725. "500": {
  13726. "description": "Internal Server Error",
  13727. "schema": {
  13728. "$ref": "#/definitions/app.Response"
  13729. }
  13730. }
  13731. }
  13732. }
  13733. },
  13734. "/WrTrade2/InsertXhcpSellBackApply": {
  13735. "post": {
  13736. "security": [
  13737. {
  13738. "ApiKeyAuth": []
  13739. }
  13740. ],
  13741. "produces": [
  13742. "application/json"
  13743. ],
  13744. "tags": [
  13745. "仓单贸易v2"
  13746. ],
  13747. "summary": "新增回收申请(新会陈皮)",
  13748. "parameters": [
  13749. {
  13750. "description": "回收申请",
  13751. "name": "jsonBody",
  13752. "in": "body",
  13753. "required": true,
  13754. "schema": {
  13755. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  13756. }
  13757. }
  13758. ],
  13759. "responses": {
  13760. "200": {
  13761. "description": "OK",
  13762. "schema": {
  13763. "$ref": "#/definitions/app.Response"
  13764. }
  13765. },
  13766. "500": {
  13767. "description": "Internal Server Error",
  13768. "schema": {
  13769. "$ref": "#/definitions/app.Response"
  13770. }
  13771. }
  13772. }
  13773. }
  13774. },
  13775. "/WrTrade2/QueryDeliveryGoodsSection": {
  13776. "get": {
  13777. "security": [
  13778. {
  13779. "ApiKeyAuth": []
  13780. }
  13781. ],
  13782. "produces": [
  13783. "application/json"
  13784. ],
  13785. "tags": [
  13786. "仓单贸易v2"
  13787. ],
  13788. "summary": "查询板块(分类)",
  13789. "responses": {
  13790. "200": {
  13791. "description": "OK",
  13792. "schema": {
  13793. "type": "array",
  13794. "items": {
  13795. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  13796. }
  13797. }
  13798. },
  13799. "500": {
  13800. "description": "Internal Server Error",
  13801. "schema": {
  13802. "$ref": "#/definitions/app.Response"
  13803. }
  13804. }
  13805. }
  13806. }
  13807. },
  13808. "/WrTrade2/QueryFaProductDetail": {
  13809. "get": {
  13810. "security": [
  13811. {
  13812. "ApiKeyAuth": []
  13813. }
  13814. ],
  13815. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  13816. "produces": [
  13817. "application/json"
  13818. ],
  13819. "tags": [
  13820. "仓单贸易v2"
  13821. ],
  13822. "summary": "查询融资产品列表",
  13823. "parameters": [
  13824. {
  13825. "type": "integer",
  13826. "description": "仓单要素id",
  13827. "name": "wrfactortypeid",
  13828. "in": "query",
  13829. "required": true
  13830. }
  13831. ],
  13832. "responses": {
  13833. "200": {
  13834. "description": "OK",
  13835. "schema": {
  13836. "type": "array",
  13837. "items": {
  13838. "$ref": "#/definitions/models.WrFAProductDetail"
  13839. }
  13840. }
  13841. },
  13842. "500": {
  13843. "description": "Internal Server Error",
  13844. "schema": {
  13845. "$ref": "#/definitions/app.Response"
  13846. }
  13847. }
  13848. }
  13849. }
  13850. },
  13851. "/WrTrade2/QueryFilterItem": {
  13852. "get": {
  13853. "security": [
  13854. {
  13855. "ApiKeyAuth": []
  13856. }
  13857. ],
  13858. "produces": [
  13859. "application/json"
  13860. ],
  13861. "tags": [
  13862. "仓单贸易v2"
  13863. ],
  13864. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  13865. "parameters": [
  13866. {
  13867. "type": "string",
  13868. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  13869. "name": "itype",
  13870. "in": "query",
  13871. "required": true
  13872. }
  13873. ],
  13874. "responses": {
  13875. "200": {
  13876. "description": "OK",
  13877. "schema": {
  13878. "type": "array",
  13879. "items": {
  13880. "$ref": "#/definitions/models.WrFilterItem"
  13881. }
  13882. }
  13883. },
  13884. "500": {
  13885. "description": "Internal Server Error",
  13886. "schema": {
  13887. "$ref": "#/definitions/app.Response"
  13888. }
  13889. }
  13890. }
  13891. }
  13892. },
  13893. "/WrTrade2/QueryFtDeliveryGoods": {
  13894. "get": {
  13895. "security": [
  13896. {
  13897. "ApiKeyAuth": []
  13898. }
  13899. ],
  13900. "produces": [
  13901. "application/json"
  13902. ],
  13903. "tags": [
  13904. "仓单贸易v2"
  13905. ],
  13906. "summary": "查询品种品类筛选框列表",
  13907. "responses": {
  13908. "200": {
  13909. "description": "OK",
  13910. "schema": {
  13911. "type": "array",
  13912. "items": {
  13913. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  13914. }
  13915. }
  13916. },
  13917. "500": {
  13918. "description": "Internal Server Error",
  13919. "schema": {
  13920. "$ref": "#/definitions/app.Response"
  13921. }
  13922. }
  13923. }
  13924. }
  13925. },
  13926. "/WrTrade2/QueryHoldLB": {
  13927. "get": {
  13928. "security": [
  13929. {
  13930. "ApiKeyAuth": []
  13931. }
  13932. ],
  13933. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  13934. "produces": [
  13935. "application/json"
  13936. ],
  13937. "tags": [
  13938. "仓单贸易v2"
  13939. ],
  13940. "summary": "查询仓单持有记录",
  13941. "parameters": [
  13942. {
  13943. "type": "integer",
  13944. "description": "资金账号",
  13945. "name": "accountid",
  13946. "in": "query",
  13947. "required": true
  13948. },
  13949. {
  13950. "type": "integer",
  13951. "description": "仓库id",
  13952. "name": "warehouseid",
  13953. "in": "query"
  13954. },
  13955. {
  13956. "type": "integer",
  13957. "description": "品种id",
  13958. "name": "deliverygoodsid",
  13959. "in": "query"
  13960. },
  13961. {
  13962. "type": "integer",
  13963. "description": "品类id",
  13964. "name": "wrstandardid",
  13965. "in": "query"
  13966. },
  13967. {
  13968. "type": "integer",
  13969. "description": "仓单要素id",
  13970. "name": "wrfactortypeid",
  13971. "in": "query"
  13972. },
  13973. {
  13974. "type": "string",
  13975. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13976. "name": "dgitemname",
  13977. "in": "query"
  13978. }
  13979. ],
  13980. "responses": {
  13981. "200": {
  13982. "description": "OK",
  13983. "schema": {
  13984. "type": "array",
  13985. "items": {
  13986. "$ref": "#/definitions/models.WrHoldLB"
  13987. }
  13988. }
  13989. },
  13990. "500": {
  13991. "description": "Internal Server Error",
  13992. "schema": {
  13993. "$ref": "#/definitions/app.Response"
  13994. }
  13995. }
  13996. }
  13997. }
  13998. },
  13999. "/WrTrade2/QueryOrderQuote": {
  14000. "get": {
  14001. "security": [
  14002. {
  14003. "ApiKeyAuth": []
  14004. }
  14005. ],
  14006. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  14007. "produces": [
  14008. "application/json"
  14009. ],
  14010. "tags": [
  14011. "仓单贸易v2"
  14012. ],
  14013. "summary": "查询大厅行情列表",
  14014. "parameters": [
  14015. {
  14016. "type": "integer",
  14017. "description": "页码",
  14018. "name": "page",
  14019. "in": "query"
  14020. },
  14021. {
  14022. "type": "integer",
  14023. "description": "每页条数",
  14024. "name": "pagesize",
  14025. "in": "query"
  14026. },
  14027. {
  14028. "type": "integer",
  14029. "description": "仓单贸易市场id",
  14030. "name": "marketid",
  14031. "in": "query"
  14032. },
  14033. {
  14034. "type": "integer",
  14035. "description": "价格方式 - 1:固定价 2-浮动价",
  14036. "name": "wrpricetype",
  14037. "in": "query",
  14038. "required": true
  14039. },
  14040. {
  14041. "type": "integer",
  14042. "description": "0:仓单预售 1:仓单贸易",
  14043. "name": "haswr",
  14044. "in": "query"
  14045. },
  14046. {
  14047. "type": "string",
  14048. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14049. "name": "dgitemname",
  14050. "in": "query"
  14051. },
  14052. {
  14053. "type": "integer",
  14054. "description": "仓库id(筛选条件)",
  14055. "name": "warehouseid",
  14056. "in": "query"
  14057. },
  14058. {
  14059. "type": "integer",
  14060. "description": "品种id",
  14061. "name": "deliverygoodsid",
  14062. "in": "query"
  14063. },
  14064. {
  14065. "type": "integer",
  14066. "description": "品类id",
  14067. "name": "wrstandardid",
  14068. "in": "query"
  14069. },
  14070. {
  14071. "type": "integer",
  14072. "description": "品牌id(dgfactoryitemid)",
  14073. "name": "brandid",
  14074. "in": "query"
  14075. },
  14076. {
  14077. "type": "integer",
  14078. "description": "年份id(dgfactoryitemid)",
  14079. "name": "yearsid",
  14080. "in": "query"
  14081. },
  14082. {
  14083. "type": "integer",
  14084. "description": "仓单要素id",
  14085. "name": "wrfactortypeid",
  14086. "in": "query"
  14087. },
  14088. {
  14089. "type": "string",
  14090. "description": "交收月(yyyy-mm) 仓单预售填写",
  14091. "name": "deliverymonth",
  14092. "in": "query"
  14093. }
  14094. ],
  14095. "responses": {
  14096. "200": {
  14097. "description": "OK",
  14098. "schema": {
  14099. "type": "array",
  14100. "items": {
  14101. "$ref": "#/definitions/models.WrOrderQuote"
  14102. }
  14103. }
  14104. },
  14105. "500": {
  14106. "description": "Internal Server Error",
  14107. "schema": {
  14108. "$ref": "#/definitions/app.Response"
  14109. }
  14110. }
  14111. }
  14112. }
  14113. },
  14114. "/WrTrade2/QueryOrderQuoteDetail": {
  14115. "get": {
  14116. "security": [
  14117. {
  14118. "ApiKeyAuth": []
  14119. }
  14120. ],
  14121. "produces": [
  14122. "application/json"
  14123. ],
  14124. "tags": [
  14125. "仓单贸易v2"
  14126. ],
  14127. "summary": "查询买卖大厅",
  14128. "parameters": [
  14129. {
  14130. "type": "integer",
  14131. "description": "页码",
  14132. "name": "page",
  14133. "in": "query"
  14134. },
  14135. {
  14136. "type": "integer",
  14137. "description": "每页条数",
  14138. "name": "pagesize",
  14139. "in": "query"
  14140. },
  14141. {
  14142. "type": "integer",
  14143. "description": "仓单贸易市场id",
  14144. "name": "marketid",
  14145. "in": "query"
  14146. },
  14147. {
  14148. "type": "integer",
  14149. "description": "价格方式 - 1:固定价 2-浮动价",
  14150. "name": "wrpricetype",
  14151. "in": "query",
  14152. "required": true
  14153. },
  14154. {
  14155. "type": "integer",
  14156. "description": "0:仓单预售 1:仓单贸易",
  14157. "name": "haswr",
  14158. "in": "query"
  14159. },
  14160. {
  14161. "type": "integer",
  14162. "description": "仓单要素id",
  14163. "name": "wrfactortypeid",
  14164. "in": "query",
  14165. "required": true
  14166. },
  14167. {
  14168. "type": "integer",
  14169. "description": "期货商品id(浮动价方式时填)",
  14170. "name": "goodsid",
  14171. "in": "query"
  14172. },
  14173. {
  14174. "type": "integer",
  14175. "description": "买卖方向 0-买 1-卖",
  14176. "name": "buyorsell",
  14177. "in": "query",
  14178. "required": true
  14179. },
  14180. {
  14181. "type": "string",
  14182. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  14183. "name": "deliverymonth",
  14184. "in": "query"
  14185. }
  14186. ],
  14187. "responses": {
  14188. "200": {
  14189. "description": "OK",
  14190. "schema": {
  14191. "type": "array",
  14192. "items": {
  14193. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  14194. }
  14195. }
  14196. },
  14197. "500": {
  14198. "description": "Internal Server Error",
  14199. "schema": {
  14200. "$ref": "#/definitions/app.Response"
  14201. }
  14202. }
  14203. }
  14204. }
  14205. },
  14206. "/WrTrade2/QueryOrderQuoteMyq": {
  14207. "get": {
  14208. "security": [
  14209. {
  14210. "ApiKeyAuth": []
  14211. }
  14212. ],
  14213. "produces": [
  14214. "application/json"
  14215. ],
  14216. "tags": [
  14217. "仓单贸易v2"
  14218. ],
  14219. "summary": "查询贸易圈挂牌大厅",
  14220. "parameters": [
  14221. {
  14222. "type": "integer",
  14223. "description": "页码",
  14224. "name": "page",
  14225. "in": "query"
  14226. },
  14227. {
  14228. "type": "integer",
  14229. "description": "每页条数",
  14230. "name": "pagesize",
  14231. "in": "query"
  14232. },
  14233. {
  14234. "type": "integer",
  14235. "description": "用户id",
  14236. "name": "userid",
  14237. "in": "query",
  14238. "required": true
  14239. },
  14240. {
  14241. "type": "integer",
  14242. "description": "仓单贸易市场id",
  14243. "name": "marketid",
  14244. "in": "query"
  14245. },
  14246. {
  14247. "type": "integer",
  14248. "description": "0:仓单预售 1:仓单贸易",
  14249. "name": "haswr",
  14250. "in": "query"
  14251. },
  14252. {
  14253. "type": "integer",
  14254. "description": "买卖方向 0-买 1-卖",
  14255. "name": "buyorsell",
  14256. "in": "query",
  14257. "required": true
  14258. },
  14259. {
  14260. "type": "integer",
  14261. "description": "品种id",
  14262. "name": "deliverygoodsid",
  14263. "in": "query"
  14264. },
  14265. {
  14266. "type": "integer",
  14267. "description": "品类id",
  14268. "name": "wrstandardid",
  14269. "in": "query"
  14270. },
  14271. {
  14272. "type": "string",
  14273. "description": "交收月(yyyy-mm) 仓单预售填写",
  14274. "name": "deliverymonth",
  14275. "in": "query"
  14276. },
  14277. {
  14278. "type": "string",
  14279. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14280. "name": "dgitemname",
  14281. "in": "query"
  14282. }
  14283. ],
  14284. "responses": {
  14285. "200": {
  14286. "description": "OK",
  14287. "schema": {
  14288. "type": "array",
  14289. "items": {
  14290. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  14291. }
  14292. }
  14293. },
  14294. "500": {
  14295. "description": "Internal Server Error",
  14296. "schema": {
  14297. "$ref": "#/definitions/app.Response"
  14298. }
  14299. }
  14300. }
  14301. }
  14302. },
  14303. "/WrTrade2/QueryPerformancePlan": {
  14304. "get": {
  14305. "security": [
  14306. {
  14307. "ApiKeyAuth": []
  14308. }
  14309. ],
  14310. "produces": [
  14311. "application/json"
  14312. ],
  14313. "tags": [
  14314. "仓单贸易v2"
  14315. ],
  14316. "summary": "查询履约信息",
  14317. "parameters": [
  14318. {
  14319. "type": "integer",
  14320. "description": "用户id",
  14321. "name": "userid",
  14322. "in": "query",
  14323. "required": true
  14324. },
  14325. {
  14326. "type": "integer",
  14327. "description": "买卖方向 0-买 1-卖",
  14328. "name": "buyorsell",
  14329. "in": "query",
  14330. "required": true
  14331. },
  14332. {
  14333. "type": "string",
  14334. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  14335. "name": "status",
  14336. "in": "query"
  14337. },
  14338. {
  14339. "type": "string",
  14340. "description": "开始交易日(yyyymmdd)",
  14341. "name": "begindate",
  14342. "in": "query"
  14343. },
  14344. {
  14345. "type": "string",
  14346. "description": "结束交易日(yyyymmdd)",
  14347. "name": "enddate",
  14348. "in": "query"
  14349. }
  14350. ],
  14351. "responses": {
  14352. "200": {
  14353. "description": "OK",
  14354. "schema": {
  14355. "type": "array",
  14356. "items": {
  14357. "$ref": "#/definitions/models.WrPerformancePlan"
  14358. }
  14359. }
  14360. },
  14361. "500": {
  14362. "description": "Internal Server Error",
  14363. "schema": {
  14364. "$ref": "#/definitions/app.Response"
  14365. }
  14366. }
  14367. }
  14368. }
  14369. },
  14370. "/WrTrade2/QueryPermancePlanTmp": {
  14371. "get": {
  14372. "security": [
  14373. {
  14374. "ApiKeyAuth": []
  14375. }
  14376. ],
  14377. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  14378. "produces": [
  14379. "application/json"
  14380. ],
  14381. "tags": [
  14382. "仓单贸易v2"
  14383. ],
  14384. "summary": "查询履约模板",
  14385. "parameters": [
  14386. {
  14387. "type": "integer",
  14388. "description": "用户id",
  14389. "name": "userid",
  14390. "in": "query"
  14391. },
  14392. {
  14393. "type": "string",
  14394. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  14395. "name": "tmptype",
  14396. "in": "query"
  14397. },
  14398. {
  14399. "type": "integer",
  14400. "description": "是否包含公共模板(用户id为空的) 1-包含",
  14401. "name": "includepub",
  14402. "in": "query"
  14403. },
  14404. {
  14405. "type": "integer",
  14406. "description": "市场id(天津麦顿指定此参数,其它不用)",
  14407. "name": "marketid",
  14408. "in": "query"
  14409. }
  14410. ],
  14411. "responses": {
  14412. "200": {
  14413. "description": "OK",
  14414. "schema": {
  14415. "type": "array",
  14416. "items": {
  14417. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  14418. }
  14419. }
  14420. },
  14421. "500": {
  14422. "description": "Internal Server Error",
  14423. "schema": {
  14424. "$ref": "#/definitions/app.Response"
  14425. }
  14426. }
  14427. }
  14428. }
  14429. },
  14430. "/WrTrade2/QuerySiteColumnDetail": {
  14431. "get": {
  14432. "security": [
  14433. {
  14434. "ApiKeyAuth": []
  14435. }
  14436. ],
  14437. "produces": [
  14438. "application/json"
  14439. ],
  14440. "tags": [
  14441. "仓单贸易v2"
  14442. ],
  14443. "summary": "查询资讯",
  14444. "parameters": [
  14445. {
  14446. "type": "integer",
  14447. "description": "页码",
  14448. "name": "page",
  14449. "in": "query"
  14450. },
  14451. {
  14452. "type": "integer",
  14453. "description": "每页条数",
  14454. "name": "pagesize",
  14455. "in": "query"
  14456. },
  14457. {
  14458. "type": "integer",
  14459. "description": "所属栏目id",
  14460. "name": "columnid",
  14461. "in": "query"
  14462. }
  14463. ],
  14464. "responses": {
  14465. "200": {
  14466. "description": "OK",
  14467. "schema": {
  14468. "type": "array",
  14469. "items": {
  14470. "$ref": "#/definitions/models.WrSiteColumnDetail"
  14471. }
  14472. }
  14473. },
  14474. "500": {
  14475. "description": "Internal Server Error",
  14476. "schema": {
  14477. "$ref": "#/definitions/app.Response"
  14478. }
  14479. }
  14480. }
  14481. }
  14482. },
  14483. "/WrTrade2/QuerySpotGroupTradeSum": {
  14484. "get": {
  14485. "security": [
  14486. {
  14487. "ApiKeyAuth": []
  14488. }
  14489. ],
  14490. "produces": [
  14491. "application/json"
  14492. ],
  14493. "tags": [
  14494. "仓单贸易v2"
  14495. ],
  14496. "summary": "查询指数",
  14497. "responses": {
  14498. "200": {
  14499. "description": "OK",
  14500. "schema": {
  14501. "type": "array",
  14502. "items": {
  14503. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  14504. }
  14505. }
  14506. },
  14507. "500": {
  14508. "description": "Internal Server Error",
  14509. "schema": {
  14510. "$ref": "#/definitions/app.Response"
  14511. }
  14512. }
  14513. }
  14514. }
  14515. },
  14516. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  14517. "get": {
  14518. "security": [
  14519. {
  14520. "ApiKeyAuth": []
  14521. }
  14522. ],
  14523. "description": "查询的结果将会按日期 从小到大 排序",
  14524. "produces": [
  14525. "application/json"
  14526. ],
  14527. "tags": [
  14528. "仓单贸易v2"
  14529. ],
  14530. "summary": "查询指数详细(价格走势图)",
  14531. "parameters": [
  14532. {
  14533. "type": "integer",
  14534. "description": "现货商品id",
  14535. "name": "deliverygoodsid",
  14536. "in": "query",
  14537. "required": true
  14538. },
  14539. {
  14540. "type": "integer",
  14541. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  14542. "name": "lastnum",
  14543. "in": "query"
  14544. }
  14545. ],
  14546. "responses": {
  14547. "200": {
  14548. "description": "OK",
  14549. "schema": {
  14550. "type": "array",
  14551. "items": {
  14552. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  14553. }
  14554. }
  14555. },
  14556. "500": {
  14557. "description": "Internal Server Error",
  14558. "schema": {
  14559. "$ref": "#/definitions/app.Response"
  14560. }
  14561. }
  14562. }
  14563. }
  14564. },
  14565. "/WrTrade2/QueryWrAverageTradePrice": {
  14566. "get": {
  14567. "security": [
  14568. {
  14569. "ApiKeyAuth": []
  14570. }
  14571. ],
  14572. "produces": [
  14573. "application/json"
  14574. ],
  14575. "tags": [
  14576. "仓单贸易v2"
  14577. ],
  14578. "summary": "查询成交价(历史走势)",
  14579. "parameters": [
  14580. {
  14581. "type": "integer",
  14582. "description": "页码",
  14583. "name": "page",
  14584. "in": "query"
  14585. },
  14586. {
  14587. "type": "integer",
  14588. "description": "每页条数",
  14589. "name": "pagesize",
  14590. "in": "query"
  14591. },
  14592. {
  14593. "type": "integer",
  14594. "description": "0:仓单预售 1:仓单贸易",
  14595. "name": "haswr",
  14596. "in": "query",
  14597. "required": true
  14598. },
  14599. {
  14600. "type": "integer",
  14601. "description": "仓单要素id",
  14602. "name": "wrfactortypeid",
  14603. "in": "query",
  14604. "required": true
  14605. }
  14606. ],
  14607. "responses": {
  14608. "200": {
  14609. "description": "OK",
  14610. "schema": {
  14611. "type": "array",
  14612. "items": {
  14613. "$ref": "#/definitions/models.WrAverageTradePrice"
  14614. }
  14615. }
  14616. },
  14617. "500": {
  14618. "description": "Internal Server Error",
  14619. "schema": {
  14620. "$ref": "#/definitions/app.Response"
  14621. }
  14622. }
  14623. }
  14624. }
  14625. },
  14626. "/WrTrade2/QueryWrBrandAndYears": {
  14627. "get": {
  14628. "security": [
  14629. {
  14630. "ApiKeyAuth": []
  14631. }
  14632. ],
  14633. "produces": [
  14634. "application/json"
  14635. ],
  14636. "tags": [
  14637. "仓单贸易v2"
  14638. ],
  14639. "summary": "查询品牌和年份",
  14640. "responses": {
  14641. "200": {
  14642. "description": "OK",
  14643. "schema": {
  14644. "type": "array",
  14645. "items": {
  14646. "$ref": "#/definitions/models.WrBrandAndYears"
  14647. }
  14648. }
  14649. },
  14650. "500": {
  14651. "description": "Internal Server Error",
  14652. "schema": {
  14653. "$ref": "#/definitions/app.Response"
  14654. }
  14655. }
  14656. }
  14657. }
  14658. },
  14659. "/WrTrade2/QueryWrBsGoodsInfo": {
  14660. "get": {
  14661. "security": [
  14662. {
  14663. "ApiKeyAuth": []
  14664. }
  14665. ],
  14666. "description": "合约交易/买卖大厅/详情",
  14667. "produces": [
  14668. "application/json"
  14669. ],
  14670. "tags": [
  14671. "仓单贸易v2"
  14672. ],
  14673. "summary": "查询合约交易买卖大厅详情",
  14674. "parameters": [
  14675. {
  14676. "type": "integer",
  14677. "description": "商品id",
  14678. "name": "goodsid",
  14679. "in": "query",
  14680. "required": true
  14681. }
  14682. ],
  14683. "responses": {
  14684. "200": {
  14685. "description": "OK",
  14686. "schema": {
  14687. "type": "array",
  14688. "items": {
  14689. "$ref": "#/definitions/models.WrBsGoodsInfo"
  14690. }
  14691. }
  14692. },
  14693. "500": {
  14694. "description": "Internal Server Error",
  14695. "schema": {
  14696. "$ref": "#/definitions/app.Response"
  14697. }
  14698. }
  14699. }
  14700. }
  14701. },
  14702. "/WrTrade2/QueryWrBuybackDetail": {
  14703. "get": {
  14704. "security": [
  14705. {
  14706. "ApiKeyAuth": []
  14707. }
  14708. ],
  14709. "produces": [
  14710. "application/json"
  14711. ],
  14712. "tags": [
  14713. "仓单贸易v2"
  14714. ],
  14715. "summary": "查询仓单回购明细",
  14716. "parameters": [
  14717. {
  14718. "type": "integer",
  14719. "description": "融资合同id",
  14720. "name": "scfcontractid",
  14721. "in": "query"
  14722. }
  14723. ],
  14724. "responses": {
  14725. "200": {
  14726. "description": "OK",
  14727. "schema": {
  14728. "type": "array",
  14729. "items": {
  14730. "$ref": "#/definitions/models.WrBuybackDetail"
  14731. }
  14732. }
  14733. },
  14734. "500": {
  14735. "description": "Internal Server Error",
  14736. "schema": {
  14737. "$ref": "#/definitions/app.Response"
  14738. }
  14739. }
  14740. }
  14741. }
  14742. },
  14743. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  14744. "get": {
  14745. "security": [
  14746. {
  14747. "ApiKeyAuth": []
  14748. }
  14749. ],
  14750. "produces": [
  14751. "application/json"
  14752. ],
  14753. "tags": [
  14754. "仓单贸易v2"
  14755. ],
  14756. "summary": "查询固定广告配置",
  14757. "responses": {
  14758. "200": {
  14759. "description": "OK",
  14760. "schema": {
  14761. "type": "array",
  14762. "items": {
  14763. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  14764. }
  14765. }
  14766. },
  14767. "500": {
  14768. "description": "Internal Server Error",
  14769. "schema": {
  14770. "$ref": "#/definitions/app.Response"
  14771. }
  14772. }
  14773. }
  14774. }
  14775. },
  14776. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  14777. "get": {
  14778. "security": [
  14779. {
  14780. "ApiKeyAuth": []
  14781. }
  14782. ],
  14783. "produces": [
  14784. "application/json"
  14785. ],
  14786. "tags": [
  14787. "仓单贸易v2"
  14788. ],
  14789. "summary": "查询合约交收可点选仓单",
  14790. "parameters": [
  14791. {
  14792. "type": "integer",
  14793. "description": "资金账号",
  14794. "name": "accountid",
  14795. "in": "query",
  14796. "required": true
  14797. },
  14798. {
  14799. "type": "integer",
  14800. "description": "商品id",
  14801. "name": "goodsid",
  14802. "in": "query",
  14803. "required": true
  14804. }
  14805. ],
  14806. "responses": {
  14807. "200": {
  14808. "description": "OK",
  14809. "schema": {
  14810. "type": "array",
  14811. "items": {
  14812. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  14813. }
  14814. }
  14815. },
  14816. "500": {
  14817. "description": "Internal Server Error",
  14818. "schema": {
  14819. "$ref": "#/definitions/app.Response"
  14820. }
  14821. }
  14822. }
  14823. }
  14824. },
  14825. "/WrTrade2/QueryWrDeliveryDetail": {
  14826. "get": {
  14827. "security": [
  14828. {
  14829. "ApiKeyAuth": []
  14830. }
  14831. ],
  14832. "produces": [
  14833. "application/json"
  14834. ],
  14835. "tags": [
  14836. "仓单贸易v2"
  14837. ],
  14838. "summary": "查询交收",
  14839. "parameters": [
  14840. {
  14841. "type": "integer",
  14842. "description": "用户id",
  14843. "name": "userid",
  14844. "in": "query",
  14845. "required": true
  14846. },
  14847. {
  14848. "type": "integer",
  14849. "description": "资金账号id",
  14850. "name": "accountid",
  14851. "in": "query"
  14852. },
  14853. {
  14854. "type": "string",
  14855. "description": "开始交易日(yyyymmdd)",
  14856. "name": "begindate",
  14857. "in": "query"
  14858. },
  14859. {
  14860. "type": "string",
  14861. "description": "结束交易日(yyyymmdd)",
  14862. "name": "enddate",
  14863. "in": "query"
  14864. }
  14865. ],
  14866. "responses": {
  14867. "200": {
  14868. "description": "OK",
  14869. "schema": {
  14870. "type": "array",
  14871. "items": {
  14872. "$ref": "#/definitions/models.WrDeliveryDetail"
  14873. }
  14874. }
  14875. },
  14876. "500": {
  14877. "description": "Internal Server Error",
  14878. "schema": {
  14879. "$ref": "#/definitions/app.Response"
  14880. }
  14881. }
  14882. }
  14883. }
  14884. },
  14885. "/WrTrade2/QueryWrDraftUserInfo": {
  14886. "get": {
  14887. "security": [
  14888. {
  14889. "ApiKeyAuth": []
  14890. }
  14891. ],
  14892. "produces": [
  14893. "application/json"
  14894. ],
  14895. "tags": [
  14896. "仓单贸易v2"
  14897. ],
  14898. "summary": "查询实名认证信息",
  14899. "parameters": [
  14900. {
  14901. "type": "integer",
  14902. "description": "用户ID",
  14903. "name": "userid",
  14904. "in": "query",
  14905. "required": true
  14906. },
  14907. {
  14908. "type": "integer",
  14909. "description": "用户状态 1:正常 2:注销",
  14910. "name": "userstatus",
  14911. "in": "query"
  14912. }
  14913. ],
  14914. "responses": {
  14915. "200": {
  14916. "description": "OK",
  14917. "schema": {
  14918. "type": "array",
  14919. "items": {
  14920. "$ref": "#/definitions/models.WrDraftUserInfo"
  14921. }
  14922. }
  14923. },
  14924. "500": {
  14925. "description": "Internal Server Error",
  14926. "schema": {
  14927. "$ref": "#/definitions/app.Response"
  14928. }
  14929. }
  14930. }
  14931. }
  14932. },
  14933. "/WrTrade2/QueryWrFactorTypeInfo": {
  14934. "get": {
  14935. "security": [
  14936. {
  14937. "ApiKeyAuth": []
  14938. }
  14939. ],
  14940. "produces": [
  14941. "application/json"
  14942. ],
  14943. "tags": [
  14944. "仓单贸易v2"
  14945. ],
  14946. "summary": "查询仓单要素详细信息",
  14947. "parameters": [
  14948. {
  14949. "type": "integer",
  14950. "description": "仓单要素id",
  14951. "name": "wrfactortypeid",
  14952. "in": "query",
  14953. "required": true
  14954. }
  14955. ],
  14956. "responses": {
  14957. "200": {
  14958. "description": "OK",
  14959. "schema": {
  14960. "type": "array",
  14961. "items": {
  14962. "$ref": "#/definitions/models.WrFactorTypeInfo"
  14963. }
  14964. }
  14965. },
  14966. "500": {
  14967. "description": "Internal Server Error",
  14968. "schema": {
  14969. "$ref": "#/definitions/app.Response"
  14970. }
  14971. }
  14972. }
  14973. }
  14974. },
  14975. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  14976. "get": {
  14977. "security": [
  14978. {
  14979. "ApiKeyAuth": []
  14980. }
  14981. ],
  14982. "produces": [
  14983. "application/json"
  14984. ],
  14985. "tags": [
  14986. "仓单贸易v2"
  14987. ],
  14988. "summary": "查询仓单要素详细信息列表项",
  14989. "parameters": [
  14990. {
  14991. "type": "integer",
  14992. "description": "仓单要素id",
  14993. "name": "wrfactortypeid",
  14994. "in": "query",
  14995. "required": true
  14996. }
  14997. ],
  14998. "responses": {
  14999. "200": {
  15000. "description": "OK",
  15001. "schema": {
  15002. "type": "array",
  15003. "items": {
  15004. "$ref": "#/definitions/models.WrTypeItem"
  15005. }
  15006. }
  15007. },
  15008. "500": {
  15009. "description": "Internal Server Error",
  15010. "schema": {
  15011. "$ref": "#/definitions/app.Response"
  15012. }
  15013. }
  15014. }
  15015. }
  15016. },
  15017. "/WrTrade2/QueryWrFinanceBuyApply": {
  15018. "get": {
  15019. "security": [
  15020. {
  15021. "ApiKeyAuth": []
  15022. }
  15023. ],
  15024. "description": "页面 融资信息+ / 申请单",
  15025. "produces": [
  15026. "application/json"
  15027. ],
  15028. "tags": [
  15029. "仓单贸易v2"
  15030. ],
  15031. "summary": "查询融资购买申请",
  15032. "parameters": [
  15033. {
  15034. "type": "integer",
  15035. "description": "用户id",
  15036. "name": "userid",
  15037. "in": "query",
  15038. "required": true
  15039. }
  15040. ],
  15041. "responses": {
  15042. "200": {
  15043. "description": "OK",
  15044. "schema": {
  15045. "type": "array",
  15046. "items": {
  15047. "$ref": "#/definitions/models.WrFinanceBuyApply"
  15048. }
  15049. }
  15050. },
  15051. "500": {
  15052. "description": "Internal Server Error",
  15053. "schema": {
  15054. "$ref": "#/definitions/app.Response"
  15055. }
  15056. }
  15057. }
  15058. }
  15059. },
  15060. "/WrTrade2/QueryWrFriendApply": {
  15061. "get": {
  15062. "security": [
  15063. {
  15064. "ApiKeyAuth": []
  15065. }
  15066. ],
  15067. "produces": [
  15068. "application/json"
  15069. ],
  15070. "tags": [
  15071. "仓单贸易v2"
  15072. ],
  15073. "summary": "查询好友申请记录",
  15074. "parameters": [
  15075. {
  15076. "type": "integer",
  15077. "description": "用户id",
  15078. "name": "userid",
  15079. "in": "query",
  15080. "required": true
  15081. }
  15082. ],
  15083. "responses": {
  15084. "200": {
  15085. "description": "OK",
  15086. "schema": {
  15087. "type": "array",
  15088. "items": {
  15089. "$ref": "#/definitions/models.WrFriendApply"
  15090. }
  15091. }
  15092. },
  15093. "500": {
  15094. "description": "Internal Server Error",
  15095. "schema": {
  15096. "$ref": "#/definitions/app.Response"
  15097. }
  15098. }
  15099. }
  15100. }
  15101. },
  15102. "/WrTrade2/QueryWrGoodsInfo": {
  15103. "get": {
  15104. "security": [
  15105. {
  15106. "ApiKeyAuth": []
  15107. }
  15108. ],
  15109. "produces": [
  15110. "application/json"
  15111. ],
  15112. "tags": [
  15113. "仓单贸易v2"
  15114. ],
  15115. "summary": "查询仓单商品信息",
  15116. "parameters": [
  15117. {
  15118. "type": "integer",
  15119. "description": "仓单贸易市场id",
  15120. "name": "marketid",
  15121. "in": "query"
  15122. },
  15123. {
  15124. "type": "integer",
  15125. "description": "0:仓单预售 1:仓单贸易",
  15126. "name": "haswr",
  15127. "in": "query",
  15128. "required": true
  15129. },
  15130. {
  15131. "type": "integer",
  15132. "description": "仓单要素id",
  15133. "name": "wrfactortypeid",
  15134. "in": "query",
  15135. "required": true
  15136. },
  15137. {
  15138. "type": "integer",
  15139. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  15140. "name": "tmplateid",
  15141. "in": "query"
  15142. }
  15143. ],
  15144. "responses": {
  15145. "200": {
  15146. "description": "OK",
  15147. "schema": {
  15148. "type": "array",
  15149. "items": {
  15150. "$ref": "#/definitions/models.WrGoodsInfo"
  15151. }
  15152. }
  15153. },
  15154. "500": {
  15155. "description": "Internal Server Error",
  15156. "schema": {
  15157. "$ref": "#/definitions/app.Response"
  15158. }
  15159. }
  15160. }
  15161. }
  15162. },
  15163. "/WrTrade2/QueryWrMarketTradeConfig": {
  15164. "get": {
  15165. "security": [
  15166. {
  15167. "ApiKeyAuth": []
  15168. }
  15169. ],
  15170. "produces": [
  15171. "application/json"
  15172. ],
  15173. "tags": [
  15174. "仓单贸易v2"
  15175. ],
  15176. "summary": "查询市场交易参数配置",
  15177. "parameters": [
  15178. {
  15179. "type": "integer",
  15180. "description": "市场id",
  15181. "name": "marketid",
  15182. "in": "query"
  15183. }
  15184. ],
  15185. "responses": {
  15186. "200": {
  15187. "description": "OK",
  15188. "schema": {
  15189. "type": "array",
  15190. "items": {
  15191. "$ref": "#/definitions/models.WrMarketTradeConfig"
  15192. }
  15193. }
  15194. },
  15195. "500": {
  15196. "description": "Internal Server Error",
  15197. "schema": {
  15198. "$ref": "#/definitions/app.Response"
  15199. }
  15200. }
  15201. }
  15202. }
  15203. },
  15204. "/WrTrade2/QueryWrOrderDetail": {
  15205. "get": {
  15206. "security": [
  15207. {
  15208. "ApiKeyAuth": []
  15209. }
  15210. ],
  15211. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  15212. "produces": [
  15213. "application/json"
  15214. ],
  15215. "tags": [
  15216. "仓单贸易v2"
  15217. ],
  15218. "summary": "查询仓单委托单",
  15219. "parameters": [
  15220. {
  15221. "type": "integer",
  15222. "description": "页码",
  15223. "name": "page",
  15224. "in": "query"
  15225. },
  15226. {
  15227. "type": "integer",
  15228. "description": "每页条数",
  15229. "name": "pagesize",
  15230. "in": "query"
  15231. },
  15232. {
  15233. "type": "integer",
  15234. "description": "用户id",
  15235. "name": "userid",
  15236. "in": "query",
  15237. "required": true
  15238. },
  15239. {
  15240. "type": "integer",
  15241. "description": "仓单贸易市场id",
  15242. "name": "marketid",
  15243. "in": "query"
  15244. },
  15245. {
  15246. "type": "integer",
  15247. "description": "0:仓单预售 1:仓单贸易",
  15248. "name": "haswr",
  15249. "in": "query",
  15250. "required": true
  15251. },
  15252. {
  15253. "type": "integer",
  15254. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  15255. "name": "bcancel",
  15256. "in": "query"
  15257. },
  15258. {
  15259. "type": "integer",
  15260. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  15261. "name": "wrtradetype",
  15262. "in": "query"
  15263. },
  15264. {
  15265. "type": "string",
  15266. "description": "开始交易日(yyyymmdd)",
  15267. "name": "begindate",
  15268. "in": "query"
  15269. },
  15270. {
  15271. "type": "string",
  15272. "description": "结束交易日(yyyymmdd)",
  15273. "name": "enddate",
  15274. "in": "query"
  15275. }
  15276. ],
  15277. "responses": {
  15278. "200": {
  15279. "description": "OK",
  15280. "schema": {
  15281. "type": "array",
  15282. "items": {
  15283. "$ref": "#/definitions/models.WrOrderDetail"
  15284. }
  15285. }
  15286. },
  15287. "500": {
  15288. "description": "Internal Server Error",
  15289. "schema": {
  15290. "$ref": "#/definitions/app.Response"
  15291. }
  15292. }
  15293. }
  15294. }
  15295. },
  15296. "/WrTrade2/QueryWrOutInApply": {
  15297. "get": {
  15298. "security": [
  15299. {
  15300. "ApiKeyAuth": []
  15301. }
  15302. ],
  15303. "produces": [
  15304. "application/json"
  15305. ],
  15306. "tags": [
  15307. "仓单贸易v2"
  15308. ],
  15309. "summary": "查询提货申请",
  15310. "parameters": [
  15311. {
  15312. "type": "integer",
  15313. "description": "页码",
  15314. "name": "page",
  15315. "in": "query"
  15316. },
  15317. {
  15318. "type": "integer",
  15319. "description": "每页条数",
  15320. "name": "pagesize",
  15321. "in": "query"
  15322. },
  15323. {
  15324. "type": "integer",
  15325. "description": "用户id",
  15326. "name": "userid",
  15327. "in": "query",
  15328. "required": true
  15329. },
  15330. {
  15331. "type": "string",
  15332. "description": "开始交易日(yyyymmdd)",
  15333. "name": "begindate",
  15334. "in": "query"
  15335. },
  15336. {
  15337. "type": "string",
  15338. "description": "结束交易日(yyyymmdd)",
  15339. "name": "enddate",
  15340. "in": "query"
  15341. }
  15342. ],
  15343. "responses": {
  15344. "200": {
  15345. "description": "OK",
  15346. "schema": {
  15347. "type": "array",
  15348. "items": {
  15349. "$ref": "#/definitions/models.WrOutInApply"
  15350. }
  15351. }
  15352. },
  15353. "500": {
  15354. "description": "Internal Server Error",
  15355. "schema": {
  15356. "$ref": "#/definitions/app.Response"
  15357. }
  15358. }
  15359. }
  15360. }
  15361. },
  15362. "/WrTrade2/QueryWrPerformancePlanStep": {
  15363. "get": {
  15364. "security": [
  15365. {
  15366. "ApiKeyAuth": []
  15367. }
  15368. ],
  15369. "produces": [
  15370. "application/json"
  15371. ],
  15372. "tags": [
  15373. "仓单贸易v2"
  15374. ],
  15375. "summary": "查询履约信息详情",
  15376. "parameters": [
  15377. {
  15378. "type": "integer",
  15379. "description": "履约计划id(performanceplanid)",
  15380. "name": "planid",
  15381. "in": "query",
  15382. "required": true
  15383. },
  15384. {
  15385. "type": "integer",
  15386. "description": "当前步骤id",
  15387. "name": "curstepid",
  15388. "in": "query"
  15389. }
  15390. ],
  15391. "responses": {
  15392. "200": {
  15393. "description": "OK",
  15394. "schema": {
  15395. "type": "array",
  15396. "items": {
  15397. "$ref": "#/definitions/models.WrPerformancePlanStep"
  15398. }
  15399. }
  15400. },
  15401. "500": {
  15402. "description": "Internal Server Error",
  15403. "schema": {
  15404. "$ref": "#/definitions/app.Response"
  15405. }
  15406. }
  15407. }
  15408. }
  15409. },
  15410. "/WrTrade2/QueryWrPerformanceStepType": {
  15411. "get": {
  15412. "security": [
  15413. {
  15414. "ApiKeyAuth": []
  15415. }
  15416. ],
  15417. "produces": [
  15418. "application/json"
  15419. ],
  15420. "tags": [
  15421. "仓单贸易v2"
  15422. ],
  15423. "summary": "查询履约步骤枚举",
  15424. "responses": {
  15425. "200": {
  15426. "description": "OK",
  15427. "schema": {
  15428. "type": "array",
  15429. "items": {
  15430. "$ref": "#/definitions/models.WrPerformanceStepType"
  15431. }
  15432. }
  15433. },
  15434. "500": {
  15435. "description": "Internal Server Error",
  15436. "schema": {
  15437. "$ref": "#/definitions/app.Response"
  15438. }
  15439. }
  15440. }
  15441. }
  15442. },
  15443. "/WrTrade2/QueryWrPosition": {
  15444. "get": {
  15445. "security": [
  15446. {
  15447. "ApiKeyAuth": []
  15448. }
  15449. ],
  15450. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  15451. "produces": [
  15452. "application/json"
  15453. ],
  15454. "tags": [
  15455. "仓单贸易v2"
  15456. ],
  15457. "summary": "查询现货(预售)仓单持仓",
  15458. "parameters": [
  15459. {
  15460. "type": "integer",
  15461. "description": "用户id",
  15462. "name": "userid",
  15463. "in": "query",
  15464. "required": true
  15465. },
  15466. {
  15467. "type": "integer",
  15468. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  15469. "name": "querytype",
  15470. "in": "query",
  15471. "required": true
  15472. },
  15473. {
  15474. "type": "integer",
  15475. "description": "0:仓单预售 1:仓单贸易",
  15476. "name": "haswr",
  15477. "in": "query",
  15478. "required": true
  15479. },
  15480. {
  15481. "type": "string",
  15482. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15483. "name": "dgitemname",
  15484. "in": "query"
  15485. },
  15486. {
  15487. "type": "integer",
  15488. "description": "仓库id(筛选条件)",
  15489. "name": "warehouseid",
  15490. "in": "query"
  15491. },
  15492. {
  15493. "type": "integer",
  15494. "description": "品种id",
  15495. "name": "deliverygoodsid",
  15496. "in": "query"
  15497. },
  15498. {
  15499. "type": "integer",
  15500. "description": "品类id",
  15501. "name": "wrstandardid",
  15502. "in": "query"
  15503. }
  15504. ],
  15505. "responses": {
  15506. "200": {
  15507. "description": "OK",
  15508. "schema": {
  15509. "type": "array",
  15510. "items": {
  15511. "$ref": "#/definitions/models.WrPosition"
  15512. }
  15513. }
  15514. },
  15515. "500": {
  15516. "description": "Internal Server Error",
  15517. "schema": {
  15518. "$ref": "#/definitions/app.Response"
  15519. }
  15520. }
  15521. }
  15522. }
  15523. },
  15524. "/WrTrade2/QueryWrPreSaleInfo": {
  15525. "get": {
  15526. "security": [
  15527. {
  15528. "ApiKeyAuth": []
  15529. }
  15530. ],
  15531. "produces": [
  15532. "application/json"
  15533. ],
  15534. "tags": [
  15535. "仓单贸易v2"
  15536. ],
  15537. "summary": "查询新品发布",
  15538. "parameters": [
  15539. {
  15540. "type": "integer",
  15541. "description": "市场id",
  15542. "name": "marketid",
  15543. "in": "query"
  15544. },
  15545. {
  15546. "type": "string",
  15547. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  15548. "name": "presalestatus",
  15549. "in": "query"
  15550. },
  15551. {
  15552. "type": "integer",
  15553. "description": "摇号标识 - 0:未摇号 1:已摇号",
  15554. "name": "lotteryflag",
  15555. "in": "query"
  15556. },
  15557. {
  15558. "type": "integer",
  15559. "description": "最近多少条记录(按创建时间倒序)",
  15560. "name": "lastnum",
  15561. "in": "query"
  15562. }
  15563. ],
  15564. "responses": {
  15565. "200": {
  15566. "description": "OK",
  15567. "schema": {
  15568. "type": "array",
  15569. "items": {
  15570. "$ref": "#/definitions/models.WrPreSaleInfo"
  15571. }
  15572. }
  15573. },
  15574. "500": {
  15575. "description": "Internal Server Error",
  15576. "schema": {
  15577. "$ref": "#/definitions/app.Response"
  15578. }
  15579. }
  15580. }
  15581. }
  15582. },
  15583. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  15584. "get": {
  15585. "security": [
  15586. {
  15587. "ApiKeyAuth": []
  15588. }
  15589. ],
  15590. "produces": [
  15591. "application/json"
  15592. ],
  15593. "tags": [
  15594. "仓单贸易v2"
  15595. ],
  15596. "summary": "查询价格走势",
  15597. "parameters": [
  15598. {
  15599. "type": "integer",
  15600. "description": "市场id",
  15601. "name": "marketid",
  15602. "in": "query",
  15603. "required": true
  15604. },
  15605. {
  15606. "type": "integer",
  15607. "description": "现货商品id",
  15608. "name": "wrstandardid",
  15609. "in": "query",
  15610. "required": true
  15611. },
  15612. {
  15613. "type": "string",
  15614. "description": "开始交易日(yyyymmdd)",
  15615. "name": "begindate",
  15616. "in": "query"
  15617. },
  15618. {
  15619. "type": "string",
  15620. "description": "结束交易日(yyyymmdd)",
  15621. "name": "enddate",
  15622. "in": "query"
  15623. },
  15624. {
  15625. "type": "integer",
  15626. "description": "最近多少条记录(按交易日倒序)",
  15627. "name": "lastnum",
  15628. "in": "query"
  15629. },
  15630. {
  15631. "type": "boolean",
  15632. "description": "是否今日",
  15633. "name": "istoday",
  15634. "in": "query"
  15635. }
  15636. ],
  15637. "responses": {
  15638. "200": {
  15639. "description": "OK",
  15640. "schema": {
  15641. "type": "array",
  15642. "items": {
  15643. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  15644. }
  15645. }
  15646. },
  15647. "500": {
  15648. "description": "Internal Server Error",
  15649. "schema": {
  15650. "$ref": "#/definitions/app.Response"
  15651. }
  15652. }
  15653. }
  15654. }
  15655. },
  15656. "/WrTrade2/QueryWrScfContract": {
  15657. "get": {
  15658. "security": [
  15659. {
  15660. "ApiKeyAuth": []
  15661. }
  15662. ],
  15663. "produces": [
  15664. "application/json"
  15665. ],
  15666. "tags": [
  15667. "仓单贸易v2"
  15668. ],
  15669. "summary": "查询仓单贸易融资合同",
  15670. "parameters": [
  15671. {
  15672. "type": "integer",
  15673. "description": "用户id",
  15674. "name": "userid",
  15675. "in": "query",
  15676. "required": true
  15677. },
  15678. {
  15679. "type": "integer",
  15680. "description": "融资合同id",
  15681. "name": "scfcontractid",
  15682. "in": "query"
  15683. }
  15684. ],
  15685. "responses": {
  15686. "200": {
  15687. "description": "OK",
  15688. "schema": {
  15689. "type": "array",
  15690. "items": {
  15691. "$ref": "#/definitions/models.WrScfContract"
  15692. }
  15693. }
  15694. },
  15695. "500": {
  15696. "description": "Internal Server Error",
  15697. "schema": {
  15698. "$ref": "#/definitions/app.Response"
  15699. }
  15700. }
  15701. }
  15702. }
  15703. },
  15704. "/WrTrade2/QueryWrScfContractInterest": {
  15705. "get": {
  15706. "security": [
  15707. {
  15708. "ApiKeyAuth": []
  15709. }
  15710. ],
  15711. "produces": [
  15712. "application/json"
  15713. ],
  15714. "tags": [
  15715. "仓单贸易v2"
  15716. ],
  15717. "summary": "查询融资合同费用明细",
  15718. "parameters": [
  15719. {
  15720. "type": "integer",
  15721. "description": "融资合同id",
  15722. "name": "scfcontractid",
  15723. "in": "query"
  15724. }
  15725. ],
  15726. "responses": {
  15727. "200": {
  15728. "description": "OK",
  15729. "schema": {
  15730. "type": "array",
  15731. "items": {
  15732. "$ref": "#/definitions/models.WrScfContractInterest"
  15733. }
  15734. }
  15735. },
  15736. "500": {
  15737. "description": "Internal Server Error",
  15738. "schema": {
  15739. "$ref": "#/definitions/app.Response"
  15740. }
  15741. }
  15742. }
  15743. }
  15744. },
  15745. "/WrTrade2/QueryWrSearchUser": {
  15746. "get": {
  15747. "security": [
  15748. {
  15749. "ApiKeyAuth": []
  15750. }
  15751. ],
  15752. "produces": [
  15753. "application/json"
  15754. ],
  15755. "tags": [
  15756. "仓单贸易v2"
  15757. ],
  15758. "summary": "查询用户",
  15759. "parameters": [
  15760. {
  15761. "type": "string",
  15762. "description": "用户名称(模糊匹配)",
  15763. "name": "username",
  15764. "in": "query",
  15765. "required": true
  15766. }
  15767. ],
  15768. "responses": {
  15769. "200": {
  15770. "description": "OK",
  15771. "schema": {
  15772. "type": "array",
  15773. "items": {
  15774. "$ref": "#/definitions/models.WrSearchUser"
  15775. }
  15776. }
  15777. },
  15778. "500": {
  15779. "description": "Internal Server Error",
  15780. "schema": {
  15781. "$ref": "#/definitions/app.Response"
  15782. }
  15783. }
  15784. }
  15785. }
  15786. },
  15787. "/WrTrade2/QueryWrSpecialMatchOrder": {
  15788. "get": {
  15789. "security": [
  15790. {
  15791. "ApiKeyAuth": []
  15792. }
  15793. ],
  15794. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  15795. "produces": [
  15796. "application/json"
  15797. ],
  15798. "tags": [
  15799. "仓单贸易v2"
  15800. ],
  15801. "summary": "查询指定成交",
  15802. "parameters": [
  15803. {
  15804. "type": "integer",
  15805. "description": "页码",
  15806. "name": "page",
  15807. "in": "query"
  15808. },
  15809. {
  15810. "type": "integer",
  15811. "description": "每页条数",
  15812. "name": "pagesize",
  15813. "in": "query"
  15814. },
  15815. {
  15816. "type": "integer",
  15817. "description": "用户id",
  15818. "name": "userid",
  15819. "in": "query",
  15820. "required": true
  15821. },
  15822. {
  15823. "type": "integer",
  15824. "description": "仓单贸易市场id",
  15825. "name": "marketid",
  15826. "in": "query"
  15827. },
  15828. {
  15829. "type": "integer",
  15830. "description": "0:仓单预售 1:仓单贸易",
  15831. "name": "haswr",
  15832. "in": "query",
  15833. "required": true
  15834. },
  15835. {
  15836. "type": "integer",
  15837. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  15838. "name": "isspecified",
  15839. "in": "query"
  15840. }
  15841. ],
  15842. "responses": {
  15843. "200": {
  15844. "description": "OK",
  15845. "schema": {
  15846. "type": "array",
  15847. "items": {
  15848. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  15849. }
  15850. }
  15851. },
  15852. "500": {
  15853. "description": "Internal Server Error",
  15854. "schema": {
  15855. "$ref": "#/definitions/app.Response"
  15856. }
  15857. }
  15858. }
  15859. }
  15860. },
  15861. "/WrTrade2/QueryWrStandardFactoryItem": {
  15862. "get": {
  15863. "security": [
  15864. {
  15865. "ApiKeyAuth": []
  15866. }
  15867. ],
  15868. "produces": [
  15869. "application/json"
  15870. ],
  15871. "tags": [
  15872. "仓单贸易v2"
  15873. ],
  15874. "summary": "查询品类要素定义项",
  15875. "parameters": [
  15876. {
  15877. "type": "integer",
  15878. "description": "品类id",
  15879. "name": "wrstandardid",
  15880. "in": "query",
  15881. "required": true
  15882. }
  15883. ],
  15884. "responses": {
  15885. "200": {
  15886. "description": "OK",
  15887. "schema": {
  15888. "type": "array",
  15889. "items": {
  15890. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  15891. }
  15892. }
  15893. },
  15894. "500": {
  15895. "description": "Internal Server Error",
  15896. "schema": {
  15897. "$ref": "#/definitions/app.Response"
  15898. }
  15899. }
  15900. }
  15901. }
  15902. },
  15903. "/WrTrade2/QueryWrTradeBargainApply": {
  15904. "get": {
  15905. "security": [
  15906. {
  15907. "ApiKeyAuth": []
  15908. }
  15909. ],
  15910. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  15911. "produces": [
  15912. "application/json"
  15913. ],
  15914. "tags": [
  15915. "仓单贸易v2"
  15916. ],
  15917. "summary": "查询议价单",
  15918. "parameters": [
  15919. {
  15920. "type": "integer",
  15921. "description": "议价人id(摘牌方)",
  15922. "name": "userid",
  15923. "in": "query"
  15924. },
  15925. {
  15926. "type": "integer",
  15927. "description": "挂牌方id(查对方议价时,填写此项)",
  15928. "name": "matchuserid",
  15929. "in": "query"
  15930. },
  15931. {
  15932. "type": "integer",
  15933. "description": "关联委托单id",
  15934. "name": "wrtradeorderid",
  15935. "in": "query"
  15936. },
  15937. {
  15938. "type": "integer",
  15939. "description": "0:仓单预售 1:仓单贸易",
  15940. "name": "haswr",
  15941. "in": "query",
  15942. "required": true
  15943. },
  15944. {
  15945. "type": "string",
  15946. "description": "开始交易日(yyyymmdd)",
  15947. "name": "begindate",
  15948. "in": "query"
  15949. },
  15950. {
  15951. "type": "string",
  15952. "description": "结束交易日(yyyymmdd)",
  15953. "name": "enddate",
  15954. "in": "query"
  15955. }
  15956. ],
  15957. "responses": {
  15958. "200": {
  15959. "description": "OK",
  15960. "schema": {
  15961. "type": "array",
  15962. "items": {
  15963. "$ref": "#/definitions/models.WRTradeBargainApply"
  15964. }
  15965. }
  15966. },
  15967. "500": {
  15968. "description": "Internal Server Error",
  15969. "schema": {
  15970. "$ref": "#/definitions/app.Response"
  15971. }
  15972. }
  15973. }
  15974. }
  15975. },
  15976. "/WrTrade2/QueryWrTradeDetail": {
  15977. "get": {
  15978. "security": [
  15979. {
  15980. "ApiKeyAuth": []
  15981. }
  15982. ],
  15983. "produces": [
  15984. "application/json"
  15985. ],
  15986. "tags": [
  15987. "仓单贸易v2"
  15988. ],
  15989. "summary": "查询仓单成交明细",
  15990. "parameters": [
  15991. {
  15992. "type": "integer",
  15993. "description": "页码",
  15994. "name": "page",
  15995. "in": "query"
  15996. },
  15997. {
  15998. "type": "integer",
  15999. "description": "每页条数",
  16000. "name": "pagesize",
  16001. "in": "query"
  16002. },
  16003. {
  16004. "type": "integer",
  16005. "description": "用户id",
  16006. "name": "userid",
  16007. "in": "query",
  16008. "required": true
  16009. },
  16010. {
  16011. "type": "integer",
  16012. "description": "仓单贸易市场id",
  16013. "name": "marketid",
  16014. "in": "query"
  16015. },
  16016. {
  16017. "type": "integer",
  16018. "description": "0:仓单预售 1:仓单贸易",
  16019. "name": "haswr",
  16020. "in": "query",
  16021. "required": true
  16022. },
  16023. {
  16024. "type": "string",
  16025. "description": "开始交易日(yyyymmdd)",
  16026. "name": "begindate",
  16027. "in": "query"
  16028. },
  16029. {
  16030. "type": "string",
  16031. "description": "结束交易日(yyyymmdd)",
  16032. "name": "enddate",
  16033. "in": "query"
  16034. }
  16035. ],
  16036. "responses": {
  16037. "200": {
  16038. "description": "OK",
  16039. "schema": {
  16040. "type": "array",
  16041. "items": {
  16042. "$ref": "#/definitions/models.WrTradeDetail"
  16043. }
  16044. }
  16045. },
  16046. "500": {
  16047. "description": "Internal Server Error",
  16048. "schema": {
  16049. "$ref": "#/definitions/app.Response"
  16050. }
  16051. }
  16052. }
  16053. }
  16054. },
  16055. "/WrTrade2/QueryWrTradeOrderDetail": {
  16056. "get": {
  16057. "security": [
  16058. {
  16059. "ApiKeyAuth": []
  16060. }
  16061. ],
  16062. "produces": [
  16063. "application/json"
  16064. ],
  16065. "tags": [
  16066. "仓单贸易v2"
  16067. ],
  16068. "summary": "查询合约交易买卖大厅",
  16069. "parameters": [
  16070. {
  16071. "type": "integer",
  16072. "description": "页码",
  16073. "name": "page",
  16074. "in": "query"
  16075. },
  16076. {
  16077. "type": "integer",
  16078. "description": "每页条数",
  16079. "name": "pagesize",
  16080. "in": "query"
  16081. },
  16082. {
  16083. "type": "integer",
  16084. "description": "商品id",
  16085. "name": "goodsid",
  16086. "in": "query",
  16087. "required": true
  16088. },
  16089. {
  16090. "type": "integer",
  16091. "description": "买卖方向 0-买 1-卖",
  16092. "name": "buyorsell",
  16093. "in": "query",
  16094. "required": true
  16095. }
  16096. ],
  16097. "responses": {
  16098. "200": {
  16099. "description": "OK",
  16100. "schema": {
  16101. "type": "array",
  16102. "items": {
  16103. "$ref": "#/definitions/models.WrTradeOrderDetail"
  16104. }
  16105. }
  16106. },
  16107. "500": {
  16108. "description": "Internal Server Error",
  16109. "schema": {
  16110. "$ref": "#/definitions/app.Response"
  16111. }
  16112. }
  16113. }
  16114. }
  16115. },
  16116. "/WrTrade2/QueryWrTradeQuote": {
  16117. "get": {
  16118. "security": [
  16119. {
  16120. "ApiKeyAuth": []
  16121. }
  16122. ],
  16123. "produces": [
  16124. "application/json"
  16125. ],
  16126. "tags": [
  16127. "仓单贸易v2"
  16128. ],
  16129. "summary": "查询仓单贸易成交行情",
  16130. "parameters": [
  16131. {
  16132. "type": "integer",
  16133. "description": "现货商品id",
  16134. "name": "wrstandardid",
  16135. "in": "query",
  16136. "required": true
  16137. },
  16138. {
  16139. "type": "string",
  16140. "description": "开始日期(yyyymmdd)",
  16141. "name": "begindate",
  16142. "in": "query",
  16143. "required": true
  16144. },
  16145. {
  16146. "type": "string",
  16147. "description": "结束日期(yyyymmdd)",
  16148. "name": "enddate",
  16149. "in": "query",
  16150. "required": true
  16151. },
  16152. {
  16153. "type": "integer",
  16154. "description": "市场id",
  16155. "name": "marketid",
  16156. "in": "query"
  16157. }
  16158. ],
  16159. "responses": {
  16160. "200": {
  16161. "description": "OK",
  16162. "schema": {
  16163. "type": "array",
  16164. "items": {
  16165. "$ref": "#/definitions/models.Wrtradetradequote"
  16166. }
  16167. }
  16168. },
  16169. "500": {
  16170. "description": "Internal Server Error",
  16171. "schema": {
  16172. "$ref": "#/definitions/app.Response"
  16173. }
  16174. }
  16175. }
  16176. }
  16177. },
  16178. "/WrTrade2/QueryWrUserFriend": {
  16179. "get": {
  16180. "security": [
  16181. {
  16182. "ApiKeyAuth": []
  16183. }
  16184. ],
  16185. "produces": [
  16186. "application/json"
  16187. ],
  16188. "tags": [
  16189. "仓单贸易v2"
  16190. ],
  16191. "summary": "查询我的朋友",
  16192. "parameters": [
  16193. {
  16194. "type": "integer",
  16195. "description": "用户id",
  16196. "name": "userid",
  16197. "in": "query",
  16198. "required": true
  16199. },
  16200. {
  16201. "type": "integer",
  16202. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  16203. "name": "newuserid",
  16204. "in": "query"
  16205. }
  16206. ],
  16207. "responses": {
  16208. "200": {
  16209. "description": "OK",
  16210. "schema": {
  16211. "type": "array",
  16212. "items": {
  16213. "$ref": "#/definitions/models.WrUserFriend"
  16214. }
  16215. }
  16216. },
  16217. "500": {
  16218. "description": "Internal Server Error",
  16219. "schema": {
  16220. "$ref": "#/definitions/app.Response"
  16221. }
  16222. }
  16223. }
  16224. }
  16225. },
  16226. "/WrTrade2/QueryWrUserReceiptInfo": {
  16227. "get": {
  16228. "security": [
  16229. {
  16230. "ApiKeyAuth": []
  16231. }
  16232. ],
  16233. "produces": [
  16234. "application/json"
  16235. ],
  16236. "tags": [
  16237. "仓单贸易v2"
  16238. ],
  16239. "summary": "查询发票信息",
  16240. "parameters": [
  16241. {
  16242. "type": "integer",
  16243. "description": "用户id",
  16244. "name": "userid",
  16245. "in": "query"
  16246. },
  16247. {
  16248. "type": "integer",
  16249. "description": "发票类型 - 1:个人 2:企业",
  16250. "name": "receipttype",
  16251. "in": "query"
  16252. }
  16253. ],
  16254. "responses": {
  16255. "200": {
  16256. "description": "OK",
  16257. "schema": {
  16258. "type": "array",
  16259. "items": {
  16260. "$ref": "#/definitions/models.WrUserReceiptInfo"
  16261. }
  16262. }
  16263. },
  16264. "500": {
  16265. "description": "Internal Server Error",
  16266. "schema": {
  16267. "$ref": "#/definitions/app.Response"
  16268. }
  16269. }
  16270. }
  16271. }
  16272. },
  16273. "/WrTrade2/QueryXhcpSellBackApply": {
  16274. "get": {
  16275. "security": [
  16276. {
  16277. "ApiKeyAuth": []
  16278. }
  16279. ],
  16280. "produces": [
  16281. "application/json"
  16282. ],
  16283. "tags": [
  16284. "仓单贸易v2"
  16285. ],
  16286. "summary": "查询我的回收申请(新会陈皮)",
  16287. "parameters": [
  16288. {
  16289. "type": "integer",
  16290. "description": "用户ID",
  16291. "name": "userid",
  16292. "in": "query",
  16293. "required": true
  16294. }
  16295. ],
  16296. "responses": {
  16297. "200": {
  16298. "description": "OK",
  16299. "schema": {
  16300. "type": "array",
  16301. "items": {
  16302. "$ref": "#/definitions/models.Xhcpsellbackapply"
  16303. }
  16304. }
  16305. },
  16306. "500": {
  16307. "description": "Internal Server Error",
  16308. "schema": {
  16309. "$ref": "#/definitions/app.Response"
  16310. }
  16311. }
  16312. }
  16313. }
  16314. },
  16315. "/ZJ/GetBankTip": {
  16316. "get": {
  16317. "produces": [
  16318. "application/json"
  16319. ],
  16320. "tags": [
  16321. "中江"
  16322. ],
  16323. "summary": "获取中江网银端出入金提示信息",
  16324. "responses": {
  16325. "200": {
  16326. "description": "OK",
  16327. "schema": {
  16328. "type": "string"
  16329. }
  16330. },
  16331. "500": {
  16332. "description": "Internal Server Error",
  16333. "schema": {
  16334. "$ref": "#/definitions/app.Response"
  16335. }
  16336. }
  16337. }
  16338. }
  16339. },
  16340. "/ZJ/GetCusBankChannels": {
  16341. "get": {
  16342. "produces": [
  16343. "application/json"
  16344. ],
  16345. "tags": [
  16346. "中江"
  16347. ],
  16348. "summary": "获取中江出入金渠道显示列表",
  16349. "responses": {
  16350. "200": {
  16351. "description": "OK",
  16352. "schema": {
  16353. "type": "array",
  16354. "items": {
  16355. "type": "string"
  16356. }
  16357. }
  16358. },
  16359. "500": {
  16360. "description": "Internal Server Error",
  16361. "schema": {
  16362. "$ref": "#/definitions/app.Response"
  16363. }
  16364. }
  16365. }
  16366. }
  16367. }
  16368. },
  16369. "definitions": {
  16370. "app.Response": {
  16371. "type": "object",
  16372. "properties": {
  16373. "code": {
  16374. "type": "integer"
  16375. },
  16376. "data": {},
  16377. "msg": {
  16378. "type": "string"
  16379. },
  16380. "page": {
  16381. "description": "页码",
  16382. "type": "integer"
  16383. },
  16384. "pagesize": {
  16385. "description": "每页条数",
  16386. "type": "integer"
  16387. },
  16388. "total": {
  16389. "description": "总条数",
  16390. "type": "integer"
  16391. }
  16392. }
  16393. },
  16394. "common.ClientMenu": {
  16395. "type": "object",
  16396. "properties": {
  16397. "children": {
  16398. "description": "子菜单列表",
  16399. "type": "array",
  16400. "items": {
  16401. "$ref": "#/definitions/common.ClientMenu"
  16402. }
  16403. },
  16404. "code": {
  16405. "description": "ID",
  16406. "type": "string"
  16407. },
  16408. "isshow": {
  16409. "description": "是否显示",
  16410. "type": "boolean"
  16411. },
  16412. "remark": {
  16413. "description": "备注",
  16414. "type": "string"
  16415. },
  16416. "rulekey": {
  16417. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  16418. "type": "string"
  16419. },
  16420. "sort": {
  16421. "description": "排序",
  16422. "type": "integer"
  16423. },
  16424. "title": {
  16425. "description": "标题",
  16426. "type": "string"
  16427. },
  16428. "type": {
  16429. "description": "类型,1:菜单 2:按钮",
  16430. "type": "integer"
  16431. },
  16432. "url": {
  16433. "description": "URL",
  16434. "type": "string"
  16435. }
  16436. }
  16437. },
  16438. "common.PCWebMenu": {
  16439. "type": "object",
  16440. "properties": {
  16441. "auth": {
  16442. "description": "页面权限列表",
  16443. "type": "array",
  16444. "items": {
  16445. "$ref": "#/definitions/common.PCWebMenuAuth"
  16446. }
  16447. },
  16448. "children": {
  16449. "description": "子菜单列表",
  16450. "type": "array",
  16451. "items": {
  16452. "$ref": "#/definitions/common.PCWebMenu"
  16453. }
  16454. },
  16455. "code": {
  16456. "description": "ID,新版本中权限KEY也是这个字段",
  16457. "type": "string"
  16458. },
  16459. "component": {
  16460. "description": "路由组件",
  16461. "type": "string"
  16462. },
  16463. "isshow": {
  16464. "description": "是否显示",
  16465. "type": "boolean"
  16466. },
  16467. "path": {
  16468. "description": "路由路径",
  16469. "type": "string"
  16470. },
  16471. "remark": {
  16472. "description": "备注",
  16473. "type": "string"
  16474. },
  16475. "rulekey": {
  16476. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16477. "type": "string"
  16478. },
  16479. "sort": {
  16480. "description": "排序",
  16481. "type": "integer"
  16482. },
  16483. "title": {
  16484. "description": "标题",
  16485. "type": "string"
  16486. },
  16487. "url": {
  16488. "description": "URL",
  16489. "type": "string"
  16490. }
  16491. }
  16492. },
  16493. "common.PCWebMenuAuth": {
  16494. "type": "object",
  16495. "properties": {
  16496. "code": {
  16497. "description": "ID,新版本中权限KEY也是这个字段",
  16498. "type": "string"
  16499. },
  16500. "isshow": {
  16501. "description": "是否显示",
  16502. "type": "boolean"
  16503. },
  16504. "label": {
  16505. "description": "标题",
  16506. "type": "string"
  16507. },
  16508. "remark": {
  16509. "description": "备注",
  16510. "type": "string"
  16511. },
  16512. "rulekey": {
  16513. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16514. "type": "string"
  16515. }
  16516. }
  16517. },
  16518. "common.QueryImageConfigsRsp": {
  16519. "type": "object",
  16520. "required": [
  16521. "configid"
  16522. ],
  16523. "properties": {
  16524. "areauserid": {
  16525. "description": "所属机构ID",
  16526. "type": "integer"
  16527. },
  16528. "configid": {
  16529. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  16530. "type": "integer"
  16531. },
  16532. "createdate": {
  16533. "description": "创建时间",
  16534. "type": "string"
  16535. },
  16536. "creatorid": {
  16537. "description": "创建人",
  16538. "type": "integer"
  16539. },
  16540. "imagedetailpath": {
  16541. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  16542. "type": "string"
  16543. },
  16544. "imagepath": {
  16545. "description": "图片",
  16546. "type": "string"
  16547. },
  16548. "imagetype": {
  16549. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  16550. "type": "integer"
  16551. },
  16552. "isshow": {
  16553. "description": "是否展示 - 0:不展示 1:展示",
  16554. "type": "integer"
  16555. },
  16556. "marketid": {
  16557. "description": "市场ID",
  16558. "type": "integer"
  16559. },
  16560. "modifierid": {
  16561. "description": "操作人",
  16562. "type": "integer"
  16563. },
  16564. "sort": {
  16565. "description": "排序",
  16566. "type": "integer"
  16567. },
  16568. "title": {
  16569. "description": "标题",
  16570. "type": "string"
  16571. },
  16572. "trademode": {
  16573. "description": "交易模式",
  16574. "type": "integer"
  16575. },
  16576. "updatedate": {
  16577. "description": "修改时间",
  16578. "type": "string"
  16579. },
  16580. "url": {
  16581. "description": "链接(地址或商品ID)",
  16582. "type": "string"
  16583. },
  16584. "urltype": {
  16585. "description": "链接类型 - 1:直接地址 2:商品ID",
  16586. "type": "integer"
  16587. }
  16588. }
  16589. },
  16590. "common.QueryNoticeRsp": {
  16591. "type": "object",
  16592. "required": [
  16593. "autoid"
  16594. ],
  16595. "properties": {
  16596. "auditoruserid": {
  16597. "description": "审核人",
  16598. "type": "integer"
  16599. },
  16600. "auditremark": {
  16601. "description": "审核备注",
  16602. "type": "string"
  16603. },
  16604. "audittime": {
  16605. "description": "审核日期",
  16606. "type": "string"
  16607. },
  16608. "autoid": {
  16609. "description": "自增ID",
  16610. "type": "integer"
  16611. },
  16612. "content": {
  16613. "description": "内容",
  16614. "type": "string"
  16615. },
  16616. "createtime": {
  16617. "description": "创建时间",
  16618. "type": "string"
  16619. },
  16620. "creatorid": {
  16621. "description": "建仓人",
  16622. "type": "integer"
  16623. },
  16624. "endtime": {
  16625. "description": "结束时间",
  16626. "type": "string"
  16627. },
  16628. "istop": {
  16629. "description": "是否置顶 - 0:不置顶 1:置顶",
  16630. "type": "integer"
  16631. },
  16632. "msgiconurl": {
  16633. "description": "消息图标Url",
  16634. "type": "string"
  16635. },
  16636. "msgtype": {
  16637. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  16638. "type": "integer"
  16639. },
  16640. "publisher": {
  16641. "description": "消息发布者",
  16642. "type": "string"
  16643. },
  16644. "readed": {
  16645. "description": "是否已读",
  16646. "type": "boolean"
  16647. },
  16648. "scheduletime": {
  16649. "description": "计划发送时间",
  16650. "type": "string"
  16651. },
  16652. "sendtype": {
  16653. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  16654. "type": "integer"
  16655. },
  16656. "sentstatus": {
  16657. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  16658. "type": "integer"
  16659. },
  16660. "title": {
  16661. "description": "标题",
  16662. "type": "string"
  16663. },
  16664. "userid": {
  16665. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  16666. "type": "integer"
  16667. }
  16668. }
  16669. },
  16670. "common.QueryProvincesAndCitiesRsp": {
  16671. "type": "object",
  16672. "properties": {
  16673. "cities": {
  16674. "description": "市",
  16675. "type": "array",
  16676. "items": {
  16677. "$ref": "#/definitions/models.Division"
  16678. }
  16679. },
  16680. "province": {
  16681. "description": "省",
  16682. "$ref": "#/definitions/models.Division"
  16683. }
  16684. }
  16685. },
  16686. "common.QueryTableDefineRsp": {
  16687. "type": "object",
  16688. "required": [
  16689. "tablekey"
  16690. ],
  16691. "properties": {
  16692. "columns": {
  16693. "description": "列头信息数组",
  16694. "type": "array",
  16695. "items": {
  16696. "$ref": "#/definitions/models.Tablecolumnconfig"
  16697. }
  16698. },
  16699. "remark": {
  16700. "description": "Remark",
  16701. "type": "string"
  16702. },
  16703. "tabelmenu": {
  16704. "description": "列表菜单",
  16705. "type": "string"
  16706. },
  16707. "tablekey": {
  16708. "description": "列表Key",
  16709. "type": "string"
  16710. },
  16711. "tablename": {
  16712. "description": "列表名称",
  16713. "type": "string"
  16714. },
  16715. "tabletype": {
  16716. "description": "列表类型 - 1:管理端 2:终端",
  16717. "type": "integer"
  16718. }
  16719. }
  16720. },
  16721. "common.QueryTraderMenuRsp": {
  16722. "type": "object",
  16723. "properties": {
  16724. "OperationMenu": {
  16725. "description": "功能菜单",
  16726. "type": "array",
  16727. "items": {
  16728. "$ref": "#/definitions/models.OperationPrimaryMenu"
  16729. }
  16730. },
  16731. "QuoteMenu": {
  16732. "description": "报价牌分类菜单",
  16733. "type": "array",
  16734. "items": {
  16735. "$ref": "#/definitions/models.QuotePrimaryMenu"
  16736. }
  16737. }
  16738. }
  16739. },
  16740. "cptrade.Cptradepositioncancel": {
  16741. "type": "object",
  16742. "required": [
  16743. "cancelid"
  16744. ],
  16745. "properties": {
  16746. "accountid": {
  16747. "description": "申请人账户ID",
  16748. "type": "integer"
  16749. },
  16750. "applystatus": {
  16751. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16752. "type": "integer"
  16753. },
  16754. "applytime": {
  16755. "description": "申请时间",
  16756. "type": "string"
  16757. },
  16758. "cancelid": {
  16759. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16760. "type": "integer"
  16761. },
  16762. "cancelqty": {
  16763. "description": "注销数量",
  16764. "type": "integer"
  16765. },
  16766. "createtime": {
  16767. "description": "创建时间",
  16768. "type": "string"
  16769. },
  16770. "creatorid": {
  16771. "description": "创建人ID",
  16772. "type": "integer"
  16773. },
  16774. "creatorname": {
  16775. "description": "创建人",
  16776. "type": "string"
  16777. },
  16778. "goodscode": {
  16779. "description": "订单商品代码",
  16780. "type": "string"
  16781. },
  16782. "goodsid": {
  16783. "description": "商品ID",
  16784. "type": "integer"
  16785. },
  16786. "goodsname": {
  16787. "description": "订单商品名称",
  16788. "type": "string"
  16789. },
  16790. "goodunit": {
  16791. "description": "报价单位",
  16792. "type": "string"
  16793. },
  16794. "handlestatus": {
  16795. "description": "处理状态",
  16796. "type": "integer"
  16797. },
  16798. "marketid": {
  16799. "description": "市场ID",
  16800. "type": "integer"
  16801. },
  16802. "marketname": {
  16803. "description": "市场名称",
  16804. "type": "string"
  16805. },
  16806. "tradedate": {
  16807. "description": "交易日(yyyyMMdd)",
  16808. "type": "string"
  16809. },
  16810. "userid": {
  16811. "description": "申请人ID",
  16812. "type": "integer"
  16813. }
  16814. }
  16815. },
  16816. "cptrade.Cptradepresaleapply": {
  16817. "type": "object",
  16818. "required": [
  16819. "applyid"
  16820. ],
  16821. "properties": {
  16822. "accountid": {
  16823. "description": "申请人账户ID",
  16824. "type": "integer"
  16825. },
  16826. "applyid": {
  16827. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16828. "type": "integer"
  16829. },
  16830. "applyremark": {
  16831. "description": "申请备注",
  16832. "type": "string"
  16833. },
  16834. "applystatus": {
  16835. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16836. "type": "integer"
  16837. },
  16838. "applytime": {
  16839. "description": "申请时间",
  16840. "type": "string"
  16841. },
  16842. "attachmenturl": {
  16843. "description": "附件地址",
  16844. "type": "string"
  16845. },
  16846. "endtime": {
  16847. "description": "预售结束时间",
  16848. "type": "string"
  16849. },
  16850. "goodscode": {
  16851. "description": "商品代码",
  16852. "type": "string"
  16853. },
  16854. "goodsid": {
  16855. "description": "商品ID",
  16856. "type": "integer"
  16857. },
  16858. "goodsname": {
  16859. "description": "商品名称",
  16860. "type": "string"
  16861. },
  16862. "goodunit": {
  16863. "description": "报价单位",
  16864. "type": "string"
  16865. },
  16866. "handlestatus": {
  16867. "description": "处理状态",
  16868. "type": "integer"
  16869. },
  16870. "marketid": {
  16871. "description": "预售市场ID",
  16872. "type": "integer"
  16873. },
  16874. "marketname": {
  16875. "description": "预售市场名称",
  16876. "type": "string"
  16877. },
  16878. "presaleqty": {
  16879. "description": "预售数量",
  16880. "type": "integer"
  16881. },
  16882. "relatedgoodscode": {
  16883. "description": "关联交易合约代码",
  16884. "type": "string"
  16885. },
  16886. "relatedgoodsid": {
  16887. "description": "关联交易合约ID",
  16888. "type": "integer"
  16889. },
  16890. "relatedgoodsname": {
  16891. "description": "关联交易合约名称",
  16892. "type": "string"
  16893. },
  16894. "starttime": {
  16895. "description": "预售开始时间",
  16896. "type": "string"
  16897. },
  16898. "tradedate": {
  16899. "description": "交易日(yyyyMMdd)",
  16900. "type": "string"
  16901. },
  16902. "trademode": {
  16903. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  16904. "type": "integer"
  16905. },
  16906. "userid": {
  16907. "description": "申请人ID",
  16908. "type": "integer"
  16909. }
  16910. }
  16911. },
  16912. "cptrade.Cptradeusergoodsdata": {
  16913. "type": "object",
  16914. "required": [
  16915. "accountid",
  16916. "goodsid"
  16917. ],
  16918. "properties": {
  16919. "EnabledQty": {
  16920. "description": "可用量",
  16921. "type": "integer"
  16922. },
  16923. "GoodsCode": {
  16924. "description": "订单商品代码",
  16925. "type": "string"
  16926. },
  16927. "GoodsName": {
  16928. "description": "订单商品名称",
  16929. "type": "string"
  16930. },
  16931. "WRStandardCode": {
  16932. "description": "仓单标准代码",
  16933. "type": "string"
  16934. },
  16935. "WRStandardName": {
  16936. "description": "仓单标准名称",
  16937. "type": "string"
  16938. },
  16939. "accountid": {
  16940. "description": "账户ID",
  16941. "type": "integer"
  16942. },
  16943. "cancelqty": {
  16944. "description": "注销量",
  16945. "type": "integer"
  16946. },
  16947. "curpresaleqty": {
  16948. "description": "当前预售量",
  16949. "type": "integer"
  16950. },
  16951. "deliveryqty": {
  16952. "description": "交割量",
  16953. "type": "integer"
  16954. },
  16955. "freezeamount": {
  16956. "description": "冻结金额",
  16957. "type": "number"
  16958. },
  16959. "goodsid": {
  16960. "description": "商品ID",
  16961. "type": "integer"
  16962. },
  16963. "goodunit": {
  16964. "description": "报价单位",
  16965. "type": "string"
  16966. },
  16967. "hasspotfreeze": {
  16968. "description": "是否有现货冻结 - 0:否 1:有",
  16969. "type": "integer"
  16970. },
  16971. "inqty": {
  16972. "description": "转入量(总数量)",
  16973. "type": "integer"
  16974. },
  16975. "marketid": {
  16976. "description": "市场ID",
  16977. "type": "integer"
  16978. },
  16979. "presaledamount": {
  16980. "description": "已预售总金额",
  16981. "type": "integer"
  16982. },
  16983. "presaledqty": {
  16984. "description": "已预售量",
  16985. "type": "integer"
  16986. },
  16987. "userid": {
  16988. "description": "用户ID",
  16989. "type": "integer"
  16990. },
  16991. "wrstandardid": {
  16992. "description": "仓单标准ID",
  16993. "type": "integer"
  16994. }
  16995. }
  16996. },
  16997. "cptrade.QueryCPTradeMyBidRsp": {
  16998. "type": "object",
  16999. "required": [
  17000. "accountid",
  17001. "goodsid",
  17002. "marketid",
  17003. "orderid",
  17004. "orderqty",
  17005. "ordertime",
  17006. "tradeprice",
  17007. "tradeqty"
  17008. ],
  17009. "properties": {
  17010. "accountid": {
  17011. "description": "账户ID[报价币种]",
  17012. "type": "integer"
  17013. },
  17014. "goodsid": {
  17015. "description": "商品ID",
  17016. "type": "integer"
  17017. },
  17018. "goodunit": {
  17019. "description": "报价单位",
  17020. "type": "string"
  17021. },
  17022. "marketid": {
  17023. "description": "市场ID",
  17024. "type": "integer"
  17025. },
  17026. "orderid": {
  17027. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17028. "type": "integer"
  17029. },
  17030. "orderprice": {
  17031. "description": "委托价格",
  17032. "type": "number"
  17033. },
  17034. "orderqty": {
  17035. "description": "委托数量",
  17036. "type": "integer"
  17037. },
  17038. "ordertime": {
  17039. "description": "委托时间",
  17040. "type": "string"
  17041. },
  17042. "ordertotalprice": {
  17043. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  17044. "type": "number"
  17045. },
  17046. "ordertotalweight": {
  17047. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  17048. "type": "integer"
  17049. },
  17050. "totaltotalprice": {
  17051. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  17052. "type": "number"
  17053. },
  17054. "tradeprice": {
  17055. "description": "成交价格",
  17056. "type": "number"
  17057. },
  17058. "tradeqty": {
  17059. "description": "成交数量",
  17060. "type": "integer"
  17061. }
  17062. }
  17063. },
  17064. "cptrade.QueryCPTradeOrderDetailRsq": {
  17065. "type": "object",
  17066. "required": [
  17067. "accountid",
  17068. "buildtype",
  17069. "buyorsell",
  17070. "goodsid",
  17071. "marketid",
  17072. "memberuserid",
  17073. "operatetype",
  17074. "orderqty",
  17075. "ordertime",
  17076. "pricemode",
  17077. "strorderid",
  17078. "tradedate",
  17079. "validtype"
  17080. ],
  17081. "properties": {
  17082. "accountid": {
  17083. "description": "账户ID[报价币种]",
  17084. "type": "integer"
  17085. },
  17086. "buildtype": {
  17087. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17088. "type": "integer"
  17089. },
  17090. "buyorsell": {
  17091. "description": "买卖 - 0:买 1:卖",
  17092. "type": "integer"
  17093. },
  17094. "cancelorderid": {
  17095. "description": "撤单单号(撤单时填写)",
  17096. "type": "integer"
  17097. },
  17098. "cancelqty": {
  17099. "description": "撤单数量",
  17100. "type": "integer"
  17101. },
  17102. "clientordertime": {
  17103. "description": "客户端委托时间",
  17104. "type": "string"
  17105. },
  17106. "clientticket": {
  17107. "description": "客户端流水号",
  17108. "type": "string"
  17109. },
  17110. "clienttype": {
  17111. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17112. "type": "integer"
  17113. },
  17114. "closeexchagechargevalue": {
  17115. "description": "平仓交易所手续费设置值",
  17116. "type": "number"
  17117. },
  17118. "closefeealgorithm": {
  17119. "description": "平仓手续费收取方式 1:比率 2:固定",
  17120. "type": "integer"
  17121. },
  17122. "closefreezecharge": {
  17123. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17124. "type": "number"
  17125. },
  17126. "closememberchargevalue": {
  17127. "description": "平仓会员手续费设置值",
  17128. "type": "number"
  17129. },
  17130. "closeqty": {
  17131. "description": "平仓数量(先建后平操作 需要记录)",
  17132. "type": "integer"
  17133. },
  17134. "closetradeqty": {
  17135. "description": "平仓成交数量(先建后平操作,需要记录)",
  17136. "type": "integer"
  17137. },
  17138. "closeunfreezecharge": {
  17139. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17140. "type": "number"
  17141. },
  17142. "delistingtype": {
  17143. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17144. "type": "integer"
  17145. },
  17146. "freezecharge": {
  17147. "description": "冻结手续费",
  17148. "type": "number"
  17149. },
  17150. "freezemargin": {
  17151. "description": "冻结保证金(冻结交易金额)",
  17152. "type": "number"
  17153. },
  17154. "gcaccountid": {
  17155. "description": "账户ID[合约币种]",
  17156. "type": "integer"
  17157. },
  17158. "goodsid": {
  17159. "description": "商品ID",
  17160. "type": "integer"
  17161. },
  17162. "isconfirmexercise": {
  17163. "description": "是否确认行权- 0:否 1:是",
  17164. "type": "integer"
  17165. },
  17166. "ispreexercise": {
  17167. "description": "是否预申报- 0:否 1:是",
  17168. "type": "integer"
  17169. },
  17170. "listingselecttype": {
  17171. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17172. "type": "integer"
  17173. },
  17174. "marginalgorithm": {
  17175. "description": "保证金收取方式 1:比率 2:固定",
  17176. "type": "integer"
  17177. },
  17178. "marginvalue": {
  17179. "description": "即市保证金设置值",
  17180. "type": "number"
  17181. },
  17182. "marketid": {
  17183. "description": "市场ID",
  17184. "type": "integer"
  17185. },
  17186. "marketmaxsub": {
  17187. "description": "市价最大偏移范围",
  17188. "type": "number"
  17189. },
  17190. "memberuserid": {
  17191. "description": "所属会员UserID",
  17192. "type": "integer"
  17193. },
  17194. "openexchagechargevalue": {
  17195. "description": "建仓交易所手续费设置值",
  17196. "type": "number"
  17197. },
  17198. "openfeealgorithm": {
  17199. "description": "建仓手续费收取方式 1:比率 2:固定",
  17200. "type": "integer"
  17201. },
  17202. "openfreezecharge": {
  17203. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17204. "type": "number"
  17205. },
  17206. "openmemberchargevalue": {
  17207. "description": "建仓会员手续费设置值",
  17208. "type": "number"
  17209. },
  17210. "openqty": {
  17211. "description": "开仓数量(先建后平操作,需要记录)",
  17212. "type": "integer"
  17213. },
  17214. "opentradeqty": {
  17215. "description": "开仓成交数量(先建后平操作,需要记录)",
  17216. "type": "integer"
  17217. },
  17218. "openunfreezecharge": {
  17219. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17220. "type": "number"
  17221. },
  17222. "operatetype": {
  17223. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17224. "type": "integer"
  17225. },
  17226. "operatorid": {
  17227. "description": "登录账号(LoginID)",
  17228. "type": "integer"
  17229. },
  17230. "optiontype": {
  17231. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17232. "type": "integer"
  17233. },
  17234. "orderprice": {
  17235. "description": "委托价格",
  17236. "type": "number"
  17237. },
  17238. "orderqty": {
  17239. "description": "委托数量",
  17240. "type": "integer"
  17241. },
  17242. "ordersrc": {
  17243. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17244. "type": "integer"
  17245. },
  17246. "orderstatus": {
  17247. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17248. "type": "integer"
  17249. },
  17250. "ordertime": {
  17251. "description": "委托时间",
  17252. "type": "string"
  17253. },
  17254. "preexerciseprice": {
  17255. "description": "预申报价格",
  17256. "type": "number"
  17257. },
  17258. "premium": {
  17259. "description": "权利金",
  17260. "type": "number"
  17261. },
  17262. "preorderid": {
  17263. "description": "关联预埋单号(止盈止损单时填写)",
  17264. "type": "integer"
  17265. },
  17266. "pricemode": {
  17267. "description": "取价方式 - 1:市价 2: 限价",
  17268. "type": "integer"
  17269. },
  17270. "quoteid": {
  17271. "description": "报价单ID",
  17272. "type": "integer"
  17273. },
  17274. "relatedid": {
  17275. "description": "关联单号(交割单)",
  17276. "type": "integer"
  17277. },
  17278. "retcode": {
  17279. "description": "错误代码",
  17280. "type": "integer"
  17281. },
  17282. "sessionid": {
  17283. "description": "会话ID",
  17284. "type": "integer"
  17285. },
  17286. "strorderid": {
  17287. "description": "委托单号",
  17288. "type": "string"
  17289. },
  17290. "tradedate": {
  17291. "description": "交易日(yyyyMMdd)",
  17292. "type": "string"
  17293. },
  17294. "tradeproperty": {
  17295. "description": "交易属性",
  17296. "type": "integer"
  17297. },
  17298. "tradeqty": {
  17299. "description": "成交数量",
  17300. "type": "integer"
  17301. },
  17302. "unfreezecharge": {
  17303. "description": "解冻手续费",
  17304. "type": "number"
  17305. },
  17306. "unfreezemargin": {
  17307. "description": "解冻保证金",
  17308. "type": "number"
  17309. },
  17310. "updatetime": {
  17311. "description": "更新时间",
  17312. "type": "string"
  17313. },
  17314. "uuid": {
  17315. "description": "发起端唯一id",
  17316. "type": "string"
  17317. },
  17318. "validtime": {
  17319. "description": "有效期限",
  17320. "type": "string"
  17321. },
  17322. "validtype": {
  17323. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17324. "type": "integer"
  17325. },
  17326. "volumetype": {
  17327. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17328. "type": "integer"
  17329. }
  17330. }
  17331. },
  17332. "cptrade.QueryMyCPTradeGoodsRsp": {
  17333. "type": "object",
  17334. "required": [
  17335. "goodscode",
  17336. "goodsid",
  17337. "goodsname",
  17338. "marketid",
  17339. "relatedgoodscode",
  17340. "relatedgoodsname"
  17341. ],
  17342. "properties": {
  17343. "accountid": {
  17344. "description": "卖方账户ID",
  17345. "type": "integer"
  17346. },
  17347. "agreeunit": {
  17348. "description": "合约单位",
  17349. "type": "number"
  17350. },
  17351. "applyid": {
  17352. "description": "关联申请ID",
  17353. "type": "integer"
  17354. },
  17355. "attachmenturl": {
  17356. "description": "附件地址",
  17357. "type": "string"
  17358. },
  17359. "createtime": {
  17360. "description": "创建时间",
  17361. "type": "string"
  17362. },
  17363. "currencyid": {
  17364. "description": "报价货币ID",
  17365. "type": "integer"
  17366. },
  17367. "decimalplace": {
  17368. "description": "报价小数位",
  17369. "type": "integer"
  17370. },
  17371. "endtime": {
  17372. "description": "预售结束时间",
  17373. "type": "string"
  17374. },
  17375. "floorprice": {
  17376. "description": "底价[大宗式竞拍]",
  17377. "type": "number"
  17378. },
  17379. "goodscode": {
  17380. "description": "商品代码(预售)",
  17381. "type": "string"
  17382. },
  17383. "goodsdetail": {
  17384. "description": "详情[大宗]",
  17385. "type": "string"
  17386. },
  17387. "goodsid": {
  17388. "description": "商品ID(自增ID SEQ_GOODS)",
  17389. "type": "integer"
  17390. },
  17391. "goodsname": {
  17392. "description": "商品名称(预售)",
  17393. "type": "string"
  17394. },
  17395. "goodunit": {
  17396. "description": "报价单位",
  17397. "type": "string"
  17398. },
  17399. "goodunitid": {
  17400. "description": "报价单位ID",
  17401. "type": "integer"
  17402. },
  17403. "marketid": {
  17404. "description": "所属市场ID",
  17405. "type": "integer"
  17406. },
  17407. "marketname": {
  17408. "description": "预售市场名称",
  17409. "type": "string"
  17410. },
  17411. "presaledamount": {
  17412. "description": "已预售总金额(预售结束时更新)",
  17413. "type": "number"
  17414. },
  17415. "presaledqty": {
  17416. "description": "已预售量(预售结束时更新)",
  17417. "type": "integer"
  17418. },
  17419. "presalemode": {
  17420. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17421. "type": "integer"
  17422. },
  17423. "presaleqty": {
  17424. "description": "预售数量",
  17425. "type": "integer"
  17426. },
  17427. "refprice": {
  17428. "description": "参考价格[一口价]",
  17429. "type": "number"
  17430. },
  17431. "relatedgoodscode": {
  17432. "description": "商品代码(订单)",
  17433. "type": "string"
  17434. },
  17435. "relatedgoodsid": {
  17436. "description": "关联交易合约ID",
  17437. "type": "integer"
  17438. },
  17439. "relatedgoodsname": {
  17440. "description": "商品名称(订单)",
  17441. "type": "string"
  17442. },
  17443. "relatedmarketid": {
  17444. "description": "关联交易合约市场ID",
  17445. "type": "integer"
  17446. },
  17447. "sellstatus": {
  17448. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17449. "type": "integer"
  17450. },
  17451. "startprice": {
  17452. "description": "起拍价[大宗式竞拍]",
  17453. "type": "number"
  17454. },
  17455. "starttime": {
  17456. "description": "预售开始时间",
  17457. "type": "string"
  17458. },
  17459. "tradedate": {
  17460. "description": "交易日(yyyyMMdd)",
  17461. "type": "string"
  17462. },
  17463. "tradeprice": {
  17464. "description": "成交价[大宗]",
  17465. "type": "number"
  17466. },
  17467. "userid": {
  17468. "description": "卖方用户ID",
  17469. "type": "integer"
  17470. }
  17471. }
  17472. },
  17473. "cptrade.QueryPresaleGoodsExRsp": {
  17474. "type": "object",
  17475. "required": [
  17476. "goodsid"
  17477. ],
  17478. "properties": {
  17479. "attachmenturl": {
  17480. "description": "附件地址",
  17481. "type": "string"
  17482. },
  17483. "createtime": {
  17484. "description": "创建时间",
  17485. "type": "string"
  17486. },
  17487. "endtime": {
  17488. "description": "预售结束时间",
  17489. "type": "string"
  17490. },
  17491. "floorprice": {
  17492. "description": "底价[大宗式竞拍]",
  17493. "type": "number"
  17494. },
  17495. "goodsdetail": {
  17496. "description": "详情[大宗]",
  17497. "type": "string"
  17498. },
  17499. "goodsid": {
  17500. "description": "商品ID(预售)",
  17501. "type": "integer"
  17502. },
  17503. "goodunit": {
  17504. "description": "报价单位",
  17505. "type": "string"
  17506. },
  17507. "marketid": {
  17508. "description": "预售市场ID - 根据预售模式选择市场",
  17509. "type": "integer"
  17510. },
  17511. "presaledamount": {
  17512. "description": "已预售总金额(预售结束时更新)",
  17513. "type": "number"
  17514. },
  17515. "presaledqty": {
  17516. "description": "已预售量(预售结束时更新)",
  17517. "type": "integer"
  17518. },
  17519. "presalemode": {
  17520. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17521. "type": "integer"
  17522. },
  17523. "presaleqty": {
  17524. "description": "预售数量",
  17525. "type": "integer"
  17526. },
  17527. "refprice": {
  17528. "description": "参考价格[一口价]",
  17529. "type": "number"
  17530. },
  17531. "relatedgoodsid": {
  17532. "description": "关联交易合约ID",
  17533. "type": "integer"
  17534. },
  17535. "relatedmarketid": {
  17536. "description": "关联交易合约市场ID",
  17537. "type": "integer"
  17538. },
  17539. "sellstatus": {
  17540. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17541. "type": "integer"
  17542. },
  17543. "startprice": {
  17544. "description": "起拍价[大宗式竞拍]",
  17545. "type": "number"
  17546. },
  17547. "starttime": {
  17548. "description": "预售开始时间",
  17549. "type": "string"
  17550. },
  17551. "tradedate": {
  17552. "description": "交易日(yyyyMMdd)",
  17553. "type": "string"
  17554. },
  17555. "tradeprice": {
  17556. "description": "成交价[大宗]",
  17557. "type": "number"
  17558. }
  17559. }
  17560. },
  17561. "delivery.QueryDeliveryRelationRsp": {
  17562. "type": "object",
  17563. "required": [
  17564. "begindate",
  17565. "enddate",
  17566. "goodsid",
  17567. "mindeliveryqty",
  17568. "xdeliveryratio"
  17569. ],
  17570. "properties": {
  17571. "begindate": {
  17572. "description": "起始日期(yyyyMMdd)",
  17573. "type": "string"
  17574. },
  17575. "buytemplateid": {
  17576. "description": "买履约计划模板ID",
  17577. "type": "integer"
  17578. },
  17579. "deliverygoodscode": {
  17580. "description": "品种代码",
  17581. "type": "string"
  17582. },
  17583. "deliverygoodsid": {
  17584. "description": "交割商品",
  17585. "type": "integer"
  17586. },
  17587. "deliverygoodsname": {
  17588. "description": "品种名称",
  17589. "type": "string"
  17590. },
  17591. "deliverymode": {
  17592. "description": "交割方式 - 1:点选式 2:申报式",
  17593. "type": "integer"
  17594. },
  17595. "deliverypricerule": {
  17596. "description": "交割价规则- 1:行情价 2:建仓价",
  17597. "type": "integer"
  17598. },
  17599. "deliverytype": {
  17600. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  17601. "type": "integer"
  17602. },
  17603. "enddate": {
  17604. "description": "结束日期(yyyyMMdd)",
  17605. "type": "string"
  17606. },
  17607. "enumdicname": {
  17608. "description": "品类单位名称",
  17609. "type": "string"
  17610. },
  17611. "goodscode": {
  17612. "description": "商品代码",
  17613. "type": "string"
  17614. },
  17615. "goodsid": {
  17616. "description": "交易合约ID",
  17617. "type": "integer"
  17618. },
  17619. "goodsname": {
  17620. "description": "商品名称",
  17621. "type": "string"
  17622. },
  17623. "marketid": {
  17624. "description": "市场ID",
  17625. "type": "integer"
  17626. },
  17627. "mindeliveryqty": {
  17628. "description": "最小交割系数(K)",
  17629. "type": "integer"
  17630. },
  17631. "p2deliveryprice": {
  17632. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  17633. "type": "number"
  17634. },
  17635. "p2deliveryratio": {
  17636. "description": "P2合约系数(p)",
  17637. "type": "integer"
  17638. },
  17639. "p2goodsid": {
  17640. "description": "P2合约ID",
  17641. "type": "integer"
  17642. },
  17643. "p2pricemode": {
  17644. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  17645. "type": "integer"
  17646. },
  17647. "pdeliveryprice": {
  17648. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  17649. "type": "number"
  17650. },
  17651. "pdeliveryratio": {
  17652. "description": "P合约系数(n)",
  17653. "type": "integer"
  17654. },
  17655. "pgoodscode": {
  17656. "description": "p合约代码",
  17657. "type": "string"
  17658. },
  17659. "pgoodsid": {
  17660. "description": "P合约ID",
  17661. "type": "integer"
  17662. },
  17663. "ppricemode": {
  17664. "description": "P合约价格方式 - 1:商品价 2:固定值",
  17665. "type": "integer"
  17666. },
  17667. "rratio": {
  17668. "description": "兑换系数(R)",
  17669. "type": "integer"
  17670. },
  17671. "rratio1": {
  17672. "description": "兑换系数(交易合约)(R1)",
  17673. "type": "integer"
  17674. },
  17675. "rratio2": {
  17676. "description": "兑换系数(仓单标准)(R2)",
  17677. "type": "integer"
  17678. },
  17679. "selltemplateid": {
  17680. "description": "卖履约计划模板ID",
  17681. "type": "integer"
  17682. },
  17683. "wrstandardid": {
  17684. "description": "仓单标准ID",
  17685. "type": "integer"
  17686. },
  17687. "xdeliveryratio": {
  17688. "description": "交易合约系数(m)",
  17689. "type": "integer"
  17690. }
  17691. }
  17692. },
  17693. "ermcp.ExposureDetailRsp": {
  17694. "type": "object",
  17695. "properties": {
  17696. "areauserid": {
  17697. "description": "机构ID",
  17698. "type": "integer"
  17699. },
  17700. "changeQty": {
  17701. "description": "套保变动量",
  17702. "type": "number"
  17703. },
  17704. "contracttype": {
  17705. "description": "现货合同类型 - 1:采购 -1:销售",
  17706. "type": "integer"
  17707. },
  17708. "convertfactor": {
  17709. "description": "标仓系数",
  17710. "type": "number"
  17711. },
  17712. "convertratio": {
  17713. "description": "套保系数",
  17714. "type": "number"
  17715. },
  17716. "createtime": {
  17717. "description": "时间",
  17718. "type": "string"
  17719. },
  17720. "enumdicname": {
  17721. "description": "现货商品单位名称",
  17722. "type": "string"
  17723. },
  17724. "logtype": {
  17725. "description": "类型 - 1:套保计划 2:现货合同",
  17726. "type": "integer"
  17727. },
  17728. "middlegoodsId": {
  17729. "description": "套保商品id",
  17730. "type": "integer"
  17731. },
  17732. "middlegoodscode": {
  17733. "description": "套保商品代码",
  17734. "type": "string"
  17735. },
  17736. "middlegoodsname": {
  17737. "description": "套保商品名称",
  17738. "type": "string"
  17739. },
  17740. "qty": {
  17741. "description": "数量",
  17742. "type": "number"
  17743. },
  17744. "relateNo": {
  17745. "description": "现货合同/套保计划编号",
  17746. "type": "string"
  17747. },
  17748. "wrstandardcode": {
  17749. "description": "现货商品代码",
  17750. "type": "string"
  17751. },
  17752. "wrstandardid": {
  17753. "description": "现货商品ID",
  17754. "type": "integer"
  17755. },
  17756. "wrstandardname": {
  17757. "description": "现货商品名称",
  17758. "type": "string"
  17759. }
  17760. }
  17761. },
  17762. "ermcp.ExposureHedgePosDetailRsp": {
  17763. "type": "object",
  17764. "properties": {
  17765. "buyorsell": {
  17766. "description": "买卖方向 0-买 1-卖",
  17767. "type": "integer"
  17768. },
  17769. "channelbuildtype": {
  17770. "description": "开平方向 1-建仓 2-平仓",
  17771. "type": "integer"
  17772. },
  17773. "goodscode": {
  17774. "description": "商品代码",
  17775. "type": "string"
  17776. },
  17777. "goodsname": {
  17778. "description": "商品名称",
  17779. "type": "string"
  17780. },
  17781. "hedgegoodsid": {
  17782. "description": "商品id",
  17783. "type": "integer"
  17784. },
  17785. "tradeqty": {
  17786. "description": "数量(成交数量)",
  17787. "type": "integer"
  17788. },
  17789. "tradetime": {
  17790. "description": "时间(成交时间)",
  17791. "type": "string"
  17792. }
  17793. }
  17794. },
  17795. "ermcp.ExposureHedgePositionRsp": {
  17796. "type": "object",
  17797. "properties": {
  17798. "accountid": {
  17799. "description": "资金账号[外部母账户]",
  17800. "type": "integer"
  17801. },
  17802. "curbuyposition": {
  17803. "description": "期末买头寸",
  17804. "type": "integer"
  17805. },
  17806. "cursellposition": {
  17807. "description": "期末卖头寸",
  17808. "type": "integer"
  17809. },
  17810. "curtdbuyposition": {
  17811. "description": "期末今日买头寸",
  17812. "type": "integer"
  17813. },
  17814. "curtdsellposition": {
  17815. "description": "期末今日卖头寸",
  17816. "type": "integer"
  17817. },
  17818. "curydbuyposition": {
  17819. "description": "期末上日买头寸",
  17820. "type": "integer"
  17821. },
  17822. "curydsellposition": {
  17823. "description": "期末上日卖头寸",
  17824. "type": "integer"
  17825. },
  17826. "decreaseqty": {
  17827. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17828. "type": "integer"
  17829. },
  17830. "fretdbuyposition": {
  17831. "description": "冻结今日买头寸",
  17832. "type": "integer"
  17833. },
  17834. "fretdsellposition": {
  17835. "description": "冻结今日卖头寸",
  17836. "type": "integer"
  17837. },
  17838. "freydbuyposition": {
  17839. "description": "冻结上日买头寸",
  17840. "type": "integer"
  17841. },
  17842. "freydsellposition": {
  17843. "description": "冻结上日卖头寸",
  17844. "type": "integer"
  17845. },
  17846. "goodscode": {
  17847. "description": "商品代码",
  17848. "type": "string"
  17849. },
  17850. "goodsid": {
  17851. "description": "商品id",
  17852. "type": "integer"
  17853. },
  17854. "goodsname": {
  17855. "description": "商品名称",
  17856. "type": "string"
  17857. },
  17858. "hedgeaccountcode": {
  17859. "description": "对冲账号",
  17860. "type": "string"
  17861. },
  17862. "hedgegoodsid": {
  17863. "description": "对冲合约ID",
  17864. "type": "integer"
  17865. },
  17866. "increaseqty": {
  17867. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17868. "type": "integer"
  17869. },
  17870. "marketid": {
  17871. "description": "市场ID",
  17872. "type": "integer"
  17873. },
  17874. "relateduserid": {
  17875. "description": "关联用户id",
  17876. "type": "integer"
  17877. },
  17878. "totalcurqty": {
  17879. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17880. "type": "integer"
  17881. },
  17882. "totalydqty": {
  17883. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17884. "type": "integer"
  17885. },
  17886. "tradedate": {
  17887. "description": "交易日(yyyyMMdd)",
  17888. "type": "string"
  17889. },
  17890. "ydbuyposition": {
  17891. "description": "期初买头寸",
  17892. "type": "integer"
  17893. },
  17894. "ydsellposition": {
  17895. "description": "期初卖头寸",
  17896. "type": "integer"
  17897. }
  17898. }
  17899. },
  17900. "ermcp.ExposureSpotDetailRsp": {
  17901. "type": "object",
  17902. "properties": {
  17903. "contracttype": {
  17904. "description": "合同类型 1-采购 -1-销售",
  17905. "type": "integer"
  17906. },
  17907. "createtime": {
  17908. "description": "创建时间",
  17909. "type": "string"
  17910. },
  17911. "enumdicname": {
  17912. "description": "现货商品单位名称",
  17913. "type": "string"
  17914. },
  17915. "logtype": {
  17916. "description": "记录类型 1-套保 2-现货合同",
  17917. "type": "integer"
  17918. },
  17919. "qty": {
  17920. "description": "数量",
  17921. "type": "number"
  17922. },
  17923. "recordname": {
  17924. "description": "类型名称",
  17925. "type": "string"
  17926. },
  17927. "relatedid": {
  17928. "description": "套保计划ID/现货合同ID",
  17929. "type": "string"
  17930. },
  17931. "relatedno": {
  17932. "description": "编号",
  17933. "type": "string"
  17934. },
  17935. "strtime": {
  17936. "description": "时间",
  17937. "type": "string"
  17938. },
  17939. "wrstandardcode": {
  17940. "description": "现货商品代码",
  17941. "type": "string"
  17942. },
  17943. "wrstandardname": {
  17944. "description": "现货商品名称",
  17945. "type": "string"
  17946. }
  17947. }
  17948. },
  17949. "ermcp.ExposureSpotRsp": {
  17950. "type": "object",
  17951. "properties": {
  17952. "areauserid": {
  17953. "description": "所属机构",
  17954. "type": "integer"
  17955. },
  17956. "decreaseqty": {
  17957. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17958. "type": "number"
  17959. },
  17960. "increaseqty": {
  17961. "description": "增加数量=销售计划数量+采购已定价数量",
  17962. "type": "number"
  17963. },
  17964. "oritoalspotqty": {
  17965. "description": "昨日数量",
  17966. "type": "number"
  17967. },
  17968. "totalspotqty": {
  17969. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17970. "type": "number"
  17971. },
  17972. "updatetime": {
  17973. "description": "更新时间",
  17974. "type": "string"
  17975. },
  17976. "wrstandardcode": {
  17977. "description": "现货品种代码",
  17978. "type": "string"
  17979. },
  17980. "wrstandardid": {
  17981. "description": "现货商品ID",
  17982. "type": "integer"
  17983. },
  17984. "wrstandardname": {
  17985. "description": "现货品种",
  17986. "type": "string"
  17987. }
  17988. }
  17989. },
  17990. "ermcp.HisExposureRsp": {
  17991. "type": "object",
  17992. "properties": {
  17993. "data": {
  17994. "description": "历史敞口",
  17995. "type": "array",
  17996. "items": {
  17997. "$ref": "#/definitions/models.ErmcpHisExposure"
  17998. }
  17999. },
  18000. "enumdicname": {
  18001. "description": "单位名称",
  18002. "type": "string"
  18003. },
  18004. "middlegoodscode": {
  18005. "description": "套保品种代码",
  18006. "type": "string"
  18007. },
  18008. "middlegoodsid": {
  18009. "description": "套保品种ID",
  18010. "type": "integer"
  18011. },
  18012. "middlegoodsname": {
  18013. "description": "套保品种名称",
  18014. "type": "string"
  18015. }
  18016. }
  18017. },
  18018. "ermcp.PendingAuditCntRsp": {
  18019. "type": "object",
  18020. "properties": {
  18021. "areastockqty": {
  18022. "description": "待审核数量: 库存申请",
  18023. "type": "integer"
  18024. },
  18025. "businessdjqty": {
  18026. "description": "待审核数量: 点价",
  18027. "type": "integer"
  18028. },
  18029. "businessfpqty": {
  18030. "description": "待审核数量: 发票",
  18031. "type": "integer"
  18032. },
  18033. "businessjsqty": {
  18034. "description": "待审核数量: 结算",
  18035. "type": "integer"
  18036. },
  18037. "businesskxqty": {
  18038. "description": "待审核数量: 款项",
  18039. "type": "integer"
  18040. },
  18041. "hedgeplanqty": {
  18042. "description": "待审核数量: 套保计划",
  18043. "type": "integer"
  18044. },
  18045. "spotcontractqty": {
  18046. "description": "待审核数量: 现货合同",
  18047. "type": "integer"
  18048. },
  18049. "userqty": {
  18050. "description": "待审核数量: 用户",
  18051. "type": "integer"
  18052. }
  18053. }
  18054. },
  18055. "ermcp.QryAvalidGPRsp": {
  18056. "type": "object",
  18057. "properties": {
  18058. "goodsgroupid": {
  18059. "description": "期货品种id",
  18060. "type": "integer"
  18061. },
  18062. "goodsgroupname": {
  18063. "description": "期货品种名称",
  18064. "type": "string"
  18065. },
  18066. "goodunitid": {
  18067. "description": "品种单位id",
  18068. "type": "integer"
  18069. },
  18070. "goodunitname": {
  18071. "description": "品种单位名称",
  18072. "type": "string"
  18073. },
  18074. "outergroupcode": {
  18075. "description": "期货品种代码",
  18076. "type": "string"
  18077. }
  18078. }
  18079. },
  18080. "ermcp.QryBusinessDjRsp": {
  18081. "type": "object",
  18082. "properties": {
  18083. "amount": {
  18084. "description": "期初均价",
  18085. "type": "number"
  18086. },
  18087. "applyid": {
  18088. "description": "申请人",
  18089. "type": "string"
  18090. },
  18091. "applyname": {
  18092. "description": "申请人名称",
  18093. "type": "string"
  18094. },
  18095. "applystatus": {
  18096. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18097. "type": "integer"
  18098. },
  18099. "applytime": {
  18100. "description": "申请时间",
  18101. "type": "string"
  18102. },
  18103. "attachurl": {
  18104. "description": "附件",
  18105. "type": "string"
  18106. },
  18107. "auditid": {
  18108. "description": "审核人ID",
  18109. "type": "string"
  18110. },
  18111. "auditname": {
  18112. "description": "审核人名称",
  18113. "type": "string"
  18114. },
  18115. "auditremark": {
  18116. "description": "审核备注",
  18117. "type": "string"
  18118. },
  18119. "audittime": {
  18120. "description": "审核时间",
  18121. "type": "string"
  18122. },
  18123. "buyusername": {
  18124. "description": "采购方名称",
  18125. "type": "string"
  18126. },
  18127. "contractno": {
  18128. "description": "合同编号",
  18129. "type": "string"
  18130. },
  18131. "contractstatus": {
  18132. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18133. "type": "integer"
  18134. },
  18135. "contracttype": {
  18136. "description": "现货合同类型 - 1:采购 -1:销售",
  18137. "type": "integer"
  18138. },
  18139. "deliverygoodscode": {
  18140. "description": "现货品种代码",
  18141. "type": "string"
  18142. },
  18143. "deliverygoodsid": {
  18144. "description": "现货商品ID",
  18145. "type": "integer"
  18146. },
  18147. "deliverygoodsname": {
  18148. "description": "现货品种名称",
  18149. "type": "string"
  18150. },
  18151. "enumdicname": {
  18152. "description": "单位名称",
  18153. "type": "string"
  18154. },
  18155. "goodscode": {
  18156. "description": "点价合约",
  18157. "type": "string"
  18158. },
  18159. "goodsname": {
  18160. "description": "商品名称",
  18161. "type": "string"
  18162. },
  18163. "operateapplyid": {
  18164. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18165. "type": "string"
  18166. },
  18167. "operateapplytype": {
  18168. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18169. "type": "integer"
  18170. },
  18171. "pricedPrice": {
  18172. "description": "点价价格(非必填)",
  18173. "type": "number"
  18174. },
  18175. "pricedQty": {
  18176. "description": "点价数量(非必填)",
  18177. "type": "number"
  18178. },
  18179. "pricemove": {
  18180. "description": "升贴水",
  18181. "type": "number"
  18182. },
  18183. "pricetype": {
  18184. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18185. "type": "integer"
  18186. },
  18187. "relatedid": {
  18188. "description": "现货合同ID",
  18189. "type": "string"
  18190. },
  18191. "sellusername": {
  18192. "description": "销售方名字",
  18193. "type": "string"
  18194. },
  18195. "userid": {
  18196. "description": "用户ID",
  18197. "type": "integer"
  18198. },
  18199. "wrstandardcode": {
  18200. "description": "品类代码",
  18201. "type": "string"
  18202. },
  18203. "wrstandardid": {
  18204. "description": "品类id",
  18205. "type": "integer"
  18206. },
  18207. "wrstandardname": {
  18208. "description": "品类名称",
  18209. "type": "string"
  18210. }
  18211. }
  18212. },
  18213. "ermcp.QryBussinessFpRsp": {
  18214. "type": "object",
  18215. "properties": {
  18216. "applyid": {
  18217. "description": "申请人",
  18218. "type": "string"
  18219. },
  18220. "applyname": {
  18221. "description": "申请人名称",
  18222. "type": "string"
  18223. },
  18224. "applystatus": {
  18225. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18226. "type": "integer"
  18227. },
  18228. "applytime": {
  18229. "description": "申请时间",
  18230. "type": "string"
  18231. },
  18232. "attachurl": {
  18233. "description": "附件",
  18234. "type": "string"
  18235. },
  18236. "auditid": {
  18237. "description": "审核人ID",
  18238. "type": "string"
  18239. },
  18240. "auditname": {
  18241. "description": "审核人名称",
  18242. "type": "string"
  18243. },
  18244. "auditremark": {
  18245. "description": "审核备注",
  18246. "type": "string"
  18247. },
  18248. "audittime": {
  18249. "description": "审核时间",
  18250. "type": "string"
  18251. },
  18252. "buyusername": {
  18253. "description": "采购方名称",
  18254. "type": "string"
  18255. },
  18256. "contractno": {
  18257. "description": "合同编号",
  18258. "type": "string"
  18259. },
  18260. "contractstatus": {
  18261. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18262. "type": "integer"
  18263. },
  18264. "contracttype": {
  18265. "description": "现货合同类型 - 1:采购 -1:销售",
  18266. "type": "integer"
  18267. },
  18268. "deliverygoodscode": {
  18269. "description": "现货品种代码",
  18270. "type": "string"
  18271. },
  18272. "deliverygoodsid": {
  18273. "description": "现货商品ID",
  18274. "type": "integer"
  18275. },
  18276. "deliverygoodsname": {
  18277. "description": "现货品种名称",
  18278. "type": "string"
  18279. },
  18280. "enumdicname": {
  18281. "description": "单位名称",
  18282. "type": "string"
  18283. },
  18284. "goodscode": {
  18285. "description": "点价合约",
  18286. "type": "string"
  18287. },
  18288. "goodsname": {
  18289. "description": "商品名称",
  18290. "type": "string"
  18291. },
  18292. "invoiceamount": {
  18293. "description": "已开收票金额(销售为开票,采购为收票)",
  18294. "type": "number"
  18295. },
  18296. "operateapplyid": {
  18297. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18298. "type": "string"
  18299. },
  18300. "operateapplytype": {
  18301. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18302. "type": "integer"
  18303. },
  18304. "pricemove": {
  18305. "description": "升贴水",
  18306. "type": "number"
  18307. },
  18308. "pricetype": {
  18309. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18310. "type": "integer"
  18311. },
  18312. "relatedid": {
  18313. "description": "现货合同ID",
  18314. "type": "string"
  18315. },
  18316. "sellusername": {
  18317. "description": "销售方名字",
  18318. "type": "string"
  18319. },
  18320. "userid": {
  18321. "description": "用户ID",
  18322. "type": "integer"
  18323. },
  18324. "wrstandardcode": {
  18325. "description": "品类代码",
  18326. "type": "string"
  18327. },
  18328. "wrstandardid": {
  18329. "description": "品类id",
  18330. "type": "integer"
  18331. },
  18332. "wrstandardname": {
  18333. "description": "品类名称",
  18334. "type": "string"
  18335. }
  18336. }
  18337. },
  18338. "ermcp.QryBussinessJsExRsp": {
  18339. "type": "object",
  18340. "properties": {
  18341. "applyid": {
  18342. "description": "申请人",
  18343. "type": "string"
  18344. },
  18345. "applyname": {
  18346. "description": "申请人名称",
  18347. "type": "string"
  18348. },
  18349. "applystatus": {
  18350. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18351. "type": "integer"
  18352. },
  18353. "applytime": {
  18354. "description": "申请时间",
  18355. "type": "string"
  18356. },
  18357. "attachurl": {
  18358. "description": "附件",
  18359. "type": "string"
  18360. },
  18361. "auditid": {
  18362. "description": "审核人ID",
  18363. "type": "string"
  18364. },
  18365. "auditname": {
  18366. "description": "审核人名称",
  18367. "type": "string"
  18368. },
  18369. "auditremark": {
  18370. "description": "审核备注",
  18371. "type": "string"
  18372. },
  18373. "audittime": {
  18374. "description": "审核时间",
  18375. "type": "string"
  18376. },
  18377. "buyusername": {
  18378. "description": "采购方名称",
  18379. "type": "string"
  18380. },
  18381. "contractno": {
  18382. "description": "合同编号",
  18383. "type": "string"
  18384. },
  18385. "contractstatus": {
  18386. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18387. "type": "integer"
  18388. },
  18389. "contracttype": {
  18390. "description": "现货合同类型 - 1:采购 -1:销售",
  18391. "type": "integer"
  18392. },
  18393. "deliverygoodscode": {
  18394. "description": "现货品种代码",
  18395. "type": "string"
  18396. },
  18397. "deliverygoodsid": {
  18398. "description": "现货商品ID",
  18399. "type": "integer"
  18400. },
  18401. "deliverygoodsname": {
  18402. "description": "现货品种名称",
  18403. "type": "string"
  18404. },
  18405. "enumdicname": {
  18406. "description": "单位名称",
  18407. "type": "string"
  18408. },
  18409. "goodscode": {
  18410. "description": "点价合约",
  18411. "type": "string"
  18412. },
  18413. "goodsname": {
  18414. "description": "商品名称",
  18415. "type": "string"
  18416. },
  18417. "operateapplyid": {
  18418. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18419. "type": "string"
  18420. },
  18421. "operateapplytype": {
  18422. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18423. "type": "integer"
  18424. },
  18425. "pricemove": {
  18426. "description": "升贴水",
  18427. "type": "number"
  18428. },
  18429. "pricetype": {
  18430. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18431. "type": "integer"
  18432. },
  18433. "reckontype": {
  18434. "description": "结算类型",
  18435. "type": "string"
  18436. },
  18437. "reckonvalue": {
  18438. "description": "值",
  18439. "type": "number"
  18440. },
  18441. "relatedid": {
  18442. "description": "现货合同ID",
  18443. "type": "string"
  18444. },
  18445. "sellusername": {
  18446. "description": "销售方名字",
  18447. "type": "string"
  18448. },
  18449. "userid": {
  18450. "description": "用户ID",
  18451. "type": "integer"
  18452. },
  18453. "wrstandardcode": {
  18454. "description": "品类代码",
  18455. "type": "string"
  18456. },
  18457. "wrstandardid": {
  18458. "description": "品类id",
  18459. "type": "integer"
  18460. },
  18461. "wrstandardname": {
  18462. "description": "品类名称",
  18463. "type": "string"
  18464. }
  18465. }
  18466. },
  18467. "ermcp.QryBussinessJsRsp": {
  18468. "type": "object",
  18469. "properties": {
  18470. "addmargin": {
  18471. "description": "追加保证金(非必填)",
  18472. "type": "number"
  18473. },
  18474. "applyid": {
  18475. "description": "申请人",
  18476. "type": "string"
  18477. },
  18478. "applyname": {
  18479. "description": "申请人名称",
  18480. "type": "string"
  18481. },
  18482. "applystatus": {
  18483. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18484. "type": "integer"
  18485. },
  18486. "applytime": {
  18487. "description": "申请时间",
  18488. "type": "string"
  18489. },
  18490. "attachurl": {
  18491. "description": "附件",
  18492. "type": "string"
  18493. },
  18494. "auditid": {
  18495. "description": "审核人ID",
  18496. "type": "string"
  18497. },
  18498. "auditname": {
  18499. "description": "审核人名称",
  18500. "type": "string"
  18501. },
  18502. "auditremark": {
  18503. "description": "审核备注",
  18504. "type": "string"
  18505. },
  18506. "audittime": {
  18507. "description": "审核时间",
  18508. "type": "string"
  18509. },
  18510. "buyusername": {
  18511. "description": "采购方名称",
  18512. "type": "string"
  18513. },
  18514. "contractno": {
  18515. "description": "合同编号",
  18516. "type": "string"
  18517. },
  18518. "contractstatus": {
  18519. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18520. "type": "integer"
  18521. },
  18522. "contracttype": {
  18523. "description": "现货合同类型 - 1:采购 -1:销售",
  18524. "type": "integer"
  18525. },
  18526. "decmargin": {
  18527. "description": "减少保证金(非必填)",
  18528. "type": "number"
  18529. },
  18530. "deliverygoodscode": {
  18531. "description": "现货品种代码",
  18532. "type": "string"
  18533. },
  18534. "deliverygoodsid": {
  18535. "description": "现货商品ID",
  18536. "type": "integer"
  18537. },
  18538. "deliverygoodsname": {
  18539. "description": "现货品种名称",
  18540. "type": "string"
  18541. },
  18542. "enumdicname": {
  18543. "description": "单位名称",
  18544. "type": "string"
  18545. },
  18546. "goodscode": {
  18547. "description": "点价合约",
  18548. "type": "string"
  18549. },
  18550. "goodsname": {
  18551. "description": "商品名称",
  18552. "type": "string"
  18553. },
  18554. "operateapplyid": {
  18555. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18556. "type": "string"
  18557. },
  18558. "operateapplytype": {
  18559. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18560. "type": "integer"
  18561. },
  18562. "pricemove": {
  18563. "description": "升贴水",
  18564. "type": "number"
  18565. },
  18566. "pricetype": {
  18567. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18568. "type": "integer"
  18569. },
  18570. "reckonadjustamount": {
  18571. "description": "结算调整金额(非必填)",
  18572. "type": "number"
  18573. },
  18574. "reckonosamount": {
  18575. "description": "结算溢短金额(非必填)",
  18576. "type": "number"
  18577. },
  18578. "reckonotheramount": {
  18579. "description": "结算其他费用(非必填)",
  18580. "type": "number"
  18581. },
  18582. "reckonrealqty": {
  18583. "description": "结算实际数量(非必填)",
  18584. "type": "number"
  18585. },
  18586. "relatedid": {
  18587. "description": "现货合同ID",
  18588. "type": "string"
  18589. },
  18590. "sellusername": {
  18591. "description": "销售方名字",
  18592. "type": "string"
  18593. },
  18594. "userid": {
  18595. "description": "用户ID",
  18596. "type": "integer"
  18597. },
  18598. "wrstandardcode": {
  18599. "description": "品类代码",
  18600. "type": "string"
  18601. },
  18602. "wrstandardid": {
  18603. "description": "品类id",
  18604. "type": "integer"
  18605. },
  18606. "wrstandardname": {
  18607. "description": "品类名称",
  18608. "type": "string"
  18609. }
  18610. }
  18611. },
  18612. "ermcp.QryBussinessKxRsp": {
  18613. "type": "object",
  18614. "properties": {
  18615. "applyid": {
  18616. "description": "申请人",
  18617. "type": "string"
  18618. },
  18619. "applyname": {
  18620. "description": "申请人名称",
  18621. "type": "string"
  18622. },
  18623. "applystatus": {
  18624. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18625. "type": "integer"
  18626. },
  18627. "applytime": {
  18628. "description": "申请时间",
  18629. "type": "string"
  18630. },
  18631. "attachurl": {
  18632. "description": "附件",
  18633. "type": "string"
  18634. },
  18635. "auditid": {
  18636. "description": "审核人ID",
  18637. "type": "string"
  18638. },
  18639. "auditname": {
  18640. "description": "审核人名称",
  18641. "type": "string"
  18642. },
  18643. "auditremark": {
  18644. "description": "审核备注",
  18645. "type": "string"
  18646. },
  18647. "audittime": {
  18648. "description": "审核时间",
  18649. "type": "string"
  18650. },
  18651. "buyusername": {
  18652. "description": "采购方名称",
  18653. "type": "string"
  18654. },
  18655. "contractno": {
  18656. "description": "合同编号",
  18657. "type": "string"
  18658. },
  18659. "contractstatus": {
  18660. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18661. "type": "integer"
  18662. },
  18663. "contracttype": {
  18664. "description": "现货合同类型 - 1:采购 -1:销售",
  18665. "type": "integer"
  18666. },
  18667. "deductamount": {
  18668. "description": "期初均价",
  18669. "type": "number"
  18670. },
  18671. "deliverygoodscode": {
  18672. "description": "现货品种代码",
  18673. "type": "string"
  18674. },
  18675. "deliverygoodsid": {
  18676. "description": "现货商品ID",
  18677. "type": "integer"
  18678. },
  18679. "deliverygoodsname": {
  18680. "description": "现货品种名称",
  18681. "type": "string"
  18682. },
  18683. "enumdicname": {
  18684. "description": "单位名称",
  18685. "type": "string"
  18686. },
  18687. "goodscode": {
  18688. "description": "点价合约",
  18689. "type": "string"
  18690. },
  18691. "goodsname": {
  18692. "description": "商品名称",
  18693. "type": "string"
  18694. },
  18695. "kxtype": {
  18696. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  18697. "type": "integer"
  18698. },
  18699. "operateapplyid": {
  18700. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18701. "type": "string"
  18702. },
  18703. "operateapplytype": {
  18704. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18705. "type": "integer"
  18706. },
  18707. "payamount": {
  18708. "description": "期初均价",
  18709. "type": "number"
  18710. },
  18711. "pricemove": {
  18712. "description": "升贴水",
  18713. "type": "number"
  18714. },
  18715. "pricetype": {
  18716. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18717. "type": "integer"
  18718. },
  18719. "relatedid": {
  18720. "description": "现货合同ID",
  18721. "type": "string"
  18722. },
  18723. "sellusername": {
  18724. "description": "销售方名字",
  18725. "type": "string"
  18726. },
  18727. "userid": {
  18728. "description": "用户ID",
  18729. "type": "integer"
  18730. },
  18731. "wrstandardcode": {
  18732. "description": "品类代码",
  18733. "type": "string"
  18734. },
  18735. "wrstandardid": {
  18736. "description": "品类id",
  18737. "type": "integer"
  18738. },
  18739. "wrstandardname": {
  18740. "description": "品类名称",
  18741. "type": "string"
  18742. }
  18743. }
  18744. },
  18745. "ermcp.QryGGCovertCfgRsp": {
  18746. "type": "object",
  18747. "properties": {
  18748. "convertratio": {
  18749. "description": "折算系数",
  18750. "type": "number"
  18751. },
  18752. "destgoodsgroupid": {
  18753. "description": "目标品种ID",
  18754. "type": "integer"
  18755. },
  18756. "dstcode": {
  18757. "description": "目录品种代码",
  18758. "type": "string"
  18759. },
  18760. "dstexchangecode": {
  18761. "description": "目标期货交易所",
  18762. "type": "string"
  18763. },
  18764. "dstname": {
  18765. "description": "目标品种名称",
  18766. "type": "string"
  18767. },
  18768. "dstunitid": {
  18769. "description": "目标品种单位ID",
  18770. "type": "integer"
  18771. },
  18772. "dstunitidname": {
  18773. "description": "目标品种单位名称",
  18774. "type": "string"
  18775. },
  18776. "modifytime": {
  18777. "description": "修改时间",
  18778. "type": "string"
  18779. },
  18780. "srccode": {
  18781. "description": "源品种代码",
  18782. "type": "string"
  18783. },
  18784. "srcexchangecode": {
  18785. "description": "源期货交易所",
  18786. "type": "string"
  18787. },
  18788. "srcgoodsgroupid": {
  18789. "description": "源品种ID",
  18790. "type": "integer"
  18791. },
  18792. "srcname": {
  18793. "description": "源品种名称",
  18794. "type": "string"
  18795. },
  18796. "srcunitid": {
  18797. "description": "源品种单位ID",
  18798. "type": "integer"
  18799. },
  18800. "srcunitidname": {
  18801. "description": "源品种单位名称",
  18802. "type": "string"
  18803. }
  18804. }
  18805. },
  18806. "ermcp.QryMGChangeLogRsp": {
  18807. "type": "object",
  18808. "properties": {
  18809. "aftervalue": {
  18810. "description": "变更后",
  18811. "type": "number"
  18812. },
  18813. "applyid": {
  18814. "description": "操作人",
  18815. "type": "integer"
  18816. },
  18817. "applyname": {
  18818. "description": "操作人名称",
  18819. "type": "string"
  18820. },
  18821. "applysrc": {
  18822. "description": "操作来源 - 1:管理端 2:终端",
  18823. "type": "integer"
  18824. },
  18825. "beforevalue": {
  18826. "description": "变更前",
  18827. "type": "number"
  18828. },
  18829. "changelogtype": {
  18830. "description": "变更流水类型 - 1:套保比率变更",
  18831. "type": "integer"
  18832. },
  18833. "handlestatus": {
  18834. "description": "处理状态",
  18835. "type": "integer"
  18836. },
  18837. "logdatetime": {
  18838. "description": "流水日期",
  18839. "type": "string"
  18840. },
  18841. "logid": {
  18842. "description": "流水ID",
  18843. "type": "integer"
  18844. },
  18845. "logremark": {
  18846. "description": "流水备注",
  18847. "type": "string"
  18848. },
  18849. "middlegoodsid": {
  18850. "description": "套保品种ID",
  18851. "type": "integer"
  18852. },
  18853. "tradedate": {
  18854. "description": "交易日(yyyyMMdd)",
  18855. "type": "string"
  18856. },
  18857. "updatetime": {
  18858. "description": "更新时间",
  18859. "type": "string"
  18860. }
  18861. }
  18862. },
  18863. "ermcp.QryMiddleGoodsDetailRsp": {
  18864. "type": "object",
  18865. "properties": {
  18866. "cvList": {
  18867. "description": "期货品种折算列表",
  18868. "type": "array",
  18869. "items": {
  18870. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18871. }
  18872. },
  18873. "mg": {
  18874. "description": "套保品种基本信息",
  18875. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18876. },
  18877. "wrcList": {
  18878. "description": "现货品种列表(现货商品折算配置)",
  18879. "type": "array",
  18880. "items": {
  18881. "$ref": "#/definitions/models.WRSConverTDetail"
  18882. }
  18883. }
  18884. }
  18885. },
  18886. "ermcp.QryMiddleGoodsRsp": {
  18887. "type": "object",
  18888. "properties": {
  18889. "areauserid": {
  18890. "description": "机构用户ID",
  18891. "type": "integer"
  18892. },
  18893. "createtime": {
  18894. "description": "修改时间",
  18895. "type": "string"
  18896. },
  18897. "enumdicname": {
  18898. "description": "单位名称",
  18899. "type": "string"
  18900. },
  18901. "evaluateratio": {
  18902. "description": "估价系数",
  18903. "type": "number"
  18904. },
  18905. "goodsgroupid": {
  18906. "description": "关联期货品种ID",
  18907. "type": "integer"
  18908. },
  18909. "goodsunitid": {
  18910. "description": "单位ID",
  18911. "type": "integer"
  18912. },
  18913. "isvalid": {
  18914. "description": "状态 0-无效(停用) 1-有效(正常)",
  18915. "type": "integer"
  18916. },
  18917. "middlegoodscode": {
  18918. "description": "套保品种代码",
  18919. "type": "string"
  18920. },
  18921. "middlegoodsid": {
  18922. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18923. "type": "integer"
  18924. },
  18925. "middlegoodsname": {
  18926. "description": "套保品种名称",
  18927. "type": "string"
  18928. },
  18929. "modifytime": {
  18930. "description": "修改时间",
  18931. "type": "string"
  18932. },
  18933. "needarbitrageratio": {
  18934. "description": "套利比例",
  18935. "type": "number"
  18936. },
  18937. "needhedgeratio": {
  18938. "description": "套保比率",
  18939. "type": "number"
  18940. },
  18941. "qtydecimalplace": {
  18942. "description": "数量小数位",
  18943. "type": "integer"
  18944. },
  18945. "relatedgoodsid": {
  18946. "description": "关联交易商品ID",
  18947. "type": "integer"
  18948. },
  18949. "relatedgoodstype": {
  18950. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18951. "type": "integer"
  18952. },
  18953. "remark": {
  18954. "description": "备注",
  18955. "type": "string"
  18956. }
  18957. }
  18958. },
  18959. "ermcp.QryOPLogRsp": {
  18960. "type": "object",
  18961. "properties": {
  18962. "aftervalue": {
  18963. "description": "变更后",
  18964. "type": "number"
  18965. },
  18966. "applyid": {
  18967. "description": "操作人ID",
  18968. "type": "string"
  18969. },
  18970. "applyname": {
  18971. "description": "操作人名称",
  18972. "type": "string"
  18973. },
  18974. "beforevalue": {
  18975. "description": "变更前",
  18976. "type": "number"
  18977. },
  18978. "biztype": {
  18979. "description": "业务类型 - 1:套保计划 2:现货合同",
  18980. "type": "integer"
  18981. },
  18982. "contracttype": {
  18983. "description": "现货合同类型 - 1:采购 -1:销售",
  18984. "type": "integer"
  18985. },
  18986. "logvalue": {
  18987. "description": "数值",
  18988. "type": "number"
  18989. },
  18990. "operatelogtype": {
  18991. "description": "操作流水类型",
  18992. "type": "integer"
  18993. },
  18994. "operatelogtypedesc": {
  18995. "description": "操作流水类型名称",
  18996. "type": "string"
  18997. },
  18998. "relatedid": {
  18999. "description": "现货合同ID\\套保计划",
  19000. "type": "string"
  19001. },
  19002. "updatetime": {
  19003. "description": "更新时间",
  19004. "type": "string"
  19005. }
  19006. }
  19007. },
  19008. "ermcp.QryUserInfoRsp": {
  19009. "type": "object",
  19010. "properties": {
  19011. "address": {
  19012. "description": "通讯地址",
  19013. "type": "string"
  19014. },
  19015. "attachment1": {
  19016. "description": "附件1",
  19017. "type": "string"
  19018. },
  19019. "audittime": {
  19020. "description": "审核时间",
  19021. "type": "string"
  19022. },
  19023. "cardbackphotourl": {
  19024. "description": "证件反面图片地址",
  19025. "type": "string"
  19026. },
  19027. "cardfrontphotourl": {
  19028. "description": "证件正面图片地址",
  19029. "type": "string"
  19030. },
  19031. "cardnum": {
  19032. "description": "证件号码",
  19033. "type": "string"
  19034. },
  19035. "cardtype": {
  19036. "description": "证件类型",
  19037. "type": "integer"
  19038. },
  19039. "cardtypename": {
  19040. "description": "证件类型名称",
  19041. "type": "string"
  19042. },
  19043. "cityid": {
  19044. "description": "市",
  19045. "type": "integer"
  19046. },
  19047. "contactname": {
  19048. "description": "联系人",
  19049. "type": "string"
  19050. },
  19051. "countryid": {
  19052. "description": "国家",
  19053. "type": "integer"
  19054. },
  19055. "createtime": {
  19056. "description": "创建时间",
  19057. "type": "string"
  19058. },
  19059. "customername": {
  19060. "description": "企业名称",
  19061. "type": "string"
  19062. },
  19063. "districtid": {
  19064. "description": "区域",
  19065. "type": "integer"
  19066. },
  19067. "email": {
  19068. "description": "邮件",
  19069. "type": "string"
  19070. },
  19071. "legalpersonname": {
  19072. "description": "法人姓名(企业)",
  19073. "type": "string"
  19074. },
  19075. "memberuserid": {
  19076. "description": "所属机构ID",
  19077. "type": "integer"
  19078. },
  19079. "mobile": {
  19080. "description": "手机号码",
  19081. "type": "string"
  19082. },
  19083. "modifytime": {
  19084. "description": "修改时间",
  19085. "type": "string"
  19086. },
  19087. "nickname": {
  19088. "description": "昵称",
  19089. "type": "string"
  19090. },
  19091. "provinceid": {
  19092. "description": "省",
  19093. "type": "integer"
  19094. },
  19095. "remark": {
  19096. "description": "备注",
  19097. "type": "string"
  19098. },
  19099. "status": {
  19100. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19101. "type": "integer"
  19102. },
  19103. "statusdesc": {
  19104. "description": "账户状态中文描述",
  19105. "type": "string"
  19106. },
  19107. "taxpayernum": {
  19108. "description": "纳税人识别号",
  19109. "type": "string"
  19110. },
  19111. "telphone": {
  19112. "description": "联系电话",
  19113. "type": "string"
  19114. },
  19115. "userid": {
  19116. "description": "用户ID",
  19117. "type": "integer"
  19118. },
  19119. "userinfotype": {
  19120. "description": "客户类型",
  19121. "type": "string"
  19122. }
  19123. }
  19124. },
  19125. "ermcp.QryWarehouseRsp": {
  19126. "type": "object",
  19127. "properties": {
  19128. "address": {
  19129. "description": "详细地址",
  19130. "type": "string"
  19131. },
  19132. "areauserid": {
  19133. "description": "所属机构",
  19134. "type": "integer"
  19135. },
  19136. "autoid": {
  19137. "description": "自增ID(仓库ID)",
  19138. "type": "integer"
  19139. },
  19140. "cityid": {
  19141. "description": "市",
  19142. "type": "integer"
  19143. },
  19144. "contactname": {
  19145. "description": "联系人",
  19146. "type": "string"
  19147. },
  19148. "contactnum": {
  19149. "description": "联系电话",
  19150. "type": "string"
  19151. },
  19152. "countryid": {
  19153. "description": "国家",
  19154. "type": "integer"
  19155. },
  19156. "createtime": {
  19157. "description": "创建时间",
  19158. "type": "string"
  19159. },
  19160. "districtid": {
  19161. "description": "区",
  19162. "type": "integer"
  19163. },
  19164. "hasvideo": {
  19165. "description": "是否有视频 - 0:无 1:有",
  19166. "type": "integer"
  19167. },
  19168. "provinceid": {
  19169. "description": "省",
  19170. "type": "integer"
  19171. },
  19172. "remark": {
  19173. "description": "审核备注",
  19174. "type": "string"
  19175. },
  19176. "videourl": {
  19177. "description": "视频地址",
  19178. "type": "string"
  19179. },
  19180. "warehousecode": {
  19181. "description": "仓库代码",
  19182. "type": "string"
  19183. },
  19184. "warehousename": {
  19185. "description": "仓库名称",
  19186. "type": "string"
  19187. },
  19188. "warehousestatus": {
  19189. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19190. "type": "integer"
  19191. },
  19192. "warehousetype": {
  19193. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19194. "type": "integer"
  19195. }
  19196. }
  19197. },
  19198. "ermcp.QueryErmcpTradePositionRsp": {
  19199. "type": "object",
  19200. "properties": {
  19201. "agreeunit": {
  19202. "description": "合约单位",
  19203. "type": "number"
  19204. },
  19205. "buyorsell": {
  19206. "description": "方向 - 0:买 1:卖",
  19207. "type": "integer"
  19208. },
  19209. "curpositionqty": {
  19210. "description": "持仓(总仓数量, 期末头寸)",
  19211. "type": "integer"
  19212. },
  19213. "curtdposition": {
  19214. "description": "今仓数量(期末今日头寸)",
  19215. "type": "integer"
  19216. },
  19217. "curtdpositionenabled": {
  19218. "description": "今仓可用",
  19219. "type": "integer"
  19220. },
  19221. "decimalplace": {
  19222. "description": "报价小数位",
  19223. "type": "integer"
  19224. },
  19225. "enableqty": {
  19226. "description": "可用(总仓可用)",
  19227. "type": "integer"
  19228. },
  19229. "exexchangename": {
  19230. "description": "外部交易所名称",
  19231. "type": "string"
  19232. },
  19233. "exexehangecode": {
  19234. "description": "外部交易所代码",
  19235. "type": "string"
  19236. },
  19237. "exexehangeid": {
  19238. "description": "外部交易所id",
  19239. "type": "integer"
  19240. },
  19241. "goodscode": {
  19242. "description": "商品代码(内部)",
  19243. "type": "string"
  19244. },
  19245. "goodsid": {
  19246. "description": "商品ID(自增ID SEQ_GOODS)",
  19247. "type": "integer"
  19248. },
  19249. "goodsname": {
  19250. "description": "商品名称",
  19251. "type": "string"
  19252. },
  19253. "last": {
  19254. "description": "现价",
  19255. "type": "number"
  19256. },
  19257. "marketid": {
  19258. "description": "所属市场ID",
  19259. "type": "integer"
  19260. },
  19261. "openaverageprice": {
  19262. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  19263. "type": "number"
  19264. },
  19265. "opencost": {
  19266. "description": "开仓成本",
  19267. "type": "number"
  19268. },
  19269. "openpl": {
  19270. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19271. "type": "number"
  19272. },
  19273. "outgoodscode": {
  19274. "description": "商品代码(外部)",
  19275. "type": "string"
  19276. },
  19277. "positionaverageprice": {
  19278. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  19279. "type": "number"
  19280. },
  19281. "positioncost": {
  19282. "description": "持仓成本",
  19283. "type": "number"
  19284. },
  19285. "positionpl": {
  19286. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19287. "type": "number"
  19288. },
  19289. "positionplrate": {
  19290. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  19291. "type": "number"
  19292. },
  19293. "usedmargin": {
  19294. "description": "占用保证金",
  19295. "type": "number"
  19296. }
  19297. }
  19298. },
  19299. "ermcp.RealtimeExposurePositionRsp": {
  19300. "type": "object",
  19301. "properties": {
  19302. "agreeunit": {
  19303. "description": "合约单位",
  19304. "type": "string"
  19305. },
  19306. "areauserid": {
  19307. "description": "所属机构id",
  19308. "type": "integer"
  19309. },
  19310. "convertratio": {
  19311. "description": "期货品种系数(折算系数)",
  19312. "type": "number"
  19313. },
  19314. "curhedgeqty": {
  19315. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  19316. "type": "number"
  19317. },
  19318. "curqty": {
  19319. "description": "当前持仓",
  19320. "type": "integer"
  19321. },
  19322. "diffhedgeqty": {
  19323. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19324. "type": "number"
  19325. },
  19326. "diffqty": {
  19327. "description": "持仓变动量=当前持仓-昨日持仓",
  19328. "type": "integer"
  19329. },
  19330. "goodscode": {
  19331. "description": "商品代码",
  19332. "type": "string"
  19333. },
  19334. "goodsid": {
  19335. "description": "商品id",
  19336. "type": "integer"
  19337. },
  19338. "goodsname": {
  19339. "description": "商品名称",
  19340. "type": "string"
  19341. },
  19342. "hedgeaccountcode": {
  19343. "description": "对冲账号(只有外部账号才有值)",
  19344. "type": "string"
  19345. },
  19346. "middlegoodscode": {
  19347. "description": "套保商品代码",
  19348. "type": "string"
  19349. },
  19350. "middlegoodsid": {
  19351. "description": "套保商品id",
  19352. "type": "integer"
  19353. },
  19354. "middlegoodsname": {
  19355. "description": "套保商品名称",
  19356. "type": "string"
  19357. },
  19358. "ydqty": {
  19359. "description": "昨日持仓",
  19360. "type": "integer"
  19361. }
  19362. }
  19363. },
  19364. "ermcp.RealtimeExposureRsp": {
  19365. "type": "object",
  19366. "properties": {
  19367. "AreaUserID": {
  19368. "description": "所属机构",
  19369. "type": "integer"
  19370. },
  19371. "BuyFutureQty": {
  19372. "description": "买入期货数量",
  19373. "type": "number"
  19374. },
  19375. "BuyPlanQty": {
  19376. "description": "采购计划数量",
  19377. "type": "number"
  19378. },
  19379. "BuyPricedQty": {
  19380. "description": "采购合同已定价数量",
  19381. "type": "number"
  19382. },
  19383. "MiddleGoodsCode": {
  19384. "description": "套保品种代码",
  19385. "type": "string"
  19386. },
  19387. "MiddleGoodsHedgeRatio": {
  19388. "description": "套保比例",
  19389. "type": "number"
  19390. },
  19391. "MiddleGoodsID": {
  19392. "description": "套保品种",
  19393. "type": "integer"
  19394. },
  19395. "MiddleGoodsName": {
  19396. "description": "套保品种名称",
  19397. "type": "string"
  19398. },
  19399. "NeedHedgeExposoure": {
  19400. "description": "应套保敞口(套保敞口)",
  19401. "type": "number"
  19402. },
  19403. "NeedHedgeRatio": {
  19404. "description": "应套保敞口比例",
  19405. "type": "number"
  19406. },
  19407. "OriBuyFutureQty": {
  19408. "description": "期初买入期货数量",
  19409. "type": "number"
  19410. },
  19411. "OriBuyPlanQty": {
  19412. "description": "期初采购计划数量",
  19413. "type": "number"
  19414. },
  19415. "OriBuyPricedQty": {
  19416. "description": "期初采购合同已定价数量",
  19417. "type": "number"
  19418. },
  19419. "OriSellFutureQty": {
  19420. "description": "期初卖出期货数量",
  19421. "type": "number"
  19422. },
  19423. "OriSellPlanQty": {
  19424. "description": "期初销售计划数量",
  19425. "type": "number"
  19426. },
  19427. "OriSellPricedQty": {
  19428. "description": "期初销售合同已定价数量",
  19429. "type": "number"
  19430. },
  19431. "OriTotalSpotQty": {
  19432. "description": "期初现货总量",
  19433. "type": "number"
  19434. },
  19435. "SellFutureQty": {
  19436. "description": "卖出期货数量",
  19437. "type": "number"
  19438. },
  19439. "SellPlanQty": {
  19440. "description": "销售计划数量",
  19441. "type": "number"
  19442. },
  19443. "SellPricedQty": {
  19444. "description": "销售合同已定价数量",
  19445. "type": "number"
  19446. },
  19447. "TotalExposure": {
  19448. "description": "总敞口 平安:净敞口",
  19449. "type": "number"
  19450. },
  19451. "TotalFutureQty": {
  19452. "description": "期货总量 平安:保值净持仓量",
  19453. "type": "number"
  19454. },
  19455. "TotalHedgeRatio": {
  19456. "description": "敞口比例",
  19457. "type": "number"
  19458. },
  19459. "TotalNeedHedgeQty": {
  19460. "description": "应套保总量(现货应套保总量)",
  19461. "type": "number"
  19462. },
  19463. "TotalSpotQty": {
  19464. "description": "现货总量 平安:采销定价净值",
  19465. "type": "number"
  19466. },
  19467. "arbitrageqty": {
  19468. "description": "套利量",
  19469. "type": "number"
  19470. },
  19471. "diffArbitrageQty": {
  19472. "description": "期初均价",
  19473. "type": "number"
  19474. },
  19475. "diffExposoureQty": {
  19476. "description": "期初均价",
  19477. "type": "number"
  19478. },
  19479. "diffFutuQty": {
  19480. "description": "期初均价",
  19481. "type": "number"
  19482. },
  19483. "diffHedgeQty": {
  19484. "description": "期初均价",
  19485. "type": "number"
  19486. },
  19487. "diffQty": {
  19488. "description": "期初均价",
  19489. "type": "number"
  19490. },
  19491. "diffSpotHedgeQty": {
  19492. "description": "期初均价",
  19493. "type": "number"
  19494. },
  19495. "diffSpotQty": {
  19496. "description": "期初均价",
  19497. "type": "number"
  19498. },
  19499. "enumdicname": {
  19500. "description": "单位名称",
  19501. "type": "string"
  19502. },
  19503. "hedgeqty": {
  19504. "description": "套保量",
  19505. "type": "number"
  19506. },
  19507. "needarbitrageqty": {
  19508. "description": "应套利量",
  19509. "type": "number"
  19510. },
  19511. "needarbitrageratio": {
  19512. "description": "套利比例",
  19513. "type": "number"
  19514. },
  19515. "needhedgeqty": {
  19516. "description": "应套保量",
  19517. "type": "number"
  19518. },
  19519. "oriarbitrageqty": {
  19520. "description": "期初套利量",
  19521. "type": "number"
  19522. },
  19523. "orihedgeqty": {
  19524. "description": "期初套保量",
  19525. "type": "number"
  19526. },
  19527. "orineedhedgeexposoure": {
  19528. "description": "期初套保敞口",
  19529. "type": "number"
  19530. },
  19531. "oritotalexposure": {
  19532. "description": "期初总敞口",
  19533. "type": "number"
  19534. },
  19535. "oritotalfutureqty": {
  19536. "description": "期初期货总量",
  19537. "type": "number"
  19538. },
  19539. "oritotalneedhedgeqty": {
  19540. "description": "期初现货应套保量",
  19541. "type": "number"
  19542. }
  19543. }
  19544. },
  19545. "erms2.QueryArbitrageStrategyRsp": {
  19546. "type": "object",
  19547. "required": [
  19548. "asapplyid"
  19549. ],
  19550. "properties": {
  19551. "applybasis": {
  19552. "description": "申请基差",
  19553. "type": "number"
  19554. },
  19555. "asapplyid": {
  19556. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  19557. "type": "string"
  19558. },
  19559. "asname": {
  19560. "description": "策略名称",
  19561. "type": "string"
  19562. },
  19563. "asno": {
  19564. "description": "策略编号",
  19565. "type": "string"
  19566. },
  19567. "basischangepl": {
  19568. "description": "基差变动损益[结算更新]",
  19569. "type": "number"
  19570. },
  19571. "biztype": {
  19572. "description": "业务类型 - 1:正向套利 -1:反向套利",
  19573. "type": "integer"
  19574. },
  19575. "closetradedate": {
  19576. "description": "完结交易日(yyyyMMdd)",
  19577. "type": "string"
  19578. },
  19579. "curbasis": {
  19580. "description": "当前基差[结算更新]",
  19581. "type": "number"
  19582. },
  19583. "deliverygoodsid": {
  19584. "description": "现货品种ID",
  19585. "type": "integer"
  19586. },
  19587. "futureavgprice": {
  19588. "description": "期货建仓均价",
  19589. "type": "number"
  19590. },
  19591. "futurecloseamount": {
  19592. "description": "期货平仓金额",
  19593. "type": "number"
  19594. },
  19595. "futurecloseqty": {
  19596. "description": "期货平仓数量",
  19597. "type": "number"
  19598. },
  19599. "futureopenamount": {
  19600. "description": "期货开仓金额",
  19601. "type": "number"
  19602. },
  19603. "futureopenqty": {
  19604. "description": "期货开仓数量",
  19605. "type": "number"
  19606. },
  19607. "futurepl": {
  19608. "description": "期货总盈亏[结算更新]",
  19609. "type": "number"
  19610. },
  19611. "futureqty": {
  19612. "description": "期货持仓数量",
  19613. "type": "number"
  19614. },
  19615. "futurequote": {
  19616. "description": "期货额度",
  19617. "type": "number"
  19618. },
  19619. "goodsgroupid": {
  19620. "description": "期货品种ID",
  19621. "type": "integer"
  19622. },
  19623. "marketid": {
  19624. "description": "市场ID",
  19625. "type": "integer"
  19626. },
  19627. "netexposure": {
  19628. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  19629. "type": "number"
  19630. },
  19631. "netexposurepl": {
  19632. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  19633. "type": "number"
  19634. },
  19635. "netexposurerate": {
  19636. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  19637. "type": "number"
  19638. },
  19639. "openbasis": {
  19640. "description": "建仓基差",
  19641. "type": "number"
  19642. },
  19643. "pricedspotqty": {
  19644. "description": "已定价现货数量",
  19645. "type": "number"
  19646. },
  19647. "pricedspotqtynotax": {
  19648. "description": "已定价现货不含税数量",
  19649. "type": "number"
  19650. },
  19651. "remark": {
  19652. "description": "备注",
  19653. "type": "string"
  19654. },
  19655. "spotavgprice": {
  19656. "description": "现货均价",
  19657. "type": "number"
  19658. },
  19659. "spotbuyamount": {
  19660. "description": "现货采购金额",
  19661. "type": "number"
  19662. },
  19663. "spotbuyqty": {
  19664. "description": "现货采购数量",
  19665. "type": "number"
  19666. },
  19667. "spotpl": {
  19668. "description": "现货总盈亏[结算更新]",
  19669. "type": "number"
  19670. },
  19671. "spotquota": {
  19672. "description": "现货额度",
  19673. "type": "number"
  19674. },
  19675. "spotsellamount": {
  19676. "description": "现货销售金额",
  19677. "type": "number"
  19678. },
  19679. "spotsellqty": {
  19680. "description": "现货销售数量",
  19681. "type": "number"
  19682. },
  19683. "spotusedquota": {
  19684. "description": "现货占用资金",
  19685. "type": "number"
  19686. },
  19687. "strategystatus": {
  19688. "description": "策略状态 - 0:未结束 1:已结束",
  19689. "type": "integer"
  19690. },
  19691. "totalpl": {
  19692. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  19693. "type": "number"
  19694. },
  19695. "tradedate": {
  19696. "description": "交易日(yyyyMMdd)",
  19697. "type": "string"
  19698. },
  19699. "updatetime": {
  19700. "description": "更新时间",
  19701. "type": "string"
  19702. },
  19703. "usedquota": {
  19704. "description": "已占用资金",
  19705. "type": "number"
  19706. },
  19707. "userid": {
  19708. "description": "所属机构",
  19709. "type": "integer"
  19710. }
  19711. }
  19712. },
  19713. "erms2.QueryInnerTradeDetailRsp": {
  19714. "type": "object",
  19715. "required": [
  19716. "asapplyid",
  19717. "buyorsell",
  19718. "goodscode",
  19719. "goodsgroupid",
  19720. "goodsgroupname",
  19721. "goodsname",
  19722. "tradeid"
  19723. ],
  19724. "properties": {
  19725. "accountid": {
  19726. "description": "账号ID",
  19727. "type": "integer"
  19728. },
  19729. "agreeunit": {
  19730. "description": "合约单位",
  19731. "type": "number"
  19732. },
  19733. "asapplyid": {
  19734. "description": "策略申请ID",
  19735. "type": "integer"
  19736. },
  19737. "asname": {
  19738. "description": "策略名称",
  19739. "type": "string"
  19740. },
  19741. "asno": {
  19742. "description": "策略编号",
  19743. "type": "string"
  19744. },
  19745. "buyorsell": {
  19746. "description": "方向 - 0:买 1:卖",
  19747. "type": "integer"
  19748. },
  19749. "channelbuildtype": {
  19750. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19751. "type": "integer"
  19752. },
  19753. "closetype": {
  19754. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19755. "type": "integer"
  19756. },
  19757. "decimalplace": {
  19758. "description": "报价小数位",
  19759. "type": "integer"
  19760. },
  19761. "detailtype": {
  19762. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19763. "type": "integer"
  19764. },
  19765. "exexchangecode": {
  19766. "description": "外部交易所代码",
  19767. "type": "string"
  19768. },
  19769. "exexchangename": {
  19770. "description": "外部交易所名称",
  19771. "type": "string"
  19772. },
  19773. "goodscode": {
  19774. "description": "商品代码(合约)",
  19775. "type": "string"
  19776. },
  19777. "goodsgroupid": {
  19778. "description": "商品组ID(品种ID)",
  19779. "type": "integer"
  19780. },
  19781. "goodsgroupname": {
  19782. "description": "商品组名称(品种)",
  19783. "type": "string"
  19784. },
  19785. "goodsid": {
  19786. "description": "商品ID",
  19787. "type": "integer"
  19788. },
  19789. "goodsname": {
  19790. "description": "商品名称(合约)",
  19791. "type": "string"
  19792. },
  19793. "goodunit": {
  19794. "description": "报价单位",
  19795. "type": "string"
  19796. },
  19797. "marketid": {
  19798. "description": "市场ID",
  19799. "type": "integer"
  19800. },
  19801. "orderid": {
  19802. "description": "委托单号",
  19803. "type": "string"
  19804. },
  19805. "outgoodscode": {
  19806. "description": "商品代码(外部)",
  19807. "type": "string"
  19808. },
  19809. "relatedouttradeid": {
  19810. "description": "关联外部成交单ID",
  19811. "type": "string"
  19812. },
  19813. "remark": {
  19814. "description": "备注",
  19815. "type": "string"
  19816. },
  19817. "spotcontractid": {
  19818. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19819. "type": "integer"
  19820. },
  19821. "spotcontractno": {
  19822. "description": "现货合同编号",
  19823. "type": "string"
  19824. },
  19825. "tradeid": {
  19826. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19827. "type": "string"
  19828. },
  19829. "tradeprice": {
  19830. "description": "成交价格",
  19831. "type": "number"
  19832. },
  19833. "tradeqty": {
  19834. "description": "成交数量",
  19835. "type": "integer"
  19836. },
  19837. "tradetime": {
  19838. "description": "成交时间",
  19839. "type": "string"
  19840. },
  19841. "updatetime": {
  19842. "description": "更新时间",
  19843. "type": "string"
  19844. }
  19845. }
  19846. },
  19847. "erms2.QuerySpotContractRsp": {
  19848. "type": "object",
  19849. "required": [
  19850. "spotcontractid"
  19851. ],
  19852. "properties": {
  19853. "accountid": {
  19854. "description": "资金账户ID",
  19855. "type": "integer"
  19856. },
  19857. "areauserid": {
  19858. "description": "所属机构",
  19859. "type": "integer"
  19860. },
  19861. "closedate": {
  19862. "description": "终止日期",
  19863. "type": "string"
  19864. },
  19865. "closeremark": {
  19866. "description": "结束备注",
  19867. "type": "string"
  19868. },
  19869. "closetradedate": {
  19870. "description": "完结交易日(yyyyMMdd)",
  19871. "type": "string"
  19872. },
  19873. "closetype": {
  19874. "description": "终止类型 - 1:违约 2:提前终止",
  19875. "type": "integer"
  19876. },
  19877. "contractamount": {
  19878. "description": "合同金额",
  19879. "type": "number"
  19880. },
  19881. "contractattachment": {
  19882. "description": "合同附件",
  19883. "type": "string"
  19884. },
  19885. "contractno": {
  19886. "description": "现货合同编号",
  19887. "type": "string"
  19888. },
  19889. "contractqty": {
  19890. "description": "合同数量(数值) (用于计算)",
  19891. "type": "number"
  19892. },
  19893. "contractqtychar": {
  19894. "description": "合同数量\\已订价数量 (用于显示)",
  19895. "type": "string"
  19896. },
  19897. "contractstatus": {
  19898. "description": "合同状态 - 0:未结束 1:已结束",
  19899. "type": "integer"
  19900. },
  19901. "contracttype": {
  19902. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19903. "type": "integer"
  19904. },
  19905. "customeraccountid": {
  19906. "description": "客户资金账户ID",
  19907. "type": "integer"
  19908. },
  19909. "customeruserid": {
  19910. "description": "客户ID",
  19911. "type": "integer"
  19912. },
  19913. "deliverygoodsdesc": {
  19914. "description": "品种说明",
  19915. "type": "string"
  19916. },
  19917. "deliverygoodsid": {
  19918. "description": "现货品种ID",
  19919. "type": "integer"
  19920. },
  19921. "handlestatus": {
  19922. "description": "处理状态",
  19923. "type": "integer"
  19924. },
  19925. "invoiceatt": {
  19926. "description": "发票附件",
  19927. "type": "string"
  19928. },
  19929. "invoicedatetime": {
  19930. "description": "开收票更新时间",
  19931. "type": "string"
  19932. },
  19933. "invoiceopentime": {
  19934. "description": "开票时间",
  19935. "type": "string"
  19936. },
  19937. "invoiceremark": {
  19938. "description": "发票备注",
  19939. "type": "string"
  19940. },
  19941. "invoicestatus": {
  19942. "description": "开收票状态 - 0:未开票 1:已开票",
  19943. "type": "integer"
  19944. },
  19945. "lastdate": {
  19946. "description": "交货时间",
  19947. "type": "string"
  19948. },
  19949. "marketid": {
  19950. "description": "市场ID",
  19951. "type": "integer"
  19952. },
  19953. "paydatetime": {
  19954. "description": "收付款更新时间",
  19955. "type": "string"
  19956. },
  19957. "payremark": {
  19958. "description": "收付款备注",
  19959. "type": "string"
  19960. },
  19961. "paystatus": {
  19962. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19963. "type": "integer"
  19964. },
  19965. "positionqty": {
  19966. "description": "头寸数量 - 合同数量去小数部分",
  19967. "type": "integer"
  19968. },
  19969. "producttype": {
  19970. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19971. "type": "integer"
  19972. },
  19973. "relatedqty": {
  19974. "description": "已关联数量",
  19975. "type": "number"
  19976. },
  19977. "relatedstatus": {
  19978. "description": "关联完结状态 - 0:未结束 1:已结束",
  19979. "type": "integer"
  19980. },
  19981. "remark": {
  19982. "description": "备注",
  19983. "type": "string"
  19984. },
  19985. "signdate": {
  19986. "description": "签订日期",
  19987. "type": "string"
  19988. },
  19989. "spotcontractid": {
  19990. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  19991. "type": "string"
  19992. },
  19993. "spotdatetime": {
  19994. "description": "收发货更新时间",
  19995. "type": "string"
  19996. },
  19997. "spotprice": {
  19998. "description": "价格",
  19999. "type": "number"
  20000. },
  20001. "spotremark": {
  20002. "description": "收发货备注",
  20003. "type": "string"
  20004. },
  20005. "spotstatus": {
  20006. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  20007. "type": "integer"
  20008. },
  20009. "tradedate": {
  20010. "description": "交易日(yyyyMMdd)",
  20011. "type": "string"
  20012. },
  20013. "userid": {
  20014. "description": "业务员用户ID",
  20015. "type": "integer"
  20016. },
  20017. "warehouseid": {
  20018. "description": "仓库ID",
  20019. "type": "integer"
  20020. },
  20021. "wrfactortypeid": {
  20022. "description": "仓单要素类型ID",
  20023. "type": "integer"
  20024. },
  20025. "wrstandardid": {
  20026. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  20027. "type": "integer"
  20028. }
  20029. }
  20030. },
  20031. "erms3.AddErms2ASApplyReq": {
  20032. "type": "object",
  20033. "required": [
  20034. "asapplyid"
  20035. ],
  20036. "properties": {
  20037. "applybasis": {
  20038. "description": "申请基差",
  20039. "type": "number"
  20040. },
  20041. "applystatus": {
  20042. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20043. "type": "integer"
  20044. },
  20045. "asapplyid": {
  20046. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  20047. "type": "integer"
  20048. },
  20049. "asname": {
  20050. "description": "策略名称",
  20051. "type": "string"
  20052. },
  20053. "asno": {
  20054. "description": "策略编号",
  20055. "type": "string"
  20056. },
  20057. "auditid": {
  20058. "description": "审核人",
  20059. "type": "integer"
  20060. },
  20061. "auditremark": {
  20062. "description": "审核备注",
  20063. "type": "string"
  20064. },
  20065. "audittime": {
  20066. "description": "审核时间",
  20067. "type": "string"
  20068. },
  20069. "biztype": {
  20070. "description": "业务类型 - 1:正向套利 2:反向套利",
  20071. "type": "integer"
  20072. },
  20073. "createtime": {
  20074. "description": "创建时间",
  20075. "type": "string"
  20076. },
  20077. "creatorid": {
  20078. "description": "创建人",
  20079. "type": "integer"
  20080. },
  20081. "deliverygoodsid": {
  20082. "description": "现货品种ID",
  20083. "type": "integer"
  20084. },
  20085. "futurequote": {
  20086. "description": "期货额度",
  20087. "type": "number"
  20088. },
  20089. "goodsgroupid": {
  20090. "description": "期货品种ID",
  20091. "type": "integer"
  20092. },
  20093. "marketid": {
  20094. "description": "市场ID",
  20095. "type": "integer"
  20096. },
  20097. "remark": {
  20098. "description": "备注",
  20099. "type": "string"
  20100. },
  20101. "spotquota": {
  20102. "description": "现货额度",
  20103. "type": "number"
  20104. },
  20105. "tradedate": {
  20106. "description": "交易日(yyyyMMdd)",
  20107. "type": "string"
  20108. },
  20109. "userid": {
  20110. "description": "所属机构",
  20111. "type": "integer"
  20112. }
  20113. }
  20114. },
  20115. "erms3.AddErms2SpotTradeApplyReq": {
  20116. "type": "object",
  20117. "required": [
  20118. "spottradeid"
  20119. ],
  20120. "properties": {
  20121. "applyjsondetail": {
  20122. "description": "申请明细(JSON)",
  20123. "type": "string"
  20124. },
  20125. "applystatus": {
  20126. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20127. "type": "integer"
  20128. },
  20129. "areauserid": {
  20130. "description": "所属机构",
  20131. "type": "integer"
  20132. },
  20133. "auditid": {
  20134. "description": "审核人",
  20135. "type": "integer"
  20136. },
  20137. "auditremark": {
  20138. "description": "审核备注",
  20139. "type": "string"
  20140. },
  20141. "audittime": {
  20142. "description": "审核时间",
  20143. "type": "string"
  20144. },
  20145. "createtime": {
  20146. "description": "创建时间",
  20147. "type": "string"
  20148. },
  20149. "creatorid": {
  20150. "description": "创建人",
  20151. "type": "integer"
  20152. },
  20153. "deliverygoodsid": {
  20154. "description": "现货品种ID",
  20155. "type": "integer"
  20156. },
  20157. "futureaccountid": {
  20158. "description": "期货资金账户",
  20159. "type": "integer"
  20160. },
  20161. "goodsgroupid": {
  20162. "description": "期货品种",
  20163. "type": "integer"
  20164. },
  20165. "marketid": {
  20166. "description": "市场ID",
  20167. "type": "integer"
  20168. },
  20169. "remark": {
  20170. "description": "备注",
  20171. "type": "string"
  20172. },
  20173. "spotaccountid": {
  20174. "description": "现货资金账户",
  20175. "type": "integer"
  20176. },
  20177. "spottradeid": {
  20178. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  20179. "type": "integer"
  20180. },
  20181. "spottradename": {
  20182. "description": "业务名称",
  20183. "type": "string"
  20184. },
  20185. "spottradeno": {
  20186. "description": "业务编号",
  20187. "type": "string"
  20188. },
  20189. "tradedate": {
  20190. "description": "交易日(yyyyMMdd)",
  20191. "type": "string"
  20192. },
  20193. "wrstandardid": {
  20194. "description": "仓单标准ID",
  20195. "type": "integer"
  20196. }
  20197. }
  20198. },
  20199. "erms3.AddSpotContractApplyReq": {
  20200. "type": "object",
  20201. "required": [
  20202. "accountid",
  20203. "areauserid",
  20204. "contractno",
  20205. "contracttype",
  20206. "customeraccountid",
  20207. "customeruserid",
  20208. "details",
  20209. "orimargin",
  20210. "signdate"
  20211. ],
  20212. "properties": {
  20213. "accountid": {
  20214. "description": "资金账户ID",
  20215. "type": "integer"
  20216. },
  20217. "areauserid": {
  20218. "description": "所属机构",
  20219. "type": "integer"
  20220. },
  20221. "contractattachment": {
  20222. "description": "合同附件",
  20223. "type": "string"
  20224. },
  20225. "contractno": {
  20226. "description": "现货合同编号",
  20227. "type": "string"
  20228. },
  20229. "contracttype": {
  20230. "description": "现货合同类型 - 1:采购 -1:销售",
  20231. "type": "integer"
  20232. },
  20233. "creatorid": {
  20234. "description": "申请人",
  20235. "type": "integer"
  20236. },
  20237. "customeraccountid": {
  20238. "description": "客户资金账户ID",
  20239. "type": "integer"
  20240. },
  20241. "customeruserid": {
  20242. "description": "客户ID",
  20243. "type": "integer"
  20244. },
  20245. "details": {
  20246. "description": "明细",
  20247. "type": "array",
  20248. "items": {
  20249. "$ref": "#/definitions/erms3.SoptContractDetail"
  20250. }
  20251. },
  20252. "orimargin": {
  20253. "description": "初始保证金",
  20254. "type": "number"
  20255. },
  20256. "remark": {
  20257. "description": "备注",
  20258. "type": "string"
  20259. },
  20260. "signdate": {
  20261. "description": "签订日期",
  20262. "type": "string"
  20263. }
  20264. }
  20265. },
  20266. "erms3.AddSpotContractApplyRsp": {
  20267. "type": "object",
  20268. "required": [
  20269. "contractno"
  20270. ],
  20271. "properties": {
  20272. "contractno": {
  20273. "description": "现货合同编号",
  20274. "type": "string"
  20275. },
  20276. "spotcontractid": {
  20277. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  20278. "type": "integer"
  20279. }
  20280. }
  20281. },
  20282. "erms3.AddUserInfoApplyReq": {
  20283. "type": "object",
  20284. "required": [
  20285. "userid"
  20286. ],
  20287. "properties": {
  20288. "accountid": {
  20289. "description": "交易系统帐号Id (加密存储)",
  20290. "type": "integer"
  20291. },
  20292. "areacode": {
  20293. "description": "机构代码",
  20294. "type": "string"
  20295. },
  20296. "areaid": {
  20297. "description": "机构Id",
  20298. "type": "integer"
  20299. },
  20300. "attachment1": {
  20301. "description": "附件1",
  20302. "type": "string"
  20303. },
  20304. "attachment2": {
  20305. "description": "附件2",
  20306. "type": "string"
  20307. },
  20308. "attachment3": {
  20309. "description": "附件3",
  20310. "type": "string"
  20311. },
  20312. "attachment4": {
  20313. "description": "附件4",
  20314. "type": "string"
  20315. },
  20316. "attachment5": {
  20317. "description": "附件5",
  20318. "type": "string"
  20319. },
  20320. "auditedby": {
  20321. "description": "审核人",
  20322. "type": "string"
  20323. },
  20324. "auditime": {
  20325. "description": "审核时间",
  20326. "type": "string"
  20327. },
  20328. "auditsrc": {
  20329. "description": "审核来源 - 1:管理端 2:终端",
  20330. "type": "integer"
  20331. },
  20332. "bankaccount": {
  20333. "description": "银行帐号 (加密存储)",
  20334. "type": "string"
  20335. },
  20336. "bankaccountname": {
  20337. "description": "收款人名称",
  20338. "type": "string"
  20339. },
  20340. "bankcardbackphotourl": {
  20341. "description": "银行卡背面照地址",
  20342. "type": "string"
  20343. },
  20344. "bankcardfrontphotourl": {
  20345. "description": "银行卡正面照地址",
  20346. "type": "string"
  20347. },
  20348. "bankid": {
  20349. "description": "银行编码",
  20350. "type": "string"
  20351. },
  20352. "bankname": {
  20353. "description": "银行名称",
  20354. "type": "string"
  20355. },
  20356. "bankpictureurl": {
  20357. "description": "银行卡正面地址",
  20358. "type": "string"
  20359. },
  20360. "biznature": {
  20361. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20362. "type": "integer"
  20363. },
  20364. "bizscope": {
  20365. "description": "企业经营范围(企业)",
  20366. "type": "string"
  20367. },
  20368. "biztype": {
  20369. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20370. "type": "integer"
  20371. },
  20372. "brokerid": {
  20373. "description": "经纪人ID(加密存储)",
  20374. "type": "string"
  20375. },
  20376. "cardaddress": {
  20377. "description": "证件地址 (加密存储)",
  20378. "type": "string"
  20379. },
  20380. "cardbackphotourl": {
  20381. "description": "背面证件照地址",
  20382. "type": "string"
  20383. },
  20384. "cardfrontphotourl": {
  20385. "description": "正面证件照地址",
  20386. "type": "string"
  20387. },
  20388. "cardnum": {
  20389. "description": "证件号码 (加密存储)",
  20390. "type": "string"
  20391. },
  20392. "cardtype": {
  20393. "description": "证件类型",
  20394. "type": "integer"
  20395. },
  20396. "cityid": {
  20397. "description": "市",
  20398. "type": "integer"
  20399. },
  20400. "company": {
  20401. "description": "公司(个人)",
  20402. "type": "string"
  20403. },
  20404. "contactcardbackphotourl": {
  20405. "description": "联系人证件背面图片地址",
  20406. "type": "string"
  20407. },
  20408. "contactcardfrontphotourl": {
  20409. "description": "联系人证件正面图片地址",
  20410. "type": "string"
  20411. },
  20412. "contactname": {
  20413. "description": "联系人",
  20414. "type": "string"
  20415. },
  20416. "countryid": {
  20417. "description": "国家",
  20418. "type": "integer"
  20419. },
  20420. "createtime": {
  20421. "description": "开户申请时间",
  20422. "type": "string"
  20423. },
  20424. "cusbankid": {
  20425. "description": "签约类型",
  20426. "type": "string"
  20427. },
  20428. "cusbankname": {
  20429. "description": "签约类型名称",
  20430. "type": "string"
  20431. },
  20432. "customername": {
  20433. "description": "客户名称(企业名称)",
  20434. "type": "string"
  20435. },
  20436. "districtid": {
  20437. "description": "地区",
  20438. "type": "integer"
  20439. },
  20440. "email": {
  20441. "description": "Email地址(加密存储)",
  20442. "type": "string"
  20443. },
  20444. "halfbodyphotourl": {
  20445. "description": "半身照地址",
  20446. "type": "string"
  20447. },
  20448. "headurl": {
  20449. "description": "头像地址",
  20450. "type": "string"
  20451. },
  20452. "ipaddress": {
  20453. "description": "IP地址",
  20454. "type": "string"
  20455. },
  20456. "isvalidate": {
  20457. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20458. "type": "string"
  20459. },
  20460. "legalcardbackphotourl": {
  20461. "description": "法人身份证背面照地址",
  20462. "type": "string"
  20463. },
  20464. "legalcardfrontphotourl": {
  20465. "description": "法人身份证正面照地址",
  20466. "type": "string"
  20467. },
  20468. "legalpersonname": {
  20469. "description": "法人姓名(企业)",
  20470. "type": "string"
  20471. },
  20472. "logincode": {
  20473. "description": "登录帐号 (加密存储)",
  20474. "type": "string"
  20475. },
  20476. "memberareaid": {
  20477. "description": "所属会员ID",
  20478. "type": "integer"
  20479. },
  20480. "mobile2": {
  20481. "description": "手机号码[明文-尚志]",
  20482. "type": "string"
  20483. },
  20484. "mobilephone": {
  20485. "description": "手机号码 (加密存储)",
  20486. "type": "string"
  20487. },
  20488. "modifiedby": {
  20489. "description": "修改人帐号",
  20490. "type": "integer"
  20491. },
  20492. "modifiedtime": {
  20493. "description": "修改时间",
  20494. "type": "string"
  20495. },
  20496. "nickname": {
  20497. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20498. "type": "string"
  20499. },
  20500. "openmode": {
  20501. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20502. "type": "integer"
  20503. },
  20504. "otherurl": {
  20505. "description": "其它图片地址[使用分号分隔]",
  20506. "type": "string"
  20507. },
  20508. "postalcode": {
  20509. "description": "邮政编码",
  20510. "type": "string"
  20511. },
  20512. "provinceid": {
  20513. "description": "省",
  20514. "type": "integer"
  20515. },
  20516. "proxystatementurl": {
  20517. "description": "授权委托书",
  20518. "type": "string"
  20519. },
  20520. "qq": {
  20521. "description": "QQ(加密存储",
  20522. "type": "string"
  20523. },
  20524. "referral": {
  20525. "description": "推荐人编码",
  20526. "type": "string"
  20527. },
  20528. "remark": {
  20529. "description": "备注",
  20530. "type": "string"
  20531. },
  20532. "removebeforestatus": {
  20533. "description": "REMOVEBEFORESTATUS",
  20534. "type": "integer"
  20535. },
  20536. "sex": {
  20537. "description": "性别 - 0:女 1:男",
  20538. "type": "integer"
  20539. },
  20540. "signedstatus": {
  20541. "description": "账户一号签签约状态",
  20542. "type": "integer"
  20543. },
  20544. "signpdfurl": {
  20545. "description": "签约pdf文件",
  20546. "type": "string"
  20547. },
  20548. "subbranch": {
  20549. "description": "开户支行",
  20550. "type": "string"
  20551. },
  20552. "taxpayernum": {
  20553. "description": "纳税人识别号",
  20554. "type": "string"
  20555. },
  20556. "telphone": {
  20557. "description": "联系电话(加密存储)",
  20558. "type": "string"
  20559. },
  20560. "userid": {
  20561. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20562. "type": "integer"
  20563. },
  20564. "userinfotype": {
  20565. "description": "用户信息类型 - 1:个人 2:企业",
  20566. "type": "integer"
  20567. },
  20568. "username": {
  20569. "description": "用户姓名",
  20570. "type": "string"
  20571. },
  20572. "userstate": {
  20573. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20574. "type": "integer"
  20575. },
  20576. "usertype": {
  20577. "description": "用户类型 - 1:投资者 2:机构",
  20578. "type": "integer"
  20579. },
  20580. "videourl": {
  20581. "description": "视频地址",
  20582. "type": "string"
  20583. },
  20584. "wechat": {
  20585. "description": "微信号 (加密存储)",
  20586. "type": "string"
  20587. }
  20588. }
  20589. },
  20590. "erms3.CustomerInfo": {
  20591. "type": "object",
  20592. "required": [
  20593. "userid"
  20594. ],
  20595. "properties": {
  20596. "accountids": {
  20597. "description": "资金账户ID列表",
  20598. "type": "array",
  20599. "items": {
  20600. "type": "integer"
  20601. }
  20602. },
  20603. "customername": {
  20604. "description": "名称(企业名称)",
  20605. "type": "string"
  20606. },
  20607. "mobile": {
  20608. "description": "手机号码",
  20609. "type": "string"
  20610. },
  20611. "userid": {
  20612. "description": "用户ID",
  20613. "type": "integer"
  20614. }
  20615. }
  20616. },
  20617. "erms3.ModifyUserInfoApplyReq": {
  20618. "type": "object",
  20619. "required": [
  20620. "userid"
  20621. ],
  20622. "properties": {
  20623. "accountid": {
  20624. "description": "交易系统帐号Id (加密存储)",
  20625. "type": "integer"
  20626. },
  20627. "areacode": {
  20628. "description": "机构代码",
  20629. "type": "string"
  20630. },
  20631. "areaid": {
  20632. "description": "机构Id",
  20633. "type": "integer"
  20634. },
  20635. "attachment1": {
  20636. "description": "附件1",
  20637. "type": "string"
  20638. },
  20639. "attachment2": {
  20640. "description": "附件2",
  20641. "type": "string"
  20642. },
  20643. "attachment3": {
  20644. "description": "附件3",
  20645. "type": "string"
  20646. },
  20647. "attachment4": {
  20648. "description": "附件4",
  20649. "type": "string"
  20650. },
  20651. "attachment5": {
  20652. "description": "附件5",
  20653. "type": "string"
  20654. },
  20655. "auditedby": {
  20656. "description": "审核人",
  20657. "type": "string"
  20658. },
  20659. "auditime": {
  20660. "description": "审核时间",
  20661. "type": "string"
  20662. },
  20663. "auditsrc": {
  20664. "description": "审核来源 - 1:管理端 2:终端",
  20665. "type": "integer"
  20666. },
  20667. "bankaccount": {
  20668. "description": "银行帐号 (加密存储)",
  20669. "type": "string"
  20670. },
  20671. "bankaccountname": {
  20672. "description": "收款人名称",
  20673. "type": "string"
  20674. },
  20675. "bankcardbackphotourl": {
  20676. "description": "银行卡背面照地址",
  20677. "type": "string"
  20678. },
  20679. "bankcardfrontphotourl": {
  20680. "description": "银行卡正面照地址",
  20681. "type": "string"
  20682. },
  20683. "bankid": {
  20684. "description": "银行编码",
  20685. "type": "string"
  20686. },
  20687. "bankname": {
  20688. "description": "银行名称",
  20689. "type": "string"
  20690. },
  20691. "bankpictureurl": {
  20692. "description": "银行卡正面地址",
  20693. "type": "string"
  20694. },
  20695. "biznature": {
  20696. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20697. "type": "integer"
  20698. },
  20699. "bizscope": {
  20700. "description": "企业经营范围(企业)",
  20701. "type": "string"
  20702. },
  20703. "biztype": {
  20704. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20705. "type": "integer"
  20706. },
  20707. "brokerid": {
  20708. "description": "经纪人ID(加密存储)",
  20709. "type": "string"
  20710. },
  20711. "cardaddress": {
  20712. "description": "证件地址 (加密存储)",
  20713. "type": "string"
  20714. },
  20715. "cardbackphotourl": {
  20716. "description": "背面证件照地址",
  20717. "type": "string"
  20718. },
  20719. "cardfrontphotourl": {
  20720. "description": "正面证件照地址",
  20721. "type": "string"
  20722. },
  20723. "cardnum": {
  20724. "description": "证件号码 (加密存储)",
  20725. "type": "string"
  20726. },
  20727. "cardtype": {
  20728. "description": "证件类型",
  20729. "type": "integer"
  20730. },
  20731. "cityid": {
  20732. "description": "市",
  20733. "type": "integer"
  20734. },
  20735. "company": {
  20736. "description": "公司(个人)",
  20737. "type": "string"
  20738. },
  20739. "contactcardbackphotourl": {
  20740. "description": "联系人证件背面图片地址",
  20741. "type": "string"
  20742. },
  20743. "contactcardfrontphotourl": {
  20744. "description": "联系人证件正面图片地址",
  20745. "type": "string"
  20746. },
  20747. "contactname": {
  20748. "description": "联系人",
  20749. "type": "string"
  20750. },
  20751. "countryid": {
  20752. "description": "国家",
  20753. "type": "integer"
  20754. },
  20755. "createtime": {
  20756. "description": "开户申请时间",
  20757. "type": "string"
  20758. },
  20759. "cusbankid": {
  20760. "description": "签约类型",
  20761. "type": "string"
  20762. },
  20763. "cusbankname": {
  20764. "description": "签约类型名称",
  20765. "type": "string"
  20766. },
  20767. "customername": {
  20768. "description": "客户名称(企业名称)",
  20769. "type": "string"
  20770. },
  20771. "districtid": {
  20772. "description": "地区",
  20773. "type": "integer"
  20774. },
  20775. "email": {
  20776. "description": "Email地址(加密存储)",
  20777. "type": "string"
  20778. },
  20779. "halfbodyphotourl": {
  20780. "description": "半身照地址",
  20781. "type": "string"
  20782. },
  20783. "headurl": {
  20784. "description": "头像地址",
  20785. "type": "string"
  20786. },
  20787. "ipaddress": {
  20788. "description": "IP地址",
  20789. "type": "string"
  20790. },
  20791. "isvalidate": {
  20792. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20793. "type": "string"
  20794. },
  20795. "legalcardbackphotourl": {
  20796. "description": "法人身份证背面照地址",
  20797. "type": "string"
  20798. },
  20799. "legalcardfrontphotourl": {
  20800. "description": "法人身份证正面照地址",
  20801. "type": "string"
  20802. },
  20803. "legalpersonname": {
  20804. "description": "法人姓名(企业)",
  20805. "type": "string"
  20806. },
  20807. "logincode": {
  20808. "description": "登录帐号 (加密存储)",
  20809. "type": "string"
  20810. },
  20811. "memberareaid": {
  20812. "description": "所属会员ID",
  20813. "type": "integer"
  20814. },
  20815. "mobile2": {
  20816. "description": "手机号码[明文-尚志]",
  20817. "type": "string"
  20818. },
  20819. "mobilephone": {
  20820. "description": "手机号码 (加密存储)",
  20821. "type": "string"
  20822. },
  20823. "modifiedby": {
  20824. "description": "修改人帐号",
  20825. "type": "integer"
  20826. },
  20827. "modifiedtime": {
  20828. "description": "修改时间",
  20829. "type": "string"
  20830. },
  20831. "nickname": {
  20832. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20833. "type": "string"
  20834. },
  20835. "openmode": {
  20836. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20837. "type": "integer"
  20838. },
  20839. "otherurl": {
  20840. "description": "其它图片地址[使用分号分隔]",
  20841. "type": "string"
  20842. },
  20843. "postalcode": {
  20844. "description": "邮政编码",
  20845. "type": "string"
  20846. },
  20847. "provinceid": {
  20848. "description": "省",
  20849. "type": "integer"
  20850. },
  20851. "proxystatementurl": {
  20852. "description": "授权委托书",
  20853. "type": "string"
  20854. },
  20855. "qq": {
  20856. "description": "QQ(加密存储",
  20857. "type": "string"
  20858. },
  20859. "referral": {
  20860. "description": "推荐人编码",
  20861. "type": "string"
  20862. },
  20863. "remark": {
  20864. "description": "备注",
  20865. "type": "string"
  20866. },
  20867. "removebeforestatus": {
  20868. "description": "REMOVEBEFORESTATUS",
  20869. "type": "integer"
  20870. },
  20871. "sex": {
  20872. "description": "性别 - 0:女 1:男",
  20873. "type": "integer"
  20874. },
  20875. "signedstatus": {
  20876. "description": "账户一号签签约状态",
  20877. "type": "integer"
  20878. },
  20879. "signpdfurl": {
  20880. "description": "签约pdf文件",
  20881. "type": "string"
  20882. },
  20883. "subbranch": {
  20884. "description": "开户支行",
  20885. "type": "string"
  20886. },
  20887. "taxpayernum": {
  20888. "description": "纳税人识别号",
  20889. "type": "string"
  20890. },
  20891. "telphone": {
  20892. "description": "联系电话(加密存储)",
  20893. "type": "string"
  20894. },
  20895. "userid": {
  20896. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20897. "type": "integer"
  20898. },
  20899. "userinfotype": {
  20900. "description": "用户信息类型 - 1:个人 2:企业",
  20901. "type": "integer"
  20902. },
  20903. "username": {
  20904. "description": "用户姓名",
  20905. "type": "string"
  20906. },
  20907. "userstate": {
  20908. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20909. "type": "integer"
  20910. },
  20911. "usertype": {
  20912. "description": "用户类型 - 1:投资者 2:机构",
  20913. "type": "integer"
  20914. },
  20915. "videourl": {
  20916. "description": "视频地址",
  20917. "type": "string"
  20918. },
  20919. "wechat": {
  20920. "description": "微信号 (加密存储)",
  20921. "type": "string"
  20922. }
  20923. }
  20924. },
  20925. "erms3.QryAuditContractRsp": {
  20926. "type": "object",
  20927. "required": [
  20928. "matchcustomername",
  20929. "spotcontractid"
  20930. ],
  20931. "properties": {
  20932. "accountid": {
  20933. "description": "交易员ID",
  20934. "type": "string"
  20935. },
  20936. "applystatus": {
  20937. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20938. "type": "integer"
  20939. },
  20940. "curdeliveryqty": {
  20941. "description": "未交收量",
  20942. "type": "integer"
  20943. },
  20944. "customername": {
  20945. "description": "采购方ID",
  20946. "type": "string"
  20947. },
  20948. "deliverygoodsid": {
  20949. "description": "品种ID",
  20950. "type": "string"
  20951. },
  20952. "deliveryqty": {
  20953. "description": "交收量",
  20954. "type": "integer"
  20955. },
  20956. "enumdicname": {
  20957. "description": "单位名称",
  20958. "type": "string"
  20959. },
  20960. "matchaccountid": {
  20961. "description": "业务员ID",
  20962. "type": "string"
  20963. },
  20964. "matchcustomername": {
  20965. "description": "销售方ID",
  20966. "type": "string"
  20967. },
  20968. "pricedqty": {
  20969. "description": "定价量",
  20970. "type": "number"
  20971. },
  20972. "signdate": {
  20973. "description": "签订日期",
  20974. "type": "string"
  20975. },
  20976. "spotcontractid": {
  20977. "description": "合同ID",
  20978. "type": "string"
  20979. },
  20980. "totaldqty": {
  20981. "description": "合同量",
  20982. "type": "number"
  20983. },
  20984. "unpricedqty": {
  20985. "description": "未定价量",
  20986. "type": "number"
  20987. },
  20988. "wrstandardname": {
  20989. "description": "商品名称",
  20990. "type": "string"
  20991. }
  20992. }
  20993. },
  20994. "erms3.QryPendingBizRsp": {
  20995. "type": "object",
  20996. "properties": {
  20997. "accountid": {
  20998. "description": "现货账户",
  20999. "type": "string"
  21000. },
  21001. "areaname": {
  21002. "description": "所属部门",
  21003. "type": "string"
  21004. },
  21005. "bizid": {
  21006. "description": "业务ID",
  21007. "type": "string"
  21008. },
  21009. "bizname": {
  21010. "description": "业务名称",
  21011. "type": "string"
  21012. },
  21013. "status": {
  21014. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21015. "type": "integer"
  21016. },
  21017. "type": {
  21018. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21019. "type": "integer"
  21020. }
  21021. }
  21022. },
  21023. "erms3.QueryBusinessInfoRsp": {
  21024. "type": "object",
  21025. "properties": {
  21026. "businessid": {
  21027. "description": "业务ID.",
  21028. "type": "integer"
  21029. },
  21030. "buyamount": {
  21031. "description": "采购额.",
  21032. "type": "number"
  21033. },
  21034. "buyqty": {
  21035. "description": "采购量.",
  21036. "type": "string"
  21037. },
  21038. "futurepl": {
  21039. "description": "期货盈亏.",
  21040. "type": "number"
  21041. },
  21042. "futureqty": {
  21043. "description": "期货敞口.",
  21044. "type": "string"
  21045. },
  21046. "goodsid": {
  21047. "description": "商品名称/商品代码.",
  21048. "type": "string"
  21049. },
  21050. "hedgingqty": {
  21051. "description": "套保量.",
  21052. "type": "string"
  21053. },
  21054. "sellamount": {
  21055. "description": "销售额.",
  21056. "type": "number"
  21057. },
  21058. "sellqty": {
  21059. "description": "销售量.",
  21060. "type": "string"
  21061. },
  21062. "spotmarketvalue": {
  21063. "description": "现货市值.",
  21064. "type": "number"
  21065. },
  21066. "spotpl": {
  21067. "description": "浮动权益.",
  21068. "type": "number"
  21069. },
  21070. "spotqty": {
  21071. "description": "现货量.",
  21072. "type": "string"
  21073. },
  21074. "statu": {
  21075. "description": "状态,0-未结束 1-已结束.",
  21076. "type": "integer"
  21077. },
  21078. "totalpl": {
  21079. "description": "总盈亏.",
  21080. "type": "number"
  21081. },
  21082. "totalqty": {
  21083. "description": "总敞口.",
  21084. "type": "string"
  21085. },
  21086. "type": {
  21087. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  21088. "type": "integer"
  21089. }
  21090. }
  21091. },
  21092. "erms3.QuerySpotContractAppleFormRsp": {
  21093. "type": "object",
  21094. "properties": {
  21095. "goodses": {
  21096. "description": "合约列表",
  21097. "type": "array",
  21098. "items": {
  21099. "$ref": "#/definitions/models.GoodsIDAndName"
  21100. }
  21101. },
  21102. "oppositeusers": {
  21103. "description": "对方账号列表",
  21104. "type": "array",
  21105. "items": {
  21106. "$ref": "#/definitions/erms3.CustomerInfo"
  21107. }
  21108. },
  21109. "ouruser": {
  21110. "description": "我方账号",
  21111. "$ref": "#/definitions/erms3.CustomerInfo"
  21112. },
  21113. "warehouseinfos": {
  21114. "description": "仓库信息列表",
  21115. "type": "array",
  21116. "items": {
  21117. "$ref": "#/definitions/models.Warehouseinfo"
  21118. }
  21119. },
  21120. "wrstandards": {
  21121. "description": "仓单标准列表",
  21122. "type": "array",
  21123. "items": {
  21124. "$ref": "#/definitions/models.WRStandardInfo"
  21125. }
  21126. }
  21127. }
  21128. },
  21129. "erms3.QuerySpotContractInfoRsp": {
  21130. "type": "object",
  21131. "properties": {
  21132. "accountid": {
  21133. "description": "表示交易员ID.",
  21134. "type": "integer"
  21135. },
  21136. "curdeliveryqty": {
  21137. "description": "表示未交收量.",
  21138. "type": "number"
  21139. },
  21140. "customername": {
  21141. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  21142. "type": "string"
  21143. },
  21144. "deliverygoodsid": {
  21145. "description": "表示品种ID.",
  21146. "type": "string"
  21147. },
  21148. "deliveryqty": {
  21149. "description": "表示交收量.",
  21150. "type": "number"
  21151. },
  21152. "matchaccountid": {
  21153. "description": "表示业务员ID.",
  21154. "type": "integer"
  21155. },
  21156. "matchcustomername": {
  21157. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  21158. "type": "string"
  21159. },
  21160. "priceqty": {
  21161. "description": "表示定价量.",
  21162. "type": "number"
  21163. },
  21164. "relatedbizid": {
  21165. "description": "表示业务ID.",
  21166. "type": "string"
  21167. },
  21168. "signdate": {
  21169. "description": "表示签订日期.",
  21170. "type": "string"
  21171. },
  21172. "spotcontractid": {
  21173. "description": "合同ID",
  21174. "type": "string"
  21175. },
  21176. "status": {
  21177. "description": "表示状态,0-履约中 1-已完成.",
  21178. "type": "integer"
  21179. },
  21180. "totalqty": {
  21181. "description": "表示合同量.",
  21182. "type": "number"
  21183. },
  21184. "unpricedqty": {
  21185. "description": "表示未定价量.",
  21186. "type": "number"
  21187. },
  21188. "wrstandardname": {
  21189. "description": "表示商品ID.",
  21190. "type": "string"
  21191. }
  21192. }
  21193. },
  21194. "erms3.QueryUserInfoAppliesRsp": {
  21195. "type": "object",
  21196. "required": [
  21197. "userid"
  21198. ],
  21199. "properties": {
  21200. "biznature": {
  21201. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21202. "type": "integer"
  21203. },
  21204. "contactname": {
  21205. "description": "联系人",
  21206. "type": "string"
  21207. },
  21208. "createtime": {
  21209. "description": "开户申请时间",
  21210. "type": "string"
  21211. },
  21212. "userid": {
  21213. "description": "用户ID(自增ID)",
  21214. "type": "integer"
  21215. },
  21216. "userinfotype": {
  21217. "description": "用户信息类型 - 1:个人 2:企业",
  21218. "type": "integer"
  21219. },
  21220. "username": {
  21221. "description": "用户姓名",
  21222. "type": "string"
  21223. },
  21224. "userstate": {
  21225. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21226. "type": "integer"
  21227. }
  21228. }
  21229. },
  21230. "erms3.QueryUserInfosRsp": {
  21231. "type": "object",
  21232. "required": [
  21233. "userid"
  21234. ],
  21235. "properties": {
  21236. "biznature": {
  21237. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21238. "type": "integer"
  21239. },
  21240. "contactname": {
  21241. "description": "联系人",
  21242. "type": "string"
  21243. },
  21244. "customername": {
  21245. "description": "客户名称(企业名称)",
  21246. "type": "string"
  21247. },
  21248. "userid": {
  21249. "description": "用户ID",
  21250. "type": "integer"
  21251. },
  21252. "userinfotype": {
  21253. "description": "用户信息类型 - 1:个人 2:企业",
  21254. "type": "integer"
  21255. },
  21256. "userstatus": {
  21257. "description": "用户状态 - 1:正常 2:注销",
  21258. "type": "integer"
  21259. }
  21260. }
  21261. },
  21262. "erms3.SoptContractDetail": {
  21263. "type": "object",
  21264. "required": [
  21265. "deliverygoodsid",
  21266. "producttype",
  21267. "unitname",
  21268. "warehouseid",
  21269. "wrstandardid",
  21270. "wrstandardname"
  21271. ],
  21272. "properties": {
  21273. "deliverygoodsdesc": {
  21274. "description": "现货品种说明",
  21275. "type": "string"
  21276. },
  21277. "deliverygoodsid": {
  21278. "description": "现货品种ID",
  21279. "type": "integer"
  21280. },
  21281. "deliverygoodsname": {
  21282. "description": "现货品种名称",
  21283. "type": "string"
  21284. },
  21285. "pointdesc": {
  21286. "description": "点价描述",
  21287. "type": "string"
  21288. },
  21289. "producttype": {
  21290. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  21291. "type": "integer"
  21292. },
  21293. "producttypename": {
  21294. "description": "产品类型名称",
  21295. "type": "string"
  21296. },
  21297. "spotPointOrderVoList": {
  21298. "description": "点价列表",
  21299. "type": "array",
  21300. "items": {
  21301. "$ref": "#/definitions/erms3.SpotPointOrder"
  21302. }
  21303. },
  21304. "spotPriceOrderList": {
  21305. "description": "定价列表",
  21306. "type": "array",
  21307. "items": {
  21308. "$ref": "#/definitions/erms3.SpotPriceOrder"
  21309. }
  21310. },
  21311. "unitname": {
  21312. "description": "单位名称",
  21313. "type": "string"
  21314. },
  21315. "warehouseid": {
  21316. "description": "仓库ID",
  21317. "type": "integer"
  21318. },
  21319. "warehousename": {
  21320. "description": "仓库名称",
  21321. "type": "string"
  21322. },
  21323. "wrstandardid": {
  21324. "description": "交易标的ID",
  21325. "type": "integer"
  21326. },
  21327. "wrstandardname": {
  21328. "description": "交易标的名称",
  21329. "type": "string"
  21330. }
  21331. }
  21332. },
  21333. "erms3.SpotPointOrder": {
  21334. "type": "object",
  21335. "required": [
  21336. "basic",
  21337. "goodsid",
  21338. "qty"
  21339. ],
  21340. "properties": {
  21341. "basic": {
  21342. "description": "基差",
  21343. "type": "number"
  21344. },
  21345. "deliveryenddate": {
  21346. "description": "交收结束日期",
  21347. "type": "string"
  21348. },
  21349. "deliverystartdate": {
  21350. "description": "交收开始日期",
  21351. "type": "string"
  21352. },
  21353. "enddate": {
  21354. "description": "点价结束日期",
  21355. "type": "string"
  21356. },
  21357. "goodsid": {
  21358. "description": "商品ID",
  21359. "type": "integer"
  21360. },
  21361. "goodsname": {
  21362. "description": "商品名称",
  21363. "type": "string"
  21364. },
  21365. "qty": {
  21366. "description": "数量",
  21367. "type": "number"
  21368. },
  21369. "startdate": {
  21370. "description": "点价开始日期",
  21371. "type": "string"
  21372. }
  21373. }
  21374. },
  21375. "erms3.SpotPriceOrder": {
  21376. "type": "object",
  21377. "required": [
  21378. "amount",
  21379. "price",
  21380. "qty"
  21381. ],
  21382. "properties": {
  21383. "amount": {
  21384. "description": "金额",
  21385. "type": "number"
  21386. },
  21387. "deliveryenddate": {
  21388. "description": "交收结束日期",
  21389. "type": "string"
  21390. },
  21391. "deliverystartdate": {
  21392. "description": "交收开始日期",
  21393. "type": "string"
  21394. },
  21395. "price": {
  21396. "description": "价格",
  21397. "type": "number"
  21398. },
  21399. "qty": {
  21400. "description": "数量",
  21401. "type": "number"
  21402. }
  21403. }
  21404. },
  21405. "hsby.GetHsbyMyCountRsp": {
  21406. "type": "object",
  21407. "properties": {
  21408. "myCouponCount": {
  21409. "description": "我的优惠卷数量",
  21410. "type": "integer"
  21411. },
  21412. "myOrderDetailListingCount": {
  21413. "description": "我的订单求购中数量",
  21414. "type": "integer"
  21415. },
  21416. "myOrderDetailPreCount": {
  21417. "description": "我的订单抢购中数量",
  21418. "type": "integer"
  21419. },
  21420. "myPackageUnReceiveCount": {
  21421. "description": "我的包裹待收货数量",
  21422. "type": "integer"
  21423. },
  21424. "myPackageUnSendCount": {
  21425. "description": "我的包裹待发货数量",
  21426. "type": "integer"
  21427. },
  21428. "myPayOrderCount": {
  21429. "description": "我的订单待付款数量",
  21430. "type": "integer"
  21431. }
  21432. }
  21433. },
  21434. "hsby.QueryProvincesAndCitiesRsp": {
  21435. "type": "object",
  21436. "properties": {
  21437. "cities": {
  21438. "description": "市",
  21439. "type": "array",
  21440. "items": {
  21441. "$ref": "#/definitions/models.Division"
  21442. }
  21443. },
  21444. "province": {
  21445. "description": "省",
  21446. "$ref": "#/definitions/models.Division"
  21447. }
  21448. }
  21449. },
  21450. "models.Arearole": {
  21451. "type": "object",
  21452. "required": [
  21453. "roletype",
  21454. "userid"
  21455. ],
  21456. "properties": {
  21457. "createtime": {
  21458. "description": "创建时间",
  21459. "type": "string"
  21460. },
  21461. "creatorid": {
  21462. "description": "创建人ID",
  21463. "type": "integer"
  21464. },
  21465. "fromuserid": {
  21466. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  21467. "type": "integer"
  21468. },
  21469. "isreturnscore": {
  21470. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  21471. "type": "integer"
  21472. },
  21473. "modifierid": {
  21474. "description": "修改人ID",
  21475. "type": "integer"
  21476. },
  21477. "modifytime": {
  21478. "description": "修改时间",
  21479. "type": "string"
  21480. },
  21481. "orgtype": {
  21482. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  21483. "type": "integer"
  21484. },
  21485. "outuserid": {
  21486. "description": "外部账户[场外期权做市商]",
  21487. "type": "string"
  21488. },
  21489. "parentuserid": {
  21490. "description": "上级组织机构(组织机构)",
  21491. "type": "integer"
  21492. },
  21493. "roletype": {
  21494. "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:门店",
  21495. "type": "integer"
  21496. },
  21497. "rootuserid": {
  21498. "description": "顶级组织机构用户ID(组织机构)",
  21499. "type": "integer"
  21500. },
  21501. "shoppassword": {
  21502. "description": "商城店铺登陆密码(商城店铺角色使用)",
  21503. "type": "string"
  21504. },
  21505. "sublevelpath": {
  21506. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  21507. "type": "string"
  21508. },
  21509. "suborgtype": {
  21510. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  21511. "type": "integer"
  21512. },
  21513. "tradeaccountid": {
  21514. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  21515. "type": "integer"
  21516. },
  21517. "transurl": {
  21518. "description": "物流地址(物流机构)",
  21519. "type": "string"
  21520. },
  21521. "userid": {
  21522. "description": "机构用户ID其他做市关系,都设置为 1",
  21523. "type": "integer"
  21524. }
  21525. }
  21526. },
  21527. "models.BuyOrder": {
  21528. "type": "object",
  21529. "properties": {
  21530. "accountid": {
  21531. "description": "资金账户ID",
  21532. "type": "integer"
  21533. },
  21534. "buyusername": {
  21535. "description": "买方",
  21536. "type": "string"
  21537. },
  21538. "marketid": {
  21539. "description": "市场ID",
  21540. "type": "integer"
  21541. },
  21542. "origin": {
  21543. "description": "原产地",
  21544. "type": "string"
  21545. },
  21546. "remark": {
  21547. "description": "备注",
  21548. "type": "string"
  21549. },
  21550. "userid": {
  21551. "description": "用户ID",
  21552. "type": "integer"
  21553. },
  21554. "warehouseids": {
  21555. "description": "仓库ID - 多个, 逗号分隔",
  21556. "type": "string"
  21557. },
  21558. "warehouseinfosdisplay": {
  21559. "type": "string"
  21560. },
  21561. "wrtradeorderid": {
  21562. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  21563. "type": "integer"
  21564. },
  21565. "zscategory": {
  21566. "description": "钻石分类 - 枚举”ZSCategory“",
  21567. "type": "integer"
  21568. },
  21569. "zscategorydisplay": {
  21570. "type": "string"
  21571. },
  21572. "zsclaritytype": {
  21573. "description": "净度 - 两个, 逗号分隔",
  21574. "type": "string"
  21575. },
  21576. "zsclaritytypedisplay": {
  21577. "type": "string"
  21578. },
  21579. "zscolortype": {
  21580. "description": "颜色 - 两个, 逗号分隔",
  21581. "type": "string"
  21582. },
  21583. "zscolortypedisplay": {
  21584. "type": "string"
  21585. },
  21586. "zscrystaltype": {
  21587. "description": "晶型 - 多个,逗号分隔",
  21588. "type": "string"
  21589. },
  21590. "zscrystaltypedisplay": {
  21591. "type": "string"
  21592. },
  21593. "zscurrencytype": {
  21594. "description": "货币类型 - 多个, 逗号分隔",
  21595. "type": "string"
  21596. },
  21597. "zscurrencytypedisplay": {
  21598. "type": "string"
  21599. },
  21600. "zscuttype": {
  21601. "description": "切工 - 两个, 逗号分隔",
  21602. "type": "string"
  21603. },
  21604. "zscuttypedisplay": {
  21605. "type": "string"
  21606. },
  21607. "zsczcolor1type": {
  21608. "description": "彩钻颜色1, 逗号分隔",
  21609. "type": "string"
  21610. },
  21611. "zsczcolor1typedisplay": {
  21612. "type": "string"
  21613. },
  21614. "zsczcolor2type": {
  21615. "description": "彩钻颜色2, 逗号分隔",
  21616. "type": "string"
  21617. },
  21618. "zsczcolor2typedisplay": {
  21619. "type": "string"
  21620. },
  21621. "zsczcolor3type": {
  21622. "description": "彩钻颜色3, 逗号分隔",
  21623. "type": "string"
  21624. },
  21625. "zsczcolor3typedisplay": {
  21626. "type": "string"
  21627. },
  21628. "zsfluorescencetype": {
  21629. "description": "荧光 - 多个, 逗号分隔",
  21630. "type": "string"
  21631. },
  21632. "zsfluorescencetypedisplay": {
  21633. "type": "string"
  21634. },
  21635. "zspolishtype": {
  21636. "description": "抛光度 - 两个, 逗号分隔",
  21637. "type": "string"
  21638. },
  21639. "zspolishtypedisplay": {
  21640. "type": "string"
  21641. },
  21642. "zsshapetype": {
  21643. "description": "形状 - 多个, 逗号分隔",
  21644. "type": "string"
  21645. },
  21646. "zsshapetypedisplay": {
  21647. "type": "string"
  21648. },
  21649. "zssize": {
  21650. "description": "尺寸 - 两个小数, 逗号分隔",
  21651. "type": "string"
  21652. },
  21653. "zsstyletype": {
  21654. "description": "款式 - 多个, 逗号分隔",
  21655. "type": "string"
  21656. },
  21657. "zsstyletypedisplay": {
  21658. "type": "string"
  21659. },
  21660. "zssymmetrytype": {
  21661. "description": "对称度 - 两个, 逗号分隔",
  21662. "type": "string"
  21663. },
  21664. "zssymmetrytypedisplay": {
  21665. "type": "string"
  21666. },
  21667. "zstabledisplay": {
  21668. "description": "求购信息",
  21669. "type": "string"
  21670. }
  21671. }
  21672. },
  21673. "models.Clientfixedadconfig": {
  21674. "type": "object",
  21675. "required": [
  21676. "adsort",
  21677. "adtype"
  21678. ],
  21679. "properties": {
  21680. "adsort": {
  21681. "description": "排序",
  21682. "type": "integer"
  21683. },
  21684. "adtype": {
  21685. "description": "广告位类型 - 1:新品抢购(HSBY)",
  21686. "type": "integer"
  21687. },
  21688. "areauserid": {
  21689. "description": "所属机构ID",
  21690. "type": "integer"
  21691. },
  21692. "createdate": {
  21693. "description": "创建时间",
  21694. "type": "string"
  21695. },
  21696. "creatorid": {
  21697. "description": "创建人",
  21698. "type": "integer"
  21699. },
  21700. "imagepath": {
  21701. "description": "图片",
  21702. "type": "string"
  21703. },
  21704. "isshow": {
  21705. "description": "是否展示 - 0:不展示 1:展示",
  21706. "type": "integer"
  21707. },
  21708. "modifierid": {
  21709. "description": "操作人",
  21710. "type": "integer"
  21711. },
  21712. "recsize": {
  21713. "description": "推荐尺寸",
  21714. "type": "string"
  21715. },
  21716. "title": {
  21717. "description": "标题",
  21718. "type": "string"
  21719. },
  21720. "updatedate": {
  21721. "description": "更新时间",
  21722. "type": "string"
  21723. },
  21724. "urlcontent": {
  21725. "description": "链接(地址或商品ID)",
  21726. "type": "string"
  21727. },
  21728. "urltype": {
  21729. "description": "链接类型 - 1:直接地址 2:商品ID",
  21730. "type": "integer"
  21731. }
  21732. }
  21733. },
  21734. "models.DgFactoryItem": {
  21735. "type": "object",
  21736. "properties": {
  21737. "dgfactoryitemid": {
  21738. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  21739. "type": "integer"
  21740. },
  21741. "dgfactoryitemtypeid": {
  21742. "description": "要素项类型",
  21743. "type": "integer"
  21744. },
  21745. "dgfactoryitemvalue": {
  21746. "description": "要素项值(类型为仓库时填写仓库名称)",
  21747. "type": "string"
  21748. },
  21749. "orderindex": {
  21750. "description": "顺序",
  21751. "type": "integer"
  21752. }
  21753. }
  21754. },
  21755. "models.Division": {
  21756. "type": "object",
  21757. "required": [
  21758. "autoid",
  21759. "divisioncode"
  21760. ],
  21761. "properties": {
  21762. "autoid": {
  21763. "description": "自增ID",
  21764. "type": "integer"
  21765. },
  21766. "divisioncode": {
  21767. "description": "行政代码",
  21768. "type": "string"
  21769. },
  21770. "divisionlevel": {
  21771. "description": "行政级别",
  21772. "type": "string"
  21773. },
  21774. "divisionname": {
  21775. "description": "行政名称",
  21776. "type": "string"
  21777. },
  21778. "modifierid": {
  21779. "description": "修改人",
  21780. "type": "integer"
  21781. },
  21782. "modifytime": {
  21783. "description": "修改时间",
  21784. "type": "string"
  21785. },
  21786. "parentcode": {
  21787. "description": "上级行政代码",
  21788. "type": "string"
  21789. },
  21790. "pathname": {
  21791. "description": "路径名称",
  21792. "type": "string"
  21793. },
  21794. "postcode": {
  21795. "description": "邮政编码",
  21796. "type": "string"
  21797. },
  21798. "separablename": {
  21799. "description": "可拆分的全称",
  21800. "type": "string"
  21801. },
  21802. "shortcode": {
  21803. "description": "地区简码",
  21804. "type": "string"
  21805. }
  21806. }
  21807. },
  21808. "models.Enumdicitem": {
  21809. "type": "object",
  21810. "required": [
  21811. "autoid",
  21812. "enumdiccode",
  21813. "enumdicid",
  21814. "enumitemname"
  21815. ],
  21816. "properties": {
  21817. "autoid": {
  21818. "description": "自增ID",
  21819. "type": "integer"
  21820. },
  21821. "bankmappedvalue": {
  21822. "description": "银行服务对应值",
  21823. "type": "string"
  21824. },
  21825. "enumdiccode": {
  21826. "description": "所属枚举代码",
  21827. "type": "string"
  21828. },
  21829. "enumdicid": {
  21830. "description": "所属枚举ID",
  21831. "type": "integer"
  21832. },
  21833. "enumdicname": {
  21834. "description": "枚举项名称",
  21835. "type": "string"
  21836. },
  21837. "enumitemname": {
  21838. "description": "枚举项值",
  21839. "type": "integer"
  21840. },
  21841. "enumitemstatus": {
  21842. "description": "枚举项状态 - 1.启用 2.不启用",
  21843. "type": "integer"
  21844. },
  21845. "enumitemvalue": {
  21846. "description": "通用值 - [币种通用简写]",
  21847. "type": "string"
  21848. },
  21849. "param1": {
  21850. "description": "参数1[币种:币种小数位]",
  21851. "type": "string"
  21852. },
  21853. "param2": {
  21854. "description": "参数1[币种:币种显示单位]",
  21855. "type": "string"
  21856. },
  21857. "remark": {
  21858. "description": "备注",
  21859. "type": "string"
  21860. }
  21861. }
  21862. },
  21863. "models.Ermcp2AreaExposure": {
  21864. "type": "object",
  21865. "properties": {
  21866. "areauserid": {
  21867. "description": "所属机构",
  21868. "type": "integer"
  21869. },
  21870. "enumdicname": {
  21871. "description": "单位",
  21872. "type": "string"
  21873. },
  21874. "futureqty": {
  21875. "description": "期货套期量",
  21876. "type": "number"
  21877. },
  21878. "futureqtychange": {
  21879. "description": "期货变动量 = FutureQty - OriFutureQty",
  21880. "type": "number"
  21881. },
  21882. "goodsunitid": {
  21883. "description": "单位ID",
  21884. "type": "integer"
  21885. },
  21886. "hedgedspotexposure": {
  21887. "description": "被套期现货敞口量",
  21888. "type": "number"
  21889. },
  21890. "hedgedspratio": {
  21891. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21892. "type": "number"
  21893. },
  21894. "hedgedtotalexposourechange": {
  21895. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21896. "type": "number"
  21897. },
  21898. "hedgedtotalexposure": {
  21899. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21900. "type": "number"
  21901. },
  21902. "hedgeplanqty": {
  21903. "description": "套期计划量",
  21904. "type": "number"
  21905. },
  21906. "hedgeplanqtychange": {
  21907. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21908. "type": "number"
  21909. },
  21910. "hedgespotqty": {
  21911. "description": "被套期现货量",
  21912. "type": "number"
  21913. },
  21914. "middlegoodsid": {
  21915. "description": "套保品种",
  21916. "type": "integer"
  21917. },
  21918. "middlegoodsname": {
  21919. "description": "套保品种名称",
  21920. "type": "string"
  21921. },
  21922. "orifutureqty": {
  21923. "description": "期初期货套期量",
  21924. "type": "number"
  21925. },
  21926. "orihedgedspotexposure": {
  21927. "description": "期初被套期现货敞口量",
  21928. "type": "number"
  21929. },
  21930. "orihedgedtotalexposure": {
  21931. "description": "期初套期敞口量",
  21932. "type": "number"
  21933. },
  21934. "orihedgeplanqty": {
  21935. "description": "期初套期计划量",
  21936. "type": "number"
  21937. },
  21938. "orihedgespotqty": {
  21939. "description": "期初被套期现货量",
  21940. "type": "number"
  21941. },
  21942. "orispotexposure": {
  21943. "description": "期初现货敞口量",
  21944. "type": "number"
  21945. },
  21946. "orispotqty": {
  21947. "description": "期初现货总量",
  21948. "type": "number"
  21949. },
  21950. "oritotalexposure": {
  21951. "description": "期初总敞口量",
  21952. "type": "number"
  21953. },
  21954. "spotexposure": {
  21955. "description": "现货敞口量",
  21956. "type": "number"
  21957. },
  21958. "spotqty": {
  21959. "description": "现货总量",
  21960. "type": "number"
  21961. },
  21962. "spotqtychange": {
  21963. "description": "现货变动量 = SpotQty - OriSpotQty",
  21964. "type": "number"
  21965. },
  21966. "spratio": {
  21967. "description": "总期现比例 = 期货套期量/现货敞口量",
  21968. "type": "number"
  21969. },
  21970. "totalexposure": {
  21971. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  21972. "type": "number"
  21973. },
  21974. "totalexposurechange": {
  21975. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  21976. "type": "number"
  21977. },
  21978. "updatetime": {
  21979. "description": "更新时间 --DATE",
  21980. "type": "string"
  21981. }
  21982. }
  21983. },
  21984. "models.Ermcp2hedgeditem": {
  21985. "type": "object",
  21986. "properties": {
  21987. "accountname": {
  21988. "description": "套期主体",
  21989. "type": "string"
  21990. },
  21991. "applyid": {
  21992. "description": "申请人",
  21993. "type": "integer"
  21994. },
  21995. "applysrc": {
  21996. "description": "申请来源 - 1:管理端 2:终端",
  21997. "type": "integer"
  21998. },
  21999. "areauserid": {
  22000. "description": "企业ID",
  22001. "type": "integer"
  22002. },
  22003. "auditid": {
  22004. "description": "审核人",
  22005. "type": "integer"
  22006. },
  22007. "auditremark": {
  22008. "description": "审核备注",
  22009. "type": "string"
  22010. },
  22011. "auditsrc": {
  22012. "description": "审核来源 - 1:管理端 2:终端",
  22013. "type": "integer"
  22014. },
  22015. "audittime": {
  22016. "description": "审核时间",
  22017. "type": "string"
  22018. },
  22019. "audittradedate": {
  22020. "description": "审核交易日(yyyyMMdd)",
  22021. "type": "string"
  22022. },
  22023. "createtime": {
  22024. "description": "申请时间",
  22025. "type": "string"
  22026. },
  22027. "curprice": {
  22028. "description": "当前市场价",
  22029. "type": "number"
  22030. },
  22031. "curstock": {
  22032. "description": "期末库存量 = 采购总量 - 销售总量",
  22033. "type": "number"
  22034. },
  22035. "deliverygoodsid": {
  22036. "description": "现货品种ID",
  22037. "type": "integer"
  22038. },
  22039. "enddate": {
  22040. "description": "完成日期",
  22041. "type": "string"
  22042. },
  22043. "endtradedate": {
  22044. "description": "完成交易日",
  22045. "type": "string"
  22046. },
  22047. "enumdicname": {
  22048. "description": "单位",
  22049. "type": "string"
  22050. },
  22051. "exeamount": {
  22052. "description": "执行市价总额",
  22053. "type": "number"
  22054. },
  22055. "exeavgprice": {
  22056. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  22057. "type": "number"
  22058. },
  22059. "execontractamount": {
  22060. "description": "执行定价总额",
  22061. "type": "number"
  22062. },
  22063. "exeqty": {
  22064. "description": "执行现货量",
  22065. "type": "number"
  22066. },
  22067. "exerestamount": {
  22068. "description": "执行剩余市价总额【现货贸易】",
  22069. "type": "number"
  22070. },
  22071. "futurefloatpl": {
  22072. "description": "期货浮动损益",
  22073. "type": "number"
  22074. },
  22075. "futurehedgepl": {
  22076. "description": "期货实际损益",
  22077. "type": "number"
  22078. },
  22079. "futurehedgeplchange": {
  22080. "description": "期货实际损益变动",
  22081. "type": "number"
  22082. },
  22083. "futurepl": {
  22084. "description": "期货套期损益",
  22085. "type": "number"
  22086. },
  22087. "futureplchange": {
  22088. "description": "期货套期损益变动",
  22089. "type": "number"
  22090. },
  22091. "hedgeamount": {
  22092. "description": "套期市价总额",
  22093. "type": "number"
  22094. },
  22095. "hedgecontractamount": {
  22096. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  22097. "type": "number"
  22098. },
  22099. "hedgeditemid": {
  22100. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22101. "type": "string"
  22102. },
  22103. "hedgeditemname": {
  22104. "description": "项目名称",
  22105. "type": "string"
  22106. },
  22107. "hedgeditemnum": {
  22108. "description": "项目编号",
  22109. "type": "string"
  22110. },
  22111. "hedgeditemstatus": {
  22112. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22113. "type": "integer"
  22114. },
  22115. "hedgedtype": {
  22116. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22117. "type": "integer"
  22118. },
  22119. "hedgeqty": {
  22120. "description": "套期现货量",
  22121. "type": "number"
  22122. },
  22123. "hedgerate": {
  22124. "description": "套保比率",
  22125. "type": "number"
  22126. },
  22127. "hedgerestamount": {
  22128. "description": "套期剩余市价总额【现货贸易】",
  22129. "type": "number"
  22130. },
  22131. "hedgesumpl": {
  22132. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  22133. "type": "number"
  22134. },
  22135. "middlegoodslist": {
  22136. "description": "套期商品列表",
  22137. "type": "array",
  22138. "items": {
  22139. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  22140. }
  22141. },
  22142. "oriavgprice": {
  22143. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  22144. "type": "number"
  22145. },
  22146. "orifuturehedgepl": {
  22147. "description": "期初期货实际损益",
  22148. "type": "number"
  22149. },
  22150. "orifuturepl": {
  22151. "description": "期初期货套期损益",
  22152. "type": "number"
  22153. },
  22154. "orispothedgepl": {
  22155. "description": "期初现货实际损益",
  22156. "type": "number"
  22157. },
  22158. "orispotpl": {
  22159. "description": "期初现货套期损益",
  22160. "type": "number"
  22161. },
  22162. "planenddate": {
  22163. "description": "计划结束日期",
  22164. "type": "string"
  22165. },
  22166. "planstartdate": {
  22167. "description": "计划开始日期",
  22168. "type": "string"
  22169. },
  22170. "remark": {
  22171. "description": "备注",
  22172. "type": "string"
  22173. },
  22174. "spotbookamount": {
  22175. "description": "现货账面总额",
  22176. "type": "number"
  22177. },
  22178. "spotfloatpl": {
  22179. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22180. "type": "number"
  22181. },
  22182. "spothedgepl": {
  22183. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22184. "type": "number"
  22185. },
  22186. "spothedgeplchange": {
  22187. "description": "现货实际损益变动",
  22188. "type": "number"
  22189. },
  22190. "spotpl": {
  22191. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  22192. "type": "number"
  22193. },
  22194. "spotplchange": {
  22195. "description": "现货套期损益变动",
  22196. "type": "number"
  22197. },
  22198. "spottradepl": {
  22199. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  22200. "type": "number"
  22201. },
  22202. "sumobspl": {
  22203. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  22204. "type": "number"
  22205. },
  22206. "tradeuserid": {
  22207. "description": "交易用户ID",
  22208. "type": "integer"
  22209. },
  22210. "unexeqty": {
  22211. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  22212. "type": "number"
  22213. },
  22214. "updatetime": {
  22215. "description": "更新时间",
  22216. "type": "string"
  22217. },
  22218. "vatpl": {
  22219. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  22220. "type": "number"
  22221. },
  22222. "vatrate": {
  22223. "description": "增值税",
  22224. "type": "number"
  22225. },
  22226. "wrstandardid": {
  22227. "description": "现货商品ID",
  22228. "type": "integer"
  22229. },
  22230. "wrstandardname": {
  22231. "description": "商品名称",
  22232. "type": "string"
  22233. }
  22234. }
  22235. },
  22236. "models.Ermcp2hedgeditemlink": {
  22237. "type": "object",
  22238. "required": [
  22239. "relatedspotcontractid"
  22240. ],
  22241. "properties": {
  22242. "areauserid": {
  22243. "description": "企业ID",
  22244. "type": "integer"
  22245. },
  22246. "createtime": {
  22247. "description": "[关联时间]创建时间",
  22248. "type": "string"
  22249. },
  22250. "customeruserid": {
  22251. "description": "对手方 【3:采购合同 4:销售合同】",
  22252. "type": "integer"
  22253. },
  22254. "deliverygoodsid": {
  22255. "description": "现货品种ID",
  22256. "type": "integer"
  22257. },
  22258. "enumdicname": {
  22259. "description": "单位",
  22260. "type": "string"
  22261. },
  22262. "hedgeditemid": {
  22263. "description": "被套期项目ID",
  22264. "type": "integer"
  22265. },
  22266. "hedgeditemlinkid": {
  22267. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  22268. "type": "integer"
  22269. },
  22270. "hedgeditemnum": {
  22271. "description": "项目编号",
  22272. "type": "string"
  22273. },
  22274. "hedgedtype": {
  22275. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22276. "type": "integer"
  22277. },
  22278. "relatedamount": {
  22279. "description": "市价总额 = 关联数量 * 期初市场价",
  22280. "type": "number"
  22281. },
  22282. "relatedhedgeplanid": {
  22283. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22284. "type": "integer"
  22285. },
  22286. "relatedqty": {
  22287. "description": "关联数量",
  22288. "type": "number"
  22289. },
  22290. "relatedspotcontractid": {
  22291. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22292. "type": "integer"
  22293. },
  22294. "relatedtype": {
  22295. "description": "关联类型 - 1:套期关联 2:执行关联",
  22296. "type": "integer"
  22297. },
  22298. "spotgoodsbrandid": {
  22299. "description": "现货品牌ID",
  22300. "type": "integer"
  22301. },
  22302. "spotpricedamount": {
  22303. "description": "[关联定价总额]定价总额",
  22304. "type": "number"
  22305. },
  22306. "spotpricedavgprice": {
  22307. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  22308. "type": "number"
  22309. },
  22310. "spottype": {
  22311. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22312. "type": "integer"
  22313. },
  22314. "tradeuserid": {
  22315. "description": "交易用户ID",
  22316. "type": "integer"
  22317. },
  22318. "unexeqty": {
  22319. "description": "未执行现货量【项目关联时值】",
  22320. "type": "number"
  22321. },
  22322. "wrstandardid": {
  22323. "description": "现货商品ID",
  22324. "type": "integer"
  22325. },
  22326. "wrstandardname": {
  22327. "description": "现货商品",
  22328. "type": "string"
  22329. }
  22330. }
  22331. },
  22332. "models.Ermcp2hedgeditemsDetail": {
  22333. "type": "object",
  22334. "properties": {
  22335. "accountname": {
  22336. "description": "套期主体",
  22337. "type": "string"
  22338. },
  22339. "areauserid": {
  22340. "description": "企业ID",
  22341. "type": "integer"
  22342. },
  22343. "createtime": {
  22344. "description": "[日期时间]创建时间",
  22345. "type": "string"
  22346. },
  22347. "customeruserid": {
  22348. "description": "对手方 【3:采购合同 4:销售合同】",
  22349. "type": "integer"
  22350. },
  22351. "deliverygoodsid": {
  22352. "description": "现货品种ID",
  22353. "type": "integer"
  22354. },
  22355. "enumdicname": {
  22356. "description": "单位",
  22357. "type": "string"
  22358. },
  22359. "hedgeditemid": {
  22360. "description": "被套期项目ID",
  22361. "type": "string"
  22362. },
  22363. "hedgeditemspotid": {
  22364. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22365. "type": "string"
  22366. },
  22367. "hedgedtype": {
  22368. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22369. "type": "integer"
  22370. },
  22371. "hedgeplanno": {
  22372. "description": "计划编号",
  22373. "type": "string"
  22374. },
  22375. "middlegoodschange": {
  22376. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  22377. "type": "number"
  22378. },
  22379. "oriavgprice": {
  22380. "description": "期初市场价[当初市场价]",
  22381. "type": "number"
  22382. },
  22383. "relatedamount": {
  22384. "description": "市价总额 = 关联数量 * 期初市场价",
  22385. "type": "number"
  22386. },
  22387. "relatedhedgeplanid": {
  22388. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22389. "type": "integer"
  22390. },
  22391. "relatedqty": {
  22392. "description": "[期间变化量]关联数量",
  22393. "type": "number"
  22394. },
  22395. "relatedspotcontractid": {
  22396. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22397. "type": "integer"
  22398. },
  22399. "relatedtype": {
  22400. "description": "关联类型 - 1:套期关联 2:执行关联",
  22401. "type": "integer"
  22402. },
  22403. "spotgoodsbrandid": {
  22404. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22405. "type": "integer"
  22406. },
  22407. "spotpricedamount": {
  22408. "description": "定价总额",
  22409. "type": "number"
  22410. },
  22411. "spotpricedavgprice": {
  22412. "description": "现货均价 = 定价总额 / 关联数量",
  22413. "type": "number"
  22414. },
  22415. "spottype": {
  22416. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22417. "type": "integer"
  22418. },
  22419. "tradeuserid": {
  22420. "description": "交易用户ID",
  22421. "type": "integer"
  22422. },
  22423. "unexeqty": {
  22424. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  22425. "type": "number"
  22426. },
  22427. "wrstandardid": {
  22428. "description": "现货商品ID",
  22429. "type": "integer"
  22430. },
  22431. "wrstandardname": {
  22432. "description": "现货商品",
  22433. "type": "string"
  22434. }
  22435. }
  22436. },
  22437. "models.Ermcp2hedgeditemspot": {
  22438. "type": "object",
  22439. "required": [
  22440. "hedgeditemid"
  22441. ],
  22442. "properties": {
  22443. "areauserid": {
  22444. "description": "企业ID",
  22445. "type": "integer"
  22446. },
  22447. "createtime": {
  22448. "description": "创建时间",
  22449. "type": "string"
  22450. },
  22451. "customeruserid": {
  22452. "description": "对手方 【3:采购合同 4:销售合同】",
  22453. "type": "integer"
  22454. },
  22455. "deliverygoodsid": {
  22456. "description": "现货品种ID",
  22457. "type": "integer"
  22458. },
  22459. "enumdicname": {
  22460. "description": "单位",
  22461. "type": "string"
  22462. },
  22463. "hedgeditemid": {
  22464. "description": "被套期项目ID",
  22465. "type": "string"
  22466. },
  22467. "hedgeditemspotid": {
  22468. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22469. "type": "string"
  22470. },
  22471. "hedgedtype": {
  22472. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22473. "type": "integer"
  22474. },
  22475. "hedgeplanno": {
  22476. "description": "计划编号",
  22477. "type": "string"
  22478. },
  22479. "oriavgprice": {
  22480. "description": "期初市场价[当初市场价]",
  22481. "type": "number"
  22482. },
  22483. "relatedamount": {
  22484. "description": "市价总额 = 关联数量 * 期初市场价",
  22485. "type": "number"
  22486. },
  22487. "relatedhedgeplanid": {
  22488. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22489. "type": "integer"
  22490. },
  22491. "relatedqty": {
  22492. "description": "关联数量[数量]",
  22493. "type": "number"
  22494. },
  22495. "relatedspotcontractid": {
  22496. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22497. "type": "integer"
  22498. },
  22499. "relatedtype": {
  22500. "description": "关联类型 - 1:套期关联 2:执行关联",
  22501. "type": "integer"
  22502. },
  22503. "spotgoodsbrandid": {
  22504. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22505. "type": "integer"
  22506. },
  22507. "spotpricedamount": {
  22508. "description": "定价总额",
  22509. "type": "number"
  22510. },
  22511. "spotpricedavgprice": {
  22512. "description": "现货均价 = 定价总额 / 关联数量",
  22513. "type": "number"
  22514. },
  22515. "spottype": {
  22516. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22517. "type": "integer"
  22518. },
  22519. "tradeuserid": {
  22520. "description": "交易用户ID",
  22521. "type": "integer"
  22522. },
  22523. "wrstandardid": {
  22524. "description": "现货商品ID",
  22525. "type": "integer"
  22526. },
  22527. "wrstandardname": {
  22528. "description": "现货商品",
  22529. "type": "string"
  22530. }
  22531. }
  22532. },
  22533. "models.Ermcp2hedgeditemspotDetail": {
  22534. "type": "object",
  22535. "required": [
  22536. "hedgeditemid"
  22537. ],
  22538. "properties": {
  22539. "accountname": {
  22540. "description": "对手方",
  22541. "type": "string"
  22542. },
  22543. "areauserid": {
  22544. "description": "企业ID",
  22545. "type": "integer"
  22546. },
  22547. "brandname": {
  22548. "description": "品牌",
  22549. "type": "string"
  22550. },
  22551. "contractno": {
  22552. "description": "合同编号",
  22553. "type": "string"
  22554. },
  22555. "createtime": {
  22556. "description": "创建时间",
  22557. "type": "string"
  22558. },
  22559. "customeruserid": {
  22560. "description": "对手方 【3:采购合同 4:销售合同】",
  22561. "type": "integer"
  22562. },
  22563. "deliverygoodsid": {
  22564. "description": "现货品种ID",
  22565. "type": "integer"
  22566. },
  22567. "enumdicname": {
  22568. "description": "单位",
  22569. "type": "string"
  22570. },
  22571. "hedgeditemid": {
  22572. "description": "被套期项目ID",
  22573. "type": "string"
  22574. },
  22575. "hedgeditemspotid": {
  22576. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22577. "type": "string"
  22578. },
  22579. "hedgedtype": {
  22580. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22581. "type": "integer"
  22582. },
  22583. "oriavgprice": {
  22584. "description": "期初市场价[当初市场价]",
  22585. "type": "number"
  22586. },
  22587. "relatedamount": {
  22588. "description": "市价总额 = 关联数量 * 期初市场价",
  22589. "type": "number"
  22590. },
  22591. "relatedhedgeplanid": {
  22592. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22593. "type": "integer"
  22594. },
  22595. "relatedqty": {
  22596. "description": "关联数量[数量]",
  22597. "type": "number"
  22598. },
  22599. "relatedspotcontractid": {
  22600. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22601. "type": "integer"
  22602. },
  22603. "relatedtype": {
  22604. "description": "关联类型 - 1:套期关联 2:执行关联",
  22605. "type": "integer"
  22606. },
  22607. "spotgoodsbrandid": {
  22608. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22609. "type": "integer"
  22610. },
  22611. "spotpricedamount": {
  22612. "description": "定价总额[金额]",
  22613. "type": "number"
  22614. },
  22615. "spotpricedavgprice": {
  22616. "description": "现货均价 = 定价总额 / 关联数量",
  22617. "type": "number"
  22618. },
  22619. "spottype": {
  22620. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22621. "type": "integer"
  22622. },
  22623. "tradeuserid": {
  22624. "description": "交易用户ID",
  22625. "type": "integer"
  22626. },
  22627. "wrstandardid": {
  22628. "description": "现货商品ID",
  22629. "type": "integer"
  22630. },
  22631. "wrstandardname": {
  22632. "description": "现货商品",
  22633. "type": "string"
  22634. }
  22635. }
  22636. },
  22637. "models.Ermcp2himiddlegoods": {
  22638. "type": "object",
  22639. "required": [
  22640. "hedgeditemid",
  22641. "middlegoodsid"
  22642. ],
  22643. "properties": {
  22644. "futurehedgeqty": {
  22645. "description": "期货持仓套期量",
  22646. "type": "number"
  22647. },
  22648. "hedgeditemid": {
  22649. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22650. "type": "integer"
  22651. },
  22652. "hiexpsoure": {
  22653. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  22654. "type": "number"
  22655. },
  22656. "middlegoodscode": {
  22657. "description": "套保商品代码",
  22658. "type": "string"
  22659. },
  22660. "middlegoodsid": {
  22661. "description": "套保品种ID",
  22662. "type": "integer"
  22663. },
  22664. "middlegoodsname": {
  22665. "description": "套保商品名称",
  22666. "type": "string"
  22667. },
  22668. "unexehedgeqty": {
  22669. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  22670. "type": "number"
  22671. }
  22672. }
  22673. },
  22674. "models.Ermcp2stockspotchangelog": {
  22675. "type": "object",
  22676. "properties": {
  22677. "accountname": {
  22678. "description": "套期主体",
  22679. "type": "string"
  22680. },
  22681. "aftervalue": {
  22682. "description": "现货量",
  22683. "type": "number"
  22684. },
  22685. "beforevalue": {
  22686. "description": "变更前现货量",
  22687. "type": "number"
  22688. },
  22689. "contractno": {
  22690. "description": "[编号]现货合同编号",
  22691. "type": "string"
  22692. },
  22693. "contracttype": {
  22694. "description": "现货合同类型 - 1:采购 -1:销售",
  22695. "type": "integer"
  22696. },
  22697. "createtime": {
  22698. "description": "创建时间",
  22699. "type": "string"
  22700. },
  22701. "customerusername": {
  22702. "description": "对手方",
  22703. "type": "string"
  22704. },
  22705. "deliverygoodsid": {
  22706. "description": "现货品种ID",
  22707. "type": "integer"
  22708. },
  22709. "exetype": {
  22710. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  22711. "type": "integer"
  22712. },
  22713. "logid": {
  22714. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  22715. "type": "string"
  22716. },
  22717. "logvalue": {
  22718. "description": "[期间变化量]现货量变更值",
  22719. "type": "number"
  22720. },
  22721. "middlegoodschange": {
  22722. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  22723. "type": "number"
  22724. },
  22725. "operatelogtype": {
  22726. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  22727. "type": "integer"
  22728. },
  22729. "relatedid": {
  22730. "description": "现货合同ID",
  22731. "type": "integer"
  22732. },
  22733. "spotgoodsbrandid": {
  22734. "description": "现货品牌ID",
  22735. "type": "integer"
  22736. },
  22737. "tradedate": {
  22738. "description": "交易日(yyyyMMdd)",
  22739. "type": "string"
  22740. },
  22741. "userid": {
  22742. "description": "机构ID",
  22743. "type": "integer"
  22744. },
  22745. "warehouseinfoid": {
  22746. "description": "仓库ID",
  22747. "type": "integer"
  22748. },
  22749. "wrfactortypeid": {
  22750. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22751. "type": "integer"
  22752. },
  22753. "wrstandardid": {
  22754. "description": "现货商品ID",
  22755. "type": "integer"
  22756. },
  22757. "wrstandardname": {
  22758. "description": "商品名称",
  22759. "type": "string"
  22760. }
  22761. }
  22762. },
  22763. "models.Ermcp3AreaSpot": {
  22764. "type": "object",
  22765. "properties": {
  22766. "areauserid": {
  22767. "description": "所属机构",
  22768. "type": "integer"
  22769. },
  22770. "convertratio": {
  22771. "description": "套保系数",
  22772. "type": "number"
  22773. },
  22774. "decreaseqty": {
  22775. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  22776. "type": "number"
  22777. },
  22778. "enumdicname": {
  22779. "description": "单位名称",
  22780. "type": "string"
  22781. },
  22782. "increaseqty": {
  22783. "description": "增加数量=销售计划数量+采购已定价数量",
  22784. "type": "number"
  22785. },
  22786. "oritoalspotqty": {
  22787. "description": "昨日数量",
  22788. "type": "number"
  22789. },
  22790. "totalspotqty": {
  22791. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  22792. "type": "number"
  22793. },
  22794. "unitid": {
  22795. "description": "现货商品单位id",
  22796. "type": "integer"
  22797. },
  22798. "updatetime": {
  22799. "description": "更新时间",
  22800. "type": "string"
  22801. },
  22802. "wrstandardcode": {
  22803. "description": "现货商品代码",
  22804. "type": "string"
  22805. },
  22806. "wrstandardid": {
  22807. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22808. "type": "integer"
  22809. },
  22810. "wrstandardname": {
  22811. "description": "现货商品名称",
  22812. "type": "string"
  22813. }
  22814. }
  22815. },
  22816. "models.Ermcp3AreaSpotDetail": {
  22817. "type": "object",
  22818. "properties": {
  22819. "contracttype": {
  22820. "description": "合同类型 1-采购 -1-销售",
  22821. "type": "integer"
  22822. },
  22823. "createtime": {
  22824. "description": "创建时间",
  22825. "type": "string"
  22826. },
  22827. "enumdicname": {
  22828. "description": "现货商品单位名称",
  22829. "type": "string"
  22830. },
  22831. "logtype": {
  22832. "description": "记录类型 1-套保 2-现货合同",
  22833. "type": "integer"
  22834. },
  22835. "qty": {
  22836. "description": "数量",
  22837. "type": "number"
  22838. },
  22839. "recordname": {
  22840. "description": "类型名称",
  22841. "type": "string"
  22842. },
  22843. "relatedid": {
  22844. "description": "套保计划ID/现货合同ID",
  22845. "type": "string"
  22846. },
  22847. "relatedno": {
  22848. "description": "编号",
  22849. "type": "string"
  22850. },
  22851. "strtime": {
  22852. "description": "时间",
  22853. "type": "string"
  22854. },
  22855. "wrstandardcode": {
  22856. "description": "现货商品代码",
  22857. "type": "string"
  22858. },
  22859. "wrstandardid": {
  22860. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22861. "type": "integer"
  22862. },
  22863. "wrstandardname": {
  22864. "description": "现货商品名称",
  22865. "type": "string"
  22866. }
  22867. }
  22868. },
  22869. "models.Ermcp3AreaSpotPLReport": {
  22870. "type": "object",
  22871. "properties": {
  22872. "accountid": {
  22873. "description": "期货账户ID (作废, 默认为0)",
  22874. "type": "integer"
  22875. },
  22876. "accountname": {
  22877. "description": "机构名称",
  22878. "type": "string"
  22879. },
  22880. "actualpl": {
  22881. "description": "现货损益",
  22882. "type": "number"
  22883. },
  22884. "areauserid": {
  22885. "description": "所属机构\\交易用户ID",
  22886. "type": "integer"
  22887. },
  22888. "begindate": {
  22889. "description": "开始交易日",
  22890. "type": "string"
  22891. },
  22892. "biztype": {
  22893. "description": "业务类型 - 1:套保 2:套利",
  22894. "type": "integer"
  22895. },
  22896. "brandname": {
  22897. "description": "品牌名称",
  22898. "type": "string"
  22899. },
  22900. "curamount": {
  22901. "description": "期末额",
  22902. "type": "number"
  22903. },
  22904. "curaverageprice": {
  22905. "description": "期初均价",
  22906. "type": "number"
  22907. },
  22908. "curbuyamount": {
  22909. "description": "期末采购总额",
  22910. "type": "number"
  22911. },
  22912. "curbuyqty": {
  22913. "description": "期末采购总量",
  22914. "type": "number"
  22915. },
  22916. "curmarketvalue": {
  22917. "description": "期初均价",
  22918. "type": "number"
  22919. },
  22920. "curqty": {
  22921. "description": "期末量",
  22922. "type": "number"
  22923. },
  22924. "currencyid": {
  22925. "description": "结算币种ID【原值】",
  22926. "type": "integer"
  22927. },
  22928. "currencyname": {
  22929. "description": "币种名称",
  22930. "type": "string"
  22931. },
  22932. "cursellamount": {
  22933. "description": "期末销售总额",
  22934. "type": "number"
  22935. },
  22936. "cursellqty": {
  22937. "description": "期末销售总量",
  22938. "type": "number"
  22939. },
  22940. "curspotprice": {
  22941. "description": "期初均价",
  22942. "type": "number"
  22943. },
  22944. "cycletime": {
  22945. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22946. "type": "string"
  22947. },
  22948. "cycletype": {
  22949. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22950. "type": "integer"
  22951. },
  22952. "deliverygoodscode": {
  22953. "description": "现货品种代码",
  22954. "type": "string"
  22955. },
  22956. "deliverygoodsid": {
  22957. "description": "现货品种ID",
  22958. "type": "integer"
  22959. },
  22960. "deliverygoodsname": {
  22961. "description": "现货品种名称",
  22962. "type": "string"
  22963. },
  22964. "enddate": {
  22965. "description": "结束交易日",
  22966. "type": "string"
  22967. },
  22968. "enumdicname": {
  22969. "description": "现货品种单位名称(作废)",
  22970. "type": "string"
  22971. },
  22972. "floatpl": {
  22973. "description": "期初均价",
  22974. "type": "number"
  22975. },
  22976. "goodsunitid": {
  22977. "description": "现货品种单位id(作废)",
  22978. "type": "integer"
  22979. },
  22980. "oriamount": {
  22981. "description": "期初额",
  22982. "type": "number"
  22983. },
  22984. "oriaverageprice": {
  22985. "description": "期初均价",
  22986. "type": "number"
  22987. },
  22988. "oribuyamount": {
  22989. "description": "期初采购总额",
  22990. "type": "number"
  22991. },
  22992. "oribuyqty": {
  22993. "description": "期初采购总量",
  22994. "type": "number"
  22995. },
  22996. "oriqty": {
  22997. "description": "期初量",
  22998. "type": "number"
  22999. },
  23000. "orisellamount": {
  23001. "description": "期初销售总额",
  23002. "type": "number"
  23003. },
  23004. "orisellqty": {
  23005. "description": "期初销售总量",
  23006. "type": "number"
  23007. },
  23008. "reckondate": {
  23009. "description": "日照时期(yyyyMMdd)",
  23010. "type": "string"
  23011. },
  23012. "spotgoodsbrandid": {
  23013. "description": "现货品牌ID",
  23014. "type": "integer"
  23015. },
  23016. "todaybuyamount": {
  23017. "description": "今日采购额(今采购额)",
  23018. "type": "number"
  23019. },
  23020. "todaybuyaverageprice": {
  23021. "description": "期初均价",
  23022. "type": "number"
  23023. },
  23024. "todaybuyqty": {
  23025. "description": "今日采购量(今采购量)",
  23026. "type": "number"
  23027. },
  23028. "todayinqty": {
  23029. "description": "今日入库量(今入库量)",
  23030. "type": "number"
  23031. },
  23032. "todayoutqty": {
  23033. "description": "今日出库量(今出库量)",
  23034. "type": "number"
  23035. },
  23036. "todaysellamount": {
  23037. "description": "今日销售额(今销售额)",
  23038. "type": "number"
  23039. },
  23040. "todaysellaverageprice": {
  23041. "description": "期初均价",
  23042. "type": "number"
  23043. },
  23044. "todaysellqty": {
  23045. "description": "今日销售量(今销售量)",
  23046. "type": "number"
  23047. },
  23048. "unitid": {
  23049. "description": "品类单位id",
  23050. "type": "integer"
  23051. },
  23052. "unitidname": {
  23053. "description": "品类单位名称",
  23054. "type": "string"
  23055. },
  23056. "updatetime": {
  23057. "description": "更新时间",
  23058. "type": "string"
  23059. },
  23060. "wrfactortypeid": {
  23061. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23062. "type": "integer"
  23063. },
  23064. "wrstandardcode": {
  23065. "description": "现货商品(品类)代码",
  23066. "type": "string"
  23067. },
  23068. "wrstandardid": {
  23069. "description": "现货品类ID",
  23070. "type": "integer"
  23071. },
  23072. "wrstandardname": {
  23073. "description": "现货商品(品类)名称",
  23074. "type": "string"
  23075. }
  23076. }
  23077. },
  23078. "models.Ermcp3AreaStock": {
  23079. "type": "object",
  23080. "required": [
  23081. "userid"
  23082. ],
  23083. "properties": {
  23084. "brandname": {
  23085. "description": "品牌名称",
  23086. "type": "string"
  23087. },
  23088. "curstock": {
  23089. "description": "期末库存量(今日量)",
  23090. "type": "number"
  23091. },
  23092. "deliverygoodscode": {
  23093. "description": "现货品种代码",
  23094. "type": "string"
  23095. },
  23096. "deliverygoodsid": {
  23097. "description": "现货品种id",
  23098. "type": "integer"
  23099. },
  23100. "deliverygoodsname": {
  23101. "description": "现货品种名称",
  23102. "type": "string"
  23103. },
  23104. "enumdicname": {
  23105. "description": "单位名称",
  23106. "type": "string"
  23107. },
  23108. "goodsunitid": {
  23109. "description": "现货商品单位id",
  23110. "type": "integer"
  23111. },
  23112. "oristock": {
  23113. "description": "期初库存量(昨日量)",
  23114. "type": "number"
  23115. },
  23116. "spotgoodsbrandid": {
  23117. "description": "现货品牌ID",
  23118. "type": "integer"
  23119. },
  23120. "todaybuyinqty": {
  23121. "description": "今日采购入库量",
  23122. "type": "number"
  23123. },
  23124. "todayproduceinqty": {
  23125. "description": "今日生产入库量",
  23126. "type": "number"
  23127. },
  23128. "todayproduceoutqty": {
  23129. "description": "今日生产出库量",
  23130. "type": "number"
  23131. },
  23132. "todayselloutqty": {
  23133. "description": "今日销售出库量",
  23134. "type": "number"
  23135. },
  23136. "unitid": {
  23137. "description": "单位id",
  23138. "type": "integer"
  23139. },
  23140. "updatetime": {
  23141. "description": "更新时间",
  23142. "type": "string"
  23143. },
  23144. "userid": {
  23145. "description": "机构ID",
  23146. "type": "integer"
  23147. },
  23148. "username": {
  23149. "description": "机构名称",
  23150. "type": "string"
  23151. },
  23152. "warehousecode": {
  23153. "description": "仓库代码",
  23154. "type": "string"
  23155. },
  23156. "warehouseinfoid": {
  23157. "description": "仓库ID",
  23158. "type": "string"
  23159. },
  23160. "warehousename": {
  23161. "description": "仓库名称",
  23162. "type": "string"
  23163. },
  23164. "warehousetype": {
  23165. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23166. "type": "integer"
  23167. },
  23168. "wrstandardcode": {
  23169. "description": "品类代码",
  23170. "type": "string"
  23171. },
  23172. "wrstandardid": {
  23173. "description": "品类ID",
  23174. "type": "string"
  23175. },
  23176. "wrstandardname": {
  23177. "description": "品类名称",
  23178. "type": "string"
  23179. }
  23180. }
  23181. },
  23182. "models.Ermcp3AreaStockApply": {
  23183. "type": "object",
  23184. "properties": {
  23185. "applyid": {
  23186. "description": "申请人",
  23187. "type": "integer"
  23188. },
  23189. "applyname": {
  23190. "description": "申请人名称",
  23191. "type": "string"
  23192. },
  23193. "applyremark": {
  23194. "description": "申请备注",
  23195. "type": "string"
  23196. },
  23197. "applysrc": {
  23198. "description": "申请来源 - 1:管理端 2:终端",
  23199. "type": "integer"
  23200. },
  23201. "applystatus": {
  23202. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  23203. "type": "integer"
  23204. },
  23205. "applytime": {
  23206. "description": "申请时间",
  23207. "type": "string"
  23208. },
  23209. "auditid": {
  23210. "description": "审核人",
  23211. "type": "integer"
  23212. },
  23213. "auditname": {
  23214. "description": "审核人名称",
  23215. "type": "string"
  23216. },
  23217. "auditremark": {
  23218. "description": "审核备注",
  23219. "type": "string"
  23220. },
  23221. "auditsrc": {
  23222. "description": "审核来源 - 1:管理端 2:终端",
  23223. "type": "integer"
  23224. },
  23225. "audittime": {
  23226. "description": "审核时间",
  23227. "type": "string"
  23228. },
  23229. "audittradedate": {
  23230. "description": "审核交易日(yyyyMMdd)",
  23231. "type": "string"
  23232. },
  23233. "brandname": {
  23234. "description": "品牌名称",
  23235. "type": "string"
  23236. },
  23237. "buynickname": {
  23238. "description": "采购方昵称",
  23239. "type": "string"
  23240. },
  23241. "buyuserid": {
  23242. "description": "采购方userid",
  23243. "type": "integer"
  23244. },
  23245. "buyusername": {
  23246. "description": "采购方名称",
  23247. "type": "string"
  23248. },
  23249. "contractno": {
  23250. "description": "合同编号",
  23251. "type": "string"
  23252. },
  23253. "contractqty": {
  23254. "description": "合同量",
  23255. "type": "number"
  23256. },
  23257. "contracttype": {
  23258. "description": "现货合同类型 - 1:采购 -1:销售",
  23259. "type": "integer"
  23260. },
  23261. "deliverygoodscode": {
  23262. "description": "现货品种代码",
  23263. "type": "string"
  23264. },
  23265. "deliverygoodsid": {
  23266. "description": "现货品种id",
  23267. "type": "integer"
  23268. },
  23269. "deliverygoodsname": {
  23270. "description": "现货品种名称",
  23271. "type": "string"
  23272. },
  23273. "detailjson": {
  23274. "description": "明细数据",
  23275. "type": "string"
  23276. },
  23277. "enumdicname": {
  23278. "description": "现货商品单位名称",
  23279. "type": "string"
  23280. },
  23281. "inoutapplyid": {
  23282. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  23283. "type": "string"
  23284. },
  23285. "inouttype": {
  23286. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23287. "type": "integer"
  23288. },
  23289. "pricetype": {
  23290. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23291. "type": "integer"
  23292. },
  23293. "qty": {
  23294. "description": "数量",
  23295. "type": "number"
  23296. },
  23297. "sellnickname": {
  23298. "description": "销售方昵称",
  23299. "type": "string"
  23300. },
  23301. "selluserid": {
  23302. "description": "销售方userid",
  23303. "type": "integer"
  23304. },
  23305. "sellusername": {
  23306. "description": "销售方名称",
  23307. "type": "string"
  23308. },
  23309. "spotcontractid": {
  23310. "description": "关联现货合同ID",
  23311. "type": "string"
  23312. },
  23313. "spotgoodsbrandid": {
  23314. "description": "现货品牌ID",
  23315. "type": "integer"
  23316. },
  23317. "unitid": {
  23318. "description": "单位id",
  23319. "type": "integer"
  23320. },
  23321. "userid": {
  23322. "description": "机构ID",
  23323. "type": "integer"
  23324. },
  23325. "warehousecode": {
  23326. "description": "仓库代码",
  23327. "type": "string"
  23328. },
  23329. "warehouseinfoid": {
  23330. "description": "现货仓库ID",
  23331. "type": "string"
  23332. },
  23333. "warehousename": {
  23334. "description": "仓库名称",
  23335. "type": "string"
  23336. },
  23337. "warehousetype": {
  23338. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23339. "type": "integer"
  23340. },
  23341. "wrstandardcode": {
  23342. "description": "品类代码",
  23343. "type": "string"
  23344. },
  23345. "wrstandardid": {
  23346. "description": "品类ID",
  23347. "type": "integer"
  23348. },
  23349. "wrstandardname": {
  23350. "description": "品类名称",
  23351. "type": "string"
  23352. }
  23353. }
  23354. },
  23355. "models.Ermcp3AreaStockApplySum": {
  23356. "type": "object",
  23357. "properties": {
  23358. "brandname": {
  23359. "description": "品牌名称",
  23360. "type": "string"
  23361. },
  23362. "inouttype": {
  23363. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23364. "type": "integer"
  23365. },
  23366. "spotcontractid": {
  23367. "description": "关联现货合同ID",
  23368. "type": "string"
  23369. },
  23370. "spotgoodsbrandid": {
  23371. "description": "品牌id",
  23372. "type": "integer"
  23373. },
  23374. "totalqty": {
  23375. "description": "总数量",
  23376. "type": "number"
  23377. },
  23378. "wrstandardid": {
  23379. "description": "品类id",
  23380. "type": "integer"
  23381. },
  23382. "wrstandardname": {
  23383. "description": "品类名称",
  23384. "type": "string"
  23385. }
  23386. }
  23387. },
  23388. "models.Ermcp3AreaStockReportEx": {
  23389. "type": "object",
  23390. "properties": {
  23391. "begindate": {
  23392. "description": "开始交易日",
  23393. "type": "string"
  23394. },
  23395. "brandname": {
  23396. "description": "品牌名称",
  23397. "type": "string"
  23398. },
  23399. "curstock": {
  23400. "description": "期末库存量",
  23401. "type": "number"
  23402. },
  23403. "cycletime": {
  23404. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23405. "type": "string"
  23406. },
  23407. "cycletype": {
  23408. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23409. "type": "integer"
  23410. },
  23411. "deliverygoodscode": {
  23412. "description": "现货品种代码",
  23413. "type": "string"
  23414. },
  23415. "deliverygoodsid": {
  23416. "description": "现货品种id",
  23417. "type": "integer"
  23418. },
  23419. "deliverygoodsname": {
  23420. "description": "现货品种名称",
  23421. "type": "string"
  23422. },
  23423. "diffqty": {
  23424. "description": "库存变化量 = 期末 - 期初",
  23425. "type": "number"
  23426. },
  23427. "enddate": {
  23428. "description": "结束交易日",
  23429. "type": "string"
  23430. },
  23431. "enumdicname": {
  23432. "description": "单位名称",
  23433. "type": "string"
  23434. },
  23435. "goodsunitid": {
  23436. "description": "现货单位id",
  23437. "type": "integer"
  23438. },
  23439. "oristock": {
  23440. "description": "期初库存量",
  23441. "type": "number"
  23442. },
  23443. "reckondate": {
  23444. "description": "日照时期(yyyyMMdd)",
  23445. "type": "string"
  23446. },
  23447. "spotgoodsbrandid": {
  23448. "description": "现货品牌ID",
  23449. "type": "integer"
  23450. },
  23451. "todaybuyinqty": {
  23452. "description": "今采购入库量",
  23453. "type": "number"
  23454. },
  23455. "todayproduceinqty": {
  23456. "description": "今内部入库量",
  23457. "type": "number"
  23458. },
  23459. "todayproduceoutqty": {
  23460. "description": "今内部出库量",
  23461. "type": "number"
  23462. },
  23463. "todayselloutqty": {
  23464. "description": "今销售出库量",
  23465. "type": "number"
  23466. },
  23467. "unbuyinqty": {
  23468. "description": "采购未入库量(数据库未找到相关字段?)",
  23469. "type": "number"
  23470. },
  23471. "unitid": {
  23472. "description": "品类单位id",
  23473. "type": "integer"
  23474. },
  23475. "unselloutqty": {
  23476. "description": "销售未出库量(数据库未找到相关字段?)",
  23477. "type": "number"
  23478. },
  23479. "updatetime": {
  23480. "description": "更新时间",
  23481. "type": "string"
  23482. },
  23483. "userid": {
  23484. "description": "机构ID",
  23485. "type": "integer"
  23486. },
  23487. "username": {
  23488. "description": "机构名称",
  23489. "type": "string"
  23490. },
  23491. "warehousecode": {
  23492. "description": "仓库代码",
  23493. "type": "string"
  23494. },
  23495. "warehouseinfoid": {
  23496. "description": "仓库ID",
  23497. "type": "string"
  23498. },
  23499. "warehousename": {
  23500. "description": "仓库名称",
  23501. "type": "string"
  23502. },
  23503. "warehousetype": {
  23504. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23505. "type": "integer"
  23506. },
  23507. "wrstandardcode": {
  23508. "description": "品类代码",
  23509. "type": "string"
  23510. },
  23511. "wrstandardid": {
  23512. "description": "品类ID",
  23513. "type": "integer"
  23514. },
  23515. "wrstandardname": {
  23516. "description": "品类名称",
  23517. "type": "string"
  23518. }
  23519. }
  23520. },
  23521. "models.Ermcp3ArealSumPL": {
  23522. "type": "object",
  23523. "properties": {
  23524. "accountname": {
  23525. "description": "机构名称",
  23526. "type": "string"
  23527. },
  23528. "areauserid": {
  23529. "description": "所属机构\\交易用户ID",
  23530. "type": "integer"
  23531. },
  23532. "begindate": {
  23533. "description": "开始交易日",
  23534. "type": "string"
  23535. },
  23536. "currencyid": {
  23537. "description": "结算币种ID",
  23538. "type": "integer"
  23539. },
  23540. "currencyname": {
  23541. "description": "币种名称",
  23542. "type": "string"
  23543. },
  23544. "cycletime": {
  23545. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23546. "type": "string"
  23547. },
  23548. "cycletype": {
  23549. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23550. "type": "integer"
  23551. },
  23552. "enddate": {
  23553. "description": "结束交易日",
  23554. "type": "string"
  23555. },
  23556. "enumdicname": {
  23557. "description": "单位名称(套保品种)",
  23558. "type": "string"
  23559. },
  23560. "futureactualpl": {
  23561. "description": "期货损益",
  23562. "type": "number"
  23563. },
  23564. "futurefloatpl": {
  23565. "description": "期货浮动损益",
  23566. "type": "number"
  23567. },
  23568. "futurespotratio": {
  23569. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  23570. "type": "number"
  23571. },
  23572. "goodsunitid": {
  23573. "description": "套保品种单位id",
  23574. "type": "integer"
  23575. },
  23576. "hedgeexposurepl": {
  23577. "description": "套保敞口损益",
  23578. "type": "number"
  23579. },
  23580. "middlegoodscode": {
  23581. "description": "套保品种代码",
  23582. "type": "string"
  23583. },
  23584. "middlegoodsid": {
  23585. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23586. "type": "integer"
  23587. },
  23588. "middlegoodsname": {
  23589. "description": "套保品种名称",
  23590. "type": "string"
  23591. },
  23592. "reckondate": {
  23593. "description": "日照时期(yyyyMMdd)",
  23594. "type": "string"
  23595. },
  23596. "spotactualpl": {
  23597. "description": "现货损益",
  23598. "type": "number"
  23599. },
  23600. "spotfloatpl": {
  23601. "description": "现货浮动损益",
  23602. "type": "number"
  23603. },
  23604. "sumactualpl": {
  23605. "description": "实际损益 = (ActualPL + FutureActualPL)",
  23606. "type": "number"
  23607. },
  23608. "sumpl": {
  23609. "description": "总敞口损益 | 汇总损益",
  23610. "type": "number"
  23611. },
  23612. "totalfutureqty": {
  23613. "description": "期货头寸总量",
  23614. "type": "number"
  23615. },
  23616. "totalneedhedgeqty": {
  23617. "description": "应套保总量",
  23618. "type": "number"
  23619. },
  23620. "totalspotqty": {
  23621. "description": "现货头寸总量",
  23622. "type": "number"
  23623. },
  23624. "updatetime": {
  23625. "description": "更新时间",
  23626. "type": "string"
  23627. }
  23628. }
  23629. },
  23630. "models.Ermcp3Brand": {
  23631. "type": "object",
  23632. "properties": {
  23633. "areauserid": {
  23634. "description": "用户id",
  23635. "type": "integer"
  23636. },
  23637. "brandid": {
  23638. "description": "品牌id",
  23639. "type": "integer"
  23640. },
  23641. "brandname": {
  23642. "description": "品牌名称",
  23643. "type": "string"
  23644. },
  23645. "deliverygoodsid": {
  23646. "description": "品种ID",
  23647. "type": "integer"
  23648. },
  23649. "isvalid": {
  23650. "description": "是否有效",
  23651. "type": "integer"
  23652. }
  23653. }
  23654. },
  23655. "models.Ermcp3Contract": {
  23656. "type": "object",
  23657. "properties": {
  23658. "accountid": {
  23659. "description": "期货账户id",
  23660. "type": "string"
  23661. },
  23662. "amount": {
  23663. "description": "金额 [1:一口价、3:暂定价]",
  23664. "type": "number"
  23665. },
  23666. "attachment": {
  23667. "description": "附件",
  23668. "type": "string"
  23669. },
  23670. "auditremark": {
  23671. "description": "审核意见",
  23672. "type": "string"
  23673. },
  23674. "audittime": {
  23675. "description": "审核时间",
  23676. "type": "string"
  23677. },
  23678. "biztype": {
  23679. "description": "业务类型 1-套保 2-套利",
  23680. "type": "integer"
  23681. },
  23682. "brandname": {
  23683. "description": "品牌名称",
  23684. "type": "string"
  23685. },
  23686. "buynickname": {
  23687. "description": "销售方昵称",
  23688. "type": "string"
  23689. },
  23690. "buyuserid": {
  23691. "description": "采购方ID",
  23692. "type": "integer"
  23693. },
  23694. "buyusername": {
  23695. "description": "采购方名称",
  23696. "type": "string"
  23697. },
  23698. "contracctstatus": {
  23699. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23700. "type": "integer"
  23701. },
  23702. "contractmargin": {
  23703. "description": "合同保证金",
  23704. "type": "number"
  23705. },
  23706. "contractno": {
  23707. "description": "现货合同编号",
  23708. "type": "string"
  23709. },
  23710. "contracttype": {
  23711. "description": "现货合同类型 - 1:采购 -1:销售",
  23712. "type": "integer"
  23713. },
  23714. "convertfactor": {
  23715. "description": "标仓系数(品类)",
  23716. "type": "number"
  23717. },
  23718. "createtime": {
  23719. "description": "创建时间",
  23720. "type": "string"
  23721. },
  23722. "currencyid": {
  23723. "description": "币种id",
  23724. "type": "integer"
  23725. },
  23726. "currencyname": {
  23727. "description": "币种名称",
  23728. "type": "string"
  23729. },
  23730. "deliveryenddate": {
  23731. "description": "交收期(结束)",
  23732. "type": "string"
  23733. },
  23734. "deliverygoodscode": {
  23735. "description": "现货品种代码",
  23736. "type": "string"
  23737. },
  23738. "deliverygoodsid": {
  23739. "description": "现货品种ID",
  23740. "type": "integer"
  23741. },
  23742. "deliverygoodsname": {
  23743. "description": "现货品种名称",
  23744. "type": "string"
  23745. },
  23746. "deliverystartdate": {
  23747. "description": "交收期(开始)",
  23748. "type": "string"
  23749. },
  23750. "enddate": {
  23751. "description": "点价结束日期 [2:点价 3:暂定价]",
  23752. "type": "string"
  23753. },
  23754. "enumdicname": {
  23755. "description": "单位名称",
  23756. "type": "string"
  23757. },
  23758. "goodscode": {
  23759. "description": "点价合约代码",
  23760. "type": "string"
  23761. },
  23762. "goodsid": {
  23763. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  23764. "type": "integer"
  23765. },
  23766. "goodsname": {
  23767. "description": "点价商品名称",
  23768. "type": "string"
  23769. },
  23770. "margin": {
  23771. "description": "当前保证金",
  23772. "type": "number"
  23773. },
  23774. "meruserid": {
  23775. "description": "跟单员id",
  23776. "type": "integer"
  23777. },
  23778. "meruserlogincode": {
  23779. "description": "跟单员登录代码",
  23780. "type": "string"
  23781. },
  23782. "merusername": {
  23783. "description": "跟单员名称",
  23784. "type": "string"
  23785. },
  23786. "pointdesc": {
  23787. "description": "点价备注",
  23788. "type": "string"
  23789. },
  23790. "price": {
  23791. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  23792. "type": "number"
  23793. },
  23794. "pricemove": {
  23795. "description": "升贴水 [2:点价 3:暂定价]",
  23796. "type": "number"
  23797. },
  23798. "pricetype": {
  23799. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23800. "type": "integer"
  23801. },
  23802. "producttype": {
  23803. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23804. "type": "integer"
  23805. },
  23806. "qty": {
  23807. "description": "数量",
  23808. "type": "number"
  23809. },
  23810. "remark": {
  23811. "description": "备注",
  23812. "type": "string"
  23813. },
  23814. "saleuserid": {
  23815. "description": "业务员id",
  23816. "type": "integer"
  23817. },
  23818. "saleuserlogincode": {
  23819. "description": "业务员登录代码",
  23820. "type": "string"
  23821. },
  23822. "saleusername": {
  23823. "description": "业务员名称",
  23824. "type": "string"
  23825. },
  23826. "sellnickname": {
  23827. "description": "采购方昵称",
  23828. "type": "string"
  23829. },
  23830. "selluserid": {
  23831. "description": "销售方ID",
  23832. "type": "integer"
  23833. },
  23834. "sellusername": {
  23835. "description": "销售方名称",
  23836. "type": "string"
  23837. },
  23838. "spotcontractid": {
  23839. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23840. "type": "string"
  23841. },
  23842. "spotgoodsbrandid": {
  23843. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23844. "type": "integer"
  23845. },
  23846. "spotgoodsdesc": {
  23847. "description": "商品型号",
  23848. "type": "string"
  23849. },
  23850. "startdate": {
  23851. "description": "点价开始日期 [2:点价 3:暂定价]",
  23852. "type": "string"
  23853. },
  23854. "subjectid": {
  23855. "description": "交易主体ID",
  23856. "type": "integer"
  23857. },
  23858. "subjectname": {
  23859. "description": "交易主体名称",
  23860. "type": "string"
  23861. },
  23862. "tradeuserid": {
  23863. "description": "交易员id",
  23864. "type": "integer"
  23865. },
  23866. "tradeuserlogincode": {
  23867. "description": "交易员登录代码",
  23868. "type": "string"
  23869. },
  23870. "tradeusername": {
  23871. "description": "交易员名称",
  23872. "type": "string"
  23873. },
  23874. "unitid": {
  23875. "description": "单位id(取品类上的单位id)",
  23876. "type": "integer"
  23877. },
  23878. "updatetime": {
  23879. "description": "更新时间",
  23880. "type": "string"
  23881. },
  23882. "userid": {
  23883. "description": "所属机构ID",
  23884. "type": "integer"
  23885. },
  23886. "vatrate": {
  23887. "description": "增值税率",
  23888. "type": "number"
  23889. },
  23890. "wrstandardcode": {
  23891. "description": "品类代码",
  23892. "type": "string"
  23893. },
  23894. "wrstandardid": {
  23895. "description": "品类ID",
  23896. "type": "integer"
  23897. },
  23898. "wrstandardname": {
  23899. "description": "品类名称",
  23900. "type": "string"
  23901. }
  23902. }
  23903. },
  23904. "models.Ermcp3ContractMiddleGoodsCfg": {
  23905. "type": "object",
  23906. "properties": {
  23907. "agreeunit": {
  23908. "description": "合约乘数",
  23909. "type": "number"
  23910. },
  23911. "convertratio": {
  23912. "description": "期货品种系数",
  23913. "type": "number"
  23914. },
  23915. "covertqty": {
  23916. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  23917. "type": "integer"
  23918. },
  23919. "middlegoodsid": {
  23920. "description": "套保品种ID",
  23921. "type": "integer"
  23922. },
  23923. "middlegoodspricedqty3": {
  23924. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23925. "type": "string",
  23926. "example": "0"
  23927. },
  23928. "pendingpricedqty": {
  23929. "description": "待点价量",
  23930. "type": "string",
  23931. "example": "0"
  23932. },
  23933. "relatedmiddlegoodsqty": {
  23934. "description": "已关联量(套保品种-期货)",
  23935. "type": "string",
  23936. "example": "0"
  23937. },
  23938. "spotcontractid": {
  23939. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23940. "type": "string"
  23941. }
  23942. }
  23943. },
  23944. "models.Ermcp3ExposureContractDetail": {
  23945. "type": "object",
  23946. "properties": {
  23947. "biztype": {
  23948. "description": "业务类型 1-套保 2-套利",
  23949. "type": "integer"
  23950. },
  23951. "brandname": {
  23952. "description": "品牌名称",
  23953. "type": "string"
  23954. },
  23955. "buyuserid": {
  23956. "description": "采购方id",
  23957. "type": "integer"
  23958. },
  23959. "buyusername": {
  23960. "description": "采购方名称",
  23961. "type": "string"
  23962. },
  23963. "contractno": {
  23964. "description": "合同编号",
  23965. "type": "string"
  23966. },
  23967. "contracttype": {
  23968. "description": "现货合同类型 - 1:采购 -1:销售",
  23969. "type": "integer"
  23970. },
  23971. "convertfactor": {
  23972. "description": "标仓系数",
  23973. "type": "number"
  23974. },
  23975. "convertratio": {
  23976. "description": "折算系数(套保品种)",
  23977. "type": "number"
  23978. },
  23979. "curqty": {
  23980. "description": "今定价量",
  23981. "type": "number"
  23982. },
  23983. "deliverygoodscode": {
  23984. "description": "现货品种代码",
  23985. "type": "string"
  23986. },
  23987. "deliverygoodsid": {
  23988. "description": "现货品种id",
  23989. "type": "integer"
  23990. },
  23991. "deliverygoodsname": {
  23992. "description": "现货品种名称",
  23993. "type": "string"
  23994. },
  23995. "diffhedgeqty": {
  23996. "description": "套保变动量",
  23997. "type": "number"
  23998. },
  23999. "diffneedhedgeqty": {
  24000. "description": "应套保变动量",
  24001. "type": "number"
  24002. },
  24003. "diffqty": {
  24004. "description": "套保品种今变动量",
  24005. "type": "number"
  24006. },
  24007. "enumdicname": {
  24008. "description": "单位名称",
  24009. "type": "string"
  24010. },
  24011. "mgunitname": {
  24012. "description": "套保品种单位名称",
  24013. "type": "string"
  24014. },
  24015. "middlegoodscode": {
  24016. "description": "套保品种代码",
  24017. "type": "string"
  24018. },
  24019. "middlegoodsid": {
  24020. "description": "套保品种id",
  24021. "type": "integer"
  24022. },
  24023. "middlegoodsname": {
  24024. "description": "套保品种名称",
  24025. "type": "string"
  24026. },
  24027. "needarbitrageratio": {
  24028. "description": "应套利比例",
  24029. "type": "number"
  24030. },
  24031. "needhedgeratio": {
  24032. "description": "应套保比例",
  24033. "type": "number"
  24034. },
  24035. "pricedqty": {
  24036. "description": "已定价量",
  24037. "type": "number"
  24038. },
  24039. "qty": {
  24040. "description": "合同量",
  24041. "type": "number"
  24042. },
  24043. "reckondate": {
  24044. "description": "交易日(reckondate)",
  24045. "type": "string"
  24046. },
  24047. "selluserid": {
  24048. "description": "销售方id",
  24049. "type": "integer"
  24050. },
  24051. "sellusername": {
  24052. "description": "销售方名称",
  24053. "type": "string"
  24054. },
  24055. "spotcontractid": {
  24056. "description": "合同id",
  24057. "type": "string"
  24058. },
  24059. "todaypricedqty": {
  24060. "description": "今定价量",
  24061. "type": "number"
  24062. },
  24063. "tradedate": {
  24064. "description": "交易日",
  24065. "type": "string"
  24066. },
  24067. "unitid": {
  24068. "description": "品类单位id",
  24069. "type": "integer"
  24070. },
  24071. "userid": {
  24072. "description": "机构id",
  24073. "type": "integer"
  24074. },
  24075. "username": {
  24076. "description": "交易用户",
  24077. "type": "string"
  24078. },
  24079. "wrstandardcode": {
  24080. "description": "现货商品代码",
  24081. "type": "string"
  24082. },
  24083. "wrstandardid": {
  24084. "description": "现货商品id",
  24085. "type": "integer"
  24086. },
  24087. "wrstandardname": {
  24088. "description": "现货商品名称",
  24089. "type": "string"
  24090. }
  24091. }
  24092. },
  24093. "models.Ermcp3ExposureDetail": {
  24094. "type": "object",
  24095. "properties": {
  24096. "areauserid": {
  24097. "description": "机构ID",
  24098. "type": "integer"
  24099. },
  24100. "changeQty": {
  24101. "description": "套保变动量",
  24102. "type": "number"
  24103. },
  24104. "contracttype": {
  24105. "description": "现货合同类型 - 1:采购 -1:销售",
  24106. "type": "integer"
  24107. },
  24108. "convertfactor": {
  24109. "description": "标仓系数",
  24110. "type": "number"
  24111. },
  24112. "convertratio": {
  24113. "description": "折算系数",
  24114. "type": "number"
  24115. },
  24116. "createtime": {
  24117. "description": "时间",
  24118. "type": "string"
  24119. },
  24120. "enumdicname": {
  24121. "description": "现货商品单位名称",
  24122. "type": "string"
  24123. },
  24124. "logtype": {
  24125. "description": "类型 - 1:套保计划 2:现货合同",
  24126. "type": "integer"
  24127. },
  24128. "mgunitid": {
  24129. "description": "套保品种单位id",
  24130. "type": "integer"
  24131. },
  24132. "mgunitidname": {
  24133. "description": "套保品种单位名称",
  24134. "type": "string"
  24135. },
  24136. "middlegoodsId": {
  24137. "description": "套保商品id",
  24138. "type": "integer"
  24139. },
  24140. "middlegoodscode": {
  24141. "description": "套保商品代码",
  24142. "type": "string"
  24143. },
  24144. "middlegoodsname": {
  24145. "description": "套保商品名称",
  24146. "type": "string"
  24147. },
  24148. "qty": {
  24149. "description": "数量",
  24150. "type": "number"
  24151. },
  24152. "relateNo": {
  24153. "description": "现货合同/套保计划编号",
  24154. "type": "string"
  24155. },
  24156. "unitid": {
  24157. "description": "现货商品单位id",
  24158. "type": "integer"
  24159. },
  24160. "wrstandardcode": {
  24161. "description": "现货商品代码",
  24162. "type": "string"
  24163. },
  24164. "wrstandardid": {
  24165. "description": "现货商品ID(SEQ_WRSTANDARD)",
  24166. "type": "integer"
  24167. },
  24168. "wrstandardname": {
  24169. "description": "现货商品名称",
  24170. "type": "string"
  24171. }
  24172. }
  24173. },
  24174. "models.Ermcp3ExposureFutuDetail": {
  24175. "type": "object",
  24176. "properties": {
  24177. "accountid": {
  24178. "description": "交易账户id",
  24179. "type": "integer"
  24180. },
  24181. "accountname": {
  24182. "description": "交易账户",
  24183. "type": "string"
  24184. },
  24185. "begindate": {
  24186. "description": "开始交易日",
  24187. "type": "string"
  24188. },
  24189. "buyorsell": {
  24190. "description": "方向 0-买 1-卖",
  24191. "type": "integer"
  24192. },
  24193. "diffmgqty": {
  24194. "description": "套保品种今变化量",
  24195. "type": "number"
  24196. },
  24197. "diffneedqty": {
  24198. "description": "应套保总量变化量",
  24199. "type": "number"
  24200. },
  24201. "difftradeqty": {
  24202. "description": "交易品种今变化量",
  24203. "type": "number"
  24204. },
  24205. "enddate": {
  24206. "description": "结束交易日",
  24207. "type": "string"
  24208. },
  24209. "enumdicname": {
  24210. "description": "单位名称",
  24211. "type": "string"
  24212. },
  24213. "goodscode": {
  24214. "description": "商品代码",
  24215. "type": "string"
  24216. },
  24217. "goodsid": {
  24218. "description": "商品id",
  24219. "type": "integer"
  24220. },
  24221. "goodsname": {
  24222. "description": "商品名称",
  24223. "type": "string"
  24224. },
  24225. "holdqty": {
  24226. "description": "期末持仓量",
  24227. "type": "number"
  24228. },
  24229. "middlegoodscode": {
  24230. "description": "套保商品代码",
  24231. "type": "string"
  24232. },
  24233. "middlegoodsid": {
  24234. "description": "套保商品id",
  24235. "type": "integer"
  24236. },
  24237. "middlegoodsname": {
  24238. "description": "套保商品名称",
  24239. "type": "string"
  24240. },
  24241. "oriholdqty": {
  24242. "description": "期初持仓量",
  24243. "type": "number"
  24244. },
  24245. "reckondate": {
  24246. "description": "交易日(RECKONDATE)",
  24247. "type": "string"
  24248. },
  24249. "todaycloseqty": {
  24250. "description": "今平仓量",
  24251. "type": "number"
  24252. },
  24253. "todayopenqty": {
  24254. "description": "今开仓量",
  24255. "type": "number"
  24256. },
  24257. "tradedate": {
  24258. "description": "交易日(RECKONDATE)",
  24259. "type": "string"
  24260. },
  24261. "username": {
  24262. "description": "用户名称(交易用户)",
  24263. "type": "string"
  24264. }
  24265. }
  24266. },
  24267. "models.Ermcp3ExposureHedgeplanDetail": {
  24268. "type": "object",
  24269. "properties": {
  24270. "biztype": {
  24271. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  24272. "type": "integer"
  24273. },
  24274. "changqty": {
  24275. "description": "应套保总量变化量",
  24276. "type": "number"
  24277. },
  24278. "contracttype": {
  24279. "description": "计划类型 - 1:采购 -1:销售",
  24280. "type": "integer"
  24281. },
  24282. "convertratio": {
  24283. "description": "折算系数(套保品种)",
  24284. "type": "number"
  24285. },
  24286. "deliverygoodscode": {
  24287. "description": "现货商品代码",
  24288. "type": "string"
  24289. },
  24290. "deliverygoodsid": {
  24291. "description": "现货商品id",
  24292. "type": "integer"
  24293. },
  24294. "deliverygoodsname": {
  24295. "description": "现货商吕名称",
  24296. "type": "string"
  24297. },
  24298. "dgunitid": {
  24299. "description": "现货商品单位id",
  24300. "type": "integer"
  24301. },
  24302. "dgunitidname": {
  24303. "description": "单位名称(现货商品)",
  24304. "type": "string"
  24305. },
  24306. "diffqty": {
  24307. "description": "套保品种今变动量",
  24308. "type": "number"
  24309. },
  24310. "enumdicname": {
  24311. "description": "单位名称(品类)",
  24312. "type": "string"
  24313. },
  24314. "hedgeplanid": {
  24315. "description": "套保计划id",
  24316. "type": "string"
  24317. },
  24318. "hedgeplanno": {
  24319. "description": "套保计划名称",
  24320. "type": "string"
  24321. },
  24322. "hedgeplanstatus": {
  24323. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24324. "type": "integer"
  24325. },
  24326. "mgunitidname": {
  24327. "description": "单位名称(套保商品)",
  24328. "type": "string"
  24329. },
  24330. "middlegoodscode": {
  24331. "description": "套保品种代码",
  24332. "type": "string"
  24333. },
  24334. "middlegoodsid": {
  24335. "description": "套保品种id",
  24336. "type": "integer"
  24337. },
  24338. "middlegoodsname": {
  24339. "description": "套保品种名称",
  24340. "type": "string"
  24341. },
  24342. "needarbitrageratio": {
  24343. "description": "应套利比例",
  24344. "type": "number"
  24345. },
  24346. "needhedgeratio": {
  24347. "description": "应套保比例",
  24348. "type": "number"
  24349. },
  24350. "pricedqty": {
  24351. "description": "已定价量",
  24352. "type": "number"
  24353. },
  24354. "qty": {
  24355. "description": "合同量",
  24356. "type": "number"
  24357. },
  24358. "reckondate": {
  24359. "description": "交易日(reckondate)",
  24360. "type": "string"
  24361. },
  24362. "tradedate": {
  24363. "description": "交易日(登记日)",
  24364. "type": "string"
  24365. },
  24366. "unitid": {
  24367. "description": "品类单位id",
  24368. "type": "integer"
  24369. },
  24370. "userid": {
  24371. "description": "机构id",
  24372. "type": "integer"
  24373. },
  24374. "wrstandardcode": {
  24375. "description": "品类代码",
  24376. "type": "string"
  24377. },
  24378. "wrstandardid": {
  24379. "description": "品类id",
  24380. "type": "integer"
  24381. },
  24382. "wrstandardname": {
  24383. "description": "品类名称",
  24384. "type": "string"
  24385. }
  24386. }
  24387. },
  24388. "models.Ermcp3ExposureParamChLog": {
  24389. "type": "object",
  24390. "properties": {
  24391. "accountid": {
  24392. "description": "期货账户ID (作废, 默认为0)",
  24393. "type": "integer"
  24394. },
  24395. "aftervalue": {
  24396. "description": "应套保\\套利量变更后(调整后应套保总量)",
  24397. "type": "number"
  24398. },
  24399. "areauserid": {
  24400. "description": "所属机构\\交易用户ID",
  24401. "type": "integer"
  24402. },
  24403. "beforevalue": {
  24404. "description": "应套保\\套利量变更前(调整前应套保总量)",
  24405. "type": "number"
  24406. },
  24407. "begindate": {
  24408. "description": "开始交易日",
  24409. "type": "string"
  24410. },
  24411. "changelogtype": {
  24412. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  24413. "type": "integer"
  24414. },
  24415. "curvalue": {
  24416. "description": "当前套保\\套利量(套保总量|套利总量)",
  24417. "type": "number"
  24418. },
  24419. "diffvalue": {
  24420. "description": "应套保总量变化量",
  24421. "type": "number"
  24422. },
  24423. "enddate": {
  24424. "description": "结束交易日",
  24425. "type": "string"
  24426. },
  24427. "logdatetime": {
  24428. "description": "流水日期",
  24429. "type": "string"
  24430. },
  24431. "logid": {
  24432. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  24433. "type": "string"
  24434. },
  24435. "middlegoodscode": {
  24436. "description": "套保品种代码",
  24437. "type": "string"
  24438. },
  24439. "middlegoodsid": {
  24440. "description": "套保品种",
  24441. "type": "integer"
  24442. },
  24443. "middlegoodsname": {
  24444. "description": "套保品种名称",
  24445. "type": "string"
  24446. },
  24447. "paramaftervalue": {
  24448. "description": "参数变更后(调整后参数值)",
  24449. "type": "number"
  24450. },
  24451. "parambeforevalue": {
  24452. "description": "参数变更前(调整前参数值)",
  24453. "type": "number"
  24454. },
  24455. "reckondate": {
  24456. "description": "交易日(reckondate)",
  24457. "type": "string"
  24458. },
  24459. "tradedate": {
  24460. "description": "交易日(yyyyMMdd)",
  24461. "type": "string"
  24462. }
  24463. }
  24464. },
  24465. "models.Ermcp3ExpourseReport": {
  24466. "type": "object",
  24467. "properties": {
  24468. "accountid": {
  24469. "description": "期货账户ID (作废, 默认为0)",
  24470. "type": "integer"
  24471. },
  24472. "accountname": {
  24473. "description": "机构名称",
  24474. "type": "string"
  24475. },
  24476. "arbitrageqty": {
  24477. "description": "套利量",
  24478. "type": "number"
  24479. },
  24480. "areauserid": {
  24481. "description": "所属机构\\交易用户ID",
  24482. "type": "integer"
  24483. },
  24484. "begindate": {
  24485. "description": "开始交易日",
  24486. "type": "string"
  24487. },
  24488. "buyfutureqty": {
  24489. "description": "买入期货数量",
  24490. "type": "number"
  24491. },
  24492. "buyplanqty": {
  24493. "description": "采购计划数量",
  24494. "type": "number"
  24495. },
  24496. "buypricedqty": {
  24497. "description": "采购合同已定价数量",
  24498. "type": "number"
  24499. },
  24500. "cycletime": {
  24501. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24502. "type": "string"
  24503. },
  24504. "cycletype": {
  24505. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24506. "type": "integer"
  24507. },
  24508. "diffexposure": {
  24509. "description": "变动量(套保敞口)",
  24510. "type": "number"
  24511. },
  24512. "difffutuqty": {
  24513. "description": "变动量(期货)",
  24514. "type": "number"
  24515. },
  24516. "diffhedgeqty": {
  24517. "description": "变动量(现货应套保总量)",
  24518. "type": "number"
  24519. },
  24520. "diffmgqtya": {
  24521. "description": "套保变动量",
  24522. "type": "number"
  24523. },
  24524. "diffmgqtyb": {
  24525. "description": "套利变动量",
  24526. "type": "number"
  24527. },
  24528. "diffneedqty": {
  24529. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  24530. "type": "number"
  24531. },
  24532. "diffqty": {
  24533. "description": "变动量(总敞口)",
  24534. "type": "number"
  24535. },
  24536. "diffspotqty": {
  24537. "description": "变动量(现货) | 除税变动量",
  24538. "type": "number"
  24539. },
  24540. "enddate": {
  24541. "description": "结束交易日",
  24542. "type": "string"
  24543. },
  24544. "enumdicname": {
  24545. "description": "单位名称",
  24546. "type": "string"
  24547. },
  24548. "hedgeqty": {
  24549. "description": "套保量",
  24550. "type": "number"
  24551. },
  24552. "mgneedhedgeratio": {
  24553. "description": "套保比例(套保品的)",
  24554. "type": "number"
  24555. },
  24556. "middlegoodsid": {
  24557. "description": "套保品种ID",
  24558. "type": "integer"
  24559. },
  24560. "middlegoodsname": {
  24561. "description": "套保商品名称",
  24562. "type": "string"
  24563. },
  24564. "middlgoodscode": {
  24565. "description": "套保商品代码",
  24566. "type": "string"
  24567. },
  24568. "needarbitrageqty": {
  24569. "description": "应套利量",
  24570. "type": "number"
  24571. },
  24572. "needarbitrageratio": {
  24573. "description": "套利比例(套保品的)",
  24574. "type": "number"
  24575. },
  24576. "needhedgeexposoure": {
  24577. "description": "应套保敞口(套保敞口)",
  24578. "type": "number"
  24579. },
  24580. "needhedgeqty": {
  24581. "description": "应套保量",
  24582. "type": "number"
  24583. },
  24584. "needhedgeratio": {
  24585. "description": "应套保敞口比例",
  24586. "type": "number"
  24587. },
  24588. "needqty": {
  24589. "description": "应套总量 = 应套保量 + 应套利量",
  24590. "type": "number"
  24591. },
  24592. "oriarbitrageqty": {
  24593. "description": "期初套利量",
  24594. "type": "number"
  24595. },
  24596. "oribuyfutureqty": {
  24597. "description": "期初买入期货数量",
  24598. "type": "number"
  24599. },
  24600. "oribuyplanqty": {
  24601. "description": "期初采购计划数量",
  24602. "type": "number"
  24603. },
  24604. "oribuypricedqty": {
  24605. "description": "期初采购合同已定价数量",
  24606. "type": "number"
  24607. },
  24608. "orihedgeqty": {
  24609. "description": "期初套保量",
  24610. "type": "number"
  24611. },
  24612. "orineedarbitrageqty": {
  24613. "description": "期初应套利量",
  24614. "type": "number"
  24615. },
  24616. "orineedhedgeexposoure": {
  24617. "description": "期初应套保敞口",
  24618. "type": "number"
  24619. },
  24620. "orineedhedgeqty": {
  24621. "description": "期初应套保量",
  24622. "type": "number"
  24623. },
  24624. "orisellfutureqty": {
  24625. "description": "期初卖出期货数量",
  24626. "type": "number"
  24627. },
  24628. "orisellplanqty": {
  24629. "description": "期初销售计划数量",
  24630. "type": "number"
  24631. },
  24632. "orisellpricedqty": {
  24633. "description": "期初销售合同已定价数量",
  24634. "type": "number"
  24635. },
  24636. "oritotalexposure": {
  24637. "description": "期初实时总敞口",
  24638. "type": "number"
  24639. },
  24640. "oritotalfutureqty": {
  24641. "description": "期初期货头寸总量",
  24642. "type": "number"
  24643. },
  24644. "oritotalneedhedgeqty": {
  24645. "description": "期初应套保总量",
  24646. "type": "number"
  24647. },
  24648. "oritotalspotqty": {
  24649. "description": "期初现货头寸总量",
  24650. "type": "number"
  24651. },
  24652. "reckondate": {
  24653. "description": "日照时期(yyyyMMdd)",
  24654. "type": "string"
  24655. },
  24656. "sellfutureqty": {
  24657. "description": "卖出期货数量",
  24658. "type": "number"
  24659. },
  24660. "sellplanqty": {
  24661. "description": "销售计划数量",
  24662. "type": "number"
  24663. },
  24664. "sellpricedqty": {
  24665. "description": "销售合同已定价数量",
  24666. "type": "number"
  24667. },
  24668. "totalexposure": {
  24669. "description": "实时总敞口(总敞口)",
  24670. "type": "number"
  24671. },
  24672. "totalfutureqty": {
  24673. "description": "期货头寸总量(期货总量)",
  24674. "type": "number"
  24675. },
  24676. "totalhedgeratio": {
  24677. "description": "敞口比例",
  24678. "type": "number"
  24679. },
  24680. "totalneedhedgeqty": {
  24681. "description": "应套保总量(现货应套保总量)",
  24682. "type": "number"
  24683. },
  24684. "totalspotqty": {
  24685. "description": "现货头寸总量 | 除税总量",
  24686. "type": "number"
  24687. },
  24688. "unitid": {
  24689. "description": "单位id",
  24690. "type": "integer"
  24691. },
  24692. "updatetime": {
  24693. "description": "更新时间",
  24694. "type": "string"
  24695. }
  24696. }
  24697. },
  24698. "models.Ermcp3FinanceReport": {
  24699. "type": "object",
  24700. "properties": {
  24701. "accountname": {
  24702. "description": "机构名称",
  24703. "type": "string"
  24704. },
  24705. "areauserid": {
  24706. "description": "所属机构\\交易用户ID",
  24707. "type": "integer"
  24708. },
  24709. "begindate": {
  24710. "description": "开始交易日",
  24711. "type": "string"
  24712. },
  24713. "biztype": {
  24714. "description": "业务类型 - 1:套保 2:套利",
  24715. "type": "integer"
  24716. },
  24717. "brandname": {
  24718. "description": "品牌名称",
  24719. "type": "string"
  24720. },
  24721. "buypreinvoicedamount": {
  24722. "description": "采购预收票额(预收票额)",
  24723. "type": "number"
  24724. },
  24725. "buyprepaidamount": {
  24726. "description": "采购预付款额(预付货款额)",
  24727. "type": "number"
  24728. },
  24729. "buytodayinvoiceamount": {
  24730. "description": "采购今收票额(今收票额)",
  24731. "type": "number"
  24732. },
  24733. "buytodayrefundamount": {
  24734. "description": "采购今收退款额(今收退款额)",
  24735. "type": "number"
  24736. },
  24737. "buytodaysettleamount": {
  24738. "description": "采购今付款额(今付货款额)",
  24739. "type": "number"
  24740. },
  24741. "buyuninvoicedamount": {
  24742. "description": "采购应收票额(应收票额)",
  24743. "type": "number"
  24744. },
  24745. "buyunpaidamount": {
  24746. "description": "采购应付款额(应付货款额)",
  24747. "type": "number"
  24748. },
  24749. "currencyid": {
  24750. "description": "结算币种ID",
  24751. "type": "integer"
  24752. },
  24753. "currencyname": {
  24754. "description": "币种名称",
  24755. "type": "string"
  24756. },
  24757. "cycletime": {
  24758. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24759. "type": "string"
  24760. },
  24761. "cycletype": {
  24762. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24763. "type": "integer"
  24764. },
  24765. "deliverygoodscode": {
  24766. "description": "现货品种代码",
  24767. "type": "string"
  24768. },
  24769. "deliverygoodsid": {
  24770. "description": "现货品种ID",
  24771. "type": "integer"
  24772. },
  24773. "deliverygoodsname": {
  24774. "description": "现货品种名称",
  24775. "type": "string"
  24776. },
  24777. "enddate": {
  24778. "description": "结束交易日",
  24779. "type": "string"
  24780. },
  24781. "reckondate": {
  24782. "description": "日照时期(yyyyMMdd)",
  24783. "type": "string"
  24784. },
  24785. "sellpreinvoicedamount": {
  24786. "description": "销售预开票额(预开票额)",
  24787. "type": "number"
  24788. },
  24789. "sellprepaidamount": {
  24790. "description": "销售预收款额(预收货款额)",
  24791. "type": "number"
  24792. },
  24793. "selltodayinvoiceamount": {
  24794. "description": "销售今开票额(今开票额)",
  24795. "type": "number"
  24796. },
  24797. "selltodayrefundamount": {
  24798. "description": "销售今付退款额(今付退款额)",
  24799. "type": "number"
  24800. },
  24801. "selltodaysettleamount": {
  24802. "description": "销售今收款额(今收货款额)",
  24803. "type": "number"
  24804. },
  24805. "selluninvoicedamount": {
  24806. "description": "销售应开票额(应开票额)",
  24807. "type": "number"
  24808. },
  24809. "sellunpaidamount": {
  24810. "description": "销售应收款额(应收货款额)",
  24811. "type": "number"
  24812. },
  24813. "spotgoodsbrandid": {
  24814. "description": "现货品牌ID",
  24815. "type": "integer"
  24816. },
  24817. "todaypaysum": {
  24818. "description": "今付款合计",
  24819. "type": "number"
  24820. },
  24821. "todayreceivesum": {
  24822. "description": "今收款合计",
  24823. "type": "number"
  24824. },
  24825. "updatetime": {
  24826. "description": "更新时间",
  24827. "type": "string"
  24828. },
  24829. "wrfactortypeid": {
  24830. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24831. "type": "integer"
  24832. },
  24833. "wrstandardcode": {
  24834. "description": "品类代码",
  24835. "type": "string"
  24836. },
  24837. "wrstandardid": {
  24838. "description": "现货商品ID",
  24839. "type": "integer"
  24840. },
  24841. "wrstandardname": {
  24842. "description": "品类名称",
  24843. "type": "string"
  24844. }
  24845. }
  24846. },
  24847. "models.Ermcp3GoodsGroup": {
  24848. "type": "object",
  24849. "required": [
  24850. "areauserid"
  24851. ],
  24852. "properties": {
  24853. "agreeunit": {
  24854. "description": "合约单位",
  24855. "type": "number"
  24856. },
  24857. "areauserid": {
  24858. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  24859. "type": "integer"
  24860. },
  24861. "canshort": {
  24862. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24863. "type": "integer"
  24864. },
  24865. "closepricemode": {
  24866. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24867. "type": "integer"
  24868. },
  24869. "createtime": {
  24870. "description": "创建时间",
  24871. "type": "string"
  24872. },
  24873. "creatorid": {
  24874. "description": "创建人",
  24875. "type": "integer"
  24876. },
  24877. "currencyid": {
  24878. "description": "报价货币ID",
  24879. "type": "integer"
  24880. },
  24881. "decimalplace": {
  24882. "description": "报价小数位",
  24883. "type": "integer"
  24884. },
  24885. "enumdicname": {
  24886. "description": "单位名称",
  24887. "type": "string"
  24888. },
  24889. "exchangefullname": {
  24890. "description": "交易所全称",
  24891. "type": "string"
  24892. },
  24893. "excludecfg": {
  24894. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  24895. "type": "integer"
  24896. },
  24897. "exexchangecode": {
  24898. "description": "交易所代码",
  24899. "type": "string"
  24900. },
  24901. "exexchangeid": {
  24902. "description": "外部交易所ID[通道交易]",
  24903. "type": "integer"
  24904. },
  24905. "exexchangename": {
  24906. "description": "交易所名称",
  24907. "type": "string"
  24908. },
  24909. "goodsgroupid": {
  24910. "description": "商品组ID(自增ID)",
  24911. "type": "integer"
  24912. },
  24913. "goodsgroupname": {
  24914. "description": "商品组名称",
  24915. "type": "string"
  24916. },
  24917. "goodsgroupstatus": {
  24918. "description": "商品组状态 - 1:正常 2:注销",
  24919. "type": "integer"
  24920. },
  24921. "goodunitid": {
  24922. "description": "报价单位ID",
  24923. "type": "integer"
  24924. },
  24925. "groupcategroyid": {
  24926. "description": "品种分类ID",
  24927. "type": "integer"
  24928. },
  24929. "innerdealmode": {
  24930. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24931. "type": "integer"
  24932. },
  24933. "marketid": {
  24934. "description": "所属市场ID",
  24935. "type": "integer"
  24936. },
  24937. "modifierid": {
  24938. "description": "修改人",
  24939. "type": "integer"
  24940. },
  24941. "modifytime": {
  24942. "description": "修改时间",
  24943. "type": "string"
  24944. },
  24945. "outerdealmode": {
  24946. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24947. "type": "integer"
  24948. },
  24949. "outergroupcode": {
  24950. "description": "外部商品组代码[通道交易]",
  24951. "type": "string"
  24952. },
  24953. "quoteminunit": {
  24954. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24955. "type": "integer"
  24956. },
  24957. "quotesourcegroupid": {
  24958. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24959. "type": "integer"
  24960. },
  24961. "syncgoodsqty": {
  24962. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24963. "type": "integer"
  24964. }
  24965. }
  24966. },
  24967. "models.Ermcp3HPMiddleGoods": {
  24968. "type": "object",
  24969. "properties": {
  24970. "biztype": {
  24971. "description": "业务类型 1:套保 2:套利",
  24972. "type": "integer"
  24973. },
  24974. "contracttype": {
  24975. "description": "合同类型 1:采购 -1:销售",
  24976. "type": "integer"
  24977. },
  24978. "convertratio": {
  24979. "description": "折算系数",
  24980. "type": "number"
  24981. },
  24982. "customername": {
  24983. "description": "对手手名称",
  24984. "type": "string"
  24985. },
  24986. "customeruserid": {
  24987. "description": "对手id",
  24988. "type": "integer"
  24989. },
  24990. "enumdicname": {
  24991. "description": "现货单位名称",
  24992. "type": "string"
  24993. },
  24994. "hedgeplanid": {
  24995. "description": "计划id",
  24996. "type": "string"
  24997. },
  24998. "hedgeplanno": {
  24999. "description": "计划编号",
  25000. "type": "string"
  25001. },
  25002. "middlegoodsid": {
  25003. "description": "套保品种ID",
  25004. "type": "integer"
  25005. },
  25006. "middlegoodsplanqty3": {
  25007. "description": "应套保计划量",
  25008. "type": "number"
  25009. },
  25010. "needhedgeratio": {
  25011. "description": "套保比例",
  25012. "type": "number"
  25013. },
  25014. "pricedqty": {
  25015. "description": "已定价量",
  25016. "type": "number"
  25017. },
  25018. "relatedmiddlegoodsqty": {
  25019. "description": "已关联量(套保品种)(期货)",
  25020. "type": "number"
  25021. },
  25022. "unitid": {
  25023. "description": "现货单位id",
  25024. "type": "integer"
  25025. },
  25026. "userid": {
  25027. "description": "用户id",
  25028. "type": "integer"
  25029. },
  25030. "vatrate": {
  25031. "description": "增值税率",
  25032. "type": "number"
  25033. },
  25034. "wrstandardcode": {
  25035. "description": "现货商品代码",
  25036. "type": "string"
  25037. },
  25038. "wrstandardid": {
  25039. "description": "现货商品id",
  25040. "type": "integer"
  25041. },
  25042. "wrstandardname": {
  25043. "description": "现货商品名称",
  25044. "type": "string"
  25045. }
  25046. }
  25047. },
  25048. "models.Ermcp3HedgePlan": {
  25049. "type": "object",
  25050. "properties": {
  25051. "accountid": {
  25052. "description": "资金账号",
  25053. "type": "integer"
  25054. },
  25055. "areauserid": {
  25056. "description": "用户ID",
  25057. "type": "integer"
  25058. },
  25059. "auditid": {
  25060. "description": "审核id",
  25061. "type": "integer"
  25062. },
  25063. "auditname": {
  25064. "description": "审核人名称",
  25065. "type": "string"
  25066. },
  25067. "auditremark": {
  25068. "description": "审核备注",
  25069. "type": "string"
  25070. },
  25071. "auditsrc": {
  25072. "description": "审核来源 1-管理端 2-终端",
  25073. "type": "integer"
  25074. },
  25075. "audittime": {
  25076. "description": "审核时间",
  25077. "type": "string"
  25078. },
  25079. "contracttype": {
  25080. "description": "计划类型 - 1:采购 -1:销售",
  25081. "type": "integer"
  25082. },
  25083. "convertfactor": {
  25084. "description": "标仓系数",
  25085. "type": "number"
  25086. },
  25087. "createtime": {
  25088. "description": "创建时间",
  25089. "type": "string"
  25090. },
  25091. "currencyid": {
  25092. "description": "币种id",
  25093. "type": "integer"
  25094. },
  25095. "currencyname": {
  25096. "description": "币种名称",
  25097. "type": "string"
  25098. },
  25099. "deliverygoodscode": {
  25100. "description": "现货品种代码",
  25101. "type": "string"
  25102. },
  25103. "deliverygoodsid": {
  25104. "description": "现货品种ID",
  25105. "type": "integer"
  25106. },
  25107. "deliverygoodsname": {
  25108. "description": "现货品种名称",
  25109. "type": "string"
  25110. },
  25111. "enumdicname": {
  25112. "description": "单位名称(现货商品)",
  25113. "type": "string"
  25114. },
  25115. "hedgeplanid": {
  25116. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  25117. "type": "string"
  25118. },
  25119. "hedgeplanno": {
  25120. "description": "套保计划编号(名称)",
  25121. "type": "string"
  25122. },
  25123. "hedgeplanstatus": {
  25124. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25125. "type": "integer"
  25126. },
  25127. "planqty": {
  25128. "description": "计划数量",
  25129. "type": "number"
  25130. },
  25131. "plantime": {
  25132. "description": "计划时间",
  25133. "type": "string"
  25134. },
  25135. "producttype": {
  25136. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25137. "type": "integer"
  25138. },
  25139. "remark": {
  25140. "description": "备注",
  25141. "type": "string"
  25142. },
  25143. "spotgoodsdesc": {
  25144. "description": "商品型号",
  25145. "type": "string"
  25146. },
  25147. "taaccountname": {
  25148. "description": "资金账号名称",
  25149. "type": "string"
  25150. },
  25151. "tradeuserid": {
  25152. "description": "交易用户id",
  25153. "type": "integer"
  25154. },
  25155. "tradeusername": {
  25156. "description": "交易用户名称",
  25157. "type": "string"
  25158. },
  25159. "unitid": {
  25160. "description": "单位id(现货商品)",
  25161. "type": "integer"
  25162. },
  25163. "updatetime": {
  25164. "description": "更新时间",
  25165. "type": "string"
  25166. },
  25167. "vatrate": {
  25168. "description": "增值税率",
  25169. "type": "number"
  25170. },
  25171. "wrstandardcode": {
  25172. "description": "品类代码",
  25173. "type": "string"
  25174. },
  25175. "wrstandardid": {
  25176. "description": "品类id",
  25177. "type": "integer"
  25178. },
  25179. "wrstandardname": {
  25180. "description": "品类名称",
  25181. "type": "string"
  25182. },
  25183. "wrunitid": {
  25184. "description": "品类单位id",
  25185. "type": "integer"
  25186. },
  25187. "wrunitidame": {
  25188. "description": "品类单位名称",
  25189. "type": "string"
  25190. }
  25191. }
  25192. },
  25193. "models.Ermcp3InnerTradeLink": {
  25194. "type": "object",
  25195. "properties": {
  25196. "accountid": {
  25197. "description": "期货账号代码 | 资金账号ID",
  25198. "type": "integer"
  25199. },
  25200. "buyorsell": {
  25201. "description": "方向 - 0:买 1:卖",
  25202. "type": "integer"
  25203. },
  25204. "channelbuildtype": {
  25205. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25206. "type": "integer"
  25207. },
  25208. "currencyid": {
  25209. "description": "币种id",
  25210. "type": "integer"
  25211. },
  25212. "currencyname": {
  25213. "description": "结算币种 名称",
  25214. "type": "string"
  25215. },
  25216. "goodscode": {
  25217. "description": "商品代码",
  25218. "type": "string"
  25219. },
  25220. "goodsid": {
  25221. "description": "商品ID",
  25222. "type": "integer"
  25223. },
  25224. "goodsname": {
  25225. "description": "商品名称",
  25226. "type": "string"
  25227. },
  25228. "outtradeid": {
  25229. "description": "外部成交单号",
  25230. "type": "string"
  25231. },
  25232. "taname": {
  25233. "description": "期货账户名称",
  25234. "type": "string"
  25235. },
  25236. "tradeid": {
  25237. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25238. "type": "string"
  25239. },
  25240. "tradeprice": {
  25241. "description": "成交价格",
  25242. "type": "number"
  25243. },
  25244. "tradeqty": {
  25245. "description": "期货成交数量",
  25246. "type": "integer"
  25247. },
  25248. "tradetime": {
  25249. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  25250. "type": "string"
  25251. },
  25252. "username": {
  25253. "description": "用户名称",
  25254. "type": "string"
  25255. }
  25256. }
  25257. },
  25258. "models.Ermcp3OutTradeLink": {
  25259. "type": "object",
  25260. "properties": {
  25261. "buyorsell": {
  25262. "description": "买卖方向 - 0:买 1:卖",
  25263. "type": "integer"
  25264. },
  25265. "channelbuildtype": {
  25266. "description": "开平标志- 0:无 1:建仓 2:平仓",
  25267. "type": "integer"
  25268. },
  25269. "currencyname": {
  25270. "description": "币种名称",
  25271. "type": "string"
  25272. },
  25273. "exexchangecode": {
  25274. "description": "交易所代码",
  25275. "type": "string"
  25276. },
  25277. "exexchangename": {
  25278. "description": "交易所名称",
  25279. "type": "string"
  25280. },
  25281. "goodscode": {
  25282. "description": "合约代码",
  25283. "type": "string"
  25284. },
  25285. "goodsid": {
  25286. "description": "合约id",
  25287. "type": "integer"
  25288. },
  25289. "goodsname": {
  25290. "description": "合约名称",
  25291. "type": "string"
  25292. },
  25293. "hasinnerorder": {
  25294. "description": "是否有内部单关联 - 0:无 1:有",
  25295. "type": "integer"
  25296. },
  25297. "hedgeaccountcode": {
  25298. "description": "外部账号 | 对冲账号",
  25299. "type": "string"
  25300. },
  25301. "outtradeid": {
  25302. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25303. "type": "string"
  25304. },
  25305. "tradeprice": {
  25306. "description": "成交价格",
  25307. "type": "number"
  25308. },
  25309. "tradeqty": {
  25310. "description": "成交数量",
  25311. "type": "integer"
  25312. },
  25313. "tradetime": {
  25314. "description": "成交时间",
  25315. "type": "string"
  25316. }
  25317. }
  25318. },
  25319. "models.Ermcp3PaAreaAuditCfg": {
  25320. "type": "object",
  25321. "properties": {
  25322. "areauserid": {
  25323. "description": "用户ID",
  25324. "type": "integer"
  25325. },
  25326. "buyinauditflag": {
  25327. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  25328. "type": "integer"
  25329. },
  25330. "costratioauditflag": {
  25331. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  25332. "type": "integer"
  25333. },
  25334. "customerauditflag": {
  25335. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  25336. "type": "integer"
  25337. },
  25338. "deliveryauditflag": {
  25339. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  25340. "type": "integer"
  25341. },
  25342. "invoiceauditflag": {
  25343. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  25344. "type": "integer"
  25345. },
  25346. "mgneedhedgeratioauditflag": {
  25347. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  25348. "type": "integer"
  25349. },
  25350. "moneyauditflag": {
  25351. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  25352. "type": "integer"
  25353. },
  25354. "operatorid": {
  25355. "description": "操作人",
  25356. "type": "integer"
  25357. },
  25358. "operatorsrc": {
  25359. "description": "操作来源 - 1:管理端 2:终端",
  25360. "type": "integer"
  25361. },
  25362. "pointpriceauditflag": {
  25363. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  25364. "type": "integer"
  25365. },
  25366. "produceinauditflag": {
  25367. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  25368. "type": "integer"
  25369. },
  25370. "produceoutauditflag": {
  25371. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  25372. "type": "integer"
  25373. },
  25374. "selloutauditflag": {
  25375. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  25376. "type": "integer"
  25377. },
  25378. "sgconvertratioauditflag": {
  25379. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  25380. "type": "integer"
  25381. },
  25382. "sgvtaratioauditflag": {
  25383. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  25384. "type": "integer"
  25385. },
  25386. "spotcontractauditflag": {
  25387. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  25388. "type": "integer"
  25389. },
  25390. "updatetime": {
  25391. "description": "更新时间",
  25392. "type": "string"
  25393. }
  25394. }
  25395. },
  25396. "models.Ermcp3PaAreaSubject": {
  25397. "type": "object",
  25398. "properties": {
  25399. "areauserid": {
  25400. "description": "所属机构",
  25401. "type": "integer"
  25402. },
  25403. "canmodify": {
  25404. "description": "是否可修改 - 0:否 1:是",
  25405. "type": "integer"
  25406. },
  25407. "createtime": {
  25408. "description": "创建时间",
  25409. "type": "string"
  25410. },
  25411. "creatorid": {
  25412. "description": "创建人ID",
  25413. "type": "string"
  25414. },
  25415. "creatorsrc": {
  25416. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25417. "type": "integer"
  25418. },
  25419. "modifierid": {
  25420. "description": "修改人",
  25421. "type": "string"
  25422. },
  25423. "modifiersrc": {
  25424. "description": "修改人来源 - 1:管理端 2:终端",
  25425. "type": "integer"
  25426. },
  25427. "modifytime": {
  25428. "description": "修改时间",
  25429. "type": "string"
  25430. },
  25431. "parentsubjectid": {
  25432. "description": "上级主体ID",
  25433. "type": "string"
  25434. },
  25435. "remark": {
  25436. "description": "备注",
  25437. "type": "string"
  25438. },
  25439. "subjectid": {
  25440. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  25441. "type": "integer"
  25442. },
  25443. "subjectname": {
  25444. "description": "主体名称",
  25445. "type": "string"
  25446. },
  25447. "subjectstatus": {
  25448. "description": "主体状态 - 1:正常 2: 停用",
  25449. "type": "integer"
  25450. },
  25451. "subjecttype": {
  25452. "description": "主体类型 - 1:交易主体 2:业务部门",
  25453. "type": "integer"
  25454. }
  25455. }
  25456. },
  25457. "models.Ermcp3PaTradeLink": {
  25458. "type": "object",
  25459. "properties": {
  25460. "accountid": {
  25461. "description": "期货账户代码 | 账号ID",
  25462. "type": "integer"
  25463. },
  25464. "agreeunit": {
  25465. "description": "合约乘数",
  25466. "type": "number"
  25467. },
  25468. "buyorsell": {
  25469. "description": "方向 - 0:买 1:卖",
  25470. "type": "integer"
  25471. },
  25472. "channelbuildtype": {
  25473. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25474. "type": "integer"
  25475. },
  25476. "charge": {
  25477. "description": "手续费",
  25478. "type": "number"
  25479. },
  25480. "closepl": {
  25481. "description": "平仓盈亏",
  25482. "type": "number"
  25483. },
  25484. "closetype": {
  25485. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  25486. "type": "integer"
  25487. },
  25488. "convertratio": {
  25489. "description": "折算系数",
  25490. "type": "number"
  25491. },
  25492. "enumdicname": {
  25493. "description": "单位名称",
  25494. "type": "string"
  25495. },
  25496. "executeprice": {
  25497. "description": "执行价 [期权]",
  25498. "type": "integer"
  25499. },
  25500. "goodscode": {
  25501. "description": "合约代码",
  25502. "type": "string"
  25503. },
  25504. "goodsgroupid": {
  25505. "description": "对冲品种ID[期货合约商品组ID]",
  25506. "type": "integer"
  25507. },
  25508. "goodsid": {
  25509. "description": "商品ID",
  25510. "type": "integer"
  25511. },
  25512. "goodsname": {
  25513. "description": "合约名称",
  25514. "type": "string"
  25515. },
  25516. "goodunitid": {
  25517. "description": "单位id",
  25518. "type": "integer"
  25519. },
  25520. "hedgeflag": {
  25521. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25522. "type": "integer"
  25523. },
  25524. "marketid": {
  25525. "description": "市场ID",
  25526. "type": "integer"
  25527. },
  25528. "middlegoodsid": {
  25529. "description": "套保品种ID",
  25530. "type": "integer"
  25531. },
  25532. "middlegoodsqty": {
  25533. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  25534. "type": "number"
  25535. },
  25536. "optioncode": {
  25537. "description": "期权代码 [期权]",
  25538. "type": "string"
  25539. },
  25540. "ordertype": {
  25541. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  25542. "type": "integer"
  25543. },
  25544. "ordertypename": {
  25545. "description": "订单类型",
  25546. "type": "string"
  25547. },
  25548. "parentaccountid": {
  25549. "description": "所属母账户",
  25550. "type": "integer"
  25551. },
  25552. "premium": {
  25553. "description": "权利金 [期权]",
  25554. "type": "number"
  25555. },
  25556. "relatedlot": {
  25557. "description": "已关联数量(已关联数量手) | db:关联手数",
  25558. "type": "number"
  25559. },
  25560. "relatedouttradeid": {
  25561. "description": "关联外部成交单ID",
  25562. "type": "string"
  25563. },
  25564. "relatedqty": {
  25565. "description": "关联数量",
  25566. "type": "number"
  25567. },
  25568. "spotcontractid": {
  25569. "description": "现货合同ID [4:套期保值\\10\\11]",
  25570. "type": "string"
  25571. },
  25572. "taname": {
  25573. "description": "期货账户名称",
  25574. "type": "string"
  25575. },
  25576. "tradeamount": {
  25577. "description": "成交金额(账户)",
  25578. "type": "number"
  25579. },
  25580. "tradedate": {
  25581. "description": "交易日(yyyyMMdd)",
  25582. "type": "string"
  25583. },
  25584. "tradeid": {
  25585. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25586. "type": "string"
  25587. },
  25588. "tradelot": {
  25589. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  25590. "type": "integer"
  25591. },
  25592. "tradeprice": {
  25593. "description": "成交价格",
  25594. "type": "number"
  25595. },
  25596. "tradetime": {
  25597. "description": "时间 | db:成交时间",
  25598. "type": "string"
  25599. },
  25600. "tradetype": {
  25601. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  25602. "type": "integer"
  25603. },
  25604. "userid": {
  25605. "description": "所属机构 - 所属母账户的UserID",
  25606. "type": "string"
  25607. },
  25608. "username": {
  25609. "description": "用户名称",
  25610. "type": "string"
  25611. }
  25612. }
  25613. },
  25614. "models.Ermcp3ParamChangeApp": {
  25615. "type": "object",
  25616. "properties": {
  25617. "aftervalue": {
  25618. "description": "变更后",
  25619. "type": "number"
  25620. },
  25621. "applicationid": {
  25622. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  25623. "type": "string"
  25624. },
  25625. "applyid": {
  25626. "description": "申请人",
  25627. "type": "string"
  25628. },
  25629. "applyname": {
  25630. "description": "申请人名称(代码)",
  25631. "type": "string"
  25632. },
  25633. "applyremark": {
  25634. "description": "申请备注",
  25635. "type": "string"
  25636. },
  25637. "applysrc": {
  25638. "description": "申请来源 - 1:管理端 2:终端",
  25639. "type": "integer"
  25640. },
  25641. "applystatus": {
  25642. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25643. "type": "integer"
  25644. },
  25645. "applytime": {
  25646. "description": "申请时间",
  25647. "type": "string"
  25648. },
  25649. "areauserid": {
  25650. "description": "所属机构用户ID",
  25651. "type": "integer"
  25652. },
  25653. "auditid": {
  25654. "description": "审核人",
  25655. "type": "string"
  25656. },
  25657. "auditname": {
  25658. "description": "审核人名称(代码)",
  25659. "type": "string"
  25660. },
  25661. "auditremark": {
  25662. "description": "审核备注",
  25663. "type": "string"
  25664. },
  25665. "auditsrc": {
  25666. "description": "审核来源 - 1:管理端 2:终端",
  25667. "type": "integer"
  25668. },
  25669. "audittime": {
  25670. "description": "审核时间",
  25671. "type": "string"
  25672. },
  25673. "audittradedate": {
  25674. "description": "审核交易日(yyyyMMdd)",
  25675. "type": "string"
  25676. },
  25677. "beforevalue": {
  25678. "description": "变更前",
  25679. "type": "number"
  25680. },
  25681. "deliverygoodscode": {
  25682. "description": "品种代码",
  25683. "type": "string"
  25684. },
  25685. "deliverygoodsid": {
  25686. "description": "品种id",
  25687. "type": "integer"
  25688. },
  25689. "deliverygoodsname": {
  25690. "description": "品种名称",
  25691. "type": "string"
  25692. },
  25693. "middlegoodscode": {
  25694. "description": "套保品种代码",
  25695. "type": "string"
  25696. },
  25697. "middlegoodsid": {
  25698. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  25699. "type": "integer"
  25700. },
  25701. "middlegoodsname": {
  25702. "description": "套保品种名称",
  25703. "type": "string"
  25704. },
  25705. "operatetype": {
  25706. "description": "操作类型 - 1:新增 2:修改",
  25707. "type": "integer"
  25708. },
  25709. "paramchangetype": {
  25710. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  25711. "type": "integer"
  25712. },
  25713. "wrstandardcode": {
  25714. "description": "现货商品代码",
  25715. "type": "string"
  25716. },
  25717. "wrstandardid": {
  25718. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  25719. "type": "integer"
  25720. },
  25721. "wrstandardname": {
  25722. "description": "现货商品名称",
  25723. "type": "string"
  25724. }
  25725. }
  25726. },
  25727. "models.Ermcp3RootUserAccount": {
  25728. "type": "object",
  25729. "properties": {
  25730. "accountname": {
  25731. "description": "账户名称(机构名称)",
  25732. "type": "string"
  25733. },
  25734. "accountstatus": {
  25735. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25736. "type": "integer"
  25737. },
  25738. "applysrc": {
  25739. "description": "申请来源 - 1:管理端 2:终端",
  25740. "type": "integer"
  25741. },
  25742. "auditremark": {
  25743. "description": "审核备注",
  25744. "type": "string"
  25745. },
  25746. "auditsrc": {
  25747. "description": "审核来源 - 1:管理端 2:终端",
  25748. "type": "integer"
  25749. },
  25750. "audittime": {
  25751. "description": "审核时间",
  25752. "type": "string"
  25753. },
  25754. "audituserid": {
  25755. "description": "审核人",
  25756. "type": "integer"
  25757. },
  25758. "broker": {
  25759. "description": "所属经纪人ID",
  25760. "type": "integer"
  25761. },
  25762. "canceltime": {
  25763. "description": "销户时间",
  25764. "type": "string"
  25765. },
  25766. "canceluserid": {
  25767. "description": "销户人",
  25768. "type": "integer"
  25769. },
  25770. "canrecommend": {
  25771. "description": "是否可推荐 - 0:不可 1;可",
  25772. "type": "integer"
  25773. },
  25774. "createtime": {
  25775. "description": "创建时间",
  25776. "type": "string"
  25777. },
  25778. "creatorid": {
  25779. "description": "创建人",
  25780. "type": "integer"
  25781. },
  25782. "hasauth": {
  25783. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25784. "type": "integer"
  25785. },
  25786. "isanonymous": {
  25787. "description": "是否匿名下单 - 0:否 1:是",
  25788. "type": "integer"
  25789. },
  25790. "maxinvestornum": {
  25791. "description": "最大用户数(经纪会员下投资者个数)",
  25792. "type": "integer"
  25793. },
  25794. "memberuserid": {
  25795. "description": "所属会员ID",
  25796. "type": "integer"
  25797. },
  25798. "modifierid": {
  25799. "description": "修改人",
  25800. "type": "integer"
  25801. },
  25802. "modifyremark": {
  25803. "description": "变更备注",
  25804. "type": "string"
  25805. },
  25806. "modifystatus": {
  25807. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25808. "type": "integer"
  25809. },
  25810. "modifytime": {
  25811. "description": "修改时间",
  25812. "type": "string"
  25813. },
  25814. "nickname": {
  25815. "description": "昵称",
  25816. "type": "string"
  25817. },
  25818. "parenttopuser": {
  25819. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25820. "type": "string"
  25821. },
  25822. "parentuserid": {
  25823. "description": "所属机构ID",
  25824. "type": "integer"
  25825. },
  25826. "reckonaccountid": {
  25827. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25828. "type": "integer"
  25829. },
  25830. "refercount": {
  25831. "description": "推荐总人数",
  25832. "type": "integer"
  25833. },
  25834. "refereeuserid": {
  25835. "description": "推荐人ID",
  25836. "type": "integer"
  25837. },
  25838. "refernum": {
  25839. "description": "推荐码",
  25840. "type": "string"
  25841. },
  25842. "rootuserid": {
  25843. "description": "根用户ID",
  25844. "type": "integer"
  25845. },
  25846. "subaccountlevel": {
  25847. "description": "子账户层数",
  25848. "type": "integer"
  25849. },
  25850. "subarealevelpath": {
  25851. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25852. "type": "string"
  25853. },
  25854. "userid": {
  25855. "description": "用户ID",
  25856. "type": "integer"
  25857. },
  25858. "usertype": {
  25859. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25860. "type": "integer"
  25861. }
  25862. }
  25863. },
  25864. "models.Ermcp3SCMiddleGoods": {
  25865. "type": "object",
  25866. "properties": {
  25867. "biztype": {
  25868. "description": "业务类型 1:套保 2:套利",
  25869. "type": "integer"
  25870. },
  25871. "contractno": {
  25872. "description": "合同编号",
  25873. "type": "string"
  25874. },
  25875. "contracttype": {
  25876. "description": "合同类型 1:采购 -1:销售",
  25877. "type": "integer"
  25878. },
  25879. "convertratio": {
  25880. "description": "折算系数",
  25881. "type": "number"
  25882. },
  25883. "customername": {
  25884. "description": "对手手名称",
  25885. "type": "string"
  25886. },
  25887. "customeruserid": {
  25888. "description": "对手id",
  25889. "type": "integer"
  25890. },
  25891. "deliverygoodscode": {
  25892. "description": "现货品种代码",
  25893. "type": "string"
  25894. },
  25895. "deliverygoodsid": {
  25896. "description": "现货品种ID",
  25897. "type": "integer"
  25898. },
  25899. "deliverygoodsname": {
  25900. "description": "现货品种名称",
  25901. "type": "string"
  25902. },
  25903. "enumdicname": {
  25904. "description": "现货单位名称",
  25905. "type": "string"
  25906. },
  25907. "middlegoodsid": {
  25908. "description": "套保品种ID",
  25909. "type": "integer"
  25910. },
  25911. "middlegoodspricedqty3": {
  25912. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  25913. "type": "number"
  25914. },
  25915. "needhedgeratio": {
  25916. "description": "套保比例",
  25917. "type": "number"
  25918. },
  25919. "pricedqty": {
  25920. "description": "已定价量",
  25921. "type": "number"
  25922. },
  25923. "relatedmiddlegoodsqty": {
  25924. "description": "已关联量(套保品种)(期货)",
  25925. "type": "number"
  25926. },
  25927. "spotcontractid": {
  25928. "description": "合同编号",
  25929. "type": "string"
  25930. },
  25931. "unitid": {
  25932. "description": "现货单位id",
  25933. "type": "integer"
  25934. },
  25935. "userid": {
  25936. "description": "用户id",
  25937. "type": "integer"
  25938. },
  25939. "vatrate": {
  25940. "description": "增值税率",
  25941. "type": "number"
  25942. },
  25943. "wrstandardcode": {
  25944. "description": "现货商品代码",
  25945. "type": "string"
  25946. },
  25947. "wrstandardid": {
  25948. "description": "现货商品id",
  25949. "type": "integer"
  25950. },
  25951. "wrstandardname": {
  25952. "description": "现货商品名称",
  25953. "type": "string"
  25954. }
  25955. }
  25956. },
  25957. "models.Ermcp3SCMiddleGoodsReport": {
  25958. "type": "object",
  25959. "properties": {
  25960. "begindate": {
  25961. "description": "开始交易日",
  25962. "type": "string"
  25963. },
  25964. "contractno": {
  25965. "description": "合同编号",
  25966. "type": "string"
  25967. },
  25968. "contracttype": {
  25969. "description": "合同类型 1:采购 -1:销售",
  25970. "type": "integer"
  25971. },
  25972. "convertratio": {
  25973. "description": "期初均价",
  25974. "type": "number"
  25975. },
  25976. "cycletime": {
  25977. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25978. "type": "string"
  25979. },
  25980. "cycletype": {
  25981. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25982. "type": "integer"
  25983. },
  25984. "deliverygoodscode": {
  25985. "description": "品种代码",
  25986. "type": "string"
  25987. },
  25988. "deliverygoodsid": {
  25989. "description": "现货品种ID",
  25990. "type": "integer"
  25991. },
  25992. "deliverygoodsname": {
  25993. "description": "品种名称",
  25994. "type": "string"
  25995. },
  25996. "diffprice": {
  25997. "description": "期初均价",
  25998. "type": "number"
  25999. },
  26000. "diffqty": {
  26001. "description": "期初均价",
  26002. "type": "number"
  26003. },
  26004. "enddate": {
  26005. "description": "结束交易日",
  26006. "type": "string"
  26007. },
  26008. "hedgeplanqty": {
  26009. "description": "期初均价",
  26010. "type": "number"
  26011. },
  26012. "matchname": {
  26013. "description": "交易对手方(个人:用户名称 企业:简称)",
  26014. "type": "string"
  26015. },
  26016. "matchnickname": {
  26017. "description": "交易对手方昵称",
  26018. "type": "string"
  26019. },
  26020. "middlegoodscode": {
  26021. "description": "套保品种代码",
  26022. "type": "string"
  26023. },
  26024. "middlegoodsid": {
  26025. "description": "套保品种ID",
  26026. "type": "integer"
  26027. },
  26028. "middlegoodsname": {
  26029. "description": "套保品种名称",
  26030. "type": "string"
  26031. },
  26032. "middlegoodspricedqty": {
  26033. "description": "期初均价",
  26034. "type": "number"
  26035. },
  26036. "middlegoodspricedqty2": {
  26037. "description": "期初均价",
  26038. "type": "number"
  26039. },
  26040. "middlegoodspricedqty3": {
  26041. "description": "期初均价",
  26042. "type": "number"
  26043. },
  26044. "needhedgeratio": {
  26045. "description": "期初均价",
  26046. "type": "number"
  26047. },
  26048. "pricedamount": {
  26049. "description": "期初均价",
  26050. "type": "number"
  26051. },
  26052. "pricedamount2": {
  26053. "description": "期初均价",
  26054. "type": "number"
  26055. },
  26056. "pricedqty": {
  26057. "description": "期初均价",
  26058. "type": "number"
  26059. },
  26060. "reckondate": {
  26061. "description": "日照时期(yyyyMMdd)",
  26062. "type": "string"
  26063. },
  26064. "relatedmiddlegoodsamount": {
  26065. "description": "期初均价",
  26066. "type": "number"
  26067. },
  26068. "relatedmiddlegoodsqty": {
  26069. "description": "期初均价",
  26070. "type": "number"
  26071. },
  26072. "spotcontractid": {
  26073. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  26074. "type": "string"
  26075. },
  26076. "todayavgfutuprice": {
  26077. "description": "期初均价",
  26078. "type": "number"
  26079. },
  26080. "todayavgprice": {
  26081. "description": "期初均价",
  26082. "type": "number"
  26083. },
  26084. "todayavgprice2": {
  26085. "description": "期初均价",
  26086. "type": "number"
  26087. },
  26088. "todaypricedamount": {
  26089. "description": "期初均价",
  26090. "type": "number"
  26091. },
  26092. "todaypricedamount2": {
  26093. "description": "期初均价",
  26094. "type": "number"
  26095. },
  26096. "todaypricedqty": {
  26097. "description": "期初均价",
  26098. "type": "number"
  26099. },
  26100. "todayrelatedfutureqty": {
  26101. "description": "期初均价",
  26102. "type": "number"
  26103. },
  26104. "todayrelatedmiddlegoodsamount": {
  26105. "description": "期初均价",
  26106. "type": "number"
  26107. },
  26108. "todayrelatedmiddlegoodsqty": {
  26109. "description": "期初均价",
  26110. "type": "number"
  26111. },
  26112. "updatetime": {
  26113. "description": "更新时间",
  26114. "type": "string"
  26115. },
  26116. "userid": {
  26117. "description": "合同所属用户id",
  26118. "type": "integer"
  26119. },
  26120. "vatrate": {
  26121. "description": "期初均价",
  26122. "type": "number"
  26123. },
  26124. "wrstandardcode": {
  26125. "description": "商品(品类) 代码",
  26126. "type": "string"
  26127. },
  26128. "wrstandardid": {
  26129. "description": "现货商品ID",
  26130. "type": "integer"
  26131. },
  26132. "wrstandardname": {
  26133. "description": "商品(品类) 名称",
  26134. "type": "string"
  26135. }
  26136. }
  26137. },
  26138. "models.Ermcp3SellBuyContract": {
  26139. "type": "object",
  26140. "properties": {
  26141. "accountid": {
  26142. "description": "期货账户id",
  26143. "type": "string"
  26144. },
  26145. "accountname": {
  26146. "description": "账户名称",
  26147. "type": "string"
  26148. },
  26149. "attachment": {
  26150. "description": "附件",
  26151. "type": "string"
  26152. },
  26153. "audittime": {
  26154. "description": "审核时间",
  26155. "type": "string"
  26156. },
  26157. "bizsubjectid": {
  26158. "description": "归属业务部门ID - SubjectID",
  26159. "type": "integer"
  26160. },
  26161. "biztype": {
  26162. "description": "业务类型 1-套保 2-套利",
  26163. "type": "integer"
  26164. },
  26165. "brandname": {
  26166. "description": "品牌名称",
  26167. "type": "string"
  26168. },
  26169. "contracctstatus": {
  26170. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26171. "type": "integer"
  26172. },
  26173. "contractmargin": {
  26174. "description": "合同保证金",
  26175. "type": "number"
  26176. },
  26177. "contractno": {
  26178. "description": "合同编号",
  26179. "type": "string"
  26180. },
  26181. "contracttype": {
  26182. "description": "合同类型 1-采购, -1-销售",
  26183. "type": "integer"
  26184. },
  26185. "convertfactor": {
  26186. "description": "标仓系数(品类)",
  26187. "type": "number"
  26188. },
  26189. "createtime": {
  26190. "description": "创建时间",
  26191. "type": "string"
  26192. },
  26193. "currencyid": {
  26194. "description": "币种id",
  26195. "type": "integer"
  26196. },
  26197. "currencyname": {
  26198. "description": "币种名称",
  26199. "type": "string"
  26200. },
  26201. "daikaiamount": {
  26202. "description": "应收(开)票额 | 未收票额",
  26203. "type": "number"
  26204. },
  26205. "deliveryenddate": {
  26206. "description": "交割结束日",
  26207. "type": "string"
  26208. },
  26209. "deliverygoodscode": {
  26210. "description": "现货品种代码",
  26211. "type": "string"
  26212. },
  26213. "deliverygoodsid": {
  26214. "description": "现货商品ID",
  26215. "type": "integer"
  26216. },
  26217. "deliverygoodsname": {
  26218. "description": "现货品种名称",
  26219. "type": "string"
  26220. },
  26221. "deliverystartdate": {
  26222. "description": "交割开始日",
  26223. "type": "string"
  26224. },
  26225. "enddate": {
  26226. "description": "点价结束日",
  26227. "type": "string"
  26228. },
  26229. "enumdicname": {
  26230. "description": "单位名称",
  26231. "type": "string"
  26232. },
  26233. "goodscode": {
  26234. "description": "点价商品代码",
  26235. "type": "string"
  26236. },
  26237. "goodsgroupid": {
  26238. "description": "点价商品组id",
  26239. "type": "integer"
  26240. },
  26241. "goodsid": {
  26242. "description": "点价商品ID",
  26243. "type": "integer"
  26244. },
  26245. "goodsname": {
  26246. "description": "点价商品名称",
  26247. "type": "string"
  26248. },
  26249. "invoiceamount": {
  26250. "description": "已开票额",
  26251. "type": "number"
  26252. },
  26253. "loanamount": {
  26254. "description": "贷款总额=已定价额+调整金额",
  26255. "type": "number"
  26256. },
  26257. "margin": {
  26258. "description": "保证金",
  26259. "type": "number"
  26260. },
  26261. "meruserid": {
  26262. "description": "跟单员id",
  26263. "type": "integer"
  26264. },
  26265. "meruserlogincode": {
  26266. "description": "跟单员登录代码",
  26267. "type": "string"
  26268. },
  26269. "merusername": {
  26270. "description": "跟单员名称",
  26271. "type": "string"
  26272. },
  26273. "nickname": {
  26274. "description": "账户昵称",
  26275. "type": "string"
  26276. },
  26277. "orireckonrealqty": {
  26278. "description": "应交收量",
  26279. "type": "number"
  26280. },
  26281. "payamount": {
  26282. "description": "已收付额(收款或付款)",
  26283. "type": "number"
  26284. },
  26285. "preinvoiceamount": {
  26286. "description": "预收(开)票额",
  26287. "type": "number"
  26288. },
  26289. "prepayamount": {
  26290. "description": "预收付额",
  26291. "type": "number"
  26292. },
  26293. "price": {
  26294. "description": "价格",
  26295. "type": "number"
  26296. },
  26297. "pricedamount": {
  26298. "description": "已定价额",
  26299. "type": "number"
  26300. },
  26301. "pricedavg": {
  26302. "description": "已点均价",
  26303. "type": "number"
  26304. },
  26305. "pricedqty": {
  26306. "description": "已定价量",
  26307. "type": "number"
  26308. },
  26309. "pricemove": {
  26310. "description": "升贴水",
  26311. "type": "number"
  26312. },
  26313. "pricetype": {
  26314. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  26315. "type": "integer"
  26316. },
  26317. "producttype": {
  26318. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  26319. "type": "integer"
  26320. },
  26321. "qty": {
  26322. "description": "合同量",
  26323. "type": "number"
  26324. },
  26325. "reckonadjustamount": {
  26326. "description": "调整金额",
  26327. "type": "number"
  26328. },
  26329. "reckonedamount": {
  26330. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  26331. "type": "number"
  26332. },
  26333. "reckonotheramount": {
  26334. "description": "其它费用",
  26335. "type": "number"
  26336. },
  26337. "reckonrealqty": {
  26338. "description": "已交收量",
  26339. "type": "number"
  26340. },
  26341. "remark": {
  26342. "description": "备注",
  26343. "type": "string"
  26344. },
  26345. "saleuserid": {
  26346. "description": "业务员id",
  26347. "type": "integer"
  26348. },
  26349. "saleuserlogincode": {
  26350. "description": "业务员登录代码",
  26351. "type": "string"
  26352. },
  26353. "saleusername": {
  26354. "description": "业务员名称",
  26355. "type": "string"
  26356. },
  26357. "spotcontractid": {
  26358. "description": "合同ID",
  26359. "type": "string"
  26360. },
  26361. "spotgoodsbrandid": {
  26362. "description": "现货品牌ID(DGFactoryItem表的ID)",
  26363. "type": "integer"
  26364. },
  26365. "spotgoodsdesc": {
  26366. "description": "商品型号(商品规格)",
  26367. "type": "string"
  26368. },
  26369. "startdate": {
  26370. "description": "点价开始日",
  26371. "type": "string"
  26372. },
  26373. "subjectid": {
  26374. "description": "交易主体ID",
  26375. "type": "integer"
  26376. },
  26377. "subjectname": {
  26378. "description": "交易主体名称",
  26379. "type": "string"
  26380. },
  26381. "totalamount": {
  26382. "description": "合计总额",
  26383. "type": "number"
  26384. },
  26385. "tradeuserid": {
  26386. "description": "交易员id",
  26387. "type": "integer"
  26388. },
  26389. "tradeuserlogincode": {
  26390. "description": "交易员登录代码",
  26391. "type": "string"
  26392. },
  26393. "tradeusername": {
  26394. "description": "交易员名称",
  26395. "type": "string"
  26396. },
  26397. "unpayamount": {
  26398. "description": "应收付款额(应支付或应收款) | 未付款额",
  26399. "type": "number"
  26400. },
  26401. "unpricedqty": {
  26402. "description": "未定价量",
  26403. "type": "number"
  26404. },
  26405. "unsureqty": {
  26406. "description": "未确定量 | 未交收量",
  26407. "type": "number"
  26408. },
  26409. "userid": {
  26410. "description": "机构ID",
  26411. "type": "integer"
  26412. },
  26413. "vatrate": {
  26414. "description": "增值税率",
  26415. "type": "number"
  26416. },
  26417. "wrstandardcode": {
  26418. "description": "品类代码",
  26419. "type": "string"
  26420. },
  26421. "wrstandardid": {
  26422. "description": "品类ID",
  26423. "type": "integer"
  26424. },
  26425. "wrstandardname": {
  26426. "description": "品类名称",
  26427. "type": "string"
  26428. }
  26429. }
  26430. },
  26431. "models.Ermcp3SpotGoodsPrice": {
  26432. "type": "object",
  26433. "properties": {
  26434. "areauserid": {
  26435. "description": "所属机构id",
  26436. "type": "integer"
  26437. },
  26438. "brandname": {
  26439. "description": "品牌名称",
  26440. "type": "string"
  26441. },
  26442. "currencyid": {
  26443. "description": "报价货币ID",
  26444. "type": "integer"
  26445. },
  26446. "currencyname": {
  26447. "description": "币种名称",
  26448. "type": "string"
  26449. },
  26450. "deliverygoodscode": {
  26451. "description": "现货商品代码",
  26452. "type": "string"
  26453. },
  26454. "deliverygoodsid": {
  26455. "description": "现货商品id",
  26456. "type": "integer"
  26457. },
  26458. "deliverygoodsname": {
  26459. "description": "现货商品名称",
  26460. "type": "string"
  26461. },
  26462. "enumdicname": {
  26463. "description": "现货商品单位名称",
  26464. "type": "string"
  26465. },
  26466. "gbenumdicname": {
  26467. "description": "品类单位名称",
  26468. "type": "string"
  26469. },
  26470. "gmunitid": {
  26471. "description": "品类单位id",
  26472. "type": "integer"
  26473. },
  26474. "isvalid": {
  26475. "description": "是否有效 - 0:无效 1:有效",
  26476. "type": "integer"
  26477. },
  26478. "operateid": {
  26479. "description": "最后操作人",
  26480. "type": "integer"
  26481. },
  26482. "operatesrc": {
  26483. "description": "最后操作来源 - 1:管理端 2:终端",
  26484. "type": "integer"
  26485. },
  26486. "operatetime": {
  26487. "description": "最后操作时间",
  26488. "type": "string"
  26489. },
  26490. "operatorname": {
  26491. "description": "操作人名称",
  26492. "type": "string"
  26493. },
  26494. "spotgoodsbrandid": {
  26495. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26496. "type": "integer"
  26497. },
  26498. "spotgoodsprice": {
  26499. "description": "现货价格",
  26500. "type": "number"
  26501. },
  26502. "tradedate": {
  26503. "description": "交易日(yyyyMMdd)",
  26504. "type": "string"
  26505. },
  26506. "unitid": {
  26507. "description": "现货商品单位id",
  26508. "type": "integer"
  26509. },
  26510. "wrstandardcode": {
  26511. "description": "品类代码",
  26512. "type": "string"
  26513. },
  26514. "wrstandardid": {
  26515. "description": "现货品类ID(通用则为0)",
  26516. "type": "integer"
  26517. },
  26518. "wrstandardname": {
  26519. "description": "品类名称",
  26520. "type": "string"
  26521. }
  26522. }
  26523. },
  26524. "models.Ermcp3SpotGoodsPriceLog": {
  26525. "type": "object",
  26526. "properties": {
  26527. "areauserid": {
  26528. "description": "所属机构id",
  26529. "type": "integer"
  26530. },
  26531. "brandname": {
  26532. "description": "品牌名称",
  26533. "type": "string"
  26534. },
  26535. "currencyid": {
  26536. "description": "报价货币ID",
  26537. "type": "integer"
  26538. },
  26539. "deliverygoodscode": {
  26540. "description": "现货商品代码",
  26541. "type": "string"
  26542. },
  26543. "deliverygoodsid": {
  26544. "description": "现货商品id",
  26545. "type": "integer"
  26546. },
  26547. "deliverygoodsname": {
  26548. "description": "现货商品名称",
  26549. "type": "string"
  26550. },
  26551. "enumdicname": {
  26552. "description": "现货商品单位名称",
  26553. "type": "string"
  26554. },
  26555. "gbenumdicname": {
  26556. "description": "品类单位名称",
  26557. "type": "string"
  26558. },
  26559. "gmunitid": {
  26560. "description": "品类单位id",
  26561. "type": "integer"
  26562. },
  26563. "logid": {
  26564. "description": "日志id",
  26565. "type": "integer"
  26566. },
  26567. "operateid": {
  26568. "description": "最后操作人",
  26569. "type": "integer"
  26570. },
  26571. "operatesrc": {
  26572. "description": "最后操作来源 - 1:管理端 2:终端",
  26573. "type": "integer"
  26574. },
  26575. "operatetime": {
  26576. "description": "最后操作时间",
  26577. "type": "string"
  26578. },
  26579. "operatorname": {
  26580. "description": "操作人名称",
  26581. "type": "string"
  26582. },
  26583. "spotgoodsbrandid": {
  26584. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26585. "type": "integer"
  26586. },
  26587. "spotgoodsprice": {
  26588. "description": "现货价格",
  26589. "type": "number"
  26590. },
  26591. "tradedate": {
  26592. "description": "交易日(yyyyMMdd)",
  26593. "type": "string"
  26594. },
  26595. "unitid": {
  26596. "description": "现货商品单位id",
  26597. "type": "integer"
  26598. },
  26599. "wrstandardcode": {
  26600. "description": "品类代码",
  26601. "type": "string"
  26602. },
  26603. "wrstandardid": {
  26604. "description": "现货品类ID(通用则为0)",
  26605. "type": "integer"
  26606. },
  26607. "wrstandardname": {
  26608. "description": "品类名称",
  26609. "type": "string"
  26610. }
  26611. }
  26612. },
  26613. "models.Ermcp3SubTaaccount": {
  26614. "type": "object",
  26615. "properties": {
  26616. "accountid": {
  26617. "description": "资金账户ID",
  26618. "type": "integer"
  26619. },
  26620. "parentaccountcode": {
  26621. "description": "所属根账号代码(母账号代码)",
  26622. "type": "string"
  26623. },
  26624. "parentaccountid": {
  26625. "description": "所属根账号(母账号)",
  26626. "type": "integer"
  26627. },
  26628. "taname": {
  26629. "description": "资金账号名称",
  26630. "type": "string"
  26631. },
  26632. "tradestatus": {
  26633. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  26634. "type": "integer"
  26635. },
  26636. "username": {
  26637. "description": "交易用户",
  26638. "type": "string"
  26639. }
  26640. }
  26641. },
  26642. "models.Ermcp3TaFutuReDataReport": {
  26643. "type": "object",
  26644. "properties": {
  26645. "accountid": {
  26646. "description": "交易账户",
  26647. "type": "integer"
  26648. },
  26649. "accountname": {
  26650. "description": "交易账号名称",
  26651. "type": "string"
  26652. },
  26653. "agreeunit": {
  26654. "description": "商品合约单位",
  26655. "type": "number"
  26656. },
  26657. "begindate": {
  26658. "description": "开始交易日",
  26659. "type": "string"
  26660. },
  26661. "buyorsell": {
  26662. "description": "持仓方向",
  26663. "type": "integer"
  26664. },
  26665. "charge": {
  26666. "description": "手续费",
  26667. "type": "number"
  26668. },
  26669. "closeavgprice": {
  26670. "description": "期初均价",
  26671. "type": "number"
  26672. },
  26673. "closepl": {
  26674. "description": "平仓损益",
  26675. "type": "number"
  26676. },
  26677. "currencyid": {
  26678. "description": "结算币种ID",
  26679. "type": "integer"
  26680. },
  26681. "currencyname": {
  26682. "description": "币种名称",
  26683. "type": "string"
  26684. },
  26685. "cycletime": {
  26686. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26687. "type": "string"
  26688. },
  26689. "cycletype": {
  26690. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26691. "type": "integer"
  26692. },
  26693. "enddate": {
  26694. "description": "结束交易日",
  26695. "type": "string"
  26696. },
  26697. "enumdicname": {
  26698. "description": "单位名称",
  26699. "type": "string"
  26700. },
  26701. "floatpl": {
  26702. "description": "浮动损益",
  26703. "type": "number"
  26704. },
  26705. "goodscode": {
  26706. "description": "交易合约代码",
  26707. "type": "string"
  26708. },
  26709. "goodsgroupid": {
  26710. "description": "交易品种",
  26711. "type": "integer"
  26712. },
  26713. "goodsgroupname": {
  26714. "description": "交易品种名称",
  26715. "type": "string"
  26716. },
  26717. "goodsgroupspotqty": {
  26718. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  26719. "type": "number"
  26720. },
  26721. "goodsid": {
  26722. "description": "交易合约",
  26723. "type": "integer"
  26724. },
  26725. "goodsname": {
  26726. "description": "交易合约名称",
  26727. "type": "string"
  26728. },
  26729. "goodunitid": {
  26730. "description": "交易合约单位id",
  26731. "type": "integer"
  26732. },
  26733. "holdamount": {
  26734. "description": "期末持仓额",
  26735. "type": "number"
  26736. },
  26737. "holdqty": {
  26738. "description": "期初均价",
  26739. "type": "number"
  26740. },
  26741. "lastholdamount": {
  26742. "description": "当前持仓额",
  26743. "type": "number"
  26744. },
  26745. "lastprice": {
  26746. "description": "最新价",
  26747. "type": "number"
  26748. },
  26749. "middlegoodsid": {
  26750. "description": "套保品种id",
  26751. "type": "integer"
  26752. },
  26753. "middlegoodsname": {
  26754. "description": "套保商品名称",
  26755. "type": "string"
  26756. },
  26757. "middlegoodsqty": {
  26758. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  26759. "type": "number"
  26760. },
  26761. "middlgoodscode": {
  26762. "description": "套保商品代码",
  26763. "type": "string"
  26764. },
  26765. "openamount": {
  26766. "description": "期末开仓额",
  26767. "type": "number"
  26768. },
  26769. "openavgprice": {
  26770. "description": "期初均价",
  26771. "type": "number"
  26772. },
  26773. "oriholdamount": {
  26774. "description": "期初持仓额",
  26775. "type": "number"
  26776. },
  26777. "oriholdqty": {
  26778. "description": "期初均价",
  26779. "type": "number"
  26780. },
  26781. "oriopenamount": {
  26782. "description": "期初开仓额",
  26783. "type": "number"
  26784. },
  26785. "outergroupcode": {
  26786. "description": "交易品种代码",
  26787. "type": "string"
  26788. },
  26789. "qtydecimalplace": {
  26790. "description": "成交量小数位",
  26791. "type": "integer"
  26792. },
  26793. "reckondate": {
  26794. "description": "日照时期(yyyyMMdd)",
  26795. "type": "string"
  26796. },
  26797. "reckonholdamount": {
  26798. "description": "结算持仓额",
  26799. "type": "number"
  26800. },
  26801. "reckonpl": {
  26802. "description": "结算损益",
  26803. "type": "number"
  26804. },
  26805. "reckonpl2": {
  26806. "description": "结算逐笔盈亏",
  26807. "type": "number"
  26808. },
  26809. "reckonprice": {
  26810. "description": "结算价",
  26811. "type": "number"
  26812. },
  26813. "relateduserid": {
  26814. "description": "账户关联用户ID",
  26815. "type": "integer"
  26816. },
  26817. "todaycloseamount": {
  26818. "description": "今平仓额",
  26819. "type": "number"
  26820. },
  26821. "todaycloseqty": {
  26822. "description": "期初均价",
  26823. "type": "number"
  26824. },
  26825. "todaygoodsgroupspotqty": {
  26826. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  26827. "type": "number"
  26828. },
  26829. "todaymiddlegoodsqty": {
  26830. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  26831. "type": "number"
  26832. },
  26833. "todayopenamount": {
  26834. "description": "今开仓额",
  26835. "type": "number"
  26836. },
  26837. "todayopenqty": {
  26838. "description": "期初均价",
  26839. "type": "number"
  26840. },
  26841. "userid": {
  26842. "description": "账户所属用户ID",
  26843. "type": "integer"
  26844. }
  26845. }
  26846. },
  26847. "models.Ermcp3TradeLinkDetail": {
  26848. "type": "object",
  26849. "properties": {
  26850. "accountid": {
  26851. "description": "资金账号",
  26852. "type": "integer"
  26853. },
  26854. "agreeunit": {
  26855. "description": "合约乘数",
  26856. "type": "number"
  26857. },
  26858. "areauserid": {
  26859. "description": "所属机构",
  26860. "type": "string"
  26861. },
  26862. "bizsubjectid": {
  26863. "description": "归属业务部门ID - SubjectID",
  26864. "type": "string"
  26865. },
  26866. "buyorsell": {
  26867. "description": "方向 - 0:买 1:卖",
  26868. "type": "integer"
  26869. },
  26870. "channelbuildtype": {
  26871. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26872. "type": "integer"
  26873. },
  26874. "contractno": {
  26875. "description": "现货编号 (合同编号)",
  26876. "type": "string"
  26877. },
  26878. "convertratio": {
  26879. "description": "折算系数",
  26880. "type": "number"
  26881. },
  26882. "createtime": {
  26883. "description": "关联时间 | 创建时间",
  26884. "type": "string"
  26885. },
  26886. "creatorid": {
  26887. "description": "创建人ID",
  26888. "type": "string"
  26889. },
  26890. "creatorsrc": {
  26891. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26892. "type": "integer"
  26893. },
  26894. "enumdicname": {
  26895. "description": "单位名称",
  26896. "type": "string"
  26897. },
  26898. "goodscode": {
  26899. "description": "合约代码",
  26900. "type": "string"
  26901. },
  26902. "goodsgroupid": {
  26903. "description": "对冲品种ID[期货合约商品组ID]",
  26904. "type": "integer"
  26905. },
  26906. "goodsid": {
  26907. "description": "商品ID",
  26908. "type": "integer"
  26909. },
  26910. "goodsname": {
  26911. "description": "合约名称",
  26912. "type": "string"
  26913. },
  26914. "hedgeflag": {
  26915. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26916. "type": "integer"
  26917. },
  26918. "linkdetailid": {
  26919. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26920. "type": "string"
  26921. },
  26922. "linkstatus": {
  26923. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26924. "type": "integer"
  26925. },
  26926. "middlegoodscode": {
  26927. "description": "套保品种代码",
  26928. "type": "string"
  26929. },
  26930. "middlegoodsid": {
  26931. "description": "套保品种ID",
  26932. "type": "integer"
  26933. },
  26934. "middlegoodsname": {
  26935. "description": "套保品种名称",
  26936. "type": "string"
  26937. },
  26938. "relatedlot": {
  26939. "description": "关联手数",
  26940. "type": "number"
  26941. },
  26942. "relatedmode": {
  26943. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26944. "type": "integer"
  26945. },
  26946. "relatedqty": {
  26947. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26948. "type": "number"
  26949. },
  26950. "retcode": {
  26951. "description": "返回码",
  26952. "type": "integer"
  26953. },
  26954. "saleuserid": {
  26955. "description": "业务员ID",
  26956. "type": "string"
  26957. },
  26958. "spotcontractid": {
  26959. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  26960. "type": "string"
  26961. },
  26962. "taname": {
  26963. "description": "期货账户",
  26964. "type": "string"
  26965. },
  26966. "tradedate": {
  26967. "description": "关联交易日(yyyyMMdd)",
  26968. "type": "string"
  26969. },
  26970. "tradeid": {
  26971. "description": "期货订单号 | 内部成交单ID",
  26972. "type": "string"
  26973. },
  26974. "tradelot": {
  26975. "description": "成交数量 | 成交手数",
  26976. "type": "integer"
  26977. },
  26978. "tradeprice": {
  26979. "description": "成交价格",
  26980. "type": "number"
  26981. },
  26982. "tradetime": {
  26983. "description": "期货成交时间",
  26984. "type": "string"
  26985. },
  26986. "tradetradedate": {
  26987. "description": "成交交易日(yyyyMMdd)",
  26988. "type": "string"
  26989. },
  26990. "username": {
  26991. "description": "用户名称",
  26992. "type": "string"
  26993. }
  26994. }
  26995. },
  26996. "models.Ermcp3Wrstandard": {
  26997. "type": "object",
  26998. "properties": {
  26999. "areauserid": {
  27000. "description": "所属机构",
  27001. "type": "integer"
  27002. },
  27003. "cantrade": {
  27004. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  27005. "type": "integer"
  27006. },
  27007. "convertfactor": {
  27008. "description": "标仓系数",
  27009. "type": "number"
  27010. },
  27011. "createtime": {
  27012. "description": "创建时间",
  27013. "type": "string"
  27014. },
  27015. "creatorid": {
  27016. "description": "创建人",
  27017. "type": "integer"
  27018. },
  27019. "deliverygoodsid": {
  27020. "description": "现货品种ID",
  27021. "type": "integer"
  27022. },
  27023. "enumdicname": {
  27024. "description": "品类单位名称",
  27025. "type": "string"
  27026. },
  27027. "isvalid": {
  27028. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  27029. "type": "integer"
  27030. },
  27031. "minivalue": {
  27032. "description": "最小变动值",
  27033. "type": "integer"
  27034. },
  27035. "minivaluedp": {
  27036. "description": "最小变动值小数位",
  27037. "type": "integer"
  27038. },
  27039. "realminivalue": {
  27040. "description": "实际最小变动值",
  27041. "type": "integer"
  27042. },
  27043. "realminivaluedp": {
  27044. "description": "实际最小变动值小数位",
  27045. "type": "integer"
  27046. },
  27047. "remark": {
  27048. "description": "备注",
  27049. "type": "string"
  27050. },
  27051. "unitid": {
  27052. "description": "品类单位ID",
  27053. "type": "integer"
  27054. },
  27055. "updatetime": {
  27056. "description": "更新时间",
  27057. "type": "string"
  27058. },
  27059. "wrstandardcode": {
  27060. "description": "品类代码",
  27061. "type": "string"
  27062. },
  27063. "wrstandardid": {
  27064. "description": "品类ID(SEQ_WRSTANDARD)",
  27065. "type": "integer"
  27066. },
  27067. "wrstandardname": {
  27068. "description": "品类名称",
  27069. "type": "string"
  27070. }
  27071. }
  27072. },
  27073. "models.Ermcp8EnableHedgeditem": {
  27074. "type": "object",
  27075. "properties": {
  27076. "accountname": {
  27077. "description": "套期主体",
  27078. "type": "string"
  27079. },
  27080. "hedgeditemid": {
  27081. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27082. "type": "string"
  27083. },
  27084. "hedgeditemname": {
  27085. "description": "项目名称",
  27086. "type": "string"
  27087. },
  27088. "hedgeditemnum": {
  27089. "description": "项目编号",
  27090. "type": "string"
  27091. },
  27092. "hedgedtype": {
  27093. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27094. "type": "integer"
  27095. },
  27096. "planenddate": {
  27097. "description": "计划结束日期",
  27098. "type": "string"
  27099. },
  27100. "planstartdate": {
  27101. "description": "计划开始日期",
  27102. "type": "string"
  27103. },
  27104. "wrstandardid": {
  27105. "description": "现货商品ID",
  27106. "type": "integer"
  27107. },
  27108. "wrstandardname": {
  27109. "description": "现货商品",
  27110. "type": "string"
  27111. }
  27112. }
  27113. },
  27114. "models.Ermcp8HedgeditemReport": {
  27115. "type": "object",
  27116. "properties": {
  27117. "accountname": {
  27118. "description": "套期主体",
  27119. "type": "string"
  27120. },
  27121. "areauserid": {
  27122. "description": "企业ID",
  27123. "type": "integer"
  27124. },
  27125. "curprice": {
  27126. "description": "[当日现货市场价]当前市场价",
  27127. "type": "number"
  27128. },
  27129. "enumdicname": {
  27130. "description": "单位",
  27131. "type": "string"
  27132. },
  27133. "exeamount": {
  27134. "description": "[执行现货金额]执行市价总额",
  27135. "type": "number"
  27136. },
  27137. "exeavgprice": {
  27138. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  27139. "type": "number"
  27140. },
  27141. "exeqty": {
  27142. "description": "[执行数量]执行现货量",
  27143. "type": "number"
  27144. },
  27145. "futurehedgepl": {
  27146. "description": "期货实际损益",
  27147. "type": "number"
  27148. },
  27149. "futurehedgeplchange": {
  27150. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  27151. "type": "number"
  27152. },
  27153. "futurepl": {
  27154. "description": "期货套期损益",
  27155. "type": "number"
  27156. },
  27157. "futureplchange": {
  27158. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  27159. "type": "number"
  27160. },
  27161. "hedgeamount": {
  27162. "description": "[套期现货金额]套期市价总额",
  27163. "type": "number"
  27164. },
  27165. "hedgeditemnum": {
  27166. "description": "项目编号,模糊查询",
  27167. "type": "string"
  27168. },
  27169. "hedgeditemstatus": {
  27170. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27171. "type": "integer"
  27172. },
  27173. "hedgedtype": {
  27174. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27175. "type": "integer"
  27176. },
  27177. "hedgeqty": {
  27178. "description": "[套期数量]套期现货量",
  27179. "type": "number"
  27180. },
  27181. "oriavgprice": {
  27182. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  27183. "type": "number"
  27184. },
  27185. "orifuturehedgepl": {
  27186. "description": "期初期货实际损益",
  27187. "type": "number"
  27188. },
  27189. "orifuturepl": {
  27190. "description": "期初期货套期损益",
  27191. "type": "number"
  27192. },
  27193. "orispothedgepl": {
  27194. "description": "期初现货实际损益",
  27195. "type": "number"
  27196. },
  27197. "orispotpl": {
  27198. "description": "期初现货套期损益",
  27199. "type": "number"
  27200. },
  27201. "planenddate": {
  27202. "description": "计划结束日期",
  27203. "type": "string"
  27204. },
  27205. "planstartdate": {
  27206. "description": "计划开始日期",
  27207. "type": "string"
  27208. },
  27209. "spothedgepl": {
  27210. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27211. "type": "number"
  27212. },
  27213. "spothedgeplchange": {
  27214. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  27215. "type": "number"
  27216. },
  27217. "spotpl": {
  27218. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  27219. "type": "number"
  27220. },
  27221. "spotplchange": {
  27222. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  27223. "type": "number"
  27224. },
  27225. "tradeuserid": {
  27226. "description": "交易用户ID",
  27227. "type": "integer"
  27228. },
  27229. "unexeqty": {
  27230. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  27231. "type": "number"
  27232. },
  27233. "wrstandardcode": {
  27234. "description": "现货品类代码",
  27235. "type": "string"
  27236. },
  27237. "wrstandardid": {
  27238. "description": "现货商品ID",
  27239. "type": "integer"
  27240. },
  27241. "wrstandardname": {
  27242. "description": "[现货商品]现货品类名称",
  27243. "type": "string"
  27244. }
  27245. }
  27246. },
  27247. "models.Ermcp8RunningHedgeditem": {
  27248. "type": "object",
  27249. "properties": {
  27250. "accountname": {
  27251. "description": "套期主体",
  27252. "type": "string"
  27253. },
  27254. "applyid": {
  27255. "description": "申请人",
  27256. "type": "integer"
  27257. },
  27258. "applysrc": {
  27259. "description": "申请来源 - 1:管理端 2:终端",
  27260. "type": "integer"
  27261. },
  27262. "areauserid": {
  27263. "description": "企业ID",
  27264. "type": "integer"
  27265. },
  27266. "auditid": {
  27267. "description": "审核人",
  27268. "type": "integer"
  27269. },
  27270. "auditremark": {
  27271. "description": "审核备注",
  27272. "type": "string"
  27273. },
  27274. "auditsrc": {
  27275. "description": "审核来源 - 1:管理端 2:终端",
  27276. "type": "integer"
  27277. },
  27278. "audittime": {
  27279. "description": "审核时间",
  27280. "type": "string"
  27281. },
  27282. "audittradedate": {
  27283. "description": "审核交易日(yyyyMMdd)",
  27284. "type": "string"
  27285. },
  27286. "createtime": {
  27287. "description": "申请时间",
  27288. "type": "string"
  27289. },
  27290. "curprice": {
  27291. "description": "当前市场价",
  27292. "type": "number"
  27293. },
  27294. "curstock": {
  27295. "description": "期末库存量 = 采购总量 - 销售总量",
  27296. "type": "number"
  27297. },
  27298. "deliverygoodsid": {
  27299. "description": "现货品种ID",
  27300. "type": "integer"
  27301. },
  27302. "enddate": {
  27303. "description": "完成日期",
  27304. "type": "string"
  27305. },
  27306. "endtradedate": {
  27307. "description": "完成交易日",
  27308. "type": "string"
  27309. },
  27310. "enumdicname": {
  27311. "description": "单位",
  27312. "type": "string"
  27313. },
  27314. "exeamount": {
  27315. "description": "执行市价总额",
  27316. "type": "number"
  27317. },
  27318. "exeavgprice": {
  27319. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  27320. "type": "number"
  27321. },
  27322. "execontractamount": {
  27323. "description": "执行定价总额",
  27324. "type": "number"
  27325. },
  27326. "exeqty": {
  27327. "description": "执行现货量",
  27328. "type": "number"
  27329. },
  27330. "exerestamount": {
  27331. "description": "执行剩余市价总额【现货贸易】",
  27332. "type": "number"
  27333. },
  27334. "futurefloatpl": {
  27335. "description": "期货浮动损益",
  27336. "type": "number"
  27337. },
  27338. "futurehedgepl": {
  27339. "description": "期货实际损益",
  27340. "type": "number"
  27341. },
  27342. "futurehedgeplchange": {
  27343. "description": "期货实际损益变动",
  27344. "type": "number"
  27345. },
  27346. "futurepl": {
  27347. "description": "期货套期损益",
  27348. "type": "number"
  27349. },
  27350. "futureplchange": {
  27351. "description": "期货套期损益变动",
  27352. "type": "number"
  27353. },
  27354. "hedgeamount": {
  27355. "description": "套期市价总额",
  27356. "type": "number"
  27357. },
  27358. "hedgecontractamount": {
  27359. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  27360. "type": "number"
  27361. },
  27362. "hedgeditemid": {
  27363. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27364. "type": "string"
  27365. },
  27366. "hedgeditemname": {
  27367. "description": "项目名称",
  27368. "type": "string"
  27369. },
  27370. "hedgeditemnum": {
  27371. "description": "项目编号",
  27372. "type": "string"
  27373. },
  27374. "hedgeditemstatus": {
  27375. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27376. "type": "integer"
  27377. },
  27378. "hedgedtype": {
  27379. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27380. "type": "integer"
  27381. },
  27382. "hedgeqty": {
  27383. "description": "套期现货量",
  27384. "type": "number"
  27385. },
  27386. "hedgerate": {
  27387. "description": "套保比率",
  27388. "type": "number"
  27389. },
  27390. "hedgerestamount": {
  27391. "description": "套期剩余市价总额【现货贸易】",
  27392. "type": "number"
  27393. },
  27394. "hedgesumpl": {
  27395. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  27396. "type": "number"
  27397. },
  27398. "middlegoodslist": {
  27399. "description": "套期商品列表",
  27400. "type": "array",
  27401. "items": {
  27402. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  27403. }
  27404. },
  27405. "oriavgprice": {
  27406. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  27407. "type": "number"
  27408. },
  27409. "orifuturehedgepl": {
  27410. "description": "期初期货实际损益",
  27411. "type": "number"
  27412. },
  27413. "orifuturepl": {
  27414. "description": "期初期货套期损益",
  27415. "type": "number"
  27416. },
  27417. "orispothedgepl": {
  27418. "description": "期初现货实际损益",
  27419. "type": "number"
  27420. },
  27421. "orispotpl": {
  27422. "description": "期初现货套期损益",
  27423. "type": "number"
  27424. },
  27425. "planenddate": {
  27426. "description": "计划结束日期",
  27427. "type": "string"
  27428. },
  27429. "planstartdate": {
  27430. "description": "计划开始日期",
  27431. "type": "string"
  27432. },
  27433. "remark": {
  27434. "description": "备注",
  27435. "type": "string"
  27436. },
  27437. "spotbookamount": {
  27438. "description": "现货账面总额",
  27439. "type": "number"
  27440. },
  27441. "spotfloatpl": {
  27442. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27443. "type": "number"
  27444. },
  27445. "spothedgepl": {
  27446. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27447. "type": "number"
  27448. },
  27449. "spothedgeplchange": {
  27450. "description": "现货实际损益变动",
  27451. "type": "number"
  27452. },
  27453. "spotpl": {
  27454. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  27455. "type": "number"
  27456. },
  27457. "spotplchange": {
  27458. "description": "现货套期损益变动",
  27459. "type": "number"
  27460. },
  27461. "spottradepl": {
  27462. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  27463. "type": "number"
  27464. },
  27465. "sumobspl": {
  27466. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  27467. "type": "number"
  27468. },
  27469. "tradeuserid": {
  27470. "description": "交易用户ID",
  27471. "type": "integer"
  27472. },
  27473. "unexeqty": {
  27474. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  27475. "type": "number"
  27476. },
  27477. "updatetime": {
  27478. "description": "更新时间",
  27479. "type": "string"
  27480. },
  27481. "vatpl": {
  27482. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  27483. "type": "number"
  27484. },
  27485. "vatrate": {
  27486. "description": "增值税",
  27487. "type": "number"
  27488. },
  27489. "wrstandardid": {
  27490. "description": "现货商品ID",
  27491. "type": "integer"
  27492. },
  27493. "wrstandardname": {
  27494. "description": "商品名称",
  27495. "type": "string"
  27496. }
  27497. }
  27498. },
  27499. "models.ErmcpBizGroupEx": {
  27500. "type": "object",
  27501. "properties": {
  27502. "acclist": {
  27503. "description": "账号列表",
  27504. "type": "array",
  27505. "items": {
  27506. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  27507. }
  27508. },
  27509. "bizgroupid": {
  27510. "description": "业务分组id",
  27511. "type": "integer"
  27512. },
  27513. "biztype": {
  27514. "description": "业务类型 1-套保 2-套利",
  27515. "type": "integer"
  27516. },
  27517. "wrlist": {
  27518. "description": "现货商品表",
  27519. "type": "array",
  27520. "items": {
  27521. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  27522. }
  27523. }
  27524. }
  27525. },
  27526. "models.ErmcpBizGroupSpotGoods": {
  27527. "type": "object",
  27528. "properties": {
  27529. "areauserid": {
  27530. "description": "所属机构id",
  27531. "type": "integer"
  27532. },
  27533. "bizgroupid": {
  27534. "description": "分组id",
  27535. "type": "integer"
  27536. },
  27537. "biztype": {
  27538. "description": "业务类型 1-套保 2-套利",
  27539. "type": "integer"
  27540. },
  27541. "deliverygoodscode": {
  27542. "description": "现货商品代码",
  27543. "type": "string"
  27544. },
  27545. "deliverygoodsid": {
  27546. "description": "现货商品id",
  27547. "type": "integer"
  27548. },
  27549. "deliverygoodsname": {
  27550. "description": "现货商品名称",
  27551. "type": "string"
  27552. },
  27553. "unitid": {
  27554. "description": "现货商品单位id",
  27555. "type": "integer"
  27556. }
  27557. }
  27558. },
  27559. "models.ErmcpBizGroupTaAccount": {
  27560. "type": "object",
  27561. "properties": {
  27562. "accountid": {
  27563. "description": "账号id",
  27564. "type": "integer"
  27565. },
  27566. "accountname": {
  27567. "description": "账号名称",
  27568. "type": "string"
  27569. },
  27570. "areauserid": {
  27571. "description": "所属机构id",
  27572. "type": "integer"
  27573. },
  27574. "bizgroupid": {
  27575. "description": "业务分组id",
  27576. "type": "integer"
  27577. },
  27578. "ismain": {
  27579. "description": "是否主账号 1-是 0-否",
  27580. "type": "integer"
  27581. }
  27582. }
  27583. },
  27584. "models.ErmcpDGFactoryItem": {
  27585. "type": "object",
  27586. "properties": {
  27587. "areauserid": {
  27588. "description": "用户id",
  27589. "type": "integer"
  27590. },
  27591. "deliverygoodsid": {
  27592. "description": "现货品种ID",
  27593. "type": "integer"
  27594. },
  27595. "dgfactoryitemid": {
  27596. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  27597. "type": "integer"
  27598. },
  27599. "dgfactoryitemtypeid": {
  27600. "description": "要素项类型",
  27601. "type": "integer"
  27602. },
  27603. "dgfactoryitemvalue": {
  27604. "description": "要素项值(类型为仓库时填写仓库名称)",
  27605. "type": "string"
  27606. },
  27607. "isvalid": {
  27608. "description": "是否有效 - 0:无效 1:有效",
  27609. "type": "integer"
  27610. },
  27611. "orderindex": {
  27612. "description": "顺序",
  27613. "type": "integer"
  27614. },
  27615. "warehouseid": {
  27616. "description": "仓库ID(类型为仓库时填写)",
  27617. "type": "integer"
  27618. }
  27619. }
  27620. },
  27621. "models.ErmcpDeliveryGoods": {
  27622. "type": "object",
  27623. "properties": {
  27624. "agreeunit": {
  27625. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  27626. "type": "integer"
  27627. },
  27628. "areauserid": {
  27629. "description": "所属机构",
  27630. "type": "integer"
  27631. },
  27632. "auditflag": {
  27633. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  27634. "type": "integer"
  27635. },
  27636. "categoryid": {
  27637. "description": "类别ID(SEQ_WRCATEGORY)",
  27638. "type": "integer"
  27639. },
  27640. "deliverygoodscode": {
  27641. "description": "现货品种代码",
  27642. "type": "string"
  27643. },
  27644. "deliverygoodsid": {
  27645. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  27646. "type": "integer"
  27647. },
  27648. "deliverygoodsname": {
  27649. "description": "现货品种名称",
  27650. "type": "string"
  27651. },
  27652. "deliverygoodstype": {
  27653. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  27654. "type": "integer"
  27655. },
  27656. "dgstatus": {
  27657. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  27658. "type": "integer"
  27659. },
  27660. "enumdicname": {
  27661. "description": "现货品种单位名称",
  27662. "type": "string"
  27663. },
  27664. "goodsunitid": {
  27665. "description": "现货品种单位ID",
  27666. "type": "integer"
  27667. },
  27668. "isvalid": {
  27669. "description": "是否有效 - 0:无效 1:有效",
  27670. "type": "integer"
  27671. },
  27672. "qtydecimalplace": {
  27673. "description": "成交量小数位",
  27674. "type": "integer"
  27675. },
  27676. "remark": {
  27677. "description": "备注",
  27678. "type": "string"
  27679. },
  27680. "standardqty": {
  27681. "description": "标准数量(库位数量) [标准品特有]",
  27682. "type": "integer"
  27683. },
  27684. "standardqtyrange": {
  27685. "description": "标准数量偏差范围 [标准品特有]",
  27686. "type": "integer"
  27687. }
  27688. }
  27689. },
  27690. "models.ErmcpFuturesCompany": {
  27691. "type": "object",
  27692. "properties": {
  27693. "brokerid": {
  27694. "description": "经纪公司代码",
  27695. "type": "string"
  27696. },
  27697. "channeladdress": {
  27698. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  27699. "type": "string"
  27700. },
  27701. "channelid": {
  27702. "description": "对冲渠道ID",
  27703. "type": "string"
  27704. },
  27705. "createtime": {
  27706. "description": "创建时间",
  27707. "type": "string"
  27708. },
  27709. "creatorid": {
  27710. "description": "创建人",
  27711. "type": "string"
  27712. },
  27713. "fcid": {
  27714. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  27715. "type": "integer"
  27716. },
  27717. "fcname": {
  27718. "description": "期货公司名称",
  27719. "type": "string"
  27720. },
  27721. "isvalid": {
  27722. "description": "是否有效 - 0:无效 1:有效",
  27723. "type": "integer"
  27724. },
  27725. "mhpaddress": {
  27726. "description": "MHP服务地址(IP:Port)",
  27727. "type": "string"
  27728. },
  27729. "riskrulegroupid": {
  27730. "description": "风控规则组ID",
  27731. "type": "string"
  27732. },
  27733. "tradefeetmpid": {
  27734. "description": "手续费模板ID[TradeConfigTmpType为2]",
  27735. "type": "string"
  27736. },
  27737. "trademargintmpid": {
  27738. "description": "保证金模板ID [TradeConfigTmpType为1]",
  27739. "type": "string"
  27740. },
  27741. "traderatetmpid": {
  27742. "description": "汇率模板ID[TradeConfigTmpType为3]",
  27743. "type": "string"
  27744. },
  27745. "updatetime": {
  27746. "description": "更新时间",
  27747. "type": "string"
  27748. },
  27749. "updatorid": {
  27750. "description": "更新人",
  27751. "type": "string"
  27752. }
  27753. }
  27754. },
  27755. "models.ErmcpGGConvertCfg": {
  27756. "type": "object",
  27757. "properties": {
  27758. "convertratio": {
  27759. "description": "折算系数",
  27760. "type": "number"
  27761. },
  27762. "destgoodsgroupid": {
  27763. "description": "目标品种ID",
  27764. "type": "integer"
  27765. },
  27766. "dstcode": {
  27767. "description": "目录品种代码",
  27768. "type": "string"
  27769. },
  27770. "dstexchangecode": {
  27771. "description": "目标期货交易所",
  27772. "type": "string"
  27773. },
  27774. "dstname": {
  27775. "description": "目标品种名称",
  27776. "type": "string"
  27777. },
  27778. "dstunitid": {
  27779. "description": "目标品种单位ID",
  27780. "type": "integer"
  27781. },
  27782. "dstunitidname": {
  27783. "description": "目标品种单位名称",
  27784. "type": "string"
  27785. },
  27786. "modifytime": {
  27787. "description": "修改时间",
  27788. "type": "string"
  27789. },
  27790. "srccode": {
  27791. "description": "源品种代码",
  27792. "type": "string"
  27793. },
  27794. "srcexchangecode": {
  27795. "description": "源期货交易所",
  27796. "type": "string"
  27797. },
  27798. "srcgoodsgroupid": {
  27799. "description": "源品种ID",
  27800. "type": "integer"
  27801. },
  27802. "srcname": {
  27803. "description": "源品种名称",
  27804. "type": "string"
  27805. },
  27806. "srcunitid": {
  27807. "description": "源品种单位ID",
  27808. "type": "integer"
  27809. },
  27810. "srcunitidname": {
  27811. "description": "源品种单位名称",
  27812. "type": "string"
  27813. }
  27814. }
  27815. },
  27816. "models.ErmcpGoods": {
  27817. "type": "object",
  27818. "required": [
  27819. "goodscode",
  27820. "goodsid",
  27821. "goodsname",
  27822. "marketid"
  27823. ],
  27824. "properties": {
  27825. "agreeunit": {
  27826. "description": "合约单位",
  27827. "type": "number"
  27828. },
  27829. "areauserid": {
  27830. "description": "所属机构",
  27831. "type": "integer"
  27832. },
  27833. "auditaccountid": {
  27834. "description": "审核操作员账号",
  27835. "type": "integer"
  27836. },
  27837. "audittime": {
  27838. "description": "审核时间",
  27839. "type": "string"
  27840. },
  27841. "cancelaccountid": {
  27842. "description": "注销操作员账号",
  27843. "type": "integer"
  27844. },
  27845. "canceltime": {
  27846. "description": "注销时间",
  27847. "type": "string"
  27848. },
  27849. "closepricemode": {
  27850. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27851. "type": "integer"
  27852. },
  27853. "closepriceparam": {
  27854. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  27855. "type": "number"
  27856. },
  27857. "createtime": {
  27858. "description": "创建时间",
  27859. "type": "string"
  27860. },
  27861. "creatorid": {
  27862. "description": "创建人",
  27863. "type": "integer"
  27864. },
  27865. "currencyid": {
  27866. "description": "报价货币ID",
  27867. "type": "integer"
  27868. },
  27869. "cutmode": {
  27870. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  27871. "type": "integer"
  27872. },
  27873. "decimalplace": {
  27874. "description": "报价小数位",
  27875. "type": "integer"
  27876. },
  27877. "delistingdate": {
  27878. "description": "商品退市时间(状态:退市) -- 已作废",
  27879. "type": "string"
  27880. },
  27881. "delistingmode": {
  27882. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  27883. "type": "integer"
  27884. },
  27885. "deliveryflag": {
  27886. "description": "交割标志 - 0:不可交割 1:可交割",
  27887. "type": "integer"
  27888. },
  27889. "enumdicname": {
  27890. "description": "单位名称",
  27891. "type": "string"
  27892. },
  27893. "forceclosemode": {
  27894. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  27895. "type": "integer"
  27896. },
  27897. "forceclosevalue": {
  27898. "description": "定期强平参数 [收益权]",
  27899. "type": "integer"
  27900. },
  27901. "goodscode": {
  27902. "description": "商品代码(内部)",
  27903. "type": "string"
  27904. },
  27905. "goodscurrencyid": {
  27906. "description": "合约货币ID",
  27907. "type": "integer"
  27908. },
  27909. "goodsgroupid": {
  27910. "description": "所属商品组ID",
  27911. "type": "integer"
  27912. },
  27913. "goodsid": {
  27914. "description": "商品ID(自增ID SEQ_GOODS)",
  27915. "type": "integer"
  27916. },
  27917. "goodsname": {
  27918. "description": "商品名称",
  27919. "type": "string"
  27920. },
  27921. "goodsquotetype": {
  27922. "description": "合约报价类型: 1-直接报价 2-间接报价",
  27923. "type": "integer"
  27924. },
  27925. "goodsstatus": {
  27926. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27927. "type": "integer"
  27928. },
  27929. "goodstradetype": {
  27930. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  27931. "type": "integer"
  27932. },
  27933. "goodunitid": {
  27934. "description": "报价单位ID",
  27935. "type": "integer"
  27936. },
  27937. "hasquoter": {
  27938. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27939. "type": "integer"
  27940. },
  27941. "hqprotecttime": {
  27942. "description": "行情保护时间(秒)",
  27943. "type": "integer"
  27944. },
  27945. "innerdealmode": {
  27946. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27947. "type": "integer"
  27948. },
  27949. "isbuylimited": {
  27950. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27951. "type": "integer"
  27952. },
  27953. "isvisible": {
  27954. "description": "游客是否可见 - 0:不可见 1:可见",
  27955. "type": "integer"
  27956. },
  27957. "lasttradedate": {
  27958. "description": "最后交易日期(状态:待退市)",
  27959. "type": "string"
  27960. },
  27961. "listingdate": {
  27962. "description": "交易开始日期",
  27963. "type": "string"
  27964. },
  27965. "marketid": {
  27966. "description": "所属市场ID",
  27967. "type": "integer"
  27968. },
  27969. "modifierid": {
  27970. "description": "修改人",
  27971. "type": "integer"
  27972. },
  27973. "modifystatus": {
  27974. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  27975. "type": "integer"
  27976. },
  27977. "modifytime": {
  27978. "description": "修改时间",
  27979. "type": "string"
  27980. },
  27981. "outerdealmode": {
  27982. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27983. "type": "integer"
  27984. },
  27985. "outgoodscode": {
  27986. "description": "商品代码(外部)",
  27987. "type": "string"
  27988. },
  27989. "pictureurl": {
  27990. "description": "商品图片",
  27991. "type": "string"
  27992. },
  27993. "qtydecimalplace": {
  27994. "description": "成交量小数位",
  27995. "type": "integer"
  27996. },
  27997. "quotegear": {
  27998. "description": "行情档位(1-10)",
  27999. "type": "integer"
  28000. },
  28001. "quoteminunit": {
  28002. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28003. "type": "integer"
  28004. },
  28005. "quoteshowtype": {
  28006. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28007. "type": "integer"
  28008. },
  28009. "quoteshowtypeinterval": {
  28010. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28011. "type": "integer"
  28012. },
  28013. "relatedgoodsid": {
  28014. "description": "关联参考商品ID",
  28015. "type": "integer"
  28016. },
  28017. "remark": {
  28018. "description": "备注",
  28019. "type": "string"
  28020. },
  28021. "trademode": {
  28022. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28023. "type": "integer"
  28024. }
  28025. }
  28026. },
  28027. "models.ErmcpGoodsBrand": {
  28028. "type": "object",
  28029. "properties": {
  28030. "areauserid": {
  28031. "description": "所属机构",
  28032. "type": "integer"
  28033. },
  28034. "brandid": {
  28035. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  28036. "type": "integer"
  28037. },
  28038. "brandname": {
  28039. "description": "品牌名称",
  28040. "type": "string"
  28041. },
  28042. "createtime": {
  28043. "description": "创建时间",
  28044. "type": "string"
  28045. },
  28046. "creatorid": {
  28047. "description": "创建人",
  28048. "type": "integer"
  28049. },
  28050. "creatorsrc": {
  28051. "description": "创建人来源 - 1:管理端 2:终端",
  28052. "type": "integer"
  28053. },
  28054. "deliverygoodsid": {
  28055. "description": "现货品种ID",
  28056. "type": "integer"
  28057. },
  28058. "isvalid": {
  28059. "description": "是否有效 - 0:无效 1:有效",
  28060. "type": "integer"
  28061. },
  28062. "updatetime": {
  28063. "description": "更新时间",
  28064. "type": "string"
  28065. },
  28066. "updatorid": {
  28067. "description": "更新人",
  28068. "type": "integer"
  28069. },
  28070. "updatorsrc": {
  28071. "description": "更新人来源 - 1:管理端 2:终端",
  28072. "type": "integer"
  28073. },
  28074. "wrstandardid": {
  28075. "description": "现货商品ID",
  28076. "type": "integer"
  28077. }
  28078. }
  28079. },
  28080. "models.ErmcpGoodsModel": {
  28081. "type": "object",
  28082. "properties": {
  28083. "areauserid": {
  28084. "description": "所属机构",
  28085. "type": "integer"
  28086. },
  28087. "convertfactor": {
  28088. "description": "标仓系数",
  28089. "type": "number"
  28090. },
  28091. "createtime": {
  28092. "description": "创建时间",
  28093. "type": "string"
  28094. },
  28095. "creatorid": {
  28096. "description": "创建人",
  28097. "type": "integer"
  28098. },
  28099. "creatorsrc": {
  28100. "description": "创建人来源 - 1:管理端 2:终端",
  28101. "type": "integer"
  28102. },
  28103. "deliverygoodsid": {
  28104. "description": "现货品种ID",
  28105. "type": "integer"
  28106. },
  28107. "isvalid": {
  28108. "description": "是否有效 - 0:无效 1:有效",
  28109. "type": "integer"
  28110. },
  28111. "modelid": {
  28112. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  28113. "type": "integer"
  28114. },
  28115. "modelname": {
  28116. "description": "型号名称",
  28117. "type": "string"
  28118. },
  28119. "updatetime": {
  28120. "description": "更新时间",
  28121. "type": "string"
  28122. },
  28123. "updatorid": {
  28124. "description": "更新人",
  28125. "type": "integer"
  28126. },
  28127. "updatorsrc": {
  28128. "description": "更新人来源 - 1:管理端 2:终端",
  28129. "type": "integer"
  28130. },
  28131. "wrstandardid": {
  28132. "description": "现货商品ID",
  28133. "type": "integer"
  28134. }
  28135. }
  28136. },
  28137. "models.ErmcpHisExposure": {
  28138. "type": "object",
  28139. "properties": {
  28140. "needhedgeexposoure": {
  28141. "description": "应套保敞口",
  28142. "type": "number"
  28143. },
  28144. "reckondate": {
  28145. "description": "日照时期(yyyyMMdd)",
  28146. "type": "string"
  28147. },
  28148. "totalexposure": {
  28149. "description": "总敞口",
  28150. "type": "number"
  28151. }
  28152. }
  28153. },
  28154. "models.ErmcpLoginTaAccount": {
  28155. "type": "object",
  28156. "properties": {
  28157. "accountid": {
  28158. "description": "账号id",
  28159. "type": "integer"
  28160. },
  28161. "accountname": {
  28162. "description": "账号名称",
  28163. "type": "string"
  28164. }
  28165. }
  28166. },
  28167. "models.ErmcpLoginUser": {
  28168. "type": "object",
  28169. "properties": {
  28170. "acclist": {
  28171. "description": "关联资金账号",
  28172. "type": "array",
  28173. "items": {
  28174. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  28175. }
  28176. },
  28177. "accountname": {
  28178. "description": "用户名称",
  28179. "type": "string"
  28180. },
  28181. "clientroleid": {
  28182. "description": "角色id(usertype=2)",
  28183. "type": "integer"
  28184. },
  28185. "createtime": {
  28186. "description": "创建时间",
  28187. "type": "string"
  28188. },
  28189. "logincode": {
  28190. "description": "登录代码",
  28191. "type": "string"
  28192. },
  28193. "loginid": {
  28194. "description": "登录id(LOGINID)",
  28195. "type": "integer"
  28196. },
  28197. "loginname": {
  28198. "description": "登录名称(loginaccount表中的accountname字段)",
  28199. "type": "string"
  28200. },
  28201. "loginstatus": {
  28202. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  28203. "type": "integer"
  28204. },
  28205. "memberuserid": {
  28206. "description": "所属会员id",
  28207. "type": "integer"
  28208. },
  28209. "mobile": {
  28210. "description": "手机号",
  28211. "type": "string"
  28212. },
  28213. "modifytime": {
  28214. "description": "修改时间",
  28215. "type": "string"
  28216. },
  28217. "password": {
  28218. "description": "密码(不可解密)",
  28219. "type": "string"
  28220. },
  28221. "rolename": {
  28222. "description": "角色名称",
  28223. "type": "string"
  28224. },
  28225. "rolestatus": {
  28226. "description": "角色状态 1-启用 2-停用",
  28227. "type": "integer"
  28228. },
  28229. "roletype": {
  28230. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  28231. "type": "string"
  28232. },
  28233. "userid": {
  28234. "description": "用户id",
  28235. "type": "integer"
  28236. },
  28237. "usertype": {
  28238. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28239. "type": "integer"
  28240. }
  28241. }
  28242. },
  28243. "models.ErmcpLoginUserEx": {
  28244. "type": "object",
  28245. "properties": {
  28246. "accountstatus": {
  28247. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28248. "type": "integer"
  28249. },
  28250. "mobile": {
  28251. "description": "手机号",
  28252. "type": "string"
  28253. },
  28254. "querytype": {
  28255. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  28256. "type": "integer"
  28257. },
  28258. "roleid": {
  28259. "description": "角色id(交易账户-\u003e用户id)",
  28260. "type": "integer"
  28261. },
  28262. "rolename": {
  28263. "description": "角色名称(交易账户-\u003e用户名称)",
  28264. "type": "string"
  28265. },
  28266. "userlist": {
  28267. "description": "用户列表",
  28268. "type": "array",
  28269. "items": {
  28270. "$ref": "#/definitions/models.ErmcpLoginUser"
  28271. }
  28272. },
  28273. "usertype": {
  28274. "description": "用户类型 2-机构 7-企业成员(云平台)",
  28275. "type": "integer"
  28276. }
  28277. }
  28278. },
  28279. "models.ErmcpMiddleGoodsModel": {
  28280. "type": "object",
  28281. "properties": {
  28282. "areauserid": {
  28283. "description": "机构用户ID",
  28284. "type": "integer"
  28285. },
  28286. "createtime": {
  28287. "description": "修改时间",
  28288. "type": "string"
  28289. },
  28290. "enumdicname": {
  28291. "description": "单位名称",
  28292. "type": "string"
  28293. },
  28294. "evaluateratio": {
  28295. "description": "估价系数",
  28296. "type": "number"
  28297. },
  28298. "goodsgroupid": {
  28299. "description": "关联期货品种ID",
  28300. "type": "integer"
  28301. },
  28302. "goodsunitid": {
  28303. "description": "单位ID",
  28304. "type": "integer"
  28305. },
  28306. "isvalid": {
  28307. "description": "状态 0-无效(停用) 1-有效(正常)",
  28308. "type": "integer"
  28309. },
  28310. "middlegoodscode": {
  28311. "description": "套保品种代码",
  28312. "type": "string"
  28313. },
  28314. "middlegoodsid": {
  28315. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  28316. "type": "integer"
  28317. },
  28318. "middlegoodsname": {
  28319. "description": "套保品种名称",
  28320. "type": "string"
  28321. },
  28322. "modifytime": {
  28323. "description": "修改时间",
  28324. "type": "string"
  28325. },
  28326. "needarbitrageratio": {
  28327. "description": "套利比例",
  28328. "type": "number"
  28329. },
  28330. "needhedgeratio": {
  28331. "description": "套保比率",
  28332. "type": "number"
  28333. },
  28334. "qtydecimalplace": {
  28335. "description": "数量小数位",
  28336. "type": "integer"
  28337. },
  28338. "relatedgoodsid": {
  28339. "description": "关联交易商品ID",
  28340. "type": "integer"
  28341. },
  28342. "relatedgoodstype": {
  28343. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  28344. "type": "integer"
  28345. },
  28346. "remark": {
  28347. "description": "备注",
  28348. "type": "string"
  28349. }
  28350. }
  28351. },
  28352. "models.ErmcpMiddlegoodsRelateGoods": {
  28353. "type": "object",
  28354. "properties": {
  28355. "agreeunit": {
  28356. "description": "合约乘数",
  28357. "type": "number"
  28358. },
  28359. "convertratio": {
  28360. "description": "折算系数",
  28361. "type": "number"
  28362. },
  28363. "enumdicname": {
  28364. "description": "单位名称(交易商品)",
  28365. "type": "string"
  28366. },
  28367. "goodscode": {
  28368. "description": "交易商品代码",
  28369. "type": "string"
  28370. },
  28371. "goodsgroupid": {
  28372. "description": "交易品种id",
  28373. "type": "integer"
  28374. },
  28375. "goodsid": {
  28376. "description": "商品Id",
  28377. "type": "integer"
  28378. },
  28379. "goodsname": {
  28380. "description": "交易商品名称",
  28381. "type": "string"
  28382. },
  28383. "goodunitid": {
  28384. "description": "交易商品单位id",
  28385. "type": "integer"
  28386. },
  28387. "middlegoodsid": {
  28388. "description": "套保商品id",
  28389. "type": "integer"
  28390. },
  28391. "middlegoodsname": {
  28392. "description": "套保商品名称",
  28393. "type": "string"
  28394. },
  28395. "middlegoodsswcode": {
  28396. "description": "套保商品代码",
  28397. "type": "string"
  28398. },
  28399. "needarbitrageratio": {
  28400. "description": "应套利比例",
  28401. "type": "number"
  28402. },
  28403. "needhedgeratio": {
  28404. "description": "应套保比例",
  28405. "type": "number"
  28406. }
  28407. }
  28408. },
  28409. "models.ErmcpRole": {
  28410. "type": "object",
  28411. "properties": {
  28412. "areauserid": {
  28413. "description": "所属机构",
  28414. "type": "integer"
  28415. },
  28416. "autoid": {
  28417. "description": "角色ID(自增ID)",
  28418. "type": "integer"
  28419. },
  28420. "modifierid": {
  28421. "description": "修改人(创建人)",
  28422. "type": "integer"
  28423. },
  28424. "modifiername": {
  28425. "description": "修改人名称",
  28426. "type": "string"
  28427. },
  28428. "modifytime": {
  28429. "description": "修改时间(创建时间)",
  28430. "type": "string"
  28431. },
  28432. "rolename": {
  28433. "description": "角色名称",
  28434. "type": "string"
  28435. },
  28436. "rolestatus": {
  28437. "description": "角色状态 - 1:启用 2:停用",
  28438. "type": "integer"
  28439. },
  28440. "roletype": {
  28441. "description": "角色类型 - 1- 管理端 2- 交易端",
  28442. "type": "integer"
  28443. }
  28444. }
  28445. },
  28446. "models.ErmcpRoleMenu": {
  28447. "type": "object",
  28448. "properties": {
  28449. "iconame": {
  28450. "description": "菜单图标",
  28451. "type": "string"
  28452. },
  28453. "ishadrole": {
  28454. "description": "是否有权限",
  28455. "type": "boolean"
  28456. },
  28457. "menutype": {
  28458. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  28459. "type": "integer"
  28460. },
  28461. "parentcode": {
  28462. "description": "上级资源代码",
  28463. "type": "string"
  28464. },
  28465. "remark": {
  28466. "description": "菜单备注",
  28467. "type": "string"
  28468. },
  28469. "resourcecode": {
  28470. "description": "菜单代码",
  28471. "type": "string"
  28472. },
  28473. "resourcelevel": {
  28474. "description": "级别",
  28475. "type": "integer"
  28476. },
  28477. "resourcename": {
  28478. "description": "菜单名称",
  28479. "type": "string"
  28480. },
  28481. "roleid": {
  28482. "description": "角色id",
  28483. "type": "integer"
  28484. },
  28485. "sort": {
  28486. "description": "排序",
  28487. "type": "integer"
  28488. },
  28489. "url": {
  28490. "description": "URL",
  28491. "type": "string"
  28492. },
  28493. "userid": {
  28494. "description": "用户id",
  28495. "type": "integer"
  28496. }
  28497. }
  28498. },
  28499. "models.ErmcpRoleMenuEx": {
  28500. "type": "object",
  28501. "properties": {
  28502. "menu": {
  28503. "description": "父级菜单",
  28504. "$ref": "#/definitions/models.ErmcpRoleMenu"
  28505. },
  28506. "subMenu": {
  28507. "description": "子级菜单",
  28508. "type": "array",
  28509. "items": {
  28510. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  28511. }
  28512. }
  28513. }
  28514. },
  28515. "models.ErmcpSpotContractModelEx": {
  28516. "type": "object",
  28517. "properties": {
  28518. "accountname": {
  28519. "description": "套期主体",
  28520. "type": "string"
  28521. },
  28522. "amount": {
  28523. "description": "金额 [1:一口价、3:暂定价]",
  28524. "type": "number"
  28525. },
  28526. "attachment": {
  28527. "description": "附件",
  28528. "type": "string"
  28529. },
  28530. "auditremark": {
  28531. "description": "审核意见",
  28532. "type": "string"
  28533. },
  28534. "audittime": {
  28535. "description": "审核时间",
  28536. "type": "string"
  28537. },
  28538. "avgprice": {
  28539. "description": "定价均价 = 已定价金额 / 已定价量",
  28540. "type": "number"
  28541. },
  28542. "brandname": {
  28543. "description": "品牌名称",
  28544. "type": "string"
  28545. },
  28546. "buyuserid": {
  28547. "description": "采购方ID",
  28548. "type": "integer"
  28549. },
  28550. "buyusername": {
  28551. "description": "采购方名称",
  28552. "type": "string"
  28553. },
  28554. "contracctstatus": {
  28555. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28556. "type": "integer"
  28557. },
  28558. "contractmargin": {
  28559. "description": "合同保证金",
  28560. "type": "number"
  28561. },
  28562. "contractno": {
  28563. "description": "[合同编号]现货合同编号",
  28564. "type": "string"
  28565. },
  28566. "contracttype": {
  28567. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  28568. "type": "integer"
  28569. },
  28570. "convertfactor": {
  28571. "description": "标仓系数",
  28572. "type": "number"
  28573. },
  28574. "createtime": {
  28575. "description": "创建时间",
  28576. "type": "string"
  28577. },
  28578. "customername": {
  28579. "description": "对手方",
  28580. "type": "string"
  28581. },
  28582. "customeruserid": {
  28583. "description": "客户ID",
  28584. "type": "integer"
  28585. },
  28586. "deliveryenddate": {
  28587. "description": "交收期(结束)",
  28588. "type": "string"
  28589. },
  28590. "deliverygoodscode": {
  28591. "description": "现货品种代码",
  28592. "type": "string"
  28593. },
  28594. "deliverygoodsid": {
  28595. "description": "现货品种ID",
  28596. "type": "integer"
  28597. },
  28598. "deliverygoodsname": {
  28599. "description": "现货品种名称",
  28600. "type": "string"
  28601. },
  28602. "deliverystartdate": {
  28603. "description": "交收期(开始)",
  28604. "type": "string"
  28605. },
  28606. "enddate": {
  28607. "description": "点价结束日期 [2:点价 3:暂定价]",
  28608. "type": "string"
  28609. },
  28610. "enumdicname": {
  28611. "description": "单位名称",
  28612. "type": "string"
  28613. },
  28614. "goodscode": {
  28615. "description": "点价合约代码",
  28616. "type": "string"
  28617. },
  28618. "goodsid": {
  28619. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  28620. "type": "integer"
  28621. },
  28622. "goodsname": {
  28623. "description": "点价商品名称",
  28624. "type": "string"
  28625. },
  28626. "isrelated": {
  28627. "description": "是否已关联计划项目 - 0:否 1:是",
  28628. "type": "integer"
  28629. },
  28630. "isrelated2": {
  28631. "description": "是否已关联现货项目 - 0:否 1:是",
  28632. "type": "integer"
  28633. },
  28634. "margin": {
  28635. "description": "当前保证金",
  28636. "type": "number"
  28637. },
  28638. "modelname": {
  28639. "description": "型号名称",
  28640. "type": "string"
  28641. },
  28642. "price": {
  28643. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  28644. "type": "number"
  28645. },
  28646. "pricedamount": {
  28647. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  28648. "type": "number"
  28649. },
  28650. "pricedqty": {
  28651. "description": "已定价量",
  28652. "type": "number"
  28653. },
  28654. "pricemove": {
  28655. "description": "升贴水 [2:点价 3:暂定价]",
  28656. "type": "number"
  28657. },
  28658. "pricetype": {
  28659. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  28660. "type": "integer"
  28661. },
  28662. "producttype": {
  28663. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  28664. "type": "integer"
  28665. },
  28666. "qty": {
  28667. "description": "[合同数量]数量",
  28668. "type": "number"
  28669. },
  28670. "remark": {
  28671. "description": "备注",
  28672. "type": "string"
  28673. },
  28674. "selluserid": {
  28675. "description": "销售方ID",
  28676. "type": "integer"
  28677. },
  28678. "sellusername": {
  28679. "description": "销售方名称",
  28680. "type": "string"
  28681. },
  28682. "spotamount": {
  28683. "description": "合同现货金额 [不含升贴水]",
  28684. "type": "number"
  28685. },
  28686. "spotavgprice": {
  28687. "description": "现货均价 = 合同现货金额 / 已定价量",
  28688. "type": "number"
  28689. },
  28690. "spotcontractid": {
  28691. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  28692. "type": "string"
  28693. },
  28694. "spotgoodsbrandid": {
  28695. "description": "现货品牌ID",
  28696. "type": "integer"
  28697. },
  28698. "spotgoodsdesc": {
  28699. "description": "商品型号",
  28700. "type": "string"
  28701. },
  28702. "spotgoodsmodelid": {
  28703. "description": "现货型号ID",
  28704. "type": "integer"
  28705. },
  28706. "startdate": {
  28707. "description": "点价开始日期 [2:点价 3:暂定价]",
  28708. "type": "string"
  28709. },
  28710. "tradeuserid": {
  28711. "description": "交易用户ID",
  28712. "type": "integer"
  28713. },
  28714. "unpricedqty": {
  28715. "description": "未定价量 = 合同数量 - 已定价量",
  28716. "type": "number"
  28717. },
  28718. "updatetime": {
  28719. "description": "更新时间",
  28720. "type": "string"
  28721. },
  28722. "userid": {
  28723. "description": "机构ID",
  28724. "type": "integer"
  28725. },
  28726. "wrstandardcode": {
  28727. "description": "现货商品代码",
  28728. "type": "string"
  28729. },
  28730. "wrstandardid": {
  28731. "description": "现货商品ID",
  28732. "type": "integer"
  28733. },
  28734. "wrstandardname": {
  28735. "description": "[现货商品]现货商品名称",
  28736. "type": "string"
  28737. }
  28738. }
  28739. },
  28740. "models.ErmcpTaAccount": {
  28741. "type": "object",
  28742. "properties": {
  28743. "accountid": {
  28744. "description": "账户id",
  28745. "type": "integer"
  28746. },
  28747. "accountname": {
  28748. "description": "账户名称",
  28749. "type": "string"
  28750. },
  28751. "currencyid": {
  28752. "description": "币种id",
  28753. "type": "integer"
  28754. },
  28755. "hedgeaccountcode": {
  28756. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28757. "type": "string"
  28758. },
  28759. "ismain": {
  28760. "description": "是否主账户 0-否 1-是",
  28761. "type": "integer"
  28762. },
  28763. "parentaccountid": {
  28764. "description": "父账户id",
  28765. "type": "integer"
  28766. },
  28767. "relateduserid": {
  28768. "description": "关联userid",
  28769. "type": "integer"
  28770. },
  28771. "tradefeetmpid": {
  28772. "description": "手续费模板id",
  28773. "type": "integer"
  28774. },
  28775. "tradefeetmpname": {
  28776. "description": "手续费模板名称",
  28777. "type": "string"
  28778. },
  28779. "trademargintmpid": {
  28780. "description": "保证金模板id",
  28781. "type": "integer"
  28782. },
  28783. "trademargintmpname": {
  28784. "description": "保证金模板名称",
  28785. "type": "string"
  28786. },
  28787. "traderatetmpid": {
  28788. "description": "汇率模板id",
  28789. "type": "integer"
  28790. },
  28791. "traderatetmpname": {
  28792. "description": "汇率模板名称",
  28793. "type": "string"
  28794. },
  28795. "tradestatus": {
  28796. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28797. "type": "integer"
  28798. },
  28799. "userid": {
  28800. "description": "用户id",
  28801. "type": "integer"
  28802. }
  28803. }
  28804. },
  28805. "models.ErmcpTaAccountEx": {
  28806. "type": "object",
  28807. "properties": {
  28808. "mainAcc": {
  28809. "description": "主账号",
  28810. "$ref": "#/definitions/models.ErmcpTaAccountM"
  28811. },
  28812. "subacclist": {
  28813. "description": "子账号列表",
  28814. "type": "array",
  28815. "items": {
  28816. "$ref": "#/definitions/models.ErmcpTaAccount"
  28817. }
  28818. }
  28819. }
  28820. },
  28821. "models.ErmcpTaAccountInfo": {
  28822. "type": "object",
  28823. "properties": {
  28824. "accountid": {
  28825. "description": "资金账户ID",
  28826. "type": "integer"
  28827. },
  28828. "accountname": {
  28829. "description": "账户名称",
  28830. "type": "string"
  28831. },
  28832. "balance": {
  28833. "description": "期初余额",
  28834. "type": "number"
  28835. },
  28836. "capitalbalance": {
  28837. "description": "本金余额[外部子账户实际出入金余额]",
  28838. "type": "number"
  28839. },
  28840. "closepl": {
  28841. "description": "今日平仓盈亏",
  28842. "type": "number"
  28843. },
  28844. "creditdecrease": {
  28845. "description": "今日授信减少",
  28846. "type": "number"
  28847. },
  28848. "creditincrease": {
  28849. "description": "今日授信增加",
  28850. "type": "number"
  28851. },
  28852. "curdebt": {
  28853. "description": "期末欠款",
  28854. "type": "number"
  28855. },
  28856. "currencyid": {
  28857. "description": "货币ID",
  28858. "type": "integer"
  28859. },
  28860. "currentbalance": {
  28861. "description": "期末余额",
  28862. "type": "number"
  28863. },
  28864. "freezecharge": {
  28865. "description": "手续费冻结",
  28866. "type": "number"
  28867. },
  28868. "freezemargin": {
  28869. "description": "冻结保证金",
  28870. "type": "number"
  28871. },
  28872. "fromaccountid": {
  28873. "description": "所属上级账户",
  28874. "type": "integer"
  28875. },
  28876. "inamount": {
  28877. "description": "今日入金金额(包括三方入金)",
  28878. "type": "number"
  28879. },
  28880. "ismain": {
  28881. "description": "是否母账号 0:不是母账户 1:是母账户",
  28882. "type": "integer"
  28883. },
  28884. "mortgagecredit": {
  28885. "description": "授信金额",
  28886. "type": "number"
  28887. },
  28888. "oridebt": {
  28889. "description": "期初欠款",
  28890. "type": "number"
  28891. },
  28892. "orifreezecharge": {
  28893. "description": "期初手续费冻结",
  28894. "type": "number"
  28895. },
  28896. "orifreezemargin": {
  28897. "description": "期初冻结保证金",
  28898. "type": "number"
  28899. },
  28900. "orimortgagecredit": {
  28901. "description": "期初授信金额",
  28902. "type": "number"
  28903. },
  28904. "oriothercredit": {
  28905. "description": "期初其它授信金额",
  28906. "type": "number"
  28907. },
  28908. "oriotherfreezemargin": {
  28909. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28910. "type": "number"
  28911. },
  28912. "orioutamountfreeze": {
  28913. "description": "期初出金冻结",
  28914. "type": "number"
  28915. },
  28916. "oriusedmargin": {
  28917. "description": "期初占用保证金",
  28918. "type": "number"
  28919. },
  28920. "othercredit": {
  28921. "description": "其它授信金额",
  28922. "type": "number"
  28923. },
  28924. "othercreditdecrease": {
  28925. "description": "今日其它授信减少",
  28926. "type": "number"
  28927. },
  28928. "othercreditincrease": {
  28929. "description": "今日其它授信增加",
  28930. "type": "number"
  28931. },
  28932. "otherfreezemargin": {
  28933. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28934. "type": "number"
  28935. },
  28936. "outamount": {
  28937. "description": "今日出金金额(包括三方出金)",
  28938. "type": "number"
  28939. },
  28940. "outamountfreeze": {
  28941. "description": "出金冻结",
  28942. "type": "number"
  28943. },
  28944. "outthreshold": {
  28945. "description": "出金阈值",
  28946. "type": "number"
  28947. },
  28948. "parentaccountid": {
  28949. "description": "所属根账号",
  28950. "type": "integer"
  28951. },
  28952. "paycharge": {
  28953. "description": "今日手续费支出",
  28954. "type": "number"
  28955. },
  28956. "relateduserid": {
  28957. "description": "关联用户",
  28958. "type": "integer"
  28959. },
  28960. "signstatus": {
  28961. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28962. "type": "integer"
  28963. },
  28964. "sublevelpath": {
  28965. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28966. "type": "string"
  28967. },
  28968. "taaccounttype": {
  28969. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28970. "type": "integer"
  28971. },
  28972. "thirdinamount": {
  28973. "description": "今日三方入金",
  28974. "type": "number"
  28975. },
  28976. "thirdoutamount": {
  28977. "description": "今日三方出金",
  28978. "type": "number"
  28979. },
  28980. "tradestatus": {
  28981. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28982. "type": "integer"
  28983. },
  28984. "transferamount": {
  28985. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28986. "type": "number"
  28987. },
  28988. "usedmargin": {
  28989. "description": "占用保证金",
  28990. "type": "number"
  28991. },
  28992. "userid": {
  28993. "description": "用户ID",
  28994. "type": "integer"
  28995. }
  28996. }
  28997. },
  28998. "models.ErmcpTaAccountM": {
  28999. "type": "object",
  29000. "properties": {
  29001. "accountid": {
  29002. "description": "账户id",
  29003. "type": "integer"
  29004. },
  29005. "accountname": {
  29006. "description": "账户名称",
  29007. "type": "string"
  29008. },
  29009. "currencyid": {
  29010. "description": "币种id",
  29011. "type": "integer"
  29012. },
  29013. "fcid": {
  29014. "description": "期货公司id",
  29015. "type": "integer"
  29016. },
  29017. "fcname": {
  29018. "description": "期货公司代码",
  29019. "type": "string"
  29020. },
  29021. "hedgeaccountcode": {
  29022. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29023. "type": "string"
  29024. },
  29025. "ismain": {
  29026. "description": "是否主账户 0-否 1-是",
  29027. "type": "integer"
  29028. },
  29029. "parentaccountid": {
  29030. "description": "父账户id",
  29031. "type": "integer"
  29032. },
  29033. "relateduserid": {
  29034. "description": "关联userid",
  29035. "type": "integer"
  29036. },
  29037. "tradefeetmpid": {
  29038. "description": "手续费模板id",
  29039. "type": "integer"
  29040. },
  29041. "tradefeetmpname": {
  29042. "description": "手续费模板名称",
  29043. "type": "string"
  29044. },
  29045. "trademargintmpid": {
  29046. "description": "保证金模板id",
  29047. "type": "integer"
  29048. },
  29049. "trademargintmpname": {
  29050. "description": "保证金模板名称",
  29051. "type": "string"
  29052. },
  29053. "traderatetmpid": {
  29054. "description": "汇率模板id",
  29055. "type": "integer"
  29056. },
  29057. "traderatetmpname": {
  29058. "description": "汇率模板名称",
  29059. "type": "string"
  29060. },
  29061. "tradestatus": {
  29062. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29063. "type": "integer"
  29064. },
  29065. "userid": {
  29066. "description": "用户id",
  29067. "type": "integer"
  29068. }
  29069. }
  29070. },
  29071. "models.ErmcpTradeConfigTMP": {
  29072. "type": "object",
  29073. "properties": {
  29074. "areauserid": {
  29075. "description": "所属机构",
  29076. "type": "integer"
  29077. },
  29078. "basiccurrencyid": {
  29079. "description": "基本币种ID[汇率] - 目标币种",
  29080. "type": "integer"
  29081. },
  29082. "mainaccountid": {
  29083. "description": "主账户ID",
  29084. "type": "integer"
  29085. },
  29086. "modifierid": {
  29087. "description": "修改人",
  29088. "type": "integer"
  29089. },
  29090. "remark": {
  29091. "description": "备注",
  29092. "type": "string"
  29093. },
  29094. "tradeconfigtmpid": {
  29095. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  29096. "type": "integer"
  29097. },
  29098. "tradeconfigtmpname": {
  29099. "description": "交易配置模板名称",
  29100. "type": "string"
  29101. },
  29102. "tradeconfigtmptype": {
  29103. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  29104. "type": "integer"
  29105. },
  29106. "updatetime": {
  29107. "description": "更新时间",
  29108. "type": "string"
  29109. }
  29110. }
  29111. },
  29112. "models.Ermcpjrlinkpos": {
  29113. "type": "object",
  29114. "required": [
  29115. "spotcontractid"
  29116. ],
  29117. "properties": {
  29118. "areauserid": {
  29119. "description": "所属企业",
  29120. "type": "integer"
  29121. },
  29122. "averageprice": {
  29123. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  29124. "type": "number"
  29125. },
  29126. "closepl": {
  29127. "description": "总平仓盈亏 [期货损益]",
  29128. "type": "number"
  29129. },
  29130. "executeprice": {
  29131. "description": "执行价 - 1:期货单 为 0",
  29132. "type": "integer"
  29133. },
  29134. "futurehedgeqty": {
  29135. "description": "期货套期量",
  29136. "type": "number"
  29137. },
  29138. "goodsid": {
  29139. "description": "期货合约",
  29140. "type": "integer"
  29141. },
  29142. "middlegoodscode": {
  29143. "description": "套保商品代码",
  29144. "type": "string"
  29145. },
  29146. "middlegoodsname": {
  29147. "description": "套保商品名称",
  29148. "type": "string"
  29149. },
  29150. "netqty": {
  29151. "description": "净头寸",
  29152. "type": "number"
  29153. },
  29154. "optioncode": {
  29155. "description": "期权代码",
  29156. "type": "string"
  29157. },
  29158. "ordertype": {
  29159. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29160. "type": "integer"
  29161. },
  29162. "reckonpl": {
  29163. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  29164. "type": "number"
  29165. },
  29166. "spotcontractid": {
  29167. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  29168. "type": "string"
  29169. },
  29170. "todayfutureclosepl": {
  29171. "description": "今日平仓盈亏",
  29172. "type": "number"
  29173. },
  29174. "totalbuyamount": {
  29175. "description": "买金额 [期货]",
  29176. "type": "number"
  29177. },
  29178. "totalbuyholdamount": {
  29179. "description": "买持仓总金额[期货]",
  29180. "type": "number"
  29181. },
  29182. "totalbuyqty": {
  29183. "description": "买数量",
  29184. "type": "number"
  29185. },
  29186. "totalcharge": {
  29187. "description": "手续费",
  29188. "type": "number"
  29189. },
  29190. "totalpremium": {
  29191. "description": "权利金 [期权]",
  29192. "type": "number"
  29193. },
  29194. "totalsellamount": {
  29195. "description": "卖金额 [期货]",
  29196. "type": "number"
  29197. },
  29198. "totalsellholdamount": {
  29199. "description": "卖持仓总金额[期货]",
  29200. "type": "number"
  29201. },
  29202. "totalsellqty": {
  29203. "description": "卖数量",
  29204. "type": "number"
  29205. },
  29206. "updatetime": {
  29207. "description": "更新时间",
  29208. "type": "string"
  29209. }
  29210. }
  29211. },
  29212. "models.Ermcppatradelinkdetail": {
  29213. "type": "object",
  29214. "required": [
  29215. "hedgeditemid"
  29216. ],
  29217. "properties": {
  29218. "agreeunit": {
  29219. "description": "合约乘数",
  29220. "type": "number"
  29221. },
  29222. "amount": {
  29223. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  29224. "type": "number"
  29225. },
  29226. "areauserid": {
  29227. "description": "所属机构",
  29228. "type": "integer"
  29229. },
  29230. "bizsubjectid": {
  29231. "description": "归属业务部门ID - SubjectID",
  29232. "type": "integer"
  29233. },
  29234. "buyorsell": {
  29235. "description": "方向 - 0:买 1:卖",
  29236. "type": "integer"
  29237. },
  29238. "convertratio": {
  29239. "description": "品种系数",
  29240. "type": "number"
  29241. },
  29242. "createtime": {
  29243. "description": "创建时间",
  29244. "type": "string"
  29245. },
  29246. "creatorid": {
  29247. "description": "创建人ID",
  29248. "type": "integer"
  29249. },
  29250. "creatorsrc": {
  29251. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29252. "type": "integer"
  29253. },
  29254. "goodsgroupid": {
  29255. "description": "对冲品种ID[期货合约商品组ID]",
  29256. "type": "integer"
  29257. },
  29258. "goodsid": {
  29259. "description": "商品ID",
  29260. "type": "integer"
  29261. },
  29262. "hedgeditemid": {
  29263. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29264. "type": "integer"
  29265. },
  29266. "hedgeflag": {
  29267. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29268. "type": "integer"
  29269. },
  29270. "linkdetailid": {
  29271. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29272. "type": "string"
  29273. },
  29274. "linkstatus": {
  29275. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29276. "type": "integer"
  29277. },
  29278. "middlegoodsid": {
  29279. "description": "套保品种ID",
  29280. "type": "integer"
  29281. },
  29282. "name": {
  29283. "description": "账户名/子账户",
  29284. "type": "string"
  29285. },
  29286. "optioncode": {
  29287. "description": "[期货合约]期权代码 [期权]",
  29288. "type": "string"
  29289. },
  29290. "ordertype": {
  29291. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29292. "type": "integer"
  29293. },
  29294. "relatedlot": {
  29295. "description": "[数量]关联手数",
  29296. "type": "number"
  29297. },
  29298. "relatedmode": {
  29299. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29300. "type": "integer"
  29301. },
  29302. "relatedqty": {
  29303. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29304. "type": "number"
  29305. },
  29306. "retcode": {
  29307. "description": "返回码",
  29308. "type": "integer"
  29309. },
  29310. "saleuserid": {
  29311. "description": "业务员ID",
  29312. "type": "integer"
  29313. },
  29314. "tradedate": {
  29315. "description": "关联交易日(yyyyMMdd)",
  29316. "type": "string"
  29317. },
  29318. "tradeid": {
  29319. "description": "[成交单号]内部成交单ID",
  29320. "type": "string"
  29321. },
  29322. "tradelot": {
  29323. "description": "成交手数",
  29324. "type": "integer"
  29325. },
  29326. "tradeprice": {
  29327. "description": "[价格]成交价格",
  29328. "type": "number"
  29329. },
  29330. "tradetime": {
  29331. "description": "日期时间",
  29332. "type": "string"
  29333. },
  29334. "tradetradedate": {
  29335. "description": "成交交易日(yyyyMMdd)",
  29336. "type": "string"
  29337. }
  29338. }
  29339. },
  29340. "models.Externalexchange": {
  29341. "type": "object",
  29342. "required": [
  29343. "autoid"
  29344. ],
  29345. "properties": {
  29346. "autoid": {
  29347. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  29348. "type": "integer"
  29349. },
  29350. "exchangefullname": {
  29351. "description": "外部交易所全称",
  29352. "type": "string"
  29353. },
  29354. "exexchangecode": {
  29355. "description": "外部交易所代码",
  29356. "type": "string"
  29357. },
  29358. "exexchangename": {
  29359. "description": "外部交易所名称(简称)",
  29360. "type": "string"
  29361. },
  29362. "ismarketprice": {
  29363. "description": "是否支持市价 - 0:不支持 1:支持",
  29364. "type": "integer"
  29365. },
  29366. "quotegear": {
  29367. "description": "行情档位(1-10)",
  29368. "type": "integer"
  29369. },
  29370. "showbrokerflag": {
  29371. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  29372. "type": "integer"
  29373. },
  29374. "updatetime": {
  29375. "description": "更新时间",
  29376. "type": "string"
  29377. }
  29378. }
  29379. },
  29380. "models.Funcmenulist": {
  29381. "type": "object",
  29382. "required": [
  29383. "resourcecode"
  29384. ],
  29385. "properties": {
  29386. "iconame": {
  29387. "description": "菜单图标",
  29388. "type": "string"
  29389. },
  29390. "menutype": {
  29391. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  29392. "type": "integer"
  29393. },
  29394. "parentcode": {
  29395. "description": "上级资源代码",
  29396. "type": "string"
  29397. },
  29398. "remark": {
  29399. "description": "备注",
  29400. "type": "string"
  29401. },
  29402. "resourcecode": {
  29403. "description": "资源代码",
  29404. "type": "string"
  29405. },
  29406. "resourcelevel": {
  29407. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  29408. "type": "integer"
  29409. },
  29410. "resourcename": {
  29411. "description": "资源名",
  29412. "type": "string"
  29413. },
  29414. "sort": {
  29415. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  29416. "type": "integer"
  29417. },
  29418. "url": {
  29419. "description": "URL",
  29420. "type": "string"
  29421. }
  29422. }
  29423. },
  29424. "models.GZWarehouseinfo": {
  29425. "type": "object",
  29426. "properties": {
  29427. "address": {
  29428. "description": "详细地址",
  29429. "type": "string"
  29430. },
  29431. "areauserid": {
  29432. "description": "所属机构",
  29433. "type": "integer"
  29434. },
  29435. "autoid": {
  29436. "description": "自增ID",
  29437. "type": "integer"
  29438. },
  29439. "cityid": {
  29440. "description": "市",
  29441. "type": "integer"
  29442. },
  29443. "contactname": {
  29444. "description": "联系人",
  29445. "type": "string"
  29446. },
  29447. "contactnum": {
  29448. "description": "联系电话",
  29449. "type": "string"
  29450. },
  29451. "countryid": {
  29452. "description": "国家",
  29453. "type": "integer"
  29454. },
  29455. "createtime": {
  29456. "description": "创建时间",
  29457. "type": "string"
  29458. },
  29459. "districtid": {
  29460. "description": "区",
  29461. "type": "integer"
  29462. },
  29463. "hasvideo": {
  29464. "description": "是否有视频 - 0:无 1:有",
  29465. "type": "integer"
  29466. },
  29467. "provinceid": {
  29468. "description": "省",
  29469. "type": "integer"
  29470. },
  29471. "remark": {
  29472. "description": "审核备注",
  29473. "type": "string"
  29474. },
  29475. "videourl": {
  29476. "description": "视频地址",
  29477. "type": "string"
  29478. },
  29479. "warehousecode": {
  29480. "description": "仓库代码",
  29481. "type": "string"
  29482. },
  29483. "warehousename": {
  29484. "description": "仓库名称",
  29485. "type": "string"
  29486. },
  29487. "warehousestatus": {
  29488. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29489. "type": "integer"
  29490. },
  29491. "warehousetype": {
  29492. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29493. "type": "integer"
  29494. }
  29495. }
  29496. },
  29497. "models.Goods": {
  29498. "type": "object",
  29499. "required": [
  29500. "goodscode",
  29501. "goodsid",
  29502. "goodsname",
  29503. "marketid"
  29504. ],
  29505. "properties": {
  29506. "agreeunit": {
  29507. "description": "合约单位",
  29508. "type": "number"
  29509. },
  29510. "areauserid": {
  29511. "description": "所属机构",
  29512. "type": "integer"
  29513. },
  29514. "auditaccountid": {
  29515. "description": "审核操作员账号",
  29516. "type": "integer"
  29517. },
  29518. "audittime": {
  29519. "description": "审核时间",
  29520. "type": "string"
  29521. },
  29522. "cancelaccountid": {
  29523. "description": "注销操作员账号",
  29524. "type": "integer"
  29525. },
  29526. "canceltime": {
  29527. "description": "注销时间",
  29528. "type": "string"
  29529. },
  29530. "closepricemode": {
  29531. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29532. "type": "integer"
  29533. },
  29534. "closepriceparam": {
  29535. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  29536. "type": "number"
  29537. },
  29538. "createtime": {
  29539. "description": "创建时间",
  29540. "type": "string"
  29541. },
  29542. "creatorid": {
  29543. "description": "创建人",
  29544. "type": "integer"
  29545. },
  29546. "currencyid": {
  29547. "description": "报价货币ID",
  29548. "type": "integer"
  29549. },
  29550. "cutmode": {
  29551. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  29552. "type": "integer"
  29553. },
  29554. "decimalplace": {
  29555. "description": "报价小数位",
  29556. "type": "integer"
  29557. },
  29558. "delistingdate": {
  29559. "description": "商品退市时间(状态:退市) -- 已作废",
  29560. "type": "string"
  29561. },
  29562. "delistingmode": {
  29563. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  29564. "type": "integer"
  29565. },
  29566. "deliveryflag": {
  29567. "description": "交割标志 - 0:不可交割 1:可交割",
  29568. "type": "integer"
  29569. },
  29570. "forceclosemode": {
  29571. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  29572. "type": "integer"
  29573. },
  29574. "forceclosevalue": {
  29575. "description": "定期强平参数 [收益权]",
  29576. "type": "integer"
  29577. },
  29578. "goodscode": {
  29579. "description": "商品代码(内部)",
  29580. "type": "string"
  29581. },
  29582. "goodscurrencyid": {
  29583. "description": "合约货币ID",
  29584. "type": "integer"
  29585. },
  29586. "goodsgroupid": {
  29587. "description": "所属商品组ID",
  29588. "type": "integer"
  29589. },
  29590. "goodsid": {
  29591. "description": "商品ID(自增ID SEQ_GOODS)",
  29592. "type": "integer"
  29593. },
  29594. "goodsname": {
  29595. "description": "商品名称",
  29596. "type": "string"
  29597. },
  29598. "goodsquotetype": {
  29599. "description": "合约报价类型: 1-直接报价 2-间接报价",
  29600. "type": "integer"
  29601. },
  29602. "goodsstatus": {
  29603. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29604. "type": "integer"
  29605. },
  29606. "goodstradetype": {
  29607. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  29608. "type": "integer"
  29609. },
  29610. "goodunitid": {
  29611. "description": "报价单位ID",
  29612. "type": "integer"
  29613. },
  29614. "hasquoter": {
  29615. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  29616. "type": "integer"
  29617. },
  29618. "hqprotecttime": {
  29619. "description": "行情保护时间(秒)",
  29620. "type": "integer"
  29621. },
  29622. "innerdealmode": {
  29623. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29624. "type": "integer"
  29625. },
  29626. "isbuylimited": {
  29627. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29628. "type": "integer"
  29629. },
  29630. "isvisible": {
  29631. "description": "游客是否可见 - 0:不可见 1:可见",
  29632. "type": "integer"
  29633. },
  29634. "lasttradedate": {
  29635. "description": "最后交易日期(状态:待退市)",
  29636. "type": "string"
  29637. },
  29638. "listingdate": {
  29639. "description": "交易开始日期",
  29640. "type": "string"
  29641. },
  29642. "marketid": {
  29643. "description": "所属市场ID",
  29644. "type": "integer"
  29645. },
  29646. "modifierid": {
  29647. "description": "修改人",
  29648. "type": "integer"
  29649. },
  29650. "modifystatus": {
  29651. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  29652. "type": "integer"
  29653. },
  29654. "modifytime": {
  29655. "description": "修改时间",
  29656. "type": "string"
  29657. },
  29658. "outerdealmode": {
  29659. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29660. "type": "integer"
  29661. },
  29662. "outgoodscode": {
  29663. "description": "商品代码(外部)",
  29664. "type": "string"
  29665. },
  29666. "pictureurl": {
  29667. "description": "商品图片",
  29668. "type": "string"
  29669. },
  29670. "qtydecimalplace": {
  29671. "description": "成交量小数位",
  29672. "type": "integer"
  29673. },
  29674. "quotegear": {
  29675. "description": "行情档位(1-10)",
  29676. "type": "integer"
  29677. },
  29678. "quoteminunit": {
  29679. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29680. "type": "integer"
  29681. },
  29682. "quoteshowtype": {
  29683. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  29684. "type": "integer"
  29685. },
  29686. "quoteshowtypeinterval": {
  29687. "description": "行情报价间隔时间(秒)(成交价时为0)",
  29688. "type": "integer"
  29689. },
  29690. "remark": {
  29691. "description": "备注",
  29692. "type": "string"
  29693. }
  29694. }
  29695. },
  29696. "models.GoodsIDAndName": {
  29697. "type": "object",
  29698. "required": [
  29699. "goodscode",
  29700. "goodsid",
  29701. "goodsname",
  29702. "marketid"
  29703. ],
  29704. "properties": {
  29705. "goodscode": {
  29706. "description": "商品代码(内部)",
  29707. "type": "string"
  29708. },
  29709. "goodsid": {
  29710. "description": "商品ID(自增ID SEQ_GOODS)",
  29711. "type": "integer"
  29712. },
  29713. "goodsname": {
  29714. "description": "商品名称",
  29715. "type": "string"
  29716. },
  29717. "marketid": {
  29718. "description": "所属市场ID",
  29719. "type": "integer"
  29720. }
  29721. }
  29722. },
  29723. "models.Goodsgroup": {
  29724. "type": "object",
  29725. "required": [
  29726. "goodsgroupid",
  29727. "goodsgroupname",
  29728. "goodsgroupstatus",
  29729. "marketid"
  29730. ],
  29731. "properties": {
  29732. "agreeunit": {
  29733. "description": "合约单位",
  29734. "type": "number"
  29735. },
  29736. "canshort": {
  29737. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  29738. "type": "integer"
  29739. },
  29740. "closepricemode": {
  29741. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29742. "type": "integer"
  29743. },
  29744. "closepriceparam": {
  29745. "description": "强平最新价浮动比例 - 方式为2时使用",
  29746. "type": "number"
  29747. },
  29748. "createtime": {
  29749. "description": "创建时间",
  29750. "type": "string"
  29751. },
  29752. "creatorid": {
  29753. "description": "创建人",
  29754. "type": "integer"
  29755. },
  29756. "currencyid": {
  29757. "description": "报价货币ID",
  29758. "type": "integer"
  29759. },
  29760. "decimalplace": {
  29761. "description": "报价小数位",
  29762. "type": "integer"
  29763. },
  29764. "exercisetype": {
  29765. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  29766. "type": "integer"
  29767. },
  29768. "exexchangeid": {
  29769. "description": "外部交易所ID[通道交易]",
  29770. "type": "integer"
  29771. },
  29772. "goodsgroupid": {
  29773. "description": "商品组ID(自增ID)",
  29774. "type": "integer"
  29775. },
  29776. "goodsgroupname": {
  29777. "description": "商品组名称",
  29778. "type": "string"
  29779. },
  29780. "goodsgroupstatus": {
  29781. "description": "商品组状态 - 1:正常 2:注销",
  29782. "type": "integer"
  29783. },
  29784. "goodunitid": {
  29785. "description": "报价单位ID",
  29786. "type": "integer"
  29787. },
  29788. "innerdealmode": {
  29789. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29790. "type": "integer"
  29791. },
  29792. "isbuylimited": {
  29793. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29794. "type": "integer"
  29795. },
  29796. "marketid": {
  29797. "description": "所属市场ID",
  29798. "type": "integer"
  29799. },
  29800. "modifierid": {
  29801. "description": "修改人",
  29802. "type": "integer"
  29803. },
  29804. "modifytime": {
  29805. "description": "修改时间",
  29806. "type": "string"
  29807. },
  29808. "outerdealmode": {
  29809. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29810. "type": "integer"
  29811. },
  29812. "outergroupcode": {
  29813. "description": "外部商品组代码[通道交易]",
  29814. "type": "string"
  29815. },
  29816. "premiumdecimalplace": {
  29817. "description": "权利金小数位[场外期权]",
  29818. "type": "integer"
  29819. },
  29820. "premiumspreadalgorithm": {
  29821. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  29822. "type": "integer"
  29823. },
  29824. "premiumspreadvalue": {
  29825. "description": "权利金点差值[场外期权]",
  29826. "type": "number"
  29827. },
  29828. "qtydecimalplace": {
  29829. "description": "成交量小数位",
  29830. "type": "integer"
  29831. },
  29832. "quotegear": {
  29833. "description": "行情档位(1-10)",
  29834. "type": "integer"
  29835. },
  29836. "quoteminunit": {
  29837. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29838. "type": "integer"
  29839. },
  29840. "quoterid": {
  29841. "description": "报价商ID[场外期权]",
  29842. "type": "integer"
  29843. },
  29844. "quotesourcegroupid": {
  29845. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  29846. "type": "integer"
  29847. },
  29848. "syncgoodsqty": {
  29849. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  29850. "type": "integer"
  29851. }
  29852. }
  29853. },
  29854. "models.Goodssortbypreposition": {
  29855. "type": "object",
  29856. "required": [
  29857. "goodscode",
  29858. "tradedate"
  29859. ],
  29860. "properties": {
  29861. "goodscode": {
  29862. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  29863. "type": "string"
  29864. },
  29865. "goodsgroupcode": {
  29866. "description": "品种代码",
  29867. "type": "string"
  29868. },
  29869. "prepositionqty": {
  29870. "description": "昨持仓量",
  29871. "type": "integer"
  29872. },
  29873. "sortindex": {
  29874. "description": "排序",
  29875. "type": "integer"
  29876. },
  29877. "tradedate": {
  29878. "description": "交易日",
  29879. "type": "string"
  29880. },
  29881. "updatetime": {
  29882. "description": "更新时间",
  29883. "type": "string"
  29884. }
  29885. }
  29886. },
  29887. "models.Hedgeinnerholderdetail": {
  29888. "type": "object",
  29889. "required": [
  29890. "buyorsell",
  29891. "tradeid"
  29892. ],
  29893. "properties": {
  29894. "accountid": {
  29895. "description": "账号ID",
  29896. "type": "integer"
  29897. },
  29898. "buyorsell": {
  29899. "description": "方向 - 0:买 1:卖",
  29900. "type": "integer"
  29901. },
  29902. "freezeqty": {
  29903. "description": "冻结数量 - 按单平使用",
  29904. "type": "integer"
  29905. },
  29906. "goodsid": {
  29907. "description": "商品ID",
  29908. "type": "integer"
  29909. },
  29910. "holderamount": {
  29911. "description": "持仓金额 [商品币种]",
  29912. "type": "number"
  29913. },
  29914. "holderdays": {
  29915. "description": "剩余冻结天数",
  29916. "type": "integer"
  29917. },
  29918. "holderprice": {
  29919. "description": "持仓价格",
  29920. "type": "number"
  29921. },
  29922. "holderqty": {
  29923. "description": "持仓数量",
  29924. "type": "integer"
  29925. },
  29926. "marketid": {
  29927. "description": "市场ID",
  29928. "type": "integer"
  29929. },
  29930. "openprice": {
  29931. "description": "建仓价格",
  29932. "type": "number"
  29933. },
  29934. "openqty": {
  29935. "description": "建仓数量",
  29936. "type": "integer"
  29937. },
  29938. "parentaccountid": {
  29939. "description": "所属母账户",
  29940. "type": "integer"
  29941. },
  29942. "releaseamount": {
  29943. "description": "释放持仓金额[商品币种]",
  29944. "type": "number"
  29945. },
  29946. "tradeamount": {
  29947. "description": "成交金额[账户]",
  29948. "type": "number"
  29949. },
  29950. "tradedate": {
  29951. "description": "交易日(yyyyMMdd)",
  29952. "type": "string"
  29953. },
  29954. "tradeid": {
  29955. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29956. "type": "string"
  29957. },
  29958. "tradetime": {
  29959. "description": "交易时间",
  29960. "type": "string"
  29961. }
  29962. }
  29963. },
  29964. "models.Hedgemarketopenlog": {
  29965. "type": "object",
  29966. "required": [
  29967. "accountid"
  29968. ],
  29969. "properties": {
  29970. "accountid": {
  29971. "description": "资金账号[外部母账户]",
  29972. "type": "integer"
  29973. },
  29974. "fcname": {
  29975. "description": "期货公司名称",
  29976. "type": "string"
  29977. },
  29978. "handlestatus": {
  29979. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  29980. "type": "integer"
  29981. },
  29982. "marketid": {
  29983. "description": "市场ID",
  29984. "type": "integer"
  29985. },
  29986. "status": {
  29987. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  29988. "type": "integer"
  29989. },
  29990. "tradedate": {
  29991. "description": "交易日(yyyyMMdd)",
  29992. "type": "string"
  29993. },
  29994. "updatetime": {
  29995. "description": "更新时间",
  29996. "type": "string"
  29997. }
  29998. }
  29999. },
  30000. "models.HsbyBuyMyPayOrder": {
  30001. "type": "object",
  30002. "required": [
  30003. "goodscode",
  30004. "goodsname",
  30005. "tradeid",
  30006. "trademode"
  30007. ],
  30008. "properties": {
  30009. "agreeunit": {
  30010. "description": "合约单位",
  30011. "type": "number"
  30012. },
  30013. "buyaccountid": {
  30014. "description": "买方账号ID[报价币种]",
  30015. "type": "integer"
  30016. },
  30017. "buyorderid": {
  30018. "description": "买方委托单号",
  30019. "type": "string"
  30020. },
  30021. "createtime": {
  30022. "description": "创建时间",
  30023. "type": "string"
  30024. },
  30025. "currencysign": {
  30026. "description": "货币符号",
  30027. "type": "string"
  30028. },
  30029. "decimalplace": {
  30030. "description": "报价小数位",
  30031. "type": "integer"
  30032. },
  30033. "goodscode": {
  30034. "description": "商品代码(内部)",
  30035. "type": "string"
  30036. },
  30037. "goodsid": {
  30038. "description": "商品ID",
  30039. "type": "integer"
  30040. },
  30041. "goodsname": {
  30042. "description": "商品名称",
  30043. "type": "string"
  30044. },
  30045. "marketid": {
  30046. "description": "市场ID",
  30047. "type": "integer"
  30048. },
  30049. "offamount": {
  30050. "description": "优惠金额",
  30051. "type": "number"
  30052. },
  30053. "originalamount": {
  30054. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  30055. "type": "number"
  30056. },
  30057. "payamount": {
  30058. "description": "支付金额 = TradeAmount + TradeCharge",
  30059. "type": "number"
  30060. },
  30061. "payflag": {
  30062. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30063. "type": "integer"
  30064. },
  30065. "paylimitedtime": {
  30066. "description": "支付期限",
  30067. "type": "string"
  30068. },
  30069. "paytime": {
  30070. "description": "付款时间",
  30071. "type": "string"
  30072. },
  30073. "picurls1": {
  30074. "description": "预售商品介绍图片[多张用逗号分隔]",
  30075. "type": "string"
  30076. },
  30077. "picurls2": {
  30078. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  30079. "type": "string"
  30080. },
  30081. "sellaccountid": {
  30082. "description": "卖方账号ID[报价币种]",
  30083. "type": "integer"
  30084. },
  30085. "sellorderid": {
  30086. "description": "卖方委托单号",
  30087. "type": "string"
  30088. },
  30089. "tradeamount": {
  30090. "description": "成交金额",
  30091. "type": "number"
  30092. },
  30093. "tradecharge": {
  30094. "description": "成交手续费(买方)",
  30095. "type": "number"
  30096. },
  30097. "tradedate": {
  30098. "description": "交易日(yyyyMMdd)",
  30099. "type": "string"
  30100. },
  30101. "tradeid": {
  30102. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30103. "type": "string"
  30104. },
  30105. "trademode": {
  30106. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30107. "type": "integer"
  30108. },
  30109. "tradeprice": {
  30110. "description": "成交价格",
  30111. "type": "number"
  30112. },
  30113. "tradeqty": {
  30114. "description": "成交数量",
  30115. "type": "integer"
  30116. },
  30117. "vendorname1": {
  30118. "description": "预售商品供应商名称",
  30119. "type": "string"
  30120. },
  30121. "vendorname2": {
  30122. "description": "挂牌商品供应商名称",
  30123. "type": "string"
  30124. }
  30125. }
  30126. },
  30127. "models.HsbyBuyMyTradeDetail": {
  30128. "type": "object",
  30129. "required": [
  30130. "accountid",
  30131. "buyorsell",
  30132. "goodscode",
  30133. "goodsid",
  30134. "goodsname",
  30135. "marketid",
  30136. "orderid",
  30137. "qty",
  30138. "time",
  30139. "trademode"
  30140. ],
  30141. "properties": {
  30142. "accountid": {
  30143. "description": "账户ID[报价币种]",
  30144. "type": "integer"
  30145. },
  30146. "agreeunit": {
  30147. "description": "合约单位",
  30148. "type": "number"
  30149. },
  30150. "amount": {
  30151. "description": "金额 = 价格 * 数量 * 合约单位",
  30152. "type": "number"
  30153. },
  30154. "buyorsell": {
  30155. "description": "买卖 - 0:买 1:卖",
  30156. "type": "integer"
  30157. },
  30158. "currencysign": {
  30159. "description": "货币符号",
  30160. "type": "string"
  30161. },
  30162. "decimalplace": {
  30163. "description": "报价小数位",
  30164. "type": "integer"
  30165. },
  30166. "goodscode": {
  30167. "description": "商品代码(内部)",
  30168. "type": "string"
  30169. },
  30170. "goodsid": {
  30171. "description": "商品ID",
  30172. "type": "integer"
  30173. },
  30174. "goodsname": {
  30175. "description": "商品名称",
  30176. "type": "string"
  30177. },
  30178. "marketid": {
  30179. "description": "市场ID",
  30180. "type": "integer"
  30181. },
  30182. "orderamount": {
  30183. "description": "委托金额",
  30184. "type": "number"
  30185. },
  30186. "orderid": {
  30187. "description": "单号(成交单号)",
  30188. "type": "string"
  30189. },
  30190. "picurls1": {
  30191. "description": "预售商品介绍图片[多张用逗号分隔]",
  30192. "type": "string"
  30193. },
  30194. "picurls2": {
  30195. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  30196. "type": "string"
  30197. },
  30198. "price": {
  30199. "description": "价格",
  30200. "type": "number"
  30201. },
  30202. "qty": {
  30203. "description": "数量",
  30204. "type": "integer"
  30205. },
  30206. "time": {
  30207. "description": "时间",
  30208. "type": "string"
  30209. },
  30210. "trademode": {
  30211. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30212. "type": "integer"
  30213. },
  30214. "vendorname1": {
  30215. "description": "预售商品供应商名称",
  30216. "type": "string"
  30217. },
  30218. "vendorname2": {
  30219. "description": "挂牌商品供应商名称",
  30220. "type": "string"
  30221. }
  30222. }
  30223. },
  30224. "models.HsbyGoodsOrderDetail": {
  30225. "type": "object",
  30226. "required": [
  30227. "buyorsell",
  30228. "orderid",
  30229. "ordertime"
  30230. ],
  30231. "properties": {
  30232. "buyorsell": {
  30233. "description": "买卖 - 0:买 1:卖",
  30234. "type": "integer"
  30235. },
  30236. "currencysign": {
  30237. "description": "货币符号",
  30238. "type": "string"
  30239. },
  30240. "customername": {
  30241. "description": "客户名称(企业名称),已脱敏",
  30242. "type": "string"
  30243. },
  30244. "enableqty": {
  30245. "description": "可用数量",
  30246. "type": "integer"
  30247. },
  30248. "goodunit": {
  30249. "description": "报价单位",
  30250. "type": "string"
  30251. },
  30252. "orderid": {
  30253. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30254. "type": "string"
  30255. },
  30256. "orderprice": {
  30257. "description": "委托价格",
  30258. "type": "number"
  30259. },
  30260. "ordertime": {
  30261. "description": "委托时间",
  30262. "type": "string"
  30263. }
  30264. }
  30265. },
  30266. "models.HsbyListingGoodsDetail": {
  30267. "type": "object",
  30268. "required": [
  30269. "goodscode",
  30270. "goodsid",
  30271. "goodsname",
  30272. "marketid",
  30273. "trademode"
  30274. ],
  30275. "properties": {
  30276. "agreeunit": {
  30277. "description": "合约单位",
  30278. "type": "number"
  30279. },
  30280. "buymaxqty": {
  30281. "description": "购买上限 [71] - 0为不限",
  30282. "type": "integer"
  30283. },
  30284. "currency": {
  30285. "description": "货币",
  30286. "type": "string"
  30287. },
  30288. "currencysign": {
  30289. "description": "货币符号",
  30290. "type": "string"
  30291. },
  30292. "decimalplace": {
  30293. "description": "报价小数位",
  30294. "type": "integer"
  30295. },
  30296. "desccityid": {
  30297. "description": "目的地(市)ID",
  30298. "type": "integer"
  30299. },
  30300. "descprovinceid": {
  30301. "description": "目的地(省)ID",
  30302. "type": "integer"
  30303. },
  30304. "goodscode": {
  30305. "description": "商品代码(内部)",
  30306. "type": "string"
  30307. },
  30308. "goodsdesc": {
  30309. "description": "商品详情",
  30310. "type": "string"
  30311. },
  30312. "goodsid": {
  30313. "description": "商品ID(自增ID SEQ_GOODS)",
  30314. "type": "integer"
  30315. },
  30316. "goodsname": {
  30317. "description": "商品名称",
  30318. "type": "string"
  30319. },
  30320. "goodsprice": {
  30321. "description": "商品价格",
  30322. "type": "number"
  30323. },
  30324. "hotindex": {
  30325. "description": "景点热度",
  30326. "type": "integer"
  30327. },
  30328. "last": {
  30329. "description": "现价",
  30330. "type": "number"
  30331. },
  30332. "limitdown": {
  30333. "description": "跌停价",
  30334. "type": "number"
  30335. },
  30336. "limitup": {
  30337. "description": "涨停价",
  30338. "type": "number"
  30339. },
  30340. "lotsize": {
  30341. "description": "手数最小变动单位",
  30342. "type": "integer"
  30343. },
  30344. "marketid": {
  30345. "description": "所属市场ID",
  30346. "type": "integer"
  30347. },
  30348. "picurls": {
  30349. "description": "介绍图片[多张用逗号分隔]",
  30350. "type": "string"
  30351. },
  30352. "quoteminunit": {
  30353. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30354. "type": "integer"
  30355. },
  30356. "stepvalue": {
  30357. "description": "价格最小变动单位",
  30358. "type": "number"
  30359. },
  30360. "trademode": {
  30361. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30362. "type": "integer"
  30363. },
  30364. "vendorattr": {
  30365. "description": "供应商附件(多张,逗号分隔)",
  30366. "type": "string"
  30367. },
  30368. "vendorname": {
  30369. "description": "供应商名称",
  30370. "type": "string"
  30371. },
  30372. "vendorphone": {
  30373. "description": "供应商客服电话",
  30374. "type": "string"
  30375. },
  30376. "videourls": {
  30377. "description": "介绍视频[多张用逗号分隔]",
  30378. "type": "string"
  30379. }
  30380. }
  30381. },
  30382. "models.HsbyMarketGoods": {
  30383. "type": "object",
  30384. "required": [
  30385. "accountid",
  30386. "buyorsell",
  30387. "goodscode",
  30388. "goodsid",
  30389. "goodsname",
  30390. "marketid",
  30391. "orderid",
  30392. "trademode"
  30393. ],
  30394. "properties": {
  30395. "accountid": {
  30396. "description": "账户ID[报价币种]",
  30397. "type": "integer"
  30398. },
  30399. "agreeunit": {
  30400. "description": "合约单位",
  30401. "type": "number"
  30402. },
  30403. "buyorsell": {
  30404. "description": "买卖 - 0:买 1:卖",
  30405. "type": "integer"
  30406. },
  30407. "categoryid": {
  30408. "description": "类别ID(WRCATEGORY)",
  30409. "type": "integer"
  30410. },
  30411. "currency": {
  30412. "description": "货币",
  30413. "type": "string"
  30414. },
  30415. "currencysign": {
  30416. "description": "货币符号",
  30417. "type": "string"
  30418. },
  30419. "customername": {
  30420. "description": "卖家名称",
  30421. "type": "string"
  30422. },
  30423. "decimalplace": {
  30424. "description": "报价小数位",
  30425. "type": "integer"
  30426. },
  30427. "goodscode": {
  30428. "description": "商品代码(内部)",
  30429. "type": "string"
  30430. },
  30431. "goodsid": {
  30432. "description": "商品ID",
  30433. "type": "integer"
  30434. },
  30435. "goodsname": {
  30436. "description": "商品名称",
  30437. "type": "string"
  30438. },
  30439. "goodsprice": {
  30440. "description": "商品价格",
  30441. "type": "number"
  30442. },
  30443. "hascoupon": {
  30444. "description": "是否可用优惠卷",
  30445. "type": "boolean"
  30446. },
  30447. "hotindex": {
  30448. "description": "景点热度",
  30449. "type": "integer"
  30450. },
  30451. "marketid": {
  30452. "description": "市场ID",
  30453. "type": "integer"
  30454. },
  30455. "orderid": {
  30456. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30457. "type": "string"
  30458. },
  30459. "orderprice": {
  30460. "description": "委托价格",
  30461. "type": "number"
  30462. },
  30463. "orderstatus": {
  30464. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30465. "type": "integer"
  30466. },
  30467. "picurls": {
  30468. "description": "介绍图片[多张用逗号分隔]",
  30469. "type": "string"
  30470. },
  30471. "quoteminunit": {
  30472. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30473. "type": "integer"
  30474. },
  30475. "sellUserID": {
  30476. "description": "卖方UserID",
  30477. "type": "integer"
  30478. },
  30479. "trademode": {
  30480. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30481. "type": "integer"
  30482. },
  30483. "videourls": {
  30484. "description": "介绍视频[多张用逗号分隔]",
  30485. "type": "string"
  30486. }
  30487. }
  30488. },
  30489. "models.HsbyMarketGoodsDetail": {
  30490. "type": "object",
  30491. "required": [
  30492. "accountid",
  30493. "buyorsell",
  30494. "goodscode",
  30495. "goodsid",
  30496. "goodsname",
  30497. "marketid",
  30498. "orderid",
  30499. "orderqty",
  30500. "trademode"
  30501. ],
  30502. "properties": {
  30503. "accountid": {
  30504. "description": "账户ID[报价币种]",
  30505. "type": "integer"
  30506. },
  30507. "agreeunit": {
  30508. "description": "合约单位",
  30509. "type": "number"
  30510. },
  30511. "buymaxqty": {
  30512. "description": "购买上限 [71] - 0为不限",
  30513. "type": "integer"
  30514. },
  30515. "buyorsell": {
  30516. "description": "买卖 - 0:买 1:卖",
  30517. "type": "integer"
  30518. },
  30519. "cancelqty": {
  30520. "description": "撤单数量",
  30521. "type": "integer"
  30522. },
  30523. "categoryid": {
  30524. "description": "类别ID(WRCATEGORY)",
  30525. "type": "integer"
  30526. },
  30527. "currency": {
  30528. "description": "货币",
  30529. "type": "string"
  30530. },
  30531. "currencysign": {
  30532. "description": "货币符号",
  30533. "type": "string"
  30534. },
  30535. "customername": {
  30536. "description": "卖家名称",
  30537. "type": "string"
  30538. },
  30539. "decimalplace": {
  30540. "description": "报价小数位",
  30541. "type": "integer"
  30542. },
  30543. "goodscode": {
  30544. "description": "商品代码(内部)",
  30545. "type": "string"
  30546. },
  30547. "goodsdesc": {
  30548. "description": "商品详情",
  30549. "type": "string"
  30550. },
  30551. "goodsid": {
  30552. "description": "商品ID",
  30553. "type": "integer"
  30554. },
  30555. "goodsname": {
  30556. "description": "商品名称",
  30557. "type": "string"
  30558. },
  30559. "goodsprice": {
  30560. "description": "商品价格",
  30561. "type": "number"
  30562. },
  30563. "hotindex": {
  30564. "description": "景点热度",
  30565. "type": "integer"
  30566. },
  30567. "lotsize": {
  30568. "description": "手数最小变动单位",
  30569. "type": "integer"
  30570. },
  30571. "marketid": {
  30572. "description": "市场ID",
  30573. "type": "integer"
  30574. },
  30575. "orderid": {
  30576. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30577. "type": "string"
  30578. },
  30579. "orderprice": {
  30580. "description": "委托价格",
  30581. "type": "number"
  30582. },
  30583. "orderqty": {
  30584. "description": "委托数量",
  30585. "type": "integer"
  30586. },
  30587. "orderstatus": {
  30588. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30589. "type": "integer"
  30590. },
  30591. "picurls": {
  30592. "description": "介绍图片[多张用逗号分隔]",
  30593. "type": "string"
  30594. },
  30595. "quoteminunit": {
  30596. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30597. "type": "integer"
  30598. },
  30599. "sellUserID": {
  30600. "description": "卖方UserID",
  30601. "type": "integer"
  30602. },
  30603. "trademode": {
  30604. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30605. "type": "integer"
  30606. },
  30607. "tradeqty": {
  30608. "description": "成交数量",
  30609. "type": "integer"
  30610. },
  30611. "vendorattr": {
  30612. "description": "供应商附件(多张,逗号分隔)",
  30613. "type": "string"
  30614. },
  30615. "vendorname": {
  30616. "description": "供应商名称",
  30617. "type": "string"
  30618. },
  30619. "vendorphone": {
  30620. "description": "供应商客服电话",
  30621. "type": "string"
  30622. },
  30623. "videourls": {
  30624. "description": "介绍视频[多张用逗号分隔]",
  30625. "type": "string"
  30626. }
  30627. }
  30628. },
  30629. "models.HsbyMarketInfo": {
  30630. "type": "object",
  30631. "required": [
  30632. "marketid",
  30633. "marketstatus",
  30634. "trademode"
  30635. ],
  30636. "properties": {
  30637. "marketid": {
  30638. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30639. "type": "integer"
  30640. },
  30641. "marketname": {
  30642. "description": "市场名称",
  30643. "type": "string"
  30644. },
  30645. "marketstatus": {
  30646. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30647. "type": "integer"
  30648. },
  30649. "trademode": {
  30650. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30651. "type": "integer"
  30652. }
  30653. }
  30654. },
  30655. "models.HsbyMyGoods": {
  30656. "type": "object",
  30657. "required": [
  30658. "accountid",
  30659. "goodscode",
  30660. "goodsid",
  30661. "goodsname",
  30662. "marketid",
  30663. "trademode"
  30664. ],
  30665. "properties": {
  30666. "accountid": {
  30667. "description": "账号Id",
  30668. "type": "integer"
  30669. },
  30670. "agreeunit": {
  30671. "description": "合约单位",
  30672. "type": "number"
  30673. },
  30674. "buyaverageprice": {
  30675. "description": "持仓均价",
  30676. "type": "number"
  30677. },
  30678. "buycurholderamount": {
  30679. "description": "买当前持仓总金额[商品币种]",
  30680. "type": "number"
  30681. },
  30682. "buycurpositionqty": {
  30683. "description": "买当前持仓总数量",
  30684. "type": "integer"
  30685. },
  30686. "buymaxqty": {
  30687. "description": "购买上限 [71] - 0为不限",
  30688. "type": "integer"
  30689. },
  30690. "currencysign": {
  30691. "description": "货币符号",
  30692. "type": "string"
  30693. },
  30694. "decimalplace": {
  30695. "description": "报价小数位",
  30696. "type": "integer"
  30697. },
  30698. "enableqty": {
  30699. "description": "可用数量",
  30700. "type": "integer"
  30701. },
  30702. "goodscode": {
  30703. "description": "商品代码(内部)",
  30704. "type": "string"
  30705. },
  30706. "goodsid": {
  30707. "description": "商品Id",
  30708. "type": "integer"
  30709. },
  30710. "goodsname": {
  30711. "description": "商品名称",
  30712. "type": "string"
  30713. },
  30714. "goodsprice": {
  30715. "description": "商品价格",
  30716. "type": "number"
  30717. },
  30718. "goodsstatus": {
  30719. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  30720. "type": "integer"
  30721. },
  30722. "last": {
  30723. "description": "现价(仅使用于挂牌点选)",
  30724. "type": "number"
  30725. },
  30726. "limitdown": {
  30727. "description": "跌停价(仅使用于挂牌点选)",
  30728. "type": "number"
  30729. },
  30730. "limitup": {
  30731. "description": "涨停价(仅使用于挂牌点选)",
  30732. "type": "number"
  30733. },
  30734. "lotsize": {
  30735. "description": "手数最小变动单位",
  30736. "type": "integer"
  30737. },
  30738. "marketid": {
  30739. "description": "所属市场ID",
  30740. "type": "integer"
  30741. },
  30742. "picurls": {
  30743. "description": "介绍图片[多张用逗号分隔]",
  30744. "type": "string"
  30745. },
  30746. "quoteminunit": {
  30747. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30748. "type": "integer"
  30749. },
  30750. "stepvalue": {
  30751. "description": "价格最小变动单位",
  30752. "type": "number"
  30753. },
  30754. "trademode": {
  30755. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30756. "type": "integer"
  30757. }
  30758. }
  30759. },
  30760. "models.HsbyMyPackage": {
  30761. "type": "object",
  30762. "required": [
  30763. "goodscode",
  30764. "goodsname",
  30765. "takeorderid",
  30766. "trademode"
  30767. ],
  30768. "properties": {
  30769. "accountid": {
  30770. "description": "账户ID",
  30771. "type": "integer"
  30772. },
  30773. "address": {
  30774. "description": "提货人详细地址",
  30775. "type": "string"
  30776. },
  30777. "agreeunit": {
  30778. "description": "合约单位",
  30779. "type": "number"
  30780. },
  30781. "amount": {
  30782. "description": "提货金额",
  30783. "type": "number"
  30784. },
  30785. "auditer": {
  30786. "description": "审核人",
  30787. "type": "integer"
  30788. },
  30789. "audittime": {
  30790. "description": "审核时间",
  30791. "type": "string"
  30792. },
  30793. "averageprice": {
  30794. "description": "均价",
  30795. "type": "number"
  30796. },
  30797. "cardnum": {
  30798. "description": "提货人证件号码",
  30799. "type": "string"
  30800. },
  30801. "cardtypeid": {
  30802. "description": "提货人证件类型",
  30803. "type": "integer"
  30804. },
  30805. "checkremark": {
  30806. "description": "审核备注",
  30807. "type": "string"
  30808. },
  30809. "currencysign": {
  30810. "description": "货币符号",
  30811. "type": "string"
  30812. },
  30813. "decimalplace": {
  30814. "description": "报价小数位",
  30815. "type": "integer"
  30816. },
  30817. "goodscode": {
  30818. "description": "商品代码(内部)",
  30819. "type": "string"
  30820. },
  30821. "goodsid": {
  30822. "description": "商品ID",
  30823. "type": "integer"
  30824. },
  30825. "goodsname": {
  30826. "description": "商品名称",
  30827. "type": "string"
  30828. },
  30829. "handlestatus": {
  30830. "description": "处理状态",
  30831. "type": "integer"
  30832. },
  30833. "marketid": {
  30834. "description": "市场ID",
  30835. "type": "integer"
  30836. },
  30837. "phonenum": {
  30838. "description": "提货人联系方式",
  30839. "type": "string"
  30840. },
  30841. "picurls": {
  30842. "description": "介绍图片[多张用逗号分隔]",
  30843. "type": "string"
  30844. },
  30845. "qty": {
  30846. "description": "提货数量",
  30847. "type": "number"
  30848. },
  30849. "recivername": {
  30850. "description": "提货人姓名",
  30851. "type": "string"
  30852. },
  30853. "reqtime": {
  30854. "description": "更新时间",
  30855. "type": "string"
  30856. },
  30857. "takemode": {
  30858. "description": "提货方式 - 2:自提 3:配送",
  30859. "type": "integer"
  30860. },
  30861. "takeorderid": {
  30862. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  30863. "type": "string"
  30864. },
  30865. "takeorderstatus": {
  30866. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  30867. "type": "integer"
  30868. },
  30869. "takeremark": {
  30870. "description": "提货备注",
  30871. "type": "string"
  30872. },
  30873. "tradedate": {
  30874. "description": "交易日(yyyyMMdd)",
  30875. "type": "string"
  30876. },
  30877. "trademode": {
  30878. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30879. "type": "integer"
  30880. },
  30881. "userid": {
  30882. "description": "用户ID",
  30883. "type": "integer"
  30884. },
  30885. "vendorname": {
  30886. "description": "供应商名称",
  30887. "type": "string"
  30888. }
  30889. }
  30890. },
  30891. "models.HsbyPreGoods": {
  30892. "type": "object",
  30893. "required": [
  30894. "goodscode",
  30895. "goodsid",
  30896. "goodsname",
  30897. "marketid",
  30898. "trademode"
  30899. ],
  30900. "properties": {
  30901. "agreeunit": {
  30902. "description": "合约单位",
  30903. "type": "number"
  30904. },
  30905. "currency": {
  30906. "description": "货币",
  30907. "type": "string"
  30908. },
  30909. "currencysign": {
  30910. "description": "货币符号",
  30911. "type": "string"
  30912. },
  30913. "decimalplace": {
  30914. "description": "报价小数位",
  30915. "type": "integer"
  30916. },
  30917. "desccityid": {
  30918. "description": "目的地(市)",
  30919. "type": "integer"
  30920. },
  30921. "descprovinceid": {
  30922. "description": "目的地(省)",
  30923. "type": "integer"
  30924. },
  30925. "enableqty": {
  30926. "description": "剩余数量",
  30927. "type": "integer"
  30928. },
  30929. "goodscode": {
  30930. "description": "商品代码(内部)",
  30931. "type": "string"
  30932. },
  30933. "goodsid": {
  30934. "description": "商品ID(自增ID SEQ_GOODS)",
  30935. "type": "integer"
  30936. },
  30937. "goodsname": {
  30938. "description": "商品名称",
  30939. "type": "string"
  30940. },
  30941. "goodsstatus": {
  30942. "description": "商品状态- 2:未上市 3:上市",
  30943. "type": "integer"
  30944. },
  30945. "lasttradedate": {
  30946. "description": "最后交易日期(状态:待退市)",
  30947. "type": "string"
  30948. },
  30949. "listingdate": {
  30950. "description": "交易开始日期",
  30951. "type": "string"
  30952. },
  30953. "marketid": {
  30954. "description": "所属市场ID",
  30955. "type": "integer"
  30956. },
  30957. "picurls": {
  30958. "description": "介绍图片[多张用逗号分隔]",
  30959. "type": "string"
  30960. },
  30961. "presaledqty": {
  30962. "description": "已预售量(预售结束时更新)",
  30963. "type": "integer"
  30964. },
  30965. "presaleqty": {
  30966. "description": "预售数量",
  30967. "type": "integer"
  30968. },
  30969. "quoteminunit": {
  30970. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30971. "type": "integer"
  30972. },
  30973. "refprice": {
  30974. "description": "参考价格[一口价]",
  30975. "type": "number"
  30976. },
  30977. "relatedgoodsid": {
  30978. "description": "关联交易合约ID",
  30979. "type": "integer"
  30980. },
  30981. "trademode": {
  30982. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30983. "type": "integer"
  30984. },
  30985. "videourls": {
  30986. "description": "介绍视频[多张用逗号分隔]",
  30987. "type": "string"
  30988. }
  30989. }
  30990. },
  30991. "models.HsbyPreGoodsDetail": {
  30992. "type": "object",
  30993. "required": [
  30994. "goodscode",
  30995. "goodsid",
  30996. "goodsname",
  30997. "marketid",
  30998. "trademode"
  30999. ],
  31000. "properties": {
  31001. "agreeunit": {
  31002. "description": "合约单位",
  31003. "type": "number"
  31004. },
  31005. "buymaxqty": {
  31006. "description": "购买上限 [71] - 0为不限",
  31007. "type": "integer"
  31008. },
  31009. "currency": {
  31010. "description": "货币",
  31011. "type": "string"
  31012. },
  31013. "currencysign": {
  31014. "description": "货币符号",
  31015. "type": "string"
  31016. },
  31017. "customername": {
  31018. "description": "发行单位",
  31019. "type": "string"
  31020. },
  31021. "decimalplace": {
  31022. "description": "报价小数位",
  31023. "type": "integer"
  31024. },
  31025. "desccityid": {
  31026. "description": "目的地(市)ID",
  31027. "type": "integer"
  31028. },
  31029. "descprovinceid": {
  31030. "description": "目的地(省)ID",
  31031. "type": "integer"
  31032. },
  31033. "enableqty": {
  31034. "description": "剩余数量",
  31035. "type": "integer"
  31036. },
  31037. "goodscode": {
  31038. "description": "商品代码(内部)",
  31039. "type": "string"
  31040. },
  31041. "goodsdesc": {
  31042. "description": "商品详情",
  31043. "type": "string"
  31044. },
  31045. "goodsid": {
  31046. "description": "商品ID(自增ID SEQ_GOODS)",
  31047. "type": "integer"
  31048. },
  31049. "goodsname": {
  31050. "description": "商品名称",
  31051. "type": "string"
  31052. },
  31053. "goodsstatus": {
  31054. "description": "商品状态- 2:未上市 3:上市",
  31055. "type": "integer"
  31056. },
  31057. "goodunit": {
  31058. "description": "报价单位",
  31059. "type": "string"
  31060. },
  31061. "lasttradedate": {
  31062. "description": "最后交易日期(状态:待退市)",
  31063. "type": "string"
  31064. },
  31065. "listingdate": {
  31066. "description": "交易开始日期",
  31067. "type": "string"
  31068. },
  31069. "lotsize": {
  31070. "description": "手数最小变动单位",
  31071. "type": "integer"
  31072. },
  31073. "marketid": {
  31074. "description": "所属市场ID",
  31075. "type": "integer"
  31076. },
  31077. "picurls": {
  31078. "description": "介绍图片[多张用逗号分隔]",
  31079. "type": "string"
  31080. },
  31081. "presaledqty": {
  31082. "description": "已预售量(预售结束时更新)",
  31083. "type": "integer"
  31084. },
  31085. "presaleqty": {
  31086. "description": "预售数量",
  31087. "type": "integer"
  31088. },
  31089. "quoteminunit": {
  31090. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  31091. "type": "integer"
  31092. },
  31093. "refprice": {
  31094. "description": "参考价格[一口价]",
  31095. "type": "number"
  31096. },
  31097. "relatedgoodsid": {
  31098. "description": "关联交易合约ID",
  31099. "type": "integer"
  31100. },
  31101. "stepvalue": {
  31102. "description": "价格最小变动单位",
  31103. "type": "number"
  31104. },
  31105. "trademode": {
  31106. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31107. "type": "integer"
  31108. },
  31109. "vendorattr": {
  31110. "description": "供应商附件(多张,逗号分隔)",
  31111. "type": "string"
  31112. },
  31113. "vendorname": {
  31114. "description": "供应商名称",
  31115. "type": "string"
  31116. },
  31117. "vendorphone": {
  31118. "description": "供应商客服电话",
  31119. "type": "string"
  31120. },
  31121. "videourls": {
  31122. "description": "介绍视频[多张用逗号分隔]",
  31123. "type": "string"
  31124. }
  31125. }
  31126. },
  31127. "models.HsbySellCollectionOrder": {
  31128. "type": "object",
  31129. "required": [
  31130. "goodscode",
  31131. "goodsname",
  31132. "tradeid",
  31133. "trademode"
  31134. ],
  31135. "properties": {
  31136. "agreeunit": {
  31137. "description": "合约单位",
  31138. "type": "number"
  31139. },
  31140. "buyaccountid": {
  31141. "description": "买方账号ID[报价币种]",
  31142. "type": "integer"
  31143. },
  31144. "buyorderid": {
  31145. "description": "买方委托单号",
  31146. "type": "string"
  31147. },
  31148. "createtime": {
  31149. "description": "创建时间",
  31150. "type": "string"
  31151. },
  31152. "currencysign": {
  31153. "description": "货币符号",
  31154. "type": "string"
  31155. },
  31156. "decimalplace": {
  31157. "description": "报价小数位",
  31158. "type": "integer"
  31159. },
  31160. "goodscode": {
  31161. "description": "商品代码(内部)",
  31162. "type": "string"
  31163. },
  31164. "goodsid": {
  31165. "description": "商品ID",
  31166. "type": "integer"
  31167. },
  31168. "goodsname": {
  31169. "description": "商品名称",
  31170. "type": "string"
  31171. },
  31172. "marketid": {
  31173. "description": "市场ID",
  31174. "type": "integer"
  31175. },
  31176. "offamount": {
  31177. "description": "优惠金额",
  31178. "type": "number"
  31179. },
  31180. "payamount": {
  31181. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  31182. "type": "number"
  31183. },
  31184. "payflag": {
  31185. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  31186. "type": "integer"
  31187. },
  31188. "paylimitedtime": {
  31189. "description": "支付期限",
  31190. "type": "string"
  31191. },
  31192. "paytime": {
  31193. "description": "付款时间",
  31194. "type": "string"
  31195. },
  31196. "picurls": {
  31197. "description": "商品介绍图片[多张用逗号分隔]",
  31198. "type": "string"
  31199. },
  31200. "sellaccountid": {
  31201. "description": "卖方账号ID[报价币种]",
  31202. "type": "integer"
  31203. },
  31204. "sellorderid": {
  31205. "description": "卖方委托单号",
  31206. "type": "string"
  31207. },
  31208. "tradeamount": {
  31209. "description": "成交金额",
  31210. "type": "number"
  31211. },
  31212. "tradecharge": {
  31213. "description": "成交手续费(买方)",
  31214. "type": "number"
  31215. },
  31216. "tradedate": {
  31217. "description": "交易日(yyyyMMdd)",
  31218. "type": "string"
  31219. },
  31220. "tradeid": {
  31221. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31222. "type": "string"
  31223. },
  31224. "trademode": {
  31225. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31226. "type": "integer"
  31227. },
  31228. "tradeprice": {
  31229. "description": "成交价格",
  31230. "type": "number"
  31231. },
  31232. "tradeqty": {
  31233. "description": "成交数量",
  31234. "type": "integer"
  31235. }
  31236. }
  31237. },
  31238. "models.HsbySellMyDetail": {
  31239. "type": "object",
  31240. "required": [
  31241. "accountid",
  31242. "buyorsell",
  31243. "goodscode",
  31244. "goodsid",
  31245. "goodsname",
  31246. "marketid",
  31247. "orderid",
  31248. "time",
  31249. "trademode"
  31250. ],
  31251. "properties": {
  31252. "accountid": {
  31253. "description": "账户ID[报价币种]",
  31254. "type": "integer"
  31255. },
  31256. "agreeunit": {
  31257. "description": "合约单位",
  31258. "type": "number"
  31259. },
  31260. "buyorsell": {
  31261. "description": "买卖 - 0:买 1:卖",
  31262. "type": "integer"
  31263. },
  31264. "currencysign": {
  31265. "description": "货币符号",
  31266. "type": "string"
  31267. },
  31268. "decimalplace": {
  31269. "description": "报价小数位",
  31270. "type": "integer"
  31271. },
  31272. "goodscode": {
  31273. "description": "商品代码(内部)",
  31274. "type": "string"
  31275. },
  31276. "goodsid": {
  31277. "description": "商品ID",
  31278. "type": "integer"
  31279. },
  31280. "goodsname": {
  31281. "description": "商品名称",
  31282. "type": "string"
  31283. },
  31284. "marketid": {
  31285. "description": "市场ID",
  31286. "type": "integer"
  31287. },
  31288. "orderid": {
  31289. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  31290. "type": "string"
  31291. },
  31292. "ordertype": {
  31293. "description": "单据类型:0 - 发布中, 1 - 已完成",
  31294. "type": "integer"
  31295. },
  31296. "picurls": {
  31297. "description": "介绍图片[多张用逗号分隔]",
  31298. "type": "string"
  31299. },
  31300. "price": {
  31301. "description": "价格",
  31302. "type": "number"
  31303. },
  31304. "qty": {
  31305. "description": "数量",
  31306. "type": "integer"
  31307. },
  31308. "time": {
  31309. "description": "时间",
  31310. "type": "string"
  31311. },
  31312. "trademode": {
  31313. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31314. "type": "integer"
  31315. },
  31316. "vendorname": {
  31317. "description": "供应商名称",
  31318. "type": "string"
  31319. }
  31320. }
  31321. },
  31322. "models.HsbyTopGoods": {
  31323. "type": "object",
  31324. "required": [
  31325. "goodscode",
  31326. "goodsid",
  31327. "goodsname",
  31328. "marketid",
  31329. "trademode"
  31330. ],
  31331. "properties": {
  31332. "agreeunit": {
  31333. "description": "合约单位",
  31334. "type": "number"
  31335. },
  31336. "currency": {
  31337. "description": "货币",
  31338. "type": "string"
  31339. },
  31340. "currencysign": {
  31341. "description": "货币符号",
  31342. "type": "string"
  31343. },
  31344. "decimalplace": {
  31345. "description": "报价小数位",
  31346. "type": "integer"
  31347. },
  31348. "desccityid": {
  31349. "description": "目的地(市)",
  31350. "type": "integer"
  31351. },
  31352. "descprovinceid": {
  31353. "description": "目的地(省)",
  31354. "type": "integer"
  31355. },
  31356. "goodscode": {
  31357. "description": "商品代码(内部)",
  31358. "type": "string"
  31359. },
  31360. "goodsid": {
  31361. "description": "商品ID(自增ID SEQ_GOODS)",
  31362. "type": "integer"
  31363. },
  31364. "goodsname": {
  31365. "description": "商品名称",
  31366. "type": "string"
  31367. },
  31368. "hotindex": {
  31369. "description": "景点热度",
  31370. "type": "integer"
  31371. },
  31372. "last": {
  31373. "description": "现价",
  31374. "type": "number"
  31375. },
  31376. "marketid": {
  31377. "description": "所属市场ID",
  31378. "type": "integer"
  31379. },
  31380. "picurls": {
  31381. "description": "介绍图片[多张用逗号分隔]",
  31382. "type": "string"
  31383. },
  31384. "quoteminunit": {
  31385. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  31386. "type": "integer"
  31387. },
  31388. "trademode": {
  31389. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31390. "type": "integer"
  31391. },
  31392. "videourls": {
  31393. "description": "介绍视频[多张用逗号分隔]",
  31394. "type": "string"
  31395. }
  31396. }
  31397. },
  31398. "models.HybsMyBuyOrderDetail": {
  31399. "type": "object",
  31400. "required": [
  31401. "accountid",
  31402. "buyorsell",
  31403. "goodscode",
  31404. "goodsid",
  31405. "goodsname",
  31406. "marketid",
  31407. "orderid",
  31408. "orderqty",
  31409. "ordertime",
  31410. "trademode"
  31411. ],
  31412. "properties": {
  31413. "accountid": {
  31414. "description": "账户ID[报价币种]",
  31415. "type": "integer"
  31416. },
  31417. "agreeunit": {
  31418. "description": "合约单位",
  31419. "type": "number"
  31420. },
  31421. "buyorsell": {
  31422. "description": "买卖 - 0:买 1:卖",
  31423. "type": "integer"
  31424. },
  31425. "cancelqty": {
  31426. "description": "撤单数量",
  31427. "type": "integer"
  31428. },
  31429. "currencysign": {
  31430. "description": "货币符号",
  31431. "type": "string"
  31432. },
  31433. "decimalplace": {
  31434. "description": "报价小数位",
  31435. "type": "integer"
  31436. },
  31437. "goodscode": {
  31438. "description": "商品代码(内部)",
  31439. "type": "string"
  31440. },
  31441. "goodsid": {
  31442. "description": "商品ID",
  31443. "type": "integer"
  31444. },
  31445. "goodsname": {
  31446. "description": "商品名称",
  31447. "type": "string"
  31448. },
  31449. "listingselecttype": {
  31450. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31451. "type": "integer"
  31452. },
  31453. "marketid": {
  31454. "description": "市场ID",
  31455. "type": "integer"
  31456. },
  31457. "mybuystatus": {
  31458. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  31459. "type": "integer"
  31460. },
  31461. "orderamount": {
  31462. "description": "委托金额",
  31463. "type": "number"
  31464. },
  31465. "orderid": {
  31466. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31467. "type": "string"
  31468. },
  31469. "orderprice": {
  31470. "description": "委托价格",
  31471. "type": "number"
  31472. },
  31473. "orderqty": {
  31474. "description": "委托数量",
  31475. "type": "integer"
  31476. },
  31477. "orderstatus": {
  31478. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  31479. "type": "integer"
  31480. },
  31481. "ordertime": {
  31482. "description": "委托时间",
  31483. "type": "string"
  31484. },
  31485. "picurls1": {
  31486. "description": "预售商品介绍图片[多张用逗号分隔]",
  31487. "type": "string"
  31488. },
  31489. "picurls2": {
  31490. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  31491. "type": "string"
  31492. },
  31493. "trademode": {
  31494. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31495. "type": "integer"
  31496. },
  31497. "tradeqty": {
  31498. "description": "成交数量",
  31499. "type": "integer"
  31500. },
  31501. "vendorname1": {
  31502. "description": "预售商品供应商名称",
  31503. "type": "string"
  31504. },
  31505. "vendorname2": {
  31506. "description": "挂牌商品供应商名称",
  31507. "type": "string"
  31508. }
  31509. }
  31510. },
  31511. "models.InternalEnableTradeDetail": {
  31512. "type": "object",
  31513. "required": [
  31514. "areauserid",
  31515. "goodsid",
  31516. "tradeuserid"
  31517. ],
  31518. "properties": {
  31519. "agreeunit": {
  31520. "description": "合约乘数",
  31521. "type": "number"
  31522. },
  31523. "areauserid": {
  31524. "description": "企业ID",
  31525. "type": "integer"
  31526. },
  31527. "convertratio": {
  31528. "description": "品种系数",
  31529. "type": "number"
  31530. },
  31531. "deliverygoodscode": {
  31532. "description": "现货品种代码",
  31533. "type": "string"
  31534. },
  31535. "deliverygoodsid": {
  31536. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  31537. "type": "integer"
  31538. },
  31539. "deliverygoodsname": {
  31540. "description": "现货品种名称",
  31541. "type": "string"
  31542. },
  31543. "futurehedgeqty": {
  31544. "description": "[已关联数量]期货持仓套期量",
  31545. "type": "number"
  31546. },
  31547. "goodsid": {
  31548. "description": "期货合约ID",
  31549. "type": "integer"
  31550. },
  31551. "hedgeditemid": {
  31552. "description": "被套期项目ID",
  31553. "type": "string"
  31554. },
  31555. "hedgeditemnum": {
  31556. "description": "项目编号",
  31557. "type": "string"
  31558. },
  31559. "tradeuserid": {
  31560. "description": "交易用户ID",
  31561. "type": "integer"
  31562. },
  31563. "unexehedgeqty": {
  31564. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  31565. "type": "number"
  31566. },
  31567. "unexespotqty": {
  31568. "description": "未执行现货量",
  31569. "type": "number"
  31570. },
  31571. "wrstandardcode": {
  31572. "description": "现货品类代码",
  31573. "type": "string"
  31574. },
  31575. "wrstandardid": {
  31576. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31577. "type": "integer"
  31578. },
  31579. "wrstandardname": {
  31580. "description": "现货品类名称",
  31581. "type": "string"
  31582. }
  31583. }
  31584. },
  31585. "models.InternalUncorrelatedTradeDetail": {
  31586. "type": "object",
  31587. "properties": {
  31588. "accountid": {
  31589. "description": "账号ID",
  31590. "type": "integer"
  31591. },
  31592. "accountname": {
  31593. "description": "套期主体",
  31594. "type": "string"
  31595. },
  31596. "agreeunit": {
  31597. "description": "合约乘数",
  31598. "type": "number"
  31599. },
  31600. "areauserid": {
  31601. "description": "所属机构",
  31602. "type": "integer"
  31603. },
  31604. "bizsubjectid": {
  31605. "description": "归属业务部门ID - SubjectID",
  31606. "type": "integer"
  31607. },
  31608. "buyorsell": {
  31609. "description": "方向 - 0:买 1:卖",
  31610. "type": "integer"
  31611. },
  31612. "channelbuildtype": {
  31613. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31614. "type": "integer"
  31615. },
  31616. "convertratio": {
  31617. "description": "品种系数",
  31618. "type": "number"
  31619. },
  31620. "createtime": {
  31621. "description": "创建时间",
  31622. "type": "string"
  31623. },
  31624. "creatorid": {
  31625. "description": "创建人ID",
  31626. "type": "integer"
  31627. },
  31628. "creatorsrc": {
  31629. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31630. "type": "integer"
  31631. },
  31632. "enableqty": {
  31633. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  31634. "type": "number"
  31635. },
  31636. "enumdicname": {
  31637. "description": "单位",
  31638. "type": "string"
  31639. },
  31640. "goodscode": {
  31641. "description": "合约代码",
  31642. "type": "string"
  31643. },
  31644. "goodsgroupid": {
  31645. "description": "对冲品种ID[期货合约商品组ID]",
  31646. "type": "integer"
  31647. },
  31648. "goodsid": {
  31649. "description": "商品ID",
  31650. "type": "integer"
  31651. },
  31652. "goodsname": {
  31653. "description": "合约名称",
  31654. "type": "string"
  31655. },
  31656. "hedgeditemid": {
  31657. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31658. "type": "integer"
  31659. },
  31660. "hedgeflag": {
  31661. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31662. "type": "integer"
  31663. },
  31664. "linkdetailid": {
  31665. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31666. "type": "string"
  31667. },
  31668. "linkstatus": {
  31669. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31670. "type": "integer"
  31671. },
  31672. "middlegoodsid": {
  31673. "description": "套保品种ID",
  31674. "type": "integer"
  31675. },
  31676. "middlegoodsqty": {
  31677. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  31678. "type": "number"
  31679. },
  31680. "relatedlot": {
  31681. "description": "[数量]关联手数",
  31682. "type": "number"
  31683. },
  31684. "relatedmode": {
  31685. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31686. "type": "integer"
  31687. },
  31688. "relatedqty": {
  31689. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31690. "type": "number"
  31691. },
  31692. "retcode": {
  31693. "description": "返回码",
  31694. "type": "integer"
  31695. },
  31696. "saleuserid": {
  31697. "description": "业务员ID",
  31698. "type": "integer"
  31699. },
  31700. "tradedate": {
  31701. "description": "关联交易日(yyyyMMdd)",
  31702. "type": "string"
  31703. },
  31704. "tradeid": {
  31705. "description": "成交单号",
  31706. "type": "string"
  31707. },
  31708. "tradelot": {
  31709. "description": "成交手数",
  31710. "type": "integer"
  31711. },
  31712. "tradeprice": {
  31713. "description": "成交价",
  31714. "type": "number"
  31715. },
  31716. "tradetime": {
  31717. "description": "成交时间",
  31718. "type": "string"
  31719. },
  31720. "tradetradedate": {
  31721. "description": "成交交易日(yyyyMMdd)",
  31722. "type": "string"
  31723. },
  31724. "tradeuserid": {
  31725. "description": "交易用户ID",
  31726. "type": "integer"
  31727. }
  31728. }
  31729. },
  31730. "models.Loginaccount": {
  31731. "type": "object",
  31732. "required": [
  31733. "loginid"
  31734. ],
  31735. "properties": {
  31736. "accountname": {
  31737. "description": "账户名称",
  31738. "type": "string"
  31739. },
  31740. "canoutin": {
  31741. "description": "是否可出入金 - 0:不可 1:可",
  31742. "type": "integer"
  31743. },
  31744. "clientroleid": {
  31745. "description": "终端角色ID",
  31746. "type": "integer"
  31747. },
  31748. "haslogined": {
  31749. "description": "是否已登录 - 0:未登录 1:已登录",
  31750. "type": "integer"
  31751. },
  31752. "hasupdatedpwd": {
  31753. "description": "是否已更改密码 - 0:未修改 1:已修改",
  31754. "type": "integer"
  31755. },
  31756. "lastloginip": {
  31757. "description": "最新登录地址",
  31758. "type": "string"
  31759. },
  31760. "lastloginmode": {
  31761. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31762. "type": "integer"
  31763. },
  31764. "lastloginremark": {
  31765. "description": "最新登录描述",
  31766. "type": "string"
  31767. },
  31768. "lastlogintime": {
  31769. "description": "最新登录时间",
  31770. "type": "string"
  31771. },
  31772. "logincode": {
  31773. "description": "登录代码",
  31774. "type": "string"
  31775. },
  31776. "loginfailnum": {
  31777. "description": "连续登录失败次数(登录成功时清零)",
  31778. "type": "integer"
  31779. },
  31780. "loginid": {
  31781. "description": "登陆账号",
  31782. "type": "integer"
  31783. },
  31784. "loginport": {
  31785. "description": "最新登录端口",
  31786. "type": "integer"
  31787. },
  31788. "loginstatus": {
  31789. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  31790. "type": "integer"
  31791. },
  31792. "loginusertype": {
  31793. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  31794. "type": "integer"
  31795. },
  31796. "mobile": {
  31797. "description": "手机号码(加密存储)",
  31798. "type": "string"
  31799. },
  31800. "modifierid": {
  31801. "description": "修改人",
  31802. "type": "integer"
  31803. },
  31804. "modifysrc": {
  31805. "description": "审核来源 - 1:管理端 2:终端",
  31806. "type": "integer"
  31807. },
  31808. "modifytime": {
  31809. "description": "修改时间",
  31810. "type": "string"
  31811. },
  31812. "password": {
  31813. "description": "登陆密码",
  31814. "type": "string"
  31815. },
  31816. "pwdwrongcount": {
  31817. "description": "密码错误次数",
  31818. "type": "integer"
  31819. },
  31820. "relateduserid": {
  31821. "description": "关联用户ID(机构)",
  31822. "type": "integer"
  31823. },
  31824. "taaccountrighttype": {
  31825. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  31826. "type": "integer"
  31827. },
  31828. "unfreezetime": {
  31829. "description": "账户解冻时间",
  31830. "type": "string"
  31831. },
  31832. "userid": {
  31833. "description": "用户ID",
  31834. "type": "integer"
  31835. }
  31836. }
  31837. },
  31838. "models.MainAccountInfo": {
  31839. "type": "object",
  31840. "properties": {
  31841. "accountid": {
  31842. "description": "账号id",
  31843. "type": "integer"
  31844. },
  31845. "accountname": {
  31846. "description": "账号名称(taaccount表中的名称)",
  31847. "type": "string"
  31848. },
  31849. "appid": {
  31850. "description": "AppID",
  31851. "type": "string"
  31852. },
  31853. "authcode": {
  31854. "description": "授权码",
  31855. "type": "string"
  31856. },
  31857. "brokerid": {
  31858. "description": "经纪商id",
  31859. "type": "string"
  31860. },
  31861. "fcid": {
  31862. "description": "期货公司id",
  31863. "type": "integer"
  31864. },
  31865. "fcname": {
  31866. "description": "期货公司代码",
  31867. "type": "string"
  31868. },
  31869. "hedgeaccountcode": {
  31870. "description": "外部账号代码(主账号登录代码)",
  31871. "type": "string"
  31872. },
  31873. "hedgeaccountpwd": {
  31874. "description": "密码",
  31875. "type": "string"
  31876. },
  31877. "ismain": {
  31878. "description": "是否主账号",
  31879. "type": "integer"
  31880. },
  31881. "relateduserid": {
  31882. "description": "关联用户id",
  31883. "type": "integer"
  31884. },
  31885. "userid": {
  31886. "description": "关联用户id",
  31887. "type": "integer"
  31888. }
  31889. }
  31890. },
  31891. "models.Market": {
  31892. "type": "object",
  31893. "required": [
  31894. "marketid",
  31895. "marketstatus",
  31896. "openmethod",
  31897. "reckonpricealgorithm",
  31898. "trademode",
  31899. "tradeproperty"
  31900. ],
  31901. "properties": {
  31902. "auctionwrtype": {
  31903. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  31904. "type": "integer"
  31905. },
  31906. "canacceptquote": {
  31907. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  31908. "type": "integer"
  31909. },
  31910. "cangoodsexercise": {
  31911. "description": "[期权]是否可现货行权- 0:否 1:是",
  31912. "type": "integer"
  31913. },
  31914. "cangoodsexercisetype": {
  31915. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  31916. "type": "integer"
  31917. },
  31918. "canmanualquotestrike": {
  31919. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  31920. "type": "integer"
  31921. },
  31922. "canmutistage": {
  31923. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  31924. "type": "integer"
  31925. },
  31926. "canpreexercise": {
  31927. "description": "[期权]是否可预申报- 0:否 1:是",
  31928. "type": "integer"
  31929. },
  31930. "clearinterval": {
  31931. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  31932. "type": "integer"
  31933. },
  31934. "contracttmp": {
  31935. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  31936. "type": "string"
  31937. },
  31938. "exchareaid": {
  31939. "description": "所属交易所,可以没有",
  31940. "type": "integer"
  31941. },
  31942. "goodstype": {
  31943. "description": "商品类型 - 1:交易商品 2:仓单商品",
  31944. "type": "integer"
  31945. },
  31946. "hasrebate": {
  31947. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  31948. "type": "integer"
  31949. },
  31950. "hastradecredit": {
  31951. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  31952. "type": "integer"
  31953. },
  31954. "haswr": {
  31955. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  31956. "type": "integer"
  31957. },
  31958. "isdeductmargin": {
  31959. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  31960. "type": "integer"
  31961. },
  31962. "isrecordsource": {
  31963. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  31964. "type": "integer"
  31965. },
  31966. "isreleasemargin": {
  31967. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  31968. "type": "integer"
  31969. },
  31970. "marginformula": {
  31971. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31972. "type": "integer"
  31973. },
  31974. "marginformula2": {
  31975. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31976. "type": "integer"
  31977. },
  31978. "marketid": {
  31979. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  31980. "type": "integer"
  31981. },
  31982. "marketname": {
  31983. "description": "市场名称",
  31984. "type": "string"
  31985. },
  31986. "marketserviceid": {
  31987. "description": "市场服务ID",
  31988. "type": "integer"
  31989. },
  31990. "marketstatus": {
  31991. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  31992. "type": "integer"
  31993. },
  31994. "markettype": {
  31995. "description": "市场类型- 1:非交易服务 2:交易服务",
  31996. "type": "integer"
  31997. },
  31998. "matchermode": {
  31999. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  32000. "type": "integer"
  32001. },
  32002. "openmethod": {
  32003. "description": "开盘模式 - 0 自动 1手动",
  32004. "type": "integer"
  32005. },
  32006. "otcuserid": {
  32007. "description": "场外期权做市商[场外期权]",
  32008. "type": "integer"
  32009. },
  32010. "outersynctime": {
  32011. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32012. "type": "string"
  32013. },
  32014. "pendingflag": {
  32015. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32016. "type": "integer"
  32017. },
  32018. "pendingtime": {
  32019. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32020. "type": "string"
  32021. },
  32022. "performancetempid": {
  32023. "description": "履约计划模板ID - 作废",
  32024. "type": "integer"
  32025. },
  32026. "premiumquotemode": {
  32027. "description": "权利金报价方式 - 1:自动 2:手动",
  32028. "type": "integer"
  32029. },
  32030. "rebateratio": {
  32031. "description": "返利比率[竞价式]",
  32032. "type": "number"
  32033. },
  32034. "reckonorder": {
  32035. "description": "结算顺序",
  32036. "type": "integer"
  32037. },
  32038. "reckonpricealgorithm": {
  32039. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32040. "type": "integer"
  32041. },
  32042. "reckonpriceparam": {
  32043. "description": "结算价参数",
  32044. "type": "integer"
  32045. },
  32046. "reckontime": {
  32047. "description": "结算时间[通道交易-对冲](HH:mm)",
  32048. "type": "string"
  32049. },
  32050. "roleprioritytype": {
  32051. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32052. "type": "integer"
  32053. },
  32054. "selllistingauditflag": {
  32055. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32056. "type": "integer"
  32057. },
  32058. "trademarkettype": {
  32059. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32060. "type": "integer"
  32061. },
  32062. "trademode": {
  32063. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32064. "type": "integer"
  32065. },
  32066. "tradeproperty": {
  32067. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  32068. "type": "integer"
  32069. },
  32070. "tradetype": {
  32071. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  32072. "type": "integer"
  32073. }
  32074. }
  32075. },
  32076. "models.Marketcalendar": {
  32077. "type": "object",
  32078. "properties": {
  32079. "holidaydate": {
  32080. "description": "节假日期(yyyy-MM-dd)",
  32081. "type": "string"
  32082. },
  32083. "marketid": {
  32084. "description": "市场ID",
  32085. "type": "integer"
  32086. }
  32087. }
  32088. },
  32089. "models.Marketrun": {
  32090. "type": "object",
  32091. "required": [
  32092. "marketid",
  32093. "nexttradedate",
  32094. "reckonflag",
  32095. "runstatus",
  32096. "tradedate",
  32097. "tradedate2"
  32098. ],
  32099. "properties": {
  32100. "afternexttradedate": {
  32101. "description": "下下交易日",
  32102. "type": "string"
  32103. },
  32104. "clearquoteflag": {
  32105. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  32106. "type": "integer"
  32107. },
  32108. "lastreckondate": {
  32109. "description": "最新交易日(结算成功)",
  32110. "type": "string"
  32111. },
  32112. "machinedate": {
  32113. "description": "机器时间",
  32114. "type": "string"
  32115. },
  32116. "manualflag": {
  32117. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  32118. "type": "integer"
  32119. },
  32120. "marketid": {
  32121. "description": "市场ID",
  32122. "type": "integer"
  32123. },
  32124. "nexttradedate": {
  32125. "description": "下一交易日",
  32126. "type": "string"
  32127. },
  32128. "pretradedate": {
  32129. "description": "上一交易日",
  32130. "type": "string"
  32131. },
  32132. "reckonflag": {
  32133. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  32134. "type": "integer"
  32135. },
  32136. "runstatus": {
  32137. "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.今日免清算",
  32138. "type": "integer"
  32139. },
  32140. "sectionid": {
  32141. "description": "时间段号[多时段时用]",
  32142. "type": "integer"
  32143. },
  32144. "tradedate": {
  32145. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  32146. "type": "string"
  32147. },
  32148. "tradedate2": {
  32149. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  32150. "type": "string"
  32151. },
  32152. "updatetime": {
  32153. "description": "更新时间",
  32154. "type": "string"
  32155. }
  32156. }
  32157. },
  32158. "models.Messageboard": {
  32159. "type": "object",
  32160. "required": [
  32161. "messageboardid"
  32162. ],
  32163. "properties": {
  32164. "contactnum": {
  32165. "description": "联系电话",
  32166. "type": "string"
  32167. },
  32168. "createtime": {
  32169. "description": "创建时间",
  32170. "type": "string"
  32171. },
  32172. "message": {
  32173. "description": "留言信息",
  32174. "type": "string"
  32175. },
  32176. "messageboardid": {
  32177. "description": "留言簿ID(SEQ_MessageBoard)",
  32178. "type": "integer"
  32179. },
  32180. "userid": {
  32181. "description": "用户ID",
  32182. "type": "integer"
  32183. }
  32184. }
  32185. },
  32186. "models.MyCoupon": {
  32187. "type": "object",
  32188. "required": [
  32189. "accountid",
  32190. "coupontypeid"
  32191. ],
  32192. "properties": {
  32193. "accountid": {
  32194. "description": "资金账户ID",
  32195. "type": "integer"
  32196. },
  32197. "areauserid": {
  32198. "description": "所属机构",
  32199. "type": "integer"
  32200. },
  32201. "conditionvalue": {
  32202. "description": "条件阈值(可为0)",
  32203. "type": "number"
  32204. },
  32205. "couponcategroy": {
  32206. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  32207. "type": "integer"
  32208. },
  32209. "couponname": {
  32210. "description": "优惠券名称",
  32211. "type": "string"
  32212. },
  32213. "coupontypeid": {
  32214. "description": "优惠券类型ID",
  32215. "type": "string"
  32216. },
  32217. "couponvalue": {
  32218. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  32219. "type": "number"
  32220. },
  32221. "curfreezeqty": {
  32222. "description": "期末冻结数量",
  32223. "type": "integer"
  32224. },
  32225. "curqty": {
  32226. "description": "期末数量",
  32227. "type": "integer"
  32228. },
  32229. "isgeneral": {
  32230. "description": "是否通用券 - 0:否 1:是",
  32231. "type": "integer"
  32232. },
  32233. "isunusable": {
  32234. "description": "是否不可用",
  32235. "type": "boolean"
  32236. },
  32237. "limitedflag": {
  32238. "description": "是否指定商品 - 0:不限 1:限制",
  32239. "type": "integer"
  32240. },
  32241. "limitedgoodsids": {
  32242. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  32243. "type": "string"
  32244. },
  32245. "orifreezeqty": {
  32246. "description": "期初冻结数量",
  32247. "type": "integer"
  32248. },
  32249. "oriqty": {
  32250. "description": "期初数量",
  32251. "type": "integer"
  32252. },
  32253. "reasontype": {
  32254. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  32255. "type": "integer"
  32256. },
  32257. "todaydecrease": {
  32258. "description": "今日减少",
  32259. "type": "integer"
  32260. },
  32261. "todayincrease": {
  32262. "description": "今日增加",
  32263. "type": "integer"
  32264. },
  32265. "userid": {
  32266. "description": "用户ID",
  32267. "type": "integer"
  32268. },
  32269. "userscope": {
  32270. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  32271. "type": "string"
  32272. }
  32273. }
  32274. },
  32275. "models.MyCouponHold": {
  32276. "type": "object",
  32277. "required": [
  32278. "couponholdid"
  32279. ],
  32280. "properties": {
  32281. "accountid": {
  32282. "description": "资金账户ID",
  32283. "type": "integer"
  32284. },
  32285. "conditionvalue": {
  32286. "description": "条件阈值(可为0)",
  32287. "type": "number"
  32288. },
  32289. "couponcategroy": {
  32290. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  32291. "type": "integer"
  32292. },
  32293. "couponholdid": {
  32294. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  32295. "type": "string"
  32296. },
  32297. "couponname": {
  32298. "description": "优惠券名称",
  32299. "type": "string"
  32300. },
  32301. "coupontypeid": {
  32302. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  32303. "type": "string"
  32304. },
  32305. "couponvalue": {
  32306. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  32307. "type": "number"
  32308. },
  32309. "createtime": {
  32310. "description": "创建时间",
  32311. "type": "string"
  32312. },
  32313. "enddate": {
  32314. "description": "结束日期",
  32315. "type": "string"
  32316. },
  32317. "giveapplyid": {
  32318. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  32319. "type": "integer"
  32320. },
  32321. "holdstatus": {
  32322. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  32323. "type": "integer"
  32324. },
  32325. "isgeneral": {
  32326. "description": "是否通用券 - 0:否 1:是",
  32327. "type": "integer"
  32328. },
  32329. "limitedflag": {
  32330. "description": "是否指定商品 - 0:不限 1:限制",
  32331. "type": "integer"
  32332. },
  32333. "limitedgoodsids": {
  32334. "description": "指定商品IDs[逗号分隔]",
  32335. "type": "string"
  32336. },
  32337. "qty": {
  32338. "description": "数量(按1平铺)",
  32339. "type": "integer"
  32340. },
  32341. "startdate": {
  32342. "description": "开始日期",
  32343. "type": "string"
  32344. },
  32345. "userid": {
  32346. "description": "用户ID",
  32347. "type": "integer"
  32348. },
  32349. "userscope": {
  32350. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  32351. "type": "string"
  32352. }
  32353. }
  32354. },
  32355. "models.MyUsedCoupon": {
  32356. "type": "object",
  32357. "required": [
  32358. "coupontypeid",
  32359. "orderid"
  32360. ],
  32361. "properties": {
  32362. "accountid": {
  32363. "description": "资金账户ID(买方)",
  32364. "type": "integer"
  32365. },
  32366. "conditionvalue": {
  32367. "description": "条件阈值(可为0)",
  32368. "type": "number"
  32369. },
  32370. "couponcategroy": {
  32371. "description": "种类 - 1:现金券 2:折扣券",
  32372. "type": "integer"
  32373. },
  32374. "couponname": {
  32375. "description": "优惠券名称",
  32376. "type": "string"
  32377. },
  32378. "coupontypeid": {
  32379. "description": "优惠券类型ID(买方)",
  32380. "type": "string"
  32381. },
  32382. "couponvalue": {
  32383. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  32384. "type": "number"
  32385. },
  32386. "createtime": {
  32387. "description": "创建时间",
  32388. "type": "string"
  32389. },
  32390. "goodsid": {
  32391. "description": "商品ID",
  32392. "type": "integer"
  32393. },
  32394. "handlestatus": {
  32395. "description": "处理状态",
  32396. "type": "integer"
  32397. },
  32398. "marketid": {
  32399. "description": "市场ID",
  32400. "type": "integer"
  32401. },
  32402. "offamount": {
  32403. "description": "优惠金额",
  32404. "type": "number"
  32405. },
  32406. "orderid": {
  32407. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32408. "type": "string"
  32409. },
  32410. "sellaccountid": {
  32411. "description": "资金账户ID(卖方)",
  32412. "type": "integer"
  32413. },
  32414. "tradeamount": {
  32415. "description": "成交金额",
  32416. "type": "number"
  32417. },
  32418. "tradeid": {
  32419. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32420. "type": "string"
  32421. },
  32422. "usedqty": {
  32423. "description": "使用数量",
  32424. "type": "integer"
  32425. }
  32426. }
  32427. },
  32428. "models.NewFuncmenulist": {
  32429. "type": "object",
  32430. "required": [
  32431. "resourcecode"
  32432. ],
  32433. "properties": {
  32434. "authtype": {
  32435. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  32436. "type": "integer"
  32437. },
  32438. "buttonname": {
  32439. "description": "按钮名称",
  32440. "type": "string"
  32441. },
  32442. "buttontype": {
  32443. "description": "按钮类型 - 存按钮样式",
  32444. "type": "string"
  32445. },
  32446. "component": {
  32447. "description": "组件名或组件地址",
  32448. "type": "string"
  32449. },
  32450. "hidden": {
  32451. "description": "是否隐藏 - 0:显示 1:隐藏",
  32452. "type": "integer"
  32453. },
  32454. "iconame": {
  32455. "description": "菜单图标",
  32456. "type": "string"
  32457. },
  32458. "menutype": {
  32459. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  32460. "type": "integer"
  32461. },
  32462. "parentcode": {
  32463. "description": "上级资源代码",
  32464. "type": "string"
  32465. },
  32466. "remark": {
  32467. "description": "Remark",
  32468. "type": "string"
  32469. },
  32470. "resourcecode": {
  32471. "description": "资源代码",
  32472. "type": "string"
  32473. },
  32474. "resourcelevel": {
  32475. "description": "级别1-一级 2-二级 3-三级4-四级",
  32476. "type": "integer"
  32477. },
  32478. "resourcename": {
  32479. "description": "资源名(Title)",
  32480. "type": "string"
  32481. },
  32482. "sort": {
  32483. "description": "排序",
  32484. "type": "integer"
  32485. },
  32486. "url": {
  32487. "description": "Url",
  32488. "type": "string"
  32489. },
  32490. "urltype": {
  32491. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  32492. "type": "integer"
  32493. }
  32494. }
  32495. },
  32496. "models.OperationPrimaryMenu": {
  32497. "type": "object",
  32498. "properties": {
  32499. "Children": {
  32500. "description": "二级功能菜单",
  32501. "type": "array",
  32502. "items": {
  32503. "$ref": "#/definitions/models.OperationSecondaryMenu"
  32504. }
  32505. },
  32506. "Key": {
  32507. "description": "菜单KEY",
  32508. "type": "string"
  32509. },
  32510. "Label": {
  32511. "description": "菜单标题",
  32512. "type": "string"
  32513. }
  32514. }
  32515. },
  32516. "models.OperationSecondaryMenu": {
  32517. "type": "object",
  32518. "properties": {
  32519. "Key": {
  32520. "description": "菜单KEY",
  32521. "type": "string"
  32522. },
  32523. "Label": {
  32524. "description": "菜单标题",
  32525. "type": "string"
  32526. },
  32527. "TabList": {
  32528. "description": "三级功能菜单",
  32529. "type": "array",
  32530. "items": {
  32531. "$ref": "#/definitions/models.OperationTabMenu"
  32532. }
  32533. }
  32534. }
  32535. },
  32536. "models.OperationTabMenu": {
  32537. "type": "object",
  32538. "properties": {
  32539. "Key": {
  32540. "description": "菜单KEY",
  32541. "type": "string"
  32542. },
  32543. "Label": {
  32544. "description": "菜单标题",
  32545. "type": "string"
  32546. }
  32547. }
  32548. },
  32549. "models.Patradelinkdetail": {
  32550. "type": "object",
  32551. "properties": {
  32552. "accountname": {
  32553. "description": "套期主体",
  32554. "type": "string"
  32555. },
  32556. "agreeunit": {
  32557. "description": "合约乘数",
  32558. "type": "number"
  32559. },
  32560. "amount": {
  32561. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  32562. "type": "number"
  32563. },
  32564. "areauserid": {
  32565. "description": "所属机构",
  32566. "type": "integer"
  32567. },
  32568. "bizsubjectid": {
  32569. "description": "归属业务部门ID - SubjectID",
  32570. "type": "integer"
  32571. },
  32572. "buyorsell": {
  32573. "description": "方向 - 0:买 1:卖",
  32574. "type": "integer"
  32575. },
  32576. "convertratio": {
  32577. "description": "品种系数",
  32578. "type": "number"
  32579. },
  32580. "convertratiochange": {
  32581. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  32582. "type": "number"
  32583. },
  32584. "createtime": {
  32585. "description": "[日期时间]创建时间",
  32586. "type": "string"
  32587. },
  32588. "creatorid": {
  32589. "description": "创建人ID",
  32590. "type": "integer"
  32591. },
  32592. "creatorsrc": {
  32593. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  32594. "type": "integer"
  32595. },
  32596. "goodscode": {
  32597. "description": "商品代码(内部)",
  32598. "type": "string"
  32599. },
  32600. "goodsgroupid": {
  32601. "description": "对冲品种ID[期货合约商品组ID]",
  32602. "type": "integer"
  32603. },
  32604. "goodsid": {
  32605. "description": "商品ID",
  32606. "type": "integer"
  32607. },
  32608. "hedgeditemid": {
  32609. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  32610. "type": "integer"
  32611. },
  32612. "hedgeflag": {
  32613. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  32614. "type": "integer"
  32615. },
  32616. "linkdetailid": {
  32617. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  32618. "type": "string"
  32619. },
  32620. "linkstatus": {
  32621. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  32622. "type": "integer"
  32623. },
  32624. "middlegoodsid": {
  32625. "description": "套保品种ID",
  32626. "type": "integer"
  32627. },
  32628. "name": {
  32629. "description": "账户名/子账户",
  32630. "type": "string"
  32631. },
  32632. "optioncode": {
  32633. "description": "[期货合约]期权代码 [期权]",
  32634. "type": "string"
  32635. },
  32636. "ordertype": {
  32637. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  32638. "type": "integer"
  32639. },
  32640. "relatedlot": {
  32641. "description": "[数量]关联手数",
  32642. "type": "number"
  32643. },
  32644. "relatedmode": {
  32645. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  32646. "type": "integer"
  32647. },
  32648. "relatedqty": {
  32649. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  32650. "type": "number"
  32651. },
  32652. "retcode": {
  32653. "description": "返回码",
  32654. "type": "integer"
  32655. },
  32656. "saleuserid": {
  32657. "description": "业务员ID",
  32658. "type": "integer"
  32659. },
  32660. "tradedate": {
  32661. "description": "关联交易日(yyyyMMdd)",
  32662. "type": "string"
  32663. },
  32664. "tradeid": {
  32665. "description": "[成交单号]内部成交单ID",
  32666. "type": "string"
  32667. },
  32668. "tradelot": {
  32669. "description": "成交手数",
  32670. "type": "integer"
  32671. },
  32672. "tradeprice": {
  32673. "description": "[价格]成交价格",
  32674. "type": "number"
  32675. },
  32676. "tradetradedate": {
  32677. "description": "成交交易日(yyyyMMdd)",
  32678. "type": "string"
  32679. }
  32680. }
  32681. },
  32682. "models.QhjAccountOutInApply": {
  32683. "type": "object",
  32684. "properties": {
  32685. "accountcode": {
  32686. "description": "资金账号",
  32687. "type": "string"
  32688. },
  32689. "accountname": {
  32690. "description": "用户名称(名称)",
  32691. "type": "string"
  32692. },
  32693. "accountpwd": {
  32694. "description": "资金密码",
  32695. "type": "string"
  32696. },
  32697. "accountticket": {
  32698. "description": "最新账户服务流水号",
  32699. "type": "string"
  32700. },
  32701. "amount": {
  32702. "description": "金额",
  32703. "type": "number"
  32704. },
  32705. "applyremark": {
  32706. "description": "申请备注",
  32707. "type": "string"
  32708. },
  32709. "applystatus": {
  32710. "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: 复审通过,账户冻结金额检查中;",
  32711. "type": "integer"
  32712. },
  32713. "auditid": {
  32714. "description": "审核人",
  32715. "type": "integer"
  32716. },
  32717. "audittime": {
  32718. "description": "审核时间",
  32719. "type": "string"
  32720. },
  32721. "bank_apply_ticket": {
  32722. "description": "银行申请流水",
  32723. "type": "string"
  32724. },
  32725. "bankaccountname": {
  32726. "description": "银行账户名",
  32727. "type": "string"
  32728. },
  32729. "bankaccountno": {
  32730. "description": "银行卡号",
  32731. "type": "string"
  32732. },
  32733. "bankid": {
  32734. "description": "银行编号",
  32735. "type": "string"
  32736. },
  32737. "bankticket": {
  32738. "description": "银行流水",
  32739. "type": "string"
  32740. },
  32741. "branchbankid": {
  32742. "description": "银行支行号",
  32743. "type": "string"
  32744. },
  32745. "branchbankname": {
  32746. "description": "银行支行名称",
  32747. "type": "string"
  32748. },
  32749. "capamountout": {
  32750. "description": "出金(劣后本金) - 外部子账户",
  32751. "type": "number"
  32752. },
  32753. "certificatephotourl": {
  32754. "description": "凭证地址",
  32755. "type": "string"
  32756. },
  32757. "charge": {
  32758. "description": "手续费",
  32759. "type": "number"
  32760. },
  32761. "checkerrorflag": {
  32762. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  32763. "type": "integer"
  32764. },
  32765. "currency": {
  32766. "description": "币种",
  32767. "type": "string"
  32768. },
  32769. "cusbankid": {
  32770. "description": "托管银行编号",
  32771. "type": "string"
  32772. },
  32773. "exchticket": {
  32774. "description": "银行服务流水号",
  32775. "type": "string"
  32776. },
  32777. "executetype": {
  32778. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  32779. "type": "integer"
  32780. },
  32781. "extendinfo": {
  32782. "description": "扩展信息",
  32783. "type": "string"
  32784. },
  32785. "extoperateid": {
  32786. "description": "交易服务流水号",
  32787. "type": "integer"
  32788. },
  32789. "infamount": {
  32790. "description": "劣后金额(自有)",
  32791. "type": "number"
  32792. },
  32793. "logincode": {
  32794. "description": "登录账号(账号)",
  32795. "type": "string"
  32796. },
  32797. "netaddr": {
  32798. "description": "调转网址",
  32799. "type": "string"
  32800. },
  32801. "priamount": {
  32802. "description": "优先金额(授信)",
  32803. "type": "number"
  32804. },
  32805. "reauditid": {
  32806. "description": "复审人",
  32807. "type": "integer"
  32808. },
  32809. "reauditremark": {
  32810. "description": "复审备注",
  32811. "type": "string"
  32812. },
  32813. "reaudittime": {
  32814. "description": "复审时间",
  32815. "type": "string"
  32816. },
  32817. "relatedorderid": {
  32818. "description": "三方关联ID",
  32819. "type": "string"
  32820. },
  32821. "remark": {
  32822. "description": "备注",
  32823. "type": "string"
  32824. },
  32825. "remark2": {
  32826. "description": "备注(失败原因)",
  32827. "type": "string"
  32828. },
  32829. "soucreamount": {
  32830. "description": "原始出入金金额",
  32831. "type": "number"
  32832. },
  32833. "soucrecurrencyid": {
  32834. "description": "原始出入金币种",
  32835. "type": "integer"
  32836. },
  32837. "tradedate": {
  32838. "description": "交易日(yyyyMMdd)",
  32839. "type": "string"
  32840. },
  32841. "updatetime": {
  32842. "description": "更新时间(申请时间)",
  32843. "type": "string"
  32844. },
  32845. "userid": {
  32846. "description": "用户id",
  32847. "type": "integer"
  32848. },
  32849. "userinfotype": {
  32850. "description": "账户类型 1-个人 2-企业",
  32851. "type": "integer"
  32852. }
  32853. }
  32854. },
  32855. "models.QhjAgreementChangeLog": {
  32856. "type": "object",
  32857. "properties": {
  32858. "agreementcontent": {
  32859. "description": "协议内容",
  32860. "type": "string"
  32861. },
  32862. "agreementfrequency": {
  32863. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32864. "type": "integer"
  32865. },
  32866. "agreementid": {
  32867. "description": "协议ID",
  32868. "type": "integer"
  32869. },
  32870. "agreementname": {
  32871. "description": "协议名称",
  32872. "type": "string"
  32873. },
  32874. "agreementno": {
  32875. "description": "协议编号",
  32876. "type": "string"
  32877. },
  32878. "agreementtype": {
  32879. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32880. "type": "integer"
  32881. },
  32882. "agreementversion": {
  32883. "description": "协议版本号",
  32884. "type": "integer"
  32885. },
  32886. "logid": {
  32887. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  32888. "type": "integer"
  32889. },
  32890. "reviserid": {
  32891. "description": "修改人",
  32892. "type": "integer"
  32893. },
  32894. "revisersrc": {
  32895. "description": "修改来源 - 1:管理端 2:终端",
  32896. "type": "integer"
  32897. },
  32898. "updatetime": {
  32899. "description": "更新时间",
  32900. "type": "string"
  32901. }
  32902. }
  32903. },
  32904. "models.QhjAgreementConfig": {
  32905. "type": "object",
  32906. "properties": {
  32907. "agreementcontent": {
  32908. "description": "协议内容",
  32909. "type": "string"
  32910. },
  32911. "agreementfrequency": {
  32912. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32913. "type": "integer"
  32914. },
  32915. "agreementid": {
  32916. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  32917. "type": "integer"
  32918. },
  32919. "agreementname": {
  32920. "description": "协议名称",
  32921. "type": "string"
  32922. },
  32923. "agreementno": {
  32924. "description": "协议编号",
  32925. "type": "string"
  32926. },
  32927. "agreementtype": {
  32928. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32929. "type": "integer"
  32930. },
  32931. "agreementversion": {
  32932. "description": "协议版本号(从1开始每次修改加1)",
  32933. "type": "integer"
  32934. },
  32935. "createtime": {
  32936. "description": "创建时间",
  32937. "type": "string"
  32938. },
  32939. "creatorid": {
  32940. "description": "创建人",
  32941. "type": "integer"
  32942. },
  32943. "creatorsrc": {
  32944. "description": "创建来源 - 1:管理端 2:终端",
  32945. "type": "integer"
  32946. },
  32947. "isvalid": {
  32948. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  32949. "type": "integer"
  32950. },
  32951. "reviserid": {
  32952. "description": "修改人",
  32953. "type": "integer"
  32954. },
  32955. "revisersrc": {
  32956. "description": "修改来源 - 1:管理端 2:终端",
  32957. "type": "integer"
  32958. },
  32959. "updatetime": {
  32960. "description": "更新时间",
  32961. "type": "string"
  32962. }
  32963. }
  32964. },
  32965. "models.QhjAreaFinanceConfig": {
  32966. "type": "object",
  32967. "properties": {
  32968. "additionalratio": {
  32969. "description": "追加款比例",
  32970. "type": "number"
  32971. },
  32972. "advanceratio": {
  32973. "description": "预付款比例",
  32974. "type": "number"
  32975. },
  32976. "alarmratio": {
  32977. "description": "告警比例",
  32978. "type": "number"
  32979. },
  32980. "consumptiondirectreward": {
  32981. "description": "消费直推奖励值",
  32982. "type": "number"
  32983. },
  32984. "consumptionenabled": {
  32985. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  32986. "type": "integer"
  32987. },
  32988. "consumptionindirectreward": {
  32989. "description": "消费间推奖励值",
  32990. "type": "number"
  32991. },
  32992. "consumptionmodel": {
  32993. "description": "消费奖励方式 - 1:比率 2:固定",
  32994. "type": "integer"
  32995. },
  32996. "customerservicenum": {
  32997. "description": "客服电话",
  32998. "type": "string"
  32999. },
  33000. "dayinterestrate": {
  33001. "description": "日利率",
  33002. "type": "number"
  33003. },
  33004. "disableconsumptiontips": {
  33005. "description": "关闭消费奖励提示",
  33006. "type": "string"
  33007. },
  33008. "modifierid": {
  33009. "description": "修改人ID",
  33010. "type": "integer"
  33011. },
  33012. "modifysrc": {
  33013. "description": "审核来源 - 1:管理端 2:终端",
  33014. "type": "integer"
  33015. },
  33016. "modifytime": {
  33017. "description": "修改时间",
  33018. "type": "string"
  33019. },
  33020. "promotionvalue": {
  33021. "description": "推广奖励值(固定)",
  33022. "type": "number"
  33023. },
  33024. "scoreconfigvalue1": {
  33025. "description": "提货积分配置1",
  33026. "type": "integer"
  33027. },
  33028. "scoreconfigvalue2": {
  33029. "description": "提货积分配置2",
  33030. "type": "integer"
  33031. },
  33032. "userid": {
  33033. "description": "机构用户ID其他做市关系,都设置为 1",
  33034. "type": "integer"
  33035. },
  33036. "username": {
  33037. "description": "用户名称",
  33038. "type": "string"
  33039. }
  33040. }
  33041. },
  33042. "models.QhjBankAccountSign": {
  33043. "type": "object",
  33044. "properties": {
  33045. "accountcode": {
  33046. "description": "资金账号",
  33047. "type": "string"
  33048. },
  33049. "accountname": {
  33050. "description": "资金账号对应的账号名(UserName)",
  33051. "type": "string"
  33052. },
  33053. "accountname2": {
  33054. "description": "资金账号对应的账号名(UserName) - 密文",
  33055. "type": "string"
  33056. },
  33057. "accounttype": {
  33058. "description": "账户类型(UserType)",
  33059. "type": "integer"
  33060. },
  33061. "applicationtime": {
  33062. "description": "最后一次更新的时间",
  33063. "type": "string"
  33064. },
  33065. "applyexchticket": {
  33066. "description": "申请流水",
  33067. "type": "string"
  33068. },
  33069. "auditid": {
  33070. "description": "审核人",
  33071. "type": "integer"
  33072. },
  33073. "audittime": {
  33074. "description": "审核时间",
  33075. "type": "string"
  33076. },
  33077. "bankaccountname": {
  33078. "description": "签约银行卡账号名",
  33079. "type": "string"
  33080. },
  33081. "bankaccountname2": {
  33082. "description": "签约银行卡账号名 - 密文",
  33083. "type": "string"
  33084. },
  33085. "bankaccountno": {
  33086. "description": "银行卡号",
  33087. "type": "string"
  33088. },
  33089. "bankaccountno2": {
  33090. "description": "银行卡号 - 密文",
  33091. "type": "string"
  33092. },
  33093. "bankaccounttype": {
  33094. "description": "银行账户类型 - 1-对私; 2-对公",
  33095. "type": "integer"
  33096. },
  33097. "bankcardtype": {
  33098. "description": "银行卡类型",
  33099. "type": "integer"
  33100. },
  33101. "bankchildaccount": {
  33102. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  33103. "type": "string"
  33104. },
  33105. "bankcity": {
  33106. "description": "开户行城市",
  33107. "type": "string"
  33108. },
  33109. "bankid": {
  33110. "description": "签约银行ID",
  33111. "type": "string"
  33112. },
  33113. "bankname": {
  33114. "description": "签约银行名称",
  33115. "type": "string"
  33116. },
  33117. "bankprovince": {
  33118. "description": "开户行省份",
  33119. "type": "string"
  33120. },
  33121. "branchbankid": {
  33122. "description": "签约银行支行号",
  33123. "type": "string"
  33124. },
  33125. "branchbankname": {
  33126. "description": "签约银行支行名称",
  33127. "type": "string"
  33128. },
  33129. "cardno": {
  33130. "description": "证件号码",
  33131. "type": "string"
  33132. },
  33133. "cardno2": {
  33134. "description": "证件号码 - 密文",
  33135. "type": "string"
  33136. },
  33137. "cardtype": {
  33138. "description": "证件类型",
  33139. "type": "string"
  33140. },
  33141. "currency": {
  33142. "description": "币种",
  33143. "type": "string"
  33144. },
  33145. "cusbankid": {
  33146. "description": "托管银行编号",
  33147. "type": "string"
  33148. },
  33149. "direct": {
  33150. "description": "方向(可以判断那方先发起的签约)",
  33151. "type": "integer"
  33152. },
  33153. "exchticket": {
  33154. "description": "最后一次签约成功的流水号",
  33155. "type": "string"
  33156. },
  33157. "extendinfo": {
  33158. "description": "扩展信息(JSON字符串)",
  33159. "type": "string"
  33160. },
  33161. "mobilephone": {
  33162. "description": "手机号",
  33163. "type": "string"
  33164. },
  33165. "mobilephone2": {
  33166. "description": "手机号 - 密文",
  33167. "type": "string"
  33168. },
  33169. "netaddr": {
  33170. "description": "调转网址",
  33171. "type": "string"
  33172. },
  33173. "relateduserid": {
  33174. "description": "关联使用者userid",
  33175. "type": "integer"
  33176. },
  33177. "signstatus": {
  33178. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  33179. "type": "integer"
  33180. },
  33181. "updatetime": {
  33182. "description": "更新时间(签解约更新时间)",
  33183. "type": "string"
  33184. }
  33185. }
  33186. },
  33187. "models.QhjBankInfo": {
  33188. "type": "object",
  33189. "properties": {
  33190. "bankid": {
  33191. "description": "银行ID",
  33192. "type": "string"
  33193. },
  33194. "bankname": {
  33195. "description": "银行名称",
  33196. "type": "string"
  33197. },
  33198. "clearbankno": {
  33199. "description": "清算系统银行编号",
  33200. "type": "string"
  33201. },
  33202. "orderindex": {
  33203. "description": "排序顺序",
  33204. "type": "integer"
  33205. },
  33206. "status": {
  33207. "description": "状态 - 0:正常 1:注销",
  33208. "type": "integer"
  33209. }
  33210. }
  33211. },
  33212. "models.QhjBrokerApply": {
  33213. "type": "object",
  33214. "properties": {
  33215. "applicantid": {
  33216. "description": "申请人",
  33217. "type": "integer"
  33218. },
  33219. "applysrc": {
  33220. "description": "申请来源 - 1:管理端 2:终端",
  33221. "type": "integer"
  33222. },
  33223. "applystatus": {
  33224. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33225. "type": "integer"
  33226. },
  33227. "applytime": {
  33228. "description": "申请时间",
  33229. "type": "string"
  33230. },
  33231. "auditorid": {
  33232. "description": "审核人",
  33233. "type": "integer"
  33234. },
  33235. "auditremark": {
  33236. "description": "审核备注",
  33237. "type": "string"
  33238. },
  33239. "auditsrc": {
  33240. "description": "审核来源 - 1:管理端 2:终端",
  33241. "type": "integer"
  33242. },
  33243. "audittime": {
  33244. "description": "审核时间",
  33245. "type": "string"
  33246. },
  33247. "audittradedate": {
  33248. "description": "审核交易日(yyyyMMdd)",
  33249. "type": "string"
  33250. },
  33251. "brokerapplyid": {
  33252. "description": "申请ID(SEQ_BROKERAPPLY)",
  33253. "type": "integer"
  33254. },
  33255. "cardbackphotourl": {
  33256. "description": "证件背面图片地址",
  33257. "type": "string"
  33258. },
  33259. "cardfrontphotourl": {
  33260. "description": "证件正面图片地址",
  33261. "type": "string"
  33262. },
  33263. "cardnum": {
  33264. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33265. "type": "string"
  33266. },
  33267. "customername": {
  33268. "description": "姓名",
  33269. "type": "string"
  33270. },
  33271. "logincode": {
  33272. "description": "登录代码",
  33273. "type": "string"
  33274. },
  33275. "mobile": {
  33276. "description": "手机号码",
  33277. "type": "string"
  33278. },
  33279. "parentuserid": {
  33280. "description": "所属机构id",
  33281. "type": "integer"
  33282. },
  33283. "parentusername": {
  33284. "description": "所属机构名称",
  33285. "type": "string"
  33286. },
  33287. "refereeuserid": {
  33288. "description": "推荐人id(经纪人)",
  33289. "type": "integer"
  33290. },
  33291. "refernum": {
  33292. "description": "推荐码",
  33293. "type": "string"
  33294. },
  33295. "remark": {
  33296. "description": "备注",
  33297. "type": "string"
  33298. },
  33299. "subarealevelpath": {
  33300. "description": "层级路径",
  33301. "type": "string"
  33302. },
  33303. "tradedate": {
  33304. "description": "交易日(yyyyMMdd)",
  33305. "type": "string"
  33306. },
  33307. "userid": {
  33308. "description": "申请人用户ID",
  33309. "type": "integer"
  33310. },
  33311. "userinfotype": {
  33312. "description": "用户类型 1-个人 2-企业",
  33313. "type": "integer"
  33314. },
  33315. "username": {
  33316. "description": "用户名称",
  33317. "type": "string"
  33318. }
  33319. }
  33320. },
  33321. "models.QhjBrokerApplyEx": {
  33322. "type": "object",
  33323. "properties": {
  33324. "applylist": {
  33325. "description": "经纪人申请记录(只返回最新一条)",
  33326. "type": "array",
  33327. "items": {
  33328. "$ref": "#/definitions/models.QhjBrokerApply"
  33329. }
  33330. },
  33331. "canrecommend": {
  33332. "description": "是否经纪人 0-不是 1-是",
  33333. "type": "integer"
  33334. },
  33335. "refernum": {
  33336. "description": "推荐码",
  33337. "type": "string"
  33338. },
  33339. "userid": {
  33340. "description": "用户id",
  33341. "type": "integer"
  33342. },
  33343. "userinfotype": {
  33344. "description": "用户类型 1-个人 2-企业",
  33345. "type": "integer"
  33346. }
  33347. }
  33348. },
  33349. "models.QhjBrokerRewardLog": {
  33350. "type": "object",
  33351. "properties": {
  33352. "accountid": {
  33353. "description": "资金账号ID",
  33354. "type": "integer"
  33355. },
  33356. "createtime": {
  33357. "description": "创建时间(时间)",
  33358. "type": "string"
  33359. },
  33360. "handlestatus": {
  33361. "description": "处理状态",
  33362. "type": "integer"
  33363. },
  33364. "logid": {
  33365. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33366. "type": "string"
  33367. },
  33368. "marketid": {
  33369. "description": "市场ID",
  33370. "type": "integer"
  33371. },
  33372. "mmaccountid": {
  33373. "description": "做市商资金账号ID",
  33374. "type": "string"
  33375. },
  33376. "mmuserid": {
  33377. "description": "做市商用户ID",
  33378. "type": "string"
  33379. },
  33380. "rewardamount": {
  33381. "description": "奖励金额",
  33382. "type": "number"
  33383. },
  33384. "rewardmodel": {
  33385. "description": "消费奖励方式 - 1:比率 2:固定",
  33386. "type": "integer"
  33387. },
  33388. "rewardtype": {
  33389. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  33390. "type": "integer"
  33391. },
  33392. "rewardvalue": {
  33393. "description": "配置奖励值",
  33394. "type": "number"
  33395. },
  33396. "srcamount": {
  33397. "description": "成交金额 [消费奖励] (金额)",
  33398. "type": "number"
  33399. },
  33400. "srcgoodsid": {
  33401. "description": "来源商品ID [消费奖励]",
  33402. "type": "string"
  33403. },
  33404. "srctime": {
  33405. "description": "来源时间 (成交时间) [消费奖励]",
  33406. "type": "string"
  33407. },
  33408. "srctradeid": {
  33409. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  33410. "type": "string"
  33411. },
  33412. "srcuserid": {
  33413. "description": "来源用户ID(推广账户)",
  33414. "type": "string"
  33415. },
  33416. "srcusername": {
  33417. "description": "推广账户名称",
  33418. "type": "string"
  33419. },
  33420. "tradedate": {
  33421. "description": "交易日(yyyyMMdd)",
  33422. "type": "string"
  33423. },
  33424. "userid": {
  33425. "description": "经纪人用户ID",
  33426. "type": "integer"
  33427. }
  33428. }
  33429. },
  33430. "models.QhjContract": {
  33431. "type": "object",
  33432. "properties": {
  33433. "contractconfirmtime": {
  33434. "description": "合同确认时间(时间)",
  33435. "type": "string"
  33436. },
  33437. "currisklevel": {
  33438. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33439. "type": "integer"
  33440. },
  33441. "decimalplace": {
  33442. "description": "商品报价小数位",
  33443. "type": "integer"
  33444. },
  33445. "enumdicname": {
  33446. "description": "单位名称",
  33447. "type": "string"
  33448. },
  33449. "goodscode": {
  33450. "description": "商品代码",
  33451. "type": "string"
  33452. },
  33453. "goodsid": {
  33454. "description": "商品ID [5:融资单]",
  33455. "type": "integer"
  33456. },
  33457. "goodsname": {
  33458. "description": "商品名称",
  33459. "type": "string"
  33460. },
  33461. "goodunitid": {
  33462. "description": "商品单位id",
  33463. "type": "integer"
  33464. },
  33465. "initmargin": {
  33466. "description": "初始保证金(首付款)",
  33467. "type": "number"
  33468. },
  33469. "lenderamount": {
  33470. "description": "贷款金额(总额|订单总额)",
  33471. "type": "number"
  33472. },
  33473. "marginratio": {
  33474. "description": "保证金比率(首付比例)",
  33475. "type": "number"
  33476. },
  33477. "payamount": {
  33478. "description": "已付(已付货款)",
  33479. "type": "number"
  33480. },
  33481. "reckonrecovermargin": {
  33482. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33483. "type": "number"
  33484. },
  33485. "recoveredmargin": {
  33486. "description": "已追缴保证金",
  33487. "type": "number"
  33488. },
  33489. "remainamount": {
  33490. "description": "合同剩余金额(融资额)",
  33491. "type": "number"
  33492. },
  33493. "scfcontractid": {
  33494. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33495. "type": "string"
  33496. },
  33497. "scfcontractstatus": {
  33498. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33499. "type": "integer"
  33500. },
  33501. "scfcontracttype": {
  33502. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33503. "type": "integer"
  33504. },
  33505. "totalinterest": {
  33506. "description": "已计总利息(利息)",
  33507. "type": "number"
  33508. },
  33509. "tradeprice": {
  33510. "description": "成交价格(成本价格)",
  33511. "type": "number"
  33512. },
  33513. "userid": {
  33514. "description": "用户ID",
  33515. "type": "integer"
  33516. },
  33517. "username": {
  33518. "description": "用户名称",
  33519. "type": "string"
  33520. },
  33521. "wrqty": {
  33522. "description": "仓单数量(数量)",
  33523. "type": "number"
  33524. }
  33525. }
  33526. },
  33527. "models.QhjContractLog": {
  33528. "type": "object",
  33529. "properties": {
  33530. "amount": {
  33531. "description": "支付金额",
  33532. "type": "number"
  33533. },
  33534. "amounttype": {
  33535. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  33536. "type": "integer"
  33537. },
  33538. "logid": {
  33539. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33540. "type": "string"
  33541. },
  33542. "remainamount": {
  33543. "description": "剩余货款",
  33544. "type": "number"
  33545. },
  33546. "scfcontractid": {
  33547. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33548. "type": "integer"
  33549. },
  33550. "updatetime": {
  33551. "description": "更新时间",
  33552. "type": "string"
  33553. }
  33554. }
  33555. },
  33556. "models.QhjCusBankSignBankEx": {
  33557. "type": "object",
  33558. "properties": {
  33559. "banklst": {
  33560. "description": "银行列表",
  33561. "type": "array",
  33562. "items": {
  33563. "$ref": "#/definitions/models.QhjBankInfo"
  33564. }
  33565. },
  33566. "canallot": {
  33567. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  33568. "type": "integer"
  33569. },
  33570. "canallotquery": {
  33571. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  33572. "type": "integer"
  33573. },
  33574. "canbindcard": {
  33575. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  33576. "type": "integer"
  33577. },
  33578. "caninamount": {
  33579. "description": "是否可入金 - 0:不可 1:可以",
  33580. "type": "integer"
  33581. },
  33582. "caninamount2": {
  33583. "description": "是否可入金(网银端) - 0:不可 1:可以",
  33584. "type": "integer"
  33585. },
  33586. "canmodifybankcard": {
  33587. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  33588. "type": "integer"
  33589. },
  33590. "canmodifyphone": {
  33591. "description": "是否可修改手机号 - 0:不可 1:可以",
  33592. "type": "integer"
  33593. },
  33594. "canmodifysigninfo": {
  33595. "description": "是否可修改签约信息 - 0:不可 1:可以",
  33596. "type": "integer"
  33597. },
  33598. "canoutamount": {
  33599. "description": "是否可出金 - 0:不可 1:可以",
  33600. "type": "integer"
  33601. },
  33602. "canoutamount2": {
  33603. "description": "是否可出金(网银端) - 0:不可 1:可以",
  33604. "type": "integer"
  33605. },
  33606. "canrelease": {
  33607. "description": "是否可解约 - 0:不可 1:可以",
  33608. "type": "integer"
  33609. },
  33610. "canrelease2": {
  33611. "description": "是否可解约(网银端) - 0:不可 1:可以",
  33612. "type": "integer"
  33613. },
  33614. "cansign": {
  33615. "description": "是否可签约 - 0:不可 1:可以",
  33616. "type": "integer"
  33617. },
  33618. "cansign2": {
  33619. "description": "是否可签约(网银端) - 0:不可 1:可以",
  33620. "type": "integer"
  33621. },
  33622. "currency": {
  33623. "description": "币种",
  33624. "type": "string"
  33625. },
  33626. "cusbankid": {
  33627. "description": "托管银行编号(对应清算中心TRAN_NO)",
  33628. "type": "string"
  33629. },
  33630. "cusbankname": {
  33631. "description": "银行业务名称",
  33632. "type": "string"
  33633. },
  33634. "cusbankshortname": {
  33635. "description": "银行业务简称",
  33636. "type": "string"
  33637. },
  33638. "exchbankid": {
  33639. "description": "交易所开户银行ID",
  33640. "type": "string"
  33641. },
  33642. "exchpaybankaccname": {
  33643. "description": "交易所支出结算账户户名",
  33644. "type": "string"
  33645. },
  33646. "exchpaybankaccno": {
  33647. "description": "交易所支出结算账户",
  33648. "type": "string"
  33649. },
  33650. "isneedcheck": {
  33651. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  33652. "type": "integer"
  33653. },
  33654. "isneedclear": {
  33655. "description": "是否需要清算 - 0:不需要 1:需要",
  33656. "type": "integer"
  33657. },
  33658. "lastcheckstatus": {
  33659. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  33660. "type": "integer"
  33661. },
  33662. "lastchecktime": {
  33663. "description": "最后对账时间",
  33664. "type": "string"
  33665. },
  33666. "lastclearstatus": {
  33667. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  33668. "type": "integer"
  33669. },
  33670. "lastcleartime": {
  33671. "description": "最后清算时间",
  33672. "type": "string"
  33673. },
  33674. "lastsignintime": {
  33675. "description": "最后签到时间",
  33676. "type": "string"
  33677. },
  33678. "lastsignouttime": {
  33679. "description": "最后签退时间",
  33680. "type": "string"
  33681. },
  33682. "riskinfo": {
  33683. "description": "签约风险提示书",
  33684. "type": "string"
  33685. },
  33686. "signstatus": {
  33687. "description": "当前签到/签退状态 - 1:签到 2:签退",
  33688. "type": "integer"
  33689. },
  33690. "tradedate": {
  33691. "description": "交易日(yyyyMMdd)",
  33692. "type": "string"
  33693. },
  33694. "updatetime": {
  33695. "description": "当前签到/签退更新时间",
  33696. "type": "string"
  33697. }
  33698. }
  33699. },
  33700. "models.QhjCustomer": {
  33701. "type": "object",
  33702. "properties": {
  33703. "address": {
  33704. "description": "通讯地址",
  33705. "type": "string"
  33706. },
  33707. "attachment1": {
  33708. "description": "附件1",
  33709. "type": "string"
  33710. },
  33711. "attachment2": {
  33712. "description": "附件2",
  33713. "type": "string"
  33714. },
  33715. "audittime": {
  33716. "description": "审核时间",
  33717. "type": "string"
  33718. },
  33719. "cardbackphotourl": {
  33720. "description": "证件反面图片地址",
  33721. "type": "string"
  33722. },
  33723. "cardfrontphotourl": {
  33724. "description": "证件正面图片地址",
  33725. "type": "string"
  33726. },
  33727. "cardnum": {
  33728. "description": "证件号码",
  33729. "type": "string"
  33730. },
  33731. "cardtype": {
  33732. "description": "证件类型",
  33733. "type": "integer"
  33734. },
  33735. "cardtypename": {
  33736. "description": "证件类型名称",
  33737. "type": "string"
  33738. },
  33739. "cityid": {
  33740. "description": "市",
  33741. "type": "integer"
  33742. },
  33743. "cityname": {
  33744. "description": "城市名称",
  33745. "type": "string"
  33746. },
  33747. "contactname": {
  33748. "description": "联系人",
  33749. "type": "string"
  33750. },
  33751. "countryid": {
  33752. "description": "国家",
  33753. "type": "integer"
  33754. },
  33755. "countryname": {
  33756. "description": "国家名称",
  33757. "type": "string"
  33758. },
  33759. "createtime": {
  33760. "description": "创建时间",
  33761. "type": "string"
  33762. },
  33763. "customername": {
  33764. "description": "客户名称",
  33765. "type": "string"
  33766. },
  33767. "districtid": {
  33768. "description": "区域",
  33769. "type": "integer"
  33770. },
  33771. "districtname": {
  33772. "description": "地区名称",
  33773. "type": "string"
  33774. },
  33775. "email": {
  33776. "description": "邮件",
  33777. "type": "string"
  33778. },
  33779. "legalpersonname": {
  33780. "description": "法人姓名(企业)",
  33781. "type": "string"
  33782. },
  33783. "logincode": {
  33784. "description": "登录账号(代码)",
  33785. "type": "string"
  33786. },
  33787. "memberuserid": {
  33788. "description": "所属机构ID(所属会员)",
  33789. "type": "integer"
  33790. },
  33791. "memberusername": {
  33792. "description": "所属会员名称",
  33793. "type": "string"
  33794. },
  33795. "mobile": {
  33796. "description": "手机号码",
  33797. "type": "string"
  33798. },
  33799. "modifytime": {
  33800. "description": "修改时间",
  33801. "type": "string"
  33802. },
  33803. "nickname": {
  33804. "description": "昵称",
  33805. "type": "string"
  33806. },
  33807. "parentuserid": {
  33808. "description": "上级机构(所属机构)",
  33809. "type": "integer"
  33810. },
  33811. "parentusername": {
  33812. "description": "所属机构名称",
  33813. "type": "string"
  33814. },
  33815. "provinceid": {
  33816. "description": "省",
  33817. "type": "integer"
  33818. },
  33819. "provincename": {
  33820. "description": "省名称",
  33821. "type": "string"
  33822. },
  33823. "proxystatementurl": {
  33824. "description": "授权委托书",
  33825. "type": "string"
  33826. },
  33827. "remark": {
  33828. "description": "备注",
  33829. "type": "string"
  33830. },
  33831. "status": {
  33832. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  33833. "type": "integer"
  33834. },
  33835. "statusdesc": {
  33836. "description": "账户状态中文描述",
  33837. "type": "string"
  33838. },
  33839. "taxpayernum": {
  33840. "description": "纳税人识别号",
  33841. "type": "string"
  33842. },
  33843. "telphone": {
  33844. "description": "联系电话",
  33845. "type": "string"
  33846. },
  33847. "userid": {
  33848. "description": "用户ID",
  33849. "type": "integer"
  33850. },
  33851. "userinfotype": {
  33852. "description": "客户类型 1-个人 2-企业",
  33853. "type": "integer"
  33854. },
  33855. "username": {
  33856. "description": "用户名称",
  33857. "type": "string"
  33858. }
  33859. }
  33860. },
  33861. "models.QhjCustomerSignLog": {
  33862. "type": "object",
  33863. "properties": {
  33864. "agreementcontent": {
  33865. "description": "协议内容",
  33866. "type": "string"
  33867. },
  33868. "agreementid": {
  33869. "description": "协议ID",
  33870. "type": "integer"
  33871. },
  33872. "agreementname": {
  33873. "description": "协议名称",
  33874. "type": "string"
  33875. },
  33876. "agreementno": {
  33877. "description": "协议编号",
  33878. "type": "string"
  33879. },
  33880. "agreementtype": {
  33881. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33882. "type": "integer"
  33883. },
  33884. "agreementversion": {
  33885. "description": "协议版本号",
  33886. "type": "integer"
  33887. },
  33888. "createtime": {
  33889. "description": "创建时间",
  33890. "type": "string"
  33891. },
  33892. "goodscode": {
  33893. "description": "商品代码",
  33894. "type": "string"
  33895. },
  33896. "goodsid": {
  33897. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33898. "type": "integer"
  33899. },
  33900. "goodsname": {
  33901. "description": "商品名称",
  33902. "type": "string"
  33903. },
  33904. "logid": {
  33905. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  33906. "type": "integer"
  33907. },
  33908. "nodetype": {
  33909. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  33910. "type": "integer"
  33911. },
  33912. "signadressurl": {
  33913. "description": "签约文件地址",
  33914. "type": "string"
  33915. },
  33916. "signtimestamp": {
  33917. "description": "签约状态时间戳",
  33918. "type": "string"
  33919. },
  33920. "userid": {
  33921. "description": "客户ID",
  33922. "type": "integer"
  33923. },
  33924. "username": {
  33925. "description": "客户名称",
  33926. "type": "string"
  33927. }
  33928. }
  33929. },
  33930. "models.QhjCustomerSignStatus": {
  33931. "type": "object",
  33932. "properties": {
  33933. "createtime": {
  33934. "description": "创建时间",
  33935. "type": "string"
  33936. },
  33937. "goodscode": {
  33938. "description": "商品代码",
  33939. "type": "string"
  33940. },
  33941. "goodsid": {
  33942. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33943. "type": "integer"
  33944. },
  33945. "goodsname": {
  33946. "description": "商品名称",
  33947. "type": "string"
  33948. },
  33949. "nodetype": {
  33950. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  33951. "type": "integer"
  33952. },
  33953. "signtimestamp": {
  33954. "description": "签约状态时间戳",
  33955. "type": "string"
  33956. },
  33957. "tradedate": {
  33958. "description": "创建交易日(yyyyMMdd)",
  33959. "type": "string"
  33960. },
  33961. "updatetime": {
  33962. "description": "更新时间",
  33963. "type": "string"
  33964. },
  33965. "userid": {
  33966. "description": "客户ID",
  33967. "type": "integer"
  33968. },
  33969. "username": {
  33970. "description": "客户名称",
  33971. "type": "string"
  33972. }
  33973. }
  33974. },
  33975. "models.QhjMgrAccountOutInApply": {
  33976. "type": "object",
  33977. "properties": {
  33978. "accountcode": {
  33979. "description": "资金账号",
  33980. "type": "string"
  33981. },
  33982. "accountname": {
  33983. "description": "用户名称(名称)",
  33984. "type": "string"
  33985. },
  33986. "accountpwd": {
  33987. "description": "资金密码",
  33988. "type": "string"
  33989. },
  33990. "accountticket": {
  33991. "description": "最新账户服务流水号",
  33992. "type": "string"
  33993. },
  33994. "amount": {
  33995. "description": "金额",
  33996. "type": "number"
  33997. },
  33998. "applyremark": {
  33999. "description": "申请备注",
  34000. "type": "string"
  34001. },
  34002. "applystatus": {
  34003. "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: 复审通过,账户冻结金额检查中;",
  34004. "type": "integer"
  34005. },
  34006. "auditid": {
  34007. "description": "审核人",
  34008. "type": "integer"
  34009. },
  34010. "audittime": {
  34011. "description": "审核时间",
  34012. "type": "string"
  34013. },
  34014. "bank_apply_ticket": {
  34015. "description": "银行申请流水",
  34016. "type": "string"
  34017. },
  34018. "bankaccountname": {
  34019. "description": "银行账户名",
  34020. "type": "string"
  34021. },
  34022. "bankaccountno": {
  34023. "description": "银行卡号",
  34024. "type": "string"
  34025. },
  34026. "bankid": {
  34027. "description": "银行编号",
  34028. "type": "string"
  34029. },
  34030. "bankname": {
  34031. "description": "银行名称",
  34032. "type": "string"
  34033. },
  34034. "bankticket": {
  34035. "description": "银行流水",
  34036. "type": "string"
  34037. },
  34038. "branchbankid": {
  34039. "description": "银行支行号",
  34040. "type": "string"
  34041. },
  34042. "branchbankname": {
  34043. "description": "银行支行名称",
  34044. "type": "string"
  34045. },
  34046. "capamountout": {
  34047. "description": "出金(劣后本金) - 外部子账户",
  34048. "type": "number"
  34049. },
  34050. "certificatephotourl": {
  34051. "description": "凭证地址",
  34052. "type": "string"
  34053. },
  34054. "charge": {
  34055. "description": "手续费",
  34056. "type": "number"
  34057. },
  34058. "checkerrorflag": {
  34059. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  34060. "type": "integer"
  34061. },
  34062. "currency": {
  34063. "description": "币种",
  34064. "type": "string"
  34065. },
  34066. "cusbankid": {
  34067. "description": "托管银行编号",
  34068. "type": "string"
  34069. },
  34070. "exchticket": {
  34071. "description": "银行服务流水号",
  34072. "type": "string"
  34073. },
  34074. "executetype": {
  34075. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  34076. "type": "integer"
  34077. },
  34078. "extendinfo": {
  34079. "description": "扩展信息",
  34080. "type": "string"
  34081. },
  34082. "extoperateid": {
  34083. "description": "交易服务流水号",
  34084. "type": "integer"
  34085. },
  34086. "infamount": {
  34087. "description": "劣后金额(自有)",
  34088. "type": "number"
  34089. },
  34090. "logincode": {
  34091. "description": "登录账号(账号)",
  34092. "type": "string"
  34093. },
  34094. "netaddr": {
  34095. "description": "调转网址",
  34096. "type": "string"
  34097. },
  34098. "priamount": {
  34099. "description": "优先金额(授信)",
  34100. "type": "number"
  34101. },
  34102. "reauditid": {
  34103. "description": "复审人",
  34104. "type": "integer"
  34105. },
  34106. "reauditremark": {
  34107. "description": "复审备注",
  34108. "type": "string"
  34109. },
  34110. "reaudittime": {
  34111. "description": "复审时间",
  34112. "type": "string"
  34113. },
  34114. "relatedorderid": {
  34115. "description": "三方关联ID",
  34116. "type": "string"
  34117. },
  34118. "remark": {
  34119. "description": "备注",
  34120. "type": "string"
  34121. },
  34122. "remark2": {
  34123. "description": "备注(失败原因)",
  34124. "type": "string"
  34125. },
  34126. "soucreamount": {
  34127. "description": "原始出入金金额",
  34128. "type": "number"
  34129. },
  34130. "soucrecurrencyid": {
  34131. "description": "原始出入金币种",
  34132. "type": "integer"
  34133. },
  34134. "tradedate": {
  34135. "description": "交易日(yyyyMMdd)",
  34136. "type": "string"
  34137. },
  34138. "updatetime": {
  34139. "description": "更新时间(申请时间)",
  34140. "type": "string"
  34141. },
  34142. "userid": {
  34143. "description": "用户id",
  34144. "type": "integer"
  34145. },
  34146. "userinfotype": {
  34147. "description": "账户类型 1-个人 2-企业",
  34148. "type": "integer"
  34149. }
  34150. }
  34151. },
  34152. "models.QhjMgrBrokerApply": {
  34153. "type": "object",
  34154. "properties": {
  34155. "applicantid": {
  34156. "description": "申请人",
  34157. "type": "integer"
  34158. },
  34159. "applysrc": {
  34160. "description": "申请来源 - 1:管理端 2:终端",
  34161. "type": "integer"
  34162. },
  34163. "applystatus": {
  34164. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34165. "type": "integer"
  34166. },
  34167. "applytime": {
  34168. "description": "申请时间",
  34169. "type": "string"
  34170. },
  34171. "auditorid": {
  34172. "description": "审核人",
  34173. "type": "integer"
  34174. },
  34175. "auditremark": {
  34176. "description": "审核备注",
  34177. "type": "string"
  34178. },
  34179. "auditsrc": {
  34180. "description": "审核来源 - 1:管理端 2:终端",
  34181. "type": "integer"
  34182. },
  34183. "audittime": {
  34184. "description": "审核时间",
  34185. "type": "string"
  34186. },
  34187. "audittradedate": {
  34188. "description": "审核交易日(yyyyMMdd)",
  34189. "type": "string"
  34190. },
  34191. "brokerapplyid": {
  34192. "description": "申请ID(SEQ_BROKERAPPLY)",
  34193. "type": "integer"
  34194. },
  34195. "cardbackphotourl": {
  34196. "description": "证件背面图片地址",
  34197. "type": "string"
  34198. },
  34199. "cardfrontphotourl": {
  34200. "description": "证件正面图片地址",
  34201. "type": "string"
  34202. },
  34203. "cardnum": {
  34204. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  34205. "type": "string"
  34206. },
  34207. "customername": {
  34208. "description": "姓名",
  34209. "type": "string"
  34210. },
  34211. "filterstatus": {
  34212. "description": "筛选条件",
  34213. "type": "string"
  34214. },
  34215. "logincode": {
  34216. "description": "登录代码",
  34217. "type": "string"
  34218. },
  34219. "mobile": {
  34220. "description": "手机号码",
  34221. "type": "string"
  34222. },
  34223. "parentuserid": {
  34224. "description": "所属机构id",
  34225. "type": "integer"
  34226. },
  34227. "parentusername": {
  34228. "description": "所属机构名称",
  34229. "type": "string"
  34230. },
  34231. "refereeuserid": {
  34232. "description": "推荐人id(经纪人)",
  34233. "type": "integer"
  34234. },
  34235. "refernum": {
  34236. "description": "推荐码",
  34237. "type": "string"
  34238. },
  34239. "remark": {
  34240. "description": "备注",
  34241. "type": "string"
  34242. },
  34243. "subarealevelpath": {
  34244. "description": "层级路径",
  34245. "type": "string"
  34246. },
  34247. "tradedate": {
  34248. "description": "交易日(yyyyMMdd)",
  34249. "type": "string"
  34250. },
  34251. "userid": {
  34252. "description": "申请人用户ID",
  34253. "type": "integer"
  34254. },
  34255. "userinfotype": {
  34256. "description": "用户类型 1-个人 2-企业",
  34257. "type": "integer"
  34258. },
  34259. "username": {
  34260. "description": "用户名称",
  34261. "type": "string"
  34262. }
  34263. }
  34264. },
  34265. "models.QhjMgrBrokerRewardReport": {
  34266. "type": "object",
  34267. "properties": {
  34268. "createtime": {
  34269. "description": "创建时间(注册时间)",
  34270. "type": "string"
  34271. },
  34272. "cycletime": {
  34273. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  34274. "type": "string"
  34275. },
  34276. "cycletype": {
  34277. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  34278. "type": "integer"
  34279. },
  34280. "directtotalnum": {
  34281. "description": "直推总人数【期末】",
  34282. "type": "integer"
  34283. },
  34284. "indirecttotalnum": {
  34285. "description": "间推总人数【期末】",
  34286. "type": "integer"
  34287. },
  34288. "mobile": {
  34289. "description": "电话号码",
  34290. "type": "string"
  34291. },
  34292. "refereeuserid": {
  34293. "description": "推荐人id(经纪人id)",
  34294. "type": "integer"
  34295. },
  34296. "refereeusername": {
  34297. "description": "推荐人名称(经纪人) 上级经纪人名称",
  34298. "type": "string"
  34299. },
  34300. "refernum": {
  34301. "description": "推荐码",
  34302. "type": "string"
  34303. },
  34304. "subarealevelpath": {
  34305. "description": "用户层级路径",
  34306. "type": "string"
  34307. },
  34308. "todayrewardamount": {
  34309. "description": "奖励总金额【汇总】",
  34310. "type": "number"
  34311. },
  34312. "updatetime": {
  34313. "description": "更新时间",
  34314. "type": "string"
  34315. },
  34316. "userid": {
  34317. "description": "经纪人用户ID",
  34318. "type": "integer"
  34319. },
  34320. "userinfotype": {
  34321. "description": "用户类型 1-个人 2-企业",
  34322. "type": "integer"
  34323. },
  34324. "username": {
  34325. "description": "用户名称",
  34326. "type": "string"
  34327. }
  34328. }
  34329. },
  34330. "models.QhjMgrContract": {
  34331. "type": "object",
  34332. "properties": {
  34333. "contractconfirmtime": {
  34334. "description": "合同确认时间(时间)",
  34335. "type": "string"
  34336. },
  34337. "currisklevel": {
  34338. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  34339. "type": "integer"
  34340. },
  34341. "decimalplace": {
  34342. "description": "商品报价小数位",
  34343. "type": "integer"
  34344. },
  34345. "enumdicname": {
  34346. "description": "单位名称",
  34347. "type": "string"
  34348. },
  34349. "goodscode": {
  34350. "description": "商品代码",
  34351. "type": "string"
  34352. },
  34353. "goodsid": {
  34354. "description": "商品ID [5:融资单]",
  34355. "type": "integer"
  34356. },
  34357. "goodsname": {
  34358. "description": "商品名称",
  34359. "type": "string"
  34360. },
  34361. "goodunitid": {
  34362. "description": "商品单位id",
  34363. "type": "integer"
  34364. },
  34365. "initmargin": {
  34366. "description": "初始保证金(首付款)",
  34367. "type": "number"
  34368. },
  34369. "lenderamount": {
  34370. "description": "贷款金额(总额|订单总额)",
  34371. "type": "number"
  34372. },
  34373. "logincode": {
  34374. "description": "账号(登录代码)",
  34375. "type": "string"
  34376. },
  34377. "marginratio": {
  34378. "description": "保证金比率(首付比例)",
  34379. "type": "number"
  34380. },
  34381. "mobile": {
  34382. "description": "电话号码(用户资料里的电话)",
  34383. "type": "string"
  34384. },
  34385. "payamount": {
  34386. "description": "已付(已付货款)",
  34387. "type": "number"
  34388. },
  34389. "reckonrecovermargin": {
  34390. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  34391. "type": "number"
  34392. },
  34393. "recoveredmargin": {
  34394. "description": "已追缴保证金",
  34395. "type": "number"
  34396. },
  34397. "remainamount": {
  34398. "description": "合同剩余金额(融资额)",
  34399. "type": "number"
  34400. },
  34401. "scfcontractid": {
  34402. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34403. "type": "string"
  34404. },
  34405. "scfcontractstatus": {
  34406. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34407. "type": "integer"
  34408. },
  34409. "scfcontracttype": {
  34410. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  34411. "type": "integer"
  34412. },
  34413. "totalinterest": {
  34414. "description": "已计总利息(利息)",
  34415. "type": "number"
  34416. },
  34417. "tradedate": {
  34418. "description": "交易日",
  34419. "type": "string"
  34420. },
  34421. "tradeprice": {
  34422. "description": "成交价格(成本价格)",
  34423. "type": "number"
  34424. },
  34425. "userid": {
  34426. "description": "用户ID",
  34427. "type": "integer"
  34428. },
  34429. "userinfotype": {
  34430. "description": "用户类型 1-个人 2-企业",
  34431. "type": "integer"
  34432. },
  34433. "username": {
  34434. "description": "用户名称",
  34435. "type": "string"
  34436. },
  34437. "wrqty": {
  34438. "description": "仓单数量(数量)",
  34439. "type": "number"
  34440. }
  34441. }
  34442. },
  34443. "models.QhjMgrCustomer": {
  34444. "type": "object",
  34445. "properties": {
  34446. "address": {
  34447. "description": "通讯地址",
  34448. "type": "string"
  34449. },
  34450. "attachment1": {
  34451. "description": "附件1",
  34452. "type": "string"
  34453. },
  34454. "audittime": {
  34455. "description": "审核时间",
  34456. "type": "string"
  34457. },
  34458. "birthday": {
  34459. "description": "生日",
  34460. "type": "string"
  34461. },
  34462. "brokerid": {
  34463. "description": "所属客户经理id",
  34464. "type": "integer"
  34465. },
  34466. "brokername": {
  34467. "description": "所属客户经理名称",
  34468. "type": "string"
  34469. },
  34470. "cardbackphotourl": {
  34471. "description": "证件反面图片地址",
  34472. "type": "string"
  34473. },
  34474. "cardfrontphotourl": {
  34475. "description": "证件正面图片地址",
  34476. "type": "string"
  34477. },
  34478. "cardnum": {
  34479. "description": "证件号码",
  34480. "type": "string"
  34481. },
  34482. "cardtype": {
  34483. "description": "证件类型",
  34484. "type": "integer"
  34485. },
  34486. "cardtypename": {
  34487. "description": "证件类型名称",
  34488. "type": "string"
  34489. },
  34490. "cityid": {
  34491. "description": "市",
  34492. "type": "integer"
  34493. },
  34494. "cityname": {
  34495. "description": "城市名称",
  34496. "type": "string"
  34497. },
  34498. "contactname": {
  34499. "description": "联系人",
  34500. "type": "string"
  34501. },
  34502. "countryid": {
  34503. "description": "国家",
  34504. "type": "integer"
  34505. },
  34506. "countryname": {
  34507. "description": "国家名称",
  34508. "type": "string"
  34509. },
  34510. "createtime": {
  34511. "description": "创建时间",
  34512. "type": "string"
  34513. },
  34514. "customername": {
  34515. "description": "客户名称",
  34516. "type": "string"
  34517. },
  34518. "districtid": {
  34519. "description": "区域",
  34520. "type": "integer"
  34521. },
  34522. "districtname": {
  34523. "description": "地区名称",
  34524. "type": "string"
  34525. },
  34526. "email": {
  34527. "description": "邮件",
  34528. "type": "string"
  34529. },
  34530. "legalpersonname": {
  34531. "description": "法人姓名(企业)",
  34532. "type": "string"
  34533. },
  34534. "logincode": {
  34535. "description": "登录账号(代码)",
  34536. "type": "string"
  34537. },
  34538. "memberuserid": {
  34539. "description": "所属机构ID(所属会员)",
  34540. "type": "integer"
  34541. },
  34542. "memberusername": {
  34543. "description": "所属会员名称",
  34544. "type": "string"
  34545. },
  34546. "mobile": {
  34547. "description": "手机号码",
  34548. "type": "string"
  34549. },
  34550. "modifytime": {
  34551. "description": "修改时间",
  34552. "type": "string"
  34553. },
  34554. "nickname": {
  34555. "description": "昵称",
  34556. "type": "string"
  34557. },
  34558. "parentuserid": {
  34559. "description": "上级机构(所属机构)",
  34560. "type": "integer"
  34561. },
  34562. "parentusername": {
  34563. "description": "所属机构名称",
  34564. "type": "string"
  34565. },
  34566. "provinceid": {
  34567. "description": "省",
  34568. "type": "integer"
  34569. },
  34570. "provincename": {
  34571. "description": "省名称",
  34572. "type": "string"
  34573. },
  34574. "proxystatementurl": {
  34575. "description": "授权委托书",
  34576. "type": "string"
  34577. },
  34578. "querytype": {
  34579. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  34580. "type": "integer"
  34581. },
  34582. "remark": {
  34583. "description": "备注",
  34584. "type": "string"
  34585. },
  34586. "sex": {
  34587. "description": "性别 0-女 1-男",
  34588. "type": "integer"
  34589. },
  34590. "status": {
  34591. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34592. "type": "integer"
  34593. },
  34594. "statusdesc": {
  34595. "description": "账户状态中文描述",
  34596. "type": "string"
  34597. },
  34598. "taxpayernum": {
  34599. "description": "纳税人识别号",
  34600. "type": "string"
  34601. },
  34602. "telphone": {
  34603. "description": "联系电话",
  34604. "type": "string"
  34605. },
  34606. "userid": {
  34607. "description": "用户ID",
  34608. "type": "integer"
  34609. },
  34610. "userinfotype": {
  34611. "description": "客户类型 1-个人 2-企业",
  34612. "type": "integer"
  34613. },
  34614. "username": {
  34615. "description": "用户名称",
  34616. "type": "string"
  34617. }
  34618. }
  34619. },
  34620. "models.QhjMgrPickGoods": {
  34621. "type": "object",
  34622. "properties": {
  34623. "enumdicname": {
  34624. "description": "单位名称(提货商品)",
  34625. "type": "string"
  34626. },
  34627. "goodsid": {
  34628. "description": "商品id",
  34629. "type": "integer"
  34630. },
  34631. "imageaddress": {
  34632. "description": "图片",
  34633. "type": "string"
  34634. },
  34635. "modifierid": {
  34636. "description": "修改人",
  34637. "type": "integer"
  34638. },
  34639. "modifiername": {
  34640. "description": "修改人名称",
  34641. "type": "string"
  34642. },
  34643. "modifysrc": {
  34644. "description": "修改来源 - 1:管理端 2:终端",
  34645. "type": "integer"
  34646. },
  34647. "pickupgoodsagreeunit": {
  34648. "description": "合约乘数",
  34649. "type": "number"
  34650. },
  34651. "pickupgoodsdesc": {
  34652. "description": "描述",
  34653. "type": "string"
  34654. },
  34655. "pickupgoodsid": {
  34656. "description": "提货商品ID",
  34657. "type": "string"
  34658. },
  34659. "pickupgoodsname": {
  34660. "description": "提货商品名称",
  34661. "type": "string"
  34662. },
  34663. "pickupgoodsstatus": {
  34664. "description": "状态 - 1:正常 2:停用 3:注销",
  34665. "type": "integer"
  34666. },
  34667. "pickupgoodsunitid": {
  34668. "description": "单位ID",
  34669. "type": "integer"
  34670. },
  34671. "pickupratio": {
  34672. "description": "提货系数",
  34673. "type": "number"
  34674. },
  34675. "preparedays": {
  34676. "description": "备货期(天)",
  34677. "type": "integer"
  34678. },
  34679. "remark": {
  34680. "description": "备注",
  34681. "type": "string"
  34682. },
  34683. "updatetime": {
  34684. "description": "更新时间",
  34685. "type": "string"
  34686. }
  34687. }
  34688. },
  34689. "models.QhjMgrPositionRsp": {
  34690. "type": "object",
  34691. "properties": {
  34692. "accountid": {
  34693. "description": "账号Id",
  34694. "type": "integer"
  34695. },
  34696. "accountname": {
  34697. "description": "用户名称",
  34698. "type": "string"
  34699. },
  34700. "agreeunit": {
  34701. "description": "合约乘数",
  34702. "type": "number"
  34703. },
  34704. "averageprice": {
  34705. "description": "均价",
  34706. "type": "number"
  34707. },
  34708. "avialqty": {
  34709. "description": "可用数量",
  34710. "type": "number"
  34711. },
  34712. "decimalplace": {
  34713. "description": "报价小数位",
  34714. "type": "integer"
  34715. },
  34716. "enumdicname": {
  34717. "description": "单位名称(商品)",
  34718. "type": "string"
  34719. },
  34720. "frozenqty": {
  34721. "description": "冻结数量",
  34722. "type": "number"
  34723. },
  34724. "goodscode": {
  34725. "description": "商品代码(内部)",
  34726. "type": "string"
  34727. },
  34728. "goodsid": {
  34729. "description": "商品Id",
  34730. "type": "integer"
  34731. },
  34732. "goodsname": {
  34733. "description": "商品名称",
  34734. "type": "string"
  34735. },
  34736. "goodunitid": {
  34737. "description": "报价单位ID",
  34738. "type": "integer"
  34739. },
  34740. "holderamount": {
  34741. "description": "金额",
  34742. "type": "number"
  34743. },
  34744. "holderqty": {
  34745. "description": "持有数量",
  34746. "type": "number"
  34747. },
  34748. "holdertype": {
  34749. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  34750. "type": "integer"
  34751. },
  34752. "logincode": {
  34753. "description": "登录代码(账户)",
  34754. "type": "string"
  34755. },
  34756. "marketid": {
  34757. "description": "市场id",
  34758. "type": "integer"
  34759. },
  34760. "qtydecimalplace": {
  34761. "description": "成交量小数位",
  34762. "type": "integer"
  34763. },
  34764. "trademode": {
  34765. "description": "交易模式",
  34766. "type": "integer"
  34767. },
  34768. "userid": {
  34769. "description": "用户id",
  34770. "type": "integer"
  34771. },
  34772. "userinfotype": {
  34773. "description": "账户类型 1-个人 2-企业",
  34774. "type": "integer"
  34775. }
  34776. }
  34777. },
  34778. "models.QhjMgrSubArea": {
  34779. "type": "object",
  34780. "properties": {
  34781. "accountname": {
  34782. "description": "账户名称(机构名称)",
  34783. "type": "string"
  34784. },
  34785. "memberuserid": {
  34786. "description": "所属会员ID",
  34787. "type": "integer"
  34788. },
  34789. "parenttopuser": {
  34790. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  34791. "type": "string"
  34792. },
  34793. "parentuserid": {
  34794. "description": "所属机构ID",
  34795. "type": "integer"
  34796. },
  34797. "rootuserid": {
  34798. "description": "根用户ID",
  34799. "type": "string"
  34800. },
  34801. "subaccountlevel": {
  34802. "description": "子账户层数",
  34803. "type": "integer"
  34804. },
  34805. "subarealevelpath": {
  34806. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  34807. "type": "string"
  34808. },
  34809. "userid": {
  34810. "description": "用户ID",
  34811. "type": "integer"
  34812. },
  34813. "usertype": {
  34814. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34815. "type": "integer"
  34816. }
  34817. }
  34818. },
  34819. "models.QhjMgrTradeDetailRsp": {
  34820. "type": "object",
  34821. "properties": {
  34822. "accountid": {
  34823. "description": "资金账号",
  34824. "type": "integer"
  34825. },
  34826. "accountname": {
  34827. "description": "用户名称",
  34828. "type": "string"
  34829. },
  34830. "agreeunit": {
  34831. "description": "合约乘数",
  34832. "type": "number"
  34833. },
  34834. "buyorsell": {
  34835. "description": "成交类型(方向) 0:买 1:卖",
  34836. "type": "integer"
  34837. },
  34838. "decimalplace": {
  34839. "description": "报价小数位",
  34840. "type": "integer"
  34841. },
  34842. "enumdicname": {
  34843. "description": "单位名称(商品)",
  34844. "type": "string"
  34845. },
  34846. "goodscode": {
  34847. "description": "商品代码(内部)",
  34848. "type": "string"
  34849. },
  34850. "goodsid": {
  34851. "description": "商品id",
  34852. "type": "integer"
  34853. },
  34854. "goodsname": {
  34855. "description": "商品名称",
  34856. "type": "string"
  34857. },
  34858. "goodunitid": {
  34859. "description": "报价单位ID",
  34860. "type": "integer"
  34861. },
  34862. "logincode": {
  34863. "description": "登录代码(账户)",
  34864. "type": "string"
  34865. },
  34866. "marketid": {
  34867. "description": "市场id",
  34868. "type": "integer"
  34869. },
  34870. "orderid": {
  34871. "description": "关联委托单号",
  34872. "type": "string"
  34873. },
  34874. "qtydecimalplace": {
  34875. "description": "成交量小数位",
  34876. "type": "integer"
  34877. },
  34878. "tradeamount": {
  34879. "description": "金额",
  34880. "type": "number"
  34881. },
  34882. "tradedate": {
  34883. "description": "交易日",
  34884. "type": "string"
  34885. },
  34886. "tradeid": {
  34887. "description": "成交单号",
  34888. "type": "string"
  34889. },
  34890. "trademode": {
  34891. "description": "交易模式",
  34892. "type": "integer"
  34893. },
  34894. "tradeprice": {
  34895. "description": "价格",
  34896. "type": "number"
  34897. },
  34898. "tradeqty": {
  34899. "description": "数量",
  34900. "type": "number"
  34901. },
  34902. "tradetime": {
  34903. "description": "成交时间",
  34904. "type": "string"
  34905. },
  34906. "userid": {
  34907. "description": "用户id",
  34908. "type": "integer"
  34909. },
  34910. "userinfotype": {
  34911. "description": "账户类型 1-个人 2-企业",
  34912. "type": "integer"
  34913. }
  34914. }
  34915. },
  34916. "models.QhjMgrTradeOrderDetailRsp": {
  34917. "type": "object",
  34918. "properties": {
  34919. "accountid": {
  34920. "description": "资金账号",
  34921. "type": "integer"
  34922. },
  34923. "accountname": {
  34924. "description": "用户名称",
  34925. "type": "string"
  34926. },
  34927. "agreeunit": {
  34928. "description": "合约乘数",
  34929. "type": "number"
  34930. },
  34931. "amount": {
  34932. "description": "金额",
  34933. "type": "number"
  34934. },
  34935. "decimalplace": {
  34936. "description": "报价小数位",
  34937. "type": "integer"
  34938. },
  34939. "enumdicname": {
  34940. "description": "单位名称(商品)",
  34941. "type": "string"
  34942. },
  34943. "goodscode": {
  34944. "description": "商品代码(内部)",
  34945. "type": "string"
  34946. },
  34947. "goodsid": {
  34948. "description": "商品id",
  34949. "type": "integer"
  34950. },
  34951. "goodsname": {
  34952. "description": "商品名称",
  34953. "type": "string"
  34954. },
  34955. "goodunitid": {
  34956. "description": "报价单位ID",
  34957. "type": "integer"
  34958. },
  34959. "logincode": {
  34960. "description": "登录代码(账户)",
  34961. "type": "string"
  34962. },
  34963. "marketid": {
  34964. "description": "市场id",
  34965. "type": "integer"
  34966. },
  34967. "orderid": {
  34968. "description": "关联委托单号",
  34969. "type": "string"
  34970. },
  34971. "orderprice": {
  34972. "description": "价格",
  34973. "type": "number"
  34974. },
  34975. "orderqty": {
  34976. "description": "数量",
  34977. "type": "number"
  34978. },
  34979. "orderstatus": {
  34980. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34981. "type": "integer"
  34982. },
  34983. "ordertime": {
  34984. "description": "委托时间",
  34985. "type": "string"
  34986. },
  34987. "qtydecimalplace": {
  34988. "description": "成交量小数位",
  34989. "type": "integer"
  34990. },
  34991. "tradedate": {
  34992. "description": "交易日",
  34993. "type": "string"
  34994. },
  34995. "trademode": {
  34996. "description": "交易模式",
  34997. "type": "integer"
  34998. },
  34999. "userid": {
  35000. "description": "用户id",
  35001. "type": "integer"
  35002. },
  35003. "userinfotype": {
  35004. "description": "账户类型 1-个人 2-企业",
  35005. "type": "integer"
  35006. }
  35007. }
  35008. },
  35009. "models.QhjMgrTradePayOrder": {
  35010. "type": "object",
  35011. "properties": {
  35012. "accountname": {
  35013. "description": "用户名称",
  35014. "type": "string"
  35015. },
  35016. "advanceratio": {
  35017. "description": "首付比率",
  35018. "type": "number"
  35019. },
  35020. "agreeunit": {
  35021. "description": "合约乘数",
  35022. "type": "number"
  35023. },
  35024. "buyaccountid": {
  35025. "description": "买方账号ID[报价币种]",
  35026. "type": "integer"
  35027. },
  35028. "buyorderid": {
  35029. "description": "买方委托单号(关联单号)",
  35030. "type": "string"
  35031. },
  35032. "createtime": {
  35033. "description": "创建时间",
  35034. "type": "string"
  35035. },
  35036. "decimalplace": {
  35037. "description": "报价小数位",
  35038. "type": "integer"
  35039. },
  35040. "enumdicname": {
  35041. "description": "单位名称(商品)",
  35042. "type": "string"
  35043. },
  35044. "goodscode": {
  35045. "description": "商品代码(内部)",
  35046. "type": "string"
  35047. },
  35048. "goodsid": {
  35049. "description": "商品ID",
  35050. "type": "integer"
  35051. },
  35052. "goodsname": {
  35053. "description": "商品名称",
  35054. "type": "string"
  35055. },
  35056. "goodunitid": {
  35057. "description": "报价单位ID",
  35058. "type": "integer"
  35059. },
  35060. "logincode": {
  35061. "description": "登录代码(账户)",
  35062. "type": "string"
  35063. },
  35064. "marketid": {
  35065. "description": "市场id",
  35066. "type": "integer"
  35067. },
  35068. "offamount": {
  35069. "description": "优惠金额",
  35070. "type": "number"
  35071. },
  35072. "operatetype": {
  35073. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  35074. "type": "integer"
  35075. },
  35076. "payamount": {
  35077. "description": "支付金额(金额)",
  35078. "type": "number"
  35079. },
  35080. "payflag": {
  35081. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  35082. "type": "integer"
  35083. },
  35084. "paylimitedtime": {
  35085. "description": "支付期限",
  35086. "type": "string"
  35087. },
  35088. "paytime": {
  35089. "description": "付款时间",
  35090. "type": "string"
  35091. },
  35092. "qtydecimalplace": {
  35093. "description": "成交量小数位",
  35094. "type": "integer"
  35095. },
  35096. "sellaccountid": {
  35097. "description": "卖方账号ID[报价币种]",
  35098. "type": "integer"
  35099. },
  35100. "sellorderid": {
  35101. "description": "卖方委托单号",
  35102. "type": "string"
  35103. },
  35104. "tradeamount": {
  35105. "description": "成交金额(优惠后金额)",
  35106. "type": "number"
  35107. },
  35108. "tradecharge": {
  35109. "description": "成交手续费(买方)",
  35110. "type": "number"
  35111. },
  35112. "tradedate": {
  35113. "description": "交易日(yyyyMMdd)",
  35114. "type": "string"
  35115. },
  35116. "tradeid": {
  35117. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35118. "type": "string"
  35119. },
  35120. "trademode": {
  35121. "description": "交易模式",
  35122. "type": "integer"
  35123. },
  35124. "tradeprice": {
  35125. "description": "成交价格(价格)",
  35126. "type": "number"
  35127. },
  35128. "tradeqty": {
  35129. "description": "成交数量(数量)",
  35130. "type": "number"
  35131. },
  35132. "tradetime": {
  35133. "description": "成交时间",
  35134. "type": "string"
  35135. },
  35136. "userid": {
  35137. "description": "用户id",
  35138. "type": "integer"
  35139. },
  35140. "userinfotype": {
  35141. "description": "账户类型 1-个人 2-企业",
  35142. "type": "integer"
  35143. }
  35144. }
  35145. },
  35146. "models.QhjMyTeamEx": {
  35147. "type": "object",
  35148. "properties": {
  35149. "accountname": {
  35150. "description": "用户名称",
  35151. "type": "string"
  35152. },
  35153. "accountstatus": {
  35154. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  35155. "type": "integer"
  35156. },
  35157. "createtime": {
  35158. "description": "创建时间",
  35159. "type": "string"
  35160. },
  35161. "mobile": {
  35162. "description": "手机号码",
  35163. "type": "string"
  35164. },
  35165. "refereeuserid": {
  35166. "description": "推荐人id",
  35167. "type": "integer"
  35168. },
  35169. "refernum": {
  35170. "description": "推荐码",
  35171. "type": "string"
  35172. },
  35173. "subList": {
  35174. "type": "array",
  35175. "items": {
  35176. "$ref": "#/definitions/models.QhjMyTeamEx"
  35177. }
  35178. },
  35179. "userid": {
  35180. "description": "用户id",
  35181. "type": "integer"
  35182. },
  35183. "userinfotype": {
  35184. "description": "用户类型 1-个人 2-企业",
  35185. "type": "integer"
  35186. }
  35187. }
  35188. },
  35189. "models.QhjNodeAgreementConfig": {
  35190. "type": "object",
  35191. "properties": {
  35192. "agreementcontent": {
  35193. "description": "协议内容",
  35194. "type": "string"
  35195. },
  35196. "agreementid": {
  35197. "description": "协议ID",
  35198. "type": "integer"
  35199. },
  35200. "agreementname": {
  35201. "description": "协议名称",
  35202. "type": "string"
  35203. },
  35204. "agreementno": {
  35205. "description": "协议编号",
  35206. "type": "string"
  35207. },
  35208. "agreementtype": {
  35209. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35210. "type": "integer"
  35211. },
  35212. "agreementversion": {
  35213. "description": "协议版本号",
  35214. "type": "integer"
  35215. },
  35216. "configid": {
  35217. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35218. "type": "integer"
  35219. },
  35220. "createtime": {
  35221. "description": "创建时间",
  35222. "type": "string"
  35223. },
  35224. "goodsid": {
  35225. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35226. "type": "integer"
  35227. },
  35228. "nodetype": {
  35229. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35230. "type": "integer"
  35231. }
  35232. }
  35233. },
  35234. "models.QhjParentAreaList": {
  35235. "type": "object",
  35236. "properties": {
  35237. "accountname": {
  35238. "description": "账户名称(机构名称)",
  35239. "type": "string"
  35240. },
  35241. "userid": {
  35242. "description": "用户ID",
  35243. "type": "integer"
  35244. },
  35245. "usertype": {
  35246. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  35247. "type": "integer"
  35248. }
  35249. }
  35250. },
  35251. "models.QhjPayOrder": {
  35252. "type": "object",
  35253. "properties": {
  35254. "advanceratio": {
  35255. "description": "首付比率",
  35256. "type": "number"
  35257. },
  35258. "buyaccountid": {
  35259. "description": "买方账号ID[报价币种]",
  35260. "type": "integer"
  35261. },
  35262. "buyorderid": {
  35263. "description": "买方委托单号",
  35264. "type": "string"
  35265. },
  35266. "createtime": {
  35267. "description": "创建时间",
  35268. "type": "string"
  35269. },
  35270. "decimalplace": {
  35271. "description": "商品报价小数位",
  35272. "type": "integer"
  35273. },
  35274. "enumdicname": {
  35275. "description": "单位名称",
  35276. "type": "string"
  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. "goodunitid": {
  35291. "description": "商品单位id",
  35292. "type": "integer"
  35293. },
  35294. "marketid": {
  35295. "description": "市场ID",
  35296. "type": "integer"
  35297. },
  35298. "offamount": {
  35299. "description": "优惠金额",
  35300. "type": "number"
  35301. },
  35302. "operatetype": {
  35303. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  35304. "type": "integer"
  35305. },
  35306. "payamount": {
  35307. "description": "支付金额",
  35308. "type": "number"
  35309. },
  35310. "payflag": {
  35311. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  35312. "type": "integer"
  35313. },
  35314. "paylimitedtime": {
  35315. "description": "支付期限",
  35316. "type": "string"
  35317. },
  35318. "paytime": {
  35319. "description": "付款时间",
  35320. "type": "string"
  35321. },
  35322. "qtydecimalplace": {
  35323. "description": "成交量小数位",
  35324. "type": "integer"
  35325. },
  35326. "sellaccountid": {
  35327. "description": "卖方账号ID[报价币种]",
  35328. "type": "integer"
  35329. },
  35330. "sellorderid": {
  35331. "description": "卖方委托单号",
  35332. "type": "string"
  35333. },
  35334. "tradeamount": {
  35335. "description": "成交金额(优惠后金额)",
  35336. "type": "number"
  35337. },
  35338. "tradecharge": {
  35339. "description": "成交手续费(买方)",
  35340. "type": "number"
  35341. },
  35342. "tradedate": {
  35343. "description": "交易日(yyyyMMdd)",
  35344. "type": "string"
  35345. },
  35346. "tradeid": {
  35347. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35348. "type": "string"
  35349. },
  35350. "tradeprice": {
  35351. "description": "成交价格",
  35352. "type": "number"
  35353. },
  35354. "tradeqty": {
  35355. "description": "成交数量",
  35356. "type": "number"
  35357. }
  35358. }
  35359. },
  35360. "models.QhjPickArea": {
  35361. "type": "object",
  35362. "properties": {
  35363. "address": {
  35364. "description": "详细地址",
  35365. "type": "string"
  35366. },
  35367. "cityid": {
  35368. "description": "市",
  35369. "type": "integer"
  35370. },
  35371. "cityname": {
  35372. "description": "城市名称",
  35373. "type": "string"
  35374. },
  35375. "countryid": {
  35376. "description": "国家",
  35377. "type": "integer"
  35378. },
  35379. "countryname": {
  35380. "description": "国家名称",
  35381. "type": "string"
  35382. },
  35383. "districtid": {
  35384. "description": "地区",
  35385. "type": "integer"
  35386. },
  35387. "districtname": {
  35388. "description": "地区名称",
  35389. "type": "string"
  35390. },
  35391. "fromuserid": {
  35392. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  35393. "type": "integer"
  35394. },
  35395. "fromusername": {
  35396. "description": "所属机构名称",
  35397. "type": "string"
  35398. },
  35399. "provinceid": {
  35400. "description": "省",
  35401. "type": "integer"
  35402. },
  35403. "provincename": {
  35404. "description": "省名称",
  35405. "type": "string"
  35406. },
  35407. "suborgtype": {
  35408. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  35409. "type": "integer"
  35410. },
  35411. "userid": {
  35412. "description": "机构用户ID 其他做市关系,都设置为 1",
  35413. "type": "integer"
  35414. },
  35415. "username": {
  35416. "description": "机构用户名称(门店门称)",
  35417. "type": "string"
  35418. }
  35419. }
  35420. },
  35421. "models.QhjPickGoods": {
  35422. "type": "object",
  35423. "properties": {
  35424. "enumdicname": {
  35425. "description": "单位名称(提货商品)",
  35426. "type": "string"
  35427. },
  35428. "goodsid": {
  35429. "description": "商品id",
  35430. "type": "integer"
  35431. },
  35432. "imageaddress": {
  35433. "description": "图片",
  35434. "type": "string"
  35435. },
  35436. "modifierid": {
  35437. "description": "修改人",
  35438. "type": "integer"
  35439. },
  35440. "modifiername": {
  35441. "description": "修改人名称",
  35442. "type": "string"
  35443. },
  35444. "modifysrc": {
  35445. "description": "修改来源 - 1:管理端 2:终端",
  35446. "type": "integer"
  35447. },
  35448. "pickupgoodsagreeunit": {
  35449. "description": "合约乘数",
  35450. "type": "number"
  35451. },
  35452. "pickupgoodsdesc": {
  35453. "description": "描述",
  35454. "type": "string"
  35455. },
  35456. "pickupgoodsid": {
  35457. "description": "提货商品ID",
  35458. "type": "string"
  35459. },
  35460. "pickupgoodsname": {
  35461. "description": "提货商品名称",
  35462. "type": "string"
  35463. },
  35464. "pickupgoodsstatus": {
  35465. "description": "状态 - 1:正常 2:停用 3:注销",
  35466. "type": "integer"
  35467. },
  35468. "pickupgoodsunitid": {
  35469. "description": "单位ID",
  35470. "type": "integer"
  35471. },
  35472. "pickupratio": {
  35473. "description": "提货系数",
  35474. "type": "number"
  35475. },
  35476. "preparedays": {
  35477. "description": "备货期(天)",
  35478. "type": "integer"
  35479. },
  35480. "remark": {
  35481. "description": "备注",
  35482. "type": "string"
  35483. },
  35484. "updatetime": {
  35485. "description": "更新时间",
  35486. "type": "string"
  35487. }
  35488. }
  35489. },
  35490. "models.QhjRSTriggerLog": {
  35491. "type": "object",
  35492. "properties": {
  35493. "accountid": {
  35494. "description": "用户资金账户",
  35495. "type": "integer"
  35496. },
  35497. "accountname": {
  35498. "description": "账号名称(ACCOUNTID对应的名称)",
  35499. "type": "string"
  35500. },
  35501. "currencyid": {
  35502. "description": "币种id",
  35503. "type": "integer"
  35504. },
  35505. "currencyname": {
  35506. "description": "币种名称",
  35507. "type": "string"
  35508. },
  35509. "decimalplace": {
  35510. "description": "商品报价小数位",
  35511. "type": "integer"
  35512. },
  35513. "enumdicname": {
  35514. "description": "单位名称",
  35515. "type": "string"
  35516. },
  35517. "goodscode": {
  35518. "description": "定投商品代码",
  35519. "type": "string"
  35520. },
  35521. "goodsid": {
  35522. "description": "定投商品ID",
  35523. "type": "integer"
  35524. },
  35525. "goodsname": {
  35526. "description": "定投商品名称",
  35527. "type": "string"
  35528. },
  35529. "goodunitid": {
  35530. "description": "定投商品单位id",
  35531. "type": "integer"
  35532. },
  35533. "logid": {
  35534. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  35535. "type": "string"
  35536. },
  35537. "logincode": {
  35538. "description": "账号(登录代码)",
  35539. "type": "string"
  35540. },
  35541. "qtydecimalplace": {
  35542. "description": "成交量小数位",
  35543. "type": "integer"
  35544. },
  35545. "regularlycycle": {
  35546. "description": "定投频率 - 1:每周 2:每月",
  35547. "type": "integer"
  35548. },
  35549. "regularlycyclevalue": {
  35550. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35551. "type": "string"
  35552. },
  35553. "regularlymode": {
  35554. "description": "定投方式 - 1:按数量 2:按金额",
  35555. "type": "integer"
  35556. },
  35557. "regularlymodevalue": {
  35558. "description": "定投方式值 - 数量或金额",
  35559. "type": "number"
  35560. },
  35561. "regularlystrategyid": {
  35562. "description": "定投策略ID",
  35563. "type": "integer"
  35564. },
  35565. "retcode": {
  35566. "description": "错误码",
  35567. "type": "string"
  35568. },
  35569. "tradeid": {
  35570. "description": "成交单ID",
  35571. "type": "string"
  35572. },
  35573. "triggeramount": {
  35574. "description": "触发金额",
  35575. "type": "number"
  35576. },
  35577. "triggerqty": {
  35578. "description": "触发数量",
  35579. "type": "number"
  35580. },
  35581. "triggerstatus": {
  35582. "description": "触发状态 - 1:成功 2:失败",
  35583. "type": "integer"
  35584. },
  35585. "triggertime": {
  35586. "description": "触发时间",
  35587. "type": "string"
  35588. },
  35589. "triggertradedate": {
  35590. "description": "触发交易日",
  35591. "type": "string"
  35592. },
  35593. "userid": {
  35594. "description": "所属用户ID",
  35595. "type": "integer"
  35596. },
  35597. "userinfotype": {
  35598. "description": "用户类型 1-个人 2-企业",
  35599. "type": "integer"
  35600. },
  35601. "username": {
  35602. "description": "用户名称(userid对应的名称)",
  35603. "type": "string"
  35604. }
  35605. }
  35606. },
  35607. "models.QhjRStrategy": {
  35608. "type": "object",
  35609. "properties": {
  35610. "accountid": {
  35611. "description": "用户资金账户",
  35612. "type": "integer"
  35613. },
  35614. "accountname": {
  35615. "description": "账号名称(ACCOUNTID对应的名称)",
  35616. "type": "string"
  35617. },
  35618. "currencyid": {
  35619. "description": "币种id",
  35620. "type": "integer"
  35621. },
  35622. "currencyname": {
  35623. "description": "币种名称",
  35624. "type": "string"
  35625. },
  35626. "decimalplace": {
  35627. "description": "商品报价小数位",
  35628. "type": "integer"
  35629. },
  35630. "enumdicname": {
  35631. "description": "单位名称",
  35632. "type": "string"
  35633. },
  35634. "goodscode": {
  35635. "description": "定投商品代码",
  35636. "type": "string"
  35637. },
  35638. "goodsid": {
  35639. "description": "定投商品ID",
  35640. "type": "integer"
  35641. },
  35642. "goodsname": {
  35643. "description": "定投商品名称",
  35644. "type": "string"
  35645. },
  35646. "goodunitid": {
  35647. "description": "定投商品单位id",
  35648. "type": "integer"
  35649. },
  35650. "lasteffecttradedate": {
  35651. "description": "最新生效交易日",
  35652. "type": "string"
  35653. },
  35654. "laststoptradedate": {
  35655. "description": "最新暂停交易日",
  35656. "type": "string"
  35657. },
  35658. "lasttriggertradedate": {
  35659. "description": "最新触发交易日",
  35660. "type": "string"
  35661. },
  35662. "logincode": {
  35663. "description": "账号(登录代码)",
  35664. "type": "string"
  35665. },
  35666. "nexttriggeramount": {
  35667. "description": "下次触发金额",
  35668. "type": "number"
  35669. },
  35670. "nexttriggerdate": {
  35671. "description": "下次触发日期",
  35672. "type": "string"
  35673. },
  35674. "nexttriggerqty": {
  35675. "description": "下次触发数量 [按小数位放大值]",
  35676. "type": "number"
  35677. },
  35678. "qtydecimalplace": {
  35679. "description": "成交量小数位",
  35680. "type": "integer"
  35681. },
  35682. "regularlycycle": {
  35683. "description": "定投频率 - 1:每周 2:每月",
  35684. "type": "integer"
  35685. },
  35686. "regularlycyclevalue": {
  35687. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35688. "type": "string"
  35689. },
  35690. "regularlymode": {
  35691. "description": "定投方式 - 1:按数量 2:按金额",
  35692. "type": "integer"
  35693. },
  35694. "regularlymodevalue": {
  35695. "description": "定投方式值 - 数量或金额",
  35696. "type": "number"
  35697. },
  35698. "regularlystrategyid": {
  35699. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  35700. "type": "integer"
  35701. },
  35702. "regularlystrategystatus": {
  35703. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  35704. "type": "integer"
  35705. },
  35706. "remark": {
  35707. "description": "备注",
  35708. "type": "string"
  35709. },
  35710. "triggersuccesstimes": {
  35711. "description": "累计定投成功次数",
  35712. "type": "string"
  35713. },
  35714. "triggertotalamount": {
  35715. "description": "累计定投金额(成功)",
  35716. "type": "number"
  35717. },
  35718. "triggertotalqty": {
  35719. "description": "累计定投数量(成功) [按小数位放大值]",
  35720. "type": "number"
  35721. },
  35722. "triggertotaltimes": {
  35723. "description": "累计定投总次数",
  35724. "type": "string"
  35725. },
  35726. "updatesrc": {
  35727. "description": "更新来源 - 1:管理端 2:终端",
  35728. "type": "integer"
  35729. },
  35730. "updatetime": {
  35731. "description": "更新时间",
  35732. "type": "string"
  35733. },
  35734. "updatorid": {
  35735. "description": "更新人",
  35736. "type": "string"
  35737. },
  35738. "userid": {
  35739. "description": "所属用户ID",
  35740. "type": "integer"
  35741. },
  35742. "userinfotype": {
  35743. "description": "用户类型 1-个人 2-企业",
  35744. "type": "integer"
  35745. },
  35746. "username": {
  35747. "description": "用户名称(userid对应的名称)",
  35748. "type": "string"
  35749. }
  35750. }
  35751. },
  35752. "models.QhjReckonPriceLog": {
  35753. "type": "object",
  35754. "properties": {
  35755. "decimalplace": {
  35756. "description": "商品报价小数位",
  35757. "type": "integer"
  35758. },
  35759. "goodscode": {
  35760. "description": "商品代码",
  35761. "type": "string"
  35762. },
  35763. "goodsid": {
  35764. "description": "商品ID",
  35765. "type": "integer"
  35766. },
  35767. "goodsname": {
  35768. "description": "商品名称",
  35769. "type": "string"
  35770. },
  35771. "lastreckonprice": {
  35772. "description": "上日结算价",
  35773. "type": "number"
  35774. },
  35775. "nextdnlimitprice": {
  35776. "description": "下个交易日跌停价",
  35777. "type": "number"
  35778. },
  35779. "nexttrade": {
  35780. "description": "下个交易日",
  35781. "type": "string"
  35782. },
  35783. "nextuplimitprice": {
  35784. "description": "下个交易日涨停价",
  35785. "type": "number"
  35786. },
  35787. "reckonprice": {
  35788. "description": "今日结算价(定投价)",
  35789. "type": "number"
  35790. },
  35791. "reckontime": {
  35792. "description": "结算时间",
  35793. "type": "string"
  35794. },
  35795. "totalholderqty": {
  35796. "description": "总持仓数",
  35797. "type": "integer"
  35798. },
  35799. "totalstock": {
  35800. "description": "总库存",
  35801. "type": "integer"
  35802. },
  35803. "tradedate": {
  35804. "description": "交易日",
  35805. "type": "string"
  35806. },
  35807. "updowncount": {
  35808. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  35809. "type": "integer"
  35810. },
  35811. "updownflag": {
  35812. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  35813. "type": "integer"
  35814. },
  35815. "updownrate": {
  35816. "description": "今日涨跌幅",
  35817. "type": "number"
  35818. },
  35819. "updownrate_2d": {
  35820. "description": "连续两日涨跌幅",
  35821. "type": "number"
  35822. },
  35823. "updownrate_3d": {
  35824. "description": "连续三日涨跌幅",
  35825. "type": "number"
  35826. }
  35827. }
  35828. },
  35829. "models.QhjScoreLog": {
  35830. "type": "object",
  35831. "properties": {
  35832. "accountid": {
  35833. "description": "账户ID",
  35834. "type": "integer"
  35835. },
  35836. "createtime": {
  35837. "description": "创建时间(时间)",
  35838. "type": "string"
  35839. },
  35840. "goodsid": {
  35841. "description": "商品ID",
  35842. "type": "integer"
  35843. },
  35844. "hasuploaded": {
  35845. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  35846. "type": "integer"
  35847. },
  35848. "logid": {
  35849. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35850. "type": "string"
  35851. },
  35852. "marketid": {
  35853. "description": "市场ID",
  35854. "type": "integer"
  35855. },
  35856. "relatedamount": {
  35857. "description": "关联金额",
  35858. "type": "number"
  35859. },
  35860. "relatedorderid": {
  35861. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  35862. "type": "string"
  35863. },
  35864. "scoreconfigvalue1": {
  35865. "description": "积分配置1",
  35866. "type": "integer"
  35867. },
  35868. "scoreconfigvalue2": {
  35869. "description": "积分配置1",
  35870. "type": "integer"
  35871. },
  35872. "scoretype": {
  35873. "description": "积分类型 - 1:提货积分",
  35874. "type": "integer"
  35875. },
  35876. "scorevalue": {
  35877. "description": "积分",
  35878. "type": "number"
  35879. },
  35880. "tradedate": {
  35881. "description": "交易日(yyyyMMdd)",
  35882. "type": "string"
  35883. },
  35884. "uploadedtime": {
  35885. "description": "同步时间",
  35886. "type": "string"
  35887. },
  35888. "userid": {
  35889. "description": "用户ID",
  35890. "type": "integer"
  35891. }
  35892. }
  35893. },
  35894. "models.QhjSiteColumnDetail": {
  35895. "type": "object",
  35896. "properties": {
  35897. "author": {
  35898. "description": "作者",
  35899. "type": "string"
  35900. },
  35901. "brief": {
  35902. "description": "简介",
  35903. "type": "string"
  35904. },
  35905. "columnid": {
  35906. "description": "所属栏目",
  35907. "type": "integer"
  35908. },
  35909. "context": {
  35910. "description": "内容",
  35911. "type": "string"
  35912. },
  35913. "coverimage": {
  35914. "description": "封面图片",
  35915. "type": "string"
  35916. },
  35917. "creaedate": {
  35918. "description": "创建时间",
  35919. "type": "string"
  35920. },
  35921. "creatorid": {
  35922. "description": "创建人",
  35923. "type": "integer"
  35924. },
  35925. "hits": {
  35926. "description": "点击数",
  35927. "type": "integer"
  35928. },
  35929. "id": {
  35930. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  35931. "type": "integer"
  35932. },
  35933. "isshow": {
  35934. "description": "是否展示 - 0:不展示 1:展示",
  35935. "type": "integer"
  35936. },
  35937. "istop": {
  35938. "description": "是否置顶 - 0:不置 1:置顶",
  35939. "type": "integer"
  35940. },
  35941. "modifierid": {
  35942. "description": "操作人",
  35943. "type": "integer"
  35944. },
  35945. "publishdate": {
  35946. "description": "发布日期",
  35947. "type": "string"
  35948. },
  35949. "status": {
  35950. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  35951. "type": "integer"
  35952. },
  35953. "title": {
  35954. "description": "标题",
  35955. "type": "string"
  35956. },
  35957. "updatedate": {
  35958. "description": "修改时间",
  35959. "type": "string"
  35960. },
  35961. "userid": {
  35962. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  35963. "type": "integer"
  35964. },
  35965. "username": {
  35966. "description": "用户名称",
  35967. "type": "string"
  35968. }
  35969. }
  35970. },
  35971. "models.QhjTeamOrder": {
  35972. "type": "object",
  35973. "properties": {
  35974. "accountid": {
  35975. "description": "账户ID[报价币种]",
  35976. "type": "integer"
  35977. },
  35978. "accountname": {
  35979. "description": "账户名称",
  35980. "type": "string"
  35981. },
  35982. "agreeunit": {
  35983. "description": "合约乘数",
  35984. "type": "number"
  35985. },
  35986. "buyorsell": {
  35987. "description": "方向 - 0:买 1:卖",
  35988. "type": "integer"
  35989. },
  35990. "decimalplace": {
  35991. "description": "报价小数位",
  35992. "type": "integer"
  35993. },
  35994. "enumdicname": {
  35995. "description": "单位名称",
  35996. "type": "string"
  35997. },
  35998. "goodscode": {
  35999. "description": "商品代码(内部)",
  36000. "type": "string"
  36001. },
  36002. "goodsid": {
  36003. "description": "商品ID",
  36004. "type": "integer"
  36005. },
  36006. "goodsname": {
  36007. "description": "商品名称",
  36008. "type": "string"
  36009. },
  36010. "goodunitid": {
  36011. "description": "报价单位ID",
  36012. "type": "integer"
  36013. },
  36014. "marketid": {
  36015. "description": "市场ID",
  36016. "type": "integer"
  36017. },
  36018. "marketname": {
  36019. "description": "市场名称",
  36020. "type": "string"
  36021. },
  36022. "qtydecimalplace": {
  36023. "description": "成交量小数位",
  36024. "type": "integer"
  36025. },
  36026. "refereeuserid": {
  36027. "description": "推荐人ID",
  36028. "type": "integer"
  36029. },
  36030. "tradeamount": {
  36031. "description": "成交金额[账户币种,用于所有权]",
  36032. "type": "number"
  36033. },
  36034. "tradedate": {
  36035. "description": "交易日(yyyyMMdd)",
  36036. "type": "string"
  36037. },
  36038. "trademode": {
  36039. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36040. "type": "integer"
  36041. },
  36042. "tradeprice": {
  36043. "description": "成交价格",
  36044. "type": "number"
  36045. },
  36046. "tradeqty": {
  36047. "description": "成交数量",
  36048. "type": "number"
  36049. },
  36050. "tradetime": {
  36051. "description": "成交时间",
  36052. "type": "string"
  36053. },
  36054. "userid": {
  36055. "description": "用户ID",
  36056. "type": "integer"
  36057. }
  36058. }
  36059. },
  36060. "models.QhjTradeGoodsPickup": {
  36061. "type": "object",
  36062. "properties": {
  36063. "accountid": {
  36064. "description": "账户ID",
  36065. "type": "integer"
  36066. },
  36067. "address": {
  36068. "description": "提货人详细地址",
  36069. "type": "string"
  36070. },
  36071. "amount": {
  36072. "description": "提货金额",
  36073. "type": "number"
  36074. },
  36075. "artradedate": {
  36076. "description": "自动收货交易日(yyyyMMdd)",
  36077. "type": "string"
  36078. },
  36079. "auditer": {
  36080. "description": "审核人",
  36081. "type": "integer"
  36082. },
  36083. "auditsrc": {
  36084. "description": "更新来源 - 1:管理端 2:终端",
  36085. "type": "integer"
  36086. },
  36087. "audittime": {
  36088. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  36089. "type": "string"
  36090. },
  36091. "audittradedate": {
  36092. "description": "审核交易日(yyyyMMdd)",
  36093. "type": "string"
  36094. },
  36095. "cardnum": {
  36096. "description": "提货人证件号码",
  36097. "type": "string"
  36098. },
  36099. "cardtypeid": {
  36100. "description": "提货人证件类型",
  36101. "type": "integer"
  36102. },
  36103. "checkremark": {
  36104. "description": "审核备注",
  36105. "type": "string"
  36106. },
  36107. "cityid": {
  36108. "description": "市",
  36109. "type": "integer"
  36110. },
  36111. "cityname": {
  36112. "description": "城市名称",
  36113. "type": "string"
  36114. },
  36115. "confirmtime": {
  36116. "description": "取货时间 或 收货时间",
  36117. "type": "string"
  36118. },
  36119. "countryid": {
  36120. "description": "国家",
  36121. "type": "integer"
  36122. },
  36123. "countryname": {
  36124. "description": "国家名称",
  36125. "type": "string"
  36126. },
  36127. "decimalplace": {
  36128. "description": "商品报价小数位",
  36129. "type": "integer"
  36130. },
  36131. "districtid": {
  36132. "description": "地区",
  36133. "type": "integer"
  36134. },
  36135. "districtname": {
  36136. "description": "地区名称",
  36137. "type": "string"
  36138. },
  36139. "enumdicname": {
  36140. "description": "单位名称(提货商品)",
  36141. "type": "string"
  36142. },
  36143. "expresscompany": {
  36144. "description": "物流公司",
  36145. "type": "string"
  36146. },
  36147. "expressnum": {
  36148. "description": "物流单号",
  36149. "type": "string"
  36150. },
  36151. "goodsagreeunit": {
  36152. "description": "交易商品乘数",
  36153. "type": "number"
  36154. },
  36155. "goodscode": {
  36156. "description": "商品代码",
  36157. "type": "string"
  36158. },
  36159. "goodsid": {
  36160. "description": "商品ID",
  36161. "type": "integer"
  36162. },
  36163. "goodsname": {
  36164. "description": "商品名称",
  36165. "type": "string"
  36166. },
  36167. "goodsqty": {
  36168. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  36169. "type": "number"
  36170. },
  36171. "handlestatus": {
  36172. "description": "处理状态",
  36173. "type": "integer"
  36174. },
  36175. "logincode": {
  36176. "description": "账号(登录代码, 有可能为空)",
  36177. "type": "string"
  36178. },
  36179. "marketid": {
  36180. "description": "市场ID",
  36181. "type": "integer"
  36182. },
  36183. "phonenum": {
  36184. "description": "提货人联系方式",
  36185. "type": "string"
  36186. },
  36187. "pickupgoodsagreeunit": {
  36188. "description": "提货商品合约乘数",
  36189. "type": "number"
  36190. },
  36191. "pickupgoodsid": {
  36192. "description": "提货商品ID",
  36193. "type": "string"
  36194. },
  36195. "pickupgoodsname": {
  36196. "description": "提货商品名称",
  36197. "type": "string"
  36198. },
  36199. "pickupgoodsqty": {
  36200. "description": "提货商品手数(数量)",
  36201. "type": "number"
  36202. },
  36203. "pickupgoodsunitid": {
  36204. "description": "单位ID(提货商品)",
  36205. "type": "integer"
  36206. },
  36207. "pickupratio": {
  36208. "description": "提货系数",
  36209. "type": "number"
  36210. },
  36211. "preparedays": {
  36212. "description": "备货期(天)-提货单明细表",
  36213. "type": "integer"
  36214. },
  36215. "provinceid": {
  36216. "description": "省",
  36217. "type": "integer"
  36218. },
  36219. "provincename": {
  36220. "description": "省名称",
  36221. "type": "string"
  36222. },
  36223. "qty": {
  36224. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  36225. "type": "number"
  36226. },
  36227. "qtydecimalplace": {
  36228. "description": "商品数量小数位",
  36229. "type": "integer"
  36230. },
  36231. "recivername": {
  36232. "description": "提货人姓名",
  36233. "type": "string"
  36234. },
  36235. "reqtime": {
  36236. "description": "提货申请时间",
  36237. "type": "string"
  36238. },
  36239. "storeuserid": {
  36240. "description": "门店用户ID (千海金)",
  36241. "type": "integer"
  36242. },
  36243. "storeusername": {
  36244. "description": "门店用户名称",
  36245. "type": "string"
  36246. },
  36247. "takemode": {
  36248. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  36249. "type": "integer"
  36250. },
  36251. "takeorderid": {
  36252. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  36253. "type": "string"
  36254. },
  36255. "takeorderstatus": {
  36256. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  36257. "type": "integer"
  36258. },
  36259. "takeremark": {
  36260. "description": "提货备注",
  36261. "type": "string"
  36262. },
  36263. "tradedate": {
  36264. "description": "交易日(yyyyMMdd)",
  36265. "type": "string"
  36266. },
  36267. "updatetime": {
  36268. "description": "更新时间",
  36269. "type": "string"
  36270. },
  36271. "userid": {
  36272. "description": "用户ID",
  36273. "type": "integer"
  36274. },
  36275. "userinfotype": {
  36276. "description": "客户类型 1-个人 2-企业",
  36277. "type": "integer"
  36278. },
  36279. "username": {
  36280. "description": "用户名称",
  36281. "type": "string"
  36282. }
  36283. }
  36284. },
  36285. "models.QhjUserNodeCfgAndStatus": {
  36286. "type": "object",
  36287. "properties": {
  36288. "agreementcontent": {
  36289. "description": "协议内容",
  36290. "type": "string"
  36291. },
  36292. "agreementid": {
  36293. "description": "协议ID",
  36294. "type": "integer"
  36295. },
  36296. "agreementname": {
  36297. "description": "协议名称",
  36298. "type": "string"
  36299. },
  36300. "agreementno": {
  36301. "description": "协议编号",
  36302. "type": "string"
  36303. },
  36304. "agreementtype": {
  36305. "description": "协议类型 - 1:注册 2:登录 3:交易",
  36306. "type": "integer"
  36307. },
  36308. "agreementversion": {
  36309. "description": "协议版本号",
  36310. "type": "integer"
  36311. },
  36312. "configid": {
  36313. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  36314. "type": "integer"
  36315. },
  36316. "createtime": {
  36317. "description": "创建时间",
  36318. "type": "string"
  36319. },
  36320. "goodsid": {
  36321. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  36322. "type": "integer"
  36323. },
  36324. "nodetype": {
  36325. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  36326. "type": "integer"
  36327. },
  36328. "signtimestamp": {
  36329. "description": "签约状态时间戳(最近一次)",
  36330. "type": "string"
  36331. },
  36332. "tradedate": {
  36333. "description": "签约交易日(yyyyMMdd)",
  36334. "type": "string"
  36335. },
  36336. "userid": {
  36337. "description": "客户ID",
  36338. "type": "integer"
  36339. }
  36340. }
  36341. },
  36342. "models.Qhjgoodsex": {
  36343. "type": "object",
  36344. "properties": {
  36345. "canfinance": {
  36346. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  36347. "type": "integer"
  36348. },
  36349. "canregularlybuy": {
  36350. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  36351. "type": "integer"
  36352. },
  36353. "defaulttradeuserid": {
  36354. "description": "默认交易用户ID",
  36355. "type": "integer"
  36356. },
  36357. "deliverygoodsid": {
  36358. "description": "现货品种ID",
  36359. "type": "integer"
  36360. },
  36361. "goodsid": {
  36362. "description": "商品ID(自增ID SEQ_GOODS)",
  36363. "type": "integer"
  36364. },
  36365. "minamount": {
  36366. "description": "最小购买金额",
  36367. "type": "number"
  36368. },
  36369. "regularlybuyminamount": {
  36370. "description": "定投最小金额",
  36371. "type": "number"
  36372. },
  36373. "regularlybuyminqty": {
  36374. "description": "定投最小数量",
  36375. "type": "number"
  36376. },
  36377. "spotgoodsbrandid": {
  36378. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  36379. "type": "integer"
  36380. },
  36381. "visibilityforenterprise": {
  36382. "description": "企业客户是否可见 - 0:不可见 1:可见",
  36383. "type": "integer"
  36384. },
  36385. "visibilityforpersonal": {
  36386. "description": "个人客户是否可见 - 0:不可见 1:可见",
  36387. "type": "integer"
  36388. },
  36389. "wrstandardid": {
  36390. "description": "现货商品ID",
  36391. "type": "integer"
  36392. }
  36393. }
  36394. },
  36395. "models.QueryErrorInfosRsp": {
  36396. "type": "object",
  36397. "required": [
  36398. "errorid"
  36399. ],
  36400. "properties": {
  36401. "description": {
  36402. "description": "异常描述",
  36403. "type": "string"
  36404. },
  36405. "errorcode": {
  36406. "description": "异常代码",
  36407. "type": "string"
  36408. },
  36409. "errorid": {
  36410. "description": "异常ID",
  36411. "type": "integer"
  36412. },
  36413. "modulecode": {
  36414. "description": "所属模块",
  36415. "type": "string"
  36416. },
  36417. "operatecode": {
  36418. "description": "所属操作",
  36419. "type": "string"
  36420. },
  36421. "rownumber": {
  36422. "description": "行号",
  36423. "type": "string"
  36424. }
  36425. }
  36426. },
  36427. "models.QueryHedgeOrderDetailRsp": {
  36428. "type": "object",
  36429. "properties": {
  36430. "accountid": {
  36431. "description": "账户ID",
  36432. "type": "integer"
  36433. },
  36434. "buyorsell": {
  36435. "description": "买卖 - 0:买 1:卖",
  36436. "type": "integer"
  36437. },
  36438. "cancellogincode": {
  36439. "description": "撤单人",
  36440. "type": "string"
  36441. },
  36442. "channelbuildtype": {
  36443. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  36444. "type": "integer"
  36445. },
  36446. "channelinnerorderstatus": {
  36447. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  36448. "type": "integer"
  36449. },
  36450. "channeloperatetype": {
  36451. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  36452. "type": "integer"
  36453. },
  36454. "closetype": {
  36455. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36456. "type": "integer"
  36457. },
  36458. "curexchangerate": {
  36459. "description": "当前汇率",
  36460. "type": "number"
  36461. },
  36462. "decimalplace": {
  36463. "description": "商品报价小数位",
  36464. "type": "integer"
  36465. },
  36466. "exchangefullname": {
  36467. "description": "外部交易所全称",
  36468. "type": "string"
  36469. },
  36470. "goodscode": {
  36471. "description": "商品代码(内部)",
  36472. "type": "string"
  36473. },
  36474. "goodsid": {
  36475. "description": "商品ID",
  36476. "type": "integer"
  36477. },
  36478. "goodsname": {
  36479. "description": "商品名称",
  36480. "type": "string"
  36481. },
  36482. "marketid": {
  36483. "description": "市场ID",
  36484. "type": "integer"
  36485. },
  36486. "openfreezemargin": {
  36487. "description": "冻结保证金(冻结交易金额)",
  36488. "type": "number"
  36489. },
  36490. "orderid": {
  36491. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36492. "type": "string"
  36493. },
  36494. "orderlogincode": {
  36495. "description": "委托人",
  36496. "type": "string"
  36497. },
  36498. "orderprice": {
  36499. "description": "委托价格(账户)",
  36500. "type": "number"
  36501. },
  36502. "orderqty": {
  36503. "description": "委托数量",
  36504. "type": "integer"
  36505. },
  36506. "ordertime": {
  36507. "description": "委托时间",
  36508. "type": "string"
  36509. },
  36510. "pricemode": {
  36511. "description": "取价方式 - 1:市价 2: 限价",
  36512. "type": "integer"
  36513. },
  36514. "tradedate": {
  36515. "description": "交易日(yyyyMMdd)",
  36516. "type": "string"
  36517. },
  36518. "tradeqty": {
  36519. "description": "成交数量",
  36520. "type": "integer"
  36521. }
  36522. }
  36523. },
  36524. "models.QueryHedgeTradeDetailRsp": {
  36525. "type": "object",
  36526. "properties": {
  36527. "accountid": {
  36528. "description": "账号ID",
  36529. "type": "integer"
  36530. },
  36531. "buyorsell": {
  36532. "description": "方向 - 0:买 1:卖",
  36533. "type": "integer"
  36534. },
  36535. "channelbuildtype": {
  36536. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  36537. "type": "integer"
  36538. },
  36539. "closecharge": {
  36540. "description": "平仓手续费(账户)",
  36541. "type": "number"
  36542. },
  36543. "closecharge2": {
  36544. "description": "平仓手续费(商品)",
  36545. "type": "number"
  36546. },
  36547. "closepl": {
  36548. "description": "平仓盈亏(账户)",
  36549. "type": "number"
  36550. },
  36551. "closepl2": {
  36552. "description": "平仓盈亏(商品)",
  36553. "type": "number"
  36554. },
  36555. "closepl3": {
  36556. "description": "平仓盈亏(账户)(逐笔)",
  36557. "type": "number"
  36558. },
  36559. "closepl4": {
  36560. "description": "平仓盈亏(商品)(逐笔)",
  36561. "type": "number"
  36562. },
  36563. "closetype": {
  36564. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36565. "type": "integer"
  36566. },
  36567. "curexchangerate": {
  36568. "description": "当前汇率",
  36569. "type": "number"
  36570. },
  36571. "decimalplace": {
  36572. "description": "商品报价小数位",
  36573. "type": "integer"
  36574. },
  36575. "exchangefullname": {
  36576. "description": "外部交易所全称",
  36577. "type": "string"
  36578. },
  36579. "goodscode": {
  36580. "description": "商品代码(内部)",
  36581. "type": "string"
  36582. },
  36583. "goodsid": {
  36584. "description": "商品ID",
  36585. "type": "integer"
  36586. },
  36587. "goodsname": {
  36588. "description": "商品名称",
  36589. "type": "string"
  36590. },
  36591. "marketid": {
  36592. "description": "市场ID",
  36593. "type": "integer"
  36594. },
  36595. "opencharge": {
  36596. "description": "建仓手续费(账户)",
  36597. "type": "number"
  36598. },
  36599. "opencharge2": {
  36600. "description": "建仓手续费(商品)",
  36601. "type": "number"
  36602. },
  36603. "orderid": {
  36604. "description": "委托单号",
  36605. "type": "string"
  36606. },
  36607. "orderlogincode": {
  36608. "description": "委托人",
  36609. "type": "string"
  36610. },
  36611. "tradeamount": {
  36612. "description": "成交金额(账户)",
  36613. "type": "number"
  36614. },
  36615. "tradedate": {
  36616. "description": "交易日(yyyyMMdd)",
  36617. "type": "string"
  36618. },
  36619. "tradeid": {
  36620. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36621. "type": "string"
  36622. },
  36623. "tradeprice": {
  36624. "description": "成交价格",
  36625. "type": "number"
  36626. },
  36627. "tradeqty": {
  36628. "description": "成交数量",
  36629. "type": "integer"
  36630. },
  36631. "tradetime": {
  36632. "description": "成交时间",
  36633. "type": "string"
  36634. },
  36635. "tradetype": {
  36636. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  36637. "type": "integer"
  36638. }
  36639. }
  36640. },
  36641. "models.QuotePrimaryMenu": {
  36642. "type": "object",
  36643. "properties": {
  36644. "Index": {
  36645. "description": "序号",
  36646. "type": "integer"
  36647. },
  36648. "Key": {
  36649. "description": "键名",
  36650. "type": "string"
  36651. },
  36652. "Name": {
  36653. "description": "菜单名称",
  36654. "type": "string"
  36655. },
  36656. "SubMenus": {
  36657. "description": "子菜单",
  36658. "type": "array",
  36659. "items": {
  36660. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  36661. }
  36662. },
  36663. "SubTitleType": {
  36664. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  36665. "type": "integer"
  36666. },
  36667. "TradeModes": {
  36668. "description": "包含市场交易类型",
  36669. "type": "string"
  36670. }
  36671. }
  36672. },
  36673. "models.QuoteSecondaryMenu": {
  36674. "type": "object",
  36675. "properties": {
  36676. "ExExchangeCode": {
  36677. "description": "外部交易所代码",
  36678. "type": "string"
  36679. },
  36680. "ExExchangeID": {
  36681. "description": "外部交易所ID",
  36682. "type": "integer"
  36683. },
  36684. "GoodsGroupIDs": {
  36685. "description": "商品组ID列表",
  36686. "type": "array",
  36687. "items": {
  36688. "type": "integer"
  36689. }
  36690. },
  36691. "Index": {
  36692. "description": "序号",
  36693. "type": "integer"
  36694. },
  36695. "MarketID": {
  36696. "description": "市场ID",
  36697. "type": "integer"
  36698. },
  36699. "MenuTitle": {
  36700. "description": "菜单标题(市场名称或外部交易所名称)",
  36701. "type": "string"
  36702. },
  36703. "TradeMode": {
  36704. "description": "交易模式",
  36705. "type": "integer"
  36706. }
  36707. }
  36708. },
  36709. "models.RelatedTaAccount": {
  36710. "type": "object",
  36711. "properties": {
  36712. "accountid": {
  36713. "description": "资金账户ID",
  36714. "type": "integer"
  36715. }
  36716. }
  36717. },
  36718. "models.RoleMenu": {
  36719. "type": "object",
  36720. "properties": {
  36721. "hasright": {
  36722. "description": "是否有权限 0-没有权限 1-有权限",
  36723. "type": "integer"
  36724. },
  36725. "iconame": {
  36726. "description": "菜单图标",
  36727. "type": "string"
  36728. },
  36729. "menutype": {
  36730. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  36731. "type": "integer"
  36732. },
  36733. "parentcode": {
  36734. "description": "上级资源代码",
  36735. "type": "string"
  36736. },
  36737. "remark": {
  36738. "description": "菜单备注",
  36739. "type": "string"
  36740. },
  36741. "resourcecode": {
  36742. "description": "菜单代码",
  36743. "type": "string"
  36744. },
  36745. "resourcelevel": {
  36746. "description": "级别",
  36747. "type": "integer"
  36748. },
  36749. "resourcename": {
  36750. "description": "菜单名称",
  36751. "type": "string"
  36752. },
  36753. "roleid": {
  36754. "description": "角色id",
  36755. "type": "integer"
  36756. },
  36757. "sort": {
  36758. "description": "排序",
  36759. "type": "integer"
  36760. },
  36761. "subMenu": {
  36762. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  36763. "type": "array",
  36764. "items": {
  36765. "$ref": "#/definitions/models.RoleMenu"
  36766. }
  36767. },
  36768. "url": {
  36769. "description": "URL",
  36770. "type": "string"
  36771. },
  36772. "userid": {
  36773. "description": "用户id",
  36774. "type": "integer"
  36775. }
  36776. }
  36777. },
  36778. "models.SearchGoods": {
  36779. "type": "object",
  36780. "required": [
  36781. "goodscode",
  36782. "goodsid",
  36783. "goodsname",
  36784. "marketid",
  36785. "trademode"
  36786. ],
  36787. "properties": {
  36788. "goodscode": {
  36789. "description": "商品代码(内部)",
  36790. "type": "string"
  36791. },
  36792. "goodsid": {
  36793. "description": "商品ID(自增ID SEQ_GOODS)",
  36794. "type": "integer"
  36795. },
  36796. "goodsname": {
  36797. "description": "商品名称",
  36798. "type": "string"
  36799. },
  36800. "marketid": {
  36801. "description": "所属市场ID",
  36802. "type": "integer"
  36803. },
  36804. "marketname": {
  36805. "description": "市场名称",
  36806. "type": "string"
  36807. },
  36808. "trademode": {
  36809. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36810. "type": "integer"
  36811. }
  36812. }
  36813. },
  36814. "models.SellOrder": {
  36815. "type": "object",
  36816. "properties": {
  36817. "accountid": {
  36818. "description": "资金账号",
  36819. "type": "integer"
  36820. },
  36821. "applyid": {
  36822. "description": "申请单ID",
  36823. "type": "integer"
  36824. },
  36825. "attachment1": {
  36826. "description": "附件1",
  36827. "type": "string"
  36828. },
  36829. "attachment2": {
  36830. "description": "附件2",
  36831. "type": "string"
  36832. },
  36833. "buyorsell": {
  36834. "description": "买卖 - 0:买 1:卖",
  36835. "type": "integer"
  36836. },
  36837. "canbargain": {
  36838. "description": "是否可议价 - 0:不可 1:可",
  36839. "type": "integer"
  36840. },
  36841. "cancelqty": {
  36842. "description": "撤销数量",
  36843. "type": "integer"
  36844. },
  36845. "canceltime": {
  36846. "description": "撤销时间",
  36847. "type": "string"
  36848. },
  36849. "chargealgorithm": {
  36850. "description": "手续费收取方式 1:比率 2:固定",
  36851. "type": "integer"
  36852. },
  36853. "chargealgorithmvalue": {
  36854. "description": "手续费设置值(交易所部分)",
  36855. "type": "number"
  36856. },
  36857. "chargealgorithmvalue2": {
  36858. "description": "手续费设置值(会员部分)",
  36859. "type": "number"
  36860. },
  36861. "clientordertime": {
  36862. "description": "客户端委托时间",
  36863. "type": "string"
  36864. },
  36865. "exchangerate": {
  36866. "description": "汇率[67]",
  36867. "type": "number"
  36868. },
  36869. "firstratio": {
  36870. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  36871. "type": "number"
  36872. },
  36873. "fixedprice": {
  36874. "description": "固定价格 - [挂牌]",
  36875. "type": "number"
  36876. },
  36877. "freezecharge": {
  36878. "description": "冻结手续费",
  36879. "type": "number"
  36880. },
  36881. "freezefirstamount": {
  36882. "description": "冻结首付金额 - [摘牌]",
  36883. "type": "number"
  36884. },
  36885. "freezemargin": {
  36886. "description": "冻结保证金",
  36887. "type": "number"
  36888. },
  36889. "goodsno": {
  36890. "description": "商品编号",
  36891. "type": "string"
  36892. },
  36893. "isQueryDiamond": {
  36894. "description": "是否钻石查询",
  36895. "type": "boolean"
  36896. },
  36897. "isspecified": {
  36898. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36899. "type": "integer"
  36900. },
  36901. "marginalgorithm": {
  36902. "description": "保证金方式 - 1:比率 2:固定",
  36903. "type": "integer"
  36904. },
  36905. "marginvalue": {
  36906. "description": "保证金设置值",
  36907. "type": "number"
  36908. },
  36909. "marketid": {
  36910. "description": "市场ID",
  36911. "type": "integer"
  36912. },
  36913. "orderamount": {
  36914. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  36915. "type": "number"
  36916. },
  36917. "orderqty": {
  36918. "description": "委托数量",
  36919. "type": "integer"
  36920. },
  36921. "ordertime": {
  36922. "description": "委托时间",
  36923. "type": "string"
  36924. },
  36925. "performancetemplateid": {
  36926. "description": "履约计划模板ID",
  36927. "type": "integer"
  36928. },
  36929. "pricefactor": {
  36930. "description": "价格系数(浮动价时填写) - [挂牌]",
  36931. "type": "number"
  36932. },
  36933. "pricemove": {
  36934. "description": "升贴水(浮动价时填写) - [挂牌]",
  36935. "type": "number"
  36936. },
  36937. "relatedwrtradeorderid": {
  36938. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  36939. "type": "integer"
  36940. },
  36941. "retcode": {
  36942. "description": "错误代码",
  36943. "type": "integer"
  36944. },
  36945. "sellusername": {
  36946. "description": "卖方(查询字段-模糊查询)",
  36947. "type": "string"
  36948. },
  36949. "tradedate": {
  36950. "description": "交易日(yyyyMMdd)",
  36951. "type": "string"
  36952. },
  36953. "tradeprice": {
  36954. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  36955. "type": "number"
  36956. },
  36957. "tradeqty": {
  36958. "description": "成交数量",
  36959. "type": "integer"
  36960. },
  36961. "unfreezecharge": {
  36962. "description": "解冻手续费",
  36963. "type": "number"
  36964. },
  36965. "unfreezefirstamount": {
  36966. "description": "解冻首付金额 - [摘牌]",
  36967. "type": "number"
  36968. },
  36969. "unfreezemargin": {
  36970. "description": "解冻保证金",
  36971. "type": "number"
  36972. },
  36973. "userid": {
  36974. "description": "用户ID",
  36975. "type": "integer"
  36976. },
  36977. "uuid": {
  36978. "description": "发起端唯一id",
  36979. "type": "string"
  36980. },
  36981. "validtime": {
  36982. "description": "有效期限",
  36983. "type": "string"
  36984. },
  36985. "validtype": {
  36986. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36987. "type": "integer"
  36988. },
  36989. "wrbargainid": {
  36990. "description": "议价申请单ID",
  36991. "type": "integer"
  36992. },
  36993. "wrfactortypeid": {
  36994. "description": "仓单要素类型ID/商品ID(77)",
  36995. "type": "integer"
  36996. },
  36997. "wrpricetype": {
  36998. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36999. "type": "integer"
  37000. },
  37001. "wrstandardid": {
  37002. "description": "现货商品ID",
  37003. "type": "integer"
  37004. },
  37005. "wrtradeorderid": {
  37006. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37007. "type": "integer"
  37008. },
  37009. "wrtradeorderstatus": {
  37010. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 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:撤单解冻贷款失败",
  37011. "type": "integer"
  37012. },
  37013. "wrtradetype": {
  37014. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37015. "type": "integer"
  37016. },
  37017. "wrtransferuserid": {
  37018. "description": "仓单受让用户 - [摘牌]",
  37019. "type": "integer"
  37020. },
  37021. "zscategory": {
  37022. "description": "钻石分类 - 枚举”ZSCategory“",
  37023. "type": "integer"
  37024. },
  37025. "zscurrencytype": {
  37026. "description": "货币类型 - 枚举“ZSCurrencyType”",
  37027. "type": "integer"
  37028. }
  37029. }
  37030. },
  37031. "models.SellOrderQueryReq": {
  37032. "type": "object",
  37033. "required": [
  37034. "zscategory"
  37035. ],
  37036. "properties": {
  37037. "TOTAL": {
  37038. "description": "总条数",
  37039. "type": "integer"
  37040. },
  37041. "origin": {
  37042. "description": "原产地",
  37043. "type": "string"
  37044. },
  37045. "page": {
  37046. "description": "页码",
  37047. "type": "integer"
  37048. },
  37049. "pagesize": {
  37050. "description": "每页大小",
  37051. "type": "integer"
  37052. },
  37053. "warehouseid": {
  37054. "description": "仓库ID",
  37055. "type": "integer"
  37056. },
  37057. "weight1": {
  37058. "description": "总重量(克拉重量)-从",
  37059. "type": "number"
  37060. },
  37061. "weight2": {
  37062. "description": "总重量(克拉重量)-至",
  37063. "type": "number"
  37064. },
  37065. "weightavg1": {
  37066. "description": "平均单颗重量-从",
  37067. "type": "number"
  37068. },
  37069. "weightavg2": {
  37070. "description": "平均单颗重量-至",
  37071. "type": "number"
  37072. },
  37073. "zscategory": {
  37074. "description": "钻石分类 - 枚举”ZSCategory“",
  37075. "type": "integer"
  37076. },
  37077. "zscerttype": {
  37078. "description": "证书类型",
  37079. "type": "array",
  37080. "items": {
  37081. "type": "string"
  37082. }
  37083. },
  37084. "zsclaritytype": {
  37085. "description": "净度",
  37086. "type": "array",
  37087. "items": {
  37088. "type": "integer"
  37089. }
  37090. },
  37091. "zscolortype": {
  37092. "description": "颜色",
  37093. "type": "array",
  37094. "items": {
  37095. "type": "integer"
  37096. }
  37097. },
  37098. "zscurrencytype": {
  37099. "description": "货币类型 - 枚举“ZSCurrencyType”",
  37100. "type": "array",
  37101. "items": {
  37102. "type": "string"
  37103. }
  37104. },
  37105. "zscuttype": {
  37106. "description": "切工",
  37107. "type": "array",
  37108. "items": {
  37109. "type": "integer"
  37110. }
  37111. },
  37112. "zsczcolor1type": {
  37113. "description": "彩钻颜色1",
  37114. "type": "array",
  37115. "items": {
  37116. "type": "string"
  37117. }
  37118. },
  37119. "zsfluorescencetype": {
  37120. "description": "荧光",
  37121. "type": "array",
  37122. "items": {
  37123. "type": "integer"
  37124. }
  37125. },
  37126. "zspolishtype": {
  37127. "description": "抛光度",
  37128. "type": "array",
  37129. "items": {
  37130. "type": "integer"
  37131. }
  37132. },
  37133. "zsshapetype": {
  37134. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  37135. "type": "array",
  37136. "items": {
  37137. "type": "string"
  37138. }
  37139. },
  37140. "zsstyletype": {
  37141. "description": "款式",
  37142. "type": "array",
  37143. "items": {
  37144. "type": "string"
  37145. }
  37146. },
  37147. "zssymmetrytype": {
  37148. "description": "对称度",
  37149. "type": "array",
  37150. "items": {
  37151. "type": "integer"
  37152. }
  37153. }
  37154. }
  37155. },
  37156. "models.Systemparam": {
  37157. "type": "object",
  37158. "required": [
  37159. "paramcode"
  37160. ],
  37161. "properties": {
  37162. "loginid": {
  37163. "description": "更新用户账号,登录账号",
  37164. "type": "string"
  37165. },
  37166. "modifyflag": {
  37167. "description": "修改标志0 不允许修改 1 允许修改",
  37168. "type": "integer"
  37169. },
  37170. "paramcode": {
  37171. "description": "参数代码",
  37172. "type": "string"
  37173. },
  37174. "paramname": {
  37175. "description": "参数名",
  37176. "type": "string"
  37177. },
  37178. "paramtype": {
  37179. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  37180. "type": "integer"
  37181. },
  37182. "paramvalue": {
  37183. "description": "参数值",
  37184. "type": "string"
  37185. },
  37186. "paramvalue2": {
  37187. "description": "参数值(CLOB)",
  37188. "type": "string"
  37189. },
  37190. "regexpress": {
  37191. "description": "正则表达式",
  37192. "type": "string"
  37193. },
  37194. "remark": {
  37195. "description": "备注",
  37196. "type": "string"
  37197. },
  37198. "serverip": {
  37199. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  37200. "type": "string"
  37201. },
  37202. "showflag": {
  37203. "description": "是否显示0 不显示 1 显示",
  37204. "type": "integer"
  37205. },
  37206. "updatetime": {
  37207. "description": "更新时间",
  37208. "type": "string"
  37209. },
  37210. "userid": {
  37211. "description": "更新用户ID",
  37212. "type": "integer"
  37213. }
  37214. }
  37215. },
  37216. "models.Szdz3convertconfig": {
  37217. "type": "object",
  37218. "required": [
  37219. "converttype",
  37220. "innergoodsid",
  37221. "outergoodscode"
  37222. ],
  37223. "properties": {
  37224. "canin": {
  37225. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  37226. "type": "integer"
  37227. },
  37228. "canout": {
  37229. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  37230. "type": "integer"
  37231. },
  37232. "converttype": {
  37233. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  37234. "type": "integer"
  37235. },
  37236. "createtime": {
  37237. "description": "创建时间",
  37238. "type": "string"
  37239. },
  37240. "creatorid": {
  37241. "description": "创建人",
  37242. "type": "integer"
  37243. },
  37244. "daymaxvalue": {
  37245. "description": "当日最大转入限制",
  37246. "type": "number"
  37247. },
  37248. "freezedays": {
  37249. "description": "冻结天数 [5:花生米转交易]",
  37250. "type": "integer"
  37251. },
  37252. "innergoodsid": {
  37253. "description": "内部商品ID[交易]",
  37254. "type": "integer"
  37255. },
  37256. "inratio": {
  37257. "description": "目标值",
  37258. "type": "integer"
  37259. },
  37260. "modifierid": {
  37261. "description": "修改人",
  37262. "type": "integer"
  37263. },
  37264. "modifytime": {
  37265. "description": "修改时间",
  37266. "type": "string"
  37267. },
  37268. "outergoodscode": {
  37269. "description": "外部商品代码[JD\\PD]",
  37270. "type": "string"
  37271. },
  37272. "outratio": {
  37273. "description": "源值",
  37274. "type": "integer"
  37275. },
  37276. "pddecimalplace": {
  37277. "description": "PD小数位",
  37278. "type": "integer"
  37279. },
  37280. "timemaxvalue": {
  37281. "description": "单次最大转入限制",
  37282. "type": "number"
  37283. },
  37284. "timeminvalue": {
  37285. "description": "单次最小转入限制",
  37286. "type": "number"
  37287. }
  37288. }
  37289. },
  37290. "models.Szdz3searchwhitelist": {
  37291. "type": "object",
  37292. "required": [
  37293. "userid"
  37294. ],
  37295. "properties": {
  37296. "createtime": {
  37297. "description": "创建时间",
  37298. "type": "string"
  37299. },
  37300. "creatorid": {
  37301. "description": "创建人",
  37302. "type": "integer"
  37303. },
  37304. "modifierid": {
  37305. "description": "修改人",
  37306. "type": "integer"
  37307. },
  37308. "modifytime": {
  37309. "description": "修改时间",
  37310. "type": "string"
  37311. },
  37312. "userid": {
  37313. "description": "用户ID",
  37314. "type": "integer"
  37315. }
  37316. }
  37317. },
  37318. "models.TBGoods": {
  37319. "type": "object",
  37320. "properties": {
  37321. "agreeunit": {
  37322. "description": "合约乘数",
  37323. "type": "number"
  37324. },
  37325. "enumdicname": {
  37326. "description": "单位名称",
  37327. "type": "string"
  37328. },
  37329. "goodscode": {
  37330. "description": "商品代码(内部)",
  37331. "type": "string"
  37332. },
  37333. "goodsid": {
  37334. "description": "商品ID(自增ID SEQ_GOODS)",
  37335. "type": "integer"
  37336. },
  37337. "goodsname": {
  37338. "description": "商品名称",
  37339. "type": "string"
  37340. }
  37341. }
  37342. },
  37343. "models.TBGoodsGroup": {
  37344. "type": "object",
  37345. "properties": {
  37346. "GDLST": {
  37347. "description": "商品列表",
  37348. "type": "array",
  37349. "items": {
  37350. "$ref": "#/definitions/models.TBGoods"
  37351. }
  37352. },
  37353. "convertratio": {
  37354. "description": "折算系数",
  37355. "type": "number"
  37356. },
  37357. "enumdicname": {
  37358. "description": "单位名称",
  37359. "type": "string"
  37360. },
  37361. "exexchangecode": {
  37362. "description": "交易所代码",
  37363. "type": "string"
  37364. },
  37365. "exexchangename": {
  37366. "description": "交易所名称",
  37367. "type": "string"
  37368. },
  37369. "goodsgroupid": {
  37370. "description": "商品组ID(自增ID)",
  37371. "type": "integer"
  37372. },
  37373. "goodsgroupname": {
  37374. "description": "商品组名称",
  37375. "type": "string"
  37376. },
  37377. "goodunitid": {
  37378. "description": "报价单位ID",
  37379. "type": "integer"
  37380. }
  37381. }
  37382. },
  37383. "models.TBMiddleGoods": {
  37384. "type": "object",
  37385. "properties": {
  37386. "GPLST": {
  37387. "description": "期货品种列表",
  37388. "type": "array",
  37389. "items": {
  37390. "$ref": "#/definitions/models.TBGoodsGroup"
  37391. }
  37392. },
  37393. "WDLST": {
  37394. "description": "商品信息列表(现货品类)",
  37395. "type": "array",
  37396. "items": {
  37397. "$ref": "#/definitions/models.TBWrstandard"
  37398. }
  37399. },
  37400. "areauserid": {
  37401. "description": "机构用户ID",
  37402. "type": "integer"
  37403. },
  37404. "enumdicname": {
  37405. "description": "单位名称",
  37406. "type": "string"
  37407. },
  37408. "goodsunitid": {
  37409. "description": "套保品种单位id",
  37410. "type": "integer"
  37411. },
  37412. "middlegoodscode": {
  37413. "description": "套保品种代码",
  37414. "type": "string"
  37415. },
  37416. "middlegoodsid": {
  37417. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  37418. "type": "integer"
  37419. },
  37420. "middlegoodsname": {
  37421. "description": "套保品种名称",
  37422. "type": "string"
  37423. },
  37424. "needarbitrageratio": {
  37425. "description": "套利比率",
  37426. "type": "number"
  37427. },
  37428. "needhedgeratio": {
  37429. "description": "套保比率",
  37430. "type": "number"
  37431. }
  37432. }
  37433. },
  37434. "models.TBWrstandard": {
  37435. "type": "object",
  37436. "properties": {
  37437. "convertratio": {
  37438. "description": "折算系数",
  37439. "type": "number"
  37440. },
  37441. "deliverygoodsname": {
  37442. "description": "品种名称",
  37443. "type": "string"
  37444. },
  37445. "enumdicname": {
  37446. "description": "单位名称",
  37447. "type": "string"
  37448. },
  37449. "vatrate": {
  37450. "description": "增值税率",
  37451. "type": "number"
  37452. },
  37453. "wrstandardcode": {
  37454. "description": "现货商品代码",
  37455. "type": "string"
  37456. },
  37457. "wrstandardid": {
  37458. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37459. "type": "integer"
  37460. },
  37461. "wrstandardname": {
  37462. "description": "现货商品名称",
  37463. "type": "string"
  37464. }
  37465. }
  37466. },
  37467. "models.Taaccount": {
  37468. "type": "object",
  37469. "required": [
  37470. "accountid",
  37471. "userid"
  37472. ],
  37473. "properties": {
  37474. "accountflag": {
  37475. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  37476. "type": "integer"
  37477. },
  37478. "accountid": {
  37479. "description": "资金账户ID",
  37480. "type": "integer"
  37481. },
  37482. "accountname": {
  37483. "description": "账户名称",
  37484. "type": "string"
  37485. },
  37486. "balance": {
  37487. "description": "期初余额",
  37488. "type": "number"
  37489. },
  37490. "capitalbalance": {
  37491. "description": "本金余额[外部子账户实际出入金余额]",
  37492. "type": "number"
  37493. },
  37494. "changeflag": {
  37495. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  37496. "type": "integer"
  37497. },
  37498. "changetime": {
  37499. "description": "账户状态变更时间",
  37500. "type": "string"
  37501. },
  37502. "closepl": {
  37503. "description": "今日平仓盈亏",
  37504. "type": "number"
  37505. },
  37506. "creditdecrease": {
  37507. "description": "今日授信减少",
  37508. "type": "number"
  37509. },
  37510. "creditincrease": {
  37511. "description": "今日授信增加",
  37512. "type": "number"
  37513. },
  37514. "curamount": {
  37515. "description": "总市值(从持仓中统计)",
  37516. "type": "number"
  37517. },
  37518. "currencyid": {
  37519. "description": "货币ID",
  37520. "type": "integer"
  37521. },
  37522. "currentbalance": {
  37523. "description": "期末余额",
  37524. "type": "number"
  37525. },
  37526. "freezecharge": {
  37527. "description": "手续费冻结",
  37528. "type": "number"
  37529. },
  37530. "freezemargin": {
  37531. "description": "冻结保证金",
  37532. "type": "number"
  37533. },
  37534. "fromaccountid": {
  37535. "description": "所属上级账户",
  37536. "type": "integer"
  37537. },
  37538. "inamount": {
  37539. "description": "今日入金金额(包括三方入金)",
  37540. "type": "number"
  37541. },
  37542. "ismain": {
  37543. "description": "是否母账号 0:不是母账户 1:是母账户",
  37544. "type": "integer"
  37545. },
  37546. "ismarketaccount": {
  37547. "description": "是否机构接单账号 0:不是 1:是",
  37548. "type": "integer"
  37549. },
  37550. "isreckonaccount": {
  37551. "description": "是否机构分润账号 0:不是 1:是",
  37552. "type": "integer"
  37553. },
  37554. "mortgagecredit": {
  37555. "description": "授信金额",
  37556. "type": "number"
  37557. },
  37558. "orifreezecharge": {
  37559. "description": "期初手续费冻结",
  37560. "type": "number"
  37561. },
  37562. "orifreezemargin": {
  37563. "description": "期初冻结保证金",
  37564. "type": "number"
  37565. },
  37566. "orimortgagecredit": {
  37567. "description": "期初授信金额",
  37568. "type": "number"
  37569. },
  37570. "oriothercredit": {
  37571. "description": "期初其它授信金额",
  37572. "type": "number"
  37573. },
  37574. "oriotherfreezemargin": {
  37575. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  37576. "type": "number"
  37577. },
  37578. "orioutamountfreeze": {
  37579. "description": "期初出金冻结",
  37580. "type": "number"
  37581. },
  37582. "oriusedmargin": {
  37583. "description": "期初占用保证金",
  37584. "type": "number"
  37585. },
  37586. "othercredit": {
  37587. "description": "其它授信金额",
  37588. "type": "number"
  37589. },
  37590. "othercreditdecrease": {
  37591. "description": "今日其它授信减少",
  37592. "type": "number"
  37593. },
  37594. "othercreditincrease": {
  37595. "description": "今日其它授信增加",
  37596. "type": "number"
  37597. },
  37598. "otherfreezemargin": {
  37599. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  37600. "type": "number"
  37601. },
  37602. "otherincome": {
  37603. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  37604. "type": "number"
  37605. },
  37606. "otherpay": {
  37607. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  37608. "type": "number"
  37609. },
  37610. "outamount": {
  37611. "description": "今日出金金额(包括三方出金)",
  37612. "type": "number"
  37613. },
  37614. "outamountfreeze": {
  37615. "description": "出金冻结",
  37616. "type": "number"
  37617. },
  37618. "outthreshold": {
  37619. "description": "出金阈值",
  37620. "type": "number"
  37621. },
  37622. "parentaccountid": {
  37623. "description": "所属根账号",
  37624. "type": "integer"
  37625. },
  37626. "paycharge": {
  37627. "description": "今日手续费支出",
  37628. "type": "number"
  37629. },
  37630. "relatedaccountstatus": {
  37631. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  37632. "type": "integer"
  37633. },
  37634. "relateduserid": {
  37635. "description": "关联用户",
  37636. "type": "integer"
  37637. },
  37638. "remainamount": {
  37639. "description": "融资额(从融资合同中统计)",
  37640. "type": "number"
  37641. },
  37642. "serivcegroup": {
  37643. "description": "服务分组",
  37644. "type": "integer"
  37645. },
  37646. "signstatus": {
  37647. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  37648. "type": "integer"
  37649. },
  37650. "sublevelpath": {
  37651. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  37652. "type": "string"
  37653. },
  37654. "taaccounttype": {
  37655. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  37656. "type": "integer"
  37657. },
  37658. "thirdinamount": {
  37659. "description": "今日三方入金",
  37660. "type": "number"
  37661. },
  37662. "thirdoutamount": {
  37663. "description": "今日三方出金",
  37664. "type": "number"
  37665. },
  37666. "tradestatus": {
  37667. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  37668. "type": "integer"
  37669. },
  37670. "tradestatuschangetime": {
  37671. "description": "激活时间",
  37672. "type": "string"
  37673. },
  37674. "transferamount": {
  37675. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  37676. "type": "number"
  37677. },
  37678. "usedmargin": {
  37679. "description": "占用保证金",
  37680. "type": "number"
  37681. },
  37682. "userid": {
  37683. "description": "用户ID",
  37684. "type": "integer"
  37685. }
  37686. }
  37687. },
  37688. "models.Tablecolumnconfig": {
  37689. "type": "object",
  37690. "required": [
  37691. "autoid"
  37692. ],
  37693. "properties": {
  37694. "aligntype": {
  37695. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  37696. "type": "integer"
  37697. },
  37698. "autoid": {
  37699. "description": "AutoID",
  37700. "type": "integer"
  37701. },
  37702. "columnfield": {
  37703. "description": "列字段",
  37704. "type": "string"
  37705. },
  37706. "columntitle": {
  37707. "description": "列Title",
  37708. "type": "string"
  37709. },
  37710. "columnwidth": {
  37711. "description": "列宽",
  37712. "type": "string"
  37713. },
  37714. "fixed": {
  37715. "description": "固定类型 - 空 | left | right",
  37716. "type": "string"
  37717. },
  37718. "formatterstring": {
  37719. "description": "格式化字符",
  37720. "type": "string"
  37721. },
  37722. "formattertype": {
  37723. "description": "格式化类型",
  37724. "type": "string"
  37725. },
  37726. "groupname": {
  37727. "description": "表头分组名称",
  37728. "type": "string"
  37729. },
  37730. "ismerge": {
  37731. "description": "是否合并显示 - 0:不合并 1:合并",
  37732. "type": "integer"
  37733. },
  37734. "isshow": {
  37735. "description": "是否显示 - 0:不显示 1:显示",
  37736. "type": "integer"
  37737. },
  37738. "needsummary": {
  37739. "description": "是否需要汇总 - 0:不需要 1:需要",
  37740. "type": "integer"
  37741. },
  37742. "orderindex": {
  37743. "description": "顺序",
  37744. "type": "integer"
  37745. },
  37746. "remark": {
  37747. "description": "备注",
  37748. "type": "string"
  37749. },
  37750. "summarytype": {
  37751. "description": "汇总类型 - 1:加总 2:最后一个",
  37752. "type": "integer"
  37753. },
  37754. "tablekey": {
  37755. "description": "列表Key",
  37756. "type": "string"
  37757. }
  37758. }
  37759. },
  37760. "models.TjmdHolderDetailTradeInfo": {
  37761. "type": "object",
  37762. "properties": {
  37763. "agreeunit": {
  37764. "description": "合约乘数",
  37765. "type": "number"
  37766. },
  37767. "buyaccountid": {
  37768. "description": "买方账户",
  37769. "type": "string"
  37770. },
  37771. "buyusername": {
  37772. "description": "买方",
  37773. "type": "string"
  37774. },
  37775. "delistingdate": {
  37776. "description": "最后结算日",
  37777. "type": "string"
  37778. },
  37779. "expiredate": {
  37780. "description": "到期结算价定价日",
  37781. "type": "string"
  37782. },
  37783. "exprieprice": {
  37784. "description": "到期清算价格",
  37785. "type": "string"
  37786. },
  37787. "goodscode": {
  37788. "description": "商品代码",
  37789. "type": "string"
  37790. },
  37791. "goodsid": {
  37792. "description": "商品ID",
  37793. "type": "integer"
  37794. },
  37795. "goodsname": {
  37796. "description": "商品名称(交易标的)",
  37797. "type": "string"
  37798. },
  37799. "lasttradedate": {
  37800. "description": "最后交易日",
  37801. "type": "string"
  37802. },
  37803. "listingdate": {
  37804. "description": "开始交易日",
  37805. "type": "string"
  37806. },
  37807. "openprice": {
  37808. "description": "成交价",
  37809. "type": "number"
  37810. },
  37811. "openqty": {
  37812. "description": "交易数量",
  37813. "type": "integer"
  37814. },
  37815. "sellaccountid": {
  37816. "description": "卖方账户",
  37817. "type": "string"
  37818. },
  37819. "sellusername": {
  37820. "description": "卖方",
  37821. "type": "string"
  37822. },
  37823. "tradeamount": {
  37824. "description": "初始名义价值",
  37825. "type": "number"
  37826. },
  37827. "tradedate": {
  37828. "description": "成交日期",
  37829. "type": "string"
  37830. },
  37831. "tradeid": {
  37832. "description": "成交编号",
  37833. "type": "string"
  37834. }
  37835. }
  37836. },
  37837. "models.TjmdMarketSection": {
  37838. "type": "object",
  37839. "properties": {
  37840. "marketsectionid": {
  37841. "description": "市场版块ID(SEQ_MARKETSECTION)",
  37842. "type": "integer"
  37843. },
  37844. "marketsectionname": {
  37845. "description": "市场版块名称",
  37846. "type": "string"
  37847. },
  37848. "mlist": {
  37849. "description": "市场列表(板块下面有多少个市场)",
  37850. "type": "array",
  37851. "items": {
  37852. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  37853. }
  37854. },
  37855. "orderindex": {
  37856. "description": "排序",
  37857. "type": "integer"
  37858. },
  37859. "pictureurl": {
  37860. "description": "图片url, 规格(90*90)",
  37861. "type": "string"
  37862. },
  37863. "remark": {
  37864. "description": "备注",
  37865. "type": "string"
  37866. }
  37867. }
  37868. },
  37869. "models.TjmdMarketSectionConfig": {
  37870. "type": "object",
  37871. "properties": {
  37872. "auctionwrtype": {
  37873. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  37874. "type": "integer"
  37875. },
  37876. "canacceptquote": {
  37877. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  37878. "type": "integer"
  37879. },
  37880. "cangoodsexercise": {
  37881. "description": "[期权]是否可现货行权- 0:否 1:是",
  37882. "type": "integer"
  37883. },
  37884. "cangoodsexercisetype": {
  37885. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  37886. "type": "integer"
  37887. },
  37888. "canmanualquotestrike": {
  37889. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  37890. "type": "integer"
  37891. },
  37892. "canmutistage": {
  37893. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  37894. "type": "integer"
  37895. },
  37896. "canpreexercise": {
  37897. "description": "[期权]是否可预申报- 0:否 1:是",
  37898. "type": "integer"
  37899. },
  37900. "clearinterval": {
  37901. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  37902. "type": "integer"
  37903. },
  37904. "contracttmp": {
  37905. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  37906. "type": "string"
  37907. },
  37908. "exchareaid": {
  37909. "description": "所属交易所,可以没有",
  37910. "type": "integer"
  37911. },
  37912. "financemarketid": {
  37913. "description": "融资回购市场ID [仓单贸易]",
  37914. "type": "integer"
  37915. },
  37916. "goodstype": {
  37917. "description": "商品类型 - 1:交易商品 2:仓单商品",
  37918. "type": "integer"
  37919. },
  37920. "hasrebate": {
  37921. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  37922. "type": "integer"
  37923. },
  37924. "hastradecredit": {
  37925. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  37926. "type": "integer"
  37927. },
  37928. "haswr": {
  37929. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  37930. "type": "integer"
  37931. },
  37932. "isdeductmargin": {
  37933. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  37934. "type": "integer"
  37935. },
  37936. "isrecordsource": {
  37937. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  37938. "type": "integer"
  37939. },
  37940. "isreleasemargin": {
  37941. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  37942. "type": "integer"
  37943. },
  37944. "isupdatereckonprice": {
  37945. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  37946. "type": "integer"
  37947. },
  37948. "listingmode": {
  37949. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  37950. "type": "integer"
  37951. },
  37952. "marginformula": {
  37953. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37954. "type": "integer"
  37955. },
  37956. "marginformula2": {
  37957. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37958. "type": "integer"
  37959. },
  37960. "marketid": {
  37961. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  37962. "type": "integer"
  37963. },
  37964. "marketname": {
  37965. "description": "市场名称",
  37966. "type": "string"
  37967. },
  37968. "marketsectionid": {
  37969. "description": "市场版块ID(SEQ_MARKETSECTION)",
  37970. "type": "integer"
  37971. },
  37972. "marketserviceid": {
  37973. "description": "市场服务ID",
  37974. "type": "integer"
  37975. },
  37976. "marketstatus": {
  37977. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  37978. "type": "integer"
  37979. },
  37980. "markettype": {
  37981. "description": "市场类型- 1:非交易服务 2:交易服务",
  37982. "type": "integer"
  37983. },
  37984. "matchermode": {
  37985. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  37986. "type": "integer"
  37987. },
  37988. "nowrquotaflag": {
  37989. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  37990. "type": "integer"
  37991. },
  37992. "openmethod": {
  37993. "description": "开盘模式 - 0 自动 1手动",
  37994. "type": "integer"
  37995. },
  37996. "orderindex": {
  37997. "description": "排序",
  37998. "type": "integer"
  37999. },
  38000. "otcuserid": {
  38001. "description": "场外期权做市商[场外期权]",
  38002. "type": "integer"
  38003. },
  38004. "outersynctime": {
  38005. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  38006. "type": "string"
  38007. },
  38008. "paylaterflag": {
  38009. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  38010. "type": "integer"
  38011. },
  38012. "pendingflag": {
  38013. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  38014. "type": "integer"
  38015. },
  38016. "pendingtime": {
  38017. "description": "待开市时间[通道交易-对冲](HH:mm)",
  38018. "type": "string"
  38019. },
  38020. "performancetempid": {
  38021. "description": "履约计划模板ID - 作废",
  38022. "type": "integer"
  38023. },
  38024. "premiumquotemode": {
  38025. "description": "权利金报价方式 - 1:自动 2:手动",
  38026. "type": "integer"
  38027. },
  38028. "rebateratio": {
  38029. "description": "返利比率[竞价式]",
  38030. "type": "number"
  38031. },
  38032. "reckonorder": {
  38033. "description": "结算顺序",
  38034. "type": "integer"
  38035. },
  38036. "reckonpricealgorithm": {
  38037. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  38038. "type": "integer"
  38039. },
  38040. "reckonpriceparam": {
  38041. "description": "结算价参数",
  38042. "type": "integer"
  38043. },
  38044. "reckontime": {
  38045. "description": "结算时间[通道交易-对冲](HH:mm)",
  38046. "type": "string"
  38047. },
  38048. "roleprioritytype": {
  38049. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  38050. "type": "integer"
  38051. },
  38052. "selllistingauditflag": {
  38053. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  38054. "type": "integer"
  38055. },
  38056. "trademarkettype": {
  38057. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  38058. "type": "integer"
  38059. },
  38060. "trademode": {
  38061. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  38062. "type": "integer"
  38063. },
  38064. "tradeproperty": {
  38065. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  38066. "type": "integer"
  38067. },
  38068. "tradetype": {
  38069. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  38070. "type": "integer"
  38071. },
  38072. "updatereckonpriceinterval": {
  38073. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  38074. "type": "integer"
  38075. }
  38076. }
  38077. },
  38078. "models.TjmdQuoteGoods": {
  38079. "type": "object",
  38080. "properties": {
  38081. "buyqty": {
  38082. "description": "买量(暂不做, 无值, 保留字段)",
  38083. "type": "number"
  38084. },
  38085. "decimalplace": {
  38086. "description": "报价小数位",
  38087. "type": "integer"
  38088. },
  38089. "goodscode": {
  38090. "description": "合约代码",
  38091. "type": "string"
  38092. },
  38093. "goodsgroupid": {
  38094. "description": "商品组ID(自增ID)",
  38095. "type": "integer"
  38096. },
  38097. "goodsgroupname": {
  38098. "description": "商品组名称",
  38099. "type": "string"
  38100. },
  38101. "goodsid": {
  38102. "description": "合约id",
  38103. "type": "integer"
  38104. },
  38105. "goodsname": {
  38106. "description": "合约名称",
  38107. "type": "string"
  38108. },
  38109. "refgoodscode": {
  38110. "description": "标的合约代码",
  38111. "type": "string"
  38112. },
  38113. "refgoodsid": {
  38114. "description": "标的合约id",
  38115. "type": "integer"
  38116. },
  38117. "refgoodsname": {
  38118. "description": "标的合约名称",
  38119. "type": "string"
  38120. },
  38121. "sellqty": {
  38122. "description": "卖量(暂不做, 无值, 保留字段)",
  38123. "type": "number"
  38124. }
  38125. }
  38126. },
  38127. "models.TjmdTodayAccountMargin": {
  38128. "type": "object",
  38129. "properties": {
  38130. "accountid": {
  38131. "description": "账号ID",
  38132. "type": "integer"
  38133. },
  38134. "goodsid": {
  38135. "description": "商品ID",
  38136. "type": "integer"
  38137. },
  38138. "infoc": {
  38139. "description": "配置参数",
  38140. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  38141. },
  38142. "marketid": {
  38143. "description": "市场ID",
  38144. "type": "integer"
  38145. }
  38146. }
  38147. },
  38148. "models.TjmdTradeOrderDetail": {
  38149. "type": "object",
  38150. "properties": {
  38151. "buyorsell": {
  38152. "description": "买卖方向 0-买 1-卖",
  38153. "type": "integer"
  38154. },
  38155. "goodsid": {
  38156. "description": "商品id",
  38157. "type": "integer"
  38158. },
  38159. "marketmaxsub": {
  38160. "description": "市价最大偏移范围 [浮动价 - 点差]",
  38161. "type": "number"
  38162. },
  38163. "orderid": {
  38164. "description": "委托单号",
  38165. "type": "string"
  38166. },
  38167. "orderprice": {
  38168. "description": "期初均价",
  38169. "type": "number"
  38170. },
  38171. "orderqty": {
  38172. "description": "委托数量",
  38173. "type": "integer"
  38174. },
  38175. "pricemode": {
  38176. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  38177. "type": "integer"
  38178. },
  38179. "userid": {
  38180. "description": "用户id",
  38181. "type": "integer"
  38182. },
  38183. "username": {
  38184. "description": "用户名称(已脱敏)",
  38185. "type": "string"
  38186. }
  38187. }
  38188. },
  38189. "models.TjmdTransferApply": {
  38190. "type": "object",
  38191. "properties": {
  38192. "applyid": {
  38193. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  38194. "type": "integer"
  38195. },
  38196. "applystatus": {
  38197. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  38198. "type": "integer"
  38199. },
  38200. "applytime": {
  38201. "description": "申请时间(时间)",
  38202. "type": "string"
  38203. },
  38204. "auditremark": {
  38205. "description": "审核备注(拒绝原因?)",
  38206. "type": "string"
  38207. },
  38208. "begindate": {
  38209. "description": "开始交易日(yyyymmdd)",
  38210. "type": "string"
  38211. },
  38212. "buyorsell": {
  38213. "description": "买卖 - 0:买 1:卖",
  38214. "type": "integer"
  38215. },
  38216. "enddate": {
  38217. "description": "结束交易日(yyyymmdd)",
  38218. "type": "string"
  38219. },
  38220. "goodscode": {
  38221. "description": "商品代码",
  38222. "type": "string"
  38223. },
  38224. "goodsid": {
  38225. "description": "商品ID",
  38226. "type": "integer"
  38227. },
  38228. "goodsname": {
  38229. "description": "商品名称",
  38230. "type": "string"
  38231. },
  38232. "marketid": {
  38233. "description": "市场ID",
  38234. "type": "integer"
  38235. },
  38236. "qty": {
  38237. "description": "期初均价",
  38238. "type": "number"
  38239. },
  38240. "tradeid": {
  38241. "description": "成交单号(关联持仓)",
  38242. "type": "string"
  38243. },
  38244. "transferamount": {
  38245. "description": "转让总金额(金额)",
  38246. "type": "number"
  38247. },
  38248. "transferprice": {
  38249. "description": "转让价格(协议价格)",
  38250. "type": "number"
  38251. }
  38252. }
  38253. },
  38254. "models.TradeHolderDetail": {
  38255. "type": "object",
  38256. "properties": {
  38257. "accountid": {
  38258. "description": "账号ID",
  38259. "type": "integer"
  38260. },
  38261. "agreeunit": {
  38262. "description": "合约乘数",
  38263. "type": "number"
  38264. },
  38265. "buyorsell": {
  38266. "description": "方向 - 0:买 1:卖",
  38267. "type": "integer"
  38268. },
  38269. "currencyid": {
  38270. "description": "商品币种id",
  38271. "type": "integer"
  38272. },
  38273. "currencyname": {
  38274. "description": "币种名称",
  38275. "type": "string"
  38276. },
  38277. "decimalplace": {
  38278. "description": "商品价格小数位",
  38279. "type": "integer"
  38280. },
  38281. "enumdicname": {
  38282. "description": "商品单位名称",
  38283. "type": "string"
  38284. },
  38285. "expirecycle": {
  38286. "description": "行权周期(天) - 1:滚动行权时填写",
  38287. "type": "integer"
  38288. },
  38289. "expiredate": {
  38290. "description": "行权日(yyyyMMdd) - 到期日",
  38291. "type": "string"
  38292. },
  38293. "expiretype": {
  38294. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  38295. "type": "integer"
  38296. },
  38297. "freezeqty": {
  38298. "description": "期初均价",
  38299. "type": "number"
  38300. },
  38301. "goodscode": {
  38302. "description": "商品代码",
  38303. "type": "string"
  38304. },
  38305. "goodsid": {
  38306. "description": "商品ID",
  38307. "type": "integer"
  38308. },
  38309. "goodsname": {
  38310. "description": "商品名称",
  38311. "type": "string"
  38312. },
  38313. "goodunitid": {
  38314. "description": "商品单位id",
  38315. "type": "integer"
  38316. },
  38317. "holderamount": {
  38318. "description": "持仓金额",
  38319. "type": "number"
  38320. },
  38321. "holdercredit": {
  38322. "description": "持仓授信金额",
  38323. "type": "number"
  38324. },
  38325. "holderdays": {
  38326. "description": "剩余冻结天数",
  38327. "type": "integer"
  38328. },
  38329. "holderprice": {
  38330. "description": "持仓价格",
  38331. "type": "number"
  38332. },
  38333. "holderqty": {
  38334. "description": "期初均价",
  38335. "type": "number"
  38336. },
  38337. "isconfirmexercise": {
  38338. "description": "是否确认行权- 0:否 1:是",
  38339. "type": "integer"
  38340. },
  38341. "ispreexercise": {
  38342. "description": "是否预申报- 0:否 1:是 2:不可行权",
  38343. "type": "integer"
  38344. },
  38345. "marketid": {
  38346. "description": "市场id",
  38347. "type": "integer"
  38348. },
  38349. "marketname": {
  38350. "description": "市场名称",
  38351. "type": "string"
  38352. },
  38353. "openprice": {
  38354. "description": "建仓价格",
  38355. "type": "number"
  38356. },
  38357. "openqty": {
  38358. "description": "期初均价",
  38359. "type": "number"
  38360. },
  38361. "optiontype": {
  38362. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38363. "type": "integer"
  38364. },
  38365. "preexerciseprice": {
  38366. "description": "预申报价格",
  38367. "type": "number"
  38368. },
  38369. "premium": {
  38370. "description": "权利金",
  38371. "type": "number"
  38372. },
  38373. "qtydecimalplace": {
  38374. "description": "商品成交量小数位",
  38375. "type": "integer"
  38376. },
  38377. "refgoodscode": {
  38378. "description": "标的合约代码",
  38379. "type": "string"
  38380. },
  38381. "refgoodsid": {
  38382. "description": "标的合约id",
  38383. "type": "integer"
  38384. },
  38385. "releaseamount": {
  38386. "description": "释放持仓金额",
  38387. "type": "number"
  38388. },
  38389. "releaseholdercredit": {
  38390. "description": "释放持仓授信金额",
  38391. "type": "number"
  38392. },
  38393. "taname": {
  38394. "description": "资金账号名称",
  38395. "type": "string"
  38396. },
  38397. "tradeamount": {
  38398. "description": "成交金额",
  38399. "type": "number"
  38400. },
  38401. "tradedate": {
  38402. "description": "交易日(yyyyMMdd)",
  38403. "type": "string"
  38404. },
  38405. "tradeid": {
  38406. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38407. "type": "string"
  38408. },
  38409. "trademode": {
  38410. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  38411. "type": "integer"
  38412. },
  38413. "tradeproperty": {
  38414. "description": "交易属性",
  38415. "type": "integer"
  38416. },
  38417. "tradetime": {
  38418. "description": "交易时间",
  38419. "type": "string"
  38420. },
  38421. "userid": {
  38422. "description": "用户id",
  38423. "type": "integer"
  38424. },
  38425. "username": {
  38426. "description": "用户名称",
  38427. "type": "string"
  38428. }
  38429. }
  38430. },
  38431. "models.Unlinkermcphedgeplan": {
  38432. "type": "object",
  38433. "required": [
  38434. "areauserid"
  38435. ],
  38436. "properties": {
  38437. "accountid": {
  38438. "description": "期货账户ID - 作废",
  38439. "type": "integer"
  38440. },
  38441. "accountname": {
  38442. "description": "交易用户",
  38443. "type": "string"
  38444. },
  38445. "applyid": {
  38446. "description": "申请人",
  38447. "type": "integer"
  38448. },
  38449. "applysrc": {
  38450. "description": "申请来源 - 1:管理端 2:终端",
  38451. "type": "integer"
  38452. },
  38453. "applytime": {
  38454. "description": "申请时间",
  38455. "type": "string"
  38456. },
  38457. "areauserid": {
  38458. "description": "[企业ID]机构ID",
  38459. "type": "integer"
  38460. },
  38461. "auditid": {
  38462. "description": "审核人",
  38463. "type": "integer"
  38464. },
  38465. "auditremark": {
  38466. "description": "审核备注",
  38467. "type": "string"
  38468. },
  38469. "auditsrc": {
  38470. "description": "审核来源 - 1:管理端 2:终端",
  38471. "type": "integer"
  38472. },
  38473. "audittime": {
  38474. "description": "审核时间",
  38475. "type": "string"
  38476. },
  38477. "audittradedate": {
  38478. "description": "审核交易日(yyyyMMdd)",
  38479. "type": "string"
  38480. },
  38481. "biztype": {
  38482. "description": "业务类型 - 1:套保",
  38483. "type": "integer"
  38484. },
  38485. "contracttype": {
  38486. "description": "计划类型 - 1:采购 -1:销售",
  38487. "type": "integer"
  38488. },
  38489. "convertfactor": {
  38490. "description": "标仓系数 - 作废",
  38491. "type": "number"
  38492. },
  38493. "createtime": {
  38494. "description": "创建时间",
  38495. "type": "string"
  38496. },
  38497. "currencyid": {
  38498. "description": "结算币种ID - 作废",
  38499. "type": "integer"
  38500. },
  38501. "deliverygoodsid": {
  38502. "description": "现货品种ID",
  38503. "type": "integer"
  38504. },
  38505. "enumdicname": {
  38506. "description": "结算币种",
  38507. "type": "string"
  38508. },
  38509. "hedgeplanid": {
  38510. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  38511. "type": "string"
  38512. },
  38513. "hedgeplanno": {
  38514. "description": "[计划编号]套保计划编号,模糊查询",
  38515. "type": "string"
  38516. },
  38517. "hedgeplanstatus": {
  38518. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  38519. "type": "integer"
  38520. },
  38521. "isrelated": {
  38522. "description": "是否已关联计划项目 - 0:否 1:是",
  38523. "type": "integer"
  38524. },
  38525. "planqty": {
  38526. "description": "[计划量]计划数量",
  38527. "type": "number"
  38528. },
  38529. "plantime": {
  38530. "description": "计划时间",
  38531. "type": "string"
  38532. },
  38533. "producttype": {
  38534. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  38535. "type": "integer"
  38536. },
  38537. "remark": {
  38538. "description": "备注",
  38539. "type": "string"
  38540. },
  38541. "spotgoodsdesc": {
  38542. "description": "商品型号",
  38543. "type": "string"
  38544. },
  38545. "tradedate": {
  38546. "description": "交易日(yyyyMMdd)",
  38547. "type": "string"
  38548. },
  38549. "tradeuserid": {
  38550. "description": "交易用户ID",
  38551. "type": "integer"
  38552. },
  38553. "updatetime": {
  38554. "description": "更新时间",
  38555. "type": "string"
  38556. },
  38557. "wrstandardid": {
  38558. "description": "现货商品ID",
  38559. "type": "integer"
  38560. },
  38561. "wrstandardname": {
  38562. "description": "现货商品,模糊查询",
  38563. "type": "string"
  38564. }
  38565. }
  38566. },
  38567. "models.UserCollectConfig": {
  38568. "type": "object",
  38569. "properties": {
  38570. "accountstatus": {
  38571. "description": "账户状态 - 1:正常 2:停用 3:注销",
  38572. "type": "integer"
  38573. },
  38574. "collectaccountname": {
  38575. "description": "收款人账户名称",
  38576. "type": "string"
  38577. },
  38578. "collectaccountno": {
  38579. "description": "收款人账户",
  38580. "type": "string"
  38581. },
  38582. "collectbankname": {
  38583. "description": "收款人开户行",
  38584. "type": "string"
  38585. },
  38586. "collectbranchbankname": {
  38587. "description": "收款人开户支行",
  38588. "type": "string"
  38589. },
  38590. "collectconfigid": {
  38591. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  38592. "type": "string"
  38593. },
  38594. "remark": {
  38595. "description": "备注",
  38596. "type": "string"
  38597. },
  38598. "userid": {
  38599. "description": "收款人用户ID",
  38600. "type": "integer"
  38601. }
  38602. }
  38603. },
  38604. "models.UserReceiveInfo": {
  38605. "type": "object",
  38606. "properties": {
  38607. "address": {
  38608. "description": "提货人详细地址",
  38609. "type": "string"
  38610. },
  38611. "autoid": {
  38612. "description": "AutoID",
  38613. "type": "integer"
  38614. },
  38615. "cardnum": {
  38616. "description": "证件号码(加密存储)",
  38617. "type": "string"
  38618. },
  38619. "cardtypeid": {
  38620. "description": "证件类型",
  38621. "type": "integer"
  38622. },
  38623. "cityid": {
  38624. "description": "市",
  38625. "type": "integer"
  38626. },
  38627. "cityname": {
  38628. "description": "城市名称",
  38629. "type": "string"
  38630. },
  38631. "countryid": {
  38632. "description": "国家",
  38633. "type": "integer"
  38634. },
  38635. "countryname": {
  38636. "description": "国家名称",
  38637. "type": "string"
  38638. },
  38639. "districtid": {
  38640. "description": "地区",
  38641. "type": "integer"
  38642. },
  38643. "districtname": {
  38644. "description": "地区名称",
  38645. "type": "string"
  38646. },
  38647. "hasencrypt": {
  38648. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38649. "type": "integer"
  38650. },
  38651. "isdefault": {
  38652. "description": "是否默认地址 - 0:否 1:是",
  38653. "type": "integer"
  38654. },
  38655. "phonenum": {
  38656. "description": "提货人联系方式(加密存储)",
  38657. "type": "string"
  38658. },
  38659. "provinceid": {
  38660. "description": "省",
  38661. "type": "integer"
  38662. },
  38663. "provincename": {
  38664. "description": "省名称",
  38665. "type": "string"
  38666. },
  38667. "receivername": {
  38668. "description": "提货人姓名",
  38669. "type": "string"
  38670. },
  38671. "takeremark": {
  38672. "description": "提货备注",
  38673. "type": "string"
  38674. },
  38675. "userid": {
  38676. "description": "用户ID",
  38677. "type": "integer"
  38678. }
  38679. }
  38680. },
  38681. "models.Useraccount": {
  38682. "type": "object",
  38683. "required": [
  38684. "userid"
  38685. ],
  38686. "properties": {
  38687. "accountname": {
  38688. "description": "账户名称(机构名称)",
  38689. "type": "string"
  38690. },
  38691. "accountstatus": {
  38692. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  38693. "type": "integer"
  38694. },
  38695. "applysrc": {
  38696. "description": "申请来源 - 1:管理端 2:终端",
  38697. "type": "integer"
  38698. },
  38699. "auditremark": {
  38700. "description": "审核备注",
  38701. "type": "string"
  38702. },
  38703. "auditsrc": {
  38704. "description": "审核来源 - 1:管理端 2:终端",
  38705. "type": "integer"
  38706. },
  38707. "audittime": {
  38708. "description": "审核时间",
  38709. "type": "string"
  38710. },
  38711. "audituserid": {
  38712. "description": "审核人",
  38713. "type": "integer"
  38714. },
  38715. "broker": {
  38716. "description": "所属经纪人ID",
  38717. "type": "integer"
  38718. },
  38719. "canceltime": {
  38720. "description": "销户时间",
  38721. "type": "string"
  38722. },
  38723. "canceluserid": {
  38724. "description": "销户人",
  38725. "type": "integer"
  38726. },
  38727. "canrecommend": {
  38728. "description": "是否可推荐 - 0:不可 1;可",
  38729. "type": "integer"
  38730. },
  38731. "createtime": {
  38732. "description": "创建时间",
  38733. "type": "string"
  38734. },
  38735. "creatorid": {
  38736. "description": "创建人",
  38737. "type": "integer"
  38738. },
  38739. "hasauth": {
  38740. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  38741. "type": "integer"
  38742. },
  38743. "isanonymous": {
  38744. "description": "是否匿名下单 - 0:否 1:是",
  38745. "type": "integer"
  38746. },
  38747. "maxinvestornum": {
  38748. "description": "最大用户数(经纪会员下投资者个数)",
  38749. "type": "integer"
  38750. },
  38751. "memberuserid": {
  38752. "description": "所属会员ID",
  38753. "type": "integer"
  38754. },
  38755. "modifierid": {
  38756. "description": "修改人",
  38757. "type": "integer"
  38758. },
  38759. "modifyremark": {
  38760. "description": "变更备注",
  38761. "type": "string"
  38762. },
  38763. "modifystatus": {
  38764. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  38765. "type": "integer"
  38766. },
  38767. "modifytime": {
  38768. "description": "修改时间",
  38769. "type": "string"
  38770. },
  38771. "parenttopuser": {
  38772. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  38773. "type": "string"
  38774. },
  38775. "parentuserid": {
  38776. "description": "所属机构ID",
  38777. "type": "integer"
  38778. },
  38779. "reckonaccountid": {
  38780. "description": "默认结算资金账号ID(机构分润使用) 作废",
  38781. "type": "integer"
  38782. },
  38783. "refercount": {
  38784. "description": "推荐总人数",
  38785. "type": "integer"
  38786. },
  38787. "refereeuserid": {
  38788. "description": "推荐人ID",
  38789. "type": "integer"
  38790. },
  38791. "refernum": {
  38792. "description": "推荐码",
  38793. "type": "string"
  38794. },
  38795. "rootuserid": {
  38796. "description": "根用户ID",
  38797. "type": "integer"
  38798. },
  38799. "subaccountlevel": {
  38800. "description": "子账户层数",
  38801. "type": "integer"
  38802. },
  38803. "subarealevelpath": {
  38804. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  38805. "type": "string"
  38806. },
  38807. "userid": {
  38808. "description": "用户ID",
  38809. "type": "integer"
  38810. },
  38811. "usertype": {
  38812. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  38813. "type": "integer"
  38814. }
  38815. }
  38816. },
  38817. "models.Userfavoritegoods": {
  38818. "type": "object",
  38819. "required": [
  38820. "goodsid"
  38821. ],
  38822. "properties": {
  38823. "goodsid": {
  38824. "description": "商品ID",
  38825. "type": "integer"
  38826. }
  38827. }
  38828. },
  38829. "models.Userinfo": {
  38830. "type": "object",
  38831. "required": [
  38832. "userid"
  38833. ],
  38834. "properties": {
  38835. "address": {
  38836. "description": "地址",
  38837. "type": "string"
  38838. },
  38839. "attachment1": {
  38840. "description": "附件1",
  38841. "type": "string"
  38842. },
  38843. "attachment2": {
  38844. "description": "附件2",
  38845. "type": "string"
  38846. },
  38847. "bankaccount": {
  38848. "description": "银行帐号 (加密存储)",
  38849. "type": "string"
  38850. },
  38851. "bankaccountname": {
  38852. "description": "收款人名称",
  38853. "type": "string"
  38854. },
  38855. "bankcardfrontphotourl": {
  38856. "description": "银行卡正面照地址",
  38857. "type": "string"
  38858. },
  38859. "bankid": {
  38860. "description": "银行编码",
  38861. "type": "string"
  38862. },
  38863. "bankname": {
  38864. "description": "银行名称",
  38865. "type": "string"
  38866. },
  38867. "biznature": {
  38868. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  38869. "type": "integer"
  38870. },
  38871. "bizscope": {
  38872. "description": "企业经营范围(企业)",
  38873. "type": "string"
  38874. },
  38875. "cardbackphotourl": {
  38876. "description": "证件背面图片地址",
  38877. "type": "string"
  38878. },
  38879. "cardfrontphotourl": {
  38880. "description": "证件正面图片地址",
  38881. "type": "string"
  38882. },
  38883. "cardnum": {
  38884. "description": "证件号码(加密存储)",
  38885. "type": "string"
  38886. },
  38887. "cardtypeid": {
  38888. "description": "证件类型ID",
  38889. "type": "integer"
  38890. },
  38891. "cityid": {
  38892. "description": "市",
  38893. "type": "integer"
  38894. },
  38895. "company": {
  38896. "description": "公司(个人)",
  38897. "type": "string"
  38898. },
  38899. "contactname": {
  38900. "description": "联系人",
  38901. "type": "string"
  38902. },
  38903. "countryid": {
  38904. "description": "国家",
  38905. "type": "integer"
  38906. },
  38907. "createtime": {
  38908. "description": "创建时间",
  38909. "type": "string"
  38910. },
  38911. "creatorid": {
  38912. "description": "创建人",
  38913. "type": "integer"
  38914. },
  38915. "customername": {
  38916. "description": "客户名称(企业名称)",
  38917. "type": "string"
  38918. },
  38919. "districtid": {
  38920. "description": "地区",
  38921. "type": "integer"
  38922. },
  38923. "email": {
  38924. "description": "邮件(加密存储)",
  38925. "type": "string"
  38926. },
  38927. "fax": {
  38928. "description": "传真(加密存储)",
  38929. "type": "string"
  38930. },
  38931. "halfbodyphotourl": {
  38932. "description": "半身照地址",
  38933. "type": "string"
  38934. },
  38935. "hasencrypt": {
  38936. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38937. "type": "integer"
  38938. },
  38939. "headurl": {
  38940. "description": "头像地址",
  38941. "type": "string"
  38942. },
  38943. "legalcardbackphotourl": {
  38944. "description": "法人身份证背面照地址",
  38945. "type": "string"
  38946. },
  38947. "legalcardfrontphotourl": {
  38948. "description": "法人身份证正面照地址",
  38949. "type": "string"
  38950. },
  38951. "legalpersonname": {
  38952. "description": "法人姓名(企业)",
  38953. "type": "string"
  38954. },
  38955. "mobile": {
  38956. "description": "手机号码(加密存储)",
  38957. "type": "string"
  38958. },
  38959. "mobile2": {
  38960. "description": "手机号码[明文-尚志]",
  38961. "type": "string"
  38962. },
  38963. "modifierid": {
  38964. "description": "修改人",
  38965. "type": "integer"
  38966. },
  38967. "modifiertime": {
  38968. "description": "修改时间",
  38969. "type": "string"
  38970. },
  38971. "needinvoice": {
  38972. "description": "是否需要发票 - 0:不需要 1:需要",
  38973. "type": "integer"
  38974. },
  38975. "nickname": {
  38976. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38977. "type": "string"
  38978. },
  38979. "openmode": {
  38980. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  38981. "type": "integer"
  38982. },
  38983. "otherurl": {
  38984. "description": "其它图片地址[使用分号分隔]",
  38985. "type": "string"
  38986. },
  38987. "postalcode": {
  38988. "description": "邮政编码",
  38989. "type": "string"
  38990. },
  38991. "provinceid": {
  38992. "description": "省",
  38993. "type": "integer"
  38994. },
  38995. "qq": {
  38996. "description": "QQ(加密存储",
  38997. "type": "string"
  38998. },
  38999. "remark": {
  39000. "description": "备注",
  39001. "type": "string"
  39002. },
  39003. "sex": {
  39004. "description": "用户性别 0: 女 1: 男",
  39005. "type": "integer"
  39006. },
  39007. "signpdfurl": {
  39008. "description": "签约pdf文件",
  39009. "type": "string"
  39010. },
  39011. "telphone": {
  39012. "description": "联系电话(加密存储)",
  39013. "type": "string"
  39014. },
  39015. "userid": {
  39016. "description": "用户ID",
  39017. "type": "integer"
  39018. },
  39019. "userinfotype": {
  39020. "description": "用户信息类型 - 1:个人 2:企业",
  39021. "type": "integer"
  39022. },
  39023. "userstatus": {
  39024. "description": "用户状态 - 1:正常 2:注销",
  39025. "type": "integer"
  39026. },
  39027. "usertype": {
  39028. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  39029. "type": "integer"
  39030. },
  39031. "wechat": {
  39032. "description": "微信(加密存储)",
  39033. "type": "string"
  39034. },
  39035. "wskhinfo": {
  39036. "description": "开户申请信息(JSON)",
  39037. "type": "string"
  39038. }
  39039. }
  39040. },
  39041. "models.WRSConverTDetail": {
  39042. "type": "object",
  39043. "properties": {
  39044. "convertratio": {
  39045. "description": "套保系数",
  39046. "type": "number"
  39047. },
  39048. "deliverygoodscode": {
  39049. "description": "现货商品代码",
  39050. "type": "string"
  39051. },
  39052. "deliverygoodsid": {
  39053. "description": "现货品种ID",
  39054. "type": "integer"
  39055. },
  39056. "deliverygoodsname": {
  39057. "description": "现货商品名称",
  39058. "type": "string"
  39059. },
  39060. "enumdicname": {
  39061. "description": "单位名称",
  39062. "type": "string"
  39063. },
  39064. "goodsunitid": {
  39065. "description": "套保品种单位id",
  39066. "type": "integer"
  39067. },
  39068. "middlegoodscode": {
  39069. "description": "套保品种代码",
  39070. "type": "string"
  39071. },
  39072. "middlegoodsid": {
  39073. "description": "套保品种ID",
  39074. "type": "integer"
  39075. },
  39076. "middlegoodsname": {
  39077. "description": "套保品种名称",
  39078. "type": "string"
  39079. },
  39080. "modifytime": {
  39081. "description": "修改时间",
  39082. "type": "string"
  39083. },
  39084. "wrstandardid": {
  39085. "description": "品类ID",
  39086. "type": "integer"
  39087. }
  39088. }
  39089. },
  39090. "models.WRStandardInfo": {
  39091. "type": "object",
  39092. "required": [
  39093. "wrstandardid"
  39094. ],
  39095. "properties": {
  39096. "areauserid": {
  39097. "description": "所属机构",
  39098. "type": "integer"
  39099. },
  39100. "convertfactor": {
  39101. "description": "标仓系数",
  39102. "type": "number"
  39103. },
  39104. "createtime": {
  39105. "description": "创建时间",
  39106. "type": "string"
  39107. },
  39108. "creatorid": {
  39109. "description": "创建人",
  39110. "type": "integer"
  39111. },
  39112. "deliverygoodsid": {
  39113. "description": "品种ID",
  39114. "type": "integer"
  39115. },
  39116. "deliverygoodsname": {
  39117. "description": "交割商品名称",
  39118. "type": "string"
  39119. },
  39120. "factoryitemjson": {
  39121. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  39122. "type": "string"
  39123. },
  39124. "isvalid": {
  39125. "description": "是否有效 - 0:无效 1:有效",
  39126. "type": "integer"
  39127. },
  39128. "minivalue": {
  39129. "description": "最小变动值",
  39130. "type": "integer"
  39131. },
  39132. "minivaluedp": {
  39133. "description": "最小变动值小数位",
  39134. "type": "integer"
  39135. },
  39136. "realminivalue": {
  39137. "description": "实际最小变动值",
  39138. "type": "integer"
  39139. },
  39140. "realminivaluedp": {
  39141. "description": "实际最小变动值小数位",
  39142. "type": "integer"
  39143. },
  39144. "remark": {
  39145. "description": "备注",
  39146. "type": "string"
  39147. },
  39148. "unitid": {
  39149. "description": "单位ID",
  39150. "type": "integer"
  39151. },
  39152. "unitname": {
  39153. "description": "单位",
  39154. "type": "string"
  39155. },
  39156. "updatetime": {
  39157. "description": "更新时间",
  39158. "type": "string"
  39159. },
  39160. "updatorid": {
  39161. "description": "更新人",
  39162. "type": "integer"
  39163. },
  39164. "wrsstatus": {
  39165. "description": "状态 - 作废 - 0:未激活 1:正常",
  39166. "type": "integer"
  39167. },
  39168. "wrstandardcode": {
  39169. "description": "现货品类代码",
  39170. "type": "string"
  39171. },
  39172. "wrstandardid": {
  39173. "description": "现货品类ID(SEQ_WRSTANDARD)",
  39174. "type": "integer"
  39175. },
  39176. "wrstandardname": {
  39177. "description": "现货品类名称",
  39178. "type": "string"
  39179. }
  39180. }
  39181. },
  39182. "models.WRTradeBargainApply": {
  39183. "type": "object",
  39184. "properties": {
  39185. "accountid": {
  39186. "description": "摘牌资金账号",
  39187. "type": "integer"
  39188. },
  39189. "applyprice": {
  39190. "description": "申请价格(议价价格)",
  39191. "type": "string"
  39192. },
  39193. "applyqty": {
  39194. "description": "摘牌数量(议价数量)",
  39195. "type": "number"
  39196. },
  39197. "applyremark": {
  39198. "description": "申请备注",
  39199. "type": "string"
  39200. },
  39201. "applystatus": {
  39202. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  39203. "type": "integer"
  39204. },
  39205. "applytime": {
  39206. "description": "申请时间(议价时间)",
  39207. "type": "string"
  39208. },
  39209. "begindate": {
  39210. "description": "开始交易日(yyyymmdd)",
  39211. "type": "string"
  39212. },
  39213. "buyorsell": {
  39214. "description": "买卖(挂牌类型) - 0:买 1:卖",
  39215. "type": "integer"
  39216. },
  39217. "confirmremark": {
  39218. "description": "确认备注",
  39219. "type": "string"
  39220. },
  39221. "confirmtime": {
  39222. "description": "确认时间",
  39223. "type": "string"
  39224. },
  39225. "confirmuserid": {
  39226. "description": "确认人",
  39227. "type": "integer"
  39228. },
  39229. "deliverygoodscode": {
  39230. "description": "品种代码",
  39231. "type": "string"
  39232. },
  39233. "deliverygoodsid": {
  39234. "description": "品种ID",
  39235. "type": "integer"
  39236. },
  39237. "deliverygoodsname": {
  39238. "description": "品种名称",
  39239. "type": "string"
  39240. },
  39241. "deliverymonth": {
  39242. "description": "交收月",
  39243. "type": "string"
  39244. },
  39245. "enddate": {
  39246. "description": "结束交易日(yyyymmdd)",
  39247. "type": "string"
  39248. },
  39249. "enumdicname": {
  39250. "description": "单位名称",
  39251. "type": "string"
  39252. },
  39253. "fixedprice": {
  39254. "description": "期初均价",
  39255. "type": "number"
  39256. },
  39257. "handlestatus": {
  39258. "description": "处理状态",
  39259. "type": "integer"
  39260. },
  39261. "marginvalue": {
  39262. "description": "期初均价",
  39263. "type": "number"
  39264. },
  39265. "marketid": {
  39266. "description": "市场ID",
  39267. "type": "integer"
  39268. },
  39269. "matchaccountid": {
  39270. "description": "挂牌方资金账号",
  39271. "type": "integer"
  39272. },
  39273. "matchuserid": {
  39274. "description": "挂牌方用户id",
  39275. "type": "integer"
  39276. },
  39277. "matchusername": {
  39278. "description": "挂牌方用户名称(已脱敏)",
  39279. "type": "string"
  39280. },
  39281. "minivalue": {
  39282. "description": "现货商品最小变动值",
  39283. "type": "integer"
  39284. },
  39285. "optioncompare": {
  39286. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39287. "type": "string"
  39288. },
  39289. "orderqty": {
  39290. "description": "挂牌数量",
  39291. "type": "integer"
  39292. },
  39293. "refprice": {
  39294. "description": "参考价格",
  39295. "type": "string"
  39296. },
  39297. "retcode": {
  39298. "description": "委托返回代码",
  39299. "type": "integer"
  39300. },
  39301. "templatename": {
  39302. "description": "履约方式(履约模板名称)",
  39303. "type": "string"
  39304. },
  39305. "tradedate": {
  39306. "description": "交易日(yyyyMMdd)",
  39307. "type": "string"
  39308. },
  39309. "userid": {
  39310. "description": "摘牌人用户ID(议价人ID)",
  39311. "type": "integer"
  39312. },
  39313. "username": {
  39314. "description": "议价人名字(已脱敏)",
  39315. "type": "string"
  39316. },
  39317. "validtime": {
  39318. "description": "有效期限",
  39319. "type": "string"
  39320. },
  39321. "warehouseid": {
  39322. "description": "仓库ID",
  39323. "type": "integer"
  39324. },
  39325. "warehousename": {
  39326. "description": "仓库名称",
  39327. "type": "string"
  39328. },
  39329. "wrbargainid": {
  39330. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  39331. "type": "string"
  39332. },
  39333. "wrfactortypeid": {
  39334. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39335. "type": "string"
  39336. },
  39337. "wrfactortypename": {
  39338. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39339. "type": "string"
  39340. },
  39341. "wrstandardcode": {
  39342. "description": "现货商品代码",
  39343. "type": "string"
  39344. },
  39345. "wrstandardid": {
  39346. "description": "现货商品ID",
  39347. "type": "integer"
  39348. },
  39349. "wrstandardname": {
  39350. "description": "商品名称",
  39351. "type": "string"
  39352. },
  39353. "wrtradeorderid": {
  39354. "description": "关联委托单ID",
  39355. "type": "string"
  39356. },
  39357. "wrtypename": {
  39358. "description": "商品",
  39359. "type": "string"
  39360. }
  39361. }
  39362. },
  39363. "models.Warehouseinfo": {
  39364. "type": "object",
  39365. "required": [
  39366. "autoid",
  39367. "warehousecode"
  39368. ],
  39369. "properties": {
  39370. "address": {
  39371. "description": "详细地址",
  39372. "type": "string"
  39373. },
  39374. "areauserid": {
  39375. "description": "所属机构",
  39376. "type": "integer"
  39377. },
  39378. "autoid": {
  39379. "description": "自增ID",
  39380. "type": "integer"
  39381. },
  39382. "cityid": {
  39383. "description": "市",
  39384. "type": "integer"
  39385. },
  39386. "contactname": {
  39387. "description": "联系人",
  39388. "type": "string"
  39389. },
  39390. "contactnum": {
  39391. "description": "联系电话",
  39392. "type": "string"
  39393. },
  39394. "countryid": {
  39395. "description": "国家",
  39396. "type": "integer"
  39397. },
  39398. "createtime": {
  39399. "description": "创建时间",
  39400. "type": "string"
  39401. },
  39402. "districtid": {
  39403. "description": "区",
  39404. "type": "integer"
  39405. },
  39406. "hasvideo": {
  39407. "description": "是否有视频 - 0:无 1:有",
  39408. "type": "integer"
  39409. },
  39410. "provinceid": {
  39411. "description": "省",
  39412. "type": "integer"
  39413. },
  39414. "remark": {
  39415. "description": "审核备注",
  39416. "type": "string"
  39417. },
  39418. "videourl": {
  39419. "description": "视频地址",
  39420. "type": "string"
  39421. },
  39422. "warehousecode": {
  39423. "description": "仓库代码",
  39424. "type": "string"
  39425. },
  39426. "warehousename": {
  39427. "description": "仓库名称",
  39428. "type": "string"
  39429. },
  39430. "warehousestatus": {
  39431. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  39432. "type": "integer"
  39433. },
  39434. "warehousetype": {
  39435. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  39436. "type": "integer"
  39437. }
  39438. }
  39439. },
  39440. "models.WrAverageTradePrice": {
  39441. "type": "object",
  39442. "properties": {
  39443. "averageprice": {
  39444. "description": "期初均价",
  39445. "type": "number"
  39446. },
  39447. "tradedate": {
  39448. "description": "交易日yyyymm",
  39449. "type": "string"
  39450. }
  39451. }
  39452. },
  39453. "models.WrBrandAndYears": {
  39454. "type": "object",
  39455. "properties": {
  39456. "brandlst": {
  39457. "description": "品牌列表",
  39458. "type": "array",
  39459. "items": {
  39460. "$ref": "#/definitions/models.DgFactoryItem"
  39461. }
  39462. },
  39463. "yearslst": {
  39464. "description": "年份列表",
  39465. "type": "array",
  39466. "items": {
  39467. "$ref": "#/definitions/models.DgFactoryItem"
  39468. }
  39469. }
  39470. }
  39471. },
  39472. "models.WrBsGoodsInfo": {
  39473. "type": "object",
  39474. "properties": {
  39475. "buyorsell": {
  39476. "description": "买卖方向 0-买 1-卖",
  39477. "type": "integer"
  39478. },
  39479. "goodsid": {
  39480. "description": "交易合约ID",
  39481. "type": "integer"
  39482. },
  39483. "lstitem": {
  39484. "description": "商品信息项",
  39485. "type": "array",
  39486. "items": {
  39487. "$ref": "#/definitions/models.WrTypeItem"
  39488. }
  39489. },
  39490. "lststep": {
  39491. "description": "履约规则",
  39492. "type": "array",
  39493. "items": {
  39494. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39495. }
  39496. }
  39497. }
  39498. },
  39499. "models.WrBuybackDetail": {
  39500. "type": "object",
  39501. "properties": {
  39502. "buybackamount": {
  39503. "description": "回购金额",
  39504. "type": "number"
  39505. },
  39506. "buybackqty": {
  39507. "description": "回购数量",
  39508. "type": "number"
  39509. },
  39510. "buybackreleasemargin": {
  39511. "description": "回购释放保证金",
  39512. "type": "number"
  39513. },
  39514. "buybacktime": {
  39515. "description": "回购时间",
  39516. "type": "string"
  39517. },
  39518. "errordesc": {
  39519. "description": "错误描述",
  39520. "type": "string"
  39521. },
  39522. "handlestatus": {
  39523. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  39524. "type": "integer"
  39525. },
  39526. "relatedwrid": {
  39527. "description": "关联仓单ID",
  39528. "type": "integer"
  39529. },
  39530. "scfcontractid": {
  39531. "description": "SCF合同ID",
  39532. "type": "string"
  39533. },
  39534. "scfwrbuybackid": {
  39535. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  39536. "type": "integer"
  39537. },
  39538. "tradedate": {
  39539. "description": "交易日(yyyyMMdd)",
  39540. "type": "string"
  39541. }
  39542. }
  39543. },
  39544. "models.WrClientAdSpaceConfig": {
  39545. "type": "object",
  39546. "properties": {
  39547. "adspaceid": {
  39548. "description": "广告位ID",
  39549. "type": "integer"
  39550. },
  39551. "adspacename": {
  39552. "description": "广告位名称",
  39553. "type": "string"
  39554. },
  39555. "adspacetype": {
  39556. "description": "广告位类型 - 1:固定广告位",
  39557. "type": "integer"
  39558. },
  39559. "areauserid": {
  39560. "description": "所属机构ID",
  39561. "type": "integer"
  39562. },
  39563. "createdate": {
  39564. "description": "创建时间",
  39565. "type": "string"
  39566. },
  39567. "imagepath": {
  39568. "description": "图片",
  39569. "type": "string"
  39570. },
  39571. "modifierid": {
  39572. "description": "操作人",
  39573. "type": "integer"
  39574. },
  39575. "recsize": {
  39576. "description": "推荐尺寸",
  39577. "type": "string"
  39578. },
  39579. "title": {
  39580. "description": "标题",
  39581. "type": "string"
  39582. },
  39583. "updatedate": {
  39584. "description": "更新时间",
  39585. "type": "string"
  39586. },
  39587. "urlcontent": {
  39588. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  39589. "type": "string"
  39590. },
  39591. "urltype": {
  39592. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  39593. "type": "integer"
  39594. }
  39595. }
  39596. },
  39597. "models.WrDeliveryAvalidHoldLB": {
  39598. "type": "object",
  39599. "properties": {
  39600. "accountid": {
  39601. "description": "资金账号",
  39602. "type": "integer"
  39603. },
  39604. "avalidqty": {
  39605. "description": "数量(可点选数量)",
  39606. "type": "number"
  39607. },
  39608. "deliverygoodsid": {
  39609. "description": "品种id",
  39610. "type": "integer"
  39611. },
  39612. "enumdicname": {
  39613. "description": "单位名称",
  39614. "type": "string"
  39615. },
  39616. "goodsid": {
  39617. "description": "x合约商品id",
  39618. "type": "integer"
  39619. },
  39620. "ladingbillid": {
  39621. "description": "提单id",
  39622. "type": "string"
  39623. },
  39624. "pgoodscode": {
  39625. "description": "p商品代码(点价合约)",
  39626. "type": "string"
  39627. },
  39628. "pgoodsid": {
  39629. "description": "p商品id(点价合约)",
  39630. "type": "integer"
  39631. },
  39632. "pgoodsname": {
  39633. "description": "p商品名称(点价合约)",
  39634. "type": "string"
  39635. },
  39636. "pricemove": {
  39637. "description": "升贴水",
  39638. "type": "number"
  39639. },
  39640. "subnum": {
  39641. "description": "提单子id",
  39642. "type": "integer"
  39643. },
  39644. "userid": {
  39645. "description": "用户id",
  39646. "type": "integer"
  39647. },
  39648. "username": {
  39649. "description": "仓单持有人",
  39650. "type": "string"
  39651. },
  39652. "warehousecode": {
  39653. "description": "仓库代码",
  39654. "type": "string"
  39655. },
  39656. "warehouseid": {
  39657. "description": "仓库id",
  39658. "type": "integer"
  39659. },
  39660. "warehousename": {
  39661. "description": "仓库名称",
  39662. "type": "string"
  39663. },
  39664. "wrfactortypeid": {
  39665. "description": "仓单要素id",
  39666. "type": "string"
  39667. },
  39668. "wrstandardcode": {
  39669. "description": "品代码",
  39670. "type": "string"
  39671. },
  39672. "wrstandardid": {
  39673. "description": "品类d",
  39674. "type": "integer"
  39675. },
  39676. "wrstandardname": {
  39677. "description": "品类名称",
  39678. "type": "string"
  39679. },
  39680. "wrtypename": {
  39681. "description": "商品",
  39682. "type": "string"
  39683. },
  39684. "xgoodscode": {
  39685. "description": "x合约代码",
  39686. "type": "string"
  39687. },
  39688. "xgoodsname": {
  39689. "description": "x合约名称",
  39690. "type": "string"
  39691. }
  39692. }
  39693. },
  39694. "models.WrDeliveryDetail": {
  39695. "type": "object",
  39696. "properties": {
  39697. "accountid": {
  39698. "description": "账号ID",
  39699. "type": "integer"
  39700. },
  39701. "averageprice": {
  39702. "description": "期初均价",
  39703. "type": "number"
  39704. },
  39705. "begindate": {
  39706. "description": "开始交易日(yyyymmdd)",
  39707. "type": "string"
  39708. },
  39709. "buyorsell": {
  39710. "description": "方向 - 0:买 1:卖",
  39711. "type": "integer"
  39712. },
  39713. "deliveryamount": {
  39714. "description": "货款金额(X总货款+P总货款)",
  39715. "type": "number"
  39716. },
  39717. "deliveryid": {
  39718. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  39719. "type": "string"
  39720. },
  39721. "deliveryorderid": {
  39722. "description": "申报单号",
  39723. "type": "string"
  39724. },
  39725. "deliverypricemove": {
  39726. "description": "升贴水(升贴水总额)",
  39727. "type": "number"
  39728. },
  39729. "deliveryqty": {
  39730. "description": "交收数量(点选数量)",
  39731. "type": "number"
  39732. },
  39733. "deliverystatus": {
  39734. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  39735. "type": "integer"
  39736. },
  39737. "deliverytime": {
  39738. "description": "交割时间",
  39739. "type": "string"
  39740. },
  39741. "deliverytotalamount": {
  39742. "description": "交收金额",
  39743. "type": "number"
  39744. },
  39745. "enddate": {
  39746. "description": "结束交易日(yyyymmdd)",
  39747. "type": "string"
  39748. },
  39749. "enumdicname": {
  39750. "description": "单位名称",
  39751. "type": "string"
  39752. },
  39753. "matchaccountid": {
  39754. "description": "对手账号ID",
  39755. "type": "integer"
  39756. },
  39757. "matchusername": {
  39758. "description": "对手方名称(仓单持有人)",
  39759. "type": "string"
  39760. },
  39761. "p1goodsremainamount": {
  39762. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  39763. "type": "number"
  39764. },
  39765. "pdeliverycloseqty": {
  39766. "description": "p合约平仓数量",
  39767. "type": "number"
  39768. },
  39769. "pdeliveryprice": {
  39770. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  39771. "type": "number"
  39772. },
  39773. "pgoodscode": {
  39774. "description": "商品代码",
  39775. "type": "string"
  39776. },
  39777. "pgoodsid": {
  39778. "description": "p点选合约id",
  39779. "type": "integer"
  39780. },
  39781. "pgoodsname": {
  39782. "description": "商品名称",
  39783. "type": "string"
  39784. },
  39785. "ppricemode": {
  39786. "description": "点价价格方式 - 1:商品价 2:固定值",
  39787. "type": "integer"
  39788. },
  39789. "tradedate": {
  39790. "description": "交易日(yyyymmdd)",
  39791. "type": "string"
  39792. },
  39793. "userid": {
  39794. "description": "用户id",
  39795. "type": "integer"
  39796. },
  39797. "username": {
  39798. "description": "用户名称",
  39799. "type": "string"
  39800. },
  39801. "warehousename": {
  39802. "description": "仓库名称",
  39803. "type": "string"
  39804. },
  39805. "wrfactortypeid": {
  39806. "description": "仓单要素类型ID",
  39807. "type": "string"
  39808. },
  39809. "wrtypename": {
  39810. "description": "商品",
  39811. "type": "string"
  39812. },
  39813. "xdeliverycloseqty": {
  39814. "description": "合约数量",
  39815. "type": "number"
  39816. },
  39817. "xgoodsamount": {
  39818. "description": "期初均价",
  39819. "type": "number"
  39820. },
  39821. "xgoodscode": {
  39822. "description": "商品代码",
  39823. "type": "string"
  39824. },
  39825. "xgoodsid": {
  39826. "description": "x交易合约ID",
  39827. "type": "integer"
  39828. },
  39829. "xgoodsname": {
  39830. "description": "商品名称",
  39831. "type": "string"
  39832. }
  39833. }
  39834. },
  39835. "models.WrDeliveryGoodsSection": {
  39836. "type": "object",
  39837. "properties": {
  39838. "dglst": {
  39839. "description": "板块商品列表",
  39840. "type": "array",
  39841. "items": {
  39842. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  39843. }
  39844. },
  39845. "imagepath": {
  39846. "description": "图片地址",
  39847. "type": "string"
  39848. },
  39849. "orderindex": {
  39850. "description": "排序",
  39851. "type": "integer"
  39852. },
  39853. "sectionid": {
  39854. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  39855. "type": "integer"
  39856. },
  39857. "sectionname": {
  39858. "description": "版块名称",
  39859. "type": "string"
  39860. },
  39861. "sectiontype": {
  39862. "description": "版块类型 - 1:指数版块 2:普通版块",
  39863. "type": "integer"
  39864. }
  39865. }
  39866. },
  39867. "models.WrDeliveryGoodsSectionConfig": {
  39868. "type": "object",
  39869. "properties": {
  39870. "deliverygoodscode": {
  39871. "description": "现货商品代码",
  39872. "type": "string"
  39873. },
  39874. "deliverygoodsid": {
  39875. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  39876. "type": "integer"
  39877. },
  39878. "deliverygoodsname": {
  39879. "description": "现货商品名称",
  39880. "type": "string"
  39881. },
  39882. "orderindex": {
  39883. "description": "排序",
  39884. "type": "integer"
  39885. }
  39886. }
  39887. },
  39888. "models.WrDraftUserInfo": {
  39889. "type": "object",
  39890. "properties": {
  39891. "address": {
  39892. "description": "地址",
  39893. "type": "string"
  39894. },
  39895. "attachment1": {
  39896. "description": "附件1",
  39897. "type": "string"
  39898. },
  39899. "attachment2": {
  39900. "description": "附件2",
  39901. "type": "string"
  39902. },
  39903. "attachment3": {
  39904. "description": "附件3",
  39905. "type": "string"
  39906. },
  39907. "attachment4": {
  39908. "description": "附件4",
  39909. "type": "string"
  39910. },
  39911. "attachment5": {
  39912. "description": "附件5",
  39913. "type": "string"
  39914. },
  39915. "bankaccount": {
  39916. "description": "银行帐号 (加密存储)",
  39917. "type": "string"
  39918. },
  39919. "bankaccountname": {
  39920. "description": "收款人名称",
  39921. "type": "string"
  39922. },
  39923. "bankcardfrontphotourl": {
  39924. "description": "银行卡正面照地址",
  39925. "type": "string"
  39926. },
  39927. "bankid": {
  39928. "description": "银行编码",
  39929. "type": "string"
  39930. },
  39931. "bankname": {
  39932. "description": "银行名称",
  39933. "type": "string"
  39934. },
  39935. "birthday": {
  39936. "description": "生日(个人:年月日)",
  39937. "type": "string"
  39938. },
  39939. "biznature": {
  39940. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  39941. "type": "integer"
  39942. },
  39943. "bizscope": {
  39944. "description": "企业经营范围(企业)",
  39945. "type": "string"
  39946. },
  39947. "biztype": {
  39948. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  39949. "type": "integer"
  39950. },
  39951. "cardbackphotourl": {
  39952. "description": "证件背面图片地址",
  39953. "type": "string"
  39954. },
  39955. "cardfrontphotourl": {
  39956. "description": "证件正面图片地址",
  39957. "type": "string"
  39958. },
  39959. "cardnum": {
  39960. "description": "证件号码(加密存储)",
  39961. "type": "string"
  39962. },
  39963. "cardtypeid": {
  39964. "description": "证件类型ID",
  39965. "type": "integer"
  39966. },
  39967. "cityid": {
  39968. "description": "市",
  39969. "type": "integer"
  39970. },
  39971. "company": {
  39972. "description": "公司(个人)",
  39973. "type": "string"
  39974. },
  39975. "contactcardbackphotourl": {
  39976. "description": "联系人证件背面图片地址",
  39977. "type": "string"
  39978. },
  39979. "contactcardfrontphotourl": {
  39980. "description": "联系人证件正面图片地址",
  39981. "type": "string"
  39982. },
  39983. "contactname": {
  39984. "description": "联系人",
  39985. "type": "string"
  39986. },
  39987. "countryid": {
  39988. "description": "国家",
  39989. "type": "integer"
  39990. },
  39991. "createtime": {
  39992. "description": "创建时间",
  39993. "type": "string"
  39994. },
  39995. "creatorid": {
  39996. "description": "创建人",
  39997. "type": "integer"
  39998. },
  39999. "creditquota": {
  40000. "description": "授信额度(金瑞)",
  40001. "type": "number"
  40002. },
  40003. "customername": {
  40004. "description": "客户名称(企业名称)",
  40005. "type": "string"
  40006. },
  40007. "districtid": {
  40008. "description": "地区",
  40009. "type": "integer"
  40010. },
  40011. "email": {
  40012. "description": "邮件(加密存储)",
  40013. "type": "string"
  40014. },
  40015. "fax": {
  40016. "description": "传真(加密存储)",
  40017. "type": "string"
  40018. },
  40019. "halfbodyphotourl": {
  40020. "description": "半身照地址",
  40021. "type": "string"
  40022. },
  40023. "hasencrypt": {
  40024. "description": "数据是否已加密 - 0:未加密 1:已加密",
  40025. "type": "integer"
  40026. },
  40027. "headurl": {
  40028. "description": "头像地址",
  40029. "type": "string"
  40030. },
  40031. "legalcardbackphotourl": {
  40032. "description": "法人身份证背面照地址",
  40033. "type": "string"
  40034. },
  40035. "legalcardfrontphotourl": {
  40036. "description": "法人身份证正面照地址",
  40037. "type": "string"
  40038. },
  40039. "legalpersonname": {
  40040. "description": "法人姓名(企业)",
  40041. "type": "string"
  40042. },
  40043. "mobile": {
  40044. "description": "手机号码(加密存储)",
  40045. "type": "string"
  40046. },
  40047. "mobile2": {
  40048. "description": "手机号码[明文-尚志]",
  40049. "type": "string"
  40050. },
  40051. "modifierid": {
  40052. "description": "修改人",
  40053. "type": "integer"
  40054. },
  40055. "modifiertime": {
  40056. "description": "修改时间",
  40057. "type": "string"
  40058. },
  40059. "needinvoice": {
  40060. "description": "是否需要发票 - 0:不需要 1:需要",
  40061. "type": "integer"
  40062. },
  40063. "nickname": {
  40064. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  40065. "type": "string"
  40066. },
  40067. "openmode": {
  40068. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  40069. "type": "integer"
  40070. },
  40071. "otherurl": {
  40072. "description": "其它图片地址[使用分号分隔]",
  40073. "type": "string"
  40074. },
  40075. "postalcode": {
  40076. "description": "邮政编码",
  40077. "type": "string"
  40078. },
  40079. "provinceid": {
  40080. "description": "省",
  40081. "type": "integer"
  40082. },
  40083. "proxystatementurl": {
  40084. "description": "授权委托书",
  40085. "type": "string"
  40086. },
  40087. "qq": {
  40088. "description": "QQ(加密存储",
  40089. "type": "string"
  40090. },
  40091. "remark": {
  40092. "description": "备注",
  40093. "type": "string"
  40094. },
  40095. "sex": {
  40096. "description": "用户性别 0: 女 1: 男",
  40097. "type": "integer"
  40098. },
  40099. "signpdfurl": {
  40100. "description": "签约pdf文件",
  40101. "type": "string"
  40102. },
  40103. "taxpayernum": {
  40104. "description": "纳税人识别号",
  40105. "type": "string"
  40106. },
  40107. "telphone": {
  40108. "description": "联系电话(加密存储)",
  40109. "type": "string"
  40110. },
  40111. "userid": {
  40112. "description": "用户ID",
  40113. "type": "integer"
  40114. },
  40115. "userinfotype": {
  40116. "description": "用户信息类型 - 1:个人 2:企业",
  40117. "type": "integer"
  40118. },
  40119. "userstatus": {
  40120. "description": "用户状态 - 1:正常 2:注销",
  40121. "type": "integer"
  40122. },
  40123. "usertype": {
  40124. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  40125. "type": "integer"
  40126. },
  40127. "wechat": {
  40128. "description": "微信(加密存储)",
  40129. "type": "string"
  40130. },
  40131. "wskhinfo": {
  40132. "description": "开户申请信息(JSON)",
  40133. "type": "string"
  40134. }
  40135. }
  40136. },
  40137. "models.WrFAProductDetail": {
  40138. "type": "object",
  40139. "properties": {
  40140. "accountid": {
  40141. "description": "资金账号",
  40142. "type": "integer"
  40143. },
  40144. "areauserid": {
  40145. "description": "金融机构ID",
  40146. "type": "integer"
  40147. },
  40148. "financingdays": {
  40149. "description": "天数(天)",
  40150. "type": "integer"
  40151. },
  40152. "interestminlen": {
  40153. "description": "最小起息天数",
  40154. "type": "integer"
  40155. },
  40156. "interestrate": {
  40157. "description": "利率",
  40158. "type": "number"
  40159. },
  40160. "interestratemode": {
  40161. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  40162. "type": "integer"
  40163. },
  40164. "interestsettlemode": {
  40165. "description": "结息方式 - 1:按日结息 3:按月结息",
  40166. "type": "integer"
  40167. },
  40168. "interestsettlevalue": {
  40169. "description": "结息方式值",
  40170. "type": "integer"
  40171. },
  40172. "isautoloan": {
  40173. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  40174. "type": "integer"
  40175. },
  40176. "loantag": {
  40177. "description": "放款标识: \"放款快\" 或者为空",
  40178. "type": "string"
  40179. },
  40180. "marginratio": {
  40181. "description": "保证金比率质押率 - [仓单质押]",
  40182. "type": "number"
  40183. },
  40184. "productdetailid": {
  40185. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  40186. "type": "integer"
  40187. },
  40188. "productid": {
  40189. "description": "金融产品ID",
  40190. "type": "integer"
  40191. },
  40192. "productname": {
  40193. "description": "产品名称",
  40194. "type": "string"
  40195. },
  40196. "updatetime": {
  40197. "description": "更新时间",
  40198. "type": "string"
  40199. },
  40200. "username": {
  40201. "description": "融出方",
  40202. "type": "string"
  40203. }
  40204. }
  40205. },
  40206. "models.WrFactorTypeInfo": {
  40207. "type": "object",
  40208. "properties": {
  40209. "deliverygoodscode": {
  40210. "description": "品种代码",
  40211. "type": "string"
  40212. },
  40213. "deliverygoodsname": {
  40214. "description": "品种名称",
  40215. "type": "string"
  40216. },
  40217. "dgfactoryitemid": {
  40218. "description": "选择项id",
  40219. "type": "integer"
  40220. },
  40221. "dgfactoryitemtypeid": {
  40222. "description": "要素选择项ID (1-仓库 2-品牌)",
  40223. "type": "integer"
  40224. },
  40225. "dgfactoryitemvalue": {
  40226. "description": "要素项值",
  40227. "type": "string"
  40228. },
  40229. "itemtypename": {
  40230. "description": "要素项名称",
  40231. "type": "string"
  40232. },
  40233. "optioncompare": {
  40234. "description": "选择比较串",
  40235. "type": "string"
  40236. },
  40237. "warehouseid": {
  40238. "description": "仓库id",
  40239. "type": "integer"
  40240. },
  40241. "wrfactortypeid": {
  40242. "description": "仓单要素ID",
  40243. "type": "string"
  40244. },
  40245. "wrfactortypename": {
  40246. "description": "要素名称",
  40247. "type": "string"
  40248. },
  40249. "wrfactortypename2": {
  40250. "description": "要素名称(不含仓库)",
  40251. "type": "string"
  40252. },
  40253. "wrstandardcode": {
  40254. "description": "品类代码",
  40255. "type": "string"
  40256. },
  40257. "wrstandardid": {
  40258. "description": "品类id",
  40259. "type": "integer"
  40260. },
  40261. "wrstandardname": {
  40262. "description": "品类名称",
  40263. "type": "string"
  40264. }
  40265. }
  40266. },
  40267. "models.WrFilterItem": {
  40268. "type": "object",
  40269. "properties": {
  40270. "itemcode": {
  40271. "description": "代码",
  40272. "type": "string"
  40273. },
  40274. "itemid": {
  40275. "description": "项id",
  40276. "type": "integer"
  40277. },
  40278. "itemname": {
  40279. "description": "名称",
  40280. "type": "string"
  40281. },
  40282. "itemtype": {
  40283. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  40284. "type": "integer"
  40285. }
  40286. }
  40287. },
  40288. "models.WrFinanceBuyApply": {
  40289. "type": "object",
  40290. "properties": {
  40291. "applydate": {
  40292. "description": "申请时间",
  40293. "type": "string"
  40294. },
  40295. "applystatus": {
  40296. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  40297. "type": "integer"
  40298. },
  40299. "applyuserid": {
  40300. "description": "申请人",
  40301. "type": "integer"
  40302. },
  40303. "auditdate": {
  40304. "description": "审核时间",
  40305. "type": "string"
  40306. },
  40307. "auditremark": {
  40308. "description": "审核备注",
  40309. "type": "string"
  40310. },
  40311. "audituserid": {
  40312. "description": "审核人",
  40313. "type": "integer"
  40314. },
  40315. "buyaccountid": {
  40316. "description": "买方资金账号",
  40317. "type": "integer"
  40318. },
  40319. "buyorsell": {
  40320. "description": "买卖 - 0:买 1:卖",
  40321. "type": "integer"
  40322. },
  40323. "buyuserid": {
  40324. "description": "买方用户ID",
  40325. "type": "integer"
  40326. },
  40327. "buyusername": {
  40328. "description": "买方名称",
  40329. "type": "string"
  40330. },
  40331. "buywrtradeorderid": {
  40332. "description": "融资方买委托单ID",
  40333. "type": "string"
  40334. },
  40335. "deliverygoodscode": {
  40336. "description": "品种代码",
  40337. "type": "string"
  40338. },
  40339. "deliverygoodsid": {
  40340. "description": "品种ID",
  40341. "type": "integer"
  40342. },
  40343. "deliverygoodsname": {
  40344. "description": "品种名称",
  40345. "type": "string"
  40346. },
  40347. "deliverymonth": {
  40348. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  40349. "type": "string"
  40350. },
  40351. "enumdicname": {
  40352. "description": "单位名称",
  40353. "type": "string"
  40354. },
  40355. "financeaccountid": {
  40356. "description": "融资方资金帐户ID",
  40357. "type": "integer"
  40358. },
  40359. "financeapplyid": {
  40360. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40361. "type": "string"
  40362. },
  40363. "financeareauserid": {
  40364. "description": "融资方用户ID",
  40365. "type": "string"
  40366. },
  40367. "financename": {
  40368. "description": "融出方名称",
  40369. "type": "string"
  40370. },
  40371. "financetype": {
  40372. "description": "融资类型 1-融资回购",
  40373. "type": "integer"
  40374. },
  40375. "financingdays": {
  40376. "description": "天数(天)",
  40377. "type": "integer"
  40378. },
  40379. "freezebuymargin": {
  40380. "description": "冻结融资保证金(买方)",
  40381. "type": "number"
  40382. },
  40383. "handleremark": {
  40384. "description": "处理备注",
  40385. "type": "string"
  40386. },
  40387. "handlestatus": {
  40388. "description": "处理状态",
  40389. "type": "integer"
  40390. },
  40391. "interestminlen": {
  40392. "description": "最小起息天数",
  40393. "type": "integer"
  40394. },
  40395. "interestrate": {
  40396. "description": "利率",
  40397. "type": "number"
  40398. },
  40399. "interestratemode": {
  40400. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  40401. "type": "integer"
  40402. },
  40403. "interestsettlemode": {
  40404. "description": "结息方式 - 1:按日结息 3:按月结息",
  40405. "type": "integer"
  40406. },
  40407. "interestsettlevalue": {
  40408. "description": "结息方式值",
  40409. "type": "integer"
  40410. },
  40411. "isautoloan": {
  40412. "description": "是否自动放款 - 0:手动 1:自动",
  40413. "type": "integer"
  40414. },
  40415. "marginratio": {
  40416. "description": "保证金比率质押率 - [仓单质押]",
  40417. "type": "number"
  40418. },
  40419. "marketid": {
  40420. "description": "市场ID",
  40421. "type": "integer"
  40422. },
  40423. "minivalue": {
  40424. "description": "现货商品最小变动值",
  40425. "type": "integer"
  40426. },
  40427. "optioncompare": {
  40428. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40429. "type": "string"
  40430. },
  40431. "orderqty": {
  40432. "description": "委托数量(商品数量)",
  40433. "type": "number"
  40434. },
  40435. "productdetailid": {
  40436. "description": "产品组合ID",
  40437. "type": "integer"
  40438. },
  40439. "productid": {
  40440. "description": "金融产品ID",
  40441. "type": "integer"
  40442. },
  40443. "productname": {
  40444. "description": "产品名称",
  40445. "type": "string"
  40446. },
  40447. "remark": {
  40448. "description": "备注",
  40449. "type": "string"
  40450. },
  40451. "scfcontractid": {
  40452. "description": "仓单回购合同ID",
  40453. "type": "string"
  40454. },
  40455. "sellaccountid": {
  40456. "description": "卖方资金账号",
  40457. "type": "integer"
  40458. },
  40459. "selluserid": {
  40460. "description": "卖方用户ID",
  40461. "type": "integer"
  40462. },
  40463. "sellwrtradeorderid": {
  40464. "description": "卖方委托单ID",
  40465. "type": "string"
  40466. },
  40467. "tradeamount": {
  40468. "description": "成交金额(借款金额)",
  40469. "type": "number"
  40470. },
  40471. "tradedate": {
  40472. "description": "交易日(yyyyMMdd)",
  40473. "type": "string"
  40474. },
  40475. "tradeprice": {
  40476. "description": "成交价格",
  40477. "type": "number"
  40478. },
  40479. "warehouseid": {
  40480. "description": "仓库ID",
  40481. "type": "integer"
  40482. },
  40483. "warehousename": {
  40484. "description": "仓库名称",
  40485. "type": "string"
  40486. },
  40487. "wrfactortypeid": {
  40488. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40489. "type": "string"
  40490. },
  40491. "wrfactortypename": {
  40492. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40493. "type": "string"
  40494. },
  40495. "wrpricetype": {
  40496. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  40497. "type": "integer"
  40498. },
  40499. "wrstandardcode": {
  40500. "description": "现货商品代码",
  40501. "type": "string"
  40502. },
  40503. "wrstandardid": {
  40504. "description": "现货商品ID",
  40505. "type": "integer"
  40506. },
  40507. "wrstandardname": {
  40508. "description": "商品名称",
  40509. "type": "string"
  40510. },
  40511. "wrtypename": {
  40512. "description": "商品",
  40513. "type": "string"
  40514. }
  40515. }
  40516. },
  40517. "models.WrFriendApply": {
  40518. "type": "object",
  40519. "properties": {
  40520. "applicantid": {
  40521. "description": "申请人",
  40522. "type": "integer"
  40523. },
  40524. "applyname": {
  40525. "description": "申请人名称",
  40526. "type": "string"
  40527. },
  40528. "applysrc": {
  40529. "description": "申请来源 - 1:管理端 2:终端",
  40530. "type": "integer"
  40531. },
  40532. "applystatus": {
  40533. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  40534. "type": "integer"
  40535. },
  40536. "applytime": {
  40537. "description": "申请时间",
  40538. "type": "string"
  40539. },
  40540. "auditname": {
  40541. "description": "审核人名称",
  40542. "type": "string"
  40543. },
  40544. "auditorid": {
  40545. "description": "审核人",
  40546. "type": "integer"
  40547. },
  40548. "auditremark": {
  40549. "description": "审核备注",
  40550. "type": "string"
  40551. },
  40552. "auditsrc": {
  40553. "description": "审核来源 - 1:管理端 2:终端",
  40554. "type": "integer"
  40555. },
  40556. "audittime": {
  40557. "description": "审核时间",
  40558. "type": "string"
  40559. },
  40560. "friendapplyid": {
  40561. "description": "申请ID(SEQ_FRIENDAPPLY)",
  40562. "type": "string"
  40563. },
  40564. "friendname": {
  40565. "description": "好友名字(已脱敏)",
  40566. "type": "string"
  40567. },
  40568. "frienduserid": {
  40569. "description": "好友用户ID",
  40570. "type": "string"
  40571. },
  40572. "remark": {
  40573. "description": "备注",
  40574. "type": "string"
  40575. },
  40576. "userid": {
  40577. "description": "申请人用户ID",
  40578. "type": "integer"
  40579. }
  40580. }
  40581. },
  40582. "models.WrFtDeliveryGoods": {
  40583. "type": "object",
  40584. "properties": {
  40585. "deliverygoodscode": {
  40586. "description": "品种代码",
  40587. "type": "string"
  40588. },
  40589. "deliverygoodsid": {
  40590. "description": "品种ID",
  40591. "type": "integer"
  40592. },
  40593. "deliverygoodsname": {
  40594. "description": "品种名称",
  40595. "type": "string"
  40596. },
  40597. "wdlst": {
  40598. "description": "商品列表",
  40599. "type": "array",
  40600. "items": {
  40601. "$ref": "#/definitions/models.WrFtWrstandard"
  40602. }
  40603. }
  40604. }
  40605. },
  40606. "models.WrFtWrstandard": {
  40607. "type": "object",
  40608. "properties": {
  40609. "enumdicname": {
  40610. "description": "单位名称",
  40611. "type": "string"
  40612. },
  40613. "minivalue": {
  40614. "description": "最小变动值",
  40615. "type": "integer"
  40616. },
  40617. "wrstandardcode": {
  40618. "description": "现货商品代码",
  40619. "type": "string"
  40620. },
  40621. "wrstandardid": {
  40622. "description": "现货商品ID",
  40623. "type": "integer"
  40624. },
  40625. "wrstandardname": {
  40626. "description": "商品名称",
  40627. "type": "string"
  40628. }
  40629. }
  40630. },
  40631. "models.WrGoodsInfo": {
  40632. "type": "object",
  40633. "properties": {
  40634. "haswr": {
  40635. "description": "0:仓单预售 1:仓单贸易",
  40636. "type": "integer"
  40637. },
  40638. "lstitem": {
  40639. "description": "商品信息项",
  40640. "type": "array",
  40641. "items": {
  40642. "$ref": "#/definitions/models.WrTypeItem"
  40643. }
  40644. },
  40645. "lststep": {
  40646. "description": "履约规则",
  40647. "type": "array",
  40648. "items": {
  40649. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40650. }
  40651. },
  40652. "marketid": {
  40653. "description": "市场id",
  40654. "type": "integer"
  40655. }
  40656. }
  40657. },
  40658. "models.WrGoodsPerformanceStep": {
  40659. "type": "object",
  40660. "properties": {
  40661. "autoid": {
  40662. "description": "AutoID",
  40663. "type": "integer"
  40664. },
  40665. "isauto": {
  40666. "description": "是否自动 - 0:不自动 1:自动",
  40667. "type": "integer"
  40668. },
  40669. "remark": {
  40670. "description": "备注",
  40671. "type": "string"
  40672. },
  40673. "stepdate": {
  40674. "description": "天数信息(T+N)",
  40675. "type": "string"
  40676. },
  40677. "stepdays": {
  40678. "description": "距离上一步天数",
  40679. "type": "integer"
  40680. },
  40681. "stepindex": {
  40682. "description": "步骤序号",
  40683. "type": "integer"
  40684. },
  40685. "stepinfo": {
  40686. "description": "步骤信息(步骤名称+步骤值)",
  40687. "type": "string"
  40688. },
  40689. "steptypeid": {
  40690. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40691. "type": "integer"
  40692. },
  40693. "steptypename": {
  40694. "description": "步骤名称",
  40695. "type": "string"
  40696. },
  40697. "stepvalue": {
  40698. "description": "期初均价",
  40699. "type": "number"
  40700. },
  40701. "templateid": {
  40702. "description": "履约计划模板ID",
  40703. "type": "integer"
  40704. }
  40705. }
  40706. },
  40707. "models.WrHoldLB": {
  40708. "type": "object",
  40709. "properties": {
  40710. "accountid": {
  40711. "description": "持有人帐户ID",
  40712. "type": "integer"
  40713. },
  40714. "bannerpicurl": {
  40715. "description": "Banner图",
  40716. "type": "string"
  40717. },
  40718. "createtime": {
  40719. "description": "创建时间(过户时间)",
  40720. "type": "string"
  40721. },
  40722. "deliverygoodscode": {
  40723. "description": "品种代码",
  40724. "type": "string"
  40725. },
  40726. "deliverygoodsid": {
  40727. "description": "品种ID",
  40728. "type": "integer"
  40729. },
  40730. "deliverygoodsname": {
  40731. "description": "品种名称",
  40732. "type": "string"
  40733. },
  40734. "enableqty": {
  40735. "description": "可用数量",
  40736. "type": "number"
  40737. },
  40738. "enumdicname": {
  40739. "description": "单位名称",
  40740. "type": "string"
  40741. },
  40742. "freezerqty": {
  40743. "description": "冻结数量",
  40744. "type": "number"
  40745. },
  40746. "ladingbillid": {
  40747. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  40748. "type": "string"
  40749. },
  40750. "minivalue": {
  40751. "description": "现货商品最小变动值",
  40752. "type": "integer"
  40753. },
  40754. "optioncompare": {
  40755. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40756. "type": "string"
  40757. },
  40758. "parentsubnum": {
  40759. "description": "拆分父子单号",
  40760. "type": "integer"
  40761. },
  40762. "pledgeqty": {
  40763. "description": "质押数量",
  40764. "type": "number"
  40765. },
  40766. "qty": {
  40767. "description": "数量",
  40768. "type": "number"
  40769. },
  40770. "subnum": {
  40771. "description": "提单子单号",
  40772. "type": "integer"
  40773. },
  40774. "thumurls": {
  40775. "description": "缩略图",
  40776. "type": "string"
  40777. },
  40778. "tradedate": {
  40779. "description": "交易日(yyyyMMdd)",
  40780. "type": "string"
  40781. },
  40782. "userid": {
  40783. "description": "持有人ID",
  40784. "type": "integer"
  40785. },
  40786. "warehouseid": {
  40787. "description": "仓库ID",
  40788. "type": "integer"
  40789. },
  40790. "warehousename": {
  40791. "description": "仓库名称",
  40792. "type": "string"
  40793. },
  40794. "wrfactortypeid": {
  40795. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40796. "type": "string"
  40797. },
  40798. "wrfactortypename": {
  40799. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40800. "type": "string"
  40801. },
  40802. "wrholdeno": {
  40803. "description": "仓单编号",
  40804. "type": "string"
  40805. },
  40806. "wrid": {
  40807. "description": "仓单变更ID",
  40808. "type": "string"
  40809. },
  40810. "wrstandardcode": {
  40811. "description": "现货商品代码",
  40812. "type": "string"
  40813. },
  40814. "wrstandardid": {
  40815. "description": "现货商品ID",
  40816. "type": "integer"
  40817. },
  40818. "wrstandardname": {
  40819. "description": "商品名称",
  40820. "type": "string"
  40821. },
  40822. "wrtypename": {
  40823. "description": "商品",
  40824. "type": "string"
  40825. }
  40826. }
  40827. },
  40828. "models.WrMarketTradeConfig": {
  40829. "type": "object",
  40830. "properties": {
  40831. "basisdownratio": {
  40832. "description": "浮动价基差下限比例(仓单贸易)",
  40833. "type": "number"
  40834. },
  40835. "basisupratio": {
  40836. "description": "浮动价基差上限比例(仓单贸易)",
  40837. "type": "number"
  40838. },
  40839. "buychargealgorithm": {
  40840. "description": "买方手续费收取方式 1:比率 2:固定",
  40841. "type": "integer"
  40842. },
  40843. "buychargealgorithm2": {
  40844. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  40845. "type": "integer"
  40846. },
  40847. "buychargealgorithmvalue": {
  40848. "description": "买方手续费设置值(交易所部分)",
  40849. "type": "number"
  40850. },
  40851. "buychargealgorithmvalue2": {
  40852. "description": "买方手续费设置值(会员部分)",
  40853. "type": "number"
  40854. },
  40855. "buychargealgorithmvalue3": {
  40856. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  40857. "type": "number"
  40858. },
  40859. "buychargealgorithmvalue4": {
  40860. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  40861. "type": "number"
  40862. },
  40863. "buyfirstmarginalgorithm": {
  40864. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  40865. "type": "integer"
  40866. },
  40867. "buyfirstmarginvalue": {
  40868. "description": "买方出价保证金设置值 - [竞拍]",
  40869. "type": "number"
  40870. },
  40871. "buymarginalgorithm": {
  40872. "description": "买方保证金方式 - 1:比率 2:固定",
  40873. "type": "integer"
  40874. },
  40875. "buymarginvalue": {
  40876. "description": "买方保证金设置值",
  40877. "type": "number"
  40878. },
  40879. "buyreleaseratio": {
  40880. "description": "买方释放比率[2:分步履约]",
  40881. "type": "number"
  40882. },
  40883. "executemode": {
  40884. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  40885. "type": "integer"
  40886. },
  40887. "executeside": {
  40888. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  40889. "type": "integer"
  40890. },
  40891. "failedchargealgorithm": {
  40892. "description": "流拍手续费收取方式 1:比率 2:固定",
  40893. "type": "integer"
  40894. },
  40895. "failedchargevalue": {
  40896. "description": "流拍手续费设置值",
  40897. "type": "number"
  40898. },
  40899. "failedchargevalue2": {
  40900. "description": "流拍卖方手续费设置值",
  40901. "type": "number"
  40902. },
  40903. "holddays": {
  40904. "description": "合同期限[2:分步履约]",
  40905. "type": "integer"
  40906. },
  40907. "listingmode": {
  40908. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  40909. "type": "integer"
  40910. },
  40911. "marketid": {
  40912. "description": "市场ID-仓单贸易、竞拍、预售",
  40913. "type": "integer"
  40914. },
  40915. "minqty": {
  40916. "description": "最小执行量[2:分步履约]",
  40917. "type": "number"
  40918. },
  40919. "modifierid": {
  40920. "description": "修改人",
  40921. "type": "integer"
  40922. },
  40923. "nowrquotaflag": {
  40924. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  40925. "type": "integer"
  40926. },
  40927. "performancetempid": {
  40928. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40929. "type": "integer"
  40930. },
  40931. "performancetempid2": {
  40932. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40933. "type": "integer"
  40934. },
  40935. "performancetempid2s": {
  40936. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40937. "type": "string"
  40938. },
  40939. "performancetempids": {
  40940. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40941. "type": "string"
  40942. },
  40943. "performanceway": {
  40944. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  40945. "type": "integer"
  40946. },
  40947. "sellchargealgorithm": {
  40948. "description": "卖方手续费收取方式 1:比率 2:固定",
  40949. "type": "integer"
  40950. },
  40951. "sellchargealgorithm2": {
  40952. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  40953. "type": "integer"
  40954. },
  40955. "sellchargealgorithmvalue": {
  40956. "description": "卖方手续费设置值(交易所部分)",
  40957. "type": "number"
  40958. },
  40959. "sellchargealgorithmvalue2": {
  40960. "description": "卖方手续费设置值(会员部分)",
  40961. "type": "number"
  40962. },
  40963. "sellchargealgorithmvalue3": {
  40964. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  40965. "type": "number"
  40966. },
  40967. "sellchargealgorithmvalue4": {
  40968. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  40969. "type": "number"
  40970. },
  40971. "sellmarginalgorithm": {
  40972. "description": "卖方保证金方式 - 1:比率 2:固定",
  40973. "type": "integer"
  40974. },
  40975. "sellmarginvalue": {
  40976. "description": "卖方保证金设置值",
  40977. "type": "number"
  40978. },
  40979. "sellmarginvalue2": {
  40980. "description": "卖方保证金设置值(无仓单)",
  40981. "type": "number"
  40982. },
  40983. "sellreleaseratio": {
  40984. "description": "卖方释放比率[2:分步履约]",
  40985. "type": "number"
  40986. },
  40987. "updatetime": {
  40988. "description": "更新时间",
  40989. "type": "string"
  40990. }
  40991. }
  40992. },
  40993. "models.WrOrderDetail": {
  40994. "type": "object",
  40995. "properties": {
  40996. "accountid": {
  40997. "description": "交易账号(资金账号)",
  40998. "type": "integer"
  40999. },
  41000. "allfriendsflag": {
  41001. "description": "是否全好友可见 - 0:否 1:是",
  41002. "type": "integer"
  41003. },
  41004. "amount": {
  41005. "description": "期初均价",
  41006. "type": "number"
  41007. },
  41008. "bannerpicurl": {
  41009. "description": "Banner图",
  41010. "type": "string"
  41011. },
  41012. "begindate": {
  41013. "description": "开始交易日(yyyymmdd)",
  41014. "type": "string"
  41015. },
  41016. "buyorsell": {
  41017. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41018. "type": "integer"
  41019. },
  41020. "canbargain": {
  41021. "description": "是否可议价 - 0:不可 1:可",
  41022. "type": "integer"
  41023. },
  41024. "cancelqty": {
  41025. "description": "撤销数量",
  41026. "type": "number"
  41027. },
  41028. "canpart": {
  41029. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  41030. "type": "integer"
  41031. },
  41032. "delistminqty": {
  41033. "description": "起摘数量",
  41034. "type": "integer"
  41035. },
  41036. "deliverygoodscode": {
  41037. "description": "品种代码",
  41038. "type": "string"
  41039. },
  41040. "deliverygoodsid": {
  41041. "description": "品种ID",
  41042. "type": "integer"
  41043. },
  41044. "deliverygoodsname": {
  41045. "description": "品种名称",
  41046. "type": "string"
  41047. },
  41048. "deliverymonth": {
  41049. "description": "交收月",
  41050. "type": "string"
  41051. },
  41052. "enddate": {
  41053. "description": "结束交易日(yyyymmdd)",
  41054. "type": "string"
  41055. },
  41056. "enumdicname": {
  41057. "description": "单位名称",
  41058. "type": "string"
  41059. },
  41060. "fixedprice": {
  41061. "description": "固定价格 - [挂牌]",
  41062. "type": "number"
  41063. },
  41064. "freezecharge": {
  41065. "description": "期初均价",
  41066. "type": "number"
  41067. },
  41068. "freezemargin": {
  41069. "description": "期初均价",
  41070. "type": "number"
  41071. },
  41072. "futupricemove": {
  41073. "description": "期货升贴水",
  41074. "type": "number"
  41075. },
  41076. "futushow": {
  41077. "description": "期货合约/升贴水",
  41078. "type": "string"
  41079. },
  41080. "goodscode": {
  41081. "description": "期货合约",
  41082. "type": "string"
  41083. },
  41084. "goodsid": {
  41085. "description": "期货商品id",
  41086. "type": "integer"
  41087. },
  41088. "goodsname": {
  41089. "description": "商品名称",
  41090. "type": "string"
  41091. },
  41092. "haswr": {
  41093. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41094. "type": "integer"
  41095. },
  41096. "isspecified": {
  41097. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  41098. "type": "integer"
  41099. },
  41100. "ladingbillid": {
  41101. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  41102. "type": "string"
  41103. },
  41104. "marginvalue": {
  41105. "description": "期初均价",
  41106. "type": "number"
  41107. },
  41108. "marketid": {
  41109. "description": "市场ID",
  41110. "type": "integer"
  41111. },
  41112. "matchusername": {
  41113. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  41114. "type": "string"
  41115. },
  41116. "minivalue": {
  41117. "description": "现货商品最小变动值",
  41118. "type": "integer"
  41119. },
  41120. "optioncompare": {
  41121. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41122. "type": "string"
  41123. },
  41124. "orderqty": {
  41125. "description": "委托数量",
  41126. "type": "number"
  41127. },
  41128. "ordertime": {
  41129. "description": "委托时间(挂牌时间)",
  41130. "type": "string"
  41131. },
  41132. "performancetemplateid": {
  41133. "description": "履约模板id",
  41134. "type": "integer"
  41135. },
  41136. "pricemove": {
  41137. "description": "升贴水(浮动价时填写) - [挂牌]",
  41138. "type": "number"
  41139. },
  41140. "taname": {
  41141. "description": "交易用户名称(资金账号名称)",
  41142. "type": "string"
  41143. },
  41144. "thumurls": {
  41145. "description": "缩略图",
  41146. "type": "string"
  41147. },
  41148. "tradedate": {
  41149. "description": "交易日(yyyyMMdd)",
  41150. "type": "string"
  41151. },
  41152. "tradeprice": {
  41153. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  41154. "type": "number"
  41155. },
  41156. "tradeqty": {
  41157. "description": "成交数量",
  41158. "type": "number"
  41159. },
  41160. "userid": {
  41161. "description": "用户ID",
  41162. "type": "integer"
  41163. },
  41164. "validtime": {
  41165. "description": "挂牌有效期",
  41166. "type": "string"
  41167. },
  41168. "validtype": {
  41169. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  41170. "type": "integer"
  41171. },
  41172. "warehouseid": {
  41173. "description": "仓库ID",
  41174. "type": "integer"
  41175. },
  41176. "warehousename": {
  41177. "description": "仓库名称",
  41178. "type": "string"
  41179. },
  41180. "wrfactortypeid": {
  41181. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41182. "type": "string"
  41183. },
  41184. "wrfactortypename": {
  41185. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41186. "type": "string"
  41187. },
  41188. "wrpricetype": {
  41189. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  41190. "type": "integer"
  41191. },
  41192. "wrstandardcode": {
  41193. "description": "现货商品代码",
  41194. "type": "string"
  41195. },
  41196. "wrstandardid": {
  41197. "description": "现货商品ID",
  41198. "type": "integer"
  41199. },
  41200. "wrstandardname": {
  41201. "description": "商品名称",
  41202. "type": "string"
  41203. },
  41204. "wrtradeorderid": {
  41205. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41206. "type": "string"
  41207. },
  41208. "wrtradeorderstatus": {
  41209. "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:撤单解冻贷款失败",
  41210. "type": "integer"
  41211. },
  41212. "wrtradetype": {
  41213. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41214. "type": "integer"
  41215. },
  41216. "wrtypename": {
  41217. "description": "商品",
  41218. "type": "string"
  41219. }
  41220. }
  41221. },
  41222. "models.WrOrderQuote": {
  41223. "type": "object",
  41224. "properties": {
  41225. "bannerpicurl": {
  41226. "description": "Banner图",
  41227. "type": "string"
  41228. },
  41229. "buyprice": {
  41230. "description": "买价",
  41231. "type": "number"
  41232. },
  41233. "buypricemove": {
  41234. "description": "买升贴水(基差)",
  41235. "type": "number"
  41236. },
  41237. "buyqty": {
  41238. "description": "买量",
  41239. "type": "number"
  41240. },
  41241. "deliverygoodscode": {
  41242. "description": "品种代码",
  41243. "type": "string"
  41244. },
  41245. "deliverygoodsid": {
  41246. "description": "品种id",
  41247. "type": "integer"
  41248. },
  41249. "deliverygoodsname": {
  41250. "description": "品种名称",
  41251. "type": "string"
  41252. },
  41253. "deliverymonth": {
  41254. "description": "交收月",
  41255. "type": "string"
  41256. },
  41257. "enumdicname": {
  41258. "description": "单位名称",
  41259. "type": "string"
  41260. },
  41261. "goodscode": {
  41262. "description": "商品合约(浮动价列表才有)",
  41263. "type": "string"
  41264. },
  41265. "goodsid": {
  41266. "description": "商品id(浮动价列表才有)",
  41267. "type": "integer"
  41268. },
  41269. "minivalue": {
  41270. "description": "现货商品最小变动值",
  41271. "type": "integer"
  41272. },
  41273. "pictureurls": {
  41274. "description": "详情图片(逗号分隔)",
  41275. "type": "string"
  41276. },
  41277. "sellprice": {
  41278. "description": "卖价",
  41279. "type": "number"
  41280. },
  41281. "sellpricemove": {
  41282. "description": "卖升贴水(基差)",
  41283. "type": "number"
  41284. },
  41285. "sellqty": {
  41286. "description": "卖量",
  41287. "type": "number"
  41288. },
  41289. "thumurls": {
  41290. "description": "缩略图片(1:1)(逗号分隔)",
  41291. "type": "string"
  41292. },
  41293. "warehousecode": {
  41294. "description": "仓库代码",
  41295. "type": "string"
  41296. },
  41297. "warehouseid": {
  41298. "description": "仓库id",
  41299. "type": "integer"
  41300. },
  41301. "warehousename": {
  41302. "description": "仓库名称",
  41303. "type": "string"
  41304. },
  41305. "wrfactortypeid": {
  41306. "description": "仓单要素id",
  41307. "type": "string"
  41308. },
  41309. "wrfactortypename": {
  41310. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41311. "type": "string"
  41312. },
  41313. "wrgoodsname": {
  41314. "description": "商品(商品名称+仓库要素名称 拼接)",
  41315. "type": "string"
  41316. },
  41317. "wrstandardcode": {
  41318. "description": "商品代码",
  41319. "type": "string"
  41320. },
  41321. "wrstandardid": {
  41322. "description": "商品id",
  41323. "type": "integer"
  41324. },
  41325. "wrstandardname": {
  41326. "description": "商品名称",
  41327. "type": "string"
  41328. }
  41329. }
  41330. },
  41331. "models.WrOrderQuoteDetail": {
  41332. "type": "object",
  41333. "properties": {
  41334. "buyorsell": {
  41335. "description": "买卖 - 0:买 1:卖",
  41336. "type": "integer"
  41337. },
  41338. "delistminqty": {
  41339. "description": "期初均价",
  41340. "type": "number"
  41341. },
  41342. "deliverymonth": {
  41343. "description": "交收月",
  41344. "type": "string"
  41345. },
  41346. "enumdicname": {
  41347. "description": "单位名称",
  41348. "type": "string"
  41349. },
  41350. "fixedprice": {
  41351. "description": "买(卖)价",
  41352. "type": "number"
  41353. },
  41354. "marketid": {
  41355. "description": "市场id",
  41356. "type": "integer"
  41357. },
  41358. "minivalue": {
  41359. "description": "现货商品最小变动值",
  41360. "type": "integer"
  41361. },
  41362. "orderqty": {
  41363. "description": "买(卖)量(=委托量-成交量)",
  41364. "type": "number"
  41365. },
  41366. "ordertime": {
  41367. "description": "委托时间",
  41368. "type": "string"
  41369. },
  41370. "pricemove": {
  41371. "description": "买(卖)升贴水- 基差",
  41372. "type": "number"
  41373. },
  41374. "userid": {
  41375. "description": "购买方(销售方)用户ID",
  41376. "type": "integer"
  41377. },
  41378. "username": {
  41379. "description": "购买方(销售方)",
  41380. "type": "string"
  41381. },
  41382. "wrtradeorderid": {
  41383. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41384. "type": "string"
  41385. }
  41386. }
  41387. },
  41388. "models.WrOutInApply": {
  41389. "type": "object",
  41390. "properties": {
  41391. "applyid": {
  41392. "description": "申请单id",
  41393. "type": "string"
  41394. },
  41395. "applystatus": {
  41396. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  41397. "type": "integer"
  41398. },
  41399. "applytime": {
  41400. "description": "申请时间",
  41401. "type": "string"
  41402. },
  41403. "applytype": {
  41404. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  41405. "type": "integer"
  41406. },
  41407. "bannerpicurl": {
  41408. "description": "Banner图",
  41409. "type": "string"
  41410. },
  41411. "begindate": {
  41412. "description": "开始交易日(yyyymmdd)",
  41413. "type": "string"
  41414. },
  41415. "deliverygoodscode": {
  41416. "description": "品种代码",
  41417. "type": "string"
  41418. },
  41419. "deliverygoodsid": {
  41420. "description": "品种ID",
  41421. "type": "integer"
  41422. },
  41423. "deliverygoodsname": {
  41424. "description": "品种名称",
  41425. "type": "string"
  41426. },
  41427. "enddate": {
  41428. "description": "结束交易日(yyyymmdd)",
  41429. "type": "string"
  41430. },
  41431. "enumdicname": {
  41432. "description": "单位名称",
  41433. "type": "string"
  41434. },
  41435. "expresscompany": {
  41436. "description": "物流公司",
  41437. "type": "string"
  41438. },
  41439. "expressnum": {
  41440. "description": "物流单号",
  41441. "type": "string"
  41442. },
  41443. "minivalue": {
  41444. "description": "现货商品最小变动值",
  41445. "type": "integer"
  41446. },
  41447. "optioncompare": {
  41448. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41449. "type": "string"
  41450. },
  41451. "qty": {
  41452. "description": "数量",
  41453. "type": "integer"
  41454. },
  41455. "userid": {
  41456. "description": "用户id",
  41457. "type": "integer"
  41458. },
  41459. "warehouseid": {
  41460. "description": "仓库ID",
  41461. "type": "integer"
  41462. },
  41463. "warehousename": {
  41464. "description": "仓库名称",
  41465. "type": "string"
  41466. },
  41467. "wrfactortypeid": {
  41468. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41469. "type": "string"
  41470. },
  41471. "wrfactortypename": {
  41472. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41473. "type": "string"
  41474. },
  41475. "wrstandardcode": {
  41476. "description": "现货商品代码",
  41477. "type": "string"
  41478. },
  41479. "wrstandardid": {
  41480. "description": "现货商品ID",
  41481. "type": "integer"
  41482. },
  41483. "wrstandardname": {
  41484. "description": "商品名称",
  41485. "type": "string"
  41486. },
  41487. "wrtypename": {
  41488. "description": "商品",
  41489. "type": "string"
  41490. }
  41491. }
  41492. },
  41493. "models.WrPerformancePlan": {
  41494. "type": "object",
  41495. "required": [
  41496. "userid"
  41497. ],
  41498. "properties": {
  41499. "activatemonth": {
  41500. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  41501. "type": "string"
  41502. },
  41503. "amount": {
  41504. "description": "履约金额(总金额)",
  41505. "type": "number"
  41506. },
  41507. "begindate": {
  41508. "description": "开始交易日(yyyymmdd)",
  41509. "type": "string"
  41510. },
  41511. "buyaccountid": {
  41512. "description": "买方账号",
  41513. "type": "integer"
  41514. },
  41515. "buyerfreezeamount": {
  41516. "description": "履约冻结(买履约)",
  41517. "type": "number"
  41518. },
  41519. "buyerfreezeamountremain": {
  41520. "description": "履约冻结剩余(买履约)",
  41521. "type": "number"
  41522. },
  41523. "buyorsell": {
  41524. "description": "买卖方向 0-买 1-卖",
  41525. "type": "integer"
  41526. },
  41527. "buypaidamount": {
  41528. "description": "买方已冻/已扣金额 (已付金额)",
  41529. "type": "number"
  41530. },
  41531. "buyusername": {
  41532. "description": "买方名字",
  41533. "type": "string"
  41534. },
  41535. "contractid": {
  41536. "description": "合同ID",
  41537. "type": "integer"
  41538. },
  41539. "createtime": {
  41540. "description": "创建时间",
  41541. "type": "string"
  41542. },
  41543. "creatorid": {
  41544. "description": "创建人",
  41545. "type": "integer"
  41546. },
  41547. "curstepdeadline": {
  41548. "description": "当前步骤到期时间",
  41549. "type": "string"
  41550. },
  41551. "curstepid": {
  41552. "description": "当前步骤ID",
  41553. "type": "string"
  41554. },
  41555. "curstepname": {
  41556. "description": "当前步骤名称",
  41557. "type": "string"
  41558. },
  41559. "deliverygoodscode": {
  41560. "description": "品种代码",
  41561. "type": "string"
  41562. },
  41563. "deliverygoodsid": {
  41564. "description": "品种ID",
  41565. "type": "integer"
  41566. },
  41567. "deliverygoodsname": {
  41568. "description": "品种名称",
  41569. "type": "string"
  41570. },
  41571. "enddate": {
  41572. "description": "结束交易日(yyyymmdd)",
  41573. "type": "string"
  41574. },
  41575. "enumdicname": {
  41576. "description": "单位名称",
  41577. "type": "string"
  41578. },
  41579. "expressfee": {
  41580. "description": "运费",
  41581. "type": "number"
  41582. },
  41583. "expressfeeconfirmed": {
  41584. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  41585. "type": "integer"
  41586. },
  41587. "hasovershort": {
  41588. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  41589. "type": "integer"
  41590. },
  41591. "haswr": {
  41592. "description": "类型 0-仓单预售 1-仓单贸易",
  41593. "type": "integer"
  41594. },
  41595. "marketid": {
  41596. "description": "市场ID",
  41597. "type": "integer"
  41598. },
  41599. "middleaccountid": {
  41600. "description": "中间商资金账号ID",
  41601. "type": "integer"
  41602. },
  41603. "middleuserid": {
  41604. "description": "中间商用户ID",
  41605. "type": "integer"
  41606. },
  41607. "minivalue": {
  41608. "description": "现货商品最小变动值",
  41609. "type": "integer"
  41610. },
  41611. "optioncompare": {
  41612. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41613. "type": "string"
  41614. },
  41615. "overshortamount": {
  41616. "description": "溢短金额",
  41617. "type": "number"
  41618. },
  41619. "overshortqty": {
  41620. "description": "溢短数量",
  41621. "type": "number"
  41622. },
  41623. "paymenttype": {
  41624. "description": "付款方式 - 1:冻结 2:扣款",
  41625. "type": "integer"
  41626. },
  41627. "performanceplanid": {
  41628. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  41629. "type": "string"
  41630. },
  41631. "performancestatus": {
  41632. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  41633. "type": "integer"
  41634. },
  41635. "performancetype": {
  41636. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  41637. "type": "integer"
  41638. },
  41639. "qty": {
  41640. "description": "履约数量",
  41641. "type": "number"
  41642. },
  41643. "relatedorderid": {
  41644. "description": "关联单号(履约类型的关联单号)",
  41645. "type": "string"
  41646. },
  41647. "remark": {
  41648. "description": "备注",
  41649. "type": "string"
  41650. },
  41651. "sellaccountid": {
  41652. "description": "卖方账号",
  41653. "type": "integer"
  41654. },
  41655. "sellerfreezeamount": {
  41656. "description": "履约冻结(卖履约)",
  41657. "type": "number"
  41658. },
  41659. "sellerfreezeamountremain": {
  41660. "description": "履约冻结剩余(卖履约)",
  41661. "type": "number"
  41662. },
  41663. "sellreceivedamount": {
  41664. "description": "卖方已收金额",
  41665. "type": "number"
  41666. },
  41667. "sellusername": {
  41668. "description": "卖方名字",
  41669. "type": "string"
  41670. },
  41671. "shipremark": {
  41672. "description": "发货备注[物流单号]",
  41673. "type": "string"
  41674. },
  41675. "starttime": {
  41676. "description": "开始时间",
  41677. "type": "string"
  41678. },
  41679. "steptypeid": {
  41680. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41681. "type": "integer"
  41682. },
  41683. "typename": {
  41684. "description": "履约类型 名称",
  41685. "type": "string"
  41686. },
  41687. "unpaidamount": {
  41688. "description": "期初均价",
  41689. "type": "number"
  41690. },
  41691. "userid": {
  41692. "description": "用户id",
  41693. "type": "integer"
  41694. },
  41695. "warehouseid": {
  41696. "description": "仓库ID",
  41697. "type": "integer"
  41698. },
  41699. "warehousename": {
  41700. "description": "仓库名称",
  41701. "type": "string"
  41702. },
  41703. "wrfactortypeid": {
  41704. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41705. "type": "string"
  41706. },
  41707. "wrfactortypename": {
  41708. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41709. "type": "string"
  41710. },
  41711. "wrstandardcode": {
  41712. "description": "现货商品代码",
  41713. "type": "string"
  41714. },
  41715. "wrstandardid": {
  41716. "description": "现货商品ID",
  41717. "type": "integer"
  41718. },
  41719. "wrstandardname": {
  41720. "description": "商品名称",
  41721. "type": "string"
  41722. },
  41723. "wrtransferuserid": {
  41724. "description": "仓单受让用户",
  41725. "type": "integer"
  41726. },
  41727. "wrtypename": {
  41728. "description": "商品",
  41729. "type": "string"
  41730. }
  41731. }
  41732. },
  41733. "models.WrPerformancePlanStep": {
  41734. "type": "object",
  41735. "properties": {
  41736. "delaydays": {
  41737. "description": "延期申请天数",
  41738. "type": "integer"
  41739. },
  41740. "deliverygoodscode": {
  41741. "description": "品种代码",
  41742. "type": "string"
  41743. },
  41744. "deliverygoodsid": {
  41745. "description": "品种ID",
  41746. "type": "integer"
  41747. },
  41748. "deliverygoodsname": {
  41749. "description": "品种名称",
  41750. "type": "string"
  41751. },
  41752. "endtime": {
  41753. "description": "结束日期",
  41754. "type": "string"
  41755. },
  41756. "enumdicname": {
  41757. "description": "单位名称",
  41758. "type": "string"
  41759. },
  41760. "executeside": {
  41761. "description": "步骤执行方 - 1:买方 2:卖方",
  41762. "type": "integer"
  41763. },
  41764. "handlestatus": {
  41765. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  41766. "type": "integer"
  41767. },
  41768. "isauto": {
  41769. "description": "是否自动 - 0:不自动 1:自动",
  41770. "type": "integer"
  41771. },
  41772. "islastreceivestep": {
  41773. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  41774. "type": "integer"
  41775. },
  41776. "minivalue": {
  41777. "description": "现货商品最小变动值",
  41778. "type": "integer"
  41779. },
  41780. "optioncompare": {
  41781. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41782. "type": "string"
  41783. },
  41784. "overdays": {
  41785. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  41786. "type": "integer"
  41787. },
  41788. "performancestepid": {
  41789. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  41790. "type": "string"
  41791. },
  41792. "planid": {
  41793. "description": "所属履约计划ID",
  41794. "type": "string"
  41795. },
  41796. "realamount": {
  41797. "description": "实际完成金额",
  41798. "type": "number"
  41799. },
  41800. "relatedorderid": {
  41801. "description": "关联单号",
  41802. "type": "string"
  41803. },
  41804. "remaindays": {
  41805. "description": "剩余天数",
  41806. "type": "integer"
  41807. },
  41808. "remark": {
  41809. "description": "错误备注",
  41810. "type": "string"
  41811. },
  41812. "starttime": {
  41813. "description": "开始日期",
  41814. "type": "string"
  41815. },
  41816. "stepamount": {
  41817. "description": "步骤金额",
  41818. "type": "number"
  41819. },
  41820. "stepdays": {
  41821. "description": "距离上一步天数(分钟)",
  41822. "type": "integer"
  41823. },
  41824. "stepindex": {
  41825. "description": "步骤序号",
  41826. "type": "integer"
  41827. },
  41828. "steplanchtype": {
  41829. "description": "步骤启动类型 - 1:系统自动 2:手动",
  41830. "type": "integer"
  41831. },
  41832. "stepremark": {
  41833. "description": "步骤备注",
  41834. "type": "string"
  41835. },
  41836. "stepstatus": {
  41837. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  41838. "type": "integer"
  41839. },
  41840. "steptypeid": {
  41841. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41842. "type": "integer"
  41843. },
  41844. "steptypename": {
  41845. "description": "步骤名称",
  41846. "type": "string"
  41847. },
  41848. "stepvalue": {
  41849. "description": "步骤值",
  41850. "type": "number"
  41851. },
  41852. "warehouseid": {
  41853. "description": "仓库ID",
  41854. "type": "integer"
  41855. },
  41856. "warehousename": {
  41857. "description": "仓库名称",
  41858. "type": "string"
  41859. },
  41860. "wrfactortypeid": {
  41861. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41862. "type": "string"
  41863. },
  41864. "wrfactortypename": {
  41865. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41866. "type": "string"
  41867. },
  41868. "wrstandardcode": {
  41869. "description": "现货商品代码",
  41870. "type": "string"
  41871. },
  41872. "wrstandardid": {
  41873. "description": "现货商品ID",
  41874. "type": "integer"
  41875. },
  41876. "wrstandardname": {
  41877. "description": "商品名称",
  41878. "type": "string"
  41879. },
  41880. "wrtypename": {
  41881. "description": "商品",
  41882. "type": "string"
  41883. }
  41884. }
  41885. },
  41886. "models.WrPerformanceStepType": {
  41887. "type": "object",
  41888. "properties": {
  41889. "canauto": {
  41890. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  41891. "type": "integer"
  41892. },
  41893. "steptypeid": {
  41894. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  41895. "type": "integer"
  41896. },
  41897. "steptypename": {
  41898. "description": "步骤类型名称",
  41899. "type": "string"
  41900. }
  41901. }
  41902. },
  41903. "models.WrPerformanceTemplateEx": {
  41904. "type": "object",
  41905. "properties": {
  41906. "autoid": {
  41907. "description": "AutoID 模板id",
  41908. "type": "integer"
  41909. },
  41910. "createtime": {
  41911. "description": "创建时间",
  41912. "type": "string"
  41913. },
  41914. "creatorid": {
  41915. "description": "创建人",
  41916. "type": "integer"
  41917. },
  41918. "lstStep": {
  41919. "description": "步骤信息列表",
  41920. "type": "array",
  41921. "items": {
  41922. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  41923. }
  41924. },
  41925. "paymenttype": {
  41926. "description": "支付方式 - 1:冻结 2:扣款",
  41927. "type": "integer"
  41928. },
  41929. "takemode": {
  41930. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  41931. "type": "integer"
  41932. },
  41933. "templatename": {
  41934. "description": "模板名称",
  41935. "type": "string"
  41936. },
  41937. "templatetype": {
  41938. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  41939. "type": "integer"
  41940. },
  41941. "userid": {
  41942. "description": "所属用户",
  41943. "type": "integer"
  41944. }
  41945. }
  41946. },
  41947. "models.WrPosition": {
  41948. "type": "object",
  41949. "properties": {
  41950. "accountid": {
  41951. "description": "帐户ID",
  41952. "type": "integer"
  41953. },
  41954. "buyexcuteqty": {
  41955. "description": "采购履约中数量",
  41956. "type": "number"
  41957. },
  41958. "creditcurqty": {
  41959. "description": "授信当前数量(预售仓单:预售当前量)",
  41960. "type": "number"
  41961. },
  41962. "creditenableqty": {
  41963. "description": "授信可用数量(预售仓单: 可用数量)",
  41964. "type": "number"
  41965. },
  41966. "creditfreezeqty": {
  41967. "description": "授信冻结数量(预售仓单: 当前数量)",
  41968. "type": "number"
  41969. },
  41970. "credittotalqty": {
  41971. "description": "授信总数量(预售仓单:预售总量)",
  41972. "type": "number"
  41973. },
  41974. "credittradeqty": {
  41975. "description": "授信成交数量(预售仓单:成交总量)",
  41976. "type": "number"
  41977. },
  41978. "deliverygoodscode": {
  41979. "description": "品种代码",
  41980. "type": "string"
  41981. },
  41982. "deliverygoodsid": {
  41983. "description": "品种ID",
  41984. "type": "integer"
  41985. },
  41986. "deliverygoodsname": {
  41987. "description": "品种名称",
  41988. "type": "string"
  41989. },
  41990. "enalbeqty": {
  41991. "description": "可用数量",
  41992. "type": "number"
  41993. },
  41994. "enumdicname": {
  41995. "description": "单位名称",
  41996. "type": "string"
  41997. },
  41998. "freezeqty": {
  41999. "description": "总冻结数量",
  42000. "type": "number"
  42001. },
  42002. "haswr": {
  42003. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42004. "type": "integer"
  42005. },
  42006. "minivalue": {
  42007. "description": "现货商品最小变动值",
  42008. "type": "integer"
  42009. },
  42010. "modifytime": {
  42011. "description": "修改时间(过户时间)",
  42012. "type": "string"
  42013. },
  42014. "optioncompare": {
  42015. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42016. "type": "string"
  42017. },
  42018. "pledgeqty": {
  42019. "description": "质押数量",
  42020. "type": "number"
  42021. },
  42022. "querytype": {
  42023. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  42024. "type": "integer"
  42025. },
  42026. "sellexcuteqty": {
  42027. "description": "销售履约中数量",
  42028. "type": "number"
  42029. },
  42030. "totalqty": {
  42031. "description": "总数量(库存数量)",
  42032. "type": "number"
  42033. },
  42034. "warehouseid": {
  42035. "description": "仓库ID",
  42036. "type": "integer"
  42037. },
  42038. "warehousename": {
  42039. "description": "仓库名称",
  42040. "type": "string"
  42041. },
  42042. "wrfactortypeid": {
  42043. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42044. "type": "string"
  42045. },
  42046. "wrfactortypename": {
  42047. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42048. "type": "string"
  42049. },
  42050. "wrpositionid": {
  42051. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  42052. "type": "string"
  42053. },
  42054. "wrpositionno": {
  42055. "description": "仓单编号",
  42056. "type": "string"
  42057. },
  42058. "wrstandardcode": {
  42059. "description": "现货商品代码",
  42060. "type": "string"
  42061. },
  42062. "wrstandardid": {
  42063. "description": "现货商品ID",
  42064. "type": "integer"
  42065. },
  42066. "wrstandardname": {
  42067. "description": "商品名称",
  42068. "type": "string"
  42069. },
  42070. "wrtypename": {
  42071. "description": "商品",
  42072. "type": "string"
  42073. },
  42074. "wruserid": {
  42075. "description": "持有人ID",
  42076. "type": "integer"
  42077. }
  42078. }
  42079. },
  42080. "models.WrPreSaleInfo": {
  42081. "type": "object",
  42082. "properties": {
  42083. "bannerpicurl": {
  42084. "description": "Banner图",
  42085. "type": "string"
  42086. },
  42087. "baseqty": {
  42088. "description": "中签基数",
  42089. "type": "number"
  42090. },
  42091. "createtime": {
  42092. "description": "创建时间",
  42093. "type": "string"
  42094. },
  42095. "deliverygoodsid": {
  42096. "description": "现货品种ID",
  42097. "type": "integer"
  42098. },
  42099. "enddate": {
  42100. "description": "预售结束日期",
  42101. "type": "string"
  42102. },
  42103. "enumdicname": {
  42104. "description": "单位名称",
  42105. "type": "string"
  42106. },
  42107. "lotteryflag": {
  42108. "description": "摇号标识 - 0:未摇号 1:已摇号",
  42109. "type": "integer"
  42110. },
  42111. "lotteryqty": {
  42112. "description": "摇号总量",
  42113. "type": "number"
  42114. },
  42115. "luckyqty": {
  42116. "description": "已中签量",
  42117. "type": "number"
  42118. },
  42119. "marketid": {
  42120. "description": "市场ID",
  42121. "type": "integer"
  42122. },
  42123. "maxbuyqty": {
  42124. "description": "单人最大申购量",
  42125. "type": "number"
  42126. },
  42127. "maxluckyqty": {
  42128. "description": "单人最大中签量",
  42129. "type": "number"
  42130. },
  42131. "pictureurls": {
  42132. "description": "详情图片(逗号分隔)",
  42133. "type": "string"
  42134. },
  42135. "placeqty": {
  42136. "description": "已配售量",
  42137. "type": "number"
  42138. },
  42139. "presaleapplyid": {
  42140. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  42141. "type": "string",
  42142. "example": "0"
  42143. },
  42144. "presaleqty": {
  42145. "description": "预售总量",
  42146. "type": "number"
  42147. },
  42148. "presalestatus": {
  42149. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  42150. "type": "integer"
  42151. },
  42152. "sellaccountid": {
  42153. "description": "发行方资金账户ID",
  42154. "type": "integer"
  42155. },
  42156. "selluserid": {
  42157. "description": "发行方用户ID",
  42158. "type": "integer"
  42159. },
  42160. "sellwrtradeorderid": {
  42161. "description": "发行方卖委托单ID",
  42162. "type": "string"
  42163. },
  42164. "startdate": {
  42165. "description": "预售开始日期",
  42166. "type": "string"
  42167. },
  42168. "takestartdate": {
  42169. "description": "提货开始日期",
  42170. "type": "string"
  42171. },
  42172. "thumurls": {
  42173. "description": "缩略图片(1:1)(逗号分隔)",
  42174. "type": "string"
  42175. },
  42176. "tradedate": {
  42177. "description": "交易日",
  42178. "type": "string"
  42179. },
  42180. "unitid": {
  42181. "description": "单位ID",
  42182. "type": "integer"
  42183. },
  42184. "unitprice": {
  42185. "description": "商品单价",
  42186. "type": "number"
  42187. },
  42188. "username": {
  42189. "description": "发行方用户名称",
  42190. "type": "string"
  42191. },
  42192. "warehousecode": {
  42193. "description": "仓库代码(仓库简称)",
  42194. "type": "string"
  42195. },
  42196. "warehouseid": {
  42197. "description": "仓库ID",
  42198. "type": "integer"
  42199. },
  42200. "warehousename": {
  42201. "description": "仓库名称",
  42202. "type": "string"
  42203. },
  42204. "wrfactortypeid": {
  42205. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  42206. "type": "string",
  42207. "example": "0"
  42208. },
  42209. "wrstandardid": {
  42210. "description": "现货商品ID",
  42211. "type": "integer"
  42212. },
  42213. "wrstandardname": {
  42214. "description": "现货商品名称",
  42215. "type": "string"
  42216. }
  42217. }
  42218. },
  42219. "models.WrQuoteOrderMyq": {
  42220. "type": "object",
  42221. "properties": {
  42222. "buyorsell": {
  42223. "description": "买卖 - 0:买 1:卖",
  42224. "type": "integer"
  42225. },
  42226. "canbargain": {
  42227. "description": "是否可议价 - 0:不可 1:可",
  42228. "type": "integer"
  42229. },
  42230. "canpart": {
  42231. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  42232. "type": "integer"
  42233. },
  42234. "delistminqty": {
  42235. "description": "期初均价",
  42236. "type": "number"
  42237. },
  42238. "deliverygoodscode": {
  42239. "description": "品种代码",
  42240. "type": "string"
  42241. },
  42242. "deliverygoodsid": {
  42243. "description": "品种ID",
  42244. "type": "integer"
  42245. },
  42246. "deliverygoodsname": {
  42247. "description": "品种名称",
  42248. "type": "string"
  42249. },
  42250. "deliverymonth": {
  42251. "description": "交收月",
  42252. "type": "string"
  42253. },
  42254. "enumdicname": {
  42255. "description": "单位名称",
  42256. "type": "string"
  42257. },
  42258. "fixedprice": {
  42259. "description": "买(卖)价",
  42260. "type": "number"
  42261. },
  42262. "goodscode": {
  42263. "description": "商品合约代码",
  42264. "type": "string"
  42265. },
  42266. "marginflag": {
  42267. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  42268. "type": "integer"
  42269. },
  42270. "marginvalue": {
  42271. "description": "保证金设置值",
  42272. "type": "number"
  42273. },
  42274. "minivalue": {
  42275. "description": "现货商品最小变动值",
  42276. "type": "integer"
  42277. },
  42278. "orderqty": {
  42279. "description": "买(卖)量(=委托量-成交量)",
  42280. "type": "number"
  42281. },
  42282. "ordertime": {
  42283. "description": "委托时间",
  42284. "type": "string"
  42285. },
  42286. "performancetemplateid": {
  42287. "description": "履约模板id",
  42288. "type": "integer"
  42289. },
  42290. "pricemove": {
  42291. "description": "买(卖)升贴水- 基差",
  42292. "type": "number"
  42293. },
  42294. "templatename": {
  42295. "description": "履约模板名称",
  42296. "type": "string"
  42297. },
  42298. "userid": {
  42299. "description": "购买方(销售方)用户ID",
  42300. "type": "integer"
  42301. },
  42302. "username": {
  42303. "description": "购买方(销售方)",
  42304. "type": "string"
  42305. },
  42306. "validtime": {
  42307. "description": "有效期限",
  42308. "type": "string"
  42309. },
  42310. "validtype": {
  42311. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  42312. "type": "integer"
  42313. },
  42314. "warehousename": {
  42315. "description": "仓库名称",
  42316. "type": "string"
  42317. },
  42318. "wrfactortypeid": {
  42319. "description": "仓单要素id",
  42320. "type": "string"
  42321. },
  42322. "wrstandardcode": {
  42323. "description": "现货商品代码",
  42324. "type": "string"
  42325. },
  42326. "wrstandardid": {
  42327. "description": "现货商品ID",
  42328. "type": "integer"
  42329. },
  42330. "wrstandardname": {
  42331. "description": "商品名称",
  42332. "type": "string"
  42333. },
  42334. "wrtradeorderid": {
  42335. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42336. "type": "string"
  42337. },
  42338. "wrtypename": {
  42339. "description": "商品",
  42340. "type": "string"
  42341. }
  42342. }
  42343. },
  42344. "models.WrReckonSpotGoodsTradeSum": {
  42345. "type": "object",
  42346. "properties": {
  42347. "begindate": {
  42348. "description": "开始日期(结果含开始日期) yyyymmdd",
  42349. "type": "string"
  42350. },
  42351. "enddate": {
  42352. "description": "结束日期(结果含结束日期) yyyymmdd",
  42353. "type": "string"
  42354. },
  42355. "istoday": {
  42356. "description": "是否当日",
  42357. "type": "boolean"
  42358. },
  42359. "marketid": {
  42360. "description": "市场ID",
  42361. "type": "integer"
  42362. },
  42363. "price": {
  42364. "description": "价格 = 日成交金额 / 日成交数量",
  42365. "type": "string"
  42366. },
  42367. "reckondate": {
  42368. "description": "日期 格式 yyyymmdd",
  42369. "type": "string"
  42370. },
  42371. "tradeamount": {
  42372. "description": "期初均价",
  42373. "type": "number"
  42374. },
  42375. "tradeqty": {
  42376. "description": "期初均价",
  42377. "type": "number"
  42378. },
  42379. "wrstandardid": {
  42380. "description": "现货商品ID",
  42381. "type": "integer"
  42382. }
  42383. }
  42384. },
  42385. "models.WrScfContract": {
  42386. "type": "object",
  42387. "properties": {
  42388. "borroweruserid": {
  42389. "description": "借款用户ID",
  42390. "type": "integer"
  42391. },
  42392. "buybackwrpositionqty": {
  42393. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  42394. "type": "number"
  42395. },
  42396. "closeinterest": {
  42397. "description": "已结利息 -\u003e 已结费用",
  42398. "type": "number"
  42399. },
  42400. "currisklevel": {
  42401. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  42402. "type": "integer"
  42403. },
  42404. "deadline": {
  42405. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  42406. "type": "string"
  42407. },
  42408. "deliverygoodscode": {
  42409. "description": "品种代码",
  42410. "type": "string"
  42411. },
  42412. "deliverygoodsid": {
  42413. "description": "品种ID",
  42414. "type": "integer"
  42415. },
  42416. "deliverygoodsname": {
  42417. "description": "品种名称",
  42418. "type": "string"
  42419. },
  42420. "enumdicname": {
  42421. "description": "单位名称",
  42422. "type": "string"
  42423. },
  42424. "financingdays": {
  42425. "description": "天数(天)",
  42426. "type": "integer"
  42427. },
  42428. "initmargin": {
  42429. "description": "保证金 - [仓单回购]",
  42430. "type": "number"
  42431. },
  42432. "interestamount": {
  42433. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  42434. "type": "number"
  42435. },
  42436. "interestdebt": {
  42437. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  42438. "type": "number"
  42439. },
  42440. "interestminlen": {
  42441. "description": "最小起息天数",
  42442. "type": "integer"
  42443. },
  42444. "interestrate": {
  42445. "description": "利率",
  42446. "type": "number"
  42447. },
  42448. "interestratemode": {
  42449. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42450. "type": "integer"
  42451. },
  42452. "interestsettlemode": {
  42453. "description": "结息方式 - 1:按日结息 3:按月结息",
  42454. "type": "integer"
  42455. },
  42456. "interestsettlevalue": {
  42457. "description": "结息方式值",
  42458. "type": "integer"
  42459. },
  42460. "isautoloan": {
  42461. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  42462. "type": "integer"
  42463. },
  42464. "lastcloseinterestday": {
  42465. "description": "最近结息日(yyyyMMdd)",
  42466. "type": "string"
  42467. },
  42468. "lenderamount": {
  42469. "description": "贷款金额 -\u003e 借款金额",
  42470. "type": "number"
  42471. },
  42472. "lenderuserid": {
  42473. "description": "贷款方用户ID -\u003e 融出方用户ID",
  42474. "type": "integer"
  42475. },
  42476. "lenderusername": {
  42477. "description": "融出方",
  42478. "type": "string"
  42479. },
  42480. "marginratio": {
  42481. "description": "保证金比率质押率 - [仓单质押]",
  42482. "type": "number"
  42483. },
  42484. "marketid": {
  42485. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  42486. "type": "integer"
  42487. },
  42488. "minivalue": {
  42489. "description": "现货商品最小变动值",
  42490. "type": "integer"
  42491. },
  42492. "optioncompare": {
  42493. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42494. "type": "string"
  42495. },
  42496. "pricemove": {
  42497. "description": "估值升贴水值",
  42498. "type": "number"
  42499. },
  42500. "productdetailid": {
  42501. "description": "产品组合ID",
  42502. "type": "integer"
  42503. },
  42504. "productid": {
  42505. "description": "金融产品ID",
  42506. "type": "integer"
  42507. },
  42508. "productname": {
  42509. "description": "产品名称",
  42510. "type": "string"
  42511. },
  42512. "remainamount": {
  42513. "description": "合同剩余金额 -\u003e 剩余金额",
  42514. "type": "number"
  42515. },
  42516. "remainwrpositionqty": {
  42517. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  42518. "type": "number"
  42519. },
  42520. "remark": {
  42521. "description": "备注",
  42522. "type": "string"
  42523. },
  42524. "scfcontractid": {
  42525. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  42526. "type": "string"
  42527. },
  42528. "scfcontractstatus": {
  42529. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  42530. "type": "integer"
  42531. },
  42532. "scfcontracttype": {
  42533. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  42534. "type": "integer"
  42535. },
  42536. "startinterestday": {
  42537. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  42538. "type": "string"
  42539. },
  42540. "totalinterest": {
  42541. "description": "已计利息 -\u003e 已计费用",
  42542. "type": "number"
  42543. },
  42544. "unpaidinterest": {
  42545. "description": "期初均价",
  42546. "type": "number"
  42547. },
  42548. "updatetime": {
  42549. "description": "更新时间",
  42550. "type": "string"
  42551. },
  42552. "warehouseid": {
  42553. "description": "仓库ID",
  42554. "type": "integer"
  42555. },
  42556. "warehousename": {
  42557. "description": "仓库名称",
  42558. "type": "string"
  42559. },
  42560. "wrfactortypeid": {
  42561. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42562. "type": "string"
  42563. },
  42564. "wrfactortypename": {
  42565. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42566. "type": "string"
  42567. },
  42568. "wrqty": {
  42569. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  42570. "type": "number"
  42571. },
  42572. "wrstandardcode": {
  42573. "description": "现货商品代码",
  42574. "type": "string"
  42575. },
  42576. "wrstandardid": {
  42577. "description": "现货商品ID",
  42578. "type": "integer"
  42579. },
  42580. "wrstandardname": {
  42581. "description": "商品名称",
  42582. "type": "string"
  42583. },
  42584. "wrtypename": {
  42585. "description": "商品",
  42586. "type": "string"
  42587. }
  42588. }
  42589. },
  42590. "models.WrScfContractInterest": {
  42591. "type": "object",
  42592. "properties": {
  42593. "closeinterest": {
  42594. "description": "已结利息",
  42595. "type": "number"
  42596. },
  42597. "closeintereststatus": {
  42598. "description": "结息状态 - 1:未结 2:已结",
  42599. "type": "integer"
  42600. },
  42601. "closetime": {
  42602. "description": "结息时间",
  42603. "type": "string"
  42604. },
  42605. "closetradedate": {
  42606. "description": "结息交易日",
  42607. "type": "string"
  42608. },
  42609. "creatorid": {
  42610. "description": "操作人ID",
  42611. "type": "integer"
  42612. },
  42613. "dayrate": {
  42614. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  42615. "type": "number"
  42616. },
  42617. "interest": {
  42618. "description": "利息",
  42619. "type": "number"
  42620. },
  42621. "interestamount": {
  42622. "description": "计息金额",
  42623. "type": "number"
  42624. },
  42625. "interestday": {
  42626. "description": "计息日(yyyyMMdd)",
  42627. "type": "string"
  42628. },
  42629. "scfcontractid": {
  42630. "description": "SCF合同ID",
  42631. "type": "string"
  42632. },
  42633. "scfcontractinterestid": {
  42634. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  42635. "type": "integer"
  42636. },
  42637. "updatetime": {
  42638. "description": "更新时间",
  42639. "type": "string"
  42640. }
  42641. }
  42642. },
  42643. "models.WrSearchUser": {
  42644. "type": "object",
  42645. "required": [
  42646. "username"
  42647. ],
  42648. "properties": {
  42649. "userid": {
  42650. "description": "用户ID",
  42651. "type": "integer"
  42652. },
  42653. "username": {
  42654. "description": "用户名称(已脱敏)",
  42655. "type": "string"
  42656. },
  42657. "username2": {
  42658. "description": "用户名称(未脱敏)",
  42659. "type": "string"
  42660. },
  42661. "usertype": {
  42662. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  42663. "type": "integer"
  42664. }
  42665. }
  42666. },
  42667. "models.WrSiteColumnDetail": {
  42668. "type": "object",
  42669. "properties": {
  42670. "brief": {
  42671. "description": "简介",
  42672. "type": "string"
  42673. },
  42674. "context": {
  42675. "description": "内容",
  42676. "type": "string"
  42677. },
  42678. "coverimage": {
  42679. "description": "封面图片",
  42680. "type": "string"
  42681. },
  42682. "creaedate": {
  42683. "description": "创建时间",
  42684. "type": "string"
  42685. },
  42686. "id": {
  42687. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  42688. "type": "integer"
  42689. },
  42690. "istop": {
  42691. "description": "是否置顶 - 0:不置 1:置顶",
  42692. "type": "integer"
  42693. },
  42694. "publishdate": {
  42695. "description": "发布日期",
  42696. "type": "string"
  42697. },
  42698. "title": {
  42699. "description": "标题",
  42700. "type": "string"
  42701. },
  42702. "updatedate": {
  42703. "description": "修改时间",
  42704. "type": "string"
  42705. }
  42706. }
  42707. },
  42708. "models.WrSpecialMatchOrder": {
  42709. "type": "object",
  42710. "properties": {
  42711. "amount": {
  42712. "description": "金额 = 数量 * 价格",
  42713. "type": "number"
  42714. },
  42715. "buyorsell": {
  42716. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42717. "type": "integer"
  42718. },
  42719. "cancelqty": {
  42720. "description": "撤销数量",
  42721. "type": "number"
  42722. },
  42723. "deliverygoodscode": {
  42724. "description": "品种代码",
  42725. "type": "string"
  42726. },
  42727. "deliverygoodsid": {
  42728. "description": "品种ID",
  42729. "type": "integer"
  42730. },
  42731. "deliverygoodsname": {
  42732. "description": "品种名称",
  42733. "type": "string"
  42734. },
  42735. "enumdicname": {
  42736. "description": "单位名称",
  42737. "type": "string"
  42738. },
  42739. "fixedprice": {
  42740. "description": "固定价格(价格)",
  42741. "type": "number"
  42742. },
  42743. "haswr": {
  42744. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42745. "type": "integer"
  42746. },
  42747. "isspecified": {
  42748. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  42749. "type": "integer"
  42750. },
  42751. "marketid": {
  42752. "description": "市场ID",
  42753. "type": "integer"
  42754. },
  42755. "matchuserid": {
  42756. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  42757. "type": "integer"
  42758. },
  42759. "matchusername": {
  42760. "description": "指定方",
  42761. "type": "string"
  42762. },
  42763. "minivalue": {
  42764. "description": "现货商品最小变动值",
  42765. "type": "integer"
  42766. },
  42767. "optioncompare": {
  42768. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42769. "type": "string"
  42770. },
  42771. "orderqty": {
  42772. "description": "委托数量",
  42773. "type": "number"
  42774. },
  42775. "ordertime": {
  42776. "description": "委托时间",
  42777. "type": "string"
  42778. },
  42779. "pricemove": {
  42780. "description": "升贴水(浮动价时填写) - [挂牌]",
  42781. "type": "number"
  42782. },
  42783. "tradedate": {
  42784. "description": "交易日(yyyyMMdd)",
  42785. "type": "string"
  42786. },
  42787. "tradeprice": {
  42788. "description": "成交价格",
  42789. "type": "number"
  42790. },
  42791. "tradeqty": {
  42792. "description": "成交数量",
  42793. "type": "number"
  42794. },
  42795. "userid": {
  42796. "description": "用户ID",
  42797. "type": "integer"
  42798. },
  42799. "username": {
  42800. "description": "发起方",
  42801. "type": "string"
  42802. },
  42803. "warehouseid": {
  42804. "description": "仓库ID",
  42805. "type": "integer"
  42806. },
  42807. "warehousename": {
  42808. "description": "仓库名称",
  42809. "type": "string"
  42810. },
  42811. "wrfactortypeid": {
  42812. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42813. "type": "string"
  42814. },
  42815. "wrfactortypename": {
  42816. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42817. "type": "string"
  42818. },
  42819. "wrpricetype": {
  42820. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  42821. "type": "integer"
  42822. },
  42823. "wrstandardcode": {
  42824. "description": "现货商品代码",
  42825. "type": "string"
  42826. },
  42827. "wrstandardid": {
  42828. "description": "现货商品ID",
  42829. "type": "integer"
  42830. },
  42831. "wrstandardname": {
  42832. "description": "商品名称",
  42833. "type": "string"
  42834. },
  42835. "wrtradeorderid": {
  42836. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42837. "type": "string"
  42838. },
  42839. "wrtradeorderstatus": {
  42840. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  42841. "type": "integer"
  42842. },
  42843. "wrtradetype": {
  42844. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42845. "type": "integer"
  42846. },
  42847. "wrtypename": {
  42848. "description": "商品",
  42849. "type": "string"
  42850. }
  42851. }
  42852. },
  42853. "models.WrSpotGroupTradeSum": {
  42854. "type": "object",
  42855. "properties": {
  42856. "deliverygoodscode": {
  42857. "description": "现货品种代码",
  42858. "type": "string"
  42859. },
  42860. "deliverygoodsid": {
  42861. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  42862. "type": "integer"
  42863. },
  42864. "deliverygoodsname": {
  42865. "description": "现货品种名称",
  42866. "type": "string"
  42867. },
  42868. "lastavgprice": {
  42869. "description": "上上个交易日价格(前2天价格)",
  42870. "type": "string"
  42871. },
  42872. "lastreckondate": {
  42873. "description": "上上个交易日(前2天交易日)",
  42874. "type": "string"
  42875. },
  42876. "reckondate": {
  42877. "description": "上个交易日(前1天交易日)",
  42878. "type": "string"
  42879. },
  42880. "todayavgprice": {
  42881. "description": "上个交易日价格(前1天价格)",
  42882. "type": "string"
  42883. },
  42884. "updown": {
  42885. "description": "涨跌",
  42886. "type": "string"
  42887. },
  42888. "updownratio": {
  42889. "description": "涨幅(已格式化, 直接显示即可)",
  42890. "type": "string"
  42891. }
  42892. }
  42893. },
  42894. "models.WrSpotGroupTradeSumDetail": {
  42895. "type": "object",
  42896. "properties": {
  42897. "deliverygoodsid": {
  42898. "description": "现货商品id",
  42899. "type": "integer"
  42900. },
  42901. "price": {
  42902. "description": "价格",
  42903. "type": "number"
  42904. },
  42905. "reckondate": {
  42906. "description": "日期(yyymmdd, 如:20211031)",
  42907. "type": "string"
  42908. }
  42909. }
  42910. },
  42911. "models.WrSpotGroupTradeSumEx": {
  42912. "type": "object",
  42913. "properties": {
  42914. "lst": {
  42915. "description": "指数列表",
  42916. "type": "array",
  42917. "items": {
  42918. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  42919. }
  42920. },
  42921. "prereckondate": {
  42922. "description": "上上个交易日(yyymmdd)",
  42923. "type": "string"
  42924. },
  42925. "reckondate": {
  42926. "description": "上个交易日(yyyymmdd)",
  42927. "type": "string"
  42928. }
  42929. }
  42930. },
  42931. "models.WrStandardFactoryItem": {
  42932. "type": "object",
  42933. "properties": {
  42934. "dgfactoryitemid": {
  42935. "description": "选择项id",
  42936. "type": "integer"
  42937. },
  42938. "dgfactoryitemvalue": {
  42939. "description": "要素项值",
  42940. "type": "string"
  42941. },
  42942. "warehouseid": {
  42943. "description": "仓库id",
  42944. "type": "integer"
  42945. }
  42946. }
  42947. },
  42948. "models.WrStandardFactoryItemEx": {
  42949. "type": "object",
  42950. "properties": {
  42951. "dgfactoryitemtypeid": {
  42952. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  42953. "type": "integer"
  42954. },
  42955. "itemlst": {
  42956. "description": "要素项列表",
  42957. "type": "array",
  42958. "items": {
  42959. "$ref": "#/definitions/models.WrStandardFactoryItem"
  42960. }
  42961. },
  42962. "itemtypename": {
  42963. "description": "要素项类型名称",
  42964. "type": "string"
  42965. },
  42966. "wrstandardid": {
  42967. "description": "品类",
  42968. "type": "integer"
  42969. }
  42970. }
  42971. },
  42972. "models.WrTradeDetail": {
  42973. "type": "object",
  42974. "properties": {
  42975. "accountid": {
  42976. "description": "资金账号",
  42977. "type": "integer"
  42978. },
  42979. "bannerpicurl": {
  42980. "description": "Banner图",
  42981. "type": "string"
  42982. },
  42983. "begindate": {
  42984. "description": "开始交易日(yyyymmdd)",
  42985. "type": "string"
  42986. },
  42987. "buyorsell": {
  42988. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42989. "type": "integer"
  42990. },
  42991. "chargevalue": {
  42992. "description": "手续费",
  42993. "type": "number"
  42994. },
  42995. "deliverygoodscode": {
  42996. "description": "品种代码",
  42997. "type": "string"
  42998. },
  42999. "deliverygoodsid": {
  43000. "description": "品种ID",
  43001. "type": "integer"
  43002. },
  43003. "deliverygoodsname": {
  43004. "description": "品种名称",
  43005. "type": "string"
  43006. },
  43007. "deliverymonth": {
  43008. "description": "交收月",
  43009. "type": "string"
  43010. },
  43011. "enddate": {
  43012. "description": "结束交易日(yyyymmdd)",
  43013. "type": "string"
  43014. },
  43015. "enumdicname": {
  43016. "description": "单位名称",
  43017. "type": "string"
  43018. },
  43019. "haswr": {
  43020. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  43021. "type": "integer"
  43022. },
  43023. "marketid": {
  43024. "description": "市场ID",
  43025. "type": "integer"
  43026. },
  43027. "matchaccountid": {
  43028. "description": "对手账号",
  43029. "type": "integer"
  43030. },
  43031. "matchusername": {
  43032. "description": "对手方",
  43033. "type": "string"
  43034. },
  43035. "minivalue": {
  43036. "description": "现货商品最小变动值",
  43037. "type": "integer"
  43038. },
  43039. "optioncompare": {
  43040. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43041. "type": "string"
  43042. },
  43043. "thumurls": {
  43044. "description": "缩略图",
  43045. "type": "string"
  43046. },
  43047. "tradedate": {
  43048. "description": "交易日(yyyyMMdd)",
  43049. "type": "string"
  43050. },
  43051. "tradeprice": {
  43052. "description": "成交价格",
  43053. "type": "number"
  43054. },
  43055. "tradeqty": {
  43056. "description": "成交数量",
  43057. "type": "number"
  43058. },
  43059. "tradetime": {
  43060. "description": "成交时间",
  43061. "type": "string"
  43062. },
  43063. "userid": {
  43064. "description": "用户ID",
  43065. "type": "integer"
  43066. },
  43067. "warehouseid": {
  43068. "description": "仓库ID",
  43069. "type": "integer"
  43070. },
  43071. "warehousename": {
  43072. "description": "仓库名称",
  43073. "type": "string"
  43074. },
  43075. "wrfactortypeid": {
  43076. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43077. "type": "string"
  43078. },
  43079. "wrfactortypename": {
  43080. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43081. "type": "string"
  43082. },
  43083. "wrstandardcode": {
  43084. "description": "现货商品代码",
  43085. "type": "string"
  43086. },
  43087. "wrstandardid": {
  43088. "description": "现货商品ID",
  43089. "type": "integer"
  43090. },
  43091. "wrstandardname": {
  43092. "description": "商品名称",
  43093. "type": "string"
  43094. },
  43095. "wrtradedetailid": {
  43096. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  43097. "type": "string"
  43098. },
  43099. "wrtradetype": {
  43100. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  43101. "type": "integer"
  43102. },
  43103. "wrtypename": {
  43104. "description": "商品",
  43105. "type": "string"
  43106. }
  43107. }
  43108. },
  43109. "models.WrTradeOrderDetail": {
  43110. "type": "object",
  43111. "properties": {
  43112. "buyorsell": {
  43113. "description": "买卖方向 0-买 1-卖",
  43114. "type": "integer"
  43115. },
  43116. "goodsid": {
  43117. "description": "商品id",
  43118. "type": "integer"
  43119. },
  43120. "orderid": {
  43121. "description": "委托单号",
  43122. "type": "string"
  43123. },
  43124. "orderprice": {
  43125. "description": "期初均价",
  43126. "type": "number"
  43127. },
  43128. "orderqty": {
  43129. "description": "委托数量",
  43130. "type": "integer"
  43131. },
  43132. "userid": {
  43133. "description": "用户id",
  43134. "type": "integer"
  43135. },
  43136. "username": {
  43137. "description": "用户名称(已脱敏)",
  43138. "type": "string"
  43139. }
  43140. }
  43141. },
  43142. "models.WrTypeItem": {
  43143. "type": "object",
  43144. "properties": {
  43145. "name": {
  43146. "description": "名称",
  43147. "type": "string"
  43148. },
  43149. "value": {
  43150. "description": "值",
  43151. "type": "string"
  43152. }
  43153. }
  43154. },
  43155. "models.WrUserFriend": {
  43156. "type": "object",
  43157. "properties": {
  43158. "friendname": {
  43159. "description": "朋友名称(已脱敏)",
  43160. "type": "string"
  43161. },
  43162. "frienduserid": {
  43163. "description": "朋友id",
  43164. "type": "integer"
  43165. },
  43166. "isfriend": {
  43167. "description": "是否好友 0-不是 1-是",
  43168. "type": "integer"
  43169. },
  43170. "userid": {
  43171. "description": "用户id",
  43172. "type": "integer"
  43173. }
  43174. }
  43175. },
  43176. "models.WrUserReceiptInfo": {
  43177. "type": "object",
  43178. "properties": {
  43179. "address": {
  43180. "description": "地址[发票类型:企业]",
  43181. "type": "string"
  43182. },
  43183. "autoid": {
  43184. "description": "AutoID",
  43185. "type": "integer"
  43186. },
  43187. "contactinfo": {
  43188. "description": "联系方式",
  43189. "type": "string"
  43190. },
  43191. "idnum": {
  43192. "description": "身份证号码[发票类型:个人]",
  43193. "type": "string"
  43194. },
  43195. "isdefault": {
  43196. "description": "是否默认地址 - 0:否 1:是",
  43197. "type": "integer"
  43198. },
  43199. "receiptaccount": {
  43200. "description": "发票帐号[发票类型:企业]",
  43201. "type": "string"
  43202. },
  43203. "receiptbank": {
  43204. "description": "发票开户行[发票类型:企业]",
  43205. "type": "string"
  43206. },
  43207. "receipttype": {
  43208. "description": "发票类型 - 1:个人 2:企业",
  43209. "type": "integer"
  43210. },
  43211. "taxpayerid": {
  43212. "description": "纳税人识别号",
  43213. "type": "string"
  43214. },
  43215. "userid": {
  43216. "description": "用户ID",
  43217. "type": "integer"
  43218. },
  43219. "username": {
  43220. "description": "户名(个人姓名或企业名称)",
  43221. "type": "string"
  43222. }
  43223. }
  43224. },
  43225. "models.Wrtradetradequote": {
  43226. "type": "object",
  43227. "properties": {
  43228. "begindate": {
  43229. "description": "开始日期(结果含开始日期) yyyymmdd",
  43230. "type": "string"
  43231. },
  43232. "buyaccountid": {
  43233. "description": "买方账号ID",
  43234. "type": "integer"
  43235. },
  43236. "buyuserid": {
  43237. "description": "买方用户ID",
  43238. "type": "integer"
  43239. },
  43240. "deliverygoodsid": {
  43241. "description": "现货品种ID",
  43242. "type": "integer"
  43243. },
  43244. "enddate": {
  43245. "description": "结束日期(结果含结束日期) yyyymmdd",
  43246. "type": "string"
  43247. },
  43248. "marketid": {
  43249. "description": "市场ID",
  43250. "type": "integer"
  43251. },
  43252. "sellaccountid": {
  43253. "description": "卖方账号ID",
  43254. "type": "integer"
  43255. },
  43256. "selluserid": {
  43257. "description": "卖方用户ID",
  43258. "type": "integer"
  43259. },
  43260. "tradeamount": {
  43261. "description": "成交金额",
  43262. "type": "number"
  43263. },
  43264. "tradedate": {
  43265. "description": "交易日(yyyyMMdd)",
  43266. "type": "string"
  43267. },
  43268. "tradeprice": {
  43269. "description": "成交价格",
  43270. "type": "number"
  43271. },
  43272. "tradeqty": {
  43273. "description": "成交数量",
  43274. "type": "integer"
  43275. },
  43276. "tradetime": {
  43277. "description": "成交时间",
  43278. "type": "string"
  43279. },
  43280. "wrfactortypeid": {
  43281. "description": "仓单要素类型ID",
  43282. "type": "integer"
  43283. },
  43284. "wrstandardid": {
  43285. "description": "现货商品ID",
  43286. "type": "integer"
  43287. },
  43288. "wrtradedetailid": {
  43289. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  43290. "type": "string"
  43291. }
  43292. }
  43293. },
  43294. "models.XHBRAND": {
  43295. "type": "object",
  43296. "properties": {
  43297. "brandid": {
  43298. "description": "品牌id",
  43299. "type": "integer"
  43300. },
  43301. "brandname": {
  43302. "description": "品牌名称",
  43303. "type": "string"
  43304. },
  43305. "isvalid": {
  43306. "description": "是否有效 0-无效 1-有效",
  43307. "type": "integer"
  43308. }
  43309. }
  43310. },
  43311. "models.XHDeliveryGoods": {
  43312. "type": "object",
  43313. "properties": {
  43314. "areauserid": {
  43315. "description": "所属机构",
  43316. "type": "integer"
  43317. },
  43318. "bdlst": {
  43319. "description": "品牌列表",
  43320. "type": "array",
  43321. "items": {
  43322. "$ref": "#/definitions/models.XHBRAND"
  43323. }
  43324. },
  43325. "deliverygoodscode": {
  43326. "description": "现货品种代码",
  43327. "type": "string"
  43328. },
  43329. "deliverygoodsid": {
  43330. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  43331. "type": "integer"
  43332. },
  43333. "deliverygoodsname": {
  43334. "description": "现货品种名称",
  43335. "type": "string"
  43336. },
  43337. "dgstatus": {
  43338. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  43339. "type": "integer"
  43340. },
  43341. "filterSubEmpty": {
  43342. "description": "过滤下级为空的",
  43343. "type": "integer"
  43344. },
  43345. "isvalid": {
  43346. "description": "是否有效 - 0:无效 1:有效",
  43347. "type": "integer"
  43348. },
  43349. "remark": {
  43350. "description": "备注",
  43351. "type": "string"
  43352. },
  43353. "unitid": {
  43354. "description": "单位id(目前看,数据库中是空值)",
  43355. "type": "integer"
  43356. },
  43357. "wdlst": {
  43358. "description": "品类(现货商品)列表",
  43359. "type": "array",
  43360. "items": {
  43361. "$ref": "#/definitions/models.XHWrstandard"
  43362. }
  43363. }
  43364. }
  43365. },
  43366. "models.XHMiddleGoods": {
  43367. "type": "object",
  43368. "properties": {
  43369. "GPLST": {
  43370. "description": "期货品种列表",
  43371. "type": "array",
  43372. "items": {
  43373. "$ref": "#/definitions/models.TBGoodsGroup"
  43374. }
  43375. },
  43376. "convertratio": {
  43377. "description": "拆算系数",
  43378. "type": "number"
  43379. },
  43380. "costratio": {
  43381. "description": "成本权重",
  43382. "type": "number"
  43383. },
  43384. "deliverygoodsid": {
  43385. "description": "现货商品id",
  43386. "type": "integer"
  43387. },
  43388. "enumdicname": {
  43389. "description": "单位名称",
  43390. "type": "string"
  43391. },
  43392. "middlegoodscode": {
  43393. "description": "套保品种代码",
  43394. "type": "string"
  43395. },
  43396. "middlegoodsid": {
  43397. "description": "套保品种id",
  43398. "type": "integer"
  43399. },
  43400. "middlegoodsname": {
  43401. "description": "套保品种名称",
  43402. "type": "string"
  43403. },
  43404. "unitid": {
  43405. "description": "单位id",
  43406. "type": "integer"
  43407. }
  43408. }
  43409. },
  43410. "models.XHWrstandard": {
  43411. "type": "object",
  43412. "properties": {
  43413. "bannerpicurl": {
  43414. "description": "banner图",
  43415. "type": "string"
  43416. },
  43417. "deliverygoodsid": {
  43418. "description": "品种ID",
  43419. "type": "integer"
  43420. },
  43421. "enumdicname": {
  43422. "description": "单位名称",
  43423. "type": "string"
  43424. },
  43425. "mglst": {
  43426. "description": "套保品列表",
  43427. "type": "array",
  43428. "items": {
  43429. "$ref": "#/definitions/models.XHMiddleGoods"
  43430. }
  43431. },
  43432. "pictureurls": {
  43433. "description": "详情图片(逗号分隔)",
  43434. "type": "string"
  43435. },
  43436. "thumurls": {
  43437. "description": "缩略图片(1:1)(逗号分隔)",
  43438. "type": "string"
  43439. },
  43440. "unitid": {
  43441. "description": "单位id",
  43442. "type": "integer"
  43443. },
  43444. "vatrate": {
  43445. "description": "增值税率",
  43446. "type": "number"
  43447. },
  43448. "wrstandardcode": {
  43449. "description": "现货商品代码",
  43450. "type": "string"
  43451. },
  43452. "wrstandardid": {
  43453. "description": "现货商品ID(SEQ_WRSTANDARD)",
  43454. "type": "integer"
  43455. },
  43456. "wrstandardname": {
  43457. "description": "现货商品名称",
  43458. "type": "string"
  43459. }
  43460. }
  43461. },
  43462. "models.XhcpSellBackApplyEx": {
  43463. "type": "object",
  43464. "required": [
  43465. "userid"
  43466. ],
  43467. "properties": {
  43468. "applyremark": {
  43469. "description": "申请备注",
  43470. "type": "string"
  43471. },
  43472. "expirytype": {
  43473. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43474. "type": "integer"
  43475. },
  43476. "goodsspec": {
  43477. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43478. "type": "integer"
  43479. },
  43480. "holeflag": {
  43481. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43482. "type": "integer"
  43483. },
  43484. "isunopened": {
  43485. "description": "是否原封 - 1:否 2:是",
  43486. "type": "integer"
  43487. },
  43488. "mpflag": {
  43489. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43490. "type": "integer"
  43491. },
  43492. "openflag": {
  43493. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43494. "type": "integer"
  43495. },
  43496. "phonenum": {
  43497. "description": "联系电话",
  43498. "type": "string"
  43499. },
  43500. "userid": {
  43501. "description": "所属用户ID",
  43502. "type": "integer"
  43503. },
  43504. "zpflag": {
  43505. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43506. "type": "integer"
  43507. }
  43508. }
  43509. },
  43510. "models.Xhcpsellbackapply": {
  43511. "type": "object",
  43512. "required": [
  43513. "userid"
  43514. ],
  43515. "properties": {
  43516. "applyid": {
  43517. "description": "申请人",
  43518. "type": "integer"
  43519. },
  43520. "applyremark": {
  43521. "description": "申请备注",
  43522. "type": "string"
  43523. },
  43524. "applysrc": {
  43525. "description": "申请来源 - 1:管理端 2:终端",
  43526. "type": "integer"
  43527. },
  43528. "applystatus": {
  43529. "description": "申请状态 - 1:待确认 2:已处理",
  43530. "type": "integer"
  43531. },
  43532. "applytime": {
  43533. "description": "申请时间",
  43534. "type": "string"
  43535. },
  43536. "auditremark": {
  43537. "description": "审核备注",
  43538. "type": "string"
  43539. },
  43540. "auditsrc": {
  43541. "description": "审核来源 - 1:管理端 2:终端",
  43542. "type": "integer"
  43543. },
  43544. "expirytype": {
  43545. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43546. "type": "integer"
  43547. },
  43548. "goodsspec": {
  43549. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43550. "type": "integer"
  43551. },
  43552. "holeflag": {
  43553. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43554. "type": "integer"
  43555. },
  43556. "isunopened": {
  43557. "description": "是否原封 - 1:否 2:是",
  43558. "type": "integer"
  43559. },
  43560. "mpflag": {
  43561. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43562. "type": "integer"
  43563. },
  43564. "openflag": {
  43565. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43566. "type": "integer"
  43567. },
  43568. "phonenum": {
  43569. "description": "联系电话",
  43570. "type": "string"
  43571. },
  43572. "sellbackapplyid": {
  43573. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  43574. "type": "string"
  43575. },
  43576. "userid": {
  43577. "description": "所属用户ID",
  43578. "type": "integer"
  43579. },
  43580. "zpflag": {
  43581. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43582. "type": "integer"
  43583. }
  43584. }
  43585. },
  43586. "order.QueryHisTradeDetailRsp": {
  43587. "type": "object",
  43588. "required": [
  43589. "accountid",
  43590. "buyorsell",
  43591. "goodsid",
  43592. "histradedate",
  43593. "marketid",
  43594. "memberuserid",
  43595. "orderid",
  43596. "tradeamount",
  43597. "tradedate",
  43598. "tradeid",
  43599. "tradeprice",
  43600. "tradeqty",
  43601. "tradetime"
  43602. ],
  43603. "properties": {
  43604. "accountid": {
  43605. "description": "账户ID[报价币种]",
  43606. "type": "integer"
  43607. },
  43608. "advanceratio": {
  43609. "description": "首付比率",
  43610. "type": "number"
  43611. },
  43612. "buildtype": {
  43613. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  43614. "type": "integer"
  43615. },
  43616. "buyorsell": {
  43617. "description": "方向 - 0:买 1:卖",
  43618. "type": "integer"
  43619. },
  43620. "charge": {
  43621. "description": "手续费",
  43622. "type": "number"
  43623. },
  43624. "closecharge": {
  43625. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43626. "type": "number"
  43627. },
  43628. "closeexchagechargevalue": {
  43629. "description": "平仓交易所手续费设置值",
  43630. "type": "number"
  43631. },
  43632. "closefeealgorithm": {
  43633. "description": "平仓手续费收取方式 1:比率 2:固定",
  43634. "type": "integer"
  43635. },
  43636. "closememberchargevalue": {
  43637. "description": "平仓会员手续费设置值",
  43638. "type": "number"
  43639. },
  43640. "closepl": {
  43641. "description": "平仓盈亏",
  43642. "type": "number"
  43643. },
  43644. "closepl2": {
  43645. "description": "平仓盈亏[逐笔]",
  43646. "type": "number"
  43647. },
  43648. "closeqty": {
  43649. "description": "平仓数量(先建后平操作 需要记录)",
  43650. "type": "number"
  43651. },
  43652. "creditamount": {
  43653. "description": "授信金额",
  43654. "type": "number"
  43655. },
  43656. "decimalplace": {
  43657. "description": "商品报价小数位",
  43658. "type": "integer"
  43659. },
  43660. "enumdicname": {
  43661. "description": "单位名称",
  43662. "type": "string"
  43663. },
  43664. "gcaccountid": {
  43665. "description": "账户ID[合约币种]",
  43666. "type": "integer"
  43667. },
  43668. "goodscode": {
  43669. "description": "商品代码",
  43670. "type": "string"
  43671. },
  43672. "goodsid": {
  43673. "description": "商品ID",
  43674. "type": "integer"
  43675. },
  43676. "goodsname": {
  43677. "description": "商品名称",
  43678. "type": "string"
  43679. },
  43680. "goodunitid": {
  43681. "description": "商品单位id",
  43682. "type": "integer"
  43683. },
  43684. "histradedate": {
  43685. "description": "历史交易日",
  43686. "type": "string"
  43687. },
  43688. "intclosepl": {
  43689. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  43690. "type": "integer"
  43691. },
  43692. "isconfirmexercise": {
  43693. "description": "是否确认行权- 0:否 1:是",
  43694. "type": "integer"
  43695. },
  43696. "ismain": {
  43697. "description": "是否主单 - 0:不是 1:是",
  43698. "type": "integer"
  43699. },
  43700. "ispreexercise": {
  43701. "description": "是否预申报- 0:否 1:是",
  43702. "type": "integer"
  43703. },
  43704. "isreckoned": {
  43705. "description": "是否结算 - 0:未结算 1:已结算",
  43706. "type": "integer"
  43707. },
  43708. "isvaliddata": {
  43709. "description": "是否有效 - 0:无效 1:有效",
  43710. "type": "integer"
  43711. },
  43712. "listingselecttype": {
  43713. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43714. "type": "integer"
  43715. },
  43716. "marketid": {
  43717. "description": "市场ID",
  43718. "type": "integer"
  43719. },
  43720. "marketname": {
  43721. "description": "市场名称",
  43722. "type": "string"
  43723. },
  43724. "matchaccountid": {
  43725. "description": "对手账号id",
  43726. "type": "integer"
  43727. },
  43728. "memberuserid": {
  43729. "description": "会员id 个人投资者 需要填写",
  43730. "type": "integer"
  43731. },
  43732. "opencharge": {
  43733. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43734. "type": "number"
  43735. },
  43736. "openexchagechargevalue": {
  43737. "description": "建仓交易所手续费设置值",
  43738. "type": "number"
  43739. },
  43740. "openfeealgorithm": {
  43741. "description": "建仓手续费收取方式 1:比率 2:固定",
  43742. "type": "integer"
  43743. },
  43744. "openmemberchargevalue": {
  43745. "description": "建仓会员手续费设置值",
  43746. "type": "number"
  43747. },
  43748. "openqty": {
  43749. "description": "开仓数量(先建后平操作 需要记录)",
  43750. "type": "number"
  43751. },
  43752. "optiontype": {
  43753. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43754. "type": "integer"
  43755. },
  43756. "orderid": {
  43757. "description": "委托单号",
  43758. "type": "string"
  43759. },
  43760. "payamount": {
  43761. "description": "支付金额(付款金额)",
  43762. "type": "number"
  43763. },
  43764. "performanceplanid": {
  43765. "description": "履约计划ID[期权]",
  43766. "type": "integer"
  43767. },
  43768. "performancestatus": {
  43769. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  43770. "type": "integer"
  43771. },
  43772. "preexerciseprice": {
  43773. "description": "预申报价格",
  43774. "type": "number"
  43775. },
  43776. "premium": {
  43777. "description": "权利金 - [持仓单的权利金]",
  43778. "type": "number"
  43779. },
  43780. "qtydecimalplace": {
  43781. "description": "商品报价小数位",
  43782. "type": "integer"
  43783. },
  43784. "recvamount": {
  43785. "description": "到账金额 = 成交金额 - 手续费",
  43786. "type": "number"
  43787. },
  43788. "relatedouttradeid": {
  43789. "description": "关联外部成交单ID",
  43790. "type": "integer"
  43791. },
  43792. "status": {
  43793. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  43794. "type": "integer"
  43795. },
  43796. "totalamount": {
  43797. "description": "订单总额 = 成交金额 + 手续费",
  43798. "type": "number"
  43799. },
  43800. "tradeamount": {
  43801. "description": "成交金额[账户币种,用于所有权]",
  43802. "type": "number"
  43803. },
  43804. "tradedate": {
  43805. "description": "交易日(yyyyMMdd)",
  43806. "type": "string"
  43807. },
  43808. "tradeid": {
  43809. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43810. "type": "string"
  43811. },
  43812. "trademode": {
  43813. "description": "交易模式",
  43814. "type": "integer"
  43815. },
  43816. "tradeprice": {
  43817. "description": "成交价格",
  43818. "type": "number"
  43819. },
  43820. "tradeproperty": {
  43821. "description": "交易属性",
  43822. "type": "integer"
  43823. },
  43824. "tradeqty": {
  43825. "description": "成交数量",
  43826. "type": "number"
  43827. },
  43828. "tradetime": {
  43829. "description": "成交时间",
  43830. "type": "string"
  43831. },
  43832. "tradetype": {
  43833. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  43834. "type": "integer"
  43835. }
  43836. }
  43837. },
  43838. "order.QueryHisTradeOrderDetailRsp": {
  43839. "type": "object",
  43840. "required": [
  43841. "accountid",
  43842. "buildtype",
  43843. "buyorsell",
  43844. "goodsid",
  43845. "histradedate",
  43846. "marketid",
  43847. "memberuserid",
  43848. "operatetype",
  43849. "orderid",
  43850. "orderqty",
  43851. "ordertime",
  43852. "pricemode",
  43853. "tradedate",
  43854. "validtype"
  43855. ],
  43856. "properties": {
  43857. "accountid": {
  43858. "description": "账户ID[报价币种]",
  43859. "type": "integer"
  43860. },
  43861. "buildtype": {
  43862. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  43863. "type": "integer"
  43864. },
  43865. "buyorsell": {
  43866. "description": "买卖 - 0:买 1:卖",
  43867. "type": "integer"
  43868. },
  43869. "cancelorderid": {
  43870. "description": "撤单单号(撤单时填写)",
  43871. "type": "string"
  43872. },
  43873. "cancelqty": {
  43874. "description": "撤单数量",
  43875. "type": "number"
  43876. },
  43877. "clientordertime": {
  43878. "description": "客户端委托时间",
  43879. "type": "string"
  43880. },
  43881. "clientticket": {
  43882. "description": "客户端流水号",
  43883. "type": "string"
  43884. },
  43885. "clienttype": {
  43886. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  43887. "type": "integer"
  43888. },
  43889. "closeexchagechargevalue": {
  43890. "description": "平仓交易所手续费设置值",
  43891. "type": "number"
  43892. },
  43893. "closefeealgorithm": {
  43894. "description": "平仓手续费收取方式 1:比率 2:固定",
  43895. "type": "integer"
  43896. },
  43897. "closefreezecharge": {
  43898. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  43899. "type": "number"
  43900. },
  43901. "closememberchargevalue": {
  43902. "description": "平仓会员手续费设置值",
  43903. "type": "number"
  43904. },
  43905. "closeqty": {
  43906. "description": "平仓数量(先建后平操作 需要记录)",
  43907. "type": "number"
  43908. },
  43909. "closetradeqty": {
  43910. "description": "平仓成交数量(先建后平操作,需要记录)",
  43911. "type": "number"
  43912. },
  43913. "closeunfreezecharge": {
  43914. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  43915. "type": "number"
  43916. },
  43917. "decimalplace": {
  43918. "description": "商品报价小数位",
  43919. "type": "integer"
  43920. },
  43921. "delistingtype": {
  43922. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  43923. "type": "integer"
  43924. },
  43925. "enumdicname": {
  43926. "description": "单位名称",
  43927. "type": "string"
  43928. },
  43929. "freezecharge": {
  43930. "description": "冻结手续费",
  43931. "type": "number"
  43932. },
  43933. "freezemargin": {
  43934. "description": "冻结保证金(冻结交易金额)",
  43935. "type": "number"
  43936. },
  43937. "gcaccountid": {
  43938. "description": "账户ID[合约币种]",
  43939. "type": "integer"
  43940. },
  43941. "goodscode": {
  43942. "description": "商品代码",
  43943. "type": "string"
  43944. },
  43945. "goodsid": {
  43946. "description": "商品ID",
  43947. "type": "integer"
  43948. },
  43949. "goodsname": {
  43950. "description": "商品名称",
  43951. "type": "string"
  43952. },
  43953. "goodunitid": {
  43954. "description": "商品单位id",
  43955. "type": "integer"
  43956. },
  43957. "histradedate": {
  43958. "description": "历史交易日",
  43959. "type": "string"
  43960. },
  43961. "isconfirmexercise": {
  43962. "description": "是否确认行权- 0:否 1:是",
  43963. "type": "integer"
  43964. },
  43965. "ispreexercise": {
  43966. "description": "是否预申报- 0:否 1:是",
  43967. "type": "integer"
  43968. },
  43969. "isvaliddata": {
  43970. "description": "是否有效 - 0:无效 1:有效",
  43971. "type": "integer"
  43972. },
  43973. "listingselecttype": {
  43974. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43975. "type": "integer"
  43976. },
  43977. "marginalgorithm": {
  43978. "description": "保证金收取方式 1:比率 2:固定",
  43979. "type": "integer"
  43980. },
  43981. "marginvalue": {
  43982. "description": "即市保证金设置值",
  43983. "type": "number"
  43984. },
  43985. "marketid": {
  43986. "description": "市场ID",
  43987. "type": "integer"
  43988. },
  43989. "marketmaxsub": {
  43990. "description": "市价最大偏移范围",
  43991. "type": "number"
  43992. },
  43993. "marketname": {
  43994. "description": "市场名称",
  43995. "type": "string"
  43996. },
  43997. "memberuserid": {
  43998. "description": "所属会员UserID",
  43999. "type": "integer"
  44000. },
  44001. "openexchagechargevalue": {
  44002. "description": "建仓交易所手续费设置值",
  44003. "type": "number"
  44004. },
  44005. "openfeealgorithm": {
  44006. "description": "建仓手续费收取方式 1:比率 2:固定",
  44007. "type": "integer"
  44008. },
  44009. "openfreezecharge": {
  44010. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  44011. "type": "number"
  44012. },
  44013. "openmemberchargevalue": {
  44014. "description": "建仓会员手续费设置值",
  44015. "type": "number"
  44016. },
  44017. "openqty": {
  44018. "description": "开仓数量(先建后平操作,需要记录)",
  44019. "type": "number"
  44020. },
  44021. "opentradeqty": {
  44022. "description": "开仓成交数量(先建后平操作,需要记录)",
  44023. "type": "number"
  44024. },
  44025. "openunfreezecharge": {
  44026. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  44027. "type": "number"
  44028. },
  44029. "operatetype": {
  44030. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  44031. "type": "integer"
  44032. },
  44033. "operatorid": {
  44034. "description": "登录账号(LoginID)",
  44035. "type": "integer"
  44036. },
  44037. "optiontype": {
  44038. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  44039. "type": "integer"
  44040. },
  44041. "orderid": {
  44042. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44043. "type": "string"
  44044. },
  44045. "orderprice": {
  44046. "description": "委托价格",
  44047. "type": "number"
  44048. },
  44049. "orderqty": {
  44050. "description": "委托数量",
  44051. "type": "number"
  44052. },
  44053. "ordersrc": {
  44054. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  44055. "type": "integer"
  44056. },
  44057. "orderstatus": {
  44058. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  44059. "type": "integer"
  44060. },
  44061. "ordertime": {
  44062. "description": "委托时间",
  44063. "type": "string"
  44064. },
  44065. "preexerciseprice": {
  44066. "description": "预申报价格",
  44067. "type": "number"
  44068. },
  44069. "premium": {
  44070. "description": "权利金",
  44071. "type": "number"
  44072. },
  44073. "preorderid": {
  44074. "description": "关联预埋单号(止盈止损单时填写)",
  44075. "type": "string"
  44076. },
  44077. "pricemode": {
  44078. "description": "取价方式 - 1:市价 2: 限价",
  44079. "type": "integer"
  44080. },
  44081. "qtydecimalplace": {
  44082. "description": "成交量小数位",
  44083. "type": "integer"
  44084. },
  44085. "quoteid": {
  44086. "description": "报价单ID",
  44087. "type": "integer"
  44088. },
  44089. "relatedid": {
  44090. "description": "关联单号(交割单)",
  44091. "type": "string"
  44092. },
  44093. "retcode": {
  44094. "description": "错误代码",
  44095. "type": "integer"
  44096. },
  44097. "sessionid": {
  44098. "description": "会话ID",
  44099. "type": "integer"
  44100. },
  44101. "tradedate": {
  44102. "description": "交易日(yyyyMMdd)",
  44103. "type": "string"
  44104. },
  44105. "trademode": {
  44106. "description": "交易模式",
  44107. "type": "integer"
  44108. },
  44109. "tradeproperty": {
  44110. "description": "交易属性",
  44111. "type": "integer"
  44112. },
  44113. "tradeqty": {
  44114. "description": "成交数量",
  44115. "type": "number"
  44116. },
  44117. "unfreezecharge": {
  44118. "description": "解冻手续费",
  44119. "type": "number"
  44120. },
  44121. "unfreezemargin": {
  44122. "description": "解冻保证金",
  44123. "type": "number"
  44124. },
  44125. "updatetime": {
  44126. "description": "更新时间",
  44127. "type": "string"
  44128. },
  44129. "uuid": {
  44130. "description": "发起端唯一id",
  44131. "type": "string"
  44132. },
  44133. "validtime": {
  44134. "description": "有效期限",
  44135. "type": "string"
  44136. },
  44137. "validtype": {
  44138. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  44139. "type": "integer"
  44140. },
  44141. "volumetype": {
  44142. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  44143. "type": "integer"
  44144. }
  44145. }
  44146. },
  44147. "order.QueryTradeDetailRsp": {
  44148. "type": "object",
  44149. "required": [
  44150. "accountid",
  44151. "buyorsell",
  44152. "goodsid",
  44153. "marketid",
  44154. "memberuserid",
  44155. "orderid",
  44156. "tradeamount",
  44157. "tradedate",
  44158. "tradeid",
  44159. "tradeprice",
  44160. "tradeqty",
  44161. "tradetime"
  44162. ],
  44163. "properties": {
  44164. "accountid": {
  44165. "description": "账户ID[报价币种]",
  44166. "type": "integer"
  44167. },
  44168. "advanceratio": {
  44169. "description": "首付比率",
  44170. "type": "number"
  44171. },
  44172. "buildtype": {
  44173. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  44174. "type": "integer"
  44175. },
  44176. "buyorsell": {
  44177. "description": "方向 - 0:买 1:卖",
  44178. "type": "integer"
  44179. },
  44180. "charge": {
  44181. "description": "手续费",
  44182. "type": "number"
  44183. },
  44184. "closecharge": {
  44185. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  44186. "type": "number"
  44187. },
  44188. "closeexchagechargevalue": {
  44189. "description": "平仓交易所手续费设置值",
  44190. "type": "number"
  44191. },
  44192. "closefeealgorithm": {
  44193. "description": "平仓手续费收取方式 1:比率 2:固定",
  44194. "type": "integer"
  44195. },
  44196. "closememberchargevalue": {
  44197. "description": "平仓会员手续费设置值",
  44198. "type": "number"
  44199. },
  44200. "closepl": {
  44201. "description": "平仓盈亏",
  44202. "type": "number"
  44203. },
  44204. "closepl2": {
  44205. "description": "平仓盈亏[逐笔]",
  44206. "type": "number"
  44207. },
  44208. "closeqty": {
  44209. "description": "平仓数量(先建后平操作 需要记录)",
  44210. "type": "number"
  44211. },
  44212. "creditamount": {
  44213. "description": "授信金额",
  44214. "type": "number"
  44215. },
  44216. "decimalplace": {
  44217. "description": "商品报价小数位",
  44218. "type": "integer"
  44219. },
  44220. "enumdicname": {
  44221. "description": "单位名称",
  44222. "type": "string"
  44223. },
  44224. "gcaccountid": {
  44225. "description": "账户ID[合约币种]",
  44226. "type": "integer"
  44227. },
  44228. "goodscode": {
  44229. "description": "商品代码",
  44230. "type": "string"
  44231. },
  44232. "goodsid": {
  44233. "description": "商品ID",
  44234. "type": "integer"
  44235. },
  44236. "goodsname": {
  44237. "description": "商品名称",
  44238. "type": "string"
  44239. },
  44240. "goodunitid": {
  44241. "description": "商品单位id",
  44242. "type": "integer"
  44243. },
  44244. "intclosepl": {
  44245. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  44246. "type": "integer"
  44247. },
  44248. "isconfirmexercise": {
  44249. "description": "是否确认行权- 0:否 1:是",
  44250. "type": "integer"
  44251. },
  44252. "ismain": {
  44253. "description": "是否主单 - 0:不是 1:是",
  44254. "type": "integer"
  44255. },
  44256. "ispreexercise": {
  44257. "description": "是否预申报- 0:否 1:是",
  44258. "type": "integer"
  44259. },
  44260. "isreckoned": {
  44261. "description": "是否结算 - 0:未结算 1:已结算",
  44262. "type": "integer"
  44263. },
  44264. "listingselecttype": {
  44265. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44266. "type": "integer"
  44267. },
  44268. "marketid": {
  44269. "description": "市场ID",
  44270. "type": "integer"
  44271. },
  44272. "marketname": {
  44273. "description": "市场名称",
  44274. "type": "string"
  44275. },
  44276. "matchaccountid": {
  44277. "description": "对手账号id",
  44278. "type": "integer"
  44279. },
  44280. "memberuserid": {
  44281. "description": "会员id 个人投资者 需要填写",
  44282. "type": "integer"
  44283. },
  44284. "opencharge": {
  44285. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  44286. "type": "number"
  44287. },
  44288. "openexchagechargevalue": {
  44289. "description": "建仓交易所手续费设置值",
  44290. "type": "number"
  44291. },
  44292. "openfeealgorithm": {
  44293. "description": "建仓手续费收取方式 1:比率 2:固定",
  44294. "type": "integer"
  44295. },
  44296. "openmemberchargevalue": {
  44297. "description": "建仓会员手续费设置值",
  44298. "type": "number"
  44299. },
  44300. "openqty": {
  44301. "description": "开仓数量(先建后平操作 需要记录)",
  44302. "type": "number"
  44303. },
  44304. "optiontype": {
  44305. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  44306. "type": "integer"
  44307. },
  44308. "orderid": {
  44309. "description": "委托单号",
  44310. "type": "string"
  44311. },
  44312. "payamount": {
  44313. "description": "支付金额(付款金额)",
  44314. "type": "number"
  44315. },
  44316. "performanceplanid": {
  44317. "description": "履约计划ID[期权]",
  44318. "type": "integer"
  44319. },
  44320. "performancestatus": {
  44321. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  44322. "type": "integer"
  44323. },
  44324. "preexerciseprice": {
  44325. "description": "预申报价格",
  44326. "type": "number"
  44327. },
  44328. "premium": {
  44329. "description": "权利金 - [持仓单的权利金]",
  44330. "type": "number"
  44331. },
  44332. "qtydecimalplace": {
  44333. "description": "商品报价小数位",
  44334. "type": "integer"
  44335. },
  44336. "recvamount": {
  44337. "description": "到账金额 = 成交金额 - 手续费",
  44338. "type": "number"
  44339. },
  44340. "relatedouttradeid": {
  44341. "description": "关联外部成交单ID",
  44342. "type": "integer"
  44343. },
  44344. "status": {
  44345. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  44346. "type": "integer"
  44347. },
  44348. "totalamount": {
  44349. "description": "订单总额 = 成交金额 + 手续费",
  44350. "type": "number"
  44351. },
  44352. "tradeamount": {
  44353. "description": "成交金额[账户币种,用于所有权]",
  44354. "type": "number"
  44355. },
  44356. "tradedate": {
  44357. "description": "交易日(yyyyMMdd)",
  44358. "type": "string"
  44359. },
  44360. "tradeid": {
  44361. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44362. "type": "string"
  44363. },
  44364. "trademode": {
  44365. "description": "交易模式",
  44366. "type": "integer"
  44367. },
  44368. "tradeprice": {
  44369. "description": "成交价格",
  44370. "type": "number"
  44371. },
  44372. "tradeproperty": {
  44373. "description": "交易属性",
  44374. "type": "integer"
  44375. },
  44376. "tradeqty": {
  44377. "description": "成交数量",
  44378. "type": "number"
  44379. },
  44380. "tradetime": {
  44381. "description": "成交时间",
  44382. "type": "string"
  44383. },
  44384. "tradetype": {
  44385. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  44386. "type": "integer"
  44387. }
  44388. }
  44389. },
  44390. "order.QueryTradeOrderDetailRsp": {
  44391. "type": "object",
  44392. "required": [
  44393. "accountid",
  44394. "buildtype",
  44395. "buyorsell",
  44396. "goodsid",
  44397. "marketid",
  44398. "operatetype",
  44399. "orderqty",
  44400. "ordertime",
  44401. "pricemode",
  44402. "tradedate",
  44403. "validtype"
  44404. ],
  44405. "properties": {
  44406. "accountid": {
  44407. "description": "账户ID[报价币种]",
  44408. "type": "integer"
  44409. },
  44410. "buildtype": {
  44411. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  44412. "type": "integer"
  44413. },
  44414. "buyorsell": {
  44415. "description": "买卖 - 0:买 1:卖",
  44416. "type": "integer"
  44417. },
  44418. "cancelorderid": {
  44419. "description": "撤单单号(撤单时填写)",
  44420. "type": "string"
  44421. },
  44422. "cancelqty": {
  44423. "description": "撤单数量",
  44424. "type": "number"
  44425. },
  44426. "clienttype": {
  44427. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  44428. "type": "integer"
  44429. },
  44430. "closefreezecharge": {
  44431. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  44432. "type": "number"
  44433. },
  44434. "closeqty": {
  44435. "description": "平仓数量(先建后平操作 需要记录)",
  44436. "type": "number"
  44437. },
  44438. "closetradeqty": {
  44439. "description": "平仓成交数量(先建后平操作,需要记录)",
  44440. "type": "number"
  44441. },
  44442. "closeunfreezecharge": {
  44443. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  44444. "type": "number"
  44445. },
  44446. "decimalplace": {
  44447. "description": "商品报价小数位",
  44448. "type": "integer"
  44449. },
  44450. "delistingtype": {
  44451. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  44452. "type": "integer"
  44453. },
  44454. "enableqty": {
  44455. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  44456. "type": "number"
  44457. },
  44458. "enumdicname": {
  44459. "description": "单位名称",
  44460. "type": "string"
  44461. },
  44462. "freezecharge": {
  44463. "description": "冻结手续费",
  44464. "type": "number"
  44465. },
  44466. "freezemargin": {
  44467. "description": "冻结保证金(冻结交易金额)",
  44468. "type": "number"
  44469. },
  44470. "goodscode": {
  44471. "description": "商品代码",
  44472. "type": "string"
  44473. },
  44474. "goodsid": {
  44475. "description": "商品ID",
  44476. "type": "integer"
  44477. },
  44478. "goodsname": {
  44479. "description": "商品名称",
  44480. "type": "string"
  44481. },
  44482. "goodunitid": {
  44483. "description": "商品单位id",
  44484. "type": "integer"
  44485. },
  44486. "listingselecttype": {
  44487. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44488. "type": "integer"
  44489. },
  44490. "marketid": {
  44491. "description": "市场ID",
  44492. "type": "integer"
  44493. },
  44494. "marketname": {
  44495. "description": "市场名称",
  44496. "type": "string"
  44497. },
  44498. "openfreezecharge": {
  44499. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  44500. "type": "number"
  44501. },
  44502. "openqty": {
  44503. "description": "开仓数量(先建后平操作,需要记录)",
  44504. "type": "number"
  44505. },
  44506. "opentradeqty": {
  44507. "description": "开仓成交数量(先建后平操作,需要记录)",
  44508. "type": "number"
  44509. },
  44510. "openunfreezecharge": {
  44511. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  44512. "type": "number"
  44513. },
  44514. "operatetype": {
  44515. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  44516. "type": "integer"
  44517. },
  44518. "operatorid": {
  44519. "description": "登录账号(LoginID)",
  44520. "type": "integer"
  44521. },
  44522. "orderid": {
  44523. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44524. "type": "string"
  44525. },
  44526. "orderprice": {
  44527. "description": "委托价格",
  44528. "type": "number"
  44529. },
  44530. "orderqty": {
  44531. "description": "委托数量",
  44532. "type": "number"
  44533. },
  44534. "ordersrc": {
  44535. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  44536. "type": "integer"
  44537. },
  44538. "orderstatus": {
  44539. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  44540. "type": "integer"
  44541. },
  44542. "ordertime": {
  44543. "description": "委托时间",
  44544. "type": "string"
  44545. },
  44546. "preorderid": {
  44547. "description": "关联预埋单号(止盈止损单时填写)",
  44548. "type": "string"
  44549. },
  44550. "pricemode": {
  44551. "description": "取价方式 - 1:市价 2: 限价",
  44552. "type": "integer"
  44553. },
  44554. "qtydecimalplace": {
  44555. "description": "商品报价小数位",
  44556. "type": "integer"
  44557. },
  44558. "relatedid": {
  44559. "description": "关联单号(交割单)",
  44560. "type": "string"
  44561. },
  44562. "tradedate": {
  44563. "description": "交易日(yyyyMMdd)",
  44564. "type": "string"
  44565. },
  44566. "trademode": {
  44567. "description": "交易模式",
  44568. "type": "integer"
  44569. },
  44570. "tradeqty": {
  44571. "description": "成交数量",
  44572. "type": "number"
  44573. },
  44574. "unfreezecharge": {
  44575. "description": "解冻手续费",
  44576. "type": "number"
  44577. },
  44578. "unfreezemargin": {
  44579. "description": "解冻保证金",
  44580. "type": "number"
  44581. },
  44582. "validtime": {
  44583. "description": "有效期限",
  44584. "type": "string"
  44585. },
  44586. "validtype": {
  44587. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  44588. "type": "integer"
  44589. },
  44590. "volumetype": {
  44591. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  44592. "type": "integer"
  44593. }
  44594. }
  44595. },
  44596. "order.QueryTradePositionRsp": {
  44597. "type": "object",
  44598. "required": [
  44599. "goodsid"
  44600. ],
  44601. "properties": {
  44602. "accountid": {
  44603. "description": "资金账户",
  44604. "type": "integer"
  44605. },
  44606. "agreeunit": {
  44607. "description": "合约单位",
  44608. "type": "number"
  44609. },
  44610. "averageprice": {
  44611. "description": "持仓均价",
  44612. "type": "number"
  44613. },
  44614. "buyorsell": {
  44615. "description": "方向 - 0:买 1:卖",
  44616. "type": "integer"
  44617. },
  44618. "closetotalqty": {
  44619. "description": "平仓总数量",
  44620. "type": "number"
  44621. },
  44622. "curholderamount": {
  44623. "description": "当前持仓总金额[商品币种]",
  44624. "type": "number"
  44625. },
  44626. "curpositionqty": {
  44627. "description": "当前持仓总数量",
  44628. "type": "number"
  44629. },
  44630. "currencyid": {
  44631. "description": "报价货币ID",
  44632. "type": "integer"
  44633. },
  44634. "curtdposition": {
  44635. "description": "期末今日头寸",
  44636. "type": "number"
  44637. },
  44638. "decimalplace": {
  44639. "description": "报价小数位",
  44640. "type": "integer"
  44641. },
  44642. "enableqty": {
  44643. "description": "可用量",
  44644. "type": "number"
  44645. },
  44646. "fretdposition": {
  44647. "description": "冻结今日头寸",
  44648. "type": "number"
  44649. },
  44650. "frozenqty": {
  44651. "description": "持仓冻结数量",
  44652. "type": "number"
  44653. },
  44654. "goodscode": {
  44655. "description": "商品代码",
  44656. "type": "string"
  44657. },
  44658. "goodsid": {
  44659. "description": "商品Id",
  44660. "type": "integer"
  44661. },
  44662. "goodsname": {
  44663. "description": "商品名称",
  44664. "type": "string"
  44665. },
  44666. "goodunit": {
  44667. "description": "报价单位",
  44668. "type": "string"
  44669. },
  44670. "goodunitid": {
  44671. "description": "报价单位ID",
  44672. "type": "integer"
  44673. },
  44674. "holderamount": {
  44675. "description": "期初持仓总金额[商品币种]",
  44676. "type": "number"
  44677. },
  44678. "lastprice": {
  44679. "description": "最新价",
  44680. "type": "number"
  44681. },
  44682. "marketamount": {
  44683. "description": "市值",
  44684. "type": "number"
  44685. },
  44686. "marketid": {
  44687. "description": "所属市场ID",
  44688. "type": "integer"
  44689. },
  44690. "openreqqty": {
  44691. "description": "开仓申请数量(用于比较最大持仓数量)",
  44692. "type": "number"
  44693. },
  44694. "opentotalqty": {
  44695. "description": "开仓总数量",
  44696. "type": "number"
  44697. },
  44698. "otherfrozenqty": {
  44699. "description": "持仓其他冻结数量(交割冻结)",
  44700. "type": "number"
  44701. },
  44702. "positionpl": {
  44703. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  44704. "type": "number"
  44705. },
  44706. "positionplrate": {
  44707. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  44708. "type": "number"
  44709. },
  44710. "positionqty": {
  44711. "description": "期初持仓数量",
  44712. "type": "number"
  44713. },
  44714. "qtydecimalplace": {
  44715. "description": "成交量小数位",
  44716. "type": "integer"
  44717. },
  44718. "refgoodscode": {
  44719. "description": "参考商品代码",
  44720. "type": "string"
  44721. },
  44722. "refgoodsid": {
  44723. "description": "参考商品ID",
  44724. "type": "integer"
  44725. },
  44726. "tnqty": {
  44727. "description": "T+N冻结总量",
  44728. "type": "number"
  44729. },
  44730. "tnusedqty": {
  44731. "description": "T+N使用量(可以使用T+N的冻结数量)",
  44732. "type": "number"
  44733. },
  44734. "trademode": {
  44735. "description": "交易模式",
  44736. "type": "integer"
  44737. },
  44738. "tradeproperty": {
  44739. "description": "交易属性",
  44740. "type": "integer"
  44741. },
  44742. "usedmargin": {
  44743. "description": "占用保证金[商品币种]",
  44744. "type": "number"
  44745. }
  44746. }
  44747. },
  44748. "pb.GoodsMarginCfgStruct": {
  44749. "type": "object",
  44750. "properties": {
  44751. "CustomerTypeID": {
  44752. "description": "投资者客户类型",
  44753. "type": "integer"
  44754. },
  44755. "GoodsID": {
  44756. "description": "商品ID",
  44757. "type": "integer"
  44758. },
  44759. "IsDefault": {
  44760. "description": "是否默认标志位",
  44761. "type": "integer"
  44762. },
  44763. "LockMarginValue": {
  44764. "description": "锁仓保证金",
  44765. "type": "number"
  44766. },
  44767. "MarginAlgorithm": {
  44768. "description": "保证金计算方式",
  44769. "type": "integer"
  44770. },
  44771. "MarketMarginValue": {
  44772. "description": "即市保证金值",
  44773. "type": "number"
  44774. },
  44775. "RealMarginAlgorithm": {
  44776. "description": "实付保证金计算方式",
  44777. "type": "integer"
  44778. },
  44779. "RealMarginValue": {
  44780. "description": "实付比例",
  44781. "type": "number"
  44782. },
  44783. "ReckonMarginValue": {
  44784. "description": "结算保证金值",
  44785. "type": "number"
  44786. }
  44787. }
  44788. },
  44789. "quote.HistoryData": {
  44790. "type": "object",
  44791. "properties": {
  44792. "c": {
  44793. "description": "收盘价",
  44794. "type": "number"
  44795. },
  44796. "f": {
  44797. "description": "是否补充数据",
  44798. "type": "boolean"
  44799. },
  44800. "h": {
  44801. "description": "最高价",
  44802. "type": "number"
  44803. },
  44804. "hv": {
  44805. "description": "持仓量",
  44806. "type": "integer"
  44807. },
  44808. "l": {
  44809. "description": "最低价",
  44810. "type": "number"
  44811. },
  44812. "o": {
  44813. "description": "开盘价",
  44814. "type": "number"
  44815. },
  44816. "s": {
  44817. "description": "结算价,日线周期(包括)以上才有",
  44818. "type": "number"
  44819. },
  44820. "ts": {
  44821. "description": "时间",
  44822. "type": "string"
  44823. },
  44824. "tt": {
  44825. "description": "总金额",
  44826. "type": "number"
  44827. },
  44828. "tv": {
  44829. "description": "总量(成交量)",
  44830. "type": "integer"
  44831. }
  44832. }
  44833. },
  44834. "quote.HistoryTikData": {
  44835. "type": "object",
  44836. "properties": {
  44837. "AV": {
  44838. "description": "卖量",
  44839. "type": "integer"
  44840. },
  44841. "Ask": {
  44842. "description": "卖价",
  44843. "type": "number"
  44844. },
  44845. "BV": {
  44846. "description": "买量",
  44847. "type": "integer"
  44848. },
  44849. "Bid": {
  44850. "description": "买价",
  44851. "type": "number"
  44852. },
  44853. "HI": {
  44854. "description": "单笔持仓",
  44855. "type": "integer"
  44856. },
  44857. "HV": {
  44858. "description": "持仓量",
  44859. "type": "integer"
  44860. },
  44861. "PE": {
  44862. "description": "现价",
  44863. "type": "number"
  44864. },
  44865. "TDR": {
  44866. "description": "交易方向,0:买 1:卖",
  44867. "type": "integer"
  44868. },
  44869. "TK": {
  44870. "description": "交易类型",
  44871. "type": "integer"
  44872. },
  44873. "TS": {
  44874. "description": "行情时间文本",
  44875. "type": "string"
  44876. },
  44877. "TT": {
  44878. "description": "现金额",
  44879. "type": "number"
  44880. },
  44881. "Vol": {
  44882. "description": "现量",
  44883. "type": "integer"
  44884. }
  44885. }
  44886. },
  44887. "quote.QueryQuoteDayRsp": {
  44888. "type": "object",
  44889. "properties": {
  44890. "ask": {
  44891. "description": "卖1",
  44892. "type": "number"
  44893. },
  44894. "ask10": {
  44895. "description": "卖10",
  44896. "type": "number"
  44897. },
  44898. "ask2": {
  44899. "description": "卖2",
  44900. "type": "number"
  44901. },
  44902. "ask3": {
  44903. "description": "卖3",
  44904. "type": "number"
  44905. },
  44906. "ask4": {
  44907. "description": "卖4",
  44908. "type": "number"
  44909. },
  44910. "ask5": {
  44911. "description": "卖5",
  44912. "type": "number"
  44913. },
  44914. "ask6": {
  44915. "description": "卖6",
  44916. "type": "number"
  44917. },
  44918. "ask7": {
  44919. "description": "卖7",
  44920. "type": "number"
  44921. },
  44922. "ask8": {
  44923. "description": "卖8",
  44924. "type": "number"
  44925. },
  44926. "ask9": {
  44927. "description": "卖9",
  44928. "type": "number"
  44929. },
  44930. "askorderid": {
  44931. "description": "卖单号1",
  44932. "type": "integer"
  44933. },
  44934. "askorderid2": {
  44935. "description": "卖单号2",
  44936. "type": "integer"
  44937. },
  44938. "askorderid3": {
  44939. "description": "卖单号3",
  44940. "type": "integer"
  44941. },
  44942. "askorderid4": {
  44943. "description": "卖单号4",
  44944. "type": "integer"
  44945. },
  44946. "askorderid5": {
  44947. "description": "卖单号5",
  44948. "type": "integer"
  44949. },
  44950. "askordervolume": {
  44951. "description": "卖单量1",
  44952. "type": "integer"
  44953. },
  44954. "askordervolume10": {
  44955. "description": "卖单量10",
  44956. "type": "integer"
  44957. },
  44958. "askordervolume2": {
  44959. "description": "卖单量2",
  44960. "type": "integer"
  44961. },
  44962. "askordervolume3": {
  44963. "description": "卖单量3",
  44964. "type": "integer"
  44965. },
  44966. "askordervolume4": {
  44967. "description": "卖单量4",
  44968. "type": "integer"
  44969. },
  44970. "askordervolume5": {
  44971. "description": "卖单量5",
  44972. "type": "integer"
  44973. },
  44974. "askordervolume6": {
  44975. "description": "卖单量6",
  44976. "type": "integer"
  44977. },
  44978. "askordervolume7": {
  44979. "description": "卖单量7",
  44980. "type": "integer"
  44981. },
  44982. "askordervolume8": {
  44983. "description": "卖单量8",
  44984. "type": "integer"
  44985. },
  44986. "askordervolume9": {
  44987. "description": "卖单量9",
  44988. "type": "integer"
  44989. },
  44990. "askqueueinfo": {
  44991. "description": "大利市卖港股用",
  44992. "type": "string"
  44993. },
  44994. "askvolume": {
  44995. "description": "卖量1",
  44996. "type": "integer"
  44997. },
  44998. "askvolume10": {
  44999. "description": "卖量10",
  45000. "type": "integer"
  45001. },
  45002. "askvolume2": {
  45003. "description": "卖量2",
  45004. "type": "integer"
  45005. },
  45006. "askvolume3": {
  45007. "description": "卖量3",
  45008. "type": "integer"
  45009. },
  45010. "askvolume4": {
  45011. "description": "卖量4",
  45012. "type": "integer"
  45013. },
  45014. "askvolume5": {
  45015. "description": "卖量5",
  45016. "type": "integer"
  45017. },
  45018. "askvolume6": {
  45019. "description": "卖量6",
  45020. "type": "integer"
  45021. },
  45022. "askvolume7": {
  45023. "description": "卖量7",
  45024. "type": "integer"
  45025. },
  45026. "askvolume8": {
  45027. "description": "卖量8",
  45028. "type": "integer"
  45029. },
  45030. "askvolume9": {
  45031. "description": "卖量9",
  45032. "type": "integer"
  45033. },
  45034. "averageprice": {
  45035. "description": "均价",
  45036. "type": "number"
  45037. },
  45038. "bid": {
  45039. "description": "买1",
  45040. "type": "number"
  45041. },
  45042. "bid10": {
  45043. "description": "买10",
  45044. "type": "number"
  45045. },
  45046. "bid2": {
  45047. "description": "买2",
  45048. "type": "number"
  45049. },
  45050. "bid3": {
  45051. "description": "买3",
  45052. "type": "number"
  45053. },
  45054. "bid4": {
  45055. "description": "买4",
  45056. "type": "number"
  45057. },
  45058. "bid5": {
  45059. "description": "买5",
  45060. "type": "number"
  45061. },
  45062. "bid6": {
  45063. "description": "买6",
  45064. "type": "number"
  45065. },
  45066. "bid7": {
  45067. "description": "买7",
  45068. "type": "number"
  45069. },
  45070. "bid8": {
  45071. "description": "买8",
  45072. "type": "number"
  45073. },
  45074. "bid9": {
  45075. "description": "买9",
  45076. "type": "number"
  45077. },
  45078. "bidorderid": {
  45079. "description": "买单号1",
  45080. "type": "integer"
  45081. },
  45082. "bidorderid2": {
  45083. "description": "买单号2",
  45084. "type": "integer"
  45085. },
  45086. "bidorderid3": {
  45087. "description": "买单号3",
  45088. "type": "integer"
  45089. },
  45090. "bidorderid4": {
  45091. "description": "买单号4",
  45092. "type": "integer"
  45093. },
  45094. "bidorderid5": {
  45095. "description": "买单号5",
  45096. "type": "integer"
  45097. },
  45098. "bidordervolume": {
  45099. "description": "买单量1",
  45100. "type": "integer"
  45101. },
  45102. "bidordervolume10": {
  45103. "description": "买单量10",
  45104. "type": "integer"
  45105. },
  45106. "bidordervolume2": {
  45107. "description": "买单量2",
  45108. "type": "integer"
  45109. },
  45110. "bidordervolume3": {
  45111. "description": "买单量3",
  45112. "type": "integer"
  45113. },
  45114. "bidordervolume4": {
  45115. "description": "买单量4",
  45116. "type": "integer"
  45117. },
  45118. "bidordervolume5": {
  45119. "description": "买单量5",
  45120. "type": "integer"
  45121. },
  45122. "bidordervolume6": {
  45123. "description": "买单量6",
  45124. "type": "integer"
  45125. },
  45126. "bidordervolume7": {
  45127. "description": "买单量7",
  45128. "type": "integer"
  45129. },
  45130. "bidordervolume8": {
  45131. "description": "买单量8",
  45132. "type": "integer"
  45133. },
  45134. "bidordervolume9": {
  45135. "description": "买单量9",
  45136. "type": "integer"
  45137. },
  45138. "bidqueueinfo": {
  45139. "description": "大利市买港股用",
  45140. "type": "string"
  45141. },
  45142. "bidvolume": {
  45143. "description": "买量1",
  45144. "type": "integer"
  45145. },
  45146. "bidvolume10": {
  45147. "description": "买量10",
  45148. "type": "integer"
  45149. },
  45150. "bidvolume2": {
  45151. "description": "买量2",
  45152. "type": "integer"
  45153. },
  45154. "bidvolume3": {
  45155. "description": "买量3",
  45156. "type": "integer"
  45157. },
  45158. "bidvolume4": {
  45159. "description": "买量4",
  45160. "type": "integer"
  45161. },
  45162. "bidvolume5": {
  45163. "description": "买量5",
  45164. "type": "integer"
  45165. },
  45166. "bidvolume6": {
  45167. "description": "买量6",
  45168. "type": "integer"
  45169. },
  45170. "bidvolume7": {
  45171. "description": "买量7",
  45172. "type": "integer"
  45173. },
  45174. "bidvolume8": {
  45175. "description": "买量8",
  45176. "type": "integer"
  45177. },
  45178. "bidvolume9": {
  45179. "description": "买量9",
  45180. "type": "integer"
  45181. },
  45182. "calloptionpremiums": {
  45183. "description": "认购期权1",
  45184. "type": "integer"
  45185. },
  45186. "calloptionpremiums2": {
  45187. "description": "认购期权2",
  45188. "type": "integer"
  45189. },
  45190. "calloptionpremiums3": {
  45191. "description": "认购期权3",
  45192. "type": "integer"
  45193. },
  45194. "calloptionpremiums4": {
  45195. "description": "认购期权4",
  45196. "type": "integer"
  45197. },
  45198. "calloptionpremiums5": {
  45199. "description": "认购期权5",
  45200. "type": "integer"
  45201. },
  45202. "cleartime": {
  45203. "description": "清盘时间",
  45204. "type": "integer"
  45205. },
  45206. "exchangecode": {
  45207. "description": "交易所代码",
  45208. "type": "integer"
  45209. },
  45210. "exchangedate": {
  45211. "description": "交易日",
  45212. "type": "integer"
  45213. },
  45214. "goodscode": {
  45215. "description": "商品代码",
  45216. "type": "string"
  45217. },
  45218. "grepmarketprice": {
  45219. "description": "暗盘价 港股专用",
  45220. "type": "number"
  45221. },
  45222. "highest": {
  45223. "description": "最高价",
  45224. "type": "number"
  45225. },
  45226. "holdincrement": {
  45227. "description": "单笔持仓",
  45228. "type": "integer"
  45229. },
  45230. "holdvolume": {
  45231. "description": "持仓",
  45232. "type": "integer"
  45233. },
  45234. "iep": {
  45235. "description": "平衡价 港股专用",
  45236. "type": "number"
  45237. },
  45238. "iev": {
  45239. "description": "平衡量 港股专用",
  45240. "type": "number"
  45241. },
  45242. "inventory": {
  45243. "description": "库存",
  45244. "type": "integer"
  45245. },
  45246. "iscleared": {
  45247. "description": "是否清盘标志",
  45248. "type": "integer"
  45249. },
  45250. "issettled": {
  45251. "description": "是否结算标志",
  45252. "type": "integer"
  45253. },
  45254. "last": {
  45255. "description": "最新价",
  45256. "type": "number"
  45257. },
  45258. "lastlot": {
  45259. "description": "最新成交手数",
  45260. "type": "integer"
  45261. },
  45262. "lasttime": {
  45263. "description": "行情时间(只有现价变化行情时间才变化)",
  45264. "type": "string"
  45265. },
  45266. "lastturnover": {
  45267. "description": "最新成交金额",
  45268. "type": "number"
  45269. },
  45270. "lastvolume": {
  45271. "description": "最新成交量",
  45272. "type": "integer"
  45273. },
  45274. "limitdown": {
  45275. "description": "跌停价",
  45276. "type": "number"
  45277. },
  45278. "limitup": {
  45279. "description": "涨停价",
  45280. "type": "number"
  45281. },
  45282. "lowest": {
  45283. "description": "最低价",
  45284. "type": "number"
  45285. },
  45286. "nontotalholdervolume": {
  45287. "description": "非交易持仓量",
  45288. "type": "integer"
  45289. },
  45290. "nontotallot": {
  45291. "description": "非交易总手数",
  45292. "type": "integer"
  45293. },
  45294. "nontotalturnover": {
  45295. "description": "非交易总金额",
  45296. "type": "integer"
  45297. },
  45298. "nontotalvolume": {
  45299. "description": "非交易总量",
  45300. "type": "integer"
  45301. },
  45302. "opened": {
  45303. "description": "开盘价",
  45304. "type": "number"
  45305. },
  45306. "opentime": {
  45307. "description": "开盘时间",
  45308. "type": "string"
  45309. },
  45310. "orderid": {
  45311. "description": "序号",
  45312. "type": "integer"
  45313. },
  45314. "preclose": {
  45315. "description": "昨收",
  45316. "type": "number"
  45317. },
  45318. "preholdvolume": {
  45319. "description": "昨持仓",
  45320. "type": "integer"
  45321. },
  45322. "presettle": {
  45323. "description": "昨结价",
  45324. "type": "number"
  45325. },
  45326. "publictradetype": {
  45327. "description": "公共交易标志类型 港股专用",
  45328. "type": "string"
  45329. },
  45330. "putoptionpremiums": {
  45331. "description": "认沽期权1",
  45332. "type": "integer"
  45333. },
  45334. "putoptionpremiums2": {
  45335. "description": "认沽期权2",
  45336. "type": "integer"
  45337. },
  45338. "putoptionpremiums3": {
  45339. "description": "认沽期权3",
  45340. "type": "integer"
  45341. },
  45342. "putoptionpremiums4": {
  45343. "description": "认沽期权4",
  45344. "type": "integer"
  45345. },
  45346. "putoptionpremiums5": {
  45347. "description": "认沽期权5",
  45348. "type": "integer"
  45349. },
  45350. "settle": {
  45351. "description": "结算价",
  45352. "type": "number"
  45353. },
  45354. "strikeprice": {
  45355. "description": "发行价",
  45356. "type": "number"
  45357. },
  45358. "totalaskvolume": {
  45359. "description": "内盘",
  45360. "type": "integer"
  45361. },
  45362. "totalbidvolume": {
  45363. "description": "外盘",
  45364. "type": "integer"
  45365. },
  45366. "totallot": {
  45367. "description": "总手数",
  45368. "type": "integer"
  45369. },
  45370. "totalturnover": {
  45371. "description": "总金额",
  45372. "type": "number"
  45373. },
  45374. "totalvolume": {
  45375. "description": "总量",
  45376. "type": "integer"
  45377. },
  45378. "utclasttime": {
  45379. "description": "utc的行情时间",
  45380. "type": "string"
  45381. }
  45382. }
  45383. },
  45384. "quote.QueryTSDataRsp": {
  45385. "type": "object",
  45386. "properties": {
  45387. "Count": {
  45388. "description": "交易日应有数据个数",
  45389. "type": "integer"
  45390. },
  45391. "decimalPlace": {
  45392. "description": "小数位",
  45393. "type": "integer"
  45394. },
  45395. "endTime": {
  45396. "description": "结束时间",
  45397. "type": "string"
  45398. },
  45399. "goodsCode": {
  45400. "description": "商品代码",
  45401. "type": "string"
  45402. },
  45403. "historyDatas": {
  45404. "description": "历史数据",
  45405. "type": "array",
  45406. "items": {
  45407. "$ref": "#/definitions/quote.HistoryData"
  45408. }
  45409. },
  45410. "outGoodsCode": {
  45411. "description": "外部商品代码",
  45412. "type": "string"
  45413. },
  45414. "preSettle": {
  45415. "description": "昨结价",
  45416. "type": "number"
  45417. },
  45418. "runSteps": {
  45419. "description": "交易日开休市计划",
  45420. "type": "array",
  45421. "items": {
  45422. "$ref": "#/definitions/quote.TSDataRunStep"
  45423. }
  45424. },
  45425. "startTime": {
  45426. "description": "开始时间",
  45427. "type": "string"
  45428. },
  45429. "tradeDate": {
  45430. "description": "交易日",
  45431. "type": "string"
  45432. }
  45433. }
  45434. },
  45435. "quote.TSDataRunStep": {
  45436. "type": "object",
  45437. "properties": {
  45438. "end": {
  45439. "description": "真实结束时间",
  45440. "type": "string"
  45441. },
  45442. "endflag": {
  45443. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  45444. "type": "integer"
  45445. },
  45446. "endtime": {
  45447. "description": "结束时间(HH:mm)",
  45448. "type": "string"
  45449. },
  45450. "endweekday": {
  45451. "description": "结束周几",
  45452. "type": "integer"
  45453. },
  45454. "groupid": {
  45455. "description": "分组ID",
  45456. "type": "integer"
  45457. },
  45458. "runstep": {
  45459. "description": "运行阶段 - 2:连续交易",
  45460. "type": "integer"
  45461. },
  45462. "sectionid": {
  45463. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  45464. "type": "integer"
  45465. },
  45466. "start": {
  45467. "description": "真实开始时间",
  45468. "type": "string"
  45469. },
  45470. "startflag": {
  45471. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  45472. "type": "integer"
  45473. },
  45474. "starttime": {
  45475. "description": "起始时间(HH:mm)",
  45476. "type": "string"
  45477. },
  45478. "startweekday": {
  45479. "description": "起始周几",
  45480. "type": "integer"
  45481. },
  45482. "tradeweekday": {
  45483. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  45484. "type": "integer"
  45485. }
  45486. }
  45487. },
  45488. "szdz.QueryConvertLogRsp": {
  45489. "type": "object",
  45490. "required": [
  45491. "logid"
  45492. ],
  45493. "properties": {
  45494. "accountid": {
  45495. "description": "资金账户ID",
  45496. "type": "integer"
  45497. },
  45498. "clientticket": {
  45499. "description": "客户端流水号",
  45500. "type": "string"
  45501. },
  45502. "converttype": {
  45503. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  45504. "type": "integer"
  45505. },
  45506. "createtime": {
  45507. "description": "记账时间",
  45508. "type": "string"
  45509. },
  45510. "daymaxvalue": {
  45511. "description": "配置当日最大转入限制",
  45512. "type": "number"
  45513. },
  45514. "daymaxvalue2": {
  45515. "description": "配置当日最大转入限制(转入)",
  45516. "type": "number"
  45517. },
  45518. "goodscode": {
  45519. "description": "商品代码",
  45520. "type": "string"
  45521. },
  45522. "goodsname": {
  45523. "description": "商品名称",
  45524. "type": "string"
  45525. },
  45526. "handlestatus": {
  45527. "description": "处理状态",
  45528. "type": "integer"
  45529. },
  45530. "innergoodsid": {
  45531. "description": "内部商品ID",
  45532. "type": "integer"
  45533. },
  45534. "inratio": {
  45535. "description": "配置转入比值",
  45536. "type": "integer"
  45537. },
  45538. "invalue": {
  45539. "description": "目标值",
  45540. "type": "number"
  45541. },
  45542. "logid": {
  45543. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45544. "type": "integer"
  45545. },
  45546. "mobile": {
  45547. "description": "手机号码(加密存储)",
  45548. "type": "string"
  45549. },
  45550. "outergoodscode": {
  45551. "description": "外部商品代码[JD\\PD]",
  45552. "type": "string"
  45553. },
  45554. "outratio": {
  45555. "description": "配置转出比值",
  45556. "type": "integer"
  45557. },
  45558. "outvalue": {
  45559. "description": "源值",
  45560. "type": "number"
  45561. },
  45562. "pddecimalplace": {
  45563. "description": "PD小数位",
  45564. "type": "integer"
  45565. },
  45566. "qty": {
  45567. "description": "数量",
  45568. "type": "string"
  45569. },
  45570. "remark": {
  45571. "description": "备注",
  45572. "type": "string"
  45573. },
  45574. "sessionid": {
  45575. "description": "会话ID",
  45576. "type": "integer"
  45577. },
  45578. "timemaxvalue": {
  45579. "description": "配置单次最大转入限制",
  45580. "type": "number"
  45581. },
  45582. "timemaxvalue2": {
  45583. "description": "配置单次最大转入限制(转入)",
  45584. "type": "number"
  45585. },
  45586. "timeminvalue": {
  45587. "description": "配置单次最小数量限制",
  45588. "type": "number"
  45589. },
  45590. "timeminvalue2": {
  45591. "description": "配置单次最小数量限制(转入)",
  45592. "type": "number"
  45593. },
  45594. "tradedate": {
  45595. "description": "交易日(yyyyMMdd)",
  45596. "type": "string"
  45597. },
  45598. "userid": {
  45599. "description": "用户ID",
  45600. "type": "integer"
  45601. }
  45602. }
  45603. },
  45604. "szdz.QueryGoodsPickupRsp": {
  45605. "type": "object",
  45606. "required": [
  45607. "takeorderid"
  45608. ],
  45609. "properties": {
  45610. "accountid": {
  45611. "description": "账户ID",
  45612. "type": "integer"
  45613. },
  45614. "address": {
  45615. "description": "提货人详细地址",
  45616. "type": "string"
  45617. },
  45618. "auditer": {
  45619. "description": "审核人",
  45620. "type": "integer"
  45621. },
  45622. "audittime": {
  45623. "description": "审核时间",
  45624. "type": "string"
  45625. },
  45626. "cardnum": {
  45627. "description": "提货人证件号码",
  45628. "type": "string"
  45629. },
  45630. "cardtypeid": {
  45631. "description": "提货人证件类型",
  45632. "type": "integer"
  45633. },
  45634. "checkremark": {
  45635. "description": "审核备注",
  45636. "type": "string"
  45637. },
  45638. "goodscode": {
  45639. "description": "商品代码",
  45640. "type": "string"
  45641. },
  45642. "goodsid": {
  45643. "description": "商品ID",
  45644. "type": "integer"
  45645. },
  45646. "goodsname": {
  45647. "description": "商品名称",
  45648. "type": "string"
  45649. },
  45650. "handlestatus": {
  45651. "description": "处理状态",
  45652. "type": "integer"
  45653. },
  45654. "marketid": {
  45655. "description": "市场ID",
  45656. "type": "integer"
  45657. },
  45658. "phonenum": {
  45659. "description": "提货人联系方式",
  45660. "type": "string"
  45661. },
  45662. "qty": {
  45663. "description": "提货数量",
  45664. "type": "number"
  45665. },
  45666. "recivername": {
  45667. "description": "提货人姓名",
  45668. "type": "string"
  45669. },
  45670. "reqtime": {
  45671. "description": "更新时间",
  45672. "type": "string"
  45673. },
  45674. "takemode": {
  45675. "description": "提货方式 - 2:自提 3:配送",
  45676. "type": "integer"
  45677. },
  45678. "takeorderid": {
  45679. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  45680. "type": "string"
  45681. },
  45682. "takeorderstatus": {
  45683. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  45684. "type": "integer"
  45685. },
  45686. "takeremark": {
  45687. "description": "提货备注",
  45688. "type": "string"
  45689. },
  45690. "tradedate": {
  45691. "description": "交易日(yyyyMMdd)",
  45692. "type": "string"
  45693. },
  45694. "userid": {
  45695. "description": "用户ID",
  45696. "type": "integer"
  45697. }
  45698. }
  45699. },
  45700. "szdz.QueryRecieptOrderRsp": {
  45701. "type": "object",
  45702. "required": [
  45703. "ordertime"
  45704. ],
  45705. "properties": {
  45706. "accountName": {
  45707. "description": "所属账号名称(已脱敏)",
  45708. "type": "string"
  45709. },
  45710. "accountid": {
  45711. "description": "资金账号",
  45712. "type": "integer"
  45713. },
  45714. "buyorsell": {
  45715. "description": "方向 - 0:买 1:卖",
  45716. "type": "integer"
  45717. },
  45718. "enableqty": {
  45719. "description": "可摘数量",
  45720. "type": "integer"
  45721. },
  45722. "goodscode": {
  45723. "description": "商品代码",
  45724. "type": "string"
  45725. },
  45726. "goodsid": {
  45727. "description": "商品ID",
  45728. "type": "integer"
  45729. },
  45730. "goodsname": {
  45731. "description": "商品名称",
  45732. "type": "string"
  45733. },
  45734. "orderid": {
  45735. "description": "委托单号",
  45736. "type": "string"
  45737. },
  45738. "orderprice": {
  45739. "description": "委托价格",
  45740. "type": "number"
  45741. },
  45742. "ordertime": {
  45743. "description": "委托时间",
  45744. "type": "string"
  45745. },
  45746. "tradedate": {
  45747. "description": "交易日(yyyyMMdd)",
  45748. "type": "string"
  45749. }
  45750. }
  45751. },
  45752. "szdz.QuerySZDZTradePositionRsp": {
  45753. "type": "object",
  45754. "properties": {
  45755. "accountid": {
  45756. "description": "账号Id",
  45757. "type": "integer"
  45758. },
  45759. "agreeunit": {
  45760. "description": "合约单位",
  45761. "type": "number"
  45762. },
  45763. "averageprice": {
  45764. "description": "持仓均价",
  45765. "type": "number"
  45766. },
  45767. "buyorsell": {
  45768. "description": "方向 - 0:买 1:卖",
  45769. "type": "integer"
  45770. },
  45771. "closetotalqty": {
  45772. "description": "平仓总数量",
  45773. "type": "integer"
  45774. },
  45775. "curholderamount": {
  45776. "description": "当前持仓总金额",
  45777. "type": "number"
  45778. },
  45779. "curpositionqty": {
  45780. "description": "当前持仓总数量",
  45781. "type": "integer"
  45782. },
  45783. "currencyid": {
  45784. "description": "报价货币ID",
  45785. "type": "integer"
  45786. },
  45787. "curtdposition": {
  45788. "description": "期末今日头寸",
  45789. "type": "integer"
  45790. },
  45791. "decimalplace": {
  45792. "description": "报价小数位",
  45793. "type": "integer"
  45794. },
  45795. "enableqty": {
  45796. "description": "可用量",
  45797. "type": "integer"
  45798. },
  45799. "fretdposition": {
  45800. "description": "冻结今日头寸",
  45801. "type": "integer"
  45802. },
  45803. "frozenqty": {
  45804. "description": "持仓冻结数量",
  45805. "type": "integer"
  45806. },
  45807. "goodscode": {
  45808. "description": "商品代码(内部)",
  45809. "type": "string"
  45810. },
  45811. "goodsid": {
  45812. "description": "商品Id",
  45813. "type": "integer"
  45814. },
  45815. "goodsname": {
  45816. "description": "商品名称",
  45817. "type": "string"
  45818. },
  45819. "goodunit": {
  45820. "description": "报价单位",
  45821. "type": "string"
  45822. },
  45823. "goodunitid": {
  45824. "description": "报价单位ID",
  45825. "type": "integer"
  45826. },
  45827. "holderamount": {
  45828. "description": "期初持仓总金额",
  45829. "type": "number"
  45830. },
  45831. "marketid": {
  45832. "description": "市场ID",
  45833. "type": "integer"
  45834. },
  45835. "openreqqty": {
  45836. "description": "开仓申请数量",
  45837. "type": "integer"
  45838. },
  45839. "opentotalqty": {
  45840. "description": "开仓总数量",
  45841. "type": "integer"
  45842. },
  45843. "otherfrozenqty": {
  45844. "description": "持仓其他冻结数量(交割冻结)",
  45845. "type": "integer"
  45846. },
  45847. "positionqty": {
  45848. "description": "期初持仓数量",
  45849. "type": "integer"
  45850. },
  45851. "szdz3freezqty": {
  45852. "description": "尚志大宗转换冻结总数量",
  45853. "type": "integer"
  45854. },
  45855. "tnqty": {
  45856. "description": "T+N冻结总量",
  45857. "type": "integer"
  45858. },
  45859. "tnusedqty": {
  45860. "description": "T+N使用量",
  45861. "type": "integer"
  45862. },
  45863. "trademode": {
  45864. "description": "交易模式",
  45865. "type": "integer"
  45866. },
  45867. "usedmargin": {
  45868. "description": "占用保证金",
  45869. "type": "number"
  45870. }
  45871. }
  45872. },
  45873. "taaccount.QueryAmountLogRsp": {
  45874. "type": "object",
  45875. "required": [
  45876. "accountid",
  45877. "amount",
  45878. "amountadjusttype",
  45879. "autoid",
  45880. "balance",
  45881. "createtime",
  45882. "currentbalance",
  45883. "operatetype"
  45884. ],
  45885. "properties": {
  45886. "OPERATETYPENAME": {
  45887. "description": "资金操作类型名称",
  45888. "type": "string"
  45889. },
  45890. "accountid": {
  45891. "description": "资金账户ID",
  45892. "type": "integer"
  45893. },
  45894. "agoodscode": {
  45895. "description": "竞拍商品代码",
  45896. "type": "string"
  45897. },
  45898. "agoodsname": {
  45899. "description": "竞拍商品名称",
  45900. "type": "string"
  45901. },
  45902. "amount": {
  45903. "description": "资金金额",
  45904. "type": "number"
  45905. },
  45906. "amountadjusttype": {
  45907. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  45908. "type": "integer"
  45909. },
  45910. "autoid": {
  45911. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  45912. "type": "integer"
  45913. },
  45914. "balance": {
  45915. "description": "期初余额",
  45916. "type": "number"
  45917. },
  45918. "businesscode": {
  45919. "description": "业务编号",
  45920. "type": "integer"
  45921. },
  45922. "createtime": {
  45923. "description": "发生时间",
  45924. "type": "string"
  45925. },
  45926. "currencyid": {
  45927. "description": "币种ID",
  45928. "type": "integer"
  45929. },
  45930. "currentbalance": {
  45931. "description": "期末余额(变动后金额)",
  45932. "type": "number"
  45933. },
  45934. "dgoodscode": {
  45935. "description": "交割商品代码",
  45936. "type": "string"
  45937. },
  45938. "dgoodsname": {
  45939. "description": "交割商品名称",
  45940. "type": "string"
  45941. },
  45942. "goodscode": {
  45943. "description": "商品代码",
  45944. "type": "string"
  45945. },
  45946. "goodsid": {
  45947. "description": "商品ID",
  45948. "type": "integer"
  45949. },
  45950. "goodsname": {
  45951. "description": "商品名称",
  45952. "type": "string"
  45953. },
  45954. "marketid": {
  45955. "description": "市场ID",
  45956. "type": "integer"
  45957. },
  45958. "marketname": {
  45959. "description": "市场名称",
  45960. "type": "string"
  45961. },
  45962. "moneyticket": {
  45963. "description": "资金流水号:银行端流水号",
  45964. "type": "integer"
  45965. },
  45966. "operatetype": {
  45967. "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:营销收款",
  45968. "type": "integer"
  45969. },
  45970. "relationorderid": {
  45971. "description": "关联单号",
  45972. "type": "string"
  45973. },
  45974. "remark": {
  45975. "description": "备注",
  45976. "type": "string"
  45977. },
  45978. "trademode": {
  45979. "description": "交易模式",
  45980. "type": "integer"
  45981. }
  45982. }
  45983. },
  45984. "taaccount.QueryHisAmountLogRsp": {
  45985. "type": "object",
  45986. "required": [
  45987. "accountid",
  45988. "amount",
  45989. "amountadjusttype",
  45990. "autoid",
  45991. "balance",
  45992. "createtime",
  45993. "currentbalance",
  45994. "histradedate",
  45995. "operatetype"
  45996. ],
  45997. "properties": {
  45998. "OPERATETYPENAME": {
  45999. "description": "资金操作类型名称",
  46000. "type": "string"
  46001. },
  46002. "accountid": {
  46003. "description": "资金账户ID",
  46004. "type": "integer"
  46005. },
  46006. "agoodscode": {
  46007. "description": "竞拍商品代码",
  46008. "type": "string"
  46009. },
  46010. "agoodsname": {
  46011. "description": "竞拍商品名称",
  46012. "type": "string"
  46013. },
  46014. "amount": {
  46015. "description": "资金金额",
  46016. "type": "number"
  46017. },
  46018. "amountadjusttype": {
  46019. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  46020. "type": "integer"
  46021. },
  46022. "autoid": {
  46023. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  46024. "type": "integer"
  46025. },
  46026. "balance": {
  46027. "description": "期初余额",
  46028. "type": "number"
  46029. },
  46030. "businesscode": {
  46031. "description": "业务编号",
  46032. "type": "integer"
  46033. },
  46034. "createtime": {
  46035. "description": "发生时间",
  46036. "type": "string"
  46037. },
  46038. "currencyid": {
  46039. "description": "币种ID",
  46040. "type": "integer"
  46041. },
  46042. "currentbalance": {
  46043. "description": "期末余额(变动后金额)",
  46044. "type": "number"
  46045. },
  46046. "dgoodscode": {
  46047. "description": "交割商品代码",
  46048. "type": "string"
  46049. },
  46050. "dgoodsname": {
  46051. "description": "交割商品名称",
  46052. "type": "string"
  46053. },
  46054. "goodscode": {
  46055. "description": "商品代码",
  46056. "type": "string"
  46057. },
  46058. "goodsid": {
  46059. "description": "商品ID",
  46060. "type": "integer"
  46061. },
  46062. "goodsname": {
  46063. "description": "商品名称",
  46064. "type": "string"
  46065. },
  46066. "histradedate": {
  46067. "description": "历史交易日",
  46068. "type": "string"
  46069. },
  46070. "isvaliddata": {
  46071. "description": "是否有效 - 0:无效 1:有效",
  46072. "type": "integer"
  46073. },
  46074. "marketid": {
  46075. "description": "市场ID",
  46076. "type": "integer"
  46077. },
  46078. "marketname": {
  46079. "description": "市场名称",
  46080. "type": "string"
  46081. },
  46082. "moneyticket": {
  46083. "description": "资金流水号:银行端流水号",
  46084. "type": "integer"
  46085. },
  46086. "operatetype": {
  46087. "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:营销收款",
  46088. "type": "integer"
  46089. },
  46090. "relationorderid": {
  46091. "description": "关联单号",
  46092. "type": "string"
  46093. },
  46094. "remark": {
  46095. "description": "备注",
  46096. "type": "string"
  46097. },
  46098. "trademode": {
  46099. "description": "交易模式",
  46100. "type": "integer"
  46101. }
  46102. }
  46103. },
  46104. "trade.QueryRecieptOrderRsp": {
  46105. "type": "object",
  46106. "required": [
  46107. "ordertime"
  46108. ],
  46109. "properties": {
  46110. "accountName": {
  46111. "description": "所属账号名称(已脱敏)",
  46112. "type": "string"
  46113. },
  46114. "accountid": {
  46115. "description": "资金账号",
  46116. "type": "integer"
  46117. },
  46118. "buyorsell": {
  46119. "description": "方向 - 0:买 1:卖",
  46120. "type": "integer"
  46121. },
  46122. "enableqty": {
  46123. "description": "可摘数量",
  46124. "type": "integer"
  46125. },
  46126. "goodscode": {
  46127. "description": "商品代码",
  46128. "type": "string"
  46129. },
  46130. "goodsid": {
  46131. "description": "商品ID",
  46132. "type": "integer"
  46133. },
  46134. "goodsname": {
  46135. "description": "商品名称",
  46136. "type": "string"
  46137. },
  46138. "orderid": {
  46139. "description": "委托单号",
  46140. "type": "string"
  46141. },
  46142. "orderprice": {
  46143. "description": "委托价格",
  46144. "type": "number"
  46145. },
  46146. "ordertime": {
  46147. "description": "委托时间",
  46148. "type": "string"
  46149. },
  46150. "tradedate": {
  46151. "description": "交易日(yyyyMMdd)",
  46152. "type": "string"
  46153. }
  46154. }
  46155. },
  46156. "user.LoginQueryRsp": {
  46157. "type": "object",
  46158. "properties": {
  46159. "areaRoles": {
  46160. "description": "所属角色信息",
  46161. "type": "array",
  46162. "items": {
  46163. "$ref": "#/definitions/models.Arearole"
  46164. }
  46165. },
  46166. "externalExchanges": {
  46167. "description": "外部交易所",
  46168. "type": "array",
  46169. "items": {
  46170. "$ref": "#/definitions/models.Externalexchange"
  46171. }
  46172. },
  46173. "goodsgroups": {
  46174. "description": "商品组",
  46175. "type": "array",
  46176. "items": {
  46177. "$ref": "#/definitions/models.Goodsgroup"
  46178. }
  46179. },
  46180. "loginAccount": {
  46181. "description": "登录账号",
  46182. "$ref": "#/definitions/models.Loginaccount"
  46183. },
  46184. "markets": {
  46185. "description": "市场",
  46186. "type": "array",
  46187. "items": {
  46188. "$ref": "#/definitions/models.Market"
  46189. }
  46190. },
  46191. "systemParams": {
  46192. "description": "系统参数",
  46193. "type": "array",
  46194. "items": {
  46195. "$ref": "#/definitions/models.Systemparam"
  46196. }
  46197. },
  46198. "userAccount": {
  46199. "description": "用户账号",
  46200. "$ref": "#/definitions/models.Useraccount"
  46201. },
  46202. "userInfo": {
  46203. "description": "用户信息",
  46204. "$ref": "#/definitions/models.Userinfo"
  46205. },
  46206. "username": {
  46207. "description": "用户姓名",
  46208. "type": "string"
  46209. }
  46210. }
  46211. }
  46212. },
  46213. "securityDefinitions": {
  46214. "ApiKeyAuth": {
  46215. "type": "apiKey",
  46216. "name": "Authorization",
  46217. "in": "header"
  46218. }
  46219. }
  46220. }`
  46221. // SwaggerInfo holds exported Swagger Info so clients can modify it
  46222. var SwaggerInfo = &swag.Spec{
  46223. Version: "1.0",
  46224. Host: "",
  46225. BasePath: "",
  46226. Schemes: []string{},
  46227. Title: "MTP2.0 查询服务 API",
  46228. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  46229. InfoInstanceName: "swagger",
  46230. SwaggerTemplate: docTemplate,
  46231. }
  46232. func init() {
  46233. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  46234. }